@charset "UTF-8";
/* ==========================================================================
   Jürgen Buchholz · Samtgemeindebürgermeister Harpstedt
   Gestaltung: Wappenblau & Wappengold, Papierweiß. Source Serif 4 (Überschriften),
   Archivo (Text, Zahlen, Beschilderung). Klare Linien statt Effekte.
   ========================================================================== */

:root {
  --ink: #0e1a2b;
  --navy: #17325c;
  --navy-2: #24477c;
  --navy-tint: #e3e8f0;
  --gold: #c99a2e;
  --gold-soft: #f0e2bc;
  --sign: #f3c11b;
  --paper: #f6f3ec;
  --paper-2: #ece6d9;
  --white: #fffdf8;
  --muted: #586172;
  --rule: rgba(14, 26, 43, .14);
  --rule-strong: rgba(14, 26, 43, .32);
  --rule-light: rgba(246, 243, 236, .16);
  --on-dark: rgba(246, 243, 236, .74);
  --serif: 'Source Serif 4', 'Iowan Old Style', Georgia, serif;
  --sans: 'Archivo', system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --gutter: clamp(16px, 4.5vw, 56px);
  --maxw: 1280px;
  --header-h: 72px;
  --r: 4px;
}

/* ---------- Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--sans); font-size: 1.0625rem; line-height: 1.6; color: var(--ink);
  background: var(--paper); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: hidden;
  font-feature-settings: "kern" 1;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; text-wrap: balance; }
p { margin: 0 0 1em; }
::selection { background: var(--navy); color: var(--white); }
:focus-visible { outline: 2px solid var(--navy); outline-offset: 3px; }
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.serif { color: var(--navy); }
.num { font-family: var(--sans); font-stretch: 78%; font-weight: 700; font-variant-numeric: tabular-nums lining-nums; letter-spacing: -.01em; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 16px; top: -64px; z-index: 500; background: var(--ink); color: var(--paper); padding: 10px 18px; text-decoration: none; font-weight: 600; transition: top .3s; }
.skip-link:focus { top: 16px; }
.progress { position: fixed; inset: 0 0 auto 0; height: 2px; z-index: 150; pointer-events: none; transform-origin: 0 50%; transform: scaleX(0); background: var(--gold); }

/* ---------- Kopfleiste ---------- */
.topbar { background: var(--ink); color: var(--on-dark); font-size: .78rem; }
.topbar .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 38px; }
.topbar p { margin: 0; letter-spacing: .02em; }
.topbar a { color: var(--paper); text-decoration: none; }
.topbar a:hover { text-decoration: underline; text-underline-offset: 3px; }
.topbar-right { display: flex; align-items: center; gap: 22px; }
.tenure-pill { display: inline-flex; align-items: center; gap: 8px; color: var(--paper); }
.tenure-pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--sign); }

.site-header { position: sticky; top: 0; z-index: 100; background: rgba(246, 243, 236, .94); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom: 1px solid var(--rule); transition: box-shadow .3s; }
.site-header.scrolled { box-shadow: 0 10px 30px -24px rgba(14, 26, 43, .5); }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand-mark { width: 40px; height: 40px; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text b { font-family: var(--serif); font-size: 1.16rem; font-weight: 600; letter-spacing: -.005em; }
.brand-text small { font-size: .7rem; font-weight: 600; font-stretch: 85%; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-top: 2px; }
.nav { display: flex; align-items: center; gap: 2px; }
.nav a { position: relative; text-decoration: none; font-size: .92rem; font-weight: 500; padding: 10px 12px; color: var(--ink); }
.nav a::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 2px; background: var(--gold); transform: scaleX(0); transform-origin: 0 50%; transition: transform .35s var(--ease); }
.nav a:hover::after, .nav a.active::after { transform: scaleX(1); }
.nav a.active { font-weight: 650; }
.nav .nav-cta { margin-left: 12px; display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border: 1px solid var(--ink); border-radius: var(--r); font-weight: 600; transition: background-color .25s, color .25s; }
.nav .nav-cta::after { display: none; }
.nav .nav-cta:hover { background: var(--ink); color: var(--paper); }
.nav .nav-cta svg { width: 16px; height: 16px; }
.menu-toggle { display: none; position: relative; width: 46px; height: 46px; border: 1px solid var(--rule-strong); border-radius: var(--r); flex: none; }
.menu-toggle span { position: absolute; left: 13px; width: 18px; height: 2px; background: var(--ink); transition: transform .35s var(--ease), top .35s var(--ease); }
.menu-toggle span:first-child { top: 18px; }
.menu-toggle span:last-child { top: 25px; }
.nav-open .menu-toggle span:first-child { top: 21px; transform: rotate(45deg); }
.nav-open .menu-toggle span:last-child { top: 21px; transform: rotate(-45deg); }

/* ---------- Buttons & Links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 52px; padding: 0 24px; border-radius: var(--r);
  font-weight: 600; font-size: .98rem; text-decoration: none; border: 1px solid transparent;
  transition: background-color .25s, color .25s, border-color .25s;
}
.btn .arrow { display: inline-block; transition: transform .35s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.btn-primary { background: var(--navy); color: var(--white); }
.btn-primary:hover { background: var(--ink); }
.btn-ghost { border-color: var(--rule-strong); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-light { background: var(--paper); color: var(--ink); }
.btn-light:hover { background: var(--sign); }
.btn svg { width: 18px; height: 18px; }
.link-arrow { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; text-decoration: none; padding-bottom: 3px; border-bottom: 1px solid currentColor; }
.link-arrow .arrow { transition: transform .35s var(--ease); }
.link-arrow:hover .arrow { transform: translateX(4px); }

/* ---------- Sektionen & Typografie ---------- */
.section { position: relative; padding-block: clamp(72px, 9vw, 136px); }
.section-tight { padding-block: clamp(56px, 6vw, 88px); }
.section-dark { background: var(--ink); color: var(--paper); }
.section-navy { background: var(--navy); color: var(--paper); }
.section-sand { background: var(--paper-2); }
.section-white { background: var(--white); }
.section-first { padding-top: clamp(56px, 7vw, 104px); }
.ruled { border-top: 1px solid var(--rule); }
.kicker { display: flex; align-items: center; gap: 12px; margin: 0 0 22px; font-size: .74rem; font-weight: 650; font-stretch: 85%; letter-spacing: .16em; text-transform: uppercase; color: var(--navy); }
.kicker::before { content: ""; width: 10px; height: 10px; background: var(--gold); flex: none; }
.section-dark .kicker, .section-navy .kicker, .site-footer .kicker { color: var(--gold-soft); }
.display { font-family: var(--serif); font-weight: 600; font-size: clamp(3rem, 7.6vw, 6.6rem); line-height: .98; letter-spacing: -.025em; }
.h2 { font-family: var(--serif); font-size: clamp(2.2rem, 4.8vw, 4.1rem); line-height: 1.04; letter-spacing: -.02em; margin-bottom: 22px; }
.h3 { font-family: var(--serif); font-size: clamp(1.55rem, 2.7vw, 2.25rem); line-height: 1.12; letter-spacing: -.015em; margin-bottom: 12px; }
.section-dark .serif, .section-navy .serif, .site-footer .serif { color: var(--gold-soft); }
.intro { font-size: clamp(1.06rem, 1.45vw, 1.22rem); line-height: 1.55; color: var(--muted); max-width: 60ch; margin: 0; }
.section-dark .intro, .section-navy .intro { color: var(--on-dark); }
.section-head { max-width: 860px; }
.split-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .8fr); gap: 24px clamp(32px, 6vw, 96px); align-items: end; }
.split-head .h2 { margin: 0; }

/* Einblendungen – zurückhaltend */
.js .reveal { opacity: 0; transform: translate3d(0, 18px, 0); transition: opacity .9s var(--ease) var(--d, 0s), transform .9s var(--ease) var(--d, 0s); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- Ortstafel (Signatur-Element) ---------- */
.ortstafel {
  --s: 1;
  display: inline-flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  min-width: calc(220px * var(--s)); padding: calc(16px * var(--s)) calc(30px * var(--s)) calc(14px * var(--s));
  background: var(--sign); color: #111; border-radius: calc(10px * var(--s));
  box-shadow: inset 0 0 0 calc(5px * var(--s)) var(--sign), inset 0 0 0 calc(8px * var(--s)) #111, 0 18px 30px -22px rgba(14, 26, 43, .6);
  font-family: var(--sans); font-stretch: 72%; line-height: 1.02;
}
.ortstafel b { display: block; font-size: calc(2.6rem * var(--s)); font-weight: 700; letter-spacing: .005em; }
.ortstafel small { display: block; margin-top: calc(6px * var(--s)); font-size: calc(.92rem * var(--s)); font-weight: 600; letter-spacing: .01em; }
.ortstafel .flip { display: inline-block; }
.ortstafel .flip.out { animation: flipOut .22s ease-in forwards; }
.ortstafel .flip.in { animation: flipIn .32s var(--ease) both; }
@keyframes flipOut { to { transform: translateY(-40%) rotateX(70deg); opacity: 0; } }
@keyframes flipIn { from { transform: translateY(40%) rotateX(-70deg); opacity: 0; } }

/* ---------- Startseite: Hero ---------- */
.home-hero { position: relative; padding-top: clamp(40px, 6vw, 88px); padding-bottom: 0; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 80px); align-items: end; }
.hero-copy { padding-bottom: clamp(8px, 2vw, 24px); }
.hero-role { display: block; margin: 18px 0 26px; font-size: clamp(1.05rem, 1.8vw, 1.4rem); font-weight: 600; font-stretch: 90%; letter-spacing: .04em; text-transform: uppercase; color: var(--navy); }
.hero-role span { color: var(--muted); font-weight: 500; }
.hero-lead { font-family: var(--serif); font-size: clamp(1.3rem, 2.1vw, 1.72rem); line-height: 1.4; font-weight: 400; max-width: 34ch; margin-bottom: 34px; }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; }
.hero-photo { position: relative; margin: 0; }
.hero-photo .frame { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--paper-2); border-radius: var(--r); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.js .hero-photo .frame { clip-path: inset(100% 0 0 0); transition: clip-path 1.3s var(--ease) .1s; }
.js .hero-photo.in .frame { clip-path: inset(0 0 0 0); }
.hero-photo figcaption { display: flex; justify-content: space-between; gap: 12px; padding-top: 12px; font-size: .78rem; color: var(--muted); border-top: 1px solid var(--rule); margin-top: 12px; }

/* Amtszeit-Leiste */
.tenure { margin-top: clamp(48px, 6vw, 80px); border-top: 1px solid var(--ink); border-bottom: 1px solid var(--rule); display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 0; }
.tenure-day { display: flex; align-items: baseline; gap: 14px; padding: 22px clamp(20px, 3vw, 40px) 22px 0; border-right: 1px solid var(--rule); }
.tenure-day b { font-size: clamp(3rem, 6vw, 4.6rem); line-height: .9; color: var(--navy); }
.tenure-day span { font-size: .86rem; line-height: 1.3; color: var(--muted); max-width: 11ch; }
.tenure-track { padding: 22px 0 18px clamp(20px, 3vw, 40px); }
.tenure-head { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: .82rem; margin-bottom: 14px; }
.tenure-head b { font-weight: 650; }
.tenure-head span { color: var(--muted); }
.tenure-bar { position: relative; height: 34px; }
.tenure-bar .rail { position: absolute; left: 0; right: 0; top: 14px; height: 6px; background: var(--paper-2); }
.tenure-bar .fill { position: absolute; left: 0; top: 14px; height: 6px; width: 0; background: var(--navy); transition: width 1.6s var(--ease) .3s; }
.tenure-bar .now { position: absolute; top: 6px; width: 2px; height: 22px; background: var(--gold); transform: translateX(-1px); transition: left 1.6s var(--ease) .3s; left: 0; }
.tenure-bar .tick { position: absolute; top: 0; height: 34px; border-left: 1px solid var(--rule-strong); }
.tenure-bar .tick span { position: absolute; top: 26px; left: 6px; font-size: .72rem; color: var(--muted); }
.tenure-years { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); margin-top: 10px; }
.tenure-years button { text-align: left; padding: 8px 8px 6px 0; border-top: 2px solid transparent; font-size: .74rem; color: var(--muted); transition: color .2s, border-color .2s; }
.tenure-years button:hover, .tenure-years button[aria-pressed="true"] { color: var(--ink); border-top-color: var(--gold); }
.tenure-note { margin: 6px 0 0; min-height: 1.5em; font-size: .86rem; color: var(--ink); }

/* Kennzahlen-Leiste */
.facts-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-bottom: 1px solid var(--rule); }
.facts-row div { padding: 22px 20px 22px 0; }
.facts-row div + div { padding-left: 20px; border-left: 1px solid var(--rule); }
.facts-row b { display: block; font-size: clamp(1.6rem, 2.8vw, 2.3rem); line-height: 1; }
.facts-row span { display: block; margin-top: 6px; font-size: .8rem; color: var(--muted); }

/* ---------- Gemeinden-Explorer (Startseite) ---------- */
.explorer { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(28px, 5vw, 80px); align-items: center; margin-top: clamp(36px, 5vw, 64px); }
.explorer-map { position: relative; }
.explorer-map svg { display: block; width: 100%; height: auto; max-height: 72vh; overflow: visible; }
.explorer-map .g { cursor: pointer; outline: none; }
.explorer-map .g path { fill: var(--white); stroke: var(--navy); stroke-width: 3; stroke-linejoin: round; transition: fill .35s var(--ease); }
.explorer-map .g:hover path, .explorer-map .g.hover path { fill: var(--gold-soft); }
.explorer-map .g.selected path { fill: var(--navy); }
.explorer-map .g:focus-visible path { stroke: var(--gold); stroke-width: 7; }
.explorer-map .lbl { font-family: var(--sans); font-stretch: 80%; font-size: 30px; font-weight: 650; fill: var(--ink); text-anchor: middle; pointer-events: none; transition: fill .3s; }
.explorer-map .lbl.on { fill: var(--white); }
.explorer-map .pin { fill: var(--sign); stroke: var(--ink); stroke-width: 3; pointer-events: none; }
.explorer-panel { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1fr); gap: clamp(18px, 3vw, 36px); align-items: start; }
.explorer-photo { margin: 0; aspect-ratio: 3 / 4; overflow: hidden; border-radius: var(--r); background: var(--paper-2); }
.explorer-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; transition: opacity .35s ease, transform 1.2s var(--ease); }
.explorer-photo img.fade { opacity: 0; transform: scale(1.03); }
.explorer-info .ortstafel { --s: .82; margin-bottom: 26px; max-width: 100%; perspective: 400px; }
.explorer-info h3 { font-family: var(--serif); font-size: 1.35rem; line-height: 1.25; margin: 0 0 10px; }
.explorer-info p { color: var(--muted); font-size: .96rem; margin: 0 0 18px; }
.explorer-meta { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 8px 16px; margin: 0 0 22px; padding: 14px 0; border-block: 1px solid var(--rule); font-size: .86rem; }
.explorer-meta dt { color: var(--muted); }
.explorer-meta dd { margin: 0; font-weight: 600; }
.explorer-nav { display: flex; align-items: center; gap: 10px; }
.explorer-count { font-size: .8rem; color: var(--muted); margin-left: 6px; }
.sq-btn { width: 46px; height: 46px; display: grid; place-items: center; border: 1px solid var(--rule-strong); border-radius: var(--r); transition: background-color .2s, color .2s, border-color .2s; }
.sq-btn:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.sq-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.chips-nav { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 28px; padding: 0; list-style: none; }
.chips-nav button { padding: 7px 12px; border: 1px solid var(--rule); border-radius: var(--r); font-size: .82rem; font-weight: 500; transition: background-color .2s, border-color .2s, color .2s; }
.chips-nav button:hover { border-color: var(--ink); }
.chips-nav button[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: var(--white); }

/* ---------- Schwerpunkte (Akkordeon) ---------- */
.agenda { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.agenda-intro { position: sticky; top: calc(var(--header-h) + 32px); }
.agenda-intro .intro { margin-bottom: 28px; }
.acc { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.acc li { border-bottom: 1px solid var(--rule); }
.acc-btn { width: 100%; display: grid; grid-template-columns: 56px minmax(0, 1fr) 28px; gap: 16px; align-items: center; padding: 22px 0; text-align: left; }
.acc-btn .num { font-size: 1.05rem; color: var(--gold); }
.acc-btn h3 { font-family: var(--serif); font-size: clamp(1.25rem, 2vw, 1.6rem); line-height: 1.2; font-weight: 600; transition: color .2s; }
.acc-btn:hover h3 { color: var(--navy); }
.acc-ico { position: relative; width: 28px; height: 28px; border: 1px solid var(--rule-strong); border-radius: 50%; }
.acc-ico::before, .acc-ico::after { content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 1.5px; background: var(--ink); transform: translate(-50%, -50%); transition: transform .35s var(--ease); }
.acc-ico::after { transform: translate(-50%, -50%) rotate(90deg); }
.acc-btn[aria-expanded="true"] .acc-ico { background: var(--navy); border-color: var(--navy); }
.acc-btn[aria-expanded="true"] .acc-ico::before, .acc-btn[aria-expanded="true"] .acc-ico::after { background: var(--white); }
.acc-btn[aria-expanded="true"] .acc-ico::after { transform: translate(-50%, -50%) rotate(0deg); }
.acc-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease); }
.acc-panel > div { overflow: hidden; }
.acc-panel p { margin: 0; padding: 0 44px 26px 72px; color: var(--muted); max-width: 64ch; }
.acc-btn[aria-expanded="true"] + .acc-panel { grid-template-rows: 1fr; }
.no-js .acc-panel, html:not(.js) .acc-panel { grid-template-rows: 1fr; }

/* ---------- „Zuhören“ – Aufdecken ---------- */
.listen { text-align: center; }
.listen-q { font-family: var(--serif); font-size: clamp(1.45rem, 3vw, 2.4rem); line-height: 1.25; max-width: 26ch; margin: 0 auto; }
.listen-a { font-family: var(--serif); font-weight: 600; font-size: clamp(4.4rem, 16vw, 13rem); line-height: .95; letter-spacing: -.03em; color: var(--sign); margin: 18px 0 6px; min-height: 1em; }
.listen-a .ch { display: inline-block; }
.js .listen:not(.open) .listen-a .ch { opacity: 0; transform: translateY(.3em); }
.listen.open .listen-a .ch { animation: chIn .7s var(--ease) both; animation-delay: calc(var(--i) * 60ms); }
@keyframes chIn { from { opacity: 0; transform: translateY(.3em); } }
.listen-btn { display: none; }
.js .listen-btn { display: inline-flex; }
.js .listen.open .listen-btn { display: none; }
.listen-src { font-size: .86rem; color: var(--on-dark); margin: 18px 0 0; }
.js .listen:not(.open) .listen-src { visibility: hidden; }
.values { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 0; padding: 0; margin: 40px auto 0; max-width: 900px; border-top: 1px solid var(--rule-light); }
.values li { padding: 14px 18px 0; font-size: .86rem; font-weight: 500; font-stretch: 90%; letter-spacing: .1em; text-transform: uppercase; color: var(--on-dark); }

/* ---------- Person (Teaser) ---------- */
.person { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.person-media { position: relative; margin: 0; }
.person-media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 30%; border-radius: var(--r); }
.person-media figcaption { margin-top: 12px; font-size: .78rem; color: var(--muted); }
.mini-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 32px 0 34px; border-top: 1px solid var(--rule); }
.mini-facts div { padding: 18px 16px 18px 0; border-bottom: 1px solid var(--rule); }
.mini-facts div:nth-child(even) { padding-left: 16px; border-left: 1px solid var(--rule); }
.mini-facts b { display: block; font-size: 2rem; line-height: 1; color: var(--navy); }
.mini-facts span { display: block; margin-top: 6px; font-size: .84rem; line-height: 1.4; color: var(--muted); }

/* ---------- Wahl-Archiv (Startseite) ---------- */
.archive { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.vote-bars { margin: 8px 0 0; }
.vote-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: baseline; gap: 4px 16px; padding: 16px 0; border-bottom: 1px solid var(--rule); }
.vote-row span { font-weight: 600; }
.vote-row b { font-size: 1.9rem; line-height: 1; }
.vote-row em { grid-column: 1 / -1; font-style: normal; font-size: .82rem; color: var(--muted); }
.vote-row i { grid-column: 1 / -1; height: 8px; background: var(--paper-2); position: relative; }
.vote-row i::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 0; background: var(--muted); transition: width 1.4s var(--ease); }
.vote-row.win b { color: var(--navy); }
.vote-row.win i::before { background: var(--navy); }
.in .vote-row i::before { width: var(--w); }
.link-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.link-list a { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 16px; align-items: center; padding: 22px 0; border-bottom: 1px solid var(--rule); text-decoration: none; }
.link-list a b { font-family: var(--serif); font-size: clamp(1.2rem, 1.8vw, 1.45rem); font-weight: 600; transition: color .2s; }
.link-list a span { grid-column: 1; font-size: .88rem; color: var(--muted); }
.link-list a .arrow { grid-column: 2; grid-row: 1 / span 2; font-size: 1.2rem; transition: transform .35s var(--ease); }
.link-list a:hover b { color: var(--navy); }
.link-list a:hover .arrow { transform: translateX(6px); }

/* ---------- Amtshof-Band ---------- */
.place-band { position: relative; min-height: clamp(380px, 52vw, 640px); display: flex; align-items: flex-end; color: var(--white); overflow: hidden; }
.place-band img { position: absolute; inset: 0; width: 100%; height: 115%; object-fit: cover; object-position: 50% 40%; will-change: transform; }
.place-band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14, 26, 43, 0) 35%, rgba(14, 26, 43, .78)); }
.place-band .container { position: relative; z-index: 1; padding-bottom: clamp(32px, 5vw, 64px); }
.place-band p { margin: 0; max-width: 40ch; font-family: var(--serif); font-size: clamp(1.4rem, 2.8vw, 2.2rem); line-height: 1.25; }
.place-band small { display: block; margin-top: 12px; font-size: .8rem; color: rgba(255, 253, 248, .8); }

/* ---------- Seitenkopf Unterseiten ---------- */
.page-head { padding-bottom: clamp(36px, 4vw, 56px); border-bottom: 1px solid var(--rule); margin-bottom: clamp(40px, 5vw, 64px); }
.crumbs { display: flex; gap: 8px; margin: 0 0 18px; padding: 0; list-style: none; font-size: .8rem; color: var(--muted); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: var(--rule-strong); }

/* ---------- Wahlergebnis ---------- */
.status-pill { display: inline-flex; align-items: center; gap: 10px; margin-top: 26px; padding: 8px 14px; border: 1px solid var(--rule-strong); border-radius: var(--r); font-size: .8rem; font-weight: 600; }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); flex: none; }
.duel { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); margin-top: clamp(36px, 4vw, 56px); background: var(--white); border: 1px solid var(--rule); border-top: 3px solid var(--navy); }
.duel-side { padding: clamp(24px, 3.6vw, 48px); }
.duel-side.lose { border-left: 1px solid var(--rule); }
.cand { display: flex; align-items: center; gap: 16px; min-height: 80px; }
.avatar { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; flex: none; }
.avatar-initials { display: grid; place-items: center; background: var(--paper-2); color: var(--muted); font-weight: 700; font-size: 1.25rem; }
.cand h2, .cand h3 { font-family: var(--serif); }
.cand p { margin: 4px 0 0; font-size: .84rem; line-height: 1.4; color: var(--muted); }
.winner-badge { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 6px; padding: 3px 9px; background: var(--sign); color: #111; font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; border-radius: 2px; }
.pct { margin: clamp(20px, 3vw, 32px) 0 6px; font-family: var(--sans); font-stretch: 75%; font-size: clamp(3.8rem, 10vw, 8.4rem); font-weight: 700; letter-spacing: -.02em; line-height: .9; font-variant-numeric: tabular-nums; white-space: nowrap; }
.pct small { font-size: .42em; margin-left: .08em; }
.win .pct { color: var(--navy); }
.lose .pct { color: #8b93a3; }
.votes { margin: 0; font-size: 1rem; color: var(--muted); }
.votes b { color: var(--ink); font-weight: 700; }
.splitbar-wrap { grid-column: 1 / -1; padding: 0 clamp(24px, 3.6vw, 48px) clamp(40px, 4.5vw, 56px); }
.splitbar-inner { position: relative; }
.splitbar { display: flex; justify-content: space-between; height: 14px; overflow: hidden; background: var(--paper-2); }
.splitbar span { display: block; height: 100%; width: 0; transition: width 1.6s var(--ease); }
.splitbar .seg-a { background: var(--navy); border-right: 2px solid var(--white); }
.splitbar .seg-b { background: #a6adbb; }
.mid-mark { position: absolute; left: 50%; top: -8px; height: 30px; width: 1px; background: var(--ink); }
.mid-mark::after { content: "50 %"; position: absolute; top: 34px; left: 50%; transform: translateX(-50%); font-size: .7rem; font-weight: 600; color: var(--muted); white-space: nowrap; }

.kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 28px; border-top: 1px solid var(--ink); }
.kpi { padding: 24px 22px 24px 0; border-bottom: 1px solid var(--rule); }
.kpi + .kpi { padding-left: 22px; border-left: 1px solid var(--rule); }
.kpi-label { display: block; font-size: .72rem; font-weight: 650; font-stretch: 85%; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.kpi b { display: block; font-stretch: 78%; font-size: clamp(1.9rem, 3.2vw, 2.7rem); font-weight: 700; line-height: 1; font-variant-numeric: tabular-nums; }
.kpi p { margin: 10px 0 0; font-size: .84rem; line-height: 1.45; color: var(--muted); }
.kpi .up { display: inline-block; margin-top: 10px; font-size: .76rem; font-weight: 600; color: var(--navy); }

.underdog { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(24px, 5vw, 72px); align-items: center; margin-top: 28px; background: var(--navy); color: var(--paper); padding: clamp(28px, 5vw, 56px); border-radius: var(--r); }
.ud-vs { display: flex; align-items: center; gap: clamp(14px, 2vw, 24px); }
.ud-vs div { display: flex; flex-direction: column; }
.ud-vs b { font-stretch: 75%; font-size: clamp(4rem, 9vw, 7rem); font-weight: 700; line-height: .85; }
.ud-vs div:first-child b { color: var(--sign); }
.ud-vs span { margin-top: 8px; font-size: .78rem; line-height: 1.3; color: var(--on-dark); max-width: 13ch; }
.ud-vs em { font-style: normal; font-weight: 600; font-size: 1rem; letter-spacing: .1em; text-transform: uppercase; color: var(--on-dark); }
.underdog h2, .underdog h3 { font-family: var(--serif); }
.underdog p { color: var(--on-dark); margin: 0; max-width: 62ch; }
.coalition { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.coalition span { font-size: .76rem; font-weight: 600; padding: 5px 10px; border: 1px solid var(--rule-light); border-radius: 2px; }

.subhead { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px 32px; flex-wrap: wrap; margin-top: clamp(72px, 9vw, 120px); padding-top: 28px; border-top: 1px solid var(--rule); }
.subhead .h3 { margin: 0; }
.subhead p { max-width: 50ch; color: var(--muted); margin: 0; }

/* Karte Wahlergebnis */
.map-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(20px, 3vw, 48px); margin-top: 36px; align-items: start; }
.map-card { position: relative; background: var(--white); border: 1px solid var(--rule); padding: clamp(18px, 2.6vw, 32px); border-radius: var(--r); }
.map-wrap { position: relative; }
.map-svg { display: block; width: 100%; height: auto; max-height: 78vh; margin-inline: auto; overflow: visible; }
.map-svg .g { cursor: pointer; outline: none; }
.map-svg .g path { stroke: var(--white); stroke-width: 4; stroke-linejoin: round; transition: opacity .3s ease; }
.map-svg.has-hover .g:not(.hover):not(.selected) path { opacity: .45; }
.map-svg .g:focus-visible path { stroke: var(--gold); stroke-width: 8; }
.map-hl { fill: none; stroke: var(--ink); stroke-width: 5; stroke-linejoin: round; pointer-events: none; opacity: 0; transition: opacity .2s; }
.map-hl.show { opacity: 1; }
.map-sel { fill: none; stroke: var(--sign); stroke-width: 8; stroke-linejoin: round; pointer-events: none; }
.map-label { font-family: var(--sans); font-stretch: 80%; font-size: 31px; font-weight: 600; fill: var(--ink); text-anchor: middle; pointer-events: none; }
.map-label .lp { font-size: 42px; font-weight: 700; }
.map-label.on-dark { fill: #fff; }
.js .map-card:not(.in) .g, .js .map-card:not(.in) .map-label { opacity: 0; }
.map-card.in .g, .map-card.in .map-label { animation: mapIn .8s var(--ease) both; animation-delay: calc(var(--i) * 60ms + .15s); }
@keyframes mapIn { from { opacity: 0; } }
.tooltip { position: absolute; left: 0; top: 0; z-index: 5; pointer-events: none; background: var(--ink); color: var(--paper); padding: 9px 12px; border-radius: var(--r); font-size: .8rem; line-height: 1.4; white-space: nowrap; opacity: 0; transform: translate(-50%, calc(-100% - 16px)); transition: opacity .15s; }
.tooltip.show { opacity: 1; }
.tooltip b { display: block; }
.map-legend { display: flex; align-items: center; gap: 12px; margin-top: 14px; font-size: .74rem; color: var(--muted); }
.legend-scale { flex: 1; height: 8px; background: linear-gradient(90deg, #6f7787, #dfe2e8 50%, #c5d1e4 50%, #17325c); }
.map-detail { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 18px; align-items: center; margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--rule); min-height: 162px; }
.map-detail img { width: 112px; height: 140px; object-fit: cover; object-position: 50% 30%; border-radius: var(--r); }
.md-kicker { margin: 0; font-size: .68rem; font-weight: 650; letter-spacing: .14em; text-transform: uppercase; color: var(--navy); }
.map-detail h4 { font-family: var(--serif); font-size: 1.35rem; margin: 2px 0 10px; }
.md-row { display: grid; grid-template-columns: minmax(0, 1fr) auto 52px; gap: 10px; align-items: baseline; font-size: .86rem; }
.md-row b { font-variant-numeric: tabular-nums; }
.md-row em { font-style: normal; color: var(--muted); text-align: right; font-variant-numeric: tabular-nums; }
.md-row.is-bu b { color: var(--navy); }
.md-bar { height: 6px; background: var(--paper-2); margin: 6px 0; overflow: hidden; }
.md-bar i { display: block; height: 100%; background: var(--navy); }
.md-note { margin: 8px 0 0; font-size: .74rem; color: var(--muted); }
.md-reset { margin-top: 8px; font-size: .8rem; font-weight: 600; color: var(--navy); }
.md-reset:hover { text-decoration: underline; }
.map-side { display: flex; flex-direction: column; gap: 18px; }
.highlights { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--ink); }
.hl { padding: 16px 14px 16px 0; border-bottom: 1px solid var(--rule); }
.hl + .hl { padding-left: 14px; border-left: 1px solid var(--rule); }
.hl b { display: block; font-stretch: 78%; font-size: clamp(1.5rem, 2.4vw, 2rem); font-weight: 700; line-height: 1; color: var(--navy); }
.hl span { display: block; margin-top: 8px; font-size: .76rem; line-height: 1.35; color: var(--muted); }
.g-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--rule); }
.g-item { width: 100%; display: grid; grid-template-columns: 24px minmax(0, 1fr) auto; gap: 4px 12px; align-items: center; text-align: left; padding: 12px 10px; border-bottom: 1px solid var(--rule); transition: background-color .2s; }
.g-item:hover, .g-item.hover { background: var(--white); }
.g-item.selected { background: var(--white); box-shadow: inset 3px 0 0 var(--sign); }
.g-rank { font-size: .74rem; font-weight: 700; color: var(--muted); }
.g-item .name { font-weight: 600; }
.g-item .val { font-weight: 700; font-variant-numeric: tabular-nums; }
.g-item .bar { grid-column: 2 / -1; position: relative; height: 6px; background: var(--paper-2); overflow: hidden; }
.g-item .bar i { position: absolute; inset: 0 auto 0 0; width: 0; background: var(--navy); transition: width 1.3s var(--ease); }
.g-item.lost .bar i { background: #a6adbb; }
.g-item .bar::after { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 1px; background: var(--ink); }
.g-item .meta { grid-column: 2 / -1; font-size: .72rem; color: var(--muted); }
.postal { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 12px; padding: 14px 16px; border: 1px dashed var(--rule-strong); font-size: .88rem; }
.postal b { font-weight: 600; }
.postal span { grid-column: 1 / -1; color: var(--muted); font-size: .74rem; }
.source { font-size: .74rem; line-height: 1.5; color: var(--muted); margin: 0; }

.council { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; margin-top: clamp(72px, 9vw, 120px); padding-top: clamp(28px, 4vw, 48px); border-top: 1px solid var(--rule); }
.council > div > p { color: var(--muted); }
.parties { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--rule); }
.party { display: grid; grid-template-columns: 12px minmax(0, 1fr) auto 64px; gap: 12px; align-items: center; font-size: .9rem; padding: 10px 0; border-bottom: 1px solid var(--rule); }
.party i { width: 12px; height: 12px; border-radius: 2px; }
.party b { font-weight: 700; white-space: nowrap; }
.party em { font-style: normal; color: var(--muted); text-align: right; font-variant-numeric: tabular-nums; }
.hemi-wrap { position: relative; }
.hemi-wrap svg { width: 100%; height: auto; overflow: visible; }
.hemi-wrap circle { transform-box: fill-box; transform-origin: center; }
.js .council:not(.in) .hemi-wrap circle { transform: scale(0); }
.council.in .hemi-wrap circle { animation: seat .5s var(--ease) both; animation-delay: calc(var(--i) * 24ms + .15s); }
@keyframes seat { from { transform: scale(0); } }
.hemi-total { position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); text-align: center; margin: 0; line-height: 1; }
.hemi-total b { display: block; font-stretch: 78%; font-size: clamp(2.6rem, 5vw, 3.6rem); font-weight: 700; }
.hemi-total span { font-size: .78rem; color: var(--muted); }
.council-note { margin: 16px 0 0; font-size: .74rem; color: var(--muted); }

/* ---------- Person (Unterseite) ---------- */
.about-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(40px, 6vw, 100px); align-items: start; }
.about-media { position: sticky; top: calc(var(--header-h) + 28px); }
.about-photo { margin: 0; overflow: hidden; aspect-ratio: 4 / 5; border-radius: var(--r); }
.about-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; }
.id-card { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 16px; border-top: 1px solid var(--ink); }
.id-card div { padding: 14px 14px 14px 0; border-bottom: 1px solid var(--rule); }
.id-card div:nth-child(even) { padding-left: 14px; border-left: 1px solid var(--rule); }
.id-card span { display: block; font-size: .7rem; font-weight: 650; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.id-card b { font-weight: 600; font-size: 1rem; }
.lead-light { font-family: var(--serif); font-size: clamp(1.25rem, 2vw, 1.55rem); line-height: 1.45; margin-bottom: 28px; }
.about-copy p:not(.lead-light):not(.kicker) { color: var(--muted); }
.pull { margin: 40px 0; padding: 4px 0 4px 26px; border-left: 3px solid var(--gold); }
.pull blockquote { margin: 0; font-family: var(--serif); font-weight: 600; font-size: clamp(1.7rem, 3vw, 2.4rem); line-height: 1.18; color: var(--navy); }
.pull figcaption { margin-top: 12px; font-size: .84rem; color: var(--muted); }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 36px; border-top: 1px solid var(--ink); }
.fact { padding: 20px 18px 20px 0; border-bottom: 1px solid var(--rule); }
.fact:nth-child(even) { padding-left: 18px; border-left: 1px solid var(--rule); }
.fact b { display: block; font-stretch: 78%; font-size: clamp(2rem, 3.6vw, 2.7rem); font-weight: 700; line-height: 1; color: var(--navy); font-variant-numeric: tabular-nums; }
.fact span { display: block; margin-top: 8px; font-size: .86rem; line-height: 1.4; color: var(--muted); }
.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-rows: minmax(170px, auto); gap: 12px; margin-top: clamp(64px, 8vw, 110px); }
.bento-card { position: relative; margin: 0; overflow: hidden; background: var(--ink); color: var(--paper); border-radius: var(--r); }
.bento-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.bento-card:hover img { transform: scale(1.04); }
.bento-card figcaption { position: absolute; inset: auto 0 0 0; padding: 90px 24px 22px; background: linear-gradient(180deg, transparent, rgba(14, 26, 43, .9)); }
.bento-card figcaption b { display: block; font-family: var(--serif); font-size: 1.3rem; }
.bento-card figcaption span { display: block; margin-top: 4px; font-size: .86rem; line-height: 1.45; color: var(--on-dark); max-width: 46ch; }
.b-fire { grid-column: span 5; grid-row: span 3; }
.b-fire img { object-position: 30% 30%; }
.b-work { grid-column: span 4; grid-row: span 2; }
.b-work img { object-position: 50% 30%; }
.b-quote { grid-column: span 3; grid-row: span 2; background: var(--navy); display: flex; flex-direction: column; justify-content: space-between; gap: 20px; padding: 28px; }
.b-quote p { font-family: var(--serif); font-weight: 600; font-size: clamp(1.5rem, 2.2vw, 2rem); line-height: 1.15; margin: 0; color: var(--white); }
.b-quote span { font-size: .8rem; line-height: 1.4; color: var(--on-dark); }
.b-hobbies { grid-column: span 7; background: var(--paper-2); color: var(--ink); padding: 26px 28px; display: flex; flex-direction: column; justify-content: center; }
.b-hobbies b { font-family: var(--serif); font-size: 1.3rem; }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 14px 0 0; padding: 0; }
.chips li { background: var(--white); border: 1px solid var(--rule); border-radius: 2px; padding: 6px 12px; font-size: .84rem; }
.lifeline { margin-top: clamp(64px, 8vw, 110px); }
.lifeline ol { list-style: none; margin: 34px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 30px 0; }
.lifeline li { position: relative; padding: 26px 24px 0 0; border-top: 1px solid var(--rule-strong); }
.lifeline li::before { content: ""; position: absolute; top: -5px; left: 0; width: 9px; height: 9px; background: var(--paper); border: 2px solid var(--navy); }
.lifeline li.now::before { background: var(--sign); border-color: var(--ink); }
.lifeline li > span { font-size: .72rem; font-weight: 650; letter-spacing: .12em; text-transform: uppercase; color: var(--navy); }
.lifeline b { display: block; margin: 6px 0 4px; font-family: var(--serif); font-size: 1.15rem; line-height: 1.25; }
.lifeline p { margin: 0; font-size: .86rem; line-height: 1.5; color: var(--muted); }

/* Galerie */
.gallery { columns: 3 300px; column-gap: 12px; margin-top: clamp(36px, 5vw, 56px); }
.g-link { position: relative; display: block; margin: 0 0 12px; break-inside: avoid; overflow: hidden; background: var(--ink); text-decoration: none; border-radius: var(--r); }
.g-link img { width: 100%; transition: transform 1.2s var(--ease), opacity .3s; }
.g-link:hover img { transform: scale(1.04); }
.g-cap { position: absolute; inset: auto 0 0 0; padding: 60px 16px 14px; background: linear-gradient(180deg, transparent, rgba(14, 26, 43, .86)); font-size: .86rem; color: #fff; opacity: 0; transform: translateY(6px); transition: opacity .3s, transform .3s var(--ease); }
.g-link:hover .g-cap, .g-link:focus-visible .g-cap { opacity: 1; transform: none; }
.g-zoom { position: absolute; top: 12px; right: 12px; width: 38px; height: 38px; display: grid; place-items: center; background: var(--paper); color: var(--ink); border-radius: var(--r); opacity: 0; transition: opacity .3s; }
.g-zoom svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.g-link:hover .g-zoom, .g-link:focus-visible .g-zoom { opacity: 1; }
.lightbox { width: min(1100px, 94vw); max-height: 92vh; padding: 0; border: 0; background: transparent; color: var(--paper); overflow: visible; }
.lightbox::backdrop { background: rgba(14, 26, 43, .92); }
.lbx-fig { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.lbx-img { max-height: 80vh; width: auto; max-width: 100%; border-radius: var(--r); }
.lbx-cap { font-size: .9rem; color: var(--on-dark); text-align: center; }
.lbx-btn { position: fixed; top: 50%; transform: translateY(-50%); width: 50px; height: 50px; display: grid; place-items: center; background: var(--paper); color: var(--ink); border-radius: var(--r); }
.lbx-btn svg, .lbx-close svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.lbx-prev { left: 20px; }
.lbx-next { right: 20px; }
.lbx-close { position: fixed; top: 20px; right: 20px; width: 50px; height: 50px; display: grid; place-items: center; background: var(--paper); color: var(--ink); border-radius: var(--r); }

/* ---------- Schwerpunkte (Unterseite) ---------- */
.topics-featured { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--ink); }
.topics-featured .topic { padding: 30px 28px 34px 0; }
.topics-featured .topic + .topic { padding-left: 28px; border-left: 1px solid var(--rule); }
.topic { position: relative; }
.topic-num { display: block; font-stretch: 78%; font-weight: 700; font-size: 2.6rem; line-height: 1; color: var(--gold); }
.ico { width: 44px; height: 44px; display: grid; place-items: center; color: var(--navy); border: 1px solid var(--rule-strong); border-radius: 50%; margin: 20px 0 22px; }
.ico svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.topic h2, .topic h3 { font-family: var(--serif); }
.topic p { margin: 0; color: var(--muted); font-size: .98rem; }
.topics-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 0 28px; margin-top: clamp(40px, 5vw, 64px); border-top: 1px solid var(--rule); }
.topics-grid .topic { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 4px 18px; padding: 24px 0; border-bottom: 1px solid var(--rule); }
.topics-grid .ico { margin: 0; grid-row: span 2; }
.topics-grid .topic p { font-size: .92rem; }
.lead-band { margin-top: clamp(56px, 7vw, 96px); background: var(--navy); color: var(--paper); padding: clamp(48px, 7vw, 96px) clamp(24px, 5vw, 64px); border-radius: var(--r); }

/* ---------- 8 Gemeinden (Unterseite) ---------- */
.section-tour { overflow: hidden; }
.tour-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 28px clamp(32px, 5vw, 72px); align-items: end; }
.tour-sign { display: flex; flex-direction: column; align-items: flex-end; gap: 18px; }
.tour-sign .ortstafel { --s: .9; perspective: 400px; min-width: 260px; }
.tour-controls { display: flex; gap: 8px; }
.round-btn { width: 50px; height: 50px; display: grid; place-items: center; border: 1px solid var(--rule-strong); border-radius: var(--r); transition: background-color .2s, color .2s, border-color .2s; }
.round-btn:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.round-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.sg-facts { display: flex; flex-wrap: wrap; gap: 0; margin: 28px 0 0; list-style: none; padding: 0; border-top: 1px solid var(--rule); }
.sg-facts li { padding: 12px 18px 0 0; margin-right: 18px; font-size: .86rem; color: var(--muted); }
.sg-facts li b { color: var(--ink); }
.tour-track {
  --edge: max(var(--gutter), calc((100vw - var(--maxw)) / 2 + var(--gutter)));
  display: grid; grid-auto-flow: column; grid-auto-columns: clamp(240px, 24vw, 320px); gap: 12px; margin-top: 44px;
  padding: 6px var(--edge) 26px; scroll-padding-inline: var(--edge); overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scrollbar-width: none; cursor: grab;
}
.tour-track::-webkit-scrollbar { display: none; }
.tour-track.dragging { cursor: grabbing; scroll-snap-type: none; }
.tour-card { position: relative; margin: 0; scroll-snap-align: start; overflow: hidden; aspect-ratio: 3 / 4; background: var(--ink); color: #fff; user-select: none; border-radius: var(--r); transition: opacity .4s; }
.tour-card img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; transition: transform 1.2s var(--ease); -webkit-user-drag: none; }
.tour-card:hover img { transform: scale(1.04); }
.tour-card figcaption { position: absolute; inset: auto 0 0 0; padding: 90px 18px 18px; background: linear-gradient(180deg, transparent, rgba(14, 26, 43, .9) 62%); }
.tour-card figcaption h2 { font-family: var(--serif); }
.tour-day { position: absolute; top: 12px; left: 12px; z-index: 2; padding: 5px 10px; background: var(--paper); color: var(--ink); font-size: .72rem; font-weight: 650; border-radius: 2px; }
.tour-day i { display: none; }
.tour-tag { position: absolute; top: 12px; right: 12px; z-index: 2; padding: 5px 10px; background: var(--sign); color: #111; font-size: .66rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; border-radius: 2px; }
.tour-res { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: baseline; gap: 6px 10px; margin-top: 10px; font-size: .76rem; color: rgba(255, 255, 255, .82); }
.tour-res b { font-size: 1.1rem; color: #fff; font-variant-numeric: tabular-nums; }
.tour-res i { grid-column: 1 / -1; height: 4px; background: rgba(255, 255, 255, .22); position: relative; overflow: hidden; }
.tour-res i::before { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--w); background: var(--sign); }
.tour-card.lost .tour-res i::before { background: #a6adbb; }
.tour-foot { display: flex; align-items: center; gap: 20px; }
.tour-progress { flex: 1; height: 2px; background: var(--rule); overflow: hidden; }
.tour-progress i { display: block; height: 100%; width: 30%; background: var(--ink); }
.tour-hint { font-size: .8rem; color: var(--muted); white-space: nowrap; }

/* ---------- Chronik ---------- */
.timeline { position: relative; list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(22px, 3vw, 38px); --p: 0; }
.timeline::before, .timeline::after { content: ""; position: absolute; left: 50%; top: 10px; bottom: 10px; width: 2px; transform: translateX(-50%); }
.timeline::before { background: var(--rule); }
.timeline::after { background: var(--navy); transform-origin: 50% 0; transform: translateX(-50%) scaleY(var(--p)); }
.t-item { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(48px, 8vw, 120px); align-items: center; }
.t-item::before { content: ""; position: absolute; left: 50%; top: 50%; z-index: 1; width: 13px; height: 13px; background: var(--paper); border: 2px solid var(--navy); transform: translate(-50%, -50%) rotate(45deg); transition: background-color .3s; }
.t-item.passed::before { background: var(--navy); }
.t-item.is-win::before, .t-item.is-final::before { background: var(--sign); border-color: var(--ink); }
.t-date { text-align: right; }
.t-item:nth-child(even) .t-date { order: 2; text-align: left; }
.t-date b { display: block; font-stretch: 78%; font-size: clamp(2rem, 4.4vw, 3.6rem); font-weight: 700; line-height: 1; }
.t-date span { display: block; margin-top: 6px; font-size: .82rem; font-weight: 600; color: var(--muted); letter-spacing: .04em; }
.t-card { background: var(--white); border: 1px solid var(--rule); overflow: hidden; border-radius: var(--r); }
.t-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.t-body { padding: clamp(20px, 2.4vw, 28px); }
.t-body h3 { font-family: var(--serif); font-size: 1.35rem; line-height: 1.2; margin-bottom: 8px; }
.t-body p { margin: 0; color: var(--muted); font-size: .96rem; }
.t-body a { font-weight: 600; color: var(--navy); }
.t-item.is-win .t-card { background: var(--navy); color: #fff; border-color: var(--navy); }
.t-item.is-win .t-body p { color: var(--on-dark); }
.t-item.is-final .t-card { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.t-item.is-final .t-body p { color: var(--on-dark); }

/* ---------- Presse ---------- */
.press { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(24px, 4vw, 56px); border-top: 1px solid var(--ink); }
.press-card { display: flex; flex-direction: column; gap: 10px; padding: 24px 0; border-bottom: 1px solid var(--rule); text-decoration: none; color: inherit; }
.press-card h3 { font-family: var(--serif); font-size: 1.22rem; line-height: 1.3; font-weight: 600; transition: color .2s; }
.press-card:hover h3 { color: var(--navy); }
.press-top { display: flex; justify-content: space-between; gap: 12px; font-size: .76rem; }
.outlet { font-weight: 700; font-stretch: 85%; letter-spacing: .12em; text-transform: uppercase; color: var(--navy); }
.press-date { color: var(--muted); }
.press-more { display: inline-flex; gap: 8px; align-items: center; font-size: .84rem; font-weight: 600; margin-top: auto; }
.press-more .arrow { transition: transform .3s var(--ease); }
.press-card:hover .press-more .arrow { transform: translate(3px, -3px); }
.press-feature { grid-column: 1 / -1; background: var(--navy); color: var(--paper); padding: clamp(28px, 4vw, 44px); border-bottom: 0; margin: 24px 0 8px; border-radius: var(--r); }
.press-feature h2 { font-family: var(--serif) !important; }
.press-feature p { margin: 0; color: var(--on-dark); max-width: 60ch; }
.press-feature .outlet { color: var(--sign); }
.press-feature .press-date { color: var(--on-dark); }
.press-feature:hover h2 { color: var(--sign); }

/* ---------- Rechtliches ---------- */
.legal { padding-block: clamp(56px, 7vw, 104px); }
.legal .container { max-width: 820px; }
.legal h1 { font-family: var(--serif); font-size: clamp(2.4rem, 5vw, 3.6rem); line-height: 1.05; margin-bottom: 28px; }
.legal h2 { font-family: var(--serif); font-size: 1.35rem; margin: 40px 0 10px; padding-top: 22px; border-top: 1px solid var(--rule); }
.legal p { color: var(--muted); }
.legal-note { padding: 14px 18px; background: var(--gold-soft); color: var(--ink) !important; font-size: .9rem; border-left: 3px solid var(--gold); }
.placeholder { background: var(--gold-soft); padding: 1px 6px; color: var(--ink); font-weight: 600; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--paper); padding-top: clamp(64px, 8vw, 112px); }
.foot-top { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 40px clamp(32px, 6vw, 96px); align-items: end; padding-bottom: clamp(48px, 6vw, 80px); border-bottom: 1px solid var(--rule-light); }
.foot-statement { font-family: var(--serif); font-weight: 600; font-size: clamp(2.2rem, 5vw, 4rem); line-height: 1.04; letter-spacing: -.02em; margin: 0; }
.foot-statement span { color: var(--sign); }
.foot-cta p { color: var(--on-dark); margin-bottom: 22px; max-width: 44ch; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) repeat(3, minmax(0, 1fr)); gap: 32px; padding-block: clamp(40px, 5vw, 64px); }
.foot-grid h2 { font-size: .72rem; font-weight: 650; font-stretch: 85%; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-soft); margin-bottom: 14px; font-family: var(--sans); }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.foot-grid a { color: var(--on-dark); text-decoration: none; font-size: .94rem; }
.foot-grid a:hover { color: var(--paper); text-decoration: underline; text-underline-offset: 3px; }
.foot-brand .brand { color: var(--paper); }
.foot-brand .brand-text small { color: var(--on-dark); }
.foot-brand .ortstafel { --s: .58; margin-top: 26px; min-width: 0; }
.foot-gemeinden { margin: 16px 0 0; font-size: .8rem; line-height: 1.6; color: var(--on-dark); max-width: 34ch; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 28px; padding-block: 22px 32px; border-top: 1px solid var(--rule-light); font-size: .78rem; color: var(--on-dark); }
.footer-note { flex-basis: 100%; margin: 0; font-size: .74rem; line-height: 1.55; color: rgba(246, 243, 236, .52); max-width: 110ch; }
.made-by { margin: 0; }
.made-by a { color: var(--paper); text-decoration: none; border-bottom: 1px solid var(--rule-light); }
.made-by a:hover { border-bottom-color: var(--sign); }

/* ---------- Responsiv ---------- */
@media (max-width: 1120px) {
  .nav a { padding: 10px 9px; font-size: .88rem; }
  .nav a::after { left: 9px; right: 9px; }
  .foot-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .foot-brand { grid-column: 1 / -1; }
}
@media (max-width: 1000px) {
  :root { --header-h: 64px; }
  .menu-toggle { display: block; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper); border-bottom: 1px solid var(--rule); padding: 8px var(--gutter) 24px;
    max-height: calc(100vh - var(--header-h) - 40px); overflow-y: auto; box-shadow: 0 24px 40px -30px rgba(14, 26, 43, .5);
    opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .25s, transform .3s var(--ease), visibility .25s;
  }
  .nav-open .nav { opacity: 1; visibility: visible; transform: none; }
  .nav a { padding: 16px 0; font-family: var(--serif); font-size: 1.35rem; border-bottom: 1px solid var(--rule); }
  .nav a::after { display: none; }
  .nav a.active { color: var(--navy); }
  .nav .nav-cta { margin: 18px 0 0; justify-content: center; font-family: var(--sans); font-size: 1rem; padding: 14px; }
  .hero-grid, .explorer, .agenda, .person, .archive, .about-grid, .map-layout, .council, .split-head, .foot-top { grid-template-columns: 1fr; }
  .hero-photo { max-width: 520px; }
  .agenda-intro, .about-media { position: static; }
  .explorer-map svg { max-height: 56vh; }
  .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kpi:nth-child(3) { padding-left: 0; border-left: 0; }
  .topics-featured { grid-template-columns: 1fr; }
  .topics-featured .topic + .topic { padding-left: 0; border-left: 0; border-top: 1px solid var(--rule); }
  .bento { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .b-fire, .b-hobbies { grid-column: span 6; }
  .b-work, .b-quote { grid-column: span 3; }
  .tour-head { grid-template-columns: 1fr; }
  .tour-sign { align-items: flex-start; }
  .press { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  body { font-size: 1rem; }
  .topbar .container { min-height: 34px; }
  .topbar-left { display: none; }
  .topbar-right { width: 100%; justify-content: space-between; }
  .brand-mark { width: 36px; height: 36px; }
  .brand-text b { font-size: 1.05rem; }
  .brand-text small { font-size: .62rem; letter-spacing: .06em; }
  .tenure { grid-template-columns: 1fr; }
  .tenure-day { border-right: 0; border-bottom: 1px solid var(--rule); padding-right: 0; }
  .tenure-track { padding-left: 0; }
  .tenure-years button { font-size: .68rem; }
  .facts-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts-row div:nth-child(3) { padding-left: 0; border-left: 0; }
  .facts-row div:nth-child(-n+2) { border-bottom: 1px solid var(--rule); }
  .explorer-panel { grid-template-columns: 1fr; }
  .explorer-photo { aspect-ratio: 4 / 3; }
  .explorer-photo img { object-position: 50% 6%; }
  .explorer-info .ortstafel { --s: .72; }
  .acc-btn { grid-template-columns: 40px minmax(0, 1fr) 28px; gap: 12px; }
  .acc-panel p { padding: 0 0 22px 52px; }
  .duel { grid-template-columns: 1fr; }
  .duel-side.lose { border-left: 0; border-top: 1px solid var(--rule); }
  .kpis { grid-template-columns: 1fr; }
  .kpi + .kpi { padding-left: 0; border-left: 0; }
  .underdog { grid-template-columns: 1fr; }
  .highlights { grid-template-columns: 1fr; }
  .hl + .hl { padding-left: 0; border-left: 0; }
  .map-detail { grid-template-columns: 84px minmax(0, 1fr); }
  .map-detail img { width: 84px; height: 108px; }
  .facts, .id-card, .mini-facts { grid-template-columns: 1fr; }
  .fact:nth-child(even), .id-card div:nth-child(even), .mini-facts div:nth-child(even) { padding-left: 0; border-left: 0; }
  .bento { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .b-fire, .b-work, .b-quote, .b-hobbies { grid-column: auto; grid-row: auto; }
  .b-fire, .b-work { aspect-ratio: 4 / 5; }
  .timeline::before, .timeline::after { left: 6px; transform: none; }
  .timeline::after { transform: scaleY(var(--p)); }
  .t-item { grid-template-columns: 1fr; gap: 12px; padding-left: 32px; }
  .t-item::before { left: 7px; top: 14px; }
  .t-date, .t-item:nth-child(even) .t-date { order: 0; text-align: left; }
  .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lbx-btn { top: auto; bottom: 20px; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .js .hero-photo .frame { clip-path: none; }
}

/* Amtszeit: ausgewähltes Amtsjahr */
.tenure-bar .seg { position: absolute; top: 10px; height: 14px; background: rgba(201, 154, 46, .22); box-shadow: inset 0 0 0 1px var(--gold); opacity: 0; transition: left .4s var(--ease), width .4s var(--ease), opacity .3s; }
.tenure-bar .seg.show { opacity: 1; }
.lead-band .kicker { color: var(--gold-soft); }

/* Lückentext: Antwort-Linie mit Knopf */
.listen-stage { position: relative; }
.listen-q { max-width: 30ch; }
.js .listen:not(.open) .listen-a { position: relative; }
.js .listen:not(.open) .listen-a::after { content: ""; position: absolute; left: 50%; bottom: .14em; width: min(70%, 560px); transform: translateX(-50%); border-bottom: 2px dashed rgba(243, 193, 27, .55); }
.js .listen-btn { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -60%); }
