/* Fassung D · Runde 23 · 11.11.2026
   Niclas zu Runde 21 (Full HD): sie ganz zu sehen = gut. „ist ein Handwerk.“ klein links direkt unter „Dominanz“, vom D bis zur Mitte vom M;
   untere Textgruppe höher; Für dich Text breiter; Lernen: Titel und Satz je eine Zeile, Kartentexte neu und ausgeschrieben,
   Latex passt nicht (→ schwarzes Leder Nr. 30), links nur Anatomie (Stich Runde 6 Nr. 27 vom Samstag), rechts nur Werkzeuge;
   Einstieg: Bilder kamen nicht ganz zur Geltung (→ ganze Querbilder, zwei je Reihe); Termin-Textur nicht gut genug (→ dunkler Beton aus seinem Hero-Hintergrund).
   Stand davor: _verworfen/fassung-d-vor-runde23-2026-11-11/ */

/* ---------- Hero: Titel „Dominanz“ + „ist ein Handwerk.“ als eine Gruppe hinter ihr ---------- */
.h20-titel { position: absolute; z-index: 1; left: 0; right: 0; top: 11%; text-align: center; pointer-events: none;
  font-family: "DM Serif Display", Georgia, "Times New Roman", serif; font-size: min(18.5cqw, 21vw); color: #eeece7;
  transform: translate3d(var(--h20-mx, 0px), calc(var(--h20-py, 0px) * .22), 0); }
.h20-titel-satz { position: relative; display: inline-block; text-align: left; }
.h20 .h20-titel .h20-wort { position: relative; top: auto; left: auto; right: auto; font-size: 1em; transform: none; }
/* Unterzeile beginnt an der Kante des D und endet etwa in der Mitte des m */
.h20 .h20-titel h1 { position: absolute; left: .022em; top: calc(100% + .045em); margin: 0; white-space: nowrap;
  font-family: inherit; font-weight: 400; font-size: .2em; line-height: 1; letter-spacing: -.005em; color: #eeece7; }

/* untere Textgruppe höher, Satz direkt unter dem Label */
.h20-text { padding-bottom: clamp(56px, 11.5vh, 150px); }
.h20-text .h20-satz { margin-top: 16px; font-size: 18px; }

@media (prefers-reduced-motion: reduce) { .h20-titel { transform: none; } }

/* ---------- Für dich: breitere Textspalte ---------- */
.fassung-d .d-stimme .a-text > * { max-width: 820px; }
.fassung-d .d-stimme .a-titel { max-width: 780px; }
.fassung-d .d-stimme .a-drei { max-width: 820px; }
.fassung-d .d-stimme .a-leise { max-width: 58ch; }

/* ---------- Was du lernst: schwarzes Leder, Titel und Satz einzeilig, Karten mit ausgeschriebenem Text ---------- */
.d-lernen.d-leder { background: #070707 url(../bilder/tx-leder.webp) center / cover; }
.d-lernen.d-leder::before { background: radial-gradient(ellipse 80% 70% at 50% 40%, rgba(6, 6, 6, .32) 0%, rgba(6, 6, 6, .62) 100%); }
.d-mittig .d-titel { max-width: none; }
.d-mittig .d-kopf-satz { max-width: 62em; }
.d-einblick-karte h3 { max-width: 26ch; font-size: clamp(24px, 1.9vw, 32px); line-height: 1.14; }
.d-einblick-karte h3 + p { max-width: 50ch; }
@media (min-width: 1101px) {
  .d-mittig .d-titel, .d-mittig .d-kopf-satz { white-space: nowrap; }
}

/* ---------- Dein Einstieg: ganze Querbilder, zwei je Reihe, Kurs und Link unter dem Bild in einer Zeile ---------- */
.d-weg-hell .d-einstiege { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(44px, 3.6vw, 68px) clamp(16px, 1.6vw, 28px); }
.d-weg-hell .d-einstieg { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; column-gap: 24px; }
.d-weg-hell .d-einstieg-bild { grid-column: 1 / -1; height: auto; aspect-ratio: 16 / 9; }
.d-weg-hell .d-einstieg-bild img { object-position: 50% 50%; }
.d-weg-hell .d-einstieg-titel { right: auto; width: auto; max-width: 70%; font-size: clamp(24px, 2vw, 36px); }
.d-weg-hell .d-einstieg-bild::after { background: radial-gradient(circle at 0 0, rgba(6, 6, 6, .6) 0, rgba(6, 6, 6, 0) 220px), linear-gradient(180deg, rgba(6, 6, 6, 0) 55%, rgba(6, 6, 6, .82) 100%); }
.d-weg-hell .d-einstieg-kurs { grid-column: 1; width: auto; white-space: normal; }
.d-weg-hell .d-einstieg-link { grid-column: 2; margin: 0 2px 2px 0; }
@media (min-width: 1101px) {
  .d-weg-hell .d-einstieg-bild { height: auto; }
  .d-weg-hell .d-einstieg-titel { width: auto; }
  .d-weg-hell .d-einstieg-kurs { width: auto; }
  .d-weg-hell .d-einstiege:hover .d-einstieg:hover { flex-grow: 0; }
}

/* ---------- Termin: dunkler Beton (Wand aus Niclas' Hero-Hintergrund) statt Metall ---------- */
.d-termin.d-beton-dunkel { background: #191918 url(../bilder/tx-beton-dunkel.webp) center / cover; }
.d-beton-dunkel::before { background: radial-gradient(ellipse 90% 80% at 50% 35%, rgba(8, 8, 8, 0) 0%, rgba(8, 8, 8, .45) 100%); }

/* ---------- Tablet hochkant und Handy ---------- */
@media (max-width: 900px) {
  .d-weg-hell .d-einstiege { grid-template-columns: 1fr; }
  .d-weg-hell .d-einstieg-bild { aspect-ratio: 16 / 9; }
}
@media (max-width: 640px) {
  .d-weg-hell .d-einstieg-bild { aspect-ratio: 16 / 9; }
  .d-weg-hell .d-einstieg { grid-template-columns: 1fr; }
  .d-weg-hell .d-einstieg-link { grid-column: 1; margin-top: 12px; }
  .d-weg-hell .d-einstieg-titel { max-width: 80%; font-size: 20px; }
  .d-weg-hell .d-einstieg-nr { font-size: 34px; }
  .h20-text { padding-bottom: 28px; }
}
@media (max-aspect-ratio: 4 / 5) {
  /* Hochformat (Handy, Tablet hochkant): sie kleiner und tiefer (Kopf bei gut einem Viertel der Höhe), Titel frei darüber auf dunklem Grund.
     Figur im Bild: Höhe 2,7 % bis 97,9 %, also Bühne 78,75 cqh hoch (= 140 cqh breit), Oberkante bei 25 cqh. */
  .h20 { background: #0e0e0d; }
  .h20-buehne { top: 25cqh; width: 140cqh; }
  .h20-grund img { -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 26%); mask-image: linear-gradient(180deg, transparent 0, #000 26%); }
  .h20-titel { top: -14cqh; font-size: min(21vw, 12.5cqh); } /* Bühne beginnt bei 25 cqh, Titel also bei 11 cqh der Hero-Höhe */
  .h20 .h20-titel h1 { font-size: .26em; top: calc(100% + .06em); }
}
