/* ============================================================
   BEWERBERREISE — „Der Feierabend-Film"
   Drehbuch: research/11-bewerberreise-drehbuch.md

   Zwei Fassungen in einem Markup:
   - Grundzustand (ohne JS / reduced motion / kleine Höhen):
     Fotoroman — die Tafeln stehen lesbar untereinander.
   - .is-cinema (setzt reise.js): Sticky-Bühne, alles hängt am
     Scrollfortschritt. Animiert werden nur transform + opacity.
   ============================================================ */

.reise { background: var(--ink); color: var(--txt-inv); position: relative; }

/* ---------- Fotoroman (Default) ---------- */
.reise-tafeln { display: grid; gap: var(--s-6); padding-block: var(--s-7); }
.reise-tafel { max-width: 44rem; margin-inline: auto; padding-inline: var(--gutter); }
.reise-tafel .zeit { display: inline-block; font-size: var(--fs-xs); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); margin-bottom: .6rem; }
.reise-tafel h3 { font-size: clamp(1.3rem, 1.1rem + 1vw, 1.8rem); color: #fff; margin: 0 0 .5rem; }
.reise-tafel p { color: rgba(255,255,255,.72); line-height: 1.65; margin: 0 0 .8rem; }
.reise-tafel .tafel-bild { border-radius: var(--r-lg); overflow: hidden; margin-top: var(--s-3); box-shadow: 0 24px 60px rgba(0,0,0,.45); }
.reise-tafel .tafel-bild img { width: 100%; height: auto; display: block; }
.reise-zaehler-paar { display: flex; align-items: center; gap: var(--s-3); flex-wrap: wrap; font-weight: 800; font-size: clamp(1.4rem, 1rem + 2vw, 2.2rem); }
.reise-zaehler-paar .alt { color: rgba(255,255,255,.45); text-decoration: line-through; text-decoration-color: var(--accent); text-decoration-thickness: 3px; }
.reise-zaehler-paar .neu { color: var(--accent); }
.reise-zaehler-paar .pfeil { color: rgba(255,255,255,.4); font-weight: 400; }

/* Im Cinema-Modus verschwindet der Fotoroman, die Bühne übernimmt */
.is-cinema .reise-tafeln { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* ---------- Track + Bühne ---------- */
.reise-track { display: none; }
.is-cinema .reise-track { display: block; height: var(--track, 730vh); position: relative; }
@media (max-width: 767px) { .is-cinema .reise-track { height: var(--track-mobil, 560vh); } }

.reise-buehne {
  position: sticky; top: 0; height: 100dvh; overflow: clip;
  display: grid; place-items: center;
}

/* Gemeinsame Ebenen-Grundlage: alles absolut, nichts fängt Zeiger */
.reise-buehne > * { position: absolute; inset: 0; pointer-events: none; }

/* ---------- Ebene 1: Raum ---------- */
.l-raum .raum { position: absolute; inset: 0; opacity: 0; }
.l-raum .raum-halle {
  background:
    radial-gradient(58% 46% at 50% 38%, rgba(255,255,255,.10), transparent 70%),
    var(--ink);
  opacity: 1;
}
.l-raum .raum-abend {
  background:
    radial-gradient(70% 34% at 50% 100%, rgba(255,122,40,.13), transparent 72%),
    radial-gradient(40% 42% at 0% 55%, rgba(64,110,255,.10), transparent 70%),
    #100F0E;
}
.l-raum .raum-morgen {
  background:
    linear-gradient(180deg, #1C2026 0%, #23272E 55%, #1A1D22 100%);
}
/* TV-Flackern: eigene Fläche, nur opacity animiert */
.l-raum .tv-flackern { position: absolute; left: 0; top: 20%; bottom: 20%; width: 24%; background: radial-gradient(60% 50% at 0% 50%, rgba(96,140,255,.16), transparent 75%); opacity: 0; }
.is-cinema.s1:not(.is-lite) .tv-flackern,
.is-cinema.s2:not(.is-lite) .tv-flackern { animation: reise-tv 3.4s steps(6) infinite; }
@keyframes reise-tv { 0%,100% { opacity: .5 } 18% { opacity: .95 } 30% { opacity: .4 } 55% { opacity: .8 } 70% { opacity: .55 } }

/* ---------- Ebene 2: Glow (das emotionale Barometer) ---------- */
.l-glow {
  background: radial-gradient(42% 38% at 50% 52%, rgba(255,92,10,.55), rgba(255,92,10,.14) 55%, transparent 76%);
  mix-blend-mode: screen; opacity: 0;
}

/* ---------- Ebene 3: Requisiten ---------- */
.l-req .papier {
  position: absolute; top: 50%; width: min(300px, 34vw);
  background: #EFEAD9; color: #2A2822; border-radius: 6px;
  padding: 1.1rem 1.2rem; box-shadow: 0 30px 60px rgba(0,0,0,.5);
  font-family: Georgia, 'Times New Roman', serif;
  transform-origin: 50% 100%;
}
.l-req .papier-zeitung { left: 12%; transform: translateY(-50%) rotate(-4deg); }
.l-req .papier-amt { right: 12%; transform: translateY(-50%) rotate(3deg); }
.l-req .papier h4 { font-size: 1.05rem; margin: 0 0 .4rem; font-weight: 700; }
.l-req .papier p { font-size: .86rem; line-height: 1.5; margin: 0; color: #55524A; }
.l-req .papier .stempel { display: inline-block; margin-top: .6rem; padding: .2em .6em; border: 2px solid #A33; color: #A33; font-size: .72rem; font-weight: 700; transform: rotate(-6deg); }
@media (max-width: 767px) { .l-req .papier { width: 38vw; padding: .8rem .85rem; } .l-req .papier-zeitung { left: 5%; } .l-req .papier-amt { right: 5%; } }

/* Prolog-Zähler */
.l-req .zaehler-gross {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%);
  text-align: center; font-weight: 800; color: #fff;
}
.l-req .zaehler-gross .zahl { font-size: clamp(3.2rem, 2rem + 7vw, 7rem); font-variant-numeric: tabular-nums; letter-spacing: -0.02em; display: block; line-height: 1; }
.l-req .zaehler-gross .einheit { font-size: 1.04rem; color: rgba(255,255,255,.66); font-weight: 600; }

/* Stoppuhr + Portal-Kontrast (Szene 4) */
.l-req .stoppuhr {
  position: absolute; right: 8%; top: 50%; transform: translateY(-50%);
  font-variant-numeric: tabular-nums; font-weight: 800; color: #fff;
  font-size: clamp(2rem, 1.4rem + 3vw, 4rem); opacity: 0;
}
.l-req .stoppuhr small { display: block; font-size: .84rem; font-weight: 600; color: rgba(255,255,255,.6); letter-spacing: .05em; }
.l-req .portal {
  position: absolute; left: 6%; top: 60%; transform: translateY(-50%) rotate(-2deg);
  width: min(240px, 26vw); border-radius: 10px; overflow: hidden; opacity: 0;
  background: #2E2E31; color: #9A9AA2; filter: grayscale(1);
  box-shadow: 0 24px 50px rgba(0,0,0,.45); font-size: .72rem;
}
.l-req .portal .p-kopf { background: #3A3A3E; padding: .5rem .7rem; font-weight: 700; }
.l-req .portal .p-body { padding: .7rem; }
.l-req .portal .p-feld { background: #38383C; border-radius: 5px; padding: .45rem .6rem; margin-bottom: .45rem; }
.l-req .portal .p-schritt { font-size: .66rem; letter-spacing: .04em; }
.l-req .portal::after { content: ""; position: absolute; left: -6%; right: -6%; top: 50%; height: 4px; background: var(--accent); transform: rotate(-8deg); border-radius: 2px; }
@media (max-width: 767px) { .l-req .stoppuhr { right: 5%; top: 16%; } .l-req .portal { display: none; } }

/* ---------- Ebene 4: Handy ---------- */
.l-phone { display: grid; place-items: center; }
.phone-rahmen {
  position: relative; height: min(78vh, 720px); aspect-ratio: 9 / 19.2;
  border-radius: 44px; background: #17171A;
  box-shadow: inset 0 0 0 3px #2E2E33, inset 0 0 0 7px #0B0B0D, 0 40px 90px rgba(0,0,0,.6);
  transform: translateY(120vh) scale(.6); /* Startzustand: unten, klein */
}
.phone-rahmen::before { /* Insel */
  content: ""; position: absolute; top: 14px; left: 50%; transform: translateX(-50%);
  width: 26%; height: 3.4%; background: #000; border-radius: 999px; z-index: 4;
}
.phone-status {
  position: absolute; top: 16px; left: 0; right: 0; z-index: 3;
  display: flex; justify-content: space-between; padding: 0 9%;
  font-size: .72rem; font-weight: 700; color: #fff;
}
.phone-screen {
  position: absolute; inset: 10px; border-radius: 36px; overflow: hidden; background: #000;
}

/* Screens im Handy: Feed / Formular / Score / Anruf / Karte.
   Explizite z-Leiter: Kinder der Screens tragen eigene z-Indizes
   (Feed-Icons), die sonst über spätere Geschwister-Screens stächen. */
.scr { position: absolute; inset: 0; opacity: 0; }
.scr.an { opacity: 1; }
.scr-feed { z-index: 1; }
.scr-form { z-index: 2; }
.scr-score { z-index: 3; }
.scr-call { z-index: 4; }
.scr-card { z-index: 5; }

/* Feed: 4 Zellen (3 Attrappen + Weber-Video), per translateY geschoben */
.scr-feed { opacity: 1; }
.feed-spur { position: absolute; inset: 0; }
.feed-zelle { position: absolute; inset: 0; overflow: hidden; }
.feed-zelle img, .feed-zelle video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.feed-zelle img { transform: scale(1); }
.is-cinema:not(.is-lite) .feed-zelle.zoom img { animation: reise-kenburns 9s linear infinite alternate; }
@keyframes reise-kenburns { from { transform: scale(1.0) } to { transform: scale(1.09) } }
.feed-ui { position: absolute; right: 4%; bottom: 12%; display: grid; gap: .9rem; z-index: 2; }
.feed-ui svg { width: 26px; height: 26px; stroke: #fff; fill: none; stroke-width: 2; filter: drop-shadow(0 1px 4px rgba(0,0,0,.6)); }
.feed-grad { position: absolute; inset: auto 0 0 0; height: 38%; background: linear-gradient(transparent, rgba(0,0,0,.55)); z-index: 1; }
.feed-cta {
  position: absolute; left: 5%; right: 5%; bottom: 4.5%; z-index: 3;
  background: var(--accent); color: #fff; text-align: center; font-weight: 700;
  font-size: .95rem; padding: .7em 1em; border-radius: 12px; opacity: 0;
}
.feed-marke { position: absolute; top: 5.5%; left: 5%; z-index: 3; display: flex; align-items: center; gap: .5rem; opacity: 0; }
.feed-marke .logo { height: 38px; padding: 0 .45rem; border-radius: 10px; background: #fff; display: grid; place-items: center; box-shadow: 0 3px 10px rgba(0,0,0,.4); }
.feed-marke .logo img { height: 23px; width: auto; }
.feed-marke b { font-size: .88rem; color: #fff; text-shadow: 0 1px 4px rgba(0,0,0,.7); }
.feed-marke b i { display: block; font-style: normal; font-weight: 400; font-size: .64rem; opacity: .85; }

/* Formular */
.scr-form { background: #141416; padding: 18% 7% 7%; }
.form-fortschritt { position: absolute; top: 12%; left: 7%; right: 7%; height: 5px; border-radius: 999px; background: rgba(255,255,255,.14); }
.form-fortschritt i { position: absolute; inset: 0 100% 0 0; background: var(--accent); border-radius: inherit; transition: inset-inline-end .2s linear; }
.form-karte { position: absolute; left: 7%; right: 7%; top: 22%; opacity: 0; transform: translateX(60px); }
.form-karte h4 { color: #fff; font-size: 1.14rem; margin: 0 0 .9rem; }
.form-kachel { background: #232327; color: #EDEDEF; border-radius: 13px; padding: .85em 1em; font-weight: 600; font-size: .97rem; margin-bottom: .6rem; position: relative; overflow: hidden; }
.form-kachel.auswahl { background: var(--accent); color: #fff; }
.form-kachel.auswahl::after { content: "✓"; position: absolute; right: .9em; top: 50%; transform: translateY(-50%); font-weight: 800; }
.form-fertig { position: absolute; inset: 0; display: grid; place-content: center; gap: .6rem; text-align: center; background: #141416; opacity: 0; }
.form-fertig .haken { width: 74px; height: 74px; margin-inline: auto; border-radius: 50%; background: var(--accent); display: grid; place-items: center; color: #fff; font-size: 2.1rem; font-weight: 800; }
.form-fertig b { color: #fff; font-size: 1.05rem; }
.form-fertig span { color: rgba(255,255,255,.6); font-size: .84rem; }

/* Score-Screen: MitScore rechnet automatisch aus den Formular-Antworten.
   Wichtig: top-Angaben in % der Höhe (absolute Position), kein
   Prozent-Padding — das rechnete gegen die Breite und ließ Kopf
   und Liste kollidieren. */
.scr-score { background: #101013; }
.score-kopf { position: absolute; top: 7%; left: 0; right: 0; padding: 0 8% 2%; display: flex; align-items: center; gap: .6rem; border-bottom: 1px solid rgba(255,255,255,.09); }
.score-kopf b { color: #fff; font-size: .92rem; }
.score-kopf b i { display: block; font-style: normal; font-weight: 400; font-size: .7rem; color: rgba(255,255,255,.55); }
.score-liste { position: absolute; top: 16.5%; left: 8%; right: 8%; }
.score-zeile {
  display: flex; align-items: center; justify-content: space-between; gap: .6rem;
  background: #1C1C20; border-radius: 11px; padding: .62em .8em; margin-bottom: .5rem;
  color: #D9D9DE; font-size: .84rem; opacity: 0; transform: translateY(12px);
}
.score-zeile b { color: #4CBF7A; font-size: .95rem; }
.score-zeile.zeigen { opacity: 1; transform: none; transition: opacity .22s ease, transform .22s ease; }
.score-ergebnis { position: absolute; left: 8%; right: 8%; bottom: 9%; display: flex; align-items: center; gap: .9rem; opacity: 0; transform: translateY(10px); }
.score-ergebnis.zeigen { opacity: 1; transform: none; transition: opacity .3s ease, transform .3s ease; }
.score-ring.gross { width: 72px; height: 72px; flex: 0 0 auto; border-radius: 50%; display: grid; place-items: center; background: conic-gradient(#1C7A43 calc(var(--ring, 0) * 1%), #26262B 0); }
.score-ring.gross b { width: 56px; height: 56px; border-radius: 50%; background: #101013; color: #6FDCA0; display: grid; place-items: center; font-weight: 800; font-size: 1.25rem; font-variant-numeric: tabular-nums; }
.score-wort { color: rgba(255,255,255,.72); font-size: .84rem; line-height: 1.45; }

/* Anruf */
.scr-call { background: radial-gradient(90% 70% at 50% 20%, #24242A, #101013); display: grid; place-content: center; gap: 1rem; text-align: center; }
.scr-call .anrufer { width: 104px; height: 104px; border-radius: 50%; overflow: hidden; margin-inline: auto; box-shadow: 0 0 0 5px rgba(255,92,10,.35); }
.scr-call .anrufer img { width: 100%; height: 100%; object-fit: cover; }
.scr-call b { color: #fff; font-size: 1.1rem; }
.scr-call span { color: rgba(255,255,255,.6); font-size: .84rem; }
.scr-call .punkte i { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); margin: 0 3px; opacity: .3; }
.is-cinema:not(.is-lite) .scr-call.an .punkte i { animation: reise-punkt 1.2s infinite; }
.is-cinema:not(.is-lite) .scr-call.an .punkte i:nth-child(2) { animation-delay: .2s; }
.is-cinema:not(.is-lite) .scr-call.an .punkte i:nth-child(3) { animation-delay: .4s; }
@keyframes reise-punkt { 0%,100% { opacity: .3 } 50% { opacity: 1 } }

/* Vibration des ganzen Geräts */
.is-cinema:not(.is-lite) .phone-rahmen.vibriert { animation: reise-vibrieren .5s linear 3; }
@keyframes reise-vibrieren { 0%,100% { translate: 0 0 } 20% { translate: 2px -1px } 40% { translate: -2px 1px } 60% { translate: 2px 1px } 80% { translate: -2px -1px } }

/* Bewerberkarte (Morph-Ziel im Screen) */
.scr-card { background: #F5F5F4; display: grid; place-content: center; }
.karte-b { width: min(76%, 300px); background: #fff; border-radius: 18px; padding: 1rem; box-shadow: 0 18px 50px rgba(0,0,0,.25); color: #1C1C1E; }
.karte-b .kb-kopf { display: flex; gap: .7rem; align-items: center; }
.karte-b .kb-kopf img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; }
.karte-b .kb-kopf b { font-size: .98rem; display: block; }
.karte-b .kb-kopf span { font-size: .78rem; color: #63636B; }
.karte-b .score-ring { margin-left: auto; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 1rem; color: #1C7A43; background: conic-gradient(#1C7A43 calc(var(--ring, 0) * 1%), #E4EEE7 0); }
.karte-b .score-ring b { width: 40px; height: 40px; border-radius: 50%; background: #fff; display: grid; place-items: center; font-variant-numeric: tabular-nums; }
.karte-b .kb-notiz { margin-top: .8rem; font-size: .78rem; color: #45454B; background: #F4F6F4; border-left: 3px solid #1C7A43; border-radius: 6px; padding: .55em .7em; }

/* ---------- Ebene 5: Lehr-Daumen ---------- */
.l-daumen { display: grid; place-items: center; }
.daumen {
  position: absolute; width: 54px; height: 54px; opacity: 0;
  transform: translate(0, 26vh);
}
.daumen svg { width: 100%; height: 100%; fill: rgba(255,255,255,.92); filter: drop-shadow(0 4px 10px rgba(0,0,0,.5)); }
.daumen-spur {
  position: absolute; width: 5px; height: 0; border-radius: 999px;
  background: linear-gradient(rgba(255,255,255,.85), transparent);
  transform: translate(0, 18vh); opacity: 0;
}

/* ---------- Ebene 6: MitScore-Board ---------- */
.l-board { display: grid; place-items: center; }
.board {
  width: min(1060px, 92vw); border-radius: var(--r-lg); overflow: hidden;
  background: #F5F5F4; color: #1C1C1E; box-shadow: 0 46px 110px rgba(0,0,0,.55);
  opacity: 0; transform: translateY(6vh) scale(.96);
}
.board-kopf { display: flex; align-items: center; gap: .7rem; background: #fff; border-bottom: 1px solid #E7E7E4; padding: .8rem 1.1rem; }
.board-kopf img { height: 22px; }
.board-kopf b { font-size: .9rem; }
.board-kopf span { margin-left: auto; font-size: .74rem; color: #63636B; }
.board-spalten { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: #E7E7E4; }
.board-spalte { background: #F5F5F4; padding: .9rem; min-height: 300px; }
.board-spalte h5 { font-size: .84rem; letter-spacing: .04em; text-transform: uppercase; color: #63636B; margin: 0 0 .7rem; }
.board-spalte h5 b { color: #1C7A43; }
.b-karte { background: #fff; border-radius: 13px; padding: .7rem .8rem; margin-bottom: .6rem; display: flex; gap: .6rem; align-items: center; box-shadow: 0 4px 14px rgba(0,0,0,.06); opacity: 0; transform: translateY(18px); }
.b-karte.zeigen { opacity: 1; transform: none; transition: opacity .25s ease, transform .25s ease; }
.b-karte img { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; }
.b-karte b { font-size: .92rem; display: block; }
.b-karte span { font-size: .78rem; color: #63636B; display: block; }
.b-karte .sc { margin-left: auto; font-weight: 800; font-size: 1rem; color: #1C7A43; background: #E9F4EC; border-radius: 9px; padding: .3em .55em; font-variant-numeric: tabular-nums; }
.board-spalte.aussortiert { position: relative; }
.board-spalte.aussortiert .b-karte { filter: grayscale(1); }
.board-spalte.aussortiert .b-karte.weg { opacity: .18; transform: scale(.92); transition: opacity .3s ease, transform .3s ease; }
.board-stempel {
  position: absolute; left: 50%; top: 46%; transform: translate(-50%,-50%) rotate(-9deg) scale(1.6);
  border: 3px solid #A33; color: #A33; font-weight: 800; letter-spacing: .05em;
  padding: .25em .7em; border-radius: 6px; font-size: .95rem; opacity: 0; background: rgba(255,255,255,.82);
}
.board-stempel.zeigen { opacity: 1; transform: translate(-50%,-50%) rotate(-9deg) scale(1); transition: opacity .2s ease, transform .2s cubic-bezier(.2,1.4,.4,1); }
@media (max-width: 767px) { .board-spalten { grid-template-columns: 1fr; } .board-spalte.aussortiert { display: none; } }

/* ---------- Ebene 7: Annotationen (Bauzeichnungsstil) ---------- */
.l-anno .anno {
  position: absolute; max-width: min(360px, 31vw);
  font-size: 1.02rem; line-height: 1.5; color: #fff; opacity: 0; transform: translateY(14px);
}
.l-anno .anno .anno-label { display: inline-block; border: 1.5px solid rgba(255,255,255,.85); border-radius: 4px; padding: .5em .75em; background: rgba(18,18,19,.72); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); }
.l-anno .anno .anno-linie { position: absolute; stroke: rgba(255,255,255,.8); stroke-width: 1.5; fill: none; overflow: visible; }
.l-anno .anno.zeigen { opacity: 1; transform: none; transition: opacity .3s ease, transform .3s ease; }
.l-anno .anno strong { color: var(--accent); }
@media (max-width: 767px) {
  .l-anno .anno { max-width: none; left: 0 !important; right: 0 !important; top: auto !important; bottom: 0 !important; transform: translateY(14px); }
  /* Padding unten lässt Platz für das Zeit-Badge, das mobil im selben
     Verlauf sitzt — Caption-Text und Pille stapeln sich sauber */
  .l-anno .anno .anno-label { display: block; border: 0; border-radius: 0; background: linear-gradient(transparent, rgba(16,15,14,.94) 34%); padding: 2.4rem var(--gutter) 3.4rem; font-size: .92rem; }
  .l-anno .anno svg { display: none; }
}

/* ---------- Ebene 8: Erzähltext-Blöcke (groß, seitlich) ---------- */
.l-story .story {
  position: absolute; max-width: min(480px, 40vw); opacity: 0; transform: translateY(20px);
}
.l-story .story h3 { font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.3rem); line-height: 1.15; color: #fff; margin: 0 0 .7rem; letter-spacing: -0.01em; }
.l-story .story h3 em { font-style: normal; color: var(--accent); }
.l-story .story p { color: rgba(255,255,255,.78); line-height: 1.6; margin: 0; font-size: clamp(1.06rem, .95rem + .35vw, 1.28rem); }
.l-story .story .beleg { display: block; margin-top: .8rem; font-size: .82rem; color: rgba(255,255,255,.5); }
.l-story .story.zeigen { opacity: 1; transform: none; transition: opacity .4s ease, transform .4s ease; }
.l-story .story.usp h3 { font-size: clamp(1.7rem, 1.2rem + 2.2vw, 2.9rem); }
@media (max-width: 767px) {
  /* Handy unten verankern und verkleinern — oben entsteht ein freies
     Erzähl-Band, damit Story-Text nie über dem Bildschirm liegt */
  .l-phone { place-items: end center; padding-bottom: 7svh; }
  .phone-rahmen { height: min(58svh, 600px); }
  /* max-width braucht !important: einzelne Stories bringen ein Inline-max-width
     mit (Desktop-Spaltenbreite), das mobil wortweise Umbrüche erzwänge */
  .l-story .story { max-width: none !important; left: var(--gutter) !important; right: var(--gutter) !important; top: 11svh !important; bottom: auto !important; transform: none !important; text-align: left !important; }
  .l-story .story h3 { font-size: clamp(1.2rem, 5.2vw, 1.6rem); text-shadow: 0 2px 14px rgba(0,0,0,.55); padding-right: 6.8rem; /* Platz für die Tages-Pille oben rechts */ }
  .l-story .story p { font-size: .94rem; line-height: 1.48; text-shadow: 0 1px 10px rgba(0,0,0,.6); }
  .l-story .story .beleg { font-size: .74rem; }
  .l-story .story .lang { display: none; /* lange Satzenden passen nicht ins Erzähl-Band */ }
  .scr-score { padding-top: 17%; }
  .score-zeile { font-size: .8rem; }
}

/* ---------- HUD: Zeit, Zähler-Pille, Stationen, Skip ---------- */
.l-hud .zeit-badge {
  position: absolute; top: max(96px, 11vh); left: 50%; transform: translateX(-50%) translateY(-8px);
  background: rgba(18,18,19,.78); border: 1px solid rgba(255,255,255,.16); color: #fff;
  font-size: .9rem; font-weight: 700; letter-spacing: .05em;
  border-radius: 999px; padding: .45em 1em; opacity: 0;
  backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
}
.l-hud .zeit-badge.zeigen { opacity: 1; transform: translateX(-50%) translateY(0); transition: opacity .3s ease, transform .3s ease; }
.l-hud .tag-pille {
  position: absolute; top: max(96px, 11vh); right: var(--gutter);
  background: rgba(163,51,51,.16); border: 1px solid rgba(220,90,90,.5); color: #F2B8B8;
  font-size: .84rem; font-weight: 700; border-radius: 999px; padding: .42em .95em;
  font-variant-numeric: tabular-nums; opacity: 0;
}
.l-hud .tag-pille.zeigen { opacity: 1; transition: opacity .4s ease; }
.l-hud .tag-pille.gruen { background: rgba(28,122,67,.18); border-color: rgba(60,170,105,.55); color: #A9E5C1; transition: background .4s ease, border-color .4s ease, color .4s ease; }
.l-hud .stationen { position: absolute; left: var(--gutter); top: 50%; transform: translateY(-50%); display: grid; gap: .55rem; }
.l-hud .stationen i { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,.22); transition: background .25s ease, height .25s ease; }
.l-hud .stationen i.an { background: var(--accent); height: 20px; border-radius: 999px; }
.l-hud .skip {
  position: absolute; right: var(--gutter); bottom: max(18px, 3.5vh);
  pointer-events: auto; font-size: .78rem; color: rgba(255,255,255,.55);
  text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.25); padding-bottom: 2px;
}
.l-hud .skip:hover { color: #fff; }

/* „Ansehen": spielt die Geschichte im Lesetempo ab; jede Berührung
   des Nutzers gibt die Kontrolle sofort zurück (reise.js) */
.l-hud .auto-btn {
  position: absolute; left: var(--gutter); bottom: max(18px, 3.5vh);
  pointer-events: auto; display: inline-flex; align-items: center; gap: .5em;
  background: rgba(255,255,255,.09); color: #fff; border: 1px solid rgba(255,255,255,.22);
  border-radius: 999px; padding: .5em 1.05em; font: inherit; font-size: .86rem; font-weight: 700;
  cursor: pointer; backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
  transition: background .16s ease;
}
.l-hud .auto-btn:hover { background: rgba(255,255,255,.16); }
.l-hud .auto-btn i { font-style: normal; font-size: .75em; }
.l-hud .auto-btn.spielt { background: var(--accent); border-color: var(--accent); }

/* Scroll-Hinweis am Einstieg: einmal deutlich, dann weg */
.l-hud .scroll-hinweis {
  position: absolute; left: 50%; bottom: max(18px, 3.5vh); transform: translateX(-50%);
  display: flex; align-items: center; gap: .7rem; color: rgba(255,255,255,.85);
  opacity: 0; transition: opacity .4s ease;
}
.l-hud .scroll-hinweis svg { width: 20px; height: 32px; }
.l-hud .scroll-hinweis b { font-size: .84rem; font-weight: 600; }
.l-hud .scroll-hinweis.zeigen { opacity: 1; }
@media (max-width: 767px) {
  /* Mobil tauscht der Ansehen-Knopf mit dem Skip-Link den Platz:
     unten rechts, frei von Story-Band und Pille. Schnell-Scroller
     fängt ohnehin das Kurzfassungs-Netz im Finale auf. */
  .l-hud .auto-btn { left: auto; right: var(--gutter); bottom: max(14px, 2.5svh); top: auto; font-size: .8rem; }
  .l-hud .skip { display: none; }
  .l-hud .scroll-hinweis { width: max-content; max-width: 62vw; left: var(--gutter); transform: none; bottom: max(60px, 8.5svh); }
  .l-hud .scroll-hinweis b { font-size: .78rem; }
  .l-hud .scroll-hinweis svg { display: none; }
}

/* Kurzfassung fürs Schnell-Scroller-Netz */
.l-finale .reise-kurz {
  max-width: 30rem; margin: 1.5rem auto 0; text-align: left;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--r); padding: 1.1rem 1.3rem;
}
.l-finale .reise-kurz b { color: #fff; font-size: .95rem; }
.l-finale .reise-kurz ol { margin: .7rem 0 .9rem 1.15rem; padding: 0; display: grid; gap: .4rem; }
.l-finale .reise-kurz li { color: rgba(255,255,255,.82); font-size: .95rem; line-height: 1.5; }
.l-finale .reise-kurz .btn { pointer-events: auto; font-size: .85rem; color: #fff; }
/* Zeigt das Netz die Kurzfassung, braucht das Finale Platz: die
   Schlusszeile ist dann redundant, der Umklapp wird kompakter. */
.l-finale:has(.reise-kurz:not([hidden])) .schlusszeile { display: none; }
.l-finale:has(.reise-kurz:not([hidden])) .flip .alt { font-size: clamp(1.4rem, 1rem + 2.2vw, 2.6rem); }
.l-finale:has(.reise-kurz:not([hidden])) .flip .neu { font-size: clamp(1.6rem, 1.1rem + 2.6vw, 3rem); }
@media (max-width: 767px) {
  .l-hud .stationen { display: none; }
  /* Badge links unten, Skip rechts unten — beide frei voneinander */
  .l-hud .zeit-badge { top: auto; bottom: max(14px, 2.5svh); left: var(--gutter); right: auto; transform: none; font-size: .72rem; }
  .l-hud .zeit-badge.zeigen { transform: none; }
}

/* ---------- Schluss: großer Umklapp-Zähler ---------- */
.l-finale { display: grid; place-content: center; text-align: center; opacity: 0; }
.l-finale .flip { font-weight: 800; letter-spacing: -0.01em; color: #fff; display: grid; gap: .4rem; }
.l-finale .flip .alt { font-size: clamp(1.9rem, 1.2rem + 3.4vw, 4rem); }
.l-finale .flip .alt s { text-decoration-color: var(--accent); text-decoration-thickness: 4px; }
.l-finale .flip .neu { font-size: clamp(2.1rem, 1.3rem + 3.8vw, 4.4rem); color: var(--accent); transform: rotateX(90deg); transform-origin: 50% 0; }
.l-finale.klappt .flip .neu { transform: rotateX(0); transition: transform .55s cubic-bezier(.2,1.2,.35,1); }
.l-finale .flip .beleg { font-size: .9rem; font-weight: 500; color: rgba(255,255,255,.55); margin-top: .6rem; }
.l-finale .schlusszeile { max-width: 36rem; margin: 1.6rem auto 0; color: rgba(255,255,255,.82); line-height: 1.6; font-size: 1.08rem; }
.l-finale .cta-final { margin-top: 1.6rem; pointer-events: auto; }
.l-finale .cta-final .btn { box-shadow: 0 8px 20px rgba(255,92,10,.28), 0 0 46px rgba(255,92,10,.35); }

/* ---------- Hintergrund-Foto im Finale ---------- */
.l-schlussbild { opacity: 0; }
.l-schlussbild img { width: 100%; height: 100%; object-fit: cover; opacity: .22; filter: grayscale(30%); }

/* ---------- Bewegung reduziert: Cinema aus, Fotoroman gilt ---------- */
@media (prefers-reduced-motion: reduce) {
  .is-cinema .reise-track { display: none; }
  .is-cinema .reise-tafeln { position: static; width: auto; height: auto; overflow: visible; clip-path: none; white-space: normal; }
}
