/* LÈMANS: Weiß, Anthrazit #0f1822, Schiefer #424951. HK Grotesk.
   Dark Mode (Anthrazit) ist Standard, Light Mode per Umschalter.
   Layout: schwebende Glas-Navigation, Vollbild-Video im Hero, Verläufe von unten über allen Bildern,
   Deutschlandkarte als wiederkehrendes Motiv. */

@font-face { font-family: "HK Grotesk"; src: url("../fonts/HKGrotesk-Light.woff2") format("woff2"); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: "HK Grotesk"; src: url("../fonts/HKGrotesk-LightItalic.woff2") format("woff2"); font-weight: 300; font-style: italic; font-display: swap; }
@font-face { font-family: "HK Grotesk"; src: url("../fonts/HKGrotesk-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "HK Grotesk"; src: url("../fonts/HKGrotesk-Medium.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "HK Grotesk"; src: url("../fonts/HKGrotesk-Bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "HK Grotesk"; src: url("../fonts/HKGrotesk-ExtraBold.woff2") format("woff2"); font-weight: 800; font-display: swap; }

/* Hausfarben und Dark-Mode-Tokens (Standard) */
:root {
  --white: #ffffff;
  --ink: #0f1822;
  --slate: #424951;
  --ink-rgb: 15, 24, 34;
  --w-64: rgba(255, 255, 255, .64);
  --w-20: rgba(255, 255, 255, .2);
  --w-12: rgba(255, 255, 255, .12);

  --bg: var(--ink);
  --fg: var(--white);
  --muted: rgba(255, 255, 255, .62);
  --surface: transparent;               /* Dark: keine Zwischentöne, Flächen über Linien oder weiße Inseln */
  --surface-2: var(--ink);
  --line: rgba(255, 255, 255, .12);
  --line-soft: rgba(255, 255, 255, .07);
  --hover: rgba(255, 255, 255, .06);
  --solid-bg: var(--white);
  --solid-fg: var(--ink);
  --solid-hover: #dfe1e3;
  --glass: rgba(15, 24, 34, .62);
  --glass-strong: rgba(15, 24, 34, .82);
  --glass-border: rgba(255, 255, 255, .1);
  --mega: var(--ink);
  --land: rgba(255, 255, 255, .06);
  --land-stroke: rgba(255, 255, 255, .22);
  --pin: var(--white);
  --shadow: 0 30px 70px -30px rgba(0, 0, 0, .7);
  --cursor: url("../cursor-light.svg");

  --sans: "HK Grotesk", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --r: 24px; --r-sm: 14px; --pill: 999px;
  --gutter: clamp(16px, 4vw, 48px);
  --max: 1320px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
  --t-display: clamp(2.8rem, 7.4vw, 7.2rem);
  --t-h1: clamp(2.4rem, 5.4vw, 4.8rem);
  --t-h2: clamp(1.7rem, 3vw, 2.6rem);
  --t-h3: 1.22rem;
  --t-body: 1.0625rem;
  --t-small: .875rem;
  --t-label: .74rem;
  color-scheme: dark;
}
:root[data-theme="light"] {
  --bg: var(--white);
  --fg: var(--ink);
  --muted: var(--slate);
  --surface: #f5f6f7;
  --surface-2: var(--ink);
  --line: rgba(15, 24, 34, .12);
  --line-soft: rgba(15, 24, 34, .07);
  --hover: rgba(15, 24, 34, .05);
  --solid-bg: var(--ink);
  --solid-fg: var(--white);
  --solid-hover: var(--slate);
  --glass: rgba(255, 255, 255, .7);
  --glass-strong: rgba(255, 255, 255, .84);
  --glass-border: rgba(255, 255, 255, .7);
  --mega: var(--white);
  --land: var(--white);
  --land-stroke: rgba(15, 24, 34, .16);
  --pin: var(--ink);
  --shadow: 0 30px 70px -32px rgba(15, 24, 34, .32);
  --cursor: url("../cursor-dark.svg");
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; cursor: var(--cursor) 16 16, auto; }
a, button, summary, select, label[for], .pin { cursor: var(--cursor) 16 16, pointer; }
input, textarea { cursor: text; }
body { margin: 0; background: var(--bg); color: var(--fg); font-family: var(--sans); font-weight: 300; font-size: var(--t-body); line-height: 1.62;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; transition: background-color .5s var(--ease), color .5s var(--ease); }
body.menu-open { overflow: hidden; }
img, video { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-weight: 700; line-height: 1.04; letter-spacing: -.025em; margin: 0; text-wrap: balance; }
p { margin: 0; }
::selection { background: var(--fg); color: var(--bg); }
:focus-visible { outline: 2px solid var(--fg); outline-offset: 3px; border-radius: 8px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--fg); color: var(--bg); padding: 10px 14px; border-radius: 10px; z-index: 200; }
.skip:focus { left: 12px; }

.wrap { max-width: var(--max); margin-inline: auto; padding-left: max(var(--gutter), env(safe-area-inset-left, 0px)); padding-right: max(var(--gutter), env(safe-area-inset-right, 0px)); }
.band { padding-block: clamp(72px, 10vw, 148px); }
.band--tight { padding-block: clamp(48px, 6vw, 88px); }
.band--surface { background: var(--surface); }
.band--ink { background: var(--surface-2); color: var(--white); border-top: 1px solid var(--line-soft); }
.label { font-size: var(--t-label); text-transform: uppercase; letter-spacing: .18em; font-weight: 500; color: var(--muted); }
.band--ink .label, .on-media .label { color: var(--w-64); }
.lead { font-size: clamp(1.15rem, 1.6vw, 1.42rem); line-height: 1.5; max-width: 44ch; }
.muted { color: var(--muted); }
.band--ink .muted { color: var(--w-64); }
.logo, .logo-mark { fill: currentColor; display: block; height: auto; }

/* Schwebende Navigation */
.nav-shell { position: fixed; z-index: 100; left: 0; right: 0; top: calc(14px + env(safe-area-inset-top, 0px));
  padding-left: max(12px, env(safe-area-inset-left, 0px)); padding-right: max(12px, env(safe-area-inset-right, 0px));
  transition: transform .5s var(--ease); pointer-events: none; }
.nav-pill { pointer-events: auto; position: relative; max-width: 1120px; margin-inline: auto; height: 58px;
  display: flex; align-items: center; gap: 6px; padding: 0 7px 0 22px; border-radius: var(--pill);
  border: 1px solid var(--glass-border); color: var(--fg); isolation: isolate;
  box-shadow: 0 12px 40px -14px rgba(0, 0, 0, .35);
  transition: border-color .4s var(--ease), color .4s var(--ease); }
/* Glas liegt auf einer eigenen Ebene, damit das Mega-Menü seinen eigenen Glaseffekt behält */
.nav-pill::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: var(--glass);
  -webkit-backdrop-filter: saturate(1.6) blur(22px); backdrop-filter: saturate(1.6) blur(22px); transition: background .4s var(--ease); }
.nav-shell.is-scrolled .nav-pill::before { background: var(--glass-strong); }
.brand { display: flex; align-items: center; text-decoration: none; color: inherit; margin-right: auto; height: 100%; }
.brand .logo { width: 104px; }
.menu { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.menu-trigger { font: inherit; font-size: .94rem; font-weight: 400; color: inherit; background: none; border: 0;
  padding: 9px 14px; border-radius: var(--pill); display: inline-flex; align-items: center; gap: 6px; transition: background .25s var(--ease); }
.menu-trigger:hover, .menu-trigger[aria-expanded="true"] { background: var(--hover); }
.menu-trigger.is-current { font-weight: 500; }
.menu-trigger svg { width: 10px; height: 10px; transition: transform .3s var(--ease); }
.menu-trigger[aria-expanded="true"] svg { transform: rotate(180deg); }
.nav-actions { display: flex; align-items: center; gap: 4px; margin-left: 6px; }
.lang { font-size: var(--t-label); letter-spacing: .14em; font-weight: 500; text-decoration: none; color: var(--muted); padding: 9px 11px; border-radius: var(--pill); transition: background .25s, color .25s; }
.lang:hover { background: var(--hover); color: var(--fg); }
.theme-btn { width: 40px; height: 40px; border-radius: 50%; border: 0; background: none; color: inherit; display: grid; place-items: center; transition: background .25s; }
.theme-btn:hover { background: var(--hover); }
.theme-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.theme-btn .sun { display: none; }
:root[data-theme="light"] .theme-btn .sun { display: block; }
:root[data-theme="light"] .theme-btn .moon { display: none; }
.nav-cta { font-size: .9rem; font-weight: 500; text-decoration: none; background: var(--solid-bg); color: var(--solid-fg);
  padding: 12px 20px; border-radius: var(--pill); display: inline-flex; align-items: center; gap: 8px; transition: background .25s; }
.nav-cta:hover { background: var(--solid-hover); }

.mega { position: absolute; left: 0; right: 0; top: calc(100% + 10px); border-radius: 28px; color: var(--fg);
  background: var(--glass); border: 1px solid var(--glass-border);
  -webkit-backdrop-filter: saturate(1.6) blur(22px); backdrop-filter: saturate(1.6) blur(22px);
  box-shadow: var(--shadow); padding: 28px;
  opacity: 0; visibility: hidden; transform: translateY(-8px) scale(.985); transform-origin: top center;
  transition: opacity .3s var(--ease), transform .4s var(--ease), visibility 0s linear .3s; }
.mega.is-open { opacity: 1; visibility: visible; transform: none; transition: opacity .3s var(--ease), transform .4s var(--ease), visibility 0s; }
.mega-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.05fr); gap: 20px; }
.mega-grid--regions { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 28px; }
.mega-item { display: grid; gap: 6px; padding: 18px 20px; border-radius: 18px; text-decoration: none; align-content: start; transition: background .25s var(--ease); }
.mega-item:hover { background: var(--hover); }
.mega-item strong { font-weight: 700; font-size: 1.02rem; display: flex; align-items: center; gap: 8px; }
.mega-item span { color: var(--muted); font-size: .9rem; line-height: 1.5; }
.mega-item .arrow { opacity: 0; transform: translateX(-6px); transition: opacity .25s, transform .3s var(--ease); }
.mega-item:hover .arrow { opacity: 1; transform: none; }
.mega-feature { border-radius: 20px; background: transparent; color: var(--fg); border: 1px solid var(--line); padding: 22px; transition: background .3s var(--ease), border-color .3s; display: grid; align-content: space-between; gap: 18px; text-decoration: none; min-height: 190px; }
.mega-feature .label { color: var(--muted); }
.mega-feature:hover { background: var(--hover); border-color: var(--fg); }
.mega-feature .arrow { transition: transform .35s var(--ease); }
.mega-feature:hover .arrow { transform: translateX(4px); }
.mega-feature strong { font-weight: 700; font-size: 1.15rem; line-height: 1.2; }
.mega-regions { columns: 3; column-gap: 18px; list-style: none; margin: 0; padding: 0; }
.mega-regions a { display: block; padding: 7px 10px; border-radius: 10px; text-decoration: none; font-size: .94rem; font-weight: 400; transition: background .2s; }
.mega-regions a:hover, .mega-regions a.is-hot { background: var(--hover); }
.mega-foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line-soft); font-size: .9rem; }
.mega-foot a { text-decoration: none; font-weight: 500; display: inline-flex; gap: 8px; align-items: center; }
.mega .gmap { max-width: 300px; margin-inline: auto; }

.burger { display: none; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--solid-bg); color: var(--solid-fg); position: relative; }
.burger span { position: absolute; left: 14px; right: 14px; height: 1.5px; background: currentColor; transition: transform .4s var(--ease), top .4s var(--ease); }
.burger span:nth-child(1) { top: 18px; } .burger span:nth-child(2) { top: 25px; }
.burger[aria-expanded="true"] span:nth-child(1) { top: 21.5px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { top: 21.5px; transform: rotate(-45deg); }
.overlay { position: fixed; inset: 0; z-index: 90; background: var(--ink); color: var(--white); overflow-y: auto;
  padding: calc(104px + env(safe-area-inset-top, 0px)) max(24px, env(safe-area-inset-right, 0px)) calc(32px + env(safe-area-inset-bottom, 0px)) max(24px, env(safe-area-inset-left, 0px));
  clip-path: circle(0 at calc(100% - 46px) 44px); transition: clip-path .7s var(--ease-in-out); visibility: hidden; }
.overlay.is-open { clip-path: circle(150% at calc(100% - 46px) 44px); visibility: visible; }
.overlay-groups { display: grid; gap: 8px; max-width: 640px; margin-inline: auto; }
.overlay details { border-bottom: 1px solid var(--w-12); }
.overlay summary { list-style: none; font-size: clamp(1.8rem, 7vw, 2.6rem); font-weight: 700; letter-spacing: -.02em; padding: 14px 0; display: flex; justify-content: space-between; align-items: center; }
.overlay summary::-webkit-details-marker { display: none; }
.overlay summary::after { content: "+"; font-weight: 300; transition: transform .3s var(--ease); }
.overlay details[open] summary::after { transform: rotate(45deg); }
.overlay .sub { display: grid; gap: 2px; padding: 0 0 18px; }
.overlay .sub a { text-decoration: none; color: var(--w-64); padding: 8px 0; font-size: 1.1rem; }
.overlay .sub a:hover { color: var(--white); }
.overlay .direct { font-size: clamp(1.8rem, 7vw, 2.6rem); font-weight: 700; letter-spacing: -.02em; text-decoration: none; display: block; padding: 14px 0; border-bottom: 1px solid var(--w-12); }
.overlay-foot { max-width: 640px; margin: 36px auto 0; display: grid; gap: 18px; color: var(--w-64); }
.overlay-foot a { text-decoration: none; }
.overlay-foot .row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.overlay .reg-cols { columns: 2; column-gap: 20px; }
.overlay > * { opacity: 0; transform: translateY(14px); transition: opacity .5s var(--ease) .1s, transform .6s var(--ease) .1s; }
.overlay.is-open > * { opacity: 1; transform: none; transition-delay: .25s; }
.overlay .theme-btn { border: 1px solid var(--w-20); width: 46px; height: 46px; }
body.menu-open .nav-pill { border-color: var(--w-12); color: var(--white); box-shadow: none; }
body.menu-open .nav-pill::before { background: rgba(255,255,255,.06); }
body.menu-open .burger { background: var(--white); color: var(--ink); }
@media (max-width: 1080px) { .menu, .nav-cta, .theme-btn.desk { display: none; } .burger { display: block; } }
@media (min-width: 1081px) { .overlay { display: none; } }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: .7em; border-radius: var(--pill); padding: 15px 24px; font-weight: 500; font-size: .95rem; text-decoration: none;
  border: 1px solid currentColor; font-family: inherit; line-height: 1; position: relative; overflow: hidden; isolation: isolate; transition: color .45s var(--ease), border-color .45s var(--ease); }
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; transform: translateY(101%); transition: transform .5s var(--ease); }
.btn:hover::before { transform: none; }
.btn--solid { background: var(--solid-bg); color: var(--solid-fg); border-color: var(--solid-bg); }
.btn--solid::before { background: var(--solid-hover); }
.btn--ghost { color: var(--fg); border-color: var(--line); }
.btn--ghost::before { background: var(--fg); }
.btn--ghost:hover { color: var(--bg); border-color: var(--fg); }
.on-media .btn--solid, .band--ink .btn--solid { background: var(--white); color: var(--ink); border-color: var(--white); }
.on-media .btn--solid::before, .band--ink .btn--solid::before { background: #dfe1e3; }
.on-media .btn--ghost, .band--ink .btn--ghost { color: var(--white); border-color: var(--w-20); }
.on-media .btn--ghost::before, .band--ink .btn--ghost::before { background: var(--white); }
.on-media .btn--ghost:hover, .band--ink .btn--ghost:hover { color: var(--ink); border-color: var(--white); }
.btns { display: flex; flex-wrap: wrap; gap: 12px; }
.arrow { display: inline-block; width: 14px; height: 10px; flex: none; transition: transform .45s var(--ease); }
.arrow::before { content: ""; display: block; width: 100%; height: 100%; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 10'%3E%3Cpath d='M0 5h12M8 1l4 4-4 4' fill='none' stroke='black' stroke-width='1.4'/%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 14 10'%3E%3Cpath d='M0 5h12M8 1l4 4-4 4' fill='none' stroke='black' stroke-width='1.4'/%3E%3C/svg%3E") center/contain no-repeat; }
a:hover .arrow, button:hover .arrow { transform: translateX(4px); }
.link { text-decoration: none; font-weight: 500; display: inline-flex; align-items: center; gap: 10px;
  background: linear-gradient(currentColor, currentColor) left bottom / 0 1px no-repeat; padding-bottom: 3px; transition: background-size .45s var(--ease); }
.link:hover { background-size: 100% 1px; }

/* Hero */
.hero { position: relative; color: var(--white); background: var(--ink); min-height: min(100svh, 980px); display: grid; align-items: end; overflow: hidden; isolation: isolate; }
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media video, .hero__media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transform-origin: center 60%; will-change: transform; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(0deg, rgba(var(--ink-rgb), 1) 0%, rgba(var(--ink-rgb), .9) 16%, rgba(var(--ink-rgb), .55) 42%, rgba(var(--ink-rgb), .15) 70%, rgba(var(--ink-rgb), 0) 86%),
    linear-gradient(180deg, rgba(var(--ink-rgb), .45) 0%, rgba(var(--ink-rgb), 0) 22%); }
.hero .wrap { width: 100%; padding-block: 140px clamp(48px, 7vw, 96px); display: grid; gap: 28px; }
.hero__eyebrow { font-size: var(--t-label); text-transform: uppercase; letter-spacing: .22em; font-weight: 500; color: var(--w-64); }
.hero__claim { font-size: var(--t-display); font-weight: 800; line-height: .94; letter-spacing: -.04em; }
.hero__claim .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero__claim .line > span { display: block; }
.hero__claim .line + .line > span { color: var(--w-64); }
.hero__row { display: flex; justify-content: space-between; align-items: end; gap: 32px; flex-wrap: wrap; }
.hero__sub { max-width: 44ch; color: var(--w-64); font-size: 1.12rem; }
.scroll-cue { position: absolute; left: 50%; bottom: 22px; width: 1px; height: 46px; background: var(--w-20); overflow: hidden; transform: translateX(-50%); }
.scroll-cue::after { content: ""; position: absolute; left: 0; top: -40%; width: 100%; height: 40%; background: var(--white); animation: cue 2.4s var(--ease-in-out) infinite; }
@keyframes cue { to { top: 100%; } }
@media (max-width: 700px) { .scroll-cue { display: none; } .hero { min-height: 88svh; } }

/* Laufband */
.ticker { border-block: 1px solid var(--line-soft); overflow: hidden; padding-block: 22px; }
.ticker__track { display: flex; width: max-content; animation: tick 70s linear infinite; }
.ticker:hover .ticker__track { animation-play-state: paused; }
.ticker ul { display: flex; list-style: none; margin: 0; padding: 0; }
.ticker li { display: flex; align-items: center; white-space: nowrap; }
.ticker a { text-decoration: none; font-size: clamp(1.3rem, 2.4vw, 2rem); font-weight: 700; letter-spacing: -.02em; padding: 0 .9em; transition: opacity .3s; }
.ticker a:hover { opacity: .55; }
.ticker li::after { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--muted); opacity: .5; }
@keyframes tick { to { transform: translateX(-50%); } }

/* Statement */
.statement { font-size: clamp(1.6rem, 3.4vw, 3rem); font-weight: 300; line-height: 1.22; letter-spacing: -.02em; max-width: 26ch; }
.statement b { font-weight: 700; }
.statement .w { opacity: .18; transition: opacity .4s linear; }
.statement .w.on { opacity: 1; }

/* Panels */
.panels { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(14px, 2vw, 24px); }
@media (max-width: 780px) { .panels { grid-template-columns: 1fr; } }
.panel { position: relative; border-radius: var(--r); overflow: hidden; background: var(--ink); color: var(--white); text-decoration: none;
  display: flex; flex-direction: column; justify-content: flex-end; min-height: clamp(380px, 42vw, 560px); isolation: isolate; }
.panel .media { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.panel .media img, .panel .media .ph { width: 100%; height: 100%; object-fit: cover; transform: scale(1.02); transition: transform 1.2s var(--ease); }
.panel::after { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(0deg, rgba(var(--ink-rgb), .97) 0%, rgba(var(--ink-rgb), .78) 30%, rgba(var(--ink-rgb), .2) 62%, rgba(var(--ink-rgb), 0) 85%); }
.panel:hover .media img, .panel:hover .media .ph { transform: scale(1.08); }
.panel__body { padding: clamp(24px, 3vw, 40px); display: grid; gap: 14px; }
.panel h2 { font-size: var(--t-h2); }
.panel p { color: var(--w-64); max-width: 44ch; }
.panel .more { display: inline-flex; align-items: center; gap: 10px; font-weight: 500; font-size: .92rem; }
.ph { background: var(--ink); color: var(--white); display: grid; place-items: center; }
.ph svg { width: 100%; height: 100%; }
.ph .gmap { max-width: 62%; margin: auto; opacity: .9; }
.panel .ph .gmap { max-width: 46%; margin: 8% auto auto; }

.sec-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: clamp(32px, 4vw, 56px); }
.sec-head h2 { font-size: var(--t-h2); max-width: 20ch; }
.sec-head p { max-width: 46ch; color: var(--muted); }

/* Deutschlandkarte */
.gmap { position: relative; width: 100%; max-width: 560px; }
.gmap svg { width: 100%; height: auto; display: block; overflow: visible; }
.gmap .land { fill: var(--land); stroke: var(--land-stroke); stroke-width: 1; }
.gmap .pin .hit { fill: transparent; }
.gmap .pin .dot { fill: var(--pin); transition: transform .35s var(--ease); transform-box: fill-box; transform-origin: center; }
.gmap .pin .ring { fill: none; stroke: var(--pin); stroke-width: 1; vector-effect: non-scaling-stroke; opacity: 0; transform-box: fill-box; transform-origin: center; transform: scale(.4); transition: opacity .35s, transform .5s var(--ease); }
.gmap .pin:hover .dot, .gmap .pin:focus .dot, .gmap .pin.is-hot .dot { transform: scale(1.5); }
.gmap .pin:hover .ring, .gmap .pin:focus .ring, .gmap .pin.is-hot .ring, .gmap .pin.is-active .ring { opacity: .5; transform: none; }
.gmap .pin.is-active .dot { transform: scale(1.6); }
.gmap .pin.is-active .ring { animation: pulse 2.4s var(--ease) infinite; }
@keyframes pulse { 0% { transform: scale(.5); opacity: .7; } 100% { transform: scale(2.2); opacity: 0; } }
.gmap .lbl { font-family: var(--sans); font-weight: 500; fill: var(--pin); pointer-events: none; }
.gmap--dark .land { fill: rgba(255,255,255,.06); stroke: var(--w-20); }
.gmap--dark .pin .dot { fill: var(--white); }
.gmap--dark .pin .ring { stroke: var(--white); }
.gmap--dark .lbl { fill: var(--white); }
.tip { position: fixed; z-index: 150; left: 0; top: 0; pointer-events: none; min-width: 190px; max-width: 240px;
  background: var(--mega); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); color: var(--fg);
  border: 1px solid var(--glass-border); border-radius: 16px; padding: 12px 14px; box-shadow: var(--shadow);
  opacity: 0; transform: translate(-50%, calc(-100% - 14px)) scale(.96); transition: opacity .2s, transform .3s var(--ease); }
.tip.is-on { opacity: 1; transform: translate(-50%, calc(-100% - 18px)); }
.tip b { display: block; font-weight: 700; font-size: 1rem; }
.tip span { display: block; font-size: .8rem; color: var(--muted); margin-top: 2px; }
.map-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
@media (max-width: 900px) { .map-split { grid-template-columns: 1fr; } .map-split .gmap { margin-inline: auto; } }

.region-list { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 36px; }
.region-list li { break-inside: avoid; border-top: 1px solid var(--line-soft); }
.region-list a, .region-list span.row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 13px 0; text-decoration: none; font-weight: 400; transition: padding .35s var(--ease); }
.region-list a:hover, .region-list a.is-hot { padding-left: 8px; }
.region-list .coord { font-size: .72rem; color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; letter-spacing: .04em; }
.region-list--3 { columns: 3; }
@media (max-width: 860px) { .region-list--3 { columns: 2; } }
@media (max-width: 480px) { .region-list, .region-list--3 { columns: 1; } }

/* Karten */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2vw, 24px); }
@media (max-width: 980px) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .cards { grid-template-columns: 1fr; } }
.card { display: grid; grid-template-rows: auto 1fr; border-radius: var(--r); background: var(--surface); overflow: hidden; text-decoration: none; transition: transform .6s var(--ease), box-shadow .6s var(--ease); }
.band--surface .card { background: var(--bg); }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.card__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--ink); max-width: 100%; }
.card__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(var(--ink-rgb), .6) 0%, rgba(var(--ink-rgb), 0) 55%); pointer-events: none; transition: opacity .6s var(--ease); }
.card:hover .card__media::after { opacity: .5; }
.card__media img, .card__media .ph { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.card:hover .card__media img, .card:hover .card__media .ph { transform: scale(1.06); }
.card__body { padding: 24px 26px 28px; display: grid; gap: 10px; align-content: start; min-width: 0; }
.card h3 { font-size: 1.18rem; line-height: 1.25; letter-spacing: -.012em; }
.card p { color: var(--muted); font-size: .95rem; }
.meta { display: flex; gap: 14px; flex-wrap: wrap; font-size: var(--t-label); text-transform: uppercase; letter-spacing: .16em; color: var(--muted); font-weight: 500; }
.meta time { font-variant-numeric: tabular-nums; }

/* Seitenkopf */
.page-head { padding-block: calc(150px + env(safe-area-inset-top, 0px)) clamp(36px, 5vw, 72px); }
.page-head h1 { font-size: var(--t-h1); max-width: 17ch; margin-top: 22px; }
.page-head .lead { margin-top: 26px; max-width: 54ch; color: var(--muted); }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: var(--t-small); color: var(--muted); list-style: none; padding: 0; margin: 0; }
.crumbs li + li::before { content: "/"; margin-right: 8px; opacity: .45; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--fg); }

/* Leistungen */
.grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 3vw, 48px) clamp(24px, 3vw, 44px); }
@media (max-width: 980px) { .grid3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .grid3 { grid-template-columns: 1fr; } }
.item { position: relative; padding-top: 24px; display: grid; gap: 12px; align-content: start; min-width: 0; }
.item::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--line); }
.item::after { content: ""; position: absolute; left: 0; top: 0; height: 1px; width: 0; background: var(--fg); transition: width .8s var(--ease); }
.item:hover::after { width: 100%; }
.item h3 { font-size: var(--t-h3); }
.item p { color: var(--muted); }

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; counter-reset: s; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .steps { grid-template-columns: 1fr; } }
.steps li { counter-increment: s; border-top: 1px solid var(--w-12); padding-top: 20px; display: grid; gap: 10px; align-content: start; }
.steps li::before { content: counter(s, decimal-leading-zero); font-size: 2.6rem; font-weight: 800; letter-spacing: -.04em; line-height: 1; color: var(--w-20); }
.steps h3 { font-size: 1.12rem; }
.steps p { color: var(--w-64); font-size: .95rem; }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.45fr); gap: clamp(28px, 6vw, 96px); align-items: start; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
.split > h2 { font-size: var(--t-h2); }
.sticky-col { position: sticky; top: 120px; }
@media (max-width: 900px) { .sticky-col { position: static; } }
.stack { display: grid; gap: clamp(40px, 5vw, 72px); }
.block { display: grid; gap: 16px; }
.block h2 { font-size: var(--t-h2); }
.block p { color: var(--muted); max-width: 62ch; }

.classes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(14px, 2vw, 24px); }
@media (max-width: 780px) { .classes { grid-template-columns: 1fr; } }
.cls { border-radius: var(--r); background: var(--bg); overflow: hidden; display: grid; grid-template-rows: auto 1fr; transition: transform .6s var(--ease), box-shadow .6s var(--ease); }
.cls:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.cls__media { position: relative; aspect-ratio: 16 / 9; background: var(--ink); overflow: hidden; max-width: 100%; }
.cls__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(var(--ink-rgb), .6) 0%, rgba(var(--ink-rgb), 0) 55%); pointer-events: none; }
.cls__media img, .cls__media .ph { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.cls:hover .cls__media img, .cls:hover .cls__media .ph { transform: scale(1.05); }
.cls__body { padding: 26px 28px 30px; display: grid; gap: 10px; align-content: start; }
.cls h3 { font-size: 1.32rem; }
.cls p { color: var(--muted); }

.faq { display: grid; border-top: 1px solid var(--line); max-width: 920px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; padding: 24px 48px 24px 0; font-weight: 500; font-size: 1.12rem; position: relative; transition: padding .35s var(--ease); }
.faq summary:hover { padding-left: 6px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 14px; height: 14px; margin-top: -7px;
  background: linear-gradient(currentColor, currentColor) center/14px 1.4px no-repeat, linear-gradient(currentColor, currentColor) center/1.4px 14px no-repeat; transition: transform .4s var(--ease); }
.faq details[open] summary::after { transform: rotate(135deg); }
.faq .answer { padding: 0 0 26px; color: var(--muted); max-width: 70ch; }

/* Regionsseite */
.region-hero { position: relative; background: var(--ink); color: var(--white); overflow: hidden; isolation: isolate; }
.region-hero .media { position: absolute; inset: 0; z-index: -2; }
.region-hero .media img { width: 100%; height: 100%; object-fit: cover; }
.region-hero::after { content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(0deg, rgba(var(--ink-rgb), 1) 0%, rgba(var(--ink-rgb), .86) 24%, rgba(var(--ink-rgb), .45) 58%, rgba(var(--ink-rgb), .2) 100%),
    linear-gradient(90deg, rgba(var(--ink-rgb), .55) 0%, rgba(var(--ink-rgb), 0) 70%); }
.region-hero .wrap { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: end; padding-block: calc(170px + env(safe-area-inset-top, 0px)) clamp(48px, 6vw, 80px); }
@media (max-width: 900px) { .region-hero .wrap { grid-template-columns: 1fr; } }
.region-hero .crumbs { color: var(--w-64); }
.region-hero .crumbs a:hover { color: var(--white); }
.region-hero h1 { font-size: var(--t-h1); margin-top: 20px; }
.region-hero .lead { color: var(--w-64); max-width: 54ch; margin-top: 24px; }
.region-hero .btns { margin-top: 32px; }
.region-hero figure { margin: 0; justify-self: end; width: 100%; max-width: 280px; }
.region-hero figure .gmap { max-width: none; }
.region-hero figcaption { font-size: .74rem; letter-spacing: .08em; color: var(--w-64); margin-top: 12px; font-variant-numeric: tabular-nums; }
@media (max-width: 900px) { .region-hero figure { justify-self: start; max-width: 200px; } }
.region-body { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
@media (max-width: 980px) { .region-body { grid-template-columns: 1fr; } }
.facts { position: sticky; top: 110px; background: var(--surface); border-radius: var(--r); padding: 28px 28px 12px; }
.facts h2 { font-size: var(--t-label); text-transform: uppercase; letter-spacing: .18em; font-weight: 500; color: var(--muted); margin-bottom: 8px; }
.facts dl { margin: 0; display: grid; }
.facts dt { font-size: var(--t-label); text-transform: uppercase; letter-spacing: .14em; color: var(--muted); padding-top: 18px; font-weight: 500; }
.facts dd { margin: 8px 0 0; padding-bottom: 18px; border-bottom: 1px solid var(--line-soft); font-weight: 400; font-size: .96rem; }
.facts dd:last-of-type { border-bottom: 0; }
@media (max-width: 980px) { .facts { position: static; } }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { font-size: .78rem; font-weight: 500; border: 1px solid var(--line); border-radius: var(--pill); padding: 4px 10px; background: var(--bg); }
.quote { border-left: 1px solid var(--fg); padding-left: 24px; display: grid; gap: 12px; margin: 0; }
.quote p { font-size: 1.3rem; line-height: 1.45; font-weight: 300; font-style: italic; }
.quote cite { font-style: normal; font-size: var(--t-small); color: var(--muted); }
.market { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.market div { background: var(--surface); border-radius: var(--r-sm); padding: 18px; }
.market b { display: block; font-size: 1.6rem; font-weight: 700; font-variant-numeric: tabular-nums; }

/* Team */
.leader { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: clamp(28px, 6vw, 96px); align-items: center; }
@media (max-width: 860px) { .leader { grid-template-columns: 1fr; } }
.person { margin: 0; display: grid; gap: 16px; align-content: start; }
.person__media { position: relative; aspect-ratio: 4 / 5; border-radius: var(--r); overflow: hidden; background: var(--ink); max-width: 100%; }
.person__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 28%; transition: transform 1.1s var(--ease); }
.person:hover .person__media img { transform: scale(1.04); }
.person__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(var(--ink-rgb), .75) 0%, rgba(var(--ink-rgb), 0) 45%); pointer-events: none; }
.person__media .ph { width: 100%; height: 100%; font-weight: 700; font-size: 3rem; letter-spacing: .06em; }
.person__cap { position: absolute; left: 24px; right: 24px; bottom: 22px; z-index: 1; color: var(--white); display: grid; gap: 2px; }
.person__cap strong { font-weight: 700; font-size: 1.2rem; }
.person__cap span { color: var(--w-64); font-size: .94rem; }
.person .in { display: inline-flex; gap: 8px; align-items: center; font-size: .9rem; text-decoration: none; color: var(--muted); }
.person .in:hover { color: var(--fg); }
.person .in svg { width: 15px; height: 15px; fill: currentColor; }

/* Artikel */
.progress { position: fixed; left: 0; top: 0; height: 2px; width: 100%; background: var(--fg); transform-origin: 0 50%; transform: scaleX(0); z-index: 120; }
.article-head { padding-block: calc(150px + env(safe-area-inset-top, 0px)) 36px; }
.article-head h1 { font-size: clamp(2.1rem, 4.4vw, 3.6rem); max-width: 22ch; margin-top: 20px; }
.article-head .lead { margin-top: 22px; color: var(--muted); max-width: 56ch; }
.article-media { position: relative; border-radius: var(--r); overflow: hidden; aspect-ratio: 21 / 9; background: var(--ink); max-width: 100%; }
.article-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(var(--ink-rgb), .55) 0%, rgba(var(--ink-rgb), 0) 50%); pointer-events: none; }
.article-media img, .article-media .ph { width: 100%; height: 100%; object-fit: cover; }
.article-body { padding-block: clamp(48px, 6vw, 80px); }
.prose { max-width: 68ch; display: grid; gap: 1.15em; }
.prose p { font-size: 1.1rem; line-height: 1.72; }
.prose h2 { font-size: 1.4rem; margin-top: 1.3em; letter-spacing: -.015em; }
.prose h3 { font-size: 1.1rem; margin-top: .9em; }
.prose ul, .prose ol { margin: 0; padding-left: 1.2em; display: grid; gap: .45em; }
.prose blockquote { margin: 0; padding-left: 1.2em; border-left: 1px solid var(--fg); }
.prose .note { font-size: var(--t-small); color: var(--muted); }
.prose strong { font-weight: 700; }
.prose a { text-decoration-thickness: 1px; text-underline-offset: .2em; }
.pending { border: 1px dashed var(--line); border-radius: var(--r-sm); padding: 20px 22px; color: var(--muted); }

.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 36px; }
.filters button { font: inherit; font-size: .9rem; font-weight: 500; background: none; color: var(--fg); border: 1px solid var(--line); border-radius: var(--pill); padding: 9px 18px; transition: background .3s, color .3s, border-color .3s; }
.filters button:hover { border-color: var(--fg); }
.filters button[aria-pressed="true"] { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.cards [hidden] { display: none !important; }

/* Kontakt */
.contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
@media (max-width: 980px) { .contact { grid-template-columns: 1fr; } }
.addr { display: grid; gap: 22px; }
.addr p { font-weight: 400; }
.addr a { text-decoration: none; }
.addr .gmap { max-width: 320px; }
form.enquiry { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 640px) { form.enquiry { grid-template-columns: 1fr; } }
.f { display: grid; gap: 8px; min-width: 0; }
.f--full { grid-column: 1 / -1; }
.f label { font-size: var(--t-label); text-transform: uppercase; letter-spacing: .14em; color: var(--muted); font-weight: 500; }
.f input, .f select, .f textarea { font: inherit; font-weight: 400; color: var(--fg); background: var(--surface); border: 1px solid transparent; border-radius: var(--r-sm); padding: 15px 16px; width: 100%; transition: border-color .25s; }
.f textarea { min-height: 160px; resize: vertical; }
.f input:focus, .f select:focus, .f textarea:focus { outline: none; border-color: var(--fg); }
.search-fields { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 640px) { .search-fields { grid-template-columns: 1fr; } }
.consent { grid-column: 1 / -1; display: flex; gap: 12px; align-items: flex-start; font-size: var(--t-small); color: var(--muted); }
.consent input { margin-top: 4px; width: 18px; height: 18px; flex: none; accent-color: var(--fg); }
.hp { position: absolute !important; left: -9999px !important; }
.form-status { grid-column: 1 / -1; font-size: var(--t-small); color: var(--muted); min-height: 1.4em; }

/* Social */
.social { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 0; padding: 0; }
.social a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); color: inherit;
  transition: background .35s var(--ease), color .35s var(--ease), border-color .35s, transform .35s var(--ease); }
.social a:hover { transform: translateY(-2px); background: var(--fg); color: var(--bg); border-color: var(--fg); }
.social svg { width: 17px; height: 17px; fill: currentColor; }
.overlay .social a { border-color: var(--w-20); }
.overlay .social a:hover { background: var(--white); color: var(--ink); border-color: var(--white); }

/* Gesprächsband & Footer */
.talk .wrap { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(28px, 6vw, 96px); align-items: stretch; }
.talk h2 { align-self: end; }
@media (max-width: 900px) { .talk .wrap { grid-template-columns: 1fr; } }
.talk h2 { font-size: clamp(2.6rem, 6.6vw, 6rem); letter-spacing: -.04em; line-height: .95; font-weight: 800; }
.talk p { color: var(--w-64); max-width: 40ch; }
.talk .lines { display: grid; gap: 6px; font-weight: 400; font-size: 1.1rem; }
.talk .lines a { text-decoration: none; }
.site-footer { background: var(--bg); color: var(--muted); border-top: 1px solid var(--line); }
.site-footer .wrap { padding-block: 56px calc(36px + env(safe-area-inset-bottom, 0px)); display: grid; gap: 40px; }
.foot-top { display: grid; grid-template-columns: minmax(0, 1.2fr) repeat(3, minmax(0, 1fr)); gap: 32px; }
@media (max-width: 900px) { .foot-top { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .foot-top { grid-template-columns: 1fr; } }
.foot-top h3 { font-size: var(--t-label); text-transform: uppercase; letter-spacing: .18em; font-weight: 500; color: var(--fg); margin-bottom: 14px; }
.foot-top ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: .94rem; }
.foot-top ul.social { display: flex; gap: 10px; }
.foot-top a { text-decoration: none; transition: color .2s; }
.foot-top a:hover { color: var(--fg); }
.foot-brand { color: var(--fg); width: 104px; display: block; }
.foot-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding-top: 28px; border-top: 1px solid var(--line); font-size: var(--t-small); }
.foot-bottom ul { display: flex; gap: 20px; flex-wrap: wrap; list-style: none; margin: 0; padding: 0; }
.foot-bottom a { text-decoration: none; }
.foot-bottom a:hover { color: var(--fg); }

/* Einblendungen */
.js [data-reveal].pre { opacity: 0; transform: translateY(28px); filter: blur(6px); }
.js [data-reveal] { transition: opacity 1s var(--ease), transform 1.1s var(--ease), filter 1s var(--ease); transition-delay: var(--d, 0s); }
.js .hero__claim .line > span { transform: translateY(105%); animation: rise 1.2s var(--ease) forwards; animation-delay: calc(.15s + var(--i, 0) * .12s); }
.js .fade-in, .js .fade-up { opacity: 0; animation: fade 1.2s var(--ease) forwards; animation-delay: var(--d, .6s); }
@keyframes rise { to { transform: none; } }
@keyframes fade { to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js [data-reveal].pre { opacity: 1; transform: none; filter: none; }
  .js .hero__claim .line > span, .js .fade-in, .js .fade-up { transform: none; opacity: 1; }
  .statement .w { opacity: 1; }
}


/* ------------------------------------------------------------------
   Dark Mode: weiße Inseln statt Zwischenfarben.
   Flächen-Bänder, Karten und Infoboxen erscheinen weiß mit Anthrazit-Text. */
:root:not([data-theme="light"]) :is(.band--surface, .card, .cls, .facts, .tile) {
  --bg: var(--white); --fg: var(--ink); --muted: var(--slate);
  --surface: #f5f6f7;
  --line: rgba(15, 24, 34, .12); --line-soft: rgba(15, 24, 34, .07); --hover: rgba(15, 24, 34, .05);
  --solid-bg: var(--ink); --solid-fg: var(--white); --solid-hover: var(--slate);
  --land: rgba(15, 24, 34, .05); --land-stroke: rgba(15, 24, 34, .18); --pin: var(--ink);
  --shadow: 0 30px 70px -32px rgba(0, 0, 0, .55);
  --cursor: url("../cursor-dark.svg");
  background: var(--bg); color: var(--fg);
  cursor: var(--cursor) 12 12, auto;
}
:root:not([data-theme="light"]) .band--surface :is(.card, .cls, .tile) { background: var(--surface); }
:root:not([data-theme="light"]) .band--surface + .band--surface { border-top: 1px solid var(--line-soft); }
:root:not([data-theme="light"]) .f :is(input, select, textarea) { border-color: var(--line); }
:root:not([data-theme="light"]) .market div { border: 1px solid var(--line); }
:root:not([data-theme="light"]) .chip { background: transparent; }

/* Cursor: Bildmarke, 24 px, ohne Kontur */
html { cursor: var(--cursor) 12 12, auto; }
a, button, summary, select, label[for], .pin { cursor: var(--cursor) 12 12, pointer; }

/* Kopfbilder auf Unterseiten */
.head-media { position: relative; margin: 0 0 clamp(16px, 3vw, 32px); border-radius: var(--r); overflow: hidden; aspect-ratio: 21 / 9; max-width: 100%; background: var(--ink); }
.head-media img { width: 100%; height: 100%; object-fit: cover; }
.head-media::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(0deg, rgba(var(--ink-rgb), .7) 0%, rgba(var(--ink-rgb), .2) 40%, rgba(var(--ink-rgb), 0) 70%); }
@media (max-width: 640px) { .head-media { aspect-ratio: 4 / 3; } }

/* Kennzahlen */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); margin: 0; }
.stats > div { border-top: 1px solid var(--line); padding-top: 22px; display: grid; gap: 10px; align-content: start; }
.stats dt { font-size: clamp(2.6rem, 5.4vw, 4.6rem); font-weight: 800; letter-spacing: -.04em; line-height: .95; font-variant-numeric: tabular-nums; }
.stats dd { margin: 0; color: var(--muted); font-size: .95rem; max-width: 26ch; }
.stats--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 860px) { .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 420px) { .stats, .stats--2 { grid-template-columns: 1fr; } }
.mandate-teaser { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.mandate-teaser > div:first-child { display: grid; gap: 20px; }
.mandate-teaser h2 { font-size: var(--t-h2); max-width: 16ch; }
.mandate-teaser p { max-width: 42ch; }
@media (max-width: 900px) { .mandate-teaser { grid-template-columns: 1fr; } }

/* Kacheln, Raster */
.tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(14px, 2vw, 24px); }
@media (max-width: 760px) { .tiles { grid-template-columns: 1fr; } }
.tile { border-radius: var(--r); padding: clamp(26px, 3vw, 40px); display: grid; gap: 12px; align-content: start; min-height: 190px;
  transition: transform .6s var(--ease), box-shadow .6s var(--ease); }
:root[data-theme="light"] .tile { background: var(--bg); }
.tile:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.tile h3 { font-size: 1.32rem; }
.tile p { color: var(--muted); max-width: 46ch; }
.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(28px, 3vw, 44px); }
@media (max-width: 640px) { .grid2 { grid-template-columns: 1fr; } }

/* Suchmandat */
.page-head--mandate { padding-bottom: clamp(48px, 6vw, 88px); }
.display { font-size: clamp(2.8rem, 7vw, 6.6rem) !important; font-weight: 800; letter-spacing: -.04em; line-height: .95; max-width: 14ch !important; margin-top: 18px !important; }
.statement--light { color: var(--white); max-width: 22ch; font-weight: 700; }
.table-wrap { overflow-x: auto; border-radius: var(--r); border: 1px solid var(--line); }
.compare { width: 100%; border-collapse: collapse; min-width: 640px; font-size: 1rem; }
.compare th, .compare td { text-align: left; padding: 20px 24px; border-bottom: 1px solid var(--line-soft); vertical-align: top; }
.compare tbody tr:last-child :is(th, td) { border-bottom: 0; }
.compare thead th { font-size: var(--t-label); text-transform: uppercase; letter-spacing: .16em; font-weight: 500; color: var(--muted); }
.compare tbody th { font-weight: 700; width: 26%; }
.compare td { color: var(--muted); }
.compare .hi { background: var(--white); color: var(--ink); font-weight: 500; }
.compare thead .hi { color: var(--ink); }
:root[data-theme="light"] .compare .hi { background: var(--ink); color: var(--white); }
.cost { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: clamp(28px, 6vw, 96px); align-items: center; }
@media (max-width: 900px) { .cost { grid-template-columns: 1fr; } }
.big-num { font-size: clamp(6rem, 18vw, 14rem); font-weight: 800; letter-spacing: -.06em; line-height: .85; margin-top: 16px; }
.cta-band .wrap { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(28px, 6vw, 96px); align-items: end; }
@media (max-width: 900px) { .cta-band .wrap { grid-template-columns: 1fr; } }
.cta-band h2 { font-size: clamp(2.4rem, 5.6vw, 5rem); letter-spacing: -.04em; line-height: .98; font-weight: 800; }
.cta-band p { color: var(--w-64); max-width: 40ch; font-size: 1.1rem; }
/* Auf Bildern und Anthrazit-Bändern immer der helle Cursor */
:is(.hero, .region-hero, .panel, .band--ink, .overlay, .head-media, .card__media, .cls__media, .modal-ink, .imgband) {
  --cursor: url("../cursor-light.svg"); cursor: var(--cursor) 12 12, auto;
}

/* ---------- Seitenkopf als Vollbild (wie Startseite) ---------- */
.hero--page .wrap { gap: 22px; }
.hero--page .crumbs { color: var(--w-64); }
.hero--page .crumbs a:hover { color: var(--white); }
.hero__title { font-size: var(--t-display); font-weight: 800; line-height: .96; letter-spacing: -.04em; max-width: 15ch; }
.hero--page .hero__sub { font-size: 1.15rem; max-width: 52ch; }
.hero--page + .band--tight { padding-top: clamp(64px, 8vw, 120px); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Regionslisten: Pfeil statt Koordinaten ---------- */
.region-list .arrow { opacity: .35; transition: opacity .3s, transform .35s var(--ease); }
.region-list a:hover .arrow, .region-list a.is-hot .arrow { opacity: 1; transform: translateX(3px); }

/* ---------- Karten-Tooltip mit Vorschaubild ---------- */
.tip.has-img { padding: 8px 8px 12px; width: 230px; }
.tip img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 10px; margin-bottom: 10px; background: var(--ink); }
.tip.has-img b, .tip.has-img span { padding-inline: 6px; }

/* ---------- Popup: Kontakt und Suchauftrag ---------- */
.modal { border: 0; padding: 0; margin: auto; background: transparent; color: var(--fg); max-width: min(760px, calc(100vw - 24px)); width: 100%; max-height: calc(100svh - 24px); overflow: visible; }
.modal::backdrop { background: transparent; opacity: 0; transition: opacity .28s var(--ease); }
.modal.is-open::backdrop { opacity: 1; }
.modal__box { position: relative; background: var(--glass-strong); border: 1px solid var(--glass-border); border-radius: 28px; box-shadow: var(--shadow);
  -webkit-backdrop-filter: saturate(1.6) blur(26px); backdrop-filter: saturate(1.6) blur(26px);
  padding: clamp(24px, 4vw, 44px); max-height: calc(100svh - 24px); overflow: auto; overscroll-behavior: contain;
  opacity: 0; transform: translateY(18px) scale(.98); transition: opacity .28s var(--ease), transform .4s var(--ease); }
.modal.is-open .modal__box { opacity: 1; transform: none; }
.modal h2 { font-size: var(--t-h2); margin-top: 10px; max-width: 18ch; }
.modal__lead { color: var(--muted); margin: 14px 0 26px; max-width: 52ch; }
.modal [data-show] { display: none; }
.modal[data-mode="contact"] [data-show="contact"], .modal[data-mode="search"] [data-show="search"] { display: inline; }
.modal[data-mode="contact"] p[data-show="contact"], .modal[data-mode="search"] p[data-show="search"] { display: block; }
.modal__close { position: absolute; top: 16px; right: 16px; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: transparent; color: var(--fg); transition: background .25s, transform .35s var(--ease); }
.modal__close:hover { background: var(--hover); transform: rotate(90deg); }
.modal__close span, .modal__close span::after { position: absolute; left: 13px; top: 21px; width: 17px; height: 1.5px; background: currentColor; transform: rotate(45deg); content: ""; }
.modal__close span::after { left: 0; top: 0; transform: rotate(-90deg); }
body.modal-open { overflow: hidden; }
@media (max-width: 640px) { .modal { max-width: 100vw; max-height: 100svh; margin: auto 0 0; } .modal__box { border-radius: var(--r) var(--r) 0 0; max-height: 92svh; } }
@media (prefers-reduced-motion: reduce) { .modal__box, .modal::backdrop { transition: none; } }
.search-fields[hidden] { display: none; }

.mega { transition: opacity .3s var(--ease), transform .4s var(--ease), visibility 0s linear .3s, background .4s var(--ease); }
.nav-shell.is-scrolled .mega { background: var(--glass-strong); }
.modal .f :is(input, select, textarea) { background: rgba(var(--ink-rgb), .04); border-color: var(--line); }
:root:not([data-theme="light"]) .modal .f :is(input, select, textarea) { background: rgba(255, 255, 255, .04); }

/* Let's talk: LÈMANS-Pfeil */
.talk__side { display: grid; align-content: space-between; gap: 40px; }
.talk__arrow { justify-self: end; display: block; width: clamp(56px, 6.4vw, 92px); color: var(--white); transition: transform .6s var(--ease); }
.talk__arrow svg { display: block; width: 100%; height: auto; fill: none; stroke: currentColor; stroke-width: 3.2; }
.talk__arrow:hover, .talk:hover .talk__arrow { transform: translate(6px, -6px); }
@media (max-width: 900px) { .talk__arrow { justify-self: start; order: 2; } }

/* Leistungen mit abstrakten Symbolen */
.item--ico { padding-top: 0; gap: 14px; }
.item--ico::before, .item--ico::after { display: none; }
.svc-ico { display: block; width: 36px; height: 36px; margin-bottom: 22px; color: var(--fg); }
.svc-ico svg { width: 100%; height: 100%; overflow: visible; fill: none; stroke: currentColor; stroke-width: 1.4; transition: transform .6s var(--ease); }
.svc-ico .f { fill: currentColor; stroke: none; }
.item--ico:hover .svc-ico svg { transform: translateY(-4px); }

/* ================= Wissen: Pillar-Seite ================= */
.toc { position: sticky; top: 110px; align-self: start; }
.toc ol { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 2px; counter-reset: t; }
.toc li { counter-increment: t; }
.toc a { display: flex; gap: 14px; padding: 9px 0; border-top: 1px solid var(--line-soft); text-decoration: none; color: var(--muted); transition: color .2s, padding .3s var(--ease); }
.toc a::before { content: counter(t, decimal-leading-zero); font-size: var(--t-label); letter-spacing: .1em; padding-top: 3px; color: var(--muted); }
.toc a:hover { color: var(--fg); padding-left: 6px; }
@media (max-width: 900px) { .toc { position: static; } }
.spec tbody th a { text-decoration: none; border-bottom: 1px solid var(--line); transition: border-color .2s; }
.spec tbody th a:hover { border-color: var(--fg); }
a.gl { text-decoration: none; border-bottom: 1px dotted currentColor; transition: border-color .2s; }
a.gl:hover { border-bottom-style: solid; }

/* 3D-Explorer */
.xp { position: relative; height: clamp(440px, 72vh, 780px); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: var(--bg); touch-action: none; }
.xp-stage, .xp-stage canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important; display: block; }
.xp-stage canvas { cursor: grab; }
.xp-stage canvas:active { cursor: grabbing; }
.xp-hotspots { position: absolute; inset: 0; pointer-events: none; }
.xp-dot { position: absolute; left: 0; top: 0; pointer-events: auto; width: 30px; height: 30px; border-radius: 50%; padding: 0;
  border: 1px solid var(--fg); background: var(--glass-strong); color: var(--fg); font: inherit; font-size: .7rem; font-weight: 700;
  display: grid; place-items: center; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  transition: background .2s, color .2s, opacity .3s; opacity: 0; will-change: transform; }
.xp--ready .xp-dot { opacity: 1; }
.xp-dot::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 1px solid var(--fg); opacity: 0; animation: xp-pulse 2.8s var(--ease) infinite; }
.xp-dot.is-hover, .xp-dot:focus-visible, .xp-dot.is-active { background: var(--fg); color: var(--bg); box-shadow: 0 0 0 6px rgba(var(--ink-rgb), .25); }
.xp-dot.is-active::after { animation: none; opacity: .5; }
@keyframes xp-pulse { 0% { opacity: .5; transform: scale(.8); } 70%, 100% { opacity: 0; transform: scale(1.5); } }
.xp-panel { position: absolute; left: 18px; bottom: 18px; width: min(360px, calc(100% - 36px)); padding: 20px 22px; border-radius: 22px;
  background: var(--glass-strong); border: 1px solid var(--glass-border); color: var(--fg); box-shadow: var(--shadow);
  -webkit-backdrop-filter: saturate(1.6) blur(22px); backdrop-filter: saturate(1.6) blur(22px);
  display: grid; gap: 8px; opacity: 0; transform: translateY(10px); pointer-events: none; transition: opacity .3s var(--ease), transform .4s var(--ease); }
.xp-panel.is-on { opacity: 1; transform: none; pointer-events: auto; }
.xp-panel strong { font-size: 1.25rem; line-height: 1.2; }
.xp-panel p { color: var(--muted); font-size: .95rem; margin: 0; }
.xp-panel .link { justify-self: start; margin-top: 6px; }
.xp-hint { position: absolute; right: 18px; top: 16px; margin: 0; font-size: var(--t-small); color: var(--muted); pointer-events: none; }
.xp-fallback { display: none; }
.xp--fallback { height: auto; padding: 28px; }
.xp--fallback :is(.xp-stage, .xp-hotspots, .xp-panel, .xp-hint) { display: none; }
.xp--fallback .xp-fallback { display: block; margin: 0; color: var(--muted); }
@media (max-width: 640px) { .xp-hint { display: none; } .xp-panel { left: 10px; bottom: 10px; width: calc(100% - 20px); } }
@media (prefers-reduced-motion: reduce) { .xp-dot::after { animation: none; } }
.xp-list { margin-top: 28px; }
.xp-list summary { list-style: none; font-size: var(--t-label); text-transform: uppercase; letter-spacing: .16em; font-weight: 500; color: var(--muted); padding: 10px 0; }
.xp-list summary::-webkit-details-marker { display: none; }
.xp-list ol { list-style: none; margin: 12px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 32px; }
@media (max-width: 980px) { .xp-list ol { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .xp-list ol { grid-template-columns: 1fr; } }
.xp-list li { border-top: 1px solid var(--line-soft); padding: 14px 0 16px; }
.xp-li { all: unset; display: flex; gap: 12px; align-items: baseline; cursor: var(--cursor) 12 12, pointer; }
.xp-li strong { font-weight: 700; }
.xp-li:hover strong, .xp-li:focus-visible strong { text-decoration: underline; text-underline-offset: 4px; }
.xp-list p { margin: 6px 0 0 34px; font-size: .9rem; color: var(--muted); }
.xp-list p a { color: var(--fg); }

/* Nutzungsprofile und Checkliste */
.profiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 1000px) { .profiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .profiles { grid-template-columns: 1fr; } }
.profile { position: relative; display: grid; gap: 10px; align-content: start; padding: 24px 22px 48px; border: 1px solid var(--w-12); border-radius: var(--r); text-decoration: none; transition: background .3s, border-color .3s; }
.profile:hover { background: rgba(255,255,255,.05); border-color: var(--w-20); }
.profile strong { font-size: 1.1rem; }
.profile span:not(.arrow) { color: var(--w-64); font-size: .92rem; }
.profile .arrow { position: absolute; left: 22px; bottom: 20px; transition: transform .35s var(--ease); }
.profile:hover .arrow { transform: translateX(4px); }
.checklist { list-style: none; margin: 0; padding: 0; display: grid; counter-reset: c; }
.checklist li { counter-increment: c; display: grid; grid-template-columns: 48px 1fr; gap: 12px; padding: 16px 0; border-top: 1px solid var(--line); font-size: 1.05rem; }
.checklist li::before { content: counter(c, decimal-leading-zero); font-size: var(--t-label); letter-spacing: .12em; color: var(--muted); padding-top: 4px; }
.gl-teaser { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr) auto; gap: 32px; align-items: center; }
@media (max-width: 980px) { .gl-teaser { grid-template-columns: 1fr; } }
.gl-teaser .chip { text-decoration: none; font-size: .86rem; padding: 7px 13px; transition: background .2s, color .2s; }
.gl-teaser .chip:hover { background: var(--fg); color: var(--bg); }

/* Glossar */
.gl-tools { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: 22px; }
.az { display: flex; flex-wrap: wrap; gap: 2px; }
.az a { min-width: 32px; height: 32px; display: grid; place-items: center; border-radius: 10px; text-decoration: none; font-weight: 500; font-size: .92rem; transition: background .2s; }
.az a:hover { background: var(--hover); }
.gl-search input { font: inherit; color: var(--fg); background: var(--surface); border: 1px solid var(--line); border-radius: var(--pill); padding: 11px 18px; width: min(320px, 80vw); }
.gl-search input:focus { outline: none; border-color: var(--fg); }
.gl-groups { display: grid; margin-top: 18px; }
.gl-group { display: grid; grid-template-columns: 90px minmax(0, 1fr); gap: 24px; padding: 28px 0; border-top: 1px solid var(--line-soft); scroll-margin-top: 110px; }
.gl-group h2 { font-size: var(--t-h2); line-height: 1; }
.gl-group ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 32px; }
@media (max-width: 760px) { .gl-group { grid-template-columns: 1fr; gap: 10px; } .gl-group ul { grid-template-columns: 1fr; } }
.gl-group a { display: grid; gap: 4px; padding: 12px 14px; margin: 0 -14px; border-radius: 14px; text-decoration: none; transition: background .2s; }
.gl-group a:hover { background: var(--hover); }
.gl-group a span { color: var(--muted); font-size: .92rem; }
.gl-group[hidden], .gl-group li[hidden] { display: none; }

/* Begriffsseite */
.term-body { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
@media (max-width: 980px) { .term-body { grid-template-columns: 1fr; } }
.term-text { font-size: 1.2rem; line-height: 1.7; max-width: 62ch; }
.term-tip { border-left: 2px solid var(--fg); padding: 6px 0 6px 24px; display: grid; gap: 10px; max-width: 60ch; }
.term-tip p:last-child { font-size: 1.08rem; }
.rel-terms { list-style: none; margin: 0; padding: 0; display: grid; }
.rel-terms a { display: grid; gap: 4px; padding: 14px 0; border-bottom: 1px solid var(--line-soft); text-decoration: none; }
.rel-terms a span { color: var(--muted); font-size: .9rem; }
.rel-terms a:hover strong { text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 640px) { .xp-dot { width: 24px; height: 24px; font-size: .62rem; } .xp-dot::after { inset: -4px; } .xp { height: 520px; } }
.btn--ghost { background: transparent; }

/* Einstiegsseiten, Neubau, GwG */
.crit-link { text-decoration: none; border-bottom: 1px solid var(--line); transition: border-color .2s; }
.crit-link:hover { border-color: var(--fg); }
.space-chips .chip { text-decoration: none; font-size: .86rem; padding: 7px 13px; transition: background .2s, color .2s; }
.space-chips .chip:hover { background: var(--fg); color: var(--bg); }
.gl-teaser .space-chips { grid-column: 1 / -1; padding-top: 18px; border-top: 1px solid var(--line-soft); }
.space-row { display: flex; gap: 20px 32px; align-items: center; flex-wrap: wrap; padding: 24px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.space-row h2 { margin: 0; }
.mega-foot--links { align-items: flex-start; }
.mega-chips { display: flex; flex-wrap: wrap; gap: 6px; justify-content: flex-end; }
.mega-chips a { font-size: .86rem; font-weight: 400; padding: 6px 12px; border: 1px solid var(--line); border-radius: var(--pill); text-decoration: none; transition: background .2s, border-color .2s; }
.mega-chips a:hover { background: var(--hover); border-color: var(--fg); }
.foot-top { grid-template-columns: minmax(0, 1.3fr) repeat(5, minmax(0, 1fr)); }
@media (max-width: 1100px) { .foot-top { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px) { .foot-top { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 420px) { .foot-top { grid-template-columns: 1fr; } }
.paths { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(14px, 2vw, 24px); }
@media (max-width: 780px) { .paths { grid-template-columns: 1fr; } }
.path { background: var(--bg); border-radius: var(--r); padding: clamp(26px, 3vw, 40px); display: grid; gap: 14px; align-content: start; }
.path h3 { font-size: var(--t-h2); }
.path p { color: var(--muted); max-width: 52ch; }
.path ul, .ticks { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 0; }
.path li, .ticks li { position: relative; padding: 12px 0 12px 26px; border-top: 1px solid var(--line-soft); }
.path li::before, .ticks li::before { content: ""; position: absolute; left: 0; top: 19px; width: 12px; height: 7px; border-left: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(-45deg); }
.steps--6 { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 40px; }
@media (max-width: 900px) { .steps--6 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .steps--6 { grid-template-columns: 1fr; } }
.docs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2vw, 24px); }
@media (max-width: 900px) { .docs { grid-template-columns: 1fr; } }
.gwg-blocks { row-gap: 48px; }
.h3 { font-size: var(--t-h3); }
.mega-foot--links > .muted { white-space: nowrap; }

/* Begriffs-Symbole */
.t-ico { display: inline-grid; place-items: center; width: 24px; height: 24px; flex: none; color: var(--fg); }
.t-ico svg, .svc-ico svg { width: 100%; height: 100%; overflow: visible; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.t-ico .f, .svc-ico .f { fill: currentColor; stroke: none; }
.svc-ico--lg { width: 56px; height: 56px; margin: 0; }
.svc-ico--lg svg { stroke-width: 1.2; }
.term-ico { margin-top: 32px; }
.gl-group a { grid-template-columns: 24px 1fr; column-gap: 16px; align-items: start; }
.gl-group a .t-ico { grid-row: span 2; margin-top: 2px; }
.gl-group a:hover .t-ico svg { transform: translateY(-2px); }
.t-ico svg { transition: transform .4s var(--ease); }
.rel-terms a { grid-template-columns: 24px 1fr; column-gap: 14px; }
.rel-terms a .t-ico { grid-row: span 2; margin-top: 2px; }
.spec-term { display: inline-flex; gap: 12px; align-items: center; }
.profile .svc-ico { color: var(--white); margin-bottom: 8px; }
.xp-li .t-ico { width: 20px; height: 20px; align-self: center; }

/* Bildband zwischen Inhaltsblöcken (wie die Startseite) */
.imgband { position: relative; margin: 0; height: clamp(340px, 68vh, 720px); background: var(--ink); color: var(--white); overflow: hidden; isolation: isolate; display: grid; align-items: end; }
.imgband__media { position: absolute; inset: -8% 0; z-index: -2; }
.imgband__media img { width: 100%; height: 100%; object-fit: cover; will-change: transform; }
.imgband::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(0deg, rgba(var(--ink-rgb), .95) 0%, rgba(var(--ink-rgb), .55) 30%, rgba(var(--ink-rgb), 0) 65%),
              linear-gradient(180deg, rgba(var(--ink-rgb), .35) 0%, rgba(var(--ink-rgb), 0) 25%); }
.imgband figcaption { width: 100%; padding-block: clamp(40px, 6vw, 80px); display: grid; gap: 16px; }
.imgband .label { color: var(--w-64); }
.imgband__text { font-size: var(--t-h2); font-weight: 700; letter-spacing: -.02em; line-height: 1.12; max-width: 24ch; }

.xp-dot[hidden] { display: none; }
.xp-dot.is-occ:not(.is-active):not(.is-hover) { opacity: .45; }
.xp-dot::before { content: ""; position: absolute; inset: -10px; border-radius: 50%; }
.xp-ctrl { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.seg { display: inline-flex; padding: 4px; border-radius: var(--pill); border: 1px solid var(--line); background: var(--surface); }
.seg button { font: inherit; font-size: .9rem; font-weight: 500; border: 0; background: transparent; color: var(--muted); padding: 9px 18px; border-radius: var(--pill); transition: background .25s, color .25s; }
.seg button[aria-pressed="true"] { background: var(--fg); color: var(--bg); }
.xp-tag { margin-left: auto; font-size: var(--t-label); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.xp-li { width: 100%; }
.xp { background: #0f1822; }
:root[data-theme="light"] .xp { background: #e6ebef; }
.xp-hint { color: rgba(255,255,255,.7); text-shadow: 0 1px 2px rgba(0,0,0,.4); }
:root[data-theme="light"] .xp-hint { color: var(--slate); text-shadow: none; }
.xp-dot { margin: -15px 0 0 -15px; }
@media (max-width: 640px) { .xp-dot { margin: -12px 0 0 -12px; } }
.xp-stage { transition: opacity .26s var(--ease); }
.xp--fade .xp-stage, .xp--fade .xp-hotspots { opacity: 0; }
.xp-hotspots { transition: opacity .26s var(--ease); }

/* ---------- Navigation: Flächen-Spalten, Links-Raster */
.mega-grid--links { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.05fr); grid-auto-flow: dense; gap: 8px 20px; }
.mega-grid--links .mega-feature { grid-column: 3; }
.mega-grid--cols { grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(0, 1.05fr); gap: 20px; }
.mega-col { display: grid; align-content: start; gap: 2px; }
.mega-col__h { margin: 0 0 6px; padding: 0 14px; font-size: var(--t-label); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
.mega-item--sm { padding: 11px 14px; gap: 3px; border-radius: 14px; }
.mega-item--sm strong { font-size: .96rem; }
.mega-item--sm span { font-size: .84rem; line-height: 1.45; }
@media (max-width: 1240px) { .menu-trigger { padding-inline: 10px; } .nav-actions { margin-left: 2px; } }

/* ---------- Suche: Schaltfläche */
.search-btn { height: 40px; min-width: 40px; border-radius: var(--pill); border: 0; background: none; color: inherit; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 0 10px; transition: background .25s; cursor: pointer; }
.search-btn:hover { background: var(--hover); }
.search-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; }
.search-btn kbd, .sdlg kbd { font: inherit; font-size: .7rem; letter-spacing: .06em; color: var(--muted); border: 1px solid var(--line); border-radius: 6px; padding: 1px 6px; }
body.menu-open .search-btn { color: var(--white); }

/* ---------- Suche: Dialog (Liquid Glass) */
.sdlg { border: 0; padding: 0; margin: 12vh auto auto; background: transparent; color: var(--fg); width: min(720px, calc(100vw - 24px)); max-height: 76svh; overflow: visible; }
.sdlg::backdrop { background: transparent; opacity: 0; transition: opacity .25s var(--ease); }
.sdlg.is-open::backdrop { opacity: 1; }
.sdlg__box { background: var(--glass-strong); border: 1px solid var(--glass-border); border-radius: 26px; box-shadow: var(--shadow);
  -webkit-backdrop-filter: blur(28px) saturate(1.6); backdrop-filter: blur(28px) saturate(1.6); overflow: hidden; display: flex; flex-direction: column; max-height: 76svh;
  opacity: 0; transform: translateY(-10px) scale(.985); transition: opacity .25s var(--ease), transform .35s var(--ease); }
.sdlg.is-open .sdlg__box { opacity: 1; transform: none; }
.sdlg__bar { display: flex; align-items: center; gap: 12px; padding: 16px 18px 16px 22px; border-bottom: 1px solid var(--line-soft); }
.sdlg__bar > svg { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; opacity: .7; }
.sdlg__bar input { flex: 1; min-width: 0; font: inherit; font-size: 1.15rem; color: var(--fg); background: none; border: 0; outline: none; padding: 6px 0; }
.sdlg__bar input::placeholder { color: var(--muted); }
.sdlg__bar input::-webkit-search-cancel-button { display: none; }
.sdlg__close { border: 0; background: none; color: inherit; cursor: pointer; padding: 6px; border-radius: 8px; }
.sdlg__close:hover { background: var(--hover); }
.sdlg__body { overflow-y: auto; overscroll-behavior: contain; padding: 10px; }
.sdlg__quick { padding: 12px 12px 14px; }
.sdlg__quick .label { margin: 0 0 12px; color: var(--muted); }
.sdlg__quick .chip { text-decoration: none; font-size: .88rem; padding: 7px 13px; transition: background .2s; }
.sdlg__quick .chip:hover { background: var(--hover); }
.sdlg__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.sdlg__list a { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 16px; padding: 12px 14px; border-radius: 14px; text-decoration: none; transition: background .15s; }
.sdlg__list a strong { font-weight: 600; font-size: 1rem; }
.sdlg__list a .k { font-size: var(--t-label); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); align-self: center; }
.sdlg__list a p { grid-column: 1 / -1; margin: 0; color: var(--muted); font-size: .88rem; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.sdlg__list a:hover, .sdlg__list a[aria-selected="true"] { background: var(--hover); }
.sdlg mark { background: none; color: var(--fg); font-weight: 700; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.sdlg__empty { padding: 18px 14px; margin: 0; }
.sdlg__foot { margin: 0; padding: 10px 22px 12px; font-size: .78rem; border-top: 1px solid var(--line-soft); }
@media (max-width: 640px) { .sdlg { margin: 0; width: 100vw; max-width: 100vw; max-height: 100svh; height: 100svh; } .sdlg__box { border-radius: 0; max-height: 100svh; height: 100%; } }
@media (prefers-reduced-motion: reduce) { .sdlg__box, .sdlg::backdrop { transition: none; } }

/* ---------- Flächen-Übersicht */
.sp-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.sp-card { height: 100%; display: grid; grid-template-rows: auto auto 1fr auto; gap: 12px; padding: 26px; border: 1px solid var(--line); border-radius: 24px; text-decoration: none; transition: border-color .3s, background .3s, transform .4s var(--ease); }
.sp-card:hover { border-color: var(--fg); background: var(--hover); transform: translateY(-3px); }
.sp-card__ico { width: 40px; height: 40px; margin-bottom: 8px; }
.sp-card strong { font-size: 1.25rem; font-weight: 700; line-height: 1.2; }
.sp-card > span:not(.t-ico) { color: var(--muted); font-size: .95rem; line-height: 1.55; }
.sp-card em { font-style: normal; font-weight: 500; font-size: .92rem; display: inline-flex; gap: 8px; align-items: center; margin-top: 8px; }
.sp-card:hover em .arrow { transform: translateX(4px); }
@media (max-width: 980px) { .sp-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .sp-grid { grid-template-columns: 1fr; } }

/* ---------- Flächen: Karten mit Wegen, Wege-Sektion */
.sp-grid { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.sp-card { display: grid; grid-template-rows: 1fr auto auto; gap: 16px; padding: 26px; border: 1px solid var(--line); border-radius: 24px; transition: border-color .3s, background .3s, transform .4s var(--ease); }
.sp-card:hover { border-color: var(--fg); background: var(--hover); transform: translateY(-3px); }
.sp-card__main { display: grid; align-content: start; gap: 12px; text-decoration: none; }
.sp-card__main strong { font-size: 1.25rem; font-weight: 700; line-height: 1.2; }
.sp-card__main > span:not(.t-ico) { color: var(--muted); font-size: .95rem; line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.sp-ways { display: flex; flex-wrap: wrap; gap: 6px; }
.sp-ways a { font-size: .8rem; font-weight: 500; text-decoration: none; border: 1px solid var(--line); border-radius: var(--pill); padding: 5px 11px; transition: background .2s, border-color .2s; }
.sp-ways a:hover { background: var(--hover); border-color: var(--fg); }
.sp-card__more { font-weight: 500; font-size: .92rem; display: inline-flex; gap: 8px; align-items: center; text-decoration: none; }
.sp-card:hover .sp-card__more .arrow { transform: translateX(4px); }
.ways { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.way { border-top: 1px solid var(--line); padding: 22px 4px 8px; display: grid; align-content: start; gap: 12px; scroll-margin-top: 110px; }
.way__n { font-size: var(--t-label); letter-spacing: .14em; color: var(--muted); }
.way h3 { font-size: 1.35rem; margin: 0; }
.way p { margin: 0; color: var(--muted); }
.way .link { justify-self: start; display: inline-flex; gap: 8px; align-items: center; font-weight: 500; }
@media (max-width: 900px) { .ways { grid-template-columns: 1fr; } }
.mega-grid--plain { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.clamp3 { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* ---------- Umbrüche: ausgeglichene Überschriften, keine Schusterjungen */
h1, h2, h3, .hero__title, .mega-feature strong, .sp-card__main strong { text-wrap: balance; }
p, li, dd, figcaption, .lead { text-wrap: pretty; }
.s { display: inline-block; }              /* Satz in Überschriften bleibt zusammen, solange er in eine Zeile passt */
.cta-band h2 { font-size: clamp(2.2rem, 4.4vw, 4.2rem); }
@supports not (text-wrap: balance) { h1, h2 { overflow-wrap: anywhere; } }

/* ---------- Textmarkierung: hell auf dunklen Flächen, dunkel auf hellen */
::selection { background: var(--fg); color: var(--bg); }
:is(.hero, .region-hero, .panel, .band--ink, .on-media, .imgband, .modal-ink) ::selection { background: var(--white); color: var(--ink); }
:root:not([data-theme="light"]) :is(.band--surface, .card, .cls, .facts, .tile) ::selection { background: var(--ink); color: var(--white); }
:root:not([data-theme="light"]) :is(.card, .cls) :is(.card__media, .cls__media) ::selection { background: var(--white); color: var(--ink); }

/* ---------- Mobiles Menü: Dropdown unter der Pille, gleiche Breite, Glas wie das Mega-Menü */
.overlay { position: fixed; inset: auto; z-index: 99; clip-path: none;
  top: calc(14px + 58px + 10px + env(safe-area-inset-top, 0px));
  left: max(12px, env(safe-area-inset-left, 0px)); right: max(12px, env(safe-area-inset-right, 0px));
  max-width: 1120px; margin-inline: auto; max-height: calc(100svh - 100px - env(safe-area-inset-top, 0px)); overflow-y: auto; overscroll-behavior: contain;
  padding: 10px 10px 14px; border-radius: 28px; color: var(--fg);
  background: var(--glass); border: 1px solid var(--glass-border);
  -webkit-backdrop-filter: saturate(1.6) blur(22px); backdrop-filter: saturate(1.6) blur(22px); box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(-8px) scale(.985); transform-origin: top center;
  transition: opacity .25s var(--ease), transform .35s var(--ease), visibility 0s linear .35s; }
.overlay.is-open { clip-path: none; opacity: 1; visibility: visible; transform: none; transition: opacity .3s var(--ease), transform .4s var(--ease), visibility 0s; }
.overlay > *, .overlay.is-open > * { opacity: 1; transform: none; transition: none; }
.overlay-groups { display: grid; gap: 0; max-width: none; }
.overlay details { border-bottom: 1px solid var(--line-soft); }
.overlay summary { font-size: 1.05rem; font-weight: 600; letter-spacing: 0; padding: 15px 14px; cursor: pointer; border-radius: 14px; }
.overlay summary::after { content: none; }
.overlay summary svg { width: 11px; height: 11px; transition: transform .3s var(--ease); }
.overlay details[open] summary svg { transform: rotate(180deg); }
.overlay .sub { gap: 0; padding: 0 0 10px; }
.overlay .sub a { display: grid; gap: 2px; padding: 10px 14px; border-radius: 14px; color: var(--fg); font-size: 1rem; }
.overlay .sub a:hover { background: var(--hover); color: var(--fg); }
.overlay .sub a strong { font-weight: 600; font-size: .98rem; display: inline-flex; align-items: center; gap: 8px; }
.overlay .sub a span { color: var(--muted); font-size: .86rem; line-height: 1.45; }
.overlay .sub a.more strong { font-weight: 500; }
.overlay .reg-cols { columns: 2; column-gap: 4px; }
.overlay .reg-cols a { break-inside: avoid; padding: 8px 14px; }
.overlay .reg-cols a.more { column-span: all; margin-top: 4px; }
.overlay-foot { max-width: none; margin: 12px 0 0; padding: 0 4px; display: flex; gap: 6px; align-items: center; flex-wrap: wrap; color: var(--fg); }
.overlay-foot .nav-cta { display: inline-flex; }
.overlay-foot .lang { color: var(--fg); }
.overlay .theme-btn { border: 0; width: 40px; height: 40px; }
body.menu-open .nav-pill { border-color: var(--glass-border); color: var(--fg); box-shadow: 0 12px 40px -14px rgba(0, 0, 0, .35); }
body.menu-open .nav-pill::before { background: var(--glass-strong); }
body.menu-open .burger { background: var(--solid-bg); color: var(--solid-fg); }
body.menu-open .search-btn { color: inherit; }
.foot-top { grid-template-columns: minmax(0, 1.2fr) repeat(5, minmax(0, 1fr)); gap: 28px; }
@media (max-width: 1100px) { .foot-top { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px) { .foot-top { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- Header so breit wie der Inhalt (.wrap) */
.nav-shell { padding-left: max(var(--gutter), env(safe-area-inset-left, 0px)); padding-right: max(var(--gutter), env(safe-area-inset-right, 0px)); }
.nav-pill { max-width: calc(var(--max) - 2 * var(--gutter)); }
.overlay { left: max(var(--gutter), env(safe-area-inset-left, 0px)); right: max(var(--gutter), env(safe-area-inset-right, 0px)); max-width: calc(var(--max) - 2 * var(--gutter)); }
@media (max-width: 1080px) { .nav-pill { padding-left: 18px; } .nav-actions .lang { padding-inline: 9px; } }
/* Suche: Schließen als X */
.sdlg__close { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; }
.sdlg__close svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; }
/* Social-Icons: Hover invertiert, Icon bleibt sichtbar (überschreibt .foot-top a:hover) */
.social a:hover, .foot-top .social a:hover { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.overlay .social a:hover { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.social a:hover svg { fill: currentColor; }
/* Beiträge: breitere Überschrift und Textspalte, ruhigere Umbrüche */
.article-head h1 { font-size: clamp(2rem, 3.6vw, 3.1rem); max-width: 30ch; text-wrap: balance; }
.article-head .lead { max-width: 64ch; }
.prose { max-width: 76ch; }
.prose p { text-wrap: wrap; hyphens: manual; }
.article-media { max-height: 520px; }
/* Kraftwerk Logistik: Artikel-Teaser im Raster */
.pw-art{display:flex;flex-direction:column;gap:10px;text-decoration:none;color:inherit;border:1px solid var(--line);border-radius:18px;padding:26px;transition:background .3s,border-color .3s}
.pw-art:hover{border-color:var(--fg)}
.pw-art .arrow{margin-top:auto}
/* ATLAS-Wortmarke im Fließtext: Versalhöhe, sitzt auf der Grundlinie */
svg.atlas{display:inline-block;height:.7em;width:auto;aspect-ratio:202/51;vertical-align:0;fill:currentColor;overflow:visible}
/* Intro: Logo-Animation, einmal pro Sitzung (html.is-intro) */
.intro { display: none; }
html.is-intro .intro { display: grid; place-items: center; position: fixed; inset: 0; z-index: 1000; background: #0f1822; color: #e4e7ea; pointer-events: none;
  animation: intro-out .5s cubic-bezier(.7,0,.2,1) 1.25s forwards; }
.intro__logo { width: min(45vw, 308px); height: auto; fill: currentColor; overflow: visible; animation: intro-logo .5s cubic-bezier(.7,0,.2,1) 1.25s forwards; }
.intro__all { transform: translateX(825px); animation: intro-slide .55s cubic-bezier(.65,0,.25,1) .5s forwards; }
.intro__mark path { transform-box: fill-box; }
.intro .i-b1, .intro .i-b2, .intro .i-b3 { transform-origin: 50% 0; transform: scaleY(0); animation: intro-grow .42s cubic-bezier(.2,.8,.2,1) forwards; }
.intro .i-b2 { animation-delay: .06s; }
.intro .i-b3 { animation-delay: .12s; }
.intro .i-dot { transform-origin: 50% 50%; transform: scale(0); animation: intro-pop .3s cubic-bezier(.3,1.6,.5,1) .3s forwards; }
.intro .i-base { transform-origin: 50% 100%; transform: scaleX(0); animation: intro-base .38s cubic-bezier(.2,.8,.2,1) .2s forwards; }
.intro__word { clip-path: inset(0 100% 0 0); opacity: 0; animation: intro-wipe .6s cubic-bezier(.4,0,.2,1) .62s forwards; }
html.is-intro .js .fade-in, html.is-intro .fade-in, html.is-intro .fade-up, html.is-intro .hero__claim .line > span { animation-delay: calc(var(--d, .6s) + 1.2s); }
html.is-intro .hero__claim .line > span { animation-delay: calc(1.35s + var(--i, 0) * .12s); }
@keyframes intro-grow { to { transform: scaleY(1); } }
@keyframes intro-pop { to { transform: scale(1); } }
@keyframes intro-base { to { transform: scaleX(1); } }
@keyframes intro-slide { to { transform: translateX(0); } }
@keyframes intro-wipe { 0% { opacity: 0; clip-path: inset(0 100% 0 0); } 30% { opacity: 1; } 100% { opacity: 1; clip-path: inset(0 0 0 0); } }
@keyframes intro-logo { to { transform: scale(.94); opacity: 0; } }
@keyframes intro-out { to { opacity: 0; visibility: hidden; } }
@media (prefers-reduced-motion: reduce) { html.is-intro .intro { display: none; } }
/* Glossar: Vertiefung und Richtwerte */
.term-sec { display: grid; gap: 10px; max-width: 62ch; }
.term-sec h2 { font-size: clamp(1.15rem, 1.6vw, 1.35rem); line-height: 1.3; margin: 0; }
.term-sec p { line-height: 1.7; margin: 0; }
.term-vals { border: 1px solid var(--line); border-radius: 18px; padding: 22px 24px; display: grid; gap: 0; max-width: 62ch; margin: 0; }
.term-vals .label { margin-bottom: 8px; }
.term-vals div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; padding: 11px 0; border-top: 1px solid var(--line); }
.term-vals dt { opacity: .75; }
.term-vals dd { margin: 0; font-weight: 600; }
.term-vals__note { font-size: .85rem; opacity: .6; margin: 12px 0 0; }
@media (max-width: 560px) { .term-vals div { grid-template-columns: 1fr; gap: 2px; } }
/* Dark Mode: weiße Karten auf Anthrazit bekommen beim Hover einen hellen Schein statt eines (unsichtbaren) dunklen Schattens */
:root:not([data-theme="light"]) :is(.card, .cls, .tile) { --shadow: 0 26px 70px -26px rgba(255, 255, 255, .34), 0 0 0 1px rgba(255, 255, 255, .22); }
:root:not([data-theme="light"]) .band--surface :is(.card, .cls, .tile) { --shadow: 0 30px 70px -32px rgba(0, 0, 0, .3); }
/* Karte auf Touch-Geräten: Vorschau ist antippbar */
.tip.is-tap { pointer-events: auto; cursor: pointer; }
.tip__go { display: block; font-style: normal; font-weight: 600; font-size: .82rem; margin-top: 8px; padding-inline: 6px; }
/* Kraftwerk Logistik: isometrische Linienzeichnung */
.pd { margin: clamp(24px, 4vw, 48px) 0 0; display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 64px); align-items: center; }
@media (max-width: 980px) { .pd { grid-template-columns: 1fr; } }
.pd-svg { width: 100%; height: auto; overflow: visible; color: var(--fg); }
.pd-svg polygon, .pd-svg polyline, .pd-svg line, .pd-svg ellipse, .pd-svg circle { stroke: currentColor; stroke-width: 1.1; stroke-linejoin: round; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.pd-svg polyline, .pd-svg line { fill: none; }
.pd-t { fill: color-mix(in srgb, var(--fg) 7%, var(--bg)); }
.pd-l { fill: var(--bg); }
.pd-r { fill: color-mix(in srgb, var(--fg) 14%, var(--bg)); }
.pd-hall .pd-t { fill: color-mix(in srgb, var(--fg) 4%, var(--bg)); }
.pd-pv { fill: color-mix(in srgb, var(--fg) 30%, var(--bg)); stroke-width: .8 !important; }
.pd-door { fill: color-mix(in srgb, var(--fg) 22%, var(--bg)); stroke-width: .7 !important; }
.pd-thin { stroke-width: .7 !important; opacity: .7; }
.pd-fan, .pd-tree { fill: var(--bg); }
.pd-dot { fill: currentColor; }
.pd-cable { stroke-width: 1 !important; opacity: .35; }
.pd-flow { stroke-width: 2 !important; stroke-dasharray: 4 14; animation: pd-flow 1.6s linear infinite; animation-delay: calc(var(--i, 0) * -.27s); }
@keyframes pd-flow { to { stroke-dashoffset: -36; } }
.pd-m line { stroke-width: .8 !important; opacity: .6; }
.pd-m circle { fill: var(--fg); }
.pd-m text { fill: var(--bg); font: 700 13px/1 var(--sans); text-anchor: middle; }
.pd-legend { list-style: none; counter-reset: pd; margin: 0; padding: 0; display: grid; gap: 0; }
.pd-legend li { counter-increment: pd; display: grid; grid-template-columns: 30px 1fr; column-gap: 14px; padding: 14px 0; border-top: 1px solid var(--line); }
.pd-legend li::before { content: counter(pd); grid-row: span 2; width: 24px; height: 24px; border-radius: 50%; background: var(--fg); color: var(--bg); font-weight: 700; font-size: .78rem; display: grid; place-items: center; }
.pd-legend b { font-weight: 600; }
.pd-legend span { color: var(--muted); font-size: .95rem; }
@media (prefers-reduced-motion: reduce) { .pd-flow { animation: none; } }
.pd-m text { dominant-baseline: central; }
@media (max-width: 640px) { .pd-m circle { r: 17px; } .pd-m text { font-size: 18px; } }
/* Sprachwahl: Weltkugel mit schmalem, transparentem Dropdown */
.langsel { position: relative; }
.langsel summary { list-style: none; display: flex; align-items: center; gap: 6px; cursor: pointer; color: var(--muted); padding: 9px 10px; border-radius: var(--pill);
  font-size: var(--t-label); letter-spacing: .14em; font-weight: 500; transition: background .25s, color .25s; user-select: none; }
.langsel summary::-webkit-details-marker { display: none; }
.langsel summary:hover, .langsel[open] summary { background: var(--hover); color: var(--fg); }
.langsel svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.3; }
.langsel__menu { position: absolute; right: 0; top: calc(100% + 10px); margin: 0; padding: 6px; list-style: none; min-width: 132px; z-index: 60;
  background: var(--glass); -webkit-backdrop-filter: saturate(1.6) blur(22px); backdrop-filter: saturate(1.6) blur(22px);
  border: 1px solid var(--glass-border); border-radius: 16px; box-shadow: var(--shadow); animation: langsel-in .18s var(--ease); }
.langsel__menu a { display: block; padding: 9px 12px; border-radius: 10px; text-decoration: none; color: var(--fg); font-size: .9rem; }
.langsel__menu a:hover { background: var(--hover); }
.langsel__menu a[aria-current] { font-weight: 700; }
.langsel__menu a[aria-current]::after { content: ""; display: inline-block; width: 5px; height: 5px; border-radius: 50%; background: currentColor; margin-left: 8px; vertical-align: middle; }
@keyframes langsel-in { from { opacity: 0; transform: translateY(-4px); } }
.overlay-langs { display: flex; align-items: center; gap: 4px; }
.overlay-langs svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.3; margin-right: 4px; opacity: .7; }
.overlay-langs a { padding: 8px 10px; border-radius: var(--pill); text-decoration: none; color: var(--muted); font-size: .9rem; }
.overlay-langs a[aria-current] { color: var(--fg); background: var(--hover); font-weight: 600; }
/* Chinesisch: Systemschriften mit CJK-Glyphen, ruhigere Zeilen */
:root:lang(zh) { --sans: "HK Grotesk", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", "Source Han Sans SC", sans-serif; }
:lang(zh) body { line-height: 1.75; }
:lang(zh) h1, :lang(zh) h2, :lang(zh) h3 { letter-spacing: .02em; line-height: 1.3; }
:lang(zh) .label { letter-spacing: .12em; }
.gl-group--cat { grid-template-columns: 1fr; gap: 14px; }
.gl-group--cat h2 { font-size: 1.35rem; line-height: 1.3; }
:lang(zh) .page-head h1 { max-width: 13em; }
:lang(zh) .article-head h1 { max-width: 22em; }
:lang(zh) h1, :lang(zh) h2, :lang(zh) h3 { line-break: strict; }

/* WeChat (chinesische Fassung): seitlich aufklappbare, transparente Leiste, Karte im Kontaktband, Footer */
.wx-ico { width: 18px; height: 18px; fill: #07c160; flex: none; }
.wx-code { display: block; border-radius: 14px; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.wx-code img { display: block; width: 100%; height: auto; box-sizing: border-box; padding: 5%; background: #fff; border-radius: inherit; }
.wx-code:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -18px rgba(0, 0, 0, .45); }
.wx-dock { position: fixed; z-index: 80; right: 0; top: 50%; transform: translateY(-50%); }
.wx-dock summary { list-style: none; cursor: pointer; display: grid; justify-items: center; gap: 8px; padding: 14px 10px 16px 11px;
  background: var(--glass); -webkit-backdrop-filter: saturate(1.6) blur(22px); backdrop-filter: saturate(1.6) blur(22px);
  border: 1px solid var(--glass-border); border-right: 0; border-radius: 16px 0 0 16px; box-shadow: var(--shadow); color: var(--fg);
  font-size: .82rem; letter-spacing: .28em; transition: padding .3s var(--ease), background .3s; user-select: none; }
.wx-dock summary::-webkit-details-marker { display: none; }
.wx-dock summary span { display: block; width: 1em; line-height: 1.3; word-break: break-all; text-align: center; letter-spacing: 0; }
.wx-dock summary .wx-ico { width: 20px; height: 20px; }
.wx-dock summary:hover { padding-right: 14px; }
.wx-dock[open] summary { background: var(--glass-strong); }
.wx-dock__panel { position: absolute; right: calc(100% + 10px); top: 50%; transform: translateY(-50%); width: 248px; padding: 22px 20px 20px;
  background: var(--glass); -webkit-backdrop-filter: saturate(1.6) blur(22px); backdrop-filter: saturate(1.6) blur(22px);
  border: 1px solid var(--glass-border); border-radius: 22px; box-shadow: var(--shadow); color: var(--fg); animation: wx-in .32s var(--ease); }
.wx-dock__panel .label { margin: 0 0 14px; }
.wx-dock__t { margin: 16px 0 6px; font-weight: 700; font-size: 1.02rem; line-height: 1.45; }
.wx-dock__s { margin: 0; color: var(--muted); font-size: .86rem; line-height: 1.65; }
.wx-dock__h { margin: 10px 0 0; color: var(--muted); font-size: .76rem; opacity: .8; }
.wx-dock__close { position: absolute; right: 12px; top: 12px; width: 30px; height: 30px; border-radius: 50%; border: 0; background: transparent; cursor: pointer; color: var(--muted); }
.wx-dock__close:hover { background: var(--hover); color: var(--fg); }
.wx-dock__close span::before, .wx-dock__close span::after { content: ""; position: absolute; left: 9px; right: 9px; top: 50%; height: 1.4px; background: currentColor; transform: rotate(45deg); }
.wx-dock__close span::after { transform: rotate(-45deg); }
@keyframes wx-in { from { opacity: 0; transform: translate(14px, -50%); } }
html.is-intro .wx-dock { animation: wx-late 1s 2.2s both; }
@keyframes wx-late { from { opacity: 0; } }
@media (max-width: 760px) {
  .wx-dock { top: auto; bottom: calc(96px + env(safe-area-inset-bottom, 0px)); transform: none; }
  .wx-dock summary { padding: 12px 8px 13px 9px; font-size: .76rem; }
  .wx-dock__panel { position: fixed; left: 16px; right: 16px; top: auto; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); transform: none; width: auto;
    display: grid; grid-template-columns: 132px 1fr; column-gap: 16px; align-items: start; padding: 18px; animation-name: wx-up; }
  .wx-dock__panel .label { grid-column: 1 / -1; }
  .wx-dock__panel .wx-code { grid-row: span 3; }
  .wx-dock__t { margin-top: 0; }
  @keyframes wx-up { from { opacity: 0; transform: translateY(14px); } }
}
.wx-card { display: grid; grid-template-columns: 136px minmax(0, 1fr); gap: 20px; align-items: center; padding: 16px; border-radius: 22px;
  border: 1px solid color-mix(in srgb, currentColor 16%, transparent); max-width: 460px; }
.wx-card .label { display: flex; align-items: center; gap: 8px; margin: 0 0 8px; }
.wx-card .label .wx-ico { width: 16px; height: 16px; }
.wx-card__t { margin: 0 0 6px; font-weight: 700; font-size: 1.05rem; line-height: 1.45; color: inherit; }
.talk .wx-card p.wx-card__t { color: var(--white); }
.wx-card__s { margin: 0; font-size: .9rem; line-height: 1.65; opacity: .78; }
.wx-card__h { margin: 8px 0 0; font-size: .78rem; opacity: .6; }
.addr .wx-card { margin-top: 22px; }
.wx-foot { display: grid; justify-items: start; gap: 12px; }
.wx-foot .wx-code { width: 104px; flex: none; border-radius: 10px; }
.wx-foot p { margin: 0; display: flex; align-items: center; gap: 8px; font-size: .86rem; color: var(--muted); }
@media (max-width: 480px) { .wx-card { grid-template-columns: 112px minmax(0, 1fr); gap: 14px; } }
@media print { .wx-dock { display: none; } }
/* Footer: Firmenblock auf schmalen Bildschirmen über die volle Breite, Firmenname ohne Umbruch */
@media (max-width: 1100px) { .foot-top > :first-child { grid-column: 1 / -1; } }
.foot-top .nowrap, .foot-bottom .nowrap { white-space: nowrap; }
/* Kraftwerk Logistik: Artikelkarte im Raster ohne Trennlinie der Nachbarn */
.pw-art::before, .pw-art::after { display: none; }
.pw-art { padding-top: 26px; align-self: start; }
/* KI-Kennzeichnung direkt am Bild (Art. 50 Abs. 4 KI-VO): dezent, aber ohne Interaktion erkennbar */
.ai-badge { position: absolute; z-index: 3; top: 12px; right: 12px; pointer-events: none; display: inline-flex; align-items: center; gap: 5px;
  padding: 4px 9px 4px 7px; border-radius: 999px; background: rgba(15, 24, 34, .58); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  color: rgba(255, 255, 255, .92); font: 600 10.5px/1.2 var(--sans); letter-spacing: .06em; font-style: normal; white-space: nowrap; }
.ai-badge::before { content: "AI"; display: inline-grid; place-items: center; height: 14px; padding: 0 3px; border-radius: 4px; border: 1px solid currentColor; font-size: 8.5px; letter-spacing: .04em; }
:lang(zh) .ai-badge::before { display: none; }
.hero__media .ai-badge, .region-hero .media .ai-badge, .hero .ai-badge { top: auto; bottom: 18px; right: 18px; }
.imgband__media .ai-badge { top: calc(6.9% + 14px); }
.tip__media { position: relative; }
.tip__media .ai-badge { top: 8px; right: 8px; font-size: 9.5px; padding: 3px 7px 3px 5px; }
.foot-ai { flex-basis: 100%; margin: 0; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: .8rem; color: var(--muted); }
.foot-ai a { text-decoration: underline; text-underline-offset: 3px; }
.ai-dot { display: inline-grid; place-items: center; height: 15px; padding: 0 3px; border-radius: 4px; border: 1px solid currentColor; font-size: 8.5px; font-weight: 600; letter-spacing: .04em; }
.foot-ai { order: 3; padding-top: 4px; }

/* ================= Popup-Modi und Immobiliensuche (Konfigurator) ================= */
.modal[data-mode="contact"] .finder, .modal[data-mode="search"] .modal__contact { display: none; }
.modal[data-mode="search"] { max-width: min(1140px, calc(100vw - 24px)); }
.modal[data-mode="search"] .modal__box { padding: clamp(22px, 3.2vw, 40px); padding-bottom: 0; }
.search-fields { display: grid; gap: 12px; justify-items: start; padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--r-sm); }
.search-fields p { margin: 0; color: var(--muted); font-size: .95rem; }
.finder { --acc: var(--fg); }
.finder__head .label { margin: 0; }
.finder__head h2 { font-size: clamp(1.5rem, 2.6vw, 2.15rem); margin: 8px 0 0; max-width: 24ch; }
.finder__lead { color: var(--muted); margin: 10px 0 0; max-width: 64ch; font-size: .97rem; }
.finder__progress { --p: 0; position: relative; list-style: none; margin: 26px 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.finder__progress::before, .finder__progress::after { content: ""; position: absolute; left: 10%; right: 10%; top: 9px; height: 2px; border-radius: 2px; background: var(--line); }
.finder__progress::after { background: var(--fg); right: auto; width: calc(80% * var(--p)); transition: width .5s var(--ease); }
.finder__progress li { position: relative; z-index: 1; display: grid; justify-items: center; }
.finder__progress button { display: grid; justify-items: center; gap: 8px; border: 0; background: none; color: var(--muted); font: inherit; font-size: .78rem; letter-spacing: .04em; cursor: pointer; padding: 0 4px; }
.finder__progress button:disabled { cursor: default; opacity: .55; }
.finder__progress i { width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--line); background: var(--glass-strong); transition: background .3s, border-color .3s, transform .3s var(--ease); }
.finder__progress li.is-done i { background: var(--fg); border-color: var(--fg); }
.finder__progress li.is-cur i { border-color: var(--fg); transform: scale(1.15); box-shadow: 0 0 0 5px color-mix(in srgb, var(--fg) 12%, transparent); }
.finder__progress li.is-cur button { color: var(--fg); font-weight: 600; }
.finder__progress.is-complete::after { width: 80%; }
.finder__progress.is-complete i { background: var(--fg); border-color: var(--fg); }
.finder__grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(22px, 3vw, 44px); margin-top: 26px; align-items: start; }
.finder__steps { min-width: 0; }
.fstep { border: 0; margin: 0; padding: 0; min-width: 0; display: grid; gap: 26px; animation: fstep-in .45s var(--ease); }
@keyframes fstep-in { from { opacity: 0; transform: translateX(14px); } }
.fq { display: grid; gap: 12px; min-width: 0; }
.fq__l { margin: 0; font-weight: 600; font-size: 1rem; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.fq__l small { font-weight: 400; font-size: .8rem; color: var(--muted); }
.fq__pair { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.finder__fine { margin: 0; font-size: .76rem; color: var(--muted); line-height: 1.5; }
.finder__note { margin: 0; font-size: .85rem; color: var(--muted); padding: 14px 16px; border-left: 2px solid var(--fg); background: var(--hover); border-radius: 0 10px 10px 0; }
.is-bad { outline: 1.5px solid #e5484d; outline-offset: 4px; border-radius: 12px; }
.f input.is-bad { outline-offset: 0; }
/* Segmentschalter */
.seg { display: inline-flex; flex-wrap: wrap; padding: 4px; gap: 4px; border-radius: var(--pill); border: 1px solid var(--line); justify-self: start; }
.seg label { position: relative; }
.seg input, .fchip input, .tile-opt input, .check input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.seg span { display: block; padding: 10px 18px; border-radius: var(--pill); cursor: pointer; font-size: .92rem; transition: background .25s, color .25s; }
.seg input:checked + span { background: var(--fg); color: var(--bg); }
.seg input:focus-visible + span, .fchip input:focus-visible + span, .tile-opt input:focus-visible + span, .check input:focus-visible + span { outline: 2px solid var(--fg); outline-offset: 2px; }
/* Objektart-Kacheln */
.finder .tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.tile-opt span { display: grid; gap: 10px; align-content: start; height: 100%; padding: 14px 14px 16px; border: 1px solid var(--line); border-radius: 16px; cursor: pointer;
  transition: border-color .25s, background .25s, transform .3s var(--ease); }
.tile-opt svg { width: 34px; height: 34px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linejoin: round; stroke-linecap: round; transition: transform .4s var(--ease); }
.tile-opt b { font-weight: 500; font-size: .88rem; line-height: 1.35; }
.tile-opt span:hover { border-color: color-mix(in srgb, var(--fg) 45%, transparent); }
.tile-opt input:checked + span { border-color: var(--fg); background: var(--hover); box-shadow: inset 0 0 0 1px var(--fg); }
.tile-opt input:checked + span svg { transform: translateY(-2px) scale(1.06); }
/* Chips und Checkboxen */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.fchip span { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: var(--pill); border: 1px solid var(--line); cursor: pointer; font-size: .88rem; transition: background .25s, color .25s, border-color .25s; }
.fchip span::before { content: ""; width: 7px; height: 7px; border-radius: 50%; border: 1.5px solid currentColor; opacity: .5; transition: background .25s, opacity .25s; }
.fchip input:checked + span { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.fchip input:checked + span::before { background: currentColor; opacity: 1; }
.checks { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 18px; }
.check { position: relative; }
.check span { display: flex; gap: 12px; align-items: flex-start; padding: 8px 0; cursor: pointer; font-size: .92rem; line-height: 1.4; }
.check span::before { content: ""; flex: none; width: 18px; height: 18px; margin-top: 1px; border-radius: 5px; border: 1.5px solid color-mix(in srgb, var(--fg) 45%, transparent); transition: background .2s, border-color .2s;
  background-repeat: no-repeat; background-position: center; background-size: 12px; }
.check input:checked + span::before { background-color: var(--fg); border-color: var(--fg);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='m2.2 6.3 2.4 2.4 5.2-5.4' fill='none' stroke='%23888' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
:root:not([data-theme="light"]) .check input:checked + span::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='m2.2 6.3 2.4 2.4 5.2-5.4' fill='none' stroke='%230f1822' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
:root[data-theme="light"] .check input:checked + span::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='m2.2 6.3 2.4 2.4 5.2-5.4' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
/* Schieberegler */
.rng { display: grid; gap: 8px; min-width: 0; }
.rng__h { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.rng__h label { font-size: .92rem; font-weight: 500; }
.rng output { font-variant-numeric: tabular-nums; font-size: .92rem; color: var(--muted); white-space: nowrap; }
.rng__num { display: inline-flex; align-items: baseline; gap: 6px; border-bottom: 1px solid var(--line); }
.rng__num input { width: 8.5ch; border: 0; background: none; color: var(--fg); font: inherit; font-size: .95rem; font-variant-numeric: tabular-nums; text-align: right; padding: 2px 0; -moz-appearance: textfield; }
.rng__num input::-webkit-outer-spin-button, .rng__num input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.rng__num input:focus { outline: none; }
.rng__num:focus-within { border-color: var(--fg); }
.rng__num em { font-style: normal; color: var(--muted); font-size: .85rem; }
.rng input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 22px; background: transparent; cursor: pointer; margin: 0; }
.rng input[type=range]::-webkit-slider-runnable-track { height: 2px; background: var(--line); border-radius: 2px; }
.rng input[type=range]::-moz-range-track { height: 2px; background: var(--line); border-radius: 2px; }
.rng input[type=range]::-moz-range-progress { height: 2px; background: var(--fg); }
.rng input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 18px; height: 18px; margin-top: -8px; border-radius: 50%; background: var(--fg); border: 4px solid var(--glass-strong); box-shadow: 0 0 0 1px var(--fg); transition: transform .2s var(--ease); }
.rng input[type=range]::-moz-range-thumb { width: 12px; height: 12px; border-radius: 50%; background: var(--fg); border: 4px solid var(--bg); box-shadow: 0 0 0 1px var(--fg); }
.rng input[type=range]:active::-webkit-slider-thumb { transform: scale(1.25); }
.rng input[type=range]:focus-visible { outline: 2px solid var(--fg); outline-offset: 4px; border-radius: 4px; }
.fstep[data-step="3"] { gap: 20px; }
/* Ortssuche und Karte */
.ac { position: relative; }
.ac input { width: 100%; font: inherit; color: var(--fg); background: rgba(255, 255, 255, .04); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 14px 16px 14px 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='1.6'%3E%3Cpath d='M12 21s-6.5-5.6-6.5-11A6.5 6.5 0 0 1 18.5 10c0 5.4-6.5 11-6.5 11z'/%3E%3Ccircle cx='12' cy='10' r='2.3'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: 15px center; background-size: 18px; }
:root[data-theme="light"] .ac input { background-color: rgba(15, 24, 34, .03); }
.ac input:focus { outline: none; border-color: var(--fg); }
.ac__list { position: absolute; z-index: 5; left: 0; right: 0; top: calc(100% + 6px); margin: 0; padding: 6px; list-style: none; max-height: 290px; overflow: auto;
  background: var(--glass-strong); -webkit-backdrop-filter: blur(22px); backdrop-filter: blur(22px); border: 1px solid var(--glass-border); border-radius: 14px; box-shadow: var(--shadow); }
.ac__list li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 12px; border-radius: 10px; cursor: pointer; font-size: .93rem; }
.ac__list li small { color: var(--muted); font-size: .75rem; letter-spacing: .08em; }
.ac__list li[aria-selected="true"], .ac__list li:hover { background: var(--hover); }
.ac__list .ac__none { color: var(--muted); cursor: default; font-size: .86rem; }
.fmap { display: grid; grid-template-columns: 148px minmax(0, 1fr); gap: 22px; align-items: center; }
.fmap svg { width: 100%; height: auto; overflow: visible; }
.fmap .land { fill: var(--land); stroke: var(--land-stroke); stroke-width: 1.2; transition: fill .4s; }
.fmap svg.is-flex .land { fill: color-mix(in srgb, var(--fg) 14%, transparent); }
.fmap__regions circle { fill: var(--muted); opacity: .45; }
.fmap__r { fill: color-mix(in srgb, var(--fg) 16%, transparent); stroke: var(--fg); stroke-width: 1.2; stroke-dasharray: 4 4; transition: r .35s var(--ease), cx .45s var(--ease), cy .45s var(--ease); }
.fmap__p { fill: var(--fg); stroke: var(--bg); stroke-width: 3; transition: r .3s var(--ease), cx .45s var(--ease), cy .45s var(--ease); }
/* Monatsauswahl */
.mpick { position: relative; justify-self: start; }
.mpick__btn { display: inline-flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: var(--pill); border: 1px solid var(--line); background: none; color: var(--fg); font: inherit; font-size: .95rem; cursor: pointer; }
.mpick__btn:hover, .mpick__btn[aria-expanded="true"] { border-color: var(--fg); }
.mpick__btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.mpick__btn i { width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); margin-left: 4px; }
.mpick__pop { position: absolute; z-index: 6; left: 0; top: calc(100% + 8px); width: 300px; padding: 14px; display: grid; gap: 12px;
  background: var(--glass-strong); -webkit-backdrop-filter: blur(22px); backdrop-filter: blur(22px); border: 1px solid var(--glass-border); border-radius: 18px; box-shadow: var(--shadow); animation: langsel-in .2s var(--ease); }
.mpick__quick { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.mpick__yr { display: flex; justify-content: space-between; align-items: center; padding-top: 6px; border-top: 1px solid var(--line); }
.mpick__yr button { width: 32px; height: 32px; border-radius: 50%; border: 0; background: none; color: var(--fg); font-size: 1.3rem; cursor: pointer; }
.mpick__yr button:hover:not(:disabled) { background: var(--hover); }
.mpick__yr button:disabled { opacity: .25; cursor: default; }
.mpick__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; }
.mpick__pop [data-v] { border: 0; background: none; color: var(--fg); font: inherit; font-size: .86rem; padding: 9px 4px; border-radius: 10px; cursor: pointer; }
.mpick__quick [data-v] { border: 1px solid var(--line); }
.mpick__pop [data-v]:hover:not(:disabled) { background: var(--hover); }
.mpick__pop [data-v]:disabled { opacity: .3; cursor: default; }
.mpick__pop [aria-pressed="true"] { background: var(--fg) !important; color: var(--bg); }
/* Kontakt-Schritt */
.fgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.fgrid .f--full { grid-column: 1 / -1; }
.fgrid textarea { min-height: 92px; }
.fstep .consent { grid-column: auto; }
/* Visualisierung */
.finder__viz { position: sticky; top: 0; display: grid; gap: 18px; padding: 18px; border-radius: 22px; border: 1px solid var(--line);
  background: radial-gradient(120% 90% at 50% 0%, color-mix(in srgb, var(--fg) 5%, transparent), transparent 70%); }
.fv { width: 100%; height: auto; aspect-ratio: 520 / 330; overflow: visible; color: var(--fg); --fs: 12px; }
.fv polygon, .fv polyline { stroke: currentColor; stroke-width: 1; stroke-linejoin: round; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.fv polyline { fill: none; }
.fv-t { fill: color-mix(in srgb, var(--fg) 7%, var(--bg)); }
.fv-l { fill: var(--bg); }
.fv-r { fill: color-mix(in srgb, var(--fg) 15%, var(--bg)); }
.fv-plot { fill: color-mix(in srgb, var(--fg) 3%, transparent); stroke-dasharray: 2 5; opacity: .7; }
.fv-yard { fill: color-mix(in srgb, var(--fg) 6%, transparent); stroke-width: .6 !important; opacity: .8; }
.fv-store { fill: color-mix(in srgb, var(--fg) 9%, transparent); stroke-dasharray: 3 3; }
.fv-crate .fv-t, .fv-crate .fv-r, .fv-crate .fv-l, .fv-truck polygon, .fv-unit polygon { stroke-width: .7 !important; }
.fv-hall.is-cold .fv-t { fill: color-mix(in srgb, #7fb6e6 18%, var(--bg)); }
.fv-hall.is-frozen .fv-t { fill: color-mix(in srgb, #7fb6e6 32%, var(--bg)); }
.fv-hall.is-cold .fv-r { fill: color-mix(in srgb, #7fb6e6 22%, var(--bg)); }
.fv-office .fv-l { fill: color-mix(in srgb, var(--fg) 4%, var(--bg)); }
.fv-door { fill: color-mix(in srgb, var(--fg) 26%, var(--bg)); stroke-width: .6 !important; }
.fv-glass { fill: color-mix(in srgb, var(--fg) 24%, var(--bg)); }
.fv-canopy { fill: color-mix(in srgb, var(--fg) 10%, var(--bg)); }
.fv-fence { stroke-dasharray: 1 3; stroke-width: 1.4 !important; }
.fv-rail { stroke-width: 1.1 !important; }
.fv-thin { stroke-width: .5 !important; opacity: .6; }
.fv-dash { stroke-dasharray: 5 4; stroke-width: 1.3 !important; }
.fv-wall { stroke-width: 2 !important; }
.fv-ghost { stroke-dasharray: 6 5; stroke-width: 1.2 !important; }
.fv-flag { fill: var(--fg); }
.fv-haz rect { fill: #f2b84b; stroke: var(--fg); stroke-width: 1; vector-effect: non-scaling-stroke; }
.fv-moon path { fill: var(--fg); }
.fv-txt { fill: var(--fg); font: 600 var(--fs)/1 var(--sans); text-anchor: middle; paint-order: stroke; stroke: var(--bg); stroke-width: 3px; stroke-linejoin: round; }
.fv-big { font-size: calc(var(--fs) * 1.25); }
.fv-dim { font-weight: 500; font-size: calc(var(--fs) * .85); fill: var(--muted); }
.fv-temp { font-size: calc(var(--fs) * .95); fill: #5b9fd8; }
.fv-sym { font-size: calc(var(--fs) * 1.1); stroke-width: 0; }
.fsum__h { margin: 0 0 8px; font-size: var(--t-label); text-transform: uppercase; letter-spacing: .14em; color: var(--muted); }
.fsum ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.fsum li { font-size: .8rem; padding: 5px 10px; border-radius: var(--pill); background: var(--hover); border: 1px solid var(--line); animation: langsel-in .3s var(--ease); }
/* Navigation unten, klebt am unteren Rand des Popups */
.finder__nav { position: sticky; bottom: 0; z-index: 4; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin: 26px calc(clamp(22px, 3.2vw, 40px) * -1) 0; padding: 16px clamp(22px, 3.2vw, 40px);
  background: var(--glass-strong); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); border-top: 1px solid var(--line); }
.finder__nav [data-next], .finder__nav [data-submit] { margin-left: auto; }
.finder__nav .form-status { margin: 0; flex: 1 1 200px; font-size: .85rem; color: #e5484d; }
.finder__nav .form-status:empty { display: none; }
.finder__count { font-size: .82rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.fdone { display: grid; justify-items: start; gap: 12px; padding: 30px 0 40px; animation: fstep-in .5s var(--ease); }
.fdone:focus { outline: none; }
.fdone svg { width: 56px; height: 56px; fill: none; stroke: var(--fg); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.fdone svg path { stroke-dasharray: 40; stroke-dashoffset: 40; animation: fdone .7s .2s var(--ease) forwards; }
@keyframes fdone { to { stroke-dashoffset: 0; } }
.fdone h3 { margin: 0; font-size: 1.4rem; }
.fdone p { margin: 0; color: var(--muted); }
@media (max-width: 900px) {
  .finder__grid { grid-template-columns: 1fr; }
  .finder__viz { position: relative; order: -1; padding: 10px 12px; gap: 8px; }
  .fv { max-height: 190px; }
  .fsum { display: none; }
  .finder[data-step="5"] .finder__viz { display: none; }
}
@media (max-width: 640px) {
  .finder__progress span { display: none; }
  .finder__progress { margin-top: 18px; }
  .finder__head h2 { font-size: 1.35rem; }
  .finder__lead { font-size: .88rem; }
  .finder .tiles { grid-template-columns: 1fr 1fr; }
  .checks, .fgrid, .fq__pair { grid-template-columns: 1fr; }
  .fmap { grid-template-columns: 110px minmax(0, 1fr); gap: 14px; }
  .finder__count { display: none; }
  .modal[data-mode="search"] .modal__box { padding: 20px 18px 0; }
  .finder__nav { margin-inline: -18px; padding: 12px 18px calc(12px + env(safe-area-inset-bottom, 0px)); }
}
@media (prefers-reduced-motion: reduce) { .fstep, .fdone, .fsum li { animation: none; } }
.finder [hidden] { display: none !important; }
.tile-opt b { overflow-wrap: anywhere; hyphens: auto; }
@media (max-width: 640px) {
  .modal[data-mode="search"] { max-width: 100vw; }
  .finder:not([data-step="1"]) .finder__lead { display: none; }
  .finder:not([data-step="1"]) .finder__head h2 { font-size: 1.15rem; }
  .fv { max-height: 150px; }
  .finder__viz { padding: 6px 10px; }
}
.ai-badge--stage { top: auto !important; bottom: 18px; right: 18px; }
.foot-ai { flex-wrap: nowrap; align-items: flex-start; }
.foot-ai .ai-dot { margin-top: 2px; flex: none; }
form.enquiry .search-fields { grid-template-columns: 1fr; }
form.enquiry .search-fields .btn { justify-self: start; }
/* KI-Hinweis dezent: ohne Pille, leicht transparent, mit weichem Schatten für Lesbarkeit auf hellen Bildern */
.ai-badge { background: none; -webkit-backdrop-filter: none; backdrop-filter: none; padding: 0; gap: 4px;
  color: rgba(255, 255, 255, .62); font-weight: 500; font-size: 10px; letter-spacing: .08em; text-shadow: 0 0 6px rgba(0, 0, 0, .55), 0 1px 2px rgba(0, 0, 0, .45); }
.ai-badge::before { height: 11px; font-size: 7.5px; border-radius: 3px; padding: 0 2px; box-shadow: 0 0 4px rgba(0, 0, 0, .3); }
.tip__media .ai-badge { padding: 0; font-size: 9px; }
.fchip { position: relative; }
.fq__row { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.fchip--de span { padding: 7px 12px; font-size: .82rem; }
.finder.is-nationwide .ac, .finder.is-nationwide .fmap .rng, .finder.is-nationwide [data-local] { display: none; }
.finder.is-nationwide .fmap { grid-template-columns: 148px; }
.finder.is-nationwide .fmap .land { fill: color-mix(in srgb, var(--fg) 18%, transparent); }
.f__err { color: #e5484d; font-size: .8rem; }
/* Konfigurator: Modell-Details */
.fv line { stroke: currentColor; vector-effect: non-scaling-stroke; }
.fv-hall.is-ghost polygon { fill: none; stroke-dasharray: 4 4; opacity: .55; }
.fv-post { stroke-width: .8 !important; opacity: .8; }
.fv-fence-top { stroke-width: .8 !important; opacity: .7; }
.fv-fence { stroke-width: .6 !important; opacity: .5; }
.fv-sleeper { stroke-width: .7 !important; opacity: .55; }
.fv-rail { stroke-width: 1.4 !important; }
.fv-wagon .fv-t { fill: color-mix(in srgb, var(--fg) 22%, var(--bg)); }
.fv-wagon .fv-l, .fv-wagon .fv-r { fill: color-mix(in srgb, var(--fg) 32%, var(--bg)); }
.fv-door--g { fill: color-mix(in srgb, var(--fg) 12%, var(--bg)); stroke-width: .9 !important; }
.fv-charger .fv-t, .fv-charger .fv-l, .fv-charger .fv-r { fill: var(--fg); }
.fv-bolt path { fill: #f2b84b; stroke: none; }
.fv-flake path { fill: none; stroke: #6aa9de; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.fv-gatehouse .fv-l { fill: color-mix(in srgb, var(--fg) 6%, var(--bg)); }
.fv-barrier { stroke: #e5484d !important; stroke-width: 2.4 !important; stroke-dasharray: 5 4; }
.fv-dimline line { stroke: var(--fg); stroke-width: 1; opacity: .75; }
.fv-ukb { font-weight: 700; font-size: calc(var(--fs) * .95); fill: var(--fg); }
.fv-big { font-size: calc(var(--fs) * 1.15); }
.foot-fee { order: 3; flex-basis: 100%; margin: 0; font-size: .8rem; color: var(--muted); }
.foot-ai { order: 4; }
/* Autobahnschild (Verkehrsblau, weißer Innenrand) */
.ab { display: inline-flex; align-items: center; justify-content: center; min-width: 2.6em; height: 1.75em; padding: 0 .45em; border-radius: .32em;
  background: #0e518d; color: #fff; font-weight: 700; font-size: .82rem; font-style: normal; letter-spacing: .02em; line-height: 1;
  box-shadow: inset 0 0 0 1.5px #0e518d, inset 0 0 0 2.6px #fff; font-variant-numeric: tabular-nums; }
.region-facts .chips, dd .chips { gap: 6px; }
.tip span { display: flex; flex-wrap: wrap; gap: 4px; }
.tip span i:not(.ab) { font-style: normal; }
.tip .ab { font-size: .7rem; height: 1.7em; }
/* Claim: Unterlängen (g, p) nicht abschneiden */
.hero__claim .line { padding-bottom: .17em; margin-bottom: -.11em; }
/* Intro etwas ruhiger (rund 1,5-fach langsamer) */
html.is-intro .intro { animation: intro-out .7s cubic-bezier(.7,0,.2,1) 1.9s forwards; }
.intro__logo { animation: intro-logo .7s cubic-bezier(.7,0,.2,1) 1.9s forwards; }
.intro__all { animation: intro-slide .8s cubic-bezier(.65,0,.25,1) .75s forwards; }
.intro .i-b1, .intro .i-b2, .intro .i-b3 { animation-duration: .6s; }
.intro .i-b2 { animation-delay: .09s; }
.intro .i-b3 { animation-delay: .18s; }
.intro .i-dot { animation: intro-pop .42s cubic-bezier(.3,1.6,.5,1) .45s forwards; }
.intro .i-base { animation: intro-base .55s cubic-bezier(.2,.8,.2,1) .3s forwards; }
.intro__word { animation: intro-wipe .85s cubic-bezier(.4,0,.2,1) .92s forwards; }
html.is-intro .js .fade-in, html.is-intro .fade-in, html.is-intro .fade-up, html.is-intro .hero__claim .line > span { animation-delay: calc(var(--d, .6s) + 1.85s); }
html.is-intro .hero__claim .line > span { animation-delay: calc(2s + var(--i, 0) * .12s); }
html.is-intro .wx-dock { animation: wx-late 1s 3s both; }
/* Artikel: Kopfbild wie die übrigen Seiten, Headline über dem Bild */
.hero--article .hero__title { font-size: clamp(2rem, 4.2vw, 3.6rem); line-height: 1.08; letter-spacing: -.025em; max-width: 24ch; text-wrap: balance; }
:lang(zh) .hero--article .hero__title { max-width: 20em; line-height: 1.3; }
.hero--article .hero__eyebrow.meta { color: rgba(255, 255, 255, .72); }
.hero--article + .article-body { padding-top: clamp(48px, 6vw, 80px); }
/* Karten: Kategorie immer in der zweiten Zeile */
.card .meta { display: grid; gap: 6px; }
.fdone--contact { grid-column: 1 / -1; padding: 24px 0 8px; }
form.enquiry[hidden] { display: none; }
.fdone[hidden] { display: none; }
.contact .fdone--contact { grid-column: auto; align-self: start; padding: 8px 0 0; }
/* Artikeltext breiter, aber noch gut lesbar (rund 85 bis 90 Zeichen pro Zeile) */
.article-body .prose { max-width: 880px; }
:lang(zh) .article-body .prose { max-width: 820px; }
/* Regionsseite: Einzugsgebiet */
.towns { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: clamp(24px, 5vw, 72px); align-items: start; }
.towns h2 { font-size: var(--t-h3); margin: 0 0 12px; }
.towns p { margin: 0; max-width: 46ch; }
.towns__list { list-style: none; margin: 0; padding: 0; columns: 4 150px; column-gap: 24px; }
.towns__list li { padding: 7px 0; border-top: 1px solid var(--line); font-size: .93rem; break-inside: avoid; }
.towns__list li span { color: var(--muted); font-size: .8rem; margin-left: 4px; }
@media (max-width: 760px) { .towns { grid-template-columns: 1fr; } .towns__list { columns: 2; } }

/* ---------- Teilmärkte ---------- */
.sm-hero { position: relative; background: var(--ink); color: var(--white); overflow: hidden; isolation: isolate; min-height: min(860px, 100svh); display: flex; align-items: flex-end; }
.sm-hero .wrap { position: relative; width: 100%; padding-block: calc(150px + env(safe-area-inset-top, 0px)) clamp(56px, 7vw, 96px); pointer-events: none; }
.sm-hero__text { max-width: 600px; pointer-events: auto; }
.sm-hero .crumbs { color: var(--w-64); }
.sm-hero .crumbs a:hover { color: var(--white); }
.sm-hero__eyebrow { color: var(--w-64); margin-top: 22px; }
.sm-hero__eyebrow a { color: var(--white); text-decoration: underline; text-decoration-color: var(--w-20); text-underline-offset: 3px; }
.sm-hero h1 { font-size: clamp(2.5rem, 5.4vw, 4.6rem); margin-top: 10px; text-wrap: balance; }
.sm-hero .lead { color: rgba(255,255,255,.72); max-width: 52ch; margin-top: 22px; }
.sm-hero .btns { margin-top: 36px; }
.smap { position: absolute; inset: 0; z-index: -1; }
.smap::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, var(--ink) 0%, rgba(15,24,34,.88) 30%, rgba(15,24,34,.35) 52%, rgba(15,24,34,0) 70%),
              linear-gradient(0deg, rgba(15,24,34,.55) 0%, rgba(15,24,34,0) 22%), linear-gradient(180deg, rgba(15,24,34,.7) 0%, rgba(15,24,34,0) 20%); }
.smap__svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.smap .land { fill: rgba(255,255,255,.035); stroke: rgba(255,255,255,.2); stroke-width: 1; vector-effect: non-scaling-stroke; }
.smap .ur { fill: rgba(255,255,255,.045); stroke: none; }
.smap .lk { fill: rgba(120,165,210,.16); stroke: none; }
.smap .rv { fill: none; stroke: rgba(120,165,210,.35); stroke-width: 1.3; vector-effect: non-scaling-stroke; stroke-linejoin: round; stroke-linecap: round; }
.smap .rd { fill: none; stroke: rgba(255,255,255,.4); stroke-width: 1.6; vector-effect: non-scaling-stroke; stroke-linejoin: round; stroke-linecap: round; }
.smap .tw circle { fill: rgba(255,255,255,.5); }
.smap .tw text { fill: rgba(255,255,255,.5); font-family: var(--sans); letter-spacing: .01em; }
.smap .tw--big circle { fill: rgba(255,255,255,.75); }
.smap .tw--big text { fill: rgba(255,255,255,.78); font-weight: 600; }
.smap .hl .dot { fill: var(--white); }
.smap .hl .ring { fill: rgba(255,255,255,.08); stroke: rgba(255,255,255,.7); stroke-width: 1; vector-effect: non-scaling-stroke; transform-box: fill-box; transform-origin: center; animation: pulse 2.4s var(--ease) infinite; }
.smap__badge { position: absolute; z-index: 1; white-space: nowrap; font-size: 14px; font-weight: 600; line-height: 1; letter-spacing: .005em; color: var(--ink);
  padding: 9px 15px; border-radius: 999px; background: linear-gradient(180deg, rgba(255,255,255,.97), rgba(255,255,255,.86));
  border: 1px solid rgba(255,255,255,.9); box-shadow: inset 0 1px 0 #fff, inset 0 -1px 0 rgba(15,24,34,.06), 0 6px 20px rgba(0,0,0,.32), 0 0 0 4px rgba(255,255,255,.08);
  backface-visibility: hidden; will-change: transform; }
.smap__badge--r { transform: translate(14px, calc(-50% + var(--dy, 0px))); }
.smap__badge--l { transform: translate(calc(-100% - 14px), calc(-50% + var(--dy, 0px))); }
.smap__badge--t { transform: translate(-50%, calc(-100% - 16px)); }
.smap__badge--b { transform: translate(-50%, 16px); }
.smap__scale { position: absolute; right: max(24px, calc((100vw - 1200px) / 2)); bottom: 46px; font-size: .68rem; color: rgba(255,255,255,.5); padding-bottom: 6px; min-width: var(--w); text-align: right; border-bottom: 1px solid rgba(255,255,255,.45); }
.smap__src { position: absolute; right: max(24px, calc((100vw - 1200px) / 2)); bottom: 22px; font-size: .66rem; color: rgba(255,255,255,.38); }
@media (max-width: 900px) {
  .sm-hero { flex-direction: column; align-items: stretch; justify-content: flex-start; min-height: 0; }
  .sm-hero .wrap { padding-top: calc(118px + env(safe-area-inset-top, 0px)); padding-bottom: 480px; }
  .smap::after { background: linear-gradient(180deg, var(--ink) 0%, rgba(15,24,34,.92) 45%, rgba(15,24,34,.2) 70%, rgba(15,24,34,0) 82%), linear-gradient(0deg, rgba(15,24,34,.5) 0%, rgba(15,24,34,0) 15%); }
  .smap .tw:not(.tw--big) { display: none; }
  .smap__badge { font-size: 12.5px; padding: 7px 11px; }
  .smap__scale { bottom: 40px; right: 16px; } .smap__src { right: 16px; bottom: 18px; }
}
.sm-back { display: inline-flex; gap: 10px; align-items: center; margin-top: 22px; font-weight: 600; }
.sm-cta { display: flex; gap: 20px 40px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.sm-cta h2 { font-size: var(--t-h3); margin: 0 0 8px; }
.sm-cta p { margin: 0; max-width: 60ch; }
.sub-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; }
.sub-list a { text-decoration: none; color: inherit; display: grid; grid-template-columns: 1fr auto; gap: 10px 14px; padding: 22px 22px 20px; border: 1px solid var(--line); border-radius: 18px; height: 100%; transition: border-color .3s, background .3s; }
.sub-list a:hover { border-color: var(--fg, currentColor); }
.sub-list__n { font-weight: 700; font-size: 1.1rem; }
.sub-list .arrow { grid-row: 1; grid-column: 2; align-self: center; }
.sub-list__m { grid-column: 1 / -1; display: flex; gap: 6px; flex-wrap: wrap; }
.sub-list__t { grid-column: 1 / -1; color: var(--muted); font-size: .88rem; }
.towns__list a { text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 3px; font-weight: 600; }
.smap .tl--big { fill: rgba(255,255,255,.75); font-weight: 600; }
.smap .osm path { vector-effect: non-scaling-stroke; stroke-linejoin: round; stroke-linecap: round; }
.smap .o-ur { fill: rgba(255,255,255,.055); }
.smap .o-in { fill: rgba(255,255,255,.085); }
.smap .o-ap { fill: rgba(255,255,255,.07); stroke: rgba(255,255,255,.18); stroke-width: .8; }
.smap .o-wa { fill: rgba(110,160,210,.22); }
.smap .o-rv { fill: none; stroke: rgba(110,160,210,.42); stroke-width: 1.2; }
.smap .o-rl { fill: none; stroke: rgba(255,255,255,.16); stroke-width: .8; }
.smap .o-pr { fill: none; stroke: rgba(255,255,255,.15); stroke-width: .9; }
.smap .osm .o-tr { fill: rgba(255,255,255,.3); stroke: none; fill-rule: evenodd; }
.smap .osm .o-mw { fill: rgba(255,255,255,.66); stroke: none; fill-rule: evenodd; }
.smap .sh rect { fill: #0e518d; stroke: rgba(255,255,255,.9); stroke-width: 1.2; vector-effect: non-scaling-stroke; }
.smap .sh text { fill: #fff; font: 700 11px var(--sans); letter-spacing: .02em; }
.sm-rel { list-style: none; margin: 12px 0 0; padding: 0; }
.sm-rel li { border-top: 1px solid var(--line); }
.sm-rel a { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 11px 0; text-decoration: none; color: inherit; font-size: .95rem; }
.art-sm { margin-top: 64px; padding-top: 32px; border-top: 1px solid var(--line); }
.art-sm h2 { font-size: var(--t-h3); margin: 0 0 18px; }
.allsm { columns: 4 240px; column-gap: 36px; }
.allsm__g { break-inside: avoid; margin: 0 0 30px; }
.allsm__g h3 { font-size: 1.02rem; margin: 0 0 8px; }
.allsm__g h3 a { text-decoration: none; color: inherit; }
.allsm__g ul { list-style: none; margin: 0; padding: 0; }
.allsm__g li a { display: block; padding: 6px 0; border-top: 1px solid var(--line); text-decoration: none; color: var(--muted); font-size: .92rem; }
.allsm__g li a:hover { color: var(--fg, inherit); }

.smap__svg { opacity: 0; transition: opacity .6s var(--ease); }
.smap.is-ready .smap__svg { opacity: 1; }
@media (max-width: 900px) {
  .sm-hero { display: flex; flex-direction: column; min-height: 0; }
  .sm-hero .smap { position: relative; inset: auto; order: -1; height: clamp(380px, 62vh, 500px); z-index: 0; }
  .sm-hero .wrap { padding-top: 8px; padding-bottom: 56px; }
  .sm-hero .smap::after { background: linear-gradient(0deg, var(--ink) 0%, rgba(15,24,34,0) 26%), linear-gradient(180deg, rgba(15,24,34,.75) 0%, rgba(15,24,34,0) 24%); }
  .sm-hero .crumbs { margin-top: 0; }
}
:lang(zh-Hans) .sm-hero h1, :lang(zh) .sm-hero h1 { word-break: keep-all; }
@media (max-width: 980px) { .sm-body .facts { order: -1; } }
.sm-matrix__h { font-size: var(--t-h3); margin: 0 0 22px; }
.sm-matrix { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px 32px; }
.sm-matrix__col .label { margin: 0 0 6px; }
.sm-matrix ul { list-style: none; margin: 0; padding: 0; }
.sm-matrix li a { display: block; padding: 9px 0; border-top: 1px solid var(--line); text-decoration: none; color: inherit; font-size: .93rem; transition: opacity .2s; }
.sm-matrix li a:hover { opacity: .6; }
@media (max-width: 900px) { .sm-matrix { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .sm-matrix { grid-template-columns: 1fr; } }
.sm-matrix__block + .sm-matrix__block { margin-top: 34px; }
.sm-matrix__place { font-size: 1.05rem; margin: 0 0 12px; }
/* Teilen-Leiste in Beiträgen */
.share-wrap { max-width: 880px; margin: 56px 0 0; }
.share-wrap--top { margin: 0 0 36px; }
.share { display: flex; align-items: center; gap: 14px 18px; flex-wrap: wrap; padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.share-wrap--top .share { border-top: 0; padding-top: 0; }
.share__label { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.share .social button { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); color: inherit; background: none; cursor: pointer; transition: transform .3s var(--ease), background .3s, color .3s, border-color .3s; }
.share .social button:hover { transform: translateY(-2px); background: var(--fg); color: var(--bg); border-color: var(--fg); }
.share .social button svg { width: 17px; height: 17px; fill: currentColor; }
.share__status { font-size: .82rem; color: var(--muted); }

/* iOS Safari: Der Bereich hinter Notch und Statusleiste liegt außerhalb des Dialog-Backdrops.
   Eine feste Ebene unter dem Dialog deckt den gesamten Bildschirm inklusive Safe-Area ab. */
body::after { content: ""; position: fixed; left: 0; right: 0; top: calc(-1 * env(safe-area-inset-top, 0px) - 80px); bottom: calc(-1 * env(safe-area-inset-bottom, 0px) - 80px);
  background: rgba(var(--ink-rgb), .3); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); opacity: 0; pointer-events: none; transition: opacity .28s var(--ease); z-index: 2147483000; }
body.modal-open::after { opacity: 1; }
/* Kacheln auf schmalen Bildschirmen einspaltig */
@media (max-width: 760px) { .tiles:not(.finder .tiles) { grid-template-columns: 1fr; } .tile { min-height: 0; } }
/* Wissensbeiträge (guide.html) */
.gd-meta { margin-bottom: 4px; }
.gd-key { border: 1px solid var(--line); border-radius: 18px; padding: 24px 28px; display: grid; gap: 14px; }
.gd-key ul { margin: 0; padding-left: 1.1em; display: grid; gap: .5em; }
.gd-key li { line-height: 1.55; }
.gd-prose { max-width: 70ch; }
.gd-prose h3 { margin-top: 1.1em; }
.gd-note { border-left: 1px solid var(--line); padding-left: 1em; }
.gd-table td { min-width: 180px; }
.gd-tnote, .gd-disc { font-size: var(--t-small); margin-top: 18px; max-width: 80ch; }
.gd-fig { margin: clamp(32px, 5vw, 56px) 0 0; grid-column: 1 / -1; display: grid; gap: 12px; }
.gd-fig img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 18px; display: block; }
.gd-fig figcaption { font-size: var(--t-small); }
.gd-h2 { font-size: var(--t-h2); margin-top: 14px; }
.gd-tnote--wide { margin-top: clamp(36px, 5vw, 56px); padding-top: 18px; border-top: 1px solid var(--line-soft); }
.gd-key + .gd-disc { margin-top: 4px; }
.gd-rel { align-items: stretch; }
.gd-rel .pw-art { align-self: stretch; height: 100%; }
@media (max-width: 980px) { .gl-teaser > .btn { justify-self: start; width: auto; } }
/* Seitentitel: so breit wie sinnvoll, damit kurze Titel zwei statt drei Zeilen brauchen */
.hero--page:not(.hero--article) .hero__title { max-width: 21ch; }
/* Keine Trennlinie direkt unter Bildbändern und Bühnen */
:is(.imgband, .hero) + .band--ink { border-top: 0; }
/* Mobilmenü: Sprache als eigener Aufklappbereich wie die übrigen, Fußzeile mit Kontakt und Thema */
.overlay .ov-lang summary { gap: 10px; }
.ov-lang__t { display: inline-flex; align-items: center; gap: 10px; margin-right: auto; }
.overlay summary .ov-globe, .ov-globe { width: 17px; height: 17px; transform: none; fill: none; stroke: currentColor; stroke-width: 1.4; opacity: .75; }
.ov-lang__cur { color: var(--muted); font-weight: 400; font-size: .95rem; }
.overlay .ov-lang .sub a[aria-current] strong::after { content: ""; width: 14px; height: 14px; margin-left: 6px; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.5l3 3 7-7' fill='none' stroke='black' stroke-width='1.8'/%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 16 16'%3E%3Cpath d='M3 8.5l3 3 7-7' fill='none' stroke='black' stroke-width='1.8'/%3E%3C/svg%3E") center / contain no-repeat; }
.overlay-foot { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; align-items: center; margin: 14px 0 0; padding: 0 4px 2px; }
.overlay-foot .nav-cta { display: flex; justify-content: center; width: 100%; padding-block: 14px; }
.overlay-foot .theme-btn { width: 50px; height: 50px; border-radius: 50%; background: var(--hover); display: grid; place-items: center; }
.overlay details[open] summary .ov-globe { transform: none; }
/* Zwischenüberschriften: genug Breite, damit sie nicht unnötig auf drei Zeilen umbrechen */
.sec-head h2 { max-width: 30ch; }
.mandate-teaser h2 { max-width: 24ch; }
.imgband__text { max-width: 40ch; }
.gd-prose, .wrap > .stack { max-width: 76ch; }
.cta-band .wrap { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); }
