/* ==========================================================================
   Entwurf 2 - Qualifizierungsstufen als Treppe.
   Layout unabhaengig vom Brandkit. Schrift, Farbe und Radius kommen
   aus kits.css und palettes.css und sind ueber das Menue wechselbar.
   ========================================================================== */
:root {
  --maxw: 1280px;
  --takt: clamp(4rem, 7.5vw, 6.5rem);
}
.mono { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }
.js-reveal [data-reveal] { opacity: 0; transform: translateY(14px); }
.js-reveal [data-reveal].ist-sichtbar { opacity: 1; transform: none;
  transition: opacity .5s cubic-bezier(.16,1,.3,1), transform .5s cubic-bezier(.16,1,.3,1); }

/* --- Kopf, zweigeteilt mit Kennlinie -------------------------------------- */
.kopf { border-bottom: 2px solid var(--text); background: var(--bg); position: sticky; top: 0; z-index: 50; }
.kopf__reihe { display: flex; align-items: center; gap: 2rem; height: 70px; }
.hauptnav { margin-inline-start: auto; }
.hauptnav ul { display: flex; gap: 1.6rem; }
.hauptnav a { text-decoration: none; font-size: .875rem; font-weight: 500; color: var(--text-muted); text-transform: uppercase; letter-spacing: .04em; white-space: nowrap; }
.hauptnav a:hover { color: var(--accent-text); }
.kopf__aktion { display: flex; align-items: center; gap: .9rem; flex: none; }
@media (max-width: 1040px) { .hauptnav ul { gap: 1rem; } }
@media (max-width: 900px) { .hauptnav { display: none; } }

.knopf {
  display: inline-flex; align-items: center; gap: .5rem; justify-content: center;
  padding: .85rem 1.5rem; border: 2px solid transparent; font-family: var(--font-display);
  font-weight: 600; font-size: .9375rem; text-decoration: none; cursor: pointer; white-space: nowrap;
  text-transform: uppercase; letter-spacing: .03em;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease, transform .1s ease;
}
.knopf--voll { background: var(--accent); color: var(--on-accent); }
.knopf--voll:hover { background: var(--accent-hover); }
.knopf--linie { background: transparent; color: var(--text); border-color: var(--text); }
.knopf--linie:hover { background: var(--text); color: var(--bg); }
.knopf--hell { background: var(--on-inverse); color: var(--inverse); }
.knopf--hell:hover { background: var(--accent); color: var(--on-accent); }
.knopf:active { transform: translateY(1px); }
.knopf--klein { padding: .55rem 1rem; font-size: .8125rem; }

/* --- Hero: Text links, Stufenverzeichnis rechts --------------------------- */
.hero { padding-block: clamp(2.75rem, 5vw, 4.5rem) 0; }
.hero__raster { display: grid; grid-template-columns: 1.35fr .65fr; gap: clamp(2rem, 5vw, 4rem); align-items: end; padding-bottom: clamp(2.5rem, 5vw, 4rem); }
.augenbraue { display: inline-block; font-family: var(--font-mono); font-size: .75rem; text-transform: uppercase; letter-spacing: .16em; color: var(--accent-text); padding-bottom: 1.2rem; }
.hero h1 { font-size: clamp(2.1rem, 4.3vw, 3.6rem); max-width: 20ch; font-weight: 700; text-transform: var(--display-transform); margin-bottom: 1.35rem; }
.hero__text { font-size: clamp(1.0625rem, 1.4vw, 1.1875rem); color: var(--text-muted); max-width: 48ch; margin-bottom: 2rem; }
.hero__aktionen { display: flex; flex-wrap: wrap; gap: .75rem; }
.stufenindex { border-top: 2px solid var(--text); }
.stufenindex a {
  display: flex; align-items: baseline; gap: .9rem; padding: .8rem 0;
  border-bottom: 1px solid var(--border); text-decoration: none;
  transition: padding-inline-start .15s ease, background-color .15s ease;
}
.stufenindex a:hover { padding-inline-start: .5rem; background: var(--accent-soft); }
.stufenindex b { font-family: var(--font-mono); font-size: .8125rem; color: var(--accent-text); flex: none; width: 3ch; }
.stufenindex span { font-size: .9375rem; font-weight: 500; }
.stufenindex em { margin-inline-start: auto; font-family: var(--font-mono); font-size: .8125rem; color: var(--text-muted); font-style: normal; }
@media (max-width: 900px) { .hero__raster { grid-template-columns: 1fr; gap: 2.5rem; } }

/* --- Bildband ------------------------------------------------------------ */
.band { position: relative; }
.band img { width: 100%; height: clamp(240px, 34vw, 420px); object-fit: cover; display: block; filter: saturate(.85) contrast(1.05); }
.band__bildunterschrift { padding: .7rem 0; font-family: var(--font-mono); font-size: .75rem; color: var(--text-muted); border-bottom: 1px solid var(--border); }

/* --- Abschnitte ---------------------------------------------------------- */
.abschnitt { padding-block: var(--takt); }
.abschnitt--getoent { background: var(--bg-alt); }
.abschnitt__kopf { max-width: 56ch; margin-bottom: clamp(2.5rem, 4vw, 3.5rem); }
.abschnitt__kopf h2 { font-size: clamp(1.85rem, 3.6vw, 2.9rem); font-weight: 700; text-transform: var(--display-transform); margin-bottom: 1rem; }
.abschnitt__kopf p { color: var(--text-muted); font-size: 1.0625rem; }

/* --- Die Treppe: Stufen als Zeilen ---------------------------------------- */
.treppe { border-top: 2px solid var(--text); }
.stufe {
  display: grid; grid-template-columns: 5.5rem 1fr 15rem 9rem; gap: 1.5rem;
  padding: 1.9rem 1rem 1.9rem 0; border-bottom: 1px solid var(--border); align-items: start;
  text-decoration: none; color: inherit;
  transition: background-color .15s ease, padding-inline-start .15s ease;
}
.stufe:hover { background: var(--accent-soft); padding-inline-start: .75rem; }
.stufe__kuerzel {
  font-family: var(--font-display); font-size: 1.75rem; font-weight: 700;
  color: var(--accent-text); line-height: 1;
}
.stufe__kuerzel small { display: block; font-family: var(--font-mono); font-size: .6875rem; font-weight: 400; color: var(--text-muted); text-transform: uppercase; letter-spacing: .08em; margin-top: .4rem; }
.stufe h3 { font-size: 1.1875rem; font-weight: 600; margin-bottom: .5rem; letter-spacing: -0.01em; }
.stufe p { font-size: .9375rem; color: var(--text-muted); max-width: 52ch; }
.stufe__daten { font-family: var(--font-mono); font-size: .8125rem; color: var(--text-muted); display: grid; gap: .35rem; font-variant-numeric: tabular-nums; }
.stufe__daten b { color: var(--text); font-weight: 500; }
.stufe__preis { text-align: right; }
.stufe__preis .betrag { font-family: var(--font-mono); font-size: 1.125rem; font-weight: 500; display: block; }
.stufe__preis small { font-size: .75rem; color: var(--text-muted); }
@media (max-width: 1040px) {
  .stufe { grid-template-columns: 4.5rem 1fr; }
  .stufe__daten, .stufe__preis { grid-column: 2; text-align: left; }
  .stufe__daten { display: flex; flex-wrap: wrap; gap: .35rem 1.25rem; margin-top: .9rem; }
}
@media (max-width: 560px) { .stufe { grid-template-columns: 1fr; } .stufe__daten, .stufe__preis { grid-column: 1; } }

/* --- Einstiegs-Erklaerung: zwei Karten nebeneinander ---------------------- */
.einstiege { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.karte { border: 2px solid var(--text); padding: 1.9rem; background: var(--surface); }
.karte--betont { background: var(--accent-soft); border-color: var(--accent); }
.karte h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: .8rem; text-transform: uppercase; }
.karte p { font-size: .9375rem; color: var(--text-muted); margin-bottom: 1.1rem; }
.karte ul { display: grid; gap: .6rem; }
.karte li { display: flex; gap: .6rem; font-size: .9375rem; }
.karte li svg { width: 18px; height: 18px; fill: var(--accent); flex: none; margin-top: 3px; }
@media (max-width: 820px) { .einstiege { grid-template-columns: 1fr; } }

/* --- Praxis: Bild und Text im Wechsel ------------------------------------- */
.praxis { display: grid; grid-template-columns: 1fr 1fr; gap: 0; align-items: stretch; }
.praxis__bild img { width: 100%; height: 100%; min-height: 340px; object-fit: cover; }
.praxis__text { background: var(--inverse); color: var(--on-inverse); padding: clamp(2.25rem, 4vw, 3.5rem); display: flex; flex-direction: column; justify-content: center; }
.praxis__text h2 { font-size: clamp(1.6rem, 2.8vw, 2.25rem); font-weight: 700; text-transform: var(--display-transform); margin-bottom: 1rem; }
.praxis__text p { color: var(--on-inverse-muted); margin-bottom: 1.5rem; max-width: 46ch; }
.praxis__liste { display: grid; gap: .7rem; margin-bottom: 1.75rem; }
.praxis__liste li { display: flex; gap: .65rem; font-size: .9375rem; }
.praxis__liste svg { width: 18px; height: 18px; fill: var(--accent); flex: none; margin-top: 3px; }
@media (max-width: 860px) { .praxis { grid-template-columns: 1fr; } }

/* --- Termine ------------------------------------------------------------- */
.termine { width: 100%; border-collapse: collapse; }
.termine caption { text-align: left; font-family: var(--font-mono); font-size: .8125rem; color: var(--text-muted); padding-bottom: .9rem; }
.termine th { text-align: left; font-family: var(--font-mono); font-size: .75rem; text-transform: uppercase; letter-spacing: .06em; color: var(--text-muted); padding: 0 1rem .8rem 0; border-bottom: 2px solid var(--text); font-weight: 500; }
.termine td { padding: 1rem 1rem 1rem 0; border-bottom: 1px solid var(--border); font-size: .9375rem; }
.termine td.datum { font-family: var(--font-mono); font-variant-numeric: tabular-nums; white-space: nowrap; }
.termine tr:hover td { background: var(--accent-soft); }
.merker { display: inline-block; font-family: var(--font-mono); font-size: .6875rem; text-transform: uppercase; letter-spacing: .06em; padding: .2rem .5rem; background: var(--accent); color: var(--on-accent); }
.merker--frei { background: transparent; color: var(--text-muted); border: 1px solid var(--border); }
@media (max-width: 720px) {
  .termine thead { display: none; }
  .termine tr { display: block; border-bottom: 1px solid var(--border); padding: .9rem 0; }
  .termine td { display: block; border: 0; padding: .15rem 0; }
}

/* --- Foerderkasten ------------------------------------------------------- */
.foerderkasten { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--border); border: 2px solid var(--text); }
.foerderkasten > div { background: var(--surface); padding: 1.75rem; }
.foerderkasten .wert { font-family: var(--font-mono); font-size: 1.75rem; display: block; margin-bottom: .5rem; font-variant-numeric: tabular-nums; }
.foerderkasten h3 { font-size: 1rem; font-weight: 600; margin-bottom: .5rem; }
.foerderkasten p { font-size: .875rem; color: var(--text-muted); }
@media (max-width: 820px) { .foerderkasten { grid-template-columns: 1fr; } }

/* --- Fuss ---------------------------------------------------------------- */
.fuss { border-top: 2px solid var(--text); padding-block: 3rem 2rem; font-size: .9375rem; }
.fuss__raster { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 2.5rem; }
.fuss h3 { font-family: var(--font-mono); font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; color: var(--text-muted); margin-bottom: 1rem; font-weight: 500; }
.fuss li { margin-bottom: .5rem; }
.fuss a { text-decoration: none; color: var(--text-muted); }
.fuss a:hover { color: var(--accent-text); }
.fuss__zertifikat { font-size: .8125rem; color: var(--text-muted); line-height: 1.6; max-width: 44ch; margin-top: 1rem; }
.fuss__unten { margin-top: 2.75rem; padding-top: 1.25rem; border-top: 1px solid var(--border); display: flex; flex-wrap: wrap; gap: 1rem 2rem; justify-content: space-between; font-family: var(--font-mono); font-size: .75rem; color: var(--text-muted); }
@media (max-width: 860px) { .fuss__raster { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .fuss__raster { grid-template-columns: 1fr; } }
