/* =========================================================
   Menschenkette – Stylesheet
   Farben: Ukraine-Blau #0057B7, Gelb #FFD500, Nachtblau #0b1d3a
   ========================================================= */

:root {
  --blue: #0057B7;
  --blue-600: #004a9c;
  --blue-50: #eaf2fc;
  --yellow: #FFD500;
  --yellow-600: #f0c400;
  --navy: #0b1d3a;
  --navy-2: #13294f;
  --ink: #0f172a;
  --muted: #5b6577;
  --line: #e2e8f0;
  --bg: #ffffff;
  --bg-soft: #f6f8fb;
  --ok: #15803d;
  --err: #b91c1c;
  --warn: #a16207;
  --radius: 14px;
  --radius-sm: 9px;
  --shadow: 0 10px 30px -12px rgba(11, 29, 58, .28);
  --shadow-lg: 0 24px 60px -20px rgba(11, 29, 58, .45);
  --header-h: 68px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --font-display: "Arial Black", "Helvetica Neue", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 10px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.6; color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; }
a { color: var(--blue); }
a:hover { color: var(--blue-600); }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
code { background: var(--bg-soft); padding: .1em .35em; border-radius: 5px; font-size: .9em; }
[hidden] { display: none !important; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--yellow); color: var(--navy); padding: 8px 14px; border-radius: 8px; z-index: 2000; font-weight: 700; }
.skip:focus { left: 8px; }

.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
.wrap.narrow { width: min(820px, 100% - 32px); }
.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: .88rem; }
.text-blue { color: var(--blue); }
.text-yellow { color: var(--yellow); }
.i { width: 1.1em; height: 1.1em; vertical-align: -.18em; flex: none; }
.i-lg { width: 34px; height: 34px; }

.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; font-weight: 800; color: var(--yellow); margin-bottom: .8em; }
.eyebrow.dark { color: var(--blue); }
.h-xl { font-family: var(--font-display); font-size: clamp(2.1rem, 5vw, 3.9rem); font-weight: 900; letter-spacing: -.025em; }
.h-lg { font-family: var(--font-display); font-size: clamp(1.8rem, 3.6vw, 2.8rem); font-weight: 900; letter-spacing: -.02em; }
.h-md { font-size: 1.55rem; font-weight: 850; }
.h-sm { font-size: 1.15rem; font-weight: 800; margin-top: 1.4em; }
.lead { font-size: 1.22rem; font-weight: 500; }

/* ---------- Buttons ---------- */
.btn {
  --b: var(--blue); --c: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .78em 1.35em; border-radius: 999px; border: 2px solid var(--b); background: var(--b); color: var(--c);
  font: inherit; font-weight: 800; text-decoration: none; cursor: pointer; line-height: 1.1;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s;
}
.btn:hover { color: var(--c); transform: translateY(-2px); box-shadow: var(--shadow); }
.btn:active { transform: translateY(0); }
.btn:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }
.btn:disabled { opacity: .45; cursor: not-allowed; transform: none; box-shadow: none; }
.btn-primary { --b: var(--blue); }
.btn-primary:hover { background: var(--blue-600); border-color: var(--blue-600); }
.btn-yellow { --b: var(--yellow); --c: var(--navy); }
.btn-yellow:hover { --c: var(--navy); background: #ffe14d; border-color: #ffe14d; }
.btn-ghost { background: transparent; border-color: rgba(255, 255, 255, .7); --c: #fff; }
.btn-ghost:hover { background: rgba(255, 255, 255, .12); }
.btn-ghost-dark { background: transparent; border-color: var(--line); --c: var(--ink); }
.btn-outline { background: transparent; --c: var(--blue); border-color: var(--blue); }
.btn-outline:hover { --c: #fff; background: var(--blue); }
.btn-white { --b: #fff; --c: var(--navy); box-shadow: var(--shadow); }
.btn-lg { font-size: 1.08rem; padding: .95em 1.7em; }
.btn-sm { font-size: .88rem; padding: .55em 1em; }
.btn-block { width: 100%; }
.btn.is-loading { position: relative; color: transparent !important; }
.btn.is-loading::after { content: ""; position: absolute; width: 1.2em; height: 1.2em; border: 3px solid var(--navy); border-right-color: transparent; border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.link { background: none; border: 0; padding: 0; font: inherit; color: var(--blue); text-decoration: underline; cursor: pointer; }
.link.danger { color: var(--err); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 1000; height: var(--header-h); background: var(--navy); color: #fff; transition: background .25s, box-shadow .25s; }
.site-header.is-transparent { position: fixed; inset: 0 0 auto 0; background: transparent; }
.site-header.is-transparent.is-scrolled, .nav-open .site-header { background: rgba(11, 29, 58, .96); box-shadow: 0 6px 20px -10px rgba(0, 0, 0, .5); backdrop-filter: blur(8px); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 100%; }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; }
.brand:hover { color: #fff; }
.brand-mark { display: grid; place-items: center; width: 46px; height: 36px; border-radius: 9px; background: linear-gradient(180deg, var(--blue) 50%, var(--yellow) 50%); color: var(--navy); }
.brand-mark svg { width: 34px; height: 22px; }
.brand-text { font-weight: 900; font-size: 1.05rem; line-height: 1.05; letter-spacing: -.01em; }
.brand-text small { display: block; font-weight: 600; font-size: .72rem; opacity: .75; letter-spacing: .02em; }
.site-nav { display: flex; align-items: center; gap: 22px; }
.site-nav a:not(.btn) { color: #fff; text-decoration: none; font-weight: 650; opacity: .88; }
.site-nav a:not(.btn):hover, .site-nav a:not(.btn).is-active { opacity: 1; color: var(--yellow); }
.site-nav a.nav-orga:not(.btn) { border: 1.5px solid rgba(255, 255, 255, .4); border-radius: 999px; padding: 4px 13px; font-size: .88rem; opacity: 1; white-space: nowrap; }
.site-nav a.nav-orga:not(.btn):hover { border-color: var(--yellow); }
.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; padding: 10px; cursor: pointer; }
.nav-toggle span { display: block; height: 2.5px; background: #fff; border-radius: 2px; margin: 5px 0; transition: transform .2s, opacity .2s; }
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

@media (max-width: 1060px) {
  .nav-toggle { display: block; }
  .site-nav { position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--navy); padding: 10px 16px 22px; transform: translateY(-120%); transition: transform .25s ease; }
  .nav-open .site-nav { transform: translateY(0); }
  .site-nav a:not(.btn) { padding: 14px 4px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
  .site-nav .btn { margin-top: 14px; }
}

/* ---------- Hero / Parallax ---------- */
.hero { --land: clamp(170px, 26vh, 260px); /* Höhe des gelben Feldes mit der Menschenkette */
  position: relative; min-height: max(520px, 100vh); min-height: max(520px, 100svh); display: flex; flex-direction: column;
  overflow: hidden; color: #fff; background: var(--navy); isolation: isolate; }
.px { position: absolute; left: 0; width: 100%; will-change: transform; pointer-events: none; }
.px-sky { inset: 0; height: 130%; top: -15%; background:
  radial-gradient(ellipse 70% 45% at 50% 82%, rgba(255, 213, 0, .38), rgba(255, 213, 0, 0) 70%),
  linear-gradient(180deg, #071431 0%, #0b2554 32%, #0057B7 72%, #4f8fe0 100%); }
.px-stars { inset: 0; height: 70%; opacity: .55; background-image:
  radial-gradient(1.5px 1.5px at 12% 18%, #fff 50%, transparent 52%), radial-gradient(1px 1px at 28% 8%, #fff 50%, transparent 52%),
  radial-gradient(1.5px 1.5px at 43% 22%, #fff 50%, transparent 52%), radial-gradient(1px 1px at 62% 12%, #fff 50%, transparent 52%),
  radial-gradient(1.5px 1.5px at 78% 26%, #fff 50%, transparent 52%), radial-gradient(1px 1px at 88% 9%, #fff 50%, transparent 52%),
  radial-gradient(1px 1px at 5% 35%, #fff 50%, transparent 52%), radial-gradient(1px 1px at 55% 33%, #fff 50%, transparent 52%); }
.px-sun { bottom: calc(var(--land) - 30px); height: 40%; display: flex; justify-content: center; align-items: flex-end; }
.sun { width: min(46vw, 520px); aspect-ratio: 1; border-radius: 50%; transform: translateY(55%);
  background: radial-gradient(circle at 50% 50%, #fff6c2 0%, #ffe25a 40%, rgba(255, 213, 0, .0) 70%); filter: blur(2px); opacity: .9; }
.px-hills-far { bottom: calc(var(--land) - 40px); height: clamp(110px, 22vh, 230px); }
.px-hills-mid { bottom: calc(var(--land) - 60px); height: clamp(90px, 16vh, 170px); }
.px-front { bottom: -2px; height: var(--land); z-index: 6; }
/* Inhalt nie unter Navigation oder gelbem Feld: bei niedrigen Fenstern wird der Hero höher statt enger */
.hero-content { position: relative; z-index: 5; flex: 1; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center;
  padding: calc(var(--header-h) + 28px) 16px calc(var(--land) + 20px); max-width: 1000px; margin: 0 auto; will-change: transform, opacity; }
.hero-title { font-family: var(--font-display); font-weight: 900; font-size: clamp(2.1rem, min(6.4vw, 7.6vh), 5rem); letter-spacing: -.035em; line-height: 1; margin: 0 0 .35em; text-shadow: 0 4px 30px rgba(0, 0, 0, .25); }
.hero-title span { display: block; animation: rise .9s cubic-bezier(.2, .7, .2, 1) both; }
.hero-title span:nth-child(2) { animation-delay: .12s; }
.hero-title span:nth-child(3) { animation-delay: .24s; }
.hero-title .hl { color: var(--yellow); }
@keyframes rise { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: none; } }
.hero-lead { font-size: clamp(1.05rem, 2vw, 1.3rem); max-width: 720px; opacity: .95; margin-bottom: 1.6em; }
.hero-tag { color: var(--yellow); white-space: nowrap; }
.hl-tag { color: var(--yellow); font-weight: 700; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.hero-cta .btn-yellow { box-shadow: 0 0 0 0 rgba(255, 213, 0, .6); animation: pulse 2.6s ease-out infinite 1.5s; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(255, 213, 0, .55); } 70% { box-shadow: 0 0 0 18px rgba(255, 213, 0, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 213, 0, 0); } }
.countdown { display: flex; gap: 10px; margin-top: 1.5em; }
.countdown div { min-width: 74px; padding: 10px 8px 8px; border-radius: 12px; background: rgba(11, 29, 58, .45); border: 1px solid rgba(255, 255, 255, .18); backdrop-filter: blur(6px); }
.countdown b { display: block; font-size: 1.7rem; font-variant-numeric: tabular-nums; line-height: 1; }
.countdown span { font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; opacity: .8; }
.scroll-hint { position: absolute; z-index: 7; left: 50%; bottom: 22px; width: 30px; height: 48px; margin-left: -15px; border: 2px solid rgba(11, 29, 58, .7); border-radius: 16px; }
.scroll-hint span { position: absolute; left: 50%; top: 8px; width: 4px; height: 9px; margin-left: -2px; background: var(--navy); border-radius: 2px; animation: wheel 1.8s infinite; }
@keyframes wheel { 0% { opacity: 1; transform: translateY(0); } 80% { opacity: 0; transform: translateY(16px); } 100% { opacity: 0; } }
/* Niedrige Querformat-Fenster (Laptop mit Lesezeichenleiste o. ä.): alles kompakter, damit die Kette im ersten Bild bleibt */
@media (max-height: 760px) and (min-width: 601px) {
  .hero { --land: clamp(110px, 20vh, 150px); }
  .hero-content { padding-top: calc(var(--header-h) + 14px); padding-bottom: calc(var(--land) + 10px); }
  .hero .eyebrow { margin-bottom: .5em; }
  .hero-title { font-size: clamp(2rem, min(6vw, 7.4vh), 4rem); margin-bottom: .25em; }
  .hero-lead { font-size: 1rem; line-height: 1.45; margin-bottom: 1em; }
  .hero-cta .btn { padding-top: .7em; padding-bottom: .7em; }
  .countdown { margin-top: 1em; gap: 8px; }
  .countdown div { min-width: 60px; padding: 6px 6px 5px; border-radius: 10px; }
  .countdown b { font-size: 1.25rem; }
  .countdown span { font-size: .62rem; }
  .scroll-hint { display: none; }
}
@media (max-width: 600px) {
  .hero { --land: clamp(150px, 22vh, 200px); }
  .countdown div { min-width: 62px; }
  .countdown b { font-size: 1.35rem; }
}

/* ---------- Fortschritt ---------- */
.progress-strip { background: var(--navy); color: #fff; padding: 34px 0 30px; position: relative; }
.progress-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; font-weight: 700; font-size: 1.1rem; }
.progress-head .counter { font-family: var(--font-display); font-size: clamp(2rem, 4vw, 2.8rem); color: var(--yellow); font-variant-numeric: tabular-nums; margin-right: .2em; }
.progress-goal { opacity: .7; font-size: .95rem; }
.progress-bar { position: relative; height: 18px; margin: 14px 0 12px; border-radius: 999px; background: rgba(255, 255, 255, .12); overflow: hidden; }
.progress-bar.slim { height: 10px; background: var(--line); margin: 10px 0 16px; }
.progress-fill { position: absolute; inset: 0 auto 0 0; width: var(--p); border-radius: inherit;
  background: repeating-linear-gradient(90deg, var(--yellow) 0 10px, #ffe466 10px 12px); transition: width 1.2s ease; }
.progress-bar.slim .progress-fill { background: var(--blue); }
.progress-meta { display: flex; flex-wrap: wrap; gap: 8px 28px; font-size: .95rem; opacity: .85; }
.progress-meta b { color: #fff; }

/* ---------- Sektionen ---------- */
.section { padding: clamp(64px, 9vw, 120px) 0; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); }
.grid-2.align-center { align-items: center; }
@media (max-width: 860px) { .grid-2 { grid-template-columns: 1fr; } }
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s cubic-bezier(.2, .7, .2, 1); }
.reveal.is-visible { opacity: 1; transform: none; }
.facts { list-style: none; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.facts li { background: var(--blue-50); border-radius: var(--radius); padding: 16px; }
.facts b { display: block; font-family: var(--font-display); font-size: 1.9rem; color: var(--blue); line-height: 1.05; }
.facts span { font-size: .88rem; color: var(--muted); }

.steps-section { background: var(--bg-soft); }
.steps { list-style: none; padding: 0; margin: 40px 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: s; }
.step { position: relative; background: #fff; border-radius: var(--radius); padding: 30px 26px 24px; box-shadow: var(--shadow); }
.step:nth-child(2) { transition-delay: .1s; }
.step:nth-child(3) { transition-delay: .2s; }
.step-num { position: absolute; top: -16px; left: 24px; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--yellow); color: var(--navy); font-weight: 900; }
.step-icon { width: 44px; height: 44px; color: var(--blue); margin-bottom: 8px; }
.step h3 { font-size: 1.2rem; }
.step p { color: var(--muted); margin: 0; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; gap: 30px; } }

/* Parallax-Band (Flagge) */
.band { position: relative; height: clamp(360px, 52vw, 540px); overflow: hidden; display: grid; place-items: start center; color: #fff; }
.band-bg { position: absolute; inset: -30% 0; display: grid; grid-template-rows: 1fr 1fr; will-change: transform; }
.band-blue { background: linear-gradient(180deg, #003f88, var(--blue)); }
.band-yellow { background: linear-gradient(180deg, var(--yellow), #f2b705); }
.band-chain { position: absolute; left: -5%; right: -5%; top: calc(50% - 66px); height: 70px; will-change: transform; opacity: .95;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='36' height='70' viewBox='0 0 36 70'%3E%3Ccircle cx='18' cy='10' r='6.5' fill='%230b1d3a'/%3E%3Cpath d='M0 29l12-10h12l12 10M12 19l1 26h10l1-26M15 45l-3 25M21 45l3 25' fill='none' stroke='%230b1d3a' stroke-width='4.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") repeat-x left bottom / 36px 70px; }
.band-content { position: relative; z-index: 2; padding-top: clamp(40px, 7vw, 84px); }
.band-claim { margin: 0 auto; max-width: 900px; text-align: center; font-family: var(--font-display); font-weight: 900; font-size: clamp(1.4rem, 3.4vw, 2.6rem); line-height: 1.15; letter-spacing: -.02em; color: #fff; text-shadow: 0 3px 24px rgba(0, 40, 100, .45); }

/* Strecke */
.stations { list-style: none; padding: 0; margin: 24px 0 28px; position: relative; }
.stations::before { content: ""; position: absolute; left: 9px; top: 10px; bottom: 10px; width: 4px; border-radius: 2px; background: linear-gradient(var(--blue), var(--yellow)); }
.stations li { position: relative; padding: 5px 0 5px 34px; font-weight: 700; }
.stations li::before { content: ""; position: absolute; left: 3px; top: 50%; width: 16px; height: 16px; margin-top: -8px; border-radius: 50%; background: #fff; border: 4px solid var(--blue); }
.stations li::before { background: var(--yellow); border-color: var(--navy); }
.stations li small { font-weight: 500; color: var(--muted); font-size: .82rem; margin-left: 6px; }
.stations li a { color: inherit; text-decoration: none; }
.stations li a:hover { color: var(--blue); text-decoration: underline; }
.mini-map .city-marker { cursor: pointer; }
.mini-map-wrap { position: relative; border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-lg); background: #e8eef6; }
.mini-map { height: clamp(360px, 48vw, 560px); cursor: pointer; }
.mini-map-wrap .map-legend { position: absolute; z-index: 500; left: 12px; bottom: 12px; background: rgba(255, 255, 255, .94); padding: 6px 12px; border-radius: 10px; margin: 0; }

/* Gruppen */
.groups-section { background: var(--navy); color: #fff; overflow: hidden; }
.group-visual { display: grid; place-items: center; }
.gv-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px 0; width: min(420px, 100%); }
.gv-row svg { width: 100%; height: auto; aspect-ratio: 40 / 24; color: var(--yellow); }
.gv-row svg:nth-child(even) { color: #6ea8ff; }

/* FAQ */
.faq { margin-top: 30px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 44px 20px 0; position: relative; font-weight: 750; font-size: 1.08rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--blue-50); color: var(--blue); font-size: 1.3rem; transition: transform .2s; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); padding-right: 40px; }

/* Final CTA */
.final-cta { padding: clamp(70px, 10vw, 130px) 0; color: #fff; background:
  radial-gradient(ellipse 60% 80% at 50% 120%, rgba(255, 213, 0, .4), transparent 70%), linear-gradient(160deg, var(--navy), #003f88); }
.final-cta .btn { margin: 8px 6px; }

/* Footer */
.site-footer { background: var(--navy); color: rgba(255, 255, 255, .8); font-size: .92rem; }
.footer-inner { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding: 36px 0; }
.site-footer a { color: #fff; }
.footer-nav { display: flex; gap: 20px; flex-wrap: wrap; align-items: flex-start; }
.flag-bar { height: 8px; background: linear-gradient(90deg, var(--blue) 50%, var(--yellow) 50%); }

/* ---------- Karten-Seiten (Anmeldung / Karte) ---------- */
.app-page { background: var(--bg-soft); }
.app-layout { display: grid; grid-template-columns: 420px 1fr; height: calc(100svh - var(--header-h)); min-height: 520px; }
.app-panel { background: #fff; overflow-y: auto; border-right: 1px solid var(--line); box-shadow: 4px 0 18px -12px rgba(11, 29, 58, .3); z-index: 2; }
.panel-inner { padding: 22px 24px 30px; }
.app-map { position: relative; min-height: 300px; }
.map { position: absolute; inset: 0; background: #e8eef6; }
.map.is-pickable { cursor: crosshair; }
@media (max-width: 900px) {
  .app-layout { display: flex; flex-direction: column-reverse; height: auto; }
  .app-map { height: 58svh; min-height: 340px; position: sticky; top: var(--header-h); z-index: 1; }
  .page-register[data-step="1"] .app-map, .page-register[data-step="3"] .app-map, .page-register[data-step="4"] .app-map { height: 32svh; min-height: 220px; position: relative; top: 0; }
  .app-panel { border-right: 0; overflow: visible; position: relative; z-index: 2; border-radius: 18px 18px 0 0; margin-top: -14px; box-shadow: 0 -8px 20px -12px rgba(11, 29, 58, .35); }
}

.field { display: block; margin: 14px 0; font-weight: 700; font-size: .93rem; }
.field small { font-weight: 500; color: var(--muted); }
.field input, .field select, .field textarea, .form input:not([type=checkbox]):not([type=radio]), .form select, .form textarea, .sec-filter {
  display: block; width: 100%; margin-top: 6px; padding: .72em .85em; font: inherit; font-weight: 500; font-size: 1rem; color: var(--ink);
  background: #fff; border: 1.5px solid #cbd5e1; border-radius: var(--radius-sm); transition: border-color .15s, box-shadow .15s; }
.field input:focus, .field select:focus, .field textarea:focus, .form input:focus, .form select:focus, .form textarea:focus, .sec-filter:focus { outline: 0; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(0, 87, 183, .18); }
.is-invalid { border-color: var(--err) !important; }
.field-row { display: grid; grid-template-columns: 1fr 120px; gap: 12px; }
.err { display: block; color: var(--err) !important; font-weight: 600 !important; min-height: 0; }
.err:empty { display: none; }
.req { color: var(--err); }
.hint { display: block; margin-top: 6px; }
.check { display: flex; gap: 10px; align-items: flex-start; margin: 12px 0; font-size: .92rem; line-height: 1.45; cursor: pointer; }
.check input { width: 20px; height: 20px; margin-top: 1px; flex: none; accent-color: var(--blue); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
/* Karten-Overlays */
.map-hint { position: absolute; z-index: 600; left: 50%; transform: translateX(-50%); top: 14px; background: var(--navy); color: #fff; padding: 9px 16px; border-radius: 999px; font-size: .9rem; font-weight: 700; box-shadow: var(--shadow); pointer-events: none; white-space: nowrap; max-width: calc(100% - 24px); overflow: hidden; text-overflow: ellipsis; }
.map-tools { position: absolute; z-index: 600; left: 56px; top: 12px; display: flex; gap: 8px; }
.map-info { position: absolute; z-index: 600; left: 12px; right: 12px; bottom: 26px; max-width: 380px; background: #fff; padding: 14px 16px; border-radius: var(--radius); box-shadow: var(--shadow-lg); line-height: 1.5; }
.map-info .btn { margin-top: 8px; }
.map-info .close { position: absolute; top: 6px; right: 10px; background: none; border: 0; font-size: 1.4rem; cursor: pointer; color: var(--muted); }

.map-legend { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: .84rem; color: var(--muted); margin: 6px 0 18px; }
.map-legend span { display: inline-flex; align-items: center; gap: 6px; }
.lg { display: inline-block; width: 22px; height: 6px; border-radius: 3px; vertical-align: middle; }
.lg-taken { background: var(--blue); }
.lg-city { width: 14px; height: 14px; border-radius: 50%; background: var(--yellow); border: 2.5px solid var(--navy); }

.sel-pin span { display: block; width: 34px; height: 44px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 34 44'%3E%3Cpath d='M17 43S3 27.5 3 16.5a14 14 0 0 1 28 0C31 27.5 17 43 17 43z' fill='%23FFD500' stroke='%230b1d3a' stroke-width='3'/%3E%3Ccircle cx='17' cy='16' r='5.5' fill='%230b1d3a'/%3E%3C/svg%3E") no-repeat center / contain; filter: drop-shadow(0 3px 4px rgba(0, 0, 0, .35)); cursor: grab; }
/* Stadt-Marker (kleine Zoomstufen) */
.city-marker { width: auto !important; height: auto !important; display: flex; align-items: center; gap: 6px; white-space: nowrap; cursor: pointer; }
.city-dot { width: 18px; height: 18px; border-radius: 50%; border: 3px solid var(--navy); flex: none; box-shadow: 0 2px 6px rgba(0, 0, 0, .35); background: var(--yellow); }
.city-name { background: rgba(255, 255, 255, .95); color: var(--navy); font-weight: 800; font-size: 13px; padding: 2px 9px; border-radius: 999px; box-shadow: 0 2px 6px rgba(0, 0, 0, .25); }
.city-name em { font-style: normal; font-weight: 700; color: var(--blue); margin-left: 3px; }
.city-marker.is-mini .city-name { font-size: 11px; padding: 1px 7px; }
.city-marker.is-mini .city-dot { width: 14px; height: 14px; border-width: 2.5px; }
.grp-label span { display: inline-block; transform: translate(-50%, -150%); white-space: nowrap; background: var(--navy); color: #fff; font-size: 12px; font-weight: 800; padding: 3px 9px; border-radius: 999px; box-shadow: 0 2px 6px rgba(0, 0, 0, .3); }
.leaflet-container { font-family: var(--font); }
.leaflet-container a.leaflet-popup-close-button { font-size: 20px; }

/* Karte – Seitenleiste */
.stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 14px 0 4px; }
.stat-grid div { background: var(--bg-soft); border-radius: var(--radius-sm); padding: 12px; }
.stat-grid b { display: block; font-size: 1.45rem; font-weight: 900; color: var(--blue); font-variant-numeric: tabular-nums; line-height: 1.1; }
.stat-grid span { font-size: .8rem; color: var(--muted); }
.section-list { list-style: none; padding: 0; margin: 10px 0 0; }
.section-list .route-city button { padding: 12px 2px 4px; font-weight: 900; font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--blue); border-bottom: 0; }
.section-list button { display: block; width: 100%; text-align: left; background: none; border: 0; border-bottom: 1px solid var(--line); padding: 10px 2px; cursor: pointer; font: inherit; color: var(--ink); }
.section-list button:hover { background: var(--bg-soft); }
.sec-name { display: block; font-weight: 700; font-size: .93rem; }
.sec-meta { display: block; font-size: .78rem; color: var(--muted); }
.route-list li:not(.route-city) { display: flex; align-items: center; gap: 8px; border-bottom: 1px solid var(--line); }
.route-list li:not(.route-city) button { border-bottom: 0; flex: 1; }
.route-go { white-space: nowrap; flex: none; }
.city-popup .leaflet-popup-content { margin: 12px 14px; font-family: inherit; }
.city-popup ul { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 8px; }
.city-popup li { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.city-popup .cp-name { font-weight: 700; line-height: 1.3; }
.city-popup .cp-name small { display: block; font-weight: 400; color: var(--muted); }

/* ---------- Aktionsseite („Ich bin dabei“) ---------- */
.page-text main { min-height: 60vh; }
.aktion-hero { background: linear-gradient(160deg, var(--navy), #003f88); color: #fff; padding: clamp(48px, 7vw, 90px) 0 clamp(36px, 5vw, 60px); }
.aktion-hero .h-xl { margin-bottom: .3em; }
.aktion-meta { opacity: .85; margin: 0; }
.aktion-meta a { color: var(--yellow); }
.aktion-body { padding-top: clamp(32px, 5vw, 56px); }
.dabei-box { border: 2px solid var(--yellow); background: #fffbea; }
.dabei-count { display: flex; align-items: baseline; gap: 10px; margin-bottom: 14px; }
.dabei-count b { font-family: var(--font-display); font-size: 2.4rem; color: var(--blue); line-height: 1; font-variant-numeric: tabular-nums; }
.dabei-ok { display: flex; align-items: center; gap: 8px; font-size: 1.15rem; color: var(--ok); margin-bottom: 10px; }
.dabei-ok .i { width: 1.4em; height: 1.4em; }
.dabei-mail { margin-top: 8px; }
.dabei-mail .field { margin: 8px 0; }
.aktion-desc { white-space: pre-line; line-height: 1.65; }
.aktion-map { padding: 0; overflow: hidden; position: relative; height: clamp(360px, 55vh, 620px); }
.aktion-map .map { position: absolute; inset: 0; }
.aktion-map .map.is-error::after { content: ""; }
@media (max-width: 860px) { .aktion-body .grid-2 > div:last-child { order: -1; } .aktion-map { height: 300px; } }

/* ---------- Orga-Bereich ---------- */
.wrap.wide { width: min(1400px, 100% - 32px); }
.orga-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 10px; }
.orga-head .btn { margin: 4px 0; }
.orga-steps { padding-left: 20px; }
.orga-steps li { margin: 8px 0; }
.page-orga .editor-map { height: calc(100vh - 180px); }

/* Ersteller-Bereich: Menü links, Inhalt rechts */
.orga-main { padding-top: 28px; }
.orga-layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: clamp(18px, 3vw, 40px); align-items: start; }
.orga-nav { position: sticky; top: calc(var(--header-h) + 16px); background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 10px 12px; }
.orga-nav-title { font-size: .74rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); margin: 0 8px 8px; }
.orga-nav nav { display: grid; gap: 2px; }
.orga-nav nav a { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 9px; color: var(--ink); text-decoration: none; font-weight: 650; font-size: .94rem; line-height: 1.3; }
.orga-nav nav a:hover { background: #fff; }
.orga-nav nav a.is-active { background: var(--blue); color: #fff; }
.nav-count { background: var(--yellow); color: var(--navy); font-size: .72rem; font-weight: 800; padding: 1px 7px; border-radius: 999px; }
.orga-nav-foot { margin: 12px 8px 0; font-size: .86rem; }
.orga-page-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 14px; flex-wrap: wrap; }
.orga-content { min-width: 0; }
.deadline { display: flex; align-items: center; gap: 12px 16px; flex-wrap: wrap; padding: 12px 16px; border-radius: var(--radius); margin-bottom: 18px; text-decoration: none; color: var(--ink); border: 2px solid var(--yellow); background: #fffbea; }
.deadline:hover { color: var(--ink); box-shadow: var(--shadow); }
.deadline-label { font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; background: var(--yellow); color: var(--navy); padding: 3px 9px; border-radius: 999px; white-space: nowrap; }
.deadline-text { flex: 1; min-width: 220px; }
.deadline-go { font-weight: 800; color: var(--blue); white-space: nowrap; }
.deadline-ok { border-color: #c9dbf5; background: var(--blue-50); }
.deadline-urgent, .deadline-today { border-color: #f59e0b; background: #fff4d6; }
.deadline-passed { border-color: #fecaca; background: #fef2f2; }
.deadline-passed .deadline-label { background: var(--err); color: #fff; }
.orga-prose { max-width: 780px; }
.orga-prose h2 { font-size: 1.3rem; margin-top: 1.7em; }
.orga-prose h3 { font-size: 1.1rem; margin-top: 1.4em; }
.orga-prose ul, .orga-prose ol { padding-left: 1.3em; margin: 0 0 1em; }
.orga-prose li { margin: .25em 0; }
.orga-prose blockquote { margin: 1em 0; padding: .7em 1em; border-left: 4px solid var(--yellow); background: #fffbea; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.orga-prose blockquote p:last-child { margin-bottom: 0; }
.news-list { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.news-teaser { display: flex; flex-direction: column; gap: 4px; text-decoration: none; color: var(--ink); padding: 14px 16px; }
.news-teaser:hover { box-shadow: var(--shadow); color: var(--ink); }
.news-item { margin: 18px 0; max-width: 820px; }
.news-item h2 { margin-bottom: .1em; }
.orga-cards { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.orga-card { display: flex; flex-direction: column; gap: 4px; text-decoration: none; color: var(--ink); padding: 14px 16px; }
.orga-card:hover { box-shadow: var(--shadow); color: var(--ink); }
.orga-card b { color: var(--blue); }
.city-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; margin: 18px 0 8px; }
.city-grid .card { padding: 16px 18px; }
.city-contact { border-left: 4px solid var(--yellow); }
.city-people { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-size: .92rem; }
.city-me { margin: 0 0 18px; padding: 14px 18px; }
.city-me .filters { margin-top: 6px; }
.city-me .filters label.check { display: flex; gap: 6px; align-items: center; margin: 0 0 10px; }
@media (max-width: 900px) {
  .orga-layout { grid-template-columns: 1fr; }
  .orga-nav { position: static; padding: 10px; }
  .orga-nav nav { display: flex; flex-wrap: wrap; gap: 6px; }
  .orga-nav nav a { background: #fff; border: 1px solid var(--line); }
  .orga-nav nav a.is-active { border-color: var(--blue); }
}

/* WYSIWYG-Editor (Quill) im Admin */
.wysiwyg-label { display: block; font-weight: 700; font-size: .9rem; margin-bottom: 6px; }
.wysiwyg-field { font-weight: 400; font-size: 1rem; }
.wysiwyg .ql-editor strong { font-weight: 800; }
.wysiwyg .ql-toolbar.ql-snow { border: 1.5px solid #cbd5e1; border-radius: var(--radius-sm) var(--radius-sm) 0 0; background: var(--bg-soft); font-family: var(--font); }
.wysiwyg .ql-container.ql-snow { border: 1.5px solid #cbd5e1; border-top: 0; border-radius: 0 0 var(--radius-sm) var(--radius-sm); font-family: var(--font); font-size: 1rem; background: #fff; }
.wysiwyg .ql-editor { min-height: 360px; max-height: 70vh; overflow-y: auto; line-height: 1.6; }
.wysiwyg .ql-editor h2 { font-size: 1.3rem; margin: 1.2em 0 .5em; }
.wysiwyg .ql-editor h3 { font-size: 1.1rem; margin: 1.1em 0 .4em; }
.wysiwyg .ql-editor blockquote { border-left: 4px solid var(--yellow); background: #fffbea; margin: 1em 0; padding: .6em 1em; }
.wysiwyg .ql-editor.ql-blank::before { color: var(--muted); font-style: normal; }
.wysiwyg-form .hint { display: block; margin: 8px 0 14px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; box-shadow: 0 4px 16px -10px rgba(11, 29, 58, .25); }
.kv { display: grid; grid-template-columns: 110px 1fr; gap: 10px 14px; margin: 0; }
.kv dt { color: var(--muted); font-size: .9rem; }
.kv dd { margin: 0; }
.prose h2 { margin-top: 1.6em; }
.alert { padding: 12px 16px; border-radius: var(--radius-sm); margin: 12px 0; font-weight: 600; font-size: .94rem; }
.alert-error { background: #fef2f2; color: var(--err); border: 1px solid #fecaca; }
.alert-ok { background: #ecfdf3; color: var(--ok); border: 1px solid #bbf7d0; }
.alert-warn { background: #fffbeb; color: var(--warn); border: 1px solid #fde68a; }

/* ---------- Admin ---------- */
.admin-body { background: var(--bg-soft); font-size: 15px; }
.admin-top { background: var(--navy); color: #fff; }
.admin-top .wrap { display: flex; align-items: center; gap: 22px; height: 56px; width: min(1400px, 100% - 32px); }
.admin-top a { color: #fff; text-decoration: none; font-weight: 650; opacity: .85; }
.admin-top a.is-active, .admin-top a:hover { opacity: 1; color: var(--yellow); }
.admin-top .spacer { flex: 1; }
.admin-wrap { width: min(1400px, 100% - 32px); margin: 26px auto 60px; }
.admin-wrap.narrow { width: min(560px, 100% - 32px); }
.admin-wrap h1 { font-size: 1.6rem; }
.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; margin: 16px 0 24px; }
.kpis div { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 14px; }
.kpis b { display: block; font-size: 1.6rem; color: var(--blue); }
.kpis span { color: var(--muted); font-size: .85rem; }
.table-wrap { overflow-x: auto; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); }
table.t { width: 100%; border-collapse: collapse; font-size: .9rem; }
table.t th, table.t td { padding: 8px 10px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
table.t th { background: var(--bg-soft); font-size: .8rem; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); position: sticky; top: 0; }
table.t td.num, table.t th.num { text-align: right; font-variant-numeric: tabular-nums; }
table.t tr:hover td { background: #fafcff; }
.badge { display: inline-block; padding: 1px 8px; border-radius: 999px; font-size: .75rem; font-weight: 800; background: var(--line); }
.badge-confirmed { background: #dcfce7; color: var(--ok); }
.badge-pending { background: #fef9c3; color: var(--warn); }
.badge-anon { background: var(--line); color: var(--muted); }
.filters { display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-end; margin: 10px 0 16px; }
.filters label { font-size: .82rem; font-weight: 700; }
.filters input, .filters select { display: block; margin-top: 4px; padding: 7px 9px; border: 1.5px solid #cbd5e1; border-radius: 8px; font: inherit; }
.inline-form { display: inline; }
.form.card label { display: block; margin: 10px 0; font-weight: 700; font-size: .9rem; }
.pager { display: flex; gap: 6px; margin: 14px 0; flex-wrap: wrap; }
.pager a, .pager span { padding: 5px 11px; border-radius: 7px; background: #fff; border: 1px solid var(--line); text-decoration: none; }
.pager span { background: var(--blue); color: #fff; border-color: var(--blue); }
.bar { height: 8px; min-width: 80px; background: var(--line); border-radius: 4px; overflow: hidden; }
.bar i { display: block; height: 100%; background: var(--blue); }

@media print {
  .site-header, .site-footer, .admin-top, .filters, .pager { display: none !important; }
}

@media (max-width: 900px) {
  .map-hint { top: auto; bottom: 28px; white-space: normal; text-align: center; width: max-content; max-width: calc(100% - 32px); font-size: .82rem; }
  .map-tools { left: 54px; }
}

/* Sprachumschalter */
.lang-switch { display: inline-flex; border: 1.5px solid rgba(255, 255, 255, .35); border-radius: 999px; overflow: hidden; }
.site-nav .lang-switch a { padding: 3px 9px; font-size: .78rem; font-weight: 800; opacity: .75; color: #fff; text-decoration: none; }
.site-nav .lang-switch a.is-current { background: rgba(255, 255, 255, .18); opacity: 1; color: #fff; }
@media (max-width: 1060px) {
  .site-nav .lang-switch { align-self: flex-start; margin-top: 14px; }
  .site-nav .lang-switch a { border-bottom: 0; padding: 8px 14px; }
}

.import-log { background: var(--navy); color: #d6e4ff; padding: 12px 14px; border-radius: 8px; max-height: 260px; overflow: auto; font-size: .8rem; white-space: pre-wrap; margin: 12px 0 0; }


/* ---------- Admin: Strecken-Editor ---------- */
.editor-layout { display: grid; grid-template-columns: 420px 1fr; gap: 18px; align-items: start; }
.editor-form { padding: 18px 20px; }
.editor-form .field { margin: 10px 0; }
.editor-form .field input, .editor-form .field textarea { font-size: .95rem; padding: .55em .7em; }
.editor-stats { font-size: 1.05rem; margin: 4px 0 8px; }
.editor-mode .check { margin: 4px 0; }
.editor-map-wrap { padding: 0; overflow: hidden; position: sticky; top: 16px; }
.editor-map { height: calc(100vh - 110px); min-height: 480px; background: #e8eef6; cursor: crosshair; }
.wp-list { margin: 10px 0 0; padding: 0; list-style: none; max-height: 220px; overflow: auto; border: 1px solid var(--line); border-radius: var(--radius-sm); font-size: .82rem; }
.wp-list:empty { display: none; }
.wp-list li { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--line); }
.wp-list li.is-selected { background: #fffbea; }
.wp-list .wp-go { flex: 1; text-align: left; background: none; border: 0; padding: 5px 8px; font: inherit; font-variant-numeric: tabular-nums; cursor: pointer; color: var(--ink); }
.wp-list .wp-del { padding: 4px 10px; text-decoration: none; font-size: 1.1rem; }
.wp-marker span { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: #fff; color: var(--navy); border: 3px solid var(--blue); font-weight: 900; font-size: 11px; box-shadow: 0 2px 6px rgba(0, 0, 0, .35); cursor: grab; }
.wp-marker.is-start span { background: var(--yellow); border-color: var(--navy); }
.wp-marker.is-end span { background: var(--navy); color: #fff; border-color: var(--navy); }
.wp-marker.is-selected span { box-shadow: 0 0 0 4px rgba(255, 213, 0, .8), 0 2px 6px rgba(0, 0, 0, .35); }
.wp-mid span { display: grid; place-items: center; width: 16px; height: 16px; border-radius: 50%; background: rgba(255, 255, 255, .9); color: var(--blue); border: 2px solid var(--blue); font-size: 12px; font-weight: 900; line-height: 1; opacity: .75; cursor: copy; }
.wp-mid span:hover { opacity: 1; }
@media (max-width: 1000px) {
  .editor-layout { grid-template-columns: 1fr; }
  .editor-map-wrap { position: relative; top: 0; }
  .editor-map { height: 60vh; min-height: 360px; }
}

/* Öffentliche Inhaltsseiten und „Die Idee“ (Text aus dem Editor) */
.public-prose { max-width: none; }
.public-prose h2 { font-size: 1.45rem; }
.public-prose h3 { font-size: 1.15rem; color: var(--blue); }
.idea-text p:first-child { font-size: 1.22rem; font-weight: 500; }
.idea-text p { margin: 0 0 1em; }
@media (max-width: 1060px) {
  .site-nav a.nav-orga:not(.btn) { border: 0; border-bottom: 1px solid rgba(255, 255, 255, .1); border-radius: 0; padding: 14px 4px; font-size: 1rem; }
}

/* ---------- KI-Assistent (Chat-Knopf unten rechts) ---------- */
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.kc { position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); z-index: 1500; font-size: .95rem; }
.kc[hidden] { display: none; }
.kc-fab { position: relative; display: grid; place-items: center; width: 52px; height: 52px; margin-left: auto; padding: 0; border: 0; border-radius: 50%; background: var(--blue); color: #fff; cursor: pointer; box-shadow: 0 6px 20px -4px rgba(11, 29, 58, .55); transition: transform .15s, background .15s; }
.kc-fab:hover { background: var(--blue-600); transform: translateY(-2px); }
.kc-fab:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }
.kc-fab svg { width: 28px; height: 28px; }
.kc-fab-ai { position: absolute; right: -4px; top: -4px; min-width: 22px; padding: 1px 5px; border-radius: 99px; background: var(--yellow); color: var(--navy); font-size: .68rem; font-weight: 800; line-height: 1.5; text-align: center; border: 2px solid #fff; }
.kc.is-open .kc-fab { display: none; }
.kc-panel { display: flex; flex-direction: column; width: min(380px, calc(100vw - 32px)); height: min(560px, calc(100svh - 110px)); background: #fff; border-radius: 16px; box-shadow: 0 18px 50px -10px rgba(11, 29, 58, .5); overflow: hidden; color: var(--navy); }
.kc-panel[hidden] { display: none; }
.kc-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 14px; background: var(--navy); color: #fff; }
.kc-head strong { display: block; font-size: 1rem; }
.kc-head small { display: block; opacity: .75; font-size: .78rem; }
.kc-close { background: none; border: 0; color: #fff; font-size: 1.7rem; line-height: 1; cursor: pointer; padding: 0 4px; border-radius: 6px; }
.kc-close:focus-visible { outline: 3px solid var(--yellow); }
.kc-log { flex: 1; overflow-y: auto; padding: 14px; display: flex; flex-direction: column; gap: 10px; background: var(--blue-50); overscroll-behavior: contain; }
.kc-msg { max-width: 88%; padding: 9px 12px; border-radius: 14px; line-height: 1.45; overflow-wrap: anywhere; }
.kc-msg p { margin: 0 0 .5em; }
.kc-msg p:last-child, .kc-msg ul:last-child { margin-bottom: 0; }
.kc-msg ul { margin: 0 0 .5em; padding-left: 1.2em; }
.kc-bot { align-self: flex-start; background: #fff; border-bottom-left-radius: 4px; box-shadow: 0 1px 2px rgba(11, 29, 58, .12); }
.kc-user { align-self: flex-end; background: var(--blue); color: #fff; border-bottom-right-radius: 4px; white-space: pre-wrap; }
.kc-err { background: #fdecec; color: #8a1c1c; }
.kc-dots i { display: inline-block; width: 7px; height: 7px; margin: 0 2px; border-radius: 50%; background: var(--blue); opacity: .35; animation: kc-blink 1.1s infinite; }
.kc-dots i:nth-child(2) { animation-delay: .18s; }
.kc-dots i:nth-child(3) { animation-delay: .36s; }
@keyframes kc-blink { 0%, 80%, 100% { opacity: .25; } 40% { opacity: 1; } }
.kc-sugg { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.kc-sugg button { background: #fff; border: 1.5px solid var(--blue); color: var(--blue); border-radius: 99px; padding: 6px 12px; font: inherit; font-size: .88rem; cursor: pointer; text-align: left; }
.kc-sugg button:hover { background: var(--blue); color: #fff; }
.kc-note { margin: 0; padding: 6px 14px; font-size: .74rem; line-height: 1.35; color: var(--muted); border-top: 1px solid var(--line); background: #fff; }
.kc-form { display: flex; gap: 8px; align-items: flex-end; padding: 10px 12px 12px; background: #fff; }
.kc-form textarea { flex: 1; resize: none; font: inherit; padding: 8px 10px; border: 1.5px solid var(--line); border-radius: 10px; max-height: 110px; min-height: 38px; }
.kc-form textarea:focus { outline: 3px solid rgba(0, 87, 183, .25); border-color: var(--blue); }
.kc-form .btn { flex: none; }
.kc-form .btn[disabled] { opacity: .5; cursor: default; }
.page-map .kc { bottom: 44px; }
@media (max-width: 900px) { .page-map .kc { bottom: max(16px, env(safe-area-inset-bottom)); } }
@media (max-width: 520px) {
  .kc-panel { position: fixed; right: 8px; left: 8px; bottom: 8px; width: auto; height: min(78svh, 620px); }
}
@media (prefers-reduced-motion: reduce) { .kc-fab, .kc-dots i { transition: none; animation: none; } }

/* ---------------------------------------------------------------- Netzwerk / Vorschaltseite */
.beta-bar { background: var(--yellow); color: var(--navy); font-size: .88rem; font-weight: 650; padding: 7px 16px; text-align: center; }
.beta-bar a { color: var(--navy); font-weight: 800; }
.site-nav.site-nav-beta { gap: 14px; }
@media (max-width: 1060px) {
  .site-nav.site-nav-beta { position: static; flex-direction: row; align-items: center; transform: none; background: none; padding: 0; }
  .site-nav.site-nav-beta .btn, .site-nav.site-nav-beta .lang-switch { margin-top: 0; }
  .site-nav.site-nav-beta .lang-switch { align-self: center; }
  .site-nav.site-nav-beta .lang-switch a { padding: 3px 9px; }
}
@media (max-width: 560px) { .site-nav.site-nav-beta .btn { display: none; } }
@media (max-width: 360px) { .site-header-beta .brand-text small { display: none; } }
.network-hero .h-xl { max-width: 18ch; }
.network-hero-lead { font-size: 1.2rem; max-width: 46ch; opacity: .92; margin-bottom: 1.4em; }
.network-body .grid-2 { align-items: start; }
.role-cards { list-style: none; padding: 0; margin: 26px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.role-cards .card { margin: 0; }
.role-cards li:last-child:nth-child(odd) { grid-column: 1 / -1; }
.role-cards .i { width: 30px; height: 30px; color: var(--blue); }
.role-cards h3 { margin: 6px 0 4px; font-size: 1.08rem; }
.role-cards p { margin: 0; font-size: .93rem; color: var(--muted); }
.network-count { margin-top: 22px; font-size: 1.05rem; }
.network-count b { font-size: 1.6rem; color: var(--blue); }
.network-form-card { border: 2px solid var(--yellow); background: #fffbea; }
.network-form .field { margin: 10px 0; }
.network-form textarea { min-height: 96px; resize: vertical; }
.field-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; }
.role-pick { border: 1.5px solid var(--line); border-radius: var(--radius-sm); padding: 6px 12px 2px; margin: 0 0 6px; background: #fff; }
.role-pick legend { font-weight: 700; font-size: .93rem; padding: 0 4px; }
.role-pick.is-invalid, .check.is-invalid { border-color: var(--err); }
.check.is-invalid { color: var(--err); }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 760px) {
  .role-cards, .field-2 { grid-template-columns: 1fr; }
  .network-form-card { position: static; }
}
.logos-section { background: var(--bg-soft); }
.logos-lead { margin: -.4em auto 2em; max-width: 52ch; }
.logo-grid { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.logo-grid li { flex: 0 1 190px; }
.logo-grid li > a, .logo-grid li > span { display: flex; align-items: center; justify-content: center; height: 110px; padding: 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); transition: transform .15s, box-shadow .15s; }
.logo-grid li > a:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.logo-grid img { max-width: 100%; max-height: 72px; object-fit: contain; }
@media (max-width: 480px) { .logo-grid li { flex-basis: calc(50% - 7px); } .logo-grid li > a, .logo-grid li > span { height: 90px; } }
.admin-logo { width: 120px; height: 56px; object-fit: contain; background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 4px; }
.admin-top a.badge { color: var(--warn); opacity: 1; white-space: nowrap; }

/* ---------------------------------------------------------------- Netzwerk-Seite: emotionaler Auftritt */
.nw-hero { position: relative; isolation: isolate; overflow: hidden; color: #fff; background: #040b1d;
  min-height: max(600px, 100vh); min-height: max(600px, 100svh); display: flex; align-items: center;
  padding: calc(var(--header-h) + 36px) 0 clamp(170px, 24vh, 230px); }
.nw-sky { position: absolute; inset: 0; z-index: -3; background:
  radial-gradient(ellipse 80% 34% at 50% 100%, rgba(255, 170, 30, .38), rgba(255, 170, 30, 0) 70%),
  linear-gradient(180deg, #030817 0%, #071a3d 50%, #0b2756 82%, #0e2b5c 100%); }
.nw-stars { position: absolute; inset: 0 0 35% 0; z-index: -2; opacity: .7; background-image:
  radial-gradient(1.5px 1.5px at 8% 14%, #fff 50%, transparent 52%), radial-gradient(1px 1px at 19% 31%, #fff 50%, transparent 52%),
  radial-gradient(1.5px 1.5px at 33% 9%, #fff 50%, transparent 52%), radial-gradient(1px 1px at 47% 24%, #fff 50%, transparent 52%),
  radial-gradient(1.5px 1.5px at 61% 6%, #fff 50%, transparent 52%), radial-gradient(1px 1px at 72% 29%, #fff 50%, transparent 52%),
  radial-gradient(1.5px 1.5px at 84% 15%, #fff 50%, transparent 52%), radial-gradient(1px 1px at 93% 34%, #fff 50%, transparent 52%),
  radial-gradient(1px 1px at 4% 44%, #fff 50%, transparent 52%), radial-gradient(1px 1px at 55% 41%, #fff 50%, transparent 52%);
  animation: nw-twinkle 6s ease-in-out infinite alternate; }
@keyframes nw-twinkle { from { opacity: .45; } to { opacity: .85; } }
.nw-glow { position: absolute; left: 50%; bottom: 40px; z-index: -1; width: min(1100px, 140vw); height: 240px; transform: translateX(-50%);
  background: radial-gradient(ellipse at 50% 100%, rgba(255, 190, 40, .5), rgba(255, 160, 20, .12) 45%, rgba(255, 160, 20, 0) 68%); filter: blur(8px);
  animation: nw-breathe 5s ease-in-out infinite alternate; }
@keyframes nw-breathe { from { opacity: .7; } to { opacity: 1; } }
.nw-people { position: absolute; left: 0; bottom: -2px; z-index: 1; width: 100%; height: clamp(160px, 24vh, 240px); }
.nw-hero-content { position: relative; z-index: 2; text-align: center; max-width: 980px; }
.nw-dates { color: var(--yellow); letter-spacing: .2em; }
.nw-title { font-family: var(--font-display); font-weight: 900; font-size: clamp(2.3rem, 6.6vw, 5.2rem); line-height: 1.02; letter-spacing: -.035em;
  margin: 0 0 .35em; text-shadow: 0 6px 40px rgba(0, 0, 0, .45); animation: rise 1s cubic-bezier(.2, .7, .2, 1) both; text-wrap: balance; }
.nw-lead { font-size: clamp(1.08rem, 2vw, 1.32rem); max-width: 720px; margin: 0 auto 1.4em; opacity: .94; animation: rise 1s .15s cubic-bezier(.2, .7, .2, 1) both; text-wrap: pretty; }
.nw-days { display: inline-flex; align-items: baseline; gap: .5em; flex-wrap: wrap; justify-content: center; margin: 0 0 1.6em; padding: 10px 22px;
  border: 1px solid rgba(255, 213, 0, .35); border-radius: 999px; background: rgba(4, 11, 29, .45); backdrop-filter: blur(6px); }
.nw-days b { font-family: var(--font-display); font-size: clamp(1.7rem, 3.6vw, 2.4rem); color: var(--yellow); font-variant-numeric: tabular-nums; line-height: 1; }
.nw-days span { font-size: .95rem; opacity: .85; }
.nw-cta { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin: 0; }
.nw-cta .btn-yellow { animation: pulse 2.6s ease-out infinite 1.5s; }

.nw-why { background: linear-gradient(180deg, #0e2b5c 0%, #061531 28%, #0b1d3a 100%); color: #fff; padding: clamp(70px, 10vw, 130px) 0; }
.nw-three { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(22px, 4vw, 48px); }
.nw-three h2 { font-family: var(--font-display); font-size: clamp(1.6rem, 3vw, 2.3rem); line-height: 1.08; letter-spacing: -.02em; margin: 0 0 .5em; }
.nw-three p { margin: 0; opacity: .82; font-size: 1.05rem; }
.nw-three li { border-top: 3px solid rgba(255, 255, 255, .18); padding-top: 22px; }
.nw-three li:last-child { border-top-color: var(--yellow); }
.nw-quote { margin: clamp(56px, 8vw, 96px) auto; max-width: 900px; text-align: center; font-family: var(--font-display); font-weight: 900;
  font-size: clamp(1.6rem, 3.6vw, 2.8rem); line-height: 1.15; letter-spacing: -.02em; color: #fff; }
.nw-quote::before { content: "“"; display: block; color: var(--yellow); font-size: 2.2em; line-height: .6; margin-bottom: .1em; }

.page-network .network-body { padding-top: clamp(56px, 8vw, 100px); }
.nw-final { position: relative; overflow: hidden; color: #fff; padding: clamp(80px, 12vw, 150px) 0; background:
  radial-gradient(ellipse 70% 60% at 50% 110%, rgba(255, 213, 0, .35), rgba(255, 213, 0, 0) 70%), linear-gradient(180deg, #0b1d3a, #040b1d); }
.nw-final-lights { position: absolute; inset: auto 0 0 0; height: 60%; opacity: .9; pointer-events: none; background-image:
  radial-gradient(3px 3px at 6% 80%, #ffe25a 50%, transparent 55%), radial-gradient(2px 2px at 14% 64%, #ffe25a 50%, transparent 55%),
  radial-gradient(3px 3px at 23% 86%, #ffe25a 50%, transparent 55%), radial-gradient(2px 2px at 31% 70%, #ffe25a 50%, transparent 55%),
  radial-gradient(3px 3px at 40% 90%, #ffe25a 50%, transparent 55%), radial-gradient(2px 2px at 49% 76%, #ffe25a 50%, transparent 55%),
  radial-gradient(3px 3px at 58% 88%, #ffe25a 50%, transparent 55%), radial-gradient(2px 2px at 67% 68%, #ffe25a 50%, transparent 55%),
  radial-gradient(3px 3px at 76% 84%, #ffe25a 50%, transparent 55%), radial-gradient(2px 2px at 85% 72%, #ffe25a 50%, transparent 55%),
  radial-gradient(3px 3px at 94% 88%, #ffe25a 50%, transparent 55%), radial-gradient(2px 2px at 98% 62%, #ffe25a 50%, transparent 55%);
  filter: drop-shadow(0 0 6px rgba(255, 213, 0, .9)); animation: nw-breathe 3.5s ease-in-out infinite alternate; }
.nw-final .wrap { position: relative; }
.nw-final-lead { font-size: 1.15rem; max-width: 640px; margin: 0 auto 1.6em; opacity: .9; }
.nw-final .btn { margin: 6px; }
@media (max-width: 760px) {
  .nw-three, .nw-timeline { grid-template-columns: 1fr; }
  .nw-three { grid-template-columns: 1fr; gap: 28px; }
}
@media (prefers-reduced-motion: reduce) { .nw-stars, .nw-glow, .nw-final-lights { animation: none; } }
@media (max-width: 600px) {
  .nw-dates { letter-spacing: .1em; font-size: .7rem; }
  .nw-days { border-radius: 16px; padding: 8px 16px; gap: .2em .5em; }
  .nw-days b { font-size: 1.6rem; }
  .nw-days span { font-size: .85rem; }
}

/* Info-Termin und Über uns (Netzwerk-Seite) */
.nw-info-hint { margin: 18px 0 0; font-size: .95rem; }
.nw-info-hint a { display: inline-flex; align-items: center; gap: 8px; color: #fff; text-decoration: none; padding: 6px 14px; border-radius: 999px; background: rgba(255, 213, 0, .14); border: 1px solid rgba(255, 213, 0, .45); }
.nw-info-hint a:hover { color: var(--yellow); background: rgba(255, 213, 0, .22); }
.nw-info-hint .i { width: 18px; height: 18px; color: var(--yellow); }
.nw-info { background: var(--yellow); color: var(--navy); padding: clamp(30px, 5vw, 48px) 0; }
.nw-info-inner { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 18px clamp(20px, 4vw, 40px); }
.nw-info-date { display: flex; flex-direction: column; align-items: center; justify-content: center; min-width: 104px; padding: 10px 12px 12px; border-radius: 16px; background: #fff; box-shadow: 0 10px 30px -12px rgba(11, 29, 58, .45); line-height: 1.05; }
.nw-info-date small { text-transform: uppercase; letter-spacing: .12em; font-weight: 800; font-size: .78rem; color: var(--blue); }
.nw-info-date b { font-family: var(--font-display); font-size: 3rem; font-weight: 900; line-height: 1; }
.nw-info-date span { font-weight: 800; font-size: .92rem; margin-top: 4px; }
.nw-info-text h2 { margin: 0 0 .3em; }
.nw-info-text p:last-child { margin: 0; max-width: 62ch; }
.nw-info .eyebrow { margin-bottom: .3em; color: var(--blue); }
.info-pick { margin-top: 6px; padding-top: 8px; border-top: 1px dashed var(--line); }
@media (max-width: 760px) {
  .nw-info-inner { grid-template-columns: auto 1fr; }
  .nw-info-btn { grid-column: 1 / -1; justify-self: start; }
}
@media (max-width: 420px) { .nw-info-inner { grid-template-columns: 1fr; } .nw-info-date { justify-self: start; } }
.nav-beta-link { color: #fff; text-decoration: none; font-weight: 700; font-size: .92rem; opacity: .85; }
.nav-beta-link:hover { opacity: 1; color: var(--yellow); }
@media (max-width: 760px) { .nav-beta-link { display: none; } }
.nw-about { background: #fff; }
.nw-about-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 64px); align-items: center; }
.nw-about-text p { font-size: 1.05rem; max-width: 62ch; }
.nw-about-card { text-align: center; padding: clamp(22px, 3vw, 32px); border-top: 6px solid var(--blue); position: relative; }
.nw-about-card::before { content: ""; position: absolute; left: 50%; right: 0; top: -6px; height: 6px; background: var(--yellow); border-top-right-radius: var(--radius); }
.nw-about-label { margin: 0 0 12px; text-transform: uppercase; letter-spacing: .12em; font-size: .75rem; font-weight: 800; color: var(--muted); }
.nw-about-logo { display: flex; align-items: center; justify-content: center; min-height: 120px; margin: 0 0 14px; text-decoration: none; }
.nw-about-logo img { max-width: 100%; max-height: 140px; object-fit: contain; }
.nw-about-name { font-family: var(--font-display); font-weight: 900; font-size: clamp(1.4rem, 2.6vw, 1.9rem); line-height: 1.1; color: var(--navy); }
@media (max-width: 760px) { .nw-about-grid { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- Admin-Leiste und Bearbeitungsmodus */
.admin-dock { position: fixed; z-index: 2000; left: 12px; bottom: 12px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px;
  max-width: calc(100% - 24px); padding: 8px 12px; border-radius: 14px; background: rgba(11, 29, 58, .96); color: #fff; font-size: .82rem;
  box-shadow: 0 10px 30px -8px rgba(0, 0, 0, .5); border: 1px solid rgba(255, 213, 0, .5); }
.admin-dock a { color: #fff; text-decoration: none; }
.ad-label { font-weight: 900; color: var(--yellow); text-transform: uppercase; letter-spacing: .1em; font-size: .72rem; }
.ad-seg { display: inline-flex; border: 1px solid rgba(255, 255, 255, .35); border-radius: 999px; overflow: hidden; }
.ad-seg a { padding: 4px 10px; font-weight: 700; opacity: .75; }
.ad-seg a.is-on { background: var(--yellow); color: var(--navy); opacity: 1; }
.ad-edit { padding: 4px 10px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .35); font-weight: 700; }
.ad-edit.is-on { background: #fff; color: var(--navy) !important; }
.ad-note { opacity: .7; }
.ad-admin { opacity: .85; text-decoration: underline !important; }
@media (max-width: 600px) { .ad-note { display: none; } .admin-dock { font-size: .76rem; } }

.tx-edit { -webkit-box-decoration-break: clone; box-decoration-break: clone; outline: 1px dashed rgba(255, 170, 0, .55); outline-offset: 2px; border-radius: 3px; cursor: pointer; transition: background .15s, outline-color .15s; }
.tx-edit::after { content: "✎"; display: inline-flex; align-items: center; justify-content: center; width: 18px; height: 18px; margin-left: 4px;
  font-size: 11px; line-height: 1; vertical-align: top; border-radius: 50%; background: var(--yellow); color: var(--navy);
  font-family: system-ui, sans-serif; font-weight: 700; font-style: normal; text-transform: none; text-shadow: none; letter-spacing: 0; box-shadow: 0 1px 4px rgba(0, 0, 0, .35); }
.tx-edit:hover { outline: 2px solid #ffaa00; background: rgba(255, 213, 0, .14); }
div.tx-edit { display: block; padding: 4px; }
div.tx-edit::after { content: "✎ im Seiten-Editor bearbeiten ↗"; display: inline-flex; width: auto; height: auto; padding: 3px 10px; border-radius: 999px; font-size: 12px; vertical-align: baseline; margin: 6px 0 0; }
.tx-link::after { content: "✎ ↗"; width: auto; padding: 0 6px; border-radius: 999px; }

.tx-modal { position: fixed; inset: 0; z-index: 3000; display: flex; align-items: center; justify-content: center; padding: 16px; }
.tx-modal[hidden] { display: none; }
.tx-backdrop { position: absolute; inset: 0; background: rgba(4, 11, 29, .6); backdrop-filter: blur(3px); }
.tx-dialog { position: relative; width: min(680px, 100%); max-height: calc(100vh - 32px); overflow: auto; background: #fff; color: var(--ink);
  border-radius: 16px; padding: 20px 22px; box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .6); font-size: 15px; line-height: 1.5; text-align: left; }
.tx-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.tx-head h2 { margin: 0; font-size: 1.25rem; }
.tx-x { border: 0; background: none; font-size: 1.8rem; line-height: 1; cursor: pointer; color: var(--muted); }
.tx-key { margin: 2px 0 12px; font-size: .78rem; color: var(--muted); font-family: ui-monospace, monospace; }
.tx-field { display: block; margin: 0 0 14px; }
.tx-field > span { display: block; font-weight: 800; font-size: .85rem; margin-bottom: 4px; }
.tx-field textarea { width: 100%; font: inherit; padding: 10px 12px; border: 1.5px solid var(--line); border-radius: 10px; resize: vertical; }
.tx-field textarea:focus { outline: 0; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(0, 87, 183, .18); }
.tx-def { display: block; margin-top: 4px; color: var(--muted); font-size: .78rem; }
.tx-ph { font-size: .82rem; background: var(--blue-50); padding: 8px 10px; border-radius: 8px; }
.tx-ph code { background: #fff; padding: 1px 5px; border-radius: 4px; }
.tx-msg { color: var(--err); font-weight: 700; }
.tx-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 6px; }
.tx-reset { margin-left: auto; border: 0; background: none; color: var(--muted); text-decoration: underline; cursor: pointer; font: inherit; font-size: .85rem; }
body.tx-open { overflow: hidden; }
.tx-field > label { display: block; font-weight: 800; font-size: .85rem; margin-bottom: 4px; }
.tx-tr { margin-top: 6px; border: 1.5px solid var(--blue); background: var(--blue-50); color: var(--blue); border-radius: 999px; padding: 4px 12px;
  font: inherit; font-size: .8rem; font-weight: 700; cursor: pointer; }
.tx-tr:hover { background: var(--blue); color: #fff; }
.tx-tr:disabled { opacity: .6; cursor: wait; }
.tx-msg.is-ok { color: var(--ok); }
.tx-flash { animation: tx-flash 1.2s ease; }
@keyframes tx-flash { 0% { background: #fff3b0; } 100% { background: #fff; } }
.wysiwyg-tr { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin: 4px 0 14px; padding: 10px 12px; border-radius: 10px; background: var(--blue-50); font-size: .85rem; }
.wysiwyg-tr .tx-tr { margin: 0; }
.tr-msg.is-ok { color: var(--ok); font-weight: 700; }
.tr-msg.is-warn { color: var(--err); font-weight: 700; }

/* ---------------------------------------------------------------- Terminabfrage (Vorschaltseite) */
.day-pick { border: 0; padding: 0; margin: 14px 0 8px; }
.day-pick legend { font-weight: 800; font-size: 1rem; padding: 0; margin-bottom: 2px; }
.day-intro { margin: 0 0 10px; font-size: .88rem; color: var(--muted); }
.day-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 10px; }
.day-card { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 14px 14px 12px; border: 2px solid var(--line); border-radius: 14px;
  background: #fff; cursor: pointer; transition: border-color .15s, box-shadow .15s, transform .15s; }
.day-card:hover { border-color: #9cc0ea; transform: translateY(-1px); }
.day-card input { position: absolute; opacity: 0; pointer-events: none; }
.day-card:focus-within { box-shadow: 0 0 0 3px rgba(0, 87, 183, .25); }
.day-head b { display: block; font-size: 1.05rem; line-height: 1.2; color: var(--navy); }
.day-head small { display: block; color: var(--blue); font-weight: 700; font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; margin-top: 2px; }
.day-card ul { margin: 2px 0 0; padding: 0; list-style: none; font-size: .86rem; line-height: 1.4; }
.day-card li { position: relative; padding-left: 18px; margin: 5px 0; }
.day-card li::before { content: ""; position: absolute; left: 2px; top: .45em; width: 8px; height: 8px; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 0 2px rgba(255, 213, 0, .3); }
.day-choose { margin-top: auto; align-self: flex-start; padding: 5px 12px; border-radius: 999px; border: 1.5px solid var(--blue); color: var(--blue); font-weight: 800; font-size: .8rem; }
.day-card:has(input:checked) { border-color: var(--blue); background: var(--blue-50); box-shadow: 0 8px 20px -12px rgba(0, 87, 183, .6); }
.day-card:has(input:checked) .day-choose { background: var(--blue); color: #fff; }
.day-card:has(input:checked) .day-choose::before { content: "✓ "; }
.day-both { margin: 10px 0 0; }
/* Auswertung im Admin */
.day-result { display: grid; gap: 6px; }
.day-row { display: grid; grid-template-columns: 140px 1fr 50px 50px; align-items: center; gap: 10px; font-size: .9rem; }
.day-bar { height: 12px; border-radius: 999px; background: var(--line); overflow: hidden; }
.day-bar i { display: block; height: 100%; background: var(--blue); border-radius: inherit; }
.day-row b { text-align: right; }

/* Spanne „Fünf Jahre“ (ersetzt die Zeitleiste mit drei Daten) */
.nw-span { max-width: 980px; margin: 0 auto; }
.nw-span-mid { text-align: center; margin: 0 0 18px; }
.nw-span-mid b { font-family: var(--font-display); font-size: clamp(1.8rem, 4vw, 2.8rem); color: var(--yellow); letter-spacing: -.02em; }
.nw-span-mid span { display: block; margin-top: 2px; font-size: 1rem; opacity: .75; font-variant-numeric: tabular-nums; }
.nw-span-line { position: relative; height: 6px; margin: 0 9px; border-radius: 999px; background: rgba(255, 255, 255, .14); }
.nw-span-line::before, .nw-span-line::after { content: ""; position: absolute; top: 50%; width: 18px; height: 18px; margin-top: -9px; border-radius: 50%; }
.nw-span-line::before { left: -9px; background: #0b1d3a; border: 2px solid rgba(255, 255, 255, .7); }
.nw-span-line::after { right: -9px; background: var(--yellow); box-shadow: 0 0 0 6px rgba(255, 213, 0, .2), 0 0 26px rgba(255, 213, 0, .85); }
.nw-span-fill { position: absolute; inset: 0 auto 0 0; width: var(--p); border-radius: inherit;
  background: linear-gradient(90deg, rgba(255, 213, 0, .25), var(--yellow)); box-shadow: 0 0 14px rgba(255, 213, 0, .45); }
.nw-span-now { position: absolute; left: var(--p); top: 16px; transform: translateX(-50%); font-size: .72rem; font-weight: 800; text-transform: uppercase;
  letter-spacing: .12em; color: var(--yellow); white-space: nowrap; }
.nw-span-now::before { content: ""; position: absolute; left: 50%; top: -14px; width: 2px; height: 10px; margin-left: -1px; background: var(--yellow); }
.nw-span-ends { display: flex; justify-content: space-between; gap: 24px; margin-top: 40px; }
.nw-span-start, .nw-span-end { max-width: 46%; }
.nw-span-end { text-align: right; }
.nw-span-ends b { display: block; font-size: 1.3rem; font-variant-numeric: tabular-nums; }
.nw-span-end b { color: var(--yellow); }
.nw-span-ends span { display: block; opacity: .8; font-size: .95rem; margin-top: 2px; }
.nw-span-action { display: block; margin-top: 10px; font-weight: 700; color: #fff; opacity: 1 !important; font-size: 1rem !important; line-height: 1.45; }
a.nw-span-action { text-decoration: underline; text-decoration-color: var(--yellow); text-underline-offset: 3px; }
@media (max-width: 600px) {
  .nw-span-ends { flex-direction: column; gap: 18px; margin-top: 34px; }
  .nw-span-start, .nw-span-end { max-width: none; }
  .nw-span-end { text-align: left; }
}
