/* Fassung D · Runde 20 · 11.11.2026 nachts
   Niclas zu Runde 19: Hero-Titel „Dominanz ist ein Handwerk.“; Hero und „Für dich“ beide mit ihr rechts und Text links = schlechter Übergang;
   Hero soll sich beim Ankommen „wow“ aufbauen (Reveal), Titel hinter ihr mit leichtem Parallax (seine Idee aus Runde 18);
   „Wissen, bevor du führst.“ mittig und fett; Einstieg-Karten breiter und länger, „die leben ja von den Bildern“.
   Stand davor: _verworfen/fassung-d-vor-runde20-2026-11-11/ */

.nur-leser { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Hero: Bühne in Bildgeometrie (16:9, deckt die Fläche wie object-fit: cover) ---------- */
.h20 { position: relative; height: 100svh; min-height: 640px; max-height: 1200px; overflow: hidden; background: #0b0b0b; color: var(--licht); container-type: size; }
.h20-buehne { position: absolute; left: 50%; top: calc((100cqh - max(56.25cqw, 100cqh)) * .3); width: max(100cqw, 177.78cqh); aspect-ratio: 16 / 9;
  transform: translate3d(calc(-50% + var(--h20-mx, 0px) * -.35), calc(var(--h20-py, 0px) * .12), 0); container-type: inline-size; }
.h20-ebene { position: absolute; inset: 0; }
.h20-ebene img { display: block; width: 100%; height: 100%; }
.h20-grund { z-index: 0; }
.h20-figur { z-index: 2; }
/* das Wort liegt zwischen Wand und Figur: ihr Kopf und ihre Schultern stehen davor */
.h20-wort { position: absolute; z-index: 1; left: 0; right: 0; top: 11%; margin: 0; text-align: center; white-space: nowrap; pointer-events: none;
  font-family: "DM Serif Display", Georgia, "Times New Roman", serif; font-weight: 400; font-size: min(18.5cqw, 21vw); line-height: .78; letter-spacing: -.025em;
  color: #eeece7; transform: translate3d(var(--h20-mx, 0px), calc(var(--h20-py, 0px) * .22), 0); }
.h20-wort .h20-b { display: inline-block; }

/* Verläufe: oben für die Kopfleiste, unten für den Text und den Übergang ins Dunkle */
.h20::after { content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none;
  background: linear-gradient(180deg, rgba(8,8,8,.55) 0%, rgba(8,8,8,0) 14%),
              linear-gradient(0deg, rgba(11,11,11,.96) 0%, rgba(11,11,11,.6) 20%, rgba(11,11,11,0) 44%); }

/* ---------- Hero: Text unten, links Titel und Handlung, rechts Fakten; sie steht frei in der Mitte ---------- */
.h20-text { position: absolute; inset: 0; z-index: 4; display: flex; flex-direction: column; justify-content: flex-end; padding-top: calc(var(--kopf) + 24px); padding-bottom: clamp(32px, 4vh, 56px); }
.h20-unten { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 32px clamp(40px, 6vw, 120px); }
.h20-links { max-width: 30rem; }
.h20 h1 { margin-top: 14px; font-family: "DM Serif Display", Georgia, "Times New Roman", serif; font-weight: 400; font-size: clamp(44px, 4.6vw, 76px); line-height: .98; letter-spacing: -.015em; }
.h20-satz { margin-top: 18px; max-width: 30em; font-size: 17px; line-height: 1.5; color: var(--licht-2); }
.h20-aktion { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 30px; }
.h20-fakten { display: grid; grid-template-columns: repeat(2, minmax(0, auto)); gap: 22px clamp(32px, 3vw, 56px); margin: 0; }
.h20-fakten dt { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--licht-3); }
.h20-fakten dd { margin: 6px 0 0; font-size: 17px; font-weight: 500; }

/* ---------- Hero: Aufbau beim Ankommen ----------
   1. Milchglas: Bild und Figur kommen unscharf und dunkel, werden klar (ihr Erkennungszeichen)
   2. „Dominanz“ steigt Buchstabe für Buchstabe hinter ihr auf
   3. Titel, Satz, Knöpfe und Fakten folgen. Einmal, ca. 2,6 s. Ohne JS oder bei reduzierter Bewegung: sofort fertig. */
.h20-ebene img { transition: filter 1.7s cubic-bezier(.2, .7, .2, 1), transform 2.6s cubic-bezier(.16, .8, .2, 1); transform-origin: 50% 40%; }
.h20-wort .h20-b { transition: transform 1.1s cubic-bezier(.16, .8, .2, 1), opacity .9s ease, filter 1.1s ease; transition-delay: calc(.55s + var(--i) * 70ms); }
.h20-text .h20-label, .h20 h1, .h20-satz, .h20-aktion, .h20-fakten > div { transition: transform .9s cubic-bezier(.16, .8, .2, 1), opacity .9s ease; }
.h20-text .h20-label { transition-delay: 1.25s; } .h20 h1 { transition-delay: 1.35s; } .h20-satz { transition-delay: 1.5s; } .h20-aktion { transition-delay: 1.6s; }
.h20-fakten > div:nth-child(1) { transition-delay: 1.65s; } .h20-fakten > div:nth-child(2) { transition-delay: 1.72s; }
.h20-fakten > div:nth-child(3) { transition-delay: 1.79s; } .h20-fakten > div:nth-child(4) { transition-delay: 1.86s; }

.js-h20 .h20:not(.los) .h20-ebene img { filter: blur(26px) brightness(.32); transform: scale(1.12); }
.js-h20 .h20:not(.los) .h20-wort .h20-b { transform: translateY(.42em); opacity: 0; filter: blur(10px); }
.js-h20 .h20:not(.los) .h20-label, .js-h20 .h20:not(.los) h1, .js-h20 .h20:not(.los) .h20-satz,
.js-h20 .h20:not(.los) .h20-aktion, .js-h20 .h20:not(.los) .h20-fakten > div { transform: translateY(18px); opacity: 0; }

@media (prefers-reduced-motion: reduce) {
  .h20-ebene img, .h20-wort .h20-b, .h20-text .h20-label, .h20 h1, .h20-satz, .h20-aktion, .h20-fakten > div { transition: none !important; }
  .js-h20 .h20:not(.los) .h20-ebene img, .js-h20 .h20:not(.los) .h20-wort .h20-b, .js-h20 .h20:not(.los) .h20-label, .js-h20 .h20:not(.los) h1,
  .js-h20 .h20:not(.los) .h20-satz, .js-h20 .h20:not(.los) .h20-aktion, .js-h20 .h20:not(.los) .h20-fakten > div { transform: none; opacity: 1; filter: none; }
  .h20-buehne { transform: translateX(-50%); } .h20-wort { transform: none; }
}

/* ---------- Was du lernst: Kopf mittig, Titel fett ---------- */
.d-mittig .d-kopfzeile { display: flex; flex-direction: column; align-items: center; text-align: center; }
.d-mittig .d-titel { max-width: 16ch; font-size: clamp(44px, 5.4vw, 92px); font-weight: 700; line-height: .98; letter-spacing: -.045em; }
.d-mittig .d-kopf-satz { margin-top: 26px; max-width: 34em; }

/* ---------- Wo stehst du gerade?: Karten fast randlos breit und länger ---------- */
.d-einstiege-breit { position: relative; z-index: 2; max-width: 1920px; margin: var(--kopf-abstand) auto 0; padding-inline: clamp(16px, 1.8vw, 32px); }
.d-weg-hell .d-einstiege-breit .d-einstiege { margin-top: 0; }
.d-weg-hell .d-einstieg-kurs, .d-weg-hell .d-einstieg-link { margin-left: 2px; }
@media (min-width: 1101px) {
  .d-weg-hell .d-einstieg-bild { height: clamp(560px, 54vw, 900px); }
}

/* ---------- Tablet quer ---------- */
@media (min-width: 901px) and (max-width: 1100px) {
  .d-weg-hell .d-einstieg-bild { height: 560px; }
  .h20-links { max-width: 22rem; }
}
/* ---------- Tablet hochkant und Handy ---------- */
@media (max-width: 900px) {
  .h20 { max-height: none; }
  .h20-wort { top: 12.5%; }
  .h20-unten { grid-template-columns: 1fr; }
  .h20-links { max-width: none; }
  .h20::after { background: linear-gradient(180deg, rgba(8,8,8,.5) 0%, rgba(8,8,8,0) 12%),
                linear-gradient(0deg, rgba(11,11,11,.97) 0%, rgba(11,11,11,.8) 34%, rgba(11,11,11,0) 62%); }
  .h20-fakten { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 24px; }
  .h20-fakten dd { font-size: 15px; }
}
@media (max-width: 640px) {
  .h20 h1 { font-size: 40px; }
  .h20-wort { font-size: 21vw; top: 13%; }
  .h20-label, .h20-fakten { display: none; } /* Handy: sie soll sichtbar bleiben, Fakten stehen im Termin */
  .h20-satz { font-size: 15px; }
  .h20-text { padding-bottom: 28px; }
  .h20-aktion { margin-top: 22px; }
  .d-mittig .d-titel { font-size: 40px; }
  .d-weg-hell .d-einstieg-bild { aspect-ratio: 4 / 5; }
}

/* ---------- Übergang Hero → Für dich: Bild läuft oben aus dem Hero-Schwarz heraus statt harter Kante ---------- */
.fassung-d .d-stimme .a-bild::after { content: ""; position: absolute; inset: 0 0 auto; height: 24%; pointer-events: none;
  background: linear-gradient(180deg, #0b0b0b 0%, rgba(11, 11, 11, .55) 45%, rgba(11, 11, 11, 0) 100%); }
