@font-face {
  font-family: "Red Hat Display";
  src: url("fonts/red-hat-display.woff2") format("woff2");
  font-weight: 200 900;
  font-display: swap;
}

:root {
  --paper: #F3F5F7;
  --white: #FFFFFF;
  --ink: #14233A;
  --ink-2: #4B5967;
  --stone: #A1A49F;
  --line: #D8DEE2;
  --cell: #E1E7EA;
  --night: #13233A;
  --night-2: #1B3150;
  --night-cell: #22385A;
  --mist: #B6C4D3;
  --sky: #3DB4E6;
  --mid: #3A94D1;
  --mid-ink: #256DA3;   /* Blau für Text auf hellem Grund (Kontrast ≥ 4,5:1) */
  --stone-ink: #676D73; /* Grau für Text auf hellem Grund */
  --field: #868F97;     /* Rahmen von Eingabefeldern (Kontrast ≥ 3:1) */
  --deep: #2C4C9B;
  --brand: linear-gradient(90deg, #3DB4E6, #2C4C9B);
  --gutter: clamp(16px, 4vw, 48px);
  --max: 1280px;
  --ease: cubic-bezier(.2, .7, .1, 1);
}

@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-out .28s var(--ease) both; }
::view-transition-new(root) { animation: vt-in .42s var(--ease) both; }
@keyframes vt-out { to { opacity: 0; transform: translateY(-8px); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(12px); } }
.site-header { view-transition-name: header; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: "Red Hat Display", system-ui, sans-serif;
  font-size: 18px; line-height: 1.6; font-weight: 400;
  font-variant-numeric: tabular-nums;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: var(--deep); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--deep); outline-offset: 2px; box-shadow: 0 0 0 2px var(--white); border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

h1, h2, h3, h4 { margin: 0; color: inherit; }
h1 { font-size: clamp(2.8rem, 7.4vw, 6.6rem); line-height: .96; font-weight: 760; letter-spacing: -0.035em; }
h2 { font-size: clamp(2rem, 4.4vw, 3.6rem); line-height: 1.02; font-weight: 720; letter-spacing: -0.03em; }
h3 { font-size: 1.3rem; line-height: 1.25; font-weight: 650; letter-spacing: -0.01em; }
p { margin: 0 0 1em; max-width: 62ch; }
.lead { font-size: clamp(1.15rem, 1.6vw, 1.4rem); line-height: 1.5; color: var(--ink-2); max-width: 44ch; }
.quiet { color: var(--ink-2); }

/* Kinetic headline: weight grows like signal strength */
.kinetic .w { display: inline-block; white-space: nowrap; }
.kinetic .l { display: inline-block; text-align: left; }
.kinetic:not(.go) .l { opacity: 0; }
.kinetic.go .l { animation: weight-in .9s var(--ease) both; animation-delay: calc(var(--i) * 28ms + 120ms); }
@keyframes weight-in { from { font-weight: 200; opacity: .15; } 60% { opacity: 1; } to { font-weight: 760; opacity: 1; } }

/* Header */
.site-header { position: relative; z-index: 30; height: 76px; background: rgba(243, 245, 247, .78); }
.site-header .wrap { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 76px; }
.logo { display: flex; align-items: center; }
.logo img { display: block; height: 26px; width: auto; }
.site-header .logo img { height: clamp(28px, 2.4vw, 34px); transition: height .4s var(--ease); }

/* Schwebende Navigation („Dock“): Oben auf der Seite steht die Kopfzeile normal und scrollt mit.
   Sobald sie aus dem Bild ist, schwebt die Navigation als dunkle Kapsel unten mittig (Klasse .float
   aus assets/main.js). Der Kopf behält seine Höhe von 76px, damit beim Wechsel nichts springt. */
.site-header.float { background: transparent; }
.site-header.float .wrap { position: fixed; z-index: 30; left: 0; right: 0; bottom: max(16px, env(safe-area-inset-bottom)); width: fit-content; max-width: calc(100% - 24px); height: 64px; margin: 0 auto; gap: 20px; padding: 0 8px 0 22px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .12); background: rgba(20, 35, 58, .9); backdrop-filter: blur(18px) saturate(1.5); -webkit-backdrop-filter: blur(18px) saturate(1.5); box-shadow: 0 24px 50px -18px rgba(8, 16, 30, .6), 0 2px 8px rgba(8, 16, 30, .18); animation: dock-in .5s var(--ease) both; }
@keyframes dock-in { from { opacity: 0; transform: translateY(calc(100% + 24px)); } }
.site-header.float .logo img { height: 22px; filter: brightness(0) invert(1); }
.site-header.float .nav a, .site-header.float .nav-sub-btn, .site-header.float .menu-toggle { color: var(--white); }
.site-header.float .nav > a:not(.btn):hover, .site-header.float .nav-sub-btn:hover, .site-header.float .nav-sub.open .nav-sub-btn { background: rgba(255, 255, 255, .1); }
.site-header.float .nav-glow { background: rgba(255, 255, 255, .12); }
.site-header.float .nav a.btn { background: var(--deep); border-color: var(--deep); }
.site-header.float .nav a.btn:hover { background: #3A5DB8; border-color: #3A5DB8; }
/* Untermenü öffnet im Dock nach oben */
.site-header.float .nav .nav-panel a { color: var(--ink); }
.site-header.float .nav .nav-panel a:hover { background: rgba(20, 35, 58, .06); }
.site-header.float .nav-panel { top: auto; bottom: 100%; margin: 0 0 18px; transform: translateY(6px); }
.site-header.float .nav-panel::before { top: auto; bottom: -20px; height: 20px; }
@media (prefers-reduced-motion: reduce) { .site-header.float .wrap { animation: none; } .nav-glow { transition: none; } }
html.no-motion .site-header.float .wrap { animation: none; }

.nav { display: flex; align-items: center; gap: 2px; }
/* Gleitende Markierung hinter dem Menüpunkt unter der Maus (nur Desktop, von main.js gesetzt) */
.nav-glow { position: absolute; left: 0; top: 0; z-index: -1; border-radius: 999px; background: rgba(20, 35, 58, .07); pointer-events: none; opacity: 0; transition: transform .38s var(--ease), width .38s var(--ease), height .38s var(--ease), opacity .2s; }
.nav.glow { position: relative; isolation: isolate; }
/* Navigation samt Untermenü „Lösungen“ liegt über dem Cookie-Banner (.cc, z-index 1) */
.nav { position: relative; z-index: 2; }
.nav.glow .nav-glow.on { opacity: 1; }
.nav.glow > a:not(.btn):hover, .nav.glow .nav-sub-btn:hover { background: none; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 500; font-size: 16px; padding: 8px 13px; border-radius: 999px; transition: background .2s; }
.nav a:hover { background: rgba(20, 35, 58, .06); }
.nav a[aria-current="page"] { font-weight: 700; }
.nav a[aria-current="page"]::after { content: ""; display: block; height: 2px; margin-top: 2px; background: var(--brand); border-radius: 2px; }
.nav .btn { margin-left: 10px; }
/* Menüknopf (Handy, Tablet): runder Knopf mit zwei Strichen. Im Offcanvas-Menü sitzt an derselben Stelle ein X */
.menu-toggle, .nav-close { display: none; position: relative; flex: none; width: 46px; height: 46px; padding: 0; border: 0; border-radius: 50%; background: rgba(20, 35, 58, .07); color: var(--ink); cursor: pointer; transition: background .2s; -webkit-tap-highlight-color: transparent; }
.menu-toggle:hover, .nav-close:hover { background: rgba(20, 35, 58, .12); }
.burger, .burger::before, .burger::after { position: absolute; left: 50%; top: 50%; width: 18px; height: 2px; margin: -1px 0 0 -9px; border-radius: 2px; background: currentColor; }
.burger { background: none; }
.burger::before, .burger::after { content: ""; }
.burger::before { transform: translateY(-4px); }
.burger::after { transform: translateY(4px); width: 12px; }
.nav-close .burger::before { transform: rotate(45deg); }
.nav-close .burger::after { transform: rotate(-45deg); width: 18px; }
.site-header.float .menu-toggle { background: rgba(255, 255, 255, .12); }
.site-header.float .menu-toggle:hover { background: rgba(255, 255, 255, .2); }
.nav-head, .nav-label, .nav-scrim, .nav-foot { display: none; }

/* Offcanvas-Menü (Handy, Tablet): main.js hängt die Navigation dafür direkt in den body,
   damit sie unabhängig vom Kopf oder Dock über der ganzen Seite liegt. Sie fährt von rechts herein,
   auf dem Handy über die volle Breite, auf dem Tablet als Leiste. */
@media (max-width: 1080px) {
  .menu-toggle, .nav-close { display: block; }
  .site-header.float .wrap { width: auto; max-width: none; left: 12px; right: 12px; padding: 0 9px 0 20px; gap: 16px; }
  .nav-glow { display: none; }
  .nav { position: fixed; z-index: 61; top: 0; right: 0; bottom: 0; width: min(440px, 100%); height: 100dvh; display: flex; flex-direction: column; align-items: stretch; gap: 0; overflow-y: auto; overscroll-behavior: contain; padding: 0 var(--gutter) max(24px, env(safe-area-inset-bottom)); background: var(--white); box-shadow: -30px 0 80px -30px rgba(8, 16, 30, .5); visibility: hidden; transform: translateX(100%); transition: transform .5s var(--ease), visibility 0s .5s; }
  .nav.open { visibility: visible; transform: none; transition: transform .5s var(--ease), visibility 0s; }
  .nav-head { position: sticky; top: 0; z-index: 1; display: flex; align-items: center; justify-content: space-between; flex: none; height: 76px; margin: 0 calc(var(--gutter) * -1) 2px; padding: 0 var(--gutter); background: var(--white); }
  .nav-head .logo img { height: 28px; }
  /* Einträge erscheinen kurz nacheinander (--i setzt main.js) */
  .nav.open > :not(.nav-head) { animation: menu-item .55s var(--ease) both; animation-delay: calc(var(--i, 0) * 40ms + 120ms); }
  .nav > a { display: flex; align-items: center; justify-content: space-between; padding: 13px 2px; border-radius: 0; border-bottom: 1px solid var(--line); font-size: clamp(21px, 6vw, 25px); font-weight: 650; letter-spacing: -0.02em; }
  .nav > a:hover { background: none; }
  .nav > a:not(.btn):not(.lang-switch)::after { content: ""; display: block; width: 9px; height: 9px; margin: 0 6px 0 0; border: solid var(--ink-2); border-width: 2px 2px 0 0; transform: rotate(45deg); opacity: .45; transition: transform .25s var(--ease), opacity .2s; }
  .nav > a:not(.btn):not(.lang-switch):active::after { transform: translateX(4px) rotate(45deg); opacity: 1; }
  .nav > a[aria-current="page"] { color: var(--deep); }
  .nav > a[aria-current="page"]::after { height: 9px; margin-top: 0; background: none; border-radius: 0; border-color: var(--deep); opacity: 1; }
  .nav .btn { margin: auto 0 0; padding: 17px 24px; justify-content: center; text-align: center; font-size: 17px; letter-spacing: 0; border-radius: 999px; border-bottom: 1.5px solid var(--ink); }
  .nav > a:has(+ .btn) { margin-bottom: 24px; }
  .nav-foot { display: block; margin: 6px 0 0; text-align: center; font-size: 14px; color: var(--ink-2); }
  /* Abgedunkelter Hintergrund, Tippen daneben schließt das Menü (main.js) */
  .nav-scrim { display: block; position: fixed; inset: 0; z-index: 60; background: rgba(20, 35, 58, .4); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); opacity: 0; visibility: hidden; transition: opacity .4s, visibility 0s .4s; }
  html.menu-open .nav-scrim { opacity: 1; visibility: visible; transition: opacity .4s, visibility 0s; }
  html.menu-open { overflow: hidden; }
}
@keyframes menu-item { from { opacity: 0; transform: translateX(24px); } }
@media (prefers-reduced-motion: reduce) { .nav, .nav.open { transition: visibility 0s; } .nav.open > * { animation: none !important; } }
html.no-motion .nav, html.no-motion .nav.open { transition: visibility 0s; }
html.no-motion .nav.open > * { animation: none !important; }

/* Buttons */
.btn { position: relative; display: inline-block; text-decoration: none; font-weight: 650; font-size: 16px; line-height: 1; padding: 16px 26px; border-radius: 999px; border: 1.5px solid var(--ink); background: var(--ink); color: var(--white); cursor: pointer; font-family: inherit; transition: background .25s, color .25s, border-color .25s, transform .25s var(--ease); }
.btn:hover { background: var(--deep); border-color: var(--deep); color: var(--white); }
.btn:active { transform: scale(.97); }
.btn.ghost { background: transparent; color: var(--ink); border-color: rgba(20, 35, 58, .25); }
.btn.ghost:hover { border-color: var(--ink); background: transparent; color: var(--ink); }
.nav a.btn { color: var(--white); padding: 12px 20px; }
.nav a.btn:hover { background: var(--deep); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.on-dark .btn { background: var(--white); color: var(--ink); border-color: var(--white); }
.on-dark .btn:hover { background: var(--sky); border-color: var(--sky); color: var(--ink); }
.on-dark .btn.ghost { background: transparent; color: var(--white); border-color: rgba(255, 255, 255, .3); }
.on-dark .btn.ghost:hover { border-color: var(--white); }

/* Sections */
section { padding: clamp(72px, 10vw, 140px) 0; }
section.white { background: var(--white); }
section.tight { padding-top: 0; }
.section-head { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 24px 64px; align-items: end; margin-bottom: clamp(40px, 5vw, 72px); }
.section-head p { margin: 0; color: var(--ink-2); }
.section-head p + p { margin-top: 14px; } /* mehrere Absätze im Kopf eines Abschnitts brauchen Abstand */
@media (max-width: 860px) { .section-head { grid-template-columns: 1fr; } }

/* Grain for dark surfaces */
.grain::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .07; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

/* ---------- Home stage (hero) ---------- */
.stage-wrap { padding: 8px clamp(8px, 1.2vw, 16px) 0; }
.stage { position: relative; overflow: hidden; border-radius: clamp(20px, 2.6vw, 36px); background: radial-gradient(45% 55% at 85% 12%, rgba(109, 124, 255, .85) 0, transparent 70%), radial-gradient(40% 50% at 102% 70%, rgba(61, 180, 230, .7) 0, transparent 70%), radial-gradient(55% 55% at 55% 112%, rgba(142, 92, 247, .75) 0, transparent 70%), radial-gradient(60% 70% at 0% 0%, #13233A 0, transparent 80%), #1B2D6B; color: var(--white); min-height: min(860px, calc(100svh - 92px)); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); align-items: center; gap: 24px; padding: clamp(32px, 5vw, 72px); }
.stage h1 { max-width: 10ch; font-size: clamp(2.8rem, 6vw, 5.4rem); }
.stage .lead { color: var(--mist); margin-top: 28px; }
.stage-copy { position: relative; z-index: 2; }
.stage-map { position: relative; z-index: 1; align-self: stretch; display: grid; place-items: center; min-height: 420px; }
.stage-map svg { width: 100%; max-height: 74svh; height: auto; overflow: visible; }
.stage-map polygon { fill: rgba(255, 255, 255, .13); transition: fill .55s var(--ease), opacity .55s; transition-delay: var(--d, 0ms); }
.stage-map polygon.on { animation: breathe 3.2s ease-in-out infinite; animation-delay: var(--b, 0s); }
@keyframes breathe { 50% { opacity: .72; } }
/* 404 */
#void h1 { max-width: 16ch; font-size: clamp(1.9rem, 3.4vw, 3.1rem); }
.big-404 { margin: 0; font-size: clamp(7rem, 17vw, 14rem); font-weight: 900; line-height: .82; letter-spacing: -.06em; }
.big-404 .n { display: inline-block; padding-right: .06em; background: linear-gradient(100deg, var(--sky), #6D7CFF 55%, #A46BFF); -webkit-background-clip: text; background-clip: text; color: transparent; }
.eyebrow-404 { margin: 18px 0 14px; font-size: 14px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--white); }
.void-path { font: 12px/1.4 ui-monospace, Menlo, Consolas, monospace; color: var(--mist); overflow-wrap: anywhere; }
.glow { filter: drop-shadow(0 0 14px rgba(61, 180, 230, .35)); }

.switch { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-top: 48px; max-width: 520px; }
.switch button { font: inherit; text-align: left; background: none; border: 0; color: var(--mist); cursor: pointer; padding: 0 0 4px; font-size: 15px; font-weight: 600; }
.switch button .bar { display: block; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .16); margin-bottom: 10px; overflow: hidden; }
.switch button .bar i { display: block; height: 100%; width: 0; background: var(--brand); }
.switch button[aria-pressed="true"] { color: var(--white); }
.switch button[aria-pressed="true"] .bar i { width: var(--p, 100%); }
.switch button:hover { color: var(--white); }

.ad-float { z-index: 2; position: absolute; left: 0; bottom: 6%; width: min(260px, 46%); border-radius: 18px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); padding: 18px; color: var(--white); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .6); }
.ad-float .k { font-size: 13px; color: var(--mist); margin: 0 0 10px; display: flex; align-items: center; gap: 8px; }
.ad-float .k::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--sky); box-shadow: 0 0 0 0 rgba(61, 180, 230, .6); animation: ping 1.8s ease-out infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 8px rgba(61, 180, 230, 0); } 100% { box-shadow: 0 0 0 0 rgba(61, 180, 230, 0); } }
.ad-float .h { font-size: 20px; line-height: 1.18; font-weight: 720; letter-spacing: -0.01em; margin: 0 0 8px; }
.ad-float .s { font-size: 14px; line-height: 1.4; color: var(--mist); margin: 0; }
.ad-float .c { display: inline-block; margin-top: 14px; font-size: 13px; font-weight: 700; padding: 8px 12px; border-radius: 999px; background: var(--white); color: var(--ink); }
.ad-float .swap-in { animation: swap .6s var(--ease) both; }
@keyframes swap { from { opacity: 0; transform: translateY(10px); filter: blur(4px); } }

.log { position: absolute; right: 0; top: 2%; z-index: 2; width: min(260px, 46%); list-style: none; margin: 0; padding: 6px 16px; font-size: 13px; line-height: 1.35; border-radius: 18px; background: rgba(19, 35, 58, .72); border: 1px solid rgba(255, 255, 255, .1); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.log li:first-child { border-top: 0; }
.log li { display: grid; grid-template-columns: 40px 1fr; gap: 8px; padding: 9px 0; border-top: 1px solid rgba(255, 255, 255, .1); color: var(--mist); animation: log-in .5s var(--ease) both; }
.log li b { color: var(--white); font-weight: 600; }
.log li time { color: rgba(182, 196, 211, .85); }
@keyframes log-in { from { opacity: 0; transform: translateX(10px); } }
.count { position: absolute; right: 0; bottom: 6%; text-align: right; }
.count strong { display: block; font-size: clamp(2.6rem, 5vw, 4.2rem); line-height: 1; font-weight: 300; letter-spacing: -0.03em; }
.count span { font-size: 14px; color: var(--mist); }

@media (max-width: 980px) {
  .stage { grid-template-columns: 1fr; min-height: 0; }
  .stage-map { min-height: 0; padding-top: 140px; padding-bottom: 150px; }
  .log { top: 0; left: 0; right: auto; width: 100%; }
  .log li:nth-child(n+3) { display: none; }
  .ad-float { width: 62%; bottom: 0; }
  .count { bottom: 8px; }
  .switch { margin-top: 36px; }
}
@media (max-width: 480px) { .switch { grid-template-columns: repeat(2, 1fr); row-gap: 16px; } }

/* ---------- Ticker ---------- */
.ticker { overflow: hidden; padding: 28px 0; border-bottom: 1px solid var(--line); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.ticker ul { display: flex; gap: 56px; width: max-content; list-style: none; margin: 0; padding: 0; animation: marquee 48s linear infinite; }
.ticker:hover ul { animation-play-state: paused; }
.ticker li { font-size: clamp(1.1rem, 1.8vw, 1.45rem); font-weight: 700; color: var(--stone-ink); letter-spacing: -0.01em; white-space: nowrap; display: flex; align-items: center; gap: 56px; }
.ticker li::after { content: ""; width: 10px; height: 11px; background: var(--line); clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Scroll story ---------- */
.story { position: relative; height: 340vh; background: var(--white); padding: 0; }
.story-pin { position: sticky; top: 0; height: calc(100svh - 96px); display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 48px; align-items: center; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.story h2 { margin-bottom: 40px; }
.story-steps { list-style: none; padding: 0 0 0 28px; margin: 0; position: relative; }
.story-steps::before { content: ""; position: absolute; left: 0; top: 6px; bottom: 6px; width: 3px; border-radius: 3px; background: var(--line); }
.story-steps::after { content: ""; position: absolute; left: 0; top: 6px; width: 3px; border-radius: 3px; height: calc((100% - 12px) * var(--p, 0)); background: linear-gradient(180deg, var(--sky), var(--deep)); }
/* Nicht aktive Schritte heller statt transparent, damit sie lesbar bleiben (Kontrast ≥ 4,5:1) */
.story-steps li { padding: 14px 0; }
.story-steps li h3, .story-steps li p { color: var(--stone-ink); transition: color .4s; }
.story-steps li.active h3 { color: var(--ink); }
.story-steps li.active p { color: var(--ink-2); }
.story-steps h3 { font-size: clamp(1.3rem, 2vw, 1.7rem); margin-bottom: 8px; }
.story-steps p { margin: 0; font-size: 17px; }
.story-scene { position: relative; display: flex; flex-direction: column; justify-content: center; gap: 16px; height: 100%; max-height: 760px; padding-right: 130px; }
.story-scene svg { width: 100%; height: auto; max-height: 64svh; }
.channels { position: absolute; right: 0; top: 50%; transform: translateY(-50%); display: grid; gap: 10px; list-style: none; margin: 0; padding: 0; }
.channels li { font-size: 14px; font-weight: 650; padding: 10px 16px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); box-shadow: 0 12px 30px -18px rgba(20, 35, 58, .5); opacity: 0; transform: translateX(16px); transition: opacity .4s var(--ease), transform .4s var(--ease); display: flex; align-items: center; gap: 8px; }
.channels li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--sky); }
.channels li.show { opacity: 1; transform: none; }
.scene-caption { order: 2; font-size: 16px; color: var(--ink-2); margin: 0; min-height: 3em; }
@media (max-width: 900px) {
  .story { height: 300vh; }
  .story-pin { grid-template-columns: 1fr; grid-template-rows: auto 1fr; gap: 8px; align-content: start; padding-top: 24px; }
  .story h2 { margin-bottom: 16px; font-size: 1.8rem; }
  .story-steps li { display: none; padding: 0; }
  .story-steps li.active { display: block; }
  .story-scene { padding-right: 0; justify-content: flex-start; }
  .story-scene svg { max-height: 46svh; }
  .channels { top: auto; bottom: 0; transform: none; grid-template-columns: repeat(2, auto); }
  .scene-caption { display: none; }
}

/* ---------- Pillars ---------- */
.cols3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px; }
.cols3 h3 { margin-bottom: 12px; }
.cols3 p { color: var(--ink-2); margin: 0; }
.cols3 > div { border-top: 3px solid var(--ink); padding-top: 22px; }
@media (max-width: 860px) { .cols3 { grid-template-columns: 1fr; gap: 32px; } }

/* ---------- Explore (situation list + live preview) ---------- */
.explore { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 64px; align-items: start; }
.explore-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.explore-list button { all: unset; box-sizing: border-box; width: 100%; cursor: pointer; display: grid; grid-template-columns: minmax(0, 1fr) 28px; gap: 6px 24px; padding: 22px 0; border-bottom: 1px solid var(--line); position: relative; }
.explore-list button::before { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--brand); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.explore-list .t { font-size: clamp(1.25rem, 2.2vw, 1.8rem); font-weight: 650; transition: font-weight .35s var(--ease); }
.explore-list .d { display: block; grid-column: 1; margin: 0; color: var(--ink-2); font-size: 17px; max-height: 0; overflow: hidden; opacity: 0; transition: max-height .45s var(--ease), opacity .3s; }
.explore-list .hx { width: 22px; height: 24px; align-self: center; background: var(--line); clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); transition: background .3s; grid-row: 1; grid-column: 2; }
.explore-list button[aria-pressed="true"] h3 { font-weight: 780; }
.explore-list button[aria-pressed="true"] .d { max-height: 120px; opacity: 1; }
.explore-list button[aria-pressed="true"]::before { transform: scaleX(1); }
.explore-list button[aria-pressed="true"] .hx { background: linear-gradient(135deg, var(--sky), var(--deep)); }
.preview { position: sticky; top: 110px; border-radius: 28px; background: var(--night); padding: 28px; color: var(--white); overflow: hidden; }
.preview svg { width: 100%; height: auto; max-height: 58svh; }
.preview polygon { fill: var(--night-cell); transition: fill .5s var(--ease); transition-delay: var(--d, 0ms); }
.preview-label { display: flex; justify-content: space-between; gap: 16px; font-size: 15px; color: var(--mist); margin-top: 16px; }
.preview-label b { color: var(--white); font-weight: 650; }
@media (max-width: 900px) { .explore { grid-template-columns: 1fr; } .preview { position: relative; top: 0; order: -1; max-width: 420px; } }

/* ---------- Doors ---------- */
.doors { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.door { position: relative; overflow: hidden; border-radius: 28px; padding: clamp(32px, 4vw, 56px); background: var(--white); border: 1px solid var(--line); min-height: 380px; display: flex; flex-direction: column; isolation: isolate; }
.door h2 { margin-bottom: 18px; }
.door p { color: var(--ink-2); max-width: 40ch; }
.door .actions { margin-top: auto; padding-top: 24px; }
.door.dark { background: var(--night); color: var(--white); border-color: var(--night); }
.door.dark p { color: var(--mist); }
.door .deco { position: absolute; right: -36px; bottom: -36px; width: 240px; opacity: .9; z-index: -1; }
.door .deco polygon { fill: var(--cell); }
.door.dark .deco polygon { fill: var(--night-cell); }
.door .deco polygon.a { fill: var(--sky); animation: blink 4s ease-in-out infinite; animation-delay: var(--b); }
@keyframes blink { 0%, 100% { opacity: .15; } 50% { opacity: 1; } }
@media (max-width: 860px) { .doors { grid-template-columns: 1fr; } .door { min-height: 0; } }

/* Ruled lists */
.rows { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.rows > li { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 8px 48px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.rows > li p { margin: 0; color: var(--ink-2); }
.rows .meta { font-size: 15px; color: var(--mid-ink); font-weight: 600; margin-top: 6px; }
@media (max-width: 760px) { .rows > li { grid-template-columns: 1fr; } }

/* Steps (true sequences) */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); border-top: 1px solid var(--line); counter-reset: step; }
.steps li { counter-increment: step; padding: 28px 28px 8px 0; }
.steps li::before { content: counter(step); display: block; font-size: 64px; line-height: 1; font-weight: 250; color: var(--mid-ink); margin-bottom: 20px; }
.steps h3 { margin-bottom: 10px; }
.steps p { color: var(--ink-2); font-size: 17px; }

/* Subpage hero */
.page-hero { position: relative; overflow: hidden; padding: clamp(64px, 9vw, 128px) 0 clamp(56px, 7vw, 96px); }
.page-hero h1 { max-width: 14ch; position: relative; z-index: 1; }
.page-hero .lead { margin-top: 28px; position: relative; z-index: 1; }
.page-hero .actions { position: relative; z-index: 1; }
.crumb { font-size: 16px; font-weight: 650; color: var(--mid-ink); margin: 0 0 22px; position: relative; z-index: 1; }
.hexband { position: absolute; right: -4%; top: 50%; transform: translateY(-46%); width: min(48vw, 700px); z-index: 0; pointer-events: none; -webkit-mask-image: radial-gradient(closest-side, #000 55%, transparent); mask-image: radial-gradient(closest-side, #000 55%, transparent); }
.hexband polygon { fill: #E6EBEE; }
.hexband polygon.a { animation: band 5.5s ease-in-out infinite; animation-delay: var(--b); }
@keyframes band { 0%, 100% { fill: #E6EBEE; } 45%, 55% { fill: var(--c, #3DB4E6); } }
@media (max-width: 760px) { .hexband { width: 110vw; right: -45%; top: auto; bottom: -20%; transform: none; opacity: .55; } }

/* Index catalogue */
.catalog { display: grid; gap: clamp(48px, 6vw, 88px); }
.cat-group { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 8fr); gap: 24px 48px; }
.cat-group > div:first-child h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); position: sticky; top: 110px; }
.cat-group .rows > li { grid-template-columns: minmax(0, 3fr) minmax(0, 5fr); transition: background .25s; }
.cat-group .rows > li:hover h3 { color: var(--deep); }
@media (max-width: 860px) { .cat-group { grid-template-columns: 1fr; } .cat-group > div:first-child h2 { position: static; } }

/* Message */
.message { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.message-card { position: relative; overflow: hidden; background: var(--night); color: var(--white); border-radius: 28px; padding: 36px; }
.message-card .k { font-size: 13px; color: var(--mist); margin: 0 0 14px; }
.message-card .h { font-size: clamp(1.6rem, 2.6vw, 2.1rem); line-height: 1.12; font-weight: 740; letter-spacing: -0.02em; margin: 0 0 12px; }
.message-card .swap { color: var(--sky); display: inline-block; }
.message-card .s { color: var(--mist); margin: 0; font-size: 16px; }
@media (max-width: 860px) { .message { grid-template-columns: 1fr; } }

.chips { display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin: 0; list-style: none; }
.chips li { border: 1px solid var(--line); border-radius: 999px; padding: 12px 20px; font-weight: 650; background: var(--white); }

/* Cases */
.case { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 24px 64px; padding: 56px 0; border-top: 1px solid var(--line); }
.case:last-child { border-bottom: 1px solid var(--line); }
.case .tag { font-size: 15px; font-weight: 650; color: var(--mid-ink); margin: 0 0 12px; }
.case dl { margin: 0; display: grid; grid-template-columns: 140px 1fr; gap: 14px 24px; }
.case dt { font-weight: 650; }
.case dd { margin: 0; color: var(--ink-2); }
@media (max-width: 760px) { .case { grid-template-columns: 1fr; } .case dl { grid-template-columns: 1fr; gap: 4px; } .case dd { margin-bottom: 12px; } }

/* Team */
.team { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 40px 32px; padding: 0; margin: 0; list-style: none; }
.avatar { aspect-ratio: 1 / 1.08; max-width: 170px; background: var(--paper); display: grid; place-items: center; font-size: 40px; font-weight: 300; color: var(--stone-ink); margin-bottom: 16px; clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); }
.team h3 { font-size: 1.1rem; }
.team p { margin: 4px 0 0; color: var(--ink-2); font-size: 16px; }

/* Contact */
.contact { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 64px; }
form { display: grid; gap: 20px; }
fieldset { border: 0; padding: 0; margin: 0; }
legend, label { font-weight: 650; font-size: 16px; display: block; margin-bottom: 8px; }
.choice { display: flex; flex-wrap: wrap; gap: 10px; }
.choice label { margin: 0; font-weight: 500; display: inline-flex; gap: 8px; align-items: center; border: 1px solid var(--field); background: var(--white); border-radius: 999px; padding: 11px 18px; cursor: pointer; }
.choice label:has(input:checked) { border-color: var(--ink); background: var(--ink); color: var(--white); font-weight: 650; }
input[type="text"], input[type="email"], input[type="tel"], textarea { width: 100%; font: inherit; font-size: 17px; color: var(--ink); background: var(--white); border: 1px solid var(--field); border-radius: 14px; padding: 14px 16px; transition: border-color .2s, box-shadow .2s; }
input:focus, textarea:focus { border-color: var(--deep); outline: 3px solid var(--deep); outline-offset: 1px; box-shadow: none; }
textarea { min-height: 160px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-note { font-size: 15px; color: var(--ink-2); margin: 0; }
.contact-aside { border-radius: 28px; background: var(--white); border: 1px solid var(--line); padding: 32px; align-self: start; }
.contact-aside p { margin: 0 0 22px; }
.contact-aside h3 { margin: 0 0 6px; font-size: 1.05rem; }
@media (max-width: 860px) { .contact, .form-row { grid-template-columns: 1fr; } }

/* CTA field */
.cta-wrap { padding: 0 clamp(8px, 1.2vw, 16px) 8px; }
.cta-band { position: relative; overflow: hidden; border-radius: clamp(20px, 2.6vw, 36px); background: var(--night); color: var(--white); padding: clamp(80px, 10vw, 150px) 0; }
.cta-band canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.cta-band .wrap { position: relative; z-index: 1; pointer-events: none; }
.cta-band .wrap a { pointer-events: auto; }
.cta-band h2 { max-width: 16ch; font-size: clamp(2.2rem, 5.4vw, 4.6rem); }
.cta-band p { color: var(--mist); margin-top: 22px; }
.cta-band .hint { font-size: 14px; color: rgba(182, 196, 211, .9); margin-top: 40px; }

/* Footer */
.site-footer { padding: 64px 0 120px; } /* unten Platz, damit das Dock nichts verdeckt */
.foot { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; }
.foot h4, .foot .foot-h { font-size: 15px; line-height: 1.3; font-weight: 700; letter-spacing: 0; margin-bottom: 12px; }
.foot ul { list-style: none; margin: 0; padding: 0; }
.foot li { margin-bottom: 8px; font-size: 16px; }
.foot a { color: var(--ink-2); text-decoration: none; }
.foot a:hover { color: var(--ink); text-decoration: underline; }
.foot address { font-style: normal; font-size: 16px; color: var(--ink-2); margin-top: 20px; }
.legal { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 14px; color: var(--ink-2); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 32px; }
/* Links das Copyright, rechts Hilfen und Einstellungen (Impressum und Datenschutz stehen in der Spalte „Kontakt“) */
.legal > span { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.legal-mid { justify-content: flex-end; }
.legal a, .legal .legal-link { color: var(--ink-2); text-decoration: underline; text-underline-offset: 3px; }
.legal a:hover, .legal .legal-link:hover { color: var(--ink); }
@media (max-width: 1000px) { .legal { flex-direction: column; align-items: flex-start; } .legal-mid { justify-content: flex-start; } .legal-copy { order: 3; } }
/* Signatur: ein kleines Sechseck hinter dem Copyright öffnet eine Karte, wer die Website gebaut hat.
   Natives Popover: schließt per Escape und Klick daneben, ohne JavaScript. Browser ohne Popover zeigen nichts an. */
.legal .legal-copy { align-items: center; gap: 6px; }
.maker-btn { position: relative; width: 24px; height: 24px; padding: 0; border: 0; background: none; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.maker-btn::before { content: ""; position: absolute; left: 7px; top: 6px; width: 10px; height: 12px; clip-path: var(--hex); background: var(--stone); transition: background .3s, transform .5s var(--ease); }
.maker-btn:hover::before, .maker-btn:focus-visible::before { background: linear-gradient(135deg, var(--sky), var(--deep)); transform: rotate(60deg) scale(1.25); }
.maker { display: none; position: fixed; inset: auto auto 24px 24px; width: min(480px, calc(100% - 32px)); margin: 0; padding: 18px 48px 18px 18px; border: 0; border-radius: 24px; background: var(--white); color: var(--ink); box-shadow: 0 0 0 1px rgba(20, 35, 58, .08), 0 30px 70px -20px rgba(20, 35, 58, .5); grid-template-columns: 88px minmax(0, 1fr); gap: 16px; align-items: start; opacity: 0; transform: translateY(16px) scale(.97); transition: opacity .3s, transform .5s var(--ease), overlay .5s allow-discrete, display .5s allow-discrete; }
.maker:popover-open { display: grid; opacity: 1; transform: none; }
@starting-style { .maker:popover-open { opacity: 0; transform: translateY(16px) scale(.97); } }
.maker::backdrop { background: rgba(20, 35, 58, .18); }
html.dock-on .maker { bottom: calc(max(16px, env(safe-area-inset-bottom)) + 76px); } /* über dem schwebenden Dock */
.maker img { width: 88px; height: 96px; object-fit: cover; clip-path: var(--hex); }
.maker p { margin: 0; font-size: 15px; line-height: 1.5; color: var(--ink-2); }
.maker .maker-kicker { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--deep); margin-bottom: 4px; }
.maker .maker-title { font-size: 20px; line-height: 1.3; font-weight: 750; letter-spacing: -0.01em; color: var(--ink); margin-bottom: 6px; }
.maker-links { display: flex; flex-wrap: wrap; gap: 4px 16px; margin-top: 10px !important; }
.maker .maker-links a { color: var(--ink); font-weight: 650; text-decoration: underline; text-underline-offset: 3px; }
.maker .maker-links a:hover { color: var(--deep); }
.maker-close { position: absolute; top: 10px; right: 10px; width: 34px; height: 34px; padding: 0; border: 0; border-radius: 50%; background: rgba(20, 35, 58, .07); color: var(--ink); cursor: pointer; }
.maker-close:hover { background: rgba(20, 35, 58, .12); }
.maker-close .burger::before { transform: rotate(45deg); }
.maker-close .burger::after { transform: rotate(-45deg); }
.maker-close .burger, .maker-close .burger::before, .maker-close .burger::after { width: 14px; margin-left: -7px; }
@media (max-width: 600px) { .maker { inset: auto 16px max(16px, env(safe-area-inset-bottom)) 16px; width: auto; grid-template-columns: 64px minmax(0, 1fr); } .maker img { width: 64px; height: 70px; } }
@media (prefers-reduced-motion: reduce) { .maker, .maker-btn::before { transition: none; } }
html.no-motion .maker, html.no-motion .maker-btn::before { transition: none; }
@media (max-width: 860px) { .foot { grid-template-columns: 1fr 1fr; } .foot > div:first-child { grid-column: 1 / -1; } }

.prose { max-width: 70ch; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
  /* Logo-Band steht still: Namen zentriert in wenigen Zeilen, ohne Randausblendung und Trennzeichen */
  .ticker { -webkit-mask-image: none; mask-image: none; }
  .ticker ul { width: auto; flex-wrap: wrap; justify-content: center; gap: 10px 32px; padding: 0 var(--gutter); }
  .ticker li { gap: 0; }
  .ticker li::after { display: none; }
  .ticker li[aria-hidden] { display: none; }
  ::view-transition-old(root), ::view-transition-new(root) { animation: none; }
}
/* Ohne Animationen: kein Anheften, keine leere Scrollstrecke. Alle drei Schritte stehen neben der Karte */
@media (prefers-reduced-motion: reduce) {
  .story { height: auto; }
  .story-pin { position: static; height: auto; padding-top: clamp(64px, 8vw, 112px); padding-bottom: clamp(64px, 8vw, 112px); }
}
html.no-motion .story { height: auto; }
html.no-motion .story-pin { position: static; height: auto; padding-top: clamp(64px, 8vw, 112px); padding-bottom: clamp(64px, 8vw, 112px); }

/* ================= v3 additions ================= */
:root { interpolate-size: allow-keywords; }

/* Statement: words light up while scrolling */
.statement-sec { padding: clamp(80px, 12vw, 180px) 0 clamp(56px, 8vw, 110px); }
.statement { font-size: clamp(1.7rem, 3.6vw, 3.1rem); line-height: 1.22; font-weight: 600; letter-spacing: -0.02em; max-width: 30ch; margin: 0; }
.statement span span { color: #C4CCD3; transition: color .35s; }
.statement span span.lit { color: var(--ink); }

/* Big-type marquee */
.mq { padding: 0 0 clamp(56px, 8vw, 110px); overflow: hidden; }
.mq-row { overflow: hidden; white-space: nowrap; }
.mq-track { display: inline-flex; align-items: center; will-change: transform; }
.mq .ph { font-size: clamp(2.6rem, 7vw, 6.4rem); line-height: 1.15; font-weight: 760; letter-spacing: -0.035em; color: var(--ink); padding: 0 .35em; }
.mq .ph.o { color: transparent; -webkit-text-stroke: 1.5px var(--ink); font-weight: 600; }
.mq .row.b .ph { font-weight: 300; }
.mq .sep { width: .5em; height: .5em; flex: none; border-radius: 50%; background: var(--brand); font-size: clamp(2.6rem, 7vw, 6.4rem); transform: scale(.45); }
.mq-row.b .ph { color: var(--deep); }
.mq-row.b .ph.o { color: transparent; -webkit-text-stroke-color: var(--deep); }

/* Week playground */
.week { background: var(--night); color: var(--white); position: relative; overflow: hidden; }
.week .section-head p { color: var(--mist); }
.week-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(24px, 4vw, 56px); align-items: stretch; }
.days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.days button { font: inherit; font-size: 14px; font-weight: 650; color: var(--mist); background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .08); border-radius: 14px; padding: 10px 0 8px; cursor: pointer; display: grid; justify-items: center; gap: 4px; transition: background .25s, color .25s, border-color .25s; }
.days button .ic svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.days button:hover { color: var(--white); border-color: rgba(255, 255, 255, .25); }
.days button[aria-pressed="true"] { background: var(--white); color: var(--ink); border-color: var(--white); }
#week-range { width: 100%; margin: 22px 0 6px; accent-color: var(--sky); height: 28px; }
.week-read { margin-top: 18px; min-height: 230px; }
.week-read p { margin: 0; }
.wr-day { font-size: 15px; color: var(--mist); }
.wr-temp { font-size: clamp(3.4rem, 6vw, 5rem); line-height: 1; font-weight: 250; letter-spacing: -0.04em; margin: 6px 0 14px !important; }
.wr-why { font-size: 18px; line-height: 1.45; color: var(--white); max-width: 32ch; }
.wr-state { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px !important; font-size: 14px; font-weight: 650; padding: 8px 14px; border-radius: 999px; background: rgba(61, 180, 230, .16); color: var(--sky); }
.wr-state::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.wr-state.paused { background: rgba(255, 255, 255, .08); color: var(--mist); }
.week .play { margin-top: 24px; padding: 12px 20px; }
.week .btn.ghost { color: var(--white); border-color: rgba(255, 255, 255, .4); }
.week .btn.ghost:hover { border-color: var(--white); color: var(--white); }
.week-scene { position: relative; border-radius: 28px; overflow: hidden; min-height: 520px; display: flex; flex-direction: column; justify-content: flex-end; }
.week-scene canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.place { position: absolute; left: 24px; top: 20px; margin: 0; font-weight: 700; font-size: 15px; color: rgba(255, 255, 255, .92); background: rgba(19, 35, 58, .35); padding: 6px 12px; border-radius: 999px; backdrop-filter: blur(8px); }
.devices { position: relative; display: flex; align-items: flex-end; justify-content: center; gap: clamp(12px, 2.4vw, 32px); padding: 0 24px 24px; }
.dev { margin: 0; display: grid; justify-items: center; gap: 8px; }
.dev figcaption { font-size: 12px; font-weight: 650; color: rgba(255, 255, 255, .9); text-shadow: 0 1px 6px rgba(0, 0, 0, .3); }
.dev .screen { position: relative; overflow: hidden; background: #0C1726; border: 6px solid #0C1726; box-shadow: 0 30px 60px -24px rgba(0, 0, 0, .55); }
.dev.tv .screen { width: clamp(220px, 26vw, 340px); aspect-ratio: 16 / 9; border-radius: 10px; border-width: 8px; }
.dev.tv::after { content: ""; display: block; width: 90px; height: 10px; border-radius: 0 0 6px 6px; background: #0C1726; order: 1; margin-top: -8px; }
.dev.tv figcaption { order: 2; }
.dev.stele .screen { width: clamp(110px, 11vw, 150px); aspect-ratio: 9 / 16; border-radius: 8px; border-width: 8px; }
.dev.phone .screen { width: clamp(96px, 9vw, 124px); aspect-ratio: 9 / 19; border-radius: 22px; border-width: 6px; }
.scr, .off { position: absolute; inset: 0; display: flex; flex-direction: column; padding: 10px; transition: opacity .45s var(--ease), transform .45s var(--ease); }
.scr { background: linear-gradient(160deg, #F7F2EA, #E9EEF2); color: var(--ink); }
.scr .b { font-size: 9px; font-weight: 800; letter-spacing: .02em; margin: 0 0 auto; color: var(--deep); }
.scr .h { font-size: 13px; line-height: 1.15; font-weight: 760; margin: 0 0 8px; letter-spacing: -0.01em; }
.dev.tv .scr .h { font-size: clamp(15px, 1.6vw, 21px); max-width: 16ch; }
.dev.tv .scr { padding: 16px; }
.scr .c { align-self: flex-start; font-size: 9px; font-weight: 700; background: var(--ink); color: var(--white); padding: 5px 8px; border-radius: 999px; }
.off { background: #18263A; color: #8496AA; justify-content: center; text-align: center; font-size: 10px; line-height: 1.35; opacity: 0; }
.off p { margin: 0; }
.dev.tv .off { font-size: 13px; padding: 24px; }
.screen.paused .scr { opacity: 0; transform: scale(.96); }
.screen.paused .off { opacity: 1; }
.screen .scr.flip { animation: flip .5s var(--ease); }
@keyframes flip { from { opacity: 0; transform: translateY(8px); filter: blur(3px); } }
.week .fine { font-size: 13px; color: rgba(182, 196, 211, .9); margin: 20px 0 0; }
@media (max-width: 980px) {
  .week-grid { grid-template-columns: 1fr; }
  .week-read { min-height: 0; }
  .week-scene { min-height: 420px; order: -1; }
  .dev.tv { display: none; }
}

/* Comparison chart */
.chart { margin: 0; position: relative; }
.chart svg { width: 100%; height: auto; overflow: visible; }
.chart text { font-family: inherit; }
.chart .ax { fill: var(--ink-2); font-size: 14px; }
.chart .ttl { fill: var(--ink); font-size: 15px; font-weight: 650; }
.chart .lbl { font-size: 15px; font-weight: 700; fill: var(--ink); }
.chart .grid { stroke: #E8ECEF; stroke-width: 1; }
.chart .base { stroke: var(--line); stroke-width: 1; }
.chart .draw { transition: stroke-dashoffset 1.8s var(--ease); }
.chart .fade { opacity: 0; transition: opacity .8s .9s; }
.chart.in .fade { opacity: 1; }
.chart .xh { stroke: var(--ink-2); stroke-width: 1; stroke-dasharray: 3 3; opacity: 0; }
.chart figcaption { display: flex; flex-wrap: wrap; gap: 10px 24px; align-items: center; margin-top: 20px; font-size: 15px; color: var(--ink-2); }
.chart .lg { display: inline-flex; align-items: center; gap: 8px; }
.chart .lg i { width: 18px; height: 3px; border-radius: 2px; display: inline-block; }
.lg-sit { background: #2C4C9B; }
.lg-cls { background: repeating-linear-gradient(90deg, #8E918C 0 5px, transparent 5px 8px); }
.lg-idx { background: rgba(61, 180, 230, .35); height: 10px !important; }
.chart .note { margin-left: auto; font-size: 13px; }
/* Startseite: Diagramm kompakt neben dem Text, in einer hellen Karte. Schrift im SVG größer,
   weil das Diagramm kleiner skaliert wird */
.compare { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 64px); align-items: center; }
.compare .section-head { display: block; margin: 0; }
.compare .section-head p { margin-top: 18px; }
.compare .chart { padding: clamp(18px, 2.4vw, 28px); border-radius: 24px; background: var(--paper); }
.compare .chart .ax { font-size: 19px; }
.compare .chart .ttl, .compare .chart .lbl { font-size: 20px; }
.compare .chart .lbl { paint-order: stroke; stroke: var(--paper); stroke-width: 6px; stroke-linejoin: round; } /* heller Rand, damit die Etiketten vor den Balken lesbar bleiben */
.compare .chart figcaption { margin-top: 14px; gap: 8px 18px; font-size: 14px; }
@media (max-width: 900px) { .compare { grid-template-columns: 1fr; } .compare .section-head { margin-bottom: 8px; } }
.tip { position: absolute; pointer-events: none; background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px; font-size: 14px; line-height: 1.45; box-shadow: 0 16px 40px -20px rgba(20, 35, 58, .45); min-width: 190px; transform: translate(-50%, -110%); }
.tip b { display: block; font-weight: 700; }

/* FAQ */
.faq { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 32px 64px; }
.faq-list { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 24px 48px 24px 0; font-size: clamp(1.1rem, 1.6vw, 1.3rem); font-weight: 650; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 8px; top: 50%; width: 14px; height: 14px; margin-top: -7px; background: linear-gradient(var(--ink), var(--ink)) center / 14px 2px no-repeat, linear-gradient(var(--ink), var(--ink)) center / 2px 14px no-repeat; transition: transform .35s var(--ease); }
.faq details[open] summary::after { transform: rotate(135deg); }
.faq details::details-content { block-size: 0; overflow: hidden; transition: block-size .4s var(--ease), content-visibility .4s allow-discrete; }
.faq details[open]::details-content { block-size: auto; }
.faq details p { color: var(--ink-2); margin: 0 0 26px; }
@media (max-width: 860px) { .faq { grid-template-columns: 1fr; } }
.lg-sit { width: 12px !important; height: 12px !important; border-radius: 3px !important; }
@media (max-width: 700px) { .chart { overflow-x: auto; } .chart svg { min-width: 720px; } .chart figcaption { position: sticky; left: 0; } .chart .note { margin-left: 0; } }

/* Dealertools fan-out */
.dealer { background: var(--white); }
.fan { display: grid; grid-template-columns: minmax(0, 5fr) minmax(80px, 2fr) minmax(0, 5fr); align-items: stretch; }
.master { align-self: center; background: var(--night); color: var(--white); border-radius: 24px; padding: 32px; position: relative; overflow: hidden; }
.master::before { content: ""; position: absolute; left: 0; top: 0; right: 0; height: 5px; background: var(--brand); }
.master .sb, .store .sb { font-size: 13px; font-weight: 650; margin: 0 0 6px; }
.master .sb { color: var(--sky); }
.master .sh { font-size: clamp(1.6rem, 2.6vw, 2.2rem); font-weight: 760; letter-spacing: -0.02em; line-height: 1.1; margin: 0 0 10px; }
.master .sa { color: var(--mist); margin: 0; font-size: 16px; }
.wires { width: 100%; height: 100%; overflow: visible; }
.wires path { fill: none; stroke: var(--sky); stroke-width: 2; vector-effect: non-scaling-stroke; stroke-dasharray: 5 9; animation: flow 1.1s linear infinite; opacity: .9; }
@keyframes flow { to { stroke-dashoffset: -28; } }
.stores { list-style: none; margin: 0; padding: 0; display: grid; grid-template-rows: repeat(5, 1fr); gap: 10px; }
.store { display: grid; align-content: center; background: var(--paper); border: 1px solid var(--line); border-radius: 16px; padding: 12px 18px; opacity: 0; transform: translateX(-14px); transition: opacity .5s var(--ease), transform .5s var(--ease); transition-delay: calc(var(--i) * 140ms + 200ms); }
.fan.in .store { opacity: 1; transform: none; }
.store .sb { color: var(--mid-ink); }
.store .sh { font-weight: 720; margin: 0; font-size: 17px; }
.store .sa { margin: 0; font-size: 14px; color: var(--ink-2); }
.dealer .fine { font-size: 13px; color: var(--ink-2); margin: 16px 0 0; }
@media (max-width: 860px) { .fan { grid-template-columns: 1fr; gap: 16px; } .wires { display: none; } .stores { grid-template-rows: none; } }
@media (prefers-reduced-motion: reduce) { .store { opacity: 1; transform: none; } }
.stage-map .three { position: absolute; inset: -4% -6%; z-index: 0; }
.stage-map .three canvas { display: block; }
@media (max-width: 980px) { .stage-map { min-height: 520px; } .stage-map .three { inset: 90px -8% 120px; } }

/* Mock ads: shop links inside screens are illustration, not buttons */
.scr .c { background: none !important; color: var(--ink-2) !important; padding: 0 !important; border-radius: 0 !important; font-weight: 600 !important; text-decoration: underline; text-underline-offset: 2px; pointer-events: none; }
.dev .screen, .ad-float { cursor: default; user-select: none; }

.avatar img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s var(--ease); }
.team li:hover .avatar img { transform: scale(1.05); }
.team { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 48px 40px; }
@media (max-width: 900px) { .team { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 600px) { .team { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 20px; } }
.avatar { max-width: 220px; }


/* ---------- Solutions (featured cards) ---------- */
.solutions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.sol { position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; border-radius: 28px; background: var(--white); border: 1px solid var(--line); padding: clamp(28px, 3vw, 40px); transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s; }
.sol::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--brand); }
.sol:hover { transform: translateY(-6px); box-shadow: 0 26px 54px -26px rgba(20, 35, 58, .3); border-color: transparent; }
.sol .mark { font-size: 13px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--mid-ink); margin: 6px 0 14px; }
.sol h3 { font-size: clamp(1.5rem, 2.2vw, 2rem); margin-bottom: 8px; }
.sol .tag { color: var(--deep); font-weight: 650; margin: 0 0 16px; }
.sol > p { color: var(--ink-2); margin: 0 0 20px; }
.sol ul { list-style: none; margin: 0 0 28px; padding: 0; display: grid; gap: 11px; }
.sol li { position: relative; padding-left: 26px; color: var(--ink-2); font-size: 16px; line-height: 1.4; }
.sol li::before { content: ""; position: absolute; left: 0; top: 5px; width: 14px; height: 16px; background: linear-gradient(135deg, var(--sky), var(--deep)); clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); }
.sol .actions { margin-top: auto; }
.sol .deco { position: absolute; right: -40px; bottom: -40px; width: 220px; opacity: .85; z-index: -1; }
.sol .deco polygon { fill: var(--cell); }
.sol .deco polygon.a { fill: var(--sky); animation: blink 4s ease-in-out infinite; animation-delay: var(--b); }
.sol.feature { background: var(--night); border-color: var(--night); color: var(--white); }
.sol.feature .mark { color: var(--mist); }
.sol.feature .tag { color: var(--sky); }
.sol.feature > p, .sol.feature li { color: var(--mist); }
.sol.feature .deco polygon { fill: var(--night-cell); }
@media (max-width: 920px) { .solutions { grid-template-columns: 1fr; } .sol .deco { width: 180px; } }

/* ================= v4: Conversion-Bausteine ================= */
:root {
  --hex: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
  --ok: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232C4C9B' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E");
  --ok-dark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2313233A' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E");
  --no: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238E918C' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M7.5 7.5l9 9M16.5 7.5l-9 9'/%3E%3C/svg%3E");
}
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--mid-ink); margin: 0 0 14px; }
.section-head.center { grid-template-columns: 1fr; justify-items: center; text-align: center; }
.section-head.center h2 { max-width: 22ch; }
.section-head.center p { max-width: 58ch; }

/* Alte Raster weniger "tabellig" */
.cols3 > div { border-top: 0; padding-top: 0; }
.cols3 > div::before { content: ""; display: block; width: 24px; height: 27px; margin-bottom: 18px; background: linear-gradient(135deg, var(--sky), var(--deep)); clip-path: var(--hex); }
.steps { border-top: 0; gap: 14px; }
.steps li { padding: 28px 26px 22px; border-radius: 24px; background: var(--white); }
section.white .steps li, .dealer .steps li { background: var(--paper); }
.steps li::before { display: grid; place-items: center; width: 44px; height: 50px; font-size: 18px; font-weight: 700; color: var(--white); background: linear-gradient(135deg, var(--sky), var(--deep)); clip-path: var(--hex); margin-bottom: 18px; }
.steps p { margin: 0; }

/* Wegweiser (Selbst-Segmentierung) */
.paths-sec { padding: clamp(48px, 6vw, 80px) 0 clamp(40px, 5vw, 64px); }
.paths-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; margin-bottom: 24px; }
.paths-head h2 { font-size: clamp(1.7rem, 3vw, 2.5rem); }
.paths-head p { margin: 0; color: var(--ink-2); }
.paths { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.paths.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.path { position: relative; display: flex; flex-direction: column; gap: 10px; text-decoration: none; color: var(--ink); background: var(--white); border: 1px solid var(--line); border-radius: 24px; padding: 26px 26px 22px; min-height: 270px; transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s; }
section.white .path:not(.dark) { background: var(--paper); border-color: transparent; }
.path:hover { color: var(--ink); transform: translateY(-4px); border-color: transparent; box-shadow: 0 24px 50px -28px rgba(20, 35, 58, .38); }
.path .ico { width: 46px; height: 52px; display: grid; place-items: center; color: var(--white); background: linear-gradient(135deg, var(--sky), var(--deep)); clip-path: var(--hex); margin-bottom: 6px; }
.path .ico svg, .path .arr { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.path .ico svg { width: 22px; height: 22px; }
.path .who { font-size: 14px; font-weight: 650; color: var(--mid-ink); margin: 0; }
.path h3 { font-size: clamp(1.25rem, 1.7vw, 1.5rem); }
.path p { margin: 0; color: var(--ink-2); font-size: 16px; line-height: 1.5; }
.path .go { margin-top: auto; padding-top: 16px; display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 15px; font-weight: 700; }
.path .arr { width: 38px; height: 38px; padding: 9px; border-radius: 50%; background: var(--paper); stroke-width: 2.2; flex: none; transition: background .25s, color .25s, transform .3s var(--ease); }
section.white .path:not(.dark) .arr { background: var(--white); }
.path:hover .arr { background: var(--ink) !important; color: var(--white); transform: translateX(3px); }
.path.dark { background: var(--night); border-color: var(--night); color: var(--white); }
.path.dark:hover { color: var(--white); }
.path.dark p { color: var(--mist); }
.path.dark .who { color: var(--sky); }
.path.dark .arr { background: rgba(255, 255, 255, .1); }
.path.dark:hover .arr { background: var(--white) !important; color: var(--ink); }
@media (max-width: 1080px) { .paths { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) {
  .paths, .paths.two { grid-template-columns: 1fr; gap: 10px; }
  .path { min-height: 0; }
  .paths:not(.two) .path { display: grid; grid-template-columns: 42px minmax(0, 1fr) 38px; column-gap: 14px; row-gap: 2px; align-items: center; padding: 16px 16px 16px 18px; border-radius: 20px; }
  .paths:not(.two) .path .ico { grid-row: 1 / span 2; width: 42px; height: 48px; margin: 0; }
  .paths:not(.two) .path .who { grid-column: 2; font-size: 13px; }
  .paths:not(.two) .path h3 { grid-column: 2; font-size: 1.08rem; }
  .paths:not(.two) .path > p:not(.who) { display: none; }
  .paths:not(.two) .path .go { grid-column: 3; grid-row: 1 / span 2; margin: 0; padding: 0; font-size: 0; gap: 0; }
}

/* Vertrauen */
.trust { padding: 0 0 clamp(24px, 4vw, 48px); }
.trust .label { text-align: center; font-size: 14px; font-weight: 650; color: var(--ink-2); margin: 0 auto 4px; }
.trust .ticker { border-bottom: 0; }
.proof { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 18px; margin: 44px 0 0; font-size: 15px; font-weight: 700; color: var(--stone-ink); position: relative; z-index: 1; max-width: none; }
.proof span:first-child { font-weight: 500; color: var(--ink-2); }

/* Produkt-Showcase */
.showcase { display: grid; gap: clamp(72px, 9vw, 128px); }
.sc { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.sc.flip .sc-copy { order: 2; }
.sc-copy h3 { font-size: clamp(2.2rem, 4vw, 3.4rem); line-height: 1; letter-spacing: -0.035em; font-weight: 760; margin-bottom: 16px; }
.sc-copy .claim { font-size: clamp(1.1rem, 1.5vw, 1.3rem); line-height: 1.45; font-weight: 550; max-width: 34ch; }
.ticks { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 34px; color: var(--ink-2); line-height: 1.45; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 2px; width: 22px; height: 22px; border-radius: 50%; background: rgba(61, 180, 230, .16) var(--ok) center / 13px no-repeat; }
.fit { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 26px 0 0; padding: 0; list-style: none; font-size: 14px; }
.fit li { padding: 6px 13px; border-radius: 999px; background: var(--paper); font-weight: 650; }
.fit li:first-child { background: none; padding-left: 0; color: var(--ink-2); font-weight: 500; }
.sc .actions { margin-top: 30px; }
.sc-visual { position: relative; isolation: isolate; overflow: hidden; border-radius: 32px; padding: clamp(24px, 4vw, 56px); min-height: 440px; display: grid; place-items: center; background: var(--paper); }
.sc-visual.night { background: radial-gradient(90% 90% at 80% 15%, #1E3A63 0%, var(--night) 65%); }
.sc-visual.sky { background: linear-gradient(150deg, #E2F3FB, #E7EBF6); }
.sc-visual .deco { position: absolute; right: -30px; bottom: -40px; width: 280px; z-index: -1; opacity: .9; }
.sc-visual .deco polygon { fill: var(--cell); }
.sc-visual.sky .deco polygon { fill: rgba(255, 255, 255, .7); }
.sc-visual.night .deco polygon { fill: var(--night-cell); }
.sc-visual .deco polygon.a { fill: var(--sky); animation: blink 4s ease-in-out infinite; animation-delay: var(--b); }
.sc-visual .logo-slot { position: absolute; left: 24px; top: 20px; font-size: 13px; font-weight: 700; letter-spacing: .04em; color: var(--ink-2); }
.sc-visual.night .logo-slot { color: var(--mist); }
@media (max-width: 900px) { .sc { grid-template-columns: 1fr; } .sc.flip .sc-copy { order: 0; } .sc-visual { min-height: 0; } }
/* Handy und Tablet: Demo erst nach Klick auf „Live-Beispiel öffnen“ (main.js) */
.sc-toggle { display: none; }
@media (max-width: 900px) {
  .sc.collapsible .sc-visual { display: none; }
  .sc.collapsible.live-open .sc-visual { display: grid; }
  .sc .sc-toggle { display: inline-block; }
}

/* Mock-UIs (Illustration, keine Bedienelemente) */
.ui { width: 100%; max-width: 440px; border-radius: 20px; background: var(--white); color: var(--ink); box-shadow: 0 40px 80px -40px rgba(20, 35, 58, .45); padding: 20px; font-size: 15px; line-height: 1.35; user-select: none; cursor: default; }
.ui.glass { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); color: var(--white); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
.ui-bar { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--ink-2); margin-bottom: 14px; }
.ui.glass .ui-bar { color: var(--mist); }
.ui-bar b { color: var(--ink); font-size: 14px; }
.ui.glass .ui-bar b { color: var(--white); }
.ui-bar .live { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; color: var(--sky); font-weight: 700; }
.ui-bar .live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 0 rgba(61, 180, 230, .6); animation: ping 1.8s ease-out infinite; }
.act { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.act li { display: grid; grid-template-columns: 14px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 11px 14px; border-radius: 14px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .08); }
.act .hx { width: 12px; height: 14px; clip-path: var(--hex); background: var(--sky); }
.act li.idle .hx { background: rgba(255, 255, 255, .25); }
.act b { display: block; font-weight: 650; }
.act small { color: var(--mist); font-size: 13px; }
.act em, .dt-stores em { font-style: normal; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: rgba(61, 180, 230, .18); color: var(--sky); }
.act li.idle em { background: rgba(255, 255, 255, .08); color: var(--mist); }
.meter { margin-top: 16px; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 13px; color: var(--mist); }
.meter .m { position: relative; height: 8px; border-radius: 8px; background: rgba(255, 255, 255, .1); margin: 10px 0 8px; }
.meter .m i { position: absolute; left: 0; top: 0; bottom: 0; width: var(--v); border-radius: inherit; background: var(--brand); }
.meter .m s { position: absolute; top: -5px; bottom: -5px; left: var(--t); width: 2px; border-radius: 2px; background: var(--white); }
.dt { width: 100%; max-width: 460px; display: grid; gap: 14px; user-select: none; }
.dt-master { position: relative; overflow: hidden; background: var(--night); color: var(--white); border-radius: 18px; padding: 18px 20px; box-shadow: 0 30px 60px -36px rgba(20, 35, 58, .7); }
.dt-master::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--brand); }
.dt-master small { color: var(--sky); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }
.dt-master b { display: block; font-size: 20px; letter-spacing: -0.01em; margin-top: 4px; }
.dt-master span { color: var(--mist); font-size: 14px; }
.dt-stores { list-style: none; margin: 0; padding: 0 0 0 28px; display: grid; gap: 8px; position: relative; }
.dt-stores::before { content: ""; position: absolute; left: 10px; top: -14px; bottom: 24px; width: 2px; border-radius: 2px; background: linear-gradient(var(--sky), var(--deep)); }
.dt-stores li { position: relative; background: var(--white); border-radius: 14px; padding: 12px 14px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 12px; align-items: center; box-shadow: 0 14px 30px -24px rgba(20, 35, 58, .5); }
.dt-stores li::before { content: ""; position: absolute; left: -18px; top: 50%; width: 18px; height: 2px; background: var(--sky); }
.dt-stores b { font-size: 15px; }
.dt-stores small { grid-column: 1; color: var(--ink-2); font-size: 13px; }
.dt-stores em { grid-row: 1 / span 2; grid-column: 2; color: var(--deep); background: rgba(61, 180, 230, .14); }
.sb-steps { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; margin-bottom: 12px; }
.sb-steps i { height: 5px; border-radius: 5px; background: var(--cell); }
.sb-steps i.d { background: var(--deep); }
.sb-steps i.c { background: var(--sky); }
.ui small { color: var(--ink-2); font-size: 13px; }
.ui.glass small { color: var(--mist); }
.sb-q { display: block; font-size: 20px; font-weight: 720; letter-spacing: -0.01em; margin: 4px 0 14px; }
.sb-opts { display: grid; gap: 8px; }
.sb-opts span { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; font-weight: 600; }
.sb-opts span::before { content: ""; width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--line); flex: none; }
.sb-opts span.sel { border-color: var(--deep); background: rgba(61, 180, 230, .08); }
.sb-opts span.sel::before { border-color: var(--deep); background: radial-gradient(var(--deep) 42%, transparent 48%); }
.sb-sum { display: grid; grid-template-columns: auto 1fr; gap: 4px 16px; margin: 16px 0; padding: 14px; border-radius: 12px; background: var(--paper); font-size: 14px; }
.sb-sum span { color: var(--ink-2); }
.sb-sum b { text-align: right; }
.sb-cta { display: block; text-align: center; padding: 13px; border-radius: 999px; background: var(--ink); color: var(--white); font-weight: 700; font-size: 15px; }

/* Fakten */
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: clamp(48px, 6vw, 80px); }
.fact { border-radius: 24px; background: var(--paper); padding: 26px; }
.fact strong { display: block; font-size: clamp(2.6rem, 4.4vw, 3.8rem); line-height: 1; font-weight: 300; letter-spacing: -0.04em; background: var(--brand); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 16px; padding-bottom: 4px; }
.fact b { display: block; font-size: 17px; margin-bottom: 6px; }
.fact p { margin: 0; color: var(--ink-2); font-size: 15px; line-height: 1.45; }
@media (max-width: 960px) { .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .facts { grid-template-columns: 1fr; } }

/* Problem / Lösung */
.vs { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.vs > div { position: relative; overflow: hidden; border-radius: 28px; padding: clamp(28px, 4vw, 48px); }
.vs-before { background: var(--white); border: 1px solid var(--line); }
.vs-after { background: var(--night); color: var(--white); }
.vs-after::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--brand); }
.vs-after .eyebrow { color: var(--sky); }
.vs-before .eyebrow { color: var(--stone-ink); }
.vs h3 { font-size: clamp(1.4rem, 2.2vw, 1.85rem); letter-spacing: -0.02em; margin-bottom: 24px; max-width: 22ch; }
.xlist, .clist { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.xlist li, .clist li { position: relative; padding-left: 36px; line-height: 1.45; }
.xlist li { color: var(--ink-2); }
.clist li { color: var(--mist); }
.clist li b { color: var(--white); font-weight: 650; }
.xlist li b { color: var(--ink); font-weight: 650; }
.xlist li::before, .clist li::before { content: ""; position: absolute; left: 0; top: 1px; width: 24px; height: 24px; border-radius: 50%; }
.xlist li::before { background: var(--paper) var(--no) center / 13px no-repeat; }
.clist li::before { background: var(--sky) var(--ok-dark) center / 13px no-repeat; }
@media (max-width: 860px) { .vs { grid-template-columns: 1fr; } }

/* Szenarien: Wenn → Dann */
.scns { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.scn { display: flex; flex-direction: column; gap: 14px; border-radius: 24px; padding: 20px; background: var(--white); transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
section.white .scn { background: var(--paper); }
.scn:hover { transform: translateY(-4px); box-shadow: 0 24px 50px -30px rgba(20, 35, 58, .35); }
.scn-if { display: flex; align-items: center; gap: 10px; margin: 0; font-size: 15px; color: var(--ink-2); }
.scn-if::before { content: ""; width: 14px; height: 16px; flex: none; background: linear-gradient(135deg, var(--sky), var(--deep)); clip-path: var(--hex); }
.scn-if b { color: var(--ink); font-weight: 650; }
.scn-ad { border-radius: 16px; background: linear-gradient(160deg, #F7F2EA, #E9EEF2); padding: 18px; min-height: 168px; display: flex; flex-direction: column; user-select: none; }
section.white .scn-ad { background: linear-gradient(160deg, #FFFFFF, #EEF2F5); }
.scn-ad small { font-size: 11px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: var(--deep); margin-bottom: auto; }
.scn-ad b { font-size: 19px; line-height: 1.2; letter-spacing: -0.01em; margin: 16px 0 6px; }
.scn-ad span { font-size: 14px; color: var(--ink-2); line-height: 1.4; }
.scn-who { margin: 0; font-size: 14px; font-weight: 650; display: flex; justify-content: space-between; gap: 12px; }
.scn-who span { font-weight: 500; color: var(--ink-2); }
@media (max-width: 960px) { .scns { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) {
  .scns { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 84%; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 calc(-1 * var(--gutter)); padding: 0 var(--gutter) 12px; scrollbar-width: none; }
  .scns::-webkit-scrollbar { display: none; }
  .scn { scroll-snap-align: center; }
}

/* Fit-Check auf Lösungsseiten */
.fitcheck { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 14px; }
.fitcheck .yes { border-radius: 28px; background: var(--white); border: 1px solid var(--line); padding: clamp(28px, 4vw, 48px); }
section.white .fitcheck .yes { background: var(--paper); border-color: transparent; }
.fitcheck .yes h3 { font-size: clamp(1.4rem, 2.2vw, 1.85rem); letter-spacing: -0.02em; }
.fitcheck .path { min-height: 0; padding: clamp(28px, 4vw, 40px); }
@media (max-width: 860px) { .fitcheck { grid-template-columns: 1fr; } }

/* Zwei Spalten: Integrationen + Kontrolle */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.panel { border-radius: 28px; background: var(--white); padding: clamp(28px, 4vw, 48px); }
section.white .panel { background: var(--paper); }
.panel.dark { background: var(--night); color: var(--white); }
.panel h3 { font-size: clamp(1.4rem, 2.2vw, 1.85rem); letter-spacing: -0.02em; margin-bottom: 12px; }
.panel > p { color: var(--ink-2); }
.panel.dark > p { color: var(--mist); }
.platforms { list-style: none; margin: 24px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.platforms li { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 16px; background: var(--white); font-weight: 700; }
section:not(.white) .platforms li { background: var(--paper); }
.platforms li::before { content: ""; width: 12px; height: 14px; flex: none; background: linear-gradient(135deg, var(--sky), var(--deep)); clip-path: var(--hex); }
.platforms li.more { background: none !important; border: 1px dashed var(--line); font-weight: 500; color: var(--ink-2); }
.platforms li.more::before { background: var(--line); }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
@media (max-width: 420px) { .platforms { grid-template-columns: 1fr; } }

/* Nächste Schritte im CTA */
.next { list-style: none; counter-reset: nx; display: flex; flex-wrap: wrap; gap: 12px 32px; margin: 40px 0 0; padding: 0; font-size: 15px; color: var(--mist); }
.next li { counter-increment: nx; display: flex; align-items: center; gap: 10px; }
.next li::before { content: counter(nx); width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; font-weight: 700; background: rgba(255, 255, 255, .1); color: var(--white); flex: none; }

/* Kontakt: nächste Schritte */
.contact-aside .next { flex-direction: column; gap: 14px; margin: 0 0 28px; color: var(--ink-2); }
.contact-aside .next li { align-items: flex-start; }
.contact-aside .next li::before { background: var(--paper); color: var(--ink); }
.contact-aside .hint { border-radius: 16px; background: var(--paper); padding: 16px 18px; font-size: 15px; }

/* v5: Meta Layer – Wer macht was? (Programmatiq über der DSP) */
.layers { display: grid; gap: 0; }
.layer { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 20px 48px; align-items: start; border-radius: 28px; padding: clamp(28px, 4vw, 48px); background: var(--white); border: 1px solid var(--line); }
section.white .layer { background: var(--paper); border-color: transparent; }
.layer.top { position: relative; overflow: hidden; background: var(--night) !important; color: var(--white); border-color: var(--night); }
.layer.top::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--brand); }
.layer .eyebrow { margin-bottom: 8px; }
.layer.top .eyebrow { color: var(--sky); }
.layer h3 { font-size: clamp(1.4rem, 2.2vw, 1.85rem); letter-spacing: -0.02em; margin: 0 0 10px; }
.layer-k > p:last-child { margin: 0; color: var(--ink-2); }
.layer.top .layer-k > p:last-child { color: var(--mist); }
.layer .platforms { grid-column: 2; margin: 4px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.layer .platforms li { padding: 10px 16px; border-radius: 999px; }
.clist.light li { color: var(--ink-2); }
.clist.light li b { color: var(--ink); }
.layer-link { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 10px; padding: 14px 0; position: relative; }
.layer-link::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; margin-left: -1px; background: linear-gradient(var(--sky), var(--deep)); }
.layer-link span { position: relative; display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); font-size: 14px; font-weight: 650; }
section.white .layer-link span { background: var(--white); }
.layer-link span::before { content: "↓"; color: var(--deep); }
@media (max-width: 860px) { .layer { grid-template-columns: 1fr; } .layer .platforms { grid-column: auto; } }

/* Referenz-Hinweis in Szenario-Karten */
.scn.ref { box-shadow: inset 0 0 0 2px var(--sky); }
.scn-who .tag { font-size: 12px; font-weight: 700; color: var(--deep); background: rgba(61, 180, 230, .14); border-radius: 999px; padding: 3px 10px; white-space: nowrap; }

/* Ansprechperson im CTA */
.person { display: flex; align-items: center; gap: 16px; margin-top: 40px; padding-top: 28px; border-top: 1px solid rgba(255, 255, 255, .12); max-width: 560px; }
.person img { width: 60px; height: 60px; border-radius: 50%; object-fit: cover; flex: none; }
.cta-band .person p { margin: 0; font-size: 15px; line-height: 1.5; }
.person b { display: block; color: var(--white); font-size: 16px; }
.person a { color: var(--white); text-underline-offset: 3px; }

/* ================= v6 ================= */

/* Wegweiser: breiter, Verlaufs-Karten */
.paths-sec .wrap { max-width: 1560px; }
.paths-sec .paths-head { margin-bottom: 28px; }
.paths-sec .paths-head h2 { font-size: clamp(2rem, 3.6vw, 3.1rem); letter-spacing: -0.03em; }
.paths-sec .paths { gap: 16px; }
.paths-sec .path { --g1: #6D7CFF; --g2: #3DB4E6; --g3: #8E5CF7; --g0: #1B2D6B; isolation: isolate; overflow: hidden; min-height: 380px; padding: 30px 28px 26px; border: 0; color: var(--white); border-radius: 30px;
  background: radial-gradient(70% 60% at 15% 10%, var(--g1) 0, transparent 70%), radial-gradient(60% 60% at 95% 35%, var(--g2) 0, transparent 70%), radial-gradient(90% 70% at 40% 110%, var(--g3) 0, transparent 70%), var(--g0);
  background-size: 140% 140%; background-position: 0% 0%; transition: background-position .9s var(--ease), transform .4s var(--ease), box-shadow .4s var(--ease); }
.paths-sec .path::after { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .22; mix-blend-mode: overlay; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.paths-sec .path:nth-child(2) { --g1: #2FD3C0; --g2: #3DB4E6; --g3: #1F6FB2; --g0: #0E3550; }
.paths-sec .path:nth-child(3) { --g1: #B8F07A; --g2: #3DE0C4; --g3: #3DB4E6; --g0: #0F4152; }
.paths-sec .path:nth-child(4) { --g1: #A46BFF; --g2: #E05CD9; --g3: #3DB4E6; --g0: #1C1546; }
.paths-sec .path:hover { color: var(--white); transform: translateY(-6px); background-position: 100% 100%; box-shadow: 0 40px 70px -40px rgba(20, 35, 58, .6); }
.paths-sec .path .ico { color: var(--white); background: rgba(255, 255, 255, .16); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.paths-sec .path .who { color: rgba(255, 255, 255, .78); text-transform: uppercase; letter-spacing: .08em; font-size: 12px; font-weight: 750; margin-top: 18px; }
.paths-sec .path h3 { font-size: clamp(1.45rem, 2vw, 1.9rem); line-height: 1.12; letter-spacing: -0.02em; }
.paths-sec .path p { color: rgba(255, 255, 255, .84); }
.paths-sec .path .arr { background: rgba(255, 255, 255, .16) !important; color: var(--white); }
.paths-sec .path:hover .arr { background: var(--white) !important; color: var(--ink); }
@media (max-width: 620px) {
  .paths-sec .path { min-height: 0; padding: 16px 16px 16px 18px; border-radius: 22px; }
  .paths-sec .path .who { margin-top: 0; font-size: 11px; }
}

/* Vertrauensleiste */
.trust .label { font-size: clamp(1.15rem, 1.6vw, 1.4rem); font-weight: 750; color: var(--ink); letter-spacing: -0.01em; margin-bottom: 0; }

/* 0 Cookies: hervorgehoben */
.facts.bento { grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: minmax(0, auto); }
.fact.zero { grid-column: span 2; grid-row: span 2; position: relative; overflow: hidden; isolation: isolate; background: radial-gradient(80% 90% at 85% 0%, #2B5DA8 0, transparent 60%), radial-gradient(70% 80% at 0% 100%, #5B3FC4 0, transparent 65%), var(--night); color: var(--white); padding: clamp(28px, 3.4vw, 44px); display: flex; flex-direction: column; }
.fact.zero strong { font-size: clamp(7rem, 15vw, 12.5rem); font-weight: 250; line-height: .82; margin: 0 0 18px; background: linear-gradient(120deg, #9FE3FF, #3DB4E6 45%, #A98BFF); -webkit-background-clip: text; background-clip: text; }
.fact.zero b { font-size: clamp(1.4rem, 2.2vw, 1.9rem); letter-spacing: -0.02em; }
.fact.zero p { color: var(--mist); font-size: 17px; max-width: 38ch; }
.fact.zero ul { list-style: none; margin: auto 0 0; padding: 22px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.fact.zero li { padding: 7px 13px; border-radius: 999px; background: rgba(255, 255, 255, .1); font-size: 14px; font-weight: 650; }
.fact.zero .crumb-ico { position: absolute; right: clamp(20px, 3vw, 40px); top: clamp(20px, 3vw, 40px); width: clamp(64px, 8vw, 96px); height: auto; z-index: -1; opacity: .9; }
.fact.zero .crumb-ico circle, .fact.zero .crumb-ico path { fill: none; stroke: rgba(255, 255, 255, .55); stroke-width: 2.2; stroke-linecap: round; }
.fact.zero .crumb-ico .x { stroke: #FF7A8A; stroke-width: 3; }
.fact.wide { grid-column: span 2; }
@media (max-width: 900px) { .facts.bento { grid-template-columns: 1fr 1fr; } .fact.zero { grid-column: 1 / -1; grid-row: auto; } }
@media (max-width: 560px) { .facts.bento { grid-template-columns: 1fr; } .fact.wide { grid-column: auto; } }

/* ---------- Interaktive Demos ---------- */
.demo { width: 100%; max-width: 480px; font-size: 14px; line-height: 1.35; }
.demo button { font: inherit; color: inherit; cursor: pointer; }
.demo input[type="range"] { width: 100%; accent-color: var(--sky); margin: 6px 0 0; }
.d-ui { border-radius: 22px; padding: 18px; background: var(--white); color: var(--ink); box-shadow: 0 40px 80px -40px rgba(20, 35, 58, .45); }
.d-ui.glass { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); color: var(--white); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
.d-bar { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--ink-2); margin-bottom: 14px; }
.d-bar b { color: var(--ink); font-size: 14px; }
.glass .d-bar { color: var(--mist); }
.glass .d-bar b { color: var(--white); }
.d-bar .live, .d-bar .note { margin-left: auto; }
.d-bar .live { display: inline-flex; align-items: center; gap: 6px; color: #5BE49B; font-weight: 700; }
.d-bar .live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; animation: dpulse 1.6s ease-in-out infinite; }
.d-bar .note { font-size: 11px; font-weight: 700; padding: 3px 9px; border-radius: 999px; background: var(--paper); color: var(--ink-2); }
@keyframes dpulse { 50% { opacity: .35; } }
.d-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.d-tabs button { border: 1px solid var(--line); background: var(--white); border-radius: 999px; padding: 7px 12px; font-size: 13px; font-weight: 650; transition: background .2s, border-color .2s, color .2s; }
.glass .d-tabs button { border-color: rgba(255, 255, 255, .16); background: rgba(255, 255, 255, .04); }
.d-tabs button[aria-pressed="true"], .d-tabs button[aria-checked="true"] { background: var(--sky); border-color: var(--sky); color: var(--night); }
.d-tabs button:focus-visible, .demo button:focus-visible, .demo input:focus-visible { outline: 3px solid var(--deep); outline-offset: 2px; box-shadow: 0 0 0 2px var(--white); }
.d-k { font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); margin: 0 0 8px; }
.glass .d-k { color: var(--mist); }

/* Programmatiq */
.pq-rule { border-radius: 16px; padding: 14px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); margin-bottom: 14px; }
.pq-rule p { margin: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px; }
.pq-rule .op { color: var(--mist); }
.pq-rule output { font-weight: 750; color: var(--sky); font-size: 18px; margin-left: auto; }
.pq-fire { margin-top: 12px; width: 100%; border: 0; border-radius: 999px; padding: 11px; background: var(--sky); color: var(--night) !important; font-weight: 750 !important; }
.pq-fire[disabled] { opacity: .55; cursor: default; }
.pq-li { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.pq-li li { display: grid; grid-template-columns: 12px minmax(0, 1fr) auto; gap: 2px 10px; align-items: center; padding: 9px 11px; border-radius: 12px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .08); transition: background .35s, border-color .35s; }
.pq-li .hx { grid-row: span 2; width: 12px; height: 14px; clip-path: var(--hex); background: rgba(255, 255, 255, .22); transition: background .35s; }
.pq-li b { font-weight: 650; font-size: 13.5px; }
.pq-li small { grid-column: 2; color: var(--mist); font-size: 12px; }
.pq-li em { grid-row: 1 / span 2; grid-column: 3; font-style: normal; font-size: 11px; font-weight: 750; padding: 3px 8px; border-radius: 999px; background: rgba(255, 255, 255, .08); color: var(--mist); }
.pq-li li.on { background: rgba(61, 180, 230, .14); border-color: rgba(61, 180, 230, .45); }
.pq-li li.on .hx { background: var(--sky); }
.pq-li li.on em { background: var(--sky); color: var(--night); }
.pq-sum { margin: 12px 0 0; font-size: 13px; color: var(--mist); }
.pq-sum b { color: var(--white); }
.pq-log { list-style: none; margin: 10px 0 0; padding: 10px 0 0; border-top: 1px solid rgba(255, 255, 255, .1); display: grid; gap: 4px; font-size: 12px; color: var(--mist); min-height: 42px; }
.pq-log li { display: flex; gap: 10px; animation: dlog .4s var(--ease) both; }
.pq-log time { color: var(--sky); font-variant-numeric: tabular-nums; }
@keyframes dlog { from { opacity: 0; transform: translateY(4px); } }

/* Dealertools */
.dt-rad { display: block; margin: 0 0 12px; font-size: 13px; color: var(--ink-2); }
.dt-rad output { float: right; font-weight: 750; color: var(--ink); }
.dt-body { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 12px; align-items: start; }
.dt-map { width: 100%; height: auto; border-radius: 14px; background: var(--paper); display: block; }
.dt-map .land { fill: var(--cell); }
.dt-map circle.r { fill: rgba(61, 180, 230, .16); stroke: rgba(44, 76, 155, .45); stroke-width: 1; transition: r .35s var(--ease); }
.dt-map circle.p { fill: var(--deep); }
.dt-map g.sel circle.r { fill: rgba(61, 180, 230, .32); stroke: var(--deep); stroke-width: 1.5; }
.dt-map text { font-size: 11.5px; font-weight: 700; fill: var(--ink-2); }
.dt-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 5px; }
.dt-list button { width: 100%; text-align: left; border: 1px solid transparent; background: var(--paper); border-radius: 11px; padding: 7px 10px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 8px; }
.dt-list button[aria-pressed="true"] { border-color: var(--deep); background: rgba(61, 180, 230, .1); }
.dt-list b { font-size: 13px; font-weight: 700; }
.dt-list span { font-size: 12px; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.dt-list i { grid-column: 1 / -1; height: 4px; border-radius: 4px; background: var(--cell); position: relative; overflow: hidden; }
.dt-list i::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--w, 0%); background: var(--brand); border-radius: 4px; transition: width .35s var(--ease); }
.dt-total { display: flex; justify-content: space-between; gap: 12px; margin: 12px 0; padding: 10px 12px; border-radius: 12px; background: var(--night); color: var(--mist); font-size: 12.5px; }
.dt-total b { display: block; color: var(--white); font-size: 17px; font-variant-numeric: tabular-nums; }
.dt-prev { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 14px; align-items: center; min-height: 128px; }
.dt-prev p { margin: 0; font-size: 12.5px; color: var(--ink-2); }
.dt-prev p b { display: block; color: var(--ink); font-size: 13.5px; }
.dt-scr { position: relative; overflow: hidden; background: #0B1220; border: 5px solid #0B1220; border-radius: 9px; color: var(--white); }
.dt-scr.tv { width: 200px; aspect-ratio: 16 / 9; }
.dt-scr.stele { width: 92px; aspect-ratio: 9 / 16; border-width: 4px; }
.dt-scr .prog { position: absolute; inset: 0; background: linear-gradient(135deg, #3B5A7A, #1B2A3C); }
.dt-scr .prog::after { content: ""; position: absolute; left: 12%; right: 30%; bottom: 18%; height: 34%; border-radius: 50% 50% 0 0; background: rgba(255, 255, 255, .08); }
.dt-scr .msg { position: absolute; left: 0; right: 0; bottom: 0; display: flex; flex-direction: column; justify-content: flex-end; gap: 1px; padding: 14px 9px 7px; font-size: 9px; line-height: 1.25; background: linear-gradient(0deg, rgba(11, 18, 32, .94) 40%, rgba(11, 18, 32, 0)); }
.dt-scr .msg b { font-size: 11px; line-height: 1.15; }
.dt-scr.tv .msg > * { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dt-scr .msg span:last-child { opacity: .8; }
/* Switch-In XXL: Programm verkleinert, Werbung im L-Rahmen */
.dt-scr.switch::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 28%; background: linear-gradient(180deg, var(--deep), var(--sky)); }
.dt-scr.switch .prog { inset: 0 0 auto auto; width: 72%; height: 64%; border-radius: 0 0 0 6px; }
.dt-scr.switch .msg { left: 0; height: 36%; padding: 0 9px; justify-content: center; background: linear-gradient(90deg, var(--deep), var(--sky)); }
.dt-scr.switch .msg span:last-child { display: none; }
/* DOOH-Stele: Hochformat, Text darf umbrechen */
.dt-scr.stele .prog { background: linear-gradient(170deg, var(--sky), var(--deep)); }
.dt-scr.stele .prog::after { display: none; }
.dt-scr.stele .msg { top: 0; padding: 10px 6px; justify-content: flex-end; background: none; font-size: 8px; hyphens: auto; -webkit-hyphens: auto; overflow-wrap: anywhere; }
.dt-scr.stele .msg b { font-size: 9.5px; margin-bottom: 3px; hyphens: manual; -webkit-hyphens: manual; overflow-wrap: normal; }
/* Online Video: Player mit Fortschrittsbalken */
.dt-scr.olv .msg { padding-bottom: 11px; }
.dt-scr.olv .bar { position: absolute; left: 6px; right: 6px; bottom: 4px; height: 2px; background: rgba(255, 255, 255, .25); }
.dt-scr.olv .bar::after { content: ""; position: absolute; inset: 0 60% 0 0; background: #FFD34E; }
.dt-scr .tag { position: absolute; left: 5px; top: 4px; font-size: 7.5px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; padding: 1px 4px; border-radius: 3px; background: rgba(0, 0, 0, .45); }
@media (max-width: 480px) { .dt-prev { grid-template-columns: 1fr; justify-items: center; text-align: center; } }

/* seboo */
.sb-tabs { list-style: none; margin: 0 0 14px; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; counter-reset: sbt; }
.sb-tabs button { width: 100%; border: 0; background: none; padding: 0; display: grid; gap: 6px; font-size: 11px; font-weight: 650; color: var(--ink-2); text-align: left; }
.sb-tabs button::before { content: ""; height: 4px; border-radius: 4px; background: var(--cell); transition: background .25s; }
.sb-tabs button.done::before { background: var(--deep); }
.sb-tabs button[aria-current="step"]::before { background: var(--sky); }
.sb-tabs button[aria-current="step"] { color: var(--ink); }
.sb-panel[hidden] { display: none; }
.sb-panel h4 { margin: 0 0 12px; font-size: 18px; letter-spacing: -0.01em; line-height: 1.25; }
.sb-opt { display: grid; gap: 8px; }
.sb-opt button { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 2px 10px; align-items: center; text-align: left; border: 1px solid var(--line); background: var(--white); border-radius: 13px; padding: 11px 13px; }
.sb-opt button::before { content: ""; grid-row: span 2; width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--line); }
.sb-opt button[aria-checked="true"] { border-color: var(--deep); background: rgba(61, 180, 230, .08); }
.sb-opt button[aria-checked="true"]::before { border-color: var(--deep); background: radial-gradient(var(--deep) 0 4px, transparent 5px); }
.sb-opt b { font-weight: 700; }
.sb-opt small { grid-column: 2; color: var(--ink-2); font-size: 12.5px; }
.sb-field { display: grid; gap: 4px; margin-bottom: 12px; font-size: 13px; color: var(--ink-2); }
.sb-field input[type="text"] { font: inherit; font-size: 15px; color: var(--ink); padding: 10px 12px; border-radius: 11px; border: 1px solid var(--line); background: var(--white); }
.sb-field output { font-weight: 750; color: var(--ink); }
.sb-area { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 14px; align-items: center; }
.sb-radar { width: 96px; height: 96px; border-radius: 50%; background: repeating-radial-gradient(circle, var(--cell) 0 1px, transparent 1px 16px), var(--paper); display: grid; place-items: center; }
.sb-radar i { width: var(--s, 40%); aspect-ratio: 1; border-radius: 50%; background: rgba(61, 180, 230, .28); border: 1.5px solid var(--deep); transition: width .3s var(--ease); }
.sb-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.sb-chips button { border: 1px solid var(--line); background: var(--white); border-radius: 999px; padding: 8px 13px; font-size: 13px; font-weight: 650; }
.sb-chips button[aria-checked="true"] { background: var(--deep); border-color: var(--deep); color: var(--white); }
.sb-chips button[aria-checked="true"]::before { content: "✓ "; }
.sb-make { display: grid; grid-template-columns: minmax(0, 1fr) 150px; gap: 12px; align-items: start; }
.sb-swatches { display: flex; gap: 6px; margin-top: 4px; }
.sb-swatches button { width: 28px; height: 28px; border-radius: 50%; border: 2px solid var(--white); box-shadow: 0 0 0 1px var(--line); }
.sb-swatches button[aria-checked="true"] { box-shadow: 0 0 0 2px var(--deep); }
.sb-banner { width: 150px; aspect-ratio: 300 / 250; border-radius: 8px; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; padding: 10px; color: var(--white); background: var(--sbg, linear-gradient(140deg, #3DB4E6, #2C4C9B)); box-shadow: 0 16px 30px -18px rgba(20, 35, 58, .6); position: relative; }
.sb-banner small { font-size: 8px; opacity: .8; }
.sb-banner b { font-size: 13px; line-height: 1.15; }
.sb-banner span { font-size: 9px; font-weight: 750; align-self: flex-start; padding: 4px 8px; border-radius: 999px; background: var(--white); color: var(--ink); }
.sb-banner em { font-style: normal; font-size: 9px; opacity: .85; }
.sb-sum2 { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; margin: 0 0 6px; font-size: 13.5px; }
.sb-sum2 dt { color: var(--ink-2); }
.sb-sum2 dd { margin: 0; font-weight: 650; text-align: right; }
.sb-nav { display: flex; gap: 8px; margin-top: 16px; }
.sb-nav button, .sb-nav a { flex: 1; text-align: center; border-radius: 999px; padding: 12px; font-weight: 750; font-size: 14px; text-decoration: none; }
.sb-nav .sb-back { border: 1px solid var(--line); background: var(--white); }
.sb-nav .sb-next, .sb-nav a { border: 0; background: var(--ink); color: var(--white) !important; }
.sb-fine { margin: 10px 0 0; font-size: 11.5px; color: var(--ink-2); text-align: center; }

@media (max-width: 480px) {
  .d-ui { padding: 14px; border-radius: 18px; }
  .pq-li { grid-template-columns: 1fr; }
  .dt-body { grid-template-columns: 1fr; }
  .dt-map { max-height: 170px; }
  .sb-make { grid-template-columns: 1fr; }
  .sb-tabs button { font-size: 0; }
}

/* ---------- Anzeigen in den Beispielen ---------- */
.ad { --ad-bg: linear-gradient(140deg, #3DB4E6 0%, #2C4C9B 100%); --ad-c: var(--deep); position: relative; height: 250px; border-radius: 14px; overflow: hidden; background: var(--white); color: var(--ink); display: flex; flex-direction: column; box-shadow: 0 1px 0 rgba(20, 35, 58, .05), 0 20px 40px -30px rgba(20, 35, 58, .5); user-select: none; transition: filter .45s, opacity .45s; }
.ad-flag { position: absolute; top: 6px; right: 6px; z-index: 2; font-size: 10px; font-weight: 700; color: var(--ink-2); background: rgba(255, 255, 255, .88); padding: 2px 6px; border-radius: 4px; }
.ad-img { position: relative; flex: 1; min-height: 0; display: grid; place-items: center; color: var(--white); background: var(--ad-bg); }
.ad-img svg { width: 54px; height: 54px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 6px 16px rgba(0, 0, 0, .18)); }
.ad-live { position: absolute; left: 10px; bottom: 10px; display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 700; padding: 4px 9px; border-radius: 999px; background: rgba(10, 18, 30, .42); color: var(--white); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.ad-live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #5BE49B; animation: dpulse 1.6s ease-in-out infinite; }
.ad-body { padding: 11px 13px 13px; display: grid; gap: 5px; }
.ad-brand { display: flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 700; color: var(--ink-2); margin: 0; }
.ad-brand i { width: 18px; height: 18px; border-radius: 50%; background: var(--ad-c); flex: none; }
.ad-body > b { font-size: 15.5px; line-height: 1.2; letter-spacing: -0.01em; }
.ad-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.ad-row span:first-child { font-size: 12px; color: var(--ink-2); line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ad-cta { flex: none; font-size: 11.5px; font-weight: 750; padding: 7px 11px; border-radius: 999px; background: var(--ad-c); color: var(--white); }

/* Wer macht was? (ruhig) */
.roles { display: grid; grid-template-columns: minmax(0, 1fr) 56px minmax(0, 1fr); align-items: stretch; }
.role { border-radius: 28px; padding: clamp(26px, 3.4vw, 40px); background: var(--white); }
section.white .role { background: var(--paper); }
.role.pq { background: var(--night) !important; color: var(--white); }
.role-k { margin: 0 0 6px; font-size: 13px; font-weight: 750; letter-spacing: .06em; text-transform: uppercase; color: var(--mid-ink); }
.role.pq .role-k { color: var(--sky); }
.role h3 { font-size: clamp(1.35rem, 2vw, 1.7rem); letter-spacing: -0.02em; margin: 0 0 22px; }
.role dl { margin: 0; display: grid; }
.role dl > div { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 16px; padding: 13px 0; border-top: 1px solid var(--line); }
.role.pq dl > div { border-color: rgba(255, 255, 255, .12); }
.role dt { font-size: 14px; color: var(--ink-2); }
.role.pq dt { color: var(--mist); }
.role dd { margin: 0; font-weight: 600; }
.role-link { display: grid; place-items: center; }
.role-link span { width: 44px; height: 50px; display: grid; place-items: center; clip-path: var(--hex); background: var(--brand); color: var(--white); font-size: 18px; font-weight: 700; }
.roles-foot { margin: 18px 0 0; color: var(--ink-2); font-size: 15px; }
@media (max-width: 860px) {
  .roles { grid-template-columns: 1fr; }
  .role-link { padding: 8px 0; }
  .role-link span { transform: rotate(90deg); }
}
@media (max-width: 480px) { .role dl > div { grid-template-columns: 1fr; gap: 2px; } }
.fact.zero .crumb-ico .d { stroke-width: 5; }
.pq-rule { min-height: 118px; }

/* Produktlogos */
.sc-logo { margin: 4px 0 18px; line-height: 0; }
.sc-logo img, .hero-logo img { display: block; width: auto; max-width: 100%; }
.sc-logo.pq img { height: clamp(56px, 6vw, 76px); }
.sc-logo.dt img { height: clamp(34px, 3.6vw, 46px); }
.sc-logo.sb img { height: clamp(40px, 4.2vw, 54px); }
.hero-logo { margin: 0 0 28px; line-height: 0; position: relative; z-index: 1; }
.hero-logo.pq img { height: clamp(56px, 6vw, 80px); }
.hero-logo.dt img { height: clamp(32px, 3.4vw, 44px); }
.hero-logo.sb img { height: clamp(38px, 4vw, 52px); }

/* Menü: Lösungen mit Untermenü */
.nav-sub { position: relative; }
.nav-sub-btn { display: inline-flex; align-items: center; gap: 4px; background: none; border: 0; font: inherit; font-size: 16px; font-weight: 500; color: var(--ink); padding: 8px 13px; border-radius: 999px; cursor: pointer; transition: background .2s; }
.nav-sub-btn:hover, .nav-sub.open .nav-sub-btn { background: rgba(20, 35, 58, .06); }
.nav-sub-btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s var(--ease); }
.nav-sub.open .nav-sub-btn svg { transform: rotate(180deg); }
.nav-sub.current .nav-sub-btn { font-weight: 700; }
.nav-panel { position: absolute; left: 0; top: 100%; z-index: 40; min-width: 320px; margin-top: 10px; padding: 8px; display: grid; gap: 2px; background: var(--white); border: 1px solid var(--line); border-radius: 20px; box-shadow: 0 30px 60px -30px rgba(20, 35, 58, .45); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .2s, transform .25s var(--ease), visibility 0s .25s; }
.nav-panel::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.nav-sub.open .nav-panel { opacity: 1; visibility: visible; transform: none; transition: opacity .2s, transform .25s var(--ease), visibility 0s; }
@media (hover: hover) and (min-width: 1081px) { .nav-sub:hover .nav-panel { opacity: 1; visibility: visible; transform: none; transition: opacity .2s, transform .25s var(--ease), visibility 0s; } .nav-sub:hover .nav-sub-btn svg { transform: rotate(180deg); } }
.nav .nav-panel a { display: grid; grid-template-columns: 14px minmax(0, 1fr); gap: 2px 12px; padding: 12px 14px; border-radius: 14px; }
.nav .nav-panel a::before { content: ""; grid-row: span 2; align-self: center; width: 12px; height: 14px; clip-path: var(--hex); background: var(--cell); transition: background .2s; }
.nav .nav-panel a:hover::before, .nav .nav-panel a[aria-current="page"]::before { background: linear-gradient(135deg, var(--sky), var(--deep)); }
.nav .nav-panel a[aria-current="page"]::after { display: none; }
.nav .nav-panel b { font-weight: 700; }
.nav .nav-panel span { grid-column: 2; font-size: 14px; color: var(--ink-2); }
/* Im Offcanvas-Menü stehen die Produkte direkt sichtbar als Kacheln unter einer kleinen Überschrift */
@media (max-width: 1080px) {
  .nav-label { display: block; margin: 4px 2px 10px; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
  .nav-sub { margin: 0 0 10px; border-bottom: 0; }
  .nav-sub-btn { display: none; }
  .nav-panel, .site-header.float .nav-panel { position: static; display: grid; gap: 6px; min-width: 0; margin: 0; padding: 0; border: 0; box-shadow: none; background: none; opacity: 1; visibility: visible; transform: none; }
  .nav-panel::before { display: none; }
  .nav .nav-panel a { padding: 11px 14px; border-bottom: 0; border-radius: 16px; background: var(--paper); font-size: 18px; transition: background .2s; }
  .nav .nav-panel a:hover, .nav .nav-panel a:active { background: #E8ECF0; }
  .nav .nav-panel span { font-size: 14px; }
}

/* Cookie-Einwilligung: Ablehnen und Zustimmen gleich gewichtet, Seite bleibt bedienbar.
   Der Banner hängt in der Navigation (.site-header .wrap, eingefügt von consent.js) und kommt immer von unten:
   - Kein Dock sichtbar (oben auf der Seite): fährt unten mittig aus dem Bildschirmrand, so breit wie das Dock
     (--dock-w misst assets/main.js)
   - Dock sichtbar (.float): rollt nach oben aus dem Dock heraus, genau so breit wie das Dock
   Scrollt man bei offenem Banner, wechselt er mit. */
.cc { position: fixed; z-index: 1; left: 0; right: 0; bottom: max(16px, env(safe-area-inset-bottom)); width: min(var(--dock-w, 760px), calc(100% - 24px)); margin: 0 auto; max-height: calc(100svh - 120px); overflow: auto; padding: 22px; border-radius: 28px; background: var(--white); color: var(--ink); box-shadow: 0 0 0 1px rgba(20, 35, 58, .08), 0 30px 60px -20px rgba(20, 35, 58, .45); animation: cc-up .55s var(--ease) both; }
.site-header.float .cc { position: absolute; bottom: calc(100% + 11px); left: -1px; right: -1px; width: auto; margin: 0; animation-name: cc-rise; } /* -1px gleicht den Rahmen des Docks aus */
@media (max-width: 1080px) { .cc { width: auto; left: 12px; right: 12px; } }
.cc[hidden] { display: none; }
@keyframes cc-up { from { transform: translateY(calc(100% + 40px)); } }
@keyframes cc-rise { from { clip-path: inset(100% 0 0 0 round 28px); transform: translateY(14px); } to { clip-path: inset(-80px); } }
@media (prefers-reduced-motion: reduce) { .cc, .site-header.float .cc { animation: none; } }
html.no-motion .cc, html.no-motion .site-header.float .cc { animation: none; }
/* Unsichtbare Kopie des Docks zum Messen der Breite (main.js) */
.site-header.measure { position: fixed; left: 0; top: 0; visibility: hidden; pointer-events: none; view-transition-name: none; }
.site-header.measure .wrap { animation: none; }
.cc-title { font-size: 19px; font-weight: 750; letter-spacing: -0.01em; margin: 0 0 8px; outline: none; }
.cc-text { margin: 0; font-size: 14px; line-height: 1.5; color: var(--ink-2); max-width: none; }
.cc-text a { color: var(--ink); }
.cc-prefs { display: grid; gap: 10px; margin-top: 16px; }
.cc-prefs[hidden] { display: none; }
.cc-cat { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 10px; align-items: start; margin: 0; padding: 12px 14px; border: 1px solid var(--line); border-radius: 18px; font-size: 13px; font-weight: 400; color: var(--ink-2); cursor: pointer; }
.cc-cat b { display: block; font-size: 14px; color: var(--ink); margin-bottom: 2px; }
.cc-cat input { width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--deep); }
.cc-cat input:disabled { cursor: default; }
.cc-note { grid-column: 1 / -1; margin: 0; font-size: 13px; color: var(--ink-2); }
.cc-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.cc-btn { flex: 1 1 140px; border: 1.5px solid var(--ink); border-radius: 999px; padding: 12px 16px; background: var(--ink); color: var(--white); font: inherit; font-size: 15px; font-weight: 650; cursor: pointer; transition: background .2s, border-color .2s; }
.cc-btn:hover { background: var(--deep); border-color: var(--deep); }
.cc-btn[hidden], .cc-link[hidden] { display: none; }
.cc-link { flex: 1 1 100%; border: 0; background: none; padding: 4px; font: inherit; font-size: 14px; font-weight: 600; color: var(--ink-2); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.cc-btn:focus-visible, .cc-link:focus-visible, .cc-cat input:focus-visible { outline: 3px solid var(--deep); outline-offset: 2px; box-shadow: 0 0 0 2px var(--white); }
@media (min-width: 1081px) {
  /* Desktop: breiter Banner, Text oben, darunter links „Einstellungen“ und rechts die Knöpfe */
  .cc { padding: 26px 30px; }
  .cc-title { font-size: 20px; }
  .cc-text { font-size: 15px; line-height: 1.6; }
  .cc-prefs { grid-template-columns: 1fr 1fr; }
  .cc-actions { flex-wrap: nowrap; align-items: center; justify-content: flex-end; gap: 10px; margin-top: 20px; }
  .cc-link { flex: none; margin-right: auto; }
  .cc-btn { flex: 0 0 auto; min-width: 190px; padding: 13px 22px; }
}
.legal-link { border: 0; background: none; padding: 0; font: inherit; color: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

/* Rechtstexte: Impressum und Datenschutz */
.legal-sec { padding: 0 0 clamp(72px, 9vw, 128px); }
.legal-doc { font-size: 17px; line-height: 1.65; color: var(--ink-2); }
.legal-doc h2 { margin: 52px 0 14px; font-size: clamp(1.35rem, 2vw, 1.6rem); line-height: 1.25; letter-spacing: -0.015em; color: var(--ink); scroll-margin-top: 96px; }
.legal-doc h2:first-of-type { margin-top: 0; }
.legal-doc h3 { margin: 32px 0 8px; font-size: 1.1rem; color: var(--ink); }
.legal-doc p, .legal-doc ul, .legal-doc address, .legal-doc dl { max-width: none; margin: 0 0 16px; }
.legal-doc address { font-style: normal; color: var(--ink); }
.legal-doc ul { padding-left: 20px; }
.legal-doc li { margin-bottom: 6px; }
.legal-doc b { color: var(--ink); }
.legal-doc a { color: var(--deep); overflow-wrap: anywhere; }
.legal-doc .legal-link { color: var(--deep); font-weight: 600; }
.legal-dl { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 6px 24px; }
.legal-dl dt { color: var(--ink-2); }
.legal-dl dd { margin: 0; color: var(--ink); }
.legal-toc { margin: 0 0 56px; padding: 24px 28px; border-radius: 20px; background: var(--paper); }
.legal-toc ol { margin: 0; padding-left: 22px; columns: 2; column-gap: 32px; font-size: 15px; }
.legal-toc li { break-inside: avoid; }
.legal-toc a { color: var(--ink); text-decoration: none; }
.legal-toc a:hover { color: var(--deep); text-decoration: underline; }
.legal-box { padding: 18px 20px; border-left: 3px solid var(--sky); border-radius: 0 14px 14px 0; background: var(--paper); }
.legal-date { margin-top: 48px !important; font-size: 14px; }
@media (max-width: 640px) { .legal-toc ol { columns: 1; } .legal-dl { grid-template-columns: 1fr; gap: 0; } .legal-dl dd { margin-bottom: 8px; } }

/* Kontaktformular: Status und Bestätigung */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin: 0; padding: 14px 18px; border-radius: 14px; background: #E6F5EC; color: #17603A; font-size: 15px; }
.form-status.err { background: #FDECEA; color: #A3261B; }
.form-status[hidden] { display: none; }
.form-status a { color: inherit; }
.btn[disabled] { opacity: .6; cursor: wait; }
.form-done { padding: clamp(28px, 4vw, 44px); border-radius: 24px; background: var(--paper); outline: none; }
.form-done h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 0 0 12px; }
.form-done p { margin: 0; color: var(--ink-2); font-size: 17px; }
.form-done b { color: var(--ink); overflow-wrap: anywhere; }

/* ================= Barrierefreiheit ================= */
/* Sprunglink: erst bei Tastaturfokus sichtbar */
.skip { position: absolute; left: 12px; top: -200px; z-index: 1100; padding: 12px 18px; border-radius: 10px; background: var(--ink); color: var(--white); font-weight: 650; font-size: 16px; text-decoration: none; }
.skip:focus { top: 12px; color: var(--white); }
main:focus { outline: none; }
.explore-list .t { display: block; line-height: 1.25; letter-spacing: -0.01em; }

/* Bewegung anhalten (Schalter im Seitenfuß und im Kopfbereich) */
html.no-motion *, html.no-motion *::before, html.no-motion *::after { animation-duration: 0s !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: 0s !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
html.no-motion ::view-transition-old(root), html.no-motion ::view-transition-new(root) { animation: none; }
html.no-motion .ticker { -webkit-mask-image: none; mask-image: none; }
html.no-motion .ticker ul { animation: none; width: auto; flex-wrap: wrap; justify-content: center; gap: 10px 32px; padding: 0 var(--gutter); }
html.no-motion .ticker li { gap: 0; }
html.no-motion .ticker li::after { display: none; }
html.no-motion .ticker li[aria-hidden] { display: none; }
.stage-pause { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; padding: 8px 14px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .35); background: transparent; color: var(--white); font: inherit; font-size: 14px; font-weight: 650; cursor: pointer; }
.stage-pause:hover { border-color: var(--white); }
.stage-pause svg { width: 14px; height: 14px; fill: currentColor; }

/* Formular: Fehlermeldungen direkt am Feld */
.field-err { margin: 8px 0 0; font-size: 15px; font-weight: 600; color: #B3261E; }
.field-err::before { content: "! "; font-weight: 800; }
input[aria-invalid="true"], textarea[aria-invalid="true"] { border-color: #B3261E; border-width: 2px; }
.form-req { font-size: 15px; color: var(--ink-2); margin: 0; }

/* Sprachumschalter */
.lang-switch { display: inline-flex; align-items: center; gap: 6px; font-size: 15px; font-weight: 650; text-decoration: none; color: inherit; }
.lang-switch svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.nav a.lang-switch { margin-left: 6px; letter-spacing: .04em; }
@media (max-width: 1080px) { .nav a.lang-switch { justify-content: center; margin: 6px 0 0; padding: 10px; border-bottom: 0; font-size: 16px; letter-spacing: .04em; } }
