/* =========================================================
   Großbauprojekte des Rhein-Sieg-Kreises – BSW Gruppe im Kreistag
   Corporate Design nach den BSW-Gestaltungsrichtlinien.
   Aufbau und Farbwelt folgen verkehr.bsw-gruppe.com.
   ========================================================= */

@font-face {
  font-family: 'BSW';
  src: url('../fonts/bsw-light.woff2') format('woff2');
  font-weight: 300; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'BSW';
  src: url('../fonts/bsw-bold.woff2') format('woff2');
  font-weight: 700; font-style: normal; font-display: swap;
}

:root {
  --violett: #792351;
  --dark-pink: #b11949;
  --pink: #cf0055;
  --dark-orange: #ee7402;
  --light-orange: #f49800;
  --stoerer: #ffcc00;

  --verlauf: linear-gradient(90deg, #792351 0%, #b11949 32%, #cf0055 58%, #ee7402 88%, #f49800 100%);
  --verlauf-schraeg: linear-gradient(105deg, #792351 0%, #b11949 34%, #cf0055 62%, #ee7402 92%, #f49800 100%);

  --tinte: #16121a;
  --flaeche: #ffffff;
  --hintergrund: #f6f4f6;
  --flaeche-2: #faf7f9;
  --text: #16121a;
  --text-leise: #5c5462;
  --rand: #e4dee6;
  --rand-stark: #cbc0ce;

  --schatten: 0 1px 2px rgba(22, 18, 26, .05), 0 6px 20px rgba(22, 18, 26, .07);
  --schatten-stark: 0 6px 18px rgba(121, 35, 81, .12), 0 18px 44px rgba(22, 18, 26, .12);
  --radius: 4px;
  --breite: 1140px;

  --mangel: #cf0055;
  --hinweis: #ee7402;
  --kein: #8a8a8a;
  --unbekannt: #6b7280;
}

@media (prefers-color-scheme: dark) {
  :root {
    --tinte: #131016;
    --flaeche: #1b171f;
    --flaeche-2: #221d27;
    --hintergrund: #131016;
    --text: #f2eef4;
    --text-leise: #b0a6b6;
    --rand: #362e3c;
    --rand-stark: #4a4051;
    --pink: #ff4d8d;
    --dark-pink: #ff4d8d;
    --light-orange: #ffa62b;
    --mangel: #ff4d8d;
    --hinweis: #ffa62b;
    --schatten: 0 1px 2px rgba(0,0,0,.4), 0 6px 20px rgba(0,0,0,.35);
    --schatten-stark: 0 6px 18px rgba(0,0,0,.45), 0 18px 44px rgba(0,0,0,.4);
  }
}

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

html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

body {
  font-family: 'BSW', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-weight: 300; font-size: 17.5px; line-height: 1.62;
  color: var(--text); background: var(--hintergrund);
  overflow-x: hidden; -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, strong, b, th { font-weight: 700; }
h1, h2, h3, h4 { line-height: 1.14; letter-spacing: -.015em; text-wrap: balance; }
p { text-wrap: pretty; }

a { color: var(--dark-pink); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 2px; }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible {
  outline: 3px solid var(--pink); outline-offset: 2px; border-radius: 2px;
}

img { max-width: 100%; height: auto; display: block; }
.container { max-width: var(--breite); margin: 0 auto; padding: 0 20px; }
.klein { font-size: .86rem; color: var(--text-leise); }
.zentriert { text-align: center; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--pink); color: #fff; padding: 12px 20px; font-weight: 700;
}
.skip-link:focus { left: 0; }

/* ---------- Navigation ---------- */
nav {
  background: var(--flaeche); position: sticky; top: 0; z-index: 100;
  box-shadow: 0 1px 3px rgba(22, 18, 26, .08);
}
nav::after { content: ''; display: block; height: 4px; background: var(--verlauf); }
nav .container { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
nav .logo { display: flex; align-items: center; padding: 12px 0; }
nav .logo img { height: 38px; width: auto; }
nav .logo:hover { text-decoration: none; }

.nav-toggle {
  display: none; background: none; border: 1px solid var(--rand-stark);
  border-radius: var(--radius); padding: 9px 13px; cursor: pointer;
  color: var(--text); font-family: inherit; font-size: .9rem; font-weight: 700;
  align-items: center; gap: 9px;
}
.nav-toggle .bars { display: block; width: 18px; height: 2px; background: currentColor; position: relative; }
.nav-toggle .bars::before, .nav-toggle .bars::after {
  content: ''; position: absolute; left: 0; width: 18px; height: 2px; background: currentColor;
}
.nav-toggle .bars::before { top: -6px; }
.nav-toggle .bars::after { top: 6px; }

nav ul { list-style: none; display: flex; flex-wrap: wrap; }
nav ul li a {
  display: block; padding: 17px 11px; color: var(--text-leise);
  font-size: .88rem; font-weight: 700; border-bottom: 3px solid transparent;
}
nav ul li a:hover { color: var(--text); text-decoration: none; }
nav ul li a.active { color: var(--pink); border-bottom-color: var(--pink); }
nav ul li a.podcast-nav {
  color: #16121a; background: var(--stoerer); border-radius: 100px;
  padding: 8px 16px; margin: 10px 4px; border-bottom: 0;
}
nav ul li a.podcast-nav:hover { background: #ffd633; color: #000; text-decoration: none; }

@media (max-width: 980px) {
  .nav-toggle { display: inline-flex; }
  nav ul { display: none; width: 100%; flex-direction: column; border-top: 1px solid var(--rand); padding-bottom: 8px; }
  nav ul.offen { display: flex; }
  nav ul li a { padding: 13px 4px; border-bottom: 1px solid var(--rand); }
  nav ul li:last-child a { border-bottom: none; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; color: #fff; padding: 72px 0 66px; overflow: hidden;
  background: var(--verlauf-schraeg);
}
.hero .container { position: relative; z-index: 1; }
.hero .kicker {
  display: inline-block; background: var(--stoerer); color: #000;
  padding: 6px 15px; font-size: .8rem; font-weight: 700;
  letter-spacing: .07em; text-transform: uppercase; margin-bottom: 22px;
  transform: rotate(-1.6deg);
}
.hero h1 { color: #fff; font-size: clamp(2.1rem, 6.4vw, 4rem); line-height: 1.04; margin-bottom: 22px; text-transform: uppercase; }
.hero .lead { color: rgba(255,255,255,.95); font-size: clamp(1.02rem, 2.2vw, 1.22rem); max-width: 46rem; margin-bottom: 22px; }
.hero .lead strong { color: #fff; }
.hero-meta { margin-top: 26px; font-size: .82rem; color: rgba(255,255,255,.78); }

.btn-reihe { display: flex; gap: 12px; flex-wrap: wrap; }
.btn {
  display: inline-block; background: var(--stoerer); color: #000;
  padding: 14px 30px; font-weight: 700; font-size: 1rem;
  border: 2px solid var(--stoerer); cursor: pointer; border-radius: var(--radius);
  font-family: inherit; transition: transform .15s, box-shadow .15s;
}
.btn:hover { text-decoration: none; color: #000; transform: translateY(-2px); box-shadow: 0 6px 18px rgba(0,0,0,.25); }
.btn-outline { background: transparent; border-color: var(--dark-pink); color: var(--dark-pink); }
.btn-outline:hover { background: var(--dark-pink); border-color: var(--dark-pink); color: #fff; }
.hero .btn-outline { border-color: rgba(255,255,255,.65); color: #fff; }
.hero .btn-outline:hover { background: rgba(255,255,255,.14); border-color: #fff; }

/* ---------- Animierte Bilanz (Startseite) ---------- */
.bombe { position: relative; overflow: hidden; background: #120d15; color: #fff; padding: 46px 0 56px; }
.bombe::before {
  content: ''; position: absolute; inset: 0;
  background: var(--verlauf-schraeg); opacity: .20;
}
.bombe .container { position: relative; z-index: 1; }
.bombe .eyebrow {
  background: none; -webkit-text-fill-color: #ffcc00; color: #ffcc00;
}
.bombe h2 { color: #fff; font-size: clamp(1.6rem, 4vw, 2.3rem); margin-bottom: 6px; }
.bombe .unterzeile { color: rgba(255,255,255,.75); font-size: 1rem; max-width: 46rem; }
.bombe-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; margin-top: 28px; }
.bombe-feld {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.16);
  border-radius: var(--radius); padding: 22px 24px 24px; border-top: 4px solid var(--stoerer);
}
.bombe-wert {
  display: block; font-weight: 700; line-height: 1;
  font-size: clamp(2.2rem, 5.4vw, 3.3rem); letter-spacing: -.03em;
  color: var(--stoerer); font-variant-numeric: tabular-nums;
}
.bombe-wert .einheit { font-size: .5em; }
.bombe-text { display: block; margin-top: 12px; font-size: .92rem; color: rgba(255,255,255,.82); }
.bombe-text b { color: #fff; }

.rennen { margin-top: 40px; }
.rennen h3 { color: #fff; font-size: 1.1rem; margin-bottom: 4px; }
.rennen .hinweiszeile { color: rgba(255,255,255,.7); font-size: .85rem; margin-bottom: 18px; }
.rennen-zeile {
  display: grid; grid-template-columns: minmax(150px, 230px) 1fr minmax(72px, 90px);
  align-items: center; gap: 12px; margin-bottom: 9px;
}
.rennen-name { font-size: .85rem; color: rgba(255,255,255,.88); text-align: right; }
.rennen-spur { background: rgba(255,255,255,.12); border-radius: 3px; height: 18px; overflow: hidden; }
.rennen-balken {
  height: 100%; width: 0; border-radius: 3px;
  transition: width 3s cubic-bezier(.2, .8, .2, 1);
}
.rennen-zeile { will-change: transform; }
.rennen-wert { font-weight: 700; font-size: .92rem; color: #fff; font-variant-numeric: tabular-nums; }
.rennen-legende { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 16px; font-size: .82rem; color: rgba(255,255,255,.72); }
.rennen-legende span { display: inline-flex; align-items: center; gap: 7px; }
.rennen-legende i { width: 13px; height: 13px; border-radius: 3px; display: inline-block; }
@media (prefers-reduced-motion: reduce) {
  .rennen-balken { transition: none; }
}
@media (max-width: 620px) {
  .rennen-zeile { grid-template-columns: 1fr; gap: 3px; }
  .rennen-name { text-align: left; order: 1; }
  .rennen-spur { order: 2; }
  .rennen-wert { order: 3; }
}

/* ---------- Sektionen ---------- */
section { padding: 62px 0; }
section.hell { background: var(--flaeche); }
.eyebrow {
  display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; margin-bottom: 12px;
  background: var(--verlauf); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.section-title { font-size: clamp(1.7rem, 4.4vw, 2.6rem); margin-bottom: 12px; }
.section-title .akzent { background: var(--verlauf); -webkit-background-clip: text; background-clip: text; color: transparent; }
.section-subtitle { font-size: 1.08rem; color: var(--text-leise); margin-bottom: 34px; max-width: 48rem; }

/* ---------- Kennzahlen ---------- */
.kennzahlen {
  position: relative; overflow: hidden; background: var(--flaeche);
  border: 1px solid var(--rand); border-radius: var(--radius);
  box-shadow: var(--schatten); margin: 26px 0 10px; padding: 4px 0 0;
}
.kennzahlen::before { content: ''; display: block; height: 4px; background: var(--verlauf); }
.kz-gitter { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 0; background: var(--flaeche); margin-top: 4px; }
.kz-feld { background: var(--flaeche); padding: 22px 24px 24px; border-right: 1px solid var(--rand); border-bottom: 1px solid var(--rand); }
.kz-wert { display: block; font-weight: 700; line-height: 1.02; font-size: clamp(1.6rem, 1rem + 1.9vw, 2.15rem); color: var(--dark-pink); letter-spacing: -.02em; }
.kz-wert .kz-zusatz { font-size: .56em; }
.kz-text { display: block; margin-top: 9px; font-size: .88rem; line-height: 1.42; color: var(--text-leise); }
.kz-text b { color: var(--text); }

/* ---------- Fazit-Karten ---------- */
.fazit-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.fazit-karte {
  background: var(--flaeche); border: 1px solid var(--rand); border-radius: var(--radius);
  padding: 24px; box-shadow: var(--schatten); border-top: 5px solid var(--pink);
  display: flex; flex-direction: column;
}
.fazit-karte .nr {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; background: var(--verlauf); color: #fff;
  font-weight: 700; font-size: .95rem; margin-bottom: 14px; border-radius: 2px;
}
.fazit-karte h3 { font-size: 1.08rem; margin-bottom: 9px; }
.fazit-karte p { font-size: .93rem; color: var(--text-leise); }
.fazit-karte .zahlen { margin-top: 12px; font-size: .84rem; color: var(--dark-pink); font-weight: 700; }

/* ---------- Störer-Band ---------- */
.stoerer-band { background: var(--verlauf-schraeg); color: #fff; padding: 44px 0; text-align: center; }
.stoerer-band .zahl { font-size: clamp(2.6rem, 9vw, 5rem); line-height: 1; font-weight: 700; }
.stoerer-band .text { font-size: clamp(1rem, 2.4vw, 1.25rem); margin-top: 10px; max-width: 48rem; margin-inline: auto; }

/* ---------- Hinweis / Zitat ---------- */
.hinweis {
  background: var(--flaeche-2); border-left: 5px solid var(--pink);
  padding: 20px 24px; margin: 28px 0; font-size: .96rem; border-radius: 0 var(--radius) var(--radius) 0;
}
.hinweis.fair { border-left-color: var(--light-orange); }
.hinweis strong:first-child { color: var(--dark-pink); }
.hinweis.fair strong:first-child { color: var(--dark-orange); }

.quelle { font-size: .78rem; color: var(--text-leise); display: block; line-height: 1.45; margin-top: 8px; }

/* ---------- Projektkarten ---------- */
.karten-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(310px, 1fr)); gap: 22px; }
.projekt-karte {
  background: var(--flaeche); border: 1px solid var(--rand); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--schatten); display: flex; flex-direction: column;
  transition: transform .18s, box-shadow .18s; position: relative;
}
.projekt-karte:hover { transform: translateY(-4px); box-shadow: var(--schatten-stark); }
.projekt-karte .streifen { height: 6px; background: var(--verlauf); }
.projekt-karte .inhalt { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.projekt-karte h3 { font-size: 1.12rem; margin-bottom: 8px; }
.projekt-karte h3 a { color: var(--text); }
.projekt-karte h3 a:hover { color: var(--pink); text-decoration: none; }
.projekt-karte .kategorie { font-size: .76rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--text-leise); margin-bottom: 6px; }
.projekt-karte .kennzahlen-zeile { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 14px 0 4px; }
.projekt-karte .kennzahl { font-size: .84rem; color: var(--text-leise); }
.projekt-karte .kennzahl b { display: block; font-size: 1.18rem; color: var(--dark-pink); }
.projekt-karte .kennzahl.gruen b { color: #1f7a4d; }
.projekt-karte .mehr { margin-top: auto; padding-top: 16px; font-weight: 700; font-size: .9rem; }

.tag {
  display: inline-block; padding: 4px 12px; font-size: .7rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .06em; margin: 0 6px 0 0;
  color: #fff; background: var(--pink); border-radius: 2px;
}
.tag.violett { background: var(--violett); }
.tag.orange { background: var(--dark-orange); }
.tag.grau { background: var(--kein); }
.tag.gruen { background: #1f7a4d; }

/* ---------- Filterleiste ---------- */
.filterleiste {
  display: flex; flex-wrap: wrap; gap: 10px; align-items: center;
  background: var(--flaeche); border: 1px solid var(--rand); border-radius: var(--radius);
  padding: 14px 16px; margin-bottom: 26px; box-shadow: var(--schatten);
}
.filterleiste label { font-size: .8rem; font-weight: 700; color: var(--text-leise); text-transform: uppercase; letter-spacing: .05em; }
.filterleiste input[type="search"], .filterleiste select {
  font: inherit; font-size: .92rem; padding: 9px 12px; border: 1px solid var(--rand-stark);
  border-radius: var(--radius); background: var(--flaeche); color: var(--text);
}
.filterleiste input[type="search"] { flex: 1 1 220px; }
.filter-leer { display: none; padding: 24px; color: var(--text-leise); }

/* ---------- Tabellen ---------- */
.tabelle-wrap {
  overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 22px 0;
  border: 1px solid var(--rand); border-radius: var(--radius);
}
table { border-collapse: collapse; width: 100%; min-width: 560px; font-size: .9rem; background: var(--flaeche); }
th, td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--rand); vertical-align: top; }
thead th {
  background: var(--verlauf); color: #fff; font-size: .78rem;
  text-transform: uppercase; letter-spacing: .06em; border-bottom: none;
}
tbody tr:last-child td { border-bottom: none; }
td.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }

/* ---------- Diagramme ---------- */
.diagramm {
  background: var(--flaeche); border: 1px solid var(--rand); border-radius: var(--radius);
  padding: 14px; box-shadow: var(--schatten); margin: 24px 0; overflow-x: auto;
}
.diagramm img, .diagramm svg { display: block; width: 100%; height: auto; }
.diagramm figcaption { font-size: .8rem; color: var(--text-leise); margin-top: 10px; padding: 0 4px; }

/* ---------- Steckbrief ---------- */
.steckbrief { max-width: 920px; }
.steckbrief > h3:first-child { display: none; }
.steckbrief h2 { font-size: 1.4rem; margin: 40px 0 14px; color: var(--dark-pink); }
.steckbrief h3 { font-size: 1.12rem; margin: 28px 0 10px; }
.steckbrief p { margin-bottom: 14px; }
.steckbrief ul, .steckbrief ol { padding-left: 24px; margin-bottom: 18px; }
.steckbrief li { margin-bottom: 8px; }
.steckbrief ol li::marker { font-weight: 700; color: var(--pink); }
.steckbrief img { border: 1px solid var(--rand); border-radius: var(--radius); margin: 8px 0 4px; }
.steckbrief table { font-size: .86rem; }
.steckbrief code { background: var(--flaeche-2); border: 1px solid var(--rand); border-radius: 3px; padding: 1px 5px; font-size: .88em; }
.steckbrief blockquote { border-left: 4px solid var(--rand-stark); padding: 4px 0 4px 18px; color: var(--text-leise); margin: 16px 0; }

/* ---------- Eckdaten-Kopf ---------- */
.eckdaten {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 0; background: var(--flaeche); border: 1px solid var(--rand);
  border-radius: var(--radius); overflow: hidden; margin: 22px 0 30px;
}
.eckdaten .feld {
  background: var(--flaeche); padding: 16px 18px;
  border-right: 1px solid var(--rand); border-bottom: 1px solid var(--rand);
}
.eckdaten .feld .beschriftung { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--text-leise); margin-bottom: 5px; }
.eckdaten .feld .wert { font-size: 1.04rem; font-weight: 700; }
.eckdaten .feld .wert.gross { font-size: 1.35rem; color: var(--dark-pink); }
.eckdaten .feld .wert.plus { color: var(--dark-pink); }
.eckdaten .feld .wert.minus { color: #1f7a4d; }

/* ---------- Krümel / Breadcrumb ---------- */
.krumen { font-size: .82rem; color: var(--text-leise); padding: 18px 0 0; }
.krumen a { color: var(--text-leise); }
.krumen a:hover { color: var(--pink); }

/* ---------- Mängelmatrix ---------- */
.matrix-wrap { overflow-x: auto; }
.matrix { border-collapse: separate; border-spacing: 2px; min-width: 760px; font-size: .84rem; background: transparent; }
.matrix th, .matrix td { padding: 7px 6px; text-align: center; border: none; border-radius: 3px; }
.matrix thead th { background: var(--tinte); color: #fff; font-size: .74rem; }
.matrix thead th.zeile { background: var(--tinte); color: #fff; text-align: left; }
.matrix th.zeile { text-align: left; background: var(--flaeche-2); font-weight: 700; min-width: 230px; font-size: .82rem; }
.matrix td.zelle { font-weight: 700; }
.matrix td.m { background: var(--mangel); color: #fff; }
.matrix td.h { background: var(--hinweis); color: #fff; }
.matrix td.ue { background: #d9d6d0; color: #333; }
.matrix td.kein { background: #ece9ef; color: #6b7280; }
.matrix td.unbek { background: #6b7280; color: #fff; }
.matrix td.offen { background: #3f3a45; color: #fff; }
@media (prefers-color-scheme: dark) {
  .matrix td.ue { background: #4a4051; color: #eee; }
  .matrix td.kein { background: #2c2632; color: #b0a6b6; }
}
.legende { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 16px 0; font-size: .84rem; color: var(--text-leise); }
.legende span { display: inline-flex; align-items: center; gap: 7px; }
.legende i { width: 14px; height: 14px; border-radius: 3px; display: inline-block; }
.legende .i-m { background: var(--mangel); }
.legende .i-h { background: var(--hinweis); }
.legende .i-ue { background: #d9d6d0; }
.legende .i-kein { background: #ece9ef; }
.legende .i-unbek { background: #6b7280; }
.legende .i-offen { background: #3f3a45; }

/* ---------- Charts (JS) ---------- */
.chart { margin: 10px 0; }
.chart svg { width: 100%; height: auto; display: block; }
.chart .achse { stroke: var(--rand-stark); stroke-width: 1; }
.chart .gitter { stroke: var(--rand); stroke-width: 1; }
.chart text { font-family: inherit; fill: var(--text-leise); }
.chart .balken { transition: opacity .15s; }
.chart .balken:hover { opacity: .8; }
.chart .wert-text { fill: var(--text); font-weight: 700; }
.chart-titel { font-weight: 700; fill: var(--text); }

/* ---------- Textseiten (Rechtliches, Methode) ---------- */
.textseite { padding: 46px 0; }
.textseite .container { max-width: 880px; }
.textseite h1 { font-size: clamp(1.8rem, 4.6vw, 2.4rem); margin-bottom: 8px; }
.textseite .meta { color: var(--text-leise); font-size: .88rem; margin-bottom: 30px; }
.textseite h2 { font-size: 1.35rem; margin: 40px 0 14px; color: var(--dark-pink); }
.textseite h3 { font-size: 1.1rem; margin: 26px 0 10px; }
.textseite p { margin-bottom: 14px; }
.textseite ul, .textseite ol { padding-left: 24px; margin-bottom: 18px; }
.textseite li { margin-bottom: 9px; }
.textseite ol li::marker { font-weight: 700; color: var(--pink); }
.textseite table { font-size: .9rem; }
.textseite img { border: 1px solid var(--rand); border-radius: var(--radius); }

/* ---------- Inhaltsverzeichnis ---------- */
.toc { background: var(--flaeche); border: 1px solid var(--rand); border-radius: var(--radius); padding: 22px 26px; margin: 24px 0; box-shadow: var(--schatten); }
.toc h2 { margin-top: 0 !important; }
.toc ol { list-style: none; counter-reset: abschnitt; padding-left: 0; }
.toc > ol > li { counter-increment: abschnitt; margin-bottom: 6px; }
.toc > ol > li > a::before { content: counter(abschnitt) ". "; font-weight: 700; color: var(--pink); }
.toc ul { list-style: none; padding-left: 22px; margin: 4px 0 10px; }
.toc ul li { margin-bottom: 3px; font-size: .92rem; }

/* ---------- CTA / Footer ---------- */
.cta { background: var(--verlauf-schraeg); color: #fff; text-align: center; }
.cta h2 { color: #fff; font-size: clamp(1.6rem, 4.2vw, 2.4rem); margin-bottom: 16px; }
.cta p { color: rgba(255,255,255,.94); max-width: 44rem; margin: 0 auto 28px; font-size: 1.05rem; }
.cta .btn-reihe { justify-content: center; }

footer { background: var(--tinte); color: #a89dae; padding: 46px 0 30px; font-size: .88rem; }
footer::before { content: ''; display: block; height: 4px; background: var(--verlauf); margin-bottom: 46px; }
footer .grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 34px; }
footer h5 { color: #fff; font-size: .92rem; margin-bottom: 13px; }
footer a { color: #c5bccb; }
footer a:hover { color: #fff; }
footer p { margin-bottom: 5px; }
footer .logo-fuss img { height: 40px; width: auto; margin-bottom: 16px; }
footer .rechtlich { border-top: 1px solid #332c39; margin-top: 34px; padding-top: 24px; text-align: center; font-size: .8rem; color: #85798c; }

/* ---------- Podcast (hervorgehobenes Band) ---------- */
.podcast-band {
  background: var(--stoerer); color: #16121a; padding: 42px 0 46px;
  border-top: 4px solid #000; border-bottom: 4px solid #000;
}
.podcast-hero { display: grid; grid-template-columns: 1fr; gap: 26px; align-items: center; }
@media (min-width: 760px) { .podcast-hero { grid-template-columns: minmax(0, 300px) 1fr; gap: 34px; } }
.podcast-cover {
  width: 100%; border: 3px solid #000; border-radius: var(--radius);
  box-shadow: 0 12px 34px rgba(0, 0, 0, .28);
}
.podcast-text .kicker {
  display: inline-block; background: #16121a; color: var(--stoerer);
  padding: 5px 14px; font-size: .76rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase; margin-bottom: 12px;
}
.podcast-text h2 { color: #16121a; font-size: clamp(1.5rem, 3.6vw, 2.35rem); margin-bottom: 10px; }
.podcast-text > p { color: #241f28; font-size: 1.02rem; margin-bottom: 12px; max-width: 44rem; }
.podcast-text audio { width: 100%; margin: 6px 0 4px; }
.podcast-text .klein { color: #3a343e; font-size: .82rem; line-height: 1.5; max-width: 46rem; }
.podcast-text .klein strong { color: #16121a; }

.btn-hell { background: #fff; border-color: #fff; color: #16121a; }
.btn-hell:hover { background: #fff; border-color: #fff; color: #000; }

/* ---------- Utilities ---------- */
.knall { background: var(--stoerer); color: #000; padding: 26px 28px; margin: 30px 0; border-radius: var(--radius); box-shadow: var(--schatten); }
.knall .titel { font-size: 1.22rem; font-weight: 700; margin-bottom: 8px; }
.knall p { font-size: .98rem; }
.knall p + p { margin-top: 10px; }
.zwei-spalten { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 20px; }
.box { background: var(--flaeche); border: 1px solid var(--rand); border-radius: var(--radius); padding: 22px; }

/* ---------- Chart-Bedienung ---------- */
.chart-steuerung { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 4px 0 14px; }
.chart-hinweis { font-size: .78rem; color: var(--text-leise); margin-right: 6px; }
.chip {
  font: inherit; font-size: .84rem; font-weight: 700; cursor: pointer;
  background: var(--flaeche-2); color: var(--text);
  border: 1px solid var(--rand-stark); border-radius: 100px; padding: 6px 14px;
}
.chip:hover { border-color: var(--pink); }
.chip.aktiv { background: var(--pink); border-color: var(--pink); color: #fff; }

/* ---------- Top-Liste ---------- */
.top-liste { list-style: none; counter-reset: top; padding: 0; }
.top-liste li {
  counter-increment: top; position: relative; padding: 16px 0 16px 52px;
  border-bottom: 1px solid var(--rand); display: flex; flex-direction: column; gap: 4px;
}
.top-liste li:last-child { border-bottom: none; }
.top-liste li::before {
  content: counter(top); position: absolute; left: 0; top: 16px;
  width: 34px; height: 34px; display: flex; align-items: center; justify-content: center;
  background: var(--verlauf); color: #fff; font-weight: 700; border-radius: 2px; font-size: .95rem;
}
.top-liste a { font-weight: 700; }

/* ---------- Nach oben ---------- */
.nach-oben {
  position: fixed; right: 20px; bottom: 20px; z-index: 90;
  width: 46px; height: 46px; border-radius: 50%; cursor: pointer;
  background: var(--flaeche); color: var(--text); border: 1px solid var(--rand-stark);
  box-shadow: var(--schatten-stark); font-size: 1rem; line-height: 1;
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity .2s, transform .2s, visibility .2s;
}
.nach-oben.sichtbar { opacity: 1; visibility: visible; transform: translateY(0); }
.nach-oben:hover { color: var(--pink); border-color: var(--pink); }

/* ---------- Inhaltsverzeichnis aktiv ---------- */
.toc a.aktiv { color: var(--pink); font-weight: 700; }

@media (max-width: 620px) {
  section { padding: 44px 0; }
  .kz-feld { padding: 16px 18px 18px; }
  .chart text { font-size: 13px; }
}

/* ---------- Druck ---------- */
@media print {
  nav, .cta, .btn-reihe, .filterleiste, .stoerer-band { display: none !important; }
  body { background: #fff; color: #000; font-size: 11pt; }
  .hero { background: none !important; color: #000; padding: 20px 0; }
  .hero h1, .hero .lead, .hero-meta, .hero .kicker { color: #000; background: none; }
  section { padding: 16px 0; page-break-inside: avoid; }
  .projekt-karte, .fazit-karte, .box, .diagramm { box-shadow: none; border: 1px solid #bbb; }
  thead th { background: #eee !important; color: #000 !important; }
  footer { background: none; color: #000; }
}


/* ---------- Preisschild und Störer (Projektsummen) ---------- */
.preisschild {
  position: relative; display: block; background: var(--stoerer); color: #000;
  border-left: 8px solid #000; border-radius: 3px; padding: 10px 76px 12px 14px; margin: 10px 0 12px;
  box-shadow: 0 3px 0 rgba(0,0,0,.18); font-variant-numeric: tabular-nums; min-height: 78px;
}
.preisschild::before {
  content: ""; position: absolute; left: 6px; top: 50%; width: 9px; height: 9px; margin-top: -4px;
  border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 2px #000; display: none;
}
.ps-kopf { display: block; font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: #3a3000; }
.ps-alt { display: block; font-size: .86rem; color: #3a3000; margin-top: 2px; }
.ps-alt s { text-decoration-thickness: 2px; text-decoration-color: #e3000f; }
.ps-preis { display: block; font-weight: 700; line-height: 1; font-size: 2rem; letter-spacing: -.02em; margin-top: 3px; }
.ps-preis small { font-size: .45em; letter-spacing: 0; }
.ps-preis.ps-unbekannt { font-size: 1.5rem; }
.ps-fuss { display: block; font-size: .78rem; margin-top: 4px; }
.ps-stern {
  position: absolute; right: -14px; top: -18px; width: 86px; height: 86px;
  background: #e3000f; color: #fff; clip-path: polygon(50.0% 0.0%, 58.9% 11.0%, 71.7% 5.0%, 74.9% 18.7%, 89.1% 18.8%, 86.0% 32.6%, 98.7% 38.9%, 90.0% 50.0%, 98.7% 61.1%, 86.0% 67.4%, 89.1% 81.2%, 74.9% 81.3%, 71.7% 95.0%, 58.9% 89.0%, 50.0% 100.0%, 41.1% 89.0%, 28.3% 95.0%, 25.1% 81.3%, 10.9% 81.2%, 14.0% 67.4%, 1.3% 61.1%, 10.0% 50.0%, 1.3% 38.9%, 14.0% 32.6%, 10.9% 18.8%, 25.1% 18.7%, 28.3% 5.0%, 41.1% 11.0%);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  transform: rotate(-12deg); text-align: center; line-height: 1;
}
.ps-stern b { font-size: 1.05rem; }
.ps-stern small { font-size: .62rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; margin-top: 3px; }
.ps-stern.gruen { background: #1f7a4d; }
.preisschild.gross { padding: 16px 130px 18px 20px; border-left-width: 12px; max-width: 34rem; min-height: 120px; }
.preisschild.gross .ps-kopf { font-size: .78rem; }
.preisschild.gross .ps-alt { font-size: 1.05rem; }
.preisschild.gross .ps-preis { font-size: clamp(2.4rem, 7vw, 3.4rem); }
.preisschild.gross .ps-stern { width: 128px; height: 128px; right: -20px; top: -26px; }
.preisschild.gross .ps-stern b { font-size: 1.55rem; }
.preisschild.gross .ps-stern small { font-size: .78rem; }
.projekt-karte { overflow: visible; }
.projekt-karte .inhalt { padding-right: 26px; }
@media (max-width: 480px) {
  .preisschild.gross { padding-right: 104px; }
  .preisschild.gross .ps-stern { width: 104px; height: 104px; right: -8px; }
  .preisschild.gross .ps-stern b { font-size: 1.25rem; }
}

.summenkopf { margin: 26px 0 8px; }
.summenkopf .klartext { font-size: 1.12rem; font-weight: 700; line-height: 1.45; margin-top: 14px; max-width: 46rem; }

.schild-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 26px 22px; margin-top: 20px; }
.schild-karte {
  display: block; background: var(--flaeche); border: 1px solid var(--rand); border-radius: var(--radius);
  padding: 16px 22px 14px 16px; color: var(--text);
}
.schild-karte:hover { text-decoration: none; box-shadow: var(--schatten); }
.schild-name { display: block; font-weight: 700; font-size: 1.02rem; }
.schild-mehr { display: block; font-size: .86rem; color: var(--dark-pink); font-weight: 700; }

/* ---------- Zusammensetzung der Gesamtsumme ---------- */
.stapel { margin-top: 34px; }
.stapel h3 { color: #fff; font-size: 1.2rem; margin-bottom: 12px; }
.stapel-balken { display: flex; height: 38px; border-radius: 4px; overflow: hidden; background: rgba(255,255,255,.08); }
.stapel-teil { height: 100%; min-width: 3px; }
.stapel-legende { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 12px; font-size: .88rem; color: rgba(255,255,255,.85); }
.stapel-legende i { display: inline-block; width: 12px; height: 12px; border-radius: 2px; margin-right: 6px; vertical-align: -1px; }
.stapel-legende b { color: #fff; }
.bombe .hinweiszeile a { color: var(--stoerer); }

/* ---------- Nachträge ---------- */
.nachtrag-band { background: #fff4c2; border-top: 6px solid #e3000f; border-bottom: 6px solid #e3000f; padding: 48px 0 52px; }
.nachtrag-band .kicker {
  display: inline-block; background: #e3000f; color: #fff; padding: 5px 14px; font-size: .78rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase; margin-bottom: 12px; transform: rotate(-1.6deg);
}
.nachtrag-band h2 { font-size: clamp(1.6rem, 4.4vw, 2.6rem); line-height: 1.1; margin-bottom: 18px; color: #16121a; }
.nachtrag-gitter { display: grid; grid-template-columns: 1fr; gap: 28px; align-items: start; }
@media (min-width: 900px) { .nachtrag-gitter { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); } }
.nachtrag-band p.gross { font-size: 1.1rem; margin-bottom: 14px; }
.nachtrag-band ul { padding-left: 1.2em; }
.nachtrag-band li { margin-bottom: 9px; }
.nachtrag-band .urteil { margin-top: 16px; font-size: 1.15rem; font-weight: 700; border-left: 6px solid #e3000f; padding-left: 14px; }
.saeulen-diagramm { background: #fff; border: 1px solid var(--rand); border-radius: var(--radius); padding: 18px; margin: 0; }
.saeulen-diagramm figcaption { font-weight: 700; font-size: .95rem; margin-bottom: 10px; }
.saeulen { display: flex; align-items: flex-end; gap: 8px; height: 220px; padding-top: 22px; }
.saeule { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; height: 100%; }
.saeule-balken { width: 100%; background: #e3000f; border-radius: 3px 3px 0 0; min-height: 3px; }
.saeule-wert { font-weight: 700; font-size: .9rem; margin-bottom: 4px; }
.saeule-jahr { font-size: .78rem; color: var(--text-leise); margin-top: 6px; }
.saeulen-diagramm .quelle { font-size: .78rem; color: var(--text-leise); margin-top: 12px; }
.btn-dunkel { background: #16121a; border-color: #16121a; color: #fff; }
.btn-dunkel:hover { color: #fff; }
.nachtrag-band, .nachtrag-band li, .nachtrag-band p { color: #16121a; }
.saeulen-diagramm, .saeulen-diagramm figcaption { color: #16121a; background: #fff; }
.saeulen-diagramm .quelle, .saeule-jahr { color: #5c5462; }
@media (min-width: 700px) { .bombe-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.bombe-wert { overflow-wrap: anywhere; }
.hero-titel { display: flex; align-items: center; gap: 12px 34px; flex-wrap: wrap; margin-bottom: 22px; }
.hero-titel h1 { margin-bottom: 0; flex: 1 1 28rem; }
.ps-stern.hero-stern {
  position: static; flex: 0 0 auto; width: 170px; height: 170px; transform: rotate(-10deg);
  filter: drop-shadow(0 6px 14px rgba(0,0,0,.3));
}
.ps-stern.hero-stern b { font-size: 2.3rem; }
.ps-stern.hero-stern small { font-size: 1rem; }
@media (max-width: 600px) {
  .ps-stern.hero-stern { width: 124px; height: 124px; }
  .ps-stern.hero-stern b { font-size: 1.6rem; }
  .ps-stern.hero-stern small { font-size: .78rem; }
}
.ps-stern.hero-stern { background: var(--stoerer); color: #000; }

/* Kasten „So wurde gezählt“ */
.zaehlung {
  background: var(--flaeche); border: 1px solid var(--rand); border-left: 4px solid var(--dark-pink);
  border-radius: var(--radius); padding: 20px 22px 14px; margin: 26px 0 10px; color: var(--text);
}
.zaehlung h3 { margin: 0 0 12px; font-size: 1.1rem; }
.zaehlung ol { list-style: none; margin: 0 0 12px; padding: 0; }
.zaehlung li { display: grid; grid-template-columns: 3.2rem 1fr; gap: 12px; align-items: baseline;
  padding: 9px 0; border-top: 1px solid var(--rand); font-size: .93rem; line-height: 1.45; }
.zaehlung li:first-child { border-top: 0; }
.zaehlung li > b { font-size: 1.55rem; line-height: 1; color: var(--dark-pink); text-align: right; font-variant-numeric: tabular-nums; }
.zaehlung li:nth-child(n+2) { padding-left: 1.2rem; }
@media (max-width: 520px) {
  .zaehlung { padding: 16px 14px 10px; }
  .zaehlung li { grid-template-columns: 2.6rem 1fr; gap: 10px; }
  .zaehlung li:nth-child(n+2) { padding-left: 0; }
}
.hero-meta a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
/* Störer mit Vorbehalt (Preisstand/Umfang des letzten Wertes nicht erläutert), Franks Entscheidung 28.09.2026 */
.ps-stern.vorbehalt { background: #6b6b6b; }
.ps-stern.vorbehalt small { font-size: .52rem; }
.preisschild.gross .ps-stern.vorbehalt small { font-size: .66rem; }

/* Rückverweis auf die zentrale Seite der Gruppe (seit 05.10.2026) */
.dach { background: #16121a; color: #b0a6b6; font-size: .8rem; }
.dach .container { display: flex; justify-content: space-between; gap: 6px 16px; flex-wrap: wrap; padding-top: 6px; padding-bottom: 6px; }
.dach a { color: #fff; font-weight: 700; }
.dach span a { font-weight: 300; text-decoration: underline; }
@media print { .dach { display: none; } }
