/* ==========================================================================
   MEYER-JUMBO Logistics – Stylesheet
   Hauptfarbe Blau #224594 · Sekundärfarbe Gelb #ffcd1d
   Regel: Schrift auf blauem Grund ist gelb (Abgrenzung zu Dachser).
   ========================================================================== */

/* ---------- Schriften (lokal gehostet, DSGVO-konform) ---------- */
/* Hausschrift Chantilly-Heavy: bei vorhandener Webfont-Lizenz die Datei als
   assets/fonts/chantilly-heavy.woff2 ablegen und die folgende Zeile aktivieren. */
/* @font-face { font-family: "Chantilly"; src: url("../fonts/chantilly-heavy.woff2") format("woff2"); font-weight: 800; font-display: swap; } */
@font-face { font-family: "Barlow Condensed"; src: url("../fonts/barlow-condensed-latin-600-italic.woff2") format("woff2"); font-weight: 600; font-style: italic; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("../fonts/barlow-condensed-latin-700-italic.woff2") format("woff2"); font-weight: 700; font-style: italic; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("../fonts/barlow-condensed-latin-800-italic.woff2") format("woff2"); font-weight: 800; font-style: italic; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("../fonts/barlow-condensed-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("../fonts/barlow-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("../fonts/barlow-latin-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("../fonts/barlow-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("../fonts/barlow-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("../fonts/barlow-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }

/* ---------- Tokens ---------- */
:root {
  --blue: #224594;
  --blue-700: #1c3a7e;
  --blue-800: #172f68;
  --blue-900: #10224d;
  --blue-50: #eef2fa;
  --blue-100: #dde5f4;
  --blue-200: #c3d0ea;
  --yellow: #ffcd1d;
  --yellow-600: #f0bb00;
  --yellow-soft: #ffe7a1;   /* Fließtext auf Blau */
  --ink: #13234a;           /* Fließtext auf Hell */
  --muted: #4b5b80;
  --line: #d6deef;
  --bg: #f4f6fb;
  --white: #fff;
  --ok: #2fbf71;
  --off: #9aa6c2;
  --danger: #c2372c;

  --font-head: "Chantilly", "Barlow Condensed", "Arial Narrow", sans-serif;
  --font-body: "Barlow", "Segoe UI", system-ui, sans-serif;

  --skew: -12deg;
  --radius: 10px;
  --radius-lg: 18px;
  --shadow: 0 10px 30px -12px rgba(16, 34, 77, .35);
  --shadow-sm: 0 4px 14px -6px rgba(16, 34, 77, .25);
  --container: 1240px;
  --gutter: clamp(16px, 4vw, 32px);
  --header-h: 84px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body { margin: 0; font-family: var(--font-body); font-size: 17px; line-height: 1.65; color: var(--ink); background: var(--white); overflow-x: hidden; }
img, svg, video { max-width: 100%; display: block; }
a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: var(--blue-800); }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.2em; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; border-radius: 4px; }
.on-light :focus-visible, .form :focus-visible { outline-color: var(--blue); }
[hidden] { display: none !important; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 1000; background: var(--yellow); color: var(--blue); padding: 10px 16px; font-weight: 700; border-radius: 6px; }
.skip-link:focus { top: 12px; }

h1, h2, h3, h4 { font-family: var(--font-head); font-style: italic; font-weight: 800; line-height: 1.02; letter-spacing: .005em; margin: 0 0 .45em; text-transform: uppercase; color: var(--blue); }
h1 { font-size: clamp(2.4rem, 5.4vw, 4.4rem); }
h2 { font-size: clamp(2rem, 3.6vw, 3rem); }
h3 { font-size: clamp(1.35rem, 1.8vw, 1.6rem); line-height: 1.1; }
h4 { font-size: 1.2rem; }
.lead { font-size: clamp(1.08rem, 1.4vw, 1.25rem); line-height: 1.6; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(56px, 8vw, 110px) 0; }
.section--tight { padding: clamp(40px, 5vw, 64px) 0; }

/* Blaue Flächen: Schrift gelb */
.on-blue { background: var(--blue); color: var(--yellow-soft); }
.on-blue h1, .on-blue h2, .on-blue h3, .on-blue h4, .on-blue strong, .on-blue .eyebrow { color: var(--yellow); }
.on-blue a:not(.btn) { color: var(--yellow); }
.on-blue a:not(.btn):hover { color: var(--yellow-soft); }
.on-dark { background: var(--blue-900); color: var(--yellow-soft); }
.on-dark h2, .on-dark h3, .on-dark h4, .on-dark strong { color: var(--yellow); }
.on-light { background: var(--bg); }

/* Markenmotiv: schräger gelber Balken wie im Logo */
.eyebrow { display: inline-flex; align-items: center; gap: 12px; font-family: var(--font-head); font-style: italic; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: .95rem; color: var(--blue); margin-bottom: 14px; }
.eyebrow::before { content: ""; width: 44px; height: 8px; background: var(--yellow); transform: skewX(var(--skew)); }
.on-light .eyebrow::before, .section:not(.on-blue):not(.on-dark) .eyebrow::before { background: var(--yellow); }

/* ---------- Buttons ---------- */
.btn { --bg: var(--yellow); --fg: var(--blue); --bd: var(--yellow);
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 13px 26px; min-height: 48px;
  font-family: var(--font-head); font-style: italic; font-weight: 800; font-size: 1.08rem; letter-spacing: .04em; text-transform: uppercase; line-height: 1;
  color: var(--fg); background: transparent; border: 0; cursor: pointer; text-decoration: none; isolation: isolate; white-space: nowrap; }
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--bg); border: 2px solid var(--bd); transform: skewX(var(--skew)); border-radius: 4px; transition: background .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease); }
.btn:hover { color: var(--fg); }
.btn:hover::before { transform: skewX(var(--skew)) translateY(-2px); box-shadow: var(--shadow-sm); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn--primary { --bg: var(--yellow); --fg: var(--blue); --bd: var(--yellow); }
.btn--primary:hover::before { --bg: #ffd84d; }
.btn--blue { --bg: var(--blue); --fg: var(--yellow); --bd: var(--blue); }
.btn--blue:hover::before { --bg: var(--blue-800); --bd: var(--blue-800); }
.btn--ghost { --bg: transparent; --fg: var(--yellow); --bd: var(--yellow); }
.btn--ghost:hover::before { --bg: rgba(255, 205, 29, .12); }
.btn--ghost-blue { --bg: transparent; --fg: var(--blue); --bd: var(--blue); }
.btn--ghost-blue:hover::before { --bg: var(--blue-50); }
.btn--sm { padding: 9px 18px; min-height: 40px; font-size: .95rem; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px 18px; align-items: center; }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; text-decoration: none; }
.link-arrow::after { content: ""; width: 18px; height: 18px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12h13M13 6l6 6-6 6' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12h13M13 6l6 6-6 6' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat; transition: transform .2s var(--ease); }
.link-arrow:hover::after { transform: translateX(4px); }

/* ---------- Service-Leiste ---------- */
.topbar { background: var(--blue-900); color: var(--yellow-soft); font-size: .9rem; }
.topbar .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 40px; }
.topbar a { color: var(--yellow-soft); text-decoration: none; display: inline-flex; align-items: center; gap: 7px; }
.topbar a:hover { color: var(--yellow); }
.topbar svg { width: 16px; height: 16px; }
.topbar__left, .topbar__right { display: flex; align-items: center; gap: 22px; }
.status-pill { display: inline-flex; align-items: center; gap: 8px; }
.status-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--off); flex: none; }
.is-online .status-dot { background: var(--ok); box-shadow: 0 0 0 0 rgba(47, 191, 113, .6); animation: pulse 2.2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(47, 191, 113, .55); } 70% { box-shadow: 0 0 0 8px rgba(47, 191, 113, 0); } 100% { box-shadow: 0 0 0 0 rgba(47, 191, 113, 0); } }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: var(--blue); color: var(--yellow); transition: box-shadow .25s var(--ease); }
.site-header.is-scrolled { box-shadow: 0 8px 24px -12px rgba(0, 0, 0, .45); }
.site-header .container { display: flex; align-items: center; gap: 28px; height: var(--header-h); }
.brand { display: block; flex: none; }
.brand img { height: 52px; width: auto; }
.main-nav { flex: 1; display: flex; justify-content: center; }
.main-nav > ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.main-nav > ul > li { position: relative; }
.nav-link { display: flex; align-items: center; gap: 5px; height: var(--header-h); padding: 0 12px; white-space: nowrap; color: var(--yellow); text-decoration: none; font-family: var(--font-head); font-style: italic; font-weight: 700; font-size: 1.12rem; letter-spacing: .04em; text-transform: uppercase; background: none; border: 0; cursor: pointer; position: relative; }
.nav-link::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 22px; height: 4px; background: var(--yellow); transform: skewX(var(--skew)) scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
.nav-link:hover, .nav-link:focus-visible { color: var(--yellow); }
.nav-link:hover::after, .nav-item.is-active > .nav-link::after, .nav-item.is-open > .nav-link::after { transform: skewX(var(--skew)) scaleX(1); }
.nav-link .chev { width: 13px; height: 13px; flex: none; transition: transform .2s var(--ease); }
.nav-item.is-open .chev { transform: rotate(180deg); }

.dropdown { position: absolute; left: 50%; top: calc(100% - 8px); min-width: 280px; transform: translate(-50%, 8px); opacity: 0; visibility: hidden; transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 10px; border-top: 4px solid var(--yellow); }
.nav-item.is-open > .dropdown { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.dropdown ul { list-style: none; margin: 0; padding: 0; }
.dropdown a { display: flex; flex-direction: column; padding: 10px 14px; border-radius: 8px; color: var(--ink); text-decoration: none; line-height: 1.3; }
.dropdown a strong { font-family: var(--font-head); font-style: italic; text-transform: uppercase; color: var(--blue); font-size: 1.08rem; letter-spacing: .02em; }
.dropdown a span { font-size: .88rem; color: var(--muted); }
.dropdown a:hover, .dropdown a:focus-visible { background: var(--blue-50); }
.dropdown a[aria-current="page"] { background: var(--blue-50); box-shadow: inset 4px 0 0 var(--yellow); }
.dropdown__all { border-top: 1px solid var(--line); margin-top: 6px; padding-top: 6px; }

.header-actions { display: flex; align-items: center; gap: 14px; flex: none; }
.login { position: relative; }
.login__panel { position: absolute; right: 0; top: calc(100% + 14px); width: 340px; background: var(--white); color: var(--ink); border-radius: var(--radius); box-shadow: var(--shadow); padding: 18px; border-top: 4px solid var(--yellow); opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s; }
.login.is-open .login__panel { opacity: 1; visibility: visible; transform: none; }
.login__panel h3 { font-size: 1.3rem; margin-bottom: 4px; }
.login__panel p { font-size: .9rem; color: var(--muted); margin-bottom: 12px; }
.portal-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.portal-list a { display: grid; grid-template-columns: 40px 1fr 18px; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 8px; text-decoration: none; color: var(--ink); line-height: 1.25; }
.portal-list a:hover { background: var(--blue-50); }
.portal-list .ico { width: 40px; height: 40px; border-radius: 8px; background: var(--blue); color: var(--yellow); display: grid; place-items: center; }
.portal-list .ico svg { width: 22px; height: 22px; }
.portal-list strong { display: block; color: var(--blue); }
.portal-list small { color: var(--muted); }
.portal-list .ext { width: 16px; height: 16px; color: var(--muted); }
.portal-list__group { font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); padding: 10px 12px 2px; }
.portal-list__group:first-child { padding-top: 0; }
.mobile-nav__actions .portal-list__group { color: var(--yellow-soft); opacity: .75; }

.burger { display: none; width: 48px; height: 48px; border: 2px solid var(--yellow); background: transparent; border-radius: 8px; color: var(--yellow); cursor: pointer; place-items: center; }
.burger svg { width: 24px; height: 24px; }

/* Mobile Navigation */
.mobile-nav { position: fixed; inset: 0; z-index: 200; display: none; }
.mobile-nav.is-open { display: block; }
.mobile-nav__backdrop { position: absolute; inset: 0; background: rgba(8, 18, 42, .55); animation: fade .2s; }
.mobile-nav__panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(420px, 100%); background: var(--blue); color: var(--yellow); display: flex; flex-direction: column; animation: slide .25s var(--ease); }
@keyframes fade { from { opacity: 0; } }
@keyframes slide { from { transform: translateX(40px); opacity: 0; } }
.mobile-nav__head { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; border-bottom: 1px solid rgba(255, 205, 29, .25); }
.mobile-nav__head img { height: 42px; }
.mobile-nav__body { overflow-y: auto; padding: 8px 16px 24px; flex: 1; }
.mobile-nav__body ul { list-style: none; margin: 0; padding: 0; }
.m-item { border-bottom: 1px solid rgba(255, 205, 29, .18); }
.m-row { display: flex; align-items: center; }
.m-row > a { flex: 1; padding: 14px 0; color: var(--yellow); text-decoration: none; font-family: var(--font-head); font-style: italic; font-weight: 800; text-transform: uppercase; font-size: 1.45rem; }
.m-toggle { width: 48px; height: 48px; background: none; border: 0; color: var(--yellow); cursor: pointer; display: grid; place-items: center; }
.m-toggle svg { width: 20px; height: 20px; transition: transform .2s; }
.m-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.m-sub { display: none; padding: 0 0 12px 14px !important; }
.m-sub.is-open { display: block; }
.m-sub a { display: block; padding: 8px 0; color: var(--yellow-soft); text-decoration: none; font-weight: 500; }
.mobile-nav__actions { display: grid; gap: 12px; margin-top: 22px; }
.mobile-nav__actions .portal-list a { color: var(--yellow-soft); }
.mobile-nav__actions .portal-list a:hover { background: rgba(255, 255, 255, .06); }
.mobile-nav__actions .portal-list strong { color: var(--yellow); }
.mobile-nav__actions .portal-list small { color: var(--yellow-soft); opacity: .8; }
.mobile-nav__actions .portal-list .ico { background: var(--yellow); color: var(--blue); }
.mobile-nav__label { font-family: var(--font-head); font-style: italic; text-transform: uppercase; letter-spacing: .08em; color: var(--yellow); font-size: .95rem; margin: 18px 0 4px; }
body.nav-locked { overflow: hidden; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--blue); color: var(--yellow-soft); }
.hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(1200px 500px at 85% -10%, rgba(255, 255, 255, .09), transparent 60%), linear-gradient(180deg, transparent 60%, rgba(16, 34, 77, .35)); pointer-events: none; }
.hero__grid { position: relative; display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(28px, 4vw, 64px); align-items: center; padding-top: clamp(40px, 7vw, 96px); padding-bottom: clamp(120px, 12vw, 150px); }
.hero h1 { color: var(--yellow); margin-bottom: 20px; }
.hero h1 .thin { display: block; font-weight: 600; font-size: .5em; letter-spacing: .06em; color: var(--yellow-soft); margin-bottom: 10px; }
.hero .lead { color: var(--yellow-soft); max-width: 36em; margin-bottom: 30px; }
.hero__visual { position: relative; }
.hero__visual .media { aspect-ratio: 5 / 4; clip-path: polygon(14% 0, 100% 0, 86% 100%, 0 100%); border-radius: 0; }

/* Hero mit Drohnenvideo im Hintergrund (Startseite) */
.hero--video { isolation: isolate; }
.hero__bg { position: absolute; inset: 0; z-index: 0; background: var(--blue) url("../video/hero-v2-poster.jpg") center / cover no-repeat; }
@media (max-width: 900px) { .hero__bg { background-image: url("../video/hero-v2-poster-900.jpg"); } }
.hero__video { width: 100%; height: 100%; object-fit: cover; display: block; opacity: 0; transition: opacity .8s var(--ease); }
.hero__video.is-playing { opacity: 1; }
.hero__bg::after { content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(27, 55, 120, .95) 0%, rgba(34, 69, 148, .88) 38%, rgba(34, 69, 148, .55) 72%, rgba(34, 69, 148, .35) 100%),
    linear-gradient(180deg, rgba(16, 34, 77, .35) 0%, transparent 30%, transparent 62%, rgba(16, 34, 77, .55) 100%); }
.hero--video::before { z-index: 1; }
.hero--video .hero__grid { z-index: 2; grid-template-columns: minmax(0, 760px); min-height: clamp(520px, 72vh, 720px); align-content: center; }
.hero--video h1, .hero--video .lead { text-shadow: 0 2px 18px rgba(16, 34, 77, .45); }
.hero__vbtn { position: absolute; z-index: 3; right: clamp(16px, 3vw, 32px); top: clamp(16px, 3vw, 28px); width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; border: 1.5px solid rgba(255, 205, 29, .7); background: rgba(16, 34, 77, .45); color: var(--yellow); cursor: pointer; backdrop-filter: blur(4px); transition: background .2s, transform .2s; }
.hero__vbtn:hover { background: rgba(16, 34, 77, .75); transform: scale(1.05); }
.hero__vbtn:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }
.hero__vbtn svg { width: 18px; height: 18px; fill: currentColor; }
.hero__vbtn .i-play, .hero__vbtn.is-paused .i-pause { display: none; }
.hero__vbtn.is-paused .i-play { display: block; }


/* Tracking-Formular */
.track-form { display: flex; gap: 12px; flex-wrap: wrap; }
.track-form .field { flex: 1 1 260px; position: relative; }
.track-input { width: 100%; height: 56px; padding: 0 64px 0 18px; border: 2px solid var(--line); border-radius: 10px; background: var(--white); font-size: 1.08rem; letter-spacing: .06em; font-variant-numeric: tabular-nums; transition: border-color .2s; }
.track-input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(34, 69, 148, .15); }
.track-count { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); font-size: .82rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.track-count.is-ok { color: var(--ok); font-weight: 700; }
.track-form .btn { min-height: 56px; }
.track-msg { flex-basis: 100%; font-size: .92rem; min-height: 1.4em; margin: 0; }
.track-msg.is-error { color: var(--danger); }
.track-msg.is-ok { color: #177a46; }
.on-blue .track-input { border-color: transparent; color: var(--ink); }
.on-blue .track-count { color: var(--muted); }
.on-blue .track-msg.is-error { color: #ffb4a8; }
.on-blue .track-msg.is-ok { color: var(--yellow); }

/* ---------- Kennzahlen ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.stat { padding: 8px 24px; border-left: 3px solid var(--yellow); }
.stat__num { font-family: var(--font-head); font-style: italic; font-weight: 800; font-size: clamp(2.4rem, 4vw, 3.4rem); color: var(--blue); line-height: 1; }
.stat__label { color: var(--muted); font-weight: 600; margin-top: 6px; }
.on-blue .stat__num { color: var(--yellow); }
.on-blue .stat__label { color: var(--yellow-soft); }

/* ---------- Sektionskopf ---------- */
.sec-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: clamp(28px, 4vw, 48px); flex-wrap: wrap; }
.sec-head > div { max-width: 720px; }
.sec-head p { color: var(--muted); margin: 0; }
.on-blue .sec-head p { color: var(--yellow-soft); }

/* ---------- Karten ---------- */
.grid { display: grid; gap: clamp(18px, 2.4vw, 28px); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.card { position: relative; display: flex; flex-direction: column; background: var(--white); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--line); transition: transform .25s var(--ease), box-shadow .25s var(--ease); color: var(--ink); text-decoration: none; }
a.card:hover, .card:has(a.card__link:hover) { transform: translateY(-4px); box-shadow: var(--shadow); color: var(--ink); }
.card .media { aspect-ratio: 16 / 10; border-radius: 0; }
.card__tag { position: absolute; top: 16px; left: 16px; z-index: 2; width: 52px; height: 44px; display: grid; place-items: center; color: var(--blue); isolation: isolate; }
.card__tag::before { content: ""; position: absolute; inset: 0; background: var(--yellow); transform: skewX(var(--skew)); border-radius: 4px; z-index: -1; }
.card__tag svg { width: 26px; height: 26px; }
.card__body { padding: 24px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.card__body h3 { margin-bottom: 10px; }
.card__body p { color: var(--muted); font-size: .98rem; }
.card__body ul { color: var(--muted); font-size: .96rem; padding-left: 0; list-style: none; }
.card__body ul li { position: relative; padding-left: 20px; margin-bottom: 4px; }
.card__body ul li::before { content: ""; position: absolute; left: 0; top: .62em; width: 10px; height: 5px; background: var(--yellow); transform: skewX(var(--skew)); }
.card__foot { margin-top: auto; padding-top: 8px; color: var(--blue); }
.card__link::after { content: ""; position: absolute; inset: 0; }
.card__meta { font-size: .85rem; color: var(--muted); display: flex; gap: 12px; margin-bottom: 8px; font-weight: 600; }
.badge { display: inline-block; padding: 3px 10px; border-radius: 999px; background: var(--blue-50); color: var(--blue); font-weight: 700; font-size: .78rem; letter-spacing: .03em; text-transform: uppercase; }
.badge--yellow { background: var(--yellow); color: var(--blue); }

/* Feature-Kacheln (Icon + Text) */
.feature { padding: 26px; border-radius: var(--radius-lg); background: var(--white); border: 1px solid var(--line); }
.feature__ico { width: 56px; height: 56px; border-radius: 12px; background: var(--blue); color: var(--yellow); display: grid; place-items: center; margin-bottom: 16px; }
.feature__ico svg { width: 30px; height: 30px; }
.feature h3 { font-size: 1.35rem; }
.feature p { color: var(--muted); margin: 0; font-size: .98rem; }
.on-blue .feature { background: var(--blue-700); border-color: rgba(255, 205, 29, .18); }
.on-blue .feature__ico { background: var(--yellow); color: var(--blue); }
.on-blue .feature p { color: var(--yellow-soft); }

/* ---------- Bild-Platzhalter ---------- */
.media { position: relative; overflow: hidden; border-radius: var(--radius-lg); background: var(--blue-700); }
.media img { width: 100%; height: 100%; object-fit: cover; }
.media--ph { display: grid; place-items: center; color: var(--yellow);
  background:
    repeating-linear-gradient(-78deg, rgba(255, 255, 255, .045) 0 22px, transparent 22px 60px),
    linear-gradient(135deg, #2a52a8 0%, var(--blue) 45%, var(--blue-900) 100%); }
.media--ph .ph { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; padding: 16px; }
.media--ph .ph svg { width: clamp(64px, 30%, 180px); height: auto; opacity: .95; }
.media--ph .ph span { font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; color: var(--yellow-soft); opacity: .8; }

/* ---------- Split-Sektion ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.split--rev .split__media { order: 2; }
.split .media { aspect-ratio: 4 / 3; }
.checklist { list-style: none; padding: 0; margin: 0 0 1.4em; display: grid; gap: 10px; }
.checklist li { position: relative; padding-left: 36px; }
.checklist li::before { content: ""; position: absolute; left: 0; top: .15em; width: 24px; height: 24px; border-radius: 6px; background: var(--yellow) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%23224594' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat; }

/* Themen-Chips */
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; background: var(--white); border: 1.5px solid var(--line); color: var(--blue); font-weight: 600; text-decoration: none; transition: all .2s var(--ease); }
.chip:hover { border-color: var(--blue); background: var(--blue); color: var(--yellow); }
.chip svg { width: 18px; height: 18px; }

/* ---------- CTA-Band ---------- */
.cta-band { position: relative; overflow: hidden; }
.cta-band .container { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 28px; flex-wrap: wrap; }
.cta-band h2 { margin: 0 0 8px; }
.cta-band p { margin: 0; max-width: 40em; }
.cta-band::after { content: ""; position: absolute; right: -80px; top: 0; bottom: 0; width: 280px; background: repeating-linear-gradient(90deg, rgba(255, 205, 29, .16) 0 18px, transparent 18px 38px); transform: skewX(var(--skew)); pointer-events: none; }

/* ---------- Seitenkopf Unterseiten ---------- */
.page-hero { position: relative; overflow: hidden; padding: clamp(40px, 6vw, 80px) 0 clamp(48px, 6vw, 84px); }
.page-hero::after { content: ""; position: absolute; right: -40px; bottom: 26px; width: min(38vw, 460px); height: 12px; background: var(--yellow); transform: skewX(var(--skew)); }
.page-hero .lead { max-width: 44em; margin: 0; }
.page-hero h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
.breadcrumb { list-style: none; padding: 0; margin: 0 0 18px; display: flex; flex-wrap: wrap; gap: 6px; font-size: .9rem; }
.breadcrumb li { display: flex; align-items: center; gap: 6px; }
.breadcrumb li + li::before { content: "/"; opacity: .6; }
.breadcrumb a { color: var(--yellow-soft) !important; text-decoration: none; }
.breadcrumb a:hover { color: var(--yellow) !important; text-decoration: underline; }
.breadcrumb [aria-current] { color: var(--yellow); font-weight: 600; }

/* Inhaltslayout mit Seitennavigation */
.layout { display: grid; grid-template-columns: 280px 1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.subnav { position: sticky; top: calc(var(--header-h) + 24px); background: var(--bg); border-radius: var(--radius-lg); padding: 18px; }
.subnav h2 { font-size: 1.2rem; margin: 4px 8px 10px; }
.subnav ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.subnav a { display: block; padding: 10px 12px; border-radius: 8px; text-decoration: none; color: var(--ink); font-weight: 500; }
.subnav a:hover { background: var(--white); }
.subnav a[aria-current="page"] { background: var(--blue); color: var(--yellow); font-weight: 700; }
.subnav__box { margin-top: 16px; padding: 16px; border-radius: 12px; background: var(--blue); color: var(--yellow-soft); font-size: .92rem; }
.subnav__box strong { color: var(--yellow); display: block; font-family: var(--font-head); font-style: italic; text-transform: uppercase; font-size: 1.1rem; margin-bottom: 4px; }
.subnav__box a { color: var(--yellow); font-weight: 700; }

.prose { max-width: 760px; }
.prose > * + h2 { margin-top: 1.6em; }
.prose h2 { font-size: clamp(1.7rem, 2.6vw, 2.3rem); }
.prose h3 { margin-top: 1.4em; }
.prose .media { margin: 1.6em 0; aspect-ratio: 16 / 8; }
.content-block + .content-block { margin-top: clamp(40px, 5vw, 64px); }

.note { border-left: 4px solid var(--yellow); background: #fff9e0; padding: 16px 20px; border-radius: 0 10px 10px 0; margin: 1.4em 0; }
.note--blue { border-color: var(--blue); background: var(--blue-50); }
.ph-note { display: inline-block; font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); background: repeating-linear-gradient(-45deg, #fff5cc 0 8px, #fff 8px 16px); border: 1px dashed #e0b400; padding: 3px 10px; border-radius: 6px; }

/* Timeline */
.timeline { list-style: none; padding: 0; margin: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 60px; top: 8px; bottom: 8px; width: 3px; background: var(--blue-100); }
.timeline li { display: grid; grid-template-columns: 120px 1fr; gap: 20px; padding: 0 0 32px; position: relative; }
.timeline__year { font-family: var(--font-head); font-style: italic; font-weight: 800; font-size: 1.7rem; color: var(--blue); text-align: right; padding-right: 40px; position: relative; }
.timeline__year::after { content: ""; position: absolute; right: 50px; top: 12px; width: 22px; height: 12px; background: var(--yellow); transform: skewX(var(--skew)) translateX(100%); }
.timeline h3 { font-size: 1.3rem; margin-bottom: 4px; }
.timeline p { color: var(--muted); margin: 0; }

/* Accordion */
.acc { border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); overflow: hidden; }
.acc + .acc { margin-top: 12px; }
.acc summary { list-style: none; cursor: pointer; padding: 20px 60px 20px 22px; position: relative; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: ""; position: absolute; right: 22px; top: 50%; width: 22px; height: 22px; margin-top: -11px; background: var(--blue); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 5v14M5 12h14' stroke='black' stroke-width='2.6' stroke-linecap='round'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 5v14M5 12h14' stroke='black' stroke-width='2.6' stroke-linecap='round'/%3E%3C/svg%3E") center/contain no-repeat; transition: transform .2s; }
.acc[open] summary::after { transform: rotate(45deg); }
.acc summary h3 { margin: 0 0 4px; font-size: 1.35rem; }
.acc__meta { display: flex; flex-wrap: wrap; gap: 8px 16px; font-size: .9rem; color: var(--muted); }
.acc__meta span { display: inline-flex; align-items: center; gap: 6px; }
.acc__meta svg { width: 16px; height: 16px; }
.acc__body { padding: 0 22px 22px; border-top: 1px solid var(--line); padding-top: 18px; }
.acc__body h4 { font-size: 1.05rem; margin-top: 1em; }

/* Filter */
.filters { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-bottom: 24px; }
.filter-btn { padding: 9px 16px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--white); color: var(--blue); font-weight: 600; cursor: pointer; }
.filter-btn[aria-pressed="true"] { background: var(--blue); border-color: var(--blue); color: var(--yellow); }
.result-count { margin-left: auto; color: var(--muted); font-size: .92rem; }

/* ---------- Formulare ---------- */
.form { display: grid; gap: 18px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form label { display: block; font-weight: 600; margin-bottom: 6px; font-size: .95rem; }
.form .req { color: var(--danger); }
.input, .select, .textarea { width: 100%; min-height: 50px; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 10px; background: var(--white); transition: border-color .2s, box-shadow .2s; }
.textarea { min-height: 140px; resize: vertical; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(34, 69, 148, .14); }
.input[aria-invalid="true"], .textarea[aria-invalid="true"], .select[aria-invalid="true"] { border-color: var(--danger); }
.field-error { color: var(--danger); font-size: .86rem; margin-top: 4px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400 !important; font-size: .92rem !important; }
.check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--blue); flex: none; }
.hp { position: absolute; left: -9999px; }
.form-status { padding: 14px 16px; border-radius: 10px; font-weight: 600; display: none; }
.form-status.is-ok { display: block; background: #e3f6ec; color: #145c36; }
.form-status.is-error { display: block; background: #fde8e6; color: #8a241b; }
.file-drop { border: 2px dashed var(--blue-200); border-radius: 12px; padding: 20px; text-align: center; background: var(--blue-50); color: var(--muted); font-size: .92rem; }
.file-drop input { margin-top: 8px; }
.form-card { background: var(--white); border-radius: var(--radius-lg); padding: clamp(22px, 3.4vw, 40px); box-shadow: var(--shadow-sm); border: 1px solid var(--line); }

/* Kontaktkarten / Öffnungszeiten */
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.contact-list li { display: grid; grid-template-columns: 48px 1fr; gap: 14px; align-items: start; }
.contact-list .ico { width: 48px; height: 48px; border-radius: 12px; background: var(--yellow); color: var(--blue); display: grid; place-items: center; }
.contact-list .ico svg { width: 24px; height: 24px; }
.contact-list strong { display: block; }
.hours { width: 100%; border-collapse: collapse; font-size: .96rem; }
.hours td { padding: 7px 0; border-bottom: 1px solid var(--line); }
.hours td:last-child { text-align: right; font-variant-numeric: tabular-nums; }
.hours tr.is-today td { font-weight: 700; color: var(--blue); }
.on-blue .hours td { border-color: rgba(255, 205, 29, .2); }
.on-blue .hours tr.is-today td { color: var(--yellow); }
.open-status { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: var(--blue-50); font-weight: 700; font-size: .9rem; color: var(--blue); }
.on-blue .open-status { background: rgba(255, 255, 255, .08); color: var(--yellow); }

.map-ph { aspect-ratio: 16 / 9; border-radius: var(--radius-lg); background: var(--blue-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40'%3E%3Cpath d='M0 20h40M20 0v40' stroke='%23c3d0ea' stroke-width='1'/%3E%3C/svg%3E"); display: grid; place-items: center; text-align: center; padding: 20px; border: 1px solid var(--line); }
.map-ph p { max-width: 30em; color: var(--muted); font-size: .92rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--blue-900); color: var(--yellow-soft); padding-top: clamp(56px, 7vw, 88px); font-size: .96rem; position: relative; }
.site-footer::before { content: ""; position: absolute; left: 0; top: 0; width: 38%; height: 8px; background: var(--yellow); }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 36px; padding-bottom: 48px; }
.site-footer h2 { font-size: 1.15rem; color: var(--yellow); margin-bottom: 14px; letter-spacing: .06em; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer a { color: var(--yellow-soft); text-decoration: none; }
.site-footer a:hover { color: var(--yellow); text-decoration: underline; }
.site-footer a svg { width: 18px; height: 18px; display: inline-block; vertical-align: -4px; margin-right: 6px; }
.footer-brand img { height: 64px; width: auto; margin-bottom: 18px; }
.footer-brand address { font-style: normal; line-height: 1.7; }
.social { margin-top: 20px; }
.social__label { display: block; font-family: var(--font-head); font-style: italic; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--yellow); font-size: .95rem; margin-bottom: 10px; }
.site-footer .social ul { display: flex; gap: 10px; }
.social a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid rgba(255, 205, 29, .55); color: var(--yellow); transition: background .2s var(--ease), color .2s var(--ease), transform .2s var(--ease); }
.social a:hover, .social a:focus-visible { background: var(--yellow); color: var(--blue-900); transform: translateY(-2px); }
.site-footer .social svg { width: 22px; height: 22px; margin: 0; vertical-align: 0; display: block; }
.site-footer .social a { color: var(--yellow); }
.site-footer .social a:hover, .site-footer .social a:focus-visible { color: var(--blue-900); }
.footer-bottom { border-top: 1px solid rgba(255, 205, 29, .18); padding: 20px 0 28px; display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: space-between; font-size: .88rem; }
.footer-bottom nav ul { display: flex; flex-wrap: wrap; gap: 8px 22px; }

/* ---------- Live-Chat ---------- */
.chat-launcher { position: fixed; right: 20px; bottom: 20px; z-index: 150; display: flex; align-items: center; gap: 10px; padding: 0 20px 0 5px; height: 62px; border-radius: 999px; background: var(--blue); color: var(--yellow); border: 2px solid var(--yellow); box-shadow: var(--shadow); cursor: pointer; font-weight: 700; transition: transform .2s var(--ease); }
.chat-launcher:hover { transform: translateY(-2px); }
.chat-launcher__av { position: relative; width: 50px; height: 50px; flex: none; }
.chat-launcher__av img { width: 50px; height: 50px; border-radius: 50%; display: block; border: 2px solid var(--yellow); background: var(--blue); }
.chat-launcher .status-dot { position: absolute; right: 0; bottom: 1px; border: 2px solid var(--blue); width: 13px; height: 13px; }
.chat-launcher__txt { display: flex; flex-direction: column; line-height: 1.1; text-align: left; font-family: var(--font-head); font-style: italic; text-transform: uppercase; font-size: 1.1rem; letter-spacing: .02em; }
.chat-launcher__txt small { font-family: var(--font-body, inherit); font-style: normal; text-transform: none; letter-spacing: 0; font-weight: 500; font-size: .76rem; color: var(--yellow-soft); margin-top: 2px; }
.chat-panel { position: fixed; right: 20px; bottom: 96px; z-index: 160; width: min(400px, calc(100vw - 32px)); height: min(640px, calc(100vh - 120px)); background: var(--white); border-radius: 18px; box-shadow: 0 24px 60px -18px rgba(8, 18, 42, .55); display: flex; flex-direction: column; overflow: hidden; opacity: 0; visibility: hidden; transform: translateY(12px) scale(.98); transform-origin: bottom right; transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s; }
.chat-panel.is-open { opacity: 1; visibility: visible; transform: none; }
.chat-head { background: var(--blue); color: var(--yellow-soft); padding: 12px 10px 12px 14px; display: flex; align-items: center; gap: 12px; }
.chat-head__avatar { width: 48px; height: 48px; border-radius: 50%; position: relative; flex: none; }
.chat-head__avatar img { width: 48px; height: 48px; border-radius: 50%; border: 2px solid var(--yellow); display: block; background: var(--blue); }
.chat-head__avatar .status-dot { position: absolute; right: -1px; bottom: 0; border: 2px solid var(--blue); width: 13px; height: 13px; }
.chat-head strong { display: block; color: var(--yellow); font-family: var(--font-head); font-style: italic; text-transform: uppercase; font-size: 1.3rem; letter-spacing: .03em; line-height: 1.1; }
.chat-head small { font-size: .8rem; display: block; line-height: 1.3; }
.chat-close, .chat-reset { width: 40px; height: 40px; border: 0; background: transparent; color: var(--yellow); cursor: pointer; border-radius: 8px; display: grid; place-items: center; flex: none; }
.chat-reset { margin-left: auto; }
.chat-close:hover, .chat-reset:hover { background: rgba(255, 255, 255, .1); }
.chat-close svg { width: 22px; height: 22px; } .chat-reset svg { width: 19px; height: 19px; }
.chat-body { flex: 1; overflow-y: auto; padding: 16px; background: var(--bg); display: flex; flex-direction: column; gap: 10px; }
.chat-hero { display: flex; gap: 12px; align-items: flex-end; background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px 0 8px; overflow: hidden; }
.chat-hero__img { width: 96px; height: auto; mix-blend-mode: multiply; flex: none; align-self: flex-end; }
.chat-hero strong { display: block; font-family: var(--font-head); font-style: italic; text-transform: uppercase; color: var(--blue); font-size: 1.25rem; line-height: 1.1; margin-bottom: 4px; }
.chat-hero p { font-size: .86rem; color: var(--muted); margin: 0 0 12px; }
.bot-row { display: flex; gap: 8px; align-items: flex-end; max-width: 92%; }
.bot-av { width: 30px; height: 30px; border-radius: 50%; flex: none; background: var(--blue); }
.bot-row .msg { max-width: none; }
.msg { max-width: 84%; padding: 10px 14px; border-radius: 14px; font-size: .94rem; line-height: 1.45; }
.msg--in { background: var(--white); border: 1px solid var(--line); border-bottom-left-radius: 4px; align-self: flex-start; }
.msg--in a { color: var(--blue); font-weight: 600; }
.msg--out { background: var(--blue); color: var(--yellow); border-bottom-right-radius: 4px; align-self: flex-end; }
.msg--sys { align-self: center; background: transparent; color: var(--muted); font-size: .82rem; text-align: center; }
.msg-hours { margin-top: 8px; font-size: .85rem; }
.typing { display: inline-flex; gap: 4px; padding: 13px 14px; background: var(--white); border: 1px solid var(--line); border-radius: 14px; border-bottom-left-radius: 4px; }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--blue); opacity: .35; animation: typing 1s infinite ease-in-out; }
.typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes typing { 0%, 80%, 100% { opacity: .3; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-3px); } }
.chat-chips { display: flex; flex-wrap: wrap; gap: 7px; padding-left: 38px; }
.chat-chips .chip { display: inline-flex; align-items: center; min-height: 36px; padding: 6px 13px; border-radius: 999px; border: 1.5px solid var(--blue); background: var(--white); color: var(--blue); font: inherit; font-size: .86rem; font-weight: 600; cursor: pointer; text-decoration: none; text-align: left; line-height: 1.25; transition: background .15s, color .15s; }
.chat-chips .chip:hover:not(:disabled), .chat-chips .chip:focus-visible { background: var(--blue); color: var(--yellow); }
.chat-chips .chip--primary { background: var(--yellow); border-color: var(--yellow); }
.chat-chips .chip:disabled { opacity: .45; cursor: default; }
.chat-chips .chip.is-picked { opacity: 1; background: var(--blue-50); }
.chat-form-wrap { padding-left: 38px; }
.chat-form { display: grid; gap: 8px; background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 12px; }
.chat-form .input, .chat-form .textarea { min-height: 42px; font-size: .92rem; }
.chat-form .textarea { min-height: 70px; }
.chat-form .check { font-size: .82rem; }
.chat-small { font-size: .8rem; color: var(--muted); }
.chat-foot { border-top: 1px solid var(--line); padding: 10px 12px; display: flex; gap: 8px; background: var(--white); }
.chat-foot input { flex: 1; min-width: 0; min-height: 46px; border: 1.5px solid var(--line); border-radius: 10px; padding: 0 12px; font: inherit; font-size: .95rem; }
.chat-foot input:focus { outline: none; border-color: var(--blue); }
.chat-send { width: 46px; height: 46px; border: 0; border-radius: 10px; background: var(--yellow); color: var(--blue); cursor: pointer; display: grid; place-items: center; flex: none; }
.chat-send svg { width: 22px; height: 22px; }

/* ---------- Reveal-Animation ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1240px) {
  .main-nav, .header-actions .login, .header-actions .btn-track { display: none; }
  .burger { display: grid; }
  .site-header .container { justify-content: space-between; }
  .footer-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 980px) {
  :root { --header-h: 72px; }
  .brand img { height: 44px; }
  .hero__grid { grid-template-columns: 1fr; padding-bottom: 120px; }
  .hero__visual { max-width: 560px; }
  .hero--video .hero__grid { min-height: 0; padding-top: 88px; }
  .hero__bg::after { background: linear-gradient(90deg, rgba(27, 55, 120, .94) 0%, rgba(34, 69, 148, .86) 60%, rgba(34, 69, 148, .7) 100%), linear-gradient(180deg, transparent 60%, rgba(16, 34, 77, .5) 100%); }
  .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 28px 0; }
  .split { grid-template-columns: 1fr; }
  .split--rev .split__media { order: 0; }
  .layout { grid-template-columns: 1fr; }
  .subnav { position: static; }
  .topbar__left .hide-md { display: none; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .topbar .container { justify-content: center; }
  .topbar__left { display: none; }
  .grid--3, .grid--2, .grid--4 { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .timeline::before { left: 34px; }
  .timeline li { grid-template-columns: 70px 1fr; gap: 12px; }
  .timeline__year { font-size: 1.25rem; padding-right: 20px; }
  .timeline__year::after { right: 26px; width: 14px; height: 8px; top: 9px; }
  .chat-launcher { right: 14px; bottom: 14px; padding: 0 14px 0 4px; height: 56px; }
  .chat-launcher__av, .chat-launcher__av img { width: 44px; height: 44px; }
  .chat-launcher__txt small { display: none; }
  .chat-panel { right: 8px; left: 8px; width: auto; bottom: 80px; height: calc(100vh - 100px); height: calc(100dvh - 100px); }
  .track-form .btn { width: 100%; }
  .hero__visual { display: none; }
  .hero__grid { padding-bottom: 104px; }
  /* Mobil: Video oben frei sichtbar, Text beginnt darunter auf Blau */
  .hero__bg { bottom: auto; height: clamp(360px, 108vw, 460px); }
  .hero--video .hero__grid { min-height: 0; padding-top: clamp(230px, 66vw, 300px); }
  .hero__bg::after { background: linear-gradient(180deg, rgba(16, 34, 77, .30) 0%, rgba(16, 34, 77, .05) 22%, rgba(34, 69, 148, 0) 42%, rgba(34, 69, 148, .75) 66%, var(--blue) 100%); }
  .stat { padding: 4px 16px; }
  .result-count { margin-left: 0; width: 100%; }
}
@media print {
  .topbar, .site-header, .chat-launcher, .chat-panel, .site-footer, .mobile-nav, .hero__bg, .hero__vbtn { display: none !important; }
  .on-blue, .hero, .page-hero { background: #fff !important; color: #000 !important; }
  .on-blue h1, .on-blue h2, .hero h1 { color: var(--blue) !important; }
}
@media (max-width: 1240px) { [data-track-mobile] { display: grid !important; } }
@media (max-width: 380px) { .brand img { height: 38px; } .header-actions { gap: 8px; } }
.subnav .subnav__box a { display: inline; padding: 0; background: none; }
.file-drop > svg { width: 34px; height: 34px; margin: 0 auto 4px; color: var(--blue); }
.map-ph svg { width: 44px; height: 44px; margin: 0 auto 10px; color: var(--blue); }
.layout--jobs { grid-template-columns: 1fr 440px; }
.jobs-form { position: sticky; top: calc(var(--header-h) + 24px); }
@media (max-width: 980px) { .layout--jobs { grid-template-columns: 1fr; } .jobs-form { position: static; } }
/* Firmenname im Footer einzeilig */
@media (min-width: 1241px) { .footer-grid { grid-template-columns: 1.8fr repeat(4, 1fr); } }
.footer-brand address strong { white-space: nowrap; }
@media (max-width: 640px) { .footer-brand { grid-column: 1 / -1; } }

/* Kennzeichnung KI-generierter Symbolbilder */
.media__badge { position: absolute; right: 10px; bottom: 10px; z-index: 2; padding: 3px 8px; border-radius: 4px; background: rgba(16, 34, 77, .78); color: var(--yellow-soft); font-size: .72rem; font-weight: 600; letter-spacing: .03em; pointer-events: none; }
/* Schmale Handys (bis 360 px): Spalten dürfen schrumpfen */
.layout > *, .split > *, .grid > * { min-width: 0; }
@media (max-width: 980px) { .layout--jobs { grid-template-columns: minmax(0, 1fr); } }
.file-drop input[type="file"] { max-width: 100%; }
.ph-note { max-width: 100%; white-space: normal; }
.form { grid-template-columns: minmax(0, 1fr); min-width: 0; }
.form__row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
@media (max-width: 640px) { .form__row { grid-template-columns: minmax(0, 1fr); } }

/* =====================================================================
   Kunden-Feedback Oktober 2026: cleaner, mehr Weiß, Hausschrift nur für
   Überschriften und Highlights
   ===================================================================== */
/* Schrift: Display-Schrift nur noch für h1/h2, Kennzahlen und Jahreszahlen */
h3, h4 { font-family: var(--font-body); font-style: normal; font-weight: 700; text-transform: none; letter-spacing: 0; line-height: 1.25; }
h3 { font-size: clamp(1.15rem, 1.4vw, 1.3rem); }
h4 { font-size: 1.05rem; }
.eyebrow { font-family: var(--font-body); font-style: normal; font-weight: 700; font-size: .8rem; letter-spacing: .14em; }
.eyebrow::before { width: 32px; height: 6px; }
.btn { font-family: var(--font-body); font-style: normal; font-weight: 700; font-size: .98rem; letter-spacing: .02em; text-transform: none; }
.btn--sm { font-size: .9rem; }
.dropdown a strong, .mobile-nav__label, .subnav__box strong, .social__label, .chat-launcher__txt, .chat-head strong, .chat-hero strong {
  font-family: var(--font-body); font-style: normal; text-transform: none; letter-spacing: 0; font-weight: 700; }
.dropdown a strong { font-size: 1rem; }
.subnav h2, .site-footer h2 { font-family: var(--font-body); font-style: normal; font-weight: 700; font-size: .85rem; letter-spacing: .14em; }
.subnav__box strong { font-size: 1rem; }
.mobile-nav__label { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; }
.chat-launcher__txt { font-size: 1rem; }
.chat-head strong { font-size: 1.1rem; }
.chat-hero strong { font-size: 1.05rem; }
.feature h3 { font-size: 1.15rem; }
.acc summary h3 { font-size: 1.15rem; }

/* Service-Leiste hell */
.topbar { background: var(--bg); color: var(--muted); border-bottom: 1px solid var(--line); }
.topbar a { color: var(--blue); }
.topbar a:hover { color: var(--blue-800); }

/* Header weiß, Logo farbig */
.site-header { background: var(--white); color: var(--blue); border-bottom: 1px solid var(--line); }
.site-header.is-scrolled { box-shadow: 0 8px 24px -16px rgba(16, 34, 77, .35); }
.nav-link { color: var(--blue); font-family: var(--font-body); font-style: normal; font-weight: 600; font-size: 1.02rem; letter-spacing: 0; text-transform: none; }
.nav-link:hover, .nav-link:focus-visible { color: var(--blue-800); }
.nav-link::after { height: 3px; bottom: 24px; }
.burger { border-color: var(--blue); color: var(--blue); }
.mobile-nav__close { border-color: var(--yellow); color: var(--yellow); }
.m-row > a { font-family: var(--font-body); font-style: normal; font-weight: 600; text-transform: none; font-size: 1.2rem; }

/* Startseiten-Hero: ruhiger, Video sichtbarer */
.hero--video h1 { font-size: clamp(2.4rem, 5vw, 4.2rem); margin-bottom: 14px; }
.hero--video .lead { font-size: clamp(1.1rem, 1.6vw, 1.4rem); max-width: 30em; }
.hero--video .hero__grid { min-height: clamp(460px, 64vh, 640px); padding-bottom: clamp(64px, 8vw, 96px); }
.hero__bg::after { background:
    linear-gradient(90deg, rgba(16, 34, 77, .82) 0%, rgba(27, 55, 120, .62) 42%, rgba(34, 69, 148, .18) 78%, rgba(34, 69, 148, 0) 100%),
    linear-gradient(180deg, rgba(16, 34, 77, .25) 0%, transparent 30%, transparent 70%, rgba(16, 34, 77, .35) 100%); }

/* Trennbalken mit Kennzahlen */
.infobar { padding: clamp(28px, 4vw, 44px) 0; }
.infobar .stats { grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 20px 0; }
.infobar .stat { border-left-color: rgba(255, 205, 29, .9); }
.infobar .stat__num { font-size: clamp(2.1rem, 3.6vw, 3rem); white-space: nowrap; }
.infobar .stat__label { font-weight: 500; }
.infobar--alt { background: var(--blue-800); }

/* Seitenkopf mit Bild und blauem Balken */
.page-hero::after { content: none; }
.page-hero--img { padding: clamp(150px, 20vw, 260px) 0 clamp(28px, 4vw, 48px); background: var(--blue-900); }
.page-hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-hero--img::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(16, 34, 77, .05) 40%, rgba(16, 34, 77, .35) 100%); }
.page-hero__box { position: relative; display: inline-block; max-width: min(760px, 100%); background: rgba(34, 69, 148, .93); padding: clamp(20px, 3vw, 34px) clamp(22px, 3.4vw, 40px); border-radius: 6px; box-shadow: 0 18px 40px -20px rgba(8, 18, 42, .6); }
.page-hero__box h1 { margin-bottom: 0; font-size: clamp(2rem, 4.4vw, 3.4rem); }
.page-hero__box .lead { margin-top: 12px; }
.page-hero__box .breadcrumb { margin-bottom: 12px; }

/* CTA als Balken im Inhaltsbereich */
.cta-wrap { padding: 0 0 clamp(56px, 8vw, 100px); }
.section.on-light + .cta-wrap, .on-light + .cta-wrap { padding-top: clamp(56px, 8vw, 100px); }
.cta-bar { display: flex; justify-content: space-between; align-items: center; gap: 22px 36px; flex-wrap: wrap; padding: clamp(24px, 3.4vw, 40px) clamp(22px, 3.6vw, 48px); border-radius: var(--radius-lg); }
.cta-bar h2 { font-size: clamp(1.5rem, 2.4vw, 2.1rem); margin: 0 0 8px; max-width: 26em; }
.cta-bar p { margin: 0; max-width: 40em; }
.cta-bar .btn-row { gap: 12px 22px; }
.cta-bar__mail { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; }
.cta-bar__mail svg { width: 18px; height: 18px; }
.cta-band::after { content: none; }

/* Kleine Bausteine */
.tags { list-style: none; padding: 0; margin: 0 0 1.2em; display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { padding: 6px 14px; border-radius: 999px; background: var(--blue-50); color: var(--blue); font-weight: 600; font-size: .92rem; border: 1px solid var(--blue-100); }
.on-light .tags li { background: var(--white); }
.fleet { list-style: none; padding: 0; margin: 1.2em 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 10px; }
.fleet li { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; font-weight: 600; color: var(--ink); line-height: 1.3; }
.fleet svg { width: 22px; height: 22px; color: var(--blue); flex: none; }
.media-pair { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(12px, 2vw, 20px); margin: 1.6em 0; }
.prose .media-pair .media { margin: 0; aspect-ratio: 3 / 4; }
.prose .media--wide { aspect-ratio: 21 / 8; }
.split--media-sm { grid-template-columns: 1.4fr 1fr; align-items: start; }
.prose .split--media-sm h2 { margin-top: 0; }
.prose .split--media-sm .media { margin: 0; aspect-ratio: 3 / 4; }
.quote { margin: 0; padding: clamp(24px, 3vw, 36px); background: var(--bg); border-radius: var(--radius-lg); border-left: 6px solid var(--yellow); }
.quote blockquote { margin: 0 0 14px; }
.quote blockquote p { font-size: clamp(1.15rem, 1.6vw, 1.35rem); line-height: 1.5; color: var(--blue); font-weight: 500; margin: 0; }
.quote figcaption { color: var(--muted); font-size: .95rem; }
.quote figcaption strong { color: var(--ink); }
.grid--5 { grid-template-columns: repeat(5, 1fr); }
.location { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 20px; display: flex; flex-direction: column; gap: 4px; }
.location__ico { width: 40px; height: 40px; border-radius: 10px; background: var(--blue); color: var(--yellow); display: grid; place-items: center; margin-bottom: 8px; }
.location__ico svg { width: 22px; height: 22px; }
.location strong { color: var(--blue); font-size: 1.05rem; }
.location span:last-child { color: var(--muted); font-size: .9rem; line-height: 1.4; }
.prose .locations { grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); }
.yearlist { list-style: none; padding: 0; margin: 10px 0 0; display: grid; gap: 8px; }
.yearlist li { display: grid; grid-template-columns: 52px 1fr; gap: 10px; align-items: baseline; }
.yearlist span { font-weight: 700; color: var(--muted); font-variant-numeric: tabular-nums; font-size: .92rem; }
.yearlist strong { color: var(--ink); font-weight: 600; }
.checklist--facts { margin-top: 1.2em; }
.faq { max-width: 900px; }
.card .media { aspect-ratio: 16 / 10; }
.grid--4 .card__body { padding: 20px 20px 22px; }
.timeline p a { font-weight: 600; }

@media (max-width: 1240px) {
  .grid--5 { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 980px) {
  .grid--5 { grid-template-columns: repeat(2, 1fr); }
  .infobar .stats { grid-template-columns: repeat(2, 1fr); }
  .split--media-sm { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .page-hero--img { padding-top: clamp(150px, 46vw, 220px); }
  .page-hero__box { display: block; }
  .infobar .stat__num { font-size: clamp(1.7rem, 8vw, 2.2rem); }
  .infobar .stat { padding: 4px 12px; }
  .media-pair { grid-template-columns: 1fr 1fr; }
  .grid--5 { grid-template-columns: 1fr 1fr; }
  .prose .media--wide { aspect-ratio: 16 / 9; }
  .hero__bg::after { background: linear-gradient(180deg, rgba(16, 34, 77, .25) 0%, rgba(16, 34, 77, .05) 22%, rgba(34, 69, 148, 0) 42%, rgba(34, 69, 148, .75) 66%, var(--blue) 100%); }
}
@media print { .page-hero__img { display: none; } .page-hero__box { background: #fff !important; box-shadow: none; } }
@media (max-width: 980px) { .infobar .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.infobar .stat__label { overflow-wrap: break-word; hyphens: auto; }
@media (max-width: 380px) { .infobar .stat__num { font-size: 1.6rem; } .infobar .stat { padding: 4px 10px; } }
h1, h2, h3, .location strong { overflow-wrap: break-word; hyphens: auto; -webkit-hyphens: auto; }

/* Startseite: Header + Hero + Kennzahlen-Balken füllen genau den Bildschirm (Wert --hero-chrome setzt main.js) */
:root { --hero-chrome: 236px; }
.hero--video { display: flex; flex-direction: column; min-height: calc(100vh - var(--hero-chrome)); min-height: calc(100svh - var(--hero-chrome)); }
.hero--video .hero__grid { flex: 1; min-height: 0; padding-top: clamp(40px, 6vw, 72px); padding-bottom: clamp(40px, 6vw, 72px); }
.infobar--hero { padding: clamp(14px, 1.8vw, 22px) 0; }
.infobar--hero .stat { padding: 2px 22px; }
.infobar--hero .stat__num { font-size: clamp(1.7rem, 2.6vw, 2.3rem); }
.infobar--hero .stat__label { margin-top: 3px; font-size: .95rem; }
@media (max-width: 980px) { .infobar--hero .stats { gap: 14px 0; } }
@media (max-width: 640px) {
  .hero--video .hero__grid { padding-top: clamp(230px, 66vw, 300px); padding-bottom: 40px; }
  .infobar--hero .stat { padding: 2px 12px; }
}
@media (max-width: 640px) {
  .hero--video .hero__bg { height: clamp(300px, 90vw, 400px); }
  .hero--video .hero__grid { padding-top: clamp(180px, 50vw, 240px); padding-bottom: 28px; }
  .hero--video h1 { font-size: clamp(2rem, 9vw, 2.6rem); }
  .hero--video .lead { margin-bottom: 20px; }
  .hero--video .btn-row { gap: 10px 14px; }
  .infobar--hero { padding: 14px 0; }
  .infobar--hero .stats { gap: 10px 0; }
  .infobar--hero .stat__label { font-size: .85rem; line-height: 1.35; }
}
.infobar--hero .reveal { opacity: 1; transform: none; }
/* Zweiter Kennzahlen-Balken der Startseite ebenfalls flacher */
.infobar--alt { padding: clamp(14px, 1.8vw, 22px) 0; }
.infobar--alt .stat { padding: 2px 22px; }
.infobar--alt .stat__num { font-size: clamp(1.7rem, 2.6vw, 2.3rem); }
.infobar--alt .stat__label { margin-top: 3px; font-size: .95rem; }
@media (max-width: 980px) { .infobar--alt .stats { gap: 14px 0; } }
@media (max-width: 640px) { .infobar--alt { padding: 14px 0; } .infobar--alt .stats { gap: 10px 0; } .infobar--alt .stat { padding: 2px 12px; } .infobar--alt .stat__label { font-size: .85rem; line-height: 1.35; } }
/* Alle Kennzahlen-Balken (auch Unterseiten) in derselben flachen Höhe wie auf der Startseite */
.infobar { padding: clamp(14px, 1.8vw, 22px) 0; }
.infobar .stat { padding: 2px 22px; }
.infobar .stat__num { font-size: clamp(1.7rem, 2.6vw, 2.3rem); }
.infobar .stat__label { margin-top: 3px; font-size: .95rem; }
@media (max-width: 980px) { .infobar .stats { gap: 14px 0; } }
@media (max-width: 640px) { .infobar { padding: 14px 0; } .infobar .stats { gap: 10px 0; } .infobar .stat { padding: 2px 12px; } .infobar .stat__label { font-size: .85rem; line-height: 1.35; } }
@media (max-width: 640px) { .infobar .stat__label { min-height: 2.7em; } }
@media (max-width: 640px) { .infobar .stat__num { font-size: 1.55rem; } .infobar .stat__label { font-size: .8rem; line-height: 1.3; min-height: 2.6em; } }
/* Zeitleiste: Zahl links, gelbe Markierung auf der Linie (überdeckt die Zahl nicht mehr) */
.timeline li { grid-template-columns: 96px 1fr; gap: 32px; }
.timeline::before { left: 111px; }
.timeline__year { padding-right: 0; font-size: 1.5rem; line-height: 1.15; }
.timeline__year::after { right: -24px; top: .4em; width: 16px; height: 10px; transform: skewX(var(--skew)); }
@media (max-width: 640px) {
  .timeline li { grid-template-columns: 56px 1fr; gap: 24px; }
  .timeline::before { left: 66px; }
  .timeline__year { font-size: 1.15rem; padding-right: 0; }
  .timeline__year::after { right: -18px; width: 12px; height: 8px; top: .45em; }
}
.prose .timeline h3, .timeline h3 { margin-top: 0; }

/* ===== Kunden-Feedback V2 (20.10.2026) ===== */
/* Keine automatischen Silbentrennungen in Überschriften ("welt-weit", "europa-weit") */
h1, h2, h3, .location strong { hyphens: manual; -webkit-hyphens: manual; }
/* Seitenkopf: blauer Balken über die gesamte Breite des Bildes */
.page-hero--img { padding: 0; min-height: clamp(320px, 38vw, 500px); display: flex; flex-direction: column; justify-content: flex-end; }
.page-hero--img::before { content: none; }
.page-hero__band { position: relative; background: rgba(34, 69, 148, .93); padding: clamp(18px, 2.4vw, 30px) 0; }
.page-hero__band h1 { margin: 0; font-size: clamp(2rem, 4.4vw, 3.4rem); }
.page-hero__band .breadcrumb { margin-bottom: 10px; }
.page-hero__band .lead { margin-top: 10px; }
/* Kennzahlen-Balken mit etwas Weißraum zum Hero */
.hero + .infobar, .page-hero + .infobar { margin-top: clamp(14px, 2vw, 24px); }
/* Zweiter Balken im selben Blau wie der erste */
.infobar--alt { background: var(--blue); }
/* Angebotsbalken: Überschrift ohne künstlichen Umbruch */
.cta-bar h2 { max-width: none; }
/* Firmenchronik / Abläufe: keine gelben Striche an den Jahreszahlen */
.timeline__year::after { content: none; }
.timeline::before { left: 112px; }
@media (max-width: 640px) { .timeline::before { left: 67px; } }
/* Standorte flexibel (6 Kacheln) */
.locations { grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }
@media (max-width: 640px) { .locations { grid-template-columns: 1fr 1fr; } .page-hero--img { min-height: 300px; } }
.prose > .eyebrow + h2 { margin-top: 0; }
/* Startwerte für --hero-chrome nahe am echten Wert: Hero springt beim Laden nicht (schnellerer Seitenaufbau) */
:root { --hero-chrome: 126px; }
@media (max-width: 980px) { :root { --hero-chrome: 114px; } }

/* Seitenkopf Unterseiten (Kundenwunsch 21.10.2026): blaue Fläche über dem ganzen Bild,
   transparent wie beim Video der Startseite – Text links auf dem Bild */
.page-hero--img { justify-content: center; }
.page-hero__img { z-index: 0; }
.page-hero--img::before { content: ""; position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(90deg, rgba(16, 34, 77, .82) 0%, rgba(27, 55, 120, .62) 42%, rgba(34, 69, 148, .18) 78%, rgba(34, 69, 148, 0) 100%),
    linear-gradient(180deg, rgba(16, 34, 77, .25) 0%, transparent 30%, transparent 70%, rgba(16, 34, 77, .35) 100%); }
.page-hero__band { z-index: 2; background: transparent; padding: clamp(28px, 4vw, 48px) 0; }
.page-hero__band h1, .page-hero__band .breadcrumb, .page-hero__band .eyebrow { text-shadow: 0 2px 18px rgba(16, 34, 77, .45); }
@media (max-width: 640px) {
  .page-hero--img::before { background: linear-gradient(90deg, rgba(16, 34, 77, .78) 0%, rgba(27, 55, 120, .55) 70%, rgba(34, 69, 148, .35) 100%); }
}
/* Karte nach Klick */
.map-ph.is-loaded { padding: 0; overflow: hidden; background: var(--blue-50); }
.map-ph.is-loaded iframe { width: 100%; height: 100%; border: 0; display: block; }
.map-ph .btn-row { margin-top: 12px; }
.map-ph .btn svg { width: 20px; height: 20px; margin: 0; color: currentColor; }
@media (max-width: 640px) { .map-ph:not(.is-loaded) { aspect-ratio: auto; } }

/* Checkbox-Zeilen in Formularen: Häkchen links, Text daneben (statt umbrechend) */
.form .check { display: flex; }

/* Abstellgenehmigung (27.10.2026) */
.ag-steps{list-style:none;counter-reset:s;padding:0;margin:24px 0 28px}
.ag-steps li{counter-increment:s;position:relative;padding:0 0 18px 58px;display:flex;flex-direction:column;gap:2px}
.ag-steps li::before{content:counter(s);position:absolute;left:0;top:0;width:40px;height:40px;border-radius:50%;background:var(--blue);color:var(--yellow);font-weight:800;display:grid;place-items:center;font-size:1.1rem}
.ag-steps strong{color:var(--blue);font-size:1.05rem;padding-top:8px}
.ag-info{background:#fff;border-radius:var(--radius-lg);padding:20px 24px;border:1px solid var(--line)}
.ag-info h3{margin:0 0 8px;font-size:1.1rem}.ag-info ul{margin:0;padding-left:18px}.ag-info li{margin:4px 0}
.ag-info .ph-note{margin-left:6px}
.ag-h{margin:0 0 4px;font-size:1.6rem}
.ag-mono{font-variant-numeric:tabular-nums;letter-spacing:.06em;font-weight:600}
.opt{font-weight:400;color:var(--muted);font-size:.9em}
.form__row.ag-plz{grid-template-columns:minmax(0,1fr) minmax(0,2fr)}
.ag-orte{border:0;padding:0;margin:0;display:flex;flex-wrap:wrap;gap:8px;min-width:0}
.ag-orte legend{font-weight:600;margin-bottom:10px;padding:0}
.ag-orte label{cursor:pointer;margin:0;position:relative}
.ag-orte input{position:absolute;opacity:0;width:1px;height:1px}
.ag-orte label span{display:inline-block;padding:9px 15px;border-radius:999px;border:1.5px solid var(--line);background:#fff;color:var(--blue);font-weight:600;font-size:.93rem}
.ag-orte label input:checked+span{background:var(--blue);border-color:var(--blue);color:var(--yellow)}
.ag-orte label input:focus-visible+span{outline:3px solid var(--yellow);outline-offset:2px}
.ag-orte .field-error{flex-basis:100%}
/* Downloads */
.dl-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,320px),1fr));gap:20px}
.dl-item{display:flex;gap:18px;align-items:flex-start;background:#fff;border:1px solid var(--line);border-radius:var(--radius-lg);padding:22px 24px}
.dl-item .feature__ico{flex:none;margin:0}
.dl-item h3{margin:0 0 6px;font-size:1.1rem}.dl-item p{margin:0 0 10px;color:var(--muted)}
/* ===== Suche (27.10.2026) ===== */
.site-search { position: relative; display: flex; align-items: center; }
.site-search--top { flex: 0 1 300px; margin-left: auto; }
.site-search__input { width: 100%; height: 30px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink); font: inherit; font-size: .88rem; padding: 0 36px 0 14px; -webkit-appearance: none; appearance: none; }
.site-search__input:focus { outline: 2px solid var(--blue); outline-offset: 1px; border-color: var(--blue); }
.site-search__input::-webkit-search-cancel-button { display: none; }
.site-search__btn { position: absolute; right: 3px; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border: 0; background: none; color: var(--blue); display: grid; place-items: center; cursor: pointer; border-radius: 50%; }
.site-search__btn svg { width: 16px; height: 16px; }
.site-search__results { position: absolute; top: calc(100% + 8px); right: 0; width: min(440px, calc(100vw - 32px)); max-height: min(70vh, 520px); overflow: auto; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 18px 40px rgba(16, 34, 77, .18); padding: 8px; z-index: 300; text-align: left; }
.site-search__results a, .topbar .site-search__results a { display: block; padding: 10px 12px; border-radius: 10px; color: var(--ink); text-decoration: none; line-height: 1.35; }
.site-search__results a:hover, .site-search__results a.is-active { background: var(--bg); }
.site-search__results strong { display: block; color: var(--blue); font-size: .95rem; }
.site-search__results strong span { color: var(--muted); font-weight: 500; }
.site-search__results small { display: block; color: var(--muted); font-size: .84rem; margin-top: 3px; }
.site-search__results mark, .search-list mark { background: #fff1b8; color: inherit; padding: 0 1px; border-radius: 2px; }
.site-search__label { margin: 6px 12px 4px; font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.site-search__empty { margin: 10px 12px; color: var(--muted); font-size: .9rem; }
.site-search__all { font-weight: 700; color: var(--blue) !important; border-top: 1px solid var(--line); border-radius: 0 0 10px 10px !important; margin-top: 4px; }
.topbar__right { flex: none; }
.search-panel { position: sticky; top: var(--header-h, 72px); z-index: 90; background: #fff; border-bottom: 1px solid var(--line); padding: 12px 0; box-shadow: 0 10px 24px rgba(16, 34, 77, .08); }
.search-panel[hidden] { display: none; }
.search-panel .site-search__input { height: 46px; font-size: 1rem; padding-left: 16px; }
.search-panel .site-search__btn { width: 40px; height: 40px; right: 4px; }
.search-panel .site-search__results { left: 0; right: 0; width: auto; }
.site-search--page { gap: 10px; margin-bottom: 28px; }
.site-search--page .site-search__input { height: 54px; font-size: 1.05rem; padding: 0 18px; border-radius: 12px; }
.search-count { color: var(--muted); }
.search-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.search-list a { display: block; padding: 18px 22px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; text-decoration: none; color: var(--ink); }
.search-list a:hover { border-color: var(--blue); }
.search-list strong { color: var(--blue); font-size: 1.1rem; }
.search-list strong span { color: var(--muted); font-weight: 500; }
.search-list p { margin: 6px 0 0; color: var(--muted); }
@media (max-width: 1100px) { .site-search--top { flex-basis: 220px; } }
@media (max-width: 640px) {
  .site-search--top { display: none; }
  [data-search-toggle] { display: grid !important; }
}
@media (max-width: 380px) { .header-actions .burger { width: 42px; height: 42px; } .header-actions { gap: 6px; } .site-header .container { gap: 10px; } }
@media (max-width: 350px) { .header-actions .burger { width: 40px; height: 40px; } .brand img { height: 34px; } }
/* Auf einen Blick (Über uns) */
.facts { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 40px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 8px 28px; }
.facts > div { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.facts dt { font-weight: 700; color: var(--blue); }
.facts dd { margin: 0; }
@media (min-width: 901px) { .facts > div:nth-last-child(-n+2):nth-child(odd), .facts > div:last-child { border-bottom: 0; } }
@media (max-width: 900px) { .facts { grid-template-columns: 1fr; padding: 4px 20px; } .facts > div:last-child { border-bottom: 0; } }
@media (max-width: 520px) { .facts > div { grid-template-columns: 1fr; gap: 2px; } }
.dl-item > div { min-width: 0; }
.dl-item p, .dl-item h3 { overflow-wrap: break-word; }
/* ===== Sprachumschalter DE | EN (27.10.2026) ===== */
.lang-switch { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; background: #fff; padding: 2px; flex: none; }
.lang-switch > * { display: inline-flex; align-items: center; justify-content: center; min-width: 34px; height: 24px; padding: 0 8px; border-radius: 999px; font-size: .78rem; font-weight: 700; letter-spacing: .06em; line-height: 1; text-decoration: none; }
.lang-switch a { color: var(--blue); }
.lang-switch a:hover { background: var(--bg); color: var(--blue-800); }
.lang-switch [aria-current] { background: var(--blue); color: var(--yellow); }
.topbar .lang-switch a { color: var(--blue); gap: 0; }
.lang-switch--menu { margin: 18px 0 4px; height: auto; }
.lang-switch--menu > * { min-width: 48px; height: 34px; font-size: .9rem; }
.lang-note { margin: 0; font-size: .92rem; }
@media (max-width: 640px) { .topbar .container { justify-content: space-between; } .topbar__right { width: 100%; justify-content: space-between; gap: 12px; } }

/* Redaktionsinhalte: lange Button-Texte (z. B. ADSp-Download) dürfen auf schmalen Bildschirmen umbrechen */
[data-cms] .btn { white-space: normal; max-width: 100%; text-align: left; line-height: 1.15; }

/* Hinweis-Banner aus dem Redaktionsbereich (z. B. Betriebsferien, Störung) */
.hinweis { background: var(--blue); color: #fff; font-size: .95rem; line-height: 1.4; }
.hinweis--warnung { background: var(--yellow); color: var(--blue); }
.hinweis .container { display: flex; align-items: center; gap: 12px; padding-top: 10px; padding-bottom: 10px; }
.hinweis p { margin: 0; flex: 1; min-width: 0; }
.hinweis a { color: inherit; font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }
.hinweis__zu { flex: none; width: 32px; height: 32px; display: grid; place-items: center; border: 0; border-radius: 6px; background: transparent; color: inherit; font-size: 1.4rem; line-height: 1; cursor: pointer; }
.hinweis__zu:hover, .hinweis__zu:focus-visible { background: rgba(255, 255, 255, .15); }
.hinweis--warnung .hinweis__zu:hover, .hinweis--warnung .hinweis__zu:focus-visible { background: rgba(34, 69, 148, .12); }
.hinweis[hidden] { display: none; }

/* ===== Kopfbereich: Suche mittig, obere Leiste blendet beim Hochscrollen wieder ein (29.10.2026) ===== */
:root { --topbar-h: 40px; --kopf-h: calc(var(--header-h) + var(--topbar-h)); }
html.leiste-weg { --kopf-h: var(--header-h); }
html { scroll-padding-top: calc(var(--kopf-h) + 16px); }
.topbar { position: sticky; top: 0; z-index: 101; transition: top .28s var(--ease); }
/* Leiste und Menü bewegen sich über dieselbe Eigenschaft (top) – so laufen beide Bewegungen exakt gleich.
   Das Menü liegt 1px unter der Leiste, und eine Fläche in Menüfarbe darüber schließt jede Rundungslücke. */
.site-header { top: calc(var(--topbar-h) - 1px); transition: top .28s var(--ease), box-shadow .25s var(--ease); }
.site-header::before { content: ""; position: absolute; left: 0; right: 0; bottom: 100%; height: var(--topbar-h); background: inherit; pointer-events: none; }
html.leiste-weg .topbar { top: calc(-1 * var(--topbar-h)); }
html.leiste-weg .site-header { top: -1px; }
.subnav, .jobs-form { top: calc(var(--kopf-h) + 24px); transition: top .28s var(--ease); }
.search-panel { top: var(--kopf-h); transition: top .28s var(--ease); }
@media (min-width: 641px) {
  .topbar .container { display: grid; grid-template-columns: 1fr minmax(0, 300px) 1fr; justify-content: stretch; }
  .topbar__left { justify-self: start; }
  .site-search--top { justify-self: center; width: 100%; margin: 0; }
  .topbar__right { justify-self: end; }
  .topbar .status-pill, .topbar__left a { white-space: nowrap; }
  .topbar__left svg { flex: none; }
}
@media (min-width: 641px) and (max-width: 1100px) { .topbar .container { grid-template-columns: 1fr minmax(0, 240px) 1fr; } }
