/* =========================================================
   Verkehrskollaps Bonn / Rhein-Sieg – BSW-Kreistagsgruppe
   Corporate Design nach BSW-Gestaltungsrichtlinien
   Schrift: Helvetica Neue LT Std 45 Light / 75 Bold
   ========================================================= */

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

:root {
  /* BSW-Primärfarben */
  --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%);

  --schwarz: #000000;
  --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;
}

@media (prefers-color-scheme: dark) {
  :root {
    --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;
    --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: 84px;
  -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 {
  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; }

.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; }

/* ---------- Balken-Element (BSW-Signatur) ---------- */
.balken {
  display: inline-block; position: relative;
  padding: .06em .5em .12em .38em; color: #fff;
}
.balken::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: var(--verlauf); opacity: .92;
  clip-path: polygon(0 6%, 100% 0, 100% 100%, 0 94%);
}
.balken > span { position: relative; z-index: 1; }

/* ---------- 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; gap: 0; flex-wrap: wrap; }
nav ul li a, nav .gruppe-knopf {
  display: block; padding: 17px 10px; color: var(--text-leise);
  font-size: .88rem; font-weight: 700; border-bottom: 3px solid transparent;
}
nav ul li a:hover, nav .gruppe-knopf:hover { color: var(--text); text-decoration: none; }
nav ul li a.active, nav .gruppe-knopf.active { color: var(--pink); border-bottom-color: var(--pink); }

/* ---------- Zweite Menüebene ---------- */
nav li.gruppe { position: relative; }
nav .gruppe-knopf {
  background: none; border: 0; border-bottom: 3px solid transparent; cursor: pointer;
  font-family: inherit; line-height: inherit; display: inline-flex; align-items: center; gap: 6px;
}
nav .gruppe-knopf .pfeil {
  width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translate(-1px, -1px); transition: transform .15s;
}
nav li.gruppe:hover > .gruppe-knopf .pfeil,
nav li.gruppe:focus-within > .gruppe-knopf .pfeil { transform: rotate(-135deg) translate(-2px, -2px); }
nav li.gruppe:hover > .gruppe-knopf,
nav li.gruppe:focus-within > .gruppe-knopf { color: var(--text); }

nav .untermenue {
  display: none; position: absolute; top: 100%; left: 0; min-width: 268px;
  background: var(--flaeche); border: 1px solid var(--rand); border-top: 3px solid var(--pink);
  border-radius: 0 0 var(--radius) var(--radius); box-shadow: var(--schatten-stark);
  padding: 6px 0; z-index: 200;
}
/* Aufklappen ohne JavaScript: Zeigen und Tastatur reichen aus. Das Skript
   hält nur aria-expanded nach und schließt auf Klick oder Esc. */
nav li.gruppe:hover > .untermenue,
nav li.gruppe:focus-within > .untermenue { display: block; }
nav li.gruppe.zu > .untermenue { display: none; }
nav .untermenue li a {
  padding: 11px 18px; border-bottom: 0; font-weight: 300; white-space: nowrap; color: var(--text);
}
nav .untermenue li a:hover { background: var(--hintergrund); color: var(--pink); }
nav .untermenue li a.active { color: var(--pink); border-bottom-color: transparent; }
nav .untermenue li a.active::before { content: '▸ '; }

@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; }
  /* Auf schmalen Schirmen klappt nichts auf: Das Menü liegt ohnehin schon
     hinter der Menütaste, eine zweite Klappstufe wäre eine Zumutung. */
  nav .gruppe-knopf { display: block; width: 100%; text-align: left; padding: 13px 4px 6px;
    color: var(--text); border-bottom: 0; cursor: default; }
  nav .gruppe-knopf .pfeil { display: none; }
  nav .untermenue {
    display: block; position: static; min-width: 0; border: 0; border-left: 3px solid var(--rand);
    border-radius: 0; box-shadow: none; padding: 0 0 6px; margin: 0 0 8px 6px;
  }
  nav .untermenue li a { padding: 10px 4px 10px 14px; white-space: normal; border-bottom: 1px solid var(--rand); }
  nav .untermenue li:last-child a { border-bottom: none; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; color: #fff; text-align: left;
  padding: 66px 0 62px; overflow: hidden;
  background: #1a0f18;
}
.hero .bg {
  position: absolute; inset: 0; z-index: 0;
  background-size: cover; background-position: center 60%;
  filter: grayscale(.35) contrast(1.05);
}
.hero .bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(105deg, rgba(121,35,81,.94) 0%, rgba(177,25,73,.90) 38%, rgba(207,0,85,.84) 64%, rgba(238,116,2,.80) 100%);
}
.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: 20px;
  transform: rotate(-1.6deg);
}
.hero h1 {
  color: #fff; font-size: clamp(2.3rem, 7.2vw, 4.5rem);
  line-height: 1.02; margin-bottom: 20px; text-transform: uppercase;
  letter-spacing: -.02em;
}
.hero h1 .zeile { display: block; }
.hero h1 .schraeg { display: inline-block; transform: skewX(-8deg); }
.hero .lead {
  color: rgba(255,255,255,.95); font-size: clamp(1.02rem, 2.3vw, 1.24rem);
  max-width: 45rem; margin-bottom: 26px;
}
.hero .lead strong { color: #fff; }
.hero-meta { margin-top: 24px; font-size: .82rem; color: rgba(255,255,255,.72); }

.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); }
/* Auf hellem Grund: Kontur in Dark Pink. Die weisse Fassung gilt nur dort, wo
   der Untergrund farbig ist (Hero und Schlussband) - sonst waere sie unsichtbar. */
.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, .cta .btn-outline { border-color: rgba(255,255,255,.6); color: #fff; }
.hero .btn-outline:hover, .cta .btn-outline:hover { background: rgba(255,255,255,.14); border-color: #fff; color: #fff; }
.btn-pink { background: var(--pink); border-color: var(--pink); color: #fff; }
.btn-pink:hover { color: #fff; }

/* ---------- 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: 47rem; }

/* ---------- Störer / Eyecatcher ---------- */
.stoerer-band {
  background: var(--verlauf-schraeg); color: #fff; padding: 40px 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: 46rem; margin-inline: auto; }

.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; }

.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 strong:first-child { color: var(--dark-pink); }
.hinweis.neutral { border-left-color: var(--rand-stark); }
.hinweis.neutral strong:first-child { color: var(--text); }

.quelle { font-size: .78rem; color: var(--text-leise); margin-top: 8px; display: block; line-height: 1.45; }
.quelle a { color: var(--text-leise); text-decoration: underline; text-underline-offset: 2px; }
.quelle a:hover { color: var(--pink); }

/* ---------- Karten ---------- */
.karten-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(305px, 1fr)); gap: 24px; }
.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;
}
.karte:hover { transform: translateY(-4px); box-shadow: var(--schatten-stark); }
.karte .bild { aspect-ratio: 16/9; background-size: cover; background-position: center; background-color: var(--rand); }
.karte .inhalt { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.karte h3 { font-size: 1.2rem; margin-bottom: 10px; }
.karte p { font-size: .93rem; color: var(--text-leise); margin-bottom: 11px; }
.karte .fuss { margin-top: auto; }

.tag {
  display: inline-block; padding: 5px 13px; font-size: .72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .06em; margin-bottom: 12px;
  color: #fff; background: var(--pink); border-radius: 2px;
}
.tag-violett { background: var(--violett); }
.tag-orange { background: var(--dark-orange); }
.tag-gelb { background: var(--stoerer); color: #000; }

/* ---------- Zahlen ---------- */
.zahlen-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(215px, 1fr)); gap: 18px; }
.zahl-karte {
  background: var(--flaeche); border: 1px solid var(--rand); border-radius: var(--radius);
  padding: 24px; box-shadow: var(--schatten); border-top: 5px solid transparent;
  border-image: var(--verlauf) 1; border-image-slice: 1;
}
.zahl-karte .wert {
  font-size: clamp(1.9rem, 4.6vw, 2.5rem); line-height: 1.1; font-weight: 700;
  background: var(--verlauf); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.zahl-karte .beschriftung { font-size: .88rem; color: var(--text-leise); margin-top: 8px; }

/* ---------- Bilanz ---------- */
.bilanz { display: grid; grid-template-columns: repeat(auto-fit, minmax(295px, 1fr)); gap: 22px; margin-bottom: 28px; }
.bilanz-spalte {
  background: var(--flaeche); border: 1px solid var(--rand);
  border-radius: var(--radius); padding: 26px; box-shadow: var(--schatten); border-top: 5px solid var(--rand-stark);
}
.bilanz-spalte.plus { border-top-color: var(--light-orange); }
.bilanz-spalte.minus { border-top-color: var(--violett); }
.bilanz-spalte h3 { font-size: 1.1rem; margin-bottom: 4px; }
.bilanz-spalte .unter { font-size: .83rem; color: var(--text-leise); margin-bottom: 18px; }
.bilanz-spalte ul { list-style: none; }
.bilanz-spalte li { padding: 12px 0; border-bottom: 1px solid var(--rand); font-size: .93rem; color: var(--text-leise); }
.bilanz-spalte li:last-child { border-bottom: none; }
.bilanz-spalte li b { display: block; font-size: 1.42rem; color: var(--text); margin-bottom: 3px; }
.bilanz-spalte.plus li b { color: var(--dark-orange); }
.bilanz-spalte.minus li b { color: var(--violett); }
@media (prefers-color-scheme: dark) {
  .bilanz-spalte.minus li b { color: #d98cb4; }
  .bilanz-spalte.minus { border-top-color: #d98cb4; }
}

/* ---------- 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: 580px; font-size: .9rem; background: var(--flaeche); }
th, td { text-align: left; padding: 13px 17px; 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; }
tbody th[scope="row"] { background: var(--flaeche-2); }
td.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }

/* Tabellen mit .stapel werden auf schmalen Schirmen zu Karten – kein Querscrollen mehr.
   Die Beschriftung der Spalte steht dann über dem Wert (data-label am <td>). */
@media (max-width: 720px) {
  .tabelle-wrap.stapel { overflow-x: visible; border: none; border-radius: 0; }
  .tabelle-wrap.stapel table { min-width: 0; background: none; font-size: .95rem; }
  .tabelle-wrap.stapel thead {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
  }
  .tabelle-wrap.stapel tbody tr {
    display: block; background: var(--flaeche);
    border: 1px solid var(--rand); border-left: 4px solid var(--pink);
    border-radius: var(--radius); margin-bottom: 14px; padding: 6px 0 12px;
  }
  .tabelle-wrap.stapel tbody td { display: block; border-bottom: none; padding: 8px 16px 0; }
  .tabelle-wrap.stapel tbody td::before {
    content: attr(data-label); display: block;
    font-size: .68rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: .06em; color: var(--text-leise); margin-bottom: 2px;
  }
  .tabelle-wrap.stapel tbody td:first-child { font-weight: 700; font-size: 1.05rem; padding-top: 10px; }
  .tabelle-wrap.stapel tbody td:first-child::before { color: var(--pink); }
}

/* ---------- Zeitleiste ---------- */
.zeitleiste { position: relative; padding-left: 32px; }
.zeitleiste::before {
  content: ''; position: absolute; left: 5px; top: 8px; bottom: 8px;
  width: 3px; background: var(--verlauf);
}
.zl-punkt { position: relative; margin-bottom: 28px; }
.zl-punkt::before {
  content: ''; position: absolute; left: -32px; top: 6px;
  width: 15px; height: 15px; border-radius: 50%;
  background: var(--flaeche); border: 3px solid var(--pink);
}
.zl-punkt.stark::before { background: var(--pink); box-shadow: 0 0 0 4px rgba(207,0,85,.18); }
.zl-punkt .datum { font-size: .8rem; font-weight: 700; color: var(--pink); letter-spacing: .03em; text-transform: uppercase; }
.zl-punkt h4 { font-size: 1.06rem; margin: 4px 0 6px; }
.zl-punkt p { font-size: .92rem; color: var(--text-leise); }

/* ---------- Partei-/Ebenenkarten ---------- */
.partei-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(305px, 1fr)); gap: 22px; }
.partei-karte {
  background: var(--flaeche); border: 1px solid var(--rand); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--schatten); border-top: 5px solid var(--rand-stark);
}
.partei-karte.gruene { border-top-color: #46962b; }
.partei-karte.cdu { border-top-color: #16121a; }
@media (prefers-color-scheme: dark) { .partei-karte.cdu { border-top-color: #9c93a4; } }
.partei-karte h3 { font-size: 1.15rem; margin-bottom: 4px; }
.partei-karte .rolle { font-size: .85rem; color: var(--text-leise); margin-bottom: 16px; }
.partei-karte ul { list-style: none; }
.partei-karte li {
  padding: 10px 0 10px 20px; position: relative; font-size: .92rem;
  border-bottom: 1px solid var(--rand); color: var(--text-leise);
}
.partei-karte li:last-child { border-bottom: none; }
.partei-karte li::before {
  content: ''; position: absolute; left: 2px; top: 18px;
  width: 8px; height: 8px; background: var(--pink);
}

.ebenen-liste { list-style: none; counter-reset: ebene; }
.ebenen-liste > li {
  counter-increment: ebene; position: relative; padding: 22px 0 22px 60px;
  border-bottom: 1px solid var(--rand);
}
.ebenen-liste > li:last-child { border-bottom: none; }
.ebenen-liste > li::before {
  content: counter(ebene); position: absolute; left: 0; top: 22px;
  width: 40px; height: 40px; background: var(--verlauf); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 1rem; border-radius: 2px;
}
.ebenen-liste h4 { font-size: 1.08rem; margin-bottom: 6px; }
.ebenen-liste p { font-size: .93rem; color: var(--text-leise); }

/* ---------- Lösungen ---------- */
.loesung-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(295px, 1fr)); gap: 20px; }
.loesung-karte {
  background: var(--flaeche); border: 1px solid var(--rand); border-radius: var(--radius);
  padding: 26px; transition: border-color .18s, box-shadow .18s, transform .18s;
}
.loesung-karte:hover { border-color: var(--pink); box-shadow: var(--schatten); transform: translateY(-3px); }
.loesung-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;
}
.loesung-karte h4 { font-size: 1.06rem; margin-bottom: 9px; }
.loesung-karte p { font-size: .92rem; color: var(--text-leise); }

/* ---------- Teilen ---------- */
.teilen { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; margin-top: 16px; }
.teilen .label {
  font-size: .74rem; color: var(--text-leise); font-weight: 700;
  text-transform: uppercase; letter-spacing: .08em; margin-right: 3px;
}
.teilen button {
  background: var(--flaeche); border: 1px solid var(--rand-stark); border-radius: var(--radius);
  cursor: pointer; padding: 8px 10px; line-height: 0; color: var(--text);
  display: inline-flex; align-items: center; gap: 7px;
  font-family: inherit; transition: border-color .15s, background .15s, transform .15s;
}
.teilen button:hover { background: var(--flaeche-2); border-color: var(--pink); transform: translateY(-1px); }
.teilen button svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.teilen button svg.marke { fill: currentColor; stroke: none; }
.teilen button .txt { font-size: .8rem; font-weight: 700; line-height: 1; }
.teilen button.kopieren.fertig { border-color: #1f7a4d; color: #1f7a4d; }
.marke-whatsapp { color: #25d366; }
.marke-telegram { color: #229ed9; }
.marke-facebook { color: #1877f2; }
.marke-x { color: #16121a; }
.marke-instagram { color: #d62976; }
@media (prefers-color-scheme: dark) {
  .teilen button.kopieren.fertig { border-color: #4ec48b; color: #4ec48b; }
  .marke-x { color: #f2eef4; }
  .marke-facebook { color: #4a94ff; }
}
.karten-teilen { margin-top: 18px; padding-top: 15px; border-top: 1px solid var(--rand); gap: 5px; }
.karten-teilen button { padding: 6px 8px; }
.karten-teilen .label { margin-right: 0; }

#toast {
  position: fixed; left: 50%; bottom: 26px; transform: translate(-50%, 24px);
  background: var(--tinte); color: #fff; padding: 14px 24px; border-radius: 100px;
  font-size: .9rem; font-weight: 700; box-shadow: var(--schatten-stark);
  opacity: 0; pointer-events: none; transition: opacity .22s, transform .22s;
  z-index: 500; max-width: calc(100vw - 32px); text-align: center;
}
#toast.sichtbar { opacity: 1; transform: translate(-50%, 0); }
@media (prefers-color-scheme: dark) { #toast { background: #f2eef4; color: #16121a; } }

/* ---------- Podcast ---------- */
.podcast {
  background: var(--flaeche-2); border: 1px solid var(--rand); border-radius: var(--radius);
  padding: 26px; display: grid; grid-template-columns: 1fr; gap: 20px;
  border-left: 5px solid var(--dark-orange);
}
@media (min-width: 800px) { .podcast { grid-template-columns: 1.3fr 1fr; align-items: center; } }
.podcast h3 { font-size: 1.15rem; margin-bottom: 8px; }
.podcast p { font-size: .93rem; color: var(--text-leise); }
.podcast audio { width: 100%; }

/* ---------- CTA ---------- */
.cta { background: var(--verlauf-schraeg); color: #fff; text-align: center; }
.cta h2 { color: #fff; font-size: clamp(1.7rem, 4.4vw, 2.5rem); margin-bottom: 16px; text-transform: uppercase; }
.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 ---------- */
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(215px, 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;
}

/* ---------- Textseiten ---------- */
.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: 38px 0 14px; color: var(--dark-pink); }
.textseite h3 { font-size: 1.08rem; margin: 24px 0 10px; }
.textseite p { margin-bottom: 14px; }
.textseite ol, .textseite ul { padding-left: 24px; margin-bottom: 18px; }
.textseite ol li, .textseite ul li { margin-bottom: 10px; }
.textseite ol li::marker { font-weight: 700; color: var(--pink); }

.briefkopf {
  border: 1px solid var(--rand); background: var(--flaeche); border-radius: var(--radius);
  padding: 20px 24px; margin-bottom: 26px; font-size: .9rem; color: var(--text-leise);
  border-left: 5px solid var(--pink);
}
.unterschrift { margin-top: 38px; padding-top: 22px; border-top: 1px solid var(--rand); font-size: .9rem; }

.quellen-gruppe { margin-bottom: 36px; }
.quellen-gruppe h2 { font-size: 1.25rem; margin-bottom: 8px; padding-bottom: 10px; border-bottom: 3px solid var(--rand); color: var(--text); }
.quellen-gruppe h3 { font-size: 1.02rem; margin: 24px 0 10px; color: var(--dark-pink); }
.quellen-liste { list-style: none; padding-left: 0; }
.quellen-liste li { padding: 10px 0 10px 22px; position: relative; font-size: .93rem; border-bottom: 1px solid var(--rand); }
.quellen-liste li:last-child { border-bottom: none; }
.quellen-liste li::before { content: ''; position: absolute; left: 2px; top: 19px; width: 8px; height: 8px; background: var(--pink); }
.quellen-liste .medium { color: var(--text-leise); font-size: .84rem; display: block; margin-top: 3px; }

/* ---------- Kennzahlen-Kacheln ----------
   Vier Zahlen, die für sich sprechen. Kein Diagramm: Es gibt nichts zu vergleichen,
   nur Größenordnungen zu zeigen. Die Zahlen tragen deshalb Textfarbe, nicht den
   Farbverlauf – dessen orangefarbenes Ende erreicht auf Weiß nur 2,25:1 Kontrast.
   Der Verlauf sitzt als Zierleiste oben am Kasten. */
.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);
}
.kennzahlen .kz-kopf {
  padding: 18px 24px 0;
  font-size: .74rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .09em; color: var(--text-leise);
}
/* Feste Stufen statt auto-fit. Bei drei Spalten bliebe die vierte Kachel allein in
   der zweiten Reihe und risse eine graue Lücke ins Raster; bei vier Spalten wird
   die erste Zahl so schmal, dass sie umbricht und die Grundlinien auseinanderlaufen.
   Zwei Spalten sind bei genau vier Kacheln die ruhige Lösung. */
.kz-gitter {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 1px; background: var(--rand); margin-top: 16px;
}
.kz-feld { background: var(--flaeche); padding: 20px 24px 24px; }
.kz-wert {
  display: block; font-weight: 700; line-height: 1.02;
  font-size: clamp(1.65rem, 1.1rem + 1.9vw, 2.15rem);
  color: var(--dark-pink); letter-spacing: -.02em;
  overflow-wrap: break-word;         /* „90.000–100.000“ darf umbrechen */
}
.kz-wert .kz-zusatz { font-size: .58em; font-weight: 700; letter-spacing: 0; }
.kz-text { display: block; margin-top: 9px; font-size: .88rem; line-height: 1.42; color: var(--text-leise); }
.kz-text b { color: var(--text); font-weight: 700; }

@media (max-width: 560px) {
  .kennzahlen .kz-kopf { padding: 16px 18px 0; }
  .kz-feld { padding: 16px 18px 18px; }
  .kz-gitter { grid-template-columns: 1fr; }
}

/* ---------- Brückenkarte ---------- */
/* Zoom und Verschieben ändern nur den viewBox-Ausschnitt des SVG. Damit Punkte,
   Ortsnamen und Linien dabei nicht mitwachsen, teilt jede Größenangabe durch
   --bk-zoom: die Karte wird größer, die Beschriftung bleibt gleich groß. */
.bk-huelle {
  --bk-zoom: 1;
  background: var(--flaeche); border: 1px solid var(--rand);
  border-radius: var(--radius); padding: 14px; margin: 22px 0;
}
/* Bühne mit festem Seitenverhältnis (1000 : 758). Der Polsterungs-Trick statt
   aspect-ratio, damit die Höhe auch in älteren Browsern steht. */
.bk-buehne {
  position: relative; height: 0; padding-bottom: 75.8%;
  overflow: hidden; border-radius: var(--radius); background: var(--flaeche-2);
  touch-action: pan-y;          /* ein Finger scrollt die Seite, zwei bewegen die Karte */
  cursor: grab;
}
.bk-buehne.zieht { cursor: grabbing; }
.bk-buehne:focus-visible { outline: 3px solid var(--pink); outline-offset: -3px; }
.bk-svg { position: absolute; inset: 0; display: block; width: 100%; height: 100%; }
.bk-kreis { fill: var(--flaeche-2); stroke: var(--rand-stark); stroke-width: calc(1.6px / var(--bk-zoom)); }
.bk-bonn  { fill: var(--rand); stroke: var(--text-leise); stroke-width: calc(1.6px / var(--bk-zoom)); }
.bk-rhein { fill: none; stroke: #3a8fc4; stroke-width: calc(3.2px / var(--bk-zoom)); stroke-linejoin: round; }
.bk-fluss { fill: none; stroke: #79b4d6; stroke-width: calc(1.8px / var(--bk-zoom)); stroke-linejoin: round; }
.bk-ort-pkt { fill: var(--text); r: calc(3px / var(--bk-zoom)); }
.bk-ort {
  font-family: 'BSW', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-weight: 700; font-size: calc(15px / var(--bk-zoom)); fill: var(--text);
  stroke: var(--flaeche-2); stroke-width: calc(3.5px / var(--bk-zoom));
}
.bk-massstab { stroke: var(--text-leise); stroke-width: calc(1.6px / var(--bk-zoom)); }
.bk-massstab text {
  font-family: 'BSW', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: calc(13px / var(--bk-zoom)); font-weight: 700; fill: var(--text-leise);
  stroke: var(--flaeche-2); stroke-width: calc(3px / var(--bk-zoom));
}
/* Der Maßstabsbalken ist in Kartenkoordinaten gezeichnet, wächst also mit dem Zoom
   mit – das ist richtig, aber ab etwa dreifacher Vergrößerung reicht er über den
   Rand hinaus und hilft niemandem mehr. Dann wird er ausgeblendet. */
.bk-huelle.bk-nah .bk-massstab { display: none; }
.bk-pkt { r: calc(5.5px / var(--bk-zoom)); stroke: var(--flaeche); stroke-width: calc(1.4px / var(--bk-zoom)); cursor: pointer; }
.bk-pkt.bk-v  { fill: var(--pink); }
.bk-pkt.bk-iv { fill: var(--light-orange); }
.bk-pkt:hover, .bk-pkt:focus-visible { stroke: var(--text); stroke-width: calc(2.4px / var(--bk-zoom)); }
.bk-pkt.aktiv { stroke: var(--text); stroke-width: calc(3px / var(--bk-zoom)); r: calc(8px / var(--bk-zoom)); }
.bk-pkt.aus { opacity: .12; pointer-events: none; }

/* Zoomknöpfe. Sie werden von bruecken.js erzeugt, nicht ins HTML geschrieben –
   ohne JavaScript gäbe es sonst Schaltflächen, die nichts tun. */
.bk-zoom {
  position: absolute; top: 8px; right: 8px; z-index: 6;
  display: flex; flex-direction: column; gap: 6px;
}
.bk-zoom button {
  width: 42px; height: 42px; padding: 0; display: grid; place-items: center;
  cursor: pointer; background: var(--flaeche); color: var(--text);
  border: 1px solid var(--rand-stark); border-radius: var(--radius);
  box-shadow: var(--schatten);
}
.bk-zoom button:hover { color: var(--pink); border-color: var(--pink); }
.bk-zoom button[disabled] { opacity: .4; cursor: default; }
.bk-zoom button[disabled]:hover { color: var(--text); border-color: var(--rand-stark); }
.bk-zoom svg {
  width: 21px; height: 21px; fill: none; stroke: currentColor;
  stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round;
}
.bk-zoom .bk-voll-knopf { margin-bottom: 6px; }

/* Kurzer Hinweis in der Karte, wenn jemand mit einem Finger zu schieben versucht. */
.bk-wink {
  position: absolute; left: 50%; bottom: 16px; transform: translateX(-50%);
  z-index: 7; margin: 0; padding: 9px 16px; border-radius: 100px;
  background: rgba(22, 18, 26, .84); color: #fff; font-size: .85rem; font-weight: 700;
  text-align: center; pointer-events: none;
  opacity: 0; visibility: hidden; transition: opacity .18s ease;
}
.bk-wink.sichtbar { opacity: 1; visibility: visible; }

/* Quellenangabe in der Karte selbst – im Vollbild ist der Absatz darunter nicht zu sehen. */
.bk-nachweis {
  display: none; position: absolute; right: 0; bottom: 0; z-index: 5; margin: 0;
  padding: 3px 8px; font-size: .64rem; line-height: 1.35; color: var(--text-leise);
  background: var(--flaeche); border-top-left-radius: var(--radius);
  pointer-events: none;         /* verdeckt keinen Punkt darunter */
}

/* Vollbild. Vorrangig über die Fullscreen-Schnittstelle des Browsers; wo die fehlt
   (iOS), trägt allein diese Klasse – deshalb muss sie für sich funktionieren. */
.bk-huelle.bk-voll {
  position: fixed; inset: 0; z-index: 100; margin: 0;
  border: 0; border-radius: 0; background: var(--flaeche);
  display: flex; flex-direction: column; gap: 8px;
  padding: calc(8px + env(safe-area-inset-top, 0px)) calc(8px + env(safe-area-inset-right, 0px))
           calc(8px + env(safe-area-inset-bottom, 0px)) calc(8px + env(safe-area-inset-left, 0px));
}
.bk-huelle.bk-voll .bk-steuerung { margin-bottom: 0; }
.bk-huelle.bk-voll .bk-buehne {
  height: auto; padding-bottom: 0; flex: 1 1 auto; min-height: 0;
  touch-action: none;           /* im Vollbild schiebt schon ein Finger die Karte */
}
.bk-huelle.bk-voll .bk-legende { margin: 0 2px; font-size: .78rem; }
.bk-huelle.bk-voll .bk-nachweis { display: block; }
.bk-huelle.bk-voll > p.klein, .bk-huelle.bk-voll > .bk-quelle { display: none; }
body.bk-voll-an { overflow: hidden; }

.bk-steuerung { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 12px; }
.bk-steuerung .label {
  font-size: .72rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .07em; color: var(--text-leise); margin-right: 4px;
}
.bk-filter {
  font: inherit; font-size: .85rem; font-weight: 700; cursor: pointer;
  background: var(--flaeche); color: var(--text);
  border: 1px solid var(--rand-stark); border-radius: 100px; padding: 6px 15px;
}
.bk-filter:hover { border-color: var(--pink); }
.bk-filter[aria-pressed="true"] { background: var(--pink); border-color: var(--pink); color: #fff; }

.bk-legende { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 12px 2px 0; font-size: .84rem; color: var(--text-leise); }
.bk-legende span { display: inline-flex; align-items: center; gap: 7px; }
.bk-legende i { width: 13px; height: 13px; border-radius: 50%; display: inline-block; }
.bk-legende .i-v  { background: var(--pink); }
.bk-legende .i-iv { background: var(--light-orange); }

/* Detailfenster zur Karte. Auf großen Schirmen erscheint es direkt am angeklickten
   Punkt, auf kleinen als mittiger Dialog über der Seite – dort wäre ein Kästchen
   am Punkt größer als die Karte selbst. */
.bk-huelle { position: relative; }
.bk-popup {
  position: absolute; z-index: 30; width: min(320px, 82vw);
  padding: 16px 40px 16px 18px;
  background: var(--flaeche); border: 1px solid var(--rand-stark);
  border-left: 4px solid var(--pink); border-radius: var(--radius);
  box-shadow: var(--schatten-stark); font-size: .9rem;
}
.bk-popup[hidden] { display: none; }
.bk-popup h3 {
  font-size: .98rem; line-height: 1.28; margin-bottom: 10px;
  overflow-wrap: anywhere; hyphens: auto;
}
.bk-popup dl { margin-top: 8px; }
.bk-popup dt {
  font-size: .68rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .06em; color: var(--text-leise); margin-top: 9px;
}
.bk-popup dt:first-child { margin-top: 0; }
.bk-popup dd { font-size: .92rem; line-height: 1.35; }

/* Grafik im Detailfenster: Zustandsnote auf der Skala von 1,0 bis 4,0, darunter der
   Traglastindex als Stufenband. Die Farbgrenzen sitzen auf den Schwellen der
   Bauwerksprüfung – 2,5 „ausreichend“, 3,0 „nicht ausreichend“, 3,5 „ungenügend“ –,
   umgerechnet auf die Skalenbreite: (2,5−1)/3 = 50 %, (3,0−1)/3 = 66,7 %,
   (3,5−1)/3 = 83,3 %. Kein Grün und kein Rot: nur Farben aus dem BSW-Verlauf. */
.bk-teil-titel {
  font-size: .68rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .06em; color: var(--text-leise); margin-top: 13px;
}
.bk-note-kopf { display: flex; align-items: baseline; gap: 8px; margin: 3px 0 8px; }
.bk-note-wert { font-size: 1.45rem; font-weight: 700; line-height: 1; color: var(--dark-pink); }
.bk-note-text { font-size: .76rem; line-height: 1.25; color: var(--text-leise); }
.bk-skala {
  position: relative; height: 9px; border-radius: 100px;
  background: linear-gradient(90deg,
    var(--rand-stark) 0 50%, var(--stoerer) 50% 66.7%,
    var(--light-orange) 66.7% 83.3%, var(--pink) 83.3% 100%);
}
.bk-marke {
  position: absolute; top: -4px; bottom: -4px; width: 4px; margin-left: -2px;
  background: var(--text); border-radius: 100px; box-shadow: 0 0 0 2px var(--flaeche);
}
.bk-skala-fuss {
  display: flex; justify-content: space-between; gap: 10px;
  margin-top: 5px; font-size: .66rem; color: var(--text-leise);
}
.bk-tli-skala { display: flex; gap: 3px; margin-top: 3px; }
.bk-tli-skala span {
  flex: 1 1 0; padding: 4px 0; text-align: center;
  font-size: .72rem; font-weight: 700; color: var(--text-leise);
  background: var(--flaeche-2); border: 1px solid var(--rand); border-radius: 3px;
}
.bk-tli-skala .an { border-color: transparent; }
.bk-tli-skala .an-v  { background: var(--pink); color: #fff; }
.bk-tli-skala .an-iv { background: var(--light-orange); color: var(--tinte); }

.bk-schliessen {
  position: absolute; top: 8px; right: 8px; width: 30px; height: 30px;
  display: grid; place-items: center; cursor: pointer;
  background: none; border: 1px solid transparent; border-radius: var(--radius); color: var(--text-leise);
}
.bk-schliessen:hover { color: var(--pink); border-color: var(--rand); }
.bk-schliessen svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }

.bk-hintergrund { display: none; }

@media (max-width: 760px) {
  .bk-hintergrund:not([hidden]) {
    display: block; position: fixed; inset: 0; z-index: 40; background: rgba(22, 18, 26, .55);
  }
  .bk-popup {
    position: fixed; z-index: 50; top: 50%; left: 50%; transform: translate(-50%, -50%);
    width: min(400px, calc(100vw - 32px)); max-height: 80vh; overflow-y: auto;
  }
}

/* Bedienhinweise beschreiben Dinge, die es ohne JavaScript nicht gibt. Sie erscheinen
   erst, wenn bruecken.js die Karte übernommen hat (Klasse bk-bereit). */
.bk-huelle .bk-nur-js { display: none; }
.bk-huelle.bk-bereit .bk-nur-js { display: inline; }

.bk-quelle { font-size: .8rem; color: var(--text-leise); margin-top: 10px; }

details.bk-tabelle { margin: 22px 0; border: 1px solid var(--rand); border-radius: var(--radius); background: var(--flaeche); }
details.bk-tabelle > summary {
  cursor: pointer; padding: 14px 18px; font-weight: 700; list-style-position: inside;
}
details.bk-tabelle > summary:hover { color: var(--pink); }
details.bk-tabelle .tabelle-wrap { margin: 0; border: none; border-top: 1px solid var(--rand); border-radius: 0; }
.bk-tli { font-weight: 700; white-space: nowrap; }
.bk-tli-V  { color: var(--pink); }
.bk-tli-IV { color: var(--dark-orange); }
@media (prefers-color-scheme: dark) { .bk-tli-IV { color: var(--light-orange); } }

/* Auf schmalen Schirmen schrumpft die Karte mit – Schrift und Punkte müssen deshalb
   im Koordinatensystem der Grafik wachsen, sonst ist nichts mehr zu lesen.
   Die zweitrangigen Ortsnamen entfallen, damit sich die verbleibenden nicht überlagern. */
@media (max-width: 760px) {
  .bk-huelle { padding: 10px; }
  .bk-ort { font-size: calc(30px / var(--bk-zoom)); stroke-width: calc(7px / var(--bk-zoom)); }
  .bk-ort-2 { display: none; }
  /* Ab doppelter Vergrößerung ist wieder Platz für die zweitrangigen Ortsnamen. */
  .bk-huelle.bk-mittel .bk-ort-2 { display: block; }
  .bk-ort-pkt { r: calc(5px / var(--bk-zoom)); }
  .bk-pkt { r: calc(10px / var(--bk-zoom)); stroke-width: calc(2.2px / var(--bk-zoom)); }
  .bk-pkt.aktiv { r: calc(15px / var(--bk-zoom)); stroke-width: calc(5px / var(--bk-zoom)); }
  .bk-rhein { stroke-width: calc(6px / var(--bk-zoom)); }
  .bk-fluss { stroke-width: calc(3.4px / var(--bk-zoom)); }
  .bk-kreis, .bk-bonn { stroke-width: calc(3px / var(--bk-zoom)); }
  .bk-massstab { stroke-width: calc(3px / var(--bk-zoom)); }
  .bk-massstab text { font-size: calc(26px / var(--bk-zoom)); stroke-width: calc(6px / var(--bk-zoom)); }
  .bk-steuerung .bk-filter { flex: 1 1 100%; }
  /* Im Vollbild zählt jede Zeile Höhe – dort bleiben die Filter nebeneinander. */
  .bk-huelle.bk-voll .bk-steuerung .label { display: none; }
  .bk-huelle.bk-voll .bk-steuerung { gap: 6px; }
  .bk-huelle.bk-voll .bk-steuerung .bk-filter { flex: 1 1 auto; font-size: .76rem; padding: 6px 10px; }
}

/* ---------- Utilities ---------- */
.zentriert { text-align: center; }
.klein { font-size: .86rem; color: var(--text-leise); }
.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; }
.box h4 { font-size: 1.02rem; margin-bottom: 11px; }
.box ul { padding-left: 20px; font-size: .92rem; color: var(--text-leise); }
.box ul li { margin-bottom: 7px; }
.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;
}

/* ---------- Amtliches Zitat (Beschwerdeseite) ---------- */
.zitatkasten {
  background: var(--flaeche-2); border: 1px solid var(--rand);
  border-left: 5px solid var(--rand-stark);
  padding: 18px 22px; margin: 22px 0; border-radius: 0 var(--radius) var(--radius) 0;
}
.zitatkasten p { font-size: .95rem; margin-bottom: 10px; }
.zitatkasten p:last-child { margin-bottom: 0; }
.zitatkasten .fundstelle {
  display: block; margin-top: 12px; font-size: .78rem; color: var(--text-leise);
  font-style: normal;
}
.zitatkasten.amtlich { border-left-color: var(--light-orange); }

/* ---------- Statusleiste über einem Dokument ---------- */
.status-leiste {
  display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: baseline;
  background: var(--flaeche); border: 1px solid var(--rand); border-top: 4px solid var(--pink);
  padding: 16px 20px; margin-bottom: 26px; border-radius: var(--radius); font-size: .9rem;
}
.status-leiste .marke {
  font-weight: 700; color: var(--dark-pink); text-transform: uppercase;
  letter-spacing: .06em; font-size: .78rem;
}

/* ---------- Gegenüberstellung Vorwurf / Erwiderung ---------- */
.punkt-liste { list-style: none; padding-left: 0; margin: 24px 0; }
.punkt-liste > li {
  background: var(--flaeche); border: 1px solid var(--rand); border-radius: var(--radius);
  padding: 20px 22px; margin-bottom: 16px; box-shadow: var(--schatten);
}
.punkt-liste > li > h3 { margin-top: 0; }
.punkt-liste .nr {
  display: inline-block; min-width: 26px; height: 26px; line-height: 26px; text-align: center;
  background: var(--verlauf); color: #fff; border-radius: 50%; font-weight: 700;
  font-size: .84rem; margin-right: 10px;
}

/* ---------- Druck ---------- */
@media print {
  nav, .teilen, .cta, .btn-reihe, #toast, .nav-toggle, .stoerer-band { display: none !important; }
  body { background: #fff; color: #000; font-size: 11pt; }
  .hero { background: none !important; color: #000; padding: 20px 0; }
  .hero .bg { display: none; }
  .hero h1, .hero .lead, .hero-meta, .hero .kicker { color: #000; background: none; }
  section { padding: 18px 0; page-break-inside: avoid; }
  .karte, .zahl-karte, .partei-karte, .loesung-karte, .bilanz-spalte, .knall { box-shadow: none; border: 1px solid #bbb; }
  thead th { background: #eee !important; color: #000 !important; }
  footer { background: none; color: #000; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 8pt; word-break: break-all; }
}
