/* =====================================================================
   westerwald-kammerjaeger.de — Design „Basaltschnitt"

   Formmotiv ist die angeschnittene Kante der Basaltsäule aus dem Logo:
   Karten und Rahmen haben oben rechts eine Fase statt einer Rundung,
   Sektionsmarker sind Sechsecke. Dazu eine bewusst KÜHLE Palette —
   Basaltblau auf Steingrau. Die Schwesterseite im Taunus ist warm
   (Tannengrün auf Kartenpapier) und soll nicht verwechselbar sein.

   Alle Kontraste sind gerechnet, nicht geschätzt. Die drei Fallen der
   Palette stehen in CLAUDE.md; die wichtigste: --messing ist auf --grund
   NICHT lesbar (2,38:1), dafür gibt es --messing-700.

   Keine externen Ressourcen: Systemschriften, keine Web-Fonts, kein CDN.
   ===================================================================== */

:root {
  /* Flächen */
  --grund:        #F0F3F5;   /* kühler Stein */
  --grund-2:      #E2E8EC;
  --weiss:        #FFFFFF;
  --dunkel:       #1B242C;   /* Bänder, Footer */

  /* Basalt */
  --basalt:       #313F4A;   /* 9,71:1 auf --grund */
  --basalt-600:   #455566;   /* 6,87:1 */
  --basalt-500:   #5A6873;   /* 5,15:1 — gedämpfter Text */
  --basalt-300:   #AEBBC5;   /* nur auf --dunkel: 8,02:1 */
  --basalt-100:   #DDE4E9;

  /* Messing */
  --messing:      #C49755;   /* FLÄCHEN. Auf hell nur 2,38:1! */
  /* Auf --grund 6,60:1 UND auf --grund-2 5,95:1. Der erste Wert
     #8A6524 reichte nur auf --grund (4,75:1) und fiel auf der
     zweiten Flaeche auf 4,28:1 — Lighthouse hat das gefunden.
     Immer gegen die DUNKLERE der beiden Flaechen rechnen. */
  --messing-700:  #6E5119;
  --messing-300:  #DDB570;   /* Text auf dunkel, 8,18:1 */

  --rot:          #A8262C;   /* 6,33:1 */
  --linie:        #CFD8DE;
  --linie-2:      #B9C5CD;

  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica,
          Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas,
          "Liberation Mono", monospace;

  --wrap: 1180px;
  --gut: clamp(18px, 4vw, 34px);
  --r: 2px;                  /* nahezu scharfe Ecken */
  --fase: 15px;              /* Tiefe der Basalt-Fase */
  --schatten: 0 1px 0 var(--linie), 0 20px 44px -30px rgba(27, 36, 44, .5);
}

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

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

body {
  margin: 0;
  background: var(--grund);
  color: var(--basalt);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4 {
  margin: 0 0 .5em;
  line-height: 1.14;
  letter-spacing: -.018em;
  font-weight: 800;
  text-wrap: balance;
}
h1 { font-size: clamp(30px, 4.4vw, 47px); }
h2 { font-size: clamp(23px, 2.9vw, 34px); }
h3 { font-size: clamp(18px, 1.6vw, 20px); letter-spacing: -.01em; }
p  { margin: 0 0 1.05em; }
a  { color: var(--basalt); text-decoration-thickness: 1px;
     text-underline-offset: 3px; }
a:hover { color: var(--messing-700); }
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 3px solid var(--messing-700); outline-offset: 3px;
}
strong, b { font-weight: 700; }

.wrap {
  max-width: var(--wrap); margin-inline: auto;
  padding-inline: var(--gut);
}
section { padding-block: clamp(44px, 6vw, 84px); }
.sr {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip-path: inset(50%); white-space: nowrap;
}

/* ------------------------------------------------------- Säulentextur
   Senkrechte Haarlinien im Rhythmus der Logo-Säulen. Sehr zurückhaltend
   eingesetzt — nur hinter Hero und dunklen Bändern, sonst flimmert es. */
.saeulen { position: relative; }
.saeulen::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: repeating-linear-gradient(90deg,
    rgba(49, 63, 74, .055) 0 1px, transparent 1px 23px);
}
.saeulen--dunkel::before {
  background: repeating-linear-gradient(90deg,
    rgba(222, 232, 238, .075) 0 1px, transparent 1px 23px);
}
.saeulen > * { position: relative; }

/* ------------------------------------------------------------ Marken
   Sechseck-Marker: das Logo-Motiv als Sektionszeichen. */
.label {
  font-family: var(--mono); font-size: 11.5px; font-weight: 600;
  letter-spacing: .17em; text-transform: uppercase;
  color: var(--messing-700);
}
.label--basalt { color: var(--basalt-500); }
.label--hell   { color: var(--messing-300); }

.marke { display: flex; align-items: center; gap: 13px; margin-bottom: 15px; }
.marke__no {
  flex: 0 0 auto; width: 30px; height: 34px;
  display: grid; place-items: center;
  background: var(--basalt); color: var(--grund);
  font-family: var(--mono); font-size: 12px; font-weight: 700;
  clip-path: polygon(50% 0, 100% 26%, 100% 74%, 50% 100%, 0 74%, 0 26%);
}
.marke__rule { flex: 1 1 auto; height: 1px; background: var(--linie); }
.marke--hell .marke__no { background: var(--messing); color: var(--dunkel); }
.marke--hell .marke__rule { background: rgba(222, 232, 238, .22); }

.sek-kopf { max-width: 68ch; margin-bottom: clamp(24px, 3.2vw, 40px); }
.sek-kopf p { color: var(--basalt-500); font-size: clamp(17px, 1.4vw, 18.5px); }

/* -------------------------------------------------------------- Topbar */
.topbar {
  background: var(--dunkel); color: var(--basalt-300);
  font-family: var(--mono); font-size: 11.5px; font-weight: 600;
  letter-spacing: .13em; text-transform: uppercase;
}
.topbar .wrap {
  display: flex; flex-wrap: wrap; gap: 5px 20px;
  align-items: center; justify-content: space-between;
  padding-block: 8px;
}
.topbar a { color: var(--messing-300); text-decoration: none; }
.topbar a:hover { color: var(--weiss); text-decoration: underline; }
.topbar__orte { display: none; }
@media (min-width: 720px) { .topbar__orte { display: block; } }

/* -------------------------------------------------------------- Header */
.kopf {
  position: sticky; top: 0; z-index: 40;
  background: rgba(240, 243, 245, .93);
  backdrop-filter: blur(9px);
  border-bottom: 1px solid var(--linie);
}
.kopf .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding-block: 11px;
}
.marke-link {
  display: flex; align-items: center; gap: 11px;
  text-decoration: none; color: var(--basalt);
}
.marke-link img { width: 46px; height: auto; }
.marke-wort { display: grid; line-height: 1.03; }
.marke-wort b {
  font-size: 17px; font-weight: 800; letter-spacing: -.02em;
}
.marke-wort span {
  font-family: var(--mono); font-size: 10.5px; font-weight: 600;
  letter-spacing: .26em; color: var(--messing-700);
}

.navi { display: none; }
@media (min-width: 980px) {
  .navi { display: flex; gap: 24px; }
  .navi a {
    font-size: 15.5px; font-weight: 600; text-decoration: none;
    color: var(--basalt-600); padding-block: 5px;
    border-bottom: 2px solid transparent;
  }
  .navi a:hover { color: var(--basalt); border-bottom-color: var(--messing); }
}
.kopf-cta { display: none; }
@media (min-width: 560px) { .kopf-cta { display: inline-flex; } }

.burger {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; background: none; cursor: pointer;
  border: 1px solid var(--linie-2); border-radius: var(--r);
  color: var(--basalt);
}
.burger svg { width: 22px; height: 22px; }
@media (min-width: 980px) { .burger { display: none; } }
/* Mobil: Bei 320 px ragte der Anruf-Knopf 21 px aus dem Viewport, und
   der Knopf drueckte Marke und Burger zusammen, bis der Burger ueber dem
   Schriftzug lag. Marke und Burger behalten ihre Breite; unter 420 px
   kleinere Schrift und Abstaende (.kopf davor, weil .btn weiter unten
   steht und sonst gewinnt), die Nummer bricht bei Bedarf zweizeilig um.
   Unter 380 px passt sie nicht mehr daneben: dort Symbol-Knopf, die
   Nummer bleibt Linkname und steht in der Topbar, unten haengt die
   Sticky-Leiste „Kammerjaeger anrufen". */
.marke-link, .burger { flex: 0 0 auto; }
@media (max-width: 419px) {
  .kopf .wrap { gap: 10px; }
  .kopf .kopf-cta { padding: 9px 12px; gap: 6px; font-size: 15px; line-height: 1.15; }
}
@media (max-width: 379px) {
  .kopf .kopf-cta { flex: 0 0 auto; width: 44px; height: 44px; padding: 0;
                    gap: 0; font-size: 0; justify-content: center; }
  .kopf .kopf-cta svg { width: 20px; height: 20px; }
}
/* Kennzahlen im Hero: bei 320 px stand die rechte Spalte 55 px ueber den
   Rand und wurde vom overflow:hidden des Heros abgeschnitten (kein
   Seitenscrollen, aber halbe Woerter). Spalten auf minmax(0,1fr), Symbol
   ueber den Text, lange Etiketten trennen. */
@media (max-width: 419px) {
  .hero .wrap { grid-template-columns: minmax(0, 1fr); }
  .zahlen { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .zahl { flex-direction: column; gap: 8px; padding: 15px 12px 16px; }
  .zahl__label { hyphens: auto; overflow-wrap: break-word; }
  /* „Datenschutzerklärung“ ragte bei 320 px 13 px in den Hero-Rand. */
  h1 { font-size: clamp(26px, 8.2vw, 30px); }
}
/* position:absolute + top:100% statt einer festen Pixelhöhe — der
   backdrop-filter am Header erzeugt einen eigenen Bezugsrahmen, in dem
   feste Werte bei jeder Höhenänderung falsch werden. */
.navi--offen {
  display: grid; position: absolute; left: 0; right: 0; top: 100%;
  background: var(--weiss); border-bottom: 1px solid var(--linie);
  padding: 10px var(--gut) 16px; gap: 2px;
  box-shadow: var(--schatten);
}
.navi--offen a {
  padding: 11px 2px; font-size: 17px; font-weight: 600;
  text-decoration: none; color: var(--basalt);
  border-bottom: 1px solid var(--linie);
}

/* ----------------------------------------------------------------- CTA */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--sans); font-weight: 800; font-size: 17px;
  padding: 14px 22px; border-radius: var(--r);
  border: 2px solid transparent; text-decoration: none; cursor: pointer;
  transition: transform .12s ease, box-shadow .12s ease,
              background-color .12s ease;
}
.btn svg { width: 19px; height: 19px; flex: 0 0 auto; }
.btn--tel {
  background: var(--messing); color: var(--dunkel);   /* 5,92:1 */
  box-shadow: 0 2px 0 #9C7638;
}
.btn--tel:hover { transform: translateY(-1px); background: #D0A461;
                  color: var(--dunkel); }
.btn--geist {
  border-color: var(--basalt); color: var(--basalt); background: none;
}
.btn--geist:hover { background: var(--basalt); color: var(--grund); }
.btn--hell { background: var(--grund); color: var(--basalt); }
/* Auf der Messing-Flaeche funktioniert NUR --dunkel (5,92:1).
   --basalt kommt dort auf 4,07:1; btn--geist ist dort also falsch. */
.btn--dunkel {
  border-color: var(--dunkel); color: var(--dunkel); background: none;
}
.btn--dunkel:hover { background: var(--dunkel); color: var(--messing); }
.btn--hell:hover { background: var(--weiss); color: var(--basalt); }

/* -------------------------------------------------------------- Hero */
.hero {
  position: relative; overflow: hidden;
  border-bottom: 1px solid var(--linie);
  /* KEIN padding-block: .hero ist ein <section> und bekaeme sonst
     dessen clamp(44px,6vw,84px) ZUSAETZLICH zum eigenen Abstand unten.
     Auf dem Einsatzgebiet-Hero summierte sich das auf 132 px oben und
     160 px unten — ein Loch, das wie ein Fehler aussieht. */
  padding-block: 0;
}
.hero .wrap {
  display: grid; gap: clamp(26px, 3.4vw, 46px); grid-template-columns: 1fr;
  padding-block: clamp(30px, 4.4vw, 58px) clamp(54px, 6.6vw, 92px);
}
.hero__augen { margin-bottom: 15px; }
.hero__lede {
  font-size: clamp(18px, 1.75vw, 21px); color: var(--basalt-600);
  max-width: 56ch; margin-bottom: 22px;
}
.hero__punkte {
  list-style: none; margin: 0 0 24px; padding: 0;
  display: grid; gap: 10px 22px; grid-template-columns: 1fr;
}
.hero__punkte li { display: flex; gap: 10px; align-items: flex-start;
                   font-size: 16.5px; }
.hero__punkte svg { width: 20px; height: 20px; flex: 0 0 auto;
                    margin-top: 2px; color: var(--messing-700); }
.hero__tun { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.hero__hinweis {
  margin-top: 16px; font-family: var(--mono); font-size: 12px;
  letter-spacing: .1em; text-transform: uppercase; color: var(--basalt-500);
}
.hero--solo .wrap { grid-template-columns: 1fr; }

/* Rahmen mit Basalt-Fase oben rechts — das Formmotiv der Seite */
.rahmen {
  position: relative; background: var(--weiss);
  border: 1px solid var(--linie); padding: 8px;
  box-shadow: var(--schatten);
}
.rahmen img {
  clip-path: polygon(0 0, calc(100% - var(--fase)) 0, 100% var(--fase),
                     100% 100%, 0 100%);
}
.rahmen__schild {
  position: absolute; left: -1px; bottom: 20px;
  background: var(--basalt); color: var(--grund);
  font-family: var(--mono); font-size: 11px; letter-spacing: .13em;
  text-transform: uppercase; padding: 7px 13px 6px;
}

/* ------------------------------------------------------------- Kennzahlen */
.zahlen {
  display: grid; gap: 1px; background: var(--linie);
  border-block: 1px solid var(--linie);
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 620px) { .zahlen { grid-template-columns: repeat(4, 1fr); } }
.zahl {
  background: var(--weiss); padding: 17px 18px 18px;
  display: flex; gap: 12px; align-items: flex-start;
}
.zahl__ic {
  flex: 0 0 auto; width: 34px; height: 38px; display: grid;
  place-items: center; background: var(--grund-2); color: var(--basalt);
  clip-path: polygon(50% 0, 100% 26%, 100% 74%, 50% 100%, 0 74%, 0 26%);
}
.zahl__ic svg { width: 18px; height: 18px; }
/* Eigene Klassen, KEIN `.zahl span`: der Selektor traf auch den
   umschliessenden Span, wodurch text-transform:uppercase auf den Wert
   durchschlug — aus „24 Orte" wurde „24 ORTE". */
.zahl__wert {
  display: block; font-size: clamp(19px, 1.9vw, 23px); font-weight: 800;
  letter-spacing: -.02em; line-height: 1.1;
}
.zahl__label {
  display: block; margin-top: 3px; font-family: var(--mono);
  font-size: 10.5px; font-weight: 600; letter-spacing: .11em;
  text-transform: uppercase; color: var(--basalt-500); line-height: 1.4;
}
/* Hero-Bild ab 880 px quadratisch. Gemessen: die Textspalte ist 706 px
   hoch. Ein 16:9-Bild wird nur 273 px hoch (Lücke 415), 4:3 kommt auf
   363 (Lücke 325), 1:1 auf 484 (Lücke ~200). Kein Hochformat — das
   zerschneidet die Motive. Der Rest verteilt sich durch align-items:
   center auf beide Seiten und liest sich damit als Absicht. */
@media (min-width: 1000px) {
  .hero .rahmen img { aspect-ratio: 1 / 1; object-fit: cover; }
}

/* ------------------------------------------------------------- Karten */
.karten { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 560px) { .karten { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .karten { grid-template-columns: repeat(3, 1fr); } }
.karte {
  background: var(--weiss); border: 1px solid var(--linie);
  border-top: 3px solid var(--basalt);
  display: flex; flex-direction: column; box-shadow: var(--schatten);
}
.karte img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }
.karte__leib { padding: 18px 20px 22px; display: flex;
               flex-direction: column; flex: 1 1 auto; }
.karte h3 { margin-bottom: 8px; }
.karte p { font-size: 16px; color: var(--basalt-500); margin-bottom: 0; }
.karte__meta {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: .12em;
  text-transform: uppercase; color: var(--messing-700); margin-bottom: 9px;
}
.karte--ruhig { background: var(--grund-2); border-top-color: var(--messing); }

/* ------------------------------------------------------------- Split */
.split { display: grid; gap: clamp(22px, 3vw, 42px); grid-template-columns: 1fr;
         align-items: center; }
/* Zweispalter erst ab 1000 px, nicht ab 880. Gemessen bei 884 px:
   Hero-Lücke 358 px, Standortprofil-Lücke 462 px — die Spalten sind dort
   zu schmal, der Text wird hoch und das Bild bleibt klein. Einspaltig ist
   in diesem Bereich das bessere Layout. */
@media (min-width: 1000px) {
  .hero .wrap { grid-template-columns: 1.06fr .94fr; align-items: center; }
  /* Medienspalte ist die ZWEITE Spalte (.94fr bzw. .96fr) — dafür sind
     SIZES_HERO und SIZES_SPLIT in build.py gerechnet. Wer sie nach vorn
     stellt, bekommt die breitere Spalte und die Konstanten stimmen nicht. */
  .split { grid-template-columns: 1.04fr .96fr; }
}

/* --------------------------------------------------------- Schritte */
.schritte { display: grid; gap: 16px; grid-template-columns: 1fr;
            counter-reset: s; }
@media (min-width: 560px) { .schritte { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .schritte { grid-template-columns: repeat(4, 1fr); } }
.schritt {
  position: relative; background: var(--weiss);
  border: 1px solid var(--linie); padding: 21px 20px 22px;
  clip-path: polygon(0 0, calc(100% - var(--fase)) 0, 100% var(--fase),
                     100% 100%, 0 100%);
}
.schritt::before {
  counter-increment: s; content: counter(s);
  font-family: var(--mono); font-size: 12px; font-weight: 700;
  color: var(--messing-700); display: block; margin-bottom: 9px;
  letter-spacing: .1em;
}
.schritt h3 { font-size: 17.5px; }
.schritt p { font-size: 15.5px; color: var(--basalt-500); margin-bottom: 0; }

/* ------------------------------------------------------------ Listen */
.hakenliste { list-style: none; margin: 18px 0 0; padding: 0; }
.hakenliste li { display: flex; gap: 11px; align-items: flex-start;
                 margin-bottom: 12px; font-size: 16.5px; }
.hakenliste svg { width: 20px; height: 20px; flex: 0 0 auto; margin-top: 3px;
                  color: var(--basalt); }
.hakenliste b { display: block; }
.hakenliste span { color: var(--basalt-500); font-size: 15.5px; }
@media (min-width: 720px) {
  .hakenliste--zwei { display: grid; grid-template-columns: 1fr 1fr;
                      gap: 0 30px; }
}

/* Tun / Lassen */
.tunlassen { display: grid; gap: 16px; grid-template-columns: 1fr;
             margin-top: 8px; }
@media (min-width: 620px) { .tunlassen { grid-template-columns: 1fr 1fr; } }
.tunlassen > div { border: 1px solid var(--linie); background: var(--weiss);
                   padding: 19px 20px 20px; }
.tunlassen--tun    { border-top: 4px solid var(--basalt); }
.tunlassen--lassen { border-top: 4px solid var(--rot); }
.tunlassen h3 { font-size: 17px; margin-bottom: 11px; }
.tunlassen ul { margin: 0; padding-left: 19px; font-size: 16px;
                color: var(--basalt-500); }
.tunlassen li { margin-bottom: 7px; }

/* ------------------------------------------------------------- Bänder */
.band { position: relative; overflow: hidden; }
.band--dunkel { background: var(--dunkel); color: var(--grund); }
.band--messing { background: var(--messing); color: var(--dunkel); }
.band .wrap {
  display: grid; gap: 20px; grid-template-columns: 1fr; align-items: center;
  padding-block: clamp(32px, 4.4vw, 54px);
}
@media (min-width: 880px) { .band .wrap { grid-template-columns: 1.5fr auto; } }
.band h2 { font-size: clamp(23px, 2.8vw, 33px); margin-bottom: 10px; }
.band p { max-width: 54ch; margin-bottom: 0; }
.band--dunkel p { color: var(--basalt-300); }
.band--messing p { color: var(--dunkel); }
.band__tel {
  font-family: var(--mono); font-size: clamp(23px, 3.3vw, 33px);
  font-weight: 700; letter-spacing: -.01em; text-decoration: none;
  display: inline-block; margin-bottom: 12px;
}
.band--dunkel .band__tel { color: var(--messing-300); }
.band--messing .band__tel { color: var(--dunkel); }
.band__rechts { display: grid; justify-items: start; }
@media (min-width: 880px) { .band__rechts { justify-items: end; } }

/* ----------------------------------------------------------- Datenkarte */
.datenkarte {
  margin-top: 15px; background: var(--weiss); border: 1px solid var(--linie);
  border-left: 3px solid var(--basalt); padding: 16px 18px 17px;
}
.datenkarte__kopf {
  font-family: var(--mono); font-size: 11px; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase; color: var(--basalt-500);
  margin: 0 0 12px;
}
.datenkarte dl { margin: 0; display: grid; gap: 7px; }
.datenkarte dl > div {
  display: grid; grid-template-columns: 8.5rem 1fr; gap: 10px;
  align-items: baseline; font-size: 15px;
}
@media (max-width: 419px) {
  .datenkarte dl > div { grid-template-columns: 1fr; gap: 1px; }
}
.datenkarte dt {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: .1em;
  text-transform: uppercase; color: var(--basalt-500);
}
.datenkarte dd { margin: 0; }
.datenkarte__tel {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 14px;
  font-family: var(--mono); font-size: 17px; font-weight: 700;
  color: var(--basalt); text-decoration: none;
}
.datenkarte__tel svg { width: 17px; height: 17px; }
.datenkarte__tel:hover { color: var(--messing-700); text-decoration: underline; }

/* ------------------------------------------------------------- Chips */
.chips { list-style: none; margin: 14px 0 0; padding: 0;
         display: flex; flex-wrap: wrap; gap: 8px; }
.chips a, .chip-fest {
  display: inline-block; padding: 7px 13px; font-size: 15px;
  border: 1px solid var(--linie-2); background: var(--weiss);
  border-radius: var(--r); text-decoration: none; color: var(--basalt);
}
.chips a:hover { border-color: var(--basalt); background: var(--basalt);
                 color: var(--grund); }
.chip-fest { color: var(--basalt-500); background: var(--grund-2); }
.chips li[aria-current="page"] span {
  display: inline-block; padding: 7px 13px; font-size: 15px;
  border: 1px solid var(--basalt); background: var(--basalt);
  color: var(--grund); border-radius: var(--r); font-weight: 700;
}

/* --------------------------------------------------------------- FAQ */
.faq { border-top: 1px solid var(--linie); }
.frage { border-bottom: 1px solid var(--linie); }
.frage summary {
  cursor: pointer; padding: 17px 40px 17px 0; position: relative;
  font-weight: 700; font-size: 17.5px; list-style: none;
}
.frage summary::-webkit-details-marker { display: none; }
.frage summary::after {
  content: ""; position: absolute; right: 8px; top: 25px;
  width: 11px; height: 11px; border-right: 2px solid var(--basalt-500);
  border-bottom: 2px solid var(--basalt-500);
  transform: rotate(45deg); transition: transform .16s ease;
}
.frage[open] summary::after { transform: rotate(225deg); top: 27px; }
.antwort { padding: 0 0 18px; }
.antwort p { color: var(--basalt-500); margin-bottom: 0; max-width: 74ch; }

/* ------------------------------------------------------------ Footer */
.fuss { background: var(--dunkel); color: var(--basalt-300);
        padding-block: clamp(38px, 4.6vw, 62px) 26px; }
.fuss__gitter { display: grid; gap: 30px; grid-template-columns: 1fr; }
@media (min-width: 880px) {
  .fuss__gitter { grid-template-columns: 1.8fr .85fr .95fr 1.25fr; }
}
.fuss h2, .fuss__kopf {
  font-family: var(--mono); font-size: 11px; font-weight: 700;
  letter-spacing: .15em; text-transform: uppercase; color: var(--messing-300);
  margin: 0 0 13px;
}
.fuss__kopf--abstand { margin-top: 22px; }
.fuss ul { list-style: none; margin: 0; padding: 0; }
.fuss li { margin-bottom: 7px; font-size: 15.5px; }
.fuss a { color: var(--basalt-300); text-decoration: none; }
.fuss a:hover { color: var(--weiss); text-decoration: underline; }
.fuss__marke { display: flex; align-items: center; gap: 11px;
               margin-bottom: 14px; }
.fuss__marke img { width: 42px; }
.fuss__marke b { color: var(--grund); font-size: 16.5px; font-weight: 800; }
.fuss__tel {
  font-family: var(--mono); font-size: 20px; font-weight: 700;
  color: var(--messing-300) !important; text-decoration: none;
}
.fuss__orte { columns: 2; column-gap: 20px; }
.fuss__orte li { break-inside: avoid; }
.fuss__hinweis {
  margin-top: 34px; padding-top: 20px;
  border-top: 1px solid rgba(222, 232, 238, .16);
  font-size: 14px; line-height: 1.6; color: #93A2AD;  /* 5,1:1 auf --dunkel */
}
.fuss__recht {
  margin-top: 16px; display: flex; flex-wrap: wrap; gap: 6px 20px;
  font-size: 14px;
}

/* Der Vermittlungshinweis im Footer steht auf JEDER Seite und ist
   keine Formalie — ohne ihn liest sich jedes „wir" im Text so, als
   führe die Betreiberin die Arbeiten selbst aus. Deshalb etwas
   kräftiger gesetzt als die übrigen Fußnoten. */
.fuss__hinweis p:first-child { color: var(--basalt-300); }

/* --------------------------------------------------------- Sticky CTA */
.sticky {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
  background: var(--dunkel); border-top: 2px solid var(--messing);
  padding: 9px var(--gut) calc(9px + env(safe-area-inset-bottom));
  display: grid; gap: 3px; justify-items: center;
}
.sticky a {
  display: inline-flex; align-items: center; gap: 9px;
  font-weight: 800; font-size: 17.5px; color: var(--dunkel);
  background: var(--messing); padding: 12px 26px; border-radius: var(--r);
  text-decoration: none;
}
.sticky svg { width: 19px; height: 19px; }
.sticky__hinweis {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: .1em;
  text-transform: uppercase; color: var(--basalt-300);
}
@media (min-width: 980px) { .sticky { display: none; } }
@media (max-width: 979px) { body { padding-bottom: 92px; } }

/* ---------------------------------------------------------- Rechtstexte */
.recht__leib { max-width: 74ch; }
.recht__leib h2 { font-size: clamp(20px, 2.1vw, 25px); margin-top: 1.7em; }
.recht__leib h3 { font-size: 18px; margin-top: 1.4em; }
.recht__leib p, .recht__leib li { color: var(--basalt-600); }
.recht__stand {
  margin-top: 34px; font-family: var(--mono); font-size: 12.5px;
  letter-spacing: .08em; text-transform: uppercase; color: var(--basalt-500);
}

@media print {
  .kopf, .topbar, .sticky, .band { display: none !important; }
  body { background: #fff; }
}

/* ------------------------------------------------------- Soforthilfe
   Alle Felder stehen VOLLSTÄNDIG im HTML; das Skript schaltet nur um.
   So funktioniert die Seite ohne JavaScript und Suchmaschinen sehen den
   ganzen Text. */
.check__gitter {
  display: grid; gap: 9px; grid-template-columns: repeat(2, 1fr);
  margin: 22px 0 26px;
}
@media (min-width: 620px) { .check__gitter { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 980px) { .check__gitter { grid-template-columns: repeat(6, 1fr); } }
.check__knopf {
  display: flex; flex-direction: column; align-items: center; gap: 7px;
  padding: 13px 8px 12px; cursor: pointer;
  background: rgba(240, 243, 245, .07); color: var(--grund);
  border: 1px solid rgba(222, 232, 238, .26); border-radius: var(--r);
  font-family: var(--sans); font-size: 13.5px; font-weight: 700;
  line-height: 1.25; text-align: center;
  transition: background-color .12s ease, border-color .12s ease;
}
.check__knopf svg { width: 24px; height: 24px; }
.check__knopf:hover { background: rgba(240, 243, 245, .14); }
.check__knopf[aria-pressed="true"] {
  background: var(--messing); color: var(--dunkel);
  border-color: var(--messing);
}
.check__feld {
  background: rgba(240, 243, 245, .055);
  border: 1px solid rgba(222, 232, 238, .2);
  border-left: 3px solid var(--messing);
  padding: clamp(20px, 2.6vw, 30px);
}
.check__feld h3 { color: var(--grund); }
.check__feld p { color: var(--basalt-300); max-width: 74ch; }
.check__feld ul { margin: 0 0 18px; padding-left: 21px; color: var(--basalt-300); }
.check__feld li { margin-bottom: 8px; }
.check__feld b { color: var(--messing-300); }

/* ======================================================  Einsatzgebiet  */
.karte-split { display: grid; gap: clamp(22px, 3vw, 40px);
               grid-template-columns: 1fr; align-items: start; }
@media (min-width: 1000px) {
  /* Karte links in fester Breite, Text rechts. Die Karte ist 580 SVG-
     Einheiten breit; mehr als 500 px braucht sie nicht. */
  .karte-split { grid-template-columns: minmax(0, 500px) 1fr; }
}
.karte-figur { margin: 0; }
.karte-figur .karte { width: 100%; height: auto; display: block;
                      border: 1px solid var(--linie); background: var(--weiss); }
.karte-figur figcaption {
  margin-top: 12px; font-size: 14.5px; line-height: 1.55;
  color: var(--basalt-500);
}
.karte-quelle { display: block; margin-top: 7px; font-size: 13px;
                color: var(--basalt-500); }
.karte__ort text { paint-order: stroke; stroke: var(--weiss);
                   stroke-width: 2.6px; stroke-linejoin: round; }
.karte__ort:hover circle { stroke: var(--basalt); stroke-width: 2.2; }
.karte__ort:hover text { fill: var(--basalt); }
.karte__ort:focus-visible circle { stroke: var(--messing-700);
                                   stroke-width: 3; }
.karte-neben h2 { margin-bottom: .55em; }
.karte-neben p { color: var(--basalt-500); }

/* Zahlen-Gegenüberstellung der beiden Kreise */
.legende { margin-top: 22px; border: 1px solid var(--linie);
           background: var(--weiss); }
.legende__zeile {
  display: grid; grid-template-columns: 14px 1fr auto auto;
  gap: 12px; align-items: baseline; padding: 11px 15px;
  border-bottom: 1px solid var(--linie); font-size: 15px;
}
.legende__zeile:last-child { border-bottom: none; }
.legende__zeile--kopf, .legende__zeile--summe {
  font-family: var(--mono); font-size: 10.5px; font-weight: 700;
  letter-spacing: .11em; text-transform: uppercase;
  color: var(--basalt-500); background: var(--grund-2);
}
.legende__marker { width: 12px; height: 12px; border-radius: 50%;
                   align-self: center; }
.legende__zahl { font-variant-numeric: tabular-nums; font-weight: 700;
                 text-align: right; min-width: 4.5rem; }
.legende__hinweis { margin-top: 12px; font-size: 14.5px;
                    color: var(--basalt-500); }
@media (max-width: 419px) {
  .legende__zeile { grid-template-columns: 12px 1fr auto; gap: 9px; }
  .legende__zeile span:nth-child(4) { display: none; }
}

/* Die beiden Kreise nebeneinander */
.kreis-gitter { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 900px) { .kreis-gitter { grid-template-columns: 1fr 1fr; } }
.kreis-karte { background: var(--weiss); border: 1px solid var(--linie);
               display: flex; flex-direction: column; }
.kreis-karte--ww { border-top: 4px solid var(--basalt); }
.kreis-karte--ak { border-top: 4px solid var(--messing); }
.kreis-karte__kopf { padding: 18px 20px 0; }
.kreis-karte__kopf h3 { font-size: clamp(20px, 2vw, 24px); margin: 6px 0 0; }
.kreis-karte__leib { padding: 14px 20px 22px; }
.kreis-karte__leib p { color: var(--basalt-500); font-size: 16px; }

/* ========================================================== Ratgeber
   Der Beitragstext ist die einzige Stelle der Seite mit langem
   Fliesstext. Er bekommt deshalb eine eigene Zeilenlaenge (68ch) und
   etwas mehr Durchschuss — die uebrigen Textbloecke sind kurz genug,
   dass 62ch im Mehrspalter reichen. */
/* 818, nicht 820: der .rahmen frisst 2x(8 px Polster + 1 px Linie),
   also bleiben genau 800 px Bild. Bei 820 waren es 802 — und zwei
   Pixel zuviel zwingen jeden Desktop-Browser ohne Retina auf die
   1200er Datei statt der 800er, also rund das Dreifache an Bytes. */
.beitrag__figur { margin: 0 0 clamp(26px, 3.4vw, 40px); max-width: 818px; }
.beitrag__leib { max-width: 68ch; }
.beitrag__leib p { font-size: 17.5px; line-height: 1.68; color: var(--basalt-600); }
.beitrag__leib p + p { margin-top: -.1em; }

.beitrag__meta {
  font-family: var(--mono); font-size: 12px; letter-spacing: .09em;
  text-transform: uppercase; color: var(--basalt-500);
  display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 14px;
}

/* Der Handlungsaufruf im Beitrag traegt die Fase oben rechts wie die
   uebrigen Karten — sonst liest er sich als Fremdkoerper im Text. */
.beitrag__tun {
  max-width: 820px; margin: clamp(30px, 4vw, 48px) 0;
  background: var(--grund-2); border: 1px solid var(--linie);
  border-left: 3px solid var(--messing); padding: 24px 26px 26px;
  clip-path: polygon(0 0, calc(100% - var(--fase)) 0, 100% var(--fase),
                     100% 100%, 0 100%);
}
.beitrag__tun h2 { font-size: clamp(20px, 2.1vw, 25px); }
.beitrag__tun p { color: var(--basalt-600); max-width: 60ch; }

.beitrag__block { max-width: 820px; margin-top: clamp(34px, 4.4vw, 56px); }
.beitrag__block h2 { font-size: clamp(21px, 2.3vw, 27px); }

.zurueck {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--mono); font-size: 11.5px; letter-spacing: .12em;
  text-transform: uppercase; color: var(--basalt-500); text-decoration: none;
}
/* KEINE Drehung: #ic-arrow im Sprite zeigt bereits nach links
   (M14.2 5.4 7.6 12l6.6 6.6). Ein rotate(180deg) liess den
   Zurueck-Link nach RECHTS zeigen. Gedreht wird stattdessen das
   Weiterlesen-Pfeilchen. */
.zurueck svg { width: 13px; height: 13px; }
.zurueck:hover { color: var(--messing-700); text-decoration: underline; }

.lead__titel { font-size: clamp(22px, 2.6vw, 30px); margin-bottom: .45em; }
.lead__titel a { text-decoration: none; }
.lead__titel a:hover { text-decoration: underline; }

/* Kartenbild als eigener Link: aria-hidden + tabindex="-1", damit es
   keinen zweiten Tabstopp auf dasselbe Ziel gibt. */
.karte__bild { display: block; }
.karte h3 a { text-decoration: none; }
.karte h3 a:hover { text-decoration: underline; }
.karte__mehr { margin-top: auto; padding-top: 14px; }
.karte__mehr a {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--mono); font-size: 12px; letter-spacing: .1em;
  text-transform: uppercase; font-weight: 700;
  color: var(--messing-700); text-decoration: none;
}
.karte__mehr svg { width: 14px; height: 14px; transform: rotate(180deg); }
.karte__mehr a:hover { text-decoration: underline; }

.themen { list-style: none; margin: 18px 0 0; padding: 0; }
.themen li {
  display: flex; justify-content: space-between; align-items: baseline;
  gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--linie);
}
.themen li:first-child { border-top: 1px solid var(--linie); }
.themen a { font-weight: 700; text-decoration: none; }
.themen a:hover { text-decoration: underline; }
.themen__n {
  font-family: var(--mono); font-size: 11px; letter-spacing: .1em;
  text-transform: uppercase; color: var(--basalt-500); white-space: nowrap;
}
