/* =========================================================
   Bündnis Demokratiedaten — Stylesheet
   Statisch, ohne externe Ressourcen. Mobile first.
   ========================================================= */

/* ----- Fonts (selbst gehostet) ----- */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/inter-latin-var.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
    U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/inter-latin-ext-var.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329,
    U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ----- Design-Tokens ----- */
:root {
  --paper: #fffdf7;
  --bg: #fffdf9;
  --bg-soft: #f8f5ed;
  --ink: #1e242a;
  --ink-soft: #454f59;
  --ink-muted: #5f6975;
  --line: #e9e3d5;
  --line-strong: #cdc6b6;

  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
  --brand: #0f7a6f;
  --brand-dark: #0b5c54;
  --brand-hell: #e4f2ef;

  --parlament: #12857b;
  --parlament-hell: #e2f1ee;
  --parlament-text: #0a5f59;
  --wahlen: #a8641a;
  --wahlen-hell: #fbf0dc;
  --wahlen-text: #7a4810;
  --fundament: #4c5c78;
  --fundament-hell: #eceff7;
  --fundament-text: #3b4860;
  --folgt: #79838f;
  --folgt-hell: #f3f5f7;
  --folgt-text: #4f5a66;

  --focus: #0b5c54;
  --maxw: 70rem;
  --radius: 8px;
  --radius-lg: 12px;
  --shadow-sm: 0 1px 2px rgba(30, 36, 42, 0.05);
  --shadow-md: 0 2px 6px rgba(30, 36, 42, 0.06), 0 10px 30px rgba(30, 36, 42, 0.07);
}

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

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

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.62;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
}

.skip-link {
  position: absolute;
  left: 0.75rem;
  top: 0.75rem;
  z-index: 100;
  padding: 0.6rem 1rem;
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius);
  text-decoration: none;
  transform: translateY(-250%);
  transition: transform 0.15s ease;
}
.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: 1.25rem;
}
@media (min-width: 48rem) {
  .container {
    padding-inline: 2rem;
  }
}

a {
  color: var(--brand-dark);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-decoration-color: color-mix(in srgb, var(--brand) 40%, transparent);
  text-underline-offset: 0.2em;
}
a:hover {
  text-decoration-color: var(--brand);
}
a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 3px;
}

/* ----- Kopfbereich / Navigation ----- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 253, 249, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4rem;
}
.brand {
  font-size: 1.05rem;
  font-weight: 660;
  letter-spacing: -0.015em;
  color: var(--ink);
  text-decoration: none;
  padding-block: 0.4rem;
}
.brand:hover {
  color: var(--brand-dark);
}

.main-nav__list {
  display: none;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 0.15rem;
}
.main-nav__list a {
  display: block;
  padding: 0.45rem 0.85rem;
  color: var(--ink-soft);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.97rem;
  border-radius: var(--radius);
  border-bottom: 2px solid transparent;
}
.main-nav__list a:hover {
  color: var(--ink);
  background: var(--bg-soft);
}
.main-nav__list a[aria-current="page"] {
  color: var(--brand-dark);
  font-weight: 620;
  border-bottom-color: var(--brand);
  border-radius: var(--radius) var(--radius) 0 0;
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  cursor: pointer;
}
.nav-toggle:hover {
  background: var(--bg-soft);
}
.nav-toggle__icon {
  width: 1rem;
  height: 1rem;
  flex: none;
}
.nav-toggle__text {
  white-space: nowrap;
}

.main-nav--open .main-nav__list {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  padding: 0.5rem 1.25rem 1rem;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow-md);
}
.main-nav--open .main-nav__list a {
  padding: 0.7rem 0.5rem;
  font-size: 1.05rem;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
}
.main-nav--open .main-nav__list a[aria-current="page"] {
  border-bottom-color: var(--line);
  border-left: 3px solid var(--brand);
  padding-left: 0.75rem;
}

@media (min-width: 52rem) {
  .nav-toggle {
    display: none;
  }
  .main-nav__list {
    display: flex;
    flex-direction: row;
  }
}

/* ----- Hauptbereich ----- */
.site-main {
  flex: 1 0 auto;
  padding-block: 2.5rem 4.5rem;
}
@media (min-width: 48rem) {
  .site-main {
    padding-block: 3.5rem 5.5rem;
  }
}

/* Seitenkopf */
.page-head {
  max-width: 44rem;
  margin-bottom: 2.5rem;
}
.page-head h1 {
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  line-height: 1.1;
  letter-spacing: -0.025em;
  font-weight: 640;
  margin: 0 0 1rem;
  text-wrap: balance;
}
.page-head .lead {
  font-size: 1.14rem;
  line-height: 1.58;
  color: var(--ink-soft);
  margin: 0;
  max-width: 40rem;
}
.initiator {
  max-width: 42rem;
  margin: -1rem 0 2.5rem;
  font-size: 1.02rem;
  line-height: 1.62;
  color: var(--ink-soft);
}

/* Startseite: Frage oben */
.hero {
  padding-bottom: 2.75rem;
}
.hero__eyebrow {
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: -0.005em;
  color: var(--brand-dark);
  margin: 0 0 0.9rem;
}
.hero h1 {
  font-size: clamp(1.9rem, 4.6vw, 3rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  font-weight: 650;
  margin: 0 0 1.1rem;
  max-width: 30ch;
  text-wrap: balance;
}
.hero__lead {
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  line-height: 1.6;
  color: var(--ink-soft);
  margin: 0;
  max-width: 38rem;
}
.ebenen-leiste {
  display: flex;
  gap: 4px;
  max-width: 10rem;
  margin-bottom: 1.5rem;
}
.ebenen-leiste span {
  display: block;
  height: 4px;
  flex: 1;
  border-radius: 2px;
}
.ebenen-leiste span:nth-child(1) {
  background: var(--parlament);
}
.ebenen-leiste span:nth-child(2) {
  background: var(--wahlen);
}
.ebenen-leiste span:nth-child(3) {
  background: var(--fundament);
}

/* Fließtext */
.prose {
  max-width: 42rem;
}
.prose > :first-child {
  margin-top: 0;
}
.prose p {
  margin: 0 0 1.1rem;
}
.prose h2 {
  font-size: 1.3rem;
  line-height: 1.3;
  letter-spacing: -0.012em;
  font-weight: 640;
  margin: 2.4rem 0 0.8rem;
}
.prose h2:first-child {
  margin-top: 0;
}

/* Abschnitte */
.abschnitt {
  margin-top: 3rem;
}
.abschnitt--linie {
  padding-top: 2.75rem;
  border-top: 1px solid var(--line);
}
.abschnitt > h2 {
  font-size: 1.38rem;
  line-height: 1.25;
  letter-spacing: -0.015em;
  font-weight: 640;
  margin: 0 0 0.7rem;
}
.abschnitt__intro {
  max-width: 42rem;
  color: var(--ink-soft);
  margin: 0 0 1.75rem;
}

/* ----- Bühne: das Modell auf dunklem Grund ----- */

.site-main {
  overflow-x: clip;
}
.band {
  --linie: rgba(255, 255, 255, 0.58);
  --linie-leise: rgba(255, 255, 255, 0.17);
  background: #08080a;
  color: #f4f4f7;
  margin-block: clamp(3rem, 6vw, 5rem);
  margin-inline: calc(50% - 50vw);
  padding: clamp(2.5rem, 5vw, 4.5rem) max(1.25rem, calc(50vw - 36rem)) clamp(2rem, 4vw, 3.5rem);
}
.band__kopf {
  max-width: 72rem;
  margin: 0 auto clamp(1.5rem, 3vw, 2.5rem);
}
.band__kopf h2 {
  margin: 0;
  font-size: clamp(1.45rem, 2.6vw, 2.3rem);
  line-height: 1.18;
  letter-spacing: -0.022em;
  font-weight: 600;
  max-width: 58rem;
}
.band__hell {
  color: #ffffff;
}
.band__grau {
  color: #86868f;
}
.band__fussnote {
  max-width: 72rem;
  margin: clamp(1.25rem, 2.5vw, 2rem) auto 0;
  font-size: 0.95rem;
  color: #86868f;
}

/* Bühne: feste Höhe, alles bleibt im Bild */
.buehne {
  position: relative;
  max-width: 72rem;
  margin: 0 auto;
  height: clamp(26rem, calc(100svh - 17rem), 660px);
}
.saeule {
  position: absolute;
  top: 0;
  height: 100%;
  width: 33.3333%;
  transition: opacity 0.3s ease;
}
.saeule--wahlen {
  left: 0;
  --akzent: #e3b06a;
}
.saeule--parlament {
  left: 33.3333%;
  --akzent: #5fd0c2;
}
.saeule--partizipation {
  left: 66.6666%;
  --akzent: #93aae8;
}
.saeule.ist-gedimmt {
  opacity: 0.2;
}

.saeule__fig {
  position: absolute;
  left: 2%;
  top: var(--fig-top);
  height: var(--fig-hoehe);
  aspect-ratio: var(--fig-verh);
  pointer-events: none;
}
.saeule__svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}
.saeule__treffer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  border-radius: 6px;
}
.saeule__treffer:focus {
  outline: none;
}
.saeule__treffer:focus-visible {
  outline: 2px solid var(--akzent);
  outline-offset: -2px;
}

/* Linienzeichnung */
.saeule__svg .treffer {
  fill: transparent;
  stroke: none;
  pointer-events: none;
  cursor: pointer;
}
.saeule.ist-offen .saeule__svg .treffer {
  pointer-events: all;
}
.saeule.ist-offen .saeule__treffer {
  pointer-events: none;
}
.saeule__svg .kante {
  fill: none;
  stroke: var(--linie);
  stroke-width: 0.9;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: stroke 0.3s ease;
}
.saeule__svg .kante--verdeckt {
  stroke: var(--linie-leise);
  stroke-dasharray: 1.5 4.5;
}
.saeule__svg .deck {
  fill: url(#deck-m);
  stroke: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.saeule__svg .baustein--oben .deck,
.saeule.ist-offen .deck {
  opacity: 1;
}
/* Die hinteren Deckkanten gehören nur dem obersten Baustein bzw. dem Zerlegen. */
.saeule__svg .kante--hinten {
  opacity: 0;
  transition: opacity 0.3s ease;
}
.saeule__svg .baustein--oben .kante--hinten,
.saeule.ist-offen .kante--hinten {
  opacity: 1;
}
.saeule__svg .schatten,
.saeule__svg .schatten-flaeche {
  stroke: none;
}
.saeule__svg .kante--boden {
  opacity: 0;
  transition: opacity 0.3s ease;
}
.saeule__svg .baustein--unten .kante--boden {
  opacity: 1;
}
.saeule__svg .verdeckt-boden {
  opacity: 0;
  transition: opacity 0.3s ease;
}

/* Zerlegen */
.baustein {
  --s: 0px;
  transform: translateY(calc((2 - var(--j)) * var(--s)));
  transition: transform 0.32s cubic-bezier(0.22, 0.7, 0.3, 1);
}
.saeule > .saeule__fig .baustein:nth-of-type(1) { --j: 0; }
.saeule > .saeule__fig .baustein:nth-of-type(2) { --j: 1; }
.saeule > .saeule__fig .baustein:nth-of-type(3) { --j: 2; }
.saeule > .saeule__fig .baustein:nth-of-type(4) { --j: 3; }
.saeule > .saeule__fig .baustein:nth-of-type(5) { --j: 4; }
.saeule.ist-offen .baustein {
  --s: var(--spreizung);
}
.saeule.ist-offen .deck,
.saeule.ist-offen .kante--boden,
.saeule.ist-offen .verdeckt-boden {
  opacity: 1;
}
/* Akzent nur im aktiven Zustand */
.saeule.ist-aktiv .kante {
  stroke: var(--akzent);
}
.saeule.ist-aktiv .kante--verdeckt {
  stroke: color-mix(in srgb, var(--akzent) 38%, transparent);
}
.saeule.ist-aktiv .saeule__fig {
  filter: drop-shadow(0 0 7px color-mix(in srgb, var(--akzent) 34%, transparent));
}
.baustein.ist-schicht .kante {
  stroke: var(--akzent);
}
.baustein.ist-schicht .deck {
  opacity: 1;
  fill: color-mix(in srgb, var(--akzent) 12%, transparent);
}
.saeule:has(.baustein.ist-schicht) .saeule__fig {
  filter: drop-shadow(0 0 6px color-mix(in srgb, var(--akzent) 26%, transparent));
}
.baustein.ist-gedimmt {
  opacity: 0.28;
  transition: opacity 0.3s ease;
}

/* Bildunterschrift unter der Figur */
.saeule__kasten {
  position: absolute;
  left: 2%;
  right: 4%;
  top: 82%;
  max-width: 22rem;
  transition: opacity 0.3s ease;
}
.saeule__titel {
  margin: 0 0 0.35rem;
  font-size: 15px;
  line-height: 1.3;
  font-weight: 600;
  color: #f2f2f6;
}
.saeule__text {
  margin: 0;
  font-size: 15px;
  line-height: 1.45;
  color: #8b8b95;
}
.saeule__text--lang {
  display: none;
}
.saeule.ist-offen .saeule__text--kurz {
  display: none;
}
.saeule.ist-offen .saeule__text--lang {
  display: block;
}

/* Beschriftung am Baustein (HTML-Overlay) */
.blk {
  position: absolute;
  left: 46%;
  top: var(--y);
  width: 50%;
  transform: translateY(-50%);
  display: none;
  opacity: 0;
  transition: opacity 0.28s ease;
}
.blk.ist-sichtbar {
  display: block;
  opacity: 1;
}
.blk::before {
  content: "";
  position: absolute;
  left: -1.15rem;
  top: 0.5rem;
  width: 0.9rem;
  height: 1px;
  background: rgba(255, 255, 255, 0.3);
}
.blk__name {
  display: block;
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1.2;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #7e7e89;
}
.blk__daten {
  display: block;
  margin-top: 0.1rem;
  font-size: 14px;
  line-height: 1.3;
  color: #e9e9ef;
}

/* Umschalter: nur auf schmalen Bildschirmen */
.umschalter {
  display: none;
  gap: 0.35rem;
  max-width: 72rem;
  margin: 0 auto 1rem;
}
.umschalter__knopf {
  flex: 1;
  padding: 0.55rem 0.4rem;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  color: #9a9aa4;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  cursor: pointer;
}
.umschalter__knopf[aria-pressed="true"] {
  color: #08080a;
  background: #f2f2f6;
  border-color: #f2f2f6;
}

/* Ohne JavaScript: die Textfassung */
.buehne__text {
  max-width: 72rem;
  margin: 2.5rem auto 0;
  color: #8b8b95;
}
.js .buehne__text {
  display: none;
}
.buehne__text h3 {
  margin: 0 0 1.25rem;
  font-size: 1rem;
  color: #f2f2f6;
}
.buehne__textblock + .buehne__textblock {
  margin-top: 1.75rem;
}
.buehne__text h4 {
  margin: 0 0 0.4rem;
  font-size: 1rem;
  color: #f2f2f6;
}
.buehne__text p {
  margin: 0 0 0.75rem;
  font-size: 0.95rem;
  line-height: 1.55;
}
.buehne__text dl {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.6;
}
.buehne__text dt {
  float: left;
  clear: left;
  width: 7.5rem;
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #6c6c76;
  padding-top: 0.1rem;
}
.buehne__text dd {
  margin: 0 0 0.35rem 8rem;
}

/* Fokus-Layout: die gewählte Säule bekommt Platz für ihre Beschriftungen,
   die beiden anderen treten zur Seite und bleiben blass sichtbar. */
@media (min-width: 62rem) {
  .saeule {
    transition: left 0.32s cubic-bezier(0.22, 0.7, 0.3, 1), width 0.32s cubic-bezier(0.22, 0.7, 0.3, 1),
      opacity 0.3s ease, height 0.32s cubic-bezier(0.22, 0.7, 0.3, 1), top 0.32s cubic-bezier(0.22, 0.7, 0.3, 1);
  }
  .buehne[data-saeule] .saeule.ist-aktiv {
    left: 0;
    width: 62%;
  }
  .buehne[data-saeule] .saeule.ist-aktiv .blk {
    left: 26%;
    width: 68%;
  }
  .buehne[data-saeule] .saeule:not(.ist-aktiv) {
    top: 4%;
    height: 62%;
    width: 15%;
  }
  .buehne[data-saeule] .saeule--wahlen:not(.ist-aktiv) {
    left: 63%;
  }
  .buehne[data-saeule] .saeule--parlament:not(.ist-aktiv) {
    left: 76.5%;
  }
  .buehne[data-saeule] .saeule--partizipation:not(.ist-aktiv) {
    left: 90%;
  }
  .buehne[data-saeule] .saeule:not(.ist-aktiv) .saeule__fig {
    height: 78%;
    left: 0;
  }
  .buehne[data-saeule] .saeule:not(.ist-aktiv) .saeule__kasten {
    display: none;
  }
}

@media (max-width: 61.99rem) {
  .site-main {
  overflow-x: clip;
}
.band {
    padding-left: 1.1rem;
    padding-right: 1.1rem;
  }
  .umschalter {
    display: flex;
  }
  .buehne {
    height: clamp(19rem, calc(100svh - 17rem), 38rem);
  }
  .saeule {
    width: 100%;
    left: 0;
    display: none;
  }
  .saeule.ist-gezeigt {
    display: block;
  }
  .saeule__kasten {
    right: 2%;
    top: 82%;
    max-width: none;
  }
  .blk {
    left: 48%;
    width: 51%;
  }
  /* Auf schmalen Bildschirmen ohne Zeiger: die Beschriftung steht direkt neben
     dem Baustein, die Spalte ist zu schmal für eine Linie dazwischen. */
  .blk::before {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .baustein,
  .blk,
  .saeule,
  .saeule__kasten,
  .saeule__svg .kante,
  .saeule__svg .deck,
  .saeule__svg .kante--boden,
  .saeule__svg .verdeckt-boden {
    transition: none !important;
  }
}

/* Detailbereich unter dem Modell */
.detail__hinweis {
  margin: 0.25rem 0 1.75rem;
  color: var(--ink-muted);
  font-size: 0.92rem;
  text-align: center;
}
.detail__hinweis::before {
  content: "";
  display: inline-block;
  width: 1.1rem;
  height: 1px;
  margin-right: 0.55rem;
  vertical-align: 0.3em;
  background: var(--line-strong);
}
.js .detail {
  display: none;
}
.js .detail.ist-aktiv {
  display: block;
}
.detail {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.4rem 1.5rem;
  box-shadow: var(--shadow-sm);
  max-width: 48rem;
}
.detail__kopf {
  margin-bottom: 0.5rem;
}
.detail__label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 0.3rem;
}
.detail h3 {
  font-size: 1.16rem;
  line-height: 1.35;
  letter-spacing: -0.012em;
  font-weight: 640;
  margin: 0;
}
.detail__zusatz {
  font-weight: 500;
  font-size: 0.92rem;
  color: var(--ink-muted);
}
.detail__einleitung {
  margin: 0 0 0.8rem;
  color: var(--ink-soft);
  font-size: 0.99rem;
}
.detail__unterzeile {
  margin: 1.2rem 0 0.35rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.detail__liste {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--ink-soft);
  font-size: 0.98rem;
}
.detail__liste li + li {
  margin-top: 0.2rem;
}
.detail__text {
  margin: 0.8rem 0 0;
  color: var(--ink-soft);
  font-size: 0.99rem;
}
.detail__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 0.8rem;
}
.detail__beispiel {
  margin-top: 1.1rem;
  padding: 0.9rem 1rem;
  background: var(--bg-soft);
  border-radius: var(--radius);
}
.detail__beispiel p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.96rem;
}
.detail__beispiel .detail__erfunden {
  margin-top: 0.5rem;
  font-size: 0.85rem;
  color: var(--ink-muted);
  font-style: italic;
}

/* ----- Chips ----- */
.chip {
  display: inline-flex;
  align-items: center;
  padding: 0.12rem 0.6rem;
  font-size: 0.78rem;
  font-weight: 600;
  border-radius: 999px;
  white-space: nowrap;
}
.chip--parlament {
  color: var(--parlament-text);
  background: var(--parlament-hell);
}
.chip--wahlen {
  color: var(--wahlen-text);
  background: var(--wahlen-hell);
}
.chip--fundament {
  color: var(--fundament-text);
  background: var(--fundament-hell);
}
.chip--beteiligung {
  color: var(--folgt-text);
  background: var(--folgt-hell);
}
.chip--neutral {
  color: var(--ink-soft);
  background: var(--bg-soft);
  border: 1px solid var(--line);
}

/* ----- Karten ----- */
.card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 44rem) {
  .card-grid--3 {
    grid-template-columns: repeat(3, 1fr);
  }
  .card-grid--2 {
    grid-template-columns: repeat(2, 1fr);
  }
  .card-grid--nummern {
    grid-template-columns: repeat(3, 1fr);
  }
}

.card {
  display: flex;
  flex-direction: column;
  padding: 1.4rem 1.5rem 1.3rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  text-decoration: none;
  color: var(--ink);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
a.card:hover {
  border-color: var(--line-strong);
  box-shadow: var(--shadow-md);
}
a.card:hover .card__titel {
  color: var(--brand-dark);
}
.card__titel {
  display: block;
  font-size: 1.1rem;
  font-weight: 640;
  letter-spacing: -0.01em;
  margin: 0 0 0.5rem;
}
.card__text {
  display: block;
  color: var(--ink-soft);
  font-size: 0.97rem;
}
.card__pfeil {
  display: block;
  margin-top: auto;
  padding-top: 1.1rem;
  font-weight: 600;
  color: var(--brand);
  line-height: 1;
}

/* Nummerierte Blöcke (Was) */
.nummer-block {
  padding-top: 1rem;
  border-top: 2px solid var(--line);
}
.nummer {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--brand);
  margin-bottom: 0.55rem;
}
.nummer-block h3 {
  font-size: 1.1rem;
  line-height: 1.35;
  font-weight: 640;
  letter-spacing: -0.01em;
  margin: 0 0 0.45rem;
}
.nummer-block p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.98rem;
}

/* Kurz-Blöcke (Startseite) */
.kurz-raster {
  display: grid;
  gap: 1rem;
}
@media (min-width: 48rem) {
  .kurz-raster {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
.kurz {
  padding: 1.2rem 1.3rem;
  border-top: 2px solid var(--line);
}
.kurz__label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 0.5rem;
}
.kurz p {
  margin: 0 0 0.7rem;
  color: var(--ink-soft);
  font-size: 0.98rem;
}
.kurz__link {
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid color-mix(in srgb, var(--brand) 40%, transparent);
}
.kurz__link:hover {
  border-bottom-color: var(--brand);
}

/* ----- Knöpfe ----- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.68rem 1.3rem;
  font: inherit;
  font-size: 0.97rem;
  font-weight: 600;
  color: #fff;
  background: var(--ink);
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  text-decoration: none;
  cursor: pointer;
}
.btn:hover {
  background: var(--brand-dark);
  border-color: var(--brand-dark);
  color: #fff;
}
.start-aktion {
  margin: 2.25rem 0 0;
}

/* ----- Initiativen ----- */
.filter-zeile {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  margin: 0 0 0.7rem;
}
.filter-label {
  min-width: 5.5rem;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
@media (max-width: 30rem) {
  .filter-label {
    flex-basis: 100%;
  }
}
.filter-chip {
  padding: 0.4rem 0.85rem;
  font: inherit;
  font-size: 0.93rem;
  font-weight: 500;
  color: var(--ink-soft);
  background: #fff;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  cursor: pointer;
}
.filter-chip:hover {
  border-color: var(--ink-soft);
  color: var(--ink);
}
.filter-chip[aria-pressed="true"] {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}
.initiativen-liste {
  margin-top: 1.75rem;
}
.initiative-card {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  padding: 1.4rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
}
.initiative-card__kopf {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}
.initiative-card__name {
  font-size: 1.12rem;
  font-weight: 650;
  letter-spacing: -0.012em;
  margin: 0;
}
.initiative-card__logo {
  flex: none;
  max-width: 5rem;
  max-height: 3rem;
}
.initiative-card__beschreibung {
  color: var(--ink-soft);
  font-size: 0.98rem;
  margin: 0;
}
.initiative-card__fuss {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  margin-top: auto;
}
.initiative-card__link {
  margin-left: auto;
  font-weight: 600;
  font-size: 0.95rem;
}
.initiativen-leer {
  padding: 1.15rem 1.3rem;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-lg);
  color: var(--ink-soft);
  margin: 0;
}
.nach-liste {
  margin-top: 1.6rem;
  max-width: 42rem;
}

/* ----- Warum: Fragen, Gründe, Quellen ----- */
.gruende {
  max-width: 42rem;
}
.grund {
  display: grid;
  grid-template-columns: 2rem 1fr;
  column-gap: 0.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  margin-bottom: 1.75rem;
}
.grund:first-of-type {
  padding-top: 0;
  border-top: 0;
}
.grund__nummer {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--brand);
  padding-top: 0.3rem;
}
.grund h3 {
  font-size: 1.22rem;
  line-height: 1.3;
  letter-spacing: -0.015em;
  font-weight: 640;
  margin: 0 0 0.55rem;
}
.grund p {
  margin: 0;
  color: var(--ink-soft);
}
.quelle {
  margin: 0.7rem 0 0;
  font-size: 0.85rem;
  color: var(--ink-muted);
}
.quelle__label {
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.72rem;
  margin-right: 0.3rem;
}
.quelle a {
  color: var(--ink-muted);
  text-decoration-color: var(--line-strong);
}
.quelle a:hover {
  color: var(--brand-dark);
}
@media (max-width: 30rem) {
  .grund {
    grid-template-columns: 1fr;
  }
  .grund__nummer {
    padding-top: 0;
    margin-bottom: 0.2rem;
  }
}

.forderung {
  margin: 2.25rem 0 0;
  padding: 1.3rem 1.45rem;
  background: var(--brand-hell);
  border-left: 3px solid var(--brand);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  max-width: 42rem;
}
.forderung p {
  margin: 0;
  color: var(--ink);
}
.forderung .label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--brand-dark);
}

/* ----- Was: Ebenenblöcke ----- */
.ebenen-bloecke {
  display: grid;
  gap: 0.9rem;
}
@media (min-width: 48rem) {
  .ebenen-bloecke {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .ebene-block--demokratie {
    grid-column: 1 / -1;
  }
}
.ebene-block {
  padding: 1.2rem 1.3rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-top: 3px solid var(--line-strong);
  border-radius: var(--radius);
}
.ebene-block--parlament {
  border-top-color: var(--parlament);
}
.ebene-block--wahlen {
  border-top-color: var(--wahlen);
}
.ebene-block--fundament {
  border-top-color: var(--fundament);
}
.ebene-block--beteiligung {
  border-top-color: var(--folgt);
  border-top-style: dashed;
}
.ebene-block--demokratie {
  border-top-color: #3b4653;
}
.ebene-block h3 {
  font-size: 1.08rem;
  font-weight: 650;
  letter-spacing: -0.01em;
  margin: 0 0 0.4rem;
}
.ebene-block__zusatz {
  font-weight: 500;
  font-size: 0.88rem;
  color: var(--ink-muted);
}
.ebene-block__zielgruppen {
  margin: 0 0 0.5rem;
  font-size: 0.9rem;
  color: var(--ink-soft);
}
.ebene-block__liste {
  margin: 0 0 0.7rem;
  padding-left: 1.05rem;
  color: var(--ink-soft);
  font-size: 0.95rem;
}
.ebene-block__liste li + li {
  margin-top: 0.12rem;
}
.ebene-block__folgt {
  margin: 0 0 0.7rem;
  font-size: 0.93rem;
  color: var(--ink-muted);
}
.ebene-block__link {
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid color-mix(in srgb, var(--brand) 40%, transparent);
}
.ebene-block__link:hover {
  border-bottom-color: var(--brand);
}

/* ----- Mitmachen ----- */
.teilhabe {
  list-style: none;
  margin: 1.25rem 0 0;
  padding: 0;
  max-width: 42rem;
}
.teilhabe li {
  display: grid;
  grid-template-columns: 2rem 1fr;
  align-items: baseline;
  gap: 0.5rem;
  padding: 0.9rem 0;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
}
.teilhabe li:last-child {
  border-bottom: 1px solid var(--line);
}
.teilhabe__nummer {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--brand);
}
.kontakt {
  margin-top: 2.25rem;
  padding: 1.4rem 1.5rem;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  max-width: 42rem;
}
.kontakt .label {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.kontakt p {
  margin: 0;
  color: var(--ink-soft);
}
.kontakt__aktion {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
  margin-top: 1.1rem !important;
}
.kontakt__adresse {
  font-size: 0.92rem;
  color: var(--ink-muted);
}

/* ----- Hinweis- und Stand-Blöcke ----- */
.hinweis-block {
  margin: 2rem 0 0;
  padding: 1.1rem 1.3rem;
  background: var(--wahlen-hell);
  border-left: 3px solid var(--wahlen);
  border-radius: 0 var(--radius) var(--radius) 0;
  max-width: 42rem;
}
.hinweis-block p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--ink-soft);
}
.stand {
  margin-top: 2.25rem;
  font-size: 0.85rem;
  color: var(--ink-muted);
}
.offen {
  display: inline-block;
  padding: 0 0.4rem;
  background: var(--wahlen-hell);
  border-radius: 3px;
  color: var(--ink-soft);
  font-style: italic;
}

/* ----- „Weiter zu“ ----- */
.weiter {
  margin-top: 3.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.5rem 0.75rem;
  font-size: 1.02rem;
}
.weiter .label {
  color: var(--ink-muted);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.weiter a {
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid color-mix(in srgb, var(--brand) 45%, transparent);
}
.weiter a:hover {
  border-bottom-color: var(--brand);
}

/* ----- Fußbereich ----- */
.site-footer {
  border-top: 1px solid var(--line);
  background: var(--bg-soft);
  padding-block: 2.5rem;
}
.site-footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem 2rem;
}
.site-footer__brand {
  font-weight: 660;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.site-footer__zeile {
  color: var(--ink-muted);
  font-size: 0.9rem;
  line-height: 1.55;
}
.site-footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.5rem;
  font-size: 0.9rem;
}
.site-footer__nav a {
  color: var(--ink-soft);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}
.site-footer__nav a:hover {
  color: var(--brand-dark);
  border-bottom-color: var(--brand);
}

/* ----- Hilfsklassen ----- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.hidden {
  display: none !important;
}

/* Startseite: Aufruf zum Mitmachen */
.abschnitt__intro a {
  color: var(--ink);
  font-weight: 600;
  text-decoration-color: color-mix(in srgb, var(--brand) 45%, transparent);
}
.abschnitt__intro a:hover {
  color: var(--brand-dark);
}
.nur-weit {
  display: none;
}
@media (min-width: 62rem) {
  .nur-weit {
    display: block;
  }
}
.call-aktion {
  margin: 1.75rem 0 1.25rem;
}
.call-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  margin: 0;
  font-size: 0.95rem;
}
.call-links a {
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid color-mix(in srgb, var(--brand) 40%, transparent);
}
.call-links a:hover {
  border-bottom-color: var(--brand);
}

/* Quellenliste am Seitenende */
.quellen {
  margin-top: 3rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--line);
  max-width: 42rem;
}
.quellen h2 {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin: 0 0 0.8rem;
}
.quellen ol {
  margin: 0;
  padding-left: 1.2rem;
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--ink-muted);
}
.quellen li + li {
  margin-top: 0.5rem;
}
.quellen a {
  color: var(--ink-soft);
  text-decoration-color: var(--line-strong);
}
.quellen a:hover {
  color: var(--brand-dark);
}

/* Startseite: Initiativen im Aufruf */
.call-initiativen {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
  max-width: 42rem;
}
.call-initiative {
  display: grid;
  gap: 0.2rem;
  padding: 0.9rem 1.1rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.call-initiative__name {
  font-weight: 600;
  color: var(--ink);
  text-decoration-color: color-mix(in srgb, var(--brand) 45%, transparent);
  justify-self: start;
}
.call-initiative__name:hover {
  color: var(--brand-dark);
}
.call-initiative__text {
  font-size: 0.92rem;
  color: var(--ink-muted);
  line-height: 1.5;
}
.call-teaser {
  margin: 1.75rem 0 0.5rem;
  max-width: 40rem;
  font-size: 0.98rem;
  color: var(--ink-soft);
}
.call-teaser a {
  font-weight: 600;
  white-space: nowrap;
}

/* Detailbereich: Schichtenlisten */
.detail__schichten {
  list-style: none;
  margin: 0.35rem 0 0;
  padding: 0;
  border-top: 1px solid var(--line);
}
.detail__schichten li {
  display: grid;
  grid-template-columns: 8.5rem 1fr;
  gap: 0.75rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.95rem;
}
.detail__schicht {
  font-weight: 600;
  color: var(--ink);
}
.detail__daten {
  color: var(--ink-muted);
}
.detail__hinweis-aktion {
  margin: 1.15rem 0 0;
}
.link-knopf {
  font: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--brand-dark);
  background: none;
  border: 0;
  padding: 0;
  border-bottom: 1px solid color-mix(in srgb, var(--brand) 40%, transparent);
  cursor: pointer;
}
.link-knopf:hover {
  border-bottom-color: var(--brand);
}
@media (max-width: 40rem) {
  .detail__schichten li {
    grid-template-columns: 1fr;
    gap: 0.15rem;
  }
}
