/* seite.css · MÄHNE, Barbershop Linz (Beispiel) · Vorlage lp-197
 * Dunkle Seite aus Leder, Chrom und einer Neonröhre. Schrift: Alfa Slab One (Überschriften, die Haare tragen),
 * Barlow (Text), Space Mono (Zeiten und Preise). Der eine Akzent ist das Neonpink aus dem Foto, das Mähnengold
 * nur als Ton für Zahlen und die Haare der Schrift. Bewegung läuft über --p aus js/bewegung.js, ruhige Fassung steht still. */

@font-face { font-family: "Alfa Slab One"; src: url("../fonts/alfa-slab-one-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("../fonts/barlow-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Space Mono"; src: url("../fonts/space-mono-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }

:root {
  --gold: #c9913f;            /* Mähne: Haare der Schrift, Zahlen */
  --chrom: #d9d6d2;           /* Chromkanten */
  --leder: #1a1416;
  --leder-2: #241b1e;
  --neon: var(--akzent);
  --p-anfang: 0;
}
h1, h2, h3 { font-weight: 400; letter-spacing: 0; }
.marke { font-size: 1.3rem; letter-spacing: 0.04em; }
.knopf { font-weight: 600; letter-spacing: 0.01em; }
strong { font-weight: 600; }
.kopf-fest .kopfzeile { backdrop-filter: none; }

/* ============================================================ 1 · Erster Bildschirm: Löwe vollflächig, Text auf der dunklen Wand */
.anfang { position: relative; min-height: 100svh; display: grid; align-items: end; overflow: hidden; isolation: isolate; background: #0a0809; }
.anfang-bild { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.anfang-bild picture, .anfang-bild img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; }
.anfang-bild img { transform: translate3d(calc(var(--mx, 0) * -10px), calc(var(--my, 0) * -6px), 0) scale(1.06); transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1); }
/* Abdunkelung im Bild selbst: unten links, wo der Umhang ohnehin schwarz ist */
.anfang-bild::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 8, 9, 0.35) 0%, rgba(10, 8, 9, 0) 28%, rgba(10, 8, 9, 0) 55%, rgba(10, 8, 9, 0.72) 82%, rgba(10, 8, 9, 0.9) 100%), linear-gradient(90deg, rgba(10, 8, 9, 0.6) 0%, rgba(10, 8, 9, 0.2) 40%, rgba(10, 8, 9, 0) 65%); }
.anfang-raster { position: relative; padding-top: calc(var(--kopf-hoehe) + 40px); padding-bottom: clamp(36px, 6vh, 72px); }
.anfang-text { position: relative; max-width: 50rem; }
.titel { font-size: clamp(2.6rem, 1.2rem + 4.9vw, 5.5rem); line-height: 1.1; max-width: 9.5ch; color: #fbf6f1; text-shadow: 0 2px 24px rgba(0, 0, 0, 0.55); }
.titel .wort { display: inline-block; white-space: nowrap; }
.titel .bu { display: inline-block; }
.unterzeile { margin-top: clamp(16px, 2.4vw, 28px); max-width: 34rem; font-size: var(--t-mittel); line-height: 1.4; color: #e7dcd3; }
.anfang-unten { margin-top: clamp(22px, 3vw, 36px); display: flex; flex-wrap: wrap; align-items: flex-end; gap: 20px 48px; }
.beleg { font-family: var(--schrift-mono); font-size: 0.95rem; letter-spacing: 0.01em; color: #e7dcd3; max-width: 18rem; line-height: 1.5; }
.beleg strong { display: block; font-size: 1.6rem; color: var(--gold); line-height: 1.1; margin-bottom: 4px; }
.handlung { display: grid; gap: 10px; justify-items: start; }
.beruhigung { font-size: 0.95rem; color: #d2c6bc; max-width: 26rem; }
.scroll-wort { margin-left: auto; align-self: flex-end; font-family: var(--schrift-mono); font-size: 0.8rem; letter-spacing: 0.06em; color: #cdbfb4; opacity: 0.85; display: none; }
@media (min-width: 960px) { .scroll-wort { display: block; } }
/* Haare der Überschrift (der Regelbruch): SVG über dem Text, Striche in Mähnengold; der Haarschneider ist eine Chromlinie */
.haare { position: absolute; left: 0; top: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; z-index: 2; }
.haare path { fill: none; stroke: var(--gold); stroke-width: 1.6; stroke-linecap: round; opacity: 0.95; transform-box: fill-box; transform-origin: top center; transition: transform 0.7s cubic-bezier(0.3, 0, 0.7, 1), opacity 0.6s ease; }
.js .haare path.ab { transform: translateY(70px) rotate(14deg); opacity: 0; }
.schneider { position: absolute; top: -6px; width: 3px; pointer-events: none; z-index: 3; opacity: 0; background: linear-gradient(180deg, transparent, var(--chrom) 12%, #fff 50%, var(--chrom) 88%, transparent); box-shadow: 0 0 12px rgba(255, 255, 255, 0.35); transition: opacity 0.3s ease; }
.schneider.an { opacity: 1; }
.schneider::after { content: ""; position: absolute; left: 50%; bottom: -14px; width: 26px; height: 12px; transform: translateX(-50%); border-radius: 2px; background: repeating-linear-gradient(90deg, #c9c5c0 0 2px, #4a4446 2px 4px); box-shadow: 0 1px 0 #fff, 0 3px 8px rgba(0, 0, 0, 0.5); }
@media (max-width: 959px) {
  .anfang-bild img { object-position: 50% 30%; transform: none; }
  .anfang-bild::after { background: linear-gradient(180deg, rgba(10, 8, 9, 0.3) 0%, rgba(10, 8, 9, 0) 20%, rgba(10, 8, 9, 0) 42%, rgba(10, 8, 9, 0.82) 68%, rgba(10, 8, 9, 0.96) 100%); }
  .anfang-raster { padding-top: 30svh; padding-bottom: 24px; }
  .titel { font-size: clamp(2.2rem, 10vw, 3.4rem); }
  .unterzeile { margin-top: 12px; font-size: 1.05rem; line-height: 1.35; }
  .anfang-unten { margin-top: 16px; gap: 12px; }
  .beleg { font-size: 0.85rem; max-width: none; }
  .beleg strong { font-size: 1.25rem; display: inline; margin-right: 6px; }
  .handlung { gap: 8px; }
  .beruhigung { font-size: 0.9rem; }
}

/* ============================================================ 2 · Wie lange gewartet: wild gesperrt, beim Scrollen gekämmt */
.gewartet { padding-top: calc(var(--abstand) * 0.9); overflow-x: clip; }
.gewartet h2 { font-size: var(--t-mittel); font-family: var(--schrift-mono); font-weight: 700; color: var(--text-3); letter-spacing: 0.06em; max-width: none; }
.zeiten { list-style: none; margin: clamp(20px, 3vw, 36px) 0 0; padding: 0; display: grid; gap: 0.1em; }
.zeit { font-family: var(--schrift-display); font-size: clamp(2.4rem, 1.2rem + 5.2vw, 5.6rem); line-height: 1.08; color: var(--text); }
.zeit-wort { display: inline-block; }
.egal { margin-top: clamp(28px, 4vw, 48px); max-width: 38rem; font-size: var(--t-mittel); line-height: 1.45; color: var(--text-2); }
.egal-wort { display: block; font-family: var(--schrift-display); font-size: clamp(2.2rem, 1rem + 4vw, 4.4rem); line-height: 1; color: var(--neon); margin-bottom: 14px; }

/* ============================================================ 3 · Stoppuhr-Bühne: 0 bis 40 Minuten, fünf Schritte, der Umhang fällt */
.buehne { position: relative; height: 380svh; background: var(--leder); }
.buehne-innen { position: sticky; top: 0; height: 100svh; display: grid; align-items: center; overflow: hidden; background: radial-gradient(120% 90% at 20% 20%, #27191d 0%, var(--leder) 55%, #120d0f 100%); }
.buehne-raster { display: grid; gap: clamp(28px, 5vw, 80px); align-items: center; }
@media (min-width: 960px) { .buehne-raster { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); } }
.uhr { display: grid; gap: 6px; justify-items: start; }
.uhr-wort { font-family: var(--schrift-mono); font-size: 0.9rem; letter-spacing: 0.06em; color: var(--text-3); }
.uhr-zahl { font-family: var(--schrift-mono); font-size: clamp(4.2rem, 2rem + 10vw, 11rem); line-height: 1; letter-spacing: -0.04em; color: var(--gold); font-variant-numeric: tabular-nums; }
.uhr-min { font-family: var(--schrift-mono); font-size: 1rem; color: var(--text-2); }
/* fünf Neonröhren: eine je Schritt, zündet weich, blitzt nie */
.uhr-roehren { display: flex; gap: 12px; margin-top: 24px; }
.uhr-roehren i { display: block; width: 6px; height: 56px; border-radius: 3px; background: #3a2230; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05); }
.schritte h2 { font-size: var(--t-gross); max-width: 14ch; }
.schritt-liste { list-style: none; margin: clamp(20px, 3vw, 36px) 0 0; padding: 0; display: grid; gap: 10px; }
.schritt { display: grid; grid-template-columns: 5.2rem 1fr; gap: 4px 18px; align-items: baseline; padding: 10px 0 10px 16px; border-left: 2px solid var(--linie); color: var(--text-3); }
.schritt-zeit { grid-row: 1 / 3; font-family: var(--schrift-mono); font-size: 0.95rem; color: var(--text-3); }
.schritt-name { font-family: var(--schrift-display); font-size: var(--t-mittel); line-height: 1.1; color: var(--text-2); }
.schritt-text { font-size: 0.98rem; line-height: 1.45; }
.schritt--wende .schritt-name { color: var(--neon); }
.umhang-feld { position: relative; margin-top: 18px; height: 88px; overflow: hidden; border-radius: 6px; }
.fertig { position: absolute; inset: 0; display: flex; align-items: baseline; gap: 16px; padding: 0 18px; font-family: var(--schrift-display); font-size: clamp(2rem, 1rem + 3vw, 3.4rem); line-height: 88px; color: var(--neon); text-shadow: 0 0 2px #fff, 0 0 10px var(--neon), 0 0 32px rgba(255, 61, 138, 0.55); }
.fertig span { font-family: var(--schrift-mono); font-size: 1rem; color: var(--text-2); text-shadow: none; }
.umhang { position: absolute; inset: -2px; background: linear-gradient(100deg, #0e0b0c 0%, #1f1719 28%, #0c090a 52%, #241b1d 75%, #0b0809 100%); box-shadow: inset 0 -10px 20px rgba(0, 0, 0, 0.6); }
.umhang::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(104deg, rgba(255, 255, 255, 0.025) 0 6px, transparent 6px 22px); }
@media (max-width: 959px) and (max-height: 640px) {
  .buehne-raster { grid-template-columns: minmax(0, 0.55fr) minmax(0, 1.45fr); gap: 20px; }
  .uhr-zahl { font-size: clamp(2.4rem, 9vw, 4rem); }
  .schritte h2 { font-size: 1.3rem; }
  .schritt-text { display: none; }
  .umhang-feld { display: none; }
}
@media (max-width: 959px) {
  .buehne { height: 320svh; }
  .uhr-zahl { font-size: clamp(3.6rem, 18vw, 5.4rem); }
  .uhr-roehren { margin-top: 10px; }
  .uhr-roehren i { height: 28px; }
  .schritt { grid-template-columns: 4rem 1fr; padding: 6px 0 6px 12px; }
  .schritt-text { font-size: 0.9rem; }
  .schritt-liste { gap: 4px; }
  .umhang-feld { height: 64px; }
  .fertig { line-height: 64px; }
}

/* ============================================================ 4 · Preise: Lederschubladen mit Chromgriff */
.preise .innen { display: grid; gap: clamp(24px, 4vw, 56px); }
@media (min-width: 960px) { .preise .innen { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); } .preise .abschnitt-satz { grid-column: 1; } .preise .laden { grid-column: 2; grid-row: 1 / 3; } }
.laden { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; overflow-x: clip; }
.lade { position: relative; display: grid; grid-template-columns: 1fr auto; gap: 4px 24px; align-items: center; padding: 22px 28px 22px 26px; background: linear-gradient(180deg, var(--leder-2), var(--leder)); border-radius: 6px; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 14px 30px -18px rgba(0, 0, 0, 0.9); }
.lade::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: linear-gradient(180deg, #8a8580, var(--chrom), #6e6a66); border-radius: 6px 0 0 6px; }
.lade::after { content: ""; position: absolute; right: 18px; top: 50%; width: 44px; height: 4px; transform: translateY(-50%); border-radius: 2px; background: linear-gradient(90deg, #7a7571, var(--chrom), #7a7571); opacity: 0.55; }
.lade-name { font-family: var(--schrift-display); font-size: var(--t-mittel); color: var(--text); }
.lade-text { grid-column: 1; font-size: 0.98rem; color: var(--text-2); }
.lade-preis { grid-column: 2; grid-row: 1 / 3; margin-right: 70px; font-family: var(--schrift-mono); font-size: clamp(1.6rem, 1rem + 1.8vw, 2.6rem); color: var(--gold); }

/* ============================================================ 5 · Der Stuhl: Bild über die volle Breite, zoomt beim Scrollen heraus */
.stuhl { position: relative; min-height: 78svh; display: grid; align-items: end; overflow: hidden; isolation: isolate; }
.stuhl-bild { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.stuhl-bild img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; }
.stuhl-bild::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(13, 11, 12, 0.2), rgba(13, 11, 12, 0) 35%, rgba(13, 11, 12, 0.85) 100%), linear-gradient(90deg, rgba(13, 11, 12, 0.55), rgba(13, 11, 12, 0) 55%); }
.stuhl-text { position: relative; padding-block: clamp(48px, 8vh, 96px); max-width: none; }
.stuhl h2 { font-size: var(--t-gross); color: #fbf6f1; }
.stuhl .abschnitt-satz { color: #e7dcd3; }

/* ============================================================ 6 · Freie Stühle: Leuchtschrift zündet, vergebene Zeiten fliegen davon */
.termine { overflow: clip; }
.neon { max-width: none; display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px 22px; }
.neon-wort { font-family: var(--schrift-display); color: #8d5c75; -webkit-text-stroke: 0.6px rgba(255, 255, 255, 0.12); }
.neon-klein { font-family: var(--schrift-mono); font-size: 1rem; letter-spacing: 0.1em; color: var(--text-3); }
.woche { list-style: none; margin: clamp(28px, 4vw, 48px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.woche ul { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 8px; }
.tag-name { display: block; font-size: 0.95rem; color: var(--text-2); padding-bottom: 8px; border-bottom: 1px solid var(--linie); }
.slot { position: relative; }
.slot a, .slot span { display: flex; align-items: center; justify-content: center; min-height: 48px; border-radius: 6px; font-family: var(--schrift-mono); font-size: 0.98rem; text-decoration: none; }
.slot a { background: var(--leder-2); color: var(--text); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.07); transition: box-shadow 0.25s ease, color 0.25s ease; }
@media (hover: hover) and (pointer: fine) { .slot a:hover { box-shadow: inset 0 0 0 1.5px var(--neon); color: #fff; } }
.slot--weg span { color: var(--text-3); text-decoration: line-through; text-decoration-color: var(--neon); background: rgba(255, 255, 255, 0.025); box-shadow: inset 0 0 0 1px var(--linie); transform-origin: 30% 80%; }
.woche-hinweis { margin-top: 20px; font-size: 0.95rem; color: var(--text-3); }
@media (max-width: 959px) { .woche { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 400px) { .woche { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ============================================================ 7 · Fragen: Frage links, Antwort rechts im Spiegel */
.fragen { overflow: clip; }
.spiegel-liste { margin: clamp(28px, 4vw, 48px) 0 0; display: grid; gap: 14px; }
.spiegel { display: grid; gap: 12px 32px; padding: 20px 0; border-top: 1px solid var(--linie); }
@media (min-width: 760px) { .spiegel { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); } }
.spiegel dt { font-family: var(--schrift-display); font-size: var(--t-mittel); line-height: 1.2; color: var(--text); }
.spiegel dd { position: relative; margin: 0; padding: 16px 20px; color: var(--text-2); line-height: 1.5; background: linear-gradient(135deg, #1d1619, #110d0f); border-radius: 6px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.07), inset 0 1px 0 rgba(255, 255, 255, 0.08); }
.spiegel dd::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; border-radius: 6px 0 0 6px; background: linear-gradient(180deg, #8a8580, var(--chrom), #6e6a66); }

/* ============================================================ 8 · Setz dich: Formular auf Leder mit Neonkante */
.kontakt { background: var(--leder); }
.kontakt-raster { display: grid; gap: clamp(28px, 4vw, 64px); align-items: start; }
@media (min-width: 960px) { .kontakt-raster { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); } }
.kontakt .formular { padding: 28px 28px 28px 30px; background: linear-gradient(180deg, var(--leder-2), #15100f); border-radius: 6px; box-shadow: inset 3px 0 0 var(--neon), inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 0 40px -18px rgba(255, 61, 138, 0.5); max-width: none; }
.kontakt .feld input, .kontakt .feld select { background-color: #0f0b0c; }
.direkt { display: grid; gap: 10px; align-content: start; }
.direkt a { min-height: 44px; display: inline-flex; align-items: center; font-family: var(--schrift-mono); font-size: 1.05rem; color: var(--text); }
.direkt p { color: var(--text-2); }
.direkt-bild { width: min(100%, 360px); aspect-ratio: 3 / 4; object-fit: cover; border-radius: 6px; margin-bottom: 10px; box-shadow: 0 20px 40px -24px rgba(0, 0, 0, 0.9); }
.fuss { background: var(--leder); border-top-color: #2e2528; }

/* ============================================================ Bewegung: nur mit JavaScript und ohne „weniger Bewegung“; ruhig und ohne JS steht alles im Endzustand */
@media (prefers-reduced-motion: no-preference) {
  /* 1 · Kopf: Bild zieht zurück und zoomt leicht, Text und Knopf ziehen nach oben weg */
  .js .anfang-bild img { transform: translate3d(calc(var(--mx, 0) * -10px), calc(var(--my, 0) * -6px + var(--p, 0) * -40px), 0) scale(calc(1.06 + var(--p, 0) * 0.08)); }
  .js .anfang-text { transform: translateY(calc(var(--p, 0) * -70px)); opacity: calc(1 - var(--p, 0) * 1.3); }
  .js .scroll-wort { opacity: calc(0.85 - var(--p, 0) * 4); }
  /* 2 · Drei Zeilen: Sperrung und Versatz je Zeile laufen beim Scrollen auf 0 (gekämmt) */
  .js .zeit-wort { letter-spacing: calc((1 - min(1, var(--p, 1) * 1.8)) * 0.32em); transform: translateX(calc((1 - min(1, var(--p, 1) * 1.8)) * 6vw)); opacity: calc(0.35 + min(1, var(--p, 1) * 1.8) * 0.65); }
  .js .zeit:nth-child(2) .zeit-wort { transform: translateX(calc((1 - min(1, var(--p, 1) * 1.8)) * -4vw)); }
  .js .egal-wort { transform: scale(calc(0.7 + min(1, var(--p, 1) * 2) * 0.3)); transform-origin: left bottom; opacity: calc(min(1, var(--p, 1) * 2.2)); }
  /* 3 · Bühne: Röhren zünden weich mit dem Fortschritt, Schritte leuchten auf, der Umhang fällt bei 0,65 bis 0,8 */
  .js .uhr-roehren i { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05), 0 0 0 0 transparent; transition: background-color 0.35s ease, box-shadow 0.35s ease; }
  .js .uhr-roehren i:nth-child(1) { background-color: color-mix(in srgb, var(--neon) calc(min(1, max(0, var(--p, 1) * 10)) * 100%), #3a2230); box-shadow: 0 0 14px color-mix(in srgb, var(--neon) calc(min(1, max(0, var(--p, 1) * 10)) * 70%), transparent); }
  .js .uhr-roehren i:nth-child(2) { background-color: color-mix(in srgb, var(--neon) calc(min(1, max(0, (var(--p, 1) - 0.2) * 10)) * 100%), #3a2230); box-shadow: 0 0 14px color-mix(in srgb, var(--neon) calc(min(1, max(0, (var(--p, 1) - 0.2) * 10)) * 70%), transparent); }
  .js .uhr-roehren i:nth-child(3) { background-color: color-mix(in srgb, var(--neon) calc(min(1, max(0, (var(--p, 1) - 0.45) * 10)) * 100%), #3a2230); box-shadow: 0 0 14px color-mix(in srgb, var(--neon) calc(min(1, max(0, (var(--p, 1) - 0.45) * 10)) * 70%), transparent); }
  .js .uhr-roehren i:nth-child(4) { background-color: color-mix(in srgb, var(--neon) calc(min(1, max(0, (var(--p, 1) - 0.65) * 10)) * 100%), #3a2230); box-shadow: 0 0 14px color-mix(in srgb, var(--neon) calc(min(1, max(0, (var(--p, 1) - 0.65) * 10)) * 70%), transparent); }
  .js .uhr-roehren i:nth-child(5) { background-color: color-mix(in srgb, var(--neon) calc(min(1, max(0, (var(--p, 1) - 0.8) * 10)) * 100%), #3a2230); box-shadow: 0 0 14px color-mix(in srgb, var(--neon) calc(min(1, max(0, (var(--p, 1) - 0.8) * 10)) * 70%), transparent); }
  .js .schritt { --an: 0; border-left-color: color-mix(in srgb, var(--neon) calc(var(--an) * 100%), var(--linie)); transform: translateX(calc(var(--an) * 10px)); transition: border-color 0.3s ease, transform 0.4s var(--aus); }
  .js .schritt .schritt-name { color: color-mix(in srgb, var(--text) calc(var(--an) * 100%), var(--text-3)); transition: color 0.3s ease; }
  .js .schritt .schritt-text, .js .schritt .schritt-zeit { color: color-mix(in srgb, var(--text-2) calc(var(--an) * 100%), var(--text-3)); transition: color 0.3s ease; }
  .js .schritt:nth-child(1) { --an: min(1, max(0, var(--p, 1) * 12)); }
  .js .schritt:nth-child(2) { --an: min(1, max(0, (var(--p, 1) - 0.2) * 12)); }
  .js .schritt:nth-child(3) { --an: min(1, max(0, (var(--p, 1) - 0.45) * 12)); }
  .js .schritt:nth-child(4) { --an: min(1, max(0, (var(--p, 1) - 0.65) * 12)); }
  .js .schritt:nth-child(5) { --an: min(1, max(0, (var(--p, 1) - 0.8) * 12)); }
  .js .schritt--wende .schritt-name { color: color-mix(in srgb, var(--neon) calc(var(--an) * 100%), var(--text-3)); }
  .js .umhang { transform: translateY(calc(min(1, max(0, (var(--p, 1) - 0.65) * 6.7)) * 104%)) rotate(calc(min(1, max(0, (var(--p, 1) - 0.65) * 6.7)) * 3deg)); }
  .js .fertig { opacity: calc(0.4 + min(1, max(0, (var(--p, 1) - 0.68) * 8)) * 0.6); }
  /* 4 · Schubladen ziehen sich heraus, jede ein Stück später */
  .js .lade { transform: translateX(calc((1 - min(1, var(--p, 1) * 2.2)) * -38%)); opacity: calc(0.25 + min(1, var(--p, 1) * 2.2) * 0.75); }
  .js .lade:nth-child(2) { transform: translateX(calc((1 - min(1, max(0, var(--p, 1) - 0.06) * 2.2)) * -38%)); }
  .js .lade:nth-child(3) { transform: translateX(calc((1 - min(1, max(0, var(--p, 1) - 0.12) * 2.2)) * -38%)); }
  /* 5 · Der Stuhl: Bild zoomt von 1,14 auf 1 heraus, Text kommt von unten */
  .js .stuhl-bild img { transform: scale(calc(1.14 - var(--p, 1) * 0.14)); }
  .js .stuhl-text { transform: translateY(calc((1 - min(1, var(--p, 1) * 2)) * 40px)); }
  /* 6 · Leuchtschrift zündet weich (kein Flackern, kein Blitz), vergebene Zeiten fliegen davon */
  .js .neon-wort { --an: min(1, max(0, (var(--p, 1) - 0.12) * 3)); color: color-mix(in srgb, #ffd6e6 calc(var(--an) * 100%), #8d5c75); text-shadow: 0 0 calc(var(--an) * 2px) #fff, 0 0 calc(var(--an) * 0.12em) var(--neon), 0 0 calc(var(--an) * 0.4em) rgba(255, 61, 138, 0.7), 0 0 calc(var(--an) * 1em) rgba(255, 61, 138, 0.35); }
  .js .slot--weg span { --weg: min(1, max(0, (var(--p, 1) - 0.25) * 2.4)); transform: translate(calc(var(--weg) * 60px), calc(var(--weg) * -140px)) rotate(calc(var(--weg) * 28deg)); opacity: calc(1 - var(--weg) * 0.92); }
  .js .tag:nth-child(2n) .slot--weg span { transform: translate(calc(var(--weg) * -50px), calc(var(--weg) * -160px)) rotate(calc(var(--weg) * -22deg)); }
  /* 7 · Antwort erscheint im Spiegel, sobald die Frage im Bild ist */
  .js .spiegel dd { opacity: calc(min(1, max(0, (var(--p, 1) - 0.12) * 3.2))); transform: translateX(calc((1 - min(1, max(0, (var(--p, 1) - 0.12) * 3.2))) * 24px)); filter: blur(calc((1 - min(1, max(0, (var(--p, 1) - 0.12) * 3.2))) * 6px)); }
}
/* Ohne JavaScript und in der ruhigen Fassung: Leuchtschrift an, Umhang unten, alles sichtbar */
.neon-wort { color: #ffd6e6; text-shadow: 0 0 2px #fff, 0 0 0.12em var(--neon), 0 0 0.4em rgba(255, 61, 138, 0.7), 0 0 1em rgba(255, 61, 138, 0.35); }
.js .neon-wort { color: #8d5c75; text-shadow: none; }
html:not(.js) .umhang, html:not(.js) .slot--weg span { display: none; }
.uhr-roehren i { background: var(--neon); box-shadow: 0 0 14px rgba(255, 61, 138, 0.7); }
.js .uhr-roehren i { background: #3a2230; box-shadow: none; }
@media (prefers-reduced-motion: reduce) {
  .js .neon-wort { color: #ffd6e6; text-shadow: 0 0 2px #fff, 0 0 0.12em var(--neon), 0 0 0.4em rgba(255, 61, 138, 0.7), 0 0 1em rgba(255, 61, 138, 0.35); }
  .js .umhang { transform: translateY(104%); }
  .js .uhr-roehren i { background: var(--neon); box-shadow: 0 0 14px rgba(255, 61, 138, 0.7); }
  .js .slot--weg span { opacity: 0.35; }
  .js .anfang-bild img { transform: none; transition: none; }
}
