@import url('fonts.css');

/* =====================================================================
   Freiwillige Feuerwehr Lutterberg — Design System
   Stil: "Kombiniert" — helle Inhaltsflaechen, dunkle Akzent-Sektionen,
   Feuerrot als Signalfarbe, rot/weisse Frontmarkierung als Signatur.
   v1.1 — verfeinerte Tiefe, Bewegung & Mikro-Interaktionen (Inhalte 1:1).
   ===================================================================== */

/* ---------- Tokens ---------- */
:root {
  /* Feuerwehr-Farbwelt (RAL 3000 nah) */
  --feuerrot:      #C1121C;
  --feuerrot-tief: #8E0E14;
  --feuerrot-hell: #E4392C;   /* fuer Akzente auf Dunkel */
  --anthrazit:     #171412;
  --anthrazit-2:   #221D1A;   /* erhoehte dunkle Flaeche */
  --anthrazit-3:   #322B27;   /* Linien auf Dunkel */
  --signal-amber:  #F4B505;   /* Warn-/Notruf-Akzent, sparsam */
  --amber-tief:    #C68A00;

  --off-white:     #F6F3EE;
  --weiss:         #FFFFFF;
  --text:          #1B1714;
  --text-mut:      #5C544E;
  --stahl:         #8A837D;
  --linie:         #E5DFD6;   /* Rahmen auf Hell */
  --linie-stark:   #D9D1C5;

  --container: 1180px;
  --gap: clamp(1rem, 3.5vw, 2rem);

  /* Spacing-Skala (4/8-Rhythmus) */
  --space-1: .25rem;
  --space-2: .5rem;
  --space-3: .75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4rem;

  /* Radien */
  --radius: 14px;
  --radius-sm: 9px;
  --radius-lg: 20px;
  --radius-pill: 999px;

  /* Schatten — teils feuerrot getoent fuer Markentiefe */
  --shadow-sm: 0 1px 2px rgba(23,20,18,.06), 0 2px 8px rgba(23,20,18,.05);
  --shadow-md: 0 10px 26px rgba(23,20,18,.10), 0 3px 8px rgba(23,20,18,.06);
  --shadow-lg: 0 26px 60px rgba(23,20,18,.20);
  --shadow-red: 0 12px 26px -8px rgba(193,18,28,.42);
  --ring: 0 0 0 3px rgba(193,18,28,.16);

  --ff-display: 'Barlow Condensed', 'Arial Narrow', system-ui, sans-serif;
  --ff-body: 'Barlow', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  --ease: cubic-bezier(.22,.61,.36,1);
  --ease-out: cubic-bezier(.16,.84,.44,1);
  --spring: cubic-bezier(.34,1.56,.64,1);
  --header-h: 68px;
  --header-h-shrunk: 58px;

  accent-color: var(--feuerrot);
  color-scheme: light;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--ff-body);
  color: var(--text);
  background: var(--off-white);
  line-height: 1.6;
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.075rem);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
::selection { background: var(--feuerrot); color: #fff; }
:target { scroll-margin-top: calc(var(--header-h) + 1.2rem); }
:focus-visible {
  outline: 3px solid var(--signal-amber);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-family: var(--ff-display); font-weight: 700; line-height: 1.02; letter-spacing: .005em; text-transform: uppercase; text-wrap: balance; }
h1 { font-size: clamp(2.6rem, 1.6rem + 4.6vw, 5rem); letter-spacing: -.005em; }
h2 { font-size: clamp(2rem, 1.4rem + 2.6vw, 3.15rem); }
h3 { font-size: clamp(1.35rem, 1.1rem + 1vw, 1.7rem); }
h4 { font-size: 1.15rem; letter-spacing: .02em; }
p { text-wrap: pretty; }
strong { font-weight: 600; }

.eyebrow {
  font-family: var(--ff-display);
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: .22em;
  font-size: .82rem;
  color: var(--feuerrot);
  display: inline-flex;
  align-items: center;
  gap: .6rem;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 3px;
  background: var(--feuerrot);
  border-radius: 2px;
  display: inline-block;
}
.section--dark .eyebrow { color: var(--signal-amber); }
.section--dark .eyebrow::before { background: var(--signal-amber); }

.lead { font-size: clamp(1.1rem, 1rem + 0.6vw, 1.35rem); color: var(--text-mut); max-width: 60ch; line-height: 1.6; }
.section--dark .lead { color: rgba(255,255,255,.78); }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: clamp(1.1rem, 4vw, 2.4rem); }
.section { padding-block: clamp(3.4rem, 2.5rem + 4vw, 6rem); position: relative; }
.section--offwhite { background: var(--off-white); }
.section--white { background: var(--weiss); }
.section--dark { background: var(--anthrazit); color: #fff; }
.section--dark h1, .section--dark h2, .section--dark h3, .section--dark h4 { color: #fff; }
/* zart getoente Struktur auf hellen Flaechen fuer Tiefe (nur dekorativ) */
.section--offwhite { background-image: radial-gradient(120% 80% at 100% 0%, rgba(193,18,28,.035), transparent 60%); }
.section--dark { background-image:
  radial-gradient(100% 60% at 100% 0%, rgba(193,18,28,.14), transparent 60%),
  radial-gradient(80% 60% at 0% 100%, rgba(244,181,5,.05), transparent 60%); }
.section-head { max-width: 62ch; margin-bottom: clamp(2rem, 3.5vw, 3rem); }
.section-head .eyebrow { margin-bottom: 1rem; }
.section-head h2 + p { margin-top: .9rem; }
.center { text-align: center; margin-inline: auto; }
.center .eyebrow { justify-content: center; }

.grid { display: grid; gap: clamp(1rem, 2.4vw, 1.6rem); }
@media (min-width: 620px)  { .grid--2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 720px)  { .grid--3 { grid-template-columns: repeat(3, 1fr); }
                             .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .grid--4 { grid-template-columns: repeat(4, 1fr); } }

/* ---------- Frontmarkierung: rot/weisse Signatur ---------- */
.hazard {
  height: 12px;
  background: repeating-linear-gradient(135deg,
    var(--feuerrot) 0 22px, #fff 22px 44px);
}
.hazard--sm { height: 7px; }
.section--dark .hazard { background: repeating-linear-gradient(135deg,
    var(--feuerrot) 0 22px, var(--anthrazit-2) 22px 44px); }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--feuerrot);
  --btn-fg: #fff;
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  background: var(--btn-bg); color: var(--btn-fg);
  font-family: var(--ff-display); font-weight: 600; text-transform: uppercase; letter-spacing: .05em;
  font-size: 1.02rem;
  padding: .82rem 1.5rem; border: 2px solid var(--btn-bg); border-radius: var(--radius-sm);
  cursor: pointer;
  transition: transform .18s var(--ease), background .2s, border-color .2s, box-shadow .25s var(--ease);
  min-height: 48px;
  box-shadow: 0 1px 0 rgba(255,255,255,.12) inset, var(--shadow-sm);
}
.btn:hover { --btn-bg: var(--feuerrot-tief); border-color: var(--feuerrot-tief); transform: translateY(-2px); box-shadow: 0 1px 0 rgba(255,255,255,.14) inset, var(--shadow-red); }
.btn:active { transform: translateY(0) scale(.985); }
.btn .ico { width: 1.15em; height: 1.15em; transition: transform .2s var(--ease); }
.btn:hover .ico { transform: translateX(3px); }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--text); border-color: var(--linie-stark); box-shadow: none; }
.btn--ghost:hover { --btn-bg: var(--text); --btn-fg: #fff; border-color: var(--text); box-shadow: var(--shadow-md); }
.btn--amber { --btn-bg: var(--signal-amber); --btn-fg: var(--anthrazit); border-color: var(--signal-amber); }
.btn--amber:hover { --btn-bg: var(--amber-tief); border-color: var(--amber-tief); box-shadow: 0 12px 26px -8px rgba(244,181,5,.5); }
/* Dunkle Kontexte (auch Hero/Pagehero) fuer Ghost-Buttons */
.section--dark .btn--ghost, .hero .btn--ghost, .pagehero .btn--ghost { --btn-fg: #fff; border-color: rgba(255,255,255,.34); }
.section--dark .btn--ghost:hover, .hero .btn--ghost:hover, .pagehero .btn--ghost:hover { --btn-bg: #fff; --btn-fg: var(--anthrazit); border-color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: .8rem; }

.textlink {
  display: inline-flex; align-items: center; gap: .4rem;
  font-family: var(--ff-display); font-weight: 600; text-transform: uppercase; letter-spacing: .05em;
  color: var(--feuerrot); border-bottom: 2px solid transparent; padding-bottom: 2px;
  transition: border-color .2s, gap .2s, color .2s;
}
.textlink .ico { transition: transform .2s var(--ease); }
.textlink:hover { border-color: var(--feuerrot); gap: .65rem; }
.textlink:hover .ico { transform: translateX(2px); }
.section--dark .textlink { color: var(--signal-amber); }
.section--dark .textlink:hover { border-color: var(--signal-amber); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.9);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--linie);
  transition: box-shadow .3s var(--ease), background .3s;
}
.site-header.scrolled { background: rgba(255,255,255,.94); box-shadow: 0 10px 30px -14px rgba(23,20,18,.35); }
.site-header .hazard--sm { position: absolute; inset: auto 0 -7px 0; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: var(--header-h); transition: height .3s var(--ease); }
.site-header.scrolled .header-inner { height: var(--header-h-shrunk); }
.brand { display: flex; align-items: center; gap: .7rem; min-width: 0; }
.brand__mark { width: 40px; height: 44px; flex: none; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font-family: var(--ff-display); font-weight: 700; text-transform: uppercase; font-size: 1.12rem; letter-spacing: .02em; }
.brand__sub { font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; color: var(--feuerrot); font-weight: 600; }
.brand__logo { display: block; height: 44px; width: auto; transition: height .3s var(--ease); }
.site-header.scrolled .brand__logo { height: 38px; }
.header__wappen { height: 48px; width: auto; flex: none; transition: height .3s var(--ease); }
.site-header.scrolled .header__wappen { height: 42px; }

.nav-desktop { display: none; }
@media (min-width: 960px) {
  .nav-desktop { display: flex; align-items: center; gap: .15rem; }
  .nav-desktop a {
    position: relative;
    font-family: var(--ff-display); font-weight: 600; text-transform: uppercase; letter-spacing: .04em;
    font-size: 1.02rem; padding: .5rem .75rem; border-radius: 7px; color: var(--text-mut);
    transition: color .18s, background .18s;
  }
  .nav-desktop a::after {
    content: ""; position: absolute; left: .75rem; right: .75rem; bottom: .28rem; height: 2px;
    background: var(--feuerrot); border-radius: 2px;
    transform: scaleX(0); transform-origin: left; transition: transform .24s var(--ease);
  }
  .nav-desktop a:hover { color: var(--text); background: var(--off-white); }
  .nav-desktop a:hover::after { transform: scaleX(1); }
  .nav-desktop a[aria-current="page"] { color: var(--feuerrot); }
  .nav-desktop a[aria-current="page"]::after { transform: scaleX(1); }
}
.header-cta { display: none; }
@media (min-width: 960px) { .header-cta { display: inline-flex; } }

/* Hamburger */
.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; background: transparent; border: 1px solid var(--linie);
  border-radius: 9px; cursor: pointer; transition: border-color .2s, background .2s;
}
.nav-toggle:hover { border-color: var(--feuerrot); background: rgba(193,18,28,.05); }
@media (min-width: 960px) { .nav-toggle { display: none; } }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ""; display: block; width: 22px; height: 2.5px; background: var(--text); border-radius: 3px;
  transition: transform .25s var(--ease), opacity .2s;
}
.nav-toggle span::before { transform: translateY(-7px); }
.nav-toggle span::after  { transform: translateY(7px); position: relative; top: -2.5px; }
.nav-toggle span::before, .nav-toggle span::after { position: relative; }

/* Mobile drawer */
.nav-drawer {
  position: fixed; inset: 0; z-index: 200;
  background: var(--anthrazit); color: #fff;
  background-image: radial-gradient(120% 70% at 100% 0%, rgba(193,18,28,.22), transparent 55%);
  display: flex; flex-direction: column;
  padding: 1.1rem clamp(1.1rem,5vw,2rem) 2rem;
  transform: translateX(100%); transition: transform .32s var(--ease);
  visibility: hidden;
}
.nav-drawer.open { transform: translateX(0); visibility: visible; }
.nav-drawer__top { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); }
.nav-drawer__close { width: 48px; height: 48px; background: transparent; border: 1px solid var(--anthrazit-3); border-radius: 9px; color: #fff; font-size: 1.6rem; cursor: pointer; line-height: 1; transition: border-color .2s, background .2s; }
.nav-drawer__close:hover { border-color: var(--feuerrot-hell); background: rgba(228,57,44,.12); }
.nav-drawer nav { display: flex; flex-direction: column; margin-top: 1.4rem; border-top: 1px solid var(--anthrazit-3); }
.nav-drawer nav a {
  font-family: var(--ff-display); font-weight: 600; text-transform: uppercase; letter-spacing: .03em;
  font-size: 1.7rem; padding: .85rem .25rem; border-bottom: 1px solid var(--anthrazit-3);
  display: flex; align-items: center; justify-content: space-between;
  transition: color .2s, padding-left .22s var(--ease), background .2s;
}
.nav-drawer nav a:hover { color: var(--signal-amber); padding-left: .8rem; background: rgba(255,255,255,.03); }
.nav-drawer nav a[aria-current="page"] { color: var(--signal-amber); }
.nav-drawer nav a .num { font-size: .8rem; color: var(--stahl); letter-spacing: .1em; }
.nav-drawer__foot { margin-top: auto; padding-top: 1.5rem; }
.nav-drawer__foot .btn { width: 100%; }
body.nav-open { overflow: hidden; }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--anthrazit); color: #fff; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .32; transform: scale(1.04); }
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(120% 90% at 15% 10%, rgba(193,18,28,.46), transparent 55%),
    linear-gradient(180deg, rgba(23,20,18,.5) 0%, rgba(23,20,18,.82) 70%, var(--anthrazit) 100%);
}
/* zarte diagonale Struktur (Signatur-Anklang), rein dekorativ */
.hero__bg::before {
  content: ""; position: absolute; inset: 0; z-index: 1; opacity: .05;
  background: repeating-linear-gradient(135deg, #fff 0 1px, transparent 1px 12px);
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 70%);
          mask-image: linear-gradient(180deg, #000, transparent 70%);
}
.hero__inner { position: relative; z-index: 1; padding-block: clamp(3.5rem, 3rem + 8vw, 7.5rem); }
.hero__grid { display: grid; gap: 2rem; }
.hero h1 { text-wrap: balance; }
.hero h1 .accent { position: relative; color: var(--feuerrot-hell); display: block; }
.hero__lead { color: rgba(255,255,255,.82); font-size: clamp(1.1rem,1rem+.7vw,1.4rem); max-width: 54ch; margin-top: 1.2rem; }
.hero .btn-row { margin-top: 2rem; }
.hero__meta { display: flex; flex-wrap: wrap; gap: 1.6rem 2.4rem; margin-top: 2.6rem; padding-top: 1.8rem; border-top: 1px solid var(--anthrazit-3); }
.hero__meta div { position: relative; display: flex; flex-direction: column; padding-left: 1.1rem; }
.hero__meta div::before { content: ""; position: absolute; left: 0; top: .1rem; bottom: .1rem; width: 3px; border-radius: 2px; background: linear-gradient(var(--feuerrot-hell), var(--feuerrot-tief)); }
.hero__meta b { font-family: var(--ff-display); font-size: 1.9rem; color: #fff; line-height: 1; font-variant-numeric: tabular-nums; }
.hero__meta span { font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; color: var(--stahl); margin-top: .35rem; }

/* Hero-Intro (nur ohne Reduced-Motion) */
@media (prefers-reduced-motion: no-preference) {
  .hero__grid > div > * { animation: heroIn .7s var(--ease-out) both; }
  .hero__grid > div > *:nth-child(1) { animation-delay: .04s; }
  .hero__grid > div > *:nth-child(2) { animation-delay: .12s; }
  .hero__grid > div > *:nth-child(3) { animation-delay: .2s; }
  .hero__grid > div > *:nth-child(4) { animation-delay: .28s; }
  .hero__grid > div > *:nth-child(5) { animation-delay: .36s; }
  @keyframes heroIn { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
}

/* Kompakter Seiten-Hero (Unterseiten) */
.pagehero { position: relative; background: var(--anthrazit); color: #fff; overflow: hidden; }
.pagehero__bg { position:absolute; inset:0; }
.pagehero__bg img { width:100%; height:100%; object-fit:cover; opacity:.28; }
.pagehero__bg::after { content:""; position:absolute; inset:0;
  background: radial-gradient(120% 100% at 85% 0%, rgba(193,18,28,.4), transparent 55%),
              linear-gradient(180deg, rgba(23,20,18,.58), rgba(23,20,18,.9)); }
.pagehero__inner { position: relative; z-index:1; padding-block: clamp(2.6rem, 2rem + 5vw, 4.6rem); }
.pagehero h1 { margin-top: .8rem; text-wrap: balance; }
.pagehero p { color: rgba(255,255,255,.8); max-width: 62ch; margin-top: 1rem; font-size: clamp(1.05rem,1rem+.4vw,1.25rem); }

/* Breadcrumb */
.crumbs { font-family: var(--ff-display); text-transform: uppercase; letter-spacing: .1em; font-size: .82rem; color: var(--stahl); display:flex; gap:.5rem; align-items:center; }
.crumbs a { transition: color .2s; }
.crumbs a:hover { color:#fff; }
.crumbs span { color: var(--signal-amber); }

/* ---------- Cards ---------- */
.card {
  position: relative;
  background: var(--weiss); border: 1px solid var(--linie); border-radius: var(--radius);
  padding: clamp(1.3rem, 2.5vw, 1.7rem);
  box-shadow: var(--shadow-sm);
  transition: transform .24s var(--ease), box-shadow .24s, border-color .24s;
  height: 100%;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--linie-stark); }
.card h3 { margin-bottom: .5rem; }
.card p { color: var(--text-mut); }
.section--dark .card { background: var(--anthrazit-2); border-color: var(--anthrazit-3); }
.section--dark .card p { color: rgba(255,255,255,.72); }
.section--dark .card:hover { border-color: var(--feuerrot); box-shadow: 0 18px 40px -16px rgba(0,0,0,.6); }

.card--task { overflow: hidden; }
.card--task::before { content:""; position:absolute; left:0; top:0; bottom:0; width:5px; background: linear-gradient(var(--feuerrot-hell), var(--feuerrot-tief)); transition: width .24s var(--ease); }
.card--task:hover::before { width: 8px; }
.card__ico {
  width: 54px; height: 54px; border-radius: 13px; display: grid; place-items: center;
  background: linear-gradient(160deg, rgba(193,18,28,.15), rgba(193,18,28,.06));
  box-shadow: inset 0 0 0 1px rgba(193,18,28,.12);
  color: var(--feuerrot); margin-bottom: 1rem;
  transition: transform .24s var(--spring), box-shadow .24s, background .24s;
}
.card__ico svg { width: 28px; height: 28px; }
.card:hover .card__ico { transform: translateY(-2px) scale(1.05); box-shadow: inset 0 0 0 1px rgba(193,18,28,.22), var(--shadow-red); }
.section--dark .card__ico { background: linear-gradient(160deg, rgba(228,57,44,.22), rgba(228,57,44,.08)); box-shadow: inset 0 0 0 1px rgba(228,57,44,.18); color: var(--feuerrot-hell); }
.card__emoji { font-size: 2.1rem; line-height: 1; margin-bottom: .8rem; display:block; transition: transform .24s var(--spring); }
.card:hover .card__emoji { transform: scale(1.12) rotate(-4deg); }

/* Value card (Warum) */
.value { display: grid; grid-template-columns: auto 1fr; gap: 1rem; align-items: start; }
.value .card__ico { margin-bottom: 0; }

/* ---------- Stats ---------- */
.stats { display: grid; gap: 1px; background: var(--linie); border: 1px solid var(--linie); border-radius: var(--radius); overflow: hidden; grid-template-columns: repeat(2,1fr); box-shadow: var(--shadow-sm); }
@media (min-width: 820px) { .stats { grid-template-columns: repeat(4,1fr); } }
.stat { background: var(--weiss); padding: clamp(1.4rem,3vw,2rem) 1.2rem; text-align: center; transition: background .25s; }
.stat:hover { background: #fffdf9; }
.stat b { display: block; font-family: var(--ff-display); font-weight: 700; font-size: clamp(2.6rem,2rem+3vw,3.8rem); color: var(--feuerrot); line-height: 1; font-variant-numeric: tabular-nums; }
.stat span { display: block; margin-top: .5rem; font-size: .82rem; text-transform: uppercase; letter-spacing: .1em; color: var(--text-mut); font-weight: 600; }
.section--dark .stats { background: var(--anthrazit-3); border-color: var(--anthrazit-3); }
.section--dark .stat { background: var(--anthrazit-2); }
.section--dark .stat:hover { background: #2a2320; }
.section--dark .stat b { color: var(--signal-amber); }
.section--dark .stat span { color: rgba(255,255,255,.66); }

/* ---------- Timeline ---------- */
.timeline { position: relative; display: grid; gap: 1.4rem; padding-left: 2.2rem; }
.timeline::before { content:""; position:absolute; left: 8px; top: 6px; bottom: 6px; width: 3px; background: linear-gradient(var(--feuerrot), rgba(193,18,28,.15)); border-radius: 3px; }
.tl-item { position: relative; }
.tl-item::before { content:""; position:absolute; left: -2.2rem; top: 4px; width: 19px; height: 19px; border-radius: 50%; background: var(--weiss); border: 4px solid var(--feuerrot); box-shadow: 0 0 0 4px var(--off-white); transition: transform .24s var(--spring), box-shadow .24s; }
.tl-item:hover::before { transform: scale(1.18); box-shadow: 0 0 0 4px var(--off-white), 0 0 0 8px rgba(193,18,28,.12); }
.tl-item .year { font-family: var(--ff-display); font-weight: 700; font-size: 1.5rem; color: var(--feuerrot); line-height: 1; font-variant-numeric: tabular-nums; }
.tl-item h3 { font-size: 1.2rem; margin: .2rem 0 .3rem; }
.tl-item p { color: var(--text-mut); }
.section--dark .tl-item::before { background: var(--anthrazit); box-shadow: 0 0 0 4px var(--anthrazit); }
.section--dark .tl-item:hover::before { box-shadow: 0 0 0 4px var(--anthrazit), 0 0 0 8px rgba(228,57,44,.22); }
.section--dark .tl-item .year { color: var(--feuerrot-hell); }
.section--dark .tl-item p { color: rgba(255,255,255,.72); }

/* ---------- Team ---------- */
.team-card { text-align: center; }
.avatar {
  position: relative;
  width: 118px; height: 118px; border-radius: 50%; margin: 0 auto 1rem; overflow: hidden;
  border: 4px solid var(--weiss); box-shadow: 0 0 0 1px var(--linie), var(--shadow-sm);
  background: linear-gradient(135deg, var(--feuerrot), var(--feuerrot-tief));
  display: grid; place-items: center;
  transition: transform .24s var(--ease), box-shadow .24s;
}
.team-card:hover .avatar { transform: translateY(-3px); box-shadow: 0 0 0 1px var(--linie), 0 0 0 5px rgba(193,18,28,.12), var(--shadow-md); }
.avatar img { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; object-fit: cover; }
.avatar .initials { z-index: 0; font-family: var(--ff-display); font-weight: 700; font-size: 2.4rem; color: #fff; letter-spacing: .02em; }
.team-card h3 { font-size: 1.28rem; margin-bottom: .15rem; }
.team-card .role { color: var(--feuerrot); font-family: var(--ff-display); font-weight: 600; text-transform: uppercase; letter-spacing: .05em; font-size: .95rem; }
.team-card p { color: var(--text-mut); margin-top: .6rem; font-size: .96rem; }
.section--dark .team-card .role { color: var(--signal-amber); }
.section--dark .avatar { border-color: var(--anthrazit-2); box-shadow: 0 0 0 1px var(--anthrazit-3); }
.section--dark .team-card:hover .avatar { box-shadow: 0 0 0 1px var(--anthrazit-3), 0 0 0 5px rgba(228,57,44,.18), var(--shadow-md); }

/* ---------- Media / Split ---------- */
.split { display: grid; gap: clamp(1.6rem, 4vw, 3rem); align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; } .split--media-first > :first-child { order: 2; } }
.media-frame { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); background: var(--anthrazit-2); aspect-ratio: 4 / 3; }
.media-frame img { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.media-frame:hover img { transform: scale(1.04); }
.media-frame .hazard { position: absolute; z-index: 2; inset: auto 0 0 0; }
.media-fallback { position:absolute; z-index:0; inset:0; display:grid; place-items:center; color: rgba(255,255,255,.35);
  background: repeating-linear-gradient(135deg, var(--anthrazit-2) 0 30px, var(--anthrazit) 30px 60px); }
.media-fallback svg { width: 40%; max-width: 140px; height: auto; }

/* ---------- Notruf / Alert ---------- */
.notruf {
  background: var(--anthrazit); color: #fff; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--anthrazit-3); display: grid; box-shadow: var(--shadow-lg);
}
.notruf__body { padding: clamp(1.4rem,3vw,2rem); display: flex; align-items: center; gap: 1.3rem; flex-wrap: wrap; }
.notruf__num { font-family: var(--ff-display); font-weight: 700; font-size: clamp(3rem,2rem+6vw,4.6rem); color: var(--signal-amber); line-height: 1; font-variant-numeric: tabular-nums; }
.notruf__txt h3 { color:#fff; margin-bottom: .2rem; }
.notruf__txt p { color: rgba(255,255,255,.72); }
@media (prefers-reduced-motion: no-preference) {
  .notruf__num { animation: notrufGlow 2.6s var(--ease) infinite; }
  @keyframes notrufGlow { 0%, 100% { text-shadow: 0 0 0 rgba(244,181,5,0); } 50% { text-shadow: 0 0 24px rgba(244,181,5,.5); } }
}

.info-card { background: var(--weiss); border: 1px solid var(--linie); border-radius: var(--radius); padding: clamp(1.3rem,2.5vw,1.7rem); box-shadow: var(--shadow-sm); height:100%; transition: border-color .24s, box-shadow .24s, transform .24s var(--ease); }
.info-card:hover { border-color: var(--linie-stark); box-shadow: var(--shadow-md); }
.info-card h3 { margin-bottom: .6rem; }
.info-card address { font-style: normal; color: var(--text-mut); line-height: 1.75; }
.info-card a:not(.btn) { color: var(--feuerrot); border-bottom: 1px solid transparent; transition: border-color .2s; }
.info-card a:not(.btn):hover { border-color: var(--feuerrot); }

/* Fakten-Liste / Checkliste */
.ticks { list-style: none; padding: 0; display: grid; gap: .7rem; }
.ticks li { display: grid; grid-template-columns: auto 1fr; gap: .7rem; align-items: start; color: var(--text-mut); }
.ticks li::before { content: ""; width: 22px; height: 22px; margin-top: .15rem; border-radius: 6px; background: rgba(193,18,28,.10) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C1121C' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/14px no-repeat; flex: none; }
.section--dark .ticks li { color: rgba(255,255,255,.78); }
.section--dark .ticks li::before { background-color: rgba(228,57,44,.16); }

/* Datenblock (Wann/Wo) */
.factline { display: grid; grid-template-columns: auto 1fr; gap: .3rem 1rem; align-items: baseline; }
.factline dt { font-family: var(--ff-display); text-transform: uppercase; letter-spacing: .06em; color: var(--stahl); font-weight: 600; font-size: .9rem; }
.factline dd { font-weight: 600; }
.section--dark .factline dt { color: var(--signal-amber); }

/* ---------- Download-Karten ---------- */
.download {
  display: flex; align-items: center; gap: 1rem; background: var(--weiss); border: 1px solid var(--linie);
  border-radius: var(--radius); padding: 1.1rem 1.3rem; box-shadow: var(--shadow-sm);
  transition: border-color .24s, transform .24s var(--ease), box-shadow .24s;
}
.download:hover { border-color: var(--feuerrot); transform: translateY(-3px); box-shadow: var(--shadow-md); }
.download .card__ico { margin: 0; flex: none; margin-bottom: 0; }
.download b { display: block; }
.download small { color: var(--text-mut); }
.download .dl-ico { margin-left: auto; color: var(--feuerrot); transition: transform .24s var(--ease); }
.download:hover .dl-ico { transform: translateY(2px); }

/* ---------- Forms ---------- */
.form { display: grid; gap: 1.1rem; }
.field { display: grid; gap: .4rem; }
.field label { font-family: var(--ff-display); text-transform: uppercase; letter-spacing: .06em; font-weight: 600; font-size: .9rem; }
.field input, .field textarea {
  background: var(--weiss); border: 1.5px solid var(--linie); border-radius: 10px;
  padding: .8rem .9rem; font-size: 1rem; transition: border-color .2s, box-shadow .2s; width: 100%;
  min-height: 48px;
}
.field input:hover, .field textarea:hover { border-color: var(--linie-stark); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--feuerrot); box-shadow: var(--ring); }
.field textarea { min-height: 140px; resize: vertical; }
.form__note { font-size: .85rem; color: var(--stahl); }
.form__note a { color: var(--feuerrot); border-bottom: 1px solid transparent; transition: border-color .2s; }
.form__note a:hover { border-color: var(--feuerrot); }
.form__status { padding: .9rem 1.1rem; border-radius: 10px; background: rgba(244,181,5,.12); border: 1px solid rgba(244,181,5,.4); color: var(--text); font-size: .95rem; }
.form__status--success { background: rgba(34,139,34,.10); border-color: rgba(34,139,34,.4); }
.form__status--error { background: rgba(193,18,28,.10); border-color: rgba(193,18,28,.4); }
.field--hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }

/* ---------- Callout / CTA band ---------- */
.cta-band { position: relative; overflow: hidden; }
.cta-band .container { position: relative; z-index: 1; }
.cta-band__deco { position:absolute; inset:0; opacity:.5; z-index:0;
  background: radial-gradient(90% 120% at 90% 15%, rgba(193,18,28,.5), transparent 55%); }

/* ---------- Footer ---------- */
.site-footer { background: var(--anthrazit); color: rgba(255,255,255,.72); }
.footer-grid { display: grid; gap: 2rem; padding-block: clamp(2.6rem,4vw,3.6rem); }
@media (min-width: 720px)  { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.site-footer .brand__name, .site-footer .brand__sub { color: #fff; }
.site-footer .brand__sub { color: var(--signal-amber); }
.footer-col h4 { color: #fff; text-transform: uppercase; font-size: .95rem; letter-spacing: .08em; margin-bottom: 1rem; }
.footer-col ul { list-style: none; padding: 0; display: grid; gap: .55rem; }
.footer-col a { border-bottom: 1px solid transparent; transition: color .2s, border-color .2s; }
.footer-col a:hover { color: #fff; border-bottom-color: var(--feuerrot); }
.footer-col address { font-style: normal; line-height: 1.8; }
.footer-bar { border-top: 1px solid var(--anthrazit-3); padding-block: 1.2rem; display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; align-items: center; justify-content: space-between; font-size: .85rem; }
.footer-bar nav { display: flex; gap: 1.2rem; flex-wrap: wrap; }
.footer-bar a { transition: color .2s; }
.footer-bar a:hover { color:#fff; }

/* ---------- Back to top ---------- */
.to-top {
  position: fixed; right: 1rem; bottom: 1rem; z-index: 90;
  width: 48px; height: 48px; border-radius: 50%; border: none; cursor: pointer;
  background: var(--feuerrot); color: #fff; display: grid; place-items: center;
  box-shadow: var(--shadow-md); opacity: 0; transform: translateY(12px) scale(.9); pointer-events: none;
  transition: opacity .25s, transform .25s var(--spring), background .2s;
}
.to-top.show { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }
.to-top:hover { background: var(--feuerrot-tief); transform: translateY(-2px) scale(1.05); box-shadow: var(--shadow-red); }

/* ---------- Skip link ---------- */
.skip { position: absolute; left: 1rem; top: -60px; z-index: 300; background: var(--anthrazit); color:#fff; padding: .7rem 1.1rem; border-radius: 8px; transition: top .2s; }
.skip:focus { top: 1rem; }

/* ---------- Notice / placeholder ---------- */
.notice { border: 1px dashed var(--stahl); border-radius: var(--radius); padding: 1.2rem 1.4rem; background: rgba(138,131,125,.06); color: var(--text-mut); display:flex; gap:.9rem; align-items:flex-start; }
.notice svg { flex: none; color: var(--feuerrot); width: 22px; height: 22px; margin-top: 2px; }
.datenschutz-hint { background: rgba(193,18,28,.05); border-color: rgba(193,18,28,.3); }

/* Empty state (Einsaetze) */
.empty-state { text-align: center; padding: clamp(2.4rem,5vw,4rem) 1.4rem; border: 1.5px dashed var(--linie); border-radius: var(--radius); background: var(--weiss); }
.empty-state .ico-badge { width: 66px; height: 66px; margin: 0 auto 1.1rem; border-radius: 16px; background: rgba(193,18,28,.09); color: var(--feuerrot); display: grid; place-items: center; }
.empty-state h3 { margin-bottom: .5rem; }
.empty-state p { color: var(--text-mut); max-width: 46ch; margin-inline: auto; }

/* Legal / prose */
.prose { max-width: 74ch; }
.prose h2 { font-size: clamp(1.5rem,1.2rem+1.4vw,2rem); margin-top: 2.4rem; }
.prose h3 { margin-top: 1.6rem; margin-bottom: .3rem; }
.prose p, .prose ul { color: var(--text-mut); margin-top: .8rem; }
.prose ul { padding-left: 1.2rem; display: grid; gap: .4rem; }
.prose a { color: var(--feuerrot); border-bottom: 1px solid transparent; transition: border-color .2s; }
.prose a:hover { border-color: var(--feuerrot); }
.prose .hazard { max-width: 90px; margin-top: 1rem; border-radius: 3px; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s var(--ease-out), transform .6s var(--ease-out); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }
/* automatischer, sanfter Stagger fuer Karten in Grids (falls keine d-Klasse) */
.grid > .reveal:nth-child(2) { transition-delay: .06s; }
.grid > .reveal:nth-child(3) { transition-delay: .12s; }
.grid > .reveal:nth-child(4) { transition-delay: .18s; }
.grid > .reveal:nth-child(5) { transition-delay: .24s; }
.grid > .reveal:nth-child(6) { transition-delay: .3s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .to-top, .btn, .card, .download, .card__ico, .card__emoji, .avatar, .media-frame img, .tl-item::before, .stat { transition: none; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; }
}

.mt-1{margin-top:.6rem}.mt-2{margin-top:1.2rem}.mt-3{margin-top:2rem}.mb-0{margin-bottom:0}

/* ---------- Print ---------- */
@media print {
  .site-header, .nav-drawer, .to-top, .hero__bg, .pagehero__bg, .cta-band__deco { display: none !important; }
  body { background: #fff; color: #000; }
  .section, .hero, .pagehero { background: #fff !important; color: #000 !important; }
  .card, .info-card { box-shadow: none; border: 1px solid #ccc; }
  a { color: #000; }
}
