/* Dalkilic.ART
   Farben von dalkilic.art: Dalkilic-Blau, Koralle, Mittelblau, Rosé und warmes Hellgrau.
   Schriften: Dela Gothic One (Überschriften), Zen Kaku Gothic New (Text),
   Azeret Mono (Zahlen, Maße und kleine Angaben). */

:root {
  --bg: #ffffff;
  --surface: #e9e5e6;   /* warmes Hellgrau */
  --ink: #1a1a1a;
  --ink-soft: #3f3f3f;
  --line: #ddd7d8;
  --blue: #02426b;      /* Dalkilic-Blau */
  --blue-deep: #005c99; /* Mittelblau */
  --coral: #ff5f61;     /* Koralle */
  --coral-deep: #d9393c;/* Koralle, dunkler für Schrift auf Hell */
  --rose: #fff0f5;      /* Pia */
  --pink: #e2588f;      /* Pias Akzent im Werkverzeichnis */
  --night: #02426b;
  --night-line: rgba(255, 255, 255, .16);
  --night-soft: #c9dae7;

  --display: 'Dela Gothic One', 'Zen Kaku Gothic New', system-ui, sans-serif;
  --body: 'Zen Kaku Gothic New', system-ui, sans-serif;
  --label: 'Azeret Mono', ui-monospace, monospace;
  --gut: clamp(16px, 4vw, 56px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-weight: 500;
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: 3px; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
[hidden] { display: none !important; }
section[id] { scroll-margin-top: calc(var(--top-h, 72px) + var(--cd-h, 0px) + 12px); }
.mono { font-family: var(--label); font-size: 14px; }

h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 400; line-height: 1.08; letter-spacing: -.01em; }
h2 { font-size: clamp(34px, 5vw, 72px); }
h3 { font-size: clamp(22px, 2.1vw, 30px); }

.sec-head {
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: flex-start;
  gap: 12px 26px;
  padding-top: 26px;
  margin-bottom: 36px;
  border-top: 1px solid var(--line);
}
/* Erklärung als kleine Notiz, die an der Überschrift hängt (Spitze zeigt auf den Titel) */
.sec-head p {
  position: relative; flex: 1 1 300px; align-self: flex-end; margin: 0 0 6px; max-width: none; padding: 9px 14px;
  font-size: 14.5px; line-height: 1.5; color: var(--ink);
  background: var(--rose); border-left: 3px solid var(--coral);
  box-shadow: 3px 3px 0 rgba(2, 66, 107, .12);
}
.sec-head p::before {
  content: ''; position: absolute; left: -11px; bottom: 12px; border: 8px solid transparent; border-right-color: var(--coral); border-left: 0;
}
.sec-head.reveal p { opacity: 0; transform: translateX(-14px); transition: opacity .6s var(--ease) .25s, transform .6s var(--ease) .25s; }
.sec-head.reveal.in p { opacity: 1; transform: none; }
@media (max-width: 760px) {
  .sec-head { gap: 12px; }
  .sec-head p { max-width: none; width: 100%; margin: 0; font-size: 14px; }
  .sec-head p::before { left: 14px; top: -11px; bottom: auto; border: 8px solid transparent; border-bottom-color: var(--coral); border-top: 0; }
  .sec-head.reveal p { transform: translateY(-8px); }
}

/* ---------- Header ---------- */

.top {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 14px var(--gut);
  background: rgba(255, 255, 255, .9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.logo { display: block; line-height: 0; }
.logo img { width: auto; height: 48px; transition: transform .4s var(--ease); }
.logo:hover img { transform: rotate(-6deg) scale(1.05); }
.top nav { display: flex; gap: 22px; font-size: 15px; font-weight: 500; flex-wrap: wrap; align-items: center; }
.top nav a { text-decoration: none; }
.nav-auftrag { background: var(--blue); color: #fff; padding: 5px 14px; border-radius: 999px; }
@media (max-width: 760px) {
  .top { position: static; flex-wrap: wrap; row-gap: 8px; }
  .top nav { gap: 6px 14px; font-size: 14px; }
}

/* ---------- Opening ---------- */

.opening {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: clamp(28px, 5vw, 80px);
  padding: clamp(36px, 6vw, 84px) var(--gut) clamp(56px, 8vw, 110px);
  align-items: center;
}
.opening h1 { font-size: clamp(40px, 5.4vw, 86px); }
.opening h1 span { display: block; color: var(--blue); margin-top: .1em; }
.opening-text > p { max-width: 44ch; margin: 26px 0 0; font-size: 18px; }
.tally { font-family: var(--label); font-size: 15px !important; line-height: 1.7; color: var(--ink-soft); }
.tally b { font-weight: 400; color: var(--ink); padding: 0 4px; }
.opening-links { display: flex; flex-wrap: wrap; gap: 12px; }
.opening-links a {
  text-decoration: none; font-weight: 700; font-size: 15px;
  padding: 10px 18px; border-radius: 999px; border: 1.5px solid var(--ink);
}
.opening-links a:first-child { background: var(--ink); color: var(--bg); }
@media (max-width: 900px) { .opening { grid-template-columns: 1fr; } }

/* ---------- Countdown ---------- */

.countdown {
  position: sticky; top: var(--top-h, 0px); z-index: 19;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 28px;
  margin-bottom: clamp(36px, 5vw, 64px); padding: 10px var(--gut);
  background: var(--ink); color: var(--surface); text-decoration: none;
}
.cd-label { font-family: var(--label); font-size: 14px; letter-spacing: .06em; text-transform: uppercase; }
.cd-label b { font-weight: 400; color: var(--coral); }
.cd-label span { color: var(--night-soft); text-transform: none; letter-spacing: 0; }
.cd-units { display: flex; align-items: center; gap: 8px; }
.cd-unit { display: flex; align-items: baseline; gap: 4px; }
.cd-unit b { font-family: var(--display); font-weight: 400; font-size: 24px; line-height: 1; color: #fff; font-variant-numeric: tabular-nums; min-width: 1.4em; text-align: right; }
.cd-unit small { font-family: var(--label); font-size: 12px; color: var(--night-soft); }
.cd-units i { font-style: normal; color: var(--coral); }
.countdown:hover .cd-label b { text-decoration: underline; }
@media (max-width: 560px) {
  .countdown { gap: 4px 12px; padding: 8px 16px; }
  .cd-label { font-size: 12px; }
  .cd-unit b { font-size: 19px; }
}

/* ---------- Ausstellungsorte ---------- */

.orte-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.messen .orte-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.orte-grid button .pv-img { object-fit: cover; }
@media (max-width: 1100px) { .messen .orte-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.orte-grid figure { margin: 0; }
.orte-grid button { position: relative; display: block; width: 100%; padding: 0; border-radius: 8px; overflow: hidden; }
.orte-grid img:not(.pv-img) { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .6s var(--ease); }
.orte-grid button:hover img:not(.pv-img) { transform: scale(1.04); }
.orte-grid figcaption { margin-top: 12px; font-size: 16px; line-height: 1.55; }
.orte-grid figcaption b { display: block; font-family: var(--display); font-weight: 400; font-size: 21px; line-height: 1.2; }
.orte-when { display: block; margin: 2px 0 6px; font-family: var(--label); font-size: 13px; color: var(--coral-deep); }
@media (max-width: 900px) { .orte-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .orte-grid { grid-template-columns: 1fr; } }

/* ---------- Bühne oben ---------- */

.stage { min-width: 0; }
/* Auswahlfeld statt Reitern: feste Breite, damit die Pfeile beim Wechseln nicht springen */
.stage-bar { display: flex; align-items: center; gap: 8px; margin: 0 0 12px; }
.stage-dd { position: relative; flex: 0 1 340px; min-width: 0; }
.stage-trig {
  position: relative; overflow: hidden; display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; align-items: center; gap: 10px;
  width: 100%; padding: 9px 14px 9px 16px; border: 1.5px solid var(--ink); border-radius: 999px; background: var(--bg);
  text-align: left; font-size: 15px; transition: border-color .2s, color .2s;
}
.stage-trig:hover, .stage-trig[aria-expanded="true"] { border-color: var(--blue); }
.stage-trig b { font-weight: 700; }
#stage-title { font-size: 14px; font-weight: 500; color: var(--ink-soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#stage-pos { font-family: var(--label); font-size: 12px; color: var(--ink-soft); min-width: 28px; text-align: right; }
.stage-chev { width: 9px; height: 9px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-3px) rotate(45deg); transition: transform .2s; }
.stage-trig[aria-expanded="true"] .stage-chev { transform: translateY(2px) rotate(-135deg); }
.stage-menu {
  position: absolute; z-index: 30; top: calc(100% + 8px); left: 0; width: 100%; min-width: 260px; max-height: min(70vh, 460px); overflow-y: auto;
  padding: 6px; border: 1.5px solid var(--ink); border-radius: 14px; background: var(--bg); box-shadow: 0 12px 32px rgba(2, 66, 107, .16);
}
.stage-menu[hidden] { display: none; }
.sm-grp { display: block; padding: 9px 10px 4px; font-family: var(--label); font-size: 11.5px; color: var(--ink-soft); }
.sm-item { display: flex; align-items: center; gap: 10px; width: 100%; padding: 6px 10px; border-radius: 9px; text-align: left; font-size: 14.5px; font-weight: 500; }
.sm-item img { width: 36px; height: 36px; flex: none; border-radius: 6px; object-fit: cover; background: var(--surface); }
.sm-item span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sm-item:hover { background: var(--surface); }
.sm-item[aria-selected="true"] { background: var(--blue); color: #fff; }
.stage-arrow { flex: none; width: 38px; height: 38px; border-radius: 50%; border: 1.5px solid var(--ink); background: var(--bg); font-size: 20px; line-height: 1; transition: background .2s, color .2s, border-color .2s; }
.stage-arrow:hover { background: var(--blue); border-color: var(--blue); color: #fff; }
.stage-chip { position: absolute; top: 12px; left: 12px; padding: 5px 11px; border-radius: 999px; background: var(--blue); color: #fff; font-family: var(--label); font-size: 12px; }
.stage-view { display: grid; }
.stage-slide { grid-area: 1 / 1; min-width: 0; opacity: 0; visibility: hidden; transform: scale(.985); transition: opacity .6s ease, transform .8s var(--ease), visibility 0s .6s; }
.stage-slide.on { opacity: 1; visibility: visible; transform: none; transition: opacity .6s ease, transform .8s var(--ease); }
.stage-hit { position: relative; display: block; width: 100%; height: 100%; min-height: min(64vh, 600px); padding: 0; border-radius: 6px; overflow: hidden; background: var(--surface); }
.stage-hit img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 6s linear; }
.stage-slide.on .stage-hit > img { transform: scale(1.06); }
.stage-cap {
  position: absolute; left: 12px; bottom: 12px; max-width: calc(100% - 24px); padding: 8px 12px; border-radius: 8px;
  background: rgba(255, 255, 255, .94); text-align: left; font-size: 14px; line-height: 1.4; color: var(--ink);
  border-left: 4px solid var(--coral); box-shadow: 0 4px 18px rgba(2, 66, 107, .18);
}
.stage-cap b { display: block; font-size: 16px; }
.stage-team .stage-hit { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; background: none; }
.stage-person { position: relative; overflow: hidden; border-radius: 6px; background: var(--surface); }
.stage-person img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.stage-person .stage-cap { left: 8px; bottom: 8px; max-width: calc(100% - 16px); padding: 6px 10px; font-size: 13px; }
.stage-person .stage-cap b { font-size: 15px; }
/* Zeitanzeige im Auswahlfeld, solange die Bühne von selbst wechselt */
.stage.tick .stage-trig::after {
  content: ''; position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: var(--coral);
  transform-origin: left; animation: car-fill var(--stage-time, 4.5s) linear both;
}
@media (max-width: 900px) { .stage-hit { min-height: 300px; } }
@media (max-width: 560px) {
  .stage-dd { flex: 1 1 auto; }
  .stage-trig { gap: 8px; padding: 8px 12px; font-size: 14px; }
  .stage-arrow { width: 36px; height: 36px; }
  .stage-person .stage-cap { left: 4px; right: 4px; bottom: 4px; max-width: none; padding: 4px 6px; font-size: 11.5px; }
  .stage-person .stage-cap b { font-size: 13px; }
}

/* ---------- Stage viewer (big) ---------- */

.scrub { margin: 0; }
.st { display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: minmax(0, 1fr) auto; min-height: 0; min-width: 0; }
.st-frame {
  position: relative; width: 100%; aspect-ratio: 4 / 5; background: var(--surface);
  border-radius: 6px; overflow: hidden; cursor: pointer; touch-action: pan-y; user-select: none;
}
.scrub-hero .st-frame { aspect-ratio: auto; height: min(64vh, 620px); }
.st-frame img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain;
  opacity: 0; transform: scale(1.02); transition: opacity .4s ease, transform .7s var(--ease);
}
.st-frame img.on { opacity: 1; transform: none; }
.st-ui { display: flex; align-items: center; gap: 8px; padding-top: 10px; overflow: hidden; }
.st-step {
  flex: none; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line);
  font-size: 18px; line-height: 1; display: grid; place-items: center; transition: background .2s, color .2s, border-color .2s;
}
.st-step:hover:not(:disabled) { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.st-step:disabled { opacity: .3; cursor: default; }
.st-bar { flex: 1 1 0; min-width: 40px; display: flex; gap: 3px; height: 20px; align-items: center; cursor: pointer; touch-action: none; }
.st-bar i { flex: 1; height: 3px; border-radius: 2px; background: var(--line); transition: background .25s, transform .25s; }
.st-bar i.past { background: var(--ink-soft); }
.st-bar i.now { background: var(--blue); transform: scaleY(2.2); }
.st-label { flex: none; width: 16ch; text-align: right; white-space: nowrap; font-family: var(--label); font-size: 13.5px; color: var(--ink-soft); }
.st-label b { font-weight: 400; color: var(--blue); }
.scrub-grid .st-ui { flex-wrap: wrap; }
.scrub-grid .st-label { width: 100%; text-align: left; order: -1; }
.scrub figcaption { margin-top: 8px; font-size: 14px; color: var(--ink-soft); }
.scrub-label b { font-weight: 700; color: var(--ink); }

.scrub-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
@media (max-width: 1000px) { .scrub-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- Thumbnail preview (hover / swipe) ---------- */

.pv { position: relative; touch-action: pan-y; }
.pv-img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain;
  background: var(--surface); opacity: 0; transition: opacity .2s ease; pointer-events: none;
}
.pv-on .pv-img { opacity: 1; }
.pv-bar {
  position: absolute; left: 8px; right: 8px; bottom: 8px; display: flex; gap: 2px;
  opacity: 0; transition: opacity .3s; pointer-events: none;
}
.pv-bar i { flex: 1; height: 3px; border-radius: 2px; background: rgba(255,255,255,.55); box-shadow: 0 0 0 .5px rgba(2,66,107,.3); }
.pv-bar i.now { background: var(--blue); }
.pv-active .pv-bar { opacity: 1; }

/* ---------- Strips ---------- */

.staffelei, .werke, .entstehung, .draussen, .orte, .termine, .zuhause, .insta, .sneak, .mehr { padding: 0 var(--gut) clamp(64px, 9vw, 130px); }
.strip {
  display: flex; gap: 20px; overflow-x: auto;
  margin-inline: calc(-1 * var(--gut)); padding: 0 var(--gut) 16px;
  scroll-snap-type: x proximity; scrollbar-color: var(--line) transparent;
}
.strip figure { flex: none; margin: 0; width: min(64vw, 260px); scroll-snap-align: start; }
.strip button { display: block; width: 100%; border-radius: 6px; overflow: hidden; }
.strip img:not(.pv-img) { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 6px; }
.zuhause .strip figure { width: min(76vw, 320px); }
.strip figcaption { margin-top: 10px; font-size: 15px; line-height: 1.5; color: var(--ink-soft); }
.strip figcaption b { display: block; font-weight: 700; color: var(--ink); }
.planned { max-width: 72ch; margin: 18px 0 0; font-size: 16px; color: var(--ink-soft); }
.planned b { color: var(--ink); }
.planned a { color: var(--ink); text-decoration-color: var(--blue); }

/* ---------- Staffelei: aufklappbar, Karussell + Reservierung ---------- */

.easel { border: 1.5px solid var(--blue); border-radius: 12px; background: #fff; scroll-margin-top: 80px; overflow: hidden; }
.easel-head {
  display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 18px 28px;
  padding: clamp(18px, 2.6vw, 30px); cursor: pointer; list-style: none;
}
.easel-head::-webkit-details-marker { display: none; }
.easel-title h2 { margin: 0; }
.easel-sub { display: block; margin-top: 8px; max-width: 46ch; color: var(--ink-soft); }
.easel-sub b { color: var(--coral-deep); }
.easel-peek { display: flex; }
.easel-peek img {
  width: 58px; height: 72px; object-fit: cover; border-radius: 4px; border: 2px solid #fff;
  box-shadow: 0 2px 8px rgba(2, 66, 107, .18); margin-left: -16px; transition: transform .4s var(--ease);
}
.easel-peek img:first-child { margin-left: 0; }
.easel-peek img:nth-child(odd) { transform: rotate(-4deg); }
.easel-peek img:nth-child(even) { transform: rotate(3deg) translateY(4px); }
.easel-head:hover .easel-peek img { transform: none; }
.easel[open] .easel-peek { visibility: hidden; }
.easel-toggle {
  display: inline-flex; align-items: center; gap: 10px; padding: 9px 10px 9px 18px; border-radius: 999px;
  background: var(--blue); color: #fff; font-weight: 700; font-size: 15px; white-space: nowrap; transition: background .2s;
}
.easel-head:hover .easel-toggle { background: var(--blue-deep); }
.easel-toggle i { position: relative; width: 24px; height: 24px; border-radius: 50%; background: var(--coral); transition: transform .35s var(--ease); }
.easel-toggle i::before, .easel-toggle i::after { content: ''; position: absolute; left: 6px; right: 6px; top: 11px; height: 2px; background: var(--ink); }
.easel-toggle i::after { transform: rotate(90deg); transition: transform .35s var(--ease); }
.easel[open] .easel-toggle i { transform: rotate(180deg); }
.easel[open] .easel-toggle i::after { transform: rotate(0deg); }
.easel-close, .easel[open] .easel-open { display: none; }
.easel[open] .easel-close { display: inline; }

.easel-body {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(24px, 4vw, 56px);
  padding: 0 clamp(18px, 2.6vw, 30px) clamp(22px, 3vw, 34px); animation: rise-in .5s var(--ease) both;
}
.carousel { min-width: 0; }
.car-view { overflow: hidden; border-radius: 8px; background: var(--surface); }
.car-track { display: flex; transition: transform .7s var(--ease); touch-action: pan-y; }
.car-slide { flex: 0 0 100%; margin: 0; }
.car-img { display: block; width: 100%; padding: 0; }
.car-img img { display: block; width: 100%; aspect-ratio: 4 / 5; max-height: min(58vh, 560px); object-fit: cover; user-select: none; }
.car-slide figcaption { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; background: #fff; }
.car-slide figcaption b { display: block; font-size: 18px; line-height: 1.3; }
.car-slide figcaption small { font-family: var(--label); font-size: 13.5px; color: var(--ink-soft); }
.car-pick {
  flex: none; padding: 7px 14px; border-radius: 999px; background: var(--coral); color: var(--ink);
  font-weight: 700; font-size: 14px; transition: background .2s, color .2s;
}
.car-pick:hover { background: var(--blue); color: #fff; }
.car-ui { display: flex; align-items: center; gap: 12px; margin-top: 12px; }
.car-step { width: 38px; height: 38px; flex: none; border-radius: 50%; border: 1.5px solid var(--blue); color: var(--blue); font-size: 22px; line-height: 1; transition: background .2s, color .2s; }
.car-step:hover { background: var(--blue); color: #fff; }
.car-bar { flex: 1; display: flex; gap: 5px; }
.car-bar button { flex: 1; height: 4px; border-radius: 2px; background: var(--line); position: relative; overflow: hidden; }
.car-bar button.now { background: var(--blue); }
.car-auto .car-bar button.now { background: var(--line); }
.car-auto .car-bar button.now::after { content: ''; position: absolute; inset: 0; background: var(--blue); transform-origin: left; animation: car-fill 3.5s linear both; }
.car-auto:hover .car-bar button.now::after { animation-play-state: paused; }
@keyframes car-fill { from { transform: scaleX(0); } }
.carousel .planned { margin-top: 16px; font-size: 14px; }

.easel-form { background: var(--rose); border-radius: 10px; padding: clamp(18px, 2.4vw, 28px); align-self: start; }
.easel-form h3 { margin: 0; font-family: var(--display); font-weight: 400; font-size: clamp(22px, 2.4vw, 28px); color: var(--blue); }
.easel-form-sub { margin: 4px 0 18px; font-family: var(--label); font-size: 14px; color: var(--ink-soft); }
@media (max-width: 900px) {
  .easel-body { grid-template-columns: 1fr; }
  .easel-head { grid-template-columns: minmax(0, 1fr) auto; }
  .easel-peek { grid-column: 1; grid-row: 2; }
  .easel-toggle { grid-column: 2; grid-row: 2; }
  .easel[open] .easel-peek { display: none; }
}
@media (max-width: 560px) {
  .easel-head { grid-template-columns: 1fr; }
  .easel-toggle { grid-column: 1; grid-row: auto; justify-self: start; }
  .easel-peek { grid-row: auto; }
  .car-slide figcaption { flex-direction: column; align-items: flex-start; }
}

.reserve-form {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 20px;
}
.reserve-form label { display: flex; flex-direction: column; gap: 6px; font-weight: 700; font-size: 15px; }
.reserve-form label small { font-weight: 400; color: var(--ink-soft); }
.reserve-form .wide { grid-column: 1 / -1; }
.reserve-form input:not([type=checkbox]), .reserve-form select, .reserve-form textarea {
  font: inherit; font-weight: 400; font-size: 16px; color: var(--ink); background: #fff;
  border: 1.5px solid var(--line); border-radius: 6px; padding: 10px 12px; width: 100%;
  transition: border-color .2s, box-shadow .2s;
}
.reserve-form textarea { resize: vertical; }
.reserve-form :is(input, select, textarea):focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(2, 66, 107, .15); }
.reserve-form .check { flex-direction: row; align-items: flex-start; gap: 10px; font-weight: 400; font-size: 14px; color: var(--ink-soft); }
.reserve-form .check input { margin-top: 4px; accent-color: var(--blue); width: 17px; height: 17px; flex: none; }
.reserve-form .check a { color: var(--ink); }
.reserve-send { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin: 0; }
.reserve-send .buy { padding: 11px 22px; font-size: 15px; }
.reserve-send .buy:disabled { opacity: .6; cursor: wait; }
.reserve-hint { font-family: var(--label); font-size: 13px; color: var(--ink-soft); }
.reserve-status { margin: 0; padding: 12px 14px; border-radius: 6px; font-size: 15px; }
.reserve-status.ok { background: #fff; border-left: 4px solid var(--blue); }
.reserve-status.err { background: #fff; border-left: 4px solid var(--coral); }
.reserve-status a { color: var(--blue); font-weight: 700; }
.hp { position: absolute; left: -9999px; }
@media (max-width: 640px) { .reserve-form { grid-template-columns: 1fr; } }

/* ---------- Mobil einklappen (Werkverzeichnis, Shop) ---------- */

.fold-btn { display: none; }
@media (max-width: 760px) {
  :not(.fold-open) > .fold-x { display: none; }
  .fold-btn:not([hidden]):not(.fold-off) {
    display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; margin: 6px 0 0; padding: 16px 20px;
    border-radius: 12px; background: var(--blue); color: #fff; font-weight: 700; font-size: 17px;
    box-shadow: 0 6px 18px rgba(2, 66, 107, .22);
  }
  .fold-btn i { font-style: normal; font-size: 14px; }
  .fold-btn[aria-expanded="true"] { background: transparent; color: var(--blue); border: 1.5px solid var(--blue); box-shadow: none; }
  .shop .fold-btn:not([hidden]):not(.fold-off) { margin-top: 18px; background: var(--coral); color: var(--ink); box-shadow: none; }
  .shop .fold-btn[aria-expanded="true"] { background: transparent; color: #fff; border: 1.5px solid var(--night-line); }
}

/* ---------- Instagram ---------- */

.sec-head p a { color: var(--ink); text-decoration-color: var(--coral); }
.ig-grid {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px;
}
.ig-grid a { position: relative; display: block; border-radius: 6px; overflow: hidden; background: var(--surface); }
.ig-grid img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; transition: transform .6s var(--ease); }
.ig-play {
  position: absolute; top: 8px; right: 8px; width: 26px; height: 26px; border-radius: 50%;
  display: grid; place-items: center; font-size: 12px; color: #fff; background: rgba(2, 66, 107, .7);
}
.ig-meta {
  position: absolute; inset: auto 0 0 0; padding: 22px 10px 8px;
  font-family: var(--label); font-size: 13px; line-height: 1.3; color: #fff;
  background: linear-gradient(transparent, rgba(2, 66, 107, .85));
  opacity: 0; transform: translateY(6px); transition: opacity .3s, transform .3s var(--ease);
}
.ig-grid a:hover img, .ig-grid a:focus-visible img { transform: scale(1.04); }
.ig-grid a:hover .ig-meta, .ig-grid a:focus-visible .ig-meta { opacity: 1; transform: none; }
.ig-more { margin: 18px 0 0; }
.ig-more a { color: var(--coral-deep); }
@media (max-width: 1000px) { .ig-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 640px) {
  .ig-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; }
  .ig-grid a { border-radius: 3px; }
  .ig-meta { display: none; }
}

/* ---------- Catalogue ---------- */

/* Sortieren + Ansicht in einer Zeile */
.sort-view { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; }
.sort { display: inline-flex; align-items: center; gap: 8px; font-family: var(--label); font-size: 13px; color: var(--ink-soft); }
.sort select {
  appearance: none; -webkit-appearance: none; font: 600 14px/1.2 var(--body); color: var(--ink); cursor: pointer;
  padding: 7px 34px 7px 14px; border-radius: 999px; border: 1.5px solid var(--ink); background-color: var(--bg);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%231a1a1a' stroke-width='1.6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 13px center;
}
.sort select:hover { background-color: var(--surface); }
.sort select:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.view-toggle { margin: 0; display: inline-flex; width: max-content; padding: 3px; border-radius: 999px; background: var(--surface); font-size: 14px; font-weight: 500; }
.view-toggle button { padding: 4px 14px; border-radius: 999px; transition: background .2s, color .2s; }
.view-toggle button[aria-pressed="true"] { background: var(--ink); color: var(--bg); }

.wall { columns: 5 150px; column-gap: 20px; }
.piece { break-inside: avoid; margin: 0 0 30px; }
/* Raster: gleich große quadratische Kacheln, mehr Bilder auf einen Blick */
.wall.grid { columns: auto; display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 22px 14px; }
.wall.grid .piece { margin: 0; }
.wall.grid .piece > button { aspect-ratio: 1; }
.wall.grid .piece img:not(.pv-img) { width: 100%; height: 100%; object-fit: cover; }
.wall.grid .noimg { height: 100%; }
.wall.grid .piece figcaption b { font-size: 14.5px; }
/* Raster ist die Übersicht: Kaufen geht über das Werkblatt */
.wall.grid .piece .buy-row { display: none; }
@media (max-width: 640px) {
  .wall.grid { grid-template-columns: repeat(3, 1fr); gap: 14px 8px; }
  .wall.grid .piece figcaption { margin-top: 6px; }
  .wall.grid .piece figcaption b { font-size: 12.5px; }
  .wall.grid .piece .sku, .wall.grid .piece .pr { font-size: 11px; }
}
/* Pias Bilder: rosa Rahmen, rosa Kennung */
.piece.by-pia > button { position: relative; border-radius: 8px; box-shadow: 0 0 0 3px var(--pink); background: var(--rose); }
.piece.by-pia > button::after {
  content: 'Pia'; position: absolute; top: 8px; left: 8px; padding: 1px 9px; border-radius: 999px;
  background: var(--pink); color: #fff; font-family: var(--label); font-size: 12px;
}
.piece.by-pia .sku { color: var(--pink); }
.piece.by-pia figcaption b { color: var(--pink); }
.catalogue tr.by-pia td { background: var(--rose); }
.catalogue tr.by-pia td:first-child { color: var(--pink); box-shadow: inset 4px 0 0 var(--pink); }
#sheet.by-pia #sheet-sku { color: var(--pink); }
#sheet.by-pia #sheet-title { color: var(--pink); }
#sheet.by-pia #sheet-cta .buy { background: var(--pink); border-color: var(--pink); }
#sheet.by-pia .sheet-media { box-shadow: 0 0 0 3px var(--pink); border-radius: 8px; }
.piece button { display: block; width: 100%; text-align: left; border-radius: 6px; overflow: hidden; }
.piece img:not(.pv-img) { width: 100%; height: auto; }
.piece figcaption { margin-top: 10px; display: grid; gap: 2px; line-height: 1.35; }
.piece .sku { font-family: var(--label); font-size: 12.5px; color: var(--ink-soft); }
.piece figcaption b { font-size: 16px; font-weight: 700; }
.piece .pr { font-family: var(--label); font-size: 13.5px; color: var(--ink-soft); }
.st-verfuegbar .pr, td.st-verfuegbar { color: var(--blue); }
.noimg {
  display: grid; place-content: center; text-align: center; aspect-ratio: 4 / 5; padding: 16px;
  border: 1.5px dashed var(--line); border-radius: 6px; font-family: var(--display); font-size: 18px; line-height: 1.2;
}
.noimg small { display: block; margin-top: 8px; font-family: var(--label); font-size: 12px; color: var(--ink-soft); }
.empty { font-family: var(--label); }

.catalogue { width: 100%; border-collapse: collapse; font-size: 15px; }
.catalogue th { text-align: left; font-family: var(--label); font-weight: 400; font-size: 13px; color: var(--ink-soft); border-bottom: 1.5px solid var(--ink); padding: 8px 10px 8px 0; }
.catalogue td { border-bottom: 1px solid var(--line); padding: 11px 10px 11px 0; vertical-align: top; transition: background .2s; }
.catalogue tr[data-open] { cursor: pointer; }
.catalogue tr[data-open]:hover td { background: var(--surface); }
.catalogue .num { text-align: right; white-space: nowrap; font-family: var(--label); font-size: 14px; }
.catalogue td.mono { font-size: 13.5px; color: var(--ink-soft); white-space: nowrap; }
@media (max-width: 700px) {
  .catalogue th:nth-child(4), .catalogue td:nth-child(4), .catalogue th:nth-child(3), .catalogue td:nth-child(3) { display: none; }
}

/* ---------- Pia ---------- */

.pia {
  background: var(--rose);
  display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 36px clamp(32px, 5vw, 80px);
  padding: clamp(56px, 8vw, 120px) var(--gut); margin-bottom: clamp(64px, 9vw, 130px);
}
.pia h2 { color: var(--coral-deep); }
.pia-text p { max-width: 36ch; margin: 20px 0 0; }
.pia-text p:nth-of-type(2) { font-size: 19px; font-weight: 500; color: var(--coral-deep); }
.pia-text .mono a { color: var(--coral-deep); }
.pia-wall { columns: 3 180px; column-gap: 18px; }
.pia-wall figure { break-inside: avoid; margin: 0 0 20px; }
.pia-wall button { display: block; width: 100%; border-radius: 6px; overflow: hidden; }
.pia-wall img { width: 100%; height: auto; }
.pia-wall figcaption { margin-top: 7px; font-size: 13.5px; color: var(--ink-soft); }
.pia-wall figcaption b { font-weight: 700; color: var(--ink); margin-right: 4px; }
@media (max-width: 900px) { .pia { grid-template-columns: 1fr; } }

/* ---------- Murals ---------- */

.fassade { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 28px clamp(28px, 4vw, 60px); align-items: start; }
.fassade-main { display: block; border-radius: 6px; overflow: hidden; }
.fassade-main img { width: 100%; height: auto; }
.fassade-side h3 { margin-bottom: 14px; }
.fassade-side > p { max-width: 40ch; margin: 0 0 22px; font-size: 17px; color: var(--ink-soft); }
.fassade-details { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.fassade-details button { border-radius: 6px; overflow: hidden; }
.fassade-details img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.draussen-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 28px; }
.draussen-row figure { margin: 0; }
.draussen-row button { position: relative; display: block; width: 100%; border-radius: 6px; overflow: hidden; }
.draussen-row img:not(.pv-img) { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.draussen-row .pv-img { object-fit: cover; }
.draussen-row figcaption { margin-top: 10px; font-size: 15px; color: var(--ink-soft); }
.draussen-row figcaption b { display: block; font-weight: 700; color: var(--ink); }
@media (max-width: 800px) {
  .fassade { grid-template-columns: 1fr; }
  .draussen-row { grid-template-columns: 1fr; }
}

/* ---------- Dates ---------- */

.termine-grid { max-width: 720px; }
.past { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-content: start; }
.past h3 { grid-column: 1 / -1; font-size: 20px; margin-bottom: 4px; }
.past figure { margin: 0; }
.past button { display: block; width: 100%; border-radius: 6px; overflow: hidden; }
.past img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.past figcaption { margin-top: 6px; font-size: 14px; line-height: 1.4; color: var(--ink-soft); }
.past figcaption b { display: block; font-weight: 700; color: var(--ink); }
@media (max-width: 900px) { .termine-grid { grid-template-columns: 1fr; } .past { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.past button { position: relative; }
.ev-count {
  position: absolute; top: 8px; right: 8px; z-index: 1; font-family: var(--label); font-size: 12.5px;
  background: rgba(2,66,107,.85); color: #fff; padding: 1px 8px; border-radius: 999px; pointer-events: none;
}
.past .pv-img { object-fit: cover; }
.past figcaption { font-family: var(--label); }
.past figcaption b { font-family: var(--body); }

/* event gallery */
#gallery { width: 100vw; height: 100dvh; background: var(--night); color: #fff; }
#gallery[open] { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; }
.gallery-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 12px var(--gut); }
.gallery-head p { margin: 0; font-size: 15px; }
.gallery-head b { font-family: var(--display); font-weight: 400; font-size: 18px; margin-right: 8px; }
.gallery-head span { font-family: var(--label); font-size: 14px; color: var(--night-soft); }
.gallery-head button { font-size: 14px; font-weight: 500; padding: 4px 12px; border-radius: 999px; }
.gallery-head button:hover { background: rgba(255,255,255,.12); }
.gallery-stage { position: relative; min-height: 0; margin: 0 var(--gut); touch-action: pan-y; user-select: none; }
#gallery-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; opacity: 0; transform: scale(.985); transition: opacity .35s ease, transform .5s var(--ease); }
#gallery-img.on { opacity: 1; transform: none; }
.gallery-nav { display: flex; justify-content: center; align-items: center; gap: 18px; padding: 14px var(--gut) 20px; font-family: var(--label); font-size: 14px; }
.gallery-nav .st-step { width: 40px; height: 40px; font-size: 22px; border-color: var(--night-line); color: #fff; }
.gallery-nav .st-step:hover { background: #fff; color: var(--night); border-color: #fff; }
#gallery-count { min-width: 7ch; text-align: center; }

/* ---------- Prints ---------- */

.shop {
  background: var(--night); color: #eef1f7;
  padding: clamp(56px, 8vw, 120px) var(--gut);
  margin-bottom: clamp(64px, 9vw, 130px);
}
.shop h2 { color: var(--coral); }
.tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 28px 20px; }
.tile { position: relative; display: flex; flex-direction: column; }
.tile-img { display: block; width: 100%; padding: 0; border-radius: 6px; overflow: hidden; background: rgba(255,255,255,.06); color: inherit; }
.tile-img img:not(.pv-img) { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform .6s var(--ease); }
.tiles-print .tile-img img { aspect-ratio: 1; }
button.tile-img:hover img:not(.pv-img) { transform: scale(1.04); }
.tile-noimg { display: grid; place-items: center; aspect-ratio: 4 / 5; border: 1px dashed var(--night-line); border-radius: 6px; font-family: var(--label); font-size: 13px; color: var(--night-soft); }
.tile-note { position: absolute; top: 10px; left: 10px; font-family: var(--label); font-size: 12.5px; color: var(--ink); background: var(--coral); padding: 1px 8px; border-radius: 999px; pointer-events: none; }
.tile-body { display: flex; flex-direction: column; margin: 12px 0; }
.tile-body b { font-size: 17px; line-height: 1.3; }
.tile-body small { font-family: var(--label); font-size: 13px; line-height: 1.4; color: var(--night-soft); }
.tile-price { margin-top: 4px; font-family: var(--label); font-size: 16px; color: var(--coral); }
.tile > .buy-row { margin-top: auto; }
.tile .buy { padding: 6px 12px; font-size: 14px; }
@media (max-width: 560px) {
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 12px; }
  .tile-body b { font-size: 15px; }
  .tile-price { font-size: 15px; }
  .tile .buy { padding: 5px 10px; font-size: 13px; }
}

/* ---------- Buy buttons ---------- */

.buy-row { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.buy {
  display: inline-block; white-space: nowrap; text-decoration: none; font-weight: 700; font-size: 14px; line-height: 1.2;
  padding: 8px 15px; border-radius: 999px; border: 1.5px solid var(--blue); background: var(--blue); color: #fff;
  transition: background .2s, border-color .2s, color .2s, transform .2s;
}
.buy:hover { background: var(--blue-deep); border-color: var(--blue-deep); transform: translateY(-1px); }
.buy-alt, .buy-ask { background: transparent; color: var(--blue); }
.buy-alt:hover, .buy-ask:hover { background: var(--blue); color: #fff; }
.piece .buy-row { margin-top: 8px; }
/* PayPal-Rechnung: dunkles PayPal-Blau als Rahmen, damit man sie neben SumUp sofort erkennt */
.buy-pp { background: transparent; color: #003087; border-color: #003087; }
.buy-pp:hover { background: #003087; border-color: #003087; color: #fff; }
.piece .buy { padding: 5px 12px; font-size: 14px; }
.shop .buy { background: var(--coral); border-color: var(--coral); color: var(--ink); }
.shop .buy:hover { background: #fff; border-color: #fff; }
.shop .buy-alt, .shop .buy-ask { background: transparent; border-color: rgba(255,255,255,.45); color: #fff; }
.shop .buy-alt:hover, .shop .buy-ask:hover { background: #fff; border-color: #fff; color: var(--blue); }
#sheet-cta .buy { padding: 11px 20px; font-size: 15px; }
.buy-note { display: block; margin-top: 10px; font-family: var(--label); font-size: 13px; color: var(--ink-soft); }

/* ---------- Team ---------- */

.wir {
  padding: 0 var(--gut) clamp(64px, 9vw, 120px);
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px clamp(24px, 3.5vw, 48px);
}
.wir h2 { grid-column: 1 / -1; border-top: 1px solid var(--line); padding-top: 26px; }
.person img { width: 100%; aspect-ratio: 1; object-fit: cover; object-position: center 30%; border-radius: 6px; }
.person h3 { margin-top: 18px; font-size: clamp(20px, 1.8vw, 26px); }
.person h3 s { display: inline-block; color: var(--blue); font-family: var(--body); font-weight: 700; font-size: .6em; text-decoration-thickness: 2px; }
.role { margin: 6px 0 12px; font-family: var(--label); font-size: 14px; color: var(--ink-soft); }
.person p:last-child { margin: 0; }
@media (max-width: 900px) { .wir { grid-template-columns: 1fr; } .person img { max-width: 420px; } }

/* ---------- Commission ---------- */

.auftrag { background: var(--coral); color: var(--ink); padding: clamp(56px, 8vw, 120px) var(--gut); }
.auftrag-inner { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: 32px 64px; align-items: end; }
.auftrag h2 { color: var(--blue); font-size: clamp(40px, 6vw, 92px); }
.auftrag-text p { margin: 0 0 24px; max-width: 48ch; font-size: 17px; color: var(--ink); }
.mail {
  display: inline-block; font-family: var(--display); font-size: clamp(22px, 2.8vw, 38px); line-height: 1.2; word-break: break-all;
  text-decoration: none; color: var(--blue); padding-bottom: 4px;
  background: linear-gradient(var(--blue), var(--blue)) no-repeat 0 100% / 100% 2px; transition: background-size .4s var(--ease);
}
.mail:hover { background-size: 0% 2px; }
.auftrag-text .alt { margin: 16px 0 0; font-family: var(--label); font-size: 14px; color: var(--ink); }
@media (max-width: 760px) {
  .auftrag-inner { grid-template-columns: 1fr; gap: 22px; align-items: start; }
  .auftrag h2 { font-size: clamp(34px, 10vw, 48px); }
  .auftrag-text p { max-width: none; font-size: 16.5px; }
  .mail {
    display: block; text-align: center; font-size: clamp(17px, 5.4vw, 22px); word-break: normal; overflow-wrap: anywhere;
    padding: 14px 16px; border-radius: 12px; background: var(--blue); color: #fff;
  }
  .mail:hover { background: var(--ink); }
}

.foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; padding: 22px var(--gut); font-family: var(--label); font-size: 14px; color: var(--ink-soft); }

/* ---------- Work sheet ---------- */

dialog { border: 0; padding: 0; max-width: none; max-height: none; }
dialog::backdrop { background: rgba(2, 66, 107, .8); backdrop-filter: blur(4px); }
#sheet { width: min(1180px, 100vw); height: min(860px, 100dvh); margin: auto; background: var(--bg); color: var(--ink); border-radius: 10px; }
#sheet[open] { display: flex; flex-direction: column; }
.sheet-close { display: flex; justify-content: flex-end; padding: 10px 14px; border-bottom: 1px solid var(--line); }
.sheet-close button { font-size: 14px; font-weight: 500; padding: 4px 12px; border-radius: 999px; transition: background .2s; }
.sheet-close button:hover { background: var(--surface); }
.sheet-body { flex: 1; min-height: 0; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.sheet-media { min-height: 0; background: var(--surface); padding: 18px; display: grid; }
.sheet-media .st-frame { aspect-ratio: auto; height: 100%; background: transparent; cursor: default; }
.sheet-text { overflow-y: auto; padding: 22px clamp(18px, 3vw, 34px) 28px; }
.sku { margin: 0 0 6px; font-family: var(--label); font-size: 13.5px; color: var(--ink-soft); }
#sheet-title { font-size: clamp(28px, 3.2vw, 42px); margin-bottom: 18px; }
#sheet-facts { display: grid; grid-template-columns: auto 1fr; gap: 4px 16px; margin: 0 0 22px; font-size: 15px; }
#sheet-facts dt { font-family: var(--label); font-size: 13.5px; color: var(--ink-soft); padding-top: 3px; }
#sheet-facts dd { margin: 0; }
#sheet-story h4 { margin: 24px 0 6px; font-family: var(--label); font-weight: 400; font-size: 14px; color: var(--blue); }
#sheet-story p { margin: 0; }
#sheet-story blockquote { margin: 0; padding-left: 14px; border-left: 3px solid var(--coral); }
#sheet-story cite { display: block; margin-top: 8px; font-style: normal; font-family: var(--label); font-size: 13.5px; color: var(--ink-soft); }
#sheet-story cite::before { content: '— '; }
#sheet-cta { margin: 0 0 8px; padding: 16px 0 18px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
#sheet-cta:empty { display: none; }
.btn { display: inline-block; background: var(--blue); color: #fff; padding: 11px 20px; border-radius: 999px; text-decoration: none; font-weight: 700; transition: background .25s, transform .25s; }
.btn:hover { background: var(--blue-deep); transform: translateY(-2px); }
.sheet-nav { margin: 30px 0 0; display: flex; justify-content: space-between; font-size: 14px; font-weight: 500; }
@media (max-width: 820px) {
  #sheet { height: 100dvh; border-radius: 0; }
  .sheet-body { display: block; overflow-y: auto; }
  .sheet-media { height: 62dvh; }
  .sheet-text { overflow: visible; }
}

#photo { background: transparent; color: #fff; width: 100vw; height: 100dvh; }
#photo[open] { display: grid; grid-template-rows: auto 1fr auto; }
#photo .sheet-close { border: 0; }
#photo .sheet-close button { color: #fff; }
#photo .sheet-close button:hover { background: rgba(255,255,255,.12); }
#photo-img { justify-self: center; align-self: center; max-width: calc(100vw - 2 * var(--gut)); max-height: calc(100dvh - 120px); object-fit: contain; border-radius: 6px; }
#photo-cap { text-align: center; font-family: var(--label); font-size: 14px; margin: 10px 0 20px; }

:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }

/* ---------- Motion ---------- */

/* scroll reveal */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease) var(--d, 0ms), transform .8s var(--ease) var(--d, 0ms); }
.reveal.in { opacity: 1; transform: none; }

/* opening: headline rises line by line */
.opening h1, .opening h1 span, .opening-text > p:not(.tally), .stage { opacity: 0; transform: translateY(30px); }
.ready .opening h1, .ready .opening h1 span, .ready .opening-text > p:not(.tally), .ready .stage {
  animation: rise .9s var(--ease) forwards;
}
.ready .opening h1 span { animation-delay: .18s; }
.ready .opening-text > p:nth-of-type(1) { animation-delay: .32s; }
.ready .opening-text > p:nth-of-type(3) { animation-delay: .5s; }
.ready .stage { animation-delay: .25s; }
@keyframes rise { to { opacity: 1; transform: none; } }

/* coral marker wipes in */
.tally b { background: linear-gradient(var(--coral), var(--coral)) no-repeat 0 0 / 0% 100%; transition: background-size .9s cubic-bezier(.6,0,.2,1) .45s; }
.tally.in b { background-size: 100% 100%; }

/* links and buttons */
.top nav a:not(.nav-auftrag) { background: linear-gradient(var(--blue), var(--blue)) no-repeat 0 100% / 0% 2px; padding-bottom: 2px; transition: background-size .3s var(--ease), color .2s; }
.top nav a:not(.nav-auftrag):hover { background-size: 100% 2px; color: var(--blue); }
.nav-auftrag, .opening-links a { transition: background .25s, color .25s, transform .25s; }
.nav-auftrag:hover { background: var(--ink); transform: translateY(-2px); }
.opening-links a:hover { transform: translateY(-2px); background: var(--blue); border-color: var(--blue); color: #fff; }
.logo b { display: inline-block; transition: transform .45s cubic-bezier(.3,1.6,.5,1); }
.logo:hover b { transform: rotate(-8deg) translateY(-2px); }

/* pictures react to hover */
.piece img:not(.pv-img), .strip img:not(.pv-img), .pia-wall img, .past img, .draussen-row img, .fassade-details img, .fassade-main img, .person img {
  transition: transform .6s var(--ease), filter .45s;
}
.piece button:hover img:not(.pv-img), .strip button:hover img:not(.pv-img), .past button:hover img, .draussen-row button:hover img,
.fassade-details button:hover img, .fassade-main:hover img, .pia-wall button:hover img { transform: scale(1.04); }
.person:hover img { transform: scale(1.02); }

/* dialogs */
dialog[open] { animation: pop .38s var(--ease); }
dialog[open]::backdrop { animation: fade .3s ease; }
@keyframes pop { from { opacity: 0; transform: translateY(24px) scale(.98); } }
@keyframes fade { from { opacity: 0; } }
#sheet-story > *, #sheet-facts, #sheet-title, .sku { animation: rise-in .6s var(--ease) both; }
#sheet-title { animation-delay: .05s; }
#sheet-facts { animation-delay: .1s; }
#sheet-story > :nth-child(n) { animation-delay: .16s; }
@keyframes rise-in { from { opacity: 0; transform: translateY(14px); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal, .opening h1, .opening h1 span, .opening-text > p, .stage { opacity: 1 !important; transform: none !important; }
  .tally b { background-size: 100% 100% !important; }
}

/* ---------- Legal page ---------- */

.foot-links { display: flex; flex-wrap: wrap; gap: 6px 16px; }
.shop-legal a { color: var(--night-soft); }
.buy-note a { color: inherit; }
.legal { max-width: 760px; margin: 0 auto; padding: clamp(32px, 6vw, 72px) var(--gut) 80px; }
.legal h1 { font-size: clamp(36px, 6vw, 64px); }
.legal-lead { color: var(--ink-soft); margin: 10px 0 0; }
.legal section { border-top: 1px solid var(--line); margin-top: 48px; padding-top: 28px; }
.legal h2 { font-size: clamp(26px, 3.4vw, 38px); margin-bottom: 16px; }
.legal h3 { font-size: 20px; margin: 30px 0 8px; }
.legal h4 { font-family: var(--body); font-weight: 700; font-size: 16px; margin: 22px 0 6px; }
.legal p, .legal li { font-size: 16px; line-height: 1.7; }
.legal p { margin: 0 0 12px; }
.legal a { color: var(--blue); }
.legal-meta { font-family: var(--label); font-size: 14px !important; color: var(--ink-soft); }
.legal-box { background: var(--surface); border-radius: 8px; padding: 18px 20px; margin: 18px 0; }
.legal-box h3 { margin-top: 0; }
.legal-table { overflow-x: auto; margin: 10px 0 16px; }
.legal-table table { border-collapse: collapse; width: 100%; font-size: 15px; }
.legal-table th, .legal-table td { text-align: left; padding: 8px 12px 8px 0; border-bottom: 1px solid var(--line); }
.legal-table th { font-family: var(--label); font-weight: 400; font-size: 13.5px; color: var(--ink-soft); }
.legal section[id] { scroll-margin-top: 80px; }

/* Markierung für angepasste Textstellen – vor der Veröffentlichung diese Regel löschen */
/* Prüfmarkierung für geänderte Rechtstexte – für die Live-Seite ausgeschaltet.
.changed { background: rgba(255, 95, 97, .14); box-shadow: -3px 0 0 var(--coral); }
span.changed { box-shadow: none; border-bottom: 2px solid var(--coral); } */

/* ---------- Sprache, Teilen ---------- */
.top nav a.lang {
  font-family: var(--label); font-size: 13px; font-weight: 500; letter-spacing: .04em;
  padding: 4px 10px; border: 1.5px solid var(--line); border-radius: 999px; background-image: none;
}
.top nav a.lang:hover { border-color: var(--blue); color: var(--blue); }
.sheet-share { margin: 4px 0 14px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.sheet-share button {
  padding: 6px 14px; border: 1.5px solid var(--blue); border-radius: 999px; color: var(--blue);
  font-weight: 700; font-size: 14px; transition: background .2s, color .2s;
}
.sheet-share button:hover { background: var(--blue); color: #fff; }
#sheet.by-pia .sheet-share button { border-color: var(--pink); color: var(--pink); }
#sheet.by-pia .sheet-share button:hover { background: var(--pink); color: #fff; }
#share-msg { font-family: var(--label); font-size: 13px; color: var(--ink-soft); word-break: break-all; }
.story-lang { margin: 18px 0 -6px; font-family: var(--label); font-size: 13px; color: var(--ink-soft); }

/* ---------- Preisrechner (im Auftrag-Abschnitt) ---------- */
.calc {
  margin-top: clamp(36px, 5vw, 64px); padding: clamp(20px, 3vw, 36px); border-radius: 16px;
  background: #fff; color: var(--ink); box-shadow: 0 10px 30px rgba(2, 66, 107, .18);
}
.calc h3 { margin: 0; color: var(--blue); font-size: clamp(24px, 2.8vw, 34px); }
.calc-intro { margin: 8px 0 0; max-width: 60ch; color: var(--ink-soft); }
.calc-step { margin-top: 24px; }
.calc-q { margin: 0 0 10px; font-family: var(--label); font-size: 14px; color: var(--ink-soft); }
.calc-tiers { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 1100px) { .calc-tiers { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.calc-tier {
  display: flex; flex-direction: column; gap: 4px; padding: 10px 10px 14px; text-align: left;
  border: 1.5px solid var(--line); border-radius: 12px; transition: border-color .2s, box-shadow .2s, transform .2s;
}
.calc-tier:hover { border-color: var(--blue); transform: translateY(-2px); }
.calc-tier[aria-pressed="true"] { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(2, 66, 107, .18); background: var(--rose); }
.calc-ex { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; margin-bottom: 6px; }
.calc-ex img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 6px; }
.calc-tier b { font-size: 17px; }
.calc-tier small { font-size: 14px; line-height: 1.4; color: var(--ink-soft); }
.calc-sizes { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.calc-sizes button {
  padding: 7px 14px; border: 1.5px solid var(--blue); border-radius: 999px; color: var(--blue);
  font-family: var(--label); font-size: 14px; transition: background .2s, color .2s;
}
.calc-sizes button:hover { background: var(--rose); }
.calc-sizes button[aria-pressed="true"] { background: var(--blue); color: #fff; }
.calc-own { display: inline-flex; align-items: center; gap: 6px; margin-left: 4px; font-family: var(--label); }
.calc-own input {
  width: 72px; padding: 7px 8px; border: 1.5px solid var(--line); border-radius: 8px;
  font: inherit; font-size: 15px; text-align: center; color: var(--ink);
}
.calc-own input:focus { outline: none; border-color: var(--blue); }
.calc-extras { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.calc-extras label { display: flex; align-items: center; gap: 8px; font-size: 15px; cursor: pointer; }
.calc-extras input { width: 17px; height: 17px; accent-color: var(--blue); }
.calc-result {
  margin-top: 26px; padding: 18px 20px; border-radius: 12px; background: var(--blue); color: #fff;
  display: grid; grid-template-columns: 1fr auto; gap: 8px 20px; align-items: center;
}
.calc-result p { margin: 0; display: flex; flex-direction: column; }
.calc-result p span { font-family: var(--label); font-size: 13px; color: var(--night-soft); }
.calc-result b { font-family: var(--display); font-weight: 400; font-size: clamp(26px, 3.4vw, 40px); line-height: 1.15; }
.calc-ask {
  padding: 12px 20px; border-radius: 999px; background: var(--coral); color: var(--ink);
  font-weight: 700; text-decoration: none; white-space: nowrap; transition: background .2s;
}
.calc-ask:hover { background: #fff; }
.calc-result small { grid-column: 1 / -1; font-size: 13.5px; color: var(--night-soft); }
@media (max-width: 760px) {
  .calc-tiers { grid-template-columns: 1fr; }
  .calc-tier { display: grid; grid-template-columns: 96px 1fr; column-gap: 12px; align-items: center; }
  .calc-ex { grid-row: span 2; grid-template-columns: 1fr; margin: 0; }
  .calc-ex img:not(:first-child) { display: none; }
  .calc-result { grid-template-columns: 1fr; }
  .calc-ask { text-align: center; white-space: normal; }
}
.calc-like { margin-top: 14px; }
.calc-like p { margin: 0 0 8px; font-family: var(--label); font-size: 13px; color: var(--ink-soft); }
.calc-like div { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 128px)); gap: 12px; }
.calc-like button { display: flex; flex-direction: column; gap: 2px; text-align: left; min-width: 0; }
.calc-like img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 8px; margin-bottom: 4px; transition: transform .3s var(--ease); }
.calc-like button:hover img { transform: scale(1.04); }
.calc-like b { font-size: 13.5px; line-height: 1.25; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.calc-like small { font-family: var(--label); font-size: 12px; color: var(--ink-soft); }
@media (max-width: 760px) {
  .calc-like div { display: flex; overflow-x: auto; scrollbar-width: none; margin-inline: -4px; padding: 0 4px 4px; }
  .calc-like button { flex: 0 0 104px; }
}

/* ---------- Tür (Intro beim ersten Besuch, Seitenwechsel) ---------- */
:root {
  --door-a: var(--blue);
  --door-b: #151515;
  --door-accent: var(--coral);
  --door-slant: 14vw;
}
.door { position: fixed; inset: 0; z-index: 9999; pointer-events: none; overflow: hidden; visibility: hidden; }
.door.is-active, .door-intro .door { visibility: visible; pointer-events: all; }
.door__veil { position: absolute; inset: 0; background: var(--bg); }
.door__panel { position: absolute; inset: 0; will-change: transform; transform: translate(-100%, -35%); }
.door__panel--b { transform: translate(100%, 35%); }
.door__panel--a {
  background: repeating-linear-gradient(-62deg, rgba(255, 255, 255, .05) 0 2px, transparent 2px 14px), var(--door-a);
  clip-path: polygon(0 0, calc(50% + var(--door-slant) + 2px) 0, calc(50% - var(--door-slant) + 2px) 100%, 0 100%);
}
.door__panel--b {
  background: radial-gradient(circle at 1px 1px, rgba(255, 255, 255, .09) 1px, transparent 1.5px) 0 0 / 9px 9px, var(--door-b);
  clip-path: polygon(calc(50% + var(--door-slant)) 0, 100% 0, 100% 100%, calc(50% - var(--door-slant)) 100%);
}
.door__seam {
  position: absolute; inset: 0; background: var(--door-accent); opacity: 0;
  clip-path: polygon(calc(50% + var(--door-slant) - 5px) 0, calc(50% + var(--door-slant) + 7px) 0,
                     calc(50% - var(--door-slant) + 7px) 100%, calc(50% - var(--door-slant) - 5px) 100%);
}
.door__flash { position: absolute; inset: 0; background: #fff; opacity: 0; mix-blend-mode: overlay; }
.door__label { position: absolute; color: #fff; white-space: nowrap; font-family: var(--display); text-transform: uppercase; letter-spacing: -.02em; line-height: .95; opacity: 0; }
.door__title { left: 5vw; right: 5vw; top: 16%; white-space: normal; font-size: clamp(44px, 8vw, 140px); transform: skewX(-12deg); text-shadow: 6px 6px 0 rgba(0, 0, 0, .35); }
.door__title small { display: block; font-family: var(--label); font-weight: 700; font-size: clamp(11px, 1.1vw, 15px); letter-spacing: .25em; color: var(--door-accent); margin-bottom: .8em; text-shadow: none; }
.door__sub { left: calc(50% + 2vw); bottom: 30%; font-family: var(--label); font-weight: 700; font-size: clamp(12px, 1.4vw, 18px); letter-spacing: .3em; transform: skewX(-12deg); }
.door__sub b { color: var(--door-accent); font-weight: 700; }
.door__logo {
  position: absolute; left: 50%; top: 50%; width: clamp(76px, 9vw, 124px); aspect-ratio: 1; translate: -50% -50%;
  display: grid; place-items: center; border-radius: 50%; background: #fff; box-shadow: 0 0 0 6px var(--door-accent); opacity: 0;
}
.door__logo img { width: 74%; height: auto; }
@media (max-width: 640px) {
  :root { --door-slant: 22vw; }
  .door__title { top: 14%; left: 16px; right: 16px; white-space: normal; font-size: clamp(40px, 13vw, 72px); }
  .door__sub { bottom: 22%; left: auto; right: 16px; }
}

/* ---------- Seiten ---------- */
.top nav a[aria-current="page"]:not(.nav-auftrag) { color: var(--blue); background-size: 100% 2px; }
html, body { overflow-x: clip; }           /* nichts darf die Seite seitlich verbreitern (Handy) */
.piece, .piece figcaption, .tile, .tile-body { min-width: 0; overflow-wrap: anywhere; }

/* Sneak Peeks: Ausschnitt, beim Drüberfahren das ganze Bild */
.sneak-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.sneak-tile { position: relative; display: block; width: 100%; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 10px; background: var(--surface); }
.sneak-tile > img:not(.pv-img) { width: 100%; height: 100%; object-fit: cover; object-position: var(--px) var(--py); transform: scale(2.2); transform-origin: var(--px) var(--py); transition: transform .6s var(--ease); }
.sneak-tile:hover > img:not(.pv-img), .sneak-tile:focus-visible > img:not(.pv-img) { transform: scale(1); }
.sneak-cap { position: absolute; left: 8px; right: 8px; bottom: 8px; padding: 8px 12px; border-radius: 8px; background: rgba(255,255,255,.92); text-align: left; line-height: 1.25; }
.sneak-cap b { display: block; font-size: 15px; }
.sneak-cap small { font-family: var(--label); font-size: 12px; color: var(--ink-soft); }
@media (max-width: 640px) { .sneak-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } .sneak-cap b { font-size: 13px; } }

/* Laufende Ausstellung in den Terminen */
.linkish { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; font: inherit; }

/* Wegweiser */
.mehr-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 18px; }
.mehr-card { display: flex; flex-direction: column; text-decoration: none; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; transition: transform .25s var(--ease), border-color .25s; }
.mehr-card:hover { transform: translateY(-3px); border-color: var(--blue); }
.mehr-card img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.mehr-card span { position: relative; padding: 14px 16px 18px; display: flex; flex-direction: column; gap: 4px; }
.mehr-card b { font-family: var(--display); font-weight: 400; font-size: 22px; line-height: 1.1; padding-right: 26px; }
.mehr-card small { font-size: 14px; color: var(--ink-soft); line-height: 1.45; }
.mehr-card i { position: absolute; right: 16px; top: 14px; font-style: normal; color: var(--coral-deep); font-size: 20px; }
@media (max-width: 640px) { .mehr-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } .mehr-card b { font-size: 17px; } .mehr-card small { font-size: 12.5px; } }

/* Versand nach Deutschland / EU */
.ship-pick { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 10px 0; font-family: var(--label); font-size: 13px; }
.ship-pick span { margin-right: 4px; }
.ship-pick button { padding: 5px 14px; border-radius: 999px; border: 1.5px solid currentColor; opacity: .65; }
.ship-pick button[aria-pressed="true"] { opacity: 1; background: var(--blue); border-color: var(--blue); color: #fff; }
.shop .ship-pick button[aria-pressed="true"] { background: var(--coral); border-color: var(--coral); color: var(--ink); }
html[data-ship="de"] .ship-eu, html[data-ship="eu"] .ship-de { display: none !important; }

/* Zurück nach oben */
.to-top {
  position: fixed; right: 16px; bottom: 16px; z-index: 50; width: 48px; height: 48px; border-radius: 50%;
  background: var(--blue); color: #fff; font-size: 22px; line-height: 1; display: grid; place-items: center;
  box-shadow: 0 6px 18px rgba(0,0,0,.25); opacity: 0; transform: translateY(12px); pointer-events: none;
  transition: opacity .25s, transform .25s var(--ease), background .2s;
}
.to-top.on { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--coral-deep); }

/* ---------- Termine als Karten ---------- */
.dates { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 400px), 1fr)); gap: 16px; }
.date-card {
  position: relative; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 16px;
  padding: 14px 16px 14px 14px; background: #fff; border: 1.5px solid var(--ink); box-shadow: 5px 5px 0 var(--line);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.date-card:hover { transform: translate(-3px, -3px); box-shadow: 8px 8px 0 var(--blue); }
.dc-cal { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; width: 78px; aspect-ratio: 1; background: var(--surface); color: var(--ink); text-align: center; line-height: 1; }
.dc-cal b { font-family: var(--display); font-weight: 400; font-size: 21px; letter-spacing: -.02em; }
.dc-cal small { font-family: var(--label); font-size: 11px; text-transform: uppercase; letter-spacing: .08em; }
.date-card.ok .dc-cal { background: var(--coral); }
.date-card.tbc .dc-cal { background: transparent; outline: 1.5px dashed var(--ink-soft); outline-offset: -1.5px; }
.dc-main { display: flex; flex-direction: column; min-width: 0; line-height: 1.2; }
.dc-main b { font-family: var(--display); font-weight: 400; font-size: 23px; line-height: 1.1; margin: 4px 0 2px; overflow-wrap: break-word; }
.dc-pl { color: var(--ink-soft); font-size: 15px; }
.dc-tag { display: inline-flex; align-items: center; gap: 6px; font-family: var(--label); font-size: 11.5px; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-soft); }
.dc-tag i { width: 8px; height: 8px; background: var(--ink-soft); }
.date-card.ok .dc-tag { color: var(--coral-deep); }
.date-card.ok .dc-tag i { background: var(--coral); }
.date-card.now .dc-tag { color: var(--blue); }
.date-card.now .dc-tag i { background: #2fbf71; animation: pulse 1.6s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(47, 191, 113, .6); } 70% { box-shadow: 0 0 0 8px rgba(47, 191, 113, 0); } 100% { box-shadow: 0 0 0 0 rgba(47, 191, 113, 0); } }
.dc-when { font-family: var(--label); font-size: 12.5px; color: var(--ink-soft); text-align: right; white-space: nowrap; }
.dc-when b { display: block; font-family: var(--display); font-weight: 400; font-size: 30px; color: var(--ink); line-height: 1; }
.date-card.now { grid-column: 1 / -1; grid-template-columns: 150px 1fr auto; border-color: var(--blue); box-shadow: 5px 5px 0 var(--rose); }
.dc-photo { width: 150px; aspect-ratio: 4 / 3; overflow: hidden; }
.dc-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.date-card.now:hover .dc-photo img { transform: scale(1.08); }
.dc-link { font-family: var(--label); font-size: 13px; font-weight: 700; color: var(--blue); }
@media (max-width: 560px) {
  .date-card.now { grid-template-columns: 96px 1fr; }
  .dc-photo { width: 96px; }
  .dc-link { grid-column: 1 / -1; justify-self: start; }
  .dc-cal { width: 64px; }
  .dc-cal b { font-size: 17px; }
  .dc-main b { font-size: 19px; }
  .dc-when b { font-size: 24px; }
}

/* ---------- Conventions-Verlauf ---------- */
.conv { margin-top: clamp(48px, 6vw, 80px); }
.conv-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 10px 24px; margin-bottom: 22px; }
.conv-all { font-family: var(--label); font-size: 14px; font-weight: 700; color: var(--blue); text-decoration: none; }
.conv-all i { display: inline-block; font-style: normal; transition: transform .25s var(--ease); }
.conv-all:hover i { transform: translateX(5px); }
.conv-line {
  list-style: none; margin: 0; padding: 0 0 14px; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(230px, 1fr);
  gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin;
}
.conv-item { position: relative; scroll-snap-align: start; padding-top: 34px; display: flex; flex-direction: column; gap: 4px; }
.conv-item::before { content: ''; position: absolute; top: 9px; left: 0; right: -22px; height: 2px; background: var(--ink); }
.conv-item:last-child::before { right: 0; }
.conv-next::before { background: repeating-linear-gradient(90deg, var(--ink-soft) 0 6px, transparent 6px 12px); }
.conv-dot { position: absolute; top: 2px; left: 0; width: 16px; height: 16px; background: var(--coral); border: 2px solid var(--ink); transform: rotate(45deg); }
.conv-next .conv-dot { background: #fff; border-style: dashed; }
.conv-date { position: absolute; top: 0; left: 24px; padding: 0 8px; background: var(--bg); font-family: var(--label); font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-soft); }
.conv-pics { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; gap: 4px; aspect-ratio: 3 / 2; margin-bottom: 8px; }
.conv-pics button { overflow: hidden; background: var(--surface); min-height: 0; }
.conv-pics .conv-main { grid-row: span 2; }
.conv-pics img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.conv-pics button:hover img { transform: scale(1.08); }
.conv-soon { display: grid; place-items: center; grid-template-columns: 1fr; grid-template-rows: 1fr; border: 1.5px dashed var(--ink-soft); font-family: var(--display); font-size: 20px; color: var(--ink-soft); }
.conv-item b { font-family: var(--display); font-weight: 400; font-size: 18px; line-height: 1.15; }
.conv-item small { font-size: 13.5px; color: var(--ink-soft); line-height: 1.4; }

/* ---------- Knöpfe: eckig, mit Farbwisch und hartem Schatten ---------- */
.buy, .nav-auftrag, .opening-links a, .filters button, .view-toggle, .view-toggle button, .easel-toggle, .car-pick, .car-step,
.stage-arrow, .stage-trig, .stage-menu, .fold-btn, .ship-pick button, .to-top, .gallery-head button, .st-step, .sort select,
.shop-jump a, .sheet-close button, #sheet-share, .mehr-card, .sneak-tile, .stage-chip, .tile-note, .easel-toggle i { border-radius: 0 !important; }
.buy, .nav-auftrag, .opening-links a, .filters button, .easel-toggle, .car-pick, .fold-btn, .ship-pick button, .shop-jump a {
  --sweep: var(--coral); --sweep-ink: var(--ink);
  position: relative; isolation: isolate; overflow: hidden;
  transition: color .3s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease), border-color .3s;
}
.buy::before, .nav-auftrag::before, .opening-links a::before, .filters button::before, .easel-toggle::before, .car-pick::before,
.fold-btn::before, .ship-pick button::before, .shop-jump a::before {
  content: ''; position: absolute; inset: 0; z-index: -1; background: var(--sweep);
  transform: scaleX(0); transform-origin: right; transition: transform .35s cubic-bezier(.7, 0, .2, 1);
}
.buy:hover, .nav-auftrag:hover, .opening-links a:hover, .filters button:hover, .easel-head:hover .easel-toggle, .car-pick:hover,
.fold-btn:hover, .ship-pick button:hover, .shop-jump a:hover {
  color: var(--sweep-ink); transform: translate(-2px, -2px); box-shadow: 4px 4px 0 var(--ink);
}
.buy:hover::before, .nav-auftrag:hover::before, .opening-links a:hover::before, .filters button:hover::before, .easel-head:hover .easel-toggle::before,
.car-pick:hover::before, .fold-btn:hover::before, .ship-pick button:hover::before, .shop-jump a:hover::before { transform: scaleX(1); transform-origin: left; }
.buy:active, .nav-auftrag:active, .opening-links a:active, .filters button:active, .car-pick:active, .fold-btn:active, .ship-pick button:active {
  transform: translate(0, 0); box-shadow: 0 0 0 var(--ink); transition-duration: .08s;
}
.buy:hover { background: var(--blue); border-color: var(--ink); }
.buy-alt, .buy-ask { --sweep: var(--blue); --sweep-ink: #fff; }
.buy-alt:hover, .buy-ask:hover { background: transparent; }
.buy-pp { --sweep: #003087; --sweep-ink: #fff; }
.buy-pp:hover { background: transparent; }
.car-pick { --sweep: var(--blue); --sweep-ink: #fff; }
.car-pick:hover { background: var(--coral); }
.filters button[aria-pressed="true"], .ship-pick button[aria-pressed="true"] { --sweep: var(--coral); --sweep-ink: var(--ink); }
.filters button:hover { background-color: transparent; }
.filters button[aria-pressed="true"]:hover { background-color: var(--blue); }
.shop .buy { --sweep: #fff; }
.shop .buy:hover { box-shadow: 4px 4px 0 #fff; background: var(--coral); border-color: var(--coral); }
.shop .buy-alt, .shop .buy-ask { --sweep: #fff; --sweep-ink: var(--ink); }
.shop .buy-alt:hover, .shop .buy-ask:hover { background: transparent; }
.nav-auftrag:hover, .easel-head:hover .easel-toggle { background: var(--blue); }
.opening-links a:not(:first-child) { --sweep: var(--ink); --sweep-ink: #fff; }
/* Pfeile: eckig, heben sich an */
.stage-arrow, .car-step, .st-step, .to-top { transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s, color .2s; }
.stage-arrow:hover, .car-step:hover, .st-step:hover, .to-top.on:hover { transform: translate(-2px, -2px); box-shadow: 3px 3px 0 var(--coral); }
.stage-arrow:active, .car-step:active, .st-step:active, .to-top:active { transform: none; box-shadow: none; }
@media (prefers-reduced-motion: reduce) { .date-card.now .dc-tag i { animation: none; } }

/* ---------- Suche ---------- */
.search-btn { display: grid; place-items: center; width: 36px; height: 36px; border: 1.5px solid var(--ink); transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s, color .2s; }
.search-btn svg, .search-top svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: square; }
.search-btn:hover { transform: translate(-2px, -2px); box-shadow: 3px 3px 0 var(--coral); background: var(--ink); color: #fff; }
.search-dlg {
  width: min(920px, calc(100vw - 24px)); max-height: min(86vh, 900px); margin: 6vh auto auto; padding: 0;
  border: 2px solid var(--ink); box-shadow: 10px 10px 0 var(--coral); background: var(--bg); color: var(--ink); overflow: auto;
}
.search-dlg[open] { animation: rise-in .35s var(--ease) both; }
.search-dlg::backdrop { background: rgba(2, 66, 107, .55); backdrop-filter: blur(3px); }
.search-top { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: var(--bg); border-bottom: 2px solid var(--ink); }
.search-top svg { width: 24px; height: 24px; flex: none; }
.search-top input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; font: 400 clamp(19px, 2.4vw, 26px)/1.2 var(--display); color: var(--ink); }
.search-top input::placeholder { font-family: var(--body); font-size: 16px; color: var(--ink-soft); }
.search-x { width: 36px; height: 36px; border: 1.5px solid var(--ink); font-size: 16px; }
.search-x:hover { background: var(--ink); color: #fff; }
.search-chips { display: flex; flex-direction: column; gap: 10px; padding: 14px 16px 4px; }
.sc-row { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.sc-row b { width: 58px; font-family: var(--label); font-size: 11.5px; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-soft); }
.sc-color, .sc-topic { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border: 1.5px solid var(--line); font-size: 13.5px; transition: border-color .2s, transform .2s var(--ease), box-shadow .2s var(--ease); }
.sc-color i { width: 14px; height: 14px; background: var(--c); border: 1px solid rgba(0, 0, 0, .25); }
.sc-color:hover, .sc-topic:hover { border-color: var(--ink); transform: translate(-1px, -1px); box-shadow: 2px 2px 0 var(--ink); }
.search-count { margin: 12px 16px 8px; font-family: var(--label); font-size: 13px; color: var(--ink-soft); }
.search-res { list-style: none; margin: 0; padding: 0 16px 18px; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 10px; }
.sr-item { display: flex; gap: 12px; width: 100%; padding: 8px; text-align: left; border: 1.5px solid var(--line); background: #fff; transition: border-color .2s, transform .2s var(--ease), box-shadow .2s var(--ease); }
.sr-item:hover, .sr-item:focus-visible { border-color: var(--ink); transform: translate(-2px, -2px); box-shadow: 4px 4px 0 var(--blue); }
.sr-item.by-pia:hover { box-shadow: 4px 4px 0 var(--pink); }
.sr-item img, .sr-noimg { width: 72px; height: 72px; flex: none; object-fit: cover; background: var(--surface); }
.sr-txt { display: flex; flex-direction: column; gap: 3px; min-width: 0; line-height: 1.25; }
.sr-txt b { font-size: 15px; overflow-wrap: break-word; }
.sr-txt small { font-size: 12.5px; color: var(--ink-soft); }
.sr-cols { display: flex; gap: 3px; margin-top: auto; }
.sr-cols i { width: 12px; height: 12px; background: var(--c); border: 1px solid rgba(0, 0, 0, .2); }
@media (max-width: 640px) {
  .search-dlg { margin-top: 10px; max-height: calc(100vh - 20px); box-shadow: 6px 6px 0 var(--coral); }
  .sc-row b { width: 100%; }
  .sr-item img, .sr-noimg { width: 60px; height: 60px; }
}

/* ---------- Sammlung: Filter als Kachel-Zeilen (Optik wie die Terminliste) ---------- */
.controls { display: grid; margin-bottom: 34px; border-top: 1.5px solid var(--ink); }
.filters, .sort-view {
  margin: 0; display: grid; grid-template-columns: 9.5em minmax(0, 1fr); align-items: center; gap: 10px 16px;
  padding: 14px 0; border-bottom: 1px solid var(--line);
}
.filter-label { font-family: var(--label); font-size: 13px; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-soft); margin: 0; }
.f-opts { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 8px; }
.filters.series .f-opts { grid-template-columns: repeat(auto-fit, minmax(118px, 1fr)); }
.filters button {
  display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 2px; min-height: 64px;
  padding: 10px 14px; text-align: left; background: #fff; color: var(--ink); border: 1.5px solid var(--line);
  font-size: 15px; font-weight: 700; line-height: 1.15;
}
.filters button .n { font-family: var(--display); font-weight: 400; font-size: 24px; line-height: 1; color: var(--blue); background: none; padding: 0; min-width: 0; border-radius: 0; }
.filters.series button { min-height: 54px; font-size: 14px; }
.filters.series button .n { font-size: 18px; }
.filters button:hover { border-color: var(--ink); background-color: #fff; }
.filters button[aria-pressed="true"] { background: var(--coral); border-color: var(--coral); color: var(--ink); }
.filters button[aria-pressed="true"] .n { color: var(--ink); }
.filters button[aria-pressed="true"]:hover { background-color: var(--coral); border-color: var(--ink); }
.filters button { --sweep: var(--rose); --sweep-ink: var(--ink); }
.filters button[aria-pressed="true"] { --sweep: var(--coral); }
/* Sortieren + Ansicht: gleiche Zeile, gleiche Optik */
.sort-view { grid-template-columns: 9.5em minmax(0, 340px) 1fr; }
.sort { display: contents; }
.sort select { width: 100%; min-height: 48px; padding: 10px 40px 10px 14px; border: 1.5px solid var(--line); font-size: 15px; font-weight: 700; background-color: #fff; }
.sort select:hover { border-color: var(--ink); background-color: #fff; }
.view-toggle { justify-self: end; display: grid; grid-template-columns: repeat(3, minmax(84px, 1fr)); gap: 0; padding: 0; background: none; border: 1.5px solid var(--ink); }
.view-toggle button { min-height: 45px; padding: 0 16px; font-size: 14px; font-weight: 700; transition: background .2s, color .2s; }
.view-toggle button + button { border-left: 1.5px solid var(--ink); }
.view-toggle button:hover { background: var(--rose); }
.view-toggle button[aria-pressed="true"] { background: var(--ink); color: #fff; }
@media (max-width: 760px) {
  .filters, .sort-view { grid-template-columns: minmax(0, 1fr); gap: 8px; padding: 12px 0; }
  .f-opts { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
  .filters.series .f-opts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .filters button { min-height: 54px; padding: 8px 10px; font-size: 13px; }
  .filters button .n { font-size: 19px; }
  .filters.series button { min-height: 46px; font-size: 12.5px; }
  .filters.series button .n { font-size: 15px; }
  .view-toggle { justify-self: stretch; width: 100%; }
}

/* ---------- Shop (neu) ---------- */
.shop-top { display: grid; gap: 22px; padding-bottom: 26px; border-bottom: 1.5px solid var(--night-line); }
.shop-title { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px 28px; }
.shop-title h2 { line-height: .95; }
.shop-lead {
  flex: 1 1 300px; margin: 0 0 6px; max-width: 62ch; padding: 9px 14px; font-size: 15px; line-height: 1.5; color: #fff;
  background: rgba(255, 255, 255, .07); border-left: 3px solid var(--coral);
}
.shop-bar { display: flex; flex-wrap: wrap; align-items: stretch; justify-content: space-between; gap: 14px 24px; }
.shop-tabs { flex: 1 1 520px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.shop-tabs button {
  display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 12px 16px; min-height: 72px; text-align: left;
  border: 1.5px solid var(--night-line); color: #fff; font-weight: 700; font-size: 15px;
  transition: background .25s, border-color .25s, color .25s, transform .2s var(--ease), box-shadow .2s var(--ease);
}
.shop-tabs .n { font-family: var(--display); font-weight: 400; font-size: 28px; line-height: 1; color: var(--coral); }
.shop-tabs button:hover { border-color: #fff; transform: translate(-2px, -2px); box-shadow: 4px 4px 0 var(--coral); }
.shop-tabs button[aria-selected="true"] { background: var(--coral); border-color: var(--coral); color: var(--ink); }
.shop-tabs button[aria-selected="true"] .n { color: var(--ink); }
.shop-bar .ship-pick { margin: 0; align-self: flex-end; color: var(--night-soft); }
.shop .ship-pick button { min-height: 40px; padding: 6px 16px; color: #fff; border-color: var(--night-line); opacity: 1; font-weight: 700; }
.shop .ship-pick button[aria-pressed="true"] { background: #fff; border-color: #fff; color: var(--ink); }
.shop-legal { margin: 0; font-family: var(--label); font-size: 12.5px; line-height: 1.6; color: var(--night-soft); }
.shop-part { margin-top: 26px; scroll-margin-top: 80px; }
.shop-part:not([hidden]) { animation: rise-in .45s var(--ease) both; }
.shop-note { margin: 0 0 22px; font-size: 15px; color: var(--night-soft); max-width: 70ch; }

/* Karten */
.shop .tiles { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 22px 18px; }
.shop .tile {
  background: rgba(255, 255, 255, .04); border: 1.5px solid var(--night-line); padding: 10px 10px 12px;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s;
}
.shop .tile:hover { transform: translate(-3px, -3px); border-color: rgba(255, 255, 255, .5); box-shadow: 6px 6px 0 var(--coral); }
.shop .tile-img { border-radius: 0; background: rgba(255, 255, 255, .06); }
.shop .tile-note { top: 18px; left: 18px; padding: 3px 9px; font-weight: 700; }
.shop .tile-body { margin: 12px 2px 14px; gap: 2px; }
.shop .tile-body b { font-size: 16.5px; line-height: 1.25; color: #fff; }
.shop .tile-body small { font-size: 12.5px; }
.shop .tile-price { margin-top: 8px; font-family: var(--display); font-weight: 400; font-size: 24px; line-height: 1; color: var(--coral); }
.shop .tile > .buy-row { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-top: auto; }
.shop .tile .buy { display: flex; align-items: center; justify-content: center; min-height: 40px; padding: 6px 8px; font-size: 14px; text-align: center; white-space: normal; }
/* Kaufen (SumUp) über die ganze Breite, darunter PayPal und Abholen nebeneinander */
.shop .tile .buy:not(.buy-pp):not(.buy-ask) { grid-column: 1 / -1; min-height: 46px; font-size: 15.5px; }
.shop .tile .buy-row:has(> .buy:only-child) .buy { grid-column: 1 / -1; }
.shop .tile .buy-pp { background: transparent; border-color: rgba(255, 255, 255, .45); color: #fff; }
@media (max-width: 760px) {
  .shop-tabs { flex-basis: 100%; gap: 6px; }
  .shop-tabs button { min-height: 60px; padding: 10px 10px; font-size: 13px; }
  .shop-tabs .n { font-size: 22px; }
  .shop .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 10px; }
  .shop .tile { padding: 6px 6px 8px; }
  .shop .tile-price { font-size: 19px; }
  .shop .tile .buy { font-size: 12.5px; min-height: 36px; padding: 4px 6px; }
  .shop .tile .buy:not(.buy-pp):not(.buy-ask) { font-size: 14px; min-height: 40px; }
  .shop .tile .buy-row { grid-template-columns: 1fr; }
}

/* Studien nach Vorlage */
.study-badge { display: inline-block; margin-left: 6px; padding: 0 6px; font-style: normal; font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase; border: 1px solid var(--ink-soft); color: var(--ink-soft); vertical-align: 1px; }
.study-note { margin: 0 0 18px; padding: 10px 14px; font-size: 14.5px; line-height: 1.55; background: var(--surface); border-left: 3px solid var(--ink-soft); }
.study-note b { display: block; font-family: var(--label); font-size: 12px; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 2px; }
