/*
  koeln-strom-bernhardt.de — shared design language (elektro-volt, re-themed violet/yellow)
  Composable primitives only — no page copy baked in. Colours/type come from theme.json
  presets (var(--wp--preset--color--*), var(--wp--preset--font-size--*)); radius/shadow/
  container/motion tokens live here because theme.json core has no preset list for them.

  Palette note: primary is violet (#7a1fa8), not Berlin's navy. `--wp--preset--color--dark-muted`
  only clears 4.5:1 against the primary-dark/dark/dark2 tier (7.2–10.3:1) — it does NOT clear
  AA against vivid `--primary` itself (4.41:1, just under). So: on vivid `.hero`/`.cta-band`/
  `.phoneblock .call` (bg = --primary) every text tier is --on-primary (white); dark-muted is
  reserved for the darker tier (--primary-dark/--dark/--dark2). See DESIGN-LANGUAGE.md §Colour.
*/

:root{
  --r:0px; --r-sm:3px; --r-card:10px; --pill:999px;
  --sh-card:0 0 50px rgba(5,5,5,.08); --sh-card-h:0 0 50px rgba(5,5,5,.17);
  --sh-lift:0 18px 40px rgba(122,31,168,.20); /* primary token's own rgb, not a new hue */
  --c:1200px; --ease:cubic-bezier(.22,.61,.36,1);
  --callbar-h:74px;
}

/* ---------- reset + base ---------- */
*{box-sizing:border-box}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{overflow-x:hidden}
img{max-width:100%;height:auto;display:block}
main{display:block}
:focus-visible{outline:3px solid var(--wp--preset--color--focus);outline-offset:2px}
/* Contextual focus-ring swap: --focus (#150a1c) is ~19:1 on white but only ~2.4:1 on vivid
   --primary — fails the 3:1 non-text-contrast rule for a ring sitting on a hero button.
   --cta (yellow) clears 3:1 against every dark/vivid tier (5.8–13.6:1) but FAILS against white
   (1.4:1) — so this override must stay scoped to genuinely dark/vivid backgrounds only. The
   light hero variants (--split/--solid/--local put the section back on a white/tint surface)
   are explicitly excluded. outline-offset stays positive everywhere so the ring sits in the
   background gap, never flush against a yellow .btn--accent fill (yellow-on-yellow would fail
   1.4.11 regardless of ring colour) — do not "clean up" that offset to 0. */
.hero:not(.hero--split):not(.hero--solid):not(.hero--local) :focus-visible,
.hero--emergency :focus-visible,
.section--dark :focus-visible,
.section--navy :focus-visible,
.cta-band :focus-visible,
.site-footer :focus-visible,
.topbar :focus-visible,
.phoneblock .call :focus-visible{outline-color:var(--wp--preset--color--cta)}
.notice--fill :focus-visible{outline-color:var(--wp--preset--color--on-primary)} /* cta AND on-cta both fail 3:1 on --danger red; white clears 6.5:1 */
.vh{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
.skip{position:absolute;left:-9999px;top:0;background:var(--wp--preset--color--primary);color:var(--wp--preset--color--on-primary);padding:12px 18px;z-index:400;font-weight:700}
.skip:focus{left:8px;top:8px;color:var(--wp--preset--color--on-primary)}
.wrap{width:min(100% - 36px,var(--c));margin-inline:auto}
.wrap--narrow{width:min(100% - 36px,960px);margin-inline:auto}
body.no-scroll{overflow:hidden}

/* ---------- primitives: eyebrow / section titles ---------- */
.eyebrow{display:inline-block;position:relative;font-size:var(--wp--preset--font-size--xs);font-weight:800;letter-spacing:.2em;text-transform:uppercase;color:var(--wp--preset--color--primary);border:3px solid var(--wp--preset--color--border);padding:3px 22px;line-height:26px;margin-bottom:16px;background:var(--wp--preset--color--surface)}
.eyebrow .bolt{position:absolute;top:-11px;left:50%;transform:translateX(-50%);width:18px;height:18px;background:var(--wp--preset--color--surface);padding:0 2px}
.eyebrow.left{padding-left:56px;border:0;background:transparent;line-height:1.5}
.eyebrow.left::before{content:"";position:absolute;left:0;top:50%;transform:translateY(-50%);width:43px;height:5px;border-radius:5px;background:var(--wp--preset--color--primary)}
.eyebrow.on-dark{color:var(--wp--preset--color--on-primary);border-color:var(--wp--preset--color--dark-line);background:transparent}
.eyebrow.on-dark .bolt{background:transparent}
.eyebrow.left.on-dark::before{background:var(--wp--preset--color--cta)}
.stitle{font-size:var(--wp--preset--font-size--xl);line-height:1.16;letter-spacing:-.01em;color:var(--wp--preset--color--head);font-weight:800;max-width:20ch;overflow-wrap:break-word;hyphens:auto}
.stitle.on-dark{color:var(--wp--preset--color--on-primary)}
.lead{margin-top:14px;max-width:62ch;color:var(--wp--preset--color--text);font-size:1.0625rem}
.lead.on-dark{color:var(--wp--preset--color--dark-muted)}
.section{padding:clamp(56px,8vw,104px) 0}
.section--tint{background:var(--wp--preset--color--tint)}
.section--tint2{background:var(--wp--preset--color--tint2)}
.section--dark{background:var(--wp--preset--color--dark);color:var(--wp--preset--color--dark-muted)}
.section--dark h1,.section--dark h2,.section--dark h3{color:var(--wp--preset--color--on-primary)}
/* .section--navy: our brand hue is violet, not navy — this band points at --primary-dark
   (not --primary) so it reads as a distinct, deeper tier from the vivid hero/cta-band fill,
   and so --dark-muted body text clears AA on it (7.2:1) instead of failing (4.4:1 on --primary).
   Class name kept as "navy" for drop-in compatibility with any markup that expects it. */
.section--navy{background:var(--wp--preset--color--primary-dark);color:var(--wp--preset--color--dark-muted)}
.section--navy h1,.section--navy h2,.section--navy h3{color:var(--wp--preset--color--on-primary)}
.shead{margin-bottom:44px}
.shead.center{text-align:center;display:flex;flex-direction:column;align-items:center}
.shead.center .stitle{max-width:24ch}
.shead.split{display:grid;grid-template-columns:1.15fr .85fr;gap:34px;align-items:end}

/* ---------- buttons (sharp — the signature) ---------- */
.btn{position:relative;overflow:hidden;display:inline-flex;align-items:center;gap:10px;border:0;border-radius:var(--r);
  padding:19px 44px;font-family:inherit;font-size:.875rem;font-weight:700;letter-spacing:.7px;text-transform:uppercase;
  cursor:pointer;transition:color .4s var(--ease),box-shadow .4s var(--ease);z-index:0;min-height:44px;text-decoration:none!important}
.btn span{position:relative;z-index:2;display:inline-flex;align-items:center;gap:10px}
.btn::before{content:"";position:absolute;inset:0;z-index:1;transform:scaleX(0);transform-origin:right;transition:transform .45s var(--ease)}
.btn:hover::before{transform:scaleX(1);transform-origin:left}
.btn svg{width:17px;height:17px;flex:none}
.btn--accent{background:var(--wp--preset--color--cta);color:var(--wp--preset--color--on-cta)}
.btn--accent::before{background:var(--wp--preset--color--primary)}
.btn--accent:hover{color:var(--wp--preset--color--on-primary);box-shadow:var(--sh-lift)}
.btn--brand{background:var(--wp--preset--color--primary);color:var(--wp--preset--color--on-primary)}
.btn--brand::before{background:var(--wp--preset--color--cta)}
.btn--brand:hover{color:var(--wp--preset--color--on-cta)}
.btn--ghost{background:transparent;color:var(--wp--preset--color--on-primary);box-shadow:inset 0 0 0 2px rgba(255,255,255,.55)}
.btn--ghost::before{background:var(--wp--preset--color--surface)}
.btn--ghost:hover{color:var(--wp--preset--color--primary)}
.btn--sm{padding:13px 28px;font-size:.8125rem}
.btn--block{width:100%;justify-content:center}

/* ---------- icon badges ---------- */
.ibadge{display:grid;place-items:center;width:75px;height:75px;flex:none;transition:.35s var(--ease);color:var(--wp--preset--color--primary)}
.ibadge svg{width:34px;height:34px}
.ibadge--bordered{border:3px solid var(--wp--preset--color--border)}
.ibadge--round{border-radius:50%}
.ibadge--fill{background:var(--wp--preset--color--cta);color:var(--wp--preset--color--on-cta)}
.ibadge--navy{background:var(--wp--preset--color--primary);color:var(--wp--preset--color--cta)}
.ibadge--danger{background:var(--wp--preset--color--danger);color:var(--wp--preset--color--on-primary)}
.ibadge--sm{width:50px;height:50px}.ibadge--sm svg{width:22px;height:22px}
.ibadge--lg{width:90px;height:90px}.ibadge--lg svg{width:44px;height:44px}

/* ---------- topbar + header + nav (mega dropdowns) ---------- */
.topbar{background:var(--wp--preset--color--primary-dark);color:var(--wp--preset--color--dark-muted);font-size:.84375rem}
.topbar .wrap{display:flex;gap:26px;align-items:center;justify-content:space-between;min-height:44px;flex-wrap:wrap}
.topbar ul{display:flex;gap:24px;list-style:none;padding:0;margin:0;flex-wrap:wrap}
.topbar li{display:flex;align-items:center;gap:8px}
.topbar svg{width:14px;height:14px;color:var(--wp--preset--color--cta);flex:none}
.topbar a{color:var(--wp--preset--color--dark-muted);text-decoration:none}
.topbar a[href^="tel:"]{display:inline-flex;align-items:center;min-height:44px;font-weight:700}
.topbar a:hover{color:var(--wp--preset--color--cta)}

.site-header{position:sticky;top:0;z-index:220;background:var(--wp--preset--color--surface);border-bottom:1px solid var(--wp--preset--color--border);transition:box-shadow .3s}
.site-header.stuck{box-shadow:0 10px 30px rgba(5,5,5,.09)}
.nav{display:flex;align-items:center;gap:22px;min-height:82px}
.brand{display:flex;align-items:center;gap:12px;font-weight:800;font-size:1.1875rem;color:var(--wp--preset--color--head);letter-spacing:-.01em;line-height:1.15;text-decoration:none}
.brand .mk{display:grid;place-items:center;width:44px;height:44px;background:var(--wp--preset--color--primary);color:var(--wp--preset--color--cta);flex:none}
.brand .mk svg{width:24px;height:24px}
.brand small{display:block;font-size:.71875rem;font-weight:700;letter-spacing:.16em;text-transform:uppercase;color:var(--wp--preset--color--text-muted)}
.menu{display:flex;gap:6px;list-style:none;padding:0;margin:0 0 0 auto;align-items:center}
.menu>li{position:relative}
.menu>li>a,.menu>li>button{font-size:.875rem;font-weight:600;letter-spacing:.04em;text-transform:uppercase;color:var(--wp--preset--color--head);position:relative;padding:12px 12px;display:inline-flex;align-items:center;gap:6px;background:none;border:0;cursor:pointer;font-family:inherit;text-decoration:none}
.menu>li>a::after{content:"";position:absolute;left:12px;right:12px;bottom:6px;height:3px;width:0;background:var(--wp--preset--color--cta);transition:width .3s var(--ease)}
.menu>li>a:hover::after,.menu>li>a[aria-current]::after{width:calc(100% - 24px)}
.menu>li>button .chev{width:11px;height:11px;transition:transform .25s var(--ease)}
.menu>li.open>button .chev{transform:rotate(180deg)}

.dropdown{position:absolute;top:100%;left:0;background:var(--wp--preset--color--surface);box-shadow:var(--sh-card-h);border-top:3px solid var(--wp--preset--color--cta);padding:20px;min-width:280px;
  opacity:0;visibility:hidden;transform:translateY(8px);transition:opacity .22s var(--ease),transform .22s var(--ease),visibility .22s;z-index:200}
.menu>li.open .dropdown,.menu>li:hover .dropdown{opacity:1;visibility:visible;transform:none}
.dropdown.cols2{min-width:460px;columns:2;column-gap:24px}
.dropdown.cols3{min-width:640px;columns:3;column-gap:24px}
.dropdown a{display:block;break-inside:avoid;padding:9px 10px;font-size:.875rem;font-weight:600;color:var(--wp--preset--color--head);text-transform:none;letter-spacing:0;text-decoration:none;border-radius:0}
.dropdown a:hover{background:var(--wp--preset--color--tint);color:var(--wp--preset--color--primary-hover)}
.dropdown .dhub{display:block;margin-top:10px;padding-top:12px;border-top:1px solid var(--wp--preset--color--border);font-size:.8125rem;font-weight:800;text-transform:uppercase;letter-spacing:.08em;color:var(--wp--preset--color--primary)}

.nav-phone{display:flex;align-items:center;gap:12px;text-decoration:none;min-height:44px}
.nav-phone .ic{display:grid;place-items:center;width:46px;height:46px;background:var(--wp--preset--color--tint);color:var(--wp--preset--color--primary);flex:none}
.nav-phone .ic svg{width:20px;height:20px}
.nav-phone b{display:block;font-size:1.125rem;color:var(--wp--preset--color--head);letter-spacing:-.01em;line-height:1.25}
.nav-phone span{display:block;font-size:.71875rem;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:var(--wp--preset--color--text-muted)}
.burger{display:none;place-items:center;width:46px;height:46px;background:var(--wp--preset--color--primary);color:var(--wp--preset--color--on-primary);border:0;cursor:pointer;flex:none}
.burger svg{width:22px;height:22px}

/* mobile drawer */
.drawer{position:fixed;inset:0;z-index:260;display:none}
.drawer.open{display:block}
.drawer__scrim{position:absolute;inset:0;background:rgba(23,11,34,.55)} /* --dark token's own rgb, not a new hue */
.drawer__panel{position:absolute;top:0;right:0;bottom:0;width:min(88vw,380px);background:var(--wp--preset--color--surface);overflow-y:auto;padding:18px}
.drawer__top{display:flex;align-items:center;justify-content:space-between;padding-bottom:14px;border-bottom:1px solid var(--wp--preset--color--border);margin-bottom:8px}
.drawer__close{width:44px;height:44px;display:grid;place-items:center;background:var(--wp--preset--color--tint);border:0;cursor:pointer}
.drawer ul{list-style:none;padding:0;margin:0}
.drawer a{display:block;padding:14px 4px;border-bottom:1px solid var(--wp--preset--color--border);font-weight:600;text-transform:uppercase;font-size:.875rem;color:var(--wp--preset--color--head);text-decoration:none;min-height:44px}
.drawer details summary{list-style:none;cursor:pointer;padding:14px 4px;border-bottom:1px solid var(--wp--preset--color--border);font-weight:600;text-transform:uppercase;font-size:.875rem;color:var(--wp--preset--color--head);display:flex;justify-content:space-between;align-items:center}
.drawer details summary::-webkit-details-marker{display:none}
.drawer details[open] summary{color:var(--wp--preset--color--primary)}
.drawer details .sub{padding:4px 0 10px 12px}
.drawer details .sub a{border-bottom:0;padding:9px 4px;font-weight:500;text-transform:none;font-size:.9375rem}
.drawer .btn{margin-top:14px}

/* ---------- hero variants ---------- */
.hero{position:relative;background:var(--wp--preset--color--primary);color:var(--wp--preset--color--on-primary);overflow:hidden}
.hero::after{content:"";position:absolute;right:-140px;top:-140px;width:520px;height:520px;border:60px solid rgba(255,255,255,.035);border-radius:50%;pointer-events:none}
.hero .grid{display:grid;grid-template-columns:1.08fr .92fr;gap:52px;align-items:center;padding:clamp(52px,6.5vw,92px) 0 0}
.hero .display{font-size:var(--wp--preset--font-size--display);line-height:.94;font-weight:900;letter-spacing:-.025em;text-transform:uppercase;color:var(--wp--preset--color--on-primary);margin:6px 0 0;overflow-wrap:break-word;hyphens:auto}
.hero .display em{display:block;font-style:normal;color:var(--wp--preset--color--cta)}
/* Hero display tiers — Köln's longer combined-service names (…Verteiler, …FI-Schalter) run
   well past Berlin's plain city-name hero. See DESIGN-LANGUAGE.md for the exact per-name table.
   .stitle carries the H1 on .hero--split/.hero--emergency (it, not .display, sets font-size
   there) so the tier selectors must reach it at equal-or-higher specificity than those variant
   rules, or the variant's own font-size wins the cascade. lang="de" belongs on the H1 itself
   (set by the page author), not here. */
.display--long,.hero--split .stitle.display--long,.hero--emergency .stitle.display--long{font-size:clamp(1.75rem,4.5vw,4.25rem);overflow-wrap:break-word;hyphens:auto}
.display--xlong,.hero--split .stitle.display--xlong,.hero--emergency .stitle.display--xlong{font-size:clamp(1.5rem,3.5vw,3rem);overflow-wrap:break-word;hyphens:auto}
.hero p.lead{color:var(--wp--preset--color--on-primary);font-size:1.0625rem;max-width:52ch}
.hero-cta{display:flex;gap:14px;flex-wrap:wrap;margin-top:32px;align-items:center}
.hero-note{display:flex;align-items:center;gap:9px;font-size:.84375rem;color:var(--wp--preset--color--on-primary)}
.hero-note svg{width:16px;height:16px;color:var(--wp--preset--color--cta);flex:none}
.hero-media{position:relative}
.hero-media img{width:100%;aspect-ratio:9/10;object-fit:cover}
.hero-media .tag{position:absolute;left:-26px;bottom:38px;background:var(--wp--preset--color--cta);color:var(--wp--preset--color--on-cta);padding:18px 26px;max-width:230px;box-shadow:var(--sh-lift)}
.hero-media .tag b{display:block;font-size:1.875rem;font-weight:900;line-height:1}
.hero-media .tag span{display:block;font-size:.75rem;font-weight:800;letter-spacing:.14em;text-transform:uppercase;margin-top:5px}
.hero-rail{position:relative;z-index:2;display:grid;grid-template-columns:repeat(4,1fr);gap:1px;background:var(--wp--preset--color--dark-line);margin-top:clamp(40px,5vw,70px)}
.hero-rail div{background:var(--wp--preset--color--primary-dark);padding:26px 24px;display:flex;gap:14px;align-items:center}
.hero-rail svg{width:26px;height:26px;color:var(--wp--preset--color--cta);flex:none}
.hero-rail b{display:block;color:var(--wp--preset--color--on-primary);font-size:.9375rem;line-height:1.35}
.hero-rail span{display:block;font-size:.8125rem;color:var(--wp--preset--color--dark-muted)}

/* split hero + emergency-bar hero + local-context hero + solid-panel hero (light backgrounds —
   excluded from the yellow focus-ring override above; the base --focus token applies here) */
.hero--split{background:var(--wp--preset--color--bg);color:var(--wp--preset--color--text)}
.hero--split .grid{align-items:center}
.hero--split .stitle{color:var(--wp--preset--color--head);font-size:var(--wp--preset--font-size--display);max-width:none;text-transform:uppercase;font-weight:900;line-height:.98}
.hero--split .stitle em{display:block;font-style:normal;color:var(--wp--preset--color--primary)}
.hero--emergency{background:var(--wp--preset--color--dark);color:var(--wp--preset--color--on-primary);text-align:center}
.hero--emergency .stitle{color:var(--wp--preset--color--on-primary);max-width:none;font-size:var(--wp--preset--font-size--display);text-transform:uppercase}
.hero--emergency .stitle em{color:var(--wp--preset--color--cta);font-style:normal}
.hero--emergency .hero-cta{justify-content:center}
.hero--emergency .lead{margin-inline:auto}
.hero--solid{background:var(--wp--preset--color--primary-subtle);color:var(--wp--preset--color--text)}
.hero--solid .stitle{color:var(--wp--preset--color--head)}
.hero--local{background:var(--wp--preset--color--tint)}
.hero--local .eyebrow{background:var(--wp--preset--color--tint)}
/* --split/--solid/--local repaint the SECTION back to a light surface, but .hero p.lead /
   .hero-note(+svg) are hardcoded to the vivid full-bleed hero's on-primary/cta pairing at
   (0,2,1) specificity — near-invisible text on a light bg otherwise. Same specificity here
   (not compounded to .hero.hero--X) so a page's own more-specific or later same-specificity
   override (see e.g. preise-hero-honesty.php's deliberate text-muted choice) still wins; this
   is only the correct DEFAULT for pages that don't add one. --emergency is excluded: it stays
   on the dark tier, where on-primary is already correct (verified against notdienst-hero-call.php). */
.hero--split p.lead,.hero--solid p.lead,.hero--local p.lead,
.hero--split .lead,.hero--solid .lead,.hero--local .lead{color:var(--wp--preset--color--text)}
.hero--split .hero-note,.hero--local .hero-note{color:var(--wp--preset--color--text-muted)}
/* .hero--solid's bg (--primary-subtle, a light violet tint, not near-white like --bg/--tint) only
   gives --text-muted ~4.79:1 at .hero-note's small 13.5px size — axe-core's real-render
   colour-contrast check flags this as a fail in practice even though the flat CSS-value formula
   rounds just over 4.5:1 (small text + anti-aliasing leaves little margin). --text (7.35:1 on
   this bg) is the safe choice here specifically. */
.hero--solid .hero-note{color:var(--wp--preset--color--text)}
.hero--split .hero-note svg,.hero--solid .hero-note svg,.hero--local .hero-note svg{color:var(--wp--preset--color--primary)}
/* Split/local heroes have no wide decorative circle bleeding into the layout edge the way the
   vivid full-bleed hero does, so .hero-media .tag's left:-26px overhang gets clipped by .hero's
   own overflow:hidden at desktop widths (the ≤1080px breakpoint already corrects this; these two
   variants need it above that breakpoint too). Layout-only, same values as that breakpoint. */
.hero--split .hero-media .tag,.hero--local .hero-media .tag{left:auto;right:18px}

/* ---------- trust strip ---------- */
.trust{display:grid;grid-template-columns:repeat(3,1fr);gap:28px}
.trust .it{display:flex;gap:16px;align-items:flex-start}
.trust h3{font-size:1.0625rem;margin-bottom:4px}
.trust p{font-size:.96875rem;line-height:1.7;color:var(--wp--preset--color--text-muted)}

/* ---------- card grids ---------- */
.g2{display:grid;grid-template-columns:1fr 1fr;gap:30px}
.g3{display:grid;grid-template-columns:repeat(3,1fr);gap:30px}
.g4{display:grid;grid-template-columns:repeat(4,1fr);gap:26px}
.scard{background:var(--wp--preset--color--surface);box-shadow:var(--sh-card);transition:box-shadow .4s var(--ease),transform .4s var(--ease);position:relative;text-decoration:none;display:block;color:inherit}
.scard:hover{box-shadow:var(--sh-card-h);transform:translateY(-6px)}
.scard .bd{padding:30px 28px 30px}
.scard .ibadge{margin-bottom:16px}
.scard h3{font-size:1.25rem;margin-bottom:9px}
.scard p{font-size:1rem;line-height:1.75;color:var(--wp--preset--color--text)}
.scard .more{display:inline-flex;align-items:center;gap:8px;margin-top:16px;font-size:.8125rem;font-weight:800;letter-spacing:.1em;text-transform:uppercase;color:var(--wp--preset--color--primary)}
.scard .more svg{width:15px;height:15px;transition:transform .3s var(--ease)}
.scard:hover .more svg{transform:translateX(5px)}

/* ---------- icon-list (symptoms / factors / benefits) ---------- */
.ilist{display:grid;grid-template-columns:repeat(2,1fr);gap:22px}
.ilist--3{grid-template-columns:repeat(3,1fr)}
.ilitem{display:flex;gap:16px;align-items:flex-start;background:var(--wp--preset--color--surface);padding:22px 24px;box-shadow:var(--sh-card);transition:.35s var(--ease)}
.ilitem:hover{box-shadow:var(--sh-card-h);transform:translateX(4px)}
.ilitem h3{font-size:1.0625rem;margin-bottom:5px}
.ilitem p{font-size:.9375rem;line-height:1.68;color:var(--wp--preset--color--text)}
.checks{list-style:none;padding:0;margin:26px 0 0;display:grid;gap:14px}
.checks li{display:flex;gap:13px;align-items:flex-start;font-size:.96875rem;color:var(--wp--preset--color--text)}
.checks svg{width:22px;height:22px;flex:none;color:var(--wp--preset--color--primary);margin-top:3px}
.checks b{color:var(--wp--preset--color--head)}

/* ---------- split / feature-split ---------- */
.split{display:grid;grid-template-columns:.95fr 1.05fr;gap:56px;align-items:center}
.split.rev{grid-template-columns:1.05fr .95fr}
.split.rev .media{order:2}
.split .media{position:relative}
.split .media .badge{position:absolute;right:-22px;bottom:-22px;background:var(--wp--preset--color--primary);color:var(--wp--preset--color--on-primary);padding:26px 30px;max-width:240px;box-shadow:var(--sh-lift)}
.split .media .badge b{display:block;font-size:2.125rem;font-weight:900;color:var(--wp--preset--color--cta);line-height:1}
.split .media .badge span{display:block;font-size:.8125rem;margin-top:6px;color:var(--wp--preset--color--on-primary);line-height:1.5}

/* ---------- contrast-pair ---------- */
.contrast{display:grid;grid-template-columns:1fr 1fr;gap:2px;background:var(--wp--preset--color--border);align-items:stretch}
.cpanel{background:var(--wp--preset--color--surface);padding:32px 30px}
.cpanel--accent{background:var(--wp--preset--color--primary);color:var(--wp--preset--color--on-primary)}
.cpanel--accent h3{color:var(--wp--preset--color--on-primary)}
.cpanel h3{font-size:1.1875rem;margin-bottom:10px;display:flex;align-items:center;gap:12px}
.cpanel p{font-size:.9375rem;line-height:1.7}
.cpanel ul{margin:14px 0 0;padding:0;list-style:none;display:grid;gap:8px;font-size:.9375rem}
.cpanel li{padding-left:20px;position:relative}
.cpanel li::before{content:"";position:absolute;left:0;top:.6em;width:8px;height:8px;background:var(--wp--preset--color--cta)}

/* ---------- stats (ghost numerals) ---------- */
.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:30px;text-align:center}
.stat{position:relative;padding-top:34px}
.stat .ghost{position:absolute;top:0;left:0;right:0;font-size:6rem;line-height:.8;font-weight:900;color:rgba(255,255,255,.06);letter-spacing:-.04em;pointer-events:none;user-select:none}
.stat b{position:relative;display:block;font-size:2.875rem;font-weight:900;color:var(--wp--preset--color--cta);line-height:1.05;letter-spacing:-.02em}
.stat span{position:relative;display:block;margin-top:8px;font-size:.875rem;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:var(--wp--preset--color--on-primary)}
.stat small{position:relative;display:block;margin-top:6px;font-size:.84375rem;color:var(--wp--preset--color--dark-muted);letter-spacing:0;text-transform:none;font-weight:400}
.stat-rail{position:relative;z-index:2;margin-top:-58px;background:var(--wp--preset--color--primary-dark);box-shadow:var(--sh-lift)}
.stat-rail .stats{padding:34px clamp(20px,4vw,48px)}

/* ---------- process steps ---------- */
.steps{display:grid;grid-template-columns:repeat(4,1fr);gap:30px;position:relative}
.steps::before{content:"";position:absolute;top:37px;left:11%;right:11%;height:3px;background:repeating-linear-gradient(90deg,var(--wp--preset--color--border) 0 14px,transparent 14px 26px)}
.steps--3{grid-template-columns:repeat(3,1fr)}
.steps--5{grid-template-columns:repeat(5,1fr)}
.step{position:relative;text-align:center}
.step .no{position:relative;display:grid;place-items:center;width:74px;height:74px;margin:0 auto 20px;background:var(--wp--preset--color--cta);color:var(--wp--preset--color--on-cta);font-size:1.5625rem;font-weight:900;box-shadow:0 0 0 10px var(--wp--preset--color--bg);transition:.35s var(--ease)}
.step:hover .no{background:var(--wp--preset--color--primary);color:var(--wp--preset--color--cta)}
.step h3{font-size:1.125rem;margin-bottom:8px}
.step p{font-size:.96875rem;line-height:1.72}
.section--dark .steps::before,.section--dark .step .no{box-shadow:0 0 0 10px var(--wp--preset--color--dark)}
.section--navy .steps::before,.section--navy .step .no{box-shadow:0 0 0 10px var(--wp--preset--color--primary-dark)}

/* ---------- notice band (safety / legal) ---------- */
.notice{border:3px solid var(--wp--preset--color--danger);background:var(--wp--preset--color--tint);background:color-mix(in srgb,var(--wp--preset--color--danger) 6%,var(--wp--preset--color--bg))}
.notice .in{display:flex;gap:22px;align-items:flex-start;padding:28px 30px}
.notice svg.ic{width:40px;height:40px;flex:none;color:var(--wp--preset--color--danger)}
.notice h2,.notice h3{font-size:1.25rem;color:var(--wp--preset--color--danger);line-height:1.28;margin-bottom:6px}
.notice p{font-size:.9375rem;color:var(--wp--preset--color--head)}
.notice p+p{margin-top:8px}
.notice--fill{background:var(--wp--preset--color--danger);border-color:var(--wp--preset--color--danger)}
.notice--fill h2,.notice--fill h3,.notice--fill p{color:var(--wp--preset--color--on-primary)}
.notice--fill svg.ic{color:var(--wp--preset--color--on-primary)}

/* ---------- why-us / usp rows ---------- */
.rows{display:grid;gap:24px}
.row{display:flex;gap:20px;align-items:flex-start;background:var(--wp--preset--color--surface);padding:26px 28px;box-shadow:var(--sh-card);transition:.35s var(--ease)}
.section--dark .row,.section--navy .row{background:rgba(255,255,255,.05);box-shadow:none;border:1px solid var(--wp--preset--color--dark-line)}
.row:hover{box-shadow:var(--sh-card-h);transform:translateX(6px)}
.row:hover .ibadge{background:var(--wp--preset--color--primary);color:var(--wp--preset--color--cta);border-color:var(--wp--preset--color--primary)}
.row h3{font-size:1.125rem;margin-bottom:6px}
.section--dark .row h3,.section--navy .row h3{color:var(--wp--preset--color--on-primary)}
.row p{font-size:.96875rem;line-height:1.72}

/* ---------- FAQ accordion ---------- */
.faqgrid{display:grid;grid-template-columns:1fr 1fr;gap:20px 30px;align-items:start}
.faq{background:var(--wp--preset--color--surface);border:1px solid var(--wp--preset--color--border);margin-bottom:0;transition:.3s var(--ease)}
.faq[open]{box-shadow:var(--sh-card);border-color:transparent}
.faq summary{list-style:none;cursor:pointer;display:flex;gap:16px;align-items:center;padding:20px 22px;font-weight:700;font-size:1.03125rem;color:var(--wp--preset--color--head);line-height:1.45}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:"";flex:none;margin-left:auto;width:24px;height:24px;background:var(--wp--preset--color--primary);clip-path:polygon(43% 0,57% 0,57% 43%,100% 43%,100% 57%,57% 57%,57% 100%,43% 100%,43% 57%,0 57%,0 43%,43% 43%);transition:transform .3s var(--ease),background .3s}
.faq summary:hover::after{background:var(--wp--preset--color--cta-hover)}
.faq[open] summary::after{transform:rotate(135deg);background:var(--wp--preset--color--cta)}
.faq .ans{padding:0 22px 22px;font-size:1rem;line-height:1.8}

/* ---------- chip cluster (coverage / topics) ---------- */
.chips{display:flex;flex-wrap:wrap;gap:11px;margin-top:8px}
.chip{display:inline-flex;align-items:center;gap:8px;padding:9px 18px;background:var(--wp--preset--color--surface);border:1px solid var(--wp--preset--color--border);font-size:.875rem;color:var(--wp--preset--color--head);transition:.3s var(--ease);text-decoration:none;min-height:44px}
.chip::before{content:"";width:7px;height:7px;background:var(--wp--preset--color--cta);flex:none}
.chip:hover{background:var(--wp--preset--color--primary-hover);color:var(--wp--preset--color--on-primary);border-color:var(--wp--preset--color--primary-hover)}
.section--dark .chip,.section--navy .chip{background:transparent;border-color:var(--wp--preset--color--dark-line);color:var(--wp--preset--color--on-primary)}

/* ---------- closing CTA band (bg = vivid --primary, same tier as .hero) ---------- */
.cta-band{position:relative;background:var(--wp--preset--color--primary);overflow:hidden}
.cta-band::before{content:"";position:absolute;left:-90px;bottom:-160px;width:420px;height:420px;border:56px solid rgba(255,255,255,.04);border-radius:50%}
.cta-band .wrap{position:relative;display:grid;grid-template-columns:1.2fr .8fr;gap:40px;align-items:center;padding:clamp(52px,6vw,86px) 0}
.cta-band h2{font-size:clamp(1.6875rem,3.6vw,2.75rem);color:var(--wp--preset--color--on-primary);line-height:1.2}
.cta-band p{color:var(--wp--preset--color--on-primary);margin-top:14px;max-width:56ch}
.cta-band .box{background:var(--wp--preset--color--primary-dark);padding:34px;text-align:center;box-shadow:var(--sh-lift)}
.cta-band .box>span{display:block;font-size:.75rem;font-weight:800;letter-spacing:.16em;text-transform:uppercase;color:var(--wp--preset--color--cta)}
.cta-band .box b{display:block;font-size:clamp(1.5625rem,3vw,2.125rem);color:var(--wp--preset--color--on-primary);margin:10px 0 4px;letter-spacing:-.01em}
.cta-band .box small{display:block;font-size:.84375rem;color:var(--wp--preset--color--dark-muted);margin-bottom:20px}

/* ---------- phone-block (free-consultation) ---------- */
.phoneblock{display:grid;grid-template-columns:1fr 1fr;gap:2px;background:var(--wp--preset--color--border);align-items:stretch}
.phoneblock .tx{background:var(--wp--preset--color--surface);padding:34px 32px}
.phoneblock .tx h2{font-size:1.5rem;margin-bottom:10px}
.phoneblock .tx p{font-size:.9375rem;line-height:1.72;color:var(--wp--preset--color--text)}
.phoneblock .call{background:var(--wp--preset--color--primary);padding:34px 32px;display:flex;flex-direction:column;justify-content:center;gap:16px}
.callrow{display:flex;align-items:center;gap:18px}
.callrow .ic{display:grid;place-items:center;width:60px;height:60px;border-radius:50%;background:var(--wp--preset--color--cta);color:var(--wp--preset--color--on-cta);flex:none;transition:.35s var(--ease)}
.callrow:hover .ic{background:var(--wp--preset--color--surface);color:var(--wp--preset--color--primary)}
.callrow .ic svg{width:24px;height:24px}
.callrow span{display:block;font-size:.84375rem;color:var(--wp--preset--color--on-primary)}
.callrow b{display:block;font-size:clamp(1.25rem,2.3vw,1.75rem);color:var(--wp--preset--color--on-primary);letter-spacing:-.01em;line-height:1.25;text-decoration:none}
.callrow a{text-decoration:none;color:inherit;display:inline-flex;align-items:center;min-height:44px}
/* The "big clickable phone number" idiom (<b><a href="tel:...">) recurs inside .hero-rail,
   .callrow AND .cta-band .box — the <b> sets a large font-size/display:block but the <a> inside
   it inherits no box height of its own, so its tap target shrinks to a single text line
   (~20-33px measured) well under the 44px floor. One rule for the idiom wherever it appears,
   rather than re-fixing it per ancestor. */
b>a[href^="tel:"]{display:inline-flex;align-items:center;min-height:44px}
.phoneblock .note{font-size:.8125rem;color:var(--wp--preset--color--on-primary);display:flex;gap:8px;align-items:flex-start}
.phoneblock .note svg{width:15px;height:15px;color:var(--wp--preset--color--cta);flex:none;margin-top:2px}

/* ---------- imgph (photo slot placeholder — replace once a real photo exists) ---------- */
.imgph{position:relative;display:grid;place-items:center;align-content:center;gap:8px;text-align:center;
  border:2px dashed var(--wp--preset--color--border);padding:24px;color:var(--wp--preset--color--text-muted);
  background:repeating-linear-gradient(-45deg,var(--wp--preset--color--surface) 0 11px,var(--wp--preset--color--tint) 11px 22px)}
.imgph svg{width:48px;height:48px;color:var(--wp--preset--color--border)}
.imgph b{font-size:.75rem;font-weight:800;letter-spacing:.14em;text-transform:uppercase;color:var(--wp--preset--color--text-muted)}
.imgph small{font-size:.8125rem;line-height:1.55;max-width:30ch}
.imgph--portrait{aspect-ratio:3/4}
.imgph--wide{aspect-ratio:16/10}
.imgph--square{aspect-ratio:1/1}
/* Real photo, same slot classes minus the base .imgph placeholder look (no dashed border/stripe
   fill — those only apply where .imgph itself is also present). Same specificity as .hero-media
   img/.split .media (no ancestor needed) — placed after both in the file so it wins the ratio on
   source order without a compound selector. Every real <img> in the site carries one of these
   three modifier classes directly (never bare), so the aspect-ratio is always explicit. */
img.imgph--portrait,img.imgph--wide,img.imgph--square{width:100%;height:auto;display:block;object-fit:cover}

/* ---------- footer ---------- */
.site-footer{background:var(--wp--preset--color--dark);color:var(--wp--preset--color--dark-muted);font-size:1rem;padding-bottom:var(--callbar-h)}
.fgrid{display:grid;grid-template-columns:1.5fr 1fr 1fr 1.2fr;gap:40px;padding:clamp(52px,6vw,84px) 0 46px}
.site-footer h3{font-size:1rem;color:var(--wp--preset--color--on-primary);margin-bottom:20px;position:relative;padding-bottom:14px}
.site-footer h3::after{content:"";position:absolute;left:0;bottom:0;width:38px;height:3px;background:var(--wp--preset--color--cta)}
.site-footer ul{list-style:none;padding:0;margin:0;display:grid;gap:11px}
.site-footer a{color:var(--wp--preset--color--dark-muted);text-decoration:none}
.site-footer a:hover{color:var(--wp--preset--color--cta)}
.fbrand{display:flex;align-items:center;gap:12px;margin-bottom:18px;color:var(--wp--preset--color--on-primary);font-weight:800;font-size:1.1875rem}
.fbrand .mk{display:grid;place-items:center;width:44px;height:44px;background:var(--wp--preset--color--primary);color:var(--wp--preset--color--cta);flex:none}
.fbrand .mk svg{width:24px;height:24px}
.fcontact li{display:flex;gap:12px;align-items:flex-start}
.fcontact svg{width:17px;height:17px;color:var(--wp--preset--color--cta);flex:none;margin-top:5px}
.fcontact b{display:block;color:var(--wp--preset--color--on-primary);font-size:1.0625rem}
.fcontact a[href^="tel:"]{display:inline-flex;align-items:center;min-height:44px;font-weight:700}
.fbar{border-top:1px solid var(--wp--preset--color--dark-line);padding:22px 0;display:flex;gap:18px;justify-content:space-between;flex-wrap:wrap;font-size:.84375rem}
.fbar ul{display:flex;gap:20px;list-style:none;padding:0;margin:0}

/* ---------- fixed UI: sticky call bar + scroll-to-top ---------- */
.callbar{position:fixed;left:0;right:0;bottom:0;z-index:250;background:var(--wp--preset--color--surface);border-top:1px solid var(--wp--preset--color--border);box-shadow:0 -6px 22px rgba(5,5,5,.13);padding:10px 14px;display:none}
.callbar .in{display:flex;align-items:center;gap:12px;max-width:640px;margin-inline:auto}
.callbar a.btn{flex:1}
.callbar .mini{font-size:.75rem;color:var(--wp--preset--color--text-muted);white-space:nowrap}
.toTop{position:fixed;right:20px;bottom:22px;z-index:230;width:50px;height:50px;border-radius:50%;border:0;cursor:pointer;background:var(--wp--preset--color--primary);color:var(--wp--preset--color--cta);display:grid;place-items:center;
  box-shadow:0 7px 30px rgba(0,0,0,.3);opacity:0;transform:translateY(14px);pointer-events:none;transition:opacity .3s var(--ease),transform .3s var(--ease),background .3s}
.toTop.show{opacity:1;transform:none;pointer-events:auto}
.toTop:hover{background:var(--wp--preset--color--cta);color:var(--wp--preset--color--on-cta)}
.toTop svg{width:22px;height:22px}

/* ---------- reveal-on-scroll ---------- */
.reveal{opacity:0;transform:translateY(28px);transition:opacity .7s var(--ease),transform .7s var(--ease)}
.reveal.in{opacity:1;transform:none}
.reveal.d1{transition-delay:.09s}.reveal.d2{transition-delay:.18s}.reveal.d3{transition-delay:.27s}.reveal.d4{transition-delay:.36s}
@media (prefers-reduced-motion:reduce){
  *{animation:none!important;transition:none!important;scroll-behavior:auto!important}
  .reveal{opacity:1;transform:none}
  .scard:hover,.ilitem:hover,.row:hover{transform:none}
  .step:hover .no{transform:none}
  .toTop{transform:none}
}

/* ---------- legal prose (Impressum/Datenschutz) ---------- */
.legal{max-width:720px}
.legal h2{font-size:1.375rem;margin:2.2em 0 .6em;font-weight:800;color:var(--wp--preset--color--head)}
.legal h2:first-child{margin-top:0}
.legal h3{font-size:1.0625rem;margin:1.6em 0 .4em;font-weight:700;color:var(--wp--preset--color--head)}
.legal p{margin:0 0 1em;line-height:1.7;color:var(--wp--preset--color--text)}
.legal address{font-style:normal;line-height:1.7;margin:0 0 1em}
.legal a{color:var(--wp--preset--color--primary);text-decoration:underline}
.legal ul{margin:0 0 1em;padding-left:1.4em;line-height:1.7}
.legal li{margin-bottom:.4em}

/* ---------- responsive ---------- */
@media (max-width:1080px){
  .hero .grid{grid-template-columns:1fr;gap:38px}
  .hero-media{max-width:520px}
  .hero-media .tag{left:auto;right:18px}
  .g4,.stats,.hero-rail,.trust{grid-template-columns:1fr 1fr}
  .steps{grid-template-columns:1fr 1fr}.steps::before{display:none}
  .g3,.ilist--3{grid-template-columns:1fr 1fr}
  .split,.split.rev,.faqgrid,.contrast,.phoneblock{grid-template-columns:1fr;gap:28px}
  .split.rev .media{order:0}
  .split .media .badge{right:14px;bottom:-16px}
  .cta-band .wrap{grid-template-columns:1fr}
  .fgrid{grid-template-columns:1fr 1fr}
  .shead.split{grid-template-columns:1fr;align-items:start}
  .dropdown.cols2,.dropdown.cols3{columns:2;min-width:420px}
}
@media (max-width:760px){
  .topbar{display:none}
  .menu,.nav-phone{display:none}
  .burger{display:grid;margin-left:auto}
  .callbar{display:block}
  .toTop{bottom:calc(var(--callbar-h) + 14px);right:14px}
  .g2,.g3,.g4,.ilist,.ilist--3,.stats,.hero-rail,.trust,.steps,.steps--3,.steps--5,.fgrid{grid-template-columns:1fr}
  .hero .display,.hero--split .stitle,.hero--emergency .stitle{letter-spacing:-.015em}
  .btn{width:100%;justify-content:center;padding:17px 26px}
  .hero-cta{gap:11px}
  .notice .in{flex-direction:column}
  .split .media .badge{position:static;max-width:none;margin-top:-4px}
  .stat-rail{margin-top:26px}
  .dropdown.cols2,.dropdown.cols3{columns:1;min-width:0}
}
