/* Fassung D · 10.11.2026 abends
   Baut auf css/neu.css und css/neu-a.css auf. Neu: Lernen auf Latex mit Glas, Weg als Bildbühne im Gang,
   Termin mit einfachem Kalender auf Beton (nach R11 Nr. 5/6). */

.d-glas { background: rgba(255, 255, 255, .055); border: 1px solid rgba(255, 255, 255, .14); border-radius: 4px;
  -webkit-backdrop-filter: blur(18px) saturate(115%); backdrop-filter: blur(18px) saturate(115%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 30px 60px -30px rgba(0, 0, 0, .7); }

/* ---------- 2 Für dich ---------- */
.d-stimme .a-bild img { object-position: 100% 30%; }
.d-stimme::before { background: linear-gradient(90deg, rgba(8,8,8,.8) 0%, rgba(8,8,8,.62) 36%, rgba(8,8,8,.2) 50%, rgba(8,8,8,0) 58%); }
.d-name { margin-top: 26px; font-size: 13px; letter-spacing: .3em; text-transform: uppercase; color: var(--licht-2); }

/* ---------- 3 Was du lernst · Latex ---------- */
.d-lernen { position: relative; overflow: hidden; padding-block: var(--breit); background: #050505 url(../bilder/d-latex.webp) center / cover; }
.d-lernen::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(90deg, rgba(4,4,4,.62) 0%, rgba(4,4,4,.3) 55%, rgba(4,4,4,.45) 100%); }
.d-lernen-kopf { grid-column: 1 / 7; }
.d-lernen-satz { margin-top: 22px; max-width: 34ch; font-size: 19px; color: var(--licht-2); }
.d-felder-glas { grid-column: 1 / 7; margin-top: clamp(40px, 4vw, 60px); padding: 8px clamp(22px, 2.2vw, 34px); }
.d-felder-glas .a-felder { margin-top: 0; max-width: none; border-bottom: 0; }
.d-felder-glas .a-felder details:first-child { border-top: 0; }
.d-tiefe { grid-column: 8 / 13; align-self: end; display: grid; gap: var(--spalt); }
.d-tiefe-karte { padding: clamp(26px, 2.4vw, 38px); min-height: 230px; display: flex; flex-direction: column; }
.d-tiefe-karte h3 { margin-top: 18px; max-width: 13ch; font-size: clamp(28px, 2.4vw, 40px); font-weight: 500; line-height: 1.04; letter-spacing: -.03em; }
.d-tiefe-karte p:last-child { margin-top: auto; padding-top: 22px; font-size: 15px; color: var(--licht-2); }

/* ---------- 4 Dein Weg · Bühne im Gang ---------- */
.d-weg { position: relative; overflow: hidden; background: linear-gradient(rgba(9,9,8,.8), rgba(9,9,8,.8)), #0b0b0a url(../bilder/beton-4k-1920.webp) center / cover; /* Startzustand ohne Bild: dunkler Beton statt glatt schwarz */ min-height: max(56.25vw, 780px); display: flex; align-items: center; }
.d-weg-bilder { position: absolute; inset: 0; z-index: 0; }
.d-weg-bild { position: absolute; inset: 0; opacity: 0; transition: opacity .7s ease; }
.d-weg-bild.an { opacity: 1; }
.d-weg-bild img { width: 100%; height: 100%; object-fit: cover; object-position: 100% 40%; }
.d-weg-bild[data-bild="privat"] img { object-position: 62% 40%; }
.d-weg-bild[data-bild="gruppe"] img { transform: scaleX(-1); } /* Beine nach rechts, links bleibt Platz für die Liste */
.d-weg::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(90deg, rgba(8,8,8,.84) 0%, rgba(8,8,8,.62) 32%, rgba(8,8,8,0) 56%); }
.d-weg-text { padding-block: var(--band); }
.d-weg-text > * { max-width: 540px; }
.d-wege { margin-top: clamp(36px, 3.4vw, 52px); border-bottom: 1px solid var(--linie-hell); }
.d-weg-zeile { width: 100%; display: grid; grid-template-columns: 52px 1fr 20px; align-items: center; gap: 12px; padding: 18px 0;
  background: none; border: 0; border-top: 1px solid var(--linie-hell); text-align: left;
  font-size: clamp(21px, 1.8vw, 28px); font-weight: 500; letter-spacing: -.02em; color: var(--licht-2); transition: color .2s; }
.d-weg-zeile .nr { font-size: 14px; }
.d-weg-zeile .pfeil { transition: transform .25s; }
.d-weg-zeile:hover, .d-weg-zeile.an { color: var(--licht); }
.d-weg-zeile:hover .pfeil, .d-weg-zeile.an .pfeil { transform: translateX(4px); }
.d-weg-zeile.an .nr { color: var(--licht); }
.d-weg-info { margin-top: 28px; min-height: 150px; }
.d-weg-tafel { display: none; }
.d-weg-tafel.an { display: block; animation: d-ein .45s ease; }
.d-weg-tafel h3 { font-size: 21px; font-weight: 500; letter-spacing: -.01em; }
.d-weg-tafel p { margin-top: 6px; font-size: 16px; color: var(--licht-2); }
.d-weg-tafel [data-naechster] { color: var(--licht); }
.d-preis { margin-top: 10px !important; font-size: 21px !important; font-weight: 500; color: var(--licht) !important; }
.d-preis small { font-size: 13px; font-weight: 400; color: var(--licht-3); }
.d-preis--leise { font-size: 16px !important; }
.d-weg-knopf { margin-top: 26px; }
@keyframes d-ein { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* ---------- 5 Dein Termin · Beton ---------- */
.d-termin { padding-block: var(--breit); }
.d-termin .rahmen { z-index: 2; }
.d-termin .marke-klein { color: rgba(20, 20, 19, .66); }
.d-termin-kopf { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px 40px; }
.d-termin-titel { margin-top: 14px; font-size: clamp(56px, 6.4vw, 108px); font-weight: 600; line-height: .92; letter-spacing: -.045em; color: var(--tinte); }
.d-schritte { display: flex; flex-wrap: wrap; gap: 10px 32px; font-size: 15px; font-weight: 500; color: var(--tinte); padding-bottom: 10px; }
.d-schritte span { margin-right: 10px; font-size: 13px; letter-spacing: .14em; color: rgba(20, 20, 19, .55); font-variant-numeric: tabular-nums; }
.d-kurswahl { margin-top: clamp(36px, 3.6vw, 56px); display: inline-flex; border: 1px solid var(--tinte); }
.d-kurswahl button { background: none; border: 0; padding: 12px 22px; font-size: 15px; font-weight: 500; color: var(--tinte); }
.d-kurswahl button.an { background: var(--tinte); color: var(--licht); }
.d-glas-hell { background: rgba(236, 234, 229, .34); border: 1px solid rgba(255, 255, 255, .55); border-radius: 4px;
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: 0 24px 50px -32px rgba(0, 0, 0, .45); color: var(--tinte); }
.d-kaesten { margin-top: 14px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.d-kaesten > div { padding: 18px 20px; }
.d-kaesten dt { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: rgba(20, 20, 19, .62); }
.d-kaesten dd { margin-top: 4px; font-size: clamp(17px, 1.4vw, 21px); font-weight: 500; }
.d-kalender-zeile { margin-top: 12px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 12px; }
.d-kalender { padding: clamp(20px, 2vw, 30px); }
.d-monat { display: flex; align-items: center; justify-content: space-between; }
.d-monat p { font-size: 20px; font-weight: 500; letter-spacing: -.01em; }
.d-monat-knopf { width: 40px; height: 40px; display: grid; place-items: center; background: none; border: 0; color: var(--tinte); }
.d-monat-knopf svg { width: 22px; height: 22px; }
.d-monat-knopf:disabled { opacity: .25; cursor: default; }
.d-tage-kopf, .d-tage { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); text-align: center; }
.d-tage-kopf { margin-top: 14px; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: rgba(20, 20, 19, .55); }
.d-tage { margin-top: 6px; row-gap: 4px; }
.d-tage > * { height: 42px; display: grid; place-items: center; font-size: 15px; font-variant-numeric: tabular-nums; color: rgba(20, 20, 19, .62); }
.d-tage button { background: none; border: 1px solid var(--tinte); color: var(--tinte); font-weight: 600; margin: 0 2px; }
.d-tage button:hover { background: rgba(20, 20, 19, .1); }
.d-tage button.gewaehlt { background: var(--tinte); color: var(--licht); }
.d-wahl { padding: clamp(26px, 2.6vw, 40px); display: flex; flex-direction: column; align-items: flex-start; }
.d-wahl-datum { margin-top: 18px; font-size: clamp(32px, 3.2vw, 52px); font-weight: 600; line-height: 1; letter-spacing: -.035em; }
.d-wahl-text { margin-top: 14px; font-size: 17px; color: rgba(20, 20, 19, .72); }
.d-wahl .knopf { margin-top: auto; }
.d-wahl #wahl-knopf { margin-top: 36px; }
.d-wahl-fuss { margin-top: 22px; font-size: 14px; color: rgba(20, 20, 19, .62); }

/* ---------- Tablet ---------- */
@media (min-width: 901px) and (max-width: 1100px) {
  .d-weg::before { background: linear-gradient(90deg, rgba(8,8,8,.88) 0%, rgba(8,8,8,.7) 44%, rgba(8,8,8,.1) 72%); }
  .d-lernen-kopf, .d-felder-glas { grid-column: 1 / 8; }
  .d-tiefe { grid-column: 8 / 13; }
  .d-tiefe-karte h3 { font-size: 26px; }
  .d-kalender-zeile { grid-template-columns: 1fr 1fr; }
}

/* ---------- Handy ---------- */
@media (max-width: 900px) {
  .d-lernen { padding-block: 72px; background-size: 1600px auto; }
  .d-lernen-kopf, .d-felder-glas, .d-tiefe { grid-column: 1 / -1; }
  .d-felder-glas { padding: 4px 18px; }
  .d-tiefe { margin-top: 16px; }
  .d-tiefe-karte { min-height: 0; }
  .d-tiefe-karte p:last-child { margin-top: 18px; }

  .d-weg { display: block; min-height: 0; }
  .d-weg::before { display: none; }
  .d-weg-bilder { position: relative; aspect-ratio: 4 / 5; margin-bottom: -20%;
    -webkit-mask-image: linear-gradient(180deg, #000 66%, transparent 100%); mask-image: linear-gradient(180deg, #000 66%, transparent 100%); }
  .d-weg-bild img, .d-weg-bild[data-bild="privat"] img { object-position: 50% 30%; }
  .d-weg-bild[data-bild="gruppe"] img { transform: none; }
  .d-weg.ohne-bild .d-weg-bilder { display: none; } /* ohne Wahl kein Bild, Liste beginnt oben */
  .d-weg.ohne-bild .d-weg-text { padding-top: 72px; }
  .d-weg-text { position: relative; z-index: 2; padding-block: 0 72px; }
  .d-weg-text > * { max-width: none; }
  .d-weg-zeile { font-size: 21px; padding: 16px 0; grid-template-columns: 40px 1fr 18px; }
  .d-weg-info { min-height: 0; }

  .d-termin { padding-block: 72px; background-size: 1200px auto !important; background-position: -150px 0 !important; } /* Ankerloch nicht hinter den Schritten */
  .fassung-d .a-start .marke-klein { display: none; } /* stand am Handy über ihr, schlecht lesbar */
  .d-termin-titel { font-size: 56px; }
  .d-kurswahl { display: flex; }
  .d-kurswahl button { flex: 1; padding: 12px 10px; }
  .d-kaesten { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .d-kalender-zeile { grid-template-columns: 1fr; }
  .d-tage > * { height: 40px; }
  .d-wahl-datum { font-size: 34px; }
}

/* ---------- Umbau 10.11. spät (Niclas): Schriften, Akzentstreifen weg, Wo stehst du gerade?, vier Kurse ---------- */
@font-face { font-family: "Bodoni Moda"; src: url(../schriften/bodoni-moda-normal.woff2) format("woff2"); font-weight: 400 900; font-style: normal; font-display: swap; }
/* Text: Century Gothic, sonst Tahoma (Systemschriften, nichts wird nachgeladen) */
body.fassung-d { --schrift: "Century Gothic", CenturyGothic, Tahoma, "Geist", sans-serif; }
.fassung-d h2, .fassung-d h3, .fassung-d .knopf, .fassung-d .marke { letter-spacing: -.01em; }
.fassung-d .marke { letter-spacing: .14em; }
.fassung-d .marke-klein { letter-spacing: .24em; } /* h2.marke-klein („Was du wissen willst“) bekam sonst das -.01em der h2 und lief zusammen */
/* Hero-Überschrift fett in Serifen */
.fassung-d .a-start h1 { font-family: "Bodoni Moda", Georgia, "Times New Roman", serif; font-weight: 700; letter-spacing: -.02em; line-height: .95; }
/* Akzentstreifen weg: Linien über den Fakten im Einstieg */
.fassung-d .a-fakten > div { border-top: 0; padding-top: 0; }

.d-weg-zeile .nr { font-size: 15px; letter-spacing: .04em; }
.d-zu-termin { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; font-size: 15px; font-weight: 600; color: var(--licht); text-decoration: none; }
.d-zu-termin .pfeil { transition: transform .25s; }
.d-zu-termin:hover .pfeil { transform: translateX(4px); }
.d-weg-bild[data-bild="orientieren"] img { object-position: 70% 30%; }
.d-kurswahl { flex-wrap: wrap; }
.d-kurswahl .nr { margin-right: 10px; font-size: 12px; letter-spacing: .08em; color: inherit; opacity: .6; } /* color: inherit, sonst erbt .nr das helle --licht-3 und II bis IV verschwinden auf hellem Grund */
@media (max-width: 900px) {
  .d-kurswahl { display: grid; grid-template-columns: 1fr 1fr; }
  .d-kurswahl button { padding: 12px 10px; }
  .d-weg-zeile { font-size: 19px; }
  .fassung-d .a-start h1 { font-size: 54px; }
}
/* Century Gothic läuft breiter: Satz und Knöpfe untereinander, damit nichts auf sie rutscht */
.fassung-d .a-start-unten { flex-direction: column; align-items: flex-start; }
.fassung-d .a-start-satz span { max-width: 34em; }
