/* ==========================================================================
   verfahrensbeistandschaft.info – Design-System
   Statischer One-Pager · Peter Stieler | Investition Zukunft
   Hell, ruhig, professionell. Grün & Orange nur als Akzente (aus dem Logo).
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Design-Tokens
   -------------------------------------------------------------------------- */
:root {
  /* Farben (aus dem Logo abgeleitet) */
  --gruen:        #235538;
  --gruen-dunkel: #1a3f2a;
  --gruen-hell:   #eef3ee;   /* ruhige Grünfläche, sehr hell */
  --gruen-linie:  #ccdacf;
  --orange:       #fe6502;
  --orange-tief:  #c14c00;   /* AA-Kontrast für Text auf hellem Grund */
  --orange-hell:  #fff1e7;

  --weiss:        #ffffff;
  --offwhite:     #f7f8f6;
  --tinte:        #1c2420;   /* warmes Nahezu-Schwarz */
  --text-2:       #4c554f;   /* Sekundärtext, AA auf Weiß & Off-White */
  --text-3:       #5c6660;
  --rahmen:       #e6e9e4;
  --rahmen-stark: #d5dad3;

  /* Typografie */
  --font-serif: "Iowan Old Style", "Palatino Nuevo", Palatino, "Book Antiqua", Georgia, "Times New Roman", serif;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;

  --fs-hero:  clamp(2.1rem, 1.2rem + 3.6vw, 3.5rem);
  --fs-h2:    clamp(1.65rem, 1.15rem + 2vw, 2.5rem);
  --fs-h3:    clamp(1.25rem, 1.05rem + 0.8vw, 1.55rem);
  --fs-h4:    1.125rem;
  --fs-lead:  clamp(1.06rem, 1rem + 0.35vw, 1.25rem);
  --fs-text:  1.0625rem;
  --fs-klein: 0.9rem;
  --fs-mini:  0.8125rem;

  /* Raum & Form (4/8er-Raster) */
  --r-1: 0.25rem; --r-2: 0.5rem; --r-3: 0.75rem; --r-4: 1rem;
  --r-5: 1.5rem;  --r-6: 2rem;   --r-7: 3rem;    --r-8: 4rem;
  --sektion: clamp(3rem, 2.4rem + 2.4vw, 5rem);
  --radius: 14px;
  --radius-klein: 9px;
  --container: 1160px;
  --container-schmal: 60rem;

  --schatten: 0 1px 2px rgba(28, 36, 32, 0.05), 0 8px 28px rgba(28, 36, 32, 0.07);
  --schatten-hover: 0 2px 4px rgba(28, 36, 32, 0.06), 0 16px 44px rgba(28, 36, 32, 0.12);

  --header-hoehe: 4.5rem;
}

/* --------------------------------------------------------------------------
   2. Basis & Reset
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--fs-text);
  line-height: 1.7;
  color: var(--tinte);
  background: var(--weiss);
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 700;
  line-height: 1.22;
  color: var(--tinte);
  margin: 0 0 var(--r-4);
  text-wrap: balance;
}

p { margin: 0 0 1.1em; max-width: 68ch; }
ul, ol { margin: 0 0 1.1em; padding-left: 1.3em; max-width: 68ch; }
li { margin-bottom: 0.35em; }

a {
  color: var(--gruen);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color 0.18s ease;
}
a:hover { color: var(--gruen-dunkel); }

strong { font-weight: 650; }

hr {
  border: 0;
  border-top: 1px solid var(--rahmen);
  margin: var(--r-6) 0;
}

/* Sichtbarer Fokus – überall */
:focus-visible {
  outline: 3px solid var(--gruen);
  outline-offset: 3px;
  border-radius: 3px;
}

::selection { background: var(--gruen); color: #fff; }

/* Sprungmarken landen unterhalb des Sticky-Headers */
[id] { scroll-margin-top: calc(var(--header-hoehe) + 1.25rem); }

.skiplink {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--gruen);
  color: #fff;
  padding: var(--r-3) var(--r-5);
  border-radius: 0 0 var(--radius-klein) 0;
  text-decoration: none;
  font-weight: 600;
}
.skiplink:focus { left: 0; color: #fff; }

.nur-vorlesen {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* --------------------------------------------------------------------------
   3. Layout-Helfer
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1.1rem, 4vw, 2rem);
}
.container--schmal { max-width: var(--container-schmal); }

.sektion {
  padding-top: var(--sektion);
  padding-bottom: max(var(--r-5), calc(var(--sektion) - var(--r-5)));
}
.sektion--offwhite { background: var(--offwhite); }

/* Sektionskopf: Kicker + Überschrift */
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: var(--fs-mini);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gruen);
  margin-bottom: var(--r-4);
}
.kicker::before {
  content: "";
  width: 1.75rem;
  height: 2px;
  background: var(--orange);
  border-radius: 2px;
}

.sektionskopf { margin-bottom: clamp(2rem, 1.5rem + 2vw, 3.5rem); }
.sektionskopf h2 { font-size: var(--fs-h2); margin-bottom: var(--r-3); }
.sektionskopf .lead { font-size: var(--fs-lead); color: var(--text-2); }

/* --------------------------------------------------------------------------
   4. Buttons, Chips, Badges
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.8rem 1.5rem;
  border-radius: 999px;
  border: 1.5px solid transparent;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 650;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}
.btn:active { transform: translateY(1px); }

.btn--primaer {
  background: var(--gruen);
  color: #fff;
}
.btn--primaer:hover {
  background: var(--gruen-dunkel);
  color: #fff;
  box-shadow: 0 6px 20px rgba(35, 85, 56, 0.28);
}

.btn--sekundaer {
  background: transparent;
  color: var(--gruen);
  border-color: var(--gruen-linie);
}
.btn--sekundaer:hover {
  border-color: var(--gruen);
  color: var(--gruen-dunkel);
  background: var(--gruen-hell);
}

.btn--klein { padding: 0.55rem 1.1rem; font-size: var(--fs-klein); }

.btn svg { flex: none; }

/* Eckdaten-Chips */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 0;
  margin: 0 0 var(--r-4);
  list-style: none;
  max-width: none;
}
.chips li {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0;
  padding: 0.3rem 0.8rem;
  border: 1px solid var(--rahmen-stark);
  border-radius: 999px;
  background: var(--weiss);
  font-size: var(--fs-mini);
  font-weight: 600;
  color: var(--text-2);
  white-space: nowrap;
}
.chips li svg { color: var(--gruen); }

/* Status- & Akzent-Badges */
.badge {
  display: inline-block;
  padding: 0.28rem 0.75rem;
  border-radius: 999px;
  font-size: var(--fs-mini);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.02em;
}
.badge--rabatt { background: var(--orange-hell); color: var(--orange-tief); border: 1px solid #ffd2b3; }
.badge--zweizeilig { text-align: left; }
.badge--neu { background: var(--gruen-hell); color: var(--gruen); border: 1px solid var(--gruen-linie); }
.badge--frei { background: var(--gruen-hell); color: var(--gruen); border: 1px solid var(--gruen-linie); }
.badge--geschlossen { background: var(--orange-hell); color: var(--orange-tief); border: 1px solid #ffd2b3; }
.badge--knapp { background: var(--orange-hell); color: var(--orange-tief); border: 1px solid #ffd2b3; }
.badge--voll { background: #f0f1ef; color: #545e58; border: 1px solid var(--rahmen-stark); }

/* Terminstatus in Aufklapptexten und Terminübersicht deutlich hervorheben. */
.detail__inhalt .badge.badge--frei,
#termine .badge.badge--frei {
  background-color: #dfeee3;
  color: #17462c;
  border-color: #91b49a;
}
.detail__inhalt .badge.badge--geschlossen,
#termine .badge.badge--geschlossen {
  background-color: #ffe2d0;
  color: #9f3c00;
  border-color: #f3a46f;
}

.preis-alt { text-decoration: line-through; color: var(--text-3); font-weight: 400; }
.preis-neu { color: var(--gruen); font-weight: 750; }

/* --------------------------------------------------------------------------
   5. Header & Navigation
   -------------------------------------------------------------------------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--rahmen);
  transition: box-shadow 0.25s ease;
}
.header.ist-gescrollt { box-shadow: 0 4px 24px rgba(28, 36, 32, 0.08); }

.header__zeile {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--r-4);
  min-height: var(--header-hoehe);
  padding-bottom: 0.55rem;
  position: relative;
}

.header__logo {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  text-decoration: none;
  color: var(--tinte);
}
.header__logo img { width: 60px; height: 62px; }
.header__logo-text {
  display: flex;
  flex-direction: column;
  font-family: "Arial Narrow", "Liberation Sans Narrow", Arial, sans-serif;
  line-height: 1;
  color: #003300;
}
.header__logo-text > span {
  display: block;
  white-space: nowrap;
}
.header__logo-name {
  font-weight: 700;
  font-size: 15pt;
  font-variant: small-caps;
  font-variant-caps: small-caps;
  letter-spacing: 0.3pt;
}
.header__logo-kompetenz {
  font-size: 9.5pt;
  font-weight: 400;
  margin-top: 1pt;
}
.header__logo-leitsatz {
  font-size: 9.5pt;
  font-weight: 700;
  font-variant: small-caps;
  font-variant-caps: small-caps;
  margin-top: 2pt;
}

.nav { display: flex; align-items: center; }

.nav__liste {
  display: flex;
  align-items: center;
  gap: clamp(0.1rem, 0.8vw, 0.5rem);
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: none;
}
.nav__liste li { margin: 0; }

.nav__link {
  display: inline-block;
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--tinte);
  text-decoration: none;
  position: relative;
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0.75rem;
  right: 0.75rem;
  bottom: 0.2rem;
  height: 2px;
  border-radius: 2px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.22s ease;
}
.nav__link:hover { color: var(--gruen); }
.nav__link:hover::after,
.nav__link.ist-aktiv::after { transform: scaleX(1); }
.nav__link.ist-aktiv { color: var(--gruen); }

.nav__panel .btn { margin-left: 0.5rem; }

/* Burger (mobil) */
.nav__burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 46px;
  height: 46px;
  padding: 11px;
  border: 1px solid var(--rahmen-stark);
  border-radius: 10px;
  background: var(--weiss);
  cursor: pointer;
}
.nav__burger span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--tinte);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.2s ease;
}
.nav__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1032px) {
  .nav__burger { display: flex; }
  .nav__panel {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 99;
    background: var(--weiss);
    border-bottom: 1px solid var(--rahmen);
    box-shadow: 0 20px 40px rgba(28, 36, 32, 0.12);
    padding: var(--r-4) clamp(1.1rem, 4vw, 2rem) var(--r-5);
    border-radius: 0 0 var(--radius) var(--radius);
  }
  .nav__panel.ist-offen { display: block; }
  .nav__liste { flex-direction: column; align-items: stretch; gap: 0.15rem; }
  .nav__link { display: block; padding: 0.8rem 0.6rem; font-size: 1.05rem; }
  .nav__link::after { display: none; }
  .nav__link.ist-aktiv { background: var(--gruen-hell); border-radius: 8px; }
  .nav__panel .btn { margin: 0.75rem 0 0; width: 100%; }
  .header__logo img { width: 54px; height: 56px; }
}
@media (max-width: 520px) {
  .header__zeile { gap: var(--r-2); }
  .header__logo { gap: 0.55rem; }
  .header__logo img { width: 44px; height: 46px; }
}
@media (min-width: 1033px) {
  .nav__panel { display: flex !important; align-items: center; }
}

/* --------------------------------------------------------------------------
   6. Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  background: var(--offwhite);
  overflow: hidden;
  padding-top: clamp(3rem, 2.4rem + 2.4vw, 5rem);
  padding-bottom: max(var(--r-5), calc(clamp(3rem, 2.4rem + 2.4vw, 5rem) - var(--r-5)));
}

/* dezente grafische Tiefe: weiche Farbflächen + feine Ringe (Logo-Motiv) */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(52rem 32rem at 88% -12%, rgba(35, 85, 56, 0.08), transparent 62%),
    radial-gradient(38rem 26rem at -8% 108%, rgba(254, 101, 2, 0.05), transparent 60%);
  pointer-events: none;
}
.hero__kompass {
  width: 100%;
  align-self: center;
  justify-self: stretch;
  opacity: 1;
  pointer-events: none;
}
.hero__kompass img {
  display: block;
  width: 100%;
  height: auto;
  border: 1pt solid var(--gruen);
}
.hero__raster {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: clamp(2rem, 4vw, 4.5rem);
  align-items: center;
}
@media (max-width: 900px) {
  .hero__raster { grid-template-columns: 1fr; }
  .hero__kompass {
    width: min(100%, 28rem);
    justify-self: center;
    margin-top: var(--r-4);
  }
}

.hero__inhalt {
  min-width: 0;
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem 1rem;
  margin-bottom: var(--r-5);
}
.hero__claim {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.15rem, 1rem + 0.9vw, 1.5rem);
  color: var(--gruen);
  margin-bottom: var(--r-3);
}

.hero h1,
#haltung-titel,
#angebote-titel,
#details-titel,
#termine-titel {
  font-size: clamp(1.5rem, 1.18rem + 1.35vw, 2.1rem);
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: var(--gruen);
}
.hero h1 {
  margin-bottom: var(--r-4);
}
.hero h1 em {
  font-style: normal;
  color: var(--gruen);
}
.hero__titel-zusatz {
  display: block;
  margin-top: 0.25em;
}

.hero__angebote {
  list-style: none;
  max-width: none;
  margin: 0;
  padding: 0;
  color: var(--text-2);
}
.hero__schluss {
  margin-top: var(--r-4);
  color: var(--text-2);
  font: inherit;
  text-align: left;
}
.hero__angebote li {
  position: relative;
  margin: 0;
  padding-left: 1.15em;
}
.hero__angebote li + li { margin-top: 0.35rem; }
.hero__angebote li::before {
  content: "–";
  position: absolute;
  left: 0;
  color: var(--gruen);
  font-weight: 700;
}

.hero__lead {
  font-size: var(--fs-lead);
  color: var(--text-2);
  margin-bottom: var(--r-3);
}
.hero__signatur {
  width: fit-content;
  margin-left: auto;
  text-align: right;
}
.hero__firmierung {
  font-weight: 700;
  color: var(--tinte);
  margin-bottom: var(--r-1);
}
.hero__triade {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--gruen);
  letter-spacing: 0.02em;
  margin-bottom: 0;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin: var(--r-5) 0 0;
}

/* --------------------------------------------------------------------------
   7. Haltung / Philosophie
   -------------------------------------------------------------------------- */
.haltung__raster {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: clamp(2rem, 4vw, 4.5rem);
  align-items: start;
}

.haltung__merksatz {
  position: sticky;
  top: calc(var(--header-hoehe) + 2rem);
  background: var(--gruen);
  color: #fff;
  border-radius: var(--radius);
  padding: clamp(1.6rem, 3vw, 2.4rem);
  box-shadow: var(--schatten);
}
.haltung__merksatz p {
  font-family: var(--font-serif);
  font-size: clamp(1.15rem, 1rem + 0.8vw, 1.4rem);
  line-height: 1.5;
  color: #fff;
  margin: 0;
  max-width: none;
}
.haltung__merksatz p + p { margin-top: 1em; }
.haltung__merksatz strong { color: #ffd9be; font-weight: 700; }
.haltung__merksatz::before {
  content: "";
  display: block;
  width: 2.5rem;
  height: 3px;
  border-radius: 3px;
  background: var(--orange);
  margin-bottom: 1.25rem;
}

@media (max-width: 900px) {
  .haltung__raster { grid-template-columns: 1fr; }
  .haltung__merksatz { position: static; }
}

/* --------------------------------------------------------------------------
   8. Angebots-Karten
   -------------------------------------------------------------------------- */
.karten {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--r-5);
  list-style: none;
  padding: 0;
  margin: 0;
  max-width: none;
}
@media (max-width: 980px) { .karten { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .karten { grid-template-columns: 1fr; } }
.karten > li { margin: 0; display: flex; }

.karte {
  display: flex;
  flex-direction: column;
  width: 100%;
  background: var(--weiss);
  border: 1px solid var(--rahmen);
  border-radius: var(--radius);
  padding: var(--r-5);
  box-shadow: var(--schatten);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}
.karten > li:nth-child(odd) .karte {
  background: #e7f1e8;
  border-color: var(--gruen-linie);
}
.karten > li:nth-child(odd) .karte__icon {
  background: var(--weiss);
}
.angebote__nachsatz {
  margin: var(--r-5) 0 0;
  color: var(--text-2);
  font-size: var(--fs-lead);
}
.karte:hover {
  transform: translateY(-4px);
  box-shadow: var(--schatten-hover);
  border-color: var(--gruen-linie);
}

.karte__kopf {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--r-3);
  margin-bottom: var(--r-4);
}

.karte__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  flex: none;
  border-radius: 14px;
  background: var(--gruen-hell);
  color: var(--gruen);
  border: 1px solid var(--gruen-linie);
}

.karte h3 {
  font-size: var(--fs-h4);
  line-height: 1.35;
  margin-bottom: var(--r-3);
}

.karte__fakten {
  list-style: none;
  margin: 0 0 var(--r-4);
  padding: 0;
  font-size: var(--fs-klein);
  color: var(--text-2);
}
.karte__fakten li {
  display: flex;
  gap: 0.5rem;
  align-items: baseline;
  padding: 0.3rem 0;
  margin: 0;
  border-bottom: 1px dashed var(--rahmen);
}
.karte__fakten li:last-child { border-bottom: 0; }
.karte__fakten li::before {
  content: "›";
  color: var(--orange-tief);
  font-weight: 700;
  flex: none;
}

.karte__fuss {
  margin-top: auto;
  padding-top: var(--r-4);
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  align-items: center;
}
.karte__mehr {
  font-weight: 650;
  text-decoration: none;
}
.karte__mehr::after { content: " ↓"; }
.karte__mehr:hover { text-decoration: underline; }

/* --------------------------------------------------------------------------
   9. Angebots-Details (Akkordeon)
   -------------------------------------------------------------------------- */
.detail {
  background: var(--weiss);
  border: 1px solid var(--rahmen);
  border-radius: var(--radius);
  box-shadow: var(--schatten);
  margin-bottom: var(--r-4);
  overflow: hidden;
}
.detail[open] { border-color: var(--gruen-linie); }
/* Während der JS-Zuklapp-Animation bleibt [open] gesetzt –
   der Kopf soll aber sofort als „geschlossen" erscheinen */
.detail.wird-geschlossen { border-color: var(--rahmen); }

.detail__titel {
  display: flex;
  align-items: center;
  gap: var(--r-4);
  padding: clamp(1.1rem, 2vw, 1.5rem) clamp(1.1rem, 2.5vw, 1.75rem);
  cursor: pointer;
  list-style: none;
  user-select: none;
  transition: background 0.18s ease;
}
.detail__titel::-webkit-details-marker { display: none; }
.detail__titel:hover { background: var(--offwhite); }

.detail__nr {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gruen);
  border: 1.5px solid var(--gruen-linie);
  border-radius: 999px;
  width: 2.4rem;
  height: 2.4rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  background: var(--gruen-hell);
}

.detail__titel h3 {
  font-size: var(--fs-h3);
  margin: 0;
  flex: 1;
}
.detail__titel h3 .badge {
  vertical-align: 0.2em;
  margin-left: 0.5rem;
  font-family: var(--font-sans);
}

.detail__plus {
  flex: none;
  width: 2rem;
  height: 2rem;
  color: var(--gruen);
  position: relative;
}
.detail__plus::before,
.detail__plus::after {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.25s ease;
}
.detail__plus::before { width: 1.1rem; height: 2px; }
.detail__plus::after { width: 2px; height: 1.1rem; }
.detail[open] .detail__plus::after { transform: rotate(90deg); }
.detail.wird-geschlossen .detail__plus::after { transform: none; }

.detail__inhalt {
  padding: 0 clamp(1.1rem, 2.5vw, 1.75rem) clamp(1.5rem, 3vw, 2.25rem);
  border-top: 1px solid var(--rahmen);
}
.detail__inhalt > *:first-child { margin-top: clamp(1.25rem, 2vw, 1.75rem); }

.detail__inhalt h4,
.infokasten h4 {
  font-family: var(--font-sans);
  font-size: var(--fs-mini);
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gruen);
  margin: var(--r-6) 0 var(--r-3);
}
.detail__inhalt > h4:first-child { margin-top: clamp(1.25rem, 2vw, 1.75rem); }

.detail__spalten {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 3vw, 3rem);
  align-items: start;
}
@media (max-width: 860px) { .detail__spalten { grid-template-columns: 1fr; } }

/* FAQ: thematische Gruppen mit schlanker Akkordeon-Darstellung */
.faq-gruppe {
  max-width: var(--container-schmal);
}
.faq-gruppe + .faq-gruppe {
  margin-top: clamp(2.75rem, 4vw, 4rem);
}
.faq-gruppenkopf {
  display: flex;
  align-items: center;
  gap: var(--r-4);
  padding-bottom: var(--r-3);
  margin-bottom: var(--r-4);
  border-bottom: 1px solid var(--gruen-linie);
}
.faq-gruppenkopf__nummer {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.15rem;
  height: 2.15rem;
  flex: none;
  border-radius: 999px;
  background: var(--orange-hell);
  color: var(--orange-tief);
  font-size: var(--fs-mini);
  font-weight: 750;
  letter-spacing: 0.04em;
}
.faq-gruppenkopf h3 {
  margin: 0;
  font-size: var(--fs-h3);
  color: var(--gruen-dunkel);
}

.detail--faq { margin-bottom: var(--r-3); box-shadow: none; max-width: var(--container-schmal); }
.detail--faq .detail__titel {
  padding: clamp(0.9rem, 1.6vw, 1.15rem) clamp(1.1rem, 2.5vw, 1.5rem);
}
.detail--faq .detail__titel h4 {
  flex: 1;
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--fs-h4);
  font-weight: 650;
  line-height: 1.4;
}
.detail--faq .detail__inhalt { padding-bottom: clamp(1.1rem, 2vw, 1.5rem); }
.detail--faq .detail__inhalt > div {
  margin-top: clamp(1.25rem, 2vw, 1.75rem);
}
.detail--faq .detail__inhalt > div > *:last-child { margin-bottom: 0; }

.faq-einordnung {
  max-width: none;
  padding-left: var(--r-4);
  border-left: 3px solid var(--gruen-linie);
  color: var(--text-2);
  font-size: 0.98rem;
}
.faq-einordnung strong { color: var(--gruen-dunkel); }

.faq-redaktion {
  max-width: var(--container-schmal);
  margin-top: clamp(2.5rem, 4vw, 3.5rem);
  padding: var(--r-5);
  border: 1px solid var(--rahmen);
  border-radius: var(--radius-klein);
  background: var(--offwhite);
  color: var(--text-2);
  font-size: var(--fs-klein);
}
.faq-redaktion p { max-width: none; }
.faq-redaktion p:last-child { margin-bottom: 0; }

.infokasten {
  background: var(--offwhite);
  border: 1px solid var(--rahmen);
  border-radius: var(--radius-klein);
  padding: var(--r-5);
}
.infokasten--akzent { background: var(--gruen-hell); border-color: var(--gruen-linie); }
.infokasten h4:first-child { margin-top: 0; }
.infokasten p:last-child, .infokasten ul:last-child { margin-bottom: 0; }
.infokasten + .infokasten { margin-top: var(--r-4); }

.termin-liste {
  list-style: none;
  padding: 0;
  margin: 0 0 1.1em;
  max-width: none;
}
.termin-liste li {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.75rem;
  align-items: baseline;
  padding: 0.55rem 0;
  margin: 0;
  border-bottom: 1px dashed var(--rahmen-stark);
  font-size: 0.98rem;
}
.termin-liste li:last-child { border-bottom: 0; }
.termin-liste .kursname { font-weight: 750; color: var(--gruen); flex: none; }
.termin-liste .badge { margin-left: auto; }
.termin-liste:last-child { margin-bottom: 0; }

.download-zeile {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  margin-top: var(--r-5);
  padding-top: var(--r-5);
  border-top: 1px solid var(--rahmen);
}

/* --------------------------------------------------------------------------
   10. „Alle Daten auf einen Blick“
   -------------------------------------------------------------------------- */
.daten-kopf__raster {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: clamp(2rem, 4vw, 4.5rem);
  align-items: start;
  margin-bottom: var(--r-5);
}
.daten-kopf__raster > .haltung__merksatz {
  width: 100%;
  aspect-ratio: 1 / 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: left;
}
.daten-raster {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--r-5);
}
.daten-kompass-raster {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: clamp(2rem, 4vw, 4.5rem);
  align-items: stretch;
  margin-top: var(--r-5);
}
@media (max-width: 900px) { .daten-kopf__raster { grid-template-columns: 1fr; } }
@media (max-width: 900px) { .daten-kompass-raster { grid-template-columns: 1fr; } }
@media (max-width: 860px) { .daten-raster { grid-template-columns: 1fr; } }
@media (max-width: 420px) {
  .daten-kopf__raster > .haltung__merksatz { padding: 1.1rem; }
  .daten-kopf__raster > .haltung__merksatz p {
    font-size: 0.92rem;
    line-height: 1.35;
  }
  .daten-kopf__raster > .haltung__merksatz p + p { margin-top: 0.75em; }
  .daten-kopf__raster > .haltung__merksatz::before { margin-bottom: 0.75rem; }
}

.daten-karte {
  background: var(--weiss);
  border: 1px solid var(--rahmen);
  border-radius: var(--radius);
  padding: var(--r-5);
  box-shadow: var(--schatten);
}
.daten-karte--zartgruen {
  background: #e7f1e8;
  border-color: var(--gruen-linie);
}
.daten-karte--breit { grid-column: 1 / -1; }
.daten-karte--kompass {
  align-self: stretch;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  overflow: hidden;
}
.daten-karte--kompass .hero__kompass {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  flex: none;
  max-width: none;
  margin: 0;
}
@media (max-width: 900px) {
  .daten-karte--kompass {
    width: min(100%, 28rem);
    justify-self: center;
  }
  .daten-karte--kompass .hero__kompass { width: 100%; }
}
.status-inline { white-space: nowrap; }

.daten-karte h3 {
  font-size: 1.2rem;
  line-height: 1.35;
  padding-bottom: var(--r-3);
  margin-bottom: var(--r-3);
  border-bottom: 2px solid var(--gruen-hell);
}
.daten-karte h3 .badge {
  vertical-align: 0.15em;
  margin-left: 0.4rem;
  font-family: var(--font-sans);
}

.daten-karte .hinweis {
  font-size: var(--fs-klein);
  color: var(--text-2);
  margin-bottom: var(--r-3);
}
.daten-karte p:last-child { margin-bottom: 0; }

/* --------------------------------------------------------------------------
   11. Leitzitat-Band (das eine ruhige Grün-Band)
   -------------------------------------------------------------------------- */
.zitat {
  background:
    radial-gradient(60rem 30rem at 15% 120%, rgba(255, 255, 255, 0.07), transparent 60%),
    var(--gruen);
  color: #fff;
  text-align: center;
  padding-block: clamp(4rem, 3rem + 4vw, 6.5rem);
  position: relative;
  overflow: hidden;
}
.zitat blockquote {
  margin: 0 auto;
  max-width: 46rem;
  padding-inline: clamp(1.1rem, 4vw, 2rem);
}
.zitat blockquote p {
  font-family: var(--font-serif);
  font-size: clamp(1.7rem, 1.2rem + 2.4vw, 2.9rem);
  font-style: italic;
  line-height: 1.3;
  color: #fff;
  margin: 0;
  max-width: none;
}
.zitat blockquote::before {
  content: "";
  display: block;
  width: 3.5rem;
  height: 3px;
  background: var(--orange);
  border-radius: 3px;
  margin: 0 auto 1.75rem;
}
.zitat__nachsatz {
  margin: 1.5rem auto 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.88);
  max-width: none;
}
.zitat--bverfg {
  padding-block: clamp(2.5rem, 2rem + 2.5vw, 4rem);
  text-align: left;
}
.zitat--bverfg__innen {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: clamp(1rem, 3vw, 2rem);
  align-items: start;
  width: min(100%, var(--container));
  margin-inline: auto;
  padding-inline: clamp(1.1rem, 4vw, 2rem);
}
.zitat--bverfg__zeichen {
  color: #fff;
  font-family: var(--font-serif);
  font-size: clamp(3.5rem, 2.5rem + 4vw, 6rem);
  font-weight: 700;
  line-height: 0.75;
}
.zitat--bverfg blockquote {
  max-width: none;
  margin: 0;
  padding: 0;
}
.zitat--bverfg blockquote p {
  font-size: clamp(1.9167rem, 1.4667rem + 1.5vw, 2.6167rem);
  line-height: 1.4;
  text-align: left;
}
.zitat--bverfg cite {
  display: block;
  margin-top: var(--r-3);
  color: rgba(255, 255, 255, 0.88);
  font-family: var(--font-sans);
  font-size: var(--fs-klein);
  font-style: normal;
  font-weight: 700;
}

.zitat--bverfg cite a {
  color: inherit;
  text-decoration-color: rgba(255, 255, 255, 0.65);
  text-underline-offset: 0.18em;
}

.zitat--bverfg cite a:hover {
  color: #fff;
}

/* --------------------------------------------------------------------------
   12. Profil / Qualifikationen
   -------------------------------------------------------------------------- */
.profil__raster {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.35fr);
  gap: clamp(2.5rem, 4vw, 4.5rem);
  align-items: start;
}
@media (max-width: 900px) { .profil__raster { grid-template-columns: 1fr; } }

.profil__portraet {
  position: sticky;
  top: calc(var(--header-hoehe) + 2rem);
}
@media (max-width: 900px) {
  .profil__portraet { position: static; max-width: 24rem; }
}
.profil__portraet figure { margin: 0; }
.profil__portraet .profil__bild { position: relative; }
.profil__portraet img {
  position: relative;
  z-index: 1;
  border-radius: var(--radius);
  box-shadow: var(--schatten-hover);
  width: 100%;
  display: block;
}
.profil__portraet .profil__bild::before {
  content: "";
  position: absolute;
  inset: 1.25rem -1.1rem -1.1rem 1.25rem;
  border: 2px solid var(--gruen-linie);
  border-radius: var(--radius);
}
.profil__portraet figcaption {
  margin-top: 2.4rem;
  font-size: var(--fs-klein);
  color: var(--text-2);
}
.profil__portraet figcaption strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: var(--tinte);
}

.zeitleiste {
  list-style: none;
  margin: 0 0 var(--r-6);
  padding: 0;
  position: relative;
  max-width: none;
}
.zeitleiste::before {
  content: "";
  position: absolute;
  left: 0.5rem;
  top: 0.5rem;
  bottom: 0.5rem;
  width: 2px;
  background: var(--gruen-linie);
  border-radius: 2px;
}
.zeitleiste li {
  position: relative;
  padding: 0 0 1.1rem 2.2rem;
  margin: 0;
}
.zeitleiste li:last-child { padding-bottom: 0; }
.zeitleiste li::before {
  content: "";
  position: absolute;
  left: calc(0.5rem - 4px);
  top: 0.55rem;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gruen);
  border: 2px solid var(--weiss);
  box-shadow: 0 0 0 2px var(--gruen-linie);
}
.zeitleiste .zeit { font-weight: 750; color: var(--gruen); }

.schwerpunkte {
  list-style: none;
  margin: 0 0 var(--r-6);
  padding: 0;
}
.schwerpunkte li {
  display: flex;
  gap: 0.7rem;
  align-items: baseline;
  margin: 0 0 0.5rem;
}
.schwerpunkte li::before {
  content: "✓";
  flex: none;
  font-weight: 700;
  color: var(--orange-tief);
}

.referenzen {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--r-5);
  margin-top: var(--r-5);
}
@media (max-width: 900px) { .referenzen { grid-template-columns: 1fr; } }
.referenzen h4 {
  font-family: var(--font-sans);
  font-size: var(--fs-mini);
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gruen);
  margin-bottom: var(--r-3);
}
.referenzen ul {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: var(--fs-klein);
  color: var(--text-2);
}
.referenzen li {
  padding: 0.35rem 0;
  margin: 0;
  border-bottom: 1px dashed var(--rahmen);
}
.referenzen li:last-child { border-bottom: 0; }

/* --------------------------------------------------------------------------
   13. Kontakt
   -------------------------------------------------------------------------- */
.kontakt__raster {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
  gap: clamp(2rem, 4vw, 4rem);
  align-items: start;
}
@media (max-width: 900px) { .kontakt__raster { grid-template-columns: 1fr; } }

.kontakt__hinweis {
  font-family: var(--font-serif);
  font-size: var(--fs-lead);
  line-height: 1.55;
  color: var(--tinte);
  border-left: 3px solid var(--orange);
  padding-left: 1.1rem;
  margin-bottom: var(--r-6);
}

.kontakt__wege {
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: none;
}
.kontakt__wege li {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 0.9rem 0;
  margin: 0;
  border-bottom: 1px solid var(--rahmen);
}
.kontakt__wege li:last-child { border-bottom: 0; }
.kontakt__wege svg {
  flex: none;
  color: var(--gruen);
  margin-top: 0.3rem;
}
.kontakt__wege .weg__label {
  display: block;
  font-size: var(--fs-mini);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-3);
}
.kontakt__wege a { font-weight: 650; }

/* Formular */
.formular {
  background: var(--weiss);
  border: 1px solid var(--rahmen);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  box-shadow: var(--schatten);
}

.formular h3 { font-size: var(--fs-h3); margin-bottom: var(--r-2); }
.formular__einleitung { color: var(--text-2); font-size: var(--fs-klein); margin-bottom: var(--r-5); }

.feld { margin-bottom: var(--r-4); }
.feld label {
  display: block;
  font-weight: 650;
  font-size: var(--fs-klein);
  margin-bottom: 0.4rem;
}
.feld .pflicht { color: var(--orange-tief); }

.feld input,
.feld select,
.feld textarea {
  width: 100%;
  padding: 0.75rem 0.9rem;
  font: inherit;
  font-size: 1rem;
  color: var(--tinte);
  background: var(--weiss);
  border: 1.5px solid var(--rahmen-stark);
  border-radius: var(--radius-klein);
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}
.feld textarea { min-height: 8.5rem; resize: vertical; }
.feld input:focus,
.feld select:focus,
.feld textarea:focus {
  outline: none;
  border-color: var(--gruen);
  box-shadow: 0 0 0 3px rgba(35, 85, 56, 0.14);
}

.feld--reihe {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--r-4);
}
@media (max-width: 560px) { .feld--reihe { grid-template-columns: 1fr; } }
.feld--reihe .feld { margin-bottom: 0; }
.feld--reihe { margin-bottom: var(--r-4); }

.feld--einwilligung {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  background: var(--offwhite);
  border: 1px solid var(--rahmen);
  border-radius: var(--radius-klein);
  padding: var(--r-4);
}
.feld--einwilligung input {
  width: 1.25rem;
  height: 1.25rem;
  margin-top: 0.25rem;
  flex: none;
  accent-color: var(--gruen);
}
.feld--einwilligung label {
  font-weight: 400;
  font-size: var(--fs-mini);
  line-height: 1.6;
  color: var(--text-2);
  margin: 0;
}

/* Honeypot: für Menschen unsichtbar, für Bots ein normales Feld */
.feld--website {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.formular__status {
  display: none;
  margin-bottom: var(--r-4);
  padding: var(--r-4);
  border-radius: var(--radius-klein);
  font-weight: 600;
  font-size: var(--fs-klein);
}
.formular__status.ist-sichtbar { display: block; }
.formular__status--ok { background: var(--gruen-hell); color: var(--gruen); border: 1px solid var(--gruen-linie); }
.formular__status--fehler { background: var(--orange-hell); color: var(--orange-tief); border: 1px solid #ffd2b3; }

.formular__pflichthinweis {
  font-size: var(--fs-mini);
  color: var(--text-3);
  margin: var(--r-3) 0 0;
}

/* --------------------------------------------------------------------------
   14. Footer
   -------------------------------------------------------------------------- */
.footer {
  background: var(--tinte);
  color: #cfd6d0;
  padding-block: var(--r-8) var(--r-6);
  font-size: var(--fs-klein);
}
.footer a { color: #fff; }
.footer a:hover { color: #ffd9be; }

.footer__raster {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: var(--r-6);
  padding-bottom: var(--r-6);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  margin-bottom: var(--r-5);
}
@media (max-width: 800px) { .footer__raster { grid-template-columns: 1fr; } }

.footer__marke {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: var(--r-4);
}
.footer__marke img {
  width: 44px;
  height: 46px;
  background: #fff;
  border-radius: 10px;
  padding: 3px;
}
.footer__marke span {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
}
.footer__claim { font-style: italic; font-family: var(--font-serif); color: #a8b3aa; }

.footer h4 {
  color: #fff;
  font-family: var(--font-sans);
  font-size: var(--fs-mini);
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: var(--r-4);
}
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin: 0 0 0.55rem; }

.footer__unten {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  justify-content: space-between;
  color: #a8b3aa;
}
.footer__unten p { margin: 0; max-width: none; }

/* --------------------------------------------------------------------------
   15. Unterseiten (Impressum / Datenschutz)
   -------------------------------------------------------------------------- */
.rechtstext { padding-block: var(--r-7) var(--r-8); }
.rechtstext h1 { font-size: var(--fs-h2); margin-bottom: var(--r-5); }
.rechtstext h2 { font-size: 1.35rem; margin-top: var(--r-7); }
.rechtstext h3 { font-size: 1.1rem; margin-top: var(--r-6); }
.rechtstext .zurueck {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 650;
  margin-bottom: var(--r-6);
  text-decoration: none;
}
.rechtstext .zurueck:hover { text-decoration: underline; }
.rechtstext .stand { color: var(--text-3); font-size: var(--fs-klein); }

/* --------------------------------------------------------------------------
   16. Scroll-Reveals & Bewegung
   -------------------------------------------------------------------------- */
/* Versteckt wird nur, was JS beim Laden unterhalb des Viewports vorfindet
   (.reveal--wartend wird per JS gesetzt) – ohne JS bleibt alles sichtbar. */
.reveal { transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal--wartend {
  opacity: 0;
  transform: translateY(22px);
}
.reveal.ist-sichtbar {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* --------------------------------------------------------------------------
   17. Druck
   -------------------------------------------------------------------------- */
@media print {
  .header, .footer, .hero__cta, .nav, .formular, .skiplink, .hero__kompass { display: none !important; }
  .detail { break-inside: avoid; }
  body { background: #fff; }
}
