/* =================================================================
   Feuerwehr-Demo 6 — Demo-Design für Feuerwehren
   Eigenständiges, selbst-enthaltenes Stylesheet (Elementor-Pro-Stil)
   Aufbau orientiert an feuerwehr.hamburg, generisch nutzbar.
   ================================================================= */

/* ---------- Design-Tokens ---------- */
:root {
  --fw-red:        #c8102e;
  --fw-red-dark:   #9c0f24;
  --fw-red-darker: #7e0c1d;
  --fw-ink:        #1a1d24;
  --fw-ink-soft:   #3a414c;
  --fw-muted:      #6b7280;
  --fw-muted-2:    #8a93a0;
  --fw-yellow:     #ffd23f;
  --fw-blue:       #2b6cff;
  --fw-green:      #1f9d57;
  --fw-bg:         #ffffff;
  --fw-bg-soft:    #f4f6f9;
  --fw-bg-soft-2:  #eef2f6;
  --fw-ink-bg:     #14171d;
  --fw-border:     #e3e8ee;
  --fw-border-2:   #d3dae2;

  --radius:    14px;
  --radius-sm: 9px;
  --radius-lg: 22px;
  --shadow-sm: 0 2px 8px rgba(20,23,29,.06);
  --shadow:    0 10px 30px rgba(20,23,29,.10);
  --shadow-lg: 0 24px 60px rgba(20,23,29,.16);
  --ring:      0 0 0 4px rgba(200,16,46,.18);

  --container: 1240px;
  --gap:       28px;

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

  --topbar-h: 40px;
  --header-h: 78px;
}

/* ---------- Reset ---------- */
*,*::before,*::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  font-family: var(--ff);
  color: var(--fw-ink);
  background: var(--fw-bg);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
:focus-visible { outline: 3px solid var(--fw-blue); outline-offset: 2px; border-radius: 4px; }

/* ---------- Typografie ---------- */
h1,h2,h3,h4 { font-family: var(--ff-head); line-height: 1.12; font-weight: 800; color: var(--fw-ink); letter-spacing: -.01em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.28rem; }
p { color: var(--fw-ink-soft); }
.lead { font-size: 1.18rem; color: var(--fw-ink-soft); }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 24px; }
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section--soft { background: var(--fw-bg-soft); }
.section--ink { background: var(--fw-ink-bg); color: #e7ebf1; }
.section--tight { padding-block: clamp(40px,5vw,64px); }

.section-head { max-width: 760px; margin-bottom: 48px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head .lead { margin-top: 14px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: .82rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
  color: var(--fw-red); margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 26px; height: 3px; border-radius: 2px; background: var(--fw-red); }
.section--ink .eyebrow { color: var(--fw-yellow); }
.section--ink .eyebrow::before { background: var(--fw-yellow); }
.section--ink h2 { color: #fff; }
.section--ink p { color: #aeb6c2; }

.grid { display: grid; gap: var(--gap); }
.grid-2 { grid-template-columns: repeat(2,1fr); }
.grid-3 { grid-template-columns: repeat(3,1fr); }
.grid-4 { grid-template-columns: repeat(4,1fr); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 26px; border-radius: 999px; font-weight: 700; font-size: 1rem;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  white-space: nowrap; line-height: 1;
}
.btn svg { width: 18px; height: 18px; }
.btn--primary { background: var(--fw-red); color: #fff; box-shadow: 0 8px 22px rgba(200,16,46,.32); }
.btn--primary:hover { background: var(--fw-red-dark); transform: translateY(-2px); box-shadow: 0 12px 28px rgba(200,16,46,.4); }
.btn--ghost { background: rgba(255,255,255,.12); color: #fff; box-shadow: inset 0 0 0 2px rgba(255,255,255,.5); }
.btn--ghost:hover { background: rgba(255,255,255,.22); transform: translateY(-2px); }
.btn--dark { background: var(--fw-ink); color: #fff; }
.btn--dark:hover { background: #000; transform: translateY(-2px); }
.btn--light { background: #fff; color: var(--fw-ink); box-shadow: var(--shadow-sm); }
.btn--light:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn--lg { padding: 17px 32px; font-size: 1.06rem; }
.btn--block { width: 100%; }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--fw-red); }
.link-arrow svg { width: 17px; height: 17px; transition: transform .2s ease; }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- Badges ---------- */
.badge {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: .76rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase;
  padding: 6px 12px; border-radius: 999px; background: var(--fw-bg-soft-2); color: var(--fw-ink-soft);
}
.badge--red { background: rgba(200,16,46,.12); color: var(--fw-red); }
.badge--blue { background: rgba(43,108,255,.12); color: var(--fw-blue); }
.badge--yellow { background: rgba(214,160,0,.16); color: #9a7400; }
.badge--green { background: rgba(31,157,87,.14); color: #167a42; }

/* ====================================================================
   1) NOTRUF-LEISTE (Top-Bar)
   ==================================================================== */
.topbar {
  background: var(--fw-ink);
  color: #d7dce3;
  font-size: .86rem;
  position: relative; z-index: 60;
}
.topbar__inner { display: flex; align-items: center; justify-content: space-between; min-height: var(--topbar-h); gap: 18px; }
.topbar__left { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.topbar__item { display: inline-flex; align-items: center; gap: 8px; color: #c3cad3; }
.topbar__item svg { width: 15px; height: 15px; opacity: .85; }
.topbar__emergency {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 800; color: #fff;
  background: var(--fw-red); padding: 6px 14px; border-radius: 0 0 10px 10px; margin-top: -0; letter-spacing: .02em;
}
.topbar__emergency svg { width: 16px; height: 16px; }
.topbar__right { display: flex; align-items: center; gap: 16px; }
.topbar__social { display: inline-flex; gap: 10px; }
.topbar__social a { width: 26px; height: 26px; display: grid; place-items: center; border-radius: 7px; background: rgba(255,255,255,.08); transition: background .2s, transform .2s; }
.topbar__social a:hover { background: var(--fw-red); transform: translateY(-1px); }
.topbar__social svg { width: 14px; height: 14px; fill: #fff; }
.topbar__lang { display: inline-flex; gap: 6px; align-items: center; color: #aab2bd; }
.topbar__lang b { color: #fff; }

/* ====================================================================
   2) HEADER / NAVIGATION
   ==================================================================== */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--fw-border);
  transition: box-shadow .25s ease;
}
.header.is-scrolled { box-shadow: 0 6px 22px rgba(20,23,29,.09); }
.header__inner { display: flex; align-items: center; justify-content: space-between; min-height: var(--header-h); gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand img { height: 50px; width: auto; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav__item { position: relative; }
.nav__link {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 14px; border-radius: 10px; font-weight: 600; font-size: .98rem; color: var(--fw-ink);
  transition: background .18s, color .18s;
}
.nav__link svg { width: 13px; height: 13px; opacity: .6; transition: transform .2s; }
.nav__item:hover > .nav__link { background: var(--fw-bg-soft); color: var(--fw-red); }
.nav__item:hover > .nav__link svg { transform: rotate(180deg); }
.nav__link.is-active { color: var(--fw-red); }

/* Dropdown */
.dropdown {
  position: absolute; top: calc(100% + 10px); left: 0; min-width: 264px;
  background: #fff; border: 1px solid var(--fw-border); border-radius: var(--radius);
  box-shadow: var(--shadow-lg); padding: 10px;
  opacity: 0; visibility: hidden; transform: translateY(8px); transition: all .2s ease;
}
.nav__item:hover .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown::before { content:""; position:absolute; top:-10px; left:0; right:0; height:10px; }
.dropdown a { display: flex; gap: 12px; padding: 11px 12px; border-radius: var(--radius-sm); transition: background .15s; }
.dropdown a:hover { background: var(--fw-bg-soft); }
.dropdown .di { width: 38px; height: 38px; border-radius: 9px; background: rgba(200,16,46,.1); display: grid; place-items: center; flex-shrink: 0; }
.dropdown .di svg { width: 19px; height: 19px; fill: var(--fw-red); }
.dropdown b { display: block; font-size: .96rem; color: var(--fw-ink); }
.dropdown span { font-size: .82rem; color: var(--fw-muted); }

.header__actions { display: flex; align-items: center; gap: 10px; }
.icon-btn { width: 44px; height: 44px; border-radius: 11px; display: grid; place-items: center; background: var(--fw-bg-soft); transition: background .18s, color .18s; }
.icon-btn:hover { background: var(--fw-bg-soft-2); color: var(--fw-red); }
.icon-btn svg { width: 20px; height: 20px; }

.burger { display: none; width: 46px; height: 46px; border-radius: 11px; background: var(--fw-bg-soft); }
.burger span { display: block; width: 22px; height: 2.4px; background: var(--fw-ink); border-radius: 2px; margin: 4px auto; transition: .25s; }
.burger.is-open span:nth-child(1){ transform: translateY(6.4px) rotate(45deg); }
.burger.is-open span:nth-child(2){ opacity: 0; }
.burger.is-open span:nth-child(3){ transform: translateY(-6.4px) rotate(-45deg); }

/* Mobile-Drawer */
.drawer { position: fixed; inset: 0; z-index: 70; visibility: hidden; }
.drawer__scrim { position: absolute; inset: 0; background: rgba(10,12,16,.5); opacity: 0; transition: opacity .3s; }
.drawer__panel {
  position: absolute; top: 0; right: 0; height: 100%; width: min(380px, 88vw);
  background: #fff; box-shadow: var(--shadow-lg); padding: 22px;
  transform: translateX(100%); transition: transform .3s ease; overflow-y: auto;
}
.drawer.is-open { visibility: visible; }
.drawer.is-open .drawer__scrim { opacity: 1; }
.drawer.is-open .drawer__panel { transform: translateX(0); }
.drawer__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; padding-bottom: 18px; border-bottom: 1px solid var(--fw-border); }
.drawer__panel nav a { display: block; padding: 13px 12px; border-radius: 10px; font-weight: 600; font-size: 1.05rem; }
.drawer__panel nav a:hover { background: var(--fw-bg-soft); color: var(--fw-red); }
.drawer__panel nav .sub { font-size: .95rem; font-weight: 500; color: var(--fw-muted); padding-left: 26px; }
.drawer__cta { margin-top: 18px; display: grid; gap: 10px; }

/* ====================================================================
   3) HERO-SLIDER
   ==================================================================== */
.hero { position: relative; }
.hero__slider { position: relative; height: clamp(460px, 74vh, 720px); overflow: hidden; }
.hero__slide {
  position: absolute; inset: 0; opacity: 0; visibility: hidden;
  transition: opacity .9s ease; background-size: cover; background-position: center;
}
.hero__slide.is-active { opacity: 1; visibility: visible; }
.hero__slide::after { content:""; position:absolute; inset:0; background: linear-gradient(105deg, rgba(12,14,20,.82) 0%, rgba(12,14,20,.55) 42%, rgba(12,14,20,.12) 78%); }
.hero__inner { position: relative; z-index: 3; height: 100%; display: flex; align-items: center; }
.hero__content { max-width: 640px; color: #fff; }
.hero__tag {
  display: inline-flex; align-items: center; gap: 9px; padding: 8px 16px; border-radius: 999px;
  background: rgba(200,16,46,.92); font-weight: 800; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 20px;
}
.hero__tag .pulse { width: 9px; height: 9px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 0 rgba(255,255,255,.8); animation: pulse 1.8s infinite; }
@keyframes pulse { 0%{box-shadow:0 0 0 0 rgba(255,255,255,.7);} 70%{box-shadow:0 0 0 12px rgba(255,255,255,0);} 100%{box-shadow:0 0 0 0 rgba(255,255,255,0);} }
.hero h1 { color: #fff; }
.hero__content p { color: #e3e7ee; font-size: 1.2rem; margin-top: 18px; max-width: 540px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.hero__dots { position: absolute; left: 0; right: 0; bottom: 26px; z-index: 4; display: flex; gap: 10px; justify-content: center; }
.hero__dots button { width: 36px; height: 5px; border-radius: 3px; background: rgba(255,255,255,.4); transition: background .2s, width .2s; }
.hero__dots button.is-active { background: var(--fw-yellow); width: 52px; }
.hero__arrows { position: absolute; z-index: 4; top: 50%; transform: translateY(-50%); width: 100%; display: flex; justify-content: space-between; padding-inline: 18px; pointer-events: none; }
.hero__arrows button { pointer-events: auto; width: 50px; height: 50px; border-radius: 50%; background: rgba(255,255,255,.16); backdrop-filter: blur(4px); display: grid; place-items: center; transition: background .2s; }
.hero__arrows button:hover { background: rgba(255,255,255,.32); }
.hero__arrows svg { width: 22px; height: 22px; stroke: #fff; }

/* Schnellzugriff-Leiste unter Hero */
.quickbar { background: var(--fw-red); }
.quickbar__grid { display: grid; grid-template-columns: repeat(4,1fr); }
.quick {
  display: flex; align-items: center; gap: 14px; padding: 22px 24px; color: #fff;
  border-right: 1px solid rgba(255,255,255,.16); transition: background .2s;
}
.quickbar__grid > .quick:last-child { border-right: none; }
.quick:hover { background: var(--fw-red-dark); }
.quick__icon { width: 46px; height: 46px; border-radius: 12px; background: rgba(255,255,255,.16); display: grid; place-items: center; flex-shrink: 0; }
.quick__icon svg { width: 24px; height: 24px; stroke: #fff; fill: none; }
.quick b { display: block; font-size: 1.02rem; }
.quick span { font-size: .86rem; color: rgba(255,255,255,.82); }

/* ====================================================================
   4) WARNHINWEISE / SICHERHEIT
   ==================================================================== */
.warn-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: var(--gap); }
.warn {
  position: relative; border-radius: var(--radius); overflow: hidden; min-height: 280px;
  display: flex; align-items: flex-end; color: #fff; box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease;
}
.warn:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.warn img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.warn::after { content:""; position:absolute; inset:0; background: linear-gradient(0deg, rgba(10,12,16,.9) 8%, rgba(10,12,16,.25) 70%); }
.warn__body { position: relative; z-index: 2; padding: 24px; }
.warn__body h3 { color: #fff; margin-top: 10px; font-size: 1.32rem; }
.warn__body p { color: #dfe3ea; font-size: .96rem; margin-top: 6px; }
.warn .badge { background: var(--fw-yellow); color: #1a1d24; }
.warn--danger .badge { background: var(--fw-red); color: #fff; }

/* ====================================================================
   5) AKTUELLES / NEWS
   ==================================================================== */
.news-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 40px; }
.news-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: var(--gap); }
.card {
  background: #fff; border: 1px solid var(--fw-border); border-radius: var(--radius); overflow: hidden;
  display: flex; flex-direction: column; transition: transform .25s ease, box-shadow .25s ease, border-color .25s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.card__media { position: relative; aspect-ratio: 16/10; overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.card:hover .card__media img { transform: scale(1.06); }
.card__cat { position: absolute; top: 14px; left: 14px; }
.card__body { padding: 20px; display: flex; flex-direction: column; flex: 1; }
.card__date { font-size: .82rem; color: var(--fw-muted); font-weight: 600; display: inline-flex; align-items: center; gap: 7px; }
.card__date svg { width: 14px; height: 14px; }
.card__body h3 { font-size: 1.12rem; margin: 10px 0 8px; line-height: 1.25; }
.card:hover .card__body h3 { color: var(--fw-red); }
.card__body p { font-size: .94rem; color: var(--fw-muted); flex: 1; }
.card__more { margin-top: 16px; }

/* ====================================================================
   6) AUFGABEN / BEREICHE
   ==================================================================== */
.task-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: var(--gap); }
.task {
  background: #fff; border: 1px solid var(--fw-border); border-radius: var(--radius); padding: 30px 26px;
  transition: transform .25s ease, box-shadow .25s ease; position: relative; overflow: hidden;
}
.task::before { content:""; position:absolute; left:0; top:0; bottom:0; width:4px; background: var(--fw-red); transform: scaleY(0); transform-origin: top; transition: transform .3s ease; }
.task:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.task:hover::before { transform: scaleY(1); }
.task__icon { width: 60px; height: 60px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 20px; background: rgba(200,16,46,.1); }
.task__icon svg { width: 30px; height: 30px; stroke: var(--fw-red); fill: none; stroke-width: 1.7; }
.task--blue .task__icon { background: rgba(43,108,255,.1); } .task--blue .task__icon svg { stroke: var(--fw-blue); } .task--blue.task::before { background: var(--fw-blue); }
.task--green .task__icon { background: rgba(31,157,87,.12); } .task--green .task__icon svg { stroke: var(--fw-green); } .task--green.task::before { background: var(--fw-green); }
.task--amber .task__icon { background: rgba(214,160,0,.14); } .task--amber .task__icon svg { stroke: #c79100; } .task--amber.task::before { background: #d6a000; }
.task h3 { font-size: 1.2rem; margin-bottom: 9px; }
.task p { font-size: .96rem; color: var(--fw-muted); margin-bottom: 16px; }

/* ====================================================================
   7) STATISTIK / KPI
   ==================================================================== */
.stats { position: relative; overflow: hidden; }
.stats::before { content:""; position:absolute; inset:0; background:
   radial-gradient(60% 90% at 90% 10%, rgba(200,16,46,.25), transparent 60%),
   radial-gradient(50% 80% at 5% 95%, rgba(43,108,255,.18), transparent 60%); }
.stats__grid { position: relative; display: grid; grid-template-columns: repeat(4,1fr); gap: var(--gap); }
.stat { text-align: center; padding: 20px; }
.stat__num { font-size: clamp(2.4rem,5vw,3.6rem); font-weight: 800; color: #fff; line-height: 1; letter-spacing: -.02em; }
.stat__num .suffix { color: var(--fw-yellow); }
.stat__label { margin-top: 12px; color: #aeb6c2; font-weight: 600; }
.stat__icon { width: 54px; height: 54px; border-radius: 14px; background: rgba(255,255,255,.08); display: grid; place-items: center; margin: 0 auto 18px; }
.stat__icon svg { width: 26px; height: 26px; stroke: var(--fw-yellow); fill: none; }
.stats__divider { width: 1px; }

/* ====================================================================
   8) FUHRPARK / FAHRZEUGE
   ==================================================================== */
.veh-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: var(--gap); }
.veh { background: #fff; border: 1px solid var(--fw-border); border-radius: var(--radius); overflow: hidden; transition: transform .25s, box-shadow .25s; }
.veh:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.veh__media { background: var(--fw-bg-soft); position: relative; }
.veh__media img { width: 100%; height: auto; }
.veh__tag { position: absolute; top: 14px; right: 14px; background: var(--fw-ink); color: #fff; font-weight: 800; font-size: .8rem; padding: 6px 12px; border-radius: 8px; letter-spacing: .03em; }
.veh__body { padding: 22px 24px 26px; }
.veh__body h3 { font-size: 1.18rem; }
.veh__body > p { color: var(--fw-muted); font-size: .94rem; margin: 6px 0 16px; }
.veh__specs { display: flex; flex-wrap: wrap; gap: 8px 18px; border-top: 1px solid var(--fw-border); padding-top: 16px; }
.veh__spec { display: flex; flex-direction: column; }
.veh__spec span { font-size: .76rem; color: var(--fw-muted-2); text-transform: uppercase; letter-spacing: .04em; font-weight: 700; }
.veh__spec b { font-size: 1rem; color: var(--fw-ink); }

/* ====================================================================
   9) ÜBER UNS (Split)
   ==================================================================== */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px,5vw,72px); align-items: center; }
.split--rev .split__media { order: 2; }
.split__media { position: relative; }
.split__media img { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.split__badge {
  position: absolute; bottom: -26px; left: -26px; background: var(--fw-red); color: #fff;
  padding: 22px 26px; border-radius: var(--radius); box-shadow: var(--shadow); max-width: 230px;
}
.split__badge b { font-size: 2.2rem; line-height: 1; display: block; }
.split__badge span { font-size: .92rem; opacity: .92; }
.feature-list { display: grid; gap: 16px; margin: 26px 0 30px; }
.feature { display: flex; gap: 14px; align-items: flex-start; }
.feature__tick { width: 30px; height: 30px; border-radius: 9px; background: rgba(31,157,87,.14); display: grid; place-items: center; flex-shrink: 0; margin-top: 2px; }
.feature__tick svg { width: 17px; height: 17px; stroke: var(--fw-green); fill: none; stroke-width: 2.4; }
.feature b { display: block; }
.feature p { font-size: .95rem; color: var(--fw-muted); margin-top: 2px; }

/* ====================================================================
   10) MITGLIED WERDEN (CTA-Banner)
   ==================================================================== */
.join { position: relative; overflow: hidden; background: linear-gradient(120deg, var(--fw-red-darker), var(--fw-red)); color: #fff; border-radius: var(--radius-lg); }
.join::before { content:""; position:absolute; right:-60px; top:-60px; width:340px; height:340px; border-radius:50%; background: rgba(255,255,255,.07); }
.join::after { content:""; position:absolute; left:-40px; bottom:-80px; width:260px; height:260px; border-radius:50%; background: rgba(0,0,0,.1); }
.join__inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center; padding: clamp(36px,5vw,64px); }
.join h2 { color: #fff; }
.join p { color: rgba(255,255,255,.9); margin-top: 14px; font-size: 1.12rem; }
.join__points { display: flex; flex-wrap: wrap; gap: 12px 26px; margin-top: 22px; }
.join__points li { display: flex; align-items: center; gap: 9px; font-weight: 600; }
.join__points svg { width: 18px; height: 18px; stroke: var(--fw-yellow); fill: none; stroke-width: 2.4; }
.join__card { background: rgba(255,255,255,.1); backdrop-filter: blur(6px); border: 1px solid rgba(255,255,255,.2); border-radius: var(--radius); padding: 28px; }
.join__card h3 { color: #fff; font-size: 1.18rem; margin-bottom: 16px; }
.join__row { display: flex; align-items: center; gap: 12px; padding: 11px 0; border-bottom: 1px solid rgba(255,255,255,.16); }
.join__row:last-of-type { border-bottom: none; }
.join__row svg { width: 20px; height: 20px; stroke: var(--fw-yellow); fill: none; flex-shrink: 0; }
.join__row b { display: block; } .join__row span { font-size: .88rem; color: rgba(255,255,255,.8); }

/* ====================================================================
   11) JUGENDFEUERWEHR / ABTEILUNGEN
   ==================================================================== */
.dept-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: var(--gap); }
.dept {
  position: relative; border-radius: var(--radius); overflow: hidden; min-height: 230px; display: flex; align-items: flex-end;
  color: #fff; box-shadow: var(--shadow-sm); transition: transform .25s, box-shadow .25s;
}
.dept:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.dept img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.dept:hover img { transform: scale(1.06); }
.dept::after { content:""; position:absolute; inset:0; background: linear-gradient(0deg, rgba(10,12,16,.86) 5%, rgba(10,12,16,.1) 65%); }
.dept__body { position: relative; z-index: 2; padding: 24px; }
.dept__body h3 { color: #fff; }
.dept__body p { color: #dfe3ea; font-size: .94rem; margin-top: 4px; }

/* ====================================================================
   12) TERMINE / VERANSTALTUNGEN
   ==================================================================== */
.events { display: grid; gap: 14px; }
.event {
  display: grid; grid-template-columns: 92px 1fr auto; gap: 22px; align-items: center;
  background: #fff; border: 1px solid var(--fw-border); border-radius: var(--radius); padding: 18px 24px;
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
.event:hover { border-color: var(--fw-red); box-shadow: var(--shadow-sm); transform: translateX(4px); }
.event__date { text-align: center; background: var(--fw-bg-soft); border-radius: var(--radius-sm); padding: 12px 8px; }
.event__date b { display: block; font-size: 1.8rem; font-weight: 800; line-height: 1; color: var(--fw-red); }
.event__date span { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--fw-muted); }
.event__info h3 { font-size: 1.12rem; }
.event__meta { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 7px; }
.event__meta span { display: inline-flex; align-items: center; gap: 6px; font-size: .88rem; color: var(--fw-muted); }
.event__meta svg { width: 15px; height: 15px; }
.event__cta { white-space: nowrap; }

/* ====================================================================
   13) SOCIAL WALL
   ==================================================================== */
.social-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; }
.social-card {
  border-radius: var(--radius); overflow: hidden; background: #fff; border: 1px solid var(--fw-border);
  transition: transform .25s, box-shadow .25s;
}
.social-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.social-card__top { padding: 16px 18px; display: flex; align-items: center; gap: 12px; }
.social-card__av { width: 40px; height: 40px; border-radius: 50%; background: var(--fw-red); display: grid; place-items: center; flex-shrink: 0; }
.social-card__av svg { width: 22px; height: 22px; fill: #fff; }
.social-card__top b { font-size: .95rem; } .social-card__top span { font-size: .8rem; color: var(--fw-muted); }
.social-card__img { aspect-ratio: 4/3; overflow: hidden; } .social-card__img img { width: 100%; height: 100%; object-fit: cover; }
.social-card__cap { padding: 14px 18px; font-size: .9rem; color: var(--fw-ink-soft); }
.social-channels { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 36px; }
.social-pill { display: inline-flex; align-items: center; gap: 10px; padding: 12px 20px; border-radius: 999px; background: #fff; border: 1px solid var(--fw-border); font-weight: 700; transition: transform .2s, box-shadow .2s, color .2s; }
.social-pill:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); color: var(--fw-red); }
.social-pill svg { width: 20px; height: 20px; }

/* ====================================================================
   14) PARTNER / FÖRDERER (Logo-Band)
   ==================================================================== */
.partners { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 18px 40px; }
.partner { height: 54px; padding: 0 26px; border-radius: 12px; background: #fff; border: 1px solid var(--fw-border); display: flex; align-items: center; gap: 10px; color: var(--fw-muted); font-weight: 800; letter-spacing: .03em; filter: grayscale(1); opacity: .8; transition: .25s; }
.partner:hover { filter: grayscale(0); opacity: 1; color: var(--fw-ink); transform: translateY(-2px); }
.partner svg { width: 24px; height: 24px; }

/* ====================================================================
   15) FOOTER
   ==================================================================== */
.footer { background: #0e1116; color: #aeb6c2; padding-top: 70px; }
.footer a:hover { color: #fff; }
.footer__top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 50px; border-bottom: 1px solid rgba(255,255,255,.09); }
.footer__brand img { height: 52px; margin-bottom: 18px; filter: brightness(0) invert(1); }
.footer__brand p { color: #8a93a0; font-size: .95rem; max-width: 320px; }
.footer__contact { margin-top: 20px; display: grid; gap: 12px; }
.footer__contact li { display: flex; gap: 11px; align-items: flex-start; font-size: .94rem; }
.footer__contact svg { width: 18px; height: 18px; stroke: var(--fw-red); fill: none; flex-shrink: 0; margin-top: 2px; }
.footer h4 { color: #fff; font-size: 1rem; margin-bottom: 18px; letter-spacing: .02em; }
.footer__links { display: grid; gap: 11px; }
.footer__links a { font-size: .94rem; color: #aeb6c2; transition: color .15s, padding .15s; }
.footer__links a:hover { padding-left: 4px; }
.footer__news p { font-size: .92rem; color: #8a93a0; margin-bottom: 14px; }
.footer__form { display: flex; gap: 8px; }
.footer__form input { flex: 1; min-width: 0; padding: 13px 16px; border-radius: 10px; border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.05); color: #fff; }
.footer__form input::placeholder { color: #7c8693; }
.footer__form button { padding: 0 16px; border-radius: 10px; background: var(--fw-red); color: #fff; display: grid; place-items: center; }
.footer__form button svg { width: 20px; height: 20px; stroke: #fff; fill: none; }
.footer__badges { display: flex; gap: 10px; margin-top: 18px; flex-wrap: wrap; }
.footer__badge { font-size: .76rem; padding: 6px 11px; border-radius: 8px; background: rgba(255,255,255,.06); color: #c3cad3; display: inline-flex; gap: 7px; align-items: center; }
.footer__badge svg { width: 14px; height: 14px; stroke: var(--fw-yellow); fill: none; }
.footer__bottom { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; padding: 24px 0; }
.footer__bottom p { font-size: .88rem; color: #7c8693; }
.footer__legal { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.footer__legal a { font-size: .88rem; color: #aeb6c2; }

/* ====================================================================
   Back-to-top
   ==================================================================== */
.totop { position: fixed; right: 24px; bottom: 24px; z-index: 40; width: 50px; height: 50px; border-radius: 14px; background: var(--fw-red); display: grid; place-items: center; box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(12px); transition: .3s; }
.totop.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.totop:hover { background: var(--fw-red-dark); }
.totop svg { width: 22px; height: 22px; stroke: #fff; fill: none; }

/* ====================================================================
   Reveal-Animation
   ==================================================================== */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-in { opacity: 1; transform: none; }
.reveal[data-delay="1"]{ transition-delay:.08s; } .reveal[data-delay="2"]{ transition-delay:.16s; }
.reveal[data-delay="3"]{ transition-delay:.24s; } .reveal[data-delay="4"]{ transition-delay:.32s; }
@media (prefers-reduced-motion: reduce){ .reveal{opacity:1;transform:none;transition:none;} *{scroll-behavior:auto!important;} }

/* ====================================================================
   RESPONSIVE
   ==================================================================== */
@media (max-width: 1080px){
  .news-grid, .task-grid, .stats__grid { grid-template-columns: repeat(2,1fr); }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .quickbar__grid { grid-template-columns: repeat(2,1fr); }
  .quickbar__grid .quick:nth-child(2){ border-right: none; }
}
@media (max-width: 980px){
  .nav, .header__actions .icon-btn--search, .topbar__left .topbar__item--hide { display: none; }
  .burger { display: block; }
  .veh-grid, .warn-grid, .dept-grid, .social-grid { grid-template-columns: repeat(2,1fr); }
  .split { grid-template-columns: 1fr; }
  .split--rev .split__media { order: 0; }
  .split__media { max-width: 560px; }
  .join__inner { grid-template-columns: 1fr; }
}
@media (max-width: 720px){
  body { font-size: 16px; }
  .grid-2, .grid-3, .grid-4, .news-grid, .task-grid, .veh-grid, .warn-grid, .dept-grid, .social-grid, .stats__grid, .quickbar__grid { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; gap: 32px; }
  .event { grid-template-columns: 70px 1fr; }
  .event__cta { grid-column: 2; justify-self: start; }
  .hero__arrows { display: none; }
  .split__badge { left: 0; bottom: -18px; }
  .topbar__left { gap: 14px; }
  .news-head, .footer__bottom { flex-direction: column; align-items: flex-start; }
}
