/* ═══════════════════════════════════════════════════════════════════════════
   Freiwillige Feuerwehr Sulzbach am Main – Website
   Design: Schwarz/Gold, Archivo + JetBrains Mono (lokal eingebunden)
   ═══════════════════════════════════════════════════════════════════════════ */
@font-face { font-family: 'Archivo'; font-style: normal; font-weight: 300 900; font-stretch: 62% 125%; font-display: swap;
  src: url(../fonts/archivo-latin-ext.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; }
@font-face { font-family: 'Archivo'; font-style: normal; font-weight: 300 900; font-stretch: 62% 125%; font-display: swap;
  src: url(../fonts/archivo-latin.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: 'JetBrains Mono'; font-style: normal; font-weight: 400 600; font-display: swap;
  src: url(../fonts/jetbrains-mono-latin-ext.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; }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 400 600; font-display: swap;
  src: url(../fonts/jetbrains-mono-latin.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; }

:root {
  --bg: #0C0B09; --bg-deep: #080706;
  --surface: #14120F; --surface-2: #12100D; --surface-3: #1B1813; --surface-4: #1A1814; --ph: #15130F;
  --border: #26221B; --border-2: #2A261E; --border-3: #3A3327; --border-hover: #5A4B2C;
  --gold: #D6A845; --gold-light: #EBCB7E; --gold-tint: rgba(214,168,69,0.14); --gold-line: #6B5830;
  --text: #F2EEE6; --text-2: #D9D3C7; --text-3: #E8E3D9; --muted: #A39C8E; --dim: #7E776A; --unit: #BDB6A8;
  --footer-hover: #3A2E12;
  --sans: 'Archivo', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, 'Cascadia Mono', Consolas, monospace;
  --pad-x: clamp(20px, 4vw, 48px);
  --pad-y: clamp(64px, 8vw, 120px);
  --header-h: 89px;
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--sans); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; line-height: 1.5; }
a { color: var(--gold); text-decoration: none; transition: color .2s ease, background-color .2s ease, border-color .2s ease; }
a:hover { color: var(--gold-light); }
img { display: block; max-width: 100%; }
button { font: inherit; }
::selection { background: var(--gold); color: var(--bg); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; padding: 10px 16px; border-radius: 999px; background: var(--gold); color: var(--bg); font-weight: 700; }
.skip:focus { top: 12px; color: var(--bg); }

.wrap { max-width: 1320px; margin: 0 auto; padding-left: var(--pad-x); padding-right: var(--pad-x); }
.sec { padding-top: var(--pad-y); padding-bottom: var(--pad-y); }
.band { background: var(--bg-deep); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.band-top { border-bottom: 0; }
section[id], [id] { scroll-margin-top: calc(var(--header-h) + 8px); }

/* ── Typografie ─────────────────────────────────────────────────────────── */
.eyebrow { font-family: var(--mono); font-size: 12px; letter-spacing: .16em; color: var(--gold); text-transform: uppercase; }
.h-display { margin: 0; font-size: clamp(40px, 5.5vw, 76px); font-weight: 900; font-stretch: 72%; text-transform: uppercase; line-height: .92; padding-top: .06em; }
.h-sub { margin: 0; font-size: clamp(32px, 3.6vw, 48px); font-weight: 900; font-stretch: 74%; text-transform: uppercase; line-height: .95; padding-top: .06em; }
.h-hero { margin: 0; font-weight: 900; font-stretch: 72%; text-transform: uppercase; line-height: .88; letter-spacing: -.01em; font-size: clamp(56px, 9.5vw, 148px); padding-top: .08em; }
.h-hero span { display: block; }
.h-hero .gold { color: var(--gold); }
.h-page { font-size: clamp(36px, 7vw, 104px); hyphens: auto; -webkit-hyphens: auto; overflow-wrap: break-word; }
.link-gold { font-size: 14px; font-weight: 600; letter-spacing: .06em; color: var(--gold); }

/* ── Buttons ────────────────────────────────────────────────────────────── */
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-gold { display: inline-flex; align-items: center; gap: 10px; padding: 13px 22px; border: 0; border-radius: 999px; background: var(--gold); color: var(--bg); font-family: var(--sans); font-size: 14px; font-weight: 700; letter-spacing: .06em; cursor: pointer; transition: background-color .2s ease; }
.btn-gold:hover { background: var(--gold-light); color: var(--bg); }
.btn-sec { display: inline-flex; align-items: center; gap: 10px; padding: 14px 26px; border: 1px solid var(--border-3); border-radius: 999px; background: transparent; color: var(--text); font-family: var(--sans); font-size: 14px; font-weight: 600; letter-spacing: .06em; cursor: pointer; transition: border-color .2s ease, color .2s ease; }
.btn-sec:hover { border-color: var(--gold); color: var(--gold); }
.btn-sm { padding: 13px 22px; }
.center-row, .more-row { display: flex; justify-content: center; margin-top: 36px; }

/* ── Topbar ─────────────────────────────────────────────────────────────── */
.topbar { background: var(--bg-deep); border-bottom: 1px solid var(--border); }
.topbar-in { padding-top: 10px; padding-bottom: 10px; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; font-family: var(--mono); font-size: 12px; letter-spacing: .04em; color: var(--muted); }
.topbar-addr { display: flex; align-items: center; gap: 8px; color: var(--muted); }
.topbar-addr svg { flex-shrink: 0; color: var(--gold); }
.topbar-links { display: flex; gap: 20px; margin-left: auto; }
.topbar-links a { display: inline-flex; align-items: center; gap: 7px; color: var(--muted); }
.topbar-links svg, .nav-social svg { flex-shrink: 0; }
.topbar-links a:hover { color: var(--gold); }

/* ── Header ─────────────────────────────────────────────────────────────── */
.header { position: sticky; top: 0; z-index: 20; background: rgba(12,11,9,.88); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom: 1px solid var(--border); }
.header-in { padding-top: 14px; padding-bottom: 14px; display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; }
.brand img { height: 60px; width: auto; }
.nav { display: flex; align-items: center; gap: clamp(16px, 2.4vw, 36px); flex-wrap: wrap; font-size: 14px; font-weight: 600; letter-spacing: .08em; }
.nav a { color: var(--text); }
.nav a:hover, .nav a.is-current { color: var(--gold); }
.nav .nav-cta { color: var(--bg); background: var(--gold); padding: 10px 18px; border-radius: 999px; }
.nav .nav-cta:hover { background: var(--gold-light); color: var(--bg); }
.burger { display: none; width: 46px; height: 46px; border: 1px solid var(--border-3); border-radius: 999px; background: transparent; cursor: pointer; position: relative; }
.burger span:not(.sr) { position: absolute; left: 13px; right: 13px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
.burger span:nth-child(1) { top: 15px; } .burger span:nth-child(2) { top: 21px; } .burger span:nth-child(3) { top: 27px; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 900px) {
  .brand img { height: 48px; }
  .header-in { flex-wrap: nowrap; padding-top: 12px; padding-bottom: 12px; }
  .burger { display: block; flex-shrink: 0; }
  .nav { position: absolute; left: 0; right: 0; top: 100%; height: calc(100vh - var(--nav-top, 73px)); height: calc(100dvh - var(--nav-top, 73px)); flex-direction: column; align-items: stretch; flex-wrap: nowrap; gap: 0; padding: 12px var(--pad-x) 32px; background: var(--bg); border-top: 1px solid var(--border); overflow-y: auto; font-size: 22px; font-weight: 800; font-stretch: 80%; opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .2s ease, transform .2s ease, visibility .2s; }
  .nav a { padding: 16px 0; border-bottom: 1px solid var(--border); }
  .nav .nav-cta { margin-top: 24px; text-align: center; border-bottom: 0; padding: 16px 18px; font-size: 16px; }
  body.nav-open { overflow: hidden; }
  body.nav-open .nav { opacity: 1; visibility: visible; transform: none; }
}

/* ── Hero ───────────────────────────────────────────────────────────────── */
/* Erste Bildschirmseite: Titelbild + goldene Leiste schließen genau mit dem unteren Rand ab (PC & Handy) */
.first-screen { display: flex; flex-direction: column; min-height: calc(100vh - var(--above, 170px)); min-height: calc(100svh - var(--above, 170px)); }
.first-screen > .hero { flex: 1 0 auto; }
.first-screen > .hero-img { min-height: 0; }
.first-screen > .ticker { flex-shrink: 0; }
/* Überschrift und Abstände zusätzlich an der Bildschirmhöhe ausrichten, damit alles auf die erste Seite passt */
.first-screen .h-hero { font-size: clamp(56px, min(9.5vw, 12.5vh), 148px); }
.first-screen .hero-in { padding-top: clamp(48px, min(12vw, 10vh), 160px); padding-bottom: clamp(32px, min(6vw, 6vh), 72px); }
.first-screen .hero-typo { padding-top: clamp(40px, min(8vw, 8vh), 112px); padding-bottom: clamp(32px, min(5vw, 5vh), 64px); }
.hero-img { position: relative; min-height: 420px; display: flex; align-items: flex-end; overflow: hidden; background: var(--ph); }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(12,11,9,.2) 0%, rgba(12,11,9,.55) 55%, #0C0B09 100%); }
.hero-in { position: relative; width: 100%; padding-top: clamp(80px, 12vw, 160px); padding-bottom: clamp(40px, 6vw, 72px); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 40px; align-items: end; }
.hero-copy { display: flex; flex-direction: column; gap: 28px; }
.hero-eyebrow { display: flex; align-items: center; gap: 12px; font-family: var(--mono); font-size: 13px; letter-spacing: .12em; color: var(--gold); text-transform: uppercase; }
.hero-eyebrow .line { width: 36px; height: 1px; background: var(--gold); flex-shrink: 0; }
.hero-sub { margin: 0; max-width: 520px; font-size: clamp(17px, 1.4vw, 20px); line-height: 1.5; color: var(--text-2); text-wrap: pretty; }
.hero-typo { padding-top: clamp(56px, 8vw, 112px); padding-bottom: clamp(40px, 5vw, 64px); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); gap: clamp(32px, 4vw, 64px); align-items: end; }
.hero-typo .h-hero { font-size: clamp(56px, 9vw, 140px); }
.hero-typo .hero-sub { font-size: 19px; }
.hero-frame { position: relative; aspect-ratio: 4/5; border-radius: 18px; overflow: hidden; background: var(--ph); border: 1px solid var(--border-2); }
.hero-frame img { width: 100%; height: 100%; object-fit: cover; }

.page-hero { border-bottom: 1px solid var(--border); background: radial-gradient(1200px 400px at 85% 0%, rgba(214,168,69,.08), transparent 60%), var(--bg); }
.page-hero .wrap { padding-top: clamp(56px, 8vw, 112px); padding-bottom: clamp(40px, 5vw, 64px); display: flex; flex-direction: column; gap: 24px; }

/* ── Letzter Einsatz ────────────────────────────────────────────────────── */
.ticker { display: block; background: var(--gold); color: var(--bg); }
.ticker:hover { background: var(--gold-light); color: var(--bg); }
.ticker-in { padding-top: 16px; padding-bottom: 16px; display: flex; align-items: center; gap: 14px 28px; flex-wrap: wrap; }
.ticker-lbl { display: flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 12px; font-weight: 600; letter-spacing: .14em; }
.ticker-lbl .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--bg); animation: pulse 2s ease-in-out infinite; }
.ticker-when { font-family: var(--mono); font-size: 13px; }
.ticker-sw { font-size: 18px; font-weight: 900; font-stretch: 78%; text-transform: uppercase; }
.ticker-kw { font-size: 15px; }
.ticker-all { margin-left: auto; font-size: 14px; font-weight: 700; letter-spacing: .06em; }
@keyframes pulse { 50% { opacity: .35; } }

/* ── Abschnittsköpfe & Filter ───────────────────────────────────────────── */
.sec-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: 40px; }
.sec-title { display: flex; flex-direction: column; gap: 12px; }
.pills { display: flex; gap: 6px; padding: 5px; border: 1px solid var(--border-2); border-radius: 999px; background: var(--surface-2); max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.pills::-webkit-scrollbar { display: none; }
.pill-btn { flex-shrink: 0; border: 0; cursor: pointer; font-family: var(--sans); font-size: 13px; font-weight: 600; letter-spacing: .06em; padding: 9px 16px; border-radius: 999px; background: transparent; color: var(--text-2); transition: background-color .2s ease, color .2s ease; }
.pill-btn:hover { color: var(--gold); }
.pill-btn[aria-pressed="true"], .pill-btn[aria-current="page"] { background: var(--gold); color: var(--bg); }
.empty { padding: 48px; border: 1px dashed var(--border-3); border-radius: 16px; text-align: center; color: var(--muted); }

/* ── Aktuelles ──────────────────────────────────────────────────────────── */
.grid-posts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 20px; }
.grid-posts:empty { display: none; }
.post { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--border); border-radius: 16px; overflow: hidden; transition: border-color .2s ease, transform .2s ease; }
.post:hover { border-color: var(--border-hover); transform: translateY(-3px); }
.post-media { position: relative; aspect-ratio: 4/3; background: repeating-linear-gradient(135deg, #1A1814 0 10px, #15130F 10px 20px); overflow: hidden; }
.post-media img { width: 100%; height: 100%; object-fit: cover; }
.post { cursor: pointer; }
.post-badges { position: absolute; top: 14px; left: 14px; right: 14px; display: flex; flex-wrap: wrap; gap: 6px; }
.post-badge { display: inline-flex; align-items: center; gap: 6px; font-family: var(--mono); font-size: 11px; font-weight: 600; letter-spacing: .1em; padding: 5px 10px; border-radius: 999px; background: rgba(12,11,9,.8); color: var(--gold); border: 1px solid var(--border-3); }
.post-badge svg { flex-shrink: 0; }
.post-more { all: unset; cursor: pointer; align-self: flex-start; margin-top: -4px; font-size: 13px; font-weight: 600; letter-spacing: .04em; color: var(--text-2); border-bottom: 1px solid var(--border-3); transition: color .2s ease, border-color .2s ease; }
.post-more:hover { color: var(--gold); border-color: var(--gold); }
.post-more:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 2px; }
.post.is-expanded .post-text { display: block; -webkit-line-clamp: unset; overflow: visible; }

/* Auswahl Facebook / Instagram */
.choice { margin: auto; width: min(460px, calc(100% - 32px)); padding: 28px 24px 24px; border-radius: 18px; border: 1px solid var(--border-2); background: var(--surface); color: var(--text); }
.choice::backdrop { background: rgba(8,7,6,.78); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.choice form { display: flex; flex-direction: column; gap: 10px; position: relative; }
.choice-close { position: absolute; top: -14px; right: -8px; width: 40px; height: 40px; border: 1px solid var(--border-3); border-radius: 999px; background: transparent; color: var(--text); font-size: 22px; line-height: 1; cursor: pointer; }
.choice-close:hover { border-color: var(--gold); color: var(--gold); }
.choice-title { margin: 0; padding-right: 44px; font-size: 32px; font-weight: 900; font-stretch: 74%; text-transform: uppercase; line-height: .95; padding-top: .06em; }
.choice-text { margin: 0 0 8px; color: var(--muted); font-size: 15px; }
.choice-options { display: flex; flex-direction: column; gap: 10px; }
.choice-option { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border: 1px solid var(--border-2); border-radius: 14px; background: var(--surface-2); color: var(--text); transition: border-color .2s ease, background-color .2s ease; }
.choice-option:hover { border-color: var(--gold); color: var(--text); background: var(--surface-3); }
.choice-option svg { color: var(--gold); flex-shrink: 0; }
.choice-option span { display: flex; flex-direction: column; gap: 2px; flex: 1; }
.choice-option strong { font-size: 17px; }
.choice-option small { font-size: 13px; color: var(--muted); }
.choice-option em { font-style: normal; color: var(--gold); font-weight: 700; }
.post-body { display: flex; flex-direction: column; gap: 14px; padding: 22px 22px 24px; flex: 1; }
.post-ago { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; color: var(--muted); }
.post-text { margin: 0; font-size: 17px; line-height: 1.5; color: var(--text-3); white-space: pre-line; display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; text-wrap: pretty; overflow-wrap: anywhere; }
.post-cta { margin-top: auto; font-size: 14px; font-weight: 600; letter-spacing: .04em; color: var(--gold); }

/* ── Einsätze ───────────────────────────────────────────────────────────── */
.grid-inc { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 16px; align-items: start; }
.inc { position: relative; display: flex; flex-direction: column; gap: 20px; padding: 26px 24px 22px; border-radius: 18px; background: var(--surface-2); border: 1px solid var(--border); overflow: hidden; transition: border-color .2s ease; }
.inc:hover { border-color: var(--border-hover); }
.inc-bar { position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--inc-c, var(--gold)); }
.inc-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.inc-type { font-family: var(--mono); font-size: 11px; font-weight: 600; letter-spacing: .14em; color: var(--inc-t, var(--unit)); }
.inc-when { font-family: var(--mono); font-size: 12px; color: var(--muted); white-space: nowrap; }
.inc-head { display: flex; flex-direction: column; gap: 8px; }
.inc-sw { font-size: clamp(34px, 3.4vw, 44px); font-weight: 900; font-stretch: 70%; text-transform: uppercase; line-height: .92; padding-top: .06em; overflow-wrap: anywhere; }
.inc-kw { font-size: 15px; line-height: 1.45; color: var(--text-2); text-wrap: pretty; }
.inc-ort { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--text); }
.inc-ort .lbl { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; color: var(--dim); }
.inc-ort span:last-child { font-weight: 600; }
.inc-units { display: flex; flex-direction: column; gap: 10px; padding-top: 16px; border-top: 1px dashed var(--border-3); }
.units { display: flex; flex-wrap: wrap; gap: 6px; }
.unit { font-family: var(--mono); font-size: 12px; padding: 6px 10px; border-radius: 6px; }
.unit-own { background: var(--gold-tint); border: 1px solid var(--gold-line); color: var(--gold-light); }
.unit-other { display: none; background: var(--surface-4); border: 1px solid var(--border-2); color: var(--unit); }
.inc.is-open .unit-other { display: inline-block; }
.inc-more { all: unset; cursor: pointer; align-self: flex-start; font-size: 13px; font-weight: 600; letter-spacing: .04em; color: var(--gold); transition: color .2s ease; }
.inc-more:hover { color: var(--gold-light); }
.inc-more:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; border-radius: 4px; }
.inc-report summary { cursor: pointer; font-size: 13px; font-weight: 600; letter-spacing: .04em; color: var(--gold); }
.inc-report .prose { margin-top: 12px; font-size: 15px; }
.inc-press { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; margin-top: -6px; font-size: 12px; color: var(--muted); }
.inc-press-ico { display: inline-flex; color: var(--dim); }
.inc-press a { display: inline-flex; align-items: center; gap: 4px; color: var(--muted); text-decoration: none; transition: color .2s ease; }
.inc-press a svg { opacity: .6; }
.inc-press a:hover { color: var(--gold); }
.inc-press a:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; border-radius: 4px; }

/* ── Über uns ───────────────────────────────────────────────────────────── */
.about { display: flex; flex-direction: column; gap: clamp(56px, 7vw, 96px); }
.about-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); gap: clamp(32px, 5vw, 72px); align-items: center; }
.about-copy { display: flex; flex-direction: column; gap: 24px; }
.year { font-size: clamp(96px, 14vw, 200px); font-weight: 900; font-stretch: 68%; line-height: .8; color: var(--gold); }
.about-text { display: flex; flex-direction: column; gap: 16px; font-size: 17px; line-height: 1.6; color: var(--text-2); max-width: 560px; text-wrap: pretty; }
.about-text p { margin: 0; }
.img-frame { border-radius: 18px; overflow: hidden; background: var(--ph); border: 1px solid var(--border-2); }
.img-frame img { width: 100%; height: 100%; object-fit: cover; }
.img-43 { aspect-ratio: 4/3; }
.img-hist { filter: grayscale(.2) contrast(1.05); }
.block { display: flex; flex-direction: column; gap: 28px; }
.block .sec-head { margin-bottom: 0; }
.grid-loc { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 20px; }
/* Gerätehaus-Karte: Foto oben, Adresse darunter – je Wache eine Hälfte */
.loc.loc-card { padding: 0; gap: 0; overflow: hidden; transition: border-color .2s ease; }
.loc-card:hover { border-color: var(--border-hover); }
.loc-img { aspect-ratio: 3/2; background: repeating-linear-gradient(135deg, #1A1814 0 10px, #15130F 10px 20px); border-bottom: 1px solid var(--border); overflow: hidden; }
.loc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.loc-card:hover .loc-img img { transform: scale(1.03); }
.loc-body { display: flex; flex-direction: column; gap: 10px; padding: 26px 28px 28px; }
.loc { display: flex; flex-direction: column; gap: 10px; padding: 28px; border: 1px solid var(--border); border-radius: 16px; background: var(--surface); }
.loc-lbl { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; color: var(--gold); }
.loc-name { font-size: 26px; font-weight: 800; font-stretch: 80%; text-transform: uppercase; }
.loc-addr { font-size: 16px; color: var(--text-2); }
.loc-addr.small { font-size: 14px; color: var(--muted); }
.grid-team { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); gap: 20px; }
.person { display: flex; flex-direction: column; gap: 14px; }
.person-img { aspect-ratio: 4/5; border-radius: 14px; overflow: hidden; background: var(--ph); border: 1px solid var(--border-2); transition: border-color .3s ease; }
.person-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.person:hover .person-img { border-color: var(--gold-line); }
.person:hover .person-img img { transform: scale(1.05); }
.person-txt { display: flex; flex-direction: column; gap: 4px; }
.person-name { font-size: 19px; font-weight: 700; }
.person-role { font-family: var(--mono); font-size: 12px; letter-spacing: .1em; color: var(--gold); text-transform: uppercase; }

/* ── Termine ────────────────────────────────────────────────────────────── */
.termine { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: clamp(32px, 5vw, 72px); align-items: start; }
.termine-copy { display: flex; flex-direction: column; gap: 20px; }
.termine-intro { margin: 0; font-size: 17px; line-height: 1.55; color: var(--text-2); max-width: 420px; }
.ev-list { display: flex; flex-direction: column; gap: 12px; }
.ev-month { margin-top: 12px; font-family: var(--mono); font-size: 11px; letter-spacing: .14em; color: var(--dim); }
.ev-month:first-child { margin-top: 0; }
.ev { display: grid; grid-template-columns: 84px 1fr; gap: 20px; align-items: center; padding: 18px 20px; border: 1px solid var(--border); border-radius: 14px; background: var(--surface-2); }
.ev-date { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 10px 0; border-radius: 10px; background: var(--surface-3); border: 1px solid var(--border-3); }
.ev-day { font-size: 32px; font-weight: 900; font-stretch: 72%; line-height: 1; color: var(--gold); }
.ev-mon { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; color: var(--muted); }
.ev-info { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.ev-title { font-size: 18px; font-weight: 700; }
.ev-meta { font-size: 14px; color: var(--muted); }
.ev-all { margin-top: 8px; align-self: flex-start; }

/* ── Footer ─────────────────────────────────────────────────────────────── */
.footer { background: var(--gold); color: var(--bg); }
.footer a { color: var(--bg); }
.footer a:hover { color: var(--footer-hover); }
.footer-in { padding-top: clamp(56px, 7vw, 96px); padding-bottom: 32px; display: flex; flex-direction: column; gap: 56px; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 40px; }
.footer-mark { grid-column: span 2; min-width: 0; font-size: clamp(36px, 4.6vw, 64px); font-weight: 900; font-stretch: 72%; text-transform: uppercase; line-height: .9; padding-top: .06em; }
.footer-contact { display: flex; flex-direction: column; gap: 8px; font-size: 16px; line-height: 1.5; }
.footer-contact a { font-weight: 600; }
.footer-lbl { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; font-weight: 600; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; padding-top: 24px; border-top: 1px solid rgba(12,11,9,.25); font-size: 13px; font-weight: 600; letter-spacing: .08em; }
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; }
.footer :focus-visible { outline-color: var(--bg); }
@media (max-width: 620px) { .footer-mark { grid-column: auto; } }

/* ── Fließtext (Textseiten) ─────────────────────────────────────────────── */
.prose { font-size: 17px; line-height: 1.65; color: var(--text-2); max-width: 760px; text-wrap: pretty; }
.prose > :first-child { margin-top: 0; }
.prose h2 { margin: 1.8em 0 .5em; font-size: clamp(26px, 2.6vw, 34px); font-weight: 900; font-stretch: 74%; text-transform: uppercase; line-height: 1; color: var(--text); padding-top: .06em; }
.prose h3 { margin: 1.4em 0 .3em; font-family: var(--mono); font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.prose h4 { margin: 1.2em 0 .3em; font-size: 17px; font-weight: 700; color: var(--text); }
.prose p, .prose ul, .prose ol { margin: 0 0 1em; }
.prose-legal { overflow-wrap: anywhere; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .3em; }
.prose li::marker { color: var(--gold); }
.prose strong { color: var(--text); }
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.prose blockquote { margin: 1.2em 0; padding: 4px 0 4px 20px; border-left: 3px solid var(--gold); color: var(--text); }
.prose table { width: 100%; border-collapse: collapse; margin: 1em 0; font-size: 15px; }
.prose td, .prose th { border: 1px solid var(--border); padding: 8px 12px; text-align: left; }
.prose hr { border: 0; border-top: 1px solid var(--border); margin: 2em 0; }

/* ── Kontakt ────────────────────────────────────────────────────────────── */
.contact { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: clamp(32px, 5vw, 72px); align-items: start; }
.contact-info { display: flex; flex-direction: column; gap: 20px; }
.contact-big { font-size: 26px; font-weight: 800; font-stretch: 80%; color: var(--text); }
.form { display: flex; flex-direction: column; gap: 18px; }
.form-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field > span { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; color: var(--muted); text-transform: uppercase; }
.field input, .field textarea { width: 100%; padding: 14px 16px; border-radius: 12px; border: 1px solid var(--border-2); background: var(--surface-2); color: var(--text); font: inherit; font-size: 16px; transition: border-color .2s ease; }
.field textarea { resize: vertical; min-height: 150px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--gold); }
.field-captcha input { max-width: 160px; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; line-height: 1.5; color: var(--text-2); cursor: pointer; }
.check input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--gold); flex-shrink: 0; }
.form .btn-gold { align-self: flex-start; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.notice { padding: 16px 20px; border-radius: 12px; margin-bottom: 18px; font-size: 15px; }
.notice-ok { background: var(--gold-tint); border: 1px solid var(--gold-line); color: var(--gold-light); }
.notice-err { background: rgba(200,60,40,.12); border: 1px solid rgba(200,60,40,.5); color: #F2B8AA; }

@media (max-width: 560px) {
  .ticker-all { margin-left: 0; }
  .ev { grid-template-columns: 68px 1fr; gap: 14px; padding: 14px; }
  .empty { padding: 32px 20px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
@media print {
  .topbar, .header, .ticker, .pills, .footer-bottom { display: none; }
  body { background: #fff; color: #000; }
}

/* ── Handy: erste Bildschirmseite kompakter, damit die goldene Leiste auch auf kleinen Geräten unten abschließt ── */
.nav-social { display: none; }
@media (max-width: 900px) {
  .nav .nav-social { display: flex; justify-content: center; gap: 28px; margin-top: 20px; font-family: var(--mono); font-size: 13px; font-weight: 400; font-stretch: 100%; letter-spacing: .06em; }
  .nav .nav-social a { display: inline-flex; align-items: center; gap: 8px; padding: 8px 0; border-bottom: 0; color: var(--muted); }
}
@media (max-width: 600px) {
  .topbar { display: none; }
  .ticker-in { gap: 6px 16px; padding-top: 12px; padding-bottom: 12px; }
  .ticker-all { display: none; }
  .first-screen .h-hero { font-size: clamp(40px, min(12vw, 8vh), 56px); }
  .first-screen .hero-in { padding-top: clamp(20px, 6vh, 80px); padding-bottom: clamp(16px, 4vh, 40px); gap: 24px; }
  .first-screen .hero-copy { gap: clamp(14px, 2.6vh, 28px); }
  .first-screen .hero-eyebrow { font-size: 12px; }
}
@media (max-width: 600px) and (max-height: 700px) {
  .first-screen .hero-sub { font-size: 16px; line-height: 1.4; }
  .first-screen .hero-eyebrow { font-size: 11px; }
}
/* Variante „Typografisch“: Bild füllt die verfügbare Höhe statt fester 4:5 */
.first-screen .hero-typo { grid-template-rows: minmax(0, 1fr); }
.first-screen .hero-typo .h-hero { font-size: clamp(56px, min(9vw, 11.5vh), 140px); }
.first-screen .hero-typo .hero-frame { aspect-ratio: auto; align-self: stretch; min-height: 320px; }
.first-screen .hero-typo .hero-frame img { position: absolute; inset: 0; }
@media (max-width: 1040px) {
  .first-screen .hero-typo { grid-template-columns: 1fr; grid-template-rows: auto minmax(0, 1fr); gap: 24px; }
  .first-screen .hero-typo .hero-frame { min-height: 0; }
}
@media (max-width: 600px) { .first-screen .hero-typo .hero-frame { display: none; } .first-screen .hero-typo { grid-template-rows: auto; align-content: end; } }

/* ── Chronik ────────────────────────────────────────────────────────────── */
.chron-intro { display: grid; gap: 40px; }
.chron-lead { margin: 0; max-width: 880px; font-size: clamp(19px, 1.8vw, 24px); line-height: 1.55; color: var(--text-3); text-wrap: pretty; }
.chron-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: 16px; overflow: hidden; }
.chron-stats div { background: var(--surface); padding: 26px 28px; display: flex; flex-direction: column; gap: 10px; }
.chron-stats strong { font-size: clamp(48px, 6vw, 84px); font-weight: 900; font-stretch: 70%; line-height: .85; color: var(--gold); padding-top: .06em; }
.chron-stats span { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.chron-jump { position: sticky; top: calc(var(--header-h) + 10px); z-index: 5; display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; padding: 5px; margin: -8px 0 44px; background: rgba(18,16,13,.92); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border: 1px solid var(--border-2); border-radius: 999px; }
.chron-jump::-webkit-scrollbar { display: none; }
.chron-jump a { flex-shrink: 0; padding: 7px 13px; border-radius: 999px; font-family: var(--mono); font-size: 12px; color: var(--text-2); }
.chron-jump a:hover, .chron-jump a.is-current { background: var(--gold); color: var(--bg); }
.timeline { list-style: none; margin: 0; padding: 0; position: relative; display: grid; gap: 28px; }
.timeline::before { content: ""; position: absolute; left: 176px; top: 10px; bottom: 10px; width: 2px; background: linear-gradient(var(--gold), rgba(214,168,69,.12)); }
.tl-item { display: grid; grid-template-columns: 176px minmax(0, 1fr); gap: 0 44px; position: relative; scroll-margin-top: calc(var(--header-h) + 90px); }
.tl-item::before { content: ""; position: absolute; left: 170px; top: 12px; width: 14px; height: 14px; border-radius: 50%; background: var(--bg-deep); border: 3px solid var(--gold); box-shadow: 0 0 0 5px rgba(214,168,69,.14); }
.tl-year { padding: 2px 30px 0 0; text-align: right; font-size: clamp(28px, 2.6vw, 38px); font-weight: 900; font-stretch: 70%; line-height: .95; color: var(--gold); overflow-wrap: anywhere; }
.tl-card { background: var(--surface-2); border: 1px solid var(--border); border-radius: 18px; padding: clamp(22px, 2.4vw, 32px); transition: border-color .2s ease; }
.tl-card:hover { border-color: var(--border-hover); }
.tl-title { margin: 0 0 12px; font-size: clamp(24px, 2.2vw, 32px); font-weight: 900; font-stretch: 74%; text-transform: uppercase; line-height: .98; padding-top: .06em; }
.tl-text { max-width: none; font-size: 16px; line-height: 1.65; }
.tl-text p:last-child { margin-bottom: 0; }
.tl-gallery { display: grid; gap: 8px; margin-top: 20px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tl-photo { position: relative; display: block; overflow: hidden; border-radius: 12px; border: 1px solid var(--border-2); background: var(--ph); aspect-ratio: 4 / 3; }
.tl-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.tl-photo:hover img { transform: scale(1.04); }
.tl-photo.is-main { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
.tl-gallery-1 .tl-photo.is-main { aspect-ratio: auto; max-height: 560px; background: #0F0E0B; }
.tl-gallery-1 .tl-photo.is-main img { width: auto; max-width: 100%; height: auto; max-height: 560px; margin: 0 auto; object-fit: contain; }
.tl-gallery-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tl-gallery-2 .tl-photo.is-main { grid-column: auto; aspect-ratio: 4 / 3; }
.tl-gallery-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tl-caption { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 16px 12px; font-size: 13px; line-height: 1.4; color: #fff; background: linear-gradient(transparent, rgba(8,7,6,.85)); }
.leaders { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 12px; }
.leader { display: flex; flex-direction: column; gap: 6px; padding: 18px 20px; background: var(--surface); border: 1px solid var(--border); border-left: 3px solid var(--gold); border-radius: 12px; }
.leader-period { font-family: var(--mono); font-size: 12px; letter-spacing: .06em; color: var(--gold); }
.leader strong { font-size: 18px; }
.leader-role { font-size: 14px; color: var(--muted); }
.chron-source { margin: 28px 0 0; font-family: var(--mono); font-size: 11px; letter-spacing: .08em; color: var(--dim); }
.chron-cta { display: flex; flex-direction: column; gap: 20px; }
.link-row { display: flex; gap: 12px 28px; flex-wrap: wrap; }
@media (max-width: 760px) {
  .chron-stats { grid-template-columns: 1fr; }
  .chron-stats div { flex-direction: row; align-items: baseline; gap: 16px; padding: 18px 20px; }
  .timeline::before { left: 7px; }
  .tl-item { grid-template-columns: 1fr; padding-left: 32px; }
  .tl-item::before { left: 1px; top: 6px; }
  .tl-year { text-align: left; padding: 0 0 10px; }
  .tl-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ── Lightbox ───────────────────────────────────────────────────────────── */
.lightbox { position: fixed; inset: 0; z-index: 300; display: flex; align-items: center; justify-content: center; background: rgba(8,7,6,.95); padding: 56px 72px; }
.lb-figure { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 14px; max-width: 100%; max-height: 100%; }
.lb-figure img { max-width: min(1600px, 100%); max-height: calc(100vh - 150px); object-fit: contain; border-radius: 8px; }
.lb-figure figcaption { color: var(--text-2); font-size: 14px; text-align: center; max-width: 720px; }
.lb-btn { position: absolute; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--border-3); background: rgba(20,18,15,.8); color: var(--text); font-size: 28px; line-height: 1; cursor: pointer; transition: background-color .2s ease, color .2s ease; }
.lb-btn:hover { background: var(--gold); color: var(--bg); }
.lb-close { top: 16px; right: 16px; }
.lb-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 16px; top: 50%; transform: translateY(-50%); }
.lb-counter { position: absolute; top: 28px; left: 24px; font-family: var(--mono); font-size: 13px; color: var(--muted); }
@media (max-width: 760px) {
  .lightbox { padding: 64px 8px 80px; }
  .lb-prev, .lb-next { top: auto; bottom: 16px; transform: none; }
  .lb-prev { left: calc(50% - 60px); } .lb-next { right: calc(50% - 60px); }
}
.chron-teaser { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); background: var(--surface); border: 1px solid var(--border); border-radius: 18px; overflow: hidden; color: var(--text); transition: border-color .2s ease, transform .2s ease; }
.chron-teaser:hover { border-color: var(--border-hover); transform: translateY(-3px); color: var(--text); }
.chron-teaser img { width: 100%; height: 100%; min-height: 240px; object-fit: cover; filter: grayscale(.3) contrast(1.05); }
.chron-teaser-body { padding: clamp(24px, 3vw, 40px); display: flex; flex-direction: column; gap: 14px; justify-content: center; }
.chron-teaser-title { font-size: clamp(32px, 3.6vw, 48px); font-weight: 900; font-stretch: 74%; text-transform: uppercase; line-height: .95; padding-top: .06em; }
.chron-teaser p { margin: 0; color: var(--text-2); font-size: 16px; }
@media (max-width: 760px) { .chron-teaser { grid-template-columns: 1fr; } .chron-teaser img { min-height: 0; aspect-ratio: 16 / 9; } }
.tl-photo.is-chart { background: #fff; } .tl-photo.is-chart img { object-fit: contain; padding: 6px; }

/* ── Termine: Monatsansicht ─────────────────────────────────────────────── */
.cal-sec { display: flex; flex-direction: column; gap: 28px; }
.cal-bar { display: flex; justify-content: space-between; align-items: center; gap: 16px 24px; flex-wrap: wrap; }
.cal-nav { display: flex; align-items: center; gap: 14px; }
.cal-title { margin: 0; min-width: 0; font-size: clamp(30px, 3.4vw, 46px); font-weight: 900; font-stretch: 72%; line-height: .95; padding-top: .06em; }
.cal-title span { color: var(--gold); }
.cal-arrow { display: grid; place-items: center; width: 44px; height: 44px; flex-shrink: 0; border: 1px solid var(--border-3); border-radius: 999px; color: var(--text); font-size: 26px; line-height: 1; }
.cal-arrow:hover { border-color: var(--gold); color: var(--gold); }
.cal-arrow.is-off { opacity: .25; }
.btn-xs { padding: 9px 16px; font-size: 12px; }
.cal { border: 1px solid var(--border); border-radius: 18px; overflow: hidden; background: var(--border); }
.cal-head { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); background: var(--surface-2); border-bottom: 1px solid var(--border); }
.cal-head span { padding: 12px 12px; font-family: var(--mono); font-size: 11px; letter-spacing: .14em; color: var(--muted); }
.cal-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 1px; }
.cal-day { min-height: 128px; background: var(--surface); padding: 8px 8px 10px; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.cal-day.is-weekend { background: #12100D; }
.cal-day.is-out { background: #0E0D0A; }
.cal-day.is-out .cal-num, .cal-day.is-out .cal-ev { opacity: .45; }
.cal-num { align-self: flex-start; min-width: 32px; height: 32px; padding: 0 8px; border: 0; border-radius: 999px; background: transparent; color: var(--text-2); font-family: var(--sans); font-size: 15px; font-weight: 700; cursor: pointer; }
.cal-day.is-past:not(.is-today) .cal-num { color: var(--dim); }
.cal-day.is-today .cal-num { background: var(--gold); color: var(--bg); }
.cal-ev { display: block; width: 100%; text-align: left; border: 0; border-left: 3px solid var(--gold); border-radius: 6px; background: var(--gold-tint); color: var(--text-3); padding: 5px 7px; font-family: var(--sans); font-size: 12.5px; line-height: 1.3; cursor: pointer; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; transition: background-color .2s ease; }
.cal-ev b { font-family: var(--mono); font-weight: 600; font-size: 11px; color: var(--gold-light); }
.cal-ev:hover { background: rgba(214,168,69,.28); }
.cal-day.is-past .cal-ev { border-left-color: var(--border-hover); background: rgba(214,168,69,.07); color: var(--muted); }
.cal-more { align-self: flex-start; border: 0; background: none; padding: 2px 4px; color: var(--gold); font-family: var(--sans); font-size: 12px; font-weight: 600; cursor: pointer; }
.cal-more:hover { color: var(--gold-light); }
.cal-dots { display: none; }
.cal-empty { margin: 0; color: var(--muted); text-align: center; }
.cal-agenda { display: flex; flex-direction: column; gap: 12px; }
.cal-agenda-title { font-family: var(--mono); font-size: 12px; letter-spacing: .14em; color: var(--gold); text-transform: uppercase; }
.cal-abo { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; padding: 24px 28px; border: 1px solid var(--border); border-radius: 16px; background: var(--surface-2); }
.cal-abo p { margin: 8px 0 0; color: var(--text-2); font-size: 15px; max-width: 520px; }
.ev-list-wide { max-width: 880px; }
.ev-dialog .evd-body { display: flex; flex-direction: column; gap: 14px; margin-top: 6px; }
.evd-row { display: flex; gap: 12px; align-items: baseline; font-size: 16px; color: var(--text-2); }
.evd-row .lbl { flex-shrink: 0; width: 64px; font-family: var(--mono); font-size: 11px; letter-spacing: .12em; color: var(--dim); }
.evd-desc { margin: 0; white-space: pre-line; font-size: 15px; line-height: 1.55; color: var(--text-2); padding-top: 12px; border-top: 1px dashed var(--border-3); }
.evd-list { display: flex; flex-direction: column; gap: 8px; }
.evd-list button { text-align: left; }
@media (max-width: 760px) {
  .cal-head span { padding: 10px 0; text-align: center; font-size: 10px; letter-spacing: .08em; }
  .cal-title { font-size: 26px; white-space: nowrap; }
  .cal-nav { gap: 10px; }
  .cal-arrow { width: 38px; height: 38px; font-size: 22px; }
  .cal-day { min-height: 58px; padding: 4px 2px 6px; align-items: center; gap: 3px; }
  .cal-num { align-self: center; min-width: 34px; height: 34px; padding: 0; font-size: 14px; }
  .cal-day.is-selected .cal-num { box-shadow: inset 0 0 0 2px var(--gold); }
  .cal-day.is-today.is-selected .cal-num { box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px var(--gold); }
  .cal-ev, .cal-more { display: none; }
  .cal-dots { display: flex; gap: 3px; }
  .cal-dots i { width: 5px; height: 5px; border-radius: 50%; background: var(--gold); }
  .cal-day.is-past .cal-dots i { background: var(--border-hover); }
  .cal-abo { padding: 20px; }
}
.ev-btn { width: 100%; grid-template-columns: 1fr; text-align: left; font: inherit; color: inherit; cursor: pointer; transition: border-color .2s ease; }
.ev-btn:hover { border-color: var(--border-hover); }
.ev-group { display: flex; flex-direction: column; gap: 12px; }
.ev-group .ev-month { margin-top: 12px; }
.ev-group:first-child .ev-month { margin-top: 0; }
.ev-list-wide .more-row { margin-top: 20px; }
.cal-tools { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.cal-tools .btn-gold.btn-abo { padding: 12px 18px; font-size: 13px; }
.cal-tools .btn-sec.btn-abo { padding: 11px 16px; }

/* ── Fahrzeuge ──────────────────────────────────────────────────────────── */
.sec-veh { border-bottom: 1px solid var(--border); }
.veh-intro { margin: -12px 0 36px; max-width: 760px; font-size: 17px; line-height: 1.6; color: var(--text-2); text-wrap: pretty; }
.grid-veh { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 20px; }
.veh { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--border); border-radius: 18px; overflow: hidden; color: var(--text); transition: border-color .2s ease, transform .2s ease; }
.veh:hover { border-color: var(--border-hover); transform: translateY(-3px); color: var(--text); }
.veh:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.veh-img { position: relative; aspect-ratio: 3/2; background: repeating-linear-gradient(135deg, #1A1814 0 10px, #15130F 10px 20px); border-bottom: 1px solid var(--border); overflow: hidden; }
.veh-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.veh:hover .veh-img img { transform: scale(1.04); }
.veh-tag { position: absolute; top: 14px; left: 14px; font-family: var(--mono); font-size: 11px; font-weight: 600; letter-spacing: .1em; padding: 5px 10px; border-radius: 999px; background: rgba(12,11,9,.82); color: var(--gold); border: 1px solid var(--border-3); }
.veh-body { display: flex; flex-direction: column; gap: 8px; padding: 22px 24px 24px; flex: 1; }
.veh-call { font-family: var(--mono); font-size: 11px; letter-spacing: .16em; color: var(--gold); }
.veh-num { font-size: clamp(34px, 3.4vw, 44px); font-weight: 900; font-stretch: 70%; text-transform: uppercase; line-height: .92; padding-top: .06em; hyphens: auto; -webkit-hyphens: auto; overflow-wrap: break-word; }
.veh-num.is-long { font-size: clamp(26px, 2.5vw, 32px); }
.veh-name { font-size: 15px; line-height: 1.4; color: var(--text-2); hyphens: auto; -webkit-hyphens: auto; overflow-wrap: break-word; }
.veh-facts { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 1px; margin: 10px 0 4px; background: var(--border); border: 1px solid var(--border); border-radius: 12px; overflow: hidden; }
.veh-facts div { background: var(--surface-2); padding: 10px 12px; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.veh-facts dt { font-family: var(--mono); font-size: 10px; letter-spacing: .12em; color: var(--dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.veh-facts dd { margin: 0; font-size: 16px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.veh-cta { margin-top: auto; padding-top: 8px; font-size: 13px; font-weight: 600; letter-spacing: .06em; color: var(--gold); }

/* Steckbrief (Dialog) */
.veh-dialog { width: min(1120px, calc(100% - 32px)); max-width: none; max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px); margin: auto; padding: 0; border: 1px solid var(--border-2); border-radius: 20px; background: var(--surface); color: var(--text); overflow: auto; overscroll-behavior: contain; }
.veh-dialog::backdrop { background: rgba(8,7,6,.82); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.veh-dialog[open] { animation: vd-in .22s ease; }
@keyframes vd-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.vd { position: relative; display: flex; flex-direction: column; }
.vd-close { position: sticky; top: 14px; z-index: 2; align-self: flex-end; margin: 14px 14px -54px 0; width: 40px; height: 40px; border: 1px solid var(--border-3); border-radius: 999px; background: rgba(20,18,15,.85); color: var(--text); font-size: 22px; line-height: 1; cursor: pointer; }
.vd-close:hover { border-color: var(--gold); color: var(--gold); }
.vd-top { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); }
.vd-media { background: repeating-linear-gradient(135deg, #1A1814 0 10px, #15130F 10px 20px); min-height: 100%; }
.vd-media img { width: 100%; height: 100%; min-height: 320px; max-height: 560px; object-fit: cover; display: block; }
.vd-head { display: flex; flex-direction: column; gap: 12px; padding: clamp(24px, 3vw, 40px); padding-right: clamp(56px, 5vw, 64px); }
.vd-title { margin: 0; font-size: clamp(44px, 5vw, 72px); font-weight: 900; font-stretch: 70%; text-transform: uppercase; line-height: .9; padding-top: .06em; hyphens: auto; -webkit-hyphens: auto; overflow-wrap: break-word; }
.vd-title.is-long { font-size: clamp(32px, 4vw, 52px); }
.vd-sub { font-family: var(--mono); font-size: 12px; letter-spacing: .12em; color: var(--muted); text-transform: uppercase; }
.vd-name { margin: 0; font-size: 18px; font-weight: 700; color: var(--text-3); hyphens: auto; -webkit-hyphens: auto; overflow-wrap: break-word; }
.vd-desc { display: flex; flex-direction: column; gap: 12px; margin-top: 6px; padding-top: 16px; border-top: 1px dashed var(--border-3); font-size: 16px; line-height: 1.6; color: var(--text-2); text-wrap: pretty; }
.vd-desc p { margin: 0; }
.vd-cols { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); padding: clamp(24px, 3vw, 40px); border-top: 1px solid var(--border); background: var(--surface-2); }
.vd-cols.is-single { grid-template-columns: minmax(0, 1fr); }
.vd-h { margin: 0 0 14px; font-family: var(--mono); font-size: 12px; font-weight: 600; letter-spacing: .16em; color: var(--gold); text-transform: uppercase; }
.vd-specs { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 28px; }
.vd-specs div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--border); min-width: 0; }
.vd-specs dt { font-size: 14px; color: var(--muted); flex-shrink: 0; }
.vd-specs dd { margin: 0; font-size: 15px; font-weight: 600; text-align: right; overflow-wrap: anywhere; }
.vd-equip { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; }
.vd-equip li { position: relative; padding: 9px 0 9px 22px; border-bottom: 1px solid var(--border); font-size: 15px; color: var(--text-2); }
.vd-equip li::before { content: ''; position: absolute; left: 2px; top: 17px; width: 8px; height: 8px; border-radius: 2px; background: var(--gold); transform: rotate(45deg); }
.vd-nav { display: flex; justify-content: space-between; gap: 12px; padding: 16px clamp(24px, 3vw, 40px); border-top: 1px solid var(--border); }
.vd-nav a { display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px; border: 1px solid var(--border-3); border-radius: 999px; font-size: 13px; font-weight: 600; letter-spacing: .06em; color: var(--text); }
.vd-nav a:hover { border-color: var(--gold); color: var(--gold); }
.vd-nav span { font-size: 18px; line-height: 1; color: var(--gold); }
@media (max-width: 1000px) { .vd-specs { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 860px) {
  .vd-top, .vd-cols { grid-template-columns: minmax(0, 1fr); }
  .vd-media img { min-height: 0; aspect-ratio: 3/2; max-height: 42vh; max-height: 42dvh; }
}
@media (max-width: 600px) {
  .veh-dialog { width: 100%; max-height: 100vh; max-height: 100dvh; height: 100%; border-radius: 0; border: 0; }
  .vd-close { top: 10px; margin: 10px 10px -50px 0; }
  .vd-head { padding: 22px 20px; }
  .vd-cols { padding: 22px 20px; }
  .vd-nav { padding: 14px 20px calc(14px + env(safe-area-inset-bottom)); }
}
@media (prefers-reduced-motion: reduce) { .veh-dialog[open] { animation: none; } }
/* Hauptmenü mit „Fahrzeuge“: auf kleinen Desktop-/Tablet-Breiten enger setzen, damit es einzeilig bleibt */
@media (min-width: 901px) and (max-width: 1100px) {
  .nav { gap: 14px; font-size: 13px; letter-spacing: .05em; }
  .nav .nav-cta { padding: 9px 14px; }
  .brand img { width: 170px; height: auto; }
}

/* ── Mitmachen ──────────────────────────────────────────────────────────── */
.page-mitmachen .hero-sub { max-width: 760px; }
.grid-join { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 20px; }
.join-card { position: relative; display: flex; flex-direction: column; gap: 16px; padding: 30px 28px 28px; background: var(--surface); border: 1px solid var(--border); border-radius: 18px; overflow: hidden; transition: border-color .2s ease; }
.join-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--gold); }
.join-card:hover { border-color: var(--border-hover); }
.join-icon { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 14px; background: var(--gold-tint); border: 1px solid var(--gold-line); color: var(--gold); }
.join-title { margin: 0; font-size: clamp(28px, 2.6vw, 36px); font-weight: 900; font-stretch: 72%; text-transform: uppercase; line-height: .95; padding-top: .06em; hyphens: auto; -webkit-hyphens: auto; }
.join-text { margin: 0; font-size: 16px; line-height: 1.55; color: var(--text-2); }
.join-meta { margin: 0; padding: 14px 0 0; list-style: none; display: flex; flex-direction: column; gap: 8px; border-top: 1px dashed var(--border-3); }
.join-meta li { position: relative; padding-left: 20px; font-size: 14px; color: var(--text-2); }
.join-meta li::before { content: ''; position: absolute; left: 2px; top: 7px; width: 7px; height: 7px; border-radius: 2px; background: var(--gold); transform: rotate(45deg); }
.join-meta .join-sheets { font-family: var(--mono); font-size: 11.5px; letter-spacing: .04em; color: var(--muted); }
.join-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; padding-top: 6px; }
.join-steps { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 20px; }
.join-steps li { display: flex; flex-direction: column; gap: 10px; padding: 26px 24px; border: 1px solid var(--border); border-radius: 16px; background: var(--surface-2); }
.join-steps span { font-size: 56px; font-weight: 900; font-stretch: 70%; line-height: .85; color: var(--gold); }
.join-steps strong { font-size: 20px; font-weight: 800; font-stretch: 80%; text-transform: uppercase; }
.join-steps p { margin: 0; font-size: 15px; line-height: 1.55; color: var(--text-2); }
.join-cta { display: flex; flex-direction: column; gap: 20px; }
.join-cta .termine-intro { max-width: 640px; }

/* Online-Antrag */
.ma-wrap { max-width: 900px; }
.ma-intro { display: flex; flex-direction: column; gap: 14px; margin-bottom: 26px; }
.ma-intro > p:first-child { margin: 0; font-size: clamp(18px, 1.6vw, 21px); line-height: 1.5; color: var(--text-3); font-weight: 600; }
.ma-note { display: flex; gap: 10px; align-items: flex-start; margin: 0; padding: 14px 16px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--border-2); font-size: 14.5px; line-height: 1.55; color: var(--text-2); }
.ma-note svg { flex-shrink: 0; margin-top: 3px; color: var(--gold); }
.ma-note a, .ma-legal a { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }
.ma-form { gap: 26px; }
.ma-set { margin: 0; padding: 26px 0 0; border: 0; border-top: 1px solid var(--border); display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.ma-set legend { display: flex; align-items: center; gap: 12px; padding: 0 0 6px; font-size: clamp(22px, 2.2vw, 28px); font-weight: 900; font-stretch: 74%; text-transform: uppercase; line-height: 1; }
.ma-set legend span { font-family: var(--mono); font-size: 12px; font-weight: 600; letter-spacing: .08em; color: var(--bg); background: var(--gold); padding: 5px 8px; border-radius: 999px; }
.ma-set[hidden], .ma-sub[hidden] { display: none; }
.form-row.ma-plz { grid-template-columns: minmax(110px, 160px) minmax(0, 1fr); }
.ma-sub { display: flex; flex-direction: column; gap: 18px; padding: 18px; border: 1px dashed var(--border-3); border-radius: 14px; }
.ma-group > span { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; color: var(--muted); text-transform: uppercase; line-height: 1.5; }
.ma-choices { display: flex; flex-wrap: wrap; gap: 8px; }
.ma-group[data-stack] .ma-choices { flex-direction: column; }
.ma-choice { position: relative; display: inline-flex; cursor: pointer; }
.ma-choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.ma-choice span { display: inline-flex; align-items: center; gap: 10px; padding: 11px 16px; border: 1px solid var(--border-2); border-radius: 12px; background: var(--surface-2); color: var(--text-2); font-size: 15px; line-height: 1.35; transition: border-color .15s ease, background-color .15s ease, color .15s ease; }
.ma-choice span::before { content: ''; flex-shrink: 0; width: 16px; height: 16px; border: 1.5px solid var(--border-3); border-radius: 4px; background: var(--bg); }
.ma-choice input[type=radio] + span::before { border-radius: 50%; }
.ma-choice:hover span { border-color: var(--border-hover); color: var(--text); }
.ma-choice input:checked + span { border-color: var(--gold); background: var(--gold-tint); color: var(--text); }
.ma-choice input:checked + span::before { border-color: var(--gold); background: var(--gold); box-shadow: inset 0 0 0 3px var(--bg); }
.ma-choice input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }
.ma-hint { font-size: 13px; line-height: 1.5; color: var(--muted); }
.ma-fee { margin: 0; align-self: end; padding-bottom: 6px; }
.ma-text { margin: 0; font-size: 14.5px; line-height: 1.6; color: var(--text-2); }
.ma-mono { font-family: var(--mono) !important; letter-spacing: .04em; }
.ma-consent { padding: 16px 18px; border: 1px solid var(--border-2); border-radius: 12px; background: var(--surface-2); }
.ma-consent span { font-size: 13.5px; line-height: 1.6; color: var(--text-2); }
.ma-consent strong { display: block; margin-bottom: 4px; font-size: 15px; color: var(--text); }
.ma-legal { border: 1px solid var(--border-2); border-radius: 12px; background: var(--surface-2); }
.ma-legal summary { cursor: pointer; padding: 14px 18px; font-size: 14px; font-weight: 600; color: var(--gold); }
.ma-legal[open] summary { border-bottom: 1px solid var(--border-2); }
.ma-legal h4 { margin: 18px 18px 6px; font-size: 14px; color: var(--text); }
.ma-legal p, .ma-legal ol { margin: 0 18px 12px; font-size: 13px; line-height: 1.6; color: var(--text-2); }
.ma-legal ol { padding-left: 18px; }
.sig-block { display: flex; flex-direction: column; gap: 8px; }
.sig-label { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; color: var(--muted); text-transform: uppercase; }
.sig { position: relative; height: 190px; border-radius: 12px; background: #fff; border: 2px dashed var(--gold-line); overflow: hidden; }
.sig-canvas { position: absolute; inset: 0; width: 100%; height: 100%; touch-action: none; cursor: crosshair; }
.sig::after { content: ''; position: absolute; left: 24px; right: 24px; bottom: 42px; border-bottom: 1.5px solid #c9ccd3; pointer-events: none; }
.sig-placeholder { position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-80%); display: flex; justify-content: center; align-items: center; gap: 8px; color: #8b8f99; font-size: 15px; pointer-events: none; transition: opacity .2s; }
.sig.has-sig .sig-placeholder { opacity: 0; }
.sig-clear { position: absolute; right: 10px; top: 10px; display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border: 1px solid #d5d7dc; border-radius: 999px; background: #f1f2f4; color: #333; font: 600 12px var(--sans); cursor: pointer; }
.ma-submit { align-self: stretch !important; justify-content: center; padding: 18px 24px; font-size: 15px; }
.ma-done { display: flex; flex-direction: column; gap: 6px; line-height: 1.55; }
@media (max-width: 560px) {
  .form-row.ma-plz { grid-template-columns: 1fr; }
  .ma-choice span { padding: 10px 13px; font-size: 14.5px; }
  .join-card { padding: 26px 22px 24px; }
}
