/* ==========================================================================
   Entwurf 4 - Redaktionelles Layout, Menschen vor Technik.
   Layout unabhaengig vom Brandkit. Schrift, Farbe und Radius kommen
   aus kits.css und palettes.css und sind ueber das Menue wechselbar.
   ========================================================================== */
:root {
  --maxw: 1180px;
  --takt: clamp(4rem, 7vw, 6rem);
}
.js-reveal [data-reveal] { opacity: 0; transform: translateY(16px); }
.js-reveal [data-reveal].ist-sichtbar { opacity: 1; transform: none;
  transition: opacity .55s cubic-bezier(.16,1,.3,1), transform .55s cubic-bezier(.16,1,.3,1); }

/* --- Kopf ---------------------------------------------------------------- */
.kopf { border-bottom: 1px solid var(--border); background: var(--bg); position: sticky; top: 0; z-index: 50; }
.kopf__reihe { display: flex; align-items: center; gap: 2rem; height: 74px; }
.hauptnav { margin-inline-start: auto; }
.hauptnav ul { display: flex; gap: 1.75rem; }
.hauptnav a { text-decoration: none; font-size: .9375rem; color: var(--text-muted); white-space: nowrap; }
.hauptnav a:hover { color: var(--accent-text); }
@media (max-width: 960px) { .hauptnav ul { gap: 1.1rem; } }
@media (max-width: 820px) { .hauptnav { display: none; } }

.knopf {
  display: inline-flex; align-items: center; gap: .5rem; justify-content: center;
  padding: .8rem 1.4rem; border-radius: var(--r); border: 1px solid transparent;
  font-weight: 650; font-size: .9375rem; text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .16s ease, transform .12s ease, border-color .16s 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(--border); }
.knopf--linie:hover { border-color: var(--accent); color: var(--accent-text); }
.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: .875rem; }

/* --- Hero: gestapelt, redaktionell, mit breitem Bild ---------------------- */
.hero { padding-block: clamp(3rem, 6vw, 5rem) 0; }
.hero h1 { font-size: clamp(2.4rem, 5.6vw, 4.2rem); font-weight: 600; max-width: 20ch; margin-bottom: 1.5rem; }
.hero h1 em { font-style: italic; line-height: 1.1; padding-bottom: .1em; display: inline-block; }
.augenbraue { display: inline-block; font-family: var(--font-mono); font-size: .75rem; text-transform: uppercase; letter-spacing: .14em; color: var(--accent-text); padding-bottom: 1.2rem; }
.hero__text { font-size: 1.1875rem; color: var(--text-muted); max-width: 52ch; margin-bottom: 2rem; }
.hero__aktionen { display: flex; flex-wrap: wrap; gap: .8rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.hero__bild { position: relative; }
.hero__bild img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; border-radius: var(--r); }
@media (max-width: 700px) { .hero__bild img { aspect-ratio: 3 / 2; } }

/* --- Abschnitte ---------------------------------------------------------- */
.abschnitt { padding-block: var(--takt); }
.abschnitt--getoent { background: var(--bg-alt); }
.abschnitt__kopf { max-width: 50ch; margin-bottom: clamp(2.25rem, 4vw, 3.25rem); }
.abschnitt__kopf h2 { font-size: clamp(1.85rem, 3.4vw, 2.7rem); font-weight: 600; margin-bottom: 1rem; }
.abschnitt__kopf p { color: var(--text-muted); font-size: 1.0625rem; }

/* --- Kursliste: Bild und Text im Wechsel, hoechstens zweimal -------------- */
.kursliste { display: grid; gap: 1.25rem; }
.kurszeile {
  display: grid; grid-template-columns: 240px 1fr auto; gap: clamp(1.25rem, 3vw, 2.5rem);
  align-items: center; padding: 1.25rem; border-radius: var(--r);
  background: var(--surface); border: 1px solid var(--border); text-decoration: none;
  transition: border-color .16s ease, transform .16s ease;
}
.kurszeile:hover { border-color: var(--accent); transform: translateX(3px); }
.kurszeile img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-sm); }
.kurszeile__marke { width: 100%; aspect-ratio: 4 / 3; border-radius: var(--r-sm); background: var(--accent-soft); display: grid; place-items: center; }
.kurszeile__marke svg { width: 48px; height: 48px; fill: var(--accent); }
.kurszeile h3 { font-size: 1.375rem; font-weight: 600; margin-bottom: .5rem; }
.kurszeile p { font-size: .9375rem; color: var(--text-muted); max-width: 56ch; margin-bottom: .9rem; }
.kurszeile__fakten { display: flex; flex-wrap: wrap; gap: .35rem 1.15rem; font-family: var(--font-mono); font-size: .8125rem; color: var(--text-muted); font-variant-numeric: tabular-nums; }
.kurszeile__fakten b { color: var(--text); font-weight: 500; }
.kurszeile__pfeil { width: 40px; height: 40px; border-radius: 999px; border: 1px solid var(--border); display: grid; place-items: center; flex: none; }
.kurszeile__pfeil svg { width: 18px; height: 18px; fill: var(--accent); }
@media (max-width: 860px) {
  .kurszeile { grid-template-columns: 150px 1fr; }
  .kurszeile__pfeil { display: none; }
}
@media (max-width: 560px) { .kurszeile { grid-template-columns: 1fr; } }

/* --- Zwei Wege, als gegenueberliegende Spalten --------------------------- */
.wege { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 3rem); }
.weg { padding: clamp(1.75rem, 3vw, 2.5rem); border-radius: var(--r); }
.weg--privat { background: var(--surface); border: 1px solid var(--border); }
.weg--firma { background: var(--inverse); color: var(--on-inverse); }
.weg h3 { font-size: 1.5rem; font-weight: 600; margin-bottom: .8rem; }
.weg > p { font-size: .9375rem; margin-bottom: 1.5rem; }
.weg--privat > p { color: var(--text-muted); }
.weg--firma > p { color: var(--on-inverse-muted); }
.weg ol { counter-reset: s; display: grid; gap: 1.1rem; margin-bottom: 1.75rem; }
.weg li { counter-increment: s; display: grid; grid-template-columns: 1.75rem 1fr; gap: .8rem; font-size: .9375rem; }
.weg li::before { content: counter(s); font-family: var(--font-mono); font-size: .75rem; color: var(--accent-text); border: 1px solid var(--border); border-radius: 999px; width: 1.75rem; height: 1.75rem; display: grid; place-items: center; }
.weg--firma li::before { color: var(--on-inverse); border-color: var(--on-inverse-muted); }
.weg li b { display: block; font-weight: 650; margin-bottom: .1rem; }
.weg--privat li span { color: var(--text-muted); }
.weg--firma li span { color: var(--on-inverse-muted); }
@media (max-width: 820px) { .wege { grid-template-columns: 1fr; } }

/* --- Stimmen: drei Zitate, ungleich gross -------------------------------- */
.stimmen { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 1.25rem; }
.stimme { padding: 1.75rem; border-radius: var(--r); background: var(--surface); border: 1px solid var(--border); display: flex; flex-direction: column; }
.stimme--gross { background: var(--accent-soft); border-color: color-mix(in srgb, var(--accent) 28%, transparent); }
.stimme q { font-family: var(--font-display); font-size: 1.0625rem; font-weight: 500; line-height: 1.45; display: block; margin-bottom: 1.25rem; }
.stimme--gross q { font-size: 1.25rem; }
.stimme footer { margin-top: auto; font-size: .8125rem; color: var(--text-muted); }
.stimme footer b { display: block; color: var(--text); font-size: .9375rem; font-weight: 650; margin-bottom: .15rem; }
@media (max-width: 900px) { .stimmen { grid-template-columns: 1fr; } }

/* --- Abschluss ----------------------------------------------------------- */
.abschluss { display: grid; grid-template-columns: 1fr auto; gap: 2.5rem; align-items: center; padding-block: clamp(3rem, 5vw, 4.5rem); border-top: 1px solid var(--border); }
.abschluss h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 600; margin-bottom: .7rem; }
.abschluss p { color: var(--text-muted); max-width: 50ch; }
@media (max-width: 760px) { .abschluss { grid-template-columns: 1fr; } }

/* --- Fuss ---------------------------------------------------------------- */
.fuss { border-top: 1px solid var(--border); padding-block: 3rem 2.25rem; font-size: .9375rem; }
.fuss__raster { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 2.5rem; }
.fuss h3 { font-size: .8125rem; text-transform: uppercase; letter-spacing: .08em; color: var(--text-muted); margin-bottom: 1rem; font-family: var(--font-body); font-weight: 650; }
.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-size: .8125rem; 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; } }
