/* =====================================================================
   wiking-karriere.de – Stylesheet
   Aufbau aus alarm-service-center.de / interventions-team.de.
   Farbwelt und Schrift wie wiking-sicherheit.de (Helvetica, Petrol #324a4e / #1a2223), Akzent Magenta #e80868.
   ===================================================================== */

@view-transition { navigation: auto; }

:root {
  --font: "Helvetica Neue", "Helvetica", "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;

  /* Schriftskala: sechs Stufen für Fließtext und Bedienelemente */
  --fs-xs: 12px;
  --fs-sm: 13.5px;
  --fs-md: 15px;
  --fs-base: 17px;
  --fs-lg: 19px;
  --fs-xl: 22px;

  /* Text auf dunklem Grund: zwei Stufen */
  --on-dark: #d3dcde;
  --on-dark-muted: #a7b6b9;

  /* Radien: Flächen und Buttons 4px, Chips als Pille, Symbole rund */
  --radius: 4px;
  --pill: 999px;

  --petrol-900: #1a2223;
  --petrol-800: #1e2729;
  --petrol-700: #263438;
  --petrol-600: #324a4e;
  --petrol-500: #45565c;
  --petrol-400: #4c7a8a;
  --petrol-300: #5d9bb1;

  /* Eine Akzentfarbe für die ganze Seite: Magenta wie wiking-sicherheit.de (4,5:1 auf Weiß).
     --accent-light ist die helle Variante für Text auf dunklem Grund. */
  --accent: #e80868;
  --accent-ink: #e80868;
  --accent-hover: #c4065a;
  --accent-glow: #e80868;
  --accent-light: #ff7ab8;
  --partner: #93a1a4;
  --focus: #d80064;

  --bg: #ffffff;
  --bg-soft: #f3f5f5;
  --surface: #ffffff;
  --surface-2: #f7f9f9;
  --text: #1f2f32;
  --muted: #56676b;
  --line: #e1e7e8;
  --accent-text: #e80868;
  --link: var(--petrol-600);
  --link-line: rgba(50, 74, 78, .35);
  --shadow: 0 18px 50px rgba(50, 74, 78, .12);
  --map-land: #e6ecec;
  --map-line: #ffffff;

  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --header-h: 76px;
  color-scheme: light;
}

:root[data-theme="dark"] {
  --bg: #1a2223;
  --bg-soft: #1e2729;
  --surface: #263438;
  --surface-2: #222e31;
  --text: #f1f5f5;
  --muted: #a7b6b9;
  --line: #34454a;
  --accent-text: #ff5ca8;
  --focus: #ff5ca8;
  --link: #fff;
  --link-line: rgba(255, 255, 255, .35);
  --shadow: 0 18px 50px rgba(0, 0, 0, .35);
  --map-land: #263438;
  --map-line: #1a2223;
  color-scheme: dark;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #1a2223;
    --bg-soft: #1e2729;
    --surface: #263438;
    --surface-2: #222e31;
    --text: #f1f5f5;
    --muted: #a7b6b9;
    --line: #34454a;
    --accent-text: #ff5ca8;
    --focus: #ff5ca8;
    --link: #fff;
    --link-line: rgba(255, 255, 255, .35);
    --shadow: 0 18px 50px rgba(0, 0, 0, .35);
    --map-land: #263438;
    --map-line: #1a2223;
    color-scheme: dark;
  }
}

/* ---------- Basis ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { overflow-x: clip; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  font-family: var(--font);
  font-size: var(--fs-base);
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
p a, li a, dd a, .msg a, .location a { color: var(--link); text-decoration: underline; text-decoration-color: var(--link-line); text-decoration-thickness: 1px; text-underline-offset: 3px; transition: text-decoration-color .2s; }
p a:hover, li a:hover, dd a:hover, .msg a:hover, .location a:hover { text-decoration-color: var(--accent); }
.section--dark p a, .cta p a { color: #fff; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
::selection { background: var(--accent); color: #fff; }
strong, b, summary, th { font-weight: 500; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.skip-links { position: absolute; left: 0; top: 0; z-index: 1000; list-style: none; }
.skip-links a {
  position: fixed; left: 12px; top: -60px; background: var(--petrol-600); color: #fff;
  padding: 10px 16px; text-decoration: none; transition: top .2s;
}
.skip-links a:focus { top: 12px; }

/* ---------- Typografie ---------- */
h1, h2, h3, h4 { line-height: 1.15; font-weight: 500; letter-spacing: -.015em; overflow-wrap: break-word; hyphens: manual; -webkit-hyphens: manual; }
/* Silbentrennung nur am Handy und nur für sehr lange Wörter, die sonst über den Rand laufen (wie alarm-service-center.de) */
@media (max-width: 620px) {
  h1, h2, h3, h4 { hyphens: auto; -webkit-hyphens: auto; hyphenate-limit-chars: 18 7 7; -webkit-hyphenate-limit-before: 7; -webkit-hyphenate-limit-after: 7; }
}
.h-display { font-size: clamp(38px, 6.4vw, 84px); text-transform: uppercase; letter-spacing: -.02em; }
h1 { font-size: clamp(30px, 4.2vw, 54px); }
h2 { font-size: clamp(25px, 2.9vw, 38px); }
.eyebrow + h2, .eyebrow + h1 { margin-top: 14px; }
h2 + .lead, .section__head .lead { margin-top: 16px; }
.section__head .lead { margin-top: 0; }
h3 { font-size: clamp(19px, 1.7vw, 22px); }
.lead { font-size: clamp(17px, 1.45vw, 20px); color: var(--muted); max-width: 680px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: var(--fs-sm); font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--muted);
}
.eyebrow::before { content: ""; width: 32px; height: 2px; background: var(--accent); }
.mark {
  background: var(--accent); color: #fff; padding: 0 .16em; margin: 0 -.04em;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.prose p + p { margin-top: 1em; }
.prose h2 { margin: 1.6em 0 .6em; font-size: clamp(22px, 2.4vw, 30px); }
.prose h3 { margin: 1.4em 0 .4em; }
.prose ul { margin: .8em 0 0 1.1em; }
.prose li { margin: .3em 0; }
.prose { max-width: 780px; }

/* ---------- Buttons (Form wie wiking-sicherheit.de) ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: .6rem 2rem; min-height: 44px; border-radius: var(--radius);
  font-weight: 500; font-size: var(--fs-md); letter-spacing: 0; text-decoration: none; white-space: nowrap;
  background: var(--accent); color: #fff; border: 2px solid var(--accent);
  transition: background .3s ease, color .3s ease, border-color .3s ease, transform .3s ease, box-shadow .3s ease;
}
.btn:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
/* Auf dunklem Grund: wie im WIKING-Hero, primär wird beim Hover transparent mit weißem Rand */
.hero .btn:not(.btn--ghost):hover, .pagehead .btn:not(.btn--ghost):hover, .cta .btn:not(.btn--ghost):hover, .section--dark .btn:not(.btn--ghost):hover, .site-header .btn:not(.btn--ghost):hover {
  background: transparent; border-color: #fff; color: #fff;
}
.btn--ghost { background: transparent; color: inherit; border-color: currentColor; }
.btn--ghost:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.hero .btn--ghost, .pagehead .btn--ghost, .cta .btn--ghost, .site-header .btn--ghost, .section--dark .btn--ghost { color: #fff; border-color: rgba(255,255,255,.6); }
.btn--dark { background: #1e2729; border-color: #1e2729; color: #fff; box-shadow: 0 4px 10px rgba(50,74,78,.3); }
.btn--dark:hover { background: var(--petrol-600); border-color: var(--petrol-600); transform: translateY(-3px); box-shadow: 0 4px 10px rgba(50,74,78,.4); }
.btn--light { background: #fff; color: var(--petrol-900); border-color: #fff; }
.btn--light:hover { background: transparent; color: #fff; border-color: #fff; }
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; }
.link-arrow { font-weight: 500; text-decoration: none; color: var(--link); display: inline-flex; gap: 8px; align-items: center; }
.link-arrow::after { content: "→"; transition: transform .2s; }
.link-arrow:hover::after { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; background: var(--petrol-900); color: #fff;
  transition: background .3s, box-shadow .3s;
}
.site-header.is-over-hero { background: rgba(26, 34, 35, 0); }
.site-header.menu-open { background: var(--petrol-900); }
.site-header.is-scrolled { background: rgba(26, 34, 35, .94); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 1px 0 rgba(255,255,255,.06); }
.site-header .wrap { max-width: 1400px; display: flex; align-items: center; gap: 16px; height: var(--header-h); }
.brand { flex: none; display: block; line-height: 0; }
.brand img { height: 20px; width: auto; max-width: none; aspect-ratio: 513 / 30; }
.nav { margin-left: auto; }
.nav > ul { display: flex; list-style: none; gap: 4px; }
.nav > ul > li { position: relative; }
.nav a, .nav button.nav-top {
  display: flex; align-items: center; gap: 6px; height: var(--header-h); padding: 0 11px;
  color: #fff; text-decoration: none; font-size: var(--fs-md); background: none; border: 0; white-space: nowrap;
}
.nav a:hover, .nav button.nav-top:hover, .nav [aria-current="page"] { color: #fff; box-shadow: inset 0 -3px 0 var(--accent); }
.nav button.nav-top::after { content: ""; width: 7px; height: 7px; border-right: 1.5px solid; border-bottom: 1.5px solid; transform: rotate(45deg) translateY(-3px); }
.mega {
  position: absolute; top: 100%; left: 50%; translate: -50% 8px; min-width: 520px;
  background: var(--petrol-800); border-top: 3px solid var(--accent); box-shadow: 0 30px 60px rgba(0,0,0,.35);
  padding: 22px; display: grid; grid-template-columns: 1fr 1fr; gap: 4px 20px;
  opacity: 0; visibility: hidden; transition: opacity .2s, translate .2s, visibility .2s;
}
.mega.mega--wide { min-width: 640px; grid-template-columns: repeat(3, 1fr); }
.nav li:hover > .mega, .nav li:focus-within > .mega, .nav li.open > .mega { opacity: 1; visibility: visible; translate: -50% 0; }
.mega a { height: auto; padding: 8px 10px; display: block; font-size: var(--fs-md); border-radius: var(--radius); }
.mega a small { display: block; color: var(--on-dark-muted); font-size: var(--fs-xs); }
.mega a:hover { background: rgba(255,255,255,.06); color: #fff; }
.mega .mega-title { grid-column: 1 / -1; font-size: var(--fs-xs); letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark-muted); padding: 0 10px 6px; }
.header-cta { flex: none; white-space: nowrap; }
.header-tel { flex: none; padding: .5rem 1.1rem; gap: 8px; }
.header-tel svg { width: 17px; height: 17px; }
.nav-theme { display: none; }
.nav-top--plain::after { display: none; }
.nav-theme svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.menu-toggle { display: none; margin-left: auto; background: none; border: 0; color: #fff; width: 44px; height: 44px; }
.menu-toggle svg { width: 26px; height: 26px; stroke: currentColor; stroke-width: 2; fill: none; }

@media (max-width: 1200px) {
  .header-cta { display: none; }
}
@media (max-width: 1560px) {
  .header-tel span { display: none; }
  .header-tel { padding: .5rem .7rem; }
}
@media (max-width: 960px) {
  .header-tel { margin-left: auto; }
  .menu-toggle { margin-left: 4px; }
}
@media (max-width: 960px) {
  .menu-toggle { display: grid; place-items: center; }
  .nav {
    position: fixed; inset: var(--header-h) 0 0 0; background: var(--petrol-900);
    overflow-y: auto; padding: 12px var(--gutter) 40px; display: none;
  }
  .site-header.menu-open .nav { display: block; }
  .nav > ul { flex-direction: column; gap: 0; }
  .nav a, .nav button.nav-top { height: auto; padding: 14px 0; font-size: var(--fs-lg); width: 100%; border-bottom: 1px solid rgba(255,255,255,.08); }
  .mega, .mega.mega--wide { position: static; translate: none; min-width: 0; opacity: 1; visibility: visible; display: none; grid-template-columns: 1fr; box-shadow: none; padding: 8px 0 12px 12px; border-top: 0; background: transparent; }
  .nav li.open > .mega { display: grid; translate: none; }
  .nav li:hover > .mega { translate: none; }
  .mega a { font-size: var(--fs-base); }
  .nav-theme { display: block; }
  .nav .nav-top--plain { gap: 12px; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; color: #fff; background: var(--petrol-900); overflow: hidden;
  min-height: min(92vh, 860px); display: flex; align-items: flex-end;
  margin-top: calc(var(--header-h) * -1); padding: calc(var(--header-h) + 80px) 0 72px;
}
.hero__media { position: absolute; inset: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 70% center; animation: kenburns 22s ease-in-out infinite alternate; }
@keyframes kenburns { from { transform: scale(1.02) translate(-.4%, .2%); } to { transform: scale(1.09) translate(.4%, -.3%); } }
.hero::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(17,24,25,.92) 0%, rgba(17,24,25,.65) 45%, rgba(17,24,25,.15) 100%),
    linear-gradient(0deg, rgba(17,24,25,.85) 0%, transparent 45%);
}
.hero .wrap { position: relative; z-index: 2; width: 100%; }
.hero__content { max-width: 1120px; }
/* Headline wie bei wiking-sicherheit.de: eine Zeile, Schlüsselwort im roten Kasten.
   Die Schriftgröße richtet sich nach der Breite, damit "ALARMZENTRALE." nie im Wort umbricht. */
.hero h1 {
  text-transform: uppercase; font-weight: 600;
  hyphens: none; -webkit-hyphens: none; overflow-wrap: normal; word-break: keep-all;
  font-size: min(84px, 6.1vw); line-height: 1.12; letter-spacing: -.02em; margin: 18px 0 26px;
}
.hero h1 .mark { display: inline-block; padding: .02em .14em .04em; margin-left: .06em; animation: markwipe .9s cubic-bezier(.7,0,.2,1) .25s both; }
.hero h1 .mark span { display: inline-block; animation: markin .5s ease-out .85s both; }
@keyframes markwipe { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes markin { from { opacity: 0; transform: translateY(.18em); } }
.hero .lead { color: var(--on-dark); max-width: 640px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero .eyebrow { color: var(--on-dark); }

/* Leitstellen-Monitor-Anmutung: Scanlinie und Kamera-Einblendung oben rechts */
.hero__scan { position: absolute; inset: 0; z-index: 1; pointer-events: none; overflow: hidden; }
.hero__scan::before {
  content: ""; position: absolute; left: 0; right: 0; height: 140px; top: -140px;
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, .045) 85%, rgba(255, 255, 255, .12) 100%);
  animation: scan 7s linear infinite;
}
.hero__scan::after {
  content: ""; position: absolute; inset: 0; opacity: .22;
  background: repeating-linear-gradient(0deg, rgba(0,0,0,.35) 0 1px, transparent 1px 3px);
}
@keyframes scan { to { transform: translateY(calc(100vh + 280px)); } }


.hero__status {
  display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 56px; padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.18); font-size: var(--fs-sm); color: var(--on-dark);
}
.hero__status b { color: #fff; font-variant-numeric: tabular-nums; }
.live-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #3ddc84; margin-right: 8px; box-shadow: 0 0 0 0 rgba(61,220,132,.6); animation: live 2s infinite; vertical-align: 1px; }
@keyframes live { 70% { box-shadow: 0 0 0 9px rgba(61,220,132,0); } 100% { box-shadow: 0 0 0 0 rgba(61,220,132,0); } }

/* Kleiner Seitenkopf für Unterseiten */
.pagehead { position: relative; color: #fff; background: var(--petrol-900); overflow: hidden; margin-top: calc(var(--header-h) * -1); padding: calc(var(--header-h) + 70px) 0 64px; }
.pagehead__media { position: absolute; inset: 0; opacity: .5; }
.pagehead__media img { width: 100%; height: 100%; object-fit: cover; }
.pagehead::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(17,24,25,.95), rgba(17,24,25,.55)); }
.pagehead .wrap { position: relative; z-index: 2; }
.pagehead h1 { margin: 14px 0 16px; max-width: 900px; }
.pagehead .lead { color: var(--on-dark); }
.pagehead .eyebrow { color: var(--on-dark); }
.crumbs { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; font-size: var(--fs-sm); color: var(--on-dark-muted); margin-bottom: 26px; }
.crumbs li + li::before { content: "/"; margin-right: 6px; opacity: .6; }
.crumbs a { color: #fff; text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }

/* ---------- Sektionen ---------- */
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section--soft { background: var(--bg-soft); }
.section--dark { background: var(--petrol-900); color: #fff; }
.section--dark .lead, .section--dark .muted { color: var(--on-dark-muted); }
.section--dark .eyebrow { color: var(--on-dark-muted); }
.section__head { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 64px; align-items: end; margin-bottom: clamp(36px, 5vw, 64px); }
.section__head h2 { margin-top: 14px; }
.section__head--single { grid-template-columns: 1fr; max-width: 820px; }
.muted { color: var(--muted); }
.split { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.split--center { align-items: center; }

/* ---------- Kennzahlen ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); margin-top: 56px; }
.stat { padding: 28px 24px 8px 0; }
.stat + .stat { padding-left: 24px; border-left: 1px solid var(--line); }
.stat b { display: block; font-size: clamp(28px, 3vw, 42px); font-weight: 500; letter-spacing: -.02em; line-height: 1.05; }
.stat span { color: var(--muted); font-size: var(--fs-md); }

/* ---------- Leistungen als Kacheln: oberes Drittel Bild (Mini-Hero), darunter Text ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.tile {
  position: relative; display: flex; flex-direction: column; overflow: hidden; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--line); color: inherit; text-decoration: none;
  transition: transform .35s ease, box-shadow .35s ease;
}
.tile:hover, .tile:focus-visible { transform: translateY(-4px); box-shadow: var(--shadow); }
.tile__media { position: relative; aspect-ratio: 16 / 7.5; overflow: hidden; background: var(--petrol-900); isolation: isolate; }
.tile__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; filter: saturate(.8); transition: transform .9s cubic-bezier(.2,.7,.2,1), filter .5s; }
.tile__media::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(17,24,25,.05) 20%, rgba(17,24,25,.85) 100%); }
.tile__media::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .45s ease; }
.tile:hover .tile__media img, .tile:focus-visible .tile__media img { transform: scale(1.06); filter: saturate(1); }
.tile:hover .tile__media::after, .tile:focus-visible .tile__media::after { transform: scaleX(1); }
.tile__num { position: absolute; top: 16px; left: 20px; display: inline-flex; align-items: center; gap: 10px; font-size: var(--fs-xs); letter-spacing: .14em; color: rgba(255,255,255,.9); }
.tile__num::before { content: ""; width: 22px; height: 2px; background: var(--accent); }
.tile__media h3 { position: absolute; left: 20px; right: 20px; bottom: 16px; font-size: var(--fs-lg); color: #fff; text-shadow: 0 1px 3px rgba(0,0,0,.35); }
.tile__body { display: flex; flex-direction: column; gap: 12px; padding: 20px 20px 22px; flex: 1; }
.tile__text { color: var(--muted); font-size: var(--fs-md); line-height: 1.55; }
.tile__more { display: inline-flex; gap: 8px; align-items: center; margin-top: auto; font-size: var(--fs-md); font-weight: 500; color: var(--link); }
.tile__more::after { content: "→"; transition: transform .25s; }
.tile:hover .tile__more::after { transform: translateX(4px); }

/* ---------- USP-Leiste unter dem Hero ---------- */
.usps { background: var(--surface); border-bottom: 1px solid var(--line); position: relative; z-index: 3; }
.usps__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.usp { padding: 34px 28px 32px 0; }
.usp + .usp { padding-left: 28px; border-left: 1px solid var(--line); }
.usp__head { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.usp__icon { flex: none; display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--accent); color: #fff; }
.usp__icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.usp h3 { font-size: var(--fs-base); line-height: 1.3; }
.usp p { color: var(--muted); font-size: var(--fs-md); line-height: 1.55; }

/* ---------- Zielgruppen ---------- */
.segments { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.segment {
  display: flex; flex-direction: column; gap: 8px; padding: 28px; text-decoration: none; color: inherit;
  border-left: 3px solid var(--accent); background: var(--bg-soft); transition: background .3s, transform .3s;
}
a.segment:hover { background: var(--surface); transform: translateY(-3px); box-shadow: var(--shadow); }
.segment__sub { font-size: var(--fs-sm); color: var(--muted); }
.segment h3 { font-size: var(--fs-lg); }
.segment p { color: var(--muted); font-size: var(--fs-md); }
.segment .link-arrow { margin-top: auto; padding-top: 8px; }
.segment--cta { background: var(--petrol-900); color: #fff; border-left-color: var(--accent); }
.segment--cta p { color: var(--on-dark); }
.segment--cta .btn { align-self: flex-start; margin-top: auto; }

/* ---------- Alarmkette (Scroll-Fortschritt) ---------- */
.chain { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; counter-reset: s; }
.chain::before { content: ""; position: absolute; left: 0; right: 0; top: 23px; height: 2px; background: rgba(255,255,255,.14); }
.chain::after {
  content: ""; position: absolute; left: 0; top: 23px; height: 2px; background: var(--accent);
  width: calc(var(--progress, 0) * 100%); transition: width .15s linear; box-shadow: 0 0 12px var(--accent);
}
.chain__step { position: relative; padding: 0 20px 0 0; z-index: 1; }
.chain__dot {
  width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; font-weight: 500; font-size: var(--fs-md);
  background: var(--petrol-800); border: 2px solid rgba(255,255,255,.2); color: #fff; transition: background .3s, border-color .3s, transform .3s;
}
.chain__step.is-on .chain__dot { background: var(--accent-ink); border-color: var(--accent); transform: scale(1.06); }
.chain__step h3 { margin: 20px 0 8px; font-size: var(--fs-lg); }
.chain__step p { color: var(--on-dark-muted); font-size: var(--fs-md); }
.chain__time { display: block; font-size: var(--fs-xs); letter-spacing: .12em; color: #ff7ab8; margin-top: 14px; font-variant-numeric: tabular-nums; }

/* ---------- Karte ---------- */
.mapbox { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.map { position: relative; width: 100%; max-width: 520px; margin: 0 auto; }
.map svg { width: 100%; height: auto; overflow: hidden; border-radius: var(--radius); }
.map .land { fill: var(--map-land); stroke: var(--map-line); stroke-width: 1.2; }
.map .focus { fill: rgba(232, 8, 104, .28); stroke: var(--accent); stroke-width: 1; transition: fill .3s; cursor: pointer; }
.map .focus.is-active, .map .focus:hover { fill: rgba(232, 8, 104, .55); }
.map .partner { fill: var(--partner); opacity: .75; }
.map .partner-pulse { fill: none; stroke: var(--partner); opacity: 0; transform-box: fill-box; transform-origin: center; animation: partner 6s ease-out infinite; }
@keyframes partner { 0% { opacity: .8; transform: scale(.2); } 60%, 100% { opacity: 0; transform: scale(2.4); } }
.map .base { fill: var(--accent); stroke: #fff; stroke-width: 2; }
.map .base-ring { fill: none; stroke: var(--accent); transform-box: fill-box; transform-origin: center; animation: basering 2.6s ease-out infinite; }
@keyframes basering { 0% { opacity: .9; transform: scale(.4); } 100% { opacity: 0; transform: scale(2.6); } }
.map .link { fill: none; stroke: var(--accent); stroke-width: 1; stroke-dasharray: 3 5; opacity: .55; animation: dash 30s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -400; } }
.map .lbl { font-family: var(--font); font-weight: 500; fill: var(--text); paint-order: stroke; stroke: var(--bg); stroke-width: 4px; }
.legend { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: var(--fs-sm); color: var(--muted); margin-top: 16px; }
.legend i { display: inline-block; width: 12px; height: 12px; border-radius: 50%; margin-right: 8px; vertical-align: -1px; }
.region-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0; }
.region-tabs button {
  border: 1px solid var(--line); background: var(--surface); border-radius: var(--pill); padding: 8px 16px; font-size: var(--fs-sm); font-weight: 500; color: var(--muted);
}
.region-tabs button[aria-selected="true"] { background: var(--petrol-600); border-color: var(--petrol-600); color: #fff; }
.region-panel { border-left: 3px solid var(--accent); padding: 4px 0 4px 20px; min-height: 150px; }
.region-panel h3 { margin-bottom: 6px; }
.region-panel p { color: var(--muted); }
.region-panel .towns { margin-top: 10px; font-size: var(--fs-md); }
.chips a { color: inherit; }
.region-panel .link-arrow { margin-top: 14px; }

/* ---------- Regionen / Orte ---------- */
.region-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.region-card {
  position: relative; display: flex; flex-direction: column; gap: 8px; padding: 30px 26px; text-decoration: none;
  background: var(--surface); border: 1px solid var(--line); transition: border-color .2s, transform .2s;
}
.region-card:hover { border-color: var(--accent); transform: translateY(-3px); }
.region-card .badge { align-self: flex-start; font-size: var(--fs-xs); font-weight: 500; letter-spacing: .1em; text-transform: uppercase; background: var(--bg-soft); color: var(--muted); border: 1px solid var(--line); padding: 4px 10px; border-radius: var(--pill); }
.region-card h3 { font-size: var(--fs-xl); }
.region-card p { color: var(--muted); font-size: var(--fs-md); }
.region-card .link-arrow { margin-top: auto; }
/* Ortslisten: Name und Art untereinander, alle Einträge linksbündig im gleichen Raster */
.townlist { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 32px; list-style: none; }
.townlist li { border-bottom: 1px solid var(--line); }
.townlist a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; color: var(--text); text-decoration: none; }
.townlist a::after { content: "→"; color: var(--muted); transition: transform .2s, color .2s; }
.townlist a:hover::after { transform: translateX(4px); color: var(--accent); }
.townlist a span { display: grid; gap: 2px; }
.townlist a strong { font-weight: 500; }
.townlist small { color: var(--muted); font-size: var(--fs-sm); font-weight: 400; }
@media (max-width: 900px) { .townlist { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .townlist { grid-template-columns: 1fr; } }
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; }
.chips li { background: var(--bg-soft); border: 1px solid var(--line); padding: 6px 12px; font-size: var(--fs-sm); border-radius: var(--pill); }
.facts { display: grid; grid-template-columns: auto 1fr; gap: 10px 24px; font-size: var(--fs-md); }
.facts dt { color: var(--muted); }
.facts dd { font-weight: 500; }
.infobox { background: var(--surface); border: 1px solid var(--line); padding: 28px; box-shadow: var(--shadow); }
.infobox h3 { margin-bottom: 16px; font-size: var(--fs-lg); }

/* ---------- Vorteile / Liste ---------- */
.ticks { list-style: none; display: grid; gap: 0; }
.ticks li { position: relative; padding: 16px 0 16px 38px; border-bottom: 1px solid var(--line); }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 19px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--accent-ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'%3E%3Cpath d='M6 12l4 4 8-8'/%3E%3C/svg%3E") center/14px no-repeat;
}
.ticks strong { display: block; }
.ticks span { color: var(--muted); font-size: var(--fs-md); }
.section--dark .ticks li { border-color: rgba(255,255,255,.12); }
.section--dark .ticks span { color: var(--on-dark-muted); }

/* ---------- Zertifikate ---------- */
.certs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.cert { background: var(--surface); padding: 26px 22px; }
.cert b { display: block; font-size: var(--fs-xl); font-weight: 500; letter-spacing: -.01em; }
.cert span { color: var(--muted); font-size: var(--fs-md); display: block; }
.cert__owners { margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--line); display: grid; gap: 2px; }
.cert small { display: block; font-size: var(--fs-xs); letter-spacing: .04em; color: var(--muted); }

/* ---------- Kundenlogos (Endlosband) ---------- */
.logos { position: relative; overflow: hidden; }
/* Seitliches Ausblenden über Verläufe in Flächenfarbe (statt mask-image),
   damit die Logos per multiply mit dem Hintergrund verschmelzen können */
.logos::before, .logos::after { content: ""; position: absolute; top: 0; bottom: 0; width: 10%; z-index: 1; pointer-events: none; }
.logos::before { left: 0; background: linear-gradient(90deg, var(--ref-bg), transparent); }
.logos::after { right: 0; background: linear-gradient(270deg, var(--ref-bg), transparent); }
.logos__track { display: flex; gap: 48px; width: max-content; animation: logos 60s linear infinite; }
.logos:hover .logos__track { animation-play-state: paused; }
.logos__track { align-items: center; gap: 56px; mix-blend-mode: multiply; }
.ref { height: 64px; width: auto; filter: grayscale(1); opacity: .75; transition: filter .3s, opacity .3s; }
.ref:hover { filter: none; opacity: 1; }
/* Referenzen bleiben in beiden Farbmodi hell, damit die Original-Logos sauber wirken */
.section--light {
  --ref-bg: #ffffff;
  --bg: #ffffff; --bg-soft: #f3f5f5; --surface: #ffffff; --text: #1f2f32; --muted: #56676b; --line: #e1e7e8;
  --link: var(--petrol-600); --link-line: rgba(50, 74, 78, .35);
  background: var(--ref-bg); color: var(--text); color-scheme: light;
}
/* Im Dunkelmodus: neutrales Mittelgrau, Schrift wie im Dunkelmodus (weiß) */
:root[data-theme="dark"] .section--light { --ref-bg: #5a6b6f; --text: #ffffff; --muted: #e3e8e9; --line: rgba(255,255,255,.18); --link: #fff; --link-line: rgba(255,255,255,.4); color-scheme: dark; }
:root[data-theme="dark"] .section--light .ref { opacity: .95; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .section--light { --ref-bg: #5a6b6f; --text: #ffffff; --muted: #e3e8e9; --line: rgba(255,255,255,.18); --link: #fff; --link-line: rgba(255,255,255,.4); color-scheme: dark; }
  :root:not([data-theme="light"]) .section--light .ref { opacity: .95; }
}
@keyframes logos { to { transform: translateX(-50%); } }

/* ---------- Partner / Gruppe ---------- */
.group { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.group__logos { display: grid; gap: 28px; justify-items: start; }
.group__logos img { max-height: 120px; width: auto; }
.group__logos .light-only { display: block; }
.group__logos .dark-only { display: none; }
:root[data-theme="dark"] .group__logos .light-only { display: none; }
:root[data-theme="dark"] .group__logos .dark-only { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .group__logos .light-only { display: none; }
  :root:not([data-theme="light"]) .group__logos .dark-only { display: block; }
}
.audience { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.audience article { padding: 36px 32px; background: var(--surface); border: 1px solid var(--line); border-top: 3px solid var(--accent); }
.audience h3 { margin: 10px 0 12px; font-size: var(--fs-xl); }
.audience p { color: var(--muted); }
.audience .ticks { margin: 18px 0 24px; }

/* ---------- FAQ ---------- */
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 44px 22px 0; position: relative; font-weight: 500; font-size: var(--fs-lg);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 16px; font-size: 28px; font-weight: 300; color: var(--accent); transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding: 0 0 22px; color: var(--muted); max-width: 820px; }
.faq details > div p + p { margin-top: .8em; }

/* ---------- CTA-Band ---------- */
.cta {
  position: relative; overflow: hidden; background: var(--petrol-900); color: #fff; padding: clamp(56px, 8vw, 96px) 0;
}
.cta::before {
  content: ""; position: absolute; inset: 0; opacity: .35;
  background: radial-gradient(600px 300px at 85% 30%, rgba(232, 8, 104, .5), transparent 70%);
}
.cta .wrap { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; }
.cta h2 { max-width: 640px; }
.cta .tel-big { display: block; font-size: clamp(30px, 4vw, 48px); font-weight: 500; color: #fff; text-decoration: none; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.cta small { color: var(--on-dark-muted); }

/* ---------- Kontakt ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); }
.locations { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.location { padding: 22px; border: 1px solid var(--line); background: var(--surface); font-size: var(--fs-md); }
.location h3 { font-size: var(--fs-base); margin-bottom: 6px; }

.form { display: grid; gap: 14px; }
.form label { font-size: var(--fs-sm); font-weight: 500; display: grid; gap: 6px; }
.form input, .form select, .form textarea {
  width: 100%; padding: 13px 14px; font: inherit; font-size: var(--fs-base); color: var(--text); background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius);
}
.form textarea { min-height: 130px; resize: vertical; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form .check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; }
.form .check input { width: 20px; height: 20px; margin-top: 3px; flex: none; }
.form .hp { position: absolute; left: -9999px; }
.form-status { font-weight: 500; }

/* ---------- Footer (Aufbau wie wiking-sicherheit.de) ---------- */
.site-footer { background: var(--petrol-900); color: var(--on-dark); font-size: var(--fs-md); line-height: 1.6; padding-top: 64px; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.f-top { display: grid; grid-template-columns: 1.15fr 1fr 1.1fr 1fr; gap: 40px; padding-bottom: 48px; }
.f-head { font-size: var(--fs-md); font-weight: 500; color: #fff; text-transform: none; letter-spacing: 0; margin-bottom: 14px; padding-bottom: 10px; border-bottom: 1px solid rgba(255,255,255,.12); }
.f-brand img { width: 260px; height: auto; margin-bottom: 18px; }
.f-claim { font-style: italic; color: var(--on-dark); }
.f-small { font-style: italic; margin-top: 12px; font-size: var(--fs-sm); }
.f-assist {
  margin-top: 18px; display: inline-flex; align-items: center; gap: 10px; background: transparent; color: #fff;
  border: 1px solid rgba(255,255,255,.25); border-radius: var(--radius); padding: 9px 14px; font-size: var(--fs-sm); font-weight: 500;
}
.f-assist:hover { background: rgba(255,255,255,.08); }
.f-lines { display: grid; gap: 8px; margin-top: 14px; }
.f-ico { display: inline-flex; align-items: center; gap: 10px; }
.f-locs { list-style: none; display: grid; gap: 14px; }
.f-locs strong { color: #fff; font-weight: 500; }
.muted-link { color: var(--on-dark-muted) !important; font-size: var(--fs-sm); }
.f-nsl { border-left: 3px solid var(--accent); background: rgba(255,255,255,.04); padding: 16px 18px; }
.f-nsl__state { display: flex; align-items: center; color: #fff; font-weight: 500; margin-bottom: 8px; }
.f-nsl__tel { margin-top: 12px; font-size: var(--fs-lg); font-weight: 500; font-variant-numeric: tabular-nums; }
.f-nsl__tel svg { width: 20px; height: 20px; }

.f-form { padding: 40px 0 48px; border-top: 1px solid rgba(255,255,255,.1); }
.f-title { font-size: var(--fs-base); font-weight: 400; text-transform: none; letter-spacing: 0; color: #fff; margin-bottom: 18px; }
.form--dark input, .form--dark textarea, .form--dark label { font-weight: 400; }
.form--dark input, .form--dark textarea {
  background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .16); color: #fff;
  border-radius: var(--radius); padding: 13px 14px; transition: border-color .2s, background .2s;
}
.form--dark input:hover, .form--dark textarea:hover { border-color: rgba(255, 255, 255, .3); }
.form--dark input:focus, .form--dark textarea:focus { outline: none; border-color: var(--accent); background: rgba(255, 255, 255, .07); }
.form--dark input::placeholder, .form--dark textarea::placeholder { color: var(--on-dark-muted); }
.form--dark textarea { min-height: 110px; }
.form--dark .check { color: var(--on-dark); font-size: var(--fs-sm); }
.form--dark .check input { accent-color: var(--accent); }
.form--dark .check a { color: #fff; text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .4); text-underline-offset: 3px; }
.form--dark .check a:hover { text-decoration-color: var(--accent); }
/* Senden-Button wie die übrigen Hauptbuttons: Petrol, beim Überfahren dunkler und leicht angehoben */
.f-submit { width: 100%; font-weight: 500; }
.f-submit:hover, .f-submit:focus-visible { background: var(--accent-hover); border-color: var(--accent-hover); color: #fff; transform: translateY(-2px); }
.f-submit:disabled { opacity: .7; transform: none; cursor: wait; }
.f-form__foot { display: flex; justify-content: space-between; gap: 16px; font-size: var(--fs-sm); color: var(--on-dark-muted); }

.form--dark .form-status { color: #fff; }

.f-links { padding: 28px 0; border-top: 1px solid rgba(255,255,255,.1); }
.f-links ul { list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px 24px; }
.f-links li a { display: flex; gap: 10px; color: #fff; }
.f-links li a::before { content: "→"; color: var(--on-dark); flex: none; }
.f-links--meta { border-top: 0; padding-top: 0; }
.f-links--meta ul { padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1); }

.f-end { padding: 48px 0 120px; border-top: 1px solid rgba(255,255,255,.1); }
.f-end__brandrow { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px 32px; }
.f-end__brand img { display: block; width: 420px; max-width: 86vw; height: auto; aspect-ratio: 513 / 30; }
.f-end__group { font-size: var(--fs-md); color: var(--on-dark); }
.f-end__bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 32px; margin-top: 40px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1); font-size: var(--fs-sm); color: var(--on-dark-muted); }
.f-legal { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 24px; font-size: var(--fs-sm); }
@media (max-width: 760px) {
  .f-end__brandrow { flex-direction: column; text-align: center; }
  .f-end__bar { flex-direction: column; text-align: center; }
  .f-legal { justify-content: center; gap: 8px 20px; }
}

@media (max-width: 1080px) {
  .f-top { grid-template-columns: 1fr 1fr; }
  .f-links ul { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 620px) {
  .f-top { grid-template-columns: 1fr; gap: 32px; }
  .f-links ul { grid-template-columns: 1fr 1fr; }
  .f-form__foot { flex-direction: column; }
}

/* ---------- Schwebende Aktionsleiste (wie wiking-sicherheit.de) ---------- */
.rail { position: fixed; right: 18px; bottom: 22px; z-index: 70; display: grid; gap: 10px; }
.rail button, .rail a {
  width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; border: 0;
  background: var(--surface); color: var(--text); box-shadow: 0 6px 20px rgba(0,0,0,.18); text-decoration: none;
  transition: transform .2s, background .2s;
}
.rail button:hover, .rail a:hover { transform: translateY(-2px); }
.rail svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.rail [data-top] { opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s, transform .2s; }
.rail.show-top [data-top] { opacity: 1; visibility: visible; }
.rail .rail-chat { background: var(--accent-ink); color: #fff; width: 56px; height: 56px; }
.rail .rail-chat svg { width: 26px; height: 26px; }
.rail [aria-pressed="true"] { background: var(--petrol-600); color: #fff; }
.theme-icon-dark { display: none; }
:root[data-theme="dark"] .theme-icon-light { display: none; }
:root[data-theme="dark"] .theme-icon-dark { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-icon-light { display: none; }
  :root:not([data-theme="light"]) .theme-icon-dark { display: block; }
}

/* ---------- Kontaktassistent ---------- */
.assistant {
  position: fixed; right: 18px; bottom: 22px; z-index: 80; width: min(400px, calc(100vw - 24px)); height: min(620px, calc(100dvh - 40px));
  display: flex; flex-direction: column; background: var(--surface); color: var(--text); border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,.35); transform-origin: bottom right;
  transition: transform .28s cubic-bezier(.2,.8,.2,1), opacity .2s;
}
.assistant[hidden] { display: flex; transform: scale(.6) translateY(30px); opacity: 0; pointer-events: none; visibility: hidden; }
.assistant__head { background: var(--petrol-900); color: #fff; padding: 16px 18px; display: flex; align-items: center; gap: 12px; }
.assistant__head img { height: 18px; width: auto; }
.assistant__head p { font-size: var(--fs-xs); color: var(--on-dark-muted); line-height: 1.3; }
.assistant__head strong { display: block; font-size: var(--fs-md); color: #fff; }
.assistant__close { margin-left: auto; background: none; border: 0; color: #fff; width: 36px; height: 36px; font-size: 24px; line-height: 1; }
.assistant__progress { height: 3px; background: rgba(255,255,255,.08); }
.assistant__progress span { display: block; height: 100%; width: 0; background: var(--accent); transition: width .3s; }
.assistant__log { flex: 1; overflow-y: auto; padding: 18px; display: flex; flex-direction: column; gap: 10px; background: var(--bg-soft); }
.msg { max-width: 86%; padding: 10px 14px; border-radius: var(--radius); font-size: var(--fs-md); line-height: 1.5; white-space: pre-line; animation: msg .25s ease-out; }
@keyframes msg { from { opacity: 0; transform: translateY(6px); } }
.msg--bot { background: var(--surface); border: 1px solid var(--line); border-bottom-left-radius: 2px; align-self: flex-start; }
.msg--me { background: var(--petrol-600); color: #fff; border-bottom-right-radius: 2px; align-self: flex-end; }
.msg a { font-weight: 500; }
.msg--typing span { display: inline-block; width: 6px; height: 6px; margin: 0 2px; border-radius: 50%; background: var(--muted); animation: typing 1s infinite; }
.msg--typing span:nth-child(2) { animation-delay: .15s; } .msg--typing span:nth-child(3) { animation-delay: .3s; }
@keyframes typing { 50% { transform: translateY(-4px); opacity: .4; } }
.quick { display: flex; flex-wrap: wrap; gap: 8px; }
.quick button { border: 1px solid var(--petrol-400); background: var(--surface); color: var(--text); padding: 7px 12px; border-radius: var(--pill); font-size: var(--fs-sm); }
.quick button:hover { background: var(--petrol-600); color: #fff; border-color: var(--petrol-600); }
.assistant__form { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--line); background: var(--surface); }
.assistant__form input { flex: 1; min-width: 0; padding: 12px; border: 1px solid var(--line); border-radius: var(--radius); font: inherit; font-size: var(--fs-base); background: var(--bg); color: var(--text); }
.assistant__form button { width: 46px; border: 0; border-radius: var(--radius); background: var(--accent-ink); color: #fff; display: grid; place-items: center; }
.assistant__form button svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; }
.assistant__note { font-size: var(--fs-xs); color: var(--muted); padding: 0 14px 10px; background: var(--surface); }

/* ---------- Scroll-Reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1); transition-delay: calc(var(--i, 0) * 80ms); }
.reveal.is-in { opacity: 1; transform: none; }
html:not(.js) .reveal { opacity: 1; transform: none; }

/* ---------- Theme-Wechsel mit Kreis-Animation ---------- */
::view-transition-old(root), ::view-transition-new(root) { animation: none; mix-blend-mode: normal; }
.theme-switching::view-transition-new(root) { animation: reveal-theme .6s cubic-bezier(.4,0,.2,1); }
@keyframes reveal-theme { from { clip-path: circle(0 at var(--tx, 100%) var(--ty, 100%)); } to { clip-path: circle(150vmax at var(--tx, 100%) var(--ty, 100%)); } }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .cards, .segments { grid-template-columns: 1fr 1fr; }
  .usps__grid { grid-template-columns: 1fr 1fr; }
  .usp:nth-child(3) { border-left: 0; padding-left: 0; }
  .usp { border-bottom: 1px solid var(--line); }
  .region-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .section__head, .split, .mapbox, .group, .contact-grid, .audience { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { border-left: 0; padding-left: 0; }
  .stat { border-bottom: 1px solid var(--line); padding-bottom: 20px; }
  .chain { grid-template-columns: 1fr; gap: 28px; padding-left: 0; }
  .chain::before, .chain::after { left: 23px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; }
  .chain::after { height: calc(var(--progress, 0) * 100%); width: 2px; }
  .chain__step { display: grid; grid-template-columns: 48px 1fr; gap: 0 20px; padding: 0; }
  .chain__step h3 { margin: 10px 0 6px; }
  .chain__step > :not(.chain__dot) { grid-column: 2; }
  .certs { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  body { font-size: var(--fs-base); }
  .cards, .region-grid, .locations, .segments, .usps__grid { grid-template-columns: 1fr; }
  .usp, .usp + .usp { padding: 24px 0; border-left: 0; }
  .form .row { grid-template-columns: 1fr; }
  .brand img { height: auto; width: min(230px, 56vw); }
  .hero { min-height: 88vh; padding-bottom: 48px; }
  .hero h1 { font-size: calc((100vw - 2 * var(--gutter)) / 10.2); }
  .hero__status { margin-top: 36px; }
  .rail { right: 12px; bottom: 14px; }
  .rail .rail-extra { display: none; }
  .assistant { right: 12px; bottom: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

@media print {
  .site-header, .rail, .assistant, .cta, .site-footer .f-form, .site-footer .f-links { display: none !important; }
  .hero, .pagehead { color: #000; background: none; margin: 0; padding: 20px 0; min-height: 0; }
  .hero::after, .pagehead::after, .hero__media, .pagehead__media, .hero__scan { display: none; }
  .hero .lead, .pagehead .lead { color: #333; }
}

.hero-map { position: relative; }
.hero-map svg { width: 100%; height: auto; max-height: 68vh; overflow: hidden;
  -webkit-mask-image: radial-gradient(farthest-side, #000 62%, transparent); mask-image: radial-gradient(farthest-side, #000 62%, transparent); }
.hm-land { fill: rgba(255, 255, 255, .05); stroke: rgba(255, 255, 255, .2); stroke-width: 1; }
.hm-focus { fill: rgba(255, 122, 184, .2); stroke: rgba(255, 122, 184, .8); stroke-width: 1.2; }
.hm-partner { fill: rgba(255, 255, 255, .35); }
.hm-base { fill: var(--accent-light); }
.hm-base-ring { fill: none; stroke: var(--accent-light); transform-box: fill-box; transform-origin: center; animation: basering 2.8s ease-out infinite; }
.hm-hub { fill: #fff; }
.hm-hub-ring { fill: none; stroke: rgba(255, 255, 255, .7); transform-box: fill-box; transform-origin: center; animation: basering 3.4s ease-out infinite; }
.hm-lbl { font-family: var(--font); font-weight: 500; fill: #fff; letter-spacing: .04em; }
.hm-ping { fill: none; stroke: #fff; stroke-width: 1.5; }
.hm-dot { fill: #fff; }
.hm-sig { fill: none; stroke: rgba(255, 255, 255, .8); stroke-width: 1.5; }
.hm-disp { fill: none; stroke: var(--accent-light); stroke-width: 2; }
.hero-map__legend { display: flex; flex-wrap: wrap; gap: 6px 18px; justify-content: center; margin-top: 10px; font-size: var(--fs-xs); color: var(--on-dark-muted); }
.hero-map__legend i { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 7px; vertical-align: 0; }
.lg-alarm { background: #fff; }
.lg-team { background: var(--accent-light); }
.lg-partner { background: rgba(255, 255, 255, .35); }

/* ---------- Markenlogos (Farbe hell, Weiß dunkel) ---------- */
.brand-d { display: none; }
:root[data-theme="dark"] .brand-l { display: none; }
:root[data-theme="dark"] .brand-d { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .brand-l { display: none; }
  :root:not([data-theme="light"]) .brand-d { display: block; }
}
.brand-card .brand-l, .brand-card .brand-d { max-width: 100%; object-fit: contain; margin: 4px auto 22px; }
.brand-card > p:first-of-type { padding-top: 18px; border-top: 1px solid var(--line); }
.brand-card h3 { margin-top: auto; padding-top: 14px; font-size: var(--fs-lg); }
.brand-card .link-arrow { margin-top: 2px; }


/* Heller Button auf dunklem Grund (z. B. „Anfrage online starten“): beim Überfahren Petrol statt durchsichtig */
.btn.btn--light:hover, .cta .btn.btn--light:not(.btn--ghost):hover, .section--dark .btn.btn--light:not(.btn--ghost):hover {
  background: var(--accent); border-color: var(--accent); color: #fff;
}

.section__head--single .lead { margin-top: 16px; }

/* Ortsseiten: Fließtext beginnt bündig mit der Überblickskachel */
.split > .prose > h2:first-child { margin-top: 0; }

/* Ortsseiten: Kartenausschnitt des Einsatzgebiets */
.mapzoom svg { width: 100%; height: auto; display: block; background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius); }
.mz-land { fill: var(--map-land); stroke: var(--map-line); }
.mz-focus { fill: rgba(232, 8, 104, .10); stroke: rgba(232, 8, 104, .55); }
.mz-town { fill: var(--muted); transition: fill .2s; }
.mapzoom a:hover .mz-town { fill: var(--accent); }
.mz-cur { fill: var(--accent); stroke: #fff; }
.mz-ring { fill: none; stroke: var(--accent); opacity: .5; }
.mz-base { fill: #fff; stroke: var(--accent); }
.mz-lbl { font-family: var(--font); fill: var(--text); paint-order: stroke; stroke: var(--bg-soft); }
.mz-lbl--cur { font-weight: 500; }
.mz-lbl--base { fill: var(--muted); }

/* ---------- Angebotskonfigurator ---------- */
.konfig-wrap { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.konfig-intro .ticks { margin-top: 22px; }
.konfig { background: var(--surface); border: 1px solid var(--line); border-top: 3px solid var(--accent); box-shadow: var(--shadow); padding: clamp(22px, 3.4vw, 40px); scroll-margin-top: calc(var(--header-h) + 20px); min-height: 420px; }
.konfig__meta { display: flex; justify-content: space-between; gap: 16px; font-size: var(--fs-sm); color: var(--muted); margin-bottom: 10px; }
.konfig__crumbs { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.konfig__count { flex: none; font-variant-numeric: tabular-nums; }
.konfig__bar { height: 3px; background: var(--line); margin-bottom: 30px; }
.konfig__bar i { display: block; height: 100%; background: var(--accent); transition: width .4s ease; }
.kstep__h { font-size: var(--fs-xl); outline: none; }
.kstep__p { color: var(--muted); margin: 8px 0 22px; font-size: var(--fs-md); }
.kgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.kgrid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.kchoice {
  position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; text-align: left;
  padding: 18px 18px 20px; font: inherit; color: var(--text); background: var(--bg-soft); border: 1px solid var(--line);
  border-left: 3px solid transparent; border-radius: var(--radius); cursor: pointer; transition: border-color .2s, background .2s, transform .2s;
}
.kchoice:hover { border-color: var(--muted); border-left-color: var(--accent); transform: translateY(-2px); }
.kchoice:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.kchoice.is-on { border-color: var(--accent); border-left-color: var(--accent); background: var(--surface); }
.kchoice__icon svg { width: 34px; height: 34px; fill: none; stroke: var(--accent); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.kchoice__icon { margin-bottom: 6px; }
.kchoice__title { font-size: var(--fs-base); font-weight: 500; }
.kchoice__desc { font-size: var(--fs-sm); color: var(--muted); line-height: 1.5; }
.kchoice__badge { position: absolute; top: 12px; right: 12px; font-size: var(--fs-xs); letter-spacing: .08em; text-transform: uppercase; color: #fff; background: var(--accent); padding: 3px 8px; border-radius: var(--pill); }
.kchoice--rec .kchoice__title { padding-right: 96px; }
.kchoice__more { margin-top: 4px; font-size: var(--fs-sm); color: var(--link); text-decoration: underline; text-decoration-color: var(--link-line); text-underline-offset: 3px; }
.kchoice__more:hover { text-decoration-color: var(--accent); }
.ktags { display: flex; flex-wrap: wrap; gap: 10px; }
.ktag { font: inherit; font-size: var(--fs-md); color: var(--text); background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--pill); padding: 10px 18px; cursor: pointer; transition: border-color .2s, background .2s; }
.ktag:hover { border-color: var(--muted); }
.ktag.is-on { background: var(--accent); border-color: var(--accent); color: #fff; }
.ktag:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.knav { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line); }
.knav--solo { justify-content: flex-start; }
.knav .btn:disabled { opacity: .45; cursor: not-allowed; transform: none; }
.kdrop { display: grid; gap: 4px; place-items: center; text-align: center; padding: 30px 20px; border: 1px dashed var(--muted); border-radius: var(--radius); background: var(--bg-soft); cursor: pointer; transition: border-color .2s, background .2s; }
.kdrop:hover, .kdrop.is-drag { border-color: var(--accent); background: var(--surface); }
.kdrop input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.kdrop:focus-within { outline: 2px solid var(--focus); outline-offset: 2px; }
.kdrop__t { font-weight: 500; }
.kdrop__s { font-size: var(--fs-sm); color: var(--muted); }
.kfiles { list-style: none; display: grid; gap: 8px; margin: 12px 0 18px; }
.kfiles li { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--radius); font-size: var(--fs-sm); }
.kfiles li span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.kfiles small { color: var(--muted); }
.kfiles__x { font: inherit; font-size: 20px; line-height: 1; background: none; border: 0; color: var(--muted); cursor: pointer; padding: 0 4px; }
.kfiles__x:hover { color: var(--accent); }
.kfiles .kfiles__sum { border: 0; padding: 0; color: var(--muted); }
.kfiles .kfiles__sum.is-err { color: var(--accent); }
.kfield { display: grid; gap: 6px; font-size: var(--fs-sm); font-weight: 500; }
.kfield textarea { width: 100%; padding: 13px 14px; font: inherit; font-size: var(--fs-base); color: var(--text); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); resize: vertical; }
.kform .muted { font-weight: 400; }
.kform [aria-invalid="true"] { border-color: var(--accent); }
.kform .check input { accent-color: var(--accent); }
.kdone { text-align: center; padding: 30px 0; }
.kdone__icon svg { width: 54px; height: 54px; fill: none; stroke: var(--accent); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.kdone p { color: var(--muted); max-width: 46ch; margin: 12px auto 0; }

/* Einstieg "Was möchten Sie schützen?" */
.pick { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.pick--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1180px) { .pick--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.pick a { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 300px; padding: 26px; color: #fff; text-decoration: none; overflow: hidden; isolation: isolate; border-radius: var(--radius); }
.pick img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .6s ease; }
.pick a::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(20,28,30,.15) 0%, rgba(20,28,30,.6) 45%, rgba(20,28,30,.95) 100%); }
.pick a:hover img { transform: scale(1.05); }
.pick svg { width: 34px; height: 34px; fill: none; stroke: #fff; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 12px; }
.pick h3 { font-size: var(--fs-xl); }
.pick p { color: var(--on-dark); font-size: var(--fs-md); margin-top: 4px; }
.pick .link-arrow { color: #fff; margin-top: 14px; }
.pick a:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }

@media (max-width: 960px) {
  .konfig-wrap { grid-template-columns: 1fr; }
  .konfig-wrap .konfig { order: -1; }
  .pick { grid-template-columns: 1fr; }
  .pick a { min-height: 220px; }
}
@media (max-width: 620px) {
  .kgrid, .kgrid--3 { grid-template-columns: 1fr; }
  .kgrid--3 .kchoice { flex-direction: row; flex-wrap: wrap; align-items: center; column-gap: 14px; }
  .kgrid--3 .kchoice__icon { margin: 0; }
  .kgrid--3 .kchoice__desc { flex-basis: 100%; }
  .konfig__crumbs { display: none; }
}
.pick a.pick__plain { background: linear-gradient(150deg, var(--petrol-600) 0%, var(--petrol-800) 70%); border-top: 3px solid var(--accent); }
.pick a.pick__plain::before { display: none; }
.pick .pick__mark { position: absolute; right: -28px; top: -18px; width: 210px; height: 210px; margin: 0; stroke: rgba(255,255,255,.08); stroke-width: 1; z-index: -1; transition: transform .6s ease; }
.pick a.pick__plain:hover .pick__mark { transform: translateX(-10px); }

/* Abschnittskopf: Einleitung rechts beginnt auf Höhe der Überschrift, nicht am unteren Rand */
@media (min-width: 901px) {
  .section__head:not(.section__head--single) { align-items: start; row-gap: 0; }
  .section__head:not(.section__head--single) > div { display: contents; }
  .section__head:not(.section__head--single) > div > .eyebrow { grid-column: 1; grid-row: 1; }
  .section__head:not(.section__head--single) > div > h2 { grid-column: 1; grid-row: 2; }
  .section__head:not(.section__head--single) > .lead { grid-column: 2; grid-row: 2; margin-top: 22px; }
}

/* ---------- Leitstellen-Lexikon ---------- */
.lex-wrap { max-width: 980px; }
.lex-tools { position: sticky; top: var(--header-h); z-index: 5; display: grid; gap: 14px; padding: 16px 0; background: var(--bg); border-bottom: 1px solid var(--line); margin-bottom: 8px; }
.lex-search input { width: 100%; padding: 13px 16px; font: inherit; font-size: var(--fs-base); color: var(--text); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.lex-search input:focus { outline: none; border-color: var(--accent); }
.lex-az { display: flex; flex-wrap: wrap; gap: 4px; }
.lex-az a, .lex-az span { display: grid; place-items: center; min-width: 32px; height: 32px; font-size: var(--fs-sm); font-weight: 500; border-radius: var(--radius); text-decoration: none; }
.lex-az a { color: var(--text); border: 1px solid var(--line); }
.lex-az a:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.lex-az span { color: var(--line); }
.lex-letter { scroll-margin-top: calc(var(--header-h) + 130px); padding-top: 28px; }
.lex-letter > h2 { font-size: var(--fs-xl); color: var(--accent); border-bottom: 1px solid var(--line); padding-bottom: 8px; }
.lex-item { scroll-margin-top: calc(var(--header-h) + 130px); padding: 22px 0; border-bottom: 1px solid var(--line); }
.lex-item:last-child { border-bottom: 0; }
.lex-item h3 { font-size: var(--fs-lg); margin-bottom: 8px; }
.lex-item p { max-width: 75ch; }
.lex-item:target h3 { color: var(--accent); }
.lex-wir { margin-top: 10px; padding-left: 14px; border-left: 3px solid var(--accent); color: var(--muted); font-size: var(--fs-md); }
.lex-wir span { display: block; font-size: var(--fs-xs); letter-spacing: .1em; text-transform: uppercase; color: var(--text); margin-bottom: 2px; }
.lex-see { margin-top: 8px; font-size: var(--fs-sm); color: var(--muted); }
.lex-item .link-arrow { margin-top: 10px; }
.lex-chips { margin-top: 12px; }
.lex-chips a { text-decoration: none; }
.lex-chips li:hover { border-color: var(--accent); }
.lex-empty { padding: 30px 0; }


/* ---------- Mobile Korrekturen (UX-Review) ---------- */
/* Seitliches Überlaufen nur im Inhalt abschneiden (am html-Element würde es das fixierte Menü stören) */
#inhalt, .site-footer { overflow-x: clip; }
@media (min-width: 901px) { .chain--4 { grid-template-columns: repeat(4, 1fr); } }
.group > * { min-width: 0; }
.certs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cert__owners small { overflow-wrap: anywhere; }
@media (max-width: 520px) { .certs { grid-template-columns: 1fr; } }

/* Menü: Schließen-Symbol und Aktionen */
.menu-toggle .i-close { display: none; }
.site-header.menu-open .menu-toggle svg:first-child { display: none; }
.site-header.menu-open .menu-toggle .i-close { display: block; }
.nav-mobile-cta { display: none; }
@media (max-width: 960px) {
  .nav > ul > .nav-mobile-cta { display: grid; gap: 10px; padding: 22px 0 6px; }
  .nav .nav-mobile-cta a { border-bottom: 0; justify-content: center; padding: 14px 18px; font-size: var(--fs-base); }
}

/* Offenes Menü: ohne Unschärfe-Effekt, sonst bezieht sich das fixierte Menü auf die Kopfzeile statt aufs Fenster */
.site-header.menu-open, .site-header.is-scrolled.menu-open { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--petrol-900); }
@media (max-width: 960px) {
  .nav .nav-mobile-cta a.btn { display: flex; background: var(--accent); border: 1px solid var(--accent); color: #fff; border-radius: var(--radius); }
  .nav .nav-mobile-cta a.btn--ghost { background: transparent; border-color: rgba(255,255,255,.5); }
}

/* ---------- Hero mobil: eigene, kompakte Fassung ---------- */
.hm-m { display: none; }
@media (max-width: 620px) {
  .hero--home .hm-d { display: none; }
  .hero--home .hm-m { display: revert; }
  .hero--home { padding-top: calc(var(--header-h) + 28px); padding-bottom: 32px; }
  .hero--home .eyebrow.hm-m { display: inline-flex; }
  .hero--home h1 { margin-top: 14px; line-height: 1; }
  .hero--home .h1-die { display: none; }  /* wie bei der asc: am Handy nur das Schlüsselwort */
  .hero--home h1 .mark { display: inline-block; max-width: 100%; font-size: calc((100vw - 2 * var(--gutter)) / 13.2); }
  .hero-live { display: flex !important; align-items: center; gap: 8px; margin-top: 16px; font-size: var(--fs-sm); color: var(--on-dark); font-variant-numeric: tabular-nums; }
  .hero-live b { font-weight: 500; color: #fff; }
  .hero--home .lead.hm-m { display: block; margin-top: 14px; font-size: var(--fs-base); }
  .hero--home .hero__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 22px; }
  .hero--home .hero__actions .btn { justify-content: center; padding-inline: 12px; }
  .hero--home .hero__actions .btn span.hm-m { display: inline; }
  .hero--home .hero__actions .btn.hm-m { display: inline-flex; gap: 8px; }
  .hero__status { margin-top: 20px; }
}

/* Kontaktseite: Standort der Leitstelle hervorheben */
.location--main { border-color: var(--accent); border-top-width: 3px; }
.location--main h3 { display: flex; align-items: center; gap: 8px; }
/* Chips im Fließtext: ohne Listeneinzug, alle gleich (Regionen, Lexikon-Begriffe, Ortsteile) */
.prose .chips { margin: 14px 0 0; padding: 0; }
.prose .chips li { margin: 0; }
.chips li:has(> a) { transition: border-color .2s; }
.chips li:has(> a):hover { border-color: var(--accent); }

/* Datenschutzhinweis am Formular (statt Checkbox) */
.form-note { font-size: var(--fs-sm); color: var(--muted); }
.form--dark .form-note { color: var(--on-dark-muted); }
.form--dark .form-note a { color: #fff; text-decoration: underline; text-decoration-color: rgba(255,255,255,.4); text-underline-offset: 3px; }

/* Hinweisgeberseite: Kontaktspalten im Footer ausblenden */
.site-footer--quiet .f-top { display: none; }
.site-footer--quiet .f-links:first-of-type { border-top: 0; }


/* =====================================================================
   Ergänzungen interventions-team.de
   ===================================================================== */
/* Karten zeigen nur Nordostdeutschland: Linien bleiben beim Zoomen gleich dick */
.map svg *, .hero-map svg * { vector-effect: non-scaling-stroke; }
.map .town { fill: var(--partner); }
.legend__base { background: #fff; border: 2px solid var(--accent); border-radius: 2px; }

.inline-link { background: none; border: 0; padding: 0; color: var(--link); font-weight: 500; text-decoration: underline; text-decoration-color: var(--link-line); text-underline-offset: 3px; }
.inline-link:hover { text-decoration-color: var(--accent); }
.cta__actions { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 10px; }
.chips--links a { color: inherit; text-decoration: none; }
.chips--links a:hover { color: var(--accent-text); }
.infobox--sticky { position: sticky; top: calc(var(--header-h) + 24px); }
.infobox__actions { margin-top: 22px; display: grid; gap: 10px; }
@media (min-width: 621px) { .segments--2 { grid-template-columns: repeat(2, 1fr); } }
.townlist__head { margin: 40px 0 12px; text-transform: uppercase; }
.townlist__head a { text-decoration: none; }
.faq__group { margin: 48px 0 8px; font-size: clamp(20px, 2.2vw, 26px); }
.contact-tel { display: block; font-size: clamp(30px, 4vw, 46px); font-weight: 500; text-decoration: none; margin: 10px 0 6px; }
.contact-sub { margin: 40px 0 16px; font-size: var(--fs-xl); }
@media (max-width: 900px) { .infobox--sticky { position: static; } }
.tile--combine { grid-column: span 2; justify-content: center; gap: 14px; padding: clamp(24px, 3vw, 40px); color: #fff; background: linear-gradient(140deg, var(--petrol-600), var(--petrol-900) 75%); border-top: 3px solid var(--accent-light); }
.tile--combine:hover { transform: none; }
.tile--combine h3 { font-size: var(--fs-xl); }
.tile--combine p { color: var(--on-dark); max-width: 54ch; }
.tile--combine .btn { align-self: flex-start; }
@media (max-width: 1080px) { .tile--combine { grid-column: auto / span 2; } }
@media (max-width: 620px) { .tile--combine { grid-column: auto; } }

/* Konfigurator: Detailfragen */
.kdetails { display: grid; gap: 16px; }
.kblock { display: grid; gap: 18px; padding: 20px; background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius); }
.kblock h4 { font-size: var(--fs-lg); font-weight: 500; }
.kblock__field { display: grid; gap: 8px; }
.kblock__label { font-size: var(--fs-sm); font-weight: 500; }
.kblock__label .muted { font-weight: 400; }
.kblock__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.kblock__plan { display: grid; gap: 18px; }
.kblock__plan[hidden] { display: none; }
.kblock__hint { font-size: var(--fs-sm); color: var(--muted); }
.kblock .ktag { background: var(--surface); padding: 8px 14px; font-size: var(--fs-sm); }
.kblock .ktag.is-on { background: var(--accent); }
.kinput { width: 100%; padding: 11px 12px; font: inherit; font-size: var(--fs-base); color: var(--text); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); color-scheme: inherit; }
.kinput:disabled { opacity: .45; }
.kcheck { display: flex; gap: 10px; align-items: center; font-size: var(--fs-sm); cursor: pointer; }
.kcheck input { width: 18px; height: 18px; accent-color: var(--accent); }
.kregion { font-size: var(--fs-sm); color: var(--accent-text); min-height: 0; }
.kregion:empty { display: none; }
.kchoice--small { padding-block: 14px; }
.kchoice--small .kchoice__icon svg { width: 26px; height: 26px; }
@media (max-width: 520px) { .kblock__row { grid-template-columns: 1fr; } .kblock { padding: 16px; } }

/* Hero-Karte: animierte Linien ohne non-scaling-stroke, sonst stimmt die Strichlänge nicht */
.hero-map .hm-sig, .hero-map .hm-disp, .hero-map .hm-route { vector-effect: none; }
.hm-route { fill: none; stroke: var(--accent-light); stroke-linejoin: round; opacity: .9; }
.hm-stop { fill: var(--accent-light); }
.lg-partner { background: transparent; border: 1.5px solid #fff; }

/* Einsatzgebiete-Übersicht: je Region ein Block */
.region-blocks { display: grid; gap: clamp(32px, 4vw, 52px); }
.region-block { display: grid; gap: 14px; }
.region-block__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 24px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.region-block__head h2 { font-size: clamp(22px, 2.4vw, 28px); }
.region-block__head h2 a { text-decoration: none; }
.region-block__head h2 a:hover { color: var(--accent-text); }
.region-block__where { font-size: var(--fs-sm); color: var(--muted); }
.region-block__lead { max-width: 70ch; color: var(--muted); }

/* Kopfzeile auf großen Bildschirmen luftiger: breiterer Rahmen, mehr Abstand zwischen den Menüpunkten */
@media (min-width: 1300px) {
  .site-header .wrap { max-width: 1680px; gap: 28px; }
  .nav { margin-inline: auto; }
  .nav > ul { gap: 10px; }
  .nav a, .nav button.nav-top { padding: 0 16px; }
  .header-tel { margin-left: 8px; }
}
@media (min-width: 1600px) {
  .nav > ul { gap: 18px; }
}
@media (min-width: 961px) and (max-width: 1150px) {
  .site-header .wrap { gap: 10px; }
  .nav a, .nav button.nav-top { padding: 0 8px; font-size: var(--fs-sm); }
  .brand img { height: 17px; }
}
.mega.mega--small { min-width: 300px; grid-template-columns: 1fr; }

/* Mobile UX-Review */
@media (max-width: 620px) {
  /* Kompakter Hero: die Karte bleibt dem Desktop vorbehalten */
  .hero--home .hero-map { display: none; }
  .hero--home { min-height: 0; }
  /* Footer-Linkraster: lange Wörter dürfen umbrechen statt die Spalte zu sprengen */
  .f-links ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .f-links li a { overflow-wrap: anywhere; }
  /* Größere Tippflächen */
  .brand { padding: 12px 0; }
  .location a { display: inline-block; padding: 5px 0; }
  .link-arrow { padding-block: 8px; }
}
@media (max-width: 620px) {
  /* Stärken als wischbare Leiste statt vier hoher Blöcke */
  .usps__grid {
    display: grid; grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 82%; gap: 14px;
    overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: calc(var(--gutter) * -1); padding: 4px var(--gutter) 10px; scroll-padding-inline: var(--gutter);
  }
  .usps__grid > .usp { scroll-snap-align: start; padding: 22px 0; border-bottom: 0; }
  .usps__grid .reveal { opacity: 1; transform: none; }
  /* Kennzahlen und Zertifikate kompakt zu zweit */
  .stats { grid-template-columns: 1fr 1fr; margin-top: 36px; }
  .stat, .stat + .stat { padding: 18px 12px 14px 0; border-left: 0; }
  .stat:nth-child(even) { padding-left: 14px; border-left: 1px solid var(--line); }
  .stat b { font-size: 26px; }
  .stat span { font-size: var(--fs-sm); }
  .certs { grid-template-columns: 1fr 1fr; }
  .cert { padding: 18px 14px; }
  .cert b { font-size: var(--fs-lg); }
  .cert span { font-size: var(--fs-sm); }
  /* Angebotskacheln flacher */
  .pick a { min-height: 0; padding: 20px; }
  .pick .pick__mark { width: 130px; height: 130px; right: -18px; top: -14px; }
  .pick svg { margin-bottom: 8px; }
  /* Auf der Startseite reicht die Regionsauswahl, die Karte zeigt die Übersicht Einsatzgebiete */
  [data-map] .map { display: none; }
  /* Footer: Symbol und Text nebeneinander */
  .f-lines a.f-ico { display: inline-flex; }
}

/* Leistungsseiten am Handy: Leistungsumfang vor dem Text, Liste aufklappbar */
@media (max-width: 960px) {
  .split > .infobox--first { order: -1; }
}
@media (max-width: 620px) {
  .infobox--first { padding: 22px; }
  .infobox__actions--desk { display: none; }
  .ticks.is-short > li:nth-child(n+4) { display: none; }
}
.ticks-more { margin-top: 14px; background: none; border: 0; padding: 10px 0; min-height: 44px; color: var(--accent-text); font: inherit; font-weight: 500; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
@media (min-width: 621px) { .ticks-more { display: none; } }

/* Feste Kontaktleiste am Handy */
.mbar { display: none; }
@media (max-width: 620px) {
  .mbar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 75; display: grid; grid-template-columns: auto 1fr; gap: 10px;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: var(--surface); border-top: 1px solid var(--line);
    box-shadow: 0 -6px 20px rgba(0,0,0,.12); transform: translateY(110%); visibility: hidden; transition: transform .25s, visibility .25s;
  }
  .mbar.is-on { transform: none; visibility: visible; }
  .mbar a { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 18px; text-decoration: none; font-weight: 500; }
  .mbar__tel { border: 1px solid var(--accent); color: var(--accent-text); }
  .mbar__tel svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
  .mbar__offer { background: var(--accent); color: #fff; }
  .mbar__offer:hover { background: var(--accent-hover); }
  body.mbar-on .rail { opacity: 0; visibility: hidden; }
  body.has-mbar .site-footer { padding-bottom: 80px; }
}
@media print { .mbar { display: none !important; } }

/* ---------- Startseiten-Hero: Foto mit Überblendung ---------- */
.hero--home { align-items: center; min-height: 100vh; min-height: 100svh; }
.hero--home > .wrap { max-width: 1400px; }
.hero--home .hero__content { container-type: inline-size; max-width: 900px; }
.hero--home h1 { font-size: min(78px, 7cqi); white-space: nowrap; }
.hero--home .hero__media img { position: absolute; inset: 0; opacity: 0; transition: opacity 1.6s ease; }
.hero--home .hero__media img.is-on { opacity: 1; }
.hero--home::after {
  background:
    linear-gradient(90deg, rgba(17,24,25,.94) 0%, rgba(17,24,25,.78) 38%, rgba(17,24,25,.25) 75%, rgba(17,24,25,.1) 100%),
    linear-gradient(0deg, rgba(17,24,25,.9) 0%, transparent 40%);
}
.hero__pause { margin: -8px 0; flex: none; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(255,255,255,.45); background: rgba(17,24,25,.35); color: #fff; cursor: pointer; }
.hero__pause svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }
.hero__pause .i-play { display: none; fill: currentColor; stroke-linejoin: round; }
.hero__pause[aria-pressed="true"] .i-play { display: block; }
.hero__pause[aria-pressed="true"] .i-pause { display: none; }
.hero__pause:hover { background: rgba(17,24,25,.6); }
@media (max-width: 900px) {
  .hero--home h1 { font-size: calc((100vw - 2 * var(--gutter)) / 13.6); white-space: normal; }
  .hero--home::after { background: linear-gradient(90deg, rgba(17,24,25,.9), rgba(17,24,25,.55)), linear-gradient(0deg, rgba(17,24,25,.9) 0%, transparent 50%); }
}
@media (max-width: 620px) {
  .hero--home { min-height: 0; }
  .hero__pause { display: none; }
}

/* Einsatzgebiete auf der Startseite: animierte Karte auf dunkler Fläche */
.map--live { max-width: 600px; background: var(--petrol-900); padding: 18px 18px 16px; box-shadow: var(--shadow); }
.map--live .hero-map svg { max-height: 60vh; }
.map--live .hm-focus { cursor: pointer; transition: fill .2s, stroke .2s; }
.map--live .hm-focus.is-active { fill: rgba(255, 122, 184, .38); stroke: #fff; }
.hero__pause[hidden] { display: none; }

/* ---------- Hero mobil wie bei der asc: Vollbild, Inhalt vertikal mittig, Status unten ---------- */
@media (max-width: 620px) {
  .hero--home { min-height: 100svh; display: flex; align-items: stretch; padding-top: calc(var(--header-h) + 16px); padding-bottom: 28px; }
  .hero--home > .wrap { display: flex; flex-direction: column; }
  .hero--home .hero__content { flex: 1 1 auto; display: flex; flex-direction: column; justify-content: center; padding: 24px 0; }
  .hero--home .hero__content > * { align-self: flex-start; }
  .hero--home .hero__actions { align-self: stretch; }
  .hero--home .lead.hm-m { max-width: 38ch; }
  .hero--home .hero__status { margin-top: auto; display: grid; gap: 6px; padding-top: 16px; font-size: var(--fs-xs); padding-right: 64px; }  /* rechts Platz für den Assistentenknopf */
  /* Lesbarkeit: dunkler Verlauf hinter dem Text, oben und unten etwas Bild */
  .hero--home::after {
    background:
      radial-gradient(110% 45% at 35% 50%, rgba(17,24,25,.75), rgba(17,24,25,.35) 75%, rgba(17,24,25,.2)),
      linear-gradient(0deg, rgba(17,24,25,.9) 0%, transparent 30%),
      linear-gradient(180deg, rgba(17,24,25,.7) 0%, transparent 22%);
  }
}

/* Telefonnummern nie umbrechen */
a[href^="tel:"] { white-space: nowrap; }
@media (max-width: 340px) { .facts a[href^="tel:"] { white-space: normal; } }

/* Rechts Platz für die schwebenden Knöpfe lassen, wenn der Seitenrand dafür nicht reicht (Tablet, kleiner Laptop) */
@media (min-width: 621px) {
  .wrap { padding-right: max(var(--gutter), calc(80px - max(0px, (100vw - var(--wrap)) / 2))); }
  .site-header .wrap { padding-right: var(--gutter); }
  .hero--home > .wrap { padding-right: max(var(--gutter), calc(80px - max(0px, (100vw - 1400px) / 2))); }
}

/* Seitenkopf geteilt: Text links, Foto rechts mit weichem Übergang (ab Tablet), wie bei der asc */
@media (min-width: 901px) {
  /* Bild beginnt unter der Kopfzeile, damit Gesichter nicht hinter dem Menü liegen */
  .pagehead__media { top: var(--header-h); left: auto; right: 0; width: 58%; opacity: .75;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 35%); mask-image: linear-gradient(90deg, transparent 0, #000 35%); }
  .pagehead::after { background: linear-gradient(90deg, rgba(17,24,25,.96) 30%, rgba(17,24,25,.35) 70%, rgba(17,24,25,.15)); }
}

/* Startseiten-Hero: gespiegeltes Bild, Person rechts neben dem Text (scale statt transform, damit der Zoom erhalten bleibt) */
.hero--home .hero__media img[data-flip] { scale: -1 1; object-position: 100% 0%; }
@media (max-width: 900px) { .hero--home .hero__media img[data-flip] { object-position: 50% 0%; } }

/* =====================================================================
   wiking-karriere.de: Logo, Stellenliste, Stellenanzeige, Zitate, Benefits
   ===================================================================== */
/* Logo vom Kunden (285 x 30 px): nie größer als die Vorlage ausgeben */
.brand img { aspect-ratio: 285 / 30; height: 22px; }
.f-brand img { width: 285px; max-width: 100%; }
.f-end__brand img { width: 285px; aspect-ratio: 285 / 30; }
.f-seals { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 20px 32px; margin-left: auto; }
.f-seals img { height: auto; }
.f-seals img:first-child { width: 280px; max-width: 80vw; }
.f-seals img:last-child { width: 72px; }
@media (max-width: 760px) { .f-seals { justify-content: center; } }

/* Handyleiste: Bewerben ist ein Button */
@media (max-width: 620px) {
  .mbar button.mbar__offer { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 18px; border: 0; font-weight: 500; }
}

/* Suche im Seitenkopf */
.jobsearch { display: flex; gap: 10px; margin-top: 26px; max-width: 560px; }
.jobsearch input { flex: 1; min-width: 0; min-height: 48px; padding: 0 16px; font: inherit; font-size: var(--fs-base); color: var(--text); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.jobsearch input:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
@media (max-width: 520px) { .jobsearch { flex-direction: column; } }

/* Stellenliste */
.jobs-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 24px; margin-bottom: 18px; }
.jobs-head h2 { font-size: clamp(22px, 2.4vw, 30px); }
.jobs-chips { margin: 0 0 28px; }
.jobs { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.job-card a { display: flex; flex-direction: column; gap: 10px; height: 100%; padding: 26px 24px; background: var(--surface); border: 1px solid var(--line); border-top: 3px solid var(--accent); text-decoration: none; color: inherit; transition: box-shadow .25s, transform .25s; }
.job-card a:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.job-card h3 { font-size: var(--fs-lg); line-height: 1.3; }
.job-card p { color: var(--muted); font-size: var(--fs-md); line-height: 1.55; }
.job-card__meta { font-size: var(--fs-sm); color: var(--accent-text); font-weight: 500; }
.job-card__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; }
.job-card__tags span { font-size: var(--fs-xs); padding: 4px 10px; border: 1px solid var(--line); border-radius: var(--pill); background: var(--bg-soft); }
.job-card .link-arrow { padding-top: 4px; }
.js .job-card.is-more { display: none; }
.js .jobs.show-all .job-card.is-more { display: block; }
.jobs-more { margin-top: 28px; text-align: center; }
.jobs-empty { margin: 8px 0 0; }
.jobs-initiativ { margin-top: 40px; padding: 32px; }
.jobs-initiativ p:last-child { margin-top: 12px; }
@media (max-width: 1080px) { .jobs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .jobs { grid-template-columns: 1fr; } }

/* Stellenanzeige */
.job-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 48px; align-items: start; }
.job-text h2 { font-size: clamp(21px, 2.2vw, 27px); margin: 1.6em 0 .5em; }
.job-text h2:first-child { margin-top: 0; }
.job-content p { white-space: normal; }
.job-facts { position: sticky; top: calc(var(--header-h) + 24px); }
.job-facts__h { font-size: var(--fs-lg); margin-bottom: 16px; }
.job-facts .facts { grid-template-columns: auto minmax(0, 1fr); }
.job-facts .facts dd { overflow-wrap: anywhere; }
.job-facts__share { font-size: var(--fs-md); margin: 24px 0 10px; }
.share { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.share a { display: inline-block; padding: 6px 12px; border: 1px solid var(--line); border-radius: var(--pill); font-size: var(--fs-sm); text-decoration: none; color: var(--text); }
.share a:hover { border-color: var(--accent); }
@media (max-width: 960px) { .job-layout { grid-template-columns: 1fr; } .job-facts { position: static; } }

/* Drei Wege zur Bewerbung */
.audience--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1080px) { .audience--3 { grid-template-columns: 1fr; } }

/* Benefits */
.benefits { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.benefits .usp { padding: 28px 28px 26px 0; border-bottom: 1px solid var(--line); }
.benefits .usp + .usp { border-left: 0; }
.benefits .usp:not(:nth-child(3n + 1)) { padding-left: 28px; border-left: 1px solid var(--line); }
.benefits h3 { margin-bottom: 8px; }
@media (max-width: 900px) {
  .benefits { grid-template-columns: 1fr 1fr; }
  .benefits .usp:not(:nth-child(3n + 1)) { padding-left: 0; border-left: 0; }
  .benefits .usp:nth-child(2n) { padding-left: 24px; border-left: 1px solid var(--line); }
}
@media (max-width: 620px) {
  .benefits { grid-template-columns: 1fr; }
  .benefits .usp:nth-child(2n) { padding-left: 0; border-left: 0; }
}

/* Zitate */
.quote { max-width: 900px; margin: 0 auto; padding-left: 28px; border-left: 3px solid var(--accent); }
.quote blockquote p { font-size: clamp(20px, 2.2vw, 27px); line-height: 1.45; letter-spacing: -.01em; }
.quote figcaption { margin-top: 18px; color: var(--muted); font-size: var(--fs-md); }
.quote figcaption strong { color: var(--text); }

/* Kurzbewerbung mit Upload */
.apply-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 32px; align-items: start; }
.apply { background: var(--surface); border: 1px solid var(--line); border-top: 3px solid var(--accent); padding: 28px; }
.apply__title { font-size: var(--fs-xl); margin-bottom: 6px; }
.apply__intro { color: var(--muted); margin-bottom: 8px; }
.apply__form { margin-top: 14px; }
.apply__upload { display: grid; gap: 8px; padding: 18px; border: 1px dashed var(--line); background: var(--bg-soft); }
.apply__upload label { font-weight: 500; }
.apply__upload label span { display: block; font-weight: 400; color: var(--muted); font-size: var(--fs-sm); margin-top: 2px; }
.apply__upload input[type=file] { font: inherit; font-size: var(--fs-md); color: var(--text); max-width: 100%; }
.apply__upload input[type=file]::file-selector-button { font: inherit; font-weight: 500; margin-right: 12px; padding: 10px 18px; min-height: 44px; border: 2px solid var(--accent); border-radius: var(--radius); background: var(--accent); color: #fff; cursor: pointer; }
.apply__files { font-size: var(--fs-sm); color: var(--muted); min-height: 1em; overflow-wrap: anywhere; }
.apply__more summary { cursor: pointer; font-weight: 500; padding: 6px 0; }
.apply__more[open] summary { margin-bottom: 10px; }
.apply__check { display: grid; grid-template-columns: auto 1fr; gap: 10px; align-items: start; font-size: var(--fs-sm); color: var(--muted); font-weight: 400; }
.apply__check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--accent); }
.apply-alt { padding: 8px 0; }
.apply-alt h3 { font-size: var(--fs-lg); margin-bottom: 10px; }
.apply-alt p + p { margin-top: 12px; }
.plain-list { list-style: none; display: grid; gap: 8px; }
.plain-list li { position: relative; padding-left: 18px; }
.plain-list li::before { content: ""; position: absolute; left: 0; top: .62em; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
@media (max-width: 900px) { .apply-grid { grid-template-columns: 1fr; } .apply { padding: 22px 18px; } }

/* Seitenköpfe: ausgeglichene Zeilen statt einzelner Wörter in der zweiten Zeile */
.pagehead h1, .hero h1, .section__head h2 { text-wrap: balance; }

/* Kennzahlen: Zahl und Wort in einer Zeile (z. B. „3 Bundesländer“) */
.stat b { white-space: nowrap; font-size: clamp(22px, 2.5vw, 38px); }
@media (max-width: 620px) { .stat b { font-size: 21px; } }

/* Bewerbungsformular: Ankreuzfelder wie im bisherigen Formular */
.apply__group { border: 1px solid var(--line); padding: 14px 16px 16px; margin: 0; min-width: 0; }
.apply__group legend { font-size: var(--fs-sm); font-weight: 500; padding: 0 6px; }
.apply__opts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 18px; margin-top: 6px; }
.form .apply__opt { display: grid; grid-template-columns: auto 1fr; gap: 10px; align-items: start; font-weight: 400; font-size: var(--fs-md); padding: 4px 0; }
.form .apply__opt input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--accent); }
@media (max-width: 520px) { .apply__opts { grid-template-columns: 1fr; } }

/* Startseite: Zusatz unter "Ihre Karriere" (am Handy nur für Screenreader, dort steht nur das Schlüsselwort) */
/* Ab 621 px zwei Zeilen in gleicher Größe: „Ihre Karriere bei WIKING“ / „Sicherheit und Service“, Größe an der Fensterbreite ausgerichtet */
@media (min-width: 621px) {
  .hero--home h1 { font-size: min(78px, 5.9vw); white-space: nowrap; width: max-content; line-height: 1.12; }
}
@media (max-width: 620px) { .hero--home h1 .h1-bei { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; } }


/* Slogan „Wir machen das. Sicherheit.“ in der dunklen Kontaktfläche am Seitenende (kein anderes Logo daneben) */
.cta-slogan { flex: 0 0 100%; display: flex; justify-content: flex-end; margin: 0 0 4px; }
.cta-slogan img { width: 420px; max-width: 100%; height: auto; }
.cta h2 { text-wrap: balance; }

/* Handy: „Ihre Karriere“ statt nur „Karriere“, in einer Zeile und gleicher Größe */
@media (max-width: 620px) {
  .hero--home .h1-die { display: inline; }
  .hero--home h1 { white-space: nowrap; font-size: calc((100vw - 2 * var(--gutter)) / 8.7); }
  .hero--home h1 .mark { font-size: inherit; }
}

/* Startseite: Überschrift baut sich nacheinander auf: „Ihre“, Kasten mit „Karriere“, „bei WIKING“, „Sicherheit und Service“ */
.hero--home h1 .h1-die, .hero--home h1 .h1-w1, .hero--home h1 .h1-w2 { display: inline-block; animation: markin .45s ease-out both; }
.hero--home h1 .h1-die { animation-delay: .1s; }
.hero--home h1 .mark { animation-delay: .45s; }
.hero--home h1 .mark span { animation-delay: 1.05s; }
.hero--home h1 .h1-w1 { animation-delay: 1.35s; }
.hero--home h1 .h1-w2 { animation-delay: 1.6s; }
@media (prefers-reduced-motion: reduce) {
  .hero--home h1 .h1-die, .hero--home h1 .mark, .hero--home h1 .mark span, .hero--home h1 .h1-w1, .hero--home h1 .h1-w2 { animation: none !important; }
}
.hero--home h1 .h1-die { margin-right: .2em; }
