/* ==========================================================================
   Rettungsdienst Spree-Neiße GmbH — Redesign 2026
   Styleguide: Rot #BC1010 · Blau #004799 · Navy #061746 · Dunkelblau #08236A
   Fonts: Barlow Semi Condensed (Headlines) · Open Sans (Body) · Roboto Condensed (Labels)
   ========================================================================== */

@import url('../fonts/fonts.css');

:root {
  --rot: #BC1010;
  --rot-dunkel: #9a0d0d;
  --blau: #004799;
  --navy: #061746;
  --dunkel: #08236A;
  --tint: rgba(0, 71, 153, .10);
  --hairline: rgba(6, 23, 70, .10);
  --bg: #ffffff;
  --bg-soft: #f4f6fa;
  --text: #061746;
  --text-soft: rgba(6, 23, 70, .72);
  --white: #ffffff;
  --white-soft: rgba(255, 255, 255, .85);

  --f-head: 'Barlow Semi Condensed', 'Arial Narrow', sans-serif;
  --f-body: 'Open Sans', 'Segoe UI', sans-serif;
  --f-label: 'Roboto Condensed', 'Arial Narrow', sans-serif;

  --ease: cubic-bezier(.32, .72, 0, 1);
  --ease-soft: cubic-bezier(.16, 1, .3, 1);

  --radius: 22px;
  --radius-sm: 14px;
  --shadow-soft: 0 24px 60px -24px rgba(6, 23, 70, .22);
  --shadow-card: 0 10px 40px -18px rgba(6, 23, 70, .25);

  --header-h: 84px;
  --pad-x: clamp(20px, 5vw, 72px);
  --max-w: 1320px;
}

/* --------------------------------- Reset --------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}
img, video, canvas { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; background: none; border: none; cursor: pointer; color: inherit; }
::selection { background: var(--blau); color: #fff; }

:focus-visible {
  outline: 3px solid var(--blau);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: fixed; top: -60px; left: 16px; z-index: 2000;
  background: var(--navy); color: #fff; padding: 12px 20px; border-radius: 10px;
  font-family: var(--f-label); text-transform: uppercase; letter-spacing: .08em;
  transition: top .25s var(--ease);
}
.skip-link:focus { top: 16px; }

/* ------------------------------ Typography ------------------------------- */
h1, h2, h3, h4, h5 {
  font-family: var(--f-head);
  font-weight: 700;
  line-height: 1.04;
  text-transform: uppercase;
  color: var(--navy);
  text-wrap: balance;
}
.h-display { font-size: clamp(44px, 7.2vw, 108px); letter-spacing: .005em; }
.h-1 { font-size: clamp(38px, 5.4vw, 78px); }
.h-2 { font-size: clamp(30px, 4vw, 56px); }
.h-3 { font-size: clamp(22px, 2.4vw, 32px); }
.h-accent { color: var(--blau); }
.tt-none { text-transform: none !important; }
.h-accent-rot { color: var(--rot); }
.on-dark h1, .on-dark h2, .on-dark h3, .on-dark h4 { color: #fff; }

.lead { font-size: clamp(17px, 1.4vw, 20px); color: var(--text-soft); max-width: 62ch; }
p { max-width: 68ch; text-wrap: pretty; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-family: var(--f-label); font-weight: 500;
  font-size: 13px; letter-spacing: .28em; text-transform: uppercase;
  color: var(--blau); margin-bottom: 22px;
}
.eyebrow::before {
  content: ''; width: 34px; height: 3px; background: var(--rot); border-radius: 2px;
  flex: none;
}
.on-dark .eyebrow { color: rgba(255, 255, 255, .8); }

/* -------------------------------- Layout --------------------------------- */
.wrap { max-width: var(--max-w); margin: 0 auto; padding-inline: var(--pad-x); }
.section { padding-block: clamp(90px, 11vw, 160px); position: relative; }
.section-soft { background: var(--bg-soft); }
.section-dark {
  background:
    radial-gradient(1200px 600px at 85% -10%, rgba(0, 71, 153, .55), transparent 60%),
    radial-gradient(900px 500px at -10% 110%, rgba(188, 16, 16, .28), transparent 60%),
    var(--navy);
  color: var(--white-soft);
}
.section-dark p { color: rgba(255, 255, 255, .78); }

.grid-2 {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: clamp(36px, 5vw, 90px); align-items: center;
}
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 2.4vw, 32px); }

/* ------------------------------- Buttons --------------------------------- */
.btn {
  position: relative;
  display: inline-flex; align-items: center; gap: 14px;
  font-family: var(--f-label); font-weight: 500;
  font-size: 14px; letter-spacing: .14em; text-transform: uppercase;
  padding: 8px 8px 8px 28px; border-radius: 999px;
  transition: transform .5s var(--ease), background-color .5s var(--ease), color .5s var(--ease), border-color .5s var(--ease);
  will-change: transform;
}
.btn:active { transform: scale(.97); }
.btn .btn-ic {
  width: 42px; height: 42px; border-radius: 50%; flex: none;
  display: grid; place-items: center;
  transition: transform .5s var(--ease), background-color .5s var(--ease);
}
.btn .btn-ic svg { width: 16px; height: 16px; transition: transform .5s var(--ease); }
.btn:hover .btn-ic svg { transform: translate(2px, -2px); }

.btn-rot { background: var(--rot); color: #fff; }
.btn-rot .btn-ic { background: rgba(255, 255, 255, .16); }
.btn-rot:hover { background: var(--rot-dunkel); }

.btn-blau { background: var(--blau); color: #fff; }
.btn-blau .btn-ic { background: rgba(255, 255, 255, .16); }
.btn-blau:hover { background: var(--dunkel); }

.btn-ghost { border: 1.5px solid var(--hairline); color: var(--navy); background: transparent; }
.btn-ghost .btn-ic { background: var(--tint); }
.btn-ghost:hover { border-color: var(--blau); }
.on-dark .btn-ghost { border-color: rgba(255, 255, 255, .25); color: #fff; }
.on-dark .btn-ghost .btn-ic { background: rgba(255, 255, 255, .12); }
.on-dark .btn-ghost:hover { border-color: #fff; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--f-label); font-weight: 500; font-size: 14px;
  letter-spacing: .14em; text-transform: uppercase; color: var(--rot);
}
.link-arrow svg { width: 15px; height: 15px; transition: transform .45s var(--ease); }
.link-arrow:hover svg { transform: translateX(5px); }

/* -------------------------------- Header --------------------------------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 900;
  transition: background-color .5s var(--ease), box-shadow .5s var(--ease),
              backdrop-filter .5s var(--ease), height .5s var(--ease);
  height: var(--header-h);
}
.site-header .wrap {
  max-width: none; height: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.site-header.is-solid {
  background: rgba(255, 255, 255, .88);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 1px 0 var(--hairline), 0 18px 40px -30px rgba(6, 23, 70, .35);
}

.brand { display: flex; align-items: center; flex: none; }
.brand img { height: 52px; width: auto; transition: opacity .4s var(--ease); }
.brand .logo-dark { display: block; }
.brand .logo-light { display: none; }
header.on-hero:not(.is-solid) .logo-dark { display: none; }
header.on-hero:not(.is-solid) .logo-light { display: block; }

.main-nav { display: flex; align-items: center; gap: clamp(16px, 2.2vw, 34px); }
.main-nav a {
  position: relative;
  font-family: var(--f-label); font-weight: 500; font-size: 14px;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--navy); padding: 8px 2px;
  transition: color .4s var(--ease);
}
header.on-hero:not(.is-solid) .main-nav a { color: rgba(255, 255, 255, .92); }
.main-nav a::after {
  content: ''; position: absolute; left: 0; right: 100%; bottom: 2px; height: 2px;
  background: var(--rot); transition: right .45s var(--ease);
}
.main-nav a:hover::after, .main-nav a[aria-current="page"]::after { right: 0; }
.main-nav a[aria-current="page"] { color: var(--rot); }
header.on-hero:not(.is-solid) .main-nav a[aria-current="page"] { color: #fff; }

.nav-cta { flex: none; }
.nav-cta .btn { padding: 6px 6px 6px 22px; }
.nav-cta .btn .btn-ic { width: 36px; height: 36px; }

/* Burger */
.burger {
  display: none; position: relative; z-index: 1002;
  width: 48px; height: 48px; border-radius: 50%;
  place-items: center;
}
.burger span {
  position: absolute; left: 13px; width: 22px; height: 2px; border-radius: 2px;
  background: var(--navy);
  transition: transform .45s var(--ease), background-color .3s, top .45s var(--ease), opacity .3s;
}
header.on-hero:not(.is-solid) .burger span { background: #fff; }
.burger span:nth-child(1) { top: 17px; }
.burger span:nth-child(2) { top: 23px; }
.burger span:nth-child(3) { top: 29px; }
body.menu-open .burger span { background: #fff !important; }
body.menu-open .burger span:nth-child(1) { top: 23px; transform: rotate(45deg); }
body.menu-open .burger span:nth-child(2) { opacity: 0; }
body.menu-open .burger span:nth-child(3) { top: 23px; transform: rotate(-45deg); }

/* Mobile overlay menu */
.mobile-menu {
  position: fixed; inset: 0; z-index: 1001;
  background: rgba(6, 23, 70, .96);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  display: grid; place-items: center;
  opacity: 0; visibility: hidden;
  transition: opacity .5s var(--ease), visibility 0s .5s;
}
body.menu-open .mobile-menu { opacity: 1; visibility: visible; transition: opacity .5s var(--ease); }
.mobile-menu nav { display: grid; gap: 6px; text-align: center; }
.mobile-menu a {
  font-family: var(--f-head); font-weight: 700; text-transform: uppercase;
  font-size: clamp(32px, 8vw, 52px); color: #fff; line-height: 1.25;
  display: block; padding: 4px 20px;
  transform: translateY(40px); opacity: 0;
  transition: transform .7s var(--ease), opacity .7s var(--ease), color .3s;
}
.mobile-menu a:hover, .mobile-menu a[aria-current="page"] { color: #ff8a8a; }
body.menu-open .mobile-menu a { transform: translateY(0); opacity: 1; }
.mobile-menu .mm-meta {
  margin-top: 40px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap;
  transform: translateY(30px); opacity: 0;
  transition: transform .7s var(--ease) .35s, opacity .7s var(--ease) .35s;
}
body.menu-open .mobile-menu .mm-meta { transform: translateY(0); opacity: 1; }

body.menu-open { overflow: hidden; }

/* ------------------------------ Notfall-Chips ----------------------------- */
.notruf-row { display: flex; gap: 14px; flex-wrap: wrap; }
.notruf-chip {
  display: flex; align-items: center; gap: 14px;
  padding: 12px 22px 12px 14px; border-radius: 16px;
  color: #fff; box-shadow: var(--shadow-card);
  border: 1px solid rgba(255, 255, 255, .18);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.notruf-chip:hover { transform: translateY(-3px); }
.notruf-chip.rot { background: linear-gradient(135deg, #d31414, var(--rot)); }
.notruf-chip.blau { background: linear-gradient(135deg, #0a5cbb, var(--blau)); }
.notruf-chip .nc-ic {
  width: 44px; height: 44px; border-radius: 12px; flex: none;
  background: rgba(255, 255, 255, .16); display: grid; place-items: center;
}
.notruf-chip .nc-ic svg { width: 20px; height: 20px; }
.notruf-chip strong {
  display: block; font-family: var(--f-head); font-weight: 700;
  font-size: 24px; line-height: 1; letter-spacing: .02em;
}
.notruf-chip small {
  display: block; font-family: var(--f-label); font-weight: 500;
  font-size: 11px; letter-spacing: .12em; text-transform: uppercase; opacity: .85;
  margin-top: 3px;
}

/* --------------------------------- Hero ----------------------------------- */
.hero {
  position: relative; min-height: 100svh;
  display: flex; align-items: flex-end;
  color: #fff; overflow: clip;
}
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-media video, .hero-media img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.hero-scrim {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(to top, rgba(6, 23, 70, .92) 0%, rgba(6, 23, 70, .45) 34%, rgba(6, 23, 70, .2) 60%, rgba(6, 23, 70, .55) 100%);
}
.hero-inner {
  position: relative; z-index: 2; width: 100%;
  padding-bottom: clamp(56px, 8vh, 110px); padding-top: calc(var(--header-h) + 40px);
}
.hero .eyebrow { color: rgba(255, 255, 255, .85); }
.hero h1 { color: #fff; }
.hero .hero-sub {
  margin-top: 26px; max-width: 56ch;
  color: rgba(255, 255, 255, .82); font-size: clamp(16px, 1.3vw, 19px);
}
.hero .notruf-row { margin-top: 38px; }

/* Sub-page hero */
.hero-sub-page { min-height: clamp(520px, 78svh, 820px); }

/* ------------------------------ Dive (RTW) -------------------------------- */
.dive { position: relative; background: var(--navy); }
.dive-stage { position: relative; height: 100svh; overflow: clip; }
.dive-stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.dive-vignette {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(120% 90% at 50% 50%, transparent 55%, rgba(6, 23, 70, .55) 100%);
}
.dive-caption {
  position: absolute; inset: 0; z-index: 3;
  display: grid; place-items: center; text-align: center;
  padding: 0 var(--pad-x); pointer-events: none;
}
.dive-caption > div {
  opacity: 0; visibility: hidden; position: absolute; max-width: 900px;
  padding: clamp(30px, 5vw, 70px) clamp(26px, 5vw, 80px); border-radius: 40px;
}
.dive-caption > div::before {
  content: ''; position: absolute; inset: -12%; z-index: -1; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(6, 23, 70, .62), rgba(6, 23, 70, .34) 55%, transparent);
  filter: blur(6px);
}
.dive-caption .eyebrow { color: rgba(255, 255, 255, .85); justify-content: center; display: flex; }
.dive-caption h2 {
  color: #fff; font-size: clamp(34px, 5.6vw, 84px);
  text-shadow: 0 8px 40px rgba(6, 23, 70, .55);
}
.dive-caption p {
  margin: 18px auto 0; color: rgba(255, 255, 255, .85);
  font-size: clamp(15px, 1.3vw, 19px); max-width: 52ch;
  text-shadow: 0 4px 24px rgba(6, 23, 70, .6);
}
.dive-caption > div.cap-lead {
  left: var(--pad-x); right: auto; text-align: left; max-width: 640px;
}
.dive-caption > div.cap-lead .eyebrow { justify-content: flex-start; }
.dive-caption > div.cap-lead p { margin-left: 0; }
.dive-caption > div.cap-trail {
  right: var(--pad-x); left: auto; text-align: right; max-width: 640px;
}
.dive-caption > div.cap-trail .eyebrow { justify-content: flex-end; }
.dive-caption > div.cap-trail p { margin-right: 0; }
@media (max-width: 768px) {
  .dive-caption > div.cap-lead, .dive-caption > div.cap-trail {
    left: auto; right: auto; text-align: center; max-width: 900px;
  }
  .dive-caption > div.cap-lead .eyebrow,
  .dive-caption > div.cap-trail .eyebrow { justify-content: center; }
  .dive-caption > div.cap-lead p { margin-inline: auto; }
  .dive-caption > div.cap-trail p { margin-inline: auto; }
}

/* ------------------------------ Media frames ------------------------------ */
.media-frame {
  position: relative;
  padding: 10px; border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(0, 71, 153, .10), rgba(188, 16, 16, .08));
  border: 1px solid var(--hairline);
  box-shadow: var(--shadow-soft);
}
.media-frame > .mf-inner {
  border-radius: calc(var(--radius) - 8px); overflow: hidden; position: relative;
  transform: translateZ(0);
}
.media-frame img, .media-frame video { width: 100%; height: 100%; object-fit: cover; }
.media-frame .mf-inner img { transition: transform 1.2s var(--ease); }
.media-frame:hover .mf-inner img { transform: scale(1.04); }
.mf-tag {
  position: absolute; left: 18px; bottom: 18px; z-index: 2;
  font-family: var(--f-label); font-weight: 500; font-size: 11px;
  letter-spacing: .18em; text-transform: uppercase;
  background: rgba(6, 23, 70, .72); color: #fff;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  padding: 8px 14px; border-radius: 999px;
}

/* ------------------------------ Service cards ----------------------------- */
.svc-card {
  position: relative; display: flex; flex-direction: column;
  border-radius: var(--radius); overflow: clip;
  background: #fff; border: 1px solid var(--hairline);
  box-shadow: var(--shadow-card);
  transition: transform .6s var(--ease), box-shadow .6s var(--ease);
  min-height: 100%;
}
.svc-card:hover { transform: translateY(-8px); box-shadow: 0 34px 70px -30px rgba(6, 23, 70, .4); }
.svc-card .sc-media { aspect-ratio: 16 / 10; overflow: hidden; position: relative; }
.svc-card .sc-media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.2s var(--ease);
}
.svc-card:hover .sc-media img { transform: scale(1.06); }
.svc-card .sc-media::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(6, 23, 70, .45), transparent 55%);
}
.svc-card .sc-badge {
  position: absolute; top: 16px; left: 16px; z-index: 2;
  font-family: var(--f-label); font-weight: 500; font-size: 11px;
  letter-spacing: .16em; text-transform: uppercase;
  background: rgba(255, 255, 255, .92); color: var(--blau);
  padding: 7px 13px; border-radius: 999px;
}
.svc-card .sc-body { padding: 26px 28px 30px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.svc-card h3 { font-size: 26px; }
.svc-card p { color: var(--text-soft); font-size: 15px; flex: 1; }

/* -------------------------------- Counters -------------------------------- */
.stats-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 3vw, 40px);
}
.stat {
  padding: 30px 26px; border-radius: var(--radius);
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .12);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.stat b {
  display: block; font-family: var(--f-head); font-weight: 700;
  font-size: clamp(48px, 5.4vw, 84px); line-height: 1; color: #fff;
  font-variant-numeric: tabular-nums;
}
.stat b sub { font-size: .45em; vertical-align: baseline; color: #ff8a8a; }
.stat span {
  display: block; margin-top: 10px;
  font-family: var(--f-label); font-weight: 500; font-size: 13px;
  letter-spacing: .2em; text-transform: uppercase; color: rgba(255, 255, 255, .65);
}

/* ------------------------------ Wachen scroller --------------------------- */
.wachen { background: var(--bg-soft); overflow: clip; position: relative; }
.wachen-map {
  position: absolute; right: -6%; top: 50%; transform: translateY(-50%);
  width: min(52vw, 760px); opacity: .07; pointer-events: none; z-index: 0;
}
.wachen-pin { position: relative; z-index: 1; }
.wachen-head { padding-top: clamp(90px, 11vw, 150px); padding-bottom: 40px; }
.wachen-track-outer { overflow: visible; padding-bottom: clamp(90px, 10vw, 140px); }
.wachen-track {
  display: flex; gap: clamp(18px, 2vw, 28px);
  padding-inline: var(--pad-x);
  width: max-content;
}
.wache-card {
  width: clamp(300px, 30vw, 420px); flex: none;
  border-radius: var(--radius); overflow: clip; background: #fff;
  border: 1px solid var(--hairline); box-shadow: var(--shadow-card);
  position: relative;
}
.wache-card .wc-media { aspect-ratio: 16 / 10.5; overflow: hidden; position: relative; }
.wache-card .wc-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.wache-card:hover .wc-media img { transform: scale(1.05); }
.wache-card .wc-num {
  position: absolute; top: 14px; right: 14px; z-index: 2;
  font-family: var(--f-head); font-weight: 700; font-size: 15px;
  background: var(--rot); color: #fff; border-radius: 10px;
  padding: 5px 11px; letter-spacing: .06em;
}
.wache-card .wc-body { padding: 20px 22px 24px; }
.wache-card h3 { font-size: 21px; }
.wache-card .wc-adr {
  margin-top: 8px; font-size: 14px; color: var(--text-soft);
  display: flex; gap: 9px; align-items: flex-start; max-width: none;
}
.wache-card .wc-adr svg { width: 15px; height: 15px; flex: none; margin-top: 3px; color: var(--rot); }
.wachen-bar {
  margin: 34px var(--pad-x) 0; height: 3px; border-radius: 3px;
  background: rgba(6, 23, 70, .12); overflow: hidden; max-width: 420px;
}
.wachen-bar i {
  display: block; height: 100%; width: 100%;
  background: var(--rot); transform: scaleX(0); transform-origin: left;
}

/* ------------------------------ Split feature ----------------------------- */
.feature-split { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(36px, 5vw, 90px); align-items: center; }
.feature-split.reverse > .fs-media { order: 2; }
.feature-split .fs-media { position: relative; }

/* ------------------------------ Values grid ------------------------------- */
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2vw, 28px); }
.values-grid.vg-2 { grid-template-columns: repeat(2, 1fr); }
.value-card {
  padding: 30px 28px; border-radius: var(--radius);
  background: #fff; border: 1px solid var(--hairline); box-shadow: var(--shadow-card);
  transition: transform .5s var(--ease);
}
.value-card:hover { transform: translateY(-6px); }
.value-card .vc-num {
  font-family: var(--f-head); font-weight: 700; font-size: 15px;
  color: var(--rot); letter-spacing: .1em; display: block; margin-bottom: 12px;
}
.value-card h3 { font-size: 23px; margin-bottom: 10px; }
.value-card p { font-size: 15px; color: var(--text-soft); }

.section-dark .value-card {
  background: rgba(255, 255, 255, .05);
  border-color: rgba(255, 255, 255, .12);
  box-shadow: none;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.section-dark .value-card h3 { color: #fff; }
.section-dark .value-card p { color: rgba(255, 255, 255, .72); }
.section-dark .value-card .vc-num { color: #ff8a8a; }

/* ------------------------------- Accordion -------------------------------- */
.acc { display: grid; gap: 14px; }
.acc-item {
  border-radius: var(--radius-sm); overflow: clip;
  background: #fff; border: 1px solid var(--hairline);
  transition: box-shadow .4s var(--ease), border-color .4s var(--ease);
}
.acc-item.open { box-shadow: var(--shadow-card); border-color: rgba(0, 71, 153, .3); }
.acc-btn {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  gap: 20px; padding: 22px 26px; text-align: left;
}
.acc-btn .acc-title {
  font-family: var(--f-head); font-weight: 600; text-transform: uppercase;
  font-size: clamp(17px, 1.5vw, 21px); color: var(--navy); line-height: 1.25;
}
.acc-btn .acc-ic {
  width: 38px; height: 38px; border-radius: 50%; flex: none;
  background: var(--tint); display: grid; place-items: center;
  transition: transform .5s var(--ease), background-color .4s;
}
.acc-btn .acc-ic svg { width: 15px; height: 15px; color: var(--blau); transition: color .3s; }
.acc-item.open .acc-ic { transform: rotate(45deg); background: var(--rot); }
.acc-item.open .acc-ic svg { color: #fff; }
.acc-panel { height: 0; overflow: hidden; }
.acc-panel-in { padding: 0 26px 28px; color: var(--text-soft); display: grid; gap: 12px; }
.acc-panel-in ul { display: grid; gap: 8px; }
.acc-panel-in ul li { position: relative; padding-left: 22px; }
.acc-panel-in ul li::before {
  content: ''; position: absolute; left: 0; top: .58em; width: 10px; height: 3px;
  border-radius: 2px; background: var(--rot);
}

/* -------------------------------- FAQ page -------------------------------- */
.notruf-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2vw, 26px); }
.notruf-card {
  border-radius: var(--radius); padding: 30px 28px; color: #fff;
  box-shadow: var(--shadow-card); position: relative; overflow: clip;
}
.notruf-card.rot { background: linear-gradient(150deg, #d31414, var(--rot-dunkel)); }
.notruf-card.blau { background: linear-gradient(150deg, #0a5cbb, var(--blau)); }
.notruf-card.navy { background: linear-gradient(150deg, #12307e, var(--navy)); }
.notruf-card h4 { color: #fff; font-size: clamp(40px, 4vw, 58px); line-height: 1; }
.notruf-card h5 {
  color: rgba(255, 255, 255, .85); font-family: var(--f-label); font-weight: 500;
  letter-spacing: .18em; font-size: 12px; margin-bottom: 12px;
}
.notruf-card p { margin-top: 14px; font-size: 14.5px; color: rgba(255, 255, 255, .85); }
.notruf-card svg.bg {
  position: absolute; right: -20px; bottom: -20px; width: 130px; height: 130px;
  opacity: .12; color: #fff;
}

.kh-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.kh-card {
  padding: 22px 24px; border-radius: var(--radius-sm);
  background: #fff; border: 1px solid var(--hairline);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.kh-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); }
.kh-card h4 { font-size: 19px; margin-bottom: 5px; color: var(--blau); }
.kh-card p { font-size: 14px; color: var(--text-soft); }

.w5-list { display: grid; gap: 12px; counter-reset: wfrage; max-width: 560px; }
.w5-list li {
  display: flex; align-items: center; gap: 18px;
  background: #fff; border: 1px solid var(--hairline); border-radius: var(--radius-sm);
  padding: 16px 20px; font-family: var(--f-head); font-weight: 600;
  text-transform: uppercase; font-size: clamp(16px, 1.5vw, 20px); color: var(--navy);
}
.w5-list li::before {
  counter-increment: wfrage; content: counter(wfrage);
  width: 38px; height: 38px; border-radius: 50%; flex: none;
  background: var(--rot); color: #fff; display: grid; place-items: center;
  font-size: 17px;
}

/* ------------------------------ Aktuelles --------------------------------- */
.news-list { display: grid; gap: clamp(28px, 3vw, 44px); }
.news-card {
  display: grid; grid-template-columns: 240px 1fr; gap: clamp(24px, 3vw, 44px);
  background: #fff; border: 1px solid var(--hairline); border-radius: var(--radius);
  padding: clamp(24px, 2.6vw, 40px); box-shadow: var(--shadow-card);
  position: relative;
}
.news-date {
  display: flex; flex-direction: column; gap: 4px; align-items: flex-start;
}
.news-date b {
  font-family: var(--f-head); font-weight: 700; font-size: clamp(30px, 2.6vw, 42px);
  color: var(--rot); text-transform: uppercase; line-height: 1;
}
.news-date span {
  font-family: var(--f-label); font-weight: 500; letter-spacing: .22em;
  color: var(--text-soft); font-size: 14px;
}
.news-date::after {
  content: ''; width: 44px; height: 3px; background: var(--tint);
  border-radius: 2px; margin-top: 14px;
}
.news-body h3 { font-size: clamp(21px, 2vw, 28px); margin-bottom: 14px; }
.news-body p { color: var(--text-soft); font-size: 15.5px; margin-bottom: 12px; }
.news-body p:last-of-type { margin-bottom: 0; }
.news-media { margin: 18px 0 6px; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.news-media figure { border-radius: var(--radius-sm); overflow: hidden; border: 1px solid var(--hairline); margin: 0; }
.news-media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 16/10; }
.news-media figcaption {
  font-size: 12.5px; color: var(--text-soft); padding: 10px 14px; background: var(--bg-soft);
}
.news-body .link-arrow { margin-top: 16px; }

/* ------------------------------ Legal pages ------------------------------- */
.legal-body { max-width: 820px; }
.legal-body h2 { font-size: clamp(24px, 2.4vw, 34px); margin: 48px 0 16px; }
.legal-body h3 { font-size: clamp(19px, 1.8vw, 24px); margin: 34px 0 12px; }
.legal-body h4 { font-size: 17px; margin: 26px 0 10px; }
.legal-body p { margin-bottom: 14px; color: var(--text-soft); max-width: none; }
.legal-body ul { margin: 0 0 14px; display: grid; gap: 8px; }
.legal-body ul li { position: relative; padding-left: 22px; color: var(--text-soft); }
.legal-body ul li::before {
  content: ''; position: absolute; left: 0; top: .6em; width: 10px; height: 3px;
  border-radius: 2px; background: var(--rot);
}
.legal-body a { color: var(--blau); text-decoration: underline; text-underline-offset: 3px; }

.info-card {
  border-left: 4px solid var(--rot); background: var(--bg-soft);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 24px 28px; margin-top: 40px;
}
.info-card h3 { margin: 0 0 8px; }
.info-card p { margin: 0; }

/* -------------------------------- Footer ---------------------------------- */
.site-footer {
  background:
    radial-gradient(900px 480px at 110% -20%, rgba(0, 71, 153, .5), transparent 60%),
    var(--navy);
  color: rgba(255, 255, 255, .78);
  padding: clamp(70px, 8vw, 110px) 0 0;
  position: relative; overflow: clip;
}
.site-footer .f-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: clamp(30px, 4vw, 60px); padding-bottom: 60px;
}
.site-footer h3 {
  color: #fff; font-size: 15px; font-family: var(--f-label); font-weight: 500;
  letter-spacing: .24em; margin-bottom: 20px;
}
.site-footer .f-brand img { height: 58px; margin-bottom: 22px; }
.site-footer .f-brand p { font-size: 14.5px; max-width: 36ch; }
.site-footer ul { display: grid; gap: 10px; font-size: 15px; }
.site-footer ul a { transition: color .3s; }
.site-footer ul a:hover { color: #fff; }
.site-footer .f-partner { display: grid; gap: 18px; }
.site-footer .f-partner .fp-item { display: flex; align-items: center; gap: 14px; }
.site-footer .f-partner img.wappen { height: 54px; width: auto; }
.site-footer .f-partner img.mul { height: 30px; width: auto; }
.site-footer .f-partner b { color: #fff; font-family: var(--f-head); text-transform: uppercase; font-weight: 600; font-size: 16px; line-height: 1.25; display: block; }
.site-footer .f-partner small { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; font-family: var(--f-label); color: rgba(255,255,255,.55); display: block; margin-bottom: 4px; }
.f-mps {
  border-top: 1px solid rgba(255, 255, 255, .12);
  padding: 28px 0; font-size: 13px; color: rgba(255, 255, 255, .55);
}
.f-mps p { max-width: none; }
.f-mps a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.f-bottom {
  border-top: 1px solid rgba(255, 255, 255, .12);
  padding: 24px 0 30px; display: flex; flex-wrap: wrap; gap: 16px 30px;
  align-items: center; justify-content: space-between; font-size: 13.5px;
}
.f-bottom nav { display: flex; gap: 24px; }
.f-bottom a:hover { color: #fff; }

/* ------------------------------ Reveal system ----------------------------- */
html.js [data-reveal] { opacity: 0; }
html.js .no-motion [data-reveal], html.js.no-motion [data-reveal] { opacity: 1; }

/* ------------------------------ Page intro -------------------------------- */
.page-head { padding-top: calc(var(--header-h) + clamp(60px, 8vw, 110px)); padding-bottom: clamp(50px, 6vw, 90px); }

/* ------------------------------ Responsive -------------------------------- */
@media (max-width: 1080px) {
  .main-nav { display: none; }
  .nav-cta { display: none; }
  .burger { display: grid; }
  .grid-3, .values-grid, .notruf-cards { grid-template-columns: 1fr 1fr; }
  .kh-grid { grid-template-columns: 1fr 1fr; }
  .site-footer .f-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  :root { --header-h: 70px; }
  .brand img { height: 42px; }
  .grid-2, .feature-split { grid-template-columns: 1fr; }
  .feature-split.reverse > .fs-media { order: 0; }
  .grid-3, .values-grid, .values-grid.vg-2, .notruf-cards, .stats-grid { grid-template-columns: 1fr; }
  /* Notruf-Chips: volle, einheitliche Breite */
  .hero .notruf-row { flex-direction: column; align-items: stretch; max-width: 420px; }
  .hero .notruf-chip { width: 100%; }
  /* Horizontal-Rail (z.B. Unsere Ziele): Karten nebeneinander, Pin scrollt durch */
  [data-h-rail] { display: flex; gap: 16px; width: max-content; will-change: transform; }
  [data-h-rail] > * { width: 78vw; max-width: 340px; flex: none; }
  .vg-pin { overflow: visible; }
  .kh-grid { grid-template-columns: 1fr; }
  .news-card { grid-template-columns: 1fr; gap: 18px; }
  .news-date { flex-direction: row; align-items: baseline; gap: 10px; }
  .news-date::after { display: none; }
  .site-footer .f-grid { grid-template-columns: 1fr; }
  .stat b { font-size: 56px; }
  .wache-card { width: min(84vw, 360px); }
}

/* ==========================================================================
   V2 Motion Layer — Lenis, Curtain, Letterbox, Unveils, Watermark
   ========================================================================== */

/* Lenis */
html.lenis, html.lenis body { height: auto; }
html.lenis { scroll-behavior: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }

/* Header: verstecken beim Runterscrollen */
.site-header {
  transition: background-color .5s var(--ease), box-shadow .5s var(--ease),
              backdrop-filter .5s var(--ease), height .5s var(--ease),
              transform .6s var(--ease);
}
.site-header.is-hidden { transform: translateY(-102%); }
body.menu-open .site-header.is-hidden { transform: none; }

/* Hero: Frame-Move beim Wegscrollen */
.hero { background: var(--navy); }
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  overflow: hidden; will-change: transform;
  transform-origin: 50% 42%;
}
.hero-bg .hero-media, .hero-bg .hero-scrim { z-index: auto; }

/* Filmkorn */
.grain {
  position: absolute; inset: -2%; z-index: 2; pointer-events: none;
  opacity: .10; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20width='280'%20height='280'%3E%3Cfilter%20id='n'%3E%3CfeTurbulence%20type='fractalNoise'%20baseFrequency='0.82'%20numOctaves='3'%20stitchTiles='stitch'/%3E%3C/filter%3E%3Crect%20width='100%25'%20height='100%25'%20filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Status-Chip (Home-Hero) */
.status-chip {
  display: inline-flex; align-items: center; gap: 12px;
  margin-top: 22px; padding: 10px 18px 10px 14px; border-radius: 999px;
  background: rgba(6, 23, 70, .38); border: 1px solid rgba(255, 255, 255, .22);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  font-family: var(--f-label); font-weight: 500; font-size: 12px;
  letter-spacing: .16em; text-transform: uppercase; color: rgba(255, 255, 255, .88);
}
.status-chip .sc-dot {
  position: relative; width: 9px; height: 9px; border-radius: 50%;
  background: var(--rot); flex: none;
}
.status-chip .sc-dot::after {
  content: ''; position: absolute; inset: -5px; border-radius: 50%;
  border: 1.5px solid rgba(188, 16, 16, .8);
  animation: dotPulse 2s var(--ease) infinite;
}
@keyframes dotPulse {
  0% { transform: scale(.5); opacity: 1; }
  80%, 100% { transform: scale(1.5); opacity: 0; }
}
.status-chip b { font-weight: 500; color: #fff; font-variant-numeric: tabular-nums; }

/* Dive: Letterbox */
.dive-bar {
  position: absolute; left: 0; right: 0; height: 7svh; z-index: 4;
  background: #020516; pointer-events: none;
}
.dive-bar.top { top: 0; transform-origin: top; transform: scaleY(0); }
.dive-bar.bot { bottom: 0; transform-origin: bottom; transform: scaleY(0); }
.dive-stage canvas { will-change: transform; }

/* Scroll-Fortschritt */
.scroll-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 3px;
  z-index: 1200; pointer-events: none;
}
.scroll-progress i {
  display: block; height: 100%; width: 100%;
  background: linear-gradient(90deg, var(--rot), #ff6b6b);
  transform: scaleX(0); transform-origin: left;
}

/* Wachen-Zähler */
.wachen-progress { display: flex; align-items: center; gap: 22px; margin-top: 34px; padding-inline: var(--pad-x); }
.wachen-progress .wachen-bar { margin: 0; flex: 1; }
.wachen-count {
  font-family: var(--f-label); font-weight: 500; font-size: 13px;
  letter-spacing: .24em; color: var(--text-soft);
  font-variant-numeric: tabular-nums; flex: none;
}
.wachen-count b { color: var(--rot); font-weight: 500; }

/* Footer-Watermark */
.site-footer .f-watermark {
  display: block; white-space: nowrap; pointer-events: none;
  font-family: var(--f-head); font-weight: 700;
  font-size: clamp(90px, 13vw, 220px); line-height: .9;
  letter-spacing: .01em; color: transparent;
  -webkit-text-stroke: 1.5px rgba(255, 255, 255, .10);
  margin: 0 calc(-1 * var(--pad-x)) clamp(30px, 4vw, 60px);
  user-select: none;
}

/* Bild-Unveil: Startzustand nur mit JS + Motion */
html.js.motion-on .mf-inner, html.js.motion-on .sc-media,
html.js.motion-on .news-media figure { will-change: clip-path; }

/* Flow-Sektion direkt nach dem gepinnten Dive: reduzierter Einstieg */
.dive + .section { padding-block-start: clamp(48px, 6vw, 88px); }

/* Full-bleed Foto-Band mit Parallax */
.photo-band {
  position: relative; height: clamp(380px, 72vh, 700px);
  overflow: clip;
}
.photo-band img {
  position: absolute; inset: -12% 0; width: 100%; height: 124%;
  object-fit: cover;
}
.photo-band .mf-tag { z-index: 2; }

/* Geschichte-Duo: zwei ueberlappende Frames mit Tiefe */
.history-duo {
  position: relative;
  display: grid; grid-template-columns: 1.25fr .75fr;
  gap: clamp(20px, 3vw, 44px); align-items: end;
}
.history-duo .hd-small {
  margin-bottom: clamp(40px, 7vw, 110px);
  margin-left: calc(-1 * clamp(40px, 6vw, 110px));
  z-index: 2;
}
@media (max-width: 768px) {
  .photo-band { height: 46vh; }
  .history-duo { grid-template-columns: 1fr; align-items: start; }
  .history-duo .hd-small {
    margin: -60px 0 0 auto; width: 72%;
  }
}

/* Ken-Burns fuer statische Bild-Heros (FAQ, Aktuelles) */
html.motion-on .hero-sub-page .hero-media img {
  animation: kenburns 20s ease-in-out infinite alternate;
  transform-origin: 55% 42%;
}
@keyframes kenburns {
  from { transform: scale(1.02) translateX(0); }
  to { transform: scale(1.12) translateX(-1.6%); }
}

/* FAQ-Hero: rotierende echte Fragen */
.hero-rotate {
  margin-top: 22px; display: block;
  font-family: var(--f-label); font-weight: 500;
  font-size: clamp(15px, 1.5vw, 20px); letter-spacing: .12em;
  text-transform: uppercase; color: rgba(255, 255, 255, .85);
}
.hero-rotate .hr-mask {
  display: inline-flex; overflow: hidden; vertical-align: bottom;
  padding-bottom: 2px;
}
.hero-rotate .hr-line {
  display: inline-flex; align-items: center; gap: 12px; white-space: nowrap;
  will-change: transform;
}
.hero-rotate .hr-line::before {
  content: ''; width: 26px; height: 3px; background: var(--rot);
  border-radius: 2px; flex: none;
}

/* Zahlen: Unterlinie zeichnet sich mit dem Counter */
.stat .stat-line {
  display: block; width: 44px; height: 3px; margin-top: 14px;
  background: var(--rot); border-radius: 2px;
  transform: scaleX(0); transform-origin: left;
}

/* Foto-Labels erscheinen nach dem Unveil */
html.js.motion-on .media-frame .mf-tag { opacity: 0; }

/* 112-Chip im Hero: dezenter Licht-Sweep */
.hero .notruf-chip.rot { position: relative; overflow: hidden; }
html.motion-on .hero .notruf-chip.rot::after {
  content: ''; position: absolute; top: -30%; bottom: -30%; width: 42px;
  left: -70px; transform: skewX(-22deg);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .28), transparent);
  animation: chipSheen 7s ease-in-out infinite;
}
@keyframes chipSheen {
  0%, 82% { left: -70px; }
  94%, 100% { left: 130%; }
}

@media (max-width: 768px) {
  .dive-count { bottom: 56px; }
  .site-footer .f-watermark { -webkit-text-stroke-width: 1px; }
}

/* --------------------------- Reduced motion ------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .scroll-progress { display: none; }
}
