/* Fassung D · Runde 19 · 10.11.2026 nachts
   Niclas zu Runde 18: Lernen-Section mit sechs Bildern „gefällt mir absolut gar nicht“ → kleiner Einblick (Anatomie, Werkzeuge),
   Einstieg „dreckiger Hintergrund“ → größer auf hellem Milchglas, Termin-Textur „einfach schlecht“ → dunkles gebürstetes Metall,
   Fragen und Abschluss neu getextet (Abschluss nach der alten Website), Abstände und Hierarchie einheitlicher (Apple/Tailwind als Maß).
   Stand davor: _verworfen/fassung-d-vor-runde19-2026-11-10/ */

.fassung-d { --sektion: clamp(104px, 10vw, 168px); --kopf-abstand: clamp(48px, 4.6vw, 80px); }

/* ---------- Einheitliche Überschriften ---------- */
.d-titel { margin-top: 18px; font-size: clamp(40px, 4.4vw, 72px); font-weight: 500; line-height: 1.02; letter-spacing: -.035em; }
.d-kopfzeile { align-items: end; }
.d-kopf-satz { font-size: clamp(18px, 1.4vw, 21px); }

/* ---------- Für dich: klarere Stufen (Titel, drei Punkte, Satz, leise Zeile, Name) ---------- */
.fassung-d .d-stimme .a-titel { font-size: clamp(36px, 3.4vw, 56px); line-height: 1.06; }
.fassung-d .a-drei { margin-top: 48px; max-width: 660px; }
.fassung-d .a-drei b { margin-bottom: 8px; font-size: 19px; }
.fassung-d .a-drei li { font-size: 16px; line-height: 1.5; }
.fassung-d .a-richtig { margin-top: 48px; font-size: clamp(26px, 2.2vw, 34px); }
.fassung-d .a-leise { margin-top: 12px; font-size: 18px; line-height: 1.5; max-width: 42ch; }
.fassung-d .d-name { margin-top: 32px; }

/* ---------- Was du lernst: kleiner Einblick auf Latex ---------- */
.d-einblick { padding-block: var(--sektion); }
.d-einblicke { margin-top: var(--kopf-abstand); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(24px, 4vw, 72px); align-items: start; }
.d-einblick-karte:nth-child(2) { margin-top: clamp(0px, 9vw, 140px); } /* versetzt, damit es nicht wie ein Raster wirkt */
.d-einblick-bild { aspect-ratio: 724 / 752; overflow: hidden; border-radius: 4px; background: #111; box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .9); }
.d-einblick-bild img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s cubic-bezier(.2, .7, .2, 1); }
.d-einblick-karte:hover .d-einblick-bild img { transform: scale(1.03); }
.d-einblick-karte .marke-klein { margin-top: 28px; }
.d-einblick-karte h3 { margin-top: 12px; max-width: 18ch; font-size: clamp(26px, 2.2vw, 36px); font-weight: 500; line-height: 1.08; letter-spacing: -.025em; }
.d-einblick-karte h3 + p { margin-top: 12px; max-width: 40ch; font-size: 17px; line-height: 1.5; color: var(--licht-2); }

/* ---------- Wo stehst du gerade?: hell auf Milchglas, große Karten ---------- */
.d-weg2.d-weg-hell { padding-block: var(--sektion); color: var(--tinte);
  background: #d9d8d4 url(../bilder/glas-leer.webp) center / cover; } /* leerer Teil von glas.webp, gespiegelt (ohne ihren Schatten) */
.d-weg-hell::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: rgba(232, 231, 227, .38); }
.d-weg-hell .rahmen { z-index: 2; }
.d-weg-hell .marke-klein { color: rgba(20, 20, 19, .6); }
.d-weg-hell .d-kopf-satz { color: rgba(20, 20, 19, .72); }
.d-weg-hell .d-einstiege { margin-top: var(--kopf-abstand); display: flex; gap: clamp(10px, 1vw, 16px); }
.d-weg-hell .d-einstieg { flex: 1 1 0; min-width: 0; color: var(--tinte); transition: flex-grow .7s cubic-bezier(.2, .7, .2, 1); }
.d-weg-hell .d-einstiege:hover .d-einstieg:hover { flex-grow: 1.55; }
.d-weg-hell .d-einstieg-bild { aspect-ratio: auto; height: clamp(460px, 44vw, 680px); box-shadow: 0 40px 70px -45px rgba(0, 0, 0, .55); }
.d-weg-hell .d-einstieg-titel { color: var(--licht); font-size: clamp(22px, 1.9vw, 30px); }
.d-weg-hell .d-einstieg-nr { color: var(--licht); font-size: clamp(36px, 3.2vw, 54px); }
.d-weg-hell .d-einstieg-kurs { margin-top: 20px; font-size: 18px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.d-weg-hell .d-einstieg-kurs small { color: rgba(20, 20, 19, .66); font-size: 15px; white-space: normal; }
.d-weg-hell .d-einstieg-link { color: var(--tinte); }
.d-weg-hell .d-einstieg:focus-visible { outline-color: var(--tinte); }

/* ---------- Termin: dunkles gebürstetes Metall, Glas darauf ---------- */
.d-termin.d-metall { position: relative; padding-block: var(--sektion); color: var(--licht);
  background: #121212 url(../bilder/tx-metall.webp) center / cover; }
.d-metall::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(8,8,8,.5), rgba(8,8,8,.25) 50%, rgba(8,8,8,.55)); }
.d-metall .marke-klein { color: var(--licht-3); }
.d-metall .d-termin-titel { color: var(--licht); }
.d-metall .d-schritte { color: var(--licht); }
.d-metall .d-schritte span { color: var(--licht-3); }
.d-metall .d-kurswahl { border-color: rgba(239, 237, 232, .5); }
.d-metall .d-kurswahl button { color: var(--licht); }
.d-metall .d-kurswahl button.an { background: var(--licht); color: var(--tinte); }
.d-metall .d-glas-hell { background: rgba(14, 14, 14, .55); border-color: rgba(255, 255, 255, .12); color: var(--licht);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), 0 30px 60px -30px rgba(0, 0, 0, .8); }
.d-metall .d-kaesten dt, .d-metall .d-tage-kopf { color: var(--licht-3); }
.d-metall .d-monat-knopf { color: var(--licht); }
.d-metall .d-tage > * { color: rgba(239, 237, 232, .45); }
.d-metall .d-tage button { border-color: rgba(239, 237, 232, .75); color: var(--licht); }
.d-metall .d-tage button:hover { background: rgba(255, 255, 255, .1); }
.d-metall .d-tage button.gewaehlt { background: var(--licht); color: var(--tinte); }
.d-metall .d-wahl-text { color: var(--licht-2); }

/* ---------- Fragen: Überschrift links, Glas rechts ---------- */
.fassung-d .a-fragen { padding-block: var(--sektion); }
.d-fragen-kopf { grid-column: 1 / 5; align-self: start; }
.d-fragen-kopf .d-kopf-satz { margin-top: 22px; max-width: 30ch; }
.fassung-d .a-fragen .fragen { grid-column: 6 / 13; }

/* ---------- Abschluss: CTA nach der alten Website ---------- */
.fassung-d .abschluss .marke-klein { color: rgba(20, 20, 19, .6); }
.fassung-d .abschluss h2 { margin-top: 16px; max-width: 14ch; }
.fassung-d .abschluss p:not(.marke-klein) { max-width: 40ch; font-size: 18px; line-height: 1.55; }
.d-abschluss-aktion { margin-top: 36px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 30px; }
.d-abschluss-aktion .knopf { margin-top: 0 !important; }
.d-textlink-dunkel { color: var(--tinte); }

/* ---------- Tablet quer ---------- */
@media (min-width: 901px) and (max-width: 1100px) {
  .d-weg-hell .d-einstiege { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; }
  .d-weg-hell .d-einstieg-bild { height: 440px; }
  .fassung-d .abschluss h2 { font-size: 44px; }
}
/* ---------- Tablet hochkant und Handy ---------- */
@media (max-width: 900px) {
  .fassung-d { --sektion: 88px; --kopf-abstand: 40px; }
  .d-weg-hell .d-einstiege { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; }
  .d-weg-hell .d-einstieg-bild { height: auto; aspect-ratio: 4 / 5; }
  .d-weg-hell .d-einstieg-kurs { white-space: normal; }
  .d-termin.d-metall { background-size: cover !important; background-position: center !important; }
  .d-fragen-kopf, .fassung-d .a-fragen .fragen { grid-column: 1 / -1; }
  .d-fragen-kopf { margin-bottom: 32px; }
}
@media (max-width: 640px) {
  .d-einblicke { grid-template-columns: 1fr; gap: 56px; }
  .d-einblick-karte:nth-child(2) { margin-top: 0; }
  .d-weg-hell .d-einstiege { grid-template-columns: 1fr; }
  .d-weg-hell .d-einstieg-bild { aspect-ratio: 1 / 1; }
  .d-titel { font-size: 40px; }
}

/* ---------- Feinschliff Runde 19 (10.11. spät, ohne Credits) ----------
   1. Einstieg-Hover: Karte wuchs 309 auf 421 px, Nachbarn 272 px, dabei brachen Titel und Kurszeilen um (Text sprang).
      Jetzt sanfter (1.3) und alle Texte in fester Breite = schmalste Karte, damit beim Hover nichts umbricht.
   2. Termin-Titel war 92 px fett (600), alle anderen Titel 63 px normal (500): angeglichen, Datum ebenfalls 500.
   3. Abschluss-Label war 19 px (erbte .abschluss p) statt 12 px wie alle Labels. */
@media (min-width: 1101px) {
  .d-weg-hell .d-einstiege { container-type: inline-size; }
  .d-weg-hell .d-einstiege:hover .d-einstieg:hover { flex-grow: 1.3; }
  .d-weg-hell .d-einstieg-titel { right: auto; width: calc((100cqw - 3 * clamp(10px, 1vw, 16px)) / 4.3 - 2 * clamp(18px, 1.6vw, 26px)); }
  .d-weg-hell .d-einstieg-kurs { width: calc((100cqw - 3 * clamp(10px, 1vw, 16px)) / 4.3); }
  .d-weg-hell .d-einstieg-kurs small { font-size: 14px; } /* „Online, nach Absprache · 100 € erste Stunde“ bleibt so einzeilig */
}
.fassung-d .d-termin-titel { margin-top: 18px; font-size: clamp(40px, 4.4vw, 72px); font-weight: 500; line-height: 1.02; letter-spacing: -.035em; }
.fassung-d .d-wahl-datum { font-weight: 500; }
.fassung-d .abschluss p.marke-klein { margin-top: 0; max-width: none; font-size: 12px; letter-spacing: .24em; }
.fassung-d .abschluss h2 { font-size: clamp(40px, 4.4vw, 72px); letter-spacing: -.035em; }
@media (max-width: 900px) { .fassung-d .d-termin-titel { font-size: 40px; } }
/* 4. Handy: Ziffer I lag auf hellem Fenster nur 36 px groß und kaum abgesetzt → größer, dunkle Ecke kräftiger. */
@media (max-width: 640px) {
  .d-weg-hell .d-einstieg-nr { font-size: 46px; }
  .d-weg-hell .d-einstieg-bild::after { background: radial-gradient(circle at 0 0, rgba(6, 6, 6, .8) 0, rgba(6, 6, 6, 0) 220px), linear-gradient(180deg, rgba(6, 6, 6, 0) 48%, rgba(6, 6, 6, .88) 100%); }
}
