/* ============================================================================
   Feuerwehr-Demo 7 — Design-System
   Eigenständiges, frameworkfreies CSS für ein Feuerwehr-Webdesign.
   Vorlage für eine spätere Umsetzung mit Elementor Pro.
   Sektions-/Spaltenstruktur ist bewusst Elementor-nah aufgebaut.
   ========================================================================== */

/* ---------- Design-Tokens ------------------------------------------------ */
:root {
  /* Markenfarben Feuerwehr */
  --rot: #C8102E;
  --rot-600: #b00d27;
  --rot-700: #930a20;
  --rot-soft: #fdeaec;
  --flamme: #FFB400;

  /* Anthrazit / Neutral */
  --ink: #11161d;
  --ink-2: #1a212b;
  --ink-3: #232c38;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-500: #64748b;
  --slate-400: #94a3b8;
  --slate-300: #cbd5e1;
  --slate-200: #e2e8f0;
  --slate-100: #f1f5f9;
  --slate-50:  #f7f9fc;
  --white: #ffffff;

  /* Status */
  --gruen: #15803d;
  --gruen-soft: #dcfce7;
  --blau: #1d4ed8;
  --blau-soft: #dbeafe;

  /* Radius / Schatten */
  --r-sm: 8px;
  --r: 14px;
  --r-lg: 22px;
  --r-pill: 999px;
  --sh-sm: 0 1px 2px rgba(15,23,42,.06);
  --sh: 0 8px 28px rgba(15,23,42,.10);
  --sh-lg: 0 24px 60px rgba(15,23,42,.16);

  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-head: "Inter", var(--font);

  --container: 1200px;
  --gutter: clamp(16px, 4vw, 34px);
  --section: clamp(56px, 8vw, 104px);
}

/* ---------- Reset / Basis ------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}
body {
  margin: 0;
  font-family: var(--font);
  color: var(--slate-700);
  background: var(--white);
  line-height: 1.7;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--rot-600); text-decoration: none; transition: color .15s ease; }
a:hover { color: var(--rot-700); }
h1, h2, h3, h4 {
  color: var(--ink); font-family: var(--font-head);
  line-height: 1.12; margin: 0 0 .5em; font-weight: 800; letter-spacing: -.02em;
}
h1 { font-size: clamp(2.2rem, 5.5vw, 3.8rem); }
h2 { font-size: clamp(1.7rem, 3.8vw, 2.7rem); }
h3 { font-size: clamp(1.2rem, 2.2vw, 1.5rem); }
h4 { font-size: 1.05rem; }
p { margin: 0 0 1rem; }
ul { margin: 0; padding: 0; list-style: none; }

::selection { background: var(--rot); color: #fff; }
:focus-visible { outline: 3px solid var(--rot); outline-offset: 3px; border-radius: 6px; }

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 999;
  background: var(--rot); color: #fff; padding: 12px 18px; border-radius: 0 0 8px 0; font-weight: 700;
}
.skip-link:focus { left: 0; }

/* ---------- Layout-Helfer ------------------------------------------------ */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }
.section--tight { padding-block: clamp(40px, 6vw, 72px); }
.section--slate { background: var(--slate-50); }
.section--ink { background: var(--ink); color: var(--slate-300); }
.section--ink h2, .section--ink h3, .section--ink h4 { color: #fff; }
.center { text-align: center; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
  color: var(--rot-600); margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 26px; height: 3px; border-radius: 2px; background: var(--rot); }
.section--ink .eyebrow { color: var(--flamme); }
.section--ink .eyebrow::before { background: var(--flamme); }

.section-head { max-width: 720px; margin: 0 0 clamp(32px, 5vw, 56px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head .eyebrow { justify-content: inherit; }
.section-head.center .eyebrow { justify-content: center; }
.section-head p { font-size: 1.12rem; color: var(--slate-600); margin: 0; }
.section--ink .section-head p { color: var(--slate-400); }
.lead { font-size: 1.18rem; color: var(--slate-600); }

/* ---------- Buttons ------------------------------------------------------ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font: inherit; font-weight: 700; font-size: 1rem; line-height: 1;
  padding: 15px 26px; border-radius: var(--r-sm); border: 2px solid transparent;
  cursor: pointer; transition: transform .12s ease, box-shadow .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--rot); color: #fff; box-shadow: var(--sh-sm); }
.btn-primary:hover { background: var(--rot-600); color: #fff; box-shadow: var(--sh); }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--slate-300); }
.btn-outline:hover { border-color: var(--ink); color: var(--ink); }
.btn-light { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.35); backdrop-filter: blur(4px); }
.btn-light:hover { background: rgba(255,255,255,.22); color: #fff; }
.btn-white { background: #fff; color: var(--ink); }
.btn-white:hover { color: var(--rot-700); }
.btn-lg { padding: 17px 32px; font-size: 1.05rem; }
.btn-sm { padding: 10px 16px; font-size: .9rem; }

.btn-link { display: inline-flex; align-items: center; gap: 7px; font-weight: 700; color: var(--rot-600); }
.btn-link svg { width: 16px; height: 16px; transition: transform .15s ease; }
.btn-link:hover svg { transform: translateX(3px); }

/* ---------- Notruf-Topbar ------------------------------------------------ */
.topbar {
  background: var(--ink); color: var(--slate-300);
  font-size: .85rem; border-bottom: 1px solid rgba(255,255,255,.07);
}
.topbar .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 44px; }
.topbar a { color: var(--slate-300); }
.topbar a:hover { color: #fff; }
.notruf { display: inline-flex; align-items: center; gap: 9px; font-weight: 700; color: #fff; }
.notruf strong { color: var(--flamme); font-size: 1.05rem; letter-spacing: .02em; }
.notruf .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--rot); box-shadow: 0 0 0 0 rgba(200,16,46,.6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(200,16,46,0); } 100% { box-shadow: 0 0 0 0 rgba(200,16,46,0); } }
.topbar-links { display: flex; align-items: center; gap: 20px; }
.topbar-links li { display: inline-flex; }
.topbar-links a { display: inline-flex; align-items: center; gap: 6px; }
.topbar-links svg { width: 15px; height: 15px; }
@media (max-width: 680px) { .topbar-links { display: none; } .topbar .container { justify-content: center; } }

/* ---------- Header / Navigation ----------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.92); backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--slate-200);
  transition: box-shadow .2s ease;
}
.site-header.scrolled { box-shadow: var(--sh); }
.nav { display: flex; align-items: center; gap: 24px; min-height: 78px; }
.brand { display: flex; align-items: center; gap: 13px; color: var(--ink); font-weight: 800; }
.brand:hover { color: var(--ink); }
.brand img { width: 48px; height: 48px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text b { font-size: 1.06rem; letter-spacing: -.01em; }
.brand-text span { font-size: .74rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--rot-600); }

.nav-links { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav-links > li { position: relative; }
.nav-links > li > a {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 10px 14px; border-radius: var(--r-sm);
  color: var(--slate-700); font-weight: 600; font-size: .98rem;
}
.nav-links > li > a:hover, .nav-links > li > a[aria-current="page"] { color: var(--ink); background: var(--slate-100); }
.nav-links svg.caret { width: 14px; height: 14px; transition: transform .2s ease; }
.has-sub:hover svg.caret { transform: rotate(180deg); }

/* Dropdown */
.submenu {
  position: absolute; top: calc(100% + 6px); left: 0; min-width: 232px;
  background: #fff; border: 1px solid var(--slate-200); border-radius: var(--r);
  box-shadow: var(--sh-lg); padding: 8px;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
}
.has-sub:hover .submenu, .has-sub:focus-within .submenu { opacity: 1; visibility: visible; transform: translateY(0); }
.submenu a { display: flex; align-items: center; gap: 11px; padding: 11px 13px; border-radius: var(--r-sm); color: var(--slate-700); font-weight: 600; font-size: .95rem; }
.submenu a:hover { background: var(--rot-soft); color: var(--rot-700); }
.submenu svg { width: 18px; height: 18px; color: var(--rot); flex: none; }

.nav-actions { display: flex; align-items: center; gap: 12px; }
.nav-toggle {
  display: none; width: 46px; height: 46px; border: 1px solid var(--slate-200);
  background: #fff; border-radius: var(--r-sm); cursor: pointer; padding: 0;
  align-items: center; justify-content: center; color: var(--ink);
}
.nav-toggle svg { width: 24px; height: 24px; }
.nav-toggle .x { display: none; }
.nav-toggle[aria-expanded="true"] .menu { display: none; }
.nav-toggle[aria-expanded="true"] .x { display: block; }

@media (max-width: 1000px) {
  .nav-actions .btn { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav-links {
    position: fixed; inset: 0 0 0 auto; width: min(360px, 86vw);
    flex-direction: column; align-items: stretch; gap: 2px;
    background: #fff; padding: 90px 18px 28px; margin: 0;
    box-shadow: var(--sh-lg); transform: translateX(100%);
    transition: transform .26s ease; overflow-y: auto;
  }
  .nav-links.open { transform: translateX(0); }
  .nav-links > li > a { padding: 14px 14px; font-size: 1.05rem; border-radius: var(--r-sm); }
  .submenu {
    position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border: none; padding: 2px 0 8px 14px; min-width: 0;
    max-height: 0; overflow: hidden; transition: max-height .25s ease;
  }
  .has-sub.expanded .submenu { max-height: 420px; }
  .has-sub > a .caret { margin-left: auto; }
  .nav-mobile-cta { display: block !important; margin-top: 16px; }
  .nav-overlay { position: fixed; inset: 0; background: rgba(17,22,29,.5); opacity: 0; visibility: hidden; transition: opacity .25s ease; z-index: 99; }
  .nav-overlay.show { opacity: 1; visibility: visible; }
}
.nav-mobile-cta { display: none; }

/* ---------- Hero --------------------------------------------------------- */
.hero { position: relative; color: #fff; overflow: hidden; isolation: isolate; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background: url("../img/hero.svg") center/cover no-repeat, var(--ink);
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(11,16,23,.92) 0%, rgba(11,16,23,.7) 45%, rgba(11,16,23,.35) 100%);
}
.hero-inner { padding-block: clamp(80px, 13vw, 168px); max-width: 760px; }
.hero .badge {
  display: inline-flex; align-items: center; gap: 9px; margin-bottom: 22px;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.22);
  padding: 8px 16px; border-radius: var(--r-pill); font-size: .85rem; font-weight: 600; color: #fff;
  backdrop-filter: blur(4px);
}
.hero .badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--flamme); }
.hero h1 { color: #fff; margin-bottom: 20px; }
.hero h1 .accent { color: var(--flamme); }
.hero p { font-size: clamp(1.08rem, 2vw, 1.32rem); color: rgba(255,255,255,.9); max-width: 600px; margin-bottom: 32px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-scroll {
  position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%);
  color: rgba(255,255,255,.7); display: inline-flex; flex-direction: column; align-items: center; gap: 6px;
  font-size: .76rem; letter-spacing: .12em; text-transform: uppercase;
}
.hero-scroll svg { width: 22px; height: 22px; animation: bob 1.8s ease-in-out infinite; }
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(6px); } }

/* ---------- KPI / Statistik-Streifen ------------------------------------- */
.stats {
  position: relative; z-index: 2; margin-top: -52px;
  background: #fff; border: 1px solid var(--slate-200); border-radius: var(--r-lg);
  box-shadow: var(--sh-lg); padding: clamp(20px, 3vw, 30px);
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px;
}
.stat { text-align: center; padding: 14px 10px; position: relative; }
.stat + .stat::before { content: ""; position: absolute; left: 0; top: 18%; height: 64%; width: 1px; background: var(--slate-200); }
.stat b { display: block; font-size: clamp(1.9rem, 4vw, 2.7rem); font-weight: 800; color: var(--rot); letter-spacing: -.02em; line-height: 1; }
.stat span { display: block; margin-top: 8px; font-size: .9rem; font-weight: 600; color: var(--slate-500); }
@media (max-width: 720px) {
  .stats { grid-template-columns: repeat(2, 1fr); margin-top: -40px; }
  .stat:nth-child(3)::before, .stat:nth-child(odd)::before { display: none; }
}

/* ---------- Karten / Bildflächen ----------------------------------------- */
.grid { display: grid; gap: clamp(20px, 3vw, 30px); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: #fff; border: 1px solid var(--slate-200); border-radius: var(--r-lg);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform .18s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--sh-lg); border-color: var(--slate-300); }

/* Bildfläche (Platzhalter für echte Fotos) */
.media {
  position: relative; aspect-ratio: 16 / 10; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--ink-2), var(--ink-3));
  color: rgba(255,255,255,.5); overflow: hidden;
}
.media svg.ph-icon { width: 46px; height: 46px; opacity: .55; }
.media::after {
  content: "Bildbereich"; position: absolute; bottom: 10px; right: 12px;
  font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.4);
}
.media.media--rot { background: linear-gradient(135deg, #8f1019, var(--rot)); }
.media.media--firehouse { background: linear-gradient(135deg, #243240, #34506b); }
.media.media--blue { background: linear-gradient(135deg, #1e3a5f, #2f6fb0); }
.media.media--amber { background: linear-gradient(135deg, #7a4d10, #c98a1e); }
.media.media--green { background: linear-gradient(135deg, #1d4a2e, #2f7d4a); }
.media .media-tag {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  background: var(--rot); color: #fff; font-size: .72rem; font-weight: 700;
  letter-spacing: .04em; text-transform: uppercase; padding: 5px 11px; border-radius: var(--r-pill);
}
.media .media-tag.tag-blue { background: var(--blau); }
.media .media-tag.tag-green { background: var(--gruen); }
.media .media-tag.tag-amber { background: #b4790f; }

.card-body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.card-body h3 { margin-bottom: 10px; }
.card-body p { color: var(--slate-600); font-size: .98rem; }
.card-meta { display: flex; align-items: center; gap: 14px; font-size: .85rem; color: var(--slate-500); margin-bottom: 12px; flex-wrap: wrap; }
.card-meta .m { display: inline-flex; align-items: center; gap: 6px; }
.card-meta svg { width: 15px; height: 15px; color: var(--rot); }
.card-foot { margin-top: auto; padding-top: 16px; }

/* ---------- Drei-Säulen-Block (Aktuelles / Mitmachen / Chronik) ---------- */
.feature {
  position: relative; border-radius: var(--r-lg); overflow: hidden; min-height: 360px;
  display: flex; align-items: flex-end; color: #fff; isolation: isolate;
  transition: transform .2s ease, box-shadow .2s ease;
}
.feature:hover { transform: translateY(-5px); box-shadow: var(--sh-lg); color: #fff; }
.feature::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(11,16,23,.05) 25%, rgba(11,16,23,.9) 100%); }
.feature .feature-bg { position: absolute; inset: 0; z-index: -2; }
.feature-content { padding: 28px 26px; }
.feature-content .k { display: inline-block; font-size: .74rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--flamme); margin-bottom: 8px; }
.feature-content h3 { color: #fff; margin-bottom: 8px; }
.feature-content p { color: rgba(255,255,255,.85); font-size: .96rem; margin-bottom: 14px; }
.feature .btn-link { color: #fff; }
.feature .btn-link:hover { color: var(--flamme); }

/* ---------- Einsätze-Tabelle/Liste -------------------------------------- */
.ops { display: flex; flex-direction: column; gap: 12px; }
.op {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 18px;
  background: #fff; border: 1px solid var(--slate-200); border-radius: var(--r);
  padding: 16px 20px; transition: border-color .15s ease, box-shadow .2s ease;
}
.op:hover { border-color: var(--slate-300); box-shadow: var(--sh-sm); }
.op-icon { width: 48px; height: 48px; border-radius: var(--r-sm); display: grid; place-items: center; background: var(--rot-soft); color: var(--rot); flex: none; }
.op-icon svg { width: 24px; height: 24px; }
.op-icon.blue { background: var(--blau-soft); color: var(--blau); }
.op-icon.green { background: var(--gruen-soft); color: var(--gruen); }
.op-main b { display: block; color: var(--ink); font-size: 1.02rem; }
.op-main span { font-size: .9rem; color: var(--slate-500); }
.op-date { text-align: right; font-size: .88rem; color: var(--slate-500); white-space: nowrap; }
.op-date b { display: block; color: var(--ink); font-size: 1rem; }
@media (max-width: 560px) { .op { grid-template-columns: auto 1fr; } .op-date { grid-column: 2; text-align: left; } }

/* ---------- Fahrzeuge ---------------------------------------------------- */
.vehicle .media { aspect-ratio: 16 / 11; }
.vehicle .media .code {
  position: absolute; top: 12px; left: 12px; background: rgba(0,0,0,.45); backdrop-filter: blur(3px);
  color: #fff; font-weight: 800; font-size: .82rem; letter-spacing: .06em; padding: 6px 12px; border-radius: var(--r-sm);
}
.vehicle .specs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.vehicle .specs li { font-size: .82rem; font-weight: 600; color: var(--slate-600); background: var(--slate-100); padding: 5px 11px; border-radius: var(--r-pill); }

/* ---------- Abteilungen / Split-Bild ------------------------------------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.split.reverse .split-media { order: 2; }
@media (max-width: 880px) { .split { grid-template-columns: 1fr; } .split.reverse .split-media { order: 0; } }
.split-media { border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 3; box-shadow: var(--sh); }
.split-media .media { aspect-ratio: 4/3; height: 100%; }
.dept-list { display: flex; flex-direction: column; gap: 14px; margin-top: 22px; }
.dept-list li { display: flex; gap: 14px; }
.dept-list .ico { width: 42px; height: 42px; flex: none; border-radius: var(--r-sm); display: grid; place-items: center; background: var(--rot-soft); color: var(--rot); }
.dept-list .ico svg { width: 22px; height: 22px; }
.dept-list b { color: var(--ink); display: block; }
.dept-list span { font-size: .94rem; color: var(--slate-600); }

/* ---------- CTA-Band (Mitmachen) ----------------------------------------- */
.cta-band { position: relative; overflow: hidden; border-radius: var(--r-lg); background: var(--rot); color: #fff; isolation: isolate; }
.cta-band::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .25;
  background: radial-gradient(circle at 80% 20%, var(--flamme), transparent 45%), radial-gradient(circle at 10% 90%, #ff5a3c, transparent 50%);
}
.cta-band-inner { padding: clamp(40px, 6vw, 72px); display: grid; grid-template-columns: 1.4fr 1fr; gap: 36px; align-items: center; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.92); font-size: 1.1rem; margin: 0; }
.cta-band-actions { display: flex; flex-direction: column; gap: 12px; }
@media (max-width: 760px) { .cta-band-inner { grid-template-columns: 1fr; } }

/* ---------- Termine ------------------------------------------------------ */
.events { display: flex; flex-direction: column; gap: 14px; }
.event {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 22px;
  background: #fff; border: 1px solid var(--slate-200); border-radius: var(--r); padding: 18px 22px;
  transition: border-color .15s ease, box-shadow .2s ease, transform .15s ease;
}
.event:hover { border-color: var(--rot); box-shadow: var(--sh-sm); transform: translateX(4px); }
.event-date { text-align: center; background: var(--ink); color: #fff; border-radius: var(--r-sm); padding: 10px 14px; min-width: 72px; flex: none; }
.event-date b { display: block; font-size: 1.6rem; line-height: 1; }
.event-date span { font-size: .74rem; text-transform: uppercase; letter-spacing: .08em; color: var(--flamme); }
.event-main b { display: block; color: var(--ink); font-size: 1.06rem; }
.event-main span { font-size: .92rem; color: var(--slate-500); display: inline-flex; align-items: center; gap: 6px; }
.event-main svg { width: 15px; height: 15px; color: var(--rot); }
.event .btn-link { white-space: nowrap; }
@media (max-width: 600px) { .event { grid-template-columns: auto 1fr; } .event .btn-link { display: none; } }

/* ---------- Förderverein ------------------------------------------------- */
.support-card {
  background: linear-gradient(135deg, var(--ink-2), var(--ink)); color: #fff;
  border-radius: var(--r-lg); padding: clamp(30px, 5vw, 52px); position: relative; overflow: hidden;
}
.support-card::before { content: ""; position: absolute; top: -40px; right: -40px; width: 220px; height: 220px; border-radius: 50%; background: radial-gradient(circle, rgba(255,180,0,.22), transparent 70%); }
.support-card h2, .support-card h3 { color: #fff; }
.support-card p { color: var(--slate-300); }
.support-points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 26px 0; }
.support-points li { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); border-radius: var(--r); padding: 18px; }
.support-points b { color: #fff; display: block; margin-bottom: 4px; }
.support-points span { font-size: .9rem; color: var(--slate-400); }
@media (max-width: 700px) { .support-points { grid-template-columns: 1fr; } }

/* ---------- Kontakt ------------------------------------------------------ */
.contact { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(28px, 4vw, 52px); }
@media (max-width: 880px) { .contact { grid-template-columns: 1fr; } }
.contact-info { display: flex; flex-direction: column; gap: 18px; }
.contact-item { display: flex; gap: 15px; }
.contact-item .ico { width: 46px; height: 46px; flex: none; border-radius: var(--r-sm); background: var(--rot-soft); color: var(--rot); display: grid; place-items: center; }
.contact-item .ico svg { width: 22px; height: 22px; }
.contact-item b { color: var(--ink); display: block; }
.contact-item span, .contact-item a { font-size: .96rem; color: var(--slate-600); }
.contact-emergency {
  margin-top: 6px; background: var(--ink); color: #fff; border-radius: var(--r); padding: 18px 22px;
  display: flex; align-items: center; gap: 16px;
}
.contact-emergency .num { font-size: 2rem; font-weight: 800; color: var(--flamme); line-height: 1; }
.contact-emergency p { margin: 0; font-size: .9rem; color: var(--slate-300); }

.form { background: #fff; border: 1px solid var(--slate-200); border-radius: var(--r-lg); padding: clamp(24px, 3vw, 34px); box-shadow: var(--sh-sm); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 520px) { .form-row { grid-template-columns: 1fr; } }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: .88rem; font-weight: 600; color: var(--ink); margin-bottom: 7px; }
.field input, .field textarea, .field select {
  width: 100%; font: inherit; font-size: .98rem; color: var(--ink);
  padding: 13px 15px; border: 1.5px solid var(--slate-300); border-radius: var(--r-sm); background: var(--slate-50);
  transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--rot); background: #fff; box-shadow: 0 0 0 4px var(--rot-soft); }
.form .check { display: flex; gap: 10px; align-items: flex-start; font-size: .86rem; color: var(--slate-600); margin-bottom: 18px; }
.form .check input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--rot); flex: none; }

/* ---------- Footer ------------------------------------------------------- */
.site-footer { background: var(--ink); color: var(--slate-400); padding-top: clamp(52px, 7vw, 84px); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 48px; }
@media (max-width: 880px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer .brand { color: #fff; margin-bottom: 16px; }
.site-footer .brand:hover { color: #fff; }
.site-footer .brand-text b { color: #fff; }
.f-about { font-size: .95rem; color: var(--slate-400); max-width: 320px; }
.footer-col h4 { color: #fff; font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 16px; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a { color: var(--slate-400); font-size: .95rem; }
.footer-col a:hover { color: #fff; }
.footer-contact li { display: flex; gap: 10px; font-size: .95rem; margin-bottom: 10px; color: var(--slate-400); }
.footer-contact svg { width: 17px; height: 17px; color: var(--rot); flex: none; margin-top: 3px; }
.socials { display: flex; gap: 10px; margin-top: 18px; }
.socials a { width: 42px; height: 42px; border-radius: var(--r-sm); display: grid; place-items: center; background: rgba(255,255,255,.07); color: #fff; }
.socials a:hover { background: var(--rot); }
.socials svg { width: 20px; height: 20px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08); padding-block: 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: .86rem; color: var(--slate-500);
}
.footer-bottom a { color: var(--slate-400); }
.footer-bottom a:hover { color: #fff; }
.footer-legal { display: flex; gap: 18px; flex-wrap: wrap; }

/* ---------- Back to top -------------------------------------------------- */
.to-top {
  position: fixed; right: 22px; bottom: 22px; z-index: 90; width: 50px; height: 50px;
  border-radius: 50%; background: var(--rot); color: #fff; border: none; cursor: pointer;
  display: grid; place-items: center; box-shadow: var(--sh-lg);
  opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity .2s, transform .2s, visibility .2s, background .2s;
}
.to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { background: var(--rot-600); }
.to-top svg { width: 22px; height: 22px; }

/* ---------- Seiten-Header (Unterseiten) ---------------------------------- */
.page-hero { position: relative; color: #fff; background: var(--ink); overflow: hidden; isolation: isolate; }
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5;
  background: radial-gradient(circle at 85% 15%, rgba(255,180,0,.25), transparent 45%),
              radial-gradient(circle at 0% 100%, rgba(200,16,46,.45), transparent 55%);
}
.page-hero-inner { padding-block: clamp(48px, 8vw, 92px); }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: .86rem; color: rgba(255,255,255,.7); margin-bottom: 16px; }
.breadcrumb a { color: rgba(255,255,255,.7); }
.breadcrumb a:hover { color: #fff; }
.breadcrumb .sep { opacity: .5; }
.breadcrumb [aria-current="page"] { color: var(--flamme); font-weight: 600; }
.page-hero h1 { color: #fff; margin-bottom: 12px; }
.page-hero p { color: rgba(255,255,255,.85); font-size: 1.12rem; max-width: 640px; margin: 0; }

/* ---------- Hinweis-Box (Demo / Zugriffsschutz) -------------------------- */
.note {
  display: flex; gap: 14px; align-items: flex-start; padding: 16px 20px;
  background: var(--blau-soft); border: 1px solid #bfdbfe; border-radius: var(--r); color: #1e3a5f;
  font-size: .95rem; margin-bottom: 26px;
}
.note svg { width: 22px; height: 22px; flex: none; color: var(--blau); margin-top: 1px; }
.note.note--lock { background: #fff7ed; border-color: #fed7aa; color: #7c2d12; }
.note.note--lock svg { color: #c2410c; }
.note b { color: inherit; }

/* ---------- Prose (Rechtstexte: Datenschutz / Impressum) ----------------- */
.prose { max-width: 820px; }
.prose h2 { margin-top: 2.2em; font-size: clamp(1.4rem, 2.6vw, 1.8rem); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.6em; font-size: 1.15rem; }
.prose p, .prose li { color: var(--slate-600); }
.prose ul { padding-left: 1.2em; list-style: disc; margin: 0 0 1rem; }
.prose li { margin-bottom: .4em; }
.prose a { text-decoration: underline; }
.prose .toc {
  background: var(--slate-50); border: 1px solid var(--slate-200); border-radius: var(--r);
  padding: 20px 24px; margin-bottom: 36px; list-style: none;
}
.prose .toc h2 { margin: 0 0 12px; font-size: 1rem; text-transform: uppercase; letter-spacing: .08em; color: var(--slate-500); }
.prose .toc ul { list-style: none; padding: 0; columns: 2; gap: 24px; }
@media (max-width: 560px) { .prose .toc ul { columns: 1; } }
.prose .toc a { text-decoration: none; font-weight: 600; }

/* ---------- Info-Karten (Jugend / Kinder / Förderverein) ----------------- */
.icon-card { background: #fff; border: 1px solid var(--slate-200); border-radius: var(--r-lg); padding: 26px 24px; transition: transform .18s ease, box-shadow .2s ease; }
.icon-card:hover { transform: translateY(-4px); box-shadow: var(--sh-lg); }
.icon-card .ico { width: 52px; height: 52px; border-radius: var(--r); background: var(--rot-soft); color: var(--rot); display: grid; place-items: center; margin-bottom: 16px; }
.icon-card .ico svg { width: 26px; height: 26px; }
.icon-card.amber .ico { background: var(--amber-soft, #fef3c7); color: #b4790f; }
.icon-card.blue .ico { background: var(--blau-soft); color: var(--blau); }
.icon-card.green .ico { background: var(--gruen-soft); color: var(--gruen); }
.icon-card h3 { margin-bottom: 8px; }
.icon-card p { color: var(--slate-600); font-size: .96rem; margin: 0; }

/* ---------- Reveal-Animation --------------------------------------------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
