/* ============================================================
   lehrpuls — Design-System
   ------------------------------------------------------------
   Diese Datei bestimmt das Aussehen der gesamten Website.
   Sie stammt 1:1 aus dem Claude-Design-Prototyp.

   WICHTIG: Hier muss du normalerweise NICHTS aendern.
   Kurse und Termine pflegst du im Verwaltungsbereich unter
   /verwaltung — nicht hier.
   ============================================================ */


/* ------------------------------------------------------------
   1. SCHRIFTEN
   ------------------------------------------------------------
   Die Schriften Sora und Hanken Grotesk liegen auf DEINEM
   Server (Ordner assets/fonts) — nicht bei Google.
   Grund: Schriften direkt von Google zu laden gilt in
   Deutschland als Datenschutzverstoss und wurde bereits
   abgemahnt (Landgericht Muenchen I, Az. 3 O 17493/20).

   Es sind "variable Schriften": EINE Datei enthaelt alle
   Strichstaerken. Zusammen nur 58 KB — die Seite laedt dadurch
   spuerbar schneller, was Google positiv bewertet.
   ------------------------------------------------------------ */

@font-face {
  font-family: 'Sora';
  src: url('fonts/sora-var.woff2') format('woff2-variations'),
       url('fonts/sora-var.woff2') format('woff2');
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Hanken Grotesk';
  src: url('fonts/hanken-var.woff2') format('woff2-variations'),
       url('fonts/hanken-var.woff2') format('woff2');
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}


/* ------------------------------------------------------------
   2. FARBEN, SCHRIFTGROESSEN, ABSTAENDE
   ------------------------------------------------------------
   Wenn du z. B. das Gruen aendern willst, aenderst du es hier
   an EINER Stelle — und die ganze Website zieht nach.
   ------------------------------------------------------------ */

:root {
  /* Markenfarben */
  --tinte:   #272E2B;   /* Dunkles Anthrazit — Text und dunkle Flaechen */
  --tanne:   #2E5D43;   /* Tannengruen — Hauptfarbe, Buttons, Links */
  --limette: #A3E635;   /* Limette — Akzent, sparsam einsetzen */
  --grau:    #8B938C;   /* Grau — Nebeninformationen */
  --salbei:  #EEF5E9;   /* Helles Salbeigruen — sanfte Flaechen */
  --papier:  #FAFAF7;   /* Papierweiss — Seitenhintergrund */
  --weiss:   #FFFFFF;   /* Reinweiss — Karten */

  /* Textfarben */
  --text-body:           var(--tinte);
  --text-muted:          rgba(39, 46, 43, .55);
  --text-on-dark:        var(--papier);
  --text-on-dark-muted:  rgba(250, 250, 247, .65);
  --text-eyebrow:        var(--tanne);

  /* Flaechen */
  --surface-page:  var(--papier);
  --surface-card:  var(--weiss);
  --surface-tint:  var(--salbei);
  --surface-dark:  var(--tinte);
  --surface-brand: var(--tanne);

  --accent:         var(--limette);
  --border-soft:    rgba(39, 46, 43, .10);
  --border-field:   rgba(39, 46, 43, .18);
  --border-on-dark: rgba(250, 250, 247, .14);

  --link:       var(--tanne);
  --link-hover: #234a35;

  /* Schriften */
  --font-display: 'Sora', system-ui, sans-serif;
  --font-body:    'Hanken Grotesk', system-ui, sans-serif;

  --h1-size: 44px;
  --h2-size: 32px;
  --h3-size: 22px;
  --display-weight:   700;
  --display-tracking: -0.02em;

  --body-size: 16px;
  --body-line: 1.6;
  --small-size: 13px;

  --eyebrow-size:     11px;
  --eyebrow-tracking: 0.15em;
  --eyebrow-weight:   700;

  /* Abstaende */
  --space-1: 4px;   --space-2: 8px;   --space-3: 12px;
  --space-4: 16px;  --space-5: 24px;  --space-6: 32px;
  --space-7: 48px;  --space-8: 64px;  --space-9: 96px;

  /* Ecken-Rundungen */
  --radius-sm:   8px;
  --radius-md:   12px;
  --radius-lg:   16px;
  --radius-pill: 999px;

  /* Schatten */
  --shadow-card:  0 1px 2px rgba(39,46,43,.05), 0 4px 16px rgba(39,46,43,.06);
  --shadow-hover: 0 2px 4px rgba(39,46,43,.07), 0 12px 32px rgba(39,46,43,.13);

  /* Maximale Inhaltsbreite */
  --wrap: 1160px;
  --wrap-narrow: 860px;
  --wrap-text: 760px;

  /* Seitlicher Abstand — waechst mit der Bildschirmbreite */
  --gutter: clamp(20px, 4vw, 48px);
}


/* ------------------------------------------------------------
   3. GRUNDLAGEN
   ------------------------------------------------------------ */

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--body-size);
  line-height: var(--body-line);
  color: var(--text-body);
  background: var(--surface-page);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Menschen, die Animationen als unangenehm empfinden, bekommen keine. */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: var(--display-weight);
  letter-spacing: var(--display-tracking);
  line-height: 1.15;
  margin: 0;
  text-wrap: pretty;
}
h1 { font-size: clamp(30px, 4vw, var(--h1-size)); }
h2 { font-size: clamp(26px, 3vw, var(--h2-size)); }
h3 { font-size: var(--h3-size); }

p { margin: 0; }

a { color: var(--link); text-decoration: none; }
a:hover { color: var(--link-hover); text-decoration: underline; }

img, svg, video { max-width: 100%; height: auto; }

/* Tastatur-Bedienung sichtbar machen — Pflicht fuer Barrierefreiheit */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--tanne);
  outline-offset: 2px;
  border-radius: 4px;
}

/* Sprungmarke "Zum Inhalt springen" fuer Screenreader-Nutzende */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--tanne);
  color: var(--papier);
  padding: 12px 20px;
  font-weight: 700;
  border-radius: 0 0 var(--radius-sm) 0;
}
.skip-link:focus {
  left: 0;
  text-decoration: none;
  color: var(--papier);
}

/* Nur fuer Screenreader sichtbar */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}


/* ------------------------------------------------------------
   4. LAYOUT-HILFEN
   ------------------------------------------------------------ */

.wrap        { max-width: var(--wrap);        margin-inline: auto; padding-inline: var(--gutter); }
.wrap-narrow { max-width: var(--wrap-narrow); margin-inline: auto; padding-inline: var(--gutter); }
.wrap-text   { max-width: var(--wrap-text);   margin-inline: auto; padding-inline: var(--gutter); }

.section     { padding-block: clamp(48px, 7vw, 80px); }
.section-sm  { padding-block: clamp(40px, 6vw, 64px); }

.on-dark  { background: var(--surface-dark);  color: var(--text-on-dark); }
.on-brand { background: var(--surface-brand); color: var(--text-on-dark); }
.on-tint  { background: var(--surface-tint); }

.on-dark h1, .on-dark h2, .on-dark h3,
.on-brand h1, .on-brand h2, .on-brand h3 { color: var(--papier); }
.on-dark p, .on-brand p { color: var(--text-on-dark-muted); }

/* WICHTIG: ":not(.btn)" ausschliessen!
   Ohne diesen Zusatz faerbt die Regel auch Buttons limettengruen —
   auf einem limettengruenen Button ist die Schrift dann unsichtbar
   und erscheint erst beim Darueberfahren mit der Maus. */
.on-dark a:not(.btn), .on-brand a:not(.btn) { color: var(--limette); }

.stack   { display: flex; flex-direction: column; }
.stack-2 { gap: var(--space-2); }
.stack-3 { gap: var(--space-3); }
.stack-4 { gap: var(--space-4); }
.stack-5 { gap: var(--space-5); }
.stack-6 { gap: var(--space-6); }

.row { display: flex; flex-wrap: wrap; gap: var(--space-3); }
.row-between { display: flex; flex-wrap: wrap; gap: var(--space-4); justify-content: space-between; align-items: flex-end; }

/* Automatisches Raster: bricht selbstaendig auf Handy-Breite um */
.grid { display: grid; gap: var(--space-5); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(400px, 100%), 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); }
.grid-cards { grid-template-columns: repeat(auto-fit, minmax(min(270px, 100%), 1fr)); }

.measure { max-width: 640px; }
.measure-wide { max-width: 720px; }


/* ------------------------------------------------------------
   5. EYEBROW (die kleine Ueberschrift ueber der Ueberschrift)
   ------------------------------------------------------------ */

.eyebrow {
  font-family: var(--font-body);
  font-size: var(--eyebrow-size);
  font-weight: var(--eyebrow-weight);
  letter-spacing: var(--eyebrow-tracking);
  text-transform: uppercase;
  color: var(--text-eyebrow);
}
.eyebrow--muted   { color: var(--grau); }
.eyebrow--on-dark { color: var(--limette); }


/* ------------------------------------------------------------
   6. BUTTONS
   ------------------------------------------------------------
   Verwendung:  <a class="btn btn--primary btn--lg">Text</a>
   ------------------------------------------------------------ */

.btn {
  font-family: var(--font-body);
  font-weight: 700;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  white-space: nowrap;
  border-radius: var(--radius-pill);
  text-decoration: none;
  transition: background .15s ease, color .15s ease, box-shadow .15s ease;
  font-size: 15px;
  padding: 11px 22px;
}
.btn:hover { text-decoration: none; }

.btn--sm { font-size: 13px; padding: 8px 16px; }
.btn--lg { font-size: 16px; padding: 14px 28px; }

.btn--primary   { background: var(--tanne);   color: var(--papier); }
.btn--primary:hover   { background: #234a35;  color: var(--papier); }

.btn--accent    { background: var(--limette); color: var(--tinte); }
.btn--accent:hover    { background: #b5f04d;  color: var(--tinte); }

.btn--secondary { background: transparent; color: var(--tinte); box-shadow: inset 0 0 0 1.5px rgba(39,46,43,.25); }
.btn--secondary:hover { background: rgba(39,46,43,.06); color: var(--tinte); }

.btn--ghost     { background: transparent; color: var(--tanne); }
.btn--ghost:hover     { background: rgba(46,93,67,.08); color: var(--tanne); }

.btn--on-dark   { background: var(--papier); color: var(--tinte); }
.btn--on-dark:hover   { background: #fff;     color: var(--tinte); }

/* Sicherheitsnetz: Ein Button behaelt seine Schriftfarbe, egal in
   welchem Seitenbereich er steht. Verhindert unsichtbare Beschriftungen,
   falls spaeter neue Bereichs-Regeln dazukommen. */
a.btn--primary,   a.btn--primary:hover   { color: var(--papier); }
a.btn--accent,    a.btn--accent:hover    { color: var(--tinte); }
a.btn--on-dark,   a.btn--on-dark:hover   { color: var(--tinte); }
a.btn--secondary, a.btn--secondary:hover { color: var(--tinte); }
a.btn--ghost,     a.btn--ghost:hover     { color: var(--tanne); }

.btn[disabled], .btn--disabled { opacity: .45; cursor: not-allowed; }

/* Ausverkaufter Termin */
.btn--sold { background: rgba(39,46,43,.08); color: var(--text-muted); cursor: not-allowed; box-shadow: none; }


/* ------------------------------------------------------------
   7. KARTEN
   ------------------------------------------------------------ */

.card {
  background: var(--surface-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.card--tint { background: var(--surface-tint); box-shadow: none; }
.card--dark { background: var(--surface-dark); color: var(--text-on-dark); box-shadow: none; }
.card--sm   { padding: 20px; border-radius: var(--radius-md); }

/* Anklickbare Karte (z. B. Kurskarte) */
.card--link {
  cursor: pointer;
  transition: box-shadow .15s ease, transform .15s ease;
  text-decoration: none;
  color: inherit;
}
.card--link:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
  text-decoration: none;
  color: inherit;
}

/* Der kleine farbige Balken oben auf Karten */
.card__bar {
  width: 26px; height: 10px;
  border-radius: var(--radius-pill);
  background: var(--limette);
  flex: none;
}


/* ------------------------------------------------------------
   8. KURSKARTE
   ------------------------------------------------------------ */

.kurskarte { min-height: 280px; }
.kurskarte__titel  { font-size: 20px; }
.kurskarte__teaser { font-size: 14px; line-height: 1.55; color: var(--text-muted); flex: 1; }
.kurskarte__fuss   { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.kurskarte__cta    { font-size: 14px; font-weight: 700; color: var(--tanne); }


/* ------------------------------------------------------------
   9. PILLEN, TAGS, BADGES
   ------------------------------------------------------------ */

.pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12.5px;
  font-weight: 600;
  padding: 5px 13px;
  border-radius: var(--radius-pill);
  background: var(--salbei);
  color: var(--tanne);
}
.pill--accent   { background: var(--limette); color: var(--tinte); font-weight: 700; }
.pill--on-dark  { background: rgba(255,255,255,.12); color: var(--papier); }
.pill--muted    { background: rgba(39,46,43,.06); color: var(--text-muted); }

/* Filter-Schaltflaechen auf der Kursuebersicht */
.tag {
  font-family: var(--font-body);
  font-size: 13.5px;
  font-weight: 600;
  padding: 6px 15px;
  border-radius: var(--radius-pill);
  background: var(--weiss);
  color: var(--tinte);
  border: 1.5px solid var(--border-field);
  cursor: pointer;
  transition: background .15s ease, border-color .15s ease, color .15s ease;
  text-decoration: none;
  display: inline-block;
}
.tag:hover { background: var(--salbei); border-color: var(--tanne); color: var(--tinte); text-decoration: none; }
.tag[aria-pressed="true"], .tag--active {
  background: var(--tanne);
  border-color: var(--tanne);
  color: var(--papier);
}

.filter-gruppe__label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--grau);
}

/* Der Punkt vor Vertrauens-Aussagen */
.dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--limette);
  flex: none;
  display: inline-block;
}


/* ------------------------------------------------------------
   10. FORMULARE
   ------------------------------------------------------------ */

.feld { display: flex; flex-direction: column; gap: 6px; font-family: var(--font-body); }
.feld__label { font-size: 13px; font-weight: 700; color: var(--tinte); }
.feld__hinweis { font-size: 13px; color: var(--text-muted); }
.feld__fehler { font-size: 13px; font-weight: 600; color: #A5342A; }

.feld input[type="text"],
.feld input[type="email"],
.feld input[type="tel"],
.feld input[type="password"],
.feld input[type="date"],
.feld input[type="number"],
.feld input[type="url"],
.feld select,
.feld textarea {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--tinte);
  background: var(--weiss);
  border: 1.5px solid var(--border-field);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  outline: none;
  width: 100%;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.feld input:focus,
.feld select:focus,
.feld textarea:focus {
  border-color: var(--tanne);
  box-shadow: 0 0 0 3px rgba(46,93,67,.15);
}
.feld textarea { min-height: 120px; resize: vertical; }

/* Feld mit Fehler */
.feld--fehler input,
.feld--fehler select,
.feld--fehler textarea { border-color: #A5342A; }

/* Aufklapp-Pfeil beim Auswahlfeld */
.feld select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23272E2B' stroke-width='1.8' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 38px;
}

/* Auswahlkreis (Termin waehlen) und Haekchen */
.wahl {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  border: 1.5px solid var(--border-field);
  border-radius: var(--radius-md);
  background: var(--weiss);
  cursor: pointer;
  transition: border-color .15s ease, background .15s ease;
}
.wahl:hover { border-color: var(--tanne); }
.wahl:has(input:checked) { border-color: var(--tanne); background: var(--salbei); }
.wahl input { accent-color: var(--tanne); width: 18px; height: 18px; margin-top: 2px; flex: none; }
.wahl__text { display: flex; flex-direction: column; gap: 2px; font-size: 14.5px; }
.wahl__meta { font-size: 13px; color: var(--text-muted); }

.haken { display: flex; align-items: flex-start; gap: 10px; font-size: 14.5px; cursor: pointer; }
.haken input { accent-color: var(--tanne); width: 18px; height: 18px; margin-top: 2px; flex: none; }

/* Sammel-Fehlermeldung ueber dem Formular */
.hinweis-box {
  border-radius: var(--radius-md);
  padding: 14px 18px;
  font-size: 14px;
  line-height: 1.5;
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.hinweis-box--fehler { background: #FBEAE7; color: #7A241C; font-weight: 600; }
.hinweis-box--ok     { background: var(--salbei); color: var(--tanne); font-weight: 600; }
.hinweis-box--info   { background: var(--salbei); color: var(--tinte); }

/* ------------------------------------------------------------
   RECHNUNGSANSCHRIFT: UMSCHALTEN OHNE JAVASCRIPT
   ------------------------------------------------------------
   Je nach Haekchen wird entweder die private Anschrift oder die
   Anschrift der Einrichtung abgefragt — nie beides gleichzeitig.

   Das @supports sorgt dafuer, dass in aelteren Browsern, die diese
   Technik nicht koennen, einfach BEIDE Bloecke sichtbar bleiben.
   Dann ist es etwas unuebersichtlicher, aber nichts geht verloren.
   ------------------------------------------------------------ */

@supports selector(:has(*)) {
  .rechnung .wenn-einrichtung { display: none; }
  .rechnung:has(input[name="abweichend"]:checked) .wenn-einrichtung { display: grid; }
  .rechnung:has(input[name="abweichend"]:checked) .wenn-privat { display: none; }
}

/* Spamschutz-Feld: fuer Menschen unsichtbar, Roboter fuellen es aus */
.honigtopf {
  position: absolute !important;
  left: -9999px !important;
  opacity: 0;
  height: 0;
  width: 0;
  overflow: hidden;
}


/* ------------------------------------------------------------
   11. KOPFBEREICH UND NAVIGATION
   ------------------------------------------------------------ */

.kopf {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 250, 247, .94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border-soft);
}
.kopf__inner {
  max-width: var(--wrap);
  margin-inline: auto;
  padding: 14px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  position: relative;
}
.kopf__nav { display: flex; gap: 26px; align-items: center; }
.kopf__nav a {
  font-size: 15px;
  font-weight: 600;
  color: var(--tinte);
  border-bottom: 2px solid transparent;
  padding-bottom: 2px;
}
.kopf__nav a:hover { color: var(--tanne); text-decoration: none; }
.kopf__nav a[aria-current="page"] { color: var(--tanne); border-bottom-color: var(--limette); }

.logo { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; }
.logo:hover { text-decoration: none; }
.logo__wort {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.025em;
  font-size: 22px;
  line-height: 1;
  color: var(--tinte);
}
.logo--dark .logo__wort { color: var(--papier); }

/* Handy-Menue — ohne JavaScript, gebaut mit <details>/<summary> */
.menue-details { display: none; }

.menue-knopf {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
  list-style: none;          /* Standard-Dreieck von <summary> entfernen */
}
.menue-knopf::-webkit-details-marker { display: none; }
.menue-knopf::marker { content: ''; }
.menue-knopf span {
  width: 22px; height: 2.5px;
  border-radius: 2px;
  background: var(--tinte);
  transition: transform .15s ease, opacity .15s ease;
}
.menue-knopf span:nth-child(2) { background: var(--limette); }

/* Geoeffnet: die drei Striche werden zum X */
.menue-details[open] .menue-knopf span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.menue-details[open] .menue-knopf span:nth-child(2) { opacity: 0; }
.menue-details[open] .menue-knopf span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

.menue-mobil {
  position: absolute;
  top: 100%; left: 0; right: 0;
  background: var(--papier);
  border-bottom: 1px solid var(--border-soft);
  box-shadow: var(--shadow-card);
  padding: 16px var(--gutter) 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
}
.menue-mobil a:not(.btn) { font-size: 17px; font-weight: 700; color: var(--tinte); }
.menue-mobil a[aria-current="page"]:not(.btn) { color: var(--tanne); }

@media (max-width: 879px) {
  .kopf__nav, .kopf__cta { display: none; }
  .menue-details { display: block; }
}


/* ------------------------------------------------------------
   12. FUSSZEILE
   ------------------------------------------------------------ */

.fuss { background: var(--surface-dark); color: var(--text-on-dark-muted); margin-top: auto; }
.fuss__inner {
  max-width: var(--wrap);
  margin-inline: auto;
  padding: clamp(40px, 6vw, 56px) var(--gutter) 24px;
  display: flex;
  flex-wrap: wrap;
  gap: clamp(28px, 5vw, 64px);
}
.fuss a:not(.btn) { color: var(--text-on-dark-muted); font-size: 14px; }
.fuss a:not(.btn):hover { color: var(--papier); }
.fuss strong { color: var(--papier); font-size: 14px; }
.fuss__unten {
  max-width: var(--wrap);
  margin-inline: auto;
  padding: 18px var(--gutter);
  border-top: 1px solid var(--border-on-dark);
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: space-between;
  font-size: 12.5px;
}


/* ------------------------------------------------------------
   13. TERMINZEILE AUF DER KURSSEITE
   ------------------------------------------------------------ */

.termin {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 18px;
  padding: 16px 20px;
  background: var(--weiss);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
}
.termin__datum { font-weight: 700; font-size: 15px; flex: 0 0 150px; }
.termin__ort   { font-size: 14px; color: var(--text-muted); flex: 1 1 140px; }
.termin__preis { font-weight: 700; font-size: 15px; }
.termin--ausgebucht { opacity: .6; }


/* ------------------------------------------------------------
   14. AUFKLAPPBARE FRAGEN (FAQ)
   ------------------------------------------------------------
   Nutzt <details>/<summary> — funktioniert ohne JavaScript
   und ist damit auch fuer Google und Screenreader lesbar.
   ------------------------------------------------------------ */

.faq {
  background: var(--weiss);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}
.faq > summary {
  cursor: pointer;
  padding: 18px 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-size: 15.5px;
  font-weight: 700;
  color: var(--tinte);
  list-style: none;
}
.faq > summary::-webkit-details-marker { display: none; }
.faq > summary::after {
  content: '+';
  font-size: 20px;
  font-weight: 400;
  color: var(--tanne);
  flex: none;
}
.faq[open] > summary::after { content: '\2212'; }
.faq__antwort {
  padding: 0 22px 18px;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--text-muted);
}


/* ------------------------------------------------------------
   15. LISTE MIT LIMETTEN-PUNKTEN
   ------------------------------------------------------------ */

.punktliste { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.punktliste li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 15px;
  line-height: 1.55;
}
.punktliste li::before {
  content: '';
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--limette);
  flex: none;
  margin-top: 7px;
}


/* ------------------------------------------------------------
   16. SCHRITT-NUMMERN (01 / 02 / 03)
   ------------------------------------------------------------ */

.schritt__nr {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 40px;
  color: var(--tanne);
  letter-spacing: -0.02em;
  line-height: 1;
}
.schritt__strich { width: 34px; height: 4px; border-radius: var(--radius-pill); background: var(--limette); }


/* ------------------------------------------------------------
   17. WERDEGANG-ZEITSTRAHL
   ------------------------------------------------------------ */

.zeitstrahl__eintrag { display: flex; gap: 18px; }
.zeitstrahl__spur { display: flex; flex-direction: column; align-items: center; flex: none; width: 12px; }
.zeitstrahl__punkt {
  width: 11px; height: 11px;
  border-radius: 50%;
  background: var(--limette);
  flex: none;
  margin-top: 5px;
  box-shadow: 0 0 0 3px rgba(163, 230, 53, .25);
}
.zeitstrahl__linie { width: 2px; flex: 1; background: var(--border-soft); }
.zeitstrahl__inhalt { display: flex; flex-direction: column; gap: 3px; padding-bottom: 22px; }
.zeitstrahl__zeit {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--grau);
}


/* ------------------------------------------------------------
   18. PORTRAIT / INITIALEN
   ------------------------------------------------------------ */

.portrait {
  border-radius: 50%;
  background: var(--tanne);
  color: var(--papier);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  flex: none;
  object-fit: cover;
  width: 84px; height: 84px;
  font-size: 28px;
}
.portrait--sm { width: 52px; height: 52px; font-size: 18px; }
.portrait--lg { width: 96px; height: 96px; font-size: 32px; }


/* ------------------------------------------------------------
   19. BUCHUNGSLEISTE AM UNTEREN RAND (nur Handy)
   ------------------------------------------------------------
   Sorgt dafuer, dass "Anmelden" auf dem Handy immer
   erreichbar ist, egal wie weit man gescrollt hat.
   ------------------------------------------------------------ */

.buchungsleiste { display: none; }

@media (max-width: 879px) {
  .buchungsleiste {
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 60;
    background: rgba(250, 250, 247, .97);
    backdrop-filter: blur(8px);
    border-top: 1px solid var(--border-soft);
    padding: 10px var(--gutter);
    padding-bottom: calc(10px + env(safe-area-inset-bottom));
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
  }
  .buchungsleiste__preis { font-weight: 700; font-size: 15px; line-height: 1.2; }
  .buchungsleiste__meta  { font-size: 12px; color: var(--text-muted); }
  body.hat-buchungsleiste { padding-bottom: 76px; }
}


/* ------------------------------------------------------------
   20. BREADCRUMB (Pfad "Start / Fortbildungen / Kurs")
   ------------------------------------------------------------ */

.pfad {
  font-size: 13.5px;
  color: var(--text-muted);
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}
.pfad [aria-current="page"] { color: var(--tinte); font-weight: 600; }


/* ------------------------------------------------------------
   21. SEITENSPALTE (Kursdetail, Ueber mich)
   ------------------------------------------------------------ */

.mit-spalte {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(24px, 3vw, 40px);
  align-items: flex-start;
}
.mit-spalte__haupt { flex: 2 1 520px; min-width: 0; display: flex; flex-direction: column; gap: clamp(28px, 4vw, 40px); }
.mit-spalte__seite { flex: 1 1 300px; display: flex; flex-direction: column; gap: 20px; }

@media (min-width: 880px) {
  .mit-spalte__seite--klebend { position: sticky; top: 88px; }
}


/* ------------------------------------------------------------
   22. DRUCKANSICHT
   ------------------------------------------------------------
   Damit Teilnehmende ihre Anmeldebestaetigung sauber
   ausdrucken oder als PDF speichern koennen.
   ------------------------------------------------------------ */

@media print {
  .kopf, .fuss, .buchungsleiste, .btn, .menue-knopf { display: none !important; }
  body { background: #fff; color: #000; }
  .card { box-shadow: none; border: 1px solid #ccc; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 11px; color: #555; }
}
