/* seite.css · Livia Kranz (Beispiel), lp-214 KLEIDERRAUM · ganze Seite: Kopf, Reihe, Stationen 18:30 bis 20:40, Anfrage, Schluss.
 * Bewegung nur aus transform/opacity, gesteuert über --p je Abschnitt (js/bewegung.js). Immer mit Rückfall auf den Endzustand (var(--p, 1)).
 * Kein backdrop-filter, kein mix-blend-mode auf großen Flächen (Lehre lp-212). */

@font-face { font-family: "Bricolage"; src: url("../fonts/bricolage.woff2") format("woff2"); font-weight: 200 800; font-display: block; }
@font-face { font-family: "Jakarta"; src: url("../fonts/jakarta.woff2") format("woff2"); font-weight: 200 800; font-display: swap; }
@font-face { font-family: "JetBrains"; src: url("../fonts/jetbrains.woff2") format("woff2"); font-weight: 400 800; font-display: swap; }

:root {
  --kante-innen: min(100% - 2 * var(--rand), 1296px);
  --t-station: clamp(2.6rem, 1.4rem + 4.6vw, 6rem);
  --rot-text: #b8141f;          /* Rot für kleine Schrift auf hellem Grund (Kontrast über 4,5 : 1) */
  --papier: #fffaf3;            /* hellere Fläche: Karten, Formular */
  --scrim: 247, 239, 230;       /* Creme als Rot-Grün-Blau für Verläufe über Fotos */
}
h1, h2, h3 { font-weight: 780; }
.marke { font-weight: 760; font-size: 1.2rem; }
.beispiel { font-family: var(--schrift-text); font-weight: 500; font-size: 0.78rem; color: var(--text-3); margin-left: 6px; letter-spacing: 0; }
.menue a { font-weight: 520; }
.knopf { font-weight: 680; }
.punkt { color: var(--akzent); font-style: normal; }

/* ============================ Station 1 · Kopf ============================ */
.anfang {
  --hero-h: max(100svh, 620px);
  position: relative; isolation: isolate; overflow: clip;
  min-height: var(--hero-h);
  display: grid; align-items: end;
  padding: calc(var(--kopf-hoehe) + 24px) 0 clamp(20px, 4.5svh, 52px);
  background: var(--grund);
}

/* Raum: randlos, zoomt beim Scrollen sacht, weicht der Maus aus. Der Cremeschleier liegt fest über dem Bild (kein Mischmodus). */
.raum { position: absolute; inset: 0; z-index: 0; overflow: clip; }
.raum picture { display: block; width: 100%; height: 100%; }
.raum img {
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%;
  transform: translate3d(calc(var(--mx, 0) * -14px), calc(var(--my, 0) * -8px + var(--p, 0) * 9svh), 0) scale(calc(1.07 + var(--p, 0) * 0.16));
  will-change: transform;
}
.raum::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(to bottom, rgba(247, 239, 230, 0.55) 0, rgba(247, 239, 230, 0.2) 22%, rgba(247, 239, 230, 0.1) 46%),
    linear-gradient(to top, #f7efe6 0, rgba(247, 239, 230, 0.93) 10%, rgba(247, 239, 230, 0.66) 30%, rgba(247, 239, 230, 0.28) 52%, rgba(247, 239, 230, 0) 70%);
}

/* Name: von Rand zu Rand, nie abgeschnitten. Schriftgröße aus der Breite des Behälters (cqw), gemessen an Bricolage 800:
 * Tintenbreite von „LIVIA“ = 2,767 em bei Sperrung 0,08 em, links 0,06 em Vorlauf (L). 35,4 cqw => Tinte füllt 97,95 % der Breite. */
.name-box { position: absolute; z-index: 2; left: 0; right: 0; top: calc(var(--kopf-hoehe) + 4px); container-type: inline-size; pointer-events: none; }
.name {
  margin: 0; display: flex;
  font-family: var(--schrift-display); font-weight: 800; font-size: 35.4cqw; line-height: 0.74; letter-spacing: 0.08em;
  color: var(--text); user-select: none;
}
@supports not (width: 1cqw) { .name { font-size: 34vw; } .name span:nth-child(1) { margin-left: 1vw; } }
.name span { display: block; transform: translate3d(0, calc(var(--p, 0) * var(--d, 0) * -1svh), 0); will-change: transform; }
.name span:nth-child(1) { --d: 4;  --i: 0; margin-left: 1.03cqw; text-indent: -0.06em; }   /* Box im Fenster, Tinte unverändert: der Vorlauf des L steht links neben der Box */
.name span:nth-child(2) { --d: 11; --i: 1; }
.name span:nth-child(3) { --d: 19; --i: 2; }
.name span:nth-child(4) { --d: 11; --i: 3; }
.name span:nth-child(5) { --d: 4;  --i: 4; letter-spacing: 0; }   /* kein Nachlauf rechts: die Box des A endet an der Tinte */

/* Livia: freigestellt, vor dem Namen, bleibt beim Scrollen etwas zurück (steht „fest“, während der Raum weiterfährt) */
.livia-buehne {
  position: absolute; z-index: 4; pointer-events: none;
  inset: calc(var(--kopf-hoehe) + 6px) 0 clamp(10px, 2.2svh, 24px) 0;
  display: flex; justify-content: center; align-items: flex-end;
}
.livia { position: relative; height: 100%; transform: translate3d(calc(var(--mx, 0) * 7px), calc(var(--p, 0) * 30svh), 0); will-change: transform; }
.livia picture { display: block; height: 100%; }
.livia img { display: block; height: 100%; width: auto; aspect-ratio: 744 / 2657; }
.livia::before { content: ""; position: absolute; left: -22%; bottom: -1.2%; width: 144%; height: 4.5%; z-index: -1; background: radial-gradient(closest-side, rgba(42, 29, 23, 0.3), rgba(42, 29, 23, 0)); }

/* Texte: links Zeile und Überschrift, rechts Beleg, Knopf, Satz darunter. Livia steht dazwischen. */
.anfang-raster {
  position: relative; z-index: 6; width: min(100% - 2 * var(--rand), var(--inhalt)); margin-inline: auto;
  display: grid; align-items: end;
  grid-template-columns: minmax(0, 1fr) calc((var(--hero-h) - var(--kopf-hoehe)) * 0.27 + 40px) minmax(0, 1fr);
}
.spalte--links { grid-column: 1; max-width: 33rem; }
.spalte--rechts { grid-column: 3; justify-self: end; max-width: 28rem; }
.beleg, .beruhigung { text-wrap: balance; }
.titel { font-size: clamp(1.9rem, min(4.1vw, 6.6svh), 4.7rem); font-weight: 800; line-height: 0.98; letter-spacing: -0.03em; }
.titel > span { display: block; }
.titel .punkt { color: var(--akzent); font-style: normal; }
.unterzeile { max-width: 30rem; margin-top: clamp(12px, 2svh, 22px); font-size: clamp(0.98rem, min(1.35vw, 2.5svh), 1.28rem); line-height: 1.42; color: var(--text); }
.beleg { margin-top: 0; font-size: 0.95rem; line-height: 1.4; color: var(--text-2); }
.beleg strong { font-weight: 700; color: var(--text); }
.handlung { margin-top: 14px; display: grid; justify-items: start; gap: 10px; }
.beruhigung { margin-top: 0; font-size: 0.95rem; line-height: 1.4; color: var(--text); }
.knopf--rahmen { min-height: 48px; margin-top: 8px; }

/* niedrige Laptop-Fenster: die rechte Spalte rückt enger zusammen, damit sie das A nicht berührt */
@media (min-width: 900px) and (max-height: 720px) {
  .handlung { margin-top: 6px; gap: 6px; }
  .knopf--rahmen { margin-top: 0; min-height: 44px; }
  .beleg, .beruhigung { font-size: 0.9rem; line-height: 1.32; }
}

/* Querformat zwischen 600 und 899 px (kleines Tablett, Handy quer): Kopf wie am Laptop, nur die Schrift eine Stufe kleiner */
@media (min-width: 600px) and (max-width: 899px) and (min-aspect-ratio: 4/5) {
  .anfang { --hero-h: max(100svh, 540px); padding-bottom: clamp(14px, 3svh, 30px); }
  .titel { font-size: clamp(1.7rem, 4.4vw, 2.3rem); }
  .unterzeile { font-size: 0.95rem; line-height: 1.36; margin-top: 10px; }
  .beleg, .beruhigung { font-size: 0.85rem; line-height: 1.32; }
  .handlung { margin-top: 8px; gap: 6px; }
  .knopf { padding-inline: 18px; font-size: 0.92rem; white-space: normal; }
  .knopf--rahmen { margin-top: 0; min-height: 44px; }
  .spalte--links, .spalte--rechts { max-width: none; }
}

/* erster Auftritt: Buchstaben fahren nacheinander ein, Livia tritt vor. Nur mit JavaScript und ohne „weniger Bewegung“. */
@keyframes buchstabe { from { translate: 0 18%; opacity: 0; } to { translate: 0 0; opacity: 1; } }
@keyframes auftritt { from { translate: 0 3svh; opacity: 0; } to { translate: 0 0; opacity: 1; } }
@keyframes text-rein { from { translate: 0 14px; opacity: 0; } to { translate: 0 0; opacity: 1; } }
.js .name span { animation: buchstabe 0.9s var(--aus) both; animation-delay: calc(0.1s + var(--i) * 70ms); }
.js .livia { animation: auftritt 1.1s var(--aus) 0.3s both; }
.js .spalte { animation: text-rein 0.8s var(--aus) 0.55s both; }

/* ============================ Reihe „Heute in der Show“ ============================
 * Die Reihe geht fast über die ganze Fensterbreite, die Bilder sind hoch und fahren nacheinander ein, jedes mit eigenem leisen Versatz. */
.reihe { --rb: clamp(14px, 2vw, 32px); padding-block: clamp(36px, 5vw, 72px) clamp(44px, 5.5vw, 88px); background: var(--grund); overflow-x: clip; }
.reihe-kopf { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 24px; margin: 0 var(--kante) clamp(18px, 2.4vw, 34px); }
.reihe-kopf h2 { font-size: clamp(1.9rem, 1.3rem + 2.2vw, 3.2rem); }
.reihe-hinweis { color: var(--text-2); font-size: 0.95rem; }
.reihe-liste {
  list-style: none; margin: 0 auto; padding: 0; width: calc(100% - 2 * var(--rb)); max-width: 1840px;
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; align-items: start;
}
.kachel {
  --t: clamp(0, calc((var(--p, 1) - 0.04 - var(--i, 0) * 0.045) / 0.22), 1); --dv: 0; margin-inline: -0.9vw; position: relative;
  opacity: var(--t);
  transform: translate3d(0, calc((1 - var(--t)) * 7svh + (var(--p, 0.5) - 0.5) * var(--dv) * 1px), 0);
}
.kachel:nth-child(1) { --i: 0; --dv: 46; rotate: -1.2deg; z-index: 1; } .kachel:nth-child(2) { --i: 1; --dv: -34; margin-top: clamp(24px, 3.6vw, 60px); rotate: 1deg; z-index: 2; } .kachel:nth-child(3) { --i: 2; --dv: 58; rotate: -0.6deg; z-index: 3; }
.kachel:nth-child(4) { --i: 3; --dv: -40; margin-top: clamp(24px, 3.6vw, 60px); rotate: 1.2deg; z-index: 2; } .kachel:nth-child(5) { --i: 4; --dv: 42; rotate: -1deg; z-index: 1; }
.kachel picture { box-shadow: 0 0 0 1px rgba(42, 29, 23, 0.06), 0 7px 0 -3px rgba(42, 29, 23, 0.12); }   /* Schatten ohne Weichzeichner (Lehre lp-212: unscharfe Schatten auf gerundeten Flächen kosten auf Intel-Grafik ein langes Bild) */
.kachel figure { margin: 0; }
.kachel picture { display: block; border-radius: var(--rund-bild); overflow: clip; background: var(--grund-2); aspect-ratio: 3 / 4.3; }
.kachel img { width: 100%; height: 100%; object-fit: cover; }
.kachel figcaption { display: grid; gap: 2px; margin-top: 10px; padding-inline: calc(0.9vw + 8px); font-size: 1rem; line-height: 1.3; font-weight: 580; }
.kachel time { font-family: var(--schrift-mono); font-size: 0.82rem; font-weight: 500; color: var(--text-3); }
.reihe-liste:focus-visible { outline-offset: 6px; }
.reihe-unter { display: none; }
.unter-zeit { font-family: var(--schrift-mono); font-size: 0.82rem; font-weight: 500; color: var(--text-3); }

/* ============================ Stationen: gemeinsamer Rahmen (hohe Strecke, angeheftete Bühne) ============================ */
.s2-buehne, .s3-buehne, .s4-buehne, .s5-buehne, .s6-buehne, .s7-buehne { position: sticky; top: 0; height: 100svh; min-height: 520px; overflow: clip; background: var(--grund); }
.s2 { position: relative; height: 240svh; min-height: 1200px; }
.s3 { position: relative; height: 300svh; min-height: 1500px; }
.s4 { position: relative; height: 280svh; min-height: 1400px; }
.s5 { position: relative; height: 240svh; min-height: 1200px; }
.s6 { position: relative; height: 380svh; min-height: 1900px; }
.s7 { position: relative; height: 380svh; min-height: 1900px; }

/* Die Uhrzeit je Station: für Vorlesegeräte immer da, sichtbar nur ohne JavaScript und in der ruhigen Fassung (sonst läuft die Uhr am Rand) */
.station-zeit { position: absolute; z-index: 5; margin: 0; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Die Uhr am Rand (js/uhr.js): Mono, roter Punkt; ab 20:00 wird der Punkt zum LIVE-Zeichen */
.zeit {
  position: fixed; z-index: 45; right: var(--kante); top: calc(var(--kopf-hoehe) + 12px);
  display: flex; align-items: center; gap: 10px; padding: 7px 14px 7px 12px; border-radius: 999px;
  background: rgba(247, 239, 230, 0.94); box-shadow: 0 0 0 1px var(--linie);
  font-family: var(--schrift-mono); font-weight: 500; font-size: 1.05rem; line-height: 1; letter-spacing: 0.06em; color: var(--text);
  opacity: 0; translate: 0 -8px; transition: opacity 0.35s ease, translate 0.35s var(--aus); pointer-events: none;
}
.zeit--da { opacity: 1; translate: 0 0; }
.zeit-marke { display: grid; place-items: center; min-width: 12px; }
.zeit-marke > * { grid-area: 1 / 1; transition: opacity 0.4s ease, scale 0.5s var(--aus); }
.zeit-punkt { width: 10px; height: 10px; border-radius: 50%; background: var(--akzent); }
.zeit-live { padding: 4px 8px; border-radius: 5px; background: var(--akzent); color: var(--auf-akzent); font-weight: 700; font-size: 0.74rem; letter-spacing: 0.08em; opacity: 0; scale: 0.4; }
.zeit--live .zeit-punkt { opacity: 0; scale: 0.2; }
.zeit--live .zeit-live { opacity: 1; scale: 1; }
.zeit--live .zeit-marke { min-width: 52px; }
.zeit-text { font-variant-numeric: tabular-nums; }

/* Der eine Regelbruch: roter Rahmen um den ganzen Bildschirm, weich ein- und ausgeblendet (nur opacity) */
.live-rahmen { position: fixed; inset: 0; z-index: 60; pointer-events: none; box-shadow: inset 0 0 0 clamp(5px, 0.7vw, 9px) var(--akzent); opacity: 0; transition: opacity 1.2s ease; }
.im-live .live-rahmen { opacity: 1; }

/* ============================ Station 2 · 18:30 · die Kartons ============================ */
.s2-buehne {
  /* q: Deckel öffnen (0 bis 1), e: weich eingerechnet, beginnt schon einen Spalt offen, z: Text kommt */
  --q: clamp(0, calc(var(--p, 1) / 0.34), 1);
  --e: calc(0.3 + 0.7 * (var(--q) * var(--q) * (3 - 2 * var(--q))));
  --z: clamp(0, calc((var(--p, 1) - 0.14) / 0.16), 1);
}
.s2-bild, .s3-bild, .s4-bild, .s5-bild, .s6-bild { position: absolute; inset: 0; overflow: clip; }
.s2-bild picture, .s3-bild picture, .s4-bild picture, .s5-bild picture, .s6-bild picture { display: block; width: 100%; height: 100%; }
.s2-bild img { width: 100%; height: 100%; object-fit: cover; object-position: 66% 50%; transform: scale(calc(1.2 - var(--e) * 0.2)); will-change: transform; }
.s2-bild::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(247, 239, 230, 0.92) 0, rgba(247, 239, 230, 0.7) 24%, rgba(247, 239, 230, 0) 52%), linear-gradient(to top, rgba(247, 239, 230, 0.75) 0, rgba(247, 239, 230, 0) 42%);
}

/* Deckel: zwei Pappklappen, die sich von der Mitte nach außen öffnen (nur transform) */
.deckel {
  position: absolute; left: 0; right: 0; height: 50%; z-index: 3; will-change: transform;
  background:
    repeating-linear-gradient(90deg, rgba(98, 66, 34, 0.07) 0 2px, rgba(98, 66, 34, 0) 2px 7px),
    linear-gradient(180deg, #d3b283, #c6a276);
}
.deckel--oben { top: 0; transform: translate3d(0, calc(var(--e) * -101%), 0); box-shadow: 0 7px 0 rgba(42, 29, 23, 0.2); }
.deckel--unten { bottom: 0; transform: translate3d(0, calc(var(--e) * 101%), 0); box-shadow: 0 -7px 0 rgba(42, 29, 23, 0.2); background: repeating-linear-gradient(90deg, rgba(98, 66, 34, 0.07) 0 2px, rgba(98, 66, 34, 0) 2px 7px), linear-gradient(0deg, #d3b283, #c6a276); }
.deckel::after { content: ""; position: absolute; left: 0; right: 0; height: clamp(34px, 5.5svh, 56px); background: rgba(236, 222, 196, 0.9); box-shadow: inset 0 0 0 1px rgba(98, 66, 34, 0.16); }
.deckel--oben::after { bottom: 0; }
.etikett { position: absolute; left: 50%; top: 50%; width: min(300px, 70vw); margin: -52px 0 0 -150px; padding: 12px 16px; transform: rotate(-2.5deg); opacity: clamp(0, calc(1 - (var(--e) - 0.3) * 4), 1); background: #f6f1e8; color: var(--text); box-shadow: 0 1px 3px rgba(42, 29, 23, 0.25); font-family: var(--schrift-mono); font-size: 0.78rem; line-height: 1.5; letter-spacing: 0.02em; }
.etikett b { display: block; font-weight: 700; }
.etikett i { display: block; margin-top: 8px; height: 22px; font-style: normal; background: repeating-linear-gradient(90deg, #2a1d17 0 2px, transparent 2px 4px, #2a1d17 4px 5px, transparent 5px 9px); }
.deckel--unten::after { top: 0; }

/* Text einer Station: unten links, Überschrift groß, ein Satz darunter */
.s2-text, .s3-text, .s4-text {
  position: absolute; z-index: 4; left: var(--kante); right: var(--kante); bottom: clamp(36px, 9svh, 110px); max-width: 36rem;
}
.s2-text { opacity: var(--z); transform: translate3d(0, calc((1 - var(--z)) * 40px), 0); }
.s2-text h2, .s3-text h2, .s4-text h2 { font-size: var(--t-station); line-height: 0.96; letter-spacing: -0.03em; font-weight: 800; }
.s2-text h2 { max-width: 5.6em; }
.s2-text p, .s3-text p, .s4-text p { margin-top: 18px; max-width: 28rem; font-size: clamp(1.05rem, 1rem + 0.3vw, 1.3rem); line-height: 1.45; }

/* ============================ Station 3 · 19:10 · die Stange (Kamerafahrt) ============================ */
.s3-buehne { --e: clamp(0, var(--p, 1), 1); --z: clamp(0, calc((var(--p, 1) - 0.05) / 0.18), 1); }
.s3-bild img {
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; transform-origin: 0 55%;
  transform: translate3d(calc(var(--e) * -27%), 0, 0) scale(calc(1.03 + var(--e) * 0.38)); will-change: transform;
}
.s3-bild::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to top, rgba(247, 239, 230, 0.94) 0, rgba(247, 239, 230, 0.8) 22%, rgba(247, 239, 230, 0.32) 44%, rgba(247, 239, 230, 0) 62%), linear-gradient(90deg, rgba(247, 239, 230, 0.6) 0, rgba(247, 239, 230, 0) 40%);
}
.s3-text { bottom: clamp(60px, 11svh, 130px); opacity: var(--z); transform: translate3d(0, calc((1 - var(--z)) * 40px), 0); max-width: 70rem; }
.s3-text h2 span { display: block; }
.s3-text h2 { max-width: 12em; }
/* Maßband am unteren Rand: die Meter laufen mit der Fahrt (nur transform) */
.massband { position: absolute; z-index: 5; left: 0; right: 0; bottom: 0; height: 40px; background: var(--grund); overflow: clip; box-shadow: 0 -1px 0 var(--messing); }
.massband-skala {
  position: absolute; top: 0; bottom: 0; left: 0; width: 260%;
  background: repeating-linear-gradient(90deg, var(--messing) 0 2px, transparent 2px 60px), repeating-linear-gradient(90deg, var(--messing) 0 1px, transparent 1px 12px);
  background-size: 60px 22px, 12px 11px; background-repeat: repeat-x; background-position: 0 0;
  transform: translate3d(calc(var(--e) * -42%), 0, 0); will-change: transform;
}
.massband-zahl { position: absolute; right: var(--kante); bottom: 7px; margin: 0; padding: 2px 10px; border-radius: 4px; background: var(--grund); font-family: var(--schrift-mono); font-weight: 600; font-size: 1.05rem; letter-spacing: 0.04em; color: var(--text); counter-reset: m calc(var(--e) * 42); }
.massband-zahl .meter::before { content: counter(m); }

/* ============================ Station 4 · 19:40 · hinter dem Vorhang (Perlenfäden, Samtflügel) ============================ */
.s4-buehne { --o: clamp(0, calc((var(--p, 1) - 0.04) / 0.46), 1); --oe: calc(var(--o) * var(--o) * (3 - 2 * var(--o))); --z: clamp(0, calc((var(--p, 1) - 0.3) / 0.16), 1); }
.s4-bild img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 38%; transform: scale(calc(1.12 - var(--oe) * 0.1)); will-change: transform; }
.s4-bild::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(247, 239, 230, 0.86) 0, rgba(247, 239, 230, 0.5) 22%, rgba(247, 239, 230, 0) 46%), linear-gradient(to top, rgba(247, 239, 230, 0.7) 0, rgba(247, 239, 230, 0) 36%);
}
/* Samtflügel: ein Streifen vom echten Vorhang des Fotos, gedehnt; sie stehen am Anfang einen Spalt offen und ziehen beim Scrollen weg */
.samt { position: absolute; top: 0; bottom: 0; width: 51%; z-index: 3; will-change: transform; background: #c3a090; }
.samt::before { content: ""; position: absolute; inset: 0; background: url("../bilder/samt.webp") center / 100% 100% no-repeat; }
.samt::after { content: ""; position: absolute; top: 0; bottom: 0; width: 70px; }
.samt--links { left: 0; transform: translate3d(calc((0.1 + var(--oe) * 0.92) * -100%), 0, 0); box-shadow: 7px 0 0 rgba(42, 29, 23, 0.16); }
.samt--links::after { right: 0; background: linear-gradient(90deg, rgba(60, 36, 28, 0) 0, rgba(60, 36, 28, 0.32) 100%); }
.samt--rechts { right: 0; transform: translate3d(calc((0.1 + var(--oe) * 0.92) * 100%), 0, 0); box-shadow: -7px 0 0 rgba(42, 29, 23, 0.16); }
.samt--rechts::before { transform: scaleX(-1); }
.samt--rechts::after { left: 0; background: linear-gradient(270deg, rgba(60, 36, 28, 0) 0, rgba(60, 36, 28, 0.32) 100%); }
.perlen { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 4; touch-action: pan-y; }
.s4-text { top: auto; opacity: var(--z); transform: translate3d(0, calc((1 - var(--z)) * 40px), 0); z-index: 5; }
.s4-text h2 { max-width: 5.4em; }
.hinweis { font-family: var(--schrift-mono); font-size: 0.85rem !important; letter-spacing: 0.02em; color: var(--text-2); }

/* ============================ Station 5 · 19:58 · Ringlicht an ============================ */
.s5-buehne { --h: clamp(0, calc((var(--p, 1) - 0.08) / 0.62), 1); --r: clamp(0, calc((var(--p, 1) - 0.1) / 0.5), 1); --z: clamp(0, calc((var(--p, 1) - 0.42) / 0.18), 1); }
.s5-bild img { width: 100%; height: 100%; object-fit: cover; object-position: 38% 36%; transform: scale(calc(1.2 - var(--h) * 0.12)); will-change: transform; }
.s5-bild::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(to top, rgba(247, 239, 230, 0.9) 0, rgba(247, 239, 230, 0.6) 22%, rgba(247, 239, 230, 0) 46%); }
/* warm → hell: zwei feste Lichtschichten blenden übereinander (nur opacity), kein Mischmodus */
.s5-warm, .s5-hell { position: absolute; inset: 0; pointer-events: none; }
.s5-warm { background: rgba(255, 168, 84, 0.34); opacity: calc(1 - var(--h)); }
.s5-hell { background: radial-gradient(ellipse 60% 80% at 92% 40%, rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.1) 60%, rgba(255, 255, 255, 0) 100%), rgba(240, 247, 255, 0.14); opacity: var(--h); }
.s5-ring { position: absolute; z-index: 4; left: var(--kante); bottom: clamp(24px, 7svh, 80px); --d: clamp(250px, min(42svh, 30vw), 410px); width: var(--d); height: var(--d); display: grid; place-items: center; text-align: center; }
.s5-ring::before { content: ""; position: absolute; inset: 6%; border-radius: 50%; background: rgba(247, 239, 230, 0.94); opacity: clamp(0, calc(var(--r) * 6), 1); }
.s5-kreis { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); overflow: visible; opacity: clamp(0, calc(var(--r) * 24), 1); }
.s5-kreis circle { fill: none; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: calc(1 - var(--r)); }
.s5-kreis-aussen { stroke: #fff; stroke-width: 5.2; }
.s5-kreis-innen { stroke: rgba(42, 29, 23, 0.5); stroke-width: 0.5; transform: scale(1.1); transform-origin: 50% 50%; }
.s5-ring h2 { position: relative; font-size: calc(var(--d) * 0.15); line-height: 0.98; letter-spacing: -0.03em; font-weight: 800; opacity: clamp(0, calc(var(--r) * 6), 1); }
.s5-ring h2 span { display: block; }
.s5-text { position: absolute; z-index: 4; left: calc(var(--kante) + clamp(250px, min(42svh, 30vw), 410px) + 28px); bottom: clamp(48px, 12svh, 130px); max-width: 24rem; margin: 0; font-size: clamp(1.2rem, 1rem + 0.8vw, 1.7rem); line-height: 1.35; font-weight: 560; opacity: var(--z); transform: translate3d(0, calc((1 - var(--z)) * 30px), 0); }

/* ============================ Station 6 · 20:00 · LIVE (Wendepunkt) ============================ */
.s6-buehne {
  --x1: clamp(0, calc((var(--p, 1) - 0.14) / 0.1), 1); --x2: clamp(0, calc((var(--p, 1) - 0.3) / 0.1), 1);
  --x3: clamp(0, calc((var(--p, 1) - 0.46) / 0.1), 1); --x4: clamp(0, calc((var(--p, 1) - 0.62) / 0.1), 1);
  --hud: clamp(0, calc((var(--p, 1) - 0.02) / 0.08), 1); --z: clamp(0, calc((var(--p, 1) - 0.06) / 0.14), 1);
  --kh: 100px;
}
.s6-bild img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; transform: scale(calc(1.14 - var(--p, 1) * 0.1)); will-change: transform; }
.s6-bild::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(to top, rgba(247, 239, 230, 0.92) 0, rgba(247, 239, 230, 0.7) 22%, rgba(247, 239, 230, 0) 46%), linear-gradient(90deg, rgba(247, 239, 230, 0.5) 0, rgba(247, 239, 230, 0) 36%); }
.s6-rahmen { display: none; position: absolute; inset: 0; pointer-events: none; box-shadow: inset 0 0 0 8px var(--akzent); }
.s6-hud { position: absolute; z-index: 5; right: var(--kante); top: calc(var(--kopf-hoehe) + 62px); display: flex; align-items: center; gap: 8px; opacity: var(--hud); transform: translate3d(0, calc((1 - var(--hud)) * -12px), 0); }
.hud-live { display: none; padding: 7px 11px; border-radius: 6px; background: var(--akzent); color: var(--auf-akzent); font-family: var(--schrift-mono); font-weight: 700; font-size: 0.85rem; line-height: 1; letter-spacing: 0.08em; }
.hud-zaehler { display: inline-flex; align-items: center; gap: 8px; margin: 0; padding: 6px 12px; border-radius: 6px; background: rgba(42, 29, 23, 0.82); color: var(--papier); font-size: 0.85rem; line-height: 1.2; }
.hud-zaehler svg { width: 18px; height: 18px; fill: currentColor; flex: none; }
.hud-zahl { font-family: var(--schrift-mono); font-weight: 700; font-size: 1rem; font-variant-numeric: tabular-nums; }
.s6-text { position: absolute; z-index: 4; left: var(--kante); bottom: clamp(30px, 7svh, 90px); max-width: 38rem; opacity: var(--z); transform: translate3d(0, calc((1 - var(--z)) * 40px), 0); }
.s6-text h2 { font-size: clamp(4.5rem, 12vw, 11.5rem); line-height: 0.8; letter-spacing: -0.04em; font-weight: 800; }
.s6-unter { margin-top: 18px; font-family: var(--schrift-display); font-weight: 720; font-size: clamp(1.4rem, 1rem + 1.5vw, 2.3rem); line-height: 1.1; letter-spacing: -0.02em; }
.s6-text p:last-child { margin-top: 8px; font-size: clamp(1.05rem, 1rem + 0.3vw, 1.3rem); line-height: 1.4; }
/* Kommentare: fahren der Reihe nach hoch, ältere schieben weiter und blenden aus (nur transform/opacity) */
.kommentare { position: absolute; z-index: 5; right: calc(var(--kante) + 78px); bottom: clamp(30px, 8svh, 100px); width: min(310px, 28vw); height: calc(var(--kh) * 2.4); margin: 0; padding: 0; list-style: none; }
.komm { position: absolute; left: 0; right: 0; bottom: 0; min-height: calc(var(--kh) - 12px); padding: 11px 15px 12px; border-radius: 16px 16px 16px 4px; background: rgba(255, 250, 243, 0.96); box-shadow: 0 2px 0 rgba(42, 29, 23, 0.16), 0 0 0 1px rgba(42, 29, 23, 0.07); will-change: transform, opacity; }   /* Schatten ohne Weichzeichner: der erste unscharfe Schatten auf gerundeter Fläche kostete ein langes Bild */
.komm--1 { --t: var(--x1); --n: calc(var(--x2) + var(--x3) + var(--x4)); --a1: var(--x2); --a2: var(--x3); }
.komm--2 { --t: var(--x2); --n: calc(var(--x3) + var(--x4)); --a1: var(--x3); --a2: var(--x4); }
.komm--3 { --t: var(--x3); --n: var(--x4); --a1: var(--x4); --a2: 0; }
.komm--4 { --t: var(--x4); --n: 0; --a1: 0; --a2: 0; }
/* Mindestdeckkraft 0,03: die Karten werden schon vor dem Einblenden einmal gezeichnet (das erste Zeichnen kostete mitten im Scrollen ein langes Bild) */
.komm { opacity: max(0.03, calc(var(--t) * (1 - var(--a1) * 0.5) * (1 - var(--a2)))); transform: translate3d(0, calc((1 - var(--t)) * 34px - var(--n) * var(--kh)), 0); }
.frage { margin: 0; font-weight: 700; font-size: 0.98rem; line-height: 1.3; color: var(--text); }
.antwort { margin: 5px 0 0; font-size: 0.9rem; line-height: 1.35; color: var(--text-2); }
.antwort b { margin-right: 7px; font-weight: 700; color: var(--rot-text); }
.herzen { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 6; pointer-events: none; }
.herz-knopf { position: absolute; z-index: 7; right: var(--kante); bottom: clamp(30px, 8svh, 100px); width: 62px; height: 62px; min-width: 44px; min-height: 44px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 50%; background: var(--akzent); color: var(--papier); cursor: pointer; opacity: var(--hud); transition: transform 0.2s var(--aus); }
.herz-knopf svg { width: 30px; height: 30px; fill: currentColor; }
.herz-knopf:active { transform: scale(0.9); }
@media (hover: hover) and (pointer: fine) { .herz-knopf:hover { transform: scale(1.07); } }

/* ============================ Station 7 · 20:40 · Größe M ist weg (Kartenstapel) ============================ */
.s7-buehne {
  --x2: clamp(0, calc((var(--p, 1) - 0.07) / 0.2), 1); --x3: clamp(0, calc((var(--p, 1) - 0.46) / 0.2), 1); --x4: clamp(0, calc((var(--p, 1) - 0.7) / 0.2), 1);
  --a2: calc(var(--x2) * var(--x2) * (3 - 2 * var(--x2))); --a3: calc(var(--x3) * var(--x3) * (3 - 2 * var(--x3))); --a4: calc(var(--x4) * var(--x4) * (3 - 2 * var(--x4)));
  --r: clamp(0, calc((var(--p, 1) - 0.34) / 0.1), 1);
  --stufe: 56px; --kh: min(540px, 100svh - 240px);
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(380px, 620px); align-items: center; gap: clamp(24px, 5vw, 80px);
  padding: calc(var(--kopf-hoehe) + 24px) var(--kante) 40px;
}
.s7-text { position: relative; z-index: 2; }
.s7-text h2 { font-size: var(--t-station); line-height: 0.96; letter-spacing: -0.03em; font-weight: 800; max-width: 6em; }
.s7-text p { margin-top: 18px; max-width: 26rem; font-size: clamp(1.05rem, 1rem + 0.3vw, 1.3rem); line-height: 1.45; }
.stapel { position: relative; list-style: none; margin: 0; padding: 0; height: calc(var(--kh) + 3 * var(--stufe)); }
.gk {
  position: absolute; inset: 0 0 auto 0; height: var(--kh); border-radius: 24px; overflow: clip; transform-origin: 50% 0; will-change: transform;
  --bg: var(--papier); --fg: var(--text); background: var(--bg); color: var(--fg);
  box-shadow: 0 2px 0 rgba(42, 29, 23, 0.12), 0 14px 0 -8px rgba(42, 29, 23, 0.1), inset 0 0 0 1px rgba(42, 29, 23, 0.1);
}
.gk--s { --bg: #fffaf3; transform: translate3d(0, 0, 0) scale(calc(1 - 0.04 * (var(--a2) + var(--a3) + var(--a4)))); }
.gk--m {
  --bg: color-mix(in srgb, var(--akzent) calc(var(--r) * 100%), #fffaf3); --fg: color-mix(in srgb, #fff calc(var(--r) * 100%), var(--text));
  transform: translate3d(0, calc((1 - var(--a2)) * 95svh + var(--stufe)), 0) rotate(calc((1 - var(--a2)) * -3deg)) scale(calc(1 - 0.04 * (var(--a3) + var(--a4))));
}
.gk--l { --bg: #2a1d17; --fg: #f7efe6; transform: translate3d(0, calc((1 - var(--a3)) * 95svh + 2 * var(--stufe)), 0) rotate(calc((1 - var(--a3)) * -3deg)) scale(calc(1 - 0.04 * var(--a4))); }
.gk--xl { --bg: #e7d3b2; transform: translate3d(0, calc((1 - var(--a4)) * 95svh + 3 * var(--stufe)), 0) rotate(calc((1 - var(--a4)) * -3deg)); }
.gk-kopf { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: var(--stufe); padding: 0 24px; border-bottom: 1px solid color-mix(in srgb, var(--fg) 18%, transparent); font-size: 1rem; }
.gk-gr { font-family: var(--schrift-display); font-weight: 800; font-size: 1.5rem; letter-spacing: -0.02em; }
.gk-status { position: relative; font-family: var(--schrift-mono); font-size: 0.85rem; font-weight: 500; letter-spacing: 0.03em; display: grid; justify-items: end; }
.gk-status > span { grid-area: 1 / 1; }
.gk-koerper { position: relative; display: grid; align-content: space-between; padding: 12px 24px 26px; height: calc(100% - var(--stufe)); }
.gk-buchstabe { margin: 0; font-family: var(--schrift-display); font-weight: 800; font-size: clamp(7rem, 22svh, 13rem); line-height: 0.82; letter-spacing: -0.05em; }
.gk-leiste { height: 8px; border-radius: 4px; background: color-mix(in srgb, var(--fg) 16%, transparent); overflow: clip; }
.gk-fuell { display: block; height: 100%; width: 100%; background: var(--fg); transform-origin: 0 50%; }
.gk--s .gk-fuell { transform: scaleX(0.4); } .gk--l .gk-fuell { transform: scaleX(0.6); } .gk--xl .gk-fuell { transform: scaleX(0.9); }
.gk--m .gk-fuell { transform: scaleX(calc(1 - var(--r))); }
.gk-zeile { margin: 12px 0 0; font-family: var(--schrift-mono); font-size: 0.95rem; letter-spacing: 0.03em; display: grid; }
.gk-zeile > span { grid-area: 1 / 1; }
/* nacheinander statt überblendet: erst geht „noch 10 da“, dann kommt „weg“, nie beide halb sichtbar übereinander */
.gk-da { opacity: clamp(0, calc(1 - 2 * var(--r)), 1); }
.gk-weg { opacity: clamp(0, calc(2 * var(--r) - 1), 1); }
.gk-stempel { position: absolute; right: 22px; top: 22px; margin: 0; padding: 4px 18px 8px; border: 5px solid var(--papier); border-radius: 12px; color: var(--papier); font-family: var(--schrift-display); font-weight: 800; font-size: clamp(2.6rem, 8svh, 4.6rem); line-height: 1; letter-spacing: -0.02em; opacity: var(--r); transform: rotate(-8deg) scale(calc(1.5 - var(--r) * 0.5)); }

/* ============================ Anfrage (Station 8) ============================ */
.anfrage { padding-block: clamp(72px, 9vw, 140px); background: var(--grund); }
.anfrage h2 { font-size: clamp(2rem, 1.3rem + 3vw, 4rem); line-height: 1; }
.anfrage-text { margin-top: 18px; max-width: 30rem; color: var(--text-2); }
.kontakt-raster { align-items: start; }

/* drei Preis-Etiketten (Beispiel): Preisschilder mit Öse, pendeln einmal ein, wenn sie ins Bild kommen */
.preise { list-style: none; margin: clamp(26px, 3.4vw, 44px) 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 16px; }
.preis { --rot: 0deg; width: clamp(150px, 15vw, 190px); transform-origin: 50% 20px; rotate: var(--rot); position: relative; }
.preis::before { content: ""; position: absolute; inset: 0; transform: translateY(5px); background: rgba(42, 29, 23, 0.14); clip-path: polygon(16% 0, 84% 0, 100% 15%, 100% 100%, 0 100%, 0 15%); }
.schild { position: relative; display: grid; align-content: end; gap: 4px; min-height: 150px; padding: 40px 16px 16px; background: var(--papier); color: var(--text); clip-path: polygon(16% 0, 84% 0, 100% 15%, 100% 100%, 0 100%, 0 15%); }
.preis--1 { --rot: -2deg; } .preis--2 { --rot: 1.4deg; } .preis--2 .schild { min-height: 168px; }
.preis--3 { --rot: -1deg; width: clamp(170px, 18vw, 220px); } .preis--3 .schild { background: var(--text); color: var(--grund); min-height: 186px; }
.preis-ose { position: absolute; left: 50%; top: 13px; width: 14px; height: 14px; margin-left: -7px; border-radius: 50%; background: var(--grund); box-shadow: inset 0 0 0 2px color-mix(in srgb, var(--messing) 90%, transparent); }
.preis-zahl { font-family: var(--schrift-display); font-weight: 800; font-size: clamp(2rem, 1.4rem + 1.6vw, 3rem); line-height: 1; letter-spacing: -0.03em; }
.preis-text { font-size: 0.95rem; line-height: 1.3; }
.preise-hinweis { margin-top: 18px; font-size: 0.95rem; color: var(--text-2); }
@keyframes pendel { 0% { rotate: -9deg; } 28% { rotate: 6deg; } 52% { rotate: -3.2deg; } 76% { rotate: 1.4deg; } 100% { rotate: var(--rot); } }
.js .preise:not(.ist-da) .preis { rotate: -9deg; opacity: 0; }
.js .preise.ist-da .preis { animation: pendel 1.7s var(--aus) both; opacity: 1; }
.js .preise.ist-da .preis--2 { animation-delay: 0.14s; }
.js .preise.ist-da .preis--3 { animation-delay: 0.28s; }

.anfrage-rechts { --fw: clamp(88px, 9.5vw, 132px); position: relative; padding-top: calc(var(--fw) * 1.3333 - 20px); }
.anfrage-foto { position: absolute; z-index: 2; top: 0; right: clamp(8px, 2vw, 28px); width: var(--fw); rotate: 4deg; border-radius: 8px; overflow: clip; box-shadow: 0 0 0 5px var(--papier), 0 7px 0 5px rgba(42, 29, 23, 0.14); }
.anfrage-foto img { width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; }
.anfrage-rechts .formular { position: relative; max-width: none; padding: clamp(22px, 3vw, 36px); border-radius: 22px; background: var(--papier); box-shadow: inset 0 0 0 1px var(--linie), 0 7px 0 -1px rgba(42, 29, 23, 0.07); }
.feld-paar { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
.knopf-form { margin-top: 6px; justify-self: start; }

/* ============================ Station 9 · Morgen ============================ */
.schluss { --z: clamp(0, calc((var(--p, 1) - 0.12) / 0.3), 1); padding-block: clamp(80px, 11vw, 170px); background: var(--grund); border-top: 1px solid var(--linie); }
.schluss-raster { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.6fr); align-items: center; gap: clamp(28px, 6vw, 96px); }
.schluss-text { opacity: var(--z); transform: translate3d(0, calc((1 - var(--z)) * 36px), 0); }
.schluss h2 { font-size: clamp(2.6rem, 1.2rem + 5.4vw, 6.6rem); line-height: 0.96; letter-spacing: -0.035em; font-weight: 800; max-width: 9em; }
.schluss-knoepfe { margin-top: clamp(24px, 3vw, 44px); display: flex; flex-wrap: wrap; gap: 12px 14px; }
.schluss-knoepfe .knopf--rahmen { margin-top: 0; }
.spiegel { position: relative; justify-self: end; width: min(100%, 340px); aspect-ratio: 3 / 4.3; border-radius: 999px 999px 22px 22px; overflow: clip; box-shadow: 0 0 0 3px var(--messing), 0 0 0 9px var(--grund), 0 0 0 10px var(--linie); opacity: var(--z); transform: translate3d(0, calc((1 - var(--z)) * 36px), 0); }
.spiegel picture { display: block; width: 100%; height: 100%; }
.spiegel img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 52%; }
.spiegel-punkt { position: absolute; left: 50%; top: 27%; width: 18px; height: 18px; margin-left: -9px; border-radius: 50%; background: var(--akzent); }
@keyframes ring-aus { from { scale: 0.6; opacity: 0.8; } to { scale: 3.2; opacity: 0; } }
.spiegel-punkt::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--akzent); opacity: 0; }
.js .schluss.ist-da .spiegel-punkt::after { animation: ring-aus 1.8s ease-out 0.6s 2 both; }

.fuss { background: var(--grund); }
.fuss p { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0 6px; margin-bottom: 0; }
.fuss p a { display: inline-flex; align-items: center; min-height: 44px; }
.lesetext p a { display: inline-flex; align-items: center; min-height: 44px; }

/* ============================ Handy hochkant (und alles unter 600 px): Name oben, Text darunter, Livia unten ganz im Bild ============================ */
@media (max-width: 899px) { :root { --kopf-hoehe: 64px; } }
@media (max-width: 899px) and (max-aspect-ratio: 4/5), (max-width: 599px) {
  .anfang { --hero-h: 100svh; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto auto minmax(236px, 1fr); align-items: stretch; padding-top: calc(var(--kopf-hoehe) - 6px); padding-bottom: 0; }
  .name-box { position: relative; top: auto; grid-row: 1; }
  .name { line-height: 0.68; }
  .anfang-raster { grid-row: 2; grid-template-columns: minmax(0, 1fr); gap: 7px; align-items: start; margin-top: 0; }
  .spalte--links, .spalte--rechts { grid-column: 1; justify-self: stretch; max-width: 36rem; }
  .titel { font-size: clamp(1.5rem, 6.6vw, 3rem); line-height: 1; }
  .titel > span:nth-child(-n+2) { display: inline; }
  .unterzeile { margin-top: 5px; font-size: clamp(0.84rem, 3.6vw, 1.1rem); line-height: 1.32; }
  .beleg { font-size: 0.8rem; line-height: 1.3; }
  .handlung { margin-top: 6px; gap: 5px; }
  .knopf { min-height: 46px; padding-block: 8px; }
  .beruhigung { font-size: 0.8rem; line-height: 1.3; }
  .livia-buehne { position: relative; inset: auto; grid-row: 3; min-height: 0; }
  .livia { position: absolute; left: 0; right: 0; top: 0; bottom: 20px; height: auto; display: flex; justify-content: center; }
  .raum::after { background: linear-gradient(to bottom, rgba(247, 239, 230, 0.82) 0, rgba(247, 239, 230, 0.78) 56%, rgba(247, 239, 230, 0.3) 72%, rgba(247, 239, 230, 0.2) 88%, rgba(247, 239, 230, 0.55) 100%); }
  .livia { transform: translate3d(0, calc(var(--p, 0) * 18svh), 0); }
  .raum img { transform: translate3d(0, calc(var(--p, 0) * 6svh), 0) scale(calc(1.03 + var(--p, 0) * 0.1)); }
  .name span { transform: translate3d(0, calc(var(--p, 0) * var(--d, 0) * -0.6svh), 0); }
}
/* Handy und Tablett, jede Richtung: Reihe wischbar, Stationen schmaler */
@media (max-width: 899px) {
  .reihe-liste {
    display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
    width: auto; margin: 0; padding: 4px var(--rand) 14px; scroll-padding-inline: var(--rand); scrollbar-width: none; max-width: none;
  }
  .reihe { padding-top: 40px; }
  .reihe-liste::-webkit-scrollbar { display: none; }
  .kachel { flex: 0 0 min(58vw, 250px); scroll-snap-align: start; }
  .kachel:nth-child(n) { margin-top: 0; }
  .kachel:nth-child(even) { margin-top: 22px; }
  .kachel picture { aspect-ratio: 3 / 4; }
  /* Wischreihe: Beschriftung steht einmal unter der Reihe und folgt dem Wischen (js/seite.js); die Beschriftungen der Kacheln bleiben für Vorlesegeräte da, ohne JavaScript sichtbar */
  .js .reihe-unter { display: grid; gap: 2px; min-height: 3.4rem; margin: 6px var(--rand) 0; font-size: 1rem; line-height: 1.3; font-weight: 580; }

  .s2-bild img { object-position: 70% 50%; }
  .s2-bild::after { background: linear-gradient(to top, rgba(247, 239, 230, 0.92) 0, rgba(247, 239, 230, 0.7) 34%, rgba(247, 239, 230, 0) 62%), linear-gradient(to bottom, rgba(247, 239, 230, 0.55) 0, rgba(247, 239, 230, 0) 22%); }
  .s2-text, .s3-text, .s4-text { bottom: clamp(28px, 6svh, 60px); }
  .s2-text h2, .s3-text h2, .s4-text h2 { font-size: clamp(2.4rem, 11.5vw, 4rem); }
  .s2-text p, .s3-text p, .s4-text p { margin-top: 12px; font-size: 1.02rem; }

  /* 3: Schwenk statt Zoom: das Bild ist breiter als der Bildschirm und fährt seitlich */
  .s3-bild img { width: auto; max-width: none; aspect-ratio: 16 / 9; transform-origin: 0 50%; transform: translate3d(calc(var(--e) * -66%), 0, 0) scale(1.06); }
  .s3-bild::after { background: linear-gradient(to top, rgba(247, 239, 230, 0.95) 0, rgba(247, 239, 230, 0.82) 30%, rgba(247, 239, 230, 0.3) 52%, rgba(247, 239, 230, 0) 68%); }
  .s3-text { bottom: clamp(62px, 9svh, 96px); }
  /* 4 */
  .s4-bild img { object-position: 56% 40%; }
  .s4-bild::after { background: linear-gradient(to top, rgba(247, 239, 230, 0.94) 0, rgba(247, 239, 230, 0.78) 30%, rgba(247, 239, 230, 0) 56%); }
  .samt { width: 52%; }
  /* 5 */
  .s5-bild img { object-position: 40% 36%; }
  .s5-ring { left: 50%; margin-left: calc(var(--d) / -2); --d: clamp(210px, min(74vw, 34svh), 320px); bottom: clamp(120px, 20svh, 190px); }
  .s5-text { left: var(--kante); right: var(--kante); max-width: none; bottom: clamp(30px, 6svh, 60px); text-align: center; font-size: 1.15rem; }
  .s5-bild::after { background: linear-gradient(to top, rgba(247, 239, 230, 0.96) 0, rgba(247, 239, 230, 0.8) 24%, rgba(247, 239, 230, 0) 50%); }
  /* 6 */
  .s6-bild img { width: auto; max-width: none; aspect-ratio: 16 / 9; height: 100%; transform-origin: 0 50%; transform: translate3d(calc(-15% - var(--p, 1) * 35%), 0, 0) scale(1.02); }
  .s6-bild::after { background: linear-gradient(to top, rgba(247, 239, 230, 0.95) 0, rgba(247, 239, 230, 0.8) 26%, rgba(247, 239, 230, 0) 52%); }
  .s6-text { bottom: clamp(24px, 5svh, 50px); right: calc(var(--kante) + 70px); }
  .s6-text h2 { font-size: clamp(4rem, 24vw, 7rem); }
  .s6-unter { margin-top: 12px; font-size: 1.3rem; }
  .s6-text p:last-child { font-size: 1rem; }
  .s6-buehne { --kh: 82px; }
  .kommentare { right: var(--kante); left: auto; width: min(78vw, 300px); bottom: clamp(210px, 33svh, 300px); height: calc(var(--kh) * 2.3); }
  .komm { padding: 9px 13px 10px; }
  .frage { font-size: 0.92rem; } .antwort { font-size: 0.85rem; }
  .herz-knopf { width: 54px; height: 54px; bottom: clamp(24px, 5svh, 50px); }
  /* 7 */
  .s7-buehne { grid-template-columns: minmax(0, 1fr); align-content: start; gap: 18px; padding-top: calc(var(--kopf-hoehe) + 58px); --stufe: 46px; --kh: min(420px, 100svh - 420px); }
  .s7-text h2 { font-size: clamp(2.3rem, 10.5vw, 3.6rem); max-width: none; }
  .s7-text p { margin-top: 10px; font-size: 1rem; }
  .gk-buchstabe { font-size: clamp(6rem, 18svh, 9rem); }
  /* 8, 9 */
  .anfrage-foto { right: 10px; }
  .feld-paar { grid-template-columns: minmax(0, 1fr); }
  .schluss-raster { grid-template-columns: minmax(0, 1fr); }
  .spiegel { justify-self: start; width: min(64vw, 300px); }
}

/* Am Handy steht der Rahmen-Knopf „Heute um acht live“ im Menü statt im Kopf */
.menue-live { display: none; }
@media (max-width: 860px) {
  .menue-live { display: inline-flex; }
  .handlung .knopf--rahmen { display: none; }
}

/* ============================ Ruhige Fassung und ohne JavaScript ============================
 * Kopf steht im Anfangszustand, alles andere im Endzustand, nichts fährt, nichts läuft ein, keine Leinwand.
 * Die Uhrzeit steht dann je Station als Text da. */
@media (prefers-reduced-motion: reduce) {
  .anfang { --p: 0 !important; }
  .js .name span, .js .livia, .js .spalte { animation: none; }
  .raum img, .livia, .name span, .deckel, .kachel, .s2-bild img, .s3-bild img, .s4-bild img, .s5-bild img, .s6-bild img, .gk, .samt, .massband-skala { will-change: auto; }
  .zeit, .live-rahmen, .perlen, .herzen, .herz-knopf, .samt, .deckel, .hinweis { display: none; }
  .s6-rahmen { display: block; }
  .hud-live { display: inline-block; }
  .js .preise:not(.ist-da) .preis { rotate: var(--rot); opacity: 1; }
  .js .preise.ist-da .preis { animation: none; }
  .js .schluss.ist-da .spiegel-punkt::after { animation: none; }
}
@media (prefers-reduced-motion: reduce) {
  .station-zeit { width: auto; height: auto; overflow: visible; clip: auto; top: calc(var(--kopf-hoehe) + 16px); left: var(--kante); display: flex; align-items: center; gap: 10px; font-family: var(--schrift-mono); font-weight: 500; font-size: 1.05rem; letter-spacing: 0.06em; }
  .station-zeit::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--akzent); }
}
html:not(.js) .station-zeit { width: auto; height: auto; overflow: visible; clip: auto; top: calc(var(--kopf-hoehe) + 16px); left: var(--kante); display: flex; align-items: center; gap: 10px; font-family: var(--schrift-mono); font-weight: 500; font-size: 1.05rem; letter-spacing: 0.06em; }
html:not(.js) .station-zeit::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--akzent); }
html:not(.js) .zeit, html:not(.js) .live-rahmen, html:not(.js) .perlen, html:not(.js) .herzen, html:not(.js) .herz-knopf, html:not(.js) .samt, html:not(.js) .deckel, html:not(.js) .hinweis { display: none; }
html:not(.js) .s6-rahmen { display: block; }
html:not(.js) .hud-live { display: inline-block; }
html:not(.js) .kopfzeile { background: var(--kopf-grund); }
/* Stationen ohne lange Strecke: Bühne steht normal im Fluss */
@media (prefers-reduced-motion: reduce) {
  .s2, .s3, .s4, .s5, .s6, .s7 { height: auto; min-height: 0; }
  .s2-buehne, .s3-buehne, .s4-buehne, .s5-buehne, .s6-buehne { position: relative; }
  .s7-buehne { position: relative; height: auto; }
  .stapel { height: auto; display: grid; gap: 14px; }
  .gk { position: relative; inset: auto; height: auto; transform: none !important; }
  .gk-buchstabe { font-size: 5rem; }
  .kommentare { height: auto; display: grid; gap: 10px; bottom: clamp(30px, 8svh, 100px); }
  .komm { position: relative; inset: auto; transform: none; opacity: 1; }
  .s5-ring::before { opacity: 1; }
}
html:not(.js) .s2, html:not(.js) .s3, html:not(.js) .s4, html:not(.js) .s5, html:not(.js) .s6, html:not(.js) .s7 { height: auto; min-height: 0; }
html:not(.js) .s2-buehne, html:not(.js) .s3-buehne, html:not(.js) .s4-buehne, html:not(.js) .s5-buehne, html:not(.js) .s6-buehne, html:not(.js) .s7-buehne { position: relative; }
html:not(.js) .s7-buehne { height: auto; }
html:not(.js) .stapel { height: auto; display: grid; gap: 14px; }
html:not(.js) .gk { position: relative; inset: auto; height: auto; transform: none !important; }
html:not(.js) .gk-buchstabe { font-size: 5rem; }
html:not(.js) .kommentare { height: auto; display: grid; gap: 10px; }
html:not(.js) .komm { position: relative; inset: auto; transform: none; opacity: 1; }
