/* Fassung D · Runde 18 · 10.11.2026 nachts
   Niclas: „Du hast ja legit nichts geändert.“ Umgesetzt aus seiner Liste:
   Hero-Bild (Treppe vom 08.11., scharfer Beton, gleiches Outfit), Hero-Schrift DM Serif Display statt Bodoni,
   kleine Striche weg, „Was du lernst“ als sechs Bildkarten mit allen 42 Modulen,
   „Wo stehst du gerade?“ als vier Bildkarten I bis IV nebeneinander (Bilder ohne Klick sichtbar),
   Termin-Schriften größer, Fragen auf dunklem Glas. Stand davor: _verworfen/fassung-d-vor-runde18-2026-11-10/ */

/* ---------- Hero ---------- */
@font-face { font-family: "DM Serif Display"; src: url(../schriften/dm-serif-display.woff2) format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
.fassung-d .a-start h1 { font-family: "DM Serif Display", Georgia, "Times New Roman", serif; font-weight: 400; letter-spacing: -.015em; line-height: .98; }

/* ---------- Kleine Striche weg ---------- */
.fassung-d .a-drei li { border-left: 0; border-top: 0; }
.fassung-d .a-drei li + li { padding-left: 22px; }
.fassung-d .a-richtig { border-top: 0; padding-top: 0; }

/* ---------- Kopfzeile: Titel links, Satz rechts (wie Casa) ---------- */
.d-kopfzeile { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px clamp(40px, 6vw, 120px); align-items: end; }
.d-kopf-satz { max-width: 36ch; font-size: clamp(18px, 1.45vw, 22px); line-height: 1.45; color: var(--licht-2); padding-bottom: 6px; }
.d-kopf-satz .knopf { margin-top: 26px; }

/* ---------- Was du lernst: sechs Bildkarten, Klick zeigt die Module ---------- */
.d-lernen .rahmen { position: relative; z-index: 2; }
.d-felder { margin-top: clamp(40px, 4vw, 64px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 1.2vw, 18px); }
.d-feld { position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 4px; background: #0a0a0a; isolation: isolate; }
.d-feld > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
.d-feld::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(180deg, rgba(6,6,6,0) 42%, rgba(6,6,6,.85) 100%); }
.d-feld:hover > img { transform: scale(1.03); }
.d-feld-knopf { position: absolute; inset: 0; z-index: 2; width: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start;
  padding: clamp(20px, 2vw, 30px); background: none; border: 0; text-align: left; color: var(--licht); cursor: pointer; }
.d-feld-nr { font-family: "DM Serif Display", Georgia, serif; font-size: clamp(30px, 2.6vw, 40px); line-height: 1; color: var(--licht); }
.d-feld-name { margin-top: 10px; font-size: clamp(21px, 1.75vw, 27px); font-weight: 500; line-height: 1.12; letter-spacing: -.02em; }
.d-feld-zahl { margin-top: 12px; display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--licht-2); }
.d-feld-zahl .plus { width: 16px; height: 16px; transition: transform .3s; }
.d-feld-liste { position: absolute; inset: 0; z-index: 3; padding: clamp(22px, 2.2vw, 32px); overflow-y: auto; cursor: pointer;
  background: rgba(10, 10, 10, .78); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s; }
.d-feld.offen .d-feld-liste { opacity: 1; visibility: visible; }
.d-feld.offen .d-feld-zahl .plus { transform: rotate(45deg); }
.d-feld-kopf { display: flex; align-items: baseline; gap: 14px; font-size: clamp(19px, 1.5vw, 23px); font-weight: 500; letter-spacing: -.015em; }
.d-feld-kopf .d-feld-nr { font-size: clamp(24px, 2vw, 30px); }
.d-feld-liste ol { margin: 16px 0 0; padding: 0; list-style: none; counter-reset: m; }
.d-feld-liste li { counter-increment: m; display: grid; grid-template-columns: 30px 1fr; padding: 6px 0; font-size: clamp(14px, 1.08vw, 16px); line-height: 1.35; color: var(--licht-2); }
.d-feld-liste li::before { content: counter(m, decimal-leading-zero); padding-top: 3px; font-size: 12px; letter-spacing: .08em; color: var(--licht-3); }

/* ---------- Wo stehst du gerade?: vier Bildkarten I bis IV, kein Klick nötig ---------- */
.d-weg2 { position: relative; padding-block: var(--breit); background: radial-gradient(ellipse 70% 60% at 28% 18%, #252523 0%, #131312 55%, #0b0b0a 100%); }
.d-einstiege { margin-top: clamp(40px, 4vw, 64px); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 1.4vw, 22px); }
.d-einstieg { display: flex; flex-direction: column; color: var(--licht); text-decoration: none; }
.d-einstieg-bild { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 4px; background: #0a0a0a; }
.d-einstieg-bild img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
.d-einstieg[data-weg="orientieren"] .d-einstieg-bild img { object-position: 64% 30%; }
.d-einstieg-bild::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 0 0, rgba(6,6,6,.7) 0, rgba(6,6,6,0) 170px), linear-gradient(180deg, rgba(6,6,6,0) 48%, rgba(6,6,6,.88) 100%); }
.d-einstieg-nr, .d-einstieg-titel { text-shadow: 0 1px 14px rgba(0, 0, 0, .55); }
.d-einstieg:hover .d-einstieg-bild img { transform: scale(1.04); }
.d-einstieg-nr { position: absolute; z-index: 2; left: clamp(18px, 1.6vw, 26px); top: clamp(14px, 1.4vw, 22px); font-family: "DM Serif Display", Georgia, serif; font-size: clamp(32px, 2.8vw, 46px); line-height: 1; }
.d-einstieg-titel { position: absolute; z-index: 2; left: clamp(18px, 1.6vw, 26px); right: clamp(18px, 1.6vw, 26px); bottom: clamp(16px, 1.6vw, 24px);
  font-size: clamp(21px, 1.7vw, 27px); font-weight: 500; line-height: 1.14; letter-spacing: -.02em; }
.d-einstieg-kurs { margin-top: 18px; font-size: 17px; font-weight: 500; }
.d-einstieg-kurs small { display: block; margin-top: 4px; font-size: 15px; font-weight: 400; color: var(--licht-2); }
.d-einstieg-link { margin-top: 14px; display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--licht); }
.d-einstieg-link .pfeil { width: 18px; height: 18px; transition: transform .25s; }
.d-einstieg:hover .d-einstieg-link .pfeil { transform: translateX(4px); }
.d-einstieg:focus-visible { outline: 2px solid var(--licht); outline-offset: 6px; }

/* ---------- Termin: Ziffern, Kursnamen und Schritte größer ---------- */
.d-schritte { gap: 12px 36px; font-size: 18px; }
.d-schritte span { font-size: 16px; }
.d-kurswahl button { padding: 15px 28px; font-size: 18px; }
.d-kurswahl .nr { margin-right: 12px; font-family: "DM Serif Display", Georgia, serif; font-size: 21px; letter-spacing: .02em; color: inherit; opacity: .75; }

/* ---------- Fragen: dunkles Glas unter dem Text, gut lesbar auf dem Leder ---------- */
.fassung-d .fragen-marke { font-size: 14px; color: var(--licht); }
.d-fragen-glas { padding: 8px clamp(22px, 2.4vw, 40px); background: rgba(8, 8, 8, .8); border-radius: 4px;
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .8); }
.d-fragen-glas details { border-top: 1px solid rgba(255, 255, 255, .08); }
.d-fragen-glas details:first-child { border-top: 0; }
.d-fragen-glas details:last-child { border-bottom: 0; }
.d-fragen-glas summary { padding: 18px 0; font-size: 18px; }
.d-fragen-glas details p { font-size: 16px; line-height: 1.55; color: rgba(239, 237, 232, .84); }

/* ---------- Tablet quer ---------- */
@media (min-width: 901px) and (max-width: 1100px) {
  .d-einstiege { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .d-einstieg-bild { aspect-ratio: 5 / 4; }
}
/* ---------- Tablet hochkant und Handy ---------- */
@media (max-width: 900px) {
  .d-kopfzeile { grid-template-columns: 1fr; }
  .d-felder, .d-einstiege { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .d-weg2 { padding-block: 72px; }
  .d-kurswahl button { padding: 14px 10px; font-size: 17px; }
  .d-schritte { font-size: 17px; }
  .fassung-d .a-drei li + li { padding-left: 0; }
}
@media (max-width: 640px) {
  /* Felder als Wischreihe (wie der Kursfinder der Casa-Fassung), Einstiege untereinander */
  .d-felder { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; margin-inline: calc(var(--rand) * -1); padding-inline: var(--rand); scrollbar-width: none; }
  .d-felder::-webkit-scrollbar { display: none; }
  .d-feld { flex: 0 0 84%; aspect-ratio: 3 / 4; scroll-snap-align: center; }
  .d-feld-liste { padding: 20px 18px; }
  .d-feld-liste ol { margin-top: 10px; }
  .d-feld-liste li { padding: 3px 0; grid-template-columns: 26px 1fr; font-size: 14px; line-height: 1.3; }
  .d-einstiege { grid-template-columns: 1fr; gap: 40px; }
  .d-einstieg-bild { aspect-ratio: 1 / 1; }
  .d-kopf-satz { font-size: 17px; }
  .d-fragen-glas summary { font-size: 17px; }
}
