/* =========================================================
   KPG · Kapital Partner GmbH — Relaunch-Entwurf
   Darstellung: dunkel (Nachthimmel/Navigation) und hell (Morgenlicht) – Wahl: Hell / Dunkel / System
   ========================================================= */

:root,
[data-theme="dark"] {
  --bg: #0B1426;
  --bg-2: #101D35;
  --bg-3: #162744;
  --surface: rgba(150, 185, 245, 0.06);
  --surface-2: rgba(150, 185, 245, 0.11);
  --line: rgba(160, 195, 250, 0.18);
  --line-2: rgba(160, 195, 250, 0.32);
  --ink: #F5F8FD;
  --ink-2: #C9D3E2;
  --ink-3: #93A2BA;
  --brand: #2F69B5;
  --brand-hi: #85B3F5;
  --brand-ink: #FFFFFF;
  --glow-1: rgba(47, 105, 181, 0.42);
  --glow-2: rgba(116, 166, 238, 0.16);
  --glow-3: rgba(201, 169, 106, 0.08);
  --warm: #D6B67A;
  --star: 1;
  --shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.75);
  --header-bg: rgba(11, 20, 38, 0.7);
  --danger: #F87171;
  --logo-blue: #5B8FD8;
  --logo-ink: #F5F8FD;
  color-scheme: dark;
}

[data-theme="light"] {
  --bg: #F7F9FC;
  --bg-2: #E8EEF6;
  --bg-3: #DCE5F1;
  --surface: rgba(255, 255, 255, 0.78);
  --surface-2: rgba(255, 255, 255, 0.9);
  --line: rgba(20, 45, 90, 0.13);
  --line-2: rgba(20, 45, 90, 0.22);
  --ink: #0A111D;
  --ink-2: #344055;
  --ink-3: #5F6C82;
  --brand: #2F69B5;
  --brand-hi: #2457A0;
  --brand-ink: #FFFFFF;
  --glow-1: rgba(47, 105, 181, 0.20);
  --glow-2: rgba(116, 166, 238, 0.22);
  --glow-3: rgba(214, 182, 122, 0.16);
  --warm: #A9844A;
  --star: 1; /* Sterne auch hell – dezent dunkelblau, siehe main.js */
  --shadow: 0 30px 70px -35px rgba(20, 45, 90, 0.35);
  --header-bg: rgba(247, 249, 252, 0.8);
  --danger: #C62828;
  --logo-blue: #2F69B5;
  --logo-ink: #13171A;
  color-scheme: light;
}

/* Ersatzschriften, solange Google Fonts nicht erlaubt sind (Größe an die Webschriften angeglichen) */
@font-face { font-family: "KPG Serif"; src: local("Garamond"), local("Hoefler Text"), local("Times New Roman"), local("Times"); size-adjust: 94%; }
@font-face { font-family: "KPG Sans"; src: local("Segoe UI"), local("Helvetica Neue"), local("Arial"); size-adjust: 97%; }

:root {
  --f-display: "Cormorant Garamond", "KPG Serif", Georgia, serif;
  --f-brand: "Cinzel", "Trajan Pro", "KPG Serif", serif;
  --f-num: "Bodoni Moda", "Bodoni 72", Didot, "Bodoni MT", "KPG Serif", serif; /* Versalziffern – Cormorant hat nur Mediävalziffern */
  --f-body: "Manrope", system-ui, -apple-system, "KPG Sans", sans-serif;
  /* Typo-Skala: fließend zwischen 375 px und 1440 px Breite */
  --fs-hero: clamp(2.875rem, 1.9rem + 4.4vw, 6rem);        /* 46 → 96 */
  --fs-display: clamp(2.375rem, 1.6rem + 3.2vw, 4.25rem);  /* 38 → 68 */
  --fs-band: clamp(2.125rem, 1.45rem + 2.6vw, 3.75rem);    /* 34 → 60 */
  --fs-h2: clamp(1.875rem, 1.35rem + 2.1vw, 3rem);         /* 30 → 48 */
  --fs-h2s: clamp(1.625rem, 1.25rem + 1.3vw, 2.25rem);     /* 26 → 36 */
  --fs-h3: clamp(1.3125rem, 1.15rem + .6vw, 1.625rem);     /* 21 → 26 */
  --fs-lead: clamp(1.0625rem, 1rem + .3vw, 1.25rem);       /* 17 → 20 */
  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --r: 18px;
  --r-lg: 28px;
  --ease: cubic-bezier(.2, .7, .1, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 17px/1.65 var(--f-body);
  -webkit-font-smoothing: antialiased;
  font-variant-numeric: lining-nums;
  overflow-x: hidden;
  transition: background-color .6s var(--ease), color .6s var(--ease);
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
::selection { background: var(--brand); color: #fff; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--brand); color: #fff; padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--brand-hi); outline-offset: 3px; border-radius: 6px; }

/* ---------- Typografie ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font: 600 12px/1 var(--f-body); letter-spacing: .22em; text-transform: uppercase;
  color: var(--brand-hi); margin: 0 0 22px;
}
.display {
  font: 500 var(--fs-display)/1.08 var(--f-display);
  letter-spacing: -.015em; margin: 0 0 24px; text-wrap: balance;
}
.display em, .h2 em { font-style: italic; color: var(--brand-hi); }
.h2 { font: 500 var(--fs-h2)/1.12 var(--f-display); letter-spacing: -.01em; margin: 0 0 22px; text-wrap: balance; }
.h3 { font: 600 var(--fs-h3)/1.25 var(--f-display); margin: 0 0 10px; }
.lead { font-size: var(--fs-lead); line-height: 1.7; color: var(--ink-2); max-width: 60ch; margin: 0 0 32px; }
.muted { color: var(--ink-3); }
.small { font-size: 14px; }
p { margin: 0 0 1em; }

/* ---------- Hintergrund mit Tiefe ---------- */
.sky { position: fixed; inset: 0 0 auto; height: 100vh; height: 100lvh; z-index: -1; pointer-events: none; overflow: hidden; } /* 100lvh: bleibt gleich, wenn am Handy die Adressleiste ein- oder ausfährt */
.sky__stars { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; opacity: var(--star); transition: opacity .8s; } /* über dem Verlauf, sonst unsichtbar */
.sky__glow {
  position: absolute; inset: -20%;
  background:
    radial-gradient(40% 35% at 78% 12%, var(--glow-1), transparent 70%),
    radial-gradient(35% 30% at 10% 60%, var(--glow-2), transparent 70%),
    radial-gradient(40% 30% at 60% 100%, var(--glow-3), transparent 70%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 60%, var(--bg) 100%);
  transition: background .8s;
}
.sky__grain {
  position: absolute; inset: 0; z-index: 2; 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='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 24px; border-radius: 999px; border: 1px solid transparent;
  font: 600 15px/1 var(--f-body); letter-spacing: .01em; white-space: nowrap;
  transition: transform .3s var(--ease), background .3s, border-color .3s, box-shadow .3s, color .3s;
}
.btn--primary { background: var(--brand); color: var(--brand-ink); box-shadow: 0 10px 30px -10px rgba(47,105,181,.8), inset 0 1px 0 rgba(255,255,255,.18); }
.btn--primary:hover { transform: translateY(-2px); background: #3A78C8; box-shadow: 0 16px 40px -12px rgba(47,105,181,.95), inset 0 1px 0 rgba(255,255,255,.2); }
.btn--ghost { border-color: var(--line-2); background: var(--surface); backdrop-filter: blur(8px); }
.btn--ghost:hover { border-color: var(--brand-hi); transform: translateY(-2px); }
.btn--lg { padding: 18px 30px; font-size: 16px; }
.link-arrow { display: inline-flex; gap: 8px; align-items: center; font-weight: 600; color: var(--brand-hi); }
.link-arrow::after { content: "→"; transition: transform .3s var(--ease); }
.link-arrow:hover::after { transform: translateX(5px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  transition: background .4s, border-color .4s, backdrop-filter .4s;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled { background: var(--header-bg); backdrop-filter: blur(16px) saturate(1.3); -webkit-backdrop-filter: blur(16px) saturate(1.3); border-color: var(--line); }
.site-header__inner { display: flex; align-items: center; gap: 24px; height: 84px; max-width: 1360px; }
.brand { display: inline-flex; align-items: center; gap: 12px; flex: none; }
.brand__mark { width: 38px; height: 38px; color: var(--brand-hi); transition: transform 1.2s var(--ease); }
.brand__word { display: flex; flex-direction: column; line-height: 1; }
.brand__word b { font: 700 26px/1 var(--f-brand); letter-spacing: .02em; }
.brand__word b i { font-style: normal; color: var(--brand-hi); }
[data-theme="light"] .brand__word b i, [data-theme="light"] .brand__mark { color: var(--brand); }
.brand__word small { white-space: nowrap; font: 500 9.5px/1 var(--f-brand); letter-spacing: .2em; text-transform: uppercase; color: var(--ink-2); margin-top: 6px; }

.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav > a:not(.btn) { position: relative; white-space: nowrap; padding: 10px 12px; font-size: 14.5px; font-weight: 500; color: var(--ink-2); transition: color .25s; }
.nav > a:not(.btn)::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 1px; background: var(--brand-hi); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.nav > a:not(.btn):hover, .nav > a[aria-current] { color: var(--ink); }
.nav > a:not(.btn):hover::after, .nav > a[aria-current]::after { transform: scaleX(1); }
.nav__cta { margin-left: 10px; padding: 12px 20px; font-size: 14px; }


.burger { display: none; width: 44px; height: 44px; border: 1px solid var(--line-2); border-radius: 50%; background: var(--surface); position: relative; }
.burger span { position: absolute; left: 13px; right: 13px; height: 1.5px; background: currentColor; transition: transform .35s var(--ease), top .35s; }
.burger span:nth-child(1) { top: 17px; } .burger span:nth-child(2) { top: 25px; }
.burger[aria-expanded="true"] span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { top: 21px; transform: rotate(-45deg); }

/* ---------- Sektionen ---------- */
section { position: relative; }
.section { padding: clamp(110px, 14vw, 200px) 0; }
.section--tight { padding: clamp(70px, 9vw, 120px) 0; }
.section-head { max-width: 760px; margin-bottom: clamp(56px, 7vw, 96px); }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.section-head--center .lead { margin-left: auto; margin-right: auto; }
.divider { height: 1px; background: linear-gradient(90deg, transparent, var(--line-2), transparent); border: 0; margin: 0; }

/* ---------- Hero (Start) ---------- */
.hero { min-height: calc(100svh - 84px); display: flex; align-items: center; padding: 40px 0 70px; overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: 40px; align-items: center; }
.hero__title { font: 500 var(--fs-hero)/1 var(--f-display); letter-spacing: -.02em; margin: 0 0 28px; }
.hero__title .line { display: block; overflow: hidden; padding: 0 .08em .32em 0; margin-bottom: -.26em; }
.hero__title .line > span { display: inline-block; transform: translateY(105%); animation: rise 1.2s var(--ease) forwards; }
.hero__title .line:nth-child(2) > span { animation-delay: .15s; font-style: italic; color: var(--brand-hi); }
@keyframes rise { to { transform: none; } }
.hero__lead { opacity: 0; animation: fade 1s .55s var(--ease) forwards; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; opacity: 0; animation: fade 1s .7s var(--ease) forwards; }
.hero__note { margin-top: 26px; display: flex; gap: 10px; align-items: center; font-size: 13.5px; color: var(--ink-3); opacity: 0; animation: fade 1s .85s var(--ease) forwards; }
.hero__note::before { content: ""; width: 7px; height: 7px; transform: rotate(45deg); background: var(--brand-hi); flex: none; }
@keyframes fade { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* Großer Kompass mit Gradnetz */
.orbit { position: relative; aspect-ratio: 1; width: min(560px, 100%); margin-left: auto; opacity: 0; animation: fade 1.6s .2s var(--ease) forwards; }
.orbit svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.orbit__dial { color: var(--line-2); }
/* Skala dreht als Ganzes auf der Grafikkarte – kein Neuzeichnen feiner Linien pro Bild (sonst flimmert es am Handy) */
.orbit__turn { animation: spin 240s linear infinite; will-change: transform; }
.orbit__dial text { fill: var(--ink-3); font: 600 7px var(--f-body); letter-spacing: .15em; }
.orbit__dial .cardinal { fill: var(--ink); font: 700 9px var(--f-brand); }
.orbit__rose { color: var(--brand-hi); filter: drop-shadow(0 0 30px var(--glow-1)); will-change: transform; } /* Drehung führt main.js weich nach */
[data-theme="light"] .orbit__rose { color: var(--brand); }
.orbit__halo { position: absolute; inset: 18%; border-radius: 50%; background: radial-gradient(circle, var(--glow-1), transparent 65%); filter: blur(20px); }
.orbit__ping { position: absolute; left: 50%; top: 50%; width: 10px; height: 10px; margin: -5px; border-radius: 50%; background: var(--warm); box-shadow: 0 0 20px var(--warm); }
.orbit__ping::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 1px solid var(--warm); animation: ping 2.8s var(--ease) infinite; }
@keyframes ping { from { transform: scale(.4); opacity: 1; } to { transform: scale(4); opacity: 0; } }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Kennzahlen ---------- */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); backdrop-filter: blur(12px); overflow: hidden; }
.stat {
  position: relative; text-align: left; background: none; border: 0; padding: 34px 30px 30px; border-right: 1px solid var(--line);
  transition: background .35s;
}
.stat:last-child { border-right: 0; }
.stat:hover { background: var(--surface-2); }
.stat__num { display: block; font: 500 clamp(46px, 5vw, 72px)/1 var(--f-display); letter-spacing: -.02em; margin-bottom: 10px; font-variant-numeric: lining-nums tabular-nums; }
.stat__num sup { font-size: .45em; color: var(--brand-hi); vertical-align: top; position: relative; top: .25em; margin-left: 2px; }
.stat__num small { font: 500 .32em var(--f-body); color: var(--ink-2); margin-left: 6px; letter-spacing: 0; }
.stat__label { display: block; font-size: 14.5px; color: var(--ink-2); line-height: 1.45; max-width: 22ch; }
.stat__more { position: absolute; top: 26px; right: 24px; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; font-size: 15px; color: var(--brand-hi); transition: transform .4s var(--ease), background .3s, color .3s; }
.stat:hover .stat__more { transform: rotate(45deg); background: var(--brand); color: #fff; border-color: var(--brand); }
.stats-hint { margin: 14px 4px 0; font-size: 13px; color: var(--ink-3); }

/* ---------- Manifest ---------- */
.manifest { max-width: 1040px; }
.manifest__text { font: 400 clamp(1.625rem, 1.2rem + 1.75vw, 2.625rem)/1.3 var(--f-display); letter-spacing: -.005em; margin: 0; }
.manifest__text .w { color: var(--ink-3); opacity: .35; transition: opacity .5s, color .5s; }
.manifest__text .w.on { opacity: 1; color: var(--ink); }
.manifest__text em .w.on { color: var(--brand-hi); }
.manifest__cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; margin-top: 64px; }
.manifest__cols p { color: var(--ink-2); font-size: 16px; border-top: 1px solid var(--line-2); padding-top: 20px; }
.manifest__cols b { display: block; color: var(--ink); font: 600 22px/1.2 var(--f-display); margin-bottom: 8px; }

/* ---------- Philosophie-Kompass (interaktiv) ---------- */
.philo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 90px); align-items: center; }
.rose { position: relative; aspect-ratio: 1; width: min(520px, 100%); margin: 0 auto; }
.rose svg { width: 100%; height: 100%; overflow: visible; }
.rose__ring { fill: none; stroke: var(--line-2); }
.rose__tick { stroke: var(--line-2); }
.rose__needle { transition: transform 1.2s cubic-bezier(.34, 1.4, .5, 1); transform-origin: 0 0; }
.rose__needle .n { fill: var(--brand-hi); }
.rose__needle .s { fill: var(--ink-3); opacity: .5; }
[data-theme="light"] .rose__needle .n { fill: var(--brand); }
.rose__btn { cursor: pointer; }
.rose__btn circle { fill: var(--bg-2); stroke: var(--line-2); transition: fill .3s, stroke .3s; }
.rose__btn text { fill: var(--ink-2); font: 700 13px var(--f-brand); text-anchor: middle; dominant-baseline: central; pointer-events: none; transition: fill .3s; }
.rose__btn:hover circle, .rose__btn.is-active circle { fill: var(--brand); stroke: var(--brand); }
.rose__btn:hover text, .rose__btn.is-active text { fill: #fff; }
.rose__btn:focus-visible circle { stroke: var(--brand-hi); stroke-width: 3; }
.principles { display: grid; gap: 10px; }
.principle {
  padding: 20px 24px; border-radius: var(--r); border: 1px solid var(--line); background: transparent;
  transition: background .4s, border-color .4s;
}
.principle h3 { margin: 0; }
.principle button { display: grid; grid-template-columns: 46px minmax(0, 1fr); gap: 18px; align-items: center; width: 100%; padding: 0; border: 0; background: none; text-align: left; font: 600 var(--fs-h3)/1.25 var(--f-display); color: var(--ink); }
.principle__dir { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; font: 700 14px var(--f-brand); color: var(--brand-hi); transition: all .4s; }
.principle p { margin: 8px 0 0 64px; color: var(--ink-2); font-size: 15px; overflow: hidden; transition: height .6s var(--ease), opacity .5s, margin .5s; }
.js .principle:not(.is-active) p { height: 0; opacity: 0; margin-top: 0; }
.principle.is-active { background: var(--surface-2); border-color: var(--line-2); }
.principle.is-active .principle__dir { background: var(--brand); border-color: var(--brand); color: #fff; }
.js .principle.is-active p { height: var(--principle-h, auto); opacity: 1; } /* --principle-h: Höhe der längsten Antwort (main.js) */

/* ---------- Karten ---------- */
.cards { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 24px; }
.card {
  grid-column: span 2; position: relative; overflow: hidden; isolation: isolate;
  padding: 34px 30px 30px; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--surface);
  backdrop-filter: blur(10px); display: flex; flex-direction: column; min-height: 320px;
  transition: transform .5s var(--ease), border-color .4s;
}
.card:nth-child(4), .card:nth-child(5) { grid-column: span 3; }
.card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(500px circle at var(--mx, 50%) var(--my, 0%), var(--glow-2), transparent 45%); opacity: 0; transition: opacity .4s; }
.card:hover { transform: translateY(-6px); border-color: var(--line-2); }
.card:hover::before { opacity: 1; }
.card__no { font: 500 13px var(--f-body); letter-spacing: .2em; color: var(--ink-3); }
.card__icon { width: 54px; height: 54px; margin: 26px 0 26px; color: var(--brand-hi); }
.card__icon svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.3; }
.card h3 { font: 600 var(--fs-h3)/1.22 var(--f-display); margin: 0 0 12px; }
.card p { color: var(--ink-2); font-size: 15.5px; margin: 0 0 22px; }
.card .link-arrow { margin-top: auto; font-size: 14.5px; }

/* ---------- Track-Record-Teaser / Balken ---------- */
.split { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(40px, 6vw, 90px); align-items: start; }
.bars { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.bar { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 20px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.bar__t { font-size: 15.5px; color: var(--ink); }
.bar__t small { color: var(--ink-3); margin-left: 8px; font-size: 13px; }
.bar__v { font: 600 22px/1 var(--f-display); font-variant-numeric: tabular-nums; white-space: nowrap; }
.bar__v small { font: 500 12px var(--f-body); color: var(--ink-3); margin-left: 4px; }
.bar__track { grid-column: 1 / -1; height: 3px; background: var(--line); border-radius: 3px; overflow: hidden; }
.bar__fill { height: 100%; width: var(--w, 0%); background: linear-gradient(90deg, var(--brand), var(--brand-hi)); border-radius: 3px; transform-origin: left; transform: scaleX(0); transition: transform 1.4s var(--ease); }
.is-in .bar__fill, .dossier .bar__fill { transform: scaleX(1); }

/* ---------- Prozess ---------- */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; position: relative; list-style: none; margin: 0; padding: 0; }
.steps::before { content: ""; position: absolute; top: 27px; left: 28px; right: 28px; height: 1px; background: repeating-linear-gradient(90deg, var(--line-2) 0 6px, transparent 6px 12px); }
.step { position: relative; padding-right: 28px; }
.step__dot { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--bg-2); border: 1px solid var(--line-2); font: 700 15px var(--f-brand); color: var(--brand-hi); margin-bottom: 26px; position: relative; }
.step:first-child .step__dot { background: var(--brand); color: #fff; border-color: var(--brand); box-shadow: 0 0 0 8px var(--glow-2); }
.step h3 { font: 600 var(--fs-h3)/1.25 var(--f-display); margin: 0 0 10px; }
.step p { color: var(--ink-2); font-size: 15px; margin: 0; }

/* ---------- Zitat / Vertrauen ---------- */
.quote { text-align: center; max-width: 980px; margin: 0 auto; }
.quote blockquote { margin: 0; font: italic 400 clamp(1.75rem, 1.25rem + 2vw, 2.875rem)/1.22 var(--f-display); letter-spacing: -.01em; }
.quote blockquote::before { content: "“"; display: block; font: 400 96px/0.6 var(--f-display); color: var(--brand-hi); margin-bottom: 16px; }
.quote cite { display: block; margin-top: 28px; font: 600 12px var(--f-body); letter-spacing: .22em; text-transform: uppercase; color: var(--ink-3); font-style: normal; }
.pillars { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 44px; }
.pill { padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 14px; color: var(--ink-2); background: var(--surface); }

/* ---------- CTA-Band ---------- */
.cta-band { padding: clamp(80px, 10vw, 140px) 0; }
.cta-band__inner {
  position: relative; overflow: hidden; text-align: center; padding: clamp(60px, 8vw, 110px) clamp(24px, 5vw, 80px);
  border-radius: 36px; border: 1px solid var(--line-2);
  background: radial-gradient(80% 120% at 50% 0%, rgba(47,105,181,.38), transparent 60%), var(--surface);
}
.cta-band__rose { position: absolute; width: 640px; height: 640px; left: 50%; top: 50%; margin: -320px 0 0 -320px; color: var(--brand-hi); opacity: .07; animation: spin 180s linear infinite; pointer-events: none; }
.cta-band .eyebrow { justify-content: center; }
.cta-band .display { font-size: var(--fs-band); }
.cta-band .lead { margin-left: auto; margin-right: auto; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 70px 0 34px; background: linear-gradient(180deg, transparent, var(--bg-2)); }
.site-footer__grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr); gap: 40px; }
.site-footer__brand p { color: var(--ink-3); font-size: 14.5px; max-width: 34ch; margin-top: 20px; }
.site-footer h2 { font: 600 12px var(--f-body); letter-spacing: .2em; text-transform: uppercase; color: var(--ink-3); margin: 6px 0 18px; }
.site-footer__grid a:not(.brand), .site-footer__grid span { display: block; color: var(--ink-2); font-size: 14.5px; margin-bottom: 10px; transition: color .25s; }
.site-footer__grid a:not(.brand):hover { color: var(--ink); }
.site-footer__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 56px; padding-top: 26px; border-top: 1px solid var(--line); color: var(--ink-3); font-size: 13px; }
.mobile-cta { display: none; }

/* ---------- Unterseiten-Hero ---------- */
.page-hero { padding: clamp(60px, 9vw, 120px) 0 clamp(50px, 7vw, 90px); position: relative; overflow: hidden; }
.page-hero__rose { position: absolute; right: -140px; top: 50%; width: 620px; height: 620px; margin-top: -310px; color: var(--brand-hi); opacity: .09; animation: spin 200s linear infinite; pointer-events: none; }
.page-hero .display { max-width: 20ch; }
.crumbs { display: flex; gap: 8px; font-size: 13px; color: var(--ink-3); margin-bottom: 30px; }
.crumbs a:hover { color: var(--ink); }

/* ---------- Leistungen ---------- */
.service { display: grid; grid-template-columns: 90px minmax(0, 1fr) minmax(0, 1fr); gap: 40px; padding: 54px 0; border-top: 1px solid var(--line); align-items: start; }
.service:last-child { border-bottom: 1px solid var(--line); }
.service__no { font: 500 15px var(--f-brand); color: var(--brand-hi); padding-top: 12px; }
.service h2, .service__title { font: 500 var(--fs-h2s)/1.15 var(--f-display); margin: 0 0 14px; }
.service ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.service li { display: flex; gap: 12px; color: var(--ink-2); font-size: 15.5px; }
.service li::before { content: ""; flex: none; width: 6px; height: 6px; margin-top: 10px; transform: rotate(45deg); background: var(--brand-hi); }
.tagline { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.tag { font-size: 12.5px; padding: 6px 12px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line); color: var(--ink-2); }

/* ---------- Track Record ---------- */
.tr-hero { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 50px; align-items: end; }
.mega { font: 500 clamp(88px, 12vw, 170px)/1.05 var(--f-num); padding-bottom: .2em; margin-bottom: -.15em; letter-spacing: -.04em; margin: 0; background: linear-gradient(180deg, var(--ink), var(--brand-hi)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.mega small { font-family: var(--f-display); font-size: .2em; letter-spacing: 0; -webkit-text-fill-color: var(--ink-2); margin-left: 10px; }
.chart { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 12px; align-items: end; height: 340px; padding-top: 30px; }
.col { display: flex; flex-direction: column; justify-content: flex-end; height: 100%; text-align: center; gap: 10px; }
.col__bar { position: relative; height: var(--h); border-radius: 12px 12px 4px 4px; background: linear-gradient(180deg, var(--brand-hi), var(--brand) 60%, rgba(47,105,181,.25)); transform-origin: bottom; transform: scaleY(0); transition: transform 1.3s var(--ease); transition-delay: var(--d, 0s); box-shadow: 0 0 40px -10px var(--glow-1); }
.is-in .col__bar { transform: scaleY(1); }
.col__v { font: 600 22px var(--f-display); }
.col__t { font-size: 12px; color: var(--ink-3); line-height: 1.3; min-height: 3.9em; overflow-wrap: anywhere; -webkit-hyphens: auto; hyphens: auto; }
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 30px; }
.filter { padding: 11px 18px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--surface); font-size: 14px; font-weight: 500; color: var(--ink-2); transition: all .3s; }
.filter[aria-pressed="true"] { background: var(--brand); border-color: var(--brand); color: #fff; }
.filter span { opacity: .6; margin-left: 6px; }
.deals { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 14px; }
.deal {
  position: relative; padding: 24px 22px 20px; border-radius: var(--r); border: 1px solid var(--line); background: var(--surface);
  display: flex; flex-direction: column; gap: 10px; min-height: 190px; transition: transform .4s var(--ease), border-color .3s, opacity .4s;
  animation: fade .6s var(--ease) both;
}
.deal:hover { transform: translateY(-4px); border-color: var(--line-2); }
.deal__cat { font: 600 10.5px var(--f-body); letter-spacing: .18em; text-transform: uppercase; color: var(--brand-hi); }
.deal__t { font: 600 19px/1.25 var(--f-display); flex: 1; }
.deal__ort { font-size: 13px; color: var(--ink-3); }
.deal__note { align-self: flex-start; padding: 5px 10px; border-radius: 8px; background: rgba(47,105,181,.16); color: var(--brand-hi); font-size: 12px; font-weight: 600; }
.deal__v { font: 500 34px/1 var(--f-display); font-variant-numeric: tabular-nums; }
.deal__v small { font: 500 13px var(--f-body); color: var(--ink-3); margin-left: 4px; }
.deal__track { height: 2px; background: var(--line); border-radius: 2px; overflow: hidden; }
.deal__track i { display: block; height: 100%; background: var(--brand-hi); width: var(--w); }
.subdebt { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.subdebt__card { padding: 34px 30px; border-radius: var(--r-lg); border: 1px solid var(--line-2); background: linear-gradient(160deg, var(--surface-2), transparent); }
.subdebt__v { font: 500 48px/1.05 var(--f-display); margin: 18px 0 6px; }
.subdebt__v small { font: 500 15px var(--f-body); color: var(--ink-3); margin-left: 6px; }
.subdebt__z { display: inline-block; margin-top: 16px; padding: 7px 12px; border-radius: 8px; background: rgba(47,105,181,.16); color: var(--brand-hi); font-size: 13px; font-weight: 600; }
.geo { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 50px; align-items: center; }
.geo__map { width: 100%; aspect-ratio: 78 / 66; max-width: 680px; margin: 0 auto; }
.geo__map text { font: 500 11px var(--f-body); fill: var(--ink-2); }
.geo__map .home text { fill: var(--ink); font-weight: 700; }
.geo__list { columns: 2; gap: 30px; list-style: none; padding: 0; margin: 0; }
.geo__list li { padding: 10px 0; border-bottom: 1px solid var(--line); break-inside: avoid; display: flex; justify-content: space-between; gap: 10px; font-size: 15px; }
.geo__list li span { color: var(--ink-3); font-size: 13px; font-variant-numeric: tabular-nums; }
.geo__note { margin: -14px 0 26px; max-width: 60ch; color: var(--ink-2); font-size: 15px; line-height: 1.6; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips span { padding: 12px 18px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); font-size: 14.5px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.sector { padding: 28px; border-radius: var(--r); border: 1px solid var(--line); background: var(--surface); }
.sector h3 { font: 600 var(--fs-h3)/1.25 var(--f-display); margin: 0 0 8px; }
.sector p { color: var(--ink-2); font-size: 15px; margin: 0; }

/* ---------- Zusammenarbeit / Vergütung ---------- */
.fee { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.fee__card { position: relative; padding: 38px 32px; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--surface); display: flex; flex-direction: column; }
.fee__card--hl { border-color: var(--brand); background: linear-gradient(170deg, rgba(47,105,181,.22), var(--surface) 60%); box-shadow: var(--shadow); }
.fee__phase { font: 600 11px var(--f-body); letter-spacing: .2em; text-transform: uppercase; color: var(--brand-hi); }
.fee__card h3 { font: 500 30px/1.15 var(--f-display); margin: 14px 0 12px; }
.fee__card p { color: var(--ink-2); font-size: 15px; }
.fee__card ul { list-style: none; padding: 0; margin: 10px 0 0; display: grid; gap: 10px; border-top: 1px solid var(--line); padding-top: 20px; }
.fee__card li { display: flex; gap: 10px; font-size: 14.5px; color: var(--ink-2); }
.fee__card li::before { content: "✓"; color: var(--brand-hi); font-weight: 700; }
.draft-note { display: inline-flex; gap: 10px; align-items: center; margin-top: 30px; padding: 12px 16px; border-radius: 12px; border: 1px dashed var(--warm); color: var(--warm); font-size: 13.5px; }

/* ---------- Kontakt: mehrstufiges Formular ---------- */
.contact { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(40px, 6vw, 80px); align-items: start; }
.contact__aside { position: sticky; top: 110px; }
.contact__facts { display: grid; gap: 14px; margin-top: 30px; }
.contact__facts a, .contact__facts div { display: flex; gap: 14px; align-items: center; padding: 18px 20px; border-radius: var(--r); border: 1px solid var(--line); background: var(--surface); font-size: 15px; }
.contact__facts svg { width: 20px; height: 20px; flex: none; fill: none; stroke: var(--brand-hi); stroke-width: 1.6; }
.wizard { padding: clamp(26px, 4vw, 48px); border-radius: var(--r-lg); border: 1px solid var(--line-2); background: var(--surface); backdrop-filter: blur(14px); box-shadow: var(--shadow); }
.wizard__top { display: flex; align-items: center; gap: 18px; margin-bottom: 34px; }
.wizard__needle { width: 52px; height: 52px; flex: none; color: var(--brand-hi); transition: transform 1s cubic-bezier(.34, 1.4, .5, 1); }
.wizard__progress { flex: 1; }
.wizard__progress b { display: block; font: 600 12px var(--f-body); letter-spacing: .18em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 10px; }
.wizard__track { height: 3px; background: var(--line); border-radius: 3px; overflow: hidden; }
.wizard__track i { display: block; height: 100%; width: 33.3%; background: linear-gradient(90deg, var(--brand), var(--brand-hi)); transition: width .6s var(--ease); }
.wstep { display: none; border: 0; padding: 0; margin: 0; min-width: 0; }
.wstep.is-active { display: block; animation: fade .5s var(--ease); }
.wstep legend { font: 500 clamp(26px, 2.4vw, 32px)/1.15 var(--f-display); margin-bottom: 8px; padding: 0; }
.wstep > p { color: var(--ink-2); margin-bottom: 24px; }
.options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.option { position: relative; }
.option input { position: absolute; opacity: 0; pointer-events: none; }
.option span { display: block; height: 100%; padding: 18px 20px; border-radius: 14px; border: 1px solid var(--line-2); background: var(--surface); cursor: pointer; transition: all .25s; overflow-wrap: anywhere; -webkit-hyphens: auto; hyphens: auto; }
.option span b { display: block; font-weight: 600; font-size: 15.5px; margin-bottom: 4px; }
.option span small { color: var(--ink-3); font-size: 13.5px; line-height: 1.45; display: block; }
.option input:checked + span { border-color: var(--brand); background: rgba(47,105,181,.16); box-shadow: inset 0 0 0 1px var(--brand); }
.option input:focus-visible + span { outline: 2px solid var(--brand-hi); outline-offset: 2px; }
.options--chips { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.options--chips span { text-align: center; padding: 16px 10px; font-weight: 600; font-size: 15px; }
.field-label { display: block; font-weight: 600; font-size: 14px; margin: 26px 0 12px; }
.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field--full { grid-column: 1 / -1; }
@media (max-width: 640px) { .field--sm-full { grid-column: 1 / -1; } } /* z. B. E-Mail und Telefon: am Desktop nebeneinander, am Handy je eine Zeile */
.field label { font-size: 13.5px; font-weight: 600; color: var(--ink-2); overflow-wrap: anywhere; }
.field input, .field textarea {
  width: 100%; min-width: 0; max-width: 100%; padding: 15px 16px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--bg-2); color: var(--ink);
  font: 400 16px var(--f-body); transition: border-color .25s, box-shadow .25s;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--brand-hi); box-shadow: 0 0 0 4px var(--glow-2); }
.field textarea { min-height: 130px; resize: vertical; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--ink-2); margin-top: 18px; }
.check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--brand); flex: none; }
.check a { text-decoration: underline; }
.wizard__nav { display: flex; justify-content: space-between; align-items: center; gap: 14px; margin-top: 34px; padding-top: 24px; border-top: 1px solid var(--line); }
.wizard__back { background: none; border: 0; color: var(--ink-2); font-weight: 600; padding: 10px 0; }
.wizard__back[hidden] { display: inline-block; visibility: hidden; }
.wizard__error { color: var(--danger); font-size: 14px; margin: 14px 0 0; min-height: 1em; }
.wizard__done { text-align: center; padding: 30px 0; display: none; }
.wizard__done.is-active { display: block; animation: fade .6s var(--ease); }
.wizard__done svg { width: 90px; height: 90px; margin: 0 auto 24px; color: var(--brand-hi); animation: spin 8s linear infinite; }

/* ---------- FAQ ---------- */
.faq { max-width: 900px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); border-radius: 4px; transition: background-color .35s var(--ease), box-shadow .35s var(--ease), border-color .35s; }
/* Offene Frage als dezente Karte – der Schatten-Rand verbreitert die Fläche, ohne dass Text verrutscht */
.faq details[open] { background: var(--surface); box-shadow: 0 0 0 16px var(--surface); border-bottom-color: transparent; margin-bottom: 16px; }
.faq details[open] > :not(summary) { animation: faq-in .45s var(--ease) both; }
@keyframes faq-in { from { opacity: 0; transform: translateY(-6px); } }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; align-items: center; padding: 24px 0; font: 500 clamp(20px, 1.7vw, 23px)/1.3 var(--f-display); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; font: 300 22px/1 var(--f-body); color: var(--brand-hi); transition: transform .4s var(--ease), background .3s; }
.faq details[open] summary::after { transform: rotate(45deg); background: var(--brand); color: #fff; border-color: var(--brand); }
.faq details p { color: var(--ink-2); padding: 0 60px 26px 0; margin: 0; max-width: 70ch; }

/* ---------- Ansatz / Über uns ---------- */
.about { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 90px); }
.about__facts { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.about__facts div { background: var(--bg-2); padding: 28px 26px; }
.about__facts b { display: block; font: 500 34px/1 var(--f-display); margin-bottom: 8px; }
.about__facts div > span { color: var(--ink-2); font-size: 14px; }
.timeline { position: relative; display: grid; gap: 0; }
.timeline::before { content: ""; position: absolute; left: 10px; top: 8px; bottom: 8px; width: 1px; background: linear-gradient(var(--brand-hi), var(--line)); }
.timeline__item { position: relative; padding: 0 0 36px 46px; }
.timeline__item::before { content: ""; position: absolute; left: 4px; top: 6px; width: 13px; height: 13px; border-radius: 50%; background: var(--bg); border: 2px solid var(--brand-hi); }
.timeline__item b { display: block; font: 600 12px var(--f-body); letter-spacing: .18em; text-transform: uppercase; color: var(--brand-hi); margin-bottom: 6px; }
.timeline__item h3 { font: 600 var(--fs-h3)/1.25 var(--f-display); margin: 0 0 6px; }
.timeline__item p { color: var(--ink-2); font-size: 15px; margin: 0; }

/* ---------- Rechtstexte ---------- */
.legal { max-width: 760px; }
.legal h2 { font: 500 26px/1.25 var(--f-display); margin: 40px 0 10px; }
.legal p, .legal li { color: var(--ink-2); }

/* ---------- Dossier-Popup (Dokument-Optik) ---------- */
.dossier { position: fixed; inset: 0; z-index: 90; display: grid; grid-template-columns: minmax(0, 1fr); place-items: center; padding: 20px; }
.dossier[hidden] { display: none; }
.dossier__backdrop { position: absolute; inset: 0; background: rgba(3, 7, 15, .72); backdrop-filter: blur(10px); animation: fadeIn .35s ease; }
.dossier__sheet {
  --ink: #101826; --ink-2: #47536A; --ink-3: #7B879C; --line: rgba(16,24,38,.1); --line-2: rgba(16,24,38,.2); --brand-hi: #2F69B5; --surface: #F4F6FA; --surface-2: #EBEFF6;
  position: relative; width: min(860px, 100%); max-height: calc(100svh - 40px); overflow: auto; overscroll-behavior: contain;
  background: #FCFCFA; color: var(--ink); border-radius: 6px 6px 22px 22px;
  box-shadow: 0 50px 120px -20px rgba(0,0,0,.7), 0 0 0 1px rgba(255,255,255,.08);
  animation: sheetIn .6s var(--ease);
}
.dossier__sheet::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 5px; background: linear-gradient(90deg, var(--brand), #74A6EE); }
@keyframes sheetIn { from { opacity: 0; transform: translateY(40px) rotateX(8deg) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes fadeIn { from { opacity: 0; } }
.dossier__head { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; gap: 16px; padding: 22px clamp(22px, 4vw, 48px); background: rgba(252,252,250,.94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.dossier__brand { display: flex; align-items: center; gap: 10px; font: 700 12.5px var(--f-brand); letter-spacing: .12em; }
.dossier__brand .ico { width: 22px; height: 22px; color: var(--brand); }
.dossier__stamp { margin-left: auto; font: 600 10.5px var(--f-body); letter-spacing: .16em; text-transform: uppercase; color: #9A6B2A; border: 1px solid #C9A96A; padding: 6px 10px; border-radius: 4px; transform: rotate(-2deg); }
.dossier__close { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-2); background: #fff; font-size: 24px; line-height: 1; color: var(--ink); }
.dossier__body { padding: clamp(28px, 5vw, 56px) clamp(22px, 4vw, 48px); }
.dossier__body .eyebrow { color: var(--brand); }
.dossier__big { font: 500 clamp(72px, 11vw, 130px)/.9 var(--f-display); letter-spacing: -.03em; margin: 0 0 28px; color: var(--ink); }
.dossier__big small { font: 500 .2em var(--f-body); color: var(--ink-2); margin-left: 8px; letter-spacing: 0; }
.dossier__body h3 { font: 600 24px var(--f-display); margin: 40px 0 14px; padding-top: 24px; border-top: 1px solid var(--line); }
.dossier__body .lead { color: var(--ink-2); }
.dossier__cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px 30px; list-style: none; padding: 0; margin: 0; }
.dossier__cols li { padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 15px; display: flex; justify-content: space-between; gap: 10px; }
.dossier__cols li span { color: var(--ink-3); }
.dossier__note { font-size: 12.5px; color: var(--ink-3); margin-top: 30px; }
.dossier__foot { display: flex; flex-wrap: wrap; gap: 12px; padding: 22px clamp(22px, 4vw, 48px) 30px; border-top: 1px solid var(--line); background: #F6F7F9; }
.dossier__foot .btn--ghost { color: var(--ink); background: #fff; }
.dossier .geo__map text { fill: #47536A; }
body.has-dossier { overflow: hidden; }

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(34px); transition: opacity 1s var(--ease), transform 1.1s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .1s; } .reveal-d2 { transition-delay: .2s; } .reveal-d3 { transition-delay: .3s; }
/* Handy/Tablet: Inhalte nur einblenden, nicht hochschieben – sonst wirkt die Seite beim Scrollen, als würde sie springen */
@media (hover: none) and (pointer: coarse) { .js .reveal { transform: none; transition: opacity .8s var(--ease); } }

/* ---------- Responsive ---------- */
@media (max-width: 1360px) {
  .site-header__inner { gap: 16px; }
  .nav > a:not(.btn) { padding: 10px 9px; font-size: 14px; }
  .nav > a:not(.btn)::after { left: 9px; right: 9px; }
  .nav__cta { margin-left: 6px; padding: 12px 16px; }
}
@media (max-width: 1080px) {
  .hero__grid, .philo, .split, .tr-hero, .geo, .contact, .about { grid-template-columns: minmax(0, 1fr); }
  .orbit { margin: 0 auto; width: min(460px, 90%); }
  .stats { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .card, .card:nth-child(4), .card:nth-child(5) { grid-column: span 3; }
  .steps { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px 0; }
  .steps::before { display: none; }
  .contact__aside { position: static; order: 2; }
  .site-footer__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}
@media (max-width: 1279px) {
  .burger { display: block; }
  .nav {
    position: fixed; inset: 84px 0 auto 0; height: calc(100svh - 84px); flex-direction: column; align-items: stretch; gap: 0;
    padding: 20px var(--gutter) 40px; background: var(--bg); border-top: 1px solid var(--line);
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: all .35s var(--ease);
  }
  .nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav > a:not(.btn) { font: 500 30px/1.2 var(--f-display); padding: 16px 0; border-bottom: 1px solid var(--line); color: var(--ink); }
  .nav > a:not(.btn)::after { display: none; }
  .nav .lang { align-self: flex-start; margin: 24px 0 0; }
  .nav__cta { margin: 26px 0 0; padding: 18px; font-size: 16px; }
  .theme { margin-left: auto; }
}
@media (max-width: 900px) {
  .service { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .chart { height: 280px; gap: 8px; }
  .col__t { display: none; }
  .subdebt, .fee, .grid-3, .manifest__cols { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .site-header__inner { height: 72px; gap: 12px; }
  .nav { inset: 72px 0 auto 0; height: calc(100svh - 72px); }
  .brand__mark { width: 32px; height: 32px; }
  .brand__word b { font-size: 22px; }
  .hero { min-height: auto; padding-top: 24px; }
  .hero__actions .btn { flex: 1 1 100%; }
  .stats { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); border-radius: var(--r); }
  .stat { padding: 24px 18px 20px; }
  .stat__more { top: 16px; right: 14px; width: 28px; height: 28px; font-size: 13px; }
  .stat__label { font-size: 13px; }
  .card, .card:nth-child(4), .card:nth-child(5) { grid-column: 1 / -1; min-height: 0; }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .options, .options--chips, .fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .options { grid-template-columns: minmax(0, 1fr); }
  .geo__list { columns: 1; }
  .dossier__cols { grid-template-columns: minmax(0, 1fr); }
  .dossier { padding: 0; align-items: end; }
  .dossier__sheet { max-height: 92svh; border-radius: 22px 22px 0 0; }
  .dossier__stamp { display: none; }
  .site-footer__grid { grid-template-columns: minmax(0, 1fr); }
  .faq details p { padding-right: 0; }
  .mobile-cta { display: flex; position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 40; transform: translateY(140%); transition: transform .5s var(--ease); }
  .mobile-cta.is-visible { transform: none; }
  body[data-page="kontakt"] .mobile-cta { display: none; }
  .site-footer { padding-bottom: 100px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- Druck: Dossier als PDF ---------- */
@media print {
  body.has-dossier > *:not(.dossier) { display: none !important; }
  .dossier { position: static; padding: 0; }
  .dossier__backdrop, .dossier__foot, .dossier__close { display: none !important; }
  .dossier__sheet { box-shadow: none; max-height: none; overflow: visible; width: 100%; animation: none; }
  .dossier__head { position: static; }
}

/* ---------- Zahlen: Versalziffern (Bodoni Moda) ---------- */
.stat__num, .bar__v, .col__v, .deal__v, .subdebt__v, .dossier__big, .about__facts b { font-family: var(--f-num); letter-spacing: -.02em; }
.stat__num { font-size: clamp(40px, 4.2vw, 62px); font-weight: 500; }
.dossier__big { font-size: clamp(64px, 9vw, 112px); line-height: 1.05; }
.stat__num small, .bar__v small, .deal__v small, .subdebt__v small, .dossier__big small { font-family: var(--f-body); }
/* Bodoni bei großen Größen nicht zu filigran: kleine optische Größe = kräftigere Haarstriche */
.mega, .stat__num, .bar__v, .col__v, .deal__v, .subdebt__v, .dossier__big, .about__facts b { font-optical-sizing: none; font-variation-settings: "opsz" 11; letter-spacing: -.01em; }

/* ---------- Hilfsklassen (ersetzen frühere Inline-Styles) ---------- */
.section--flush { padding-top: 0; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; }
.mt-lg { margin-top: 44px; }
.note { margin-top: 20px; font-size: 14px; color: var(--ink-3); }
.lead--flush { margin: 0; }
.service__cta { margin-top: 26px; }
.rose__mark { color: var(--line-2); }
.tr-hero .lead { margin-top: 28px; }
.about__facts { margin-top: 36px; }
.quote .eyebrow { justify-content: center; }
.quote .lead { margin: 34px auto 0; }
.stats--2x2 { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.stats--2x2 .stat:nth-child(2n) { border-right: 0; }
.stats--2x2 .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
.display--sm { font-size: clamp(36px, 3.8vw, 54px); }

/* ---------- Kontakt: komplette Anfrage auf einen Blick ---------- */
.contact-screen { position: relative; overflow: hidden; overflow: clip; min-height: calc(100svh - 84px); display: flex; align-items: center; padding: clamp(20px, 4vh, 48px) 0; }
.contact-screen .contact {
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); grid-template-areas: "head wiz" "facts wiz";
  grid-template-rows: auto 1fr; gap: 28px clamp(40px, 5vw, 80px); align-items: start;
}
.contact__head { grid-area: head; align-self: end; }
.contact__head .crumbs { margin-bottom: 22px; }
.contact__head .lead { margin-bottom: 0; font-size: 17px; }
.contact-screen .contact__facts { grid-area: facts; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; margin: 0; }
.contact-screen .contact__facts a, .contact-screen .contact__facts div { padding: 14px 16px; font-size: 14px; gap: 12px; }
.contact-screen .wizard { grid-area: wiz; align-self: center; padding: clamp(22px, 3vw, 38px); }
.contact-screen .wizard__top { margin-bottom: 22px; }
.contact-screen .wizard__needle { width: 44px; height: 44px; }
/* Schritte stapeln: Höhe = höchster Schritt, kein Springen beim Weiterklicken */
.wstep { display: block; }
.js .wizard__steps { display: grid; }
.js .wizard__steps .wstep { grid-area: 1 / 1; visibility: hidden; opacity: 0; transition: opacity .4s var(--ease); }
.js .wizard__steps .wstep.is-active { visibility: visible; opacity: 1; animation: none; }
html:not(.js) .wstep + .wstep { margin-top: 32px; }
html:not(.js) .wizard__nav, html:not(.js) .wizard__top { display: none; }
.contact-screen .wstep > p { margin-bottom: 18px; font-size: 15px; }
.contact-screen .options { gap: 10px; }
.contact-screen .option span { padding: 14px 16px; }
.contact-screen .options--chips span { padding: 13px 8px; font-size: 14px; }
.contact-screen .field-label { margin: 16px 0 10px; }
.contact-screen .fields { gap: 12px; }
.contact-screen .field input, .contact-screen .field textarea { padding: 12px 14px; font-size: 15px; }
.contact-screen .field textarea { min-height: 0; height: 84px; resize: none; }
.field--spaced { margin-top: 16px; }
.contact-screen .check { margin-top: 14px; font-size: 13px; }
.contact-screen .wizard__error { margin-top: 10px; }
.contact-screen .wizard__nav { margin-top: 12px; padding-top: 18px; }
.wizard__done .lead { margin: 0 auto; }
@media (max-height: 760px) and (min-width: 1081px) {
  .display--sm { font-size: 40px; }
  .contact__head .lead { font-size: 15.5px; }
  .contact-screen .option span small { display: none; }
}
@media (max-width: 1080px) {
  .contact-screen { min-height: 0; padding-top: 32px; }
  .contact-screen .contact { grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "wiz" "facts"; }
}
@media (max-width: 640px) {
  .eyebrow { font-size: 11px; letter-spacing: .16em; }
  .contact-screen .contact__facts { grid-template-columns: minmax(0, 1fr); }
  .contact-screen .options--chips { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}
/* Niedrige Laptop-Fenster (z. B. 1366×768, 1280×720): Anfrage bleibt komplett sichtbar */
@media (max-height: 900px) and (min-width: 1081px) {
  .contact-screen { padding: 16px 0; }
  .contact-screen .wizard { padding: 20px 26px; }
  .contact-screen .wizard__top { margin-bottom: 12px; }
  .contact-screen .wizard__needle { width: 36px; height: 36px; }
  .contact-screen .wstep legend { font-size: 26px; margin-bottom: 12px; }
  .contact-screen .wstep > p { margin-bottom: 12px; font-size: 14.5px; }
  .contact-screen .field-label { margin: 12px 0 8px; }
  .contact-screen .options--chips span { padding: 11px 8px; }
  .contact-screen .field textarea { height: 64px; }
  .contact-screen .field input { padding: 10px 14px; }
  .contact-screen .wizard__nav { padding-top: 14px; }
  .contact-screen .wizard__nav .btn--lg { padding: 14px 24px; font-size: 15px; }
  .contact__head .crumbs { margin-bottom: 14px; }
  .contact__head .eyebrow { margin-bottom: 14px; }
}

/* Fakten-Kacheln sind Wörter, keine Zahlen → Überschriften-Schrift */
.about__facts b { font-family: var(--f-display); font-variation-settings: normal; font-size: 30px; letter-spacing: 0; }

/* =========================================================
   Relaunch v2 – Struktur nach Content-Master (DE/EN)
   ========================================================= */
[id] { scroll-margin-top: 100px; }
.num { font-family: var(--f-num); font-optical-sizing: none; font-variation-settings: "opsz" 11; letter-spacing: -.01em; }
.deal[hidden] { display: none; }

/* ---------- Darstellung: Hell / Dunkel / System ---------- */
.theme { position: relative; flex: none; }
.theme__btn { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line-2); background: var(--surface); display: grid; place-items: center; transition: border-color .3s; }
.theme__btn:hover { border-color: var(--brand-hi); }
.theme__btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.theme__btn .ico { display: none; grid-area: 1 / 1; }
[data-theme="dark"] .theme__btn .ico--light, [data-theme="light"] .theme__btn .ico--dark { display: block; } /* Symbol zeigt, wohin der Klick wechselt */

/* ---------- Sprachumschalter ---------- */
.lang { display: inline-flex; align-items: center; gap: 2px; margin-left: 8px; padding: 3px; border: 1px solid var(--line-2); border-radius: 999px; }
.lang a { padding: 7px 10px; border-radius: 999px; font: 600 12px/1 var(--f-body); letter-spacing: .08em; color: var(--ink-3); transition: color .25s, background .25s; }
.lang a:hover { color: var(--ink); }
.lang a[aria-current] { background: var(--surface-2); color: var(--ink); }

/* ---------- Zahlen zählen hoch ----------
   Der echte Wert steht unverändert im HTML (crawlbar, für Screenreader lesbar) und hält die Breite fest.
   Während des Zählens zeigt ::after den Zwischenwert rechtsbündig darüber – nichts springt, läuft auch in Safari. */
.count { position: relative; display: inline-block; }
.js .count:not(.is-done) > .count__val { opacity: 0; }
.js .mega .count:not(.is-done) > .count__val { visibility: hidden; } /* Verlaufstext: der verborgene Wert darf nicht durchscheinen */
.js .count:not(.is-done)::after { content: attr(data-shown); content: attr(data-shown) / ""; position: absolute; top: 0; right: 0; }
.mega .count::after { background: linear-gradient(180deg, var(--ink), var(--brand-hi)); -webkit-background-clip: text; background-clip: text; color: transparent; }
/* Nach dem Zählen wieder normaler Text: Nur so bekommt die große Zahl den Farbverlauf ihrer Zeile (Safari/Chrome
   schneiden den Verlauf nicht in positionierte Elemente) – sonst bliebe sie unsichtbar. */
.count.is-done { display: inline; position: static; }

/* ---------- Hero ---------- */
.hero__claim { font: 500 clamp(21px, 1.9vw, 27px)/1.3 var(--f-display); color: var(--ink); max-width: 36ch; margin: 0 0 16px; opacity: 0; animation: fade 1s .4s var(--ease) forwards; }
.hero .lead { font-size: clamp(16px, 1.15vw, 18px); max-width: 58ch; margin-bottom: 30px; }

/* ---------- Kennzahlen-Kopf ---------- */
.stats-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 16px 60px; align-items: end; margin-bottom: 26px; }
.stats-head__title { font: 500 var(--fs-h2s)/1.15 var(--f-display); margin: 0; text-wrap: balance; }
.stats-head__note { margin: 0; color: var(--ink-3); font-size: 14.5px; font-style: italic; }
.stats-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 24px; margin-top: 16px; }
.stats-foot .stats-hint { margin: 0; }

/* ---------- Zwei Wege zum Kapital ---------- */
.routes { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 28px; align-items: stretch; }
.route { position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; gap: 16px; padding: clamp(28px, 3vw, 46px); border-radius: var(--r-lg); border: 1px solid var(--line-2); background: var(--surface); }
.route::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(520px circle at var(--mx, 30%) var(--my, 0%), var(--glow-2), transparent 50%); opacity: 0; transition: opacity .4s; }
.route:hover::before { opacity: 1; }
.route--primary { background: linear-gradient(160deg, rgba(47,105,181,.22), var(--surface) 55%); border-color: rgba(116,166,238,.45); }
.route__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.route__no { font: 600 12px var(--f-body); letter-spacing: .2em; text-transform: uppercase; color: var(--brand-hi); }
.route__icon { width: 52px; height: 52px; color: var(--brand-hi); }
.route__icon svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.3; }
.route h3 { font: 500 var(--fs-h2s)/1.15 var(--f-display); margin: 6px 0 0; }
.route p { color: var(--ink-2); margin: 0; }
.route__tags { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 0; padding: 0; }
.route__tags a { display: inline-block; padding: 7px 12px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--surface-2); font-size: 13px; color: var(--ink-2); transition: border-color .3s, color .3s; }
.route__tags a:hover { border-color: var(--brand-hi); color: var(--ink); }
.route .link-arrow { margin-top: auto; padding-top: 10px; }
.routes__axis { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; }
.routes__axis::before, .routes__axis::after { content: ""; flex: 1; width: 1px; background: linear-gradient(transparent, var(--line-2), transparent); }
.routes__axis svg { width: 46px; height: 46px; color: var(--brand-hi); animation: spin 60s linear infinite; }

/* ---------- Zielgruppen ---------- */
.audience { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.audience .card { grid-column: auto; min-height: 0; }
.audience .card__icon { margin: 0 0 24px; }
.audience + .note { margin-top: 28px; }

/* ---------- Vergütung (Kurzfassung Startseite) ---------- */
.split--center { align-items: center; }
.fee-split { display: grid; gap: 14px; }
.fee-split__item { display: grid; gap: 6px; padding: 26px 28px; border-radius: var(--r); border: 1px solid var(--line); background: var(--surface); }
.fee-split__item--hl { border-color: rgba(116,166,238,.45); background: linear-gradient(160deg, rgba(47,105,181,.2), var(--surface) 60%); }
.fee-split__label { font: 600 11px var(--f-body); letter-spacing: .18em; text-transform: uppercase; color: var(--brand-hi); }
.fee-split__item b { font: 500 var(--fs-h2s)/1.15 var(--f-display); }
.fee-split__item span:last-child { color: var(--ink-2); font-size: 15px; }

/* ---------- Vergütung (Zusammenarbeit) ---------- */
.remun { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 20px; align-items: stretch; }
.remun__card { padding: clamp(30px, 3.5vw, 52px); border-radius: var(--r-lg); border: 1px solid var(--line-2); background: var(--surface); }
.remun__card--hl { background: radial-gradient(120% 90% at 0% 0%, rgba(47,105,181,.32), transparent 60%), var(--surface); border-color: rgba(116,166,238,.5); box-shadow: var(--shadow); }
.remun__scope { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 0 0 20px; font: 600 11.5px var(--f-body); letter-spacing: .18em; text-transform: uppercase; color: var(--brand-hi); }
.remun__badge { padding: 5px 10px; border-radius: 999px; background: rgba(47,105,181,.18); letter-spacing: .08em; }
.remun__slogan { font: 500 clamp(2rem, 1.35rem + 2.4vw, 3.25rem)/1.08 var(--f-display); letter-spacing: -.01em; margin: 0 0 26px; }
.remun__slogan span { display: block; }
.remun__slogan em { font-style: italic; color: var(--brand-hi); }
.remun__card h3:not(.remun__slogan) { font: 500 var(--fs-h2s)/1.15 var(--f-display); margin: 0 0 16px; }
.remun__card p { color: var(--ink-2); }
.remun__card p:last-child { margin-bottom: 0; }

/* ---------- Finanzierungslösungen ---------- */
.path-switch { display: flex; flex-wrap: wrap; gap: 12px; }
.path-switch a { display: flex; flex-direction: column; gap: 6px; padding: 16px 22px; border-radius: 16px; border: 1px solid var(--line-2); background: var(--surface); font: 500 20px/1.2 var(--f-display); transition: border-color .3s, transform .3s var(--ease); }
.path-switch a span { font: 600 11px var(--f-body); letter-spacing: .18em; text-transform: uppercase; color: var(--brand-hi); }
.path-switch a:hover { border-color: var(--brand-hi); transform: translateY(-2px); }
.service-path__head { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 24px 40px; align-items: start; margin-bottom: clamp(24px, 3vw, 44px); }
.service-path__no { font: 500 clamp(48px, 4.6vw, 72px)/1 var(--f-num); font-optical-sizing: none; font-variation-settings: "opsz" 11; color: var(--brand-hi); }
.service-path__no small { display: block; margin-bottom: 10px; font: 600 12px var(--f-body); letter-spacing: .2em; text-transform: uppercase; }
.service-path__head .lead { margin-bottom: 0; }
.service-path__cta { margin: 40px 0 0; }

/* ---------- Abschluss-Bänder ---------- */
.cta-band__quote { max-width: 34ch; margin: 0 auto 34px; font: italic 400 clamp(22px, 2.2vw, 30px)/1.3 var(--f-display); color: var(--ink); }
.cta-band__inner--split { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(30px, 5vw, 70px); align-items: center; text-align: left; }
.cta-band__inner--split .eyebrow { justify-content: flex-start; }
.cta-band__inner--split .lead { margin-left: 0; }
.cta-band__actions--start { justify-content: flex-start; align-items: center; gap: 22px; }
.checklist { position: relative; list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.checklist li { display: flex; align-items: center; gap: 14px; padding: 15px 18px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface); font-size: 15px; }
.checklist li::before { content: ""; flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center / 12px no-repeat; }

/* ---------- Track Record ---------- */
.tr-hero__title { margin: 0 0 6px; font: 500 var(--fs-h2)/1.12 var(--f-display); }
.geo__km { font-size: 9px; fill: var(--ink-3); }
.geo__cardinal { font: 700 13px var(--f-brand); fill: var(--brand-hi); }

/* ---------- Kontakt ---------- */
.contact__facts a, .contact__facts div { line-height: 1.35; }
.contact__facts small { display: block; margin-bottom: 2px; font: 600 10.5px var(--f-body); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.contact-screen .contact__facts { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.contact-screen .contact__facts > :first-child { grid-column: 1 / -1; }
.options--3 { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.options--3 .option span { display: flex; align-items: center; min-height: 54px; font-weight: 600; font-size: 15px; }
.options--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.options--chips span { display: flex; align-items: center; justify-content: center; min-height: 48px; line-height: 1.25; }
.options.is-invalid .option span { border-color: var(--danger); }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: var(--danger); box-shadow: 0 0 0 3px rgba(248, 113, 113, .18); }
.fields--spaced { margin-top: 16px; }
.form-note { margin: 16px 0 0; font-size: 13.5px; color: var(--ink-3); }
.form-note a { text-decoration: underline; }
/* Spam-Falle: für Menschen unsichtbar, Bots füllen das Feld aus */
.hp { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; opacity: 0; pointer-events: none; }
.wizard__done h2 { margin-top: 0; }
.wstep legend:focus { outline: none; }

/* ---------- Footer ---------- */
.site-footer address { font-style: normal; color: var(--ink-2); font-size: 14.5px; line-height: 1.6; }
.site-footer__lang { display: flex; gap: 10px; align-items: center; margin-top: 18px; color: var(--ink-3); font-size: 14px; }
.site-footer__grid .site-footer__lang a { display: inline; margin: 0; }
.site-footer__lang a[aria-current] { color: var(--ink); font-weight: 600; }
.site-footer__legal span:last-child { max-width: 82ch; }

/* ---------- Responsive (neue Bausteine) ---------- */
@media (max-width: 1080px) {
  .stats-head { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 900px) {
  .routes, .audience, .remun, .cta-band__inner--split { grid-template-columns: minmax(0, 1fr); }
  .routes__axis { flex-direction: row; }
  .routes__axis::before, .routes__axis::after { width: auto; height: 1px; }
  .service-path__head { grid-template-columns: minmax(0, 1fr); }
  .options--5 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .options--3, .options--chips, .options--5 { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .contact-screen .contact__facts { grid-template-columns: minmax(0, 1fr); }
  .lang a { padding: 9px 14px; }
}

/* Links im Fließtext und Listen in Rechtstexten */
.cta-band .lead a, .path-head a:not(.link-arrow), .legal a { text-decoration: underline; text-underline-offset: 3px; }
.legal ul { color: var(--ink-2); padding-left: 1.2em; }
.legal .lead { margin-top: -12px; }
.legal-toc { margin: 28px 0 8px; padding: 18px 22px; border: 1px solid var(--line-2); border-radius: 14px; background: var(--surface); }
.legal-toc p { margin: 0 0 8px; }
.legal-toc ul { margin: 0; padding-left: 1.1em; columns: 2 240px; column-gap: 32px; }
.legal-toc li { margin: 3px 0; break-inside: avoid; }
.legal-box { margin: 18px 0; padding: 16px 20px; border: 1px solid var(--line-2); border-radius: 12px; background: var(--surface); }
.legal-box p { margin: 0; }

/* Sehr niedrige Fenster: Hilfetexte ausblenden, Felder weiter verdichten */
@media (max-height: 800px) and (min-width: 1081px) {
  .contact-screen .wstep > p { display: none; }
  .contact-screen .options--3 .option span { min-height: 46px; }
}
@media (max-height: 740px) and (min-width: 1081px) {
  .contact-screen .wizard { padding: 16px 24px; }
  .contact-screen .field textarea { height: 52px; }
  .contact-screen .options--chips span { min-height: 42px; padding: 8px 6px; }
  .contact-screen .wstep legend { font-size: 24px; margin-bottom: 8px; }
  .contact-screen .fields { gap: 8px; }
  .display--sm { font-size: 36px; }
}

/* Großer Kennwert: „+“ hochgestellt wie auf den Kacheln */
.mega sup { position: relative; top: .3em; margin-left: .02em; font-size: .4em; vertical-align: top; -webkit-text-fill-color: var(--brand-hi); }

/* ---------- Original-Logo (Ebenen aus tools/logo.mjs) ---------- */
.brand .logo { display: block; width: auto; height: 58px; overflow: visible; }
.logo__compass rect, .logo__blue { fill: var(--logo-blue); transition: fill .6s var(--ease); }
.logo__dark { fill: var(--logo-ink); transition: fill .6s var(--ease); }
.brand--footer .logo { height: 132px; }
.dossier .logo__dark { fill: #13171A; }
@media (max-width: 640px) { .brand .logo { height: 48px; } .brand--footer .logo { height: 116px; } }

/* Zeilenumbruch nur auf großen Bildschirmen; Abschluss-Button im Zitat */
.br-lg { display: none; }
@media (min-width: 1081px) { .br-lg { display: inline; } }
.quote__cta { margin: 34px 0 0; }

/* =========================================================
   Datenschutz-Banner & Einstellungen
   ========================================================= */
.consent { position: fixed; right: 24px; bottom: 24px; z-index: 70; width: min(440px, calc(100vw - 32px)); opacity: 0; transform: translateY(16px); transition: opacity .45s var(--ease), transform .55s var(--ease); }
.consent.is-visible { opacity: 1; transform: none; }
.consent[hidden] { display: none; }
.consent__card { padding: 20px 22px 16px; border-radius: 20px; border: 1px solid var(--line-2); background: var(--bg-2); background: color-mix(in srgb, var(--bg-2) 97%, transparent); -webkit-backdrop-filter: blur(24px) saturate(1.2); backdrop-filter: blur(24px) saturate(1.2); box-shadow: 0 24px 60px -20px rgba(0, 0, 0, .55), 0 0 0 1px rgba(255, 255, 255, .03) inset; }
.consent__title { display: flex; align-items: center; gap: 10px; margin: 0 0 8px; font: 600 15px/1.3 var(--f-body); color: var(--ink); }
.consent__ico { width: 22px; height: 22px; flex: none; color: var(--brand-hi); }
.consent__text { margin: 0 0 16px; font-size: 13.5px; line-height: 1.6; color: var(--ink-2); }
.consent__actions { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; }
.consent[data-mode="notice"] .consent__actions { grid-template-columns: minmax(0, 1fr); }
/* gleichwertige Schaltflächen: Ablehnen ist so einfach wie Zustimmen */
.consent__btn { padding: 12px 16px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--surface-2); color: var(--ink); font: 600 14px/1 var(--f-body); transition: background .25s, border-color .25s; }
.consent__btn:hover { border-color: var(--brand-hi); background: var(--surface); }
.consent__links { display: flex; flex-wrap: wrap; gap: 4px 16px; margin: 14px 0 0; font-size: 12.5px; }
.consent__links a, .consent__links button { padding: 0; border: 0; background: none; font: inherit; color: var(--ink-2); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.consent__links a:hover, .consent__links button:hover { color: var(--ink); }
body.has-consent .mobile-cta { display: none !important; }
@media (min-width: 641px) { body[data-page="kontakt"] .consent { right: auto; left: 24px; } } /* Formular rechts bleibt frei */

.consent-dialog { position: fixed; inset: 0; z-index: 95; display: grid; grid-template-columns: minmax(0, 1fr); place-items: center; padding: 20px; }
.consent-dialog[hidden] { display: none; }
.consent-dialog__backdrop { position: absolute; inset: 0; background: rgba(3, 7, 15, .6); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); animation: fadeIn .3s ease; }
.consent-dialog__panel { position: relative; display: flex; flex-direction: column; width: min(640px, 100%); max-height: calc(100svh - 40px); overflow: hidden; border-radius: 22px; border: 1px solid var(--line-2); background: var(--bg-2); box-shadow: var(--shadow); outline: none; animation: sheetIn .45s var(--ease); }
.consent-dialog__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 26px 14px; border-bottom: 1px solid var(--line); }
.consent-dialog__head h2 { margin: 0; font: 500 clamp(22px, 2vw, 26px)/1.15 var(--f-display); }
.consent-dialog__close { flex: none; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line-2); background: var(--surface); font-size: 22px; line-height: 1; color: var(--ink); }
.consent-dialog__body { overflow: auto; overscroll-behavior: contain; padding: 18px 26px 8px; }
.consent-dialog__intro { margin: 0 0 6px; font-size: 14.5px; color: var(--ink-2); }
.consent-cat { padding: 16px 0; border-top: 1px solid var(--line); }
.consent-cat:first-of-type { border-top: 0; }
.consent-cat__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.consent-cat__title { margin: 0; font: 600 16px/1.3 var(--f-body); }
.consent-cat__badge { padding: 5px 10px; border-radius: 999px; background: rgba(47, 105, 181, .16); font: 600 11px var(--f-body); letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; color: var(--brand-hi); }
.consent-cat__text { margin: 6px 0 8px; font-size: 14px; color: var(--ink-2); }
.consent-cat__details summary { cursor: pointer; font-size: 13.5px; font-weight: 600; color: var(--brand-hi); }
.consent-svc { margin-top: 12px; padding: 14px 16px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); }
.consent-svc h4 { margin: 0 0 8px; font: 600 14.5px var(--f-body); }
.consent-svc dl { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 6px 14px; margin: 0; font-size: 13px; }
.consent-svc dt { color: var(--ink-3); }
.consent-svc dd { margin: 0; color: var(--ink-2); overflow-wrap: anywhere; }
.consent-svc a { text-decoration: underline; }
.consent-dialog__note { margin: 4px 0 0; padding-top: 14px; border-top: 1px solid var(--line); font-size: 13px; color: var(--ink-3); }
.consent-dialog__more { display: flex; gap: 16px; margin: 12px 0 10px; font-size: 13px; }
.consent-dialog__more a { color: var(--ink-2); text-decoration: underline; text-underline-offset: 3px; }
.consent-dialog__foot { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; padding: 16px 26px 22px; border-top: 1px solid var(--line); }
.consent-dialog__foot:has(> :only-child) { grid-template-columns: minmax(0, 1fr); }
.switch { position: relative; display: inline-flex; flex: none; cursor: pointer; }
.switch input { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.switch__track { position: relative; width: 46px; height: 26px; border-radius: 999px; background: var(--line-2); transition: background .25s; }
.switch__track::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .3); transition: transform .25s var(--ease); }
.switch input:checked + .switch__track { background: var(--brand); }
.switch input:checked + .switch__track::after { transform: translateX(20px); }
.switch input:focus-visible + .switch__track { outline: 2px solid var(--brand-hi); outline-offset: 2px; }
body.has-dialog { overflow: hidden; }
.site-footer__btn { display: block; margin: 0 0 10px; padding: 0; border: 0; background: none; font-size: 14.5px; text-align: left; color: var(--ink-2); cursor: pointer; transition: color .25s; }
.site-footer__btn:hover { color: var(--ink); }
.consent-info { margin-top: 56px; padding-top: 8px; border-top: 1px solid var(--line); }
.consent-info h3 { margin: 30px 0 6px; font: 600 21px/1.3 var(--f-display); }
.consent-info .consent-svc dl { grid-template-columns: 190px minmax(0, 1fr); }
@media (max-width: 640px) {
  .consent { left: 12px; right: 12px; bottom: 12px; width: auto; }
  .consent-dialog { padding: 0; align-items: end; }
  .consent-dialog__panel { max-height: 92svh; border-radius: 22px 22px 0 0; }
  .consent-dialog__head, .consent-dialog__body, .consent-dialog__foot { padding-left: 18px; padding-right: 18px; }
  .consent-dialog__foot { grid-template-columns: minmax(0, 1fr); }
  .consent-svc dl, .consent-info .consent-svc dl { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .consent-svc dd { margin-bottom: 6px; }
}
@media print { .consent, .consent-dialog { display: none !important; } }

/* ---------- Umbrüche: ausgewogen auf jedem Format ---------- */
h1, h2, h3, h4, .display, .h2, .h3, .hero__claim, .quote blockquote, .cta-band__quote, .stat__label { text-wrap: balance; }
p, li, dd, .lead { text-wrap: pretty; }
@media (max-width: 640px) {
  h1, h2, h3, .display, .h2 { -webkit-hyphens: auto; hyphens: auto; hyphenate-limit-chars: 12 5 5; overflow-wrap: break-word; }
}

/* Referenztitel: lange Komposita sauber trennen */
.deal__t { overflow-wrap: break-word; }

/* Kennzahlen am Handy: eine Kennzahl pro Zeile in voller Breite – Beschriftung höchstens zwei Zeilen */
@media (max-width: 640px) {
  .stats, .stats--2x2 { grid-template-columns: minmax(0, 1fr); }
  .stat { display: block; padding: 18px 56px 18px 18px; border-right: 0 !important; border-bottom: 1px solid var(--line); }
  .stats .stat:last-child { border-bottom: 0; }
  .stat__num { margin: 0 0 6px; font-size: 36px; }
  .stat__label { max-width: none; font-size: 14px; }
  .stat__more { top: 18px; right: 16px; }
}

/* Seitentitel, die auf großen Bildschirmen bewusst als zwei Sätze stehen */
.page-hero .display--wide { max-width: none; }

/* Schmale Handys: nichts darf seitlich herausragen */
.faq summary { display: grid; grid-template-columns: minmax(0, 1fr) auto; }
@media (max-width: 640px) {
  .btn--lg { padding: 16px 20px; font-size: 15px; }
  .btn { white-space: normal; text-align: center; }
}
@media (max-width: 480px) {
  .about__facts { grid-template-columns: minmax(0, 1fr); }
}

/* =========================================================
   Direktanfrage (Pop-up) – Header- und Hero-Button
   Kopf und Felder scrollen bei Bedarf, die Absende-Leiste bleibt immer sichtbar.
   ========================================================= */
.qc { position: fixed; inset: 0; z-index: 96; display: grid; grid-template-columns: minmax(0, 1fr); place-items: center; padding: 20px; }
.qc[hidden] { display: none; }
.qc__backdrop { position: absolute; inset: 0; background: rgba(3, 7, 15, .66); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); animation: fadeIn .3s ease; }
.qc__panel { --qc-pad: clamp(22px, 3vw, 34px); position: relative; display: flex; flex-direction: column; width: min(600px, 100%); min-width: 0; max-height: calc(100svh - 40px); overflow: hidden; border-radius: var(--r-lg); border: 1px solid var(--line-2); background: radial-gradient(120% 70% at 100% 0%, rgba(47, 105, 181, .22), transparent 60%), var(--bg-2); box-shadow: var(--shadow); outline: none; animation: sheetIn .5s var(--ease); }
.qc__body { flex: 1 1 auto; min-height: 0; overflow: auto; overscroll-behavior: contain; padding: var(--qc-pad) var(--qc-pad) 0; }
.qc__close { position: absolute; top: 16px; right: 16px; z-index: 2; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-2); background: var(--surface); font-size: 24px; line-height: 1; color: var(--ink); transition: border-color .25s; }
.qc__close:hover { border-color: var(--brand-hi); }
.qc__head .eyebrow { margin-bottom: 12px; }
.qc__title { margin: 0 0 10px; padding-right: 44px; font: 500 clamp(1.625rem, 1.2rem + 1vw, 2rem)/1.15 var(--f-display); }
.qc__title em { font-style: italic; color: var(--brand-hi); }
.qc__intro { margin: 0 0 20px; font-size: 15px; color: var(--ink-2); }
.qc .fields { gap: 12px; }
.qc .field { gap: 6px; }
.qc .field input, .qc .field textarea { padding: 10px 14px; font-size: 15px; }
.qc .field textarea { min-height: 0; height: 72px; resize: vertical; }
.qc .form-note { margin-top: 14px; font-size: 13px; }
.qc__error { margin-top: 10px; }
.qc__error:empty { min-height: 0; margin: 0; }
.qc__actions { position: relative; z-index: 1; flex: none; display: flex; align-items: center; justify-content: space-between; gap: 14px 20px; padding: 20px var(--qc-pad) var(--qc-pad); background: var(--bg-2); border-top: 1px solid transparent; transition: border-color .3s, box-shadow .3s; }
.qc__actions[hidden] { display: none; }
.qc__panel.has-more .qc__actions { border-top-color: var(--line); box-shadow: 0 -16px 28px -20px rgba(3, 7, 15, .5); } /* nur wenn darüber noch Inhalt wartet */
.qc__alt { font-size: 13.5px; line-height: 1.45; text-align: right; color: var(--ink-2); text-decoration: underline; text-underline-offset: 3px; transition: color .25s; }
.qc__alt:hover { color: var(--ink); }
.qc__done { padding: 24px 0 var(--qc-pad); text-align: center; outline: none; }
.qc__done svg { width: 80px; height: 80px; margin: 0 auto 20px; color: var(--brand-hi); animation: spin 8s linear infinite; }
.qc__done .lead { margin: 0 auto 26px; }
body.has-qc { overflow: hidden; }
@media (max-width: 640px) {
  .qc { padding: 0; align-items: end; }
  .qc__panel { --qc-pad: 20px; max-height: 94svh; border-radius: 22px 22px 0 0; }
  .qc .fields { gap: 10px; }
  .qc .field input, .qc .field textarea { font-size: 16px; } /* verhindert das automatische Zoomen auf iOS */
  .qc .field textarea { height: 64px; }
  .qc__actions { flex-direction: column; align-items: stretch; gap: 10px; padding: 14px var(--qc-pad) calc(14px + env(safe-area-inset-bottom)); }
  .qc__actions .btn { width: 100%; }
  .qc__alt { text-align: center; }
  .qc__alt-lead { display: none; }
}
@media (min-width: 641px) and (max-height: 700px) { /* niedrige Laptop-Fenster */
  .qc__panel { --qc-pad: 26px; }
  .qc__title { font-size: 1.625rem; }
  .qc .field textarea { height: 60px; }
  .qc__intro { display: none; } /* niedrige Laptop-Fenster: Pop-up passt ohne Scrollen */
}
@media print { .qc { display: none !important; } }

/* =========================================================
   Handy und Tablet: weniger Grafiklast
   Unschärfe-Filter über dem bewegten Sternenhimmel müssten in jedem Bild neu berechnet werden – das macht
   Scrollen und Animationen auf Handys ruckelig. Dort deshalb ohne Filter und mit etwas deckenderen Flächen.
   ========================================================= */
@media (hover: none) and (pointer: coarse) {
  .sky__grain { display: none; }
  .btn--ghost, .stats, .card, .wizard, .consent__card, .dossier__head { -webkit-backdrop-filter: none; backdrop-filter: none; }
  .site-header.is-scrolled { -webkit-backdrop-filter: none; backdrop-filter: none; background: var(--bg); background: color-mix(in srgb, var(--bg) 94%, transparent); }
  .qc__backdrop, .dossier__backdrop, .consent-dialog__backdrop { -webkit-backdrop-filter: none; backdrop-filter: none; background: rgba(3, 7, 15, .8); }
  .orbit__rose { filter: none; } /* der Lichthof dahinter (.orbit__halo) sorgt weiter für das Leuchten */
}

/* =========================================================
   Anfrage-Assistent auf Tablet und Handy
   Schritte nicht übereinanderlegen: Jeder Schritt ist nur so hoch wie sein Inhalt – kein Leerraum unter Schritt 1 und 3.
   ========================================================= */
@media (max-width: 1080px) {
  .js .wizard__steps { display: block; }
  .js .wizard__steps .wstep:not(.is-active) { display: none; }
  .js .wizard__steps .wstep.is-active { animation: fade .45s var(--ease); }
}
/* Handy: kompakter, „Weiter“ und „Zurück“ bleiben am unteren Rand erreichbar */
@media (max-width: 640px) {
  .contact-screen .wizard { padding: 18px 16px 0; }
  .contact-screen .wizard__top { margin-bottom: 14px; gap: 12px; }
  .contact-screen .wizard__needle { width: 34px; height: 34px; }
  .contact-screen .wstep legend { font-size: 22px; margin-bottom: 12px; }
  .contact-screen .wstep > p { display: none; }
  .contact-screen .options--3 { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .contact-screen .options--3 .option span { min-height: 0; padding: 12px 14px; font-size: 14.5px; line-height: 1.35; }
  .contact-screen .options--chips { gap: 8px; }
  .contact-screen .options--chips span { padding: 10px 6px; font-size: 13.5px; }
  .contact-screen .field-label { margin: 14px 0 8px; font-size: 13.5px; }
  .contact-screen .fields { gap: 10px; }
  .contact-screen .fields--spaced { margin-top: 12px; }
  .contact-screen .field { gap: 6px; }
  .contact-screen .field input, .contact-screen .field textarea { padding: 11px 13px; font-size: 16px; } /* 16 px: kein automatisches Zoomen auf iOS */
  .contact-screen .field textarea { height: 64px; }
  .contact-screen .form-note { margin-top: 12px; font-size: 12.5px; }
  .contact-screen .wizard__nav { position: sticky; bottom: 0; z-index: 2; margin: 14px -16px 0; padding: 12px 16px; background: var(--bg-2); border-top: 1px solid var(--line); border-radius: 0 0 var(--r-lg) var(--r-lg); }
  .contact-screen .wizard__nav .btn { padding: 13px 22px; font-size: 15px; }
}

/* =========================================================
   Kontaktseite auf niedrigen Desktop-Fenstern: der ganze Assistent ohne Scrollen sichtbar
   ========================================================= */
/* Verwendungszweck und Kurzbeschreibung nebeneinander und gleich hoch – spart eine ganze Zeile im längsten Schritt.
   Die Kurzbeschreibung wächst beim Tippen mit (bis gut vier Zeilen), wo der Browser das kann; sonst scrollt sie. */
@media (max-height: 940px) and (min-width: 1081px) {
  .contact-screen .fields--spaced > .field--full { grid-column: auto; }
  .contact-screen .fields--spaced input, .contact-screen .fields--spaced textarea { height: 46px; }
  .contact-screen .fields--spaced textarea { line-height: 20px; max-height: 106px; overflow-y: auto; } /* 20 px Zeile + Innenabstand = genau so hoch wie das Feld daneben */
  @supports (field-sizing: content) {
    .contact-screen .fields--spaced textarea { field-sizing: content; height: auto; min-height: 46px; }
  }
}
/* Sehr niedrige Fenster (z. B. 1280×720 oder 1366×768 mit Browserleisten): alles etwas enger */
@media (max-height: 660px) and (min-width: 1081px) {
  .contact-screen { padding: 8px 0; }
  .contact-screen .wizard { padding: 12px 22px; }
  .contact-screen .wizard__top { margin-bottom: 8px; }
  .contact-screen .wizard__needle { width: 30px; height: 30px; }
  .contact-screen .wstep legend { font-size: 22px; margin-bottom: 6px; }
  .contact-screen .field-label { margin: 8px 0 6px; }
  .contact-screen .options--chips span { min-height: 0; padding: 6px; }
  .contact-screen .fields--spaced { margin-top: 10px; }
  .contact-screen .wizard__nav { margin-top: 8px; padding-top: 10px; }
  .contact-screen .wizard__nav .btn { padding: 11px 22px; font-size: 15px; }
  .display--sm { font-size: 34px; }
}
