/* Bundestagspräsidium – Webseite. Nur dunkel: Anthrazit, Weiß, Akzente Schwarz-Rot-Gold (Logo-System aus grafik/).
   Schrift Inter (selbst gehostet). Keine Inline-Styles (CSP). Bewegung aus bei prefers-reduced-motion. */
@font-face { font-family: "Inter"; src: url("../fonts/inter.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-kursiv.woff2") format("woff2"); font-weight: 100 900; font-style: italic; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url("../fonts/instrument-serif.woff2") format("woff2"); font-weight: 400; font-display: swap; }

:root {
  --grund: #111317; --flaeche: #16191e; --karte: #1b1f25; --karte2: #20252c; --linie: #2a3038; --linie2: #343b45;
  --text: #f3f5f7; --text2: #c3c9d0; --grau: #8c96a1; --schwarz: #000; --rot: #dd0000; --gold: #ffce00; --gruen: #3fb27f;
  --r: 14px; --max: 1220px; --schatten: 0 18px 50px -24px rgba(0,0,0,.7);
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--grund); color: var(--text); font: 16px/1.6 "Inter", system-ui, sans-serif; font-feature-settings: "cv11", "ss01"; -webkit-font-smoothing: antialiased; min-height: 100vh; display: flex; flex-direction: column; }
main { flex: 1; }
a { color: inherit; }
img { max-width: 100%; display: block; }
h1, h2, h3, h4 { line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 .5em; font-weight: 650; }
p { margin: 0 0 1em; }
.huelle { width: min(var(--max), 100% - 40px); margin-inline: auto; }
.nur-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
::selection { background: rgba(255, 206, 0, .3); }

/* Flaggenband */
.flaggenband { height: 4px; display: grid; grid-template-columns: 1fr 1fr 1fr; }
.flaggenband i:nth-child(1) { background: var(--schwarz); box-shadow: inset 0 -1px 0 #2b2b2b; }
.flaggenband i:nth-child(2) { background: var(--rot); }
.flaggenband i:nth-child(3) { background: var(--gold); }
.flagge { display: inline-grid; grid-template-columns: repeat(3, 1fr); width: 54px; height: 4px; border-radius: 2px; overflow: hidden; }
.flagge i:nth-child(1) { background: #000; } .flagge i:nth-child(2) { background: var(--rot); } .flagge i:nth-child(3) { background: var(--gold); }

/* Hinweisleiste */
.hinweisleiste { background: var(--gold); color: #111; font-size: .9rem; font-weight: 600; text-align: center; padding: 7px 16px; }

/* Kopf */
.kopf { position: sticky; top: 0; z-index: 50; background: rgba(17, 19, 23, .97); border-bottom: 1px solid var(--linie); }
.kopf-innen { display: flex; align-items: center; gap: 28px; height: 74px; }
.marke { display: flex; align-items: center; gap: 12px; text-decoration: none; flex: none; }
.marke img { height: 50px; width: auto; }
.marke-wort { display: flex; flex-direction: column; line-height: 1.1; border-left: 3px solid; border-image: linear-gradient(#000 0 33%, var(--rot) 33% 66%, var(--gold) 66%) 1; padding-left: 10px; }
.marke-wort b { font-size: 1.05rem; font-weight: 700; letter-spacing: -.01em; }
.marke-wort small { font-size: .62rem; letter-spacing: .22em; text-transform: uppercase; color: var(--grau); margin-top: 3px; }
.nav { display: flex; gap: 2px; margin-left: auto; }
.nav a { text-decoration: none; color: var(--text2); font-size: .92rem; font-weight: 500; padding: 8px 11px; border-radius: 8px; position: relative; transition: color .2s, background .2s; }
.nav a:hover { color: var(--text); background: var(--karte); }
.nav a[aria-current="page"] { color: var(--text); }
.nav a[aria-current="page"]::after { content: ""; position: absolute; left: 11px; right: 11px; bottom: -14px; height: 2px; background: var(--gold); }
.kopf-aktionen { display: flex; gap: 8px; align-items: center; }
.suche-knopf { display: flex; align-items: center; gap: 8px; background: var(--karte); border: 1px solid var(--linie); color: var(--grau); border-radius: 10px; padding: 8px 12px; font: inherit; font-size: .88rem; cursor: pointer; transition: border-color .2s; }
.suche-knopf:hover { border-color: var(--linie2); color: var(--text2); }
.suche-knopf kbd { font: 600 .7rem "Inter"; border: 1px solid var(--linie2); border-radius: 5px; padding: 1px 5px; }
.menue-knopf { display: none; background: none; border: 1px solid var(--linie); color: var(--text); border-radius: 10px; width: 42px; height: 42px; cursor: pointer; }
.menue-knopf span, .menue-knopf span::before, .menue-knopf span::after { display: block; width: 18px; height: 2px; background: currentColor; margin: auto; position: relative; transition: transform .25s; }
.menue-knopf span::before, .menue-knopf span::after { content: ""; position: absolute; left: 0; }
.menue-knopf span::before { top: -6px; } .menue-knopf span::after { top: 6px; }
.kopf.offen .menue-knopf span { background: transparent; }
.kopf.offen .menue-knopf span::before { transform: translateY(6px) rotate(45deg); }
.kopf.offen .menue-knopf span::after { transform: translateY(-6px) rotate(-45deg); }

/* Knöpfe */
.knopf { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font: 600 .95rem "Inter"; padding: 12px 20px; border-radius: 11px; border: 1px solid transparent; cursor: pointer; transition: transform .15s, background .2s, border-color .2s; background: var(--text); color: #111; }
.knopf:hover { transform: translateY(-1px); }
.knopf.zweit { background: transparent; color: var(--text); border-color: var(--linie2); }
.knopf.zweit:hover { border-color: var(--grau); }
.knopf.klein { padding: 8px 14px; font-size: .86rem; border-radius: 9px; }
.knopf.gold { background: var(--gold); color: #111; }
.pfeil-link { color: var(--text2); text-decoration: none; font-size: .9rem; font-weight: 600; white-space: nowrap; }
.pfeil-link::after { content: " →"; transition: margin .2s; }
.pfeil-link:hover { color: var(--text); }

/* Bühne */
.buehne { position: relative; overflow: hidden; border-bottom: 1px solid var(--linie); background:
  radial-gradient(900px 420px at 85% 30%, rgba(255, 206, 0, .07), transparent 60%),
  radial-gradient(700px 400px at 10% 120%, rgba(221, 0, 0, .06), transparent 60%), var(--flaeche); }
.buehne::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px); background-size: 48px 48px; mask-image: linear-gradient(90deg, transparent, #000 40%, #000 70%, transparent); pointer-events: none; }
.buehne-innen { position: relative; z-index: 1; display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; padding: 84px 0 92px; }
.buehne.bild { background-size: cover; background-position: center; }
.ober { display: inline-flex; align-items: center; gap: 10px; font-size: .72rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-bottom: 18px; }
.ober::before { content: ""; width: 22px; height: 2px; background: var(--gold); }
.buehne h1 { font-size: clamp(2.2rem, 5vw, 3.9rem); font-weight: 700; letter-spacing: -.035em; max-width: 14ch; }
.buehne h1 em { font-family: "Instrument Serif", serif; font-style: italic; font-weight: 400; letter-spacing: -.01em; color: var(--text2); }
.buehne p.lead { font-size: 1.12rem; color: var(--text2); max-width: 54ch; }
.knopfreihe { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.kuppel { width: 100%; max-width: 440px; justify-self: end; aspect-ratio: 1 / .82; }
.kuppel svg { width: 100%; height: 100%; overflow: visible; }
.kuppel .meridian { fill: none; stroke: rgba(255,255,255,.22); stroke-width: 1; }
.kuppel .meridian.gold { stroke: var(--gold); stroke-width: 1.6; filter: drop-shadow(0 0 6px rgba(255, 206, 0, .55)); }
.kuppel .ring { fill: none; stroke: rgba(255,255,255,.14); stroke-width: 1; }
.kuppel .boden { stroke: rgba(255,255,255,.35); stroke-width: 1.2; }
.kuppel .spitze { fill: var(--gold); }
.buehne-band { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; display: grid; grid-template-columns: 2fr 1fr 1fr; z-index: 2; }
.buehne-band i:nth-child(1) { background: #000; } .buehne-band i:nth-child(2) { background: var(--rot); } .buehne-band i:nth-child(3) { background: var(--gold); }

/* Seitenkopf (Unterseiten) */
.seitenkopf { border-bottom: 1px solid var(--linie); background: radial-gradient(800px 300px at 90% 0, rgba(255,206,0,.06), transparent 60%), var(--flaeche); position: relative; }
.seitenkopf .huelle { padding: 54px 0 46px; }
.seitenkopf h1 { font-size: clamp(1.9rem, 4vw, 2.9rem); font-weight: 700; letter-spacing: -.03em; margin-bottom: .3em; }
.seitenkopf p { color: var(--text2); max-width: 62ch; margin: 0; font-size: 1.05rem; }
.brotkrumen { font-size: .82rem; color: var(--grau); margin-bottom: 14px; }
.brotkrumen a { color: var(--grau); text-decoration: none; } .brotkrumen a:hover { color: var(--text); }

/* Abschnitte */
.abschnitt { padding: 64px 0; }
.abschnitt + .abschnitt { border-top: 1px solid var(--linie); }
.abschnitt-kopf { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 26px; }
.abschnitt-kopf h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); margin: 0; }
.abschnitt-kopf p { color: var(--grau); margin: 6px 0 0; }
.raster2 { display: grid; grid-template-columns: 1.4fr 1fr; gap: 28px; }
.raster3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }

/* Karten */
.karte { background: var(--karte); border: 1px solid var(--linie); border-radius: var(--r); padding: 22px; transition: border-color .2s, transform .2s; }
a.karte { text-decoration: none; display: block; }
a.karte:hover { border-color: var(--linie2); transform: translateY(-2px); }
.marke-klein { font-size: .7rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--grau); }
.etikett { display: inline-flex; align-items: center; gap: 6px; font-size: .72rem; font-weight: 650; letter-spacing: .04em; padding: 3px 9px; border-radius: 999px; background: var(--karte2); border: 1px solid var(--linie2); color: var(--text2); white-space: nowrap; }
.etikett.gold { color: var(--gold); border-color: rgba(255,206,0,.35); background: rgba(255,206,0,.07); }
.etikett.rot { color: #ff6b6b; border-color: rgba(221,0,0,.45); background: rgba(221,0,0,.1); }
.etikett.gruen { color: #6fd6a4; border-color: rgba(63,178,127,.4); background: rgba(63,178,127,.1); }
.az { font: 600 .78rem/1 "Inter"; color: var(--grau); font-variant-numeric: tabular-nums; letter-spacing: .02em; }

/* Meldungsliste */
.meldungen { display: flex; flex-direction: column; border-top: 1px solid var(--linie); }
.meldung { display: grid; grid-template-columns: 92px 1fr auto; gap: 20px; padding: 18px 4px; border-bottom: 1px solid var(--linie); text-decoration: none; align-items: start; transition: background .2s; }
.meldung:hover { background: rgba(255,255,255,.02); }
.meldung:hover h3 { text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 4px; }
.datum-block { font-variant-numeric: tabular-nums; color: var(--grau); font-size: .86rem; line-height: 1.3; }
.datum-block b { display: block; color: var(--text); font-size: 1.5rem; font-weight: 650; letter-spacing: -.02em; }
.meldung h3 { font-size: 1.06rem; margin: 6px 0 4px; font-weight: 600; letter-spacing: -.01em; }
.meldung p { color: var(--text2); margin: 0; font-size: .93rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.meldung-kopf { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.leer { color: var(--grau); padding: 26px; text-align: center; border: 1px dashed var(--linie2); border-radius: var(--r); }

/* Termine */
.termine { display: flex; flex-direction: column; gap: 10px; }
.termin { display: grid; grid-template-columns: 64px 1fr; gap: 16px; align-items: center; background: var(--karte); border: 1px solid var(--linie); border-radius: 12px; padding: 14px 16px; }
.termin-tag { text-align: center; border-right: 1px solid var(--linie); padding-right: 14px; }
.termin-tag b { display: block; font-size: 1.6rem; line-height: 1; font-weight: 700; letter-spacing: -.03em; }
.termin-tag small { color: var(--gold); font-weight: 700; font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; }
.termin h3 { font-size: 1rem; margin: 0 0 2px; }
.termin .zeile { color: var(--grau); font-size: .86rem; }
.termin.abgesagt h3 { text-decoration: line-through; color: var(--grau); }

/* Kennzahlen */
.zahlen { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: 1px solid var(--linie); border-radius: var(--r); overflow: hidden; background: var(--karte); }
.zahl { padding: 22px 22px 20px; border-right: 1px solid var(--linie); }
.zahl:last-child { border-right: 0; }
.zahl b { display: block; font-size: 2.1rem; font-weight: 700; letter-spacing: -.04em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.zahl span { color: var(--grau); font-size: .86rem; }

/* Personen */
.personen { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.person { display: grid; grid-template-columns: 168px 1fr; gap: 24px; background: var(--karte); border: 1px solid var(--linie); border-radius: 18px; padding: 22px; position: relative; overflow: hidden; }
.person::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: linear-gradient(#000 0 33%, var(--rot) 33% 66%, var(--gold) 66%); }
.portraet { aspect-ratio: 4/5; border-radius: 12px; background: linear-gradient(160deg, #262b33, #15181d); display: grid; place-items: center; overflow: hidden; border: 1px solid var(--linie); }
.portraet img { width: 100%; height: 100%; object-fit: cover; }
.portraet .initialen { font-size: 2.6rem; font-weight: 700; color: var(--linie2); letter-spacing: -.04em; }
.person h3 { font-size: 1.35rem; margin: 6px 0 2px; }
.person .amt { color: var(--gold); font-weight: 600; font-size: .9rem; }
.person p { color: var(--text2); margin: 12px 0 0; font-size: .95rem; }
.person-gross { display: grid; grid-template-columns: 300px 1fr; gap: 44px; padding: 44px 0; border-bottom: 1px solid var(--linie); }
.person-gross:last-child { border-bottom: 0; }
.person-gross h2 { font-size: 2rem; margin: 8px 0 4px; }
.person-gross .amt { color: var(--gold); font-weight: 650; }
.person-gross blockquote { margin: 22px 0; padding: 0 0 0 18px; border-left: 2px solid var(--gold); font: italic 400 1.35rem/1.4 "Instrument Serif", serif; color: var(--text); }
.spalten2 { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 22px; }
.liste-haken { list-style: none; margin: 0; padding: 0; }
.liste-haken li { padding: 8px 0 8px 22px; border-bottom: 1px solid var(--linie); position: relative; color: var(--text2); font-size: .95rem; }
.liste-haken li::before { content: ""; position: absolute; left: 2px; top: 16px; width: 8px; height: 2px; background: var(--gold); }
.liste-haken li:last-child { border-bottom: 0; }

/* Filter */
.filterleiste { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-bottom: 22px; }
.filterleiste input, .filterleiste select { background: var(--karte); border: 1px solid var(--linie); color: var(--text); border-radius: 10px; padding: 10px 12px; font: inherit; font-size: .92rem; }
.filterleiste input { flex: 1; min-width: 220px; }
.chips { display: flex; gap: 6px; flex-wrap: wrap; }
.chip { background: transparent; border: 1px solid var(--linie2); color: var(--text2); border-radius: 999px; padding: 6px 13px; font: 600 .82rem "Inter"; cursor: pointer; transition: all .2s; }
.chip:hover { border-color: var(--grau); color: var(--text); }
.chip[aria-pressed="true"] { background: var(--text); color: #111; border-color: var(--text); }

/* Kalender */
.kalender-kopf { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; gap: 12px; }
.kalender-kopf h2 { margin: 0; font-size: 1.4rem; }
.kalender-kopf .pfeile { display: flex; gap: 6px; }
.kalender-kopf button { background: var(--karte); border: 1px solid var(--linie); color: var(--text); border-radius: 9px; width: 38px; height: 38px; cursor: pointer; font-size: 1.1rem; }
.kalender-kopf button.heute { width: auto; padding: 0 12px; font: 600 .85rem "Inter"; }
.monat { display: grid; grid-template-columns: repeat(7, 1fr); border: 1px solid var(--linie); border-radius: var(--r); overflow: hidden; background: var(--karte); }
.monat .wt { padding: 10px; font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--grau); border-bottom: 1px solid var(--linie); }
.tag { min-height: 104px; padding: 8px; border-right: 1px solid var(--linie); border-bottom: 1px solid var(--linie); font-size: .82rem; }
.tag:nth-child(7n) { border-right: 0; }
.tag.fremd { background: rgba(0,0,0,.18); color: var(--linie2); }
.tag .nr { font-weight: 650; color: var(--text2); font-variant-numeric: tabular-nums; }
.tag.heute .nr { background: var(--gold); color: #111; border-radius: 999px; padding: 1px 7px; }
.tag a { display: block; margin-top: 5px; text-decoration: none; padding: 4px 6px; border-radius: 6px; font-size: .76rem; line-height: 1.25; background: var(--karte2); border-left: 2px solid var(--grau); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tag a.plenar, .tag a.sonder { border-left-color: var(--gold); }
.tag a.praesidium, .tag a.aeltestenrat { border-left-color: var(--rot); }
.legende { display: flex; gap: 16px; flex-wrap: wrap; color: var(--grau); font-size: .82rem; margin-top: 12px; }
.legende i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }
.legende .l-gold { background: var(--gold); } .legende .l-rot { background: var(--rot); } .legende .l-grau { background: var(--grau); }

/* Abstimmungen */
.abst { background: var(--karte); border: 1px solid var(--linie); border-radius: var(--r); padding: 22px; margin-bottom: 16px; }
.abst-kopf { display: flex; justify-content: space-between; gap: 16px; align-items: start; flex-wrap: wrap; margin-bottom: 12px; }
.abst h3 { margin: 6px 0 0; font-size: 1.15rem; }
.abst-zeile { display: grid; grid-template-columns: 1fr 260px auto; gap: 18px; align-items: center; padding: 12px 0; border-top: 1px solid var(--linie); }
.abst-zeile .gegenstand { font-weight: 600; font-size: .95rem; }
.abst-zeile .gegenstand small { display: block; color: var(--grau); font-weight: 500; }
.balken { display: flex; height: 8px; border-radius: 99px; overflow: hidden; background: var(--karte2); }
.balken .ja { background: var(--gruen); } .balken .nein { background: var(--rot); } .balken .enth { background: var(--grau); }
.balken-zahlen { display: flex; gap: 12px; font-size: .78rem; color: var(--grau); margin-top: 5px; font-variant-numeric: tabular-nums; }

/* Detail */
.artikel { max-width: 780px; }
.artikel-kopf { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-bottom: 14px; }
.artikel h1 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); letter-spacing: -.03em; }
.artikel .text { font-size: 1.06rem; color: var(--text2); }
.artikel .text p { margin-bottom: 1.1em; }
.artikel .unterschrift { margin-top: 26px; padding-top: 18px; border-top: 1px solid var(--linie); color: var(--text); font-weight: 600; }
.artikel figure { margin: 0 0 24px; } .artikel figure img { border-radius: var(--r); border: 1px solid var(--linie); }
.dokumentkopf { display: flex; gap: 16px; align-items: center; justify-content: space-between; flex-wrap: wrap; background: var(--karte); border: 1px solid var(--linie); border-radius: 12px; padding: 14px 16px; margin: 22px 0; }

/* Dokumente-Tabelle */
.tabelle { width: 100%; border-collapse: collapse; font-size: .93rem; }
.tabelle th { text-align: left; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--grau); font-weight: 700; padding: 10px 12px; border-bottom: 1px solid var(--linie2); }
.tabelle td { padding: 14px 12px; border-bottom: 1px solid var(--linie); vertical-align: top; }
.tabelle tr:hover td { background: rgba(255,255,255,.02); }
.tabelle a { text-decoration: none; font-weight: 600; } .tabelle a:hover { text-decoration: underline; }
.pdf-link { display: inline-flex; gap: 6px; align-items: center; font-size: .82rem; font-weight: 650; color: var(--text); text-decoration: none; border: 1px solid var(--linie2); padding: 5px 10px; border-radius: 8px; white-space: nowrap; }
.pdf-link::before { content: "PDF"; font-size: .62rem; background: var(--rot); color: #fff; border-radius: 3px; padding: 1px 4px; letter-spacing: .05em; }
.pdf-link:hover { border-color: var(--grau); }

/* Galerie */
.galerie { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.galerie figure { margin: 0; border-radius: 12px; overflow: hidden; border: 1px solid var(--linie); background: var(--karte); }
.galerie img { aspect-ratio: 4/3; object-fit: cover; width: 100%; transition: transform .4s; }
.galerie figure:hover img { transform: scale(1.04); }
.galerie figcaption { padding: 10px 12px; font-size: .84rem; color: var(--text2); }

/* Fraktionen-Leiste */
.fraktionen-leiste { display: block; width: 100%; height: 12px; border-radius: 99px; overflow: hidden; background: var(--karte2); margin: 6px 0 14px; }
.fraktionen-liste { display: flex; flex-wrap: wrap; gap: 14px; font-size: .86rem; color: var(--text2); }
.fraktionen-liste i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }

/* Text-Seiten */
.textseite { max-width: 760px; }
.textseite h2 { font-size: 1.3rem; margin-top: 1.6em; }
.textseite p, .textseite li { color: var(--text2); }

/* Fuß */
.fuss { border-top: 1px solid var(--linie); background: #0d0f12; margin-top: 40px; position: relative; }
.fuss-innen { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; padding: 54px 0 34px; }
.fuss h4 { font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--grau); margin-bottom: 14px; font-weight: 700; }
.fuss ul { list-style: none; margin: 0; padding: 0; }
.fuss li { margin-bottom: 8px; }
.fuss a { color: var(--text2); text-decoration: none; font-size: .92rem; } .fuss a:hover { color: var(--text); }
.fuss .marke img { height: 40px; }
.fuss p { color: var(--grau); font-size: .88rem; margin-top: 14px; max-width: 36ch; }
.fuss-unten { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-top: 1px solid var(--linie); padding: 18px 0 26px; color: var(--grau); font-size: .82rem; }
.fuss-unten a { color: var(--text2); font-size: .82rem; }
.wahlspruch { font: italic 400 1.05rem "Instrument Serif", serif; color: var(--text2); }

/* Suche */
.suche-ebene { position: fixed; inset: 0; z-index: 100; background: rgba(5, 6, 8, .72); display: none; align-items: start; justify-content: center; padding: 12vh 16px 16px; }
.suche-ebene.offen { display: flex; animation: einblenden .18s ease-out; }
.suche-box { width: min(680px, 100%); background: var(--flaeche); border: 1px solid var(--linie2); border-radius: 18px; box-shadow: var(--schatten); overflow: hidden; }
.suche-box input { width: 100%; background: transparent; border: 0; border-bottom: 1px solid var(--linie); color: var(--text); font: 500 1.1rem "Inter"; padding: 18px 20px; outline: none; }
.suche-treffer { max-height: 56vh; overflow: auto; padding: 8px; }
.suche-treffer a { display: block; text-decoration: none; padding: 10px 12px; border-radius: 10px; }
.suche-treffer a:hover, .suche-treffer a.aktiv { background: var(--karte2); }
.suche-treffer small { color: var(--grau); display: block; font-size: .78rem; }
.suche-treffer .leer { border: 0; }
.suche-hinweis { padding: 10px 16px; border-top: 1px solid var(--linie); color: var(--grau); font-size: .78rem; display: flex; gap: 14px; }
mark { background: rgba(255, 206, 0, .25); color: inherit; border-radius: 3px; padding: 0 1px; }

/* Einblenden */
@keyframes einblenden { from { opacity: 0; } to { opacity: 1; } }
.erscheint { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.erscheint.da { opacity: 1; transform: none; }

/* Login-Fehlerseite */
.login-fehler { display: grid; place-items: center; min-height: 100vh; padding: 16px; }
.hinweis-karte { max-width: 30rem; background: var(--karte); border: 1px solid var(--linie); border-radius: 18px; padding: 32px; }
.hinweis-karte h1 { font-size: 1.3rem; margin-top: 16px; }

/* TitanDevWorks-Signatur */
.tdw-signatur a { color: var(--text2); }

@media (max-width: 1080px) {
  .nav a { padding: 8px 8px; font-size: .88rem; }
  .suche-knopf kbd, .suche-knopf .txt { display: none; }
}
@media (max-width: 940px) {
  .menue-knopf { display: block; }
  .nav { position: fixed; inset: 78px 0 auto 0; flex-direction: column; background: var(--grund); border-bottom: 1px solid var(--linie); padding: 10px 20px 20px; gap: 0; display: none; margin: 0; max-height: calc(100vh - 78px); overflow: auto; }
  .kopf.offen .nav { display: flex; }
  .nav a { padding: 14px 4px; font-size: 1.05rem; border-bottom: 1px solid var(--linie); border-radius: 0; }
  .nav a[aria-current="page"]::after { display: none; }
  .nav a[aria-current="page"] { color: var(--gold); }
  .kopf-aktionen { margin-left: auto; }
  .buehne-innen { grid-template-columns: 1fr; padding: 56px 0 64px; }
  .kuppel { max-width: 300px; justify-self: center; order: -1; margin-bottom: -10px; }
  .raster2, .raster3, .personen, .spalten2 { grid-template-columns: 1fr; }
  .person-gross { grid-template-columns: 1fr; gap: 22px; }
  .person-gross .portraet { max-width: 260px; }
  .zahlen { grid-template-columns: 1fr 1fr; }
  .zahl:nth-child(2) { border-right: 0; } .zahl:nth-child(-n+2) { border-bottom: 1px solid var(--linie); }
  .fuss-innen { grid-template-columns: 1fr 1fr; }
  .abst-zeile { grid-template-columns: 1fr; gap: 8px; }
}
@media (max-width: 620px) {
  .huelle { width: calc(100% - 28px); }
  .kopf-innen { height: 66px; gap: 12px; }
  .nav { inset: 70px 0 auto 0; }
  .marke img { height: 36px; }
  .dienst-kopf { display: none; }
  .meldung { grid-template-columns: 1fr; gap: 6px; }
  .meldung .datum-block b { display: inline; font-size: 1rem; margin-right: 4px; }
  .meldung > :last-child:not(:first-child) { display: none; }
  .person { grid-template-columns: 1fr; }
  .person .portraet { max-width: 160px; }
  .tag { min-height: 64px; padding: 4px; }
  .tag a { font-size: 0; height: 6px; padding: 0; margin-top: 3px; border-left-width: 0; background: var(--grau); }
  .tag a.plenar, .tag a.sonder { background: var(--gold); } .tag a.praesidium, .tag a.aeltestenrat { background: var(--rot); }
  .monat .wt { padding: 8px 2px; text-align: center; letter-spacing: 0; }
  .fuss-innen { grid-template-columns: 1fr; }
  .tabelle thead { display: none; }
  .tabelle tr { display: block; border-bottom: 1px solid var(--linie); padding: 10px 0; }
  .tabelle td { display: block; border: 0; padding: 3px 4px; }
  .abschnitt { padding: 44px 0; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .erscheint { opacity: 1; transform: none; }
}
details { margin-top: 8px; } summary { cursor: pointer; color: var(--text2); font-size: .88rem; font-weight: 600; }
.liste-to { margin: 8px 0 0; padding-left: 20px; color: var(--text2); font-size: .9rem; } .liste-to li { margin-bottom: 3px; }
.person.karte-link { text-decoration: none; transition: border-color .2s, transform .2s; } .person.karte-link:hover { border-color: var(--linie2); transform: translateY(-2px); }
#vergangen { margin: 26px 0 10px; }
