/* a126: Zweiter Akt ab P11. Die Daten sind gesammelt, jetzt erzählen wir, wer wir sind.
   · Akzent Beige #dcc39e (Typo, Rahmen, Buttons, Fortschritt, Lichtsäule, 3D-Rim). Pfad und Inhalte bleiben.
   · Zwischenszene zwischen P10 und P11 (.act-break), Countdown „Noch 3“ (.count), eigener Button „Infos überspringen“.
   · Jede Slide hat ihre eigene Komposition. Das große matte schwarze F liegt als 3D-Objekt hinter allem
     (Logo-Zustände a2-* in js/logo-states.js), hier stehen nur Layout und Typo.
   Keine Grün-, Oliv- oder Salbeitöne. Diese Datei lädt nach app.css und art.css. */

/* ---------- Akzent (Basis a125) ---------- */
.stage[data-act='2'], .stage[data-path][data-accent='sand'] {
  --sand: #dcc39e;
  --path: #dcc39e;
  --path-hi: #efe2cb;
  --path-deep: #b9a07a;
}
/* Anthrazit wird im zweiten Akt eine Spur wärmer, damit Beige nicht auf kaltem Blaugrau sitzt */
.stage[data-act='2'] .fx-vignette { background: radial-gradient(130% 95% at 50% 45%, rgba(0, 0, 0, 0) 52%, rgba(8, 7, 6, 0.62) 100%); }

/* ---------- Fortschritt: „Noch 3“ statt Schrittnummern ---------- */
.count {
  position: absolute; z-index: 12;
  top: calc(var(--safe-t) + var(--banner) + 12px); right: var(--pad);
  height: 26px; padding: 0 11px 0 12px;
  display: flex; align-items: center; gap: 9px;
  border-radius: 999px;
  background: rgba(10, 10, 11, 0.55);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--sand) 46%, transparent), 0 0 22px -8px var(--glow);
  color: var(--sand);
  font-size: 0.6rem; font-weight: 800; letter-spacing: 0.2em; text-transform: uppercase; white-space: nowrap;
  opacity: 0; transform: translateY(-6px); pointer-events: none;
  transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out);
}
.count.show { opacity: 1; transform: none; }
.count b { font-weight: 800; }
.count-pips { display: flex; gap: 4px; }
.count-pips i { width: 12px; height: 3px; border-radius: 2px; background: var(--sand); box-shadow: 0 0 8px var(--glow); transition: background-color 0.5s, box-shadow 0.5s, width 0.5s var(--ease-out); }
.count-pips i.done { width: 5px; background: rgba(243, 242, 240, 0.22); box-shadow: none; }
.stage.is-transitioning .count { opacity: 0; }
.stage.is-transitioning .count.show { opacity: 1; }
/* im zweiten Akt liegt die Segmentlinie ruhig darunter und ist beige */
.stage[data-act='2'] .progress i { background: rgba(220, 195, 158, 0.12); }
@media (min-width: 1024px) {
  .count { top: calc(var(--safe-t) + var(--banner) + 24px); right: 4vw; height: 30px; padding: 0 14px 0 16px; font-size: 0.66rem; }
  .count-pips i { width: 16px; }
}

/* ---------- Überspringen ab P11: eigener Button ---------- */
.skip-lead.is-info {
  bottom: calc(var(--safe-b) + var(--legal-h) + 6px);
  min-height: 40px; height: 40px; padding: 0 16px 0 18px; gap: 9px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(34, 33, 31, 0.78), rgba(14, 14, 15, 0.82));
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--sand) 58%, transparent), inset 0 1px 0 rgba(255, 255, 255, 0.07), 0 10px 26px -14px rgba(0, 0, 0, 0.95);
  color: var(--path-hi);
  font-size: 0.68rem; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase;
  transition: opacity 0.45s, color 0.2s, box-shadow 0.3s, transform 0.3s var(--ease-out);
}
.skip-lead.is-info span { text-decoration: none; }
.skip-lead.is-info .ln-ico { width: 16px; height: 16px; color: var(--sand); }
.skip-lead.is-info:hover, .skip-lead.is-info:focus-visible { color: #fff; box-shadow: inset 0 0 0 1px var(--sand), 0 0 26px -8px var(--glow), 0 10px 26px -14px rgba(0, 0, 0, 0.95); }
.skip-lead.is-info:active { transform: scale(0.97); }
/* SKIP-Job: 64 px statt 58 px frei, damit zwischen WEITER und dem Button 18 px liegen (vorher 12) */
.stage[data-act='2'] .screen.with-skip { padding-bottom: calc(var(--safe-b) + var(--legal-h) + 64px); }
/* P12FIX (Andi 14.11.): gleicher Abstand WEITER zu Pill-Button, nur auf s01 mobil (Akt 1 und Desktop bleiben sonst unverändert). */
@media (max-width: 1023px) {
  .screen[data-screen='s01'].with-skip { padding-bottom: calc(var(--safe-b) + var(--legal-h) + 64px); }
}
@media (min-width: 1024px) {
  .skip-lead.is-info { right: 4vw; left: auto; bottom: calc(3.4vh + var(--legal-h)); height: 44px; padding: 0 20px 0 22px; font-size: 0.72rem; }
  .stage[data-act='2'] .screen.with-skip { padding-bottom: calc(10vh + var(--legal-h)); }
}

/* ---------- Zwischenszene P10 → P11 ---------- */
.act-break {
  position: absolute; inset: 0; z-index: 7;
  display: flex; flex-direction: column; justify-content: center;
  padding: var(--top) var(--pad) calc(var(--safe-b) + var(--legal-h) + 40px);
  overflow: hidden; cursor: pointer;
  --from: #dcc39e;
}
.stage[data-path='women'] .act-break { --from: var(--pink); }
.stage[data-path='men'] .act-break { --from: #2f5fe0; }
/* Pfadfarbe flutet einmal den Raum und verglüht */
.ab-wash {
  position: absolute; inset: 0; opacity: 0; pointer-events: none;
  background:
    radial-gradient(90% 60% at 50% 100%, color-mix(in srgb, var(--from) 60%, transparent) 0%, transparent 70%),
    radial-gradient(70% 50% at 50% 42%, color-mix(in srgb, var(--from) 26%, transparent) 0%, transparent 75%);
  mix-blend-mode: screen;
}
/* Lichtkante steigt von unten nach oben: darüber die alte Pfadfarbe, die Kante selbst und alles darunter Beige */
.ab-tide {
  position: absolute; left: -10%; right: -10%; top: 0; height: 100%; pointer-events: none;
  transform: translateY(105%);
  background: linear-gradient(180deg,
    transparent 0%,
    color-mix(in srgb, var(--from) 34%, transparent) 30%,
    color-mix(in srgb, var(--from) 62%, transparent) 43.4%,
    #fff 44.2%, #efe2cb 44.8%,
    rgba(220, 195, 158, 0.5) 46%,
    rgba(220, 195, 158, 0.16) 62%,
    transparent 100%);
  mix-blend-mode: screen;
  will-change: transform;
}
.ab-copy { position: relative; z-index: 1; }
.ab-k { display: block; width: 46px; height: 1px; margin: 0 0 18px; background: var(--sand); box-shadow: 0 0 8px var(--glow); transform-origin: left; }
.ab-t {
  margin: 0;
  font-size: min(9.8vw, 4.4rem, 8.2vh); font-weight: 900; letter-spacing: -0.055em; line-height: 0.9;
  text-transform: uppercase; color: var(--fg);
}
.ab-t em { font-style: normal; color: var(--sand); }
.ab-s {
  margin: 20px 0 0; max-width: 30ch;
  color: var(--fg); font-size: min(1.12rem, 4.7vw); line-height: 1.35; font-weight: 750;
}
.ab-s .acc { color: var(--sand); }
.ab-s .w { padding-top: 0.1em; padding-bottom: 0.22em; margin-top: -0.1em; margin-bottom: -0.22em; }
.ab-skip {
  position: absolute; left: var(--pad); bottom: calc(var(--safe-b) + var(--legal-h) + 16px);
  color: var(--muted-2); font-size: 0.62rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
}
/* während der Zwischenszene: Wortmarke bleibt, alles Bedienbare ruht */
.stage.is-breaking .progress, .stage.is-breaking .count, .stage.is-breaking .back, .stage.is-breaking .skip-lead { opacity: 0; pointer-events: none; }
.stage.is-breaking .skip-lead { transition: none; }
.stage.reduced .ab-wash, .stage.reduced .ab-tide { display: none; }
@media (min-width: 1024px) {
  .act-break { padding-left: 9vw; padding-right: 9vw; }
  .ab-t { font-size: min(7.4vw, 6.6rem, 13vh); }
  .ab-s { font-size: 1.4rem; margin-top: 28px; }
  .ab-skip { left: 9vw; bottom: calc(4vh + var(--legal-h)); }
}

/* ---------- P12 Wissen: Urkunden groß, Andi klein ---------- */
.stage .type-creds .docs {
  display: flex; align-items: center; justify-content: flex-start; gap: 10px;
  width: 100%; height: auto; max-width: none;
  --dw: 120px;
}
.stage .type-creds .docs .doc { flex: none; width: var(--dw); height: auto; max-height: none; position: relative; }
.stage .type-creds .docs .doc .ph { display: block; width: 100%; margin: 0; }
.stage .type-creds .docs .doc .ph-surface { width: 100%; height: auto; aspect-ratio: 1 / 1.414; }
/* Papier: heller als die übrigen Platzhalter, mit beiger Doppelkante und Siegel, damit es als Urkunde lesbar ist */
.stage .type-creds .ph-doc .ph-surface {
  background: linear-gradient(165deg, rgba(58, 54, 48, 0.92) 0%, rgba(30, 29, 28, 0.94) 100%);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--sand) 62%, transparent), inset 0 0 0 6px rgba(20, 20, 21, 0.92), inset 0 0 0 7px color-mix(in srgb, var(--sand) 30%, transparent), 0 26px 50px -22px rgba(0, 0, 0, 0.95), 0 0 46px -18px var(--glow);
}
.stage .type-creds .ph-doc .ph-surface::after {
  content: ''; position: absolute; left: 50%; bottom: 11%; width: 17%; aspect-ratio: 1; translate: -50% 0; border-radius: 50%;
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--sand) 70%, transparent), inset 0 0 0 4px rgba(20, 20, 21, 0.9), inset 0 0 0 5px color-mix(in srgb, var(--sand) 36%, transparent);
}
.stage .type-creds .docs .doc:first-child { rotate: -1.6deg; }
.stage .type-creds .docs .doc:last-child { rotate: 1.4deg; translate: 0 3%; }
.stage .type-creds .docs .doc:hover, .stage .type-creds .docs .doc:focus-visible { rotate: 0deg; }
.stage .type-creds .docs .ph-label { font-size: 0.7rem; color: var(--path-hi); }
.stage .type-creds .docs .ph-label b { color: var(--sand); }
.stage .type-creds .andi { gap: 10px; margin-top: 10px; align-items: center; }
.andi-pic { position: relative; flex: none; width: 36px; height: 36px; border-radius: 50%; overflow: hidden; background: #1a1a1b; box-shadow: 0 0 0 1px color-mix(in srgb, var(--sand) 55%, transparent); }
.andi-pic img { position: absolute; display: block; width: 303%; max-width: none; left: -101%; top: -22%; }
.stage .type-creds .andi p { font-size: 0.74rem; line-height: 1.3; color: var(--muted); max-width: 34ch; }
.stage .type-creds .andi b { color: var(--sand); }
@media (max-width: 1023px) {
  .stage .type-creds .statement, .stage .type-creds .statement.s-md { font-size: min(8.4vw, 2.2rem, 4.5vh); }
  .stage .type-creds .eyebrow { margin-bottom: 10px; }
  .stage .type-creds .lede.small { font-size: 1rem; line-height: 1.45; margin-top: 8px; }
  .stage .type-creds .docs { flex: 1 1 auto; min-height: 170px; margin-top: 12px; }
  .stage .type-creds .docs figcaption { display: none; }
  .stage .type-creds .foot { margin-top: 10px; }
}
@media (max-width: 1023px) and (max-height: 700px) {
  .stage .type-creds .statement, .stage .type-creds .statement.s-md { font-size: min(7.6vw, 1.9rem, 4.2vh); }
  .stage .type-creds .lede.small { font-size: 1rem; line-height: 1.4; margin-top: 6px; }
  .stage .type-creds .docs { min-height: 150px; margin-top: 8px; }
  .stage .type-creds .andi { margin-top: 6px; }
  .stage .type-creds .foot { margin-top: 8px; }
}
@media (min-width: 1024px) {
  .stage .type-creds { grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr); column-gap: 3vw; }
  .stage .type-creds .docs {
    grid-column: 2; grid-row: 1; align-self: end; justify-self: center; justify-content: center;
    width: auto; gap: 2.4vw; margin: 0 0 1vh;
    --dw: min(20vw, 33vh);
  }
  /* Merge a126+a127 (Andi 12.11.): Master und Bachelor am Desktop viel größer, klar dominant. Celina bleibt mit
     Gesicht über den Urkunden sichtbar (Lage per layout() in main.js). */
  .stage .type-creds .docs { --dw: min(22vw, 40vh); gap: 2vw; margin-bottom: 0.5vh; z-index: 2; }
  .stage .type-creds .docs .ph-label { font-size: clamp(0.86rem, 0.9vw, 1.3rem); }
  .stage .type-creds .docs figcaption { margin-top: 8px; font-size: clamp(0.68rem, 0.7vw, 0.95rem); }
  .stage .type-creds .andi { z-index: 2; }
  .stage .type-creds .andi p { font-size: clamp(0.8rem, 0.78vw, 1.1rem); color: #e8e1d6; }
  .stage .type-creds .andi-pic { width: clamp(36px, 2.6vw, 52px); height: clamp(36px, 2.6vw, 52px); }
  /* a126b: Celina groß am rechten Rand (Lage per layout() in main.js). Print auf rund 75 % Höhe muss voll stehen,
     daher blendet das Foto erst ganz unten aus, links nur ein schmaler weicher Rand. */
  .stage .screen[data-screen='p12'] .pbg-portrait img {
    max-width: none; width: auto; opacity: 1;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 12%), linear-gradient(180deg, #000 84%, transparent 99%);
    -webkit-mask-composite: source-in;
    mask-image: linear-gradient(90deg, transparent 0%, #000 12%), linear-gradient(180deg, #000 84%, transparent 99%);
    mask-composite: intersect;
  }
  .stage .type-creds .docs figcaption { margin-top: 10px; font-size: 0.66rem; color: var(--muted); text-align: center; }
  .stage .type-creds .docs .ph-label { font-size: 0.86rem; }
  .stage .type-creds .andi { grid-column: 2; grid-row: 2; justify-self: center; max-width: none; margin-top: 0; padding-bottom: 6px; }
  .stage .type-creds .andi p { font-size: 0.8rem; max-width: none; }
  .stage .type-creds .pbg-portrait img { opacity: 0.96; max-width: none; -webkit-mask-image: linear-gradient(180deg, #000 58%, transparent 92%); mask-image: linear-gradient(180deg, #000 58%, transparent 92%); }
}

/* P12 mobil: Celina bleibt im Vordergrund (deutlich sichtbar oben rechts, beige getönt), der Text steht links davor */
@media (max-width: 1023px) {
  /* a126b (Andi t2007u): Celina mobil deutlich kräftiger, Gesicht und FENNER-Print klar sichtbar */
  .stage .screen[data-screen='p12'] .pbg-portrait img { right: -17%; top: calc(var(--top) - 5%); height: 43%; opacity: 1;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 20%), linear-gradient(180deg, #000 80%, transparent 97%);
    -webkit-mask-composite: source-in;
    mask-image: linear-gradient(90deg, transparent 0%, #000 20%), linear-gradient(180deg, #000 80%, transparent 97%);
    mask-composite: intersect; }
    .stage .screen[data-screen='p12'] .lede { text-shadow: var(--p12-lede-shadow); }
  /* a126b: Headline liest sauber über dem großen F (F selbst unverändert) */
  .stage .screen[data-screen='p12'] .statement, .stage .screen[data-screen='p12'] .eyebrow {
    /* filter statt text-shadow: Das Akzentwort ist per background-clip gefärbt, text-shadow würde es verdunkeln */
    filter: var(--title-shadow);
  }
}

/* a126c (Andi t2008u): P03 Zwischenstand „Wir halten nichts von Standardplänen“: Texte neben dem Phone heben sich per
   Schlagschatten vom Hintergrund ab. filter statt text-shadow, weil die Akzentwörter per background-clip gefärbt sind. */
/* a126c (Andi t2010u): ebenso auf allen Screens mit Phone-Mockup: S02 Der Unterschied, P13 App */
.stage .screen:is([data-screen='p03'], [data-screen='s02'], [data-screen='p13']) .eyebrow,
.stage .screen:is([data-screen='p03'], [data-screen='s02'], [data-screen='p13']) .statement,
.stage .screen:is([data-screen='p03'], [data-screen='s02'], [data-screen='p13']) .brand-line {
  filter: var(--title-shadow);
}

/* a126c (Andi t2011u): Celina nie transparent. Überall volle Deckkraft, nur weiche Kante am Zuschnitt.
   Text darüber bleibt per Schlagschatten lesbar. */
.stage[data-path='women'] .screen[data-screen='p01'] .pbg-hero img {
  opacity: 1;
  -webkit-mask-image: linear-gradient(180deg, #000 74%, transparent 98%);
  mask-image: linear-gradient(180deg, #000 74%, transparent 98%);
}
.stage .screen[data-screen='p15'] .pbg-kontakt img { opacity: 1; }
@media (max-width: 1023px) {
  .stage .screen[data-screen='p15'] .pbg-kontakt img {
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 14%), linear-gradient(180deg, #000 82%, transparent 98%);
    mask-image: linear-gradient(90deg, transparent 0%, #000 14%), linear-gradient(180deg, #000 82%, transparent 98%);
  }
}
.stage .screen:is([data-screen='p01'], [data-screen='p15']) .eyebrow,
.stage .screen:is([data-screen='p01'], [data-screen='p15']) .statement {
  filter: var(--title-shadow);
}

/* a126e (Andi t2017u/t2018u): Alle Slides nach der Transition bekommen auf Titel und Overtitle denselben
   Schlagschatten wie die Texte neben den Handys (P03/S02/P13). filter statt text-shadow wegen background-clip. */
.stage .screen:is([data-screen='p11'], [data-screen='p12'], [data-screen='p13'], [data-screen='c01'], [data-screen='c02'], [data-screen='p14'], [data-screen='p15'], [data-screen='p16'], [data-screen='p17']) :is(.eyebrow, .statement, .ask, .step-q, .brand-line) {
  filter: var(--title-shadow);
}

/* a126f (Andi t2025u): Derselbe Schlagschatten auf den Headlines vor der Transition, deren Akzentwort sich sonst mit dem
   Hintergrund beißt: S01 Durchschnitt, S03 Bestform, P01 Vorbild/Zustand, P03 Standardplänen, P05 pro Woche plus Zahlen. */
.stage .screen:is([data-screen='s01'], [data-screen='s03'], [data-screen='p01'], [data-screen='p03'], [data-screen='p05']) :is(.eyebrow, .statement, .ask) {
  filter: var(--title-shadow);
}

/* a126g: echte Urkunden. Beige Doppelkante bleibt (Passepartout), das Papier leicht warm getönt, damit es zum
   beige/anthrazit Look passt. Text bleibt lesbar; Siegel-Platzhalter entfällt. */
.ph-doc.has-img .ph-surface { position: relative; padding: 7px; overflow: hidden; }
.ph-doc.has-img .ph-surface img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 3px; filter: sepia(0.16) saturate(0.92) brightness(0.93) contrast(1.04); }
.stage .type-creds .ph-doc.has-img .ph-surface::after { content: none; }
.zoom-in .ph-doc.has-img .ph-surface { aspect-ratio: 1 / 1.414; background: rgba(30, 29, 28, 0.94); border-radius: 10px; box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--sand) 62%, transparent); }
.zoom-in .ph-doc.has-img img { filter: sepia(0.1) brightness(0.97); }
.zoom-in .ph-doc.has-img figcaption { margin-top: 10px; text-align: center; color: var(--sand); font-size: 0.85rem; }
/* große Ansicht: am Desktop nach Höhe bemessen, damit der Urkundentext lesbar ist */
.zoom-in:has(.ph-doc.has-img) { width: min(86vw, calc(80vh * 0.707)); }
@media (min-width: 1024px) {
  .stage .type-creds .docs .ph-doc.has-img figcaption { color: #d9cdb8; text-align: center; }
}

/* a128: P08 Ernährung. Der Shaker fährt mobil groß hinter Überschrift und Antworten (Etikett im freien Slot).
   Overtitle und Überschrift bekommen deshalb denselben Schlagschatten wie die Titel nach der Transition. */
.stage .screen[data-screen='p08'] :is(.eyebrow, .ask) {
  filter: var(--title-shadow);
}

/* ================= a129 =================
   1) EIN Schlagschatten für alle Titel im ganzen Funnel (Antwort auf Andis Vorab-Frage, siehe a129-bericht.md).
   2) Frage-Slides vor der Transition: Die 3D-Objekte stehen riesig und matt weit hinten im Raum (Inszenierung in
      js/flow.js: STAGE, Rechnung in js/main.js: objView). Hier nur Layout und Lesbarkeit. */

/* ---------- 1) Titel-Schatten: ein Wert, überall ----------
   Genau der Wert, der seit a126 neben den Handys und nach der Transition liegt. Er steht jetzt als Variable an der
   Bühne und gilt für jede Headline (inklusive Akzentwörter, sie liegen in der Headline) und jeden Overtitle, auf jeder
   Slide. filter statt text-shadow, weil die Akzentwörter per background-clip gefärbt sind. Auf ruhigem dunklem Grund ist
   der Schatten unsichtbar, über Fotos, Licht und 3D hält er die Schrift lesbar. Die älteren Einzelregeln oben nutzen
   dieselbe Variable (Ledes neben Handys und Fotos bleiben wie bisher). */
.stage { --title-shadow: drop-shadow(0 1px 2px rgba(8, 8, 9, 0.55)) drop-shadow(0 2px 10px rgba(8, 8, 9, 0.35)); }
/* a149 (Andi t2168u): nicht auf dem Start-Screen */
.stage .screen:not([data-screen='s00']) :is(.eyebrow, .statement, .ask, .step-q, .brand-line), .stage .ab-t { filter: var(--title-shadow); }
/* a142: Die Liste oben erfasst nur die Titel aus headline() und den Kicker. Diese Titel standen nicht darin und
   hatten deshalb keinen (oder nur einen eigenen, schwächeren text-shadow): Leitspruch und Start-Hinweis auf S00,
   „FÜR FRAUEN“ / „FÜR MÄNNER“ der Pfadwahl, die Kartentitel in P02 und P15, der Übertitel unter der App-Wortmarke
   (P13) und der Titel im Hoppla-Dialog. Der Schatten liegt jeweils auf dem Titel-Element selbst; die Wort-Animation
   des Leitspruchs (filter: blur auf .mw) läuft auf den Kindern und bleibt unberührt. */
/* a146 (Andi t2129u): Button-Text trägt keinen Titel-Schatten. Aus der Liste entfernt: .tap-label (Start-Hinweis,
   behält seinen eigenen weichen text-shadow aus app.css wie vor a142), .half-t (Pfadwahl-Buttons), .block-t
   (Kontakt-Buttons P15) und .card-copy h2 (Titel auf den Wischkarten P02). Zugleich ist --title-shadow dezenter. */
/* a149 (Andi t2168u): Leitspruch S00, App-Unterzeile und Hoppla-Titel wieder ohne Schatten (ersetzt a142) */

/* a148 (Andi t2138u): Titelschatten nur noch auf Headlines und Übertiteln. Buttons, Chips,
   Karten, Pills, Kontaktoptionen, WEITER und andere Wahltexte ohne text-shadow. */
.stage :is(.cta, .cta-l, .half-t, .half-go, .block-t, .block-n, .block-s, .ans-chip, .chip, .opt, .opt-t, .opt-n, .skip, .btn-2, .boot-login, .tap-label, .tap-sub, .stats-btn, .lnk, .card-copy, .card-copy h2, .multi-toggle, .deck-next) {
  text-shadow: none;
}

.stage .motto { text-shadow: none; }
/* Titel außerhalb der Bühne (Legal-Modal und Overlay „Statistik“ hängen am body, die Seiten /impressum/ und
   /datenschutz/ haben keine Bühne): dort war --title-shadow nicht definiert. Derselbe Wert steht dafür in
   css/legal.css (:root), weil die Standalone-Seiten act2.css nicht laden. */
/* Zwischenszene: vorher ein eigener text-shadow, jetzt derselbe Wert wie überall */
.ab-t { text-shadow: none; }
/* S02 mobil hatte auf dem Akzentwort einen zweiten, abweichenden Schatten (a116g). Die Headline trägt den
   einheitlichen Schatten, der innere entfällt, sonst läge er doppelt. */
@media (max-width: 760px) { .stage [data-screen='s02'] .statement em { filter: none; } }

/* ---------- 2) Objekt-Slides (P04, P06, P08, P09 Männer, P10): Objekt riesig im Hintergrund ----------
   .obj-deep setzt main.js, sobald ein Screen eine Inszenierung (objStage) hat und WebGL läuft. Ohne WebGL greift
   nichts davon, der Screen bleibt wie bisher. */
/* Lesbarkeit und Tiefe: oben ein weicher dunkler Schleier hinter Wortmarke und Frage, unten Bodennebel im Pfad-Ton,
   in dem der Fuß des Objekts versinkt. Liegt über dem Canvas und unter Text und Karten. */
.screen.obj-deep::before {
  content: ''; position: absolute; inset: 0; z-index: -1; /* unter allem Inhalt des Screens, über dem Canvas (.screens ist ein eigener Stapel) */ pointer-events: none;
  background:
    linear-gradient(180deg, rgba(8, 8, 9, 0.5) 0%, rgba(8, 8, 9, 0.2) 22%, rgba(8, 8, 9, 0) 40%),
    radial-gradient(120% 34% at 50% 106%, color-mix(in srgb, var(--path) 20%, transparent) 0%, transparent 72%),
    linear-gradient(0deg, rgba(8, 8, 9, 0.46) 0%, rgba(8, 8, 9, 0) 20%);
}
/* Lede und Hinweis über dem Objekt: gleicher Schatten wie die Texte neben den Handys */
/* a149 (Andi t2168u): Hinweise ohne Schatten */
/* Glas eine Spur durchsichtiger: Die Silhouette mit ihrer Lichtkante steht sichtbar hinter den Karten, die Schrift
   der Antworten bleibt auf dunklem Grund */
.screen.obj-deep .opt.glass, .screen.obj-deep .num.glass {
  background: linear-gradient(180deg, rgba(30, 31, 36, 0.6), rgba(12, 13, 15, 0.66));
  box-shadow: inset 0 0 0 1px var(--edge), inset 0 1px 0 rgba(255, 255, 255, 0.07), 0 16px 34px -18px rgba(0, 0, 0, 0.95);
}
.screen.obj-deep .opt.glass[aria-checked='true'] {
  box-shadow: inset 0 0 0 1.5px var(--sand), inset 0 0 22px -8px var(--glow), 0 0 30px -8px var(--glow), 0 16px 34px -18px rgba(0, 0, 0, 0.95);
}
/* a149 (Andi t2168u): Feldbezeichnungen (.num-l/.num-u) ohne Schatten */
/* a148 (Andi t2138u): Auswahltexte (.opt-t) ohne Schatten; Feldbezeichnungen behalten den Leseschatten. */

@media (max-width: 1023px) {
  /* Frage und Antworten rücken nach oben: Das Objekt braucht keinen eigenen Platz mehr. Zwischen Frage und Antworten
     bleibt ein freies Band (dort steht der wichtigste Teil des Objekts: Scheiben, Kopf und Oberkörper, Etikett,
     Zifferblatt, Display), der Rest der freien Höhe liegt jetzt UNTER den Antworten. Dort läuft das Objekt weiter und
     wird vom Rand angeschnitten. */
  .screen.obj-deep .obj-slot { flex: 1 1 0; }
  .screen.obj-deep::after { content: ''; flex: 0.72 1 0; min-height: 0; pointer-events: none; }
  /* Karten etwas flacher (Tippfläche bleibt mindestens 44 px), das Band wird entsprechend höher */
  .screen.obj-deep .opt { min-height: clamp(44px, 6.4vh, 54px); }
}
@media (min-width: 1024px) {
  /* Desktop: Frage links, Antworten rechts, dazwischen und dahinter das Objekt über die ganze Bildhöhe. Der Schleier
     liegt hier seitlich hinter den beiden Textspalten, die Mitte bleibt frei. */
  .screen.obj-deep::before {
    background:
      linear-gradient(90deg, rgba(8, 8, 9, 0.5) 0%, rgba(8, 8, 9, 0) 34%, rgba(8, 8, 9, 0) 66%, rgba(8, 8, 9, 0.42) 100%),
      radial-gradient(90% 30% at 50% 108%, color-mix(in srgb, var(--path) 20%, transparent) 0%, transparent 72%),
      linear-gradient(0deg, rgba(8, 8, 9, 0.4) 0%, rgba(8, 8, 9, 0) 18%);
  }
}

/* a136 (Andi): Schrift Mockup. Untertitel und Ledes in Sora: Fließtext Light 300, markierte Schlüsselstellen
   (Akzentfarbe, unterstrichene Schlagworte, Zeitraum) SemiBold 600. Das durchgängige Fett der Ledes entfällt.
   Headlines bleiben Urbanist in Versalien. Farben und --title-shadow unverändert. Mobil mindestens 16px. */
.lede, .lede.follow, .ab-s {
  font-family: var(--f-sub);
  font-weight: 300;
  line-height: 1.5;
  letter-spacing: -0.005em;
  font-synthesis: none;
}
.lede em, .type-proof .lede em, .type-statement .lede em, .type-deck .lede em,
.type-list .lede em, .type-dial .lede em, .type-inputs .lede em { font-weight: 300; }
.lede .acc, .lede u.bz, .lede b, .lede strong, .type-slots .lede .per, .ab-s .acc { font-weight: 600; }
.ab-s { font-size: max(1rem, min(1.12rem, 4.7vw)); }

/* a138 (Andi): Ledes und Untertitel in Sora Light 300 brauchen über Fotos und 3D einen Hauch mehr Halt.
   Ein einzelner weicher, weiter Schatten, bewusst dezent: keine harte Kontur, kein Schattenstapel.
   --title-shadow der Headlines bleibt unverändert. */
/* a150 (Andi t2155u/t2168u): sehr leichter Leseschatten, leichter als --title-shadow, nur auf Ledes unter Headlines */
.stage { --lede-shadow: 0 1px 2px rgba(8, 8, 9, 0.45), 0 0 8px rgba(8, 8, 9, 0.25); }
/* P12FIX (Andi 14.11.): nur dieser Lede-Absatz, etwas kraeftigerer Leseschatten ueber dem Foto (Ausnahme). */
.stage { --p12-lede-shadow: 0 1px 3px rgba(8, 8, 9, 0.72), 0 0 14px rgba(8, 8, 9, 0.5), 0 2px 24px rgba(8, 8, 9, 0.32); }
.stage .screen[data-screen='p12'] .lede, .stage .screen[data-screen='p12'] .lede.small {
  text-shadow: var(--p12-lede-shadow);
}
/* P12FIX: Fachzeilen buendig mit «Andi • The Brain», fester Umbruch nach Biomechanik / biomechanics. */
.stage .type-creds .andi p { text-align: left; text-indent: 0; text-wrap: wrap; }
.stage .type-creds .andi .andi-name,
.stage .type-creds .andi .andi-subjects { display: block; margin: 0; padding: 0; text-indent: 0; }

.lede, .lede.follow, .ab-s {
  text-shadow: var(--lede-shadow);
}

/* ---------- a143: P12 Urkunden, Bildunterschriften und Andis Zeile ----------
   Bildunterschrift: fester Umbruch nach „Arts,“ (Marker '|' in js/flow.js), nie abgeschnitten (kein overflow, kein
   nowrap, keine feste Höhe). Mobil sichtbar, sobald die Höhe reicht (main.js creds → layout setzt .cap-on und passt
   die Urkunden um die gemessene Höhe der Unterschrift ein), sonst wie bisher ausgeblendet. */
.stage .type-creds .docs .doc, .stage .type-creds .docs .ph-doc { overflow: visible; }
.stage .type-creds .docs figcaption { white-space: normal; overflow: visible; max-height: none; line-height: 1.3; text-wrap: balance; }
@media (max-width: 1023px) {
  .stage .type-creds .docs.cap-on figcaption {
    display: block; margin-top: 6px; font-size: 0.66rem; color: #d9cdb8; text-align: center;
  }
}
/* Andis Zeile (Desktop): Lage per main.js (rechts von WEITER, 4vw Innenabstand rechts). Hier nur die Absicherung,
   dass sie nie breiter als der Schirm wird und der Text in der Zeile umbricht statt hinauszulaufen. */
@media (min-width: 1024px) {
  .stage .type-creds .andi { max-width: calc(100% - 8vw); box-sizing: border-box; }
  .stage .type-creds .andi p { min-width: 0; overflow-wrap: break-word; }
}

/* ---------- a150 (Andi t2157u): P12 Andi-Avatar Kopf und Schultern statt nur Kopf ----------
   Ausschnitt aus bg-s-andi-front.webp (339×900): Quadrat x 62–282, y 0–220 px, Gesicht mittig, Schultern in den
   unteren Ecken. Dafür der Kreis leicht größer, damit das Gesicht erkennbar bleibt (mobil 44 px, Desktop fluide
   44–60 px). Lage der Zeile am Desktop rechnet main.js aus der gemessenen Höhe, nichts stößt an WEITER. */
.andi-pic { width: 44px; height: 44px; }
.andi-pic img { width: 154%; left: -28.2%; top: -1%; }
@media (max-width: 1023px) and (max-height: 700px) { .andi-pic { width: 40px; height: 40px; } }
@media (min-width: 1024px) {
  .stage .type-creds .andi-pic { width: clamp(44px, 3.2vw, 60px); height: clamp(44px, 3.2vw, 60px); }
}

/* ---------- Trafo-Job (Addendum 17:36): P12 Andi-Avatar = eigenes quadratisches Porträt (Kopf, Schultern, Kragen) ----------
   Kreisgrößen bleiben wie a150 (mobil 44 px, flach 40 px, Desktop 44–60 px); nur der Bildzuschnitt im Kreis ändert sich. */
.andi-pic img { width: 100%; height: 100%; left: 0; top: 0; object-fit: cover; object-position: 50% 40%; }

/* TRAFO2 (Andi 20:18): P12-Lede steht in genau fünf festen Zeilen. Die längste DE-Zeile
   («auf einschlägige Berufserfahrung bei EGYM,») braucht bei 16 px ca. 342 px; unter ~395 px Breite skaliert die
   Schrift minimal mit (360 px → 14,6 px), damit kein automatischer Zusatzumbruch entsteht. Ab 395 px unverändert 1rem. */
.stage .type-creds .lede, .stage .type-creds .lede.small { font-size: min(1rem, 4.05vw); }

/* P12 Wissen (Andi 15:06): neues Porträt in Originalfarben, wieder Kreis, Größe wie vor der Vergrößerung
   (mobil 44 px, flach 40 px, Desktop 44–60 px), damit die Urkunden ihren ursprünglichen Platz behalten. */
.andi-pic { border-radius: 50%; filter: none; }
.andi-pic img {
  filter: none;
  -webkit-filter: none;
  opacity: 1;
  mix-blend-mode: normal;
  object-position: 50% 22%;
  border-radius: 50%;
}
