/* ════════════════════════════════════════════════════════════
   Frank Elstner – Top, die Wette gilt.
   Keine externen Abhängigkeiten. Schriften liegen lokal (OFL).
   ════════════════════════════════════════════════════════════ */

@font-face { font-family: "Fraunces"; src: url("../fonts/fraunces-var.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url("../fonts/fraunces-var-italic.woff2") format("woff2"); font-weight: 100 900; font-style: italic; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url("../fonts/instrument-sans-var.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Caveat"; src: url("../fonts/caveat-var.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }
@font-face { font-family: "DM Mono"; src: url("../fonts/dm-mono-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "DM Mono"; src: url("../fonts/dm-mono-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Courier Prime"; src: url("../fonts/courier-prime-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }

:root {
  --night: #0b0b12;
  --night-2: #16161f;
  --ink: #15131c;
  --paper: #f5eddd;
  --paper-2: #e9dec8;
  --gold: #ffc42e;
  --gold-2: #f2ad0c;
  --red: #ff4a2a;
  --blue: #2231e0;
  --green: #0e3a2c;
  --amber: #ffb04a;

  --serif: "Fraunces", "Iowan Old Style", Georgia, serif;
  --sans: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "DM Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --hand: "Caveat", "Bradley Hand", cursive;
  --type: "Courier Prime", "Courier New", monospace;

  --pad: clamp(1.25rem, 4.5vw, 4.5rem);
  --ease: cubic-bezier(.2, .8, .2, 1);
  --osd-h: 4.25rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 4rem; }
body {
  margin: 0; background: var(--night); color: var(--paper);
  font-family: var(--sans); font-size: clamp(1.02rem, .95rem + .32vw, 1.22rem); line-height: 1.6;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg, canvas { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input, textarea { font: inherit; color: inherit; }
em { font-style: italic; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; border-radius: 2px; }
::selection { background: var(--gold); color: var(--ink); }

[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: fixed; left: 1rem; top: -5rem; z-index: 200; background: var(--paper); color: var(--ink); padding: .7rem 1rem; border-radius: 99px; }
.skip:focus { top: 1rem; }

/* ── Bausteine ─────────────────────────────────────────────── */
.wrap { width: min(100%, 86rem); margin-inline: auto; padding-inline: var(--pad); }

.d { font-family: var(--serif); font-weight: 900; font-variation-settings: "SOFT" 100, "WONK" 1; font-optical-sizing: auto; line-height: .95; letter-spacing: -.025em; text-wrap: balance; }
.label { font-family: var(--mono); font-size: .76rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; display: flex; align-items: center; gap: .7em; }
.label::before { content: ""; width: 1.6em; height: 1.5px; background: currentColor; }
.chap__t { font-size: clamp(2.5rem, 1.2rem + 6.2vw, 7rem); margin-top: .35em; }

.t-night { background: var(--night); color: var(--paper); }
.t-paper { background: var(--paper); color: var(--ink); }
.t-gold  { background: var(--gold);  color: var(--ink); }
.t-red   { background: var(--red);   color: var(--ink); }
.t-blue  { background: var(--blue);  color: var(--paper); }
.t-green { background: var(--green); color: var(--paper); }

.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; padding: 1.05em 1.9em; border-radius: 99px; font-weight: 650; letter-spacing: -.005em; line-height: 1.1; isolation: isolate; transition: transform .35s var(--ease); -webkit-tap-highlight-color: transparent; }
.btn::before { content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: -1; transition: transform .35s var(--ease), background .25s; }
.btn:hover::before { transform: scale(1.045); }
.btn:active { transform: scale(.97); }
.btn--gold::before { background: var(--gold); } .btn--gold { color: var(--ink); }
.btn--ink::before { background: var(--ink); } .btn--ink { color: var(--paper); }
.btn--paper::before { background: var(--paper); } .btn--paper { color: var(--ink); }
.btn--ghost::before { box-shadow: inset 0 0 0 1.5px currentColor; }
.btn--xl { font-size: 1.2em; padding: 1.15em 2.2em; }
.btn[disabled] { opacity: .55; pointer-events: none; }

/* Mauszeiger: rotes Lämpchen mit kleinem Aufkleber, der sagt, was man hier tun kann (main.js) */
.cur { position: fixed; left: 0; top: 0; z-index: 400; pointer-events: none; opacity: 0; transition: opacity .2s; }
.cur.on { opacity: 1; }
.cur.off { opacity: 0; }
.cur i { position: absolute; left: -8px; top: -8px; width: 16px; height: 16px; border-radius: 50%; background: var(--red); border: 2.5px solid var(--ink); box-shadow: 0 0 0 1.5px var(--paper); transition: background .15s, scale .2s var(--ease); }
.cur.down i { background: var(--gold); scale: .78; }
.cur span { position: absolute; left: 0; top: 17px; translate: -50% 0; rotate: -3deg; white-space: nowrap; font-family: var(--mono); font-weight: 500; font-size: .62rem; letter-spacing: .14em; text-transform: uppercase; line-height: 1; color: var(--ink);
  background: var(--paper); border: 2px solid var(--ink); border-radius: 99px; padding: .5em .85em .42em; box-shadow: 2px 3px 0 0 var(--ink); opacity: 0; transition: opacity .2s; }
.cur.tip span { opacity: 1; }
.cur.up span { top: auto; bottom: 17px; }
@media (hover: none), (pointer: coarse) { .cur { display: none; } }
/* Ein Zeiger statt zwei: Läuft der Punkt, verschwindet der Systemzeiger. Fällt das Skript aus, bleibt er. */
@media (hover: hover) and (pointer: fine) {
  html.has-cur, html.has-cur * { cursor: none !important; }
  html.has-cur input, html.has-cur textarea, html.has-cur select { cursor: revert !important; }
}
/* Links nach draußen: ein Aufkleber wie der Tonschalter an der Schallplatte.
   --sh ist die Farbe des Schattens; auf dunklem Grund leuchtet er. */
.out { --sh: var(--ink); display: inline-flex; align-items: center; gap: .6em; max-width: 100%; font-family: var(--hand); font-weight: 700; font-size: clamp(1.45rem, 1.25rem + .8vw, 1.75rem); line-height: 1; text-decoration: none; color: var(--ink);
  background: var(--paper); border: 2.5px solid var(--ink); border-radius: 1.2em; padding: .22em .3em .26em .85em; box-shadow: 5px 6px 0 0 var(--sh); rotate: -2deg;
  transition: translate .2s, box-shadow .2s, rotate .3s var(--ease); -webkit-tap-highlight-color: transparent; }
.out + .out { rotate: 1.5deg; }
.out i { flex: none; display: grid; place-items: center; width: 1.45em; aspect-ratio: 1; border-radius: 50%; background: var(--red); border: 2.5px solid var(--ink); color: var(--paper); font: 500 .62em/1 var(--mono); transition: rotate .35s var(--ease); }
.out:hover { translate: -2px -3px; box-shadow: 8px 10px 0 0 var(--sh); rotate: 0deg; }
.out:hover i { rotate: 45deg; }
.out:active { translate: 3px 4px; box-shadow: 2px 2px 0 0 var(--sh); }
.out:focus-visible { outline: 3px solid var(--gold); outline-offset: 5px; }
/* derselbe Aufkleber als Knopf, etwas größer */
button.out { cursor: pointer; }
.out--xl { font-size: clamp(1.7rem, 1.4rem + 1vw, 2.1rem); }
.t-green .out, .t-blue .out { --sh: var(--gold); }
.t-night .out { --sh: var(--red); }

.lamp { display: inline-block; width: .62em; height: .62em; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 0 rgba(255, 74, 42, .6); animation: lamp 2.4s infinite; flex: none; }
@keyframes lamp { 0% { box-shadow: 0 0 0 0 rgba(255, 74, 42, .55); } 70%, 100% { box-shadow: 0 0 0 .7em rgba(255, 74, 42, 0); } }

.js .rv { opacity: 0; transform: translateY(1.6rem); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--dl, 0s); }
.js .rv.in { opacity: 1; transform: none; }

/* ── Szenen-Mechanik ───────────────────────────────────────── */
.scene { position: relative; --p: 0; }
.sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }

/* ── Einschalten, Bildrauschen, Korn ───────────────────────── */
.tv-on { position: fixed; inset: 0; z-index: 300; background: #000; display: grid; place-items: center; pointer-events: none; }
.tv-on__line { position: absolute; left: 0; right: 0; top: 50%; height: 2px; background: #fff; box-shadow: 0 0 30px 6px rgba(255, 255, 255, .7); transform: scaleX(0); }
.tv-on__txt { font-family: var(--mono); font-size: .8rem; letter-spacing: .2em; text-transform: uppercase; color: #fff; opacity: 0; transform: translateY(2.4rem); }
body.is-loading { overflow: hidden; }
body.is-loading .tv-on__line { animation: tvline .7s .15s var(--ease) forwards; }
body.is-loading .tv-on__txt { animation: tvtxt .5s .5s ease forwards; }
body.is-on .tv-on { animation: tvopen .75s cubic-bezier(.7, 0, .2, 1) forwards; }
body.is-on .tv-on__txt, body.is-on .tv-on__line { opacity: 0; transition: opacity .2s; }
@keyframes tvline { to { transform: scaleX(1); } }
@keyframes tvtxt { to { opacity: .8; } }
@keyframes tvopen { 0% { clip-path: inset(0); } 100% { clip-path: inset(50% 0); visibility: hidden; } }
html:not(.js) .tv-on { display: none; }

.static { position: fixed; inset: 0; z-index: 120; pointer-events: none; opacity: 0; visibility: hidden; }
.static canvas { width: 100%; height: 100%; image-rendering: pixelated; opacity: .5; mix-blend-mode: screen; }
.static b { position: absolute; right: var(--pad); top: 5.2rem; font-family: var(--mono); font-weight: 500; font-size: clamp(2.2rem, 6vw, 4.5rem); color: #6dff7b; text-shadow: 0 0 18px rgba(109, 255, 123, .7); letter-spacing: .04em; }
.static.on { opacity: 1; visibility: visible; }

.grain { position: fixed; inset: -50%; z-index: 110; pointer-events: none; opacity: .09; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .5  0 0 0 0 .5  0 0 0 0 .5  0 0 0 1 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

/* ── OSD / Kopfzeile ───────────────────────────────────────── */
.osd { display: contents; }
.osd__blend { position: fixed; left: 0; top: 0; z-index: 100; height: var(--osd-h); display: flex; align-items: center; gap: clamp(1rem, 3vw, 2.5rem); padding-left: var(--pad); color: var(--paper); transition: color .3s; }
.osd-ink .osd__blend { color: var(--ink); }
.osd__mark { font-family: var(--serif); font-weight: 700; font-style: italic; font-variation-settings: "SOFT" 100, "WONK" 1; font-size: 1.25rem; letter-spacing: -.02em; text-decoration: none; white-space: nowrap; }
.osd__nav { position: fixed; z-index: 100; right: var(--pad); top: calc(var(--osd-h) / 2); transform: translateY(-50%); display: flex; gap: .5rem; }
.pill { display: inline-flex; align-items: center; gap: .55em; padding: .62em 1.05em; border-radius: 99px; background: var(--night); color: var(--paper); font-size: .86rem; font-weight: 600; text-decoration: none; line-height: 1; box-shadow: 0 0 0 1px rgba(245, 237, 221, .22), 0 6px 20px -8px rgba(0, 0, 0, .5); transition: transform .3s var(--ease), background .2s, color .2s; }
.pill:hover { transform: translateY(-2px); background: var(--paper); color: var(--ink); }
.txt-ico { width: .95em; height: .7em; background: linear-gradient(90deg, #ff3b3b 0 25%, #37d86b 0 50%, #ffd83b 0 75%, #3bd0ff 0) ; border-radius: 1px; }
.osd__bar { position: fixed; z-index: 101; left: 0; right: 0; top: 0; height: 3px; pointer-events: none; }
.osd__bar i { display: block; height: 100%; background: var(--red); transform-origin: 0 50%; transform: scaleX(var(--sp, 0)); }


@media (max-width: 760px) {
}

/* ════ Vorspann · Guten Abend ═══════════════════════════════════
   70er-Emblem: Regenbogen-Ringe auf goldenen Strahlen, in der Mitte rund das Foto
   mit dem Finger-Rahmen. --R ist der Außenradius, --cx / --cy der Mittelpunkt. */
.hero { height: 500vh; height: 500svh; --water: #1f9ea4; --tubc: #f6f1e6; --R: min(47svh, 32vw); --cx: 50vw; --cy: 47svh;
  --tpx: 1.12; --tpy: -.72; --tl: 1.069; --ta0: -6deg; --ta1: 17.4deg; --ta2: 27deg; }
/* Auf dem Handy klappt der Browser seine Leiste beim Scrollen ein, das Fenster wird höher als 100svh.
   Damit unter dem Startbild dann kein dunkler Streifen der Seite hervorschaut, füllt es die große Höhe. */
.hero .sticky { height: 100lvh; --lip: calc(100lvh - 100svh); /* so viel verdeckt die ausgeklappte Browser-Leiste unten */ background: var(--tubc);
  --p1: min(1, calc(var(--p) / .65)); --p2: clamp(0, calc((var(--p) - .65) / .35), 1);
  --sw: clamp(0, calc((var(--p1) - .97) / .005), 1);            /* ab hier übernimmt das Wasser */
  --dd0: clamp(0, calc((var(--p2) - .22) / .6), 1); --dd: calc(var(--dd0) * var(--dd0) * (3 - 2 * var(--dd0)));   /* Ablaufen */
  --rest: clamp(0, calc((var(--p2) - .88) / .09), 1); }
.hero__under { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; padding: var(--pad); padding-bottom: calc(var(--pad) + 16svh); gap: 1.6rem; z-index: 2; background: none; pointer-events: none;
  --a: clamp(0, calc((var(--p2) - .89) / .07), 1); color: var(--ink); }
.hero__under-txt { font-size: clamp(2rem, 1rem + 4.6vw, 5.4rem); max-width: 17ch; opacity: var(--a); transform: translateY(calc((1 - var(--a)) * 3rem)); }
.hero__under-sub { font-family: var(--hand); font-size: clamp(1.7rem, 1.2rem + 2vw, 3rem); color: #c2261a; transform: rotate(-3deg); opacity: clamp(0, calc((var(--p2) - .96) / .03), 1); }

.hero__layer { position: absolute; inset: 0; background: var(--gold); color: var(--ink); overflow: hidden; }

.hero__rays { position: absolute; left: var(--cx); top: var(--cy); width: 280vmax; height: 280vmax; translate: -50% -50%;
  background: repeating-conic-gradient(from 0deg, rgba(255, 255, 255, .2) 0 6deg, transparent 6deg 15deg);
  -webkit-mask-image: radial-gradient(circle, #000 0, #000 28%, transparent 60%); mask-image: radial-gradient(circle, #000 0, #000 28%, transparent 60%);
  animation: rays 90s linear infinite; }
@keyframes rays { to { rotate: 360deg; } }

/* Ringe und Foto: Scheiben übereinander, von außen nach innen */
.hero__bow { position: absolute; left: var(--cx); top: var(--cy); width: 0; height: 0; }
.hero__bow > * { position: absolute; left: calc(var(--R) * var(--r) * -1); top: calc(var(--R) * var(--r) * -1); width: calc(var(--R) * var(--r) * 2); aspect-ratio: 1; border-radius: 50%; margin: 0; scale: 0; }
.hero__bow i { background: var(--col); }
.hero__bow i:nth-child(1) { --r: 1; --col: #6a2330; --n: 0; }
.hero__bow i:nth-child(2) { --r: .89; --col: var(--red); --n: 1; }
.hero__bow i:nth-child(3) { --r: .78; --col: #f58220; --n: 2; }
.hero__bow i:nth-child(4) { --r: .67; --col: var(--paper); --n: 3; }
.hero__disc { --r: .635; --n: 4.6; overflow: hidden; background: #000; }

/* Beim Scrollen wird aus dem Regenbogen eine Schallplatte:
   1. Die Öffnung mit dem Foto schließt sich, die inneren Ringe fallen zusammen.
   2. Rot bleibt als Label stehen, Orange als Mittelloch, Weinrot wird zu Vinyl mit Rillen.
   3. Der Tonarm schwenkt ein, die Platte läuft, Noten steigen auf.
   4. Die Platte wächst über den ganzen Bildschirm und wird zur Nacht. */
.hero__bow { --x0: clamp(0, calc((var(--p1) - .77) / .1), 1); --x: calc(var(--x0) * var(--x0) * (3 - 2 * var(--x0)));
  --v: clamp(0, calc((var(--p1) - .34) / .14), 1); }
.hero__bow > * { --e0: clamp(0, calc((var(--p1) - var(--t, 0)) / .26), 1); --e: calc(var(--e0) * var(--e0) * (3 - 2 * var(--e0))); }
.hero__disc { --t: .04; clip-path: circle(calc((1 - var(--e)) * 50.5%)); }
.hero__bow i { transform: scale(calc((1 - var(--e) * (1 - var(--to, 0))) * (1 - var(--x)))); }
.hero__bow i:nth-child(4) { --t: .1; }
.hero__bow i:nth-child(3) { --t: .16; --to: .062; }
.hero__bow i:nth-child(2) { --t: .22; --to: .36; }
.hero__bow i:nth-child(1) { --g: clamp(0, calc((var(--p1) - .76) / .17), 1); --g2: clamp(0, calc((var(--p1) - .78) / .12), 1);
  transform: scale(calc(1 + var(--g) * var(--g) * 10));
  background: color-mix(in srgb, var(--water) calc(var(--g2) * 100%), color-mix(in srgb, #2a0f18 calc(var(--v) * 100%), #6a2330)); opacity: calc(1 - var(--sw)); }
/* Rillen und Lichtreflex */
.hero__bow i:nth-child(1)::after { content: ""; position: absolute; inset: 0; border-radius: 50%; opacity: calc(var(--v) * (1 - var(--g2)));
  background:
    conic-gradient(from 35deg, transparent 0 5%, rgba(255, 255, 255, .22) 10%, transparent 15% 50%, rgba(255, 255, 255, .15) 55%, transparent 61%),
    radial-gradient(circle closest-side, transparent 0 33%, rgba(0, 0, 0, .3) 33% 38%, transparent 38% 96.5%, rgba(255, 255, 255, .16) 96.5% 97.3%, transparent 97.3%),
    repeating-radial-gradient(circle closest-side, transparent 0 .6%, rgba(255, 255, 255, .1) .6% .85%, transparent .85% 1.5%); }
/* Label: dreht sich dauerhaft, sichtbar wird es erst, wenn die Platte steht */
.hero__label { --r: .32; --n: 0; max-width: none; overflow: visible; opacity: calc(clamp(0, calc((var(--p1) - .43) / .07), 1) * (1 - var(--x))); transform: scale(calc(1 - var(--x))); }
.hero__label text { font-family: var(--mono); font-weight: 500; font-size: 11.5px; letter-spacing: .04em; fill: var(--ink); text-transform: uppercase; }
.hero__label .lbl-name { font-family: var(--serif); font-style: italic; font-weight: 800; font-size: 23px; letter-spacing: -.02em; text-transform: none; }
.hero__label .lbl-s { font-size: 8px; letter-spacing: .16em; }
.hero__label circle { fill: none; stroke: var(--ink); stroke-width: 1; }
.hero__label .lbl-pin { fill: #3b3a40; stroke: #24232a; stroke-width: 1.2; }

/* Tonarm: Drehpunkt rechts oben neben der Platte */
.hero__layer { --L: calc(var(--R) * var(--tl));
  --s0: clamp(0, calc((var(--p1) - .45) / .11), 1); --s: calc(var(--s0) * var(--s0) * (3 - 2 * var(--s0)));
  --pl: clamp(0, calc((var(--p1) - .56) / .2), 1);
  --arm: calc(var(--ta0) + (var(--ta1) - var(--ta0)) * var(--s) + (var(--ta2) - var(--ta1)) * var(--pl)); }
.tonearm { position: absolute; left: calc(var(--cx) + var(--R) * var(--tpx)); top: calc(var(--cy) + var(--R) * var(--tpy)); width: 0; height: 0;
  transform: rotate(var(--arm));
  opacity: calc(clamp(0, calc((var(--p1) - .4) / .05), 1) * (1 - clamp(0, calc((var(--p1) - .74) / .04), 1)));
  filter: drop-shadow(7px 9px 0 rgba(21, 19, 28, .3)); }
.tonearm i { position: absolute; display: block; }
.tonearm__w { left: calc(var(--R) * -.055); top: calc(var(--R) * -.31); width: calc(var(--R) * .11); height: calc(var(--R) * .16); background: var(--ink); border-radius: .35rem; }
.tonearm__bar { left: calc(var(--R) * -.017); top: calc(var(--R) * -.2); width: calc(var(--R) * .034); height: calc(var(--L) + var(--R) * .1); background: linear-gradient(90deg, #b9b1a0, #f5eddd 45%, #8f887a); border: 2px solid var(--ink); border-radius: 99px; }
.tonearm__pivot { left: calc(var(--R) * -.075); top: calc(var(--R) * -.075); width: calc(var(--R) * .15); height: calc(var(--R) * .15); border-radius: 50%; background: var(--ink); border: 2.5px solid var(--ink); box-shadow: inset 0 0 0 calc(var(--R) * .028) var(--paper); }
.tonearm__head { left: calc(var(--R) * -.045); top: calc(var(--L) - var(--R) * .14); width: calc(var(--R) * .09); height: calc(var(--R) * .15); background: var(--red); border: 2.5px solid var(--ink); border-radius: .25rem .25rem .5rem .5rem; transform: rotate(14deg); transform-origin: 50% 0; }

/* Noten steigen auf, solange die Platte läuft */
.hero__notes { position: absolute; width: 0; height: 0;
  left: calc(var(--cx) + var(--R) * var(--tpx) - var(--L) * sin(var(--arm)));
  top: calc(var(--cy) + var(--R) * var(--tpy) + var(--L) * cos(var(--arm)));
  opacity: calc(clamp(0, calc((var(--p1) - .57) / .04), 1) * (1 - clamp(0, calc((var(--p1) - .73) / .04), 1))); }
.hero__notes b { position: absolute; left: -.35em; top: -.6em; font: 400 clamp(2rem, 3.6vw, 3.4rem) / 1 var(--serif); color: var(--paper); -webkit-text-stroke: 2px var(--ink); paint-order: stroke fill; text-shadow: 3px 3px 0 var(--ink); opacity: 0; animation: note 2.4s ease-out infinite; animation-delay: var(--nd, 0s); }
.hero__notes b:nth-child(1) { --dx: 2.6em; --dy: -3.2em; --rot: 16deg; }
.hero__notes b:nth-child(2) { --dx: -1.4em; --dy: -4.2em; --rot: -14deg; --nd: -.6s; }
.hero__notes b:nth-child(3) { --dx: 3.6em; --dy: -1.2em; --rot: 22deg; --nd: -1.2s; }
.hero__notes b:nth-child(4) { --dx: .6em; --dy: -4.8em; --rot: -6deg; --nd: -1.8s; }
@keyframes note { 0% { transform: translate(0, 0) scale(.3) rotate(0deg); opacity: 0; } 14% { opacity: 1; } 70% { opacity: 1; } 100% { transform: translate(var(--dx), var(--dy)) scale(1) rotate(var(--rot)); opacity: 0; } }

/* Tonschalter: Aufkleber am Plattenrand, zu sehen, solange die Platte läuft */
.hero__snd { position: absolute; right: calc(100% - var(--cx) + var(--R) * .74); top: calc(var(--cy) + var(--R) * .56); display: flex; align-items: center; gap: .55em;
  font-family: var(--hand); font-weight: 700; font-size: clamp(1.7rem, 1.2rem + 1.3vw, 2.5rem); line-height: 1; color: var(--ink); text-align: left; white-space: nowrap;
  background: var(--paper); border: 2.5px solid var(--ink); border-radius: 99px; padding: .28em 1em .3em .32em; box-shadow: 5px 6px 0 0 var(--ink); rotate: -5deg; cursor: pointer;
  opacity: 0; visibility: hidden; scale: .6; transition: opacity .25s, scale .4s cubic-bezier(.2, 1.4, .3, 1), visibility 0s .4s, translate .2s, box-shadow .2s; }
.hero__snd[hidden] { display: none; }
.hero__snd.show { opacity: 1; visibility: visible; scale: 1; transition-delay: 0s; }
.hero__snd:hover { translate: -2px -2px; box-shadow: 7px 8px 0 0 var(--ink); }
.hero__snd:active { translate: 3px 4px; box-shadow: 2px 2px 0 0 var(--ink); }
.hero__snd:focus-visible { outline: 3px solid var(--ink); outline-offset: 4px; }
.hero__snd-ic { position: relative; flex: none; width: 1.5em; aspect-ratio: 1; border-radius: 50%; background: var(--red); border: 2.5px solid var(--ink); }
/* Lautsprecher, bei laufendem Ton mit Schallwelle, sonst mit einem X daneben */
.hero__snd-ic::before { content: ""; position: absolute; left: 22%; top: 50%; width: 34%; height: 46%; translate: 0 -50%; background: var(--paper); clip-path: polygon(0 30%, 42% 30%, 100% 0, 100% 100%, 42% 70%, 0 70%); }
.hero__snd-ic::after { content: ""; position: absolute; left: 61%; top: 50%; width: 23%; height: auto; aspect-ratio: 1; translate: 0 -50%; --x: 1.4px;
  background: linear-gradient(45deg, transparent calc(50% - var(--x)), var(--paper) calc(50% - var(--x)) calc(50% + var(--x)), transparent calc(50% + var(--x))), linear-gradient(-45deg, transparent calc(50% - var(--x)), var(--paper) calc(50% - var(--x)) calc(50% + var(--x)), transparent calc(50% + var(--x))); }
.hero__snd[aria-pressed="true"] .hero__snd-ic { background: var(--ink); }
.hero__snd[aria-pressed="true"] .hero__snd-ic::after { left: 62%; width: 16%; height: 34%; aspect-ratio: auto; background: none; border: 2.5px solid var(--paper); border-left: 0; border-radius: 0 99px 99px 0; animation: sndwave 1s ease-in-out infinite; }
@keyframes sndwave { 50% { scale: 1.25; opacity: .55; } }
.hero__snd-tx { display: grid; gap: .22em; }
.hero__snd-t { font-weight: 700; }
.hero__snd small { font-family: var(--mono); font-weight: 500; font-size: .66rem; letter-spacing: .1em; text-transform: uppercase; }
.hero__snd.is-ask { animation: sndask .7s .25s var(--ease) 2; }
@keyframes sndask { 0%, 100% { rotate: -5deg; } 25% { rotate: -11deg; } 60% { rotate: 1deg; } }

/* ── Die Badewanne ─────────────────────────────────────────
   Die Platte ist bildschirmfüllend zu Wasser geworden. In der Mitte sitzt jetzt der Stöpsel.
   Er wird an der Kugelkette gezogen, das Wasser läuft im Strudel ab, zurück bleibt die Wanne. */
.hero__layer { --tub: clamp(0, calc((var(--p1) - .95) / .01), 1); background: color-mix(in srgb, var(--tubc) calc(var(--tub) * 100%), var(--gold));
  background-image: radial-gradient(circle at var(--cx) var(--cy), rgba(255, 255, 255, calc(var(--tub) * .9)) 0, transparent 45%), radial-gradient(circle at var(--cx) var(--cy), transparent 40%, rgba(120, 140, 150, calc(var(--tub) * .22)) 100%); }
.hero__rays { opacity: calc(1 - var(--tub)); }

/* Das Wasser besteht aus einer großen Fläche und fünf kleineren, die anfangs in ihr verborgen sind.
   Jede zieht sich mit eigenem Tempo zum Abfluss zurück, dadurch reißt der Rand unregelmäßig auf
   und es bleiben Zungen stehen. Dahinter liegt dieselbe Form etwas größer in Weiß: der Schaumrand. */
.hero__water { position: absolute; left: calc(var(--cx) - 63vmax); top: calc(var(--cy) - 63vmax); width: 126vmax; height: 126vmax; opacity: var(--sw); animation: strudel 2.6s linear infinite; will-change: transform; }
@keyframes strudel { to { rotate: 360deg; } }
.hero__water > div { position: absolute; inset: 0; }
.hero__water > div > i { position: absolute; display: block; width: var(--s); aspect-ratio: 1; left: calc(50% + var(--ox) - var(--s) / 2); top: calc(50% + var(--oy) - var(--s) / 2); border-radius: var(--br, 50%); background: var(--water);
  --e0: clamp(0, calc((var(--p2) - .22 - var(--dl)) / var(--du)), 1); --e: calc(var(--e0) * var(--e0) * (3 - 2 * var(--e0)));
  transform: translate(calc(var(--ox) * -1 * var(--e)), calc(var(--oy) * -1 * var(--e))) scale(calc((1 - var(--e)) * var(--k, 1))); }
.hero__water .w-rims i { background: rgba(255, 255, 255, .92); --k: 1.014; }
/* Strömungslinien auf den kleineren Flächen */
.hero__water .w-fill > i:not(:first-child)::before, .hero__water .w-fill > i:not(:first-child)::after { content: ""; position: absolute; border-radius: 50%; border: .3vmax solid transparent; }
.hero__water .w-fill > i:not(:first-child)::before { inset: 13%; border-top-color: rgba(255, 255, 255, .42); border-right-color: rgba(255, 255, 255, .18); rotate: 25deg; }
.hero__water .w-fill > i:not(:first-child)::after { inset: 31%; border-bottom-color: rgba(255, 255, 255, .38); border-left-color: rgba(255, 255, 255, .14); rotate: -40deg; }
.hero__water > div > i:nth-child(1) { --s: 100%; --ox: 0vmax; --oy: 0vmax; --dl: 0; --du: .5; --br: 47% 53% 51% 49% / 52% 48% 54% 46%; }
.hero__water > div > i:nth-child(2) { --s: 52%; --ox: 17vmax; --oy: -9vmax; --dl: .05; --du: .52; --br: 58% 42% 55% 45% / 46% 57% 43% 54%; }
.hero__water > div > i:nth-child(3) { --s: 46%; --ox: -19vmax; --oy: 6vmax; --dl: .11; --du: .5; --br: 44% 56% 41% 59% / 57% 45% 55% 43%; }
.hero__water > div > i:nth-child(4) { --s: 40%; --ox: 4vmax; --oy: 20vmax; --dl: .02; --du: .6; --br: 55% 45% 60% 40% / 42% 58% 44% 56%; }
.hero__water > div > i:nth-child(5) { --s: 36%; --ox: -8vmax; --oy: -20vmax; --dl: .15; --du: .46; --br: 40% 60% 47% 53% / 60% 42% 58% 40%; }
.hero__water > div > i:nth-child(6) { --s: 30%; --ox: 22vmax; --oy: 14vmax; --dl: .08; --du: .56; --br: 52% 48% 38% 62% / 45% 60% 40% 55%; }
.hero__water svg { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; opacity: calc(.3 + var(--dd0) * .6); }
.hero__water path { fill: none; stroke: #fff; stroke-width: 1.5; stroke-linecap: round; opacity: .5; }
.hero__water b { position: absolute; left: var(--bx); top: var(--by); width: var(--bs, 1.7%); aspect-ratio: 1; border-radius: 50%; background: rgba(255, 255, 255, .9); box-shadow: inset 0 0 0 .12vmax rgba(31, 158, 164, .5); }
/* Tropfen, die auf der Wanne zurückbleiben und erst später verschwinden */
.hero__drops { position: absolute; left: var(--cx); top: var(--cy); width: 0; height: 0; opacity: var(--sw); }
.hero__drops b { position: absolute; left: var(--x); top: var(--y); width: var(--w); aspect-ratio: 1; margin: calc(var(--w) / -2) 0 0 calc(var(--w) / -2); border-radius: 52% 48% 55% 45% / 48% 55% 45% 52%; background: var(--water); box-shadow: inset .12vmax .12vmax 0 rgba(255, 255, 255, .45);
  transform: scale(calc(1 - clamp(0, calc((var(--p2) - var(--u)) / .07), 1))); }

.hero__drain, .hero__plug, .hero__duck { position: absolute; left: var(--cx); top: var(--cy); width: 0; height: 0; }
.hero__drain svg, .hero__plug svg, .hero__duck svg { position: absolute; max-width: none; overflow: visible; }
.hero__drain { --in: clamp(0, calc((var(--p1) - .86) / .1), 1); transform: scale(var(--in)); opacity: calc(1 - clamp(0, calc((var(--p2) - .87) / .04), 1)); }
.hero__drain svg { width: calc(var(--R) * .34); left: calc(var(--R) * -.17); top: calc(var(--R) * -.17); }
/* Stöpsel mit Kugelkette: wird nach rechts oben aus dem Bild gezogen */
.hero__plug { --in: clamp(0, calc((var(--p1) - .86) / .1), 1); --pull0: clamp(0, calc((var(--p2) - .05) / .2), 1); --pull: calc(var(--pull0) * var(--pull0));
  transform: translate(calc(var(--pull) * 95vmax), calc(var(--pull) * -74vmax)) scale(calc(var(--in) * (1 + clamp(0, calc(var(--p2) / .06), 1) * .22)));
  opacity: calc(1 - clamp(0, calc((var(--p2) - .26) / .02), 1)); filter: drop-shadow(5px 7px 0 rgba(21, 19, 28, .28)); }
.hero__plug svg { width: calc(var(--R) * .3); left: calc(var(--R) * -.15); top: calc(var(--R) * -.15); }
.hero__plug .hero__chain { width: calc(var(--R) * 5); height: calc(var(--R) * 4); left: 0; top: calc(var(--R) * -4); }
.hero__chain path { fill: none; stroke-linecap: round; stroke-dasharray: 0 5.6; }
.hero__chain .c-o { stroke: var(--ink); stroke-width: 4.4; }
.hero__chain .c-i { stroke: #efeadf; stroke-width: 2.5; }
/* Quietscheente: treibt im Strudel mit und bleibt am Ende auf dem Trockenen sitzen */
.hero__duck { --ang: calc(var(--dd) * 2.5turn + 40deg); --rad: calc((1 - var(--dd) * .6) * (1 - var(--rest)) * 30vmax);
  transform: translateY(calc(var(--rest) * var(--drest, 37svh))) rotate(var(--ang)) translateX(var(--rad)) rotate(calc(var(--ang) * -1 + (1 - var(--rest)) * var(--dd) * 14deg)) scale(calc(1 - var(--rest) * (1 - var(--tvs, .72))));
  opacity: clamp(0, calc(var(--p2) / .05), 1); filter: drop-shadow(4px 6px 0 rgba(21, 19, 28, .25)); }
.hero__duck .duck { width: calc(var(--R) * .4); left: calc(var(--R) * -.2); top: calc(var(--R) * -.17); animation: ente 1.6s ease-in-out infinite; }
/* Der Fernseher, vor dem alle saßen: erscheint erst, wenn die Ente auf dem Trockenen sitzt */
.hero__duck .tv { width: calc(var(--R) * .86); left: calc(var(--R) * -.361); top: calc(var(--R) * -.387); transform-origin: 42% 53%;
  --tv0: clamp(0, calc((var(--p2) - .93) / .05), 1); transform: scale(calc(var(--tv0) * (1.12 - var(--tv0) * .12))); opacity: clamp(0, calc(var(--tv0) * 4), 1); }
@keyframes ente { 50% { transform: rotate(7deg) translateY(-4%); } }

.hero__ui { position: absolute; inset: 0; pointer-events: none; opacity: clamp(0, calc(1 - var(--p1) / .07), 1); }
.hero__disc img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.is-on .hero__bow > * { animation: bow 1.1s cubic-bezier(.2, 1.25, .3, 1) forwards; animation-delay: calc(.3s + var(--n) * .12s); }
.is-on .hero__bow > .hero__label { animation: bow .1s forwards, lp 3.6s linear infinite; }
@keyframes lp { to { rotate: 360deg; } }
@keyframes bow { to { scale: 1; } }

.hero__name { position: absolute; left: 0; right: 0; bottom: calc(clamp(.6rem, 3svh, 2rem) + var(--lip, 0px)); margin: 0; text-align: center; white-space: nowrap; font-size: min(13.4vw, 30svh); line-height: .84; pointer-events: none; }
.hero__w { display: inline-block; letter-spacing: -.04em;
  color: var(--paper); -webkit-text-stroke: .028em var(--ink); paint-order: stroke fill;
  text-shadow: .013em .013em 0 var(--ink), .026em .026em 0 var(--ink), .039em .039em 0 var(--ink), .052em .052em 0 var(--ink), .065em .065em 0 var(--ink); }
.hero__w--r { margin-left: .1em; }
.hero__w i { display: inline-block; font-style: normal; transform: translateY(115%) rotate(8deg); opacity: 0; }
.is-on .hero__w i { animation: rise 1s var(--ease) forwards; animation-delay: calc(1s + var(--n, 0) * .045s); }
.hero__w i:nth-child(2) { --n: 1; } .hero__w i:nth-child(3) { --n: 2; } .hero__w i:nth-child(4) { --n: 3; } .hero__w i:nth-child(5) { --n: 4; } .hero__w i:nth-child(6) { --n: 5; } .hero__w i:nth-child(7) { --n: 6; }
.is-on .hero__w--r i { animation-delay: calc(1.22s + var(--n, 0) * .045s); }
@keyframes rise { to { transform: none; opacity: 1; } }

/* Sprechblase links oben am Emblem */
.hero__hello { position: absolute; right: calc(100% - var(--cx) + var(--R) * .6); top: calc(var(--cy) - var(--R) * .86); font-family: var(--hand); font-weight: 700; font-size: clamp(1.7rem, 1.1rem + 1.9vw, 3rem); line-height: 1; white-space: nowrap;
  background: var(--paper); border: 2.5px solid var(--ink); border-radius: 99px; padding: .32em .85em .38em; box-shadow: 5px 6px 0 0 var(--ink); rotate: -6deg; transform-origin: 100% 100%; opacity: 0; }
.hero__hello::after { content: ""; position: absolute; right: .9em; bottom: -.62em; width: 1em; height: 1em; background: var(--paper); border-right: 2.5px solid var(--ink); border-bottom: 2.5px solid var(--ink); transform: skewX(28deg) rotate(45deg); box-shadow: 5px 5px 0 0 var(--ink); }
.is-on .hero__hello { animation: pop .6s 2s cubic-bezier(.2, 1.4, .3, 1) forwards; }
@keyframes pop { from { opacity: 0; scale: .5; } to { opacity: 1; scale: 1; } }

/* Zweite Sprechblase rechts am Emblem: Der Satz kommt aus dem Publikum, deshalb zeigt die Spitze nach außen */
.hero__lead { position: absolute; left: calc(var(--cx) + var(--R) * .7); top: calc(var(--cy) + var(--R) * .04); width: min(19rem, calc(50vw - var(--R) * .7 - var(--pad) - 2.4rem));
  font-family: var(--hand); font-weight: 700; font-size: clamp(1.25rem, 1rem + .75vw, 1.65rem); line-height: 1.08;
  background: var(--paper); border: 2.5px solid var(--ink); border-radius: 1.5rem; padding: .7em 1em .8em; box-shadow: 5px 6px 0 0 var(--ink); rotate: 3deg; transform-origin: 0 100%; opacity: 0; }
.is-on .hero__lead { animation: pop .6s 2.35s cubic-bezier(.2, 1.4, .3, 1) forwards; }
.hero__cue { position: absolute; right: var(--pad); top: calc(var(--cy) - 4rem); writing-mode: vertical-rl; font-family: var(--mono); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; display: flex; align-items: center; gap: .9em; opacity: 0; }
.hero__cue i { width: 1.5px; height: 2.6rem; background: currentColor; transform-origin: 50% 0; animation: cue 2.2s var(--ease) infinite; }
@keyframes cue { 0% { transform: scaleY(0); } 55% { transform: scaleY(1); transform-origin: 50% 0; } 56% { transform-origin: 50% 100%; } 100% { transform: scaleY(0); transform-origin: 50% 100%; } }
.is-on .hero__cue { animation: fadein .9s 2.1s var(--ease) forwards; }
@keyframes fadein { to { opacity: 1; } }

@media (max-aspect-ratio: 1/1) {
  .hero__duck { --rad: calc((1 - var(--dd) * .45) * (1 - var(--rest)) * 20vmax); --drest: 25svh; --tvs: .82; }
  .hero { --R: min(66vw, 34svh); --cy: 57svh; --tpx: .62; --tpy: -1.2; --tl: .68; --ta0: -25deg; --ta1: 14deg; --ta2: 24deg; }
  .hero__name { bottom: auto; top: calc(var(--osd-h) + 1.5svh); text-align: left; padding-left: var(--pad); font-size: 24vw; }
  .hero__w { display: block; width: max-content; }
  .hero__w--r { margin-left: 8vw; }
  .hero__hello, .hero__cue { display: none; }
  .hero__snd { right: auto; left: var(--pad); top: calc(var(--cy) - var(--R) - 4.3rem); font-size: 1.7rem; }
  /* Der Satz sitzt als Aufkleber unten am Emblem. Auf dem Tablet bleibt er zweizeilig und mittig,
     statt als eine lange Zeile am Rand zu kleben; die Schrift wächst mit der Breite. */
  .hero__lead { left: var(--pad); right: var(--pad); top: auto; bottom: calc(2.4svh + var(--lip, 0px)); width: auto; max-width: 21em; margin-inline: auto; text-align: center; font-size: clamp(1.28rem, .88rem + 1.6vw, 2rem); rotate: -1.5deg; padding: .55em .8em .65em; }
}

/* ════ Vorspann · Die Saalwette ═════════════════════════════════ */
.bet { padding: clamp(5rem, 16svh, 11rem) 0 clamp(6rem, 20svh, 13rem); position: relative; }
.bet__in { display: grid; gap: 2rem; justify-items: start; }
.bet__q { font-size: clamp(2.7rem, 1rem + 8vw, 9rem); max-width: 14ch; }
.bet__q em { color: var(--gold); font-weight: 800; }
.bet__p { max-width: 36rem; font-size: 1.15em; color: rgba(245, 237, 221, .82); }
.bet__go { min-height: 4.2rem; display: flex; align-items: center; }
.bet .btn { font-size: 1.15em; }
.bet__done { font-family: var(--hand); font-size: 2.1rem; font-weight: 700; color: var(--gold); line-height: 1.1; rotate: -2deg; }
.bet__done span { display: block; color: var(--paper); font-size: .75em; font-weight: 500; }

.confetti { position: fixed; left: 0; top: 0; width: .7rem; height: .7rem; z-index: 150; pointer-events: none; border-radius: 2px; }

/* ════ Kapitelkopf ═════════════════════════════════════════ */
.chap { padding-top: calc(var(--osd-h) + clamp(.6rem, 3svh, 2.5rem)); }

/* ════ Kapitel 1 · Die Stimme ════════════════════════════════════ */
.radio { height: 620vh; height: 620svh; }
.radio .sticky { background: radial-gradient(120% 70% at 50% 108%, #40230a 0, #1d1209 38%, var(--night) 72%); padding-inline: var(--pad); display: flex; flex-direction: column; }
.radio .chap__t { color: var(--amber); font-size: clamp(2.4rem, 1rem + min(5.6vw, 9svh), 7rem); }
.radio__steps { position: relative; z-index: 2; flex: none; display: grid; margin-block: auto; padding-block: clamp(.8rem, 2.6svh, 2rem); }
.step { grid-area: 1 / 1; position: relative; display: grid; grid-template-columns: minmax(0, 46rem) minmax(0, 1fr); grid-template-rows: auto 1fr; column-gap: clamp(1.5rem, 4vw, 4rem); align-content: start; opacity: 0; transform: translateY(1.5rem); transition: opacity .5s var(--ease), transform .5s var(--ease); pointer-events: none; }
.step.is-active { opacity: 1; transform: none; transition-delay: .12s; }
.step > p { grid-column: 1; }
/* Das Foto zählt nicht zur Höhe: Es hängt in der rechten Spalte und darf über das Radio ragen */
.step__ph { position: absolute; grid-column: 2; grid-row: 1 / -1; left: 50%; top: -1svh; translate: -50% 0; }
.step__ph img { height: min(42svh, 25vw); width: auto; max-width: none; }

/* Abzüge aus dem Archiv: weißer Rand, leicht gedreht */
.print { margin: 0; background: #fffdf7; padding: .55rem .55rem .7rem; border-radius: 2px; rotate: var(--rot, 0deg); box-shadow: 0 0 0 1px rgba(21, 19, 28, .12), 10px 18px 36px -12px rgba(0, 0, 0, .55); color: var(--ink); width: max-content; max-width: 100%; }
.print img { display: block; border-radius: 1px; }
/* In Kapitel 1 richtet sich der weiße Rand nach dem Foto, nicht nach der Spalte: Auf dem Tablet ist die
   Spalte schmaler als das Foto, der Rand blieb sonst dahinter zurück. */
.step__ph.print { max-width: none; }
.print figcaption { font-family: var(--hand); font-weight: 600; font-size: 1.25rem; line-height: 1.1; padding: .55rem .2rem .1rem; opacity: 1; letter-spacing: 0; }
.step__st { font-family: var(--mono); font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: var(--amber); margin-bottom: .9rem; }
.step__tx { font-family: var(--serif); font-weight: 400; font-variation-settings: "SOFT" 100; font-size: clamp(1.15rem, .9rem + min(1.1vw, 1.9svh), 2.3rem); line-height: 1.26; letter-spacing: -.01em; }

.dial { position: relative; flex: none; height: clamp(7rem, 22svh, 19rem); margin: 0 calc(var(--pad) * -1) clamp(1.2rem, 5svh, 3.5rem); --gap: clamp(15rem, 46vw, 46rem);
  border-block: 1px solid rgba(255, 176, 74, .35); background: linear-gradient(rgba(255, 176, 74, .1), rgba(255, 176, 74, .02)); box-shadow: 0 0 80px -10px rgba(255, 150, 40, .28) inset; color: var(--amber); overflow: hidden; }
.dial__track { position: absolute; left: 50%; top: 0; bottom: 0; width: calc(var(--gap) * 5); transform: translateX(calc(var(--p) * var(--gap) * -5)); will-change: transform; }
.dial__track::before { content: ""; position: absolute; left: -100vw; right: -100vw; bottom: 0; height: 42%;
  background:
    repeating-linear-gradient(90deg, currentColor 0 1.5px, transparent 1.5px calc(var(--gap) / 2)) 100vw 100% / auto 100% no-repeat,
    repeating-linear-gradient(90deg, currentColor 0 1px, transparent 1px calc(var(--gap) / 20)) 100vw 100% / auto 45% no-repeat;
  opacity: .55; }
.dial__track span { position: absolute; left: calc(var(--i) * var(--gap)); top: 16%; translate: -50% 0; font-family: var(--mono); font-size: clamp(.78rem, .55rem + min(.5vw, 1svh), 1.5rem); letter-spacing: .14em; text-transform: uppercase; white-space: nowrap; text-shadow: 0 0 14px rgba(255, 176, 74, .7); }
.dial__needle { position: absolute; left: 50%; top: 0; bottom: 0; width: max(2.5px, .2svh); translate: -50% 0; background: var(--red); box-shadow: 0 0 14px 2px rgba(255, 74, 42, .8); }

/* ════ Kapitel 2 · Das Bild ══════════════════════════════════════ */
.mm { height: 300vh; height: 300svh; }
.mm .sticky { display: flex; align-items: center; background: var(--paper); background-image: radial-gradient(rgba(21, 19, 28, .13) 1px, transparent 1.4px); background-size: 22px 22px; }
.mm__grid { width: min(100%, 124rem); display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: clamp(1.5rem, 5vw, 5rem); align-items: center; padding-top: var(--osd-h); }
.mm__txt p:not(.label) { max-width: 31em; margin-top: 1.1em; font-size: clamp(1.02rem, .62rem + .72vw, 1.65rem); }
.mm__txt .chap__t { font-size: clamp(2.3rem, 1rem + 4.8vw, 7.6rem); }
.mm__hint { font-family: var(--hand); font-size: 1.5rem; line-height: 1.1; color: var(--red); rotate: -2deg; }
.mm__txt p.mm__hint { font-size: clamp(1.4rem, 1rem + .8vw, 2.1rem); }
.mm__board { position: relative; aspect-ratio: 400 / 340; background: repeating-linear-gradient(90deg, transparent 0 24.6%, rgba(90, 40, 10, .22) 24.6% 25%), linear-gradient(#d9792f, #c4621f); border-radius: 8% / 9.5%; box-shadow: inset 0 0 0 2px #1a0d05, inset 0 0 3.5rem rgba(0, 0, 0, .45); width: 100%; }
/* Der Fernseher: Holzgehäuse auf schrägen Beinen, links die Bildröhre mit dem Zeichenbrett, rechts das Bedienfeld.
   Der Kanalwähler steht still: Hier wird nicht umgeschaltet. */
.tvset { position: relative; justify-self: center; width: min(100%, calc(62svh * 1.44)); display: grid; grid-template-columns: minmax(0, 1fr) clamp(2.8rem, 15%, 6.2rem); gap: clamp(.45rem, 1.2vw, 1rem); padding: clamp(.55rem, 1.5vw, 1.25rem); margin-bottom: 1.7rem;
  border-radius: clamp(.9rem, 2.4vw, 1.8rem); border: 2.5px solid var(--ink);
  background: repeating-linear-gradient(92deg, rgba(0, 0, 0, .09) 0 2px, transparent 2px 9px, rgba(255, 255, 255, .035) 9px 11px, transparent 11px 23px), linear-gradient(#8a4f26, #5d3116 62%, #46230f);
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, .22), inset 0 -10px 22px rgba(0, 0, 0, .35), 10px 12px 0 0 var(--ink); }
.tvset::before, .tvset::after { content: ""; position: absolute; top: 100%; width: .8rem; height: 1.7rem; background: var(--ink); border-radius: 0 0 3px 3px; }
.tvset::before { left: 13%; transform: skewX(14deg); transform-origin: 50% 0; }
.tvset::after { right: 13%; transform: skewX(-14deg); transform-origin: 50% 0; }
.tvset__tube { position: relative; padding: 2.4%; background: #0f0d12; border: 2px solid #1a0d05; border-radius: 9.5% / 11%; box-shadow: inset 0 0 0 3px rgba(255, 255, 255, .06), 0 1px 0 rgba(255, 255, 255, .25); }
/* Glas: Lichtreflex und feine Zeilen */
.mm__board::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit; pointer-events: none;
  background: linear-gradient(118deg, rgba(255, 255, 255, .2) 0 11%, rgba(255, 255, 255, .05) 11.5% 17%, transparent 17.5%), repeating-linear-gradient(rgba(0, 0, 0, .07) 0 1px, transparent 1px 3px); }
.mm__board .guess, .mm__board .mm__right { z-index: 2; }
.tvset__panel { display: flex; flex-direction: column; align-items: center; gap: 6%; padding: 9% 0 7%; border: 2px solid #1a0d05; border-radius: .6rem; background: linear-gradient(#34302b, #1b1816); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .15); }
.tvset__brand { font-family: var(--serif); font-style: italic; font-weight: 700; font-size: clamp(.5rem, .35rem + .55vw, .85rem); color: #2a1408; background: linear-gradient(#f3d489, #c99a3c); border: 1.5px solid #1a0d05; border-radius: 99px; padding: .15em .7em .2em; }
.tvset__knob { display: block; width: 66%; aspect-ratio: 1; flex: none; border-radius: 50%; border: 2px solid #0c0a08; position: relative; background: repeating-conic-gradient(#e9dcba 0 7deg, #c9ba92 7deg 14deg); box-shadow: 0 3px 0 #0c0a08, 0 6px 10px rgba(0, 0, 0, .5); }
.tvset__knob b { position: absolute; inset: 16%; border-radius: 50%; border: 1.5px solid #1a0d05; background: radial-gradient(circle at 35% 30%, #fff8e4, #d9cba6 70%); }
.tvset__knob b::after { content: ""; position: absolute; left: 50%; top: 6%; width: max(2.5px, 7%); height: 30%; translate: -50% 0; background: #b3202f; border-radius: 2px; }
.tvset__knob--ch { transform: rotate(-40deg); }
.tvset__knob--s { width: 46%; transform: rotate(60deg); }
.tvset__grille { flex: 1; width: 62%; min-height: 0; border-radius: .3rem; background: repeating-linear-gradient(#0c0a08 0 3px, #4b453d 3px 6px); border: 1.5px solid #0c0a08; }
.tvset__led { width: 14%; aspect-ratio: 1; flex: none; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 1.5px #0c0a08, 0 0 10px 2px rgba(255, 74, 42, .8); }
/* Roter Knopf: macht den Schirm frei, die eigenen Striche und die Zeichnung der Sendung */
.tvset__wipe { flex: none; width: 50%; aspect-ratio: 1; border-radius: 50%; border: 2px solid #0c0a08; background: radial-gradient(circle at 35% 30%, #ff9a80, var(--red) 58%, #b3261a); box-shadow: 0 3px 0 #0c0a08, 0 6px 10px rgba(0, 0, 0, .5); cursor: pointer; transition: translate .1s, box-shadow .1s; }
.tvset__wipe:hover { filter: brightness(1.12); }
.tvset__wipe:active { translate: 0 2px; box-shadow: 0 1px 0 #0c0a08; }
.tvset__wipe:focus-visible { outline: 2.5px solid var(--gold); outline-offset: 3px; }
.tvset__wipe-l { font-family: var(--mono); font-size: clamp(.42rem, .3rem + .32vw, .6rem); letter-spacing: .14em; text-transform: uppercase; color: #d9cba6; margin-top: -3%; }
.mm__board.is-blank .draw, .mm__board.is-blank .guess, .mm__board.is-blank .mm__right { opacity: 0 !important; }
.mm__board::before { content: ""; position: absolute; inset: 0; z-index: 3; border-radius: inherit; background: #fffdf7; opacity: 0; pointer-events: none; }
.mm__board.is-wipe::before { animation: mmwipe .5s ease-out; }
@keyframes mmwipe { 0% { opacity: .9; } 100% { opacity: 0; } }
/* gezeichnet wird nur mit Maus oder Stift, also braucht es den Knopf am Touchscreen nicht */
@media (hover: none), (pointer: coarse) { .tvset__wipe, .tvset__wipe-l { display: none; } }
.draw { position: absolute; inset: 0; width: 100%; height: 100%; padding: 10% 11%; fill: none; stroke: #fffdf7; stroke-width: 6; stroke-linecap: round; stroke-linejoin: round; }
.draw path { --d: clamp(0, calc((var(--p) * 1.3 - var(--i) * .105) / .105), 1); stroke-dasharray: 1; stroke-dashoffset: calc(1 - var(--d)); opacity: clamp(0, calc(var(--d) * 40), 1); }
/* Die Uhr der Sendung: ein Ring aus 60 Klötzchen rund ums Bild, jedes fünfte größer.
   Sie verschwinden beim Scrollen der Reihe nach im Uhrzeigersinn. Sobald richtig geraten ist, bleibt der Rest stehen. */
.mm__clock { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; pointer-events: none; }
.mm__clock rect { fill: #fffdf7; opacity: clamp(0, calc((var(--i) + 1 - min(var(--p), .8) * 67.5) * 50), 1); }
.mm__canvas { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: inherit; cursor: crosshair; touch-action: pan-y; }
.guess { position: absolute; font-family: var(--hand); font-weight: 700; font-size: clamp(1.3rem, 1rem + 1.4vw, 2.3rem); line-height: 1; background: var(--ink); color: var(--paper); padding: .35em .7em; border-radius: 99px; white-space: nowrap; scale: var(--s); opacity: var(--s); --s: clamp(0, calc((var(--p) - var(--t)) * 14), 1); pointer-events: none; }
.guess--1 { --t: .1; left: -4%; top: 10%; rotate: -7deg; }
.guess--2 { --t: .24; right: -3%; top: 28%; rotate: 5deg; }
.guess--3 { --t: .38; left: 2%; bottom: 9%; rotate: 4deg; }
.guess--4 { --t: .7; right: 4%; bottom: -3%; rotate: -4deg; background: var(--paper); color: var(--ink); box-shadow: 0 0 0 2.5px var(--ink), 5px 6px 0 0 var(--ink); font-size: clamp(1.7rem, 1.2rem + 2vw, 3.1rem); }
.mm__right { position: absolute; right: 6%; top: -5%; font-family: var(--mono); font-weight: 500; text-transform: uppercase; letter-spacing: .14em; font-size: .9rem; border: 2px solid var(--red); color: var(--red); padding: .4em .8em; border-radius: 4px; rotate: 9deg; background: #fffdf7; --s: clamp(0, calc((var(--p) - .82) * 14), 1); scale: calc(2 - var(--s)); opacity: var(--s); }

@media (max-width: 860px) {
  .mm__grid { grid-template-columns: 1fr; gap: 1.2rem; }
  .mm__txt p:not(.label):nth-of-type(n+3), .mm__hint { display: none; }
  .mm__txt p:not(.label) { font-size: .98rem; margin-top: .7em; }
  .tvset { width: min(100%, calc(37svh * 1.44)); margin-bottom: 1.4rem; }
  .tvset::before, .tvset::after { height: 1.2rem; width: .6rem; }
  .mm__grid { align-content: center; }
}

/* ════ Zwischenspiel · Fotoalbum ══════════════════════════ */
.album { background: var(--paper-2); color: var(--ink); padding: clamp(4.5rem, 14svh, 9rem) 0 clamp(5rem, 16svh, 10rem); overflow: hidden; }
.album__row { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: clamp(.8rem, 1.6vw, 1.6rem); padding: clamp(2.5rem, 6vw, 4.5rem) var(--pad) 0; width: min(100%, 100rem); margin-inline: auto; align-items: start; }
.album__row .print { translate: 0 var(--dy, 0); width: auto; transition: rotate .4s var(--ease), translate .4s var(--ease), scale .4s var(--ease); }
.album__row .print:hover { rotate: 0deg; scale: 1.06; z-index: 2; }
.album__row img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 20%; }
@media (max-width: 900px) {
  .album__row { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 2.5rem; scrollbar-width: none; }
  .album__row::-webkit-scrollbar { display: none; }
  .album__row .print { flex: 0 0 58vw; scroll-snap-align: center; }
}

/* ════ Kapitel 3 · Die Nacht ═════════════════════════════════════ */
.night { height: 640vh; height: 640svh; }
.night .sticky { background: #06060b; }
.night__room { position: absolute; inset: 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); gap: clamp(1.5rem, 5vw, 5rem); align-items: center; padding: var(--osd-h) var(--pad) 2rem;
  opacity: calc(1 - clamp(0, calc((var(--p) - .5) / .06), 1)); }
.night__lamp { position: absolute; right: -10%; top: -30%; width: 90vmax; height: 90vmax; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(255, 190, 110, .26) 0, rgba(255, 170, 80, .1) 30%, transparent 62%); opacity: clamp(.25, calc(var(--p) / .1), 1); }
.night__txt { position: relative; }
.night__txt .chap__t { font-size: clamp(2.2rem, 1rem + 4.8vw, 5.4rem); margin-bottom: .5em; }
.nl { max-width: 30rem; margin-top: .9em; --a: clamp(0, calc((var(--p) - var(--t)) / .05), 1); opacity: calc(.12 + var(--a) * .88); transform: translateY(calc((1 - var(--a)) * .8rem)); }
.nl--1 { --t: .02; } .nl--2 { --t: .12; } .nl--3 { --t: .36; }

.note { position: relative; justify-self: center; width: min(100%, 31rem); rotate: 2.5deg; }
.note__sheet { position: relative; background: #fbf5e3; color: #23307a; padding: clamp(1.4rem, 3vw, 2.4rem); min-height: clamp(16rem, 48svh, 26rem); border-radius: 2px; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .8), 0 0 0 1px rgba(0, 0, 0, .1);
  background-image: repeating-linear-gradient(transparent 0 2.34rem, rgba(60, 90, 180, .18) 2.34rem calc(2.34rem + 1px)); background-position: 0 1rem; }
.note__ring { position: absolute; right: 8%; bottom: 7%; width: 5.4rem; height: 5.4rem; border-radius: 50%; border: .34rem solid rgba(120, 20, 40, .28); filter: blur(.6px); opacity: clamp(0, calc((var(--p) - .11) / .05), 1); border-left-color: rgba(120, 20, 40, .12); }
.hw { font-family: var(--hand); font-size: clamp(1.4rem, 1.1rem + 1vw, 1.95rem); line-height: 2.34rem; font-weight: 500; --a: clamp(0, calc((var(--p) - var(--t)) / .055), 1); clip-path: inset(-10% calc((1 - var(--a)) * 100%) -10% 0); }
.hw--1 { --t: .15; font-weight: 700; } .hw--2 { --t: .21; } .hw--3 { --t: .26; } .hw--4 { --t: .31; }
.hw--5 { --t: .385; font-weight: 700; font-size: clamp(1.7rem, 1.3rem + 1.4vw, 2.5rem); margin-top: 1.17rem; color: #b3202f; }
.hw u { text-decoration-style: double; text-underline-offset: .12em; }
/* Mit jedem Glas wird die Schrift etwas schwungvoller */
.hw { transform-origin: 0 60%; }
.hw--3 { rotate: -1.1deg; } .hw--4 { rotate: 1.5deg; } .hw--5 { rotate: -2.6deg; }
.note__ring--2 { right: 27%; bottom: 3%; opacity: clamp(0, calc((var(--p) - .22) / .05), 1); border-left-color: rgba(120, 20, 40, .28); border-top-color: rgba(120, 20, 40, .12); }
.note__ring--3 { right: 15%; bottom: 21%; opacity: clamp(0, calc((var(--p) - .32) / .05), 1); border-left-color: rgba(120, 20, 40, .28); border-bottom-color: rgba(120, 20, 40, .1); }

/* Die Flasche Rotwein: Erst wird der Korken gezogen (--k1) und fliegt davon (--k2), dann sinkt der Pegel
   über die Nacht, das Glas wird dreimal gefüllt und geleert.
   Wenn der Titel auf dem Zettel steht, ist die Flasche leer und kippt um. */
.wine { position: absolute; right: clamp(.4rem, 3.5vw, 3.5rem); bottom: 8svh; display: flex; align-items: flex-end; gap: 1.2svh; pointer-events: none;
  --k1: clamp(0, calc((var(--p) - .055) / .035), 1); --k2: clamp(0, calc((var(--p) - .09) / .03), 1);
  --w: clamp(0, calc((var(--p) - .1) / .32), 1); --c: mod(calc(var(--w) * 3), 1); --tip0: clamp(0, calc((var(--p) - .43) / .04), 1); --tip: calc(var(--tip0) * var(--tip0));
  opacity: clamp(0, calc(var(--p) / .05), 1); filter: drop-shadow(0 1.4svh 1.6svh rgba(0, 0, 0, .65)); }
.wine svg { max-width: none; width: auto; overflow: visible; }
.wine__bottle { height: 31svh; transform-origin: 20% 100%; transform: rotate(calc(var(--tip) * -90deg)) translateY(calc(var(--tip) * -3%)); }
.wine__glass { height: 14svh; }
.wine__glassfill { fill: rgba(150, 200, 160, .2); }
.wine__o { fill: none; stroke: var(--paper); stroke-width: 2.6; stroke-linejoin: round; stroke-linecap: round; }
.wine__cap { fill: #6a2330; stroke: var(--paper); stroke-width: 2.2; }
.wine__cork { fill: #d8b684; stroke: #8a6a3c; stroke-width: 1.4; transform-box: fill-box; transform-origin: 50% 50%; opacity: calc(1 - var(--k2) * var(--k2));
  transform: translate(calc(var(--k2) * 44px), calc(var(--k1) * -27px - var(--k2) * 62px + var(--k2) * var(--k2) * 30px)) rotate(calc(sin(var(--k1) * 18) * (1 - var(--k1)) * 5deg + var(--k2) * 210deg)); }
.wine text.wine__plopp { font-family: var(--hand); font-weight: 700; font-size: 21px; letter-spacing: 0; fill: var(--red); stroke: #fffdf7; stroke-width: 3.5; stroke-linejoin: round; paint-order: stroke; transform-box: fill-box; transform-origin: 0 100%; rotate: -10deg;
  opacity: calc(clamp(0, calc((var(--p) - .088) / .008), 1) * (1 - clamp(0, calc((var(--p) - .115) / .04), 1))); }
.wine text { font-family: var(--mono); font-size: 11px; font-weight: 500; fill: var(--ink); letter-spacing: .04em; }
.wine text.wine__name { font-family: var(--serif); font-style: italic; font-weight: 800; font-size: 9.6px; letter-spacing: 0; }
.wine__lvl { fill: #8d1029; transform-box: fill-box; transform-origin: 50% 100%; }
.wine__lvl--b { transform: scaleY(calc(1 - var(--w) * .97)); }
.wine__lvl--g { transform: scaleY(calc(min(var(--c) * 7, 1) * (1 - var(--c) * .93))); }
.note figcaption { font-family: var(--mono); font-size: .68rem; letter-spacing: .08em; color: rgba(245, 237, 221, .45); margin-top: 1rem; text-align: right; opacity: clamp(0, calc((var(--p) - .4) / .05), 1); }

.night__carrell { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; padding: var(--pad); gap: 1.6rem; pointer-events: none;
  --a: clamp(0, calc((var(--p) - .54) / .06), 1); opacity: calc(var(--a) * (1 - clamp(0, calc((var(--p) - .67) / .07), 1))); }
.night__carrell p { font-size: clamp(2.8rem, 1rem + 9vw, 10rem); font-style: italic; font-weight: 300; font-variation-settings: "SOFT" 0, "WONK" 0; letter-spacing: -.03em; line-height: .98; max-width: 11ch; color: rgba(245, 237, 221, .92); scale: calc(.92 + var(--a) * .08); }
.night__carrell footer { font-family: var(--mono); font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; color: rgba(245, 237, 221, .6); }

.night__reveal { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; padding: var(--osd-h) var(--pad) 2rem; gap: clamp(.6rem, 2.2svh, 1.6rem);
  --o: clamp(0, calc((var(--p) - .66) / .14), 1); clip-path: circle(calc(var(--o) * var(--o) * 125vmax) at 50% 50%); }
.night__reveal .label::before { display: none; }
.night__title { font-size: clamp(3.4rem, 15.5vw, 17rem); line-height: .86; letter-spacing: -.05em; white-space: nowrap; scale: calc(.7 + var(--o) * .3); }
.night__after { font-family: var(--hand); font-weight: 700; font-size: clamp(1.5rem, 1.1rem + 1.8vw, 2.9rem); line-height: 1; rotate: -2deg; --a: clamp(0, calc((var(--p) - .8) / .05), 1); opacity: var(--a); }
.night__stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 3vw, 3rem); width: min(100%, 68rem); margin-top: clamp(.8rem, 4svh, 3rem); text-align: left; }
.night__stats li { border-top: 2px solid var(--ink); padding-top: .8rem; --a: clamp(0, calc((var(--p) - var(--t)) / .05), 1); opacity: var(--a); transform: translateY(calc((1 - var(--a)) * 1.5rem)); }
.night__stats li:nth-child(1) { --t: .84; } .night__stats li:nth-child(2) { --t: .88; } .night__stats li:nth-child(3) { --t: .92; }
.night__stats b { display: block; font-size: clamp(1.9rem, 1rem + 3.4vw, 4.2rem); white-space: nowrap; }
.night__stats span { display: block; font-size: .92rem; line-height: 1.35; margin-top: .45rem; max-width: 17rem; }

@media (max-width: 860px) {
  .night__room { grid-template-columns: 1fr; align-content: center; gap: 1.2rem; }
  .nl { font-size: .98rem; margin-top: .6em; }
  .note { width: min(88%, 22rem); }
  .note__sheet { min-height: 0; padding: 1.1rem 1.2rem 1.4rem; background-size: auto 2rem; background-image: repeating-linear-gradient(transparent 0 2rem, rgba(60, 90, 180, .18) 2rem calc(2rem + 1px)); }
  .hw { line-height: 2rem; font-size: 1.28rem; }
  .hw--5 { font-size: 1.6rem; margin-top: 0; }
  .note__ring { width: 3.6rem; height: 3.6rem; }
  .wine { right: .3rem; bottom: 10svh; gap: .6svh; }
  .wine__bottle { height: 20svh; }
  .wine__glass { height: 9svh; }
  .night__stats { grid-template-columns: 1fr; gap: .7rem; }
  .night__stats li { padding-top: .5rem; }
  .night__stats span { margin: .15rem 0 0; max-width: none; }
  .night__stats b { font-size: 2rem; }
  .night__title { font-size: 12.6vw; }
  .night__reveal { gap: .5rem; }
}

/* ── Regenbogenkreis mit Foto, wie im Hero ─────────────────── */
.rbow { position: relative; aspect-ratio: 1; margin: 0; }
.rbow > i, .rbow__disc { position: absolute; left: 50%; top: 50%; width: calc(var(--r) * 100%); aspect-ratio: 1; translate: -50% -50%; border-radius: 50%; }
.rbow > i { background: var(--col); }
.rbow > i:nth-child(1) { --r: 1; --col: #6a2330; --n: 0; }
.rbow > i:nth-child(2) { --r: .89; --col: var(--red); --n: 1; }
.rbow > i:nth-child(3) { --r: .78; --col: #f58220; --n: 2; }
.rbow > i:nth-child(4) { --r: .67; --col: var(--paper); --n: 3; }
.rbow__disc { --r: .635; --n: 4.6; overflow: hidden; background: #000; }
.rbow__disc img { width: 100%; height: 100%; object-fit: cover; }
.rbow figcaption { position: absolute; left: 50%; top: 100%; translate: -50% .5rem; width: max-content; max-width: 100%; text-align: center; font-family: var(--hand); font-weight: 700; font-size: clamp(1.35rem, 1rem + .8vw, 1.9rem); line-height: 1.1; rotate: -2deg; }
/* Ringe springen nacheinander auf, sobald der Kreis ins Bild kommt */
.js .rbow.rv > i, .js .rbow.rv > .rbow__disc { scale: 0; }
.js .rbow.rv.in > i, .js .rbow.rv.in > .rbow__disc { animation: bow 1.1s cubic-bezier(.2, 1.25, .3, 1) forwards; animation-delay: calc(.15s + var(--n) * .12s); }

/* ── Die Wette: Lastwagen auf vier Biergläsern ─────────────
   Erst »Die Stars waren die Leute von nebenan« mit Regenbogenkreis (--p 0–.2),
   dann geht der Text in die Wette über. Ab --p .2 läuft --q von 0 bis 1 und steuert die Wette:
   .02–.14 Krüge erscheinen · .12–.56 der Kran senkt ab · .56–.66 Zentimeterarbeit
   .66 Aufsetzen · .72–.88 der Kran fährt hoch · ab .78 Stempel
   Beim Aufsetzen misst main.js das Scrolltempo und setzt .is-held oder .is-broken. */
.lkw { height: 470vh; height: 470svh; }
.lkw .sticky { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); background: var(--gold);
  --q: clamp(0, calc((var(--p) - .2) / .8), 1);
  --ta: clamp(0, calc((var(--p) - .09) / .05), 1); --tb: clamp(0, calc((var(--p) - .15) / .05), 1);
  --a0: clamp(0, calc((var(--q) - .12) / .44), 1); --a: calc(1 - (1 - var(--a0)) * (1 - var(--a0)));
  --b: clamp(0, calc((var(--q) - .56) / .1), 1);
  --d: calc(var(--a) * .95 + var(--b) * .05);
  --sq: clamp(0, calc((var(--q) - .66) / .02), 1);
  --up0: clamp(0, calc((var(--q) - .72) / .16), 1); --up: calc(var(--up0) * var(--up0));
  --win: clamp(0, calc((var(--q) - .78) / .035), 1); }
.lkw__txt { display: grid; align-self: center; padding: var(--osd-h) 0 0 max(var(--pad), calc((100vw - 86rem) / 2 + var(--pad))); max-width: 40rem; position: relative; z-index: 2; }
.lkw__t { font-size: clamp(2rem, 1rem + 3.3vw, 4.4rem); margin: .4em 0 .55em; }
.lkw__p { max-width: 30rem; }
.lkw__hint { font-family: var(--hand); font-weight: 700; font-size: clamp(1.4rem, 1rem + .8vw, 2rem); line-height: 1.1; rotate: -2deg; margin-top: 1.1em; transform-origin: 0 50%; }
.lkw__a, .lkw__b { grid-area: 1 / 1; align-self: center; }
.lkw__a { opacity: calc(1 - var(--ta)); translate: 0 calc(var(--ta) * -2.5rem); }
.lkw__b { opacity: var(--tb); translate: 0 calc((1 - var(--tb)) * 2.5rem); }
.lkw__stage { position: relative; overflow: hidden; container-type: size; }
/* Regenbogen mit Foto: schließt sich von innen nach außen und macht der Wette Platz */
.lkw__bow { position: absolute; left: 50%; top: 52%; width: min(80cqw, 76cqh); translate: -50% -50%; }
.lkw__bow > i, .lkw__bow > .rbow__disc { scale: calc(1 - var(--c)); --c0: clamp(0, calc((var(--p) - .07 - (4.6 - var(--n)) * .014) / .07), 1); --c: calc(var(--c0) * var(--c0) * (3 - 2 * var(--c0))); }
.lkw__bow figcaption { opacity: calc(1 - var(--ta)); }
.lkw__floor { opacity: clamp(0, calc((var(--p) - .16) / .04), 1); }
.lkw__rig { position: absolute; left: 50%; bottom: 11cqh; width: min(96cqw, 128cqh); aspect-ratio: 900 / 560; translate: -50% 0; }
.lkw__svg { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; overflow: visible; }
.lkw__hang { position: absolute; inset: 0; transform-origin: 50% -260%;
  transform: translateY(calc((1 - var(--d)) * -118cqh)) rotate(calc(sin(var(--q) * 58) * (1 - var(--a0)) * .55deg)); }
.lkw__crane { translate: 0 calc(var(--up) * -130cqh); }
.lkw-body { transform: translateY(calc(var(--sq) * 7px)); }
.lkw-wheel { transform-box: fill-box; transform-origin: 50% 100%; transform: scale(calc(1 + var(--sq) * .035), calc(1 - var(--sq) * .05)); }
.lkw-t1 { font-family: var(--mono); font-weight: 500; font-size: 27px; letter-spacing: .34em; text-transform: uppercase; fill: var(--ink); }
.lkw-t2 { font-family: var(--serif); font-style: italic; font-weight: 900; font-size: 58px; letter-spacing: -.02em; fill: var(--ink); }
.lkw-shadow { fill: var(--ink); opacity: calc(var(--d) * var(--d) * .2); }
.lkw-glass { --s: clamp(0, calc((var(--q) - var(--t)) / .03), 1); transform: scale(calc(var(--s) * (1.25 - var(--s) * .25))); opacity: clamp(0, calc(var(--s) * 4), 1); }
.lkw-foam { transform-box: fill-box; transform-origin: 50% 100%; transform: scale(calc(1 + var(--sq) * .1), calc(1 + var(--sq) * .5)); }
/* Zurufe aus dem Saal */
.lkw__say { position: absolute; font-family: var(--hand); font-weight: 700; font-size: clamp(1.3rem, 3.6cqw, 2.3rem); line-height: 1; white-space: nowrap; background: var(--ink); color: var(--paper); padding: .35em .75em .4em; border-radius: 99px; pointer-events: none; z-index: 2;
  --s: min(clamp(0, calc((var(--q) - var(--t0)) * 22), 1), clamp(0, calc((var(--t1) - var(--q)) * 22), 1)); opacity: var(--s); scale: calc(.6 + var(--s) * .4); }
.lkw__say--0 { --t0: .015; --t1: .15; left: 30%; top: 56%; rotate: -4deg; background: var(--paper); color: var(--ink); box-shadow: 0 0 0 2.5px var(--ink), 5px 6px 0 0 var(--ink); }
.lkw__say--1 { --t0: .3; --t1: .47; left: 2%; top: -16%; rotate: -6deg; }
.lkw__say--2 { --t0: .47; --t1: .6; right: 2%; top: -18%; rotate: 4deg; }
.lkw__say--3 { --t0: .6; --t1: .74; left: 6%; top: -4%; rotate: -3deg; }
.lkw__stamp { position: absolute; left: 50%; top: -13%; translate: -50% 0; visibility: hidden; font-family: var(--mono); font-weight: 500; text-transform: uppercase; letter-spacing: .14em; font-size: clamp(1.3rem, 5cqw, 3rem); line-height: 1; white-space: nowrap; color: var(--red); background: #fffdf7; border: .13em solid var(--red); border-radius: .2em; padding: .35em .6em; rotate: -6deg; z-index: 3; pointer-events: none;
  scale: 2.4; opacity: 0; box-shadow: 6px 8px 0 0 rgba(21, 19, 28, .85); }
.lkw.is-held .lkw__stamp--ok { visibility: visible; scale: calc(2.4 - var(--win) * 1.4); opacity: var(--win); }

/* Zu schnell abgesenkt: Die Krüge platzen, der Lastwagen kracht auf den Boden */
.lkw-all { transition: transform .3s var(--ease); }
.lkw.is-broken .lkw-all { transform: translateY(90px); transition: transform .16s cubic-bezier(.6, 0, 1, .7); }
.lkw-glass { transition: opacity .2s; }
.lkw.is-broken .lkw-glass { opacity: 0; transition: none; }
/* … und dann platzen dem Lastwagen auch noch die Reifen: erst links, dann rechts */
.lkw-flat { opacity: 0; }
.lkw.is-broken .lkw-wheel { transform: none; }
.lkw.is-broken .lkw-round { opacity: 0; transition: opacity 0s var(--bd, .5s); }
.lkw.is-broken .lkw-flat { opacity: 1; transition: opacity 0s var(--bd, .5s); }
.lkw.is-broken .lkw-hub { transform: translateY(16px); transition: transform .16s var(--bd, .5s) cubic-bezier(.3, 1.7, .5, 1); }
.lkw.is-broken .lkw-body { transform: translateY(16px); animation: lkwsag 1.4s both; transform-origin: 440px 400px; }
@keyframes lkwsag { 0%, 35% { transform: none; } 39%, 77% { transform: translateY(8px) rotate(-2.2deg); } 82%, 100% { transform: translateY(16px); } }
.lkw-peng { opacity: 0; }
.lkw-peng path { fill: var(--gold); stroke: var(--ink); stroke-width: 4.5; stroke-linejoin: round; }
.lkw-peng text { font-family: var(--serif); font-weight: 900; font-style: italic; font-size: 40px; letter-spacing: -.02em; fill: var(--red); stroke: var(--ink); stroke-width: 1.5; paint-order: stroke; }
.lkw.is-broken .lkw-peng { animation: lkwpeng 1.7s var(--bd, .5s) both; }
@keyframes lkwpeng { 0% { opacity: 0; transform: scale(.2) rotate(-14deg); } 9% { opacity: 1; transform: scale(1.2) rotate(4deg); } 16% { transform: scale(1) rotate(0deg); } 78% { opacity: 1; transform: scale(1); } 100% { opacity: 0; transform: scale(1.08); } }
.lkw.is-broken .lkw__rig { animation: lkwquake .5s .14s both; }
@keyframes lkwquake { 0% { transform: translate(0, 0); } 15% { transform: translate(-7px, 9px); } 30% { transform: translate(8px, -5px); } 48% { transform: translate(-6px, 4px); } 66% { transform: translate(4px, -2px); } 84% { transform: translate(-2px, 1px); } 100% { transform: translate(0, 0); } }
.lkw-piece { fill: #fdf6e3; stroke: var(--ink); stroke-width: 3.5; stroke-linejoin: round; }
.lkw-blob { fill: #fffdf7; stroke: var(--ink); stroke-width: 2.5; }
.lkw-puddle { fill: #d9780a; stroke: var(--ink); stroke-width: 3; transform-box: fill-box; transform-origin: 50% 50%; transform: scale(0); }
.lkw-piece, .lkw-blob { transform-box: fill-box; transform-origin: 50% 50%; opacity: 0; transform: translate(var(--fx), var(--fy)) rotate(var(--fr, 0deg)) scale(.5); }
.lkw.is-broken .lkw-piece, .lkw.is-broken .lkw-blob { opacity: 1; transform: none; transition: transform .5s .12s cubic-bezier(.15, .9, .3, 1.25), opacity .1s .12s; }
.lkw.is-broken .lkw-puddle { transform: scale(1); transition: transform .9s .2s var(--ease); }
.lkw.is-broken .lkw-shadow { opacity: .22; }
.lkw.is-broken .lkw__stamp--no { visibility: visible; opacity: 1; scale: 1; transition: opacity .12s .34s, scale .28s .34s cubic-bezier(.2, 1.7, .4, 1); }
.lkw.is-broken .lkw__say { opacity: 0; }
.lkw__again { position: absolute; left: 50%; top: 9%; translate: -50% 0; z-index: 4; font-family: var(--hand); font-weight: 700; font-size: clamp(1.3rem, 3.4cqw, 2rem); line-height: 1; white-space: nowrap; color: var(--ink); background: var(--paper); border: 2.5px solid var(--ink); border-radius: 99px; padding: .35em .9em .4em; box-shadow: 5px 6px 0 0 var(--ink); rotate: 2deg; cursor: pointer;
  opacity: 0; visibility: hidden; scale: .6; transition: opacity .2s, scale .3s cubic-bezier(.2, 1.4, .3, 1), visibility 0s .3s, box-shadow .2s; }
.lkw.is-broken .lkw__again { opacity: 1; visibility: visible; scale: 1; transition-delay: .9s, .9s, .9s, 0s; }
.lkw__again:hover { box-shadow: 7px 8px 0 0 var(--ink); }
.lkw__again:active { box-shadow: 2px 2px 0 0 var(--ink); }
@media (max-aspect-ratio: 1/1), (max-width: 760px) {
  .lkw .sticky { grid-template-columns: 1fr; grid-template-rows: auto minmax(0, 1fr); }
  .lkw__txt { align-self: start; max-width: none; padding: calc(var(--osd-h) + 1.5svh) var(--pad) 0; }
  .lkw__a, .lkw__b { align-self: start; }
  .lkw__bow { top: 46%; width: min(86cqw, 66cqh); }
  .lkw__t { font-size: clamp(1.75rem, 7.4vw, 3rem); margin: .35em 0 .4em; }
  .lkw__b .lkw__p { display: none; }
  .lkw__hint { margin-top: 0; font-size: 1.35rem; }
  /* Der Lkw steht tiefer, seit die schwebende Leiste unten weg ist. Oben bleibt so Platz für die Zurufe,
     die sonst am Rand der Bühne abgeschnitten wurden. */
  .lkw__rig { bottom: calc(2.6rem + 2cqh); width: min(98cqw, 150cqh); }
  .lkw__say--1 { top: -30%; } .lkw__say--2 { top: -34%; } .lkw__say--3 { top: -12%; left: 3%; }
  .lkw__stamp { top: -22%; }
  .lkw__again { top: 12%; }
}

/* ── Nachklapp: Wetten, dass..? ────────────────────────────── */
.wd { padding: clamp(2rem, 6svh, 5rem) 0 clamp(5rem, 16svh, 10rem); }
.wd__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: center; gap: clamp(2.5rem, 7vw, 7rem) clamp(2rem, 5vw, 5rem); }
.wd h3 { font-size: clamp(1.7rem, 1.2rem + 1.9vw, 3rem); margin-bottom: .6em; }
.wd__col p + p { margin-top: 1em; }
.wd__quote { grid-column: 1 / -1; border-block: 2px solid var(--ink); padding: clamp(1.8rem, 5vw, 4rem) 0; }
.wd__quote p { font-size: clamp(1.9rem, 1rem + 4.2vw, 5.2rem); font-weight: 600; font-style: italic; line-height: 1.02; }
.wd__quote footer, .listen__q footer { font-family: var(--mono); font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; margin-top: 1.4rem; }
.wd__bow { width: min(100%, 27rem); justify-self: center; margin-bottom: 2.6rem; }
/* Saalwetten-Karte */
.wd__card { margin: 0; justify-self: center; rotate: var(--rot, 0deg); }
.wd__card img { display: block; width: min(100%, 27rem); height: auto; border-radius: 3px; box-shadow: 0 0 0 1px rgba(21, 19, 28, .1), 10px 18px 36px -12px rgba(60, 20, 0, .6); }
.wd__card figcaption { font-family: var(--hand); font-weight: 600; font-size: 1.3rem; line-height: 1.1; letter-spacing: 0; opacity: 1; max-width: 27rem; margin-top: .9rem; }
@media (max-width: 760px) { .wd__grid { grid-template-columns: 1fr; } .wd__card img { width: 78vw; } .wd__bow { width: min(82vw, 24rem); } }

/* ════ Kapitel 4 · Das Programm ══════════════════════════════════
   Zappen: Ein Bildschirm, 16 Programme. Scrollen schaltet weiter, die Fernbedienung springt direkt.
   main.js setzt .is-on auf den laufenden Sender und die passende Taste. */
.prog { height: calc(100vh + 18 * 44vh); height: calc(100svh + 18 * 44svh); }
/* overflow: clip statt hidden, damit sich der Ausschnitt nicht verschieben lässt (die Strahlen sind viel größer als das Fenster) */
.prog .sticky { height: 100lvh; /* wie beim Startbild: die Strahlen sollen auch unter der eingeklappten Handy-Leiste weiterlaufen */ display: flex; flex-direction: column; gap: clamp(.8rem, 3svh, 2.2rem); overflow: clip; }
/* Hintergrund: Ton in Ton laufen Strahlen von unten herauf und drehen sich beim Scrollen langsam mit */
.prog .sticky::before { content: ""; position: absolute; left: 50%; top: 112%; width: 300vmax; height: 300vmax; translate: -50% -50%; rotate: calc(var(--p) * 36deg); pointer-events: none;
  background: repeating-conic-gradient(from 0deg, rgba(120, 10, 0, .13) 0 5deg, transparent 5deg 12deg);
  -webkit-mask-image: radial-gradient(circle, #000 0, #000 22%, transparent 46%); mask-image: radial-gradient(circle, #000 0, #000 22%, transparent 46%); }
.prog .chap, .zap { position: relative; z-index: 1; }
.prog .chap__t { font-size: clamp(2.2rem, 1rem + 5.4vw, max(6rem, 7.2svh)); }
@media (min-width: 1500px) { .prog .chap__t { white-space: nowrap; } }

/* Bühne: --sh ist die Bildschirmhöhe, --u ein Hundertstel davon. Alles hängt an dieser einen Größe. */
.zap { flex: 1; min-height: 0; container-type: size; margin: 0 var(--pad) clamp(1.4rem, 5svh, 3.4rem); }
/* --sh ist die Höhe des Bildes, --u ein Hundertstel der Gerätehöhe samt Fuß */
.zap__in { --box: min(100cqh - .6rem, 61cqw, 70rem); --u: calc(var(--box) / 100); --sh: calc(var(--u) * 77); height: 100%; display: flex; align-items: center; justify-content: center; gap: calc(var(--u) * 9); }

/* Fernseher der Achtziger: anthrazitfarbenes Kunststoffgehäuse, silberner Rahmen um die gewölbte Röhre,
   darunter Lautsprecher, Programmtasten und eine rote Leuchtanzeige mit der Programmnummer */
.zap__tv { position: relative; flex: none; display: grid; gap: calc(var(--u) * 2.6); padding: calc(var(--u) * 3.4) calc(var(--u) * 3.4) calc(var(--u) * 2.6); margin-bottom: calc(var(--u) * 4); rotate: -1deg;
  border: 2.5px solid var(--ink); border-radius: calc(var(--u) * 3.4);
  background: linear-gradient(100deg, rgba(255, 255, 255, .08) 0 3.5%, transparent 4%), linear-gradient(#383540, #201e26 58%, #15131c);
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, .18), inset 0 calc(var(--u) * -2) calc(var(--u) * 4) rgba(0, 0, 0, .5), 0 calc(var(--u) * 5) calc(var(--u) * 9) calc(var(--u) * -3) rgba(70, 8, 0, .7); }
/* Standfuß */
.zap__tv::after { content: ""; position: absolute; top: calc(100% + 2px); left: 24%; right: 24%; height: calc(var(--u) * 4); border: 2.5px solid var(--ink); border-top: 0; border-radius: 0 0 calc(var(--u) * 2) calc(var(--u) * 2); background: linear-gradient(#0e0d12, #2a2731); }
.zap__screen { position: relative; width: calc(var(--sh) * 4 / 3); height: var(--sh); container-type: inline-size; overflow: hidden; background: #0b0a0f;
  border-radius: 9% / 11.5%;
  box-shadow: 0 0 0 calc(var(--u) * .5) #0a090d, 0 0 0 calc(var(--u) * 1.9) #8a8792, 0 0 0 calc(var(--u) * 2.15) #c9c6cf, 0 0 0 calc(var(--u) * 2.15 + 2px) #0a090d; }
/* Glas: Zeilen, Lichtreflex, Wölbung mit dunklen Ecken */
.zap__screen::after { content: ""; position: absolute; inset: 0; z-index: 5; pointer-events: none; border-radius: inherit;
  background: radial-gradient(120% 90% at 28% 12%, rgba(255, 255, 255, .16), transparent 42%), linear-gradient(116deg, rgba(255, 255, 255, .14) 0 8%, rgba(255, 255, 255, .03) 8.5% 13%, transparent 13.5%), repeating-linear-gradient(rgba(0, 0, 0, .13) 0 1px, transparent 1px 3px);
  box-shadow: inset 0 0 11cqw rgba(0, 0, 0, .7), inset 0 0 2.2cqw rgba(0, 0, 0, .65); }
.zap__panel { display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto auto; align-items: center; gap: calc(var(--u) * 2.6); height: calc(var(--u) * 9.4); padding: 0 calc(var(--u) * 1.4); }
.zap__brand { font-family: var(--serif); font-style: italic; font-weight: 700; font-size: max(.6rem, calc(var(--u) * 3.3)); line-height: 1; color: #d7d4dc; white-space: nowrap; }
.zap__brand small { font: 500 max(.38rem, calc(var(--u) * 1.5)) / 1 var(--mono); font-style: normal; letter-spacing: .2em; text-transform: uppercase; color: #8f8c97; margin-left: .6em; }
.zap__grille { height: 62%; border-radius: calc(var(--u) * 1); border: 2px solid #0a090d; background: repeating-linear-gradient(90deg, #0a090d 0 calc(var(--u) * .5), #4a4753 calc(var(--u) * .5) calc(var(--u) * 1)); }
.zap__prg { display: grid; grid-template-columns: repeat(4, calc(var(--u) * 2.3)); gap: calc(var(--u) * .7); }
.zap__prg i { height: calc(var(--u) * 1.5); border-radius: calc(var(--u) * .35); border: 1.5px solid #0a090d; background: linear-gradient(#c9c6cf, #7d7a85); }
.zap__led { min-width: 2.3ch; text-align: center; font: 500 max(.62rem, calc(var(--u) * 4)) / 1 var(--mono); letter-spacing: .06em; color: #ff5a3a; text-shadow: 0 0 .35em rgba(255, 90, 58, .9); background: #0a0608; border: 2px solid #0a090d; border-radius: calc(var(--u) * .8); padding: .28em .4em .22em; box-shadow: inset 0 0 calc(var(--u) * 1.4) rgba(255, 60, 30, .22); }
.zap__pwr { width: calc(var(--u) * 1.7); aspect-ratio: 1; border-radius: 50%; background: #5dff7b; box-shadow: 0 0 0 1.5px #0a090d, 0 0 calc(var(--u) * 1.6) rgba(93, 255, 123, .85); }
.prog.is-off .zap__led { color: #3d0f0a; text-shadow: none; box-shadow: none; }
.prog.is-off .zap__pwr { background: #ff4a2a; box-shadow: 0 0 0 1.5px #0a090d, 0 0 calc(var(--u) * 1.6) rgba(255, 74, 42, .85); }

.chan { position: absolute; inset: 0; opacity: 0; pointer-events: none; color: #fffdf7; }
.chan.is-on { opacity: 1; }
.chan img { width: 100%; height: 100%; object-fit: cover; }
/* Querformat-Plakat: mit schwarzen Balken, wie Breitbild auf einem alten Fernseher */
.chan--lb img { object-fit: contain; object-position: 50% 0; }
/* Senderkennung oben links */
.chan__bug { position: absolute; left: 5cqw; top: 4.4cqw; font: 500 max(.58rem, 1.7cqw) / 1 var(--mono); letter-spacing: .18em; text-transform: uppercase; text-shadow: 0 1px 3px rgba(0, 0, 0, .9), 0 0 10px rgba(0, 0, 0, .6); opacity: .9; }
/* Bauchbinde: Jahr als Reiter, darunter Titel und ein Satz */
.chan__bb { position: absolute; left: 5cqw; bottom: 5.4cqw; max-width: 70cqw; background: var(--paper); color: var(--ink); padding: 1.7cqw 2.6cqw 2cqw; border-radius: 0 3px 3px 3px; box-shadow: 0 .8cqw 2.2cqw rgba(0, 0, 0, .5); }
.chan--hi .chan__bb { background: var(--gold); }
/* Bauchbinde oben links, wenn unten das Motiv sitzt */
.chan--bbt .chan__bb, .chan--bbtw .chan__bb { bottom: auto; top: 13.5cqw; max-width: 35cqw; }
.chan__y { position: absolute; left: 0; bottom: 100%; background: var(--ink); color: var(--paper); font: 500 max(.56rem, 1.5cqw) / 1 var(--mono); letter-spacing: .12em; padding: .55em .9em .5em; border-radius: 3px 3px 0 0; white-space: nowrap; }
.chan__bb h3 { font-size: max(1.2rem, 4.5cqw); line-height: 1; hyphens: manual; }
.chan__bb h3 + p { font-size: max(.78rem, 1.8cqw); line-height: 1.35; margin-top: .45em; max-width: 44ch; }
/* Quellenlink im Kasten: nur beim laufenden Sender anklickbar */
.chan__bb a { font-weight: 600; text-underline-offset: .15em; }
.chan.is-on .chan__bb a { pointer-events: auto; }
.chan.is-on .chan__bb { animation: bbin .5s .16s cubic-bezier(.2, .9, .3, 1.2) both; }
@keyframes bbin { from { translate: -8cqw 0; opacity: 0; } }
/* Kein Foto vorhanden: Testbild */
.chan__test { position: absolute; inset: 0; display: grid; place-items: center;
  background: linear-gradient(90deg, #15131c 0 12.5%, #37343f 0 25%, #57545e 0 37.5%, #77747d 0 50%, #99969d 0 62.5%, #bbb8bd 0 75%, #dddbdc 0 87.5%, #fffdf7 0) 0 100% / 100% 22% no-repeat,
    linear-gradient(90deg, #f1ecdf 0 12.5%, #f0c93a 0 25%, #37b9c4 0 37.5%, #3fae5c 0 50%, #c2529f 0 62.5%, #e04a2f 0 75%, #2c4fb5 0 87.5%, #15131c 0); }
.chan__test span { margin-bottom: 12cqw; background: var(--ink); color: #fffdf7; font: 500 max(.6rem, 2.1cqw) / 1 var(--mono); letter-spacing: .24em; text-transform: uppercase; padding: 1.1em 1.6em 1em; }
.chan__test p { margin-bottom: 8cqw; max-width: 78%; background: var(--ink); color: #fffdf7; font-size: max(1.3rem, 6.4cqw); font-style: italic; font-weight: 500; line-height: 1.05; text-align: center; padding: .45em .7em .55em; }

/* Umschalten: kurzes Rauschen, das neue Bild rollt einmal durch */
.zap__noise { position: absolute; inset: 0; z-index: 3; pointer-events: none; opacity: 0;
  background: linear-gradient(rgba(255, 255, 255, 0) 0 44%, rgba(255, 255, 255, .55) 50%, rgba(255, 255, 255, 0) 56% 100%) 0 0 / 100% 50% no-repeat, #777 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.1' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='3.4 0 0 0 -1.2  3.4 0 0 0 -1.2  3.4 0 0 0 -1.2  0 0 0 0 1'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E") 0 0 / 150px 150px; }
.zap__screen.is-zap .zap__noise { animation: zapnoise .36s steps(1) both; }
.zap__screen.is-zap .chan.is-on img, .zap__screen.is-zap .chan.is-on .chan__test { animation: zaproll .4s steps(1) both; }
@keyframes zapnoise {
  0% { opacity: 1; background-position: 0 -20%, 0 0; }
  14% { opacity: 1; background-position: 0 30%, -47px 31px; }
  28% { opacity: 1; background-position: 0 80%, 22px -58px; }
  42% { opacity: .85; background-position: 0 130%, -71px -12px; }
  56% { opacity: .6; background-position: 0 180%, 39px 44px; }
  70% { opacity: .35; background-position: 0 230%, -13px -66px; }
  84% { opacity: .15; background-position: 0 280%, 58px 9px; }
  100% { opacity: 0; background-position: 0 330%, 0 0; }
}
@keyframes zaproll {
  0% { translate: 0 -38%; filter: grayscale(1) contrast(1.6) brightness(1.3); }
  30% { translate: 0 22%; filter: grayscale(1) contrast(1.4) brightness(1.2); }
  52% { translate: 0 -7%; filter: grayscale(.5) contrast(1.15); }
  72% { translate: 0 2%; filter: none; }
  88%, 100% { translate: 0 0; filter: none; }
}
/* Programmnummer, grün eingeblendet wie am Röhrengerät */
.zap__osd { position: absolute; right: 5.5cqw; top: 3.6cqw; z-index: 4; font: 500 max(1.5rem, 7.6cqw) / 1 var(--mono); letter-spacing: .04em; color: #6dff7b; text-shadow: 0 0 .25em rgba(109, 255, 123, .75), 0 2px 4px rgba(0, 0, 0, .8); }
/* Ausschalten: Das Bild fällt zu einem Strich und dann zu einem Punkt zusammen */
.zap__off { position: absolute; inset: 0; z-index: 6; pointer-events: none; background: #060608; opacity: 0; }
.zap__off::after { content: ""; position: absolute; inset: 0; background: #fffdf7; opacity: 0; }
.prog.is-off .zap__off { opacity: 1; }
.prog.is-off .zap__off::after { animation: tvoff .6s cubic-bezier(.3, 0, .2, 1) both; }
.prog.is-off .zap__osd { opacity: 0; }
@keyframes tvoff { 0% { opacity: 1; scale: 1 1; } 45% { opacity: 1; scale: 1 .008; } 80% { opacity: 1; scale: .012 .008; } 100% { opacity: 0; scale: 0 0; } }

/* Fernbedienung: --r ist ihre eigene Einheit */
.rc { --r: calc(var(--u) * 1.16); position: relative; flex: none; width: calc(var(--r) * 34); display: flex; flex-direction: column; gap: calc(var(--r) * 3.2); padding: calc(var(--r) * 5.4) calc(var(--r) * 3.6) calc(var(--r) * 4.2); rotate: 4deg;
  border: 2.5px solid var(--ink); border-radius: calc(var(--r) * 4.5) calc(var(--r) * 4.5) calc(var(--r) * 7) calc(var(--r) * 7);
  background: linear-gradient(100deg, rgba(255, 255, 255, .1) 0 7%, transparent 7.5%), linear-gradient(#3d3a46, #211f28 55%, #15131c);
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, .2), inset 0 calc(var(--r) * -1.5) calc(var(--r) * 3) rgba(0, 0, 0, .5), 0 calc(var(--r) * 4) calc(var(--r) * 7) calc(var(--r) * -2) rgba(70, 8, 0, .75); }
.rc button { font: inherit; color: inherit; cursor: pointer; padding: 0; -webkit-tap-highlight-color: transparent; }
.rc button:focus-visible { outline: 2.5px solid var(--gold); outline-offset: 2px; }
/* Infrarot-Fenster: blitzt bei jedem Umschalten */
.rc__ir { position: absolute; top: calc(var(--r) * 1.3); left: 30%; right: 30%; height: calc(var(--r) * 1.5); border-radius: 99px; background: #4d0e0e; box-shadow: inset 0 0 0 1.5px #0c0a08; }
.rc.is-send .rc__ir { animation: irblink .32s steps(1) both; }
@keyframes irblink { 0%, 50% { background: #ff5a3a; box-shadow: inset 0 0 0 1.5px #0c0a08, 0 0 calc(var(--r) * 3) calc(var(--r) * .8) rgba(255, 90, 58, .85); } 25%, 75%, 100% { background: #4d0e0e; box-shadow: inset 0 0 0 1.5px #0c0a08; } }
.rc__top { display: flex; align-items: center; justify-content: space-between; }
.rc__brand { font-family: var(--serif); font-style: italic; font-weight: 700; font-size: max(.62rem, calc(var(--r) * 3.1)); color: #f0c95a; line-height: 1; }
.rc__brand small { display: block; font: 500 max(.4rem, calc(var(--r) * 1.5)) / 1 var(--mono); letter-spacing: .2em; color: #a39f93; margin-top: .5em; }
.rc__power { width: calc(var(--r) * 6.4); aspect-ratio: 1; border-radius: 50%; border: 2px solid #0c0a08; background: radial-gradient(circle at 35% 30%, #ff9a7c, #e2371c 58%, #a51d0c); box-shadow: 0 calc(var(--r) * .8) 0 #0c0a08; transition: translate .08s, box-shadow .08s; }
.rc__power:active { translate: 0 calc(var(--r) * .5); box-shadow: 0 calc(var(--r) * .3) 0 #0c0a08; }
.rc__keys { display: grid; grid-template-columns: repeat(3, 1fr); gap: calc(var(--r) * 1.7); }
.rc__key { aspect-ratio: 1.75; font: 500 max(.6rem, calc(var(--r) * 2.6)) / 1 var(--mono) !important; color: var(--ink) !important; border: 2px solid #0c0a08; border-radius: calc(var(--r) * 1.3); background: linear-gradient(#f6ecd2, #d9cba6); box-shadow: 0 calc(var(--r) * .9) 0 #0c0a08; transition: translate .08s, box-shadow .08s, background .15s; }
.rc__key:hover { background: linear-gradient(#fffaf0, #eadcb8); }
.rc__key:active, .rc__key.is-on { translate: 0 calc(var(--r) * .6); box-shadow: 0 calc(var(--r) * .3) 0 #0c0a08; }
.rc__key.is-on { background: linear-gradient(#ffdb6e, #f2b21f); box-shadow: 0 calc(var(--r) * .3) 0 #0c0a08, 0 0 calc(var(--r) * 3.4) rgba(255, 205, 70, .8); }
.rc__rock { display: grid; grid-template-columns: 1fr 1fr; gap: calc(var(--r) * 1.9); }
.rc__rock button { height: calc(var(--r) * 6.6); font: 500 max(.6rem, calc(var(--r) * 2.5)) / 1 var(--mono) !important; letter-spacing: .06em; color: #f4ead0 !important; border: 2px solid #0c0a08; border-radius: 99px; background: linear-gradient(#5b5766, #37343f); box-shadow: 0 calc(var(--r) * .9) 0 #0c0a08; transition: translate .08s, box-shadow .08s; }
.rc__rock button:hover { background: linear-gradient(#6c6878, #45414f); }
.rc__rock button:active { translate: 0 calc(var(--r) * .6); box-shadow: 0 calc(var(--r) * .3) 0 #0c0a08; }
/* Farbtasten und Videotext */
.rc__vt { display: flex; align-items: center; gap: calc(var(--r) * 1.5); }
.rc__vt i { width: calc(var(--r) * 3.4); height: calc(var(--r) * 1.7); border-radius: 99px; border: 1.5px solid #0c0a08; background: #e2371c; }
.rc__vt i:nth-child(2) { background: #3fae5c; } .rc__vt i:nth-child(3) { background: #f0c93a; } .rc__vt i:nth-child(4) { background: #2c4fb5; }
.rc__txt { margin-left: auto; height: calc(var(--r) * 4.2); padding: 0 calc(var(--r) * 1.8) !important; font: 500 max(.5rem, calc(var(--r) * 2)) / 1 var(--mono) !important; letter-spacing: .12em; color: #6dff7b !important; border: 2px solid #0c0a08; border-radius: calc(var(--r) * 1.1); background: #15131c; box-shadow: 0 calc(var(--r) * .7) 0 #0c0a08; }
.rc__txt:hover { background: #24212b; }
.rc__hint { font: 500 max(.44rem, calc(var(--r) * 1.75)) / 1 var(--mono); letter-spacing: .18em; text-transform: uppercase; text-align: center; color: #a39f93; }

@media (max-width: 760px) {
  .prog { height: calc(100vh + 18 * 36vh); height: calc(100svh + 18 * 36svh); }
  .zap { margin-bottom: 5rem; }
  .zap__in { --u: .25rem; --sh: min(100cqw - 1.7rem, 100cqh - 13.6rem); flex-direction: column; justify-content: flex-start; gap: .9rem; }
  .zap__tv { rotate: 0deg; gap: .5rem; padding: .65rem .65rem .5rem; margin-bottom: 0; border-radius: .9rem; }
  .zap__tv::after { display: none; }
  .zap__screen { width: var(--sh); }
  .zap__panel { height: 1.8rem; gap: .55rem; padding: 0 .2rem; }
  .zap__prg { display: none; }
  .zap__panel { grid-template-columns: auto minmax(0, 1fr) auto auto; }
  .chan__bb { max-width: 84cqw; }
  .chan--bbt .chan__bb { top: 17cqw; max-width: 62cqw; }
  .chan--bbtw .chan__bb { top: auto; bottom: 5.4cqw; max-width: 84cqw; }
  .chan--bbtw .chan__bb h3 + p { display: none; }
  .rc { --r: .25rem; width: min(100%, 23rem); rotate: 0deg; gap: .5rem; padding: .7rem .7rem .65rem; border-radius: 1rem; }
  .rc__top, .rc__vt, .rc__hint { display: none; }
  .rc__ir { top: .22rem; height: .22rem; }
  .rc__keys { grid-template-columns: repeat(9, 1fr); gap: .26rem; }
  .rc__key { aspect-ratio: auto; height: 2.2rem; font-size: .72rem !important; border-radius: .4rem; }
  .rc__rock { gap: .3rem; }
  .rc__rock button { height: 2.1rem; font-size: .72rem !important; }
}
/* Nur Handy, Kapitel 4: Fernseher und Fernbedienung sind ein einziges Gerät in voller Breite.
   Oben das Bild, darunter die Leiste mit der Programmnummer, darunter die Tasten. So bleibt mehr Platz
   für Foto und Text. Die 12.4rem sind alles, was nicht Bild ist (Leiste, Tasten, Ränder). */
@media (max-width: 600px) {
  .zap { margin-bottom: 1.2rem; }
  .zap__in { --sh: min(100cqw - 1.5rem, 100cqh - 12.4rem); gap: 0; align-items: stretch; }
  .zap__tv { padding: .6rem .6rem .35rem; border-bottom: 0; border-radius: 1rem 1rem 0 0;
    background: linear-gradient(#383540, #211f28); box-shadow: inset 0 2px 0 rgba(255, 255, 255, .18); }
  .zap__screen { width: 100%; }
  .rc { width: 100%; padding-top: .45rem; border-top: 0; border-radius: 0 0 1rem 1rem;
    background: linear-gradient(#211f28, #15131c); box-shadow: inset 0 -.4rem .75rem rgba(0, 0, 0, .5), 0 1rem 1.75rem -.5rem rgba(70, 8, 0, .75); }
  .rc__ir { display: none; }
  /* Im größeren Bild hat auch der lange Titel »Das unglaubliche Quiz der Tiere« Platz für seine Unterzeile */
  .chan--bbtw .chan__bb h3 + p { display: block; }
}
@media (prefers-reduced-motion: reduce) {
  .zap__screen.is-zap .zap__noise, .zap__screen.is-zap .chan.is-on img, .zap__screen.is-zap .chan.is-on .chan__test, .chan.is-on .chan__bb, .rc.is-send .rc__ir, .prog.is-off .zap__off::after { animation: none; }
}

/* ════ Kapitel 5 · Der Zuhörer ═══════════════════════════════════ */
.listen { padding: clamp(5rem, 16svh, 11rem) 0; --p: 0; }
.listen__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(2rem, 6vw, 5rem) clamp(1rem, 3vw, 3rem); }
.listen__head { grid-column: 1 / -1; }
.listen__head .chap__t { max-width: 13ch; }
.listen__q { grid-column: 1 / 8; }
.listen__q p { font-size: clamp(1.6rem, 1rem + 2.9vw, 3.7rem); font-weight: 500; font-style: italic; line-height: 1.08; }
.listen__txt { grid-column: 1 / 7; align-self: center; }
.listen__txt p + p { margin-top: 1em; }
.listen__txt em { font-family: var(--serif); font-size: 1.15em; }
.listen__bow { grid-column: 8 / -1; grid-row: 2 / 4; align-self: center; margin-bottom: 3rem; }
.courage__pic figcaption { font-family: var(--mono); font-size: .7rem; letter-spacing: .06em; margin-top: 1.4rem; opacity: .7; }
.nobel { grid-column: 1 / -1; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: .5rem clamp(1.5rem, 4vw, 4rem); align-items: end; border-top: 2px solid var(--ink); padding-top: clamp(1.5rem, 4vw, 3rem); }
.nobel__n { font-size: clamp(5rem, 2rem + 15vw, 15rem); line-height: .8; font-variant-numeric: tabular-nums; min-width: 2.3ch; }
.nobel__tx { min-width: 0; padding-bottom: .6rem; container-type: inline-size; }
.nobel__t { max-width: 26rem; }
/* Mit jedem Punkt blitzt ein Name auf, immer nur einer */
.nobel__who { display: grid; gap: .25rem; margin-bottom: clamp(.9rem, 2vw, 1.5rem); }
.nobel__who[hidden] { display: none; }
.nobel__who.is-off { visibility: hidden; }
.nobel__who small { font-family: var(--mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; opacity: .65; }
.nobel__who b { font-size: min(clamp(1.9rem, 1rem + 3.2vw, 3.8rem), calc(150cqw / var(--len, 14))); line-height: 1.12; white-space: nowrap; }
.nobel__dots { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(auto-fill, minmax(clamp(.9rem, 2.4vw, 1.7rem), 1fr)); gap: clamp(.3rem, .8vw, .6rem); margin-top: 1.6rem; }
.nobel__dots i { aspect-ratio: 1; border-radius: 50%; box-shadow: inset 0 0 0 1.5px rgba(21, 19, 28, .35); transition: background .3s, box-shadow .3s, scale .4s var(--ease); }
.nobel__dots i.on { background: var(--ink); box-shadow: none; scale: 1.08; }
.nobel__dots i.on:nth-child(7n) { background: var(--red); }
@media (max-width: 760px) {
  .listen__q, .listen__txt, .listen__bow { grid-column: 1 / -1; grid-row: auto; }
  .listen__bow { width: min(86%, 24rem); justify-self: center; margin-bottom: 4.4rem; }
  .nobel { grid-template-columns: 1fr; }
}

/* ════ Zwischenspiel · Noch eine Frage! ═══════════════════ */
.nef { padding: clamp(5rem, 16svh, 11rem) 0; background: radial-gradient(80% 60% at 20% 0, #2a1c12 0, var(--night) 65%); }
.nef__credit { font-family: var(--mono); font-size: .7rem; letter-spacing: .06em; opacity: .7; margin-top: 1.4rem; text-align: right; }
.nef .chap__t { max-width: 16ch; font-size: clamp(2.3rem, 1rem + 5vw, 5.6rem); }
.nef__p { max-width: 38rem; margin-top: 1.6rem; color: rgba(245, 237, 221, .82); }
.nef__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(.4rem, .8vw, .8rem); margin-top: clamp(2.5rem, 6vw, 4.5rem); }
.nef__grid figure { position: relative; margin: 0; overflow: hidden; border-radius: 6px; aspect-ratio: 3 / 2; background: #000; }
.nef__grid .nef__big { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
.nef__grid img { width: 100%; height: 100%; object-fit: cover; transition: scale .8s var(--ease); }
.nef__grid figure:hover img { scale: 1.05; }
.nef__grid figcaption { position: absolute; inset: auto 0 0 0; padding: 2.2rem .9rem .7rem; font-family: var(--mono); font-size: .72rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--paper); background: linear-gradient(transparent, rgba(0, 0, 0, .7)); }
.nef__note { margin: 0; display: grid; place-content: center; text-align: center; padding: 1rem; border-radius: 6px; background: var(--gold); color: var(--ink); font-size: clamp(1.3rem, .8rem + 1.6vw, 2.2rem); font-style: italic; font-weight: 600; line-height: 1.02; }
@media (max-width: 860px) {
  .nef__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nef__grid .nef__big { aspect-ratio: 3 / 2; grid-row: auto; }
  .nef__note { grid-column: span 2; padding: 1.4rem 1rem; }
}

/* ════ Kapitel 6 · Der Anfänger ══════════════════════════════════ */
.rookie { padding: clamp(5rem, 16svh, 11rem) 0; overflow: hidden; --p: 0; }
.rookie__grid { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 4rem); align-items: start; }
.rookie__bow { width: min(100%, 21rem); justify-self: center; margin-bottom: 3rem; }
.rookie__grid > .label, .rookie__t { grid-column: 1 / -1; }
.rookie__t { font-size: clamp(3rem, 1rem + 10.5vw, 12rem); line-height: .86; }
.rookie__t span { display: block; color: var(--gold); white-space: nowrap; }
.rookie__t b { display: inline-block; font-size: 1.9em; line-height: .7; font-weight: 900; rotate: calc(-12deg + var(--p) * 16deg); translate: 0 .06em; }
.rookie__col p + p { margin-top: 1em; }
.rookie__col p.rookie__links { display: flex; flex-wrap: wrap; align-items: center; gap: 1.2rem 1.4rem; margin-top: 1.8rem; }
.rookie blockquote { margin-top: 1.6rem; border-left: 3px solid var(--gold); padding-left: 1.2rem; }
.rookie blockquote p { font-size: clamp(1.4rem, 1.1rem + 1.2vw, 2.1rem); font-weight: 500; font-style: italic; line-height: 1.15; }
@media (max-width: 860px) { .rookie__grid { grid-template-columns: 1fr; } .rookie__bow { width: min(78vw, 22rem); margin-bottom: 3.4rem; } }

/* ════ Kapitel 7 · Der Mutmacher ═════════════════════════════════ */
/* Das Foto füllt als Schwarz-Weiß-Bild den ganzen Bildschirm, die Überschrift steht links neben dem Kopf, der Text folgt darunter */
.courage { padding: 0 0 clamp(4.5rem, 13svh, 9rem); background: #0b0b12; }
.courage__stage { position: relative; height: 100vh; height: 100svh; min-height: 32rem; overflow: hidden; }
.courage__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 42% 10%; filter: grayscale(1) contrast(1.12) brightness(.88); }
/* links abdunkeln für die Überschrift, oben für die Kopfzeile, unten weich ins Schwarz */
.courage__stage::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(11, 11, 18, .9) 0, rgba(11, 11, 18, .55) 20%, transparent 40%), linear-gradient(rgba(11, 11, 18, .6), transparent 15%), linear-gradient(transparent 80%, #0b0b12 100%); }
.courage__head { position: absolute; z-index: 1; left: var(--pad); top: calc(var(--osd-h) + clamp(1.2rem, 8svh, 5.5rem)); }
.courage__head .chap__t { font-style: italic; font-weight: 600; font-size: clamp(2rem, min(3.9vw, 8svh), 5.4rem); line-height: 1.02; margin-top: .4em; text-shadow: 0 2px 24px rgba(0, 0, 0, .6); }
.courage__credit { position: absolute; z-index: 1; right: var(--pad); bottom: 1.1rem; font-family: var(--mono); font-size: .7rem; letter-spacing: .06em; opacity: .7; }
.courage__txt { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; margin-top: clamp(1.5rem, 5svh, 3.5rem); }
.courage__txt > div > * + * { margin-top: 1.15em; }
.courage blockquote { border-left: 3px solid var(--gold); padding-left: 1.2rem; font-family: var(--serif); font-variation-settings: "SOFT" 100; font-size: 1.3em; line-height: 1.3; font-style: italic; }
@media (max-width: 760px) {
  .courage__stage { height: auto; min-height: 0; overflow: visible; }
  .courage__bg { position: relative; display: block; height: 62svh; object-position: 42% 0; }
  .courage__stage::after { inset: 0 0 auto 0; height: 62svh; background: linear-gradient(rgba(11, 11, 18, .55), transparent 18%), linear-gradient(transparent 72%, #0b0b12 100%); }
  .courage__head { position: relative; left: auto; top: auto; padding: 0 var(--pad); margin-top: -1.2rem; }
  .courage__head .chap__t { font-size: clamp(2.6rem, 11vw, 4rem); }
  .courage__credit { position: static; padding: .9rem var(--pad) 0; }
  .courage__txt { grid-template-columns: 1fr; }
}

/* ════ Kapitel 8 · Der Reisende ══════════════════════════════════ */
.travel { padding: 0 0 clamp(5rem, 16svh, 11rem); background: radial-gradient(90% 80% at 85% 0, #1c5a43 0, var(--green) 60%); }
/* Die Reise als Szene: Eine Weltkugel dreht sich unter dem Flugzeug weg, von Karlsruhe zu den
   Drehorten und zurück. Am Ziel legt sich Fell, Haut oder Gefieder des Tiers über den Hintergrund. */
.js .trip { height: 640vh; height: 640svh; }
.trip .sticky { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(1rem, 3vw, 3rem); align-items: center; padding: calc(var(--osd-h) + 1rem) var(--pad) 2rem; }
html:not(.js) .trip .sticky { position: static; height: auto; grid-template-columns: 1fr; }
html:not(.js) .trip__stage { display: none; }
.trip__fur, .trip__fur i { position: absolute; inset: 0; }
.trip__fur i { opacity: 0; transition: opacity .7s; }
.trip__fur::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11, 11, 18, .5), rgba(11, 11, 18, 0) 62%); }
.trip__fur i:nth-child(1) { background-image: url(../img/fell/papagei.svg); background-size: 150px; }
.trip[data-fur="1"] .trip__fur i:nth-child(1) { opacity: 1; }
.trip__fur i:nth-child(2) { background-image: url(../img/fell/gorilla.svg); background-size: 300px; }
.trip[data-fur="2"] .trip__fur i:nth-child(2) { opacity: 1; }
.trip__fur i:nth-child(3) { background-image: url(../img/fell/elefant.svg); background-size: 330px; }
.trip[data-fur="3"] .trip__fur i:nth-child(3) { opacity: 1; }
.trip__fur i:nth-child(4) { background-image: url(../img/fell/orang-utan.svg); background-size: 320px; }
.trip[data-fur="4"] .trip__fur i:nth-child(4) { opacity: 1; }
.trip__fur i:nth-child(5) { background-image: url(../img/fell/koala.svg?2); background-size: 280px; }
.trip[data-fur="5"] .trip__fur i:nth-child(5) { opacity: 1; }
.trip__fur i:nth-child(6) { background-image: url(../img/fell/baer.svg); background-size: 300px; }
.trip[data-fur="6"] .trip__fur i:nth-child(6) { opacity: 1; }
.trip__txt, .trip__stage { position: relative; z-index: 1; min-width: 0; }
.trip__cards { position: relative; margin-top: clamp(1.2rem, 3vh, 2.2rem); }
.js .trip__cards { min-height: 21rem; }
.trip__card + .trip__card { margin-top: 1.4rem; }
.js .trip__card { position: absolute; inset: 0 0 auto 0; margin: 0; opacity: 0; translate: 0 1.2rem; transition: opacity .3s, translate .5s var(--ease); }
.js .trip__card.is-on { opacity: 1; translate: 0; }
.trip__card > p:not(.trip__k) { max-width: 31rem; }
.trip__k { font-family: var(--mono); font-size: .78rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.trip__card h3 { font-size: clamp(1.9rem, 1.1rem + 2.7vw, 3.6rem); line-height: 1; margin-top: .3em; text-wrap: balance; }
.trip__p { margin-top: 1em; }
.trip__end { font-family: var(--serif); font-size: clamp(1.4rem, 1rem + 1.4vw, 2.2rem); font-style: italic; line-height: 1.15; margin-top: .5em; }
.trip__stage { align-self: stretch; display: grid; place-items: center; min-height: 0; }
#globe { display: block; }
.trip__km { position: absolute; right: 0; bottom: 0; font-family: var(--mono); font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; background: var(--ink); color: var(--paper); border-radius: 99px; padding: .5em 1em; }
.trip__km[hidden] { display: none; }
.trip__km b { font-weight: 500; color: var(--gold); font-variant-numeric: tabular-nums; }
.travel__after { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(2rem, 6vw, 6rem); align-items: center; padding-top: clamp(3rem, 9svh, 6rem); }
.travel__txt > * + * { margin-top: 1.15em; }
.travel__links { display: flex; flex-wrap: wrap; align-items: center; gap: 1.3rem 1.5rem; margin-top: 1.6em; }
.travel blockquote p { font-size: clamp(1.6rem, 1.2rem + 1.7vw, 2.7rem); font-weight: 500; font-style: italic; line-height: 1.1; color: var(--gold); }
@media (max-aspect-ratio: 1/1), (max-width: 760px) {
  .trip .sticky { grid-template-columns: 1fr; grid-template-rows: auto minmax(0, 1fr); gap: .5rem; align-items: start; padding-bottom: 1.6rem; }
  .trip__fur::after { background: linear-gradient(180deg, rgba(11, 11, 18, .55), rgba(11, 11, 18, 0) 58%); }
  .trip .chap__t { font-size: clamp(2rem, 1rem + 5.4vw, 3.4rem); }
  .js .trip__cards { min-height: 15.5rem; }
  .trip__card > p:not(.trip__k) { font-size: .92rem; line-height: 1.4; }
  .trip__p { margin-top: .7em; }
  .trip__km { bottom: -.4rem; font-size: .66rem; }
  .travel__after { grid-template-columns: 1fr; }
}
@media (max-width: 760px) { .travel__grid { grid-template-columns: 1fr; } .travel .chap__t { position: static; } }
/* Niedrige Handy-Bildschirme (etwa ein aufgeklapptes Falt-Handy im Browser): Überschrift einzeilig und
   der Text etwas enger, damit unter den Karten genug Höhe für die Weltkugel bleibt. */
@media (max-width: 760px) and (max-height: 700px) {
  .trip .chap__t { font-size: 1.5rem; white-space: nowrap; }
  .trip__cards { margin-top: .8rem; }
  .trip__card h3 { font-size: 1.7rem; }
  .trip__card > p:not(.trip__k) { font-size: .88rem; line-height: 1.38; }
}

/* ════ Zwischenspiel · Das Bücherregal ═══════════════════
   Zehn Buchrücken auf einem Brett. Der gewählte Band rückt heraus, darunter steht, was drin ist
   und ob es ihn noch gibt. Ohne Skript wird daraus eine einfache Liste. */
.books { padding: clamp(5rem, 16svh, 11rem) 0; }
.books__in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.books__lead { max-width: 30rem; margin-top: 1.4rem; }
.shelf { position: relative; list-style: none; display: flex; align-items: flex-end; gap: clamp(2px, .4vw, 6px); padding: 1.4rem clamp(.5rem, 1.6vw, 1.4rem) 0; border-bottom: .85rem solid var(--ink); border-radius: 0 0 5px 5px; box-shadow: 6px 8px 0 -2px rgba(21, 19, 28, .18); margin-bottom: 17rem; }
.book { flex: var(--w) 1 0; min-width: 0; }
.book__spine { position: relative; display: block; width: 100%; text-decoration: none; height: calc(var(--h) * 1rem); background: var(--bg); color: var(--fg); border: 2.5px solid var(--ink); border-bottom: 0; border-radius: 4px 4px 0 0; cursor: pointer; transition: translate .35s var(--ease), rotate .35s var(--ease); transform-origin: 50% 100%; }
.book__spine::before { content: ""; position: absolute; inset: .9rem 0; border-block: 2px solid currentColor; opacity: .55; }
.book__tx { position: absolute; inset: 1.5rem 0; display: flex; align-items: center; justify-content: space-between; gap: .6rem; writing-mode: vertical-rl; rotate: 180deg; }
.book__tx b { font-family: var(--serif); font-weight: 800; font-size: clamp(.72rem, .45rem + .75vw, 1.05rem); line-height: 1.02; letter-spacing: -.01em; text-align: left; text-wrap: balance; }
.book__tx small { font-family: var(--mono); font-size: .6rem; letter-spacing: .1em; opacity: .8; }
.book__spine:hover, .book.is-on .book__spine { translate: 0 -1.1rem; }
.book.is-on .book__spine { rotate: -2deg; }
.book__spine:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }
.book__info { position: absolute; left: 0; right: 0; top: calc(100% + 2.6rem); opacity: 0; visibility: hidden; translate: 0 .8rem; transition: opacity .25s, translate .4s var(--ease), visibility 0s .25s; }
.book.is-on .book__info { opacity: 1; visibility: visible; translate: 0; transition-delay: 0s; }
.book__k { font-family: var(--mono); font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; opacity: .7; }
.book__info h3 { font-size: clamp(1.7rem, 1.1rem + 2vw, 2.8rem); line-height: 1.02; margin: .25em 0 .35em; }
.book__info > p:not(.book__k):not(.book__get) { max-width: 34rem; }
.book__get { display: flex; flex-wrap: wrap; align-items: center; gap: .9rem 1.4rem; margin-top: 1.3rem; }
.book__get span { font-family: var(--mono); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; opacity: .7; }
html:not(.js) .shelf { display: block; padding: 0; border: 0; box-shadow: none; margin: 0; }
html:not(.js) .book__spine { display: none; }
html:not(.js) .book__info { position: static; opacity: 1; visibility: visible; translate: none; margin-bottom: 2.2rem; }
@media (max-width: 760px) {
  .books__in { grid-template-columns: 1fr; }
  .shelf { margin-bottom: 19rem; }
  .book__spine { height: calc(var(--h) * .78rem); border-width: 2px; }
  .book__tx { inset: 1.2rem 0; }
  .book__tx small { font-size: .52rem; }
}

/* ════ Kapitel 9 · Die Ehrungen ══════════════════════════════════ */
.honors { padding: clamp(5rem, 16svh, 11rem) 0; }
/* Überschrift links, Regenbogenkreis rechts in eigener Spalte: So kann der Text nie unter das Bild laufen */
.honors .wrap { display: grid; grid-template-columns: minmax(0, 1fr) clamp(15rem, 26vw, 23rem); column-gap: clamp(1.5rem, 4vw, 4rem); align-items: start; }
.honors .wrap > .label { grid-column: 1; }
.honors .wrap > .chap__t { grid-column: 1; }
.honors__bow { grid-column: 2; grid-row: 1 / 3; align-self: center; margin-bottom: 2.6rem; }
.honors__list { grid-column: 1 / -1; }
.honors .chap__t { max-width: 15ch; font-size: clamp(2.3rem, 1rem + 5vw, 5.6rem); }
.honors__list { margin-top: clamp(2.5rem, 7vw, 5rem); border-top: 1px solid rgba(245, 237, 221, .25); }
.honors__list li { display: grid; grid-template-columns: clamp(4rem, 12vw, 10rem) 1fr; align-items: baseline; gap: 1rem; padding: clamp(.8rem, 1.6vw, 1.25rem) 0; border-bottom: 1px solid rgba(245, 237, 221, .25); transition: color .3s, padding .4s var(--ease), opacity .9s var(--ease), transform .9s var(--ease); }
.honors__list span { font-family: var(--mono); font-size: .85rem; letter-spacing: .1em; color: var(--gold); }
.honors__list b { font-family: var(--serif); font-weight: 500; font-variation-settings: "SOFT" 100; font-size: clamp(1.15rem, .9rem + 1.5vw, 2.3rem); line-height: 1.12; letter-spacing: -.015em; }
.honors__list li:hover { color: var(--gold); padding-left: 1rem; }
@media (max-width: 900px) {
  .step { grid-template-columns: 1fr; grid-template-rows: none; row-gap: .2rem; }
  .step__ph { position: relative; left: auto; top: auto; translate: none; grid-column: 1; grid-row: auto; justify-self: start; margin: .9rem 0 0 .4rem; padding: .3rem .3rem .4rem; }
  .step__ph img { height: 12svh; }
  .honors .wrap { display: block; }
  .honors__bow { width: min(78vw, 22rem); margin: 2.4rem auto 4rem; }
}
/* Nur Handy, Kapitel 1: Die Radioskala ist halb so hoch, den Platz bekommen die Fotos.
   Die Texte liegen übereinander in einem Feld fester Höhe; jedes Foto füllt, was unter seinem Text
   bis zur Skala frei bleibt. Die Szene nutzt die große Fensterhöhe (eingeklappte Browser-Leiste),
   der untere Rand der Skala hält dafür genau diesen Unterschied frei. */
@media (max-width: 600px) {
  .radio .sticky { height: 100lvh; }
  .radio__steps { flex: 1 1 0; min-height: 0; margin-block: 0; grid-template-rows: minmax(0, 1fr); }
  .step { grid-template-rows: auto auto minmax(0, 1fr); }
  .step__ph { height: calc(100% - .9rem); min-height: 4.5rem; max-height: 30svh; align-self: start; }
  .step__ph img { height: 100%; }
  .dial { height: clamp(3.6rem, 11svh, 9.5rem); margin-bottom: max(5svh, 100lvh - 100svh); }
}

/* ════ Zugabe · Autogramm ═════════════════════════════════════ */
.auto { padding: clamp(5rem, 16svh, 11rem) 0; }
.verdict { text-align: center; display: grid; justify-items: center; gap: 1.6rem; padding-bottom: clamp(4rem, 12svh, 8rem); }
.verdict .chap__t { font-size: clamp(2.4rem, 1rem + 6vw, 6.6rem); max-width: 14ch; margin: 0; }
.verdict__btns { display: flex; flex-wrap: wrap; justify-content: center; gap: .8rem; }
.verdict__res { font-family: var(--hand); font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.5rem); font-weight: 700; line-height: 1.15; color: #c2261a; max-width: 30rem; rotate: -1.5deg; min-height: 1.2em; }

.auto__grid { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1fr); gap: clamp(2.5rem, 7vw, 7rem); align-items: start; }
.auto__left { position: sticky; top: 6.5rem; display: grid; gap: clamp(2.5rem, 6vw, 4rem); justify-items: center; }
.acard-wrap { perspective: 1200px; width: min(100%, 22rem); }
.acard { background: #fffdf7; padding: .8rem .8rem 0; border-radius: 4px; box-shadow: 0 0 0 1px rgba(21, 19, 28, .12), 18px 30px 60px -18px rgba(21, 19, 28, .5); transform: rotateX(var(--rx, 4deg)) rotateY(var(--ry, -8deg)) rotate(-2.5deg); transition: transform .5s var(--ease); transform-style: preserve-3d; will-change: transform; }
.acard__img { aspect-ratio: 5 / 6; overflow: hidden; background: var(--gold); border-radius: 2px; }
.acard__img img { width: 100%; height: 100%; object-fit: cover; }
.acard__foot { position: relative; padding: .5rem .4rem 1.1rem; min-height: 8.6rem; }
.acard__for { font-family: var(--hand); font-size: 1.9rem; font-weight: 600; color: #23307a; line-height: 1; rotate: -4deg; margin: .5rem 0 0 .3rem; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding: .15em .1em; }
.acard__sig { width: 72%; margin: -.2rem 0 0 18%; rotate: -5deg; }
.acard__name { position: absolute; right: .5rem; bottom: .55rem; font-family: var(--mono); font-size: .62rem; letter-spacing: .16em; text-transform: uppercase; opacity: .55; }

.form { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1.1rem 1rem; }
.form > .label, .form__t, .form__p, .f--full { grid-column: 1 / -1; }
.form__t { font-size: clamp(2rem, 1.2rem + 2.8vw, 3.7rem); }
.form__p { max-width: 34rem; margin-bottom: .6rem; }
.f { grid-column: span 3; display: grid; gap: .35rem; }
.f--s { grid-column: span 2; } .f--l { grid-column: span 4; }
.form .f--full, .form .chk { grid-column: 1 / -1; }
.f label { font-family: var(--mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; }
.f small { text-transform: none; letter-spacing: .02em; opacity: .6; font-size: 1em; }
.f input { width: 100%; background: transparent; border: 0; border-bottom: 1.5px solid currentColor; border-radius: 0; padding: .5rem 0 .55rem; font-size: 1.12rem; font-weight: 500; outline: none; transition: border-color .2s, box-shadow .2s; }
.f input::placeholder { color: currentColor; opacity: .35; font-weight: 400; }
.f input:focus { box-shadow: 0 2px 0 0 var(--red); border-color: var(--red); }
.f input.bad { border-color: #c2261a; box-shadow: 0 2px 0 0 #c2261a; }
.hp { position: absolute; left: -200vw; width: 1px; height: 1px; overflow: hidden; }
.chk { display: grid; grid-template-columns: auto 1fr; gap: .8rem; align-items: start; font-size: .88rem; line-height: 1.45; cursor: pointer; margin-top: .4rem; }
.chk input { appearance: none; width: 1.35rem; height: 1.35rem; margin: .1rem 0 0; border: 1.5px solid currentColor; border-radius: 4px; display: grid; place-items: center; cursor: pointer; flex: none; }
.chk input::after { content: ""; width: .7rem; height: .38rem; border-left: 2.5px solid var(--paper); border-bottom: 2.5px solid var(--paper); rotate: -45deg; translate: 0 -.08rem; scale: 0; transition: scale .2s var(--ease); }
.chk input:checked { background: var(--ink); }
.chk input:checked::after { scale: 1; }
.chk input.bad { border-color: #c2261a; box-shadow: 0 0 0 3px rgba(194, 38, 26, .2); }
.form__err { color: #c2261a; font-weight: 600; font-size: .95rem; }
/* Die Karte mit der getippten Widmung als Bild speichern */
.acard-save { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: .8rem 1.5rem; margin: .3rem 0 .2rem; }
.acard-save p { flex: 1 1 13rem; max-width: 21rem; font-size: .86rem; line-height: 1.4; opacity: .7; }
.acard-save .out[disabled] { opacity: .55; pointer-events: none; }
html:not(.js) .acard-save { display: none; }
/* Autogramm per Rückumschlag: drei Schritte und die Adresse als Umschlag */
.how { list-style: none; counter-reset: how; display: grid; gap: 1.05rem; margin: .9rem 0 0; padding: 0; }
.how li { counter-increment: how; display: grid; grid-template-columns: 2.5rem minmax(0, 1fr); gap: 1rem; align-items: start; line-height: 1.45; }
.how li::before { content: counter(how); width: 2.5rem; height: 2.5rem; display: grid; place-items: center; border-radius: 50%; border: 2.5px solid var(--ink); background: var(--gold); box-shadow: 3px 4px 0 0 var(--red); font-family: var(--hand); font-size: 1.7rem; font-weight: 700; line-height: 1; rotate: -5deg; }
.how li:nth-child(2)::before { rotate: 4deg; }
.how p { margin: 0; padding-top: .28rem; }
.how b { font-weight: 700; }
.rueck { position: relative; justify-self: start; width: min(100%, 25rem); margin: .2rem 0 .4rem 3.5rem; padding: 1.7rem 6.2rem 1.6rem 1.6rem; background: #fffdf7; border: 2.5px solid var(--ink); border-radius: 6px; box-shadow: 5px 6px 0 0 var(--red); rotate: -1.6deg; font-style: normal; font-family: var(--hand); font-size: 1.75rem; font-weight: 600; line-height: 1.12; color: #23307a; }
.rueck__marke { position: absolute; top: .8rem; right: .8rem; width: 4.1rem; height: 4.9rem; display: grid; place-items: center; text-align: center; border: 2px dashed var(--red); color: #c2261a; font-family: var(--mono); font-size: .54rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; line-height: 1.4; rotate: 3deg; }
.how__note { grid-column: 1 / -1; max-width: 34rem; font-size: .86rem; line-height: 1.45; opacity: .7; }
@media (max-width: 520px) {
  .rueck { margin-left: 0; padding-right: 5.4rem; font-size: 1.55rem; }
}
.demo-note { font-family: var(--mono); font-size: .72rem; letter-spacing: .03em; opacity: .7; border-top: 1px dashed currentColor; padding-top: .7rem; margin-top: .3rem; }
@media (max-width: 860px) {
  .auto__grid { grid-template-columns: 1fr; }
  .auto__left { position: static; }
}
@media (max-width: 520px) { .f, .f--s, .f--l { grid-column: 1 / -1; } .f--s { grid-column: span 2; } .f--l { grid-column: span 4; } }

/* ════ Zugabe · Post für Frank ════════════════════════════════ */
/* Wie das Parkinson-Kapitel: Das Foto füllt den Bildschirm, die Überschrift liegt links darüber.
   Das Bild ist breiter als die Bühne, damit er rechts der Mitte sitzt und links Platz für den Text bleibt. */
.post { padding: 0 0 clamp(5rem, 14svh, 9rem); background: var(--night); }
.post__stage { position: relative; height: 100vh; height: 100svh; min-height: 32rem; overflow: hidden; }
.post__bg { position: absolute; left: 0; top: 0; width: 118%; max-width: none; height: 100%; object-fit: cover; object-position: 50% 36%; }
.post__stage::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(11, 11, 18, .88) 0, rgba(11, 11, 18, .5) 24%, transparent 46%), linear-gradient(rgba(11, 11, 18, .6), transparent 15%), linear-gradient(transparent 78%, var(--night) 100%); }
.post__head { position: absolute; z-index: 1; left: var(--pad); top: calc(var(--osd-h) + clamp(1rem, 6svh, 4rem)); display: grid; justify-items: start; gap: clamp(.9rem, 2.4svh, 1.5rem); max-width: min(40vw, 36rem); }
.post__credit { position: absolute; z-index: 1; right: var(--pad); bottom: 1.1rem; font-family: var(--mono); font-size: .7rem; letter-spacing: .06em; opacity: .7; }
.post__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; margin-top: clamp(1.5rem, 5svh, 3.5rem); }
.post__in > div > * + * { margin-top: 1.5rem; }
.onair { display: inline-flex; align-items: center; gap: .7em; font-family: var(--mono); font-weight: 500; font-size: .8rem; letter-spacing: .28em; text-transform: uppercase; color: var(--red); border: 1.5px solid currentColor; padding: .7em 1.2em .7em 1.1em; border-radius: 6px; box-shadow: 0 0 34px -4px rgba(255, 74, 42, .65), inset 0 0 18px -6px rgba(255, 74, 42, .6); text-shadow: 0 0 12px rgba(255, 74, 42, .9); }
.onair i { width: .7em; height: .7em; border-radius: 50%; background: currentColor; box-shadow: 0 0 12px 2px currentColor; animation: blink 1.6s steps(2, jump-none) infinite; }
@keyframes blink { 50% { opacity: .25; } }
.post__t { font-size: clamp(2rem, min(3.9vw, 7.4svh), 5rem); line-height: 1.03; text-wrap: balance; text-shadow: 0 2px 24px rgba(0, 0, 0, .6); }
.post__p { max-width: 36rem; font-size: 1.12em; color: rgba(245, 237, 221, .85); }
.post__note { max-width: 33rem; font-size: .9rem; color: rgba(245, 237, 221, .6); }
.post__biz { font-family: var(--mono); font-size: .76rem; letter-spacing: .04em; color: rgba(245, 237, 221, .6); }
@media (max-width: 760px) {
  .post__stage { height: auto; min-height: 0; overflow: visible; }
  .post__bg { position: relative; display: block; width: 100%; height: 58svh; object-position: 50% 30%; }
  .post__stage::after { inset: 0 0 auto 0; height: 58svh; background: linear-gradient(rgba(11, 11, 18, .55), transparent 18%), linear-gradient(transparent 72%, var(--night) 100%); }
  .post__head { position: relative; left: auto; top: auto; padding: 0 var(--pad); margin-top: -1.6rem; max-width: none; }
  .post__t { font-size: clamp(2.1rem, 9.4vw, 3.4rem); }
  .post__credit { position: static; padding: .9rem var(--pad) 0; }
  .post__in { grid-template-columns: 1fr; }
}

/* ════ Abspann · Sendeschluss ══════════════════════════════════ */
.end { background: #000; color: var(--paper); padding: clamp(6rem, 22svh, 14rem) 0 0; text-align: center; }
.credits { padding-inline: var(--pad); }
.credits__h { font-family: var(--mono); font-size: .76rem; letter-spacing: .3em; text-transform: uppercase; opacity: .6; }
.credits__n { font-size: clamp(3rem, 1rem + 9vw, 9rem); margin: .2em 0 .7em; }
.credits dl { display: grid; gap: clamp(1.6rem, 4vw, 2.8rem); }
.credits dt { font-family: var(--mono); font-size: .7rem; letter-spacing: .24em; text-transform: uppercase; opacity: .55; margin-bottom: .4rem; }
.credits dd { font-family: var(--serif); font-variation-settings: "SOFT" 100; font-size: clamp(1.25rem, 1rem + 1vw, 1.9rem); line-height: 1.3; }
.testbild { margin: clamp(5rem, 16svh, 10rem) auto 0; width: min(78vw, 26rem); aspect-ratio: 4 / 3; border-radius: 9% / 11%; overflow: hidden; position: relative; box-shadow: 0 0 0 .5rem #1a1a1a, 0 0 0 .58rem #333, 0 0 90px -10px rgba(255, 255, 255, .28); }
.testbild__bars { position: absolute; inset: 0; display: flex; filter: saturate(.9); }
.testbild__bars i { flex: 1; }
.testbild__bars i:nth-child(1) { background: #e6e6e6; } .testbild__bars i:nth-child(2) { background: #e5d800; } .testbild__bars i:nth-child(3) { background: #00d6d6; } .testbild__bars i:nth-child(4) { background: #00cf2a; } .testbild__bars i:nth-child(5) { background: #d900d0; } .testbild__bars i:nth-child(6) { background: #e01919; } .testbild__bars i:nth-child(7) { background: #1b1be0; } .testbild__bars i:nth-child(8) { background: #111; }
.testbild::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(rgba(0, 0, 0, .22) 0 1px, transparent 1px 3px), radial-gradient(circle, transparent 55%, rgba(0, 0, 0, .55)); }
.testbild__t { position: absolute; left: 50%; top: 50%; translate: -50% -50%; background: #000; color: #fff; font-family: var(--mono); font-size: .78rem; letter-spacing: .3em; text-transform: uppercase; padding: .7em 1.2em; white-space: nowrap; z-index: 1; }
.end__bye { font-size: clamp(2.4rem, 1rem + 6vw, 6.4rem); margin: clamp(3rem, 10svh, 6rem) 0 clamp(4rem, 14svh, 9rem); padding-inline: var(--pad); }
.end__bye span { display: block; font-family: var(--hand); font-weight: 600; font-size: .5em; letter-spacing: 0; color: var(--gold); margin-top: .5em; rotate: -2deg; }
.end__foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem 2rem; padding-block: 1.6rem calc(1.6rem + 4.5rem); border-top: 1px solid rgba(245, 237, 221, .18); font-size: .82rem; color: rgba(245, 237, 221, .65); text-align: left; }
.end__foot nav { display: flex; flex-wrap: wrap; gap: .5rem 1.6rem; }
.end__foot a { text-underline-offset: .25em; text-decoration-thickness: 1px; }
.end__foot a:hover { color: var(--gold); }
@media (min-width: 761px) { .end__foot { padding-bottom: 1.6rem; } }

/* ════ Videotext ═══════════════════════════════════════════ */
dialog { border: 0; padding: 0; max-width: none; max-height: none; color: inherit; background: none; }
dialog::backdrop { background: rgba(0, 0, 0, .8); }
.vtx { width: 100vw; height: 100vh; height: 100dvh; background: #000; color: #fff; font-family: var(--mono); font-weight: 500; }
.vtx[open] { display: grid; place-items: center; animation: vtxin .18s steps(3) both; }
@keyframes vtxin { from { opacity: 0; transform: scaleY(.02); } }
.vtx__in { width: min(100%, 44rem); padding: clamp(1rem, 4vw, 2rem); font-size: clamp(.9rem, .7rem + 1.3vw, 1.3rem); line-height: 1.5; text-transform: uppercase; letter-spacing: .04em; }
.vtx__top { display: flex; justify-content: space-between; color: #fff; }
.vtx__top span:nth-child(2) { color: #37d86b; }
.vtx__h { display: grid; margin: .8em 0 1em; }
.vtx__h b { background: #1b1be0; color: #ffd83b; font-size: 1.9em; line-height: 1.25; padding: .1em .4em; letter-spacing: .02em; }
.vtx__h i { font-style: normal; background: #3bd0ff; color: #000; padding: 0 .75em; }
.vtx__list a { display: flex; align-items: baseline; gap: .6em; text-decoration: none; padding: .08em .3em; color: #fff; }
.vtx__list a::after { content: ""; flex: 1; order: 1; border-bottom: .16em dotted currentColor; opacity: .45; translate: 0 -.25em; }
.vtx__list a b { order: 2; color: #ffd83b; font-weight: 500; }
.vtx__list a:hover, .vtx__list a:focus-visible { background: #fff; color: #000; outline: none; }
.vtx__list a:hover b, .vtx__list a:focus-visible b { color: #000; }
.vtx__list li:nth-child(3n+1) a span { color: #3bd0ff; } .vtx__list li:nth-child(3n+2) a span { color: #37d86b; }
.vtx__list a:hover span, .vtx__list a:focus-visible span { color: inherit !important; }
.vtx__keys { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 1.2em; }
.k { display: block; text-align: center; padding: .25em .2em; color: #000; text-decoration: none; text-transform: uppercase; letter-spacing: .04em; font-size: .8em; font-weight: 500; }
.k--r { background: #ff3b3b; } .k--g { background: #37d86b; } .k--y { background: #ffd83b; } .k--c { background: #3bd0ff; }
.k:hover, .k:focus-visible { filter: brightness(1.25); outline: 2px solid #fff; outline-offset: -2px; }

/* ════ Schreibmodus ════════════════════════════════════════ */
.letter { width: 100vw; height: 100vh; height: 100dvh; background: radial-gradient(90% 70% at 50% -10%, #3a2a1c 0, #14100d 55%, #0a0908 100%); color: var(--paper); overflow-y: auto; overscroll-behavior: contain; }
.letter[open] { display: block; animation: letin .6s var(--ease) both; }
@keyframes letin { from { opacity: 0; } }
.letter__bar { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .9rem var(--pad); background: linear-gradient(#14100d 60%, transparent); }
.letter .onair { font-size: .66rem; padding: .55em .9em; color: #5a4a40; box-shadow: none; text-shadow: none; transition: color .4s, box-shadow .4s, text-shadow .4s; }
.letter .onair i { animation: none; box-shadow: none; }
.letter .onair.live { color: var(--red); box-shadow: 0 0 34px -4px rgba(255, 74, 42, .65), inset 0 0 18px -6px rgba(255, 74, 42, .6); text-shadow: 0 0 12px rgba(255, 74, 42, .9); }
.letter .onair.live i { box-shadow: 0 0 12px 2px currentColor; }
.letter__mode { display: flex; background: rgba(245, 237, 221, .1); border-radius: 99px; padding: .22rem; }
.letter__mode button { padding: .5em 1em; border-radius: 99px; font-size: .82rem; font-weight: 600; line-height: 1; }
.letter__mode button[aria-pressed="true"] { background: var(--paper); color: var(--ink); }
.letter__x { font-family: var(--mono); font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; padding: .6em 0; text-decoration: underline; text-underline-offset: .3em; }

.sheet { --lh: 2.5rem; position: relative; width: min(calc(100% - 1.5rem), 46rem); margin: clamp(.6rem, 3svh, 2rem) auto clamp(3rem, 10svh, 6rem); background: #fbf6e8; color: #1f2a6e; border-radius: 3px; padding: clamp(1.6rem, 6vw, 4.2rem) clamp(1.3rem, 6vw, 4.6rem); box-shadow: 0 50px 100px -30px rgba(0, 0, 0, .9), 0 0 0 1px rgba(0, 0, 0, .2); font-family: var(--hand); font-size: clamp(1.5rem, 1.25rem + .9vw, 1.9rem); line-height: var(--lh);
  animation: sheetin .9s .1s var(--ease) both; transform-origin: 50% 0; }
@keyframes sheetin { from { opacity: 0; transform: translateY(8svh) rotate(1.2deg); } }
.sheet[data-mode="type"] { font-family: var(--type); font-size: clamp(1rem, .92rem + .35vw, 1.18rem); color: #1c1a17; --lh: 2rem; }
.sheet__date { text-align: right; opacity: .65; font-size: .82em; }
.sheet__hi { font-weight: 700; font-size: 1.25em; margin: var(--lh) 0 calc(var(--lh) / 2); }
.sheet[data-mode="type"] .sheet__hi { font-weight: 400; font-size: 1em; }
.sheet__chips { display: flex; flex-wrap: wrap; gap: .45rem; margin-bottom: calc(var(--lh) / 2); font-family: var(--sans); }
.sheet__chips button { font-size: .8rem; font-weight: 600; line-height: 1.2; padding: .55em .95em; border-radius: 99px; border: 1px dashed rgba(31, 42, 110, .5); color: #1f2a6e; transition: background .2s, color .2s; text-align: left; }
.sheet__chips button:hover { background: #1f2a6e; color: #fbf6e8; border-style: solid; }
.sheet textarea { display: block; width: 100%; min-height: calc(var(--lh) * 7); resize: none; border: 0; outline: none; padding: 0; background: repeating-linear-gradient(transparent 0 calc(var(--lh) - 1px), rgba(31, 42, 110, .2) calc(var(--lh) - 1px) var(--lh)); background-attachment: local; line-height: var(--lh); overflow: hidden; }
.sheet textarea::placeholder { color: currentColor; opacity: .38; }
.sheet__bye { margin-top: var(--lh); }
.sheet__sig input { width: min(100%, 20rem); background: none; border: 0; border-bottom: 1.5px solid rgba(31, 42, 110, .4); outline: none; font-weight: 700; font-size: 1.2em; line-height: var(--lh); padding: 0; }
.sheet[data-mode="type"] .sheet__sig input { font-weight: 400; font-size: 1em; }
.sheet__sig input::placeholder { color: currentColor; opacity: .38; font-weight: 400; }
.sheet__sig input:focus { border-color: var(--red); }
.sheet__sig input.bad, .sheet textarea.bad { box-shadow: 0 3px 0 0 rgba(194, 38, 26, .7); }
.sheet__meta { margin-top: calc(var(--lh) * 1.4); padding-top: 1.6rem; border-top: 1px dashed rgba(21, 19, 28, .35); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem 1.4rem; font-family: var(--sans); font-size: 1rem; line-height: 1.5; color: var(--ink); }
.sheet__meta .f { grid-column: auto; }
.sheet__meta .chk, .sheet__meta .form__err, .sheet__meta .btn { grid-column: 1 / -1; }
.sheet__meta .btn { justify-self: start; }
@media (max-width: 620px) { .sheet__meta { grid-template-columns: 1fr; } .letter .onair span { display: none; } .letter .onair { padding: .6em; border-radius: 50%; } }

.sent { min-height: calc(100dvh - 5rem); display: grid; place-content: center; justify-items: center; text-align: center; gap: 1.2rem; padding: var(--pad); outline: none; }
.sent[hidden] { display: none; }
.sent__t { font-size: clamp(2.4rem, 1rem + 6vw, 5.6rem); }
.sent__p { max-width: 28rem; color: rgba(245, 237, 221, .8); }
.env { position: relative; width: min(74vw, 21rem); aspect-ratio: 3 / 2; background: #f3ead4; border-radius: 4px; margin-bottom: 1.6rem; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .8); animation: envin 1s var(--ease) both, envfloat 5s 1s ease-in-out infinite; color: var(--ink); overflow: hidden; }
.env__flap { position: absolute; inset: 0 0 auto 0; height: 58%; background: #e8dcc0; clip-path: polygon(0 0, 100% 0, 50% 100%); transform-origin: 50% 0; animation: flap .7s .5s var(--ease) both; filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .2)); opacity: .9; }
.env__stamp { position: absolute; right: 7%; top: 9%; width: 20%; aspect-ratio: 4 / 5; background: var(--red); color: #fff; display: grid; place-content: center; font-style: normal; font-family: var(--serif); font-weight: 900; font-size: 1.15rem; line-height: 1; outline: 2px dashed #f3ead4; outline-offset: -4px; rotate: 4deg; animation: stamp .45s 1.1s var(--ease) both; z-index: 1; }
.env__stamp small { display: block; font-family: var(--mono); font-weight: 400; font-size: .5rem; letter-spacing: .08em; margin-top: .2em; }
.env__to { position: absolute; left: 12%; bottom: 13%; font-family: var(--hand); font-size: 1.35rem; font-weight: 600; line-height: 1.05; text-align: left; color: #1f2a6e; z-index: 1; }
@keyframes envin { from { opacity: 0; transform: translateY(40vh) rotate(-14deg) scale(.7); } }
@keyframes envfloat { 50% { transform: translateY(-.6rem) rotate(1.5deg); } }
@keyframes flap { from { transform: rotateX(180deg); } }
@keyframes stamp { from { opacity: 0; scale: 2.4; } }

/* ── Unterseiten (Impressum, Datenschutz) ──────────────────── */
.legal { background: var(--paper); color: var(--ink); min-height: 100vh; }
.legal main { width: min(100%, 48rem); margin-inline: auto; padding: clamp(5rem, 14vw, 9rem) var(--pad) 6rem; }
.legal h1 { font-size: clamp(2.6rem, 1rem + 7vw, 5.6rem); margin-bottom: .6em; }
.legal h2 { font-family: var(--serif); font-variation-settings: "SOFT" 100; font-weight: 700; font-size: 1.5rem; line-height: 1.2; margin: 2.2em 0 .5em; }
.legal p, .legal ul { margin-bottom: 1em; }
.legal ul { list-style: disc; padding-left: 1.2em; }
.legal .back { position: fixed; left: var(--pad); top: 1.2rem; font-family: var(--serif); font-style: italic; font-weight: 700; font-size: 1.25rem; text-decoration: none; }
.legal .todo { background: #fff3b8; border: 1.5px dashed #b58a00; border-radius: 6px; padding: .9rem 1.1rem; font-size: .92rem; }

/* ── Weniger Bewegung ──────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .tv-on, .static { display: none !important; }
  body.is-loading { overflow: auto; }
  .hero__w i, .hero__hello, .hero__lead, .hero__cue { animation: none !important; opacity: 1; transform: none; }
  .hero__bow > * { animation: none !important; scale: 1; }
  .js .rbow.rv > i, .js .rbow.rv > .rbow__disc { animation: none !important; scale: 1; }
  .hero__notes b { animation: none; opacity: 1; transform: translate(var(--dx), var(--dy)); }
  .hero__water, .hero__duck .duck { animation: none; }
  .hero__rays, .lamp, .onair i, .hero__cue i, .env, .hero__snd, .hero__snd-ic::after, .lkw__rig, .lkw-body, .lkw-peng { animation: none !important; }
  .js .rv { opacity: 1; transform: none; transition: none; }
}
