/* Immocare - Das Hausverwalterkonzept | Entwurf
   Typo: Schibsted Grotesk (Display/UI), Instrument Sans (Text), IBM Plex Mono (Plan-Beschriftung)
   Radius-Regel: Buttons = Pille, Panels/Bilder = 16px, Eingaben/Kacheln = 10px */

:root {
  --ink: #0F1C2E;
  --ink-2: #172840;
  --ink-3: #243852;
  --paper: #F3F2EE;
  --surface: #FBFAF7;
  --sand: #E8E1D3;
  --sand-2: #DDD3C0;
  --text: #0F1C2E;
  --muted: #4A5567;
  --line: rgba(15, 28, 46, .13);
  --line-strong: rgba(15, 28, 46, .3);
  --gold: #C2A060;
  --gold-hover: #CFB074;
  --gold-deep: #7D5F27;
  --gold-large: #9A7838; /* nur fuer Text ab 24px (3:1) */
  --gold-soft: #EDE2C8;
  --on-ink: #EEF0F2;
  --on-ink-muted: #A9B4C2;
  --on-ink-line: rgba(238, 240, 242, .14);
  --ok: #2E6A4C;
  --ok-bg: #E2EEE6;
  --err: #A3392A;
  --err-bg: #F8E6E2;

  --f-display: "Schibsted Grotesk", "Segoe UI", system-ui, sans-serif;
  --f-body: "Instrument Sans", "Segoe UI", system-ui, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, monospace;

  --fs-display: clamp(2.55rem, 1.35rem + 5.1vw, 5.75rem);
  --fs-h1: clamp(2.3rem, 1.4rem + 3.6vw, 4.4rem);
  --fs-h2: clamp(1.95rem, 1.35rem + 2.5vw, 3.5rem);
  --fs-h3: clamp(1.25rem, 1.08rem + .7vw, 1.7rem);
  --fs-lead: clamp(1.08rem, 1rem + .35vw, 1.28rem);
  --fs-body: 1.0625rem;
  --fs-small: .9rem;
  --fs-mono: .74rem;

  --r-ctl: 10px;
  --r-panel: 16px;
  --pad: clamp(16px, 4.2vw, 56px);
  --max: 1320px;
  --sec: clamp(72px, 9vw, 144px);

  --dur-fast: 160ms;
  --dur: 260ms;
  --dur-slow: 700ms;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-std: cubic-bezier(.2, 0, 0, 1);

  --shadow: 0 1px 2px rgba(15, 28, 46, .06), 0 18px 40px -22px rgba(15, 28, 46, .28);
  --header-h: 76px;
}

@media (prefers-reduced-motion: reduce) {
  :root { --dur-fast: 1ms; --dur: 1ms; --dur-slow: 1ms; }
  html { scroll-behavior: auto !important; }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0; background: var(--paper); color: var(--text);
  font-family: var(--f-body); font-size: var(--fs-body); line-height: 1.6;
  text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-underline-offset: .2em; text-decoration-thickness: 1px; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { font-family: var(--f-display); font-weight: 700; line-height: 1.04; letter-spacing: -.028em; margin: 0; text-wrap: balance; color: inherit; }
h3 { letter-spacing: -.015em; line-height: 1.15; }
h1, h2, h3, .statement, .roles, .cell p, .pair-a li, .step p, .lead { hyphens: auto; -webkit-hyphens: auto; hyphenate-limit-chars: 12 5 5; overflow-wrap: break-word; }
ul, ol { margin: 0; padding: 0; }
::selection { background: var(--gold); color: var(--ink); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
.on-ink :focus-visible, .site-footer :focus-visible { outline-color: var(--gold-hover); }
html { scrollbar-color: var(--ink-3) var(--paper); }
.num { font-variant-numeric: lining-nums; }
.nowrap { white-space: nowrap; }

.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -100px; z-index: 100; background: var(--ink); color: var(--on-ink); padding: 12px 18px; border-radius: 999px; font-weight: 600; }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: calc(var(--max) + 2 * var(--pad)); margin: 0 auto; padding: 0 var(--pad); }
.sec { padding: var(--sec) 0; }
.lead { font-size: var(--fs-lead); line-height: 1.55; color: var(--muted); max-width: 60ch; }
.on-ink { background: var(--ink); color: var(--on-ink); }
.on-ink .lead, .on-ink .muted { color: var(--on-ink-muted); }
.muted { color: var(--muted); }
.kicker { font-family: var(--f-mono); font-size: var(--fs-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--gold-deep); margin: 0 0 22px; display: block; }
.on-ink .kicker { color: var(--gold); }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--ink); --fg: var(--on-ink);
  display: inline-flex; align-items: center; gap: 12px; min-height: 52px; padding: 6px 8px 6px 24px;
  border-radius: 999px; background: var(--bg); color: var(--fg); border: 1px solid transparent;
  font-family: var(--f-display); font-weight: 600; font-size: 1rem; letter-spacing: -.005em; text-decoration: none; white-space: nowrap;
  cursor: pointer; transition: background var(--dur) var(--ease-std), transform var(--dur-fast) var(--ease-std), color var(--dur) var(--ease-std), border-color var(--dur) var(--ease-std);
}
.btn .bi { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .12); transition: transform var(--dur) var(--ease-out); flex: none; }
.btn .bi svg { width: 18px; height: 18px; }
.btn:hover .bi { transform: translateX(3px); }
.btn:active { transform: translateY(1px) scale(.985); }
.btn--gold { --bg: var(--gold); --fg: var(--ink); }
.btn--gold .bi { background: rgba(15, 28, 46, .1); }
.btn--gold:hover { --bg: var(--gold-hover); }
.btn--ink:hover { --bg: var(--ink-3); }
.btn--line { --bg: transparent; --fg: var(--ink); border-color: var(--line-strong); }
.btn--line .bi { background: rgba(15, 28, 46, .07); }
.btn--line:hover { border-color: var(--ink); }
.on-ink .btn--line { --fg: var(--on-ink); border-color: rgba(238, 240, 242, .35); }
.on-ink .btn--line .bi { background: rgba(255, 255, 255, .1); }
.on-ink .btn--line:hover { border-color: var(--on-ink); }
.btn--sm { min-height: 44px; padding: 4px 18px; font-size: .95rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.textlink { display: inline-flex; align-items: center; gap: 8px; font-family: var(--f-display); font-weight: 600; text-decoration: none; border-bottom: 1px solid currentColor; padding: 10px 0 2px; min-height: 44px; }
.textlink svg { width: 16px; height: 16px; transition: transform var(--dur) var(--ease-out); }
.textlink:hover svg { transform: translateX(3px); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(243, 242, 238, .86); -webkit-backdrop-filter: blur(14px) saturate(140%); backdrop-filter: blur(14px) saturate(140%); border-bottom: 1px solid transparent; transition: border-color var(--dur) var(--ease-std), background var(--dur); }
.site-header.is-scrolled { border-bottom-color: var(--line); }
.hd { display: flex; align-items: center; gap: 24px; height: var(--header-h); }
.brand { display: flex; align-items: center; flex: none; padding: 6px 0; }
.brand img { height: 64px; width: auto; }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a { font-family: var(--f-display); font-weight: 500; font-size: .98rem; text-decoration: none; padding: 10px 12px; border-radius: 999px; color: var(--muted); transition: color var(--dur-fast), background var(--dur-fast); }
.nav a:hover { color: var(--ink); background: rgba(15, 28, 46, .05); }
.nav a[aria-current="page"] { color: var(--ink); box-shadow: inset 0 -2px 0 var(--gold); border-radius: 0; }
.hd-cta { display: flex; align-items: center; gap: 10px; }
.hd-login { font-family: var(--f-display); font-weight: 500; font-size: .95rem; text-decoration: none; color: var(--ink); padding: 10px 14px; border: 1px solid var(--line-strong); border-radius: 999px; min-height: 44px; display: inline-flex; align-items: center; }
.hd-login:hover { border-color: var(--ink); }
.burger { display: none; margin-left: auto; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-strong); background: transparent; cursor: pointer; position: relative; }
.burger span { position: absolute; left: 14px; right: 14px; height: 1.5px; background: var(--ink); transition: transform var(--dur) var(--ease-out), opacity var(--dur-fast); }
.burger span:nth-child(1) { top: 19px; } .burger span:nth-child(2) { top: 27px; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }

.mnav { position: fixed; inset: var(--header-h) 0 0 0; z-index: 39; background: var(--ink); color: var(--on-ink); padding: 28px var(--pad) 40px; display: flex; flex-direction: column; gap: 4px; overflow-y: auto; visibility: hidden; opacity: 0; transform: translateY(-8px); transition: opacity var(--dur) var(--ease-std), transform var(--dur) var(--ease-out), visibility 0s linear var(--dur); }
.mnav.is-open { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
.mnav a.ml { font-family: var(--f-display); font-weight: 600; font-size: clamp(1.7rem, 7vw, 2.4rem); letter-spacing: -.025em; text-decoration: none; padding: 10px 0; border-bottom: 1px solid var(--on-ink-line); opacity: 0; transform: translateY(14px); transition: opacity var(--dur-slow) var(--ease-out), transform var(--dur-slow) var(--ease-out); }
.mnav.is-open a.ml { opacity: 1; transform: none; }
.mnav.is-open a.ml:nth-child(2) { transition-delay: 40ms; } .mnav.is-open a.ml:nth-child(3) { transition-delay: 80ms; } .mnav.is-open a.ml:nth-child(4) { transition-delay: 120ms; } .mnav.is-open a.ml:nth-child(5) { transition-delay: 160ms; } .mnav.is-open a.ml:nth-child(6) { transition-delay: 200ms; }
.mnav .btn-row { margin-top: 28px; }
.mnav .mnav-tel { margin-top: 24px; color: var(--on-ink-muted); font-size: .95rem; }
.mnav .mnav-tel a { color: var(--on-ink); font-family: var(--f-display); font-weight: 600; font-size: 1.3rem; text-decoration: none; display: inline-block; padding: 6px 0; }
body.nav-open { overflow: hidden; }

@media (max-width: 1180px) {
  .nav, .hd-login { display: none; }
  .hd-cta { margin-left: auto; }
  .burger { display: block; margin-left: 0; }
}
@media (max-width: 560px) {
  :root { --header-h: 68px; }
  .brand img { height: 50px; }
  .hd-cta .btn { display: none; }
  .burger { margin-left: auto; }
}

/* ---------- Mobile Schaden-Leiste ---------- */
.dock { display: none; }
@media (max-width: 760px) {
  .dock { display: grid; grid-template-columns: 1fr auto; gap: 8px; position: fixed; left: 10px; right: 10px; bottom: max(10px, env(safe-area-inset-bottom)); z-index: 30; padding: 8px; background: rgba(15, 28, 46, .94); border-radius: 999px; box-shadow: 0 16px 36px -12px rgba(15, 28, 46, .55); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); transition: transform var(--dur) var(--ease-out); }
  .dock .btn { justify-content: center; min-height: 48px; padding: 4px 16px; }
  .dock .dock-tel { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--ink-3); color: var(--on-ink); }
  .dock .dock-tel svg { width: 20px; height: 20px; }
  body.has-dock { padding-bottom: 88px; }
  body.nav-open .dock { transform: translateY(140%); }
}

/* ---------- Hero ---------- */
.hero { padding: clamp(28px, 4vw, 64px) 0 clamp(56px, 6vw, 96px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 72px); align-items: center; }
.hero h1 { font-size: var(--fs-display); line-height: .96; letter-spacing: -.04em; margin-bottom: 28px; }
.hero h1 em { font-style: normal; color: var(--gold-large); }
.hero .lead { margin-bottom: 36px; max-width: 46ch; }
.hero-note { margin-top: 28px; display: flex; align-items: center; gap: 14px; color: var(--muted); font-size: var(--fs-small); }
.hero-note img { height: 34px; width: auto; }
@media (max-width: 960px) { .hero-grid { grid-template-columns: minmax(0, 1fr); } }

/* Plan-Panel (Fassade) */
.plan { position: relative; background: var(--ink); color: var(--on-ink); border-radius: var(--r-panel); padding: clamp(18px, 2.4vw, 32px); overflow: hidden; isolation: isolate; }
.plan::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(238, 240, 242, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(238, 240, 242, .045) 1px, transparent 1px); background-size: 24px 24px; background-position: -1px -1px; }
.plan svg.facade { width: 100%; height: auto; }
.facade .ln { fill: none; stroke: #C9D3DE; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.facade .ln-soft { fill: none; stroke: rgba(201, 211, 222, .38); stroke-width: 1; }
.facade .ln-dash { fill: none; stroke: rgba(201, 211, 222, .5); stroke-width: 1.1; stroke-dasharray: 5 6; }
.facade .ln-gold { fill: none; stroke: var(--gold); stroke-width: 1.6; stroke-linecap: round; }
.facade .pipe { fill: none; stroke: var(--gold); stroke-width: 1.4; stroke-dasharray: 2 6; stroke-linecap: round; }
.facade .win { fill: rgba(201, 211, 222, .04); stroke: rgba(201, 211, 222, .75); stroke-width: 1.1; }
.facade .win.lit { fill: rgba(194, 160, 96, .34); }
.facade .win.fire { fill: var(--gold); stroke: var(--gold); }
.facade .mk circle { fill: var(--ink); stroke: var(--gold); stroke-width: 1.5; }
.facade .mk text { font-family: var(--f-mono); font-size: 13px; font-weight: 500; fill: var(--gold); text-anchor: middle; dominant-baseline: central; }
.plan-legend { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 6px; margin: 18px 0 0; padding: 16px 0 0; border-top: 1px solid var(--on-ink-line); list-style: none; }
.plan-legend a { display: flex; align-items: center; gap: 8px; min-height: 44px; padding: 6px 8px; border-radius: var(--r-ctl); text-decoration: none; font-size: .86rem; line-height: 1.25; color: var(--on-ink); transition: background var(--dur-fast); }
.plan-legend a:hover { background: rgba(238, 240, 242, .07); }
.plan-legend b { flex: none; width: 24px; height: 24px; border-radius: 50%; border: 1.5px solid var(--gold); display: grid; place-items: center; font-family: var(--f-mono); font-weight: 500; font-size: .72rem; color: var(--gold); }
.plan-cap { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; margin: 0 0 10px; font-family: var(--f-mono); font-size: var(--fs-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--on-ink-muted); }
@media (max-width: 640px) { .plan-legend { grid-template-columns: repeat(2, minmax(0, 1fr)); } .plan-legend li:last-child { grid-column: 1 / -1; } }

/* Zeichnen beim Laden */
.js .facade.draw .ln, .js .facade.draw .ln-gold { stroke-dasharray: var(--len, 1400); stroke-dashoffset: var(--len, 1400); animation: draw 1.6s var(--ease-out) forwards; }
.js .facade.draw .win, .js .facade.draw .mk, .js .facade.draw .pipe, .js .facade.draw .ln-dash, .js .facade.draw .ln-soft { opacity: 0; animation: fadein .6s var(--ease-out) forwards; animation-delay: calc(.7s + var(--d, 0) * 1ms); }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fadein { to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .js .facade.draw * { animation: none !important; opacity: 1 !important; stroke-dashoffset: 0 !important; stroke-dasharray: none; } .js .facade.draw .pipe { stroke-dasharray: 2 6; } .js .facade.draw .ln-dash { stroke-dasharray: 5 6; } }

/* ---------- Masskette / Kennzahlen ---------- */
.ruler { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--surface); }
.ruler-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); }
.rk { position: relative; padding: 34px 20px 30px; }
.rk::before { content: ""; position: absolute; left: 0; right: 0; top: 14px; height: 1px; background: var(--gold); }
.rk::after { content: ""; position: absolute; left: 0; top: 8px; width: 1px; height: 13px; background: var(--gold); }
.rk:last-child { box-shadow: inset -1px 0 0 transparent; }
.rk:last-child .tick-end { position: absolute; right: 0; top: 8px; width: 1px; height: 13px; background: var(--gold); }
.rk + .rk { border-left: 1px solid var(--line); }
.rk strong { display: block; font-family: var(--f-display); font-weight: 700; font-size: clamp(1.5rem, 1rem + 1.15vw, 2.05rem); letter-spacing: -.035em; line-height: 1; margin-bottom: 10px; white-space: nowrap; font-variant-numeric: lining-nums; }
.rk span { display: block; font-size: .9rem; line-height: 1.4; color: var(--muted); hyphens: auto; }
@media (max-width: 1100px) { .ruler-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } .rk:nth-child(4) { border-left: 0; } .rk:nth-child(n+4) { border-top: 1px solid var(--line); } }
@media (max-width: 600px) { .ruler-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .rk { padding: 30px 14px 24px; } .rk:nth-child(odd) { border-left: 0; } .rk:nth-child(4) { border-left: 1px solid var(--line); } .rk:nth-child(n+3) { border-top: 1px solid var(--line); } }

/* ---------- Herausforderung -> Antwort ---------- */
.sec-head { max-width: 860px; margin-bottom: clamp(40px, 5vw, 72px); }
.sec-head h2 { font-size: var(--fs-h2); margin-bottom: 20px; }
.pairs { border-top: 1px solid var(--line-strong); }
.pair { display: grid; grid-template-columns: minmax(0, 1fr) 72px minmax(0, 1.08fr); gap: 0; padding: clamp(28px, 3.4vw, 48px) 0; border-bottom: 1px solid var(--line); align-items: start; }
.pair-q h3 { font-size: var(--fs-h3); margin-bottom: 14px; }
.pair-q p { color: var(--muted); margin: 0; max-width: 54ch; }
.pair-arrow { display: grid; place-items: center; padding-top: 10px; color: var(--gold-deep); }
.pair-arrow svg { width: 28px; height: 28px; }
.pair-a { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-panel); padding: clamp(20px, 2.4vw, 30px); }
.pair-a .tag { display: inline-block; font-family: var(--f-mono); font-size: var(--fs-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--gold-deep); margin-bottom: 12px; }
.pair-a ul { list-style: none; display: grid; gap: 10px; }
.pair-a li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; line-height: 1.45; }
.pair-a li svg { width: 20px; height: 20px; margin-top: 2px; color: var(--gold-deep); }
@media (max-width: 860px) { .pair { grid-template-columns: minmax(0, 1fr); gap: 18px; } .pair-arrow { justify-content: start; padding: 0; transform: rotate(90deg); width: 28px; } }

/* ---------- Statement + Bausteine ---------- */
.about-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .9fr); gap: clamp(32px, 5vw, 96px); align-items: start; }
.statement { font-family: var(--f-display); font-weight: 500; font-size: clamp(1.6rem, 1.1rem + 1.9vw, 2.85rem); line-height: 1.14; letter-spacing: -.028em; margin: 0 0 36px; text-wrap: pretty; }
.statement mark { background: none; color: var(--gold); }
.about-copy { color: var(--on-ink-muted); max-width: 60ch; }
.about-copy strong { color: var(--on-ink); font-weight: 600; }
.rings { position: relative; }
.rings svg { width: 100%; max-width: 440px; margin: 0 auto; }
.rings .ring-arc { fill: none; stroke-width: 34; }
.rings .ring-t { font-family: var(--f-display); font-weight: 700; font-size: 19px; fill: var(--on-ink); text-anchor: middle; }
.rings .ring-s { font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .12em; fill: var(--on-ink-muted); text-anchor: middle; text-transform: uppercase; }
.rings-list { list-style: none; display: grid; gap: 0; margin-top: 22px; }
.rings-list li { display: grid; grid-template-columns: 14px 1fr; gap: 14px; align-items: baseline; padding: 14px 0; border-top: 1px solid var(--on-ink-line); }
.rings-list i { width: 12px; height: 12px; border-radius: 3px; display: block; transform: translateY(1px); }
.rings-list b { font-family: var(--f-display); font-weight: 600; display: block; }
.rings-list small { color: var(--on-ink-muted); font-size: .88rem; }
@media (max-width: 960px) { .about-grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Leistungen Bento ---------- */
.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 14px; }
.cell { position: relative; border-radius: var(--r-panel); padding: clamp(22px, 2.6vw, 36px); background: var(--surface); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 14px; overflow: hidden; min-height: 260px; }
.cell h3 { font-size: var(--fs-h3); }
.cell p { margin: 0; color: var(--muted); max-width: 56ch; }
.cell .fig { font-family: var(--f-display); font-weight: 700; font-size: clamp(3rem, 2rem + 4vw, 6rem); letter-spacing: -.05em; line-height: .9; margin-top: auto; font-variant-numeric: lining-nums; }
.cell .fig small { font-size: .38em; letter-spacing: -.01em; margin-left: .15em; }
.cell .note { font-family: var(--f-mono); font-size: var(--fs-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--gold-deep); }
.c-7 { grid-column: span 7; } .c-5 { grid-column: span 5; } .c-4 { grid-column: span 4; } .c-8 { grid-column: span 8; }
.cell--ink { background: var(--ink); color: var(--on-ink); border-color: var(--ink); }
.cell--ink p { color: var(--on-ink-muted); }
.cell--ink .note, .cell--ink .fig { color: var(--gold); }
.cell--gold { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.cell--gold p { color: #2A2A2A; }
.cell--gold .note { color: var(--ink); }
.cell--sand { background: var(--sand); border-color: var(--sand); }
.cell--sand p { color: #3D4757; }
.cell--plan { background-color: var(--surface); background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 28px 28px; }
.cell .guests { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin-top: auto; }
.cell .guests li { border: 1px solid var(--line-strong); border-radius: 999px; padding: 6px 14px; font-size: .9rem; background: var(--surface); }
.cell .quote-line { font-family: var(--f-display); font-weight: 600; font-size: clamp(1.25rem, 1rem + .9vw, 1.7rem); letter-spacing: -.02em; line-height: 1.2; margin-top: auto; color: var(--ink); }
.cell .quote-line::before { content: ""; display: block; width: 36px; height: 2px; background: var(--gold); margin-bottom: 16px; }
.bento-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; margin-top: 28px; }
@media (max-width: 960px) { .c-7, .c-5, .c-4, .c-8 { grid-column: span 12; } .cell { min-height: 0; } }

/* ---------- Vorteils-Matrix ---------- */
.matrix-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: end; margin-bottom: clamp(36px, 4vw, 56px); }
.matrix-head h2 { font-size: clamp(2.3rem, 1.3rem + 4.4vw, 5.2rem); letter-spacing: -.045em; line-height: .95; }
.matrix-head h2 span { display: block; }
.matrix-head h2 span:nth-child(2) { color: var(--muted); }
.matrix-head h2 span:nth-child(3) { color: var(--gold-large); }
.matrix { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border: 1px solid var(--line-strong); border-radius: var(--r-panel); overflow: hidden; background: var(--surface); }
.mcol { padding: clamp(24px, 3vw, 44px); }
.mcol + .mcol { border-left: 1px solid var(--line-strong); background: var(--sand); }
.mcol h3 { font-size: var(--fs-h3); margin-bottom: 6px; }
.mcol .for { color: var(--muted); font-size: .95rem; margin-bottom: 22px; }
.mcol ul { list-style: none; counter-reset: m; }
.mcol li { display: grid; grid-template-columns: 30px 1fr; gap: 12px; padding: 16px 0; border-top: 1px solid var(--line); line-height: 1.45; }
.mcol li svg { width: 22px; height: 22px; color: var(--gold-deep); margin-top: 1px; }
.mcol li strong { font-family: var(--f-display); font-weight: 650; }
@media (max-width: 860px) { .matrix { grid-template-columns: minmax(0, 1fr); } .mcol + .mcol { border-left: 0; border-top: 1px solid var(--line-strong); } .matrix-head { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Rollen (Vermoegensschadenhaftpflicht) ---------- */
.roles { font-family: var(--f-display); font-weight: 700; font-size: clamp(2rem, 1rem + 4.6vw, 5.4rem); letter-spacing: -.045em; line-height: 1.02; margin: 0 0 clamp(32px, 4vw, 56px); color: rgba(238, 240, 242, .2); }
.roles span { transition: color .9s var(--ease-out); }
.roles span.on { color: var(--on-ink); }
.roles span.on.gold { color: var(--gold); }
.roles-foot { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px; align-items: end; }
.roles-foot p { font-size: var(--fs-lead); color: var(--on-ink-muted); max-width: 62ch; margin: 0; }
.roles-foot p strong { color: var(--on-ink); font-weight: 600; }
@media (max-width: 860px) { .roles-foot { grid-template-columns: minmax(0, 1fr); } }
.no-anim .roles span { color: var(--on-ink); }

/* ---------- Ablauf ---------- */
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; counter-reset: s; position: relative; }
.step { position: relative; padding: 0 22px 0 0; }
.step .dot { display: flex; align-items: center; gap: 0; margin-bottom: 26px; }
.step .dot b { flex: none; width: 52px; height: 52px; border-radius: 50%; border: 1.5px solid var(--ink); display: grid; place-items: center; font-family: var(--f-mono); font-weight: 500; font-size: .9rem; background: var(--paper); }
.step:first-child .dot b { background: var(--gold); border-color: var(--gold); }
.step .dot i { flex: 1; height: 1px; background: var(--line-strong); }
.step:last-child .dot i { background: transparent; }
.step h3 { font-size: var(--fs-h3); margin-bottom: 10px; }
.step p { color: var(--muted); margin: 0; font-size: .98rem; }
.step a { font-weight: 600; }
.steps-note { margin-top: 32px; font-size: .85rem; color: var(--muted); }
@media (max-width: 960px) {
  .steps { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .step { display: grid; grid-template-columns: 52px 1fr; gap: 0 20px; padding: 0 0 28px; }
  .step .dot { grid-row: span 2; flex-direction: column; margin: 0; height: 100%; }
  .step .dot i { width: 1px; height: auto; flex: 1; min-height: 20px; }
  .step h3 { padding-top: 12px; }
}

/* ---------- Netzwerk ---------- */
.fields { list-style: none; display: grid; grid-template-columns: repeat(5, auto); gap: 0; border-top: 1px solid var(--line-strong); border-bottom: 1px solid var(--line-strong); margin-bottom: clamp(36px, 4vw, 56px); }
.fields li { font-family: var(--f-display); font-weight: 600; font-size: clamp(1.05rem, .9rem + .5vw, 1.3rem); letter-spacing: -.02em; padding: 22px clamp(12px, 2vw, 28px); display: flex; align-items: center; gap: 12px; }
.fields li + li { border-left: 1px solid var(--line); }
.fields li svg { width: 22px; height: 22px; color: var(--gold-deep); flex: none; }
.logos { list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.logos li { display: grid; place-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-panel); padding: 26px 22px; min-height: 128px; }
.logos img { max-height: 64px; width: auto; max-width: 100%; object-fit: contain; filter: saturate(.9); }
@media (max-width: 1180px) { .fields { grid-template-columns: repeat(3, minmax(0, 1fr)); } .fields li:nth-child(4) { border-left: 0; } .fields li:nth-child(n+4) { border-top: 1px solid var(--line); } .logos { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 600px) { .fields { grid-template-columns: minmax(0, 1fr); } .fields li { border-left: 0 !important; padding: 16px 4px; } .logos li:last-child { grid-column: 1 / -1; } .fields li + li { border-top: 1px solid var(--line); } .logos { grid-template-columns: repeat(2, minmax(0, 1fr)); } .logos li { min-height: 96px; padding: 18px 14px; } .logos img { max-height: 46px; } }

/* ---------- Team ---------- */
.people { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 24px); }
.person figure { margin: 0; }
.person .ph { position: relative; border-radius: var(--r-panel); overflow: hidden; background: #fff; aspect-ratio: 4 / 5; }
.person .ph::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 1px rgba(15, 28, 46, .08); border-radius: inherit; pointer-events: none; }
.person img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease-out); }
.person:hover img { transform: scale(1.035); }
.person figcaption { padding: 16px 2px 0; }
.person .nm { font-family: var(--f-display); font-weight: 650; font-size: 1.15rem; letter-spacing: -.015em; display: block; line-height: 1.2; }
.person .fn { font-family: var(--f-mono); font-size: var(--fs-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--gold-deep); display: block; margin-top: 6px; }
.person .ql { display: block; color: var(--muted); font-size: .93rem; margin-top: 4px; line-height: 1.4; }
.people--sm .nm { font-size: 1.02rem; }
@media (max-width: 960px) { .people { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 360px) { .people--sm .nm { font-size: .95rem; } }
.team-teaser-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: end; margin-bottom: clamp(32px, 4vw, 56px); }
.team-teaser-head h2 { font-size: var(--fs-h2); }
@media (max-width: 760px) { .team-teaser-head { grid-template-columns: minmax(0, 1fr); } }

/* Gruppen (Ansprechpartner) */
.group { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); padding: clamp(40px, 5vw, 72px) 0; border-top: 1px solid var(--line-strong); }
.group h2 { font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.4rem); margin-bottom: 14px; }
.group .gaddr { font-style: normal; color: var(--muted); font-size: .95rem; line-height: 1.55; }
.group .gaddr strong { color: var(--ink); font-family: var(--f-display); font-weight: 600; }
.group .gside { position: sticky; top: calc(var(--header-h) + 24px); align-self: start; }
.group .count { font-family: var(--f-mono); font-size: var(--fs-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--gold-deep); display: block; margin-bottom: 14px; }
@media (max-width: 860px) { .group { grid-template-columns: minmax(0, 1fr); } .group .gside { position: static; } }
.people--3 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 960px) { .people--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- Standorte / Schluss ---------- */
.final { position: relative; padding: var(--sec) 0 calc(var(--sec) * .8 + 150px); overflow: hidden; }
.skyline { position: absolute; left: 0; bottom: 0; width: 100%; height: clamp(110px, 12vw, 172px); pointer-events: none; opacity: .9; }
.skyline path, .skyline rect { fill: none; stroke: rgba(194, 160, 96, .22); stroke-width: 1; vector-effect: non-scaling-stroke; }
.final .wrap { position: relative; }
.final h2 { font-size: var(--fs-h2); max-width: 15ch; margin-bottom: 28px; }
.final-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 96px); align-items: end; }
.bigtel { display: inline-block; font-family: var(--f-display); font-weight: 700; font-size: clamp(2.1rem, 1.1rem + 4.4vw, 5rem); letter-spacing: -.045em; line-height: 1; text-decoration: none; color: var(--on-ink); border-bottom: 2px solid var(--gold); padding: 4px 0 8px; margin: 8px 0 18px; }
.bigtel:hover { color: var(--gold); }
.mailline { font-size: var(--fs-lead); }
.mailline a { color: var(--on-ink); }
.sites { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.site { border: 1px solid var(--on-ink-line); border-radius: var(--r-panel); padding: 24px; }
.site h3 { font-size: 1.15rem; margin-bottom: 10px; display: flex; align-items: center; gap: 10px; }
.site h3 svg { width: 18px; height: 18px; color: var(--gold); }
.site address { font-style: normal; color: var(--on-ink-muted); line-height: 1.6; }
.final .btn-row { margin-top: 32px; }
@media (max-width: 960px) { .final-grid { grid-template-columns: minmax(0, 1fr); align-items: start; } }
@media (max-width: 520px) { .sites { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Footer ---------- */
.site-footer { background: #0A1422; color: var(--on-ink-muted); padding: 64px 0 36px; font-size: .95rem; }
.ft { display: grid; grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, 1fr)); gap: 32px; }
.ft img.flogo { height: 58px; width: auto; margin-bottom: 18px; }
.ft h2 { font-family: var(--f-mono); font-size: var(--fs-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; font-weight: 500; }
.ft ul { list-style: none; display: grid; gap: 2px; }
.ft a { text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; padding: 4px 0; color: var(--on-ink); }
.ft a:hover { color: var(--gold); }
.ft address { font-style: normal; line-height: 1.6; }
.fb { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--on-ink-line); font-size: .85rem; }
.fb a { color: var(--on-ink-muted); }
@media (max-width: 960px) { .ft { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .ft { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Unterseiten-Kopf ---------- */
.phead { padding: clamp(36px, 5vw, 80px) 0 clamp(36px, 4vw, 64px); }
.phead h1 { font-size: var(--fs-h1); letter-spacing: -.04em; line-height: .98; margin-bottom: 22px; max-width: 18ch; }
.phead .lead { max-width: 58ch; }
.crumbs { font-family: var(--f-mono); font-size: var(--fs-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 26px; }
.crumbs a { text-decoration: none; color: var(--gold-deep); }

/* ---------- Leistungen-Seite ---------- */
.ls-grid { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: clamp(28px, 5vw, 88px); }
.toc { position: sticky; top: calc(var(--header-h) + 24px); align-self: start; }
.toc ol { list-style: none; padding: 0; margin: 0; border-left: 1px solid var(--line-strong); }
.toc ol a { display: block; padding: 10px 0 10px 18px; text-decoration: none; color: var(--muted); font-size: .95rem; margin-left: -1px; border-left: 2px solid transparent; transition: color var(--dur-fast), border-color var(--dur-fast); }
.toc ol a:hover, .toc ol a.is-active { color: var(--ink); border-left-color: var(--gold); }
.toc .toc-cta { margin-top: 24px; }
.lsec { padding: 0 0 clamp(48px, 6vw, 88px); margin: 0 0 clamp(48px, 6vw, 88px); border-bottom: 1px solid var(--line); scroll-margin-top: calc(var(--header-h) + 24px); }
.lsec:last-child { border-bottom: 0; }
.lsec h2 { font-size: clamp(1.8rem, 1.3rem + 1.9vw, 2.9rem); margin-bottom: 18px; max-width: 22ch; }
.lsec .body { max-width: 64ch; font-size: 1.08rem; }
.lsec .body p { color: var(--muted); }
.lsec .callout { display: grid; grid-template-columns: auto 1fr; gap: 6px 24px; align-items: baseline; margin-top: 24px; padding: 24px 28px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-panel); }
.lsec .callout .fig { font-family: var(--f-display); font-weight: 700; font-size: clamp(2.2rem, 1.6rem + 2.2vw, 3.6rem); letter-spacing: -.045em; line-height: 1; color: var(--ink); }
.lsec .callout p { margin: 0; color: var(--muted); }
.lsec .callout--text { display: block; }
.lsec .callout--text p { font-family: var(--f-display); font-weight: 600; font-size: clamp(1.25rem, 1rem + .9vw, 1.7rem); letter-spacing: -.02em; line-height: 1.2; color: var(--ink); }
.lsec .callout--text p::before { content: ""; display: block; width: 36px; height: 2px; background: var(--gold); margin-bottom: 14px; }
.lsec .checks { list-style: none; display: grid; gap: 0; max-width: 72ch; }
.lsec .checks li { display: grid; grid-template-columns: 30px 1fr; gap: 12px; padding: 15px 0; border-top: 1px solid var(--line); }
.lsec .checks li svg { width: 22px; height: 22px; color: var(--gold-deep); }
@media (max-width: 960px) { .ls-grid { grid-template-columns: minmax(0, 1fr); } .toc { position: static; } .toc { margin: 0 calc(-1 * var(--pad)); } .toc ol { display: flex; flex-wrap: nowrap; gap: 6px; border: 0; overflow-x: auto; padding: 4px var(--pad) 10px; scroll-padding-inline: var(--pad); scroll-snap-type: x proximity; scrollbar-width: none; } .toc ol::-webkit-scrollbar { display: none; } .toc li { flex: none; scroll-snap-align: start; } .toc ol a { border: 1px solid var(--line-strong); border-radius: 999px; padding: 10px 16px; margin: 0; font-size: .9rem; min-height: 44px; white-space: nowrap; } .toc .toc-cta { display: none; } }
@media (max-width: 520px) { .lsec .callout { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Formulare ---------- */
.form-shell { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.3fr); gap: clamp(28px, 5vw, 80px); align-items: start; padding-bottom: var(--sec); }
.form-side { position: sticky; top: calc(var(--header-h) + 24px); }
.form-side h1 { font-size: var(--fs-h1); letter-spacing: -.04em; line-height: .98; margin-bottom: 20px; }
.form-side .lead { margin-bottom: 28px; }
.side-card { border-radius: var(--r-panel); padding: 24px; margin-bottom: 14px; }
.side-card h2 { font-size: 1.1rem; margin-bottom: 10px; letter-spacing: -.01em; }
.side-card p { margin: 0; font-size: .95rem; }
.side-card--ink { background: var(--ink); color: var(--on-ink); }
.side-card--ink p { color: var(--on-ink-muted); }
.side-card--ink .tel { display: inline-block; font-family: var(--f-display); font-weight: 700; font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); letter-spacing: -.03em; color: var(--on-ink); text-decoration: none; margin: 4px 0 6px; padding: 4px 0; border-bottom: 1.5px solid var(--gold); }
.side-card--line { border: 1px solid var(--line-strong); }
.side-card ol { margin: 0; padding: 0; list-style: none; counter-reset: n; display: grid; gap: 10px; }
.side-card ol li { counter-increment: n; display: grid; grid-template-columns: 28px 1fr; gap: 10px; font-size: .95rem; line-height: 1.45; color: var(--muted); }
.side-card ol li::before { content: counter(n); width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--gold-deep); color: var(--gold-deep); font-family: var(--f-mono); font-size: .75rem; display: grid; place-items: center; }
.side-card ol li strong { color: var(--ink); }
@media (max-width: 1000px) { .form-shell { grid-template-columns: minmax(0, 1fr); } .form-side { position: static; } }

.form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-panel); padding: clamp(20px, 3.2vw, 44px); box-shadow: var(--shadow); }
.fsec { border: 0; margin: 0; padding: 0 0 30px; }
.fsec + .fsec { padding-top: 30px; border-top: 1px solid var(--line); }
.fsec-h { display: flex; align-items: baseline; gap: 12px; margin-bottom: 20px; }
.fsec-h b { font-family: var(--f-mono); font-weight: 500; font-size: .75rem; color: var(--gold-deep); letter-spacing: .08em; }
.fsec-h h2 { font-size: 1.35rem; letter-spacing: -.018em; }
.fgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 18px; }
.fgrid .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .fgrid { grid-template-columns: minmax(0, 1fr); } }
.field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.field label, .group-label { font-family: var(--f-display); font-weight: 600; font-size: .98rem; letter-spacing: -.005em; color: var(--ink); }
.req { color: var(--err); font-weight: 700; margin-left: 2px; }
.opt { font-family: var(--f-body); font-weight: 400; color: var(--muted); font-size: .88rem; }
.hint { font-size: .86rem; color: var(--muted); margin: 0; }
.field input, .field textarea, .field select {
  width: 100%; min-height: 52px; padding: 13px 15px; font: inherit; font-size: 1rem; color: var(--ink);
  background: #fff; border: 1.5px solid rgba(15, 28, 46, .52); border-radius: var(--r-ctl);
  transition: border-color var(--dur-fast), box-shadow var(--dur-fast); -webkit-appearance: none; appearance: none;
}
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%230F1C2E' stroke-width='1.6'%3E%3Cpath d='M3 6l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; }
.field textarea { min-height: 150px; resize: vertical; line-height: 1.5; }
.field input::placeholder, .field textarea::placeholder { color: #69727F; }
.field input:hover, .field textarea:hover, .field select:hover { border-color: rgba(15, 28, 46, .75); }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px rgba(194, 160, 96, .45); }
.field input[type="date"] { min-height: 52px; }
.is-invalid input, .is-invalid textarea, .is-invalid select { border-color: var(--err); background: #FFFBFA; }
.err { display: none; align-items: flex-start; gap: 6px; color: var(--err); font-size: .9rem; font-weight: 500; line-height: 1.35; }
.err svg { width: 16px; height: 16px; flex: none; margin-top: 2px; }
.is-invalid > .err, .is-invalid .err { display: flex; }

.choice-set { border: 0; margin: 0; padding: 0; min-width: 0; }
.choice-set legend { padding: 0; margin-bottom: 10px; }
.tiles { display: grid; gap: 10px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tiles--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tiles--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 640px) { .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } .tiles--3 { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 480px) { .tiles { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 480px) { .tiles--2:not(:has(.ic)) { grid-template-columns: repeat(2, minmax(0, 1fr)); } .form-actions .btn { width: 100%; justify-content: space-between; } }
.tile .tl { min-width: 0; overflow-wrap: break-word; hyphens: auto; }
.tile { position: relative; display: block; }
.tile input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.tile input + span { display: flex; align-items: center; gap: 12px; min-height: 60px; padding: 12px 14px; background: #fff; border: 1.5px solid rgba(15, 28, 46, .52); border-radius: var(--r-ctl); cursor: pointer; font-weight: 500; line-height: 1.25; font-size: .97rem; transition: border-color var(--dur-fast), background var(--dur-fast), box-shadow var(--dur-fast); user-select: none; }
.tile input + span:hover { border-color: rgba(15, 28, 46, .8); }
.tile .ic { flex: none; width: 34px; height: 34px; border-radius: 8px; display: grid; place-items: center; background: var(--paper); color: var(--ink); transition: background var(--dur-fast), color var(--dur-fast); }
.tile .ic svg { width: 19px; height: 19px; }
.tile .box { flex: none; margin-left: auto; width: 22px; height: 22px; border: 1.5px solid rgba(15, 28, 46, .55); border-radius: 6px; display: grid; place-items: center; background: #fff; transition: background var(--dur-fast), border-color var(--dur-fast); }
.tile input[type="radio"] + span .box { border-radius: 50%; }
.tile .box svg { width: 14px; height: 14px; color: var(--ink); opacity: 0; transform: scale(.6); transition: opacity var(--dur-fast), transform var(--dur) var(--ease-out); }
.tile input:checked + span { border-color: var(--ink); background: var(--gold-soft); box-shadow: inset 0 0 0 1px var(--ink); }
.tile input:checked + span .ic { background: var(--ink); color: var(--gold); }
.tile input:checked + span .box { background: var(--gold); border-color: var(--ink); }
.tile input:checked + span .box svg { opacity: 1; transform: none; }
.tile input:focus-visible + span { outline: 3px solid var(--gold); outline-offset: 2px; }
.is-invalid .tile input + span { border-color: rgba(163, 57, 42, .6); }

.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; padding-top: 28px; border-top: 1px solid var(--line); }
.form-actions .btn { min-height: 60px; font-size: 1.08rem; padding-left: 28px; }
.form-actions .hint { flex: 1 1 240px; }
.btn[aria-busy="true"] { pointer-events: none; opacity: .85; }
.btn[aria-busy="true"] .bi svg { display: none; }
.btn[aria-busy="true"] .bi::after { content: ""; width: 18px; height: 18px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.err-summary { display: none; border: 1.5px solid var(--err); background: var(--err-bg); border-radius: var(--r-ctl); padding: 18px 20px; margin-bottom: 26px; }
.err-summary.is-shown { display: block; }
.err-summary h2 { font-size: 1.1rem; color: var(--err); margin-bottom: 8px; }
.err-summary ul { padding-left: 18px; display: grid; gap: 4px; }
.err-summary a { color: var(--err); font-weight: 500; }

.status { margin-top: 0; }
.result { border-radius: var(--r-panel); padding: clamp(24px, 3.4vw, 44px); }
.result h2 { font-size: clamp(1.6rem, 1.2rem + 1.5vw, 2.3rem); margin-bottom: 14px; letter-spacing: -.03em; }
.result p { max-width: 60ch; }
.result--ok { background: var(--ok-bg); border: 1.5px solid var(--ok); }
.result--ok h2 { color: var(--ok); }
.result--draft { background: var(--surface); border: 1.5px dashed var(--gold-deep); }
.result .seal { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--ok); color: #fff; margin-bottom: 20px; }
.result--draft .seal { background: var(--gold); color: var(--ink); }
.result .seal svg { width: 26px; height: 26px; }
.result .btn-row { margin-top: 22px; }
.result pre { white-space: pre-wrap; font-family: var(--f-mono); font-size: .8rem; background: #fff; border: 1px solid var(--line); border-radius: var(--r-ctl); padding: 16px; max-height: 260px; overflow: auto; margin: 18px 0 0; }
.devnote { margin-top: 16px; font-size: .85rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: 14px; }
.consent { display: grid; grid-template-columns: 26px 1fr; gap: 10px; align-items: start; font-size: .93rem; color: var(--muted); }
.consent input { width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--ink); }

/* ---------- Rechtstexte ---------- */
.legal { max-width: 78ch; padding-bottom: var(--sec); }
.legal h2 { font-size: clamp(1.4rem, 1.2rem + .8vw, 1.9rem); margin: 48px 0 14px; }
.legal h3 { font-size: 1.15rem; margin: 30px 0 10px; }
.legal p, .legal li { color: #2F3A4A; }
.legal ul { padding-left: 20px; margin-bottom: 1em; }
.legal address { font-style: normal; line-height: 1.6; margin-bottom: 1em; }
.legal a { word-break: break-word; }
.draft-flag { display: flex; gap: 14px; align-items: flex-start; background: var(--gold-soft); border-radius: var(--r-ctl); padding: 16px 20px; margin-bottom: 36px; font-size: .95rem; }
.draft-flag svg { width: 22px; height: 22px; flex: none; color: var(--gold-deep); margin-top: 1px; }

/* ---------- Reveal ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); transition-delay: calc(var(--i, 0) * 70ms); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js [data-reveal] { opacity: 1; transform: none; transition: none; } }
.no-anim [data-reveal] { opacity: 1 !important; transform: none !important; transition: none !important; }

@media print { .site-header, .dock, .site-footer, .burger { display: none !important; } body { background: #fff; } }
@media (max-width: 1180px) and (min-width: 961px) { .hero h1 { font-size: 4.1rem; } }

@media (forced-colors: active) { .tile input:checked + span { outline: 3px solid CanvasText; } .btn { border: 1px solid ButtonText; } }

/* Team Freiburg / Direktion Sued */
.group--fr { display: block; }
.fr-head { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: center; margin-bottom: clamp(32px, 4vw, 56px); }
.fr-head h2 { margin-bottom: 14px; }
.fr-img { margin: 0; border-radius: var(--r-panel); overflow: hidden; background: #fff; box-shadow: inset 0 0 0 1px rgba(15, 28, 46, .08); }
.fr-img img { width: 100%; height: auto; }
.subteam { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); padding: clamp(28px, 3.4vw, 48px) 0 0; margin-top: clamp(28px, 3.4vw, 48px); border-top: 1px solid var(--line); }
.subteam h3 { font-size: clamp(1.3rem, 1.1rem + .8vw, 1.75rem); }
.subteam .gside { position: sticky; top: calc(var(--header-h) + 24px); align-self: start; }
@media (max-width: 860px) { .fr-head, .subteam { grid-template-columns: minmax(0, 1fr); } .subteam .gside { position: static; } }
.team-wide { margin: 0; }
.team-wide-img { display: block; border-radius: var(--r-panel); overflow: hidden; background: #fff; box-shadow: inset 0 0 0 1px rgba(15, 28, 46, .08); }
.team-wide-img img { width: 100%; height: auto; transition: transform 1.1s var(--ease-out); }
.team-wide-img:hover img { transform: scale(1.015); }
.team-wide figcaption { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 24px; padding-top: 16px; color: var(--muted); }
.team-wide figcaption strong { color: var(--ink); font-family: var(--f-display); font-weight: 650; margin-right: 6px; }

/* ===================== Feinschliff v2 ===================== */
/* Hero: Menschen-Beleg */
.hero-proof { display: flex; align-items: center; gap: 16px; margin-top: 30px; }
.avatars { display: flex; flex: none; padding: 4px 0; min-height: 44px; }
.avatars img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; object-position: 50% 12%; background: #fff; border: 2.5px solid var(--paper); margin-left: -12px; transition: transform var(--dur) var(--ease-out); }
.avatars img:first-child { margin-left: 0; }
.avatars:hover img { transform: translateY(-3px); }
.avatars:hover img:nth-child(2) { transition-delay: 30ms; } .avatars:hover img:nth-child(3) { transition-delay: 60ms; } .avatars:hover img:nth-child(4) { transition-delay: 90ms; }
.hero-proof p { margin: 0; font-size: .92rem; line-height: 1.4; color: var(--muted); }
.hero-proof strong { color: var(--ink); font-family: var(--f-display); font-weight: 650; }
.hero-proof span { font-size: .84rem; }

/* Kennzahlen: Masslinie zeichnet sich */
@keyframes rule-in { from { transform: scaleX(0); } }
.js .rk::before { transform-origin: left; animation: rule-in 1.3s var(--ease-out) both; }
.js .rk:nth-child(2)::before { animation-delay: .08s; } .js .rk:nth-child(3)::before { animation-delay: .16s; } .js .rk:nth-child(4)::before { animation-delay: .24s; } .js .rk:nth-child(5)::before { animation-delay: .32s; } .js .rk:nth-child(6)::before { animation-delay: .4s; }
@media (prefers-reduced-motion: reduce) { .js .rk::before { animation: none; } }
.no-anim .rk::before { animation: none !important; }
.ruler--4 .ruler-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1100px) { .ruler--4 .ruler-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .ruler--4 .rk:nth-child(3) { border-left: 0; } .ruler--4 .rk:nth-child(n+3) { border-top: 1px solid var(--line); } .ruler--4 .rk:nth-child(4) { border-left: 1px solid var(--line); } }

/* Menschen-Moment: Inhouse */
.moment { background: #fff; padding: clamp(64px, 8vw, 128px) 0 clamp(40px, 5vw, 72px); overflow: hidden; }
.moment-head { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 24px clamp(24px, 4vw, 64px); align-items: end; margin-bottom: clamp(20px, 3vw, 40px); }
.giant { font-size: clamp(4rem, 1rem + 10.5vw, 11.5rem); line-height: .82; letter-spacing: -.06em; color: var(--ink); hyphens: none; white-space: nowrap; }
.moment-text { font-family: var(--f-display); font-weight: 500; font-size: clamp(1.2rem, 1rem + .8vw, 1.65rem); line-height: 1.25; letter-spacing: -.018em; margin: 0 0 .6em; max-width: 30ch; }
.moment-text span { display: block; margin-top: 14px; font-family: var(--f-body); font-size: 1rem; letter-spacing: 0; color: var(--muted); font-weight: 400; }
.moment-fig { margin-top: 0; margin-bottom: 0; }
.moment-img { display: block; overflow: hidden; border-radius: var(--r-panel); }
.moment-img img { width: 100%; height: auto; transition: transform 1.4s var(--ease-out); }
.moment-img:hover img { transform: scale(1.02); }
.moment figcaption { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 24px; padding-top: 18px; border-top: 1px solid var(--line); margin-top: 8px; color: var(--muted); font-size: .95rem; }
.moment figcaption strong { color: var(--ink); font-family: var(--f-display); font-weight: 650; margin-right: 8px; }
@media (max-width: 860px) { .moment-head { grid-template-columns: minmax(0, 1fr); } }

/* Herausforderungen: Nummer */
.pair-n { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; border: 1.5px solid var(--gold-deep); color: var(--gold-deep); font-family: var(--f-mono); font-size: .8rem; margin-bottom: 16px; }

/* Ablauf (dunkel) mit Detailzeichnungen */
.ablauf .sec-head { max-width: 760px; }
.dmgs { list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; margin: 0 0 clamp(48px, 6vw, 88px); }
.dmg { display: flex; flex-direction: column; height: 100%; text-decoration: none; color: var(--on-ink); background: var(--ink-2); border: 1px solid var(--on-ink-line); border-radius: var(--r-panel); padding: 18px 18px 14px; transition: transform var(--dur) var(--ease-out), border-color var(--dur), background var(--dur); }
.dmg:hover { transform: translateY(-4px); border-color: rgba(194, 160, 96, .6); background: var(--ink-3); }
.dmg-svg { width: 100%; height: auto; margin-bottom: 12px; }
.dmg-svg .dl { fill: none; stroke: #C9D3DE; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; transition: stroke var(--dur); }
.dmg-svg .dl.soft { stroke: rgba(201, 211, 222, .42); stroke-width: 1.2; }
.dmg-svg .dg { fill: none; stroke: var(--gold); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.dmg-svg .dgf { fill: var(--gold); }
.dmg-svg .dgfill { fill: var(--gold); opacity: .9; }
.dmg:hover .dmg-svg .dl:not(.soft) { stroke: #fff; }
.dmg > span { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-family: var(--f-display); font-weight: 600; font-size: 1rem; padding-top: 12px; border-top: 1px solid var(--on-ink-line); min-height: 44px; }
.dmg > span i { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .08); transition: transform var(--dur) var(--ease-out), background var(--dur); flex: none; }
.dmg > span i svg { width: 15px; height: 15px; }
.dmg:hover > span i { transform: translateX(3px); background: var(--gold); color: var(--ink); }
@media (max-width: 1100px) { .dmgs { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; margin-left: calc(-1 * var(--pad)); margin-right: calc(-1 * var(--pad)); padding: 4px var(--pad) 12px; scroll-padding-inline: var(--pad); scrollbar-width: thin; } .dmgs li { flex: 0 0 clamp(190px, 44vw, 240px); scroll-snap-align: start; } }
.ablauf .step .dot b { background: var(--ink); border-color: rgba(238, 240, 242, .55); color: var(--on-ink); }
.ablauf .step:first-child .dot b { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.ablauf .step .dot i { background: var(--on-ink-line); }
.ablauf .step:last-child .dot i { background: transparent; }
.ablauf .step p { color: var(--on-ink-muted); }
.ablauf .step a { color: var(--on-ink); }
.ablauf .steps-note { color: var(--on-ink-muted); }

/* Gruender mit Haltung */
.founders-head { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 32px clamp(32px, 5vw, 96px); align-items: end; margin-bottom: clamp(40px, 5vw, 72px); }
.haltung { margin: 0; }
.haltung p { font-family: var(--f-display); font-weight: 600; font-size: clamp(1.9rem, 1.1rem + 3vw, 3.7rem); line-height: 1.04; letter-spacing: -.035em; margin: 0 0 18px; text-wrap: balance; }
.haltung footer { font-family: var(--f-mono); font-size: var(--fs-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--gold-deep); }
.founders-side h2 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); margin-bottom: 12px; }
.founders-side .btn { margin-top: 18px; }
@media (min-width: 961px) { .people--stagger li:nth-child(even) { margin-top: 64px; } }
@media (max-width: 960px) { .founders-head { grid-template-columns: minmax(0, 1fr); } }

/* Rollen hell */
.roles-sec { background: var(--sand); }
.roles-sec .roles { color: rgba(15, 28, 46, .16); }
.roles-sec .roles span.on { color: var(--ink); }
.roles-sec .roles span.on.gold { color: var(--gold-deep); }
.roles-sec .roles-foot p { color: #3D4757; }
.roles-sec .roles-foot p strong { color: var(--ink); }
.no-anim .roles-sec .roles span { color: var(--ink); }

/* Leistungen: Karten mit Aufklapp-Details */
.toc-t { font-family: var(--f-mono); font-size: var(--fs-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--gold-deep); margin: 0 0 12px; }
@media (max-width: 960px) { .toc-t { display: none; } }
.lsec-head { max-width: 760px; margin-bottom: 26px; }
.lsec-head h2 { margin-bottom: 12px; }
.lsec-head .lead { margin: 0; }
.bcards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 760px) { .bcards { grid-template-columns: minmax(0, 1fr); } }
.bcard { display: flex; flex-direction: column; gap: 12px; padding: clamp(22px, 2.6vw, 34px); border-radius: var(--r-panel); background: var(--surface); border: 1px solid var(--line); }
.bcard h3 { font-size: clamp(1.25rem, 1.05rem + .7vw, 1.6rem); }
.bcard p { margin: 0; color: var(--muted); }
.bcard .note { font-family: var(--f-mono); font-size: var(--fs-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--gold-deep); }
.bc-fig { display: flex; flex-direction: column; gap: 4px; padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.bc-fig span { font-family: var(--f-display); font-weight: 700; font-size: clamp(2.6rem, 1.8rem + 2.6vw, 4.2rem); letter-spacing: -.05em; line-height: .95; }
.bc-fig small { font-size: .9rem; color: var(--muted); }
.bcard--ink { background: var(--ink); border-color: var(--ink); color: var(--on-ink); }
.bcard--ink p, .bcard--ink .bc-fig small { color: var(--on-ink-muted); }
.bcard--ink .note, .bcard--ink .bc-fig span { color: var(--gold); }
.bcard--ink .bc-fig { border-color: var(--on-ink-line); }
.bcard--sand { background: var(--sand); border-color: var(--sand); }
.bcard--sand p, .bcard--sand .bc-fig small { color: #3D4757; }
.bcard--gold { background: var(--gold); border-color: var(--gold); }
.bcard--gold p, .bcard--gold .bc-fig small { color: #2A2A2A; }
.bcard--gold .note { color: var(--ink); }
.bcard--gold .bc-fig { border-color: rgba(15, 28, 46, .2); }
.bcard--plan { background-color: var(--surface); background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 28px 28px; }
.bcard .guests { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; }
.bcard .guests li { border: 1px solid var(--line-strong); border-radius: 999px; padding: 6px 14px; font-size: .9rem; background: var(--surface); }
.bc-cta { margin-top: auto !important; padding-top: 6px; }
.bc-more { margin-top: auto; border-top: 1px solid var(--line); padding-top: 4px; }
.bcard--ink .bc-more { border-color: var(--on-ink-line); }
.bcard--gold .bc-more { border-color: rgba(15, 28, 46, .2); }
.bc-more summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 44px; font-family: var(--f-display); font-weight: 600; font-size: .95rem; border-radius: 6px; }
.bc-more summary::-webkit-details-marker { display: none; }
.bc-more summary svg { width: 16px; height: 16px; transform: rotate(90deg); transition: transform var(--dur) var(--ease-out); }
.bc-more[open] summary svg { transform: rotate(-90deg); }
.bc-more > div { padding: 4px 0 6px; font-size: .95rem; }
.bc-more > div p { margin: 0 0 .6em; }
.lsec .matrix { margin-top: 4px; }
.vsh-panel { border-radius: var(--r-panel); padding: clamp(28px, 4vw, 56px); background: var(--ink); }
.vsh-panel h2 { font-size: clamp(1.7rem, 1.1rem + 2.2vw, 3rem); letter-spacing: -.035em; margin-bottom: 20px; max-width: 24ch; }
.vsh-panel p:last-child { color: var(--on-ink-muted); max-width: 62ch; margin: 0; }
.bausteine { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px clamp(24px, 4vw, 56px); align-items: center; border-radius: var(--r-panel); padding: clamp(24px, 3.4vw, 48px); background: var(--ink); }
.bausteine .rings-list { margin: 0; }
@media (max-width: 760px) { .bausteine { grid-template-columns: minmax(0, 1fr); } }

.lsec:last-of-type { border-bottom: 0; margin-bottom: 24px; }
@media (max-width: 760px) { .moment-img { margin: 0 calc(-1 * var(--pad)); border-radius: 0; } }

/* ===================== v3: Symbolbilder (KI) ===================== */
.ki { position: relative; margin: 0; overflow: hidden; border-radius: var(--r-panel); background: var(--ink-2); }
.ki img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ki-badge { position: absolute; right: 10px; bottom: 10px; z-index: 2; font-family: var(--f-body); font-size: .72rem; font-weight: 500; line-height: 1; letter-spacing: .01em; color: #F3F2EE; background: rgba(15, 28, 46, .72); border: 1px solid rgba(238, 240, 242, .18); padding: 6px 9px; border-radius: 999px; pointer-events: none; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }

/* Hero mit Foto und Bauzeichnungs-Overlay */
.hero2 { --hh: clamp(620px, 52vw, 860px); position: relative; height: var(--hh); overflow: hidden; background: var(--ink); color: var(--on-ink); isolation: isolate; }
.hero2-media { position: absolute; inset: 0; z-index: -2; }
.hero2-stage { position: absolute; right: 0; bottom: 0; width: max(100%, calc(var(--hh) * 1.7683)); aspect-ratio: 2000 / 1131; }
.hero2-stage > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.js .hero2-stage > img { animation: hero-in 1.6s var(--ease-out) both; }
@keyframes hero-in { from { opacity: 0; transform: scale(1.04); } }
.hero2-shade { position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(90deg, rgba(15, 28, 46, .97) 0%, rgba(15, 28, 46, .9) 28%, rgba(15, 28, 46, .45) 48%, rgba(15, 28, 46, 0) 64%), linear-gradient(0deg, rgba(15, 28, 46, .55) 0%, rgba(15, 28, 46, 0) 22%); }
.hero2 .ki-badge { right: 16px; bottom: 14px; }
.hero2-content { position: relative; height: 100%; display: flex; flex-direction: column; justify-content: center; padding-top: 24px; padding-bottom: 48px; }
.hero2-content > * { max-width: 620px; }
.hero2 h1 { font-size: clamp(2.6rem, 1.2rem + 4.4vw, 5.4rem); line-height: .96; letter-spacing: -.04em; margin-bottom: 26px; color: #fff; }
.hero2 h1 em { font-style: normal; color: var(--gold); }
.hero2 .lead { color: #C3CCD7; margin-bottom: 32px; max-width: 46ch; }
.hero2 .kicker { color: var(--gold); }
.hero2 .hero-proof p { color: #C3CCD7; }
.hero2 .hero-proof strong { color: #fff; }
.hero2 .avatars img { border-color: var(--ink); }
.hero-lines { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero-lines .hl { fill: none; stroke: var(--gold); stroke-width: 1.4; vector-effect: non-scaling-stroke; opacity: .85; }
.hero-lines .hl.soft { opacity: .45; stroke-dasharray: 4 5; }
.js .hero-lines .hl { stroke-dasharray: 1600; stroke-dashoffset: 1600; animation: draw 2.2s .5s var(--ease-out) forwards; }
.js .hero-lines .hl.soft { stroke-dasharray: 4 5; stroke-dashoffset: 0; animation: fadein 1s 1.2s var(--ease-out) both; }
.hms .hm { position: absolute; transform: translate(-50%, -50%); display: flex; align-items: center; gap: 8px; text-decoration: none; color: #fff; z-index: 1; }
.hm b { flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-family: var(--f-mono); font-weight: 500; font-size: .8rem; color: var(--ink); background: var(--gold); box-shadow: 0 0 0 5px rgba(194, 160, 96, .28); transition: transform var(--dur) var(--ease-out), box-shadow var(--dur); }
.hm span { font-family: var(--f-display); font-weight: 600; font-size: .88rem; white-space: nowrap; background: rgba(15, 28, 46, .78); border: 1px solid rgba(238, 240, 242, .16); padding: 6px 11px; border-radius: 999px; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); transition: background var(--dur); }
.hm:hover b, .hm:focus-visible b { transform: scale(1.12); box-shadow: 0 0 0 8px rgba(194, 160, 96, .3); }
.hm:hover span { background: var(--ink); }
.js .hm { animation: fadein .7s var(--ease-out) both; }
.js .hm:nth-child(1) { animation-delay: 1.1s; } .js .hm:nth-child(2) { animation-delay: 1.25s; } .js .hm:nth-child(3) { animation-delay: 1.4s; } .js .hm:nth-child(4) { animation-delay: 1.55s; } .js .hm:nth-child(5) { animation-delay: 1.7s; }
@media (prefers-reduced-motion: reduce) { .js .hero2-stage > img, .js .hm, .js .hero-lines .hl { animation: none !important; stroke-dashoffset: 0 !important; opacity: 1; } }
.no-anim .hero2-stage > img, .no-anim .hm, .no-anim .hero-lines .hl { animation: none !important; stroke-dashoffset: 0 !important; }
.hero2-legend { display: none; }
@media (max-width: 1180px) { .hm span { display: none; } }
@media (max-width: 900px) {
  .hero2 { height: auto; overflow: visible; }
  .hero2-media { position: relative; inset: auto; z-index: 0; height: 74vw; max-height: 460px; overflow: hidden; }
  .hero2-stage { width: max(100%, calc(min(74vw, 460px) * 1.7683)); }
  .hero2-shade { display: none; }
  .hero2-media::after { content: ""; position: absolute; inset: auto 0 0 0; height: 30%; background: linear-gradient(0deg, var(--ink), rgba(15, 28, 46, 0)); }
  .hero2-content { height: auto; padding-top: 6px; padding-bottom: 44px; }
  .hm b { width: 30px; height: 30px; font-size: .74rem; }
  .hero2-legend { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; list-style: none; margin-top: 26px; padding-top: 16px; border-top: 1px solid var(--on-ink-line); }
  .hero2-legend a { display: flex; align-items: center; gap: 8px; min-height: 44px; text-decoration: none; color: var(--on-ink); font-size: .9rem; }
  .hero2-legend b { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--gold); color: var(--ink); font-family: var(--f-mono); font-size: .7rem; font-weight: 500; flex: none; }
  .hero2-legend li:last-child { grid-column: 1 / -1; }
}

/* Herausforderungen kompakt mit Bild */
.her-head { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 32px clamp(32px, 5vw, 80px); align-items: end; margin-bottom: clamp(36px, 4vw, 60px); }
.her-head h2 { font-size: var(--fs-h2); margin-bottom: 18px; }
.her-head .lead { margin: 0; }
.her-img { aspect-ratio: 4 / 3; }
@media (max-width: 860px) { .her-head { grid-template-columns: minmax(0, 1fr); } }
.pair--c { padding: clamp(22px, 2.6vw, 36px) 0; align-items: center; }
.pair-more { margin-top: 8px; }
.pair-more summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-family: var(--f-display); font-weight: 600; font-size: .95rem; color: var(--gold-deep); }
.pair-more summary::-webkit-details-marker { display: none; }
.pair-more summary svg { width: 15px; height: 15px; transform: rotate(90deg); transition: transform var(--dur) var(--ease-out); }
.pair-more[open] summary svg { transform: rotate(-90deg); }
.pair-more p { margin: 6px 0 0; color: var(--muted); max-width: 56ch; }

/* Ablauf mit Bild */
.ablauf-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 32px clamp(32px, 5vw, 88px); align-items: center; margin-bottom: clamp(48px, 6vw, 80px); }
.ablauf-grid h2 { font-size: var(--fs-h2); margin-bottom: 18px; }
.ablauf-grid .lead { margin-bottom: 32px; }
.ablauf-img { aspect-ratio: 4 / 5; }
.steps--v { grid-template-columns: minmax(0, 1fr); }
.steps--v .step { display: grid; grid-template-columns: 52px 1fr; gap: 0 20px; padding: 0 0 22px; }
.steps--v .step .dot { grid-row: span 2; flex-direction: column; margin: 0; height: 100%; }
.steps--v .step .dot i { width: 1px; height: auto; flex: 1; min-height: 14px; }
.steps--v .step h3 { padding-top: 12px; }
.ablauf .dmgs { margin: 0; }
@media (max-width: 960px) { .ablauf-grid { grid-template-columns: minmax(0, 1fr); } .ablauf-img { aspect-ratio: 16 / 10; } }

/* Bento mit Bildzellen */
.cell--photo { padding: 0; gap: 0; }
.cell--photo .cell-img { border-radius: 0; aspect-ratio: 16 / 9; }
.cell--photo .cell-body { padding: clamp(22px, 2.6vw, 32px); display: flex; flex-direction: column; gap: 12px; flex: 1; }
.cell--split { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); padding: 0; gap: 0; }
.cell--split .cell-body { padding: clamp(22px, 2.6vw, 36px); display: flex; flex-direction: column; gap: 14px; }
.cell--split .cell-side { border-radius: 0; min-height: 100%; }
@media (max-width: 960px) { .cell--split { grid-template-columns: minmax(0, 1fr); } .cell--split .cell-side { aspect-ratio: 16 / 9; min-height: 0; } }

/* About mit Strassenbild */
.about-img { aspect-ratio: 21 / 9; margin-bottom: clamp(40px, 5vw, 72px); }
@media (max-width: 760px) { .about-img { aspect-ratio: 4 / 3; } }

/* Schluss mit Bild */
.final-grid { grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); align-items: center; }
.final .sites { margin-top: 36px; }
.final-img { aspect-ratio: 4 / 5; }
@media (max-width: 960px) { .final-img { aspect-ratio: 16 / 10; } }

/* Gruppenfoto mobil: Ausschnitt groesser */
@media (max-width: 760px) { .moment-img img { aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 30%; } }

/* Leistungen: Kopf und Gruppen mit Bild */
.phead-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 32px clamp(32px, 5vw, 80px); align-items: end; }
.phead-img { aspect-ratio: 3 / 2; }
@media (max-width: 860px) { .phead-grid { grid-template-columns: minmax(0, 1fr); } }
.lsec-head--img { max-width: none; display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 24px clamp(24px, 4vw, 48px); align-items: end; }
.lsec-img { aspect-ratio: 16 / 10; }
@media (max-width: 760px) { .lsec-head--img { grid-template-columns: minmax(0, 1fr); } }

/* Termin: Bild in der Seitenspalte */
.side-img { aspect-ratio: 21 / 9; margin-bottom: 26px; }
/* v3 Hero-Feinjustierung */
@media (min-width: 901px) {
  .hero2-stage { width: calc(var(--hh) * 1.7683); right: calc(var(--hh) * -0.2); }
  .hero2-stage::before { content: ""; position: absolute; inset: 0 auto 0 -2px; width: 18%; z-index: 1; background: linear-gradient(90deg, var(--ink), rgba(15, 28, 46, 0)); pointer-events: none; }
}
.hero2-shade { background: linear-gradient(90deg, rgba(15, 28, 46, .97) 0%, rgba(15, 28, 46, .93) 34%, rgba(15, 28, 46, .55) 50%, rgba(15, 28, 46, 0) 64%), linear-gradient(0deg, rgba(15, 28, 46, .5) 0%, rgba(15, 28, 46, 0) 20%); }
.hero2 .btn--line { --fg: var(--on-ink); border-color: rgba(238, 240, 242, .4); }
.hero2 .btn--line .bi { background: rgba(255, 255, 255, .1); }
.hero2 .btn--line:hover { border-color: var(--on-ink); }
.hero2 :focus-visible { outline-color: var(--gold-hover); }
@media (max-width: 1180px) and (min-width: 901px) { .hero2-shade { background: linear-gradient(90deg, rgba(15, 28, 46, .97) 0%, rgba(15, 28, 46, .92) 46%, rgba(15, 28, 46, .5) 62%, rgba(15, 28, 46, 0) 78%); } }
@media (max-width: 420px) { .hero-proof { flex-wrap: wrap; gap: 10px 14px; } .hero-proof p { flex: 1 1 100%; } }
/* Marker: Namen bleiben fuer Screenreader, Trefferflaeche >= 44px */
@media (max-width: 1180px) { .hm span { display: inline; position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; padding: 0; border: 0; } }
.hm::before { content: ""; position: absolute; left: -6px; top: 50%; width: 46px; height: 46px; transform: translateY(-50%); }
/* Hero 901-1280: echte Spalten statt Text ueber Fassade */
@media (min-width: 901px) and (max-width: 1280px) {
  .hero2 { --hh: clamp(620px, 60vw, 760px); }
  .hero2-media { left: 47%; }
  .hero2-shade { background: linear-gradient(90deg, var(--ink) 47%, rgba(15, 28, 46, .55) 50%, rgba(15, 28, 46, 0) 56%), linear-gradient(0deg, rgba(15, 28, 46, .45) 0%, rgba(15, 28, 46, 0) 20%); }
  .hero2-stage::before { width: 10%; }
  .hero2-content > * { max-width: calc(47vw - var(--pad) - 28px); }
  .hero2 h1 { font-size: clamp(2.6rem, .6rem + 3.6vw, 3.6rem); }
  .hero2 .lead { font-size: 1.05rem; }
  .hero2 .btn-row { flex-direction: column; align-items: flex-start; }
}
@media (min-width: 901px) and (max-width: 1280px) { .hero2 .hero2-content > * { max-width: calc(47vw - var(--pad) - 32px); } }

/* ===================== v4 ===================== */
/* Logo groesser und praesenter */
:root { --header-h: 92px; }
.brand img { height: 78px; }
@media (max-width: 560px) { :root { --header-h: 76px; } .brand img { height: 60px; } }
.nav a { font-size: 1rem; padding: 10px 11px; }
@media (max-width: 1240px) { .nav, .hd-login { display: none; } .hd-cta { margin-left: auto; } .burger { display: block; margin-left: 0; } }
@media (max-width: 560px) { .burger { margin-left: auto; } }
.mnav .ml-ext { color: var(--gold); }

/* Persoenlich statt anonym */
.pers { background: #fff; padding: clamp(72px, 9vw, 136px) 0 clamp(64px, 8vw, 120px); overflow: hidden; }
.pers-head { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 24px clamp(24px, 4vw, 64px); align-items: end; margin-bottom: clamp(24px, 3vw, 40px); }
.giant--2 { white-space: normal; font-size: clamp(3rem, 1rem + 7.2vw, 8.4rem); line-height: .88; }
.giant--2 span { display: block; color: var(--gold-large); }
.pers-chall { color: var(--muted); font-size: .98rem; margin: 0; }
.pers-chall a { color: var(--ink); }
.pers-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 40px clamp(32px, 5vw, 88px); margin-top: clamp(40px, 5vw, 72px); align-items: start; }
.pers-list { list-style: none; display: grid; gap: 0; }
.pers-list li, .feats li { display: grid; grid-template-columns: 52px 1fr; gap: 18px; padding: 22px 0; border-top: 1px solid var(--line); }
.pers-list li:first-child { border-top: 0; padding-top: 0; }
.fi { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--ink); color: var(--gold); }
.fi svg { width: 24px; height: 24px; }
.pers-list h3, .feats h3 { font-size: clamp(1.15rem, 1rem + .5vw, 1.4rem); margin: 4px 0 6px; }
.pers-list p, .feats p { margin: 0; color: var(--muted); }
@media (max-width: 960px) { .pers-head, .pers-grid { grid-template-columns: minmax(0, 1fr); } }

/* Beziehungsdiagramm */
.rel { margin: 0 0 18px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr) minmax(0, 1fr); gap: 12px; align-items: center; padding: 24px; background: var(--paper); border-radius: var(--r-panel); position: relative; }
.rel::before { content: ""; position: absolute; left: 12%; right: 12%; top: 50%; height: 0; border-top: 1.5px dashed var(--gold); z-index: 0; }
.rel > * { position: relative; z-index: 1; }
.rel-node { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; background: var(--surface); border: 1px solid var(--line-strong); border-radius: 12px; padding: 12px 8px; font-size: .86rem; line-height: 1.25; }
.rel-node svg { width: 22px; height: 22px; color: var(--gold-deep); }
.rel-node b { font-family: var(--f-display); font-weight: 600; }
.rel-node small { color: var(--muted); }
.rel-opt { border-style: dashed; }
.rel-side { display: grid; gap: 10px; }
.rel-core { background: var(--ink); color: var(--on-ink); border-radius: 14px; padding: 16px 12px; text-align: center; box-shadow: 0 14px 30px -18px rgba(15, 28, 46, .6); }
.rel-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.rel-p { display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: .82rem; line-height: 1.2; }
.rel-p svg { width: 30px; height: 30px; padding: 6px; border-radius: 50%; background: var(--gold); color: var(--ink); }
.rel-b svg { background: transparent; border: 1.5px solid var(--gold); color: var(--gold); }
.rel-core p { margin: 10px 0 0; font-size: .8rem; color: var(--on-ink-muted); }
.rel figcaption { grid-column: 1 / -1; font-size: .86rem; color: var(--muted); text-align: center; margin-top: 4px; }
@media (max-width: 520px) { .rel { grid-template-columns: minmax(0, 1fr); } .rel::before { left: 50%; right: auto; top: 12%; bottom: 12%; height: auto; border-top: 0; border-left: 1.5px dashed var(--gold); } .rel-side { grid-template-columns: 1fr 1fr; } }

/* Team-Leiste mit Avataren */
.team-strip { display: flex; align-items: center; gap: 16px; padding: 14px 16px; border: 1px solid var(--line-strong); border-radius: var(--r-panel); text-decoration: none; background: var(--surface); transition: border-color var(--dur), transform var(--dur) var(--ease-out); min-height: 44px; }
.team-strip:hover { border-color: var(--ink); transform: translateY(-2px); }
.team-strip .avatars img { width: 44px; height: 44px; border-color: var(--surface); }
.team-strip > span:nth-child(2) { flex: 1; display: grid; gap: 2px; }
.team-strip strong { font-family: var(--f-display); font-weight: 650; }
.team-strip small { color: var(--muted); font-size: .84rem; line-height: 1.35; }
.team-strip > svg { width: 18px; height: 18px; flex: none; }
@media (max-width: 420px) { .team-strip { flex-wrap: wrap; } }

/* Schadensoftware */
.sw { background: var(--paper); }
.sw-grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 40px clamp(32px, 5vw, 80px); align-items: center; }
.sw-grid h2 { font-size: var(--fs-h2); margin-bottom: 18px; }
.sw-grid .lead { margin-bottom: 18px; }
.feats { list-style: none; display: grid; }
.feats--tight li { padding: 14px 0; grid-template-columns: 44px 1fr; }
.feats--tight .fi { width: 44px; height: 44px; border-radius: 12px; }
.feats--tight h3 { font-size: 1.08rem; }
.feats--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; }
.feats--big h3 { font-size: clamp(1.25rem, 1.05rem + .7vw, 1.6rem); }
@media (max-width: 760px) { .feats--2 { grid-template-columns: minmax(0, 1fr); } }
.voluntary { display: flex; gap: 12px; align-items: flex-start; background: var(--ok-bg); border: 1.5px solid var(--ok); border-radius: var(--r-ctl); padding: 14px 16px; margin: 22px 0; color: #1F3B2C; }
.voluntary svg { width: 22px; height: 22px; flex: none; color: var(--ok); margin-top: 1px; }
.ext-hint { font-size: .86rem; color: var(--muted); margin: 10px 0 0; }
@media (max-width: 960px) { .sw-grid { grid-template-columns: minmax(0, 1fr); } }

/* Mockup */
.mock { margin: 0; }
.mock-win { background: #fff; border-radius: 18px; border: 1px solid var(--line-strong); box-shadow: 0 40px 80px -40px rgba(15, 28, 46, .45), 0 2px 6px rgba(15, 28, 46, .06); overflow: hidden; font-size: .88rem; }
.mk-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; background: var(--ink); color: #fff; }
.mk-top b { font-family: var(--f-display); font-weight: 650; font-size: 1rem; }
.mk-tag { font-size: .72rem; font-weight: 600; background: var(--gold); color: var(--ink); padding: 4px 10px; border-radius: 999px; }
.mk-kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; padding: 14px 18px; border-bottom: 1px solid var(--line); background: var(--paper); }
.mk-kpis span { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; color: var(--muted); font-size: .8rem; }
.mk-kpis b { display: block; font-family: var(--f-display); font-size: 1.5rem; color: var(--ink); line-height: 1.1; }
.mk-head, .mk-row { display: grid; grid-template-columns: minmax(0, 2.1fr) minmax(0, 1fr) minmax(0, 1.2fr) 80px; gap: 10px; align-items: center; padding: 10px 18px; }
.mk-head { font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-family: var(--f-mono); border-bottom: 1px solid var(--line); }
.mk-row + .mk-row { border-top: 1px solid var(--line); }
.mk-o b { display: block; font-family: var(--f-display); font-weight: 600; color: var(--ink); }
.mk-o small, .mk-d { color: var(--muted); font-size: .8rem; }
.mk-s { justify-self: start; font-size: .74rem; font-weight: 600; padding: 4px 9px; border-radius: 999px; white-space: nowrap; }
.st-new { background: var(--sand); color: #3D4757; }
.st-check { background: #E7ECF3; color: #2C3E57; }
.st-reg { background: var(--gold-soft); color: #5E4719; }
.st-done { background: var(--ok-bg); color: var(--ok); }
.mk-p { display: flex; gap: 4px; }
.mk-p i { width: 14px; height: 6px; border-radius: 3px; background: rgba(15, 28, 46, .14); }
.mk-p i.on { background: var(--gold-deep); }
.mock figcaption { font-size: .84rem; color: var(--muted); margin-top: 12px; }
@media (max-width: 560px) {
  .mk-head { display: none; }
  .mk-row { grid-template-columns: minmax(0, 1fr) auto; row-gap: 6px; }
  .mk-d { grid-column: 1; grid-row: 2; }
  .mk-s { grid-column: 2; grid-row: 1; }
  .mk-p { grid-column: 2; grid-row: 2; justify-self: end; }
  .mk-kpis b { font-size: 1.2rem; }
}
.js .mock-win { transform: translateY(18px) rotate(-.6deg); opacity: 0; transition: transform 1.1s var(--ease-out), opacity .9s var(--ease-out); }
.js .mock.is-in .mock-win, .no-anim .mock-win { transform: none; opacity: 1; }
@media (prefers-reduced-motion: reduce) { .js .mock-win { transform: none; opacity: 1; transition: none; } }

/* Vertragsmanagement */
.vt { background: var(--sand); }
.vt-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 40px clamp(32px, 5vw, 88px); align-items: center; }
.vt-img { aspect-ratio: 4 / 5; }
.vt-grid h2 { font-size: var(--fs-h2); margin-bottom: 18px; }
.vt-claim { font-family: var(--f-display); font-weight: 600; font-size: clamp(1.3rem, 1.05rem + 1vw, 1.9rem); line-height: 1.2; letter-spacing: -.02em; margin: 0 0 14px; }
.vt-claim::before { content: ""; display: block; width: 40px; height: 2px; background: var(--gold-deep); margin-bottom: 16px; }
.vt .muted { color: #3D4757; }
.vt .feats { margin: 18px 0 22px; }
.vt .feats li { border-color: rgba(15, 28, 46, .14); }
.vt .feats p { color: #3D4757; }
.vt .team-strip { background: rgba(255, 255, 255, .6); }
@media (max-width: 960px) { .vt-grid { grid-template-columns: minmax(0, 1fr); } .vt-img { aspect-ratio: 16 / 10; } }

/* Software-Unterseite */
.sw-head { align-items: center; }
.bipro { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 40px clamp(32px, 5vw, 80px); align-items: center; }
.bipro h2 { font-size: var(--fs-h2); margin-bottom: 18px; }
.bipro-flow { display: grid; gap: 0; justify-items: center; }
.bipro-flow span { display: flex; align-items: center; gap: 12px; width: 100%; max-width: 360px; padding: 16px 18px; border: 1px solid var(--on-ink-line); border-radius: 14px; font-family: var(--f-display); font-weight: 600; }
.bipro-flow span svg { width: 22px; height: 22px; color: var(--gold); }
.bipro-flow .hot { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.bipro-flow .hot svg { color: var(--ink); }
.bipro-flow i { width: 1.5px; height: 28px; background: var(--gold); }
.ohne { max-width: 860px; }
.ohne h2 { font-size: var(--fs-h2); margin-bottom: 18px; }
.ohne .btn-row { margin-top: 26px; }
@media (max-width: 860px) { .bipro { grid-template-columns: minmax(0, 1fr); } }

/* Rechner */
.rechner-shell { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(24px, 4vw, 64px); align-items: start; padding-bottom: var(--sec); }
@media (max-width: 1000px) { .rechner-shell { grid-template-columns: minmax(0, 1fr); } }
.r-rows { display: grid; gap: 14px; margin: 18px 0 14px; }
.r-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto; gap: 8px 14px; align-items: end; padding: 16px; border: 1px solid var(--line); border-radius: var(--r-ctl); background: #fff; }
.r-no { grid-column: 1 / -1; margin: 0; font-family: var(--f-mono); font-size: var(--fs-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--gold-deep); }
.r-rm { min-height: 52px; padding: 0 14px; border: 1px solid var(--line-strong); border-radius: var(--r-ctl); background: transparent; font: inherit; font-size: .9rem; cursor: pointer; color: var(--ink); }
.r-rm:hover { border-color: var(--ink); }
.r-rm[hidden] { display: none; }
@media (max-width: 640px) { .r-row { grid-template-columns: minmax(0, 1fr); } .r-rm { justify-self: start; min-height: 44px; } }
.r-add[hidden] { display: none; }
.r-side { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 14px; }
@media (max-width: 1000px) { .r-side { position: static; } }
.r-result { background: var(--ink); color: var(--on-ink); border-radius: var(--r-panel); padding: clamp(22px, 3vw, 32px); min-height: 160px; }
.r-empty { margin: 0; color: var(--on-ink-muted); }
.r-error { margin: 0; color: #F2B8AE; font-weight: 600; }
.r-kicker { margin: 0 0 6px; color: var(--on-ink-muted); font-size: .95rem; }
.r-total { margin: 0 0 18px; font-family: var(--f-display); font-weight: 700; font-size: clamp(2.2rem, 1.6rem + 2.4vw, 3.4rem); letter-spacing: -.04em; line-height: 1; color: var(--gold); font-variant-numeric: lining-nums tabular-nums; }
.r-lines { list-style: none; padding: 0; margin: 0 0 16px; display: grid; gap: 10px; }
.r-lines li { display: grid; gap: 2px; padding-top: 10px; border-top: 1px solid var(--on-ink-line); }
.r-lines b { font-family: var(--f-display); font-weight: 600; }
.r-lines span { color: var(--on-ink-muted); font-size: .92rem; font-variant-numeric: tabular-nums; }
.r-lines strong { color: var(--on-ink); }
.r-note { margin: 0; font-size: .84rem; color: var(--on-ink-muted); }
.formula { font-family: var(--f-display); font-weight: 600; font-size: 1.05rem; margin: 0 0 8px !important; }
.legalish { max-width: 900px; }
.legalish h2 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2.1rem); margin-bottom: 18px; }
.tbl-wrap { overflow-x: auto; margin-bottom: 16px; }
.idx-table { width: 100%; border-collapse: collapse; font-size: .95rem; background: var(--surface); border-radius: var(--r-ctl); overflow: hidden; }
.idx-table th, .idx-table td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.idx-table thead th { font-family: var(--f-display); font-weight: 600; background: var(--sand); }
.idx-table tbody th { font-family: var(--f-display); }
.src-list { padding-left: 20px; display: grid; gap: 6px; margin: 14px 0; font-size: .92rem; }
.src-list a { color: var(--ink); word-break: break-word; }

/* Logos */
.logos .logo-vtl { max-height: 76px; }
.glogo { display: block; height: 44px; width: auto; margin-top: 14px; }
.glogo--vtl { height: 64px; border-radius: 4px; }
.flogos { display: flex; gap: 10px; margin-top: 18px; flex-wrap: wrap; }
.flogos span { display: grid; place-items: center; background: var(--surface); border-radius: var(--r-ctl); padding: 8px 12px; height: 60px; }
.flogos img { max-height: 44px; width: auto; }
/* v4 Feinschliff Diagramm vertikal, Bildunterschrift */
.rel { grid-template-columns: minmax(0, 1fr); justify-items: center; gap: 14px; padding: 26px 22px; }
.rel::before { left: 50%; right: auto; top: 18%; bottom: 22%; height: auto; border-top: 0; border-left: 1.5px dashed var(--gold); }
.rel-hv { min-width: 220px; }
.rel-core { width: min(100%, 360px); }
.rel-side { grid-template-columns: 1fr 1fr; width: min(100%, 420px); }
.rel-p b { white-space: normal; }
.pers figcaption { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 24px; padding-top: 18px; border-top: 1px solid var(--line); margin-top: 8px; color: var(--muted); font-size: .95rem; }
.pers figcaption strong { color: var(--ink); font-family: var(--f-display); font-weight: 650; margin-right: 8px; }
@media (max-width: 760px) { .pers .moment-img { margin: 0 calc(-1 * var(--pad)); border-radius: 0; } .pers .moment-img img { aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 30%; } }
:root { --header-h: 98px; }
.brand img { height: 88px; }
@media (max-width: 560px) { :root { --header-h: 80px; } .brand img { height: 66px; } }
.btn--wrap { max-width: 100%; }
@media (max-width: 560px) { .btn--wrap { white-space: normal; line-height: 1.25; padding-top: 8px; padding-bottom: 8px; text-align: left; } }
.rel-side { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
.rel-node b { hyphens: auto; overflow-wrap: anywhere; }
@media (max-width: 560px) { .btn--wrap { width: 100%; justify-content: space-between; } }
.btn { max-width: 100%; }
@media (max-width: 380px) { .btn { white-space: normal; line-height: 1.25; } }
@media (max-height: 520px) and (min-width: 561px) { :root { --header-h: 74px; } .brand img { height: 60px; } }

/* ===================== v5: Transparenz / Schadensoftware ===================== */
.nav a.nav-hi { color: var(--ink); font-weight: 600; display: inline-flex; align-items: center; gap: 8px; }
.nav-live { display: inline-flex; align-items: center; gap: 5px; font-family: var(--f-mono); font-size: .66rem; letter-spacing: .08em; text-transform: uppercase; background: var(--ink); color: var(--gold); padding: 3px 8px 3px 7px; border-radius: 999px; }
.nav-live i, .live-badge i { width: 7px; height: 7px; border-radius: 50%; background: #5FD08A; box-shadow: 0 0 0 0 rgba(95, 208, 138, .6); }
@media (prefers-reduced-motion: no-preference) {
  .nav-live i, .live-badge i { animation: pulse 2.2s var(--ease-out) infinite; }
  .tl-now .tl-dot::after { animation: pulse-gold 2.2s var(--ease-out) infinite; }
}
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(95, 208, 138, .55); } 70% { box-shadow: 0 0 0 7px rgba(95, 208, 138, 0); } 100% { box-shadow: 0 0 0 0 rgba(95, 208, 138, 0); } }
@keyframes pulse-gold { 0% { box-shadow: 0 0 0 0 rgba(194, 160, 96, .6); } 70% { box-shadow: 0 0 0 10px rgba(194, 160, 96, 0); } 100% { box-shadow: 0 0 0 0 rgba(194, 160, 96, 0); } }
.no-anim .nav-live i, .no-anim .live-badge i, .no-anim .tl-now .tl-dot::after { animation: none !important; }

.tp { background: radial-gradient(120% 80% at 85% 0%, #1B2E48 0%, var(--ink) 60%); padding-top: clamp(80px, 9vw, 140px); }
.tp-head { max-width: 1100px; margin-bottom: clamp(36px, 4vw, 64px); }
.giant--tp { white-space: normal; font-size: clamp(3rem, 1rem + 7vw, 8rem); line-height: .9; color: #fff; }
.giant--tp span { color: var(--gold); }
.tp-claim { font-family: var(--f-display); font-weight: 600; font-size: clamp(1.25rem, 1rem + 1.1vw, 2rem); letter-spacing: -.02em; line-height: 1.2; color: #fff; margin: 18px 0 0; }
.tp-claim--light { color: var(--ink); margin: 0 0 12px; }
.tp-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 40px clamp(32px, 5vw, 80px); align-items: start; }
@media (max-width: 1000px) { .tp-grid { grid-template-columns: minmax(0, 1fr); } }
.feats--dark li { border-color: var(--on-ink-line); }
.feats--dark h3 { color: #fff; }
.feats--dark p { color: var(--on-ink-muted); }
.feats--dark .fi { background: var(--gold); color: var(--ink); }
.feats--dark li:first-child { border-top: 0; padding-top: 0; }
.voluntary--dark { background: rgba(95, 208, 138, .1); border-color: rgba(95, 208, 138, .5); color: #DDF2E5; }
.voluntary--dark svg { color: #5FD08A; }
.ext-hint--dark { color: var(--on-ink-muted); }
.tp .btn--line { --fg: var(--on-ink); border-color: rgba(238, 240, 242, .4); }
.tp .btn--line .bi { background: rgba(255, 255, 255, .1); }

/* Live-Schadenverlauf */
.live { margin: 0; }
.live-win { background: #fff; color: var(--ink); border-radius: 20px; overflow: hidden; box-shadow: 0 50px 100px -40px rgba(0, 0, 0, .55), 0 0 0 1px rgba(255, 255, 255, .06); }
.live-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--line); background: var(--surface); }
.live-top b { display: block; font-family: var(--f-display); font-weight: 700; font-size: 1.05rem; }
.live-top small { color: var(--muted); font-size: .84rem; }
.live-badge { display: inline-flex; align-items: center; gap: 7px; font-family: var(--f-mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; background: var(--ink); color: #fff; padding: 6px 12px; border-radius: 999px; }
.live-body { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); }
.tl { list-style: none; margin: 0; padding: 22px 20px 14px; position: relative; }
.tl-step { position: relative; display: grid; grid-template-columns: 26px 1fr; gap: 12px; padding-bottom: 18px; }
.tl-step::before { content: ""; position: absolute; left: 12px; top: 22px; bottom: -2px; width: 2px; background: var(--line-strong); }
.tl-step:last-child::before { display: none; }
.tl-done::before { background: var(--gold-deep); }
.tl-dot { position: relative; width: 26px; height: 26px; border-radius: 50%; border: 2px solid var(--line-strong); background: #fff; margin-top: 1px; }
.tl-done .tl-dot { background: var(--gold-deep); border-color: var(--gold-deep); }
.tl-done .tl-dot::before { content: ""; position: absolute; left: 7px; top: 4px; width: 6px; height: 11px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.tl-now .tl-dot { border-color: var(--gold); background: var(--gold-soft); }
.tl-now .tl-dot::after { content: ""; position: absolute; inset: 5px; border-radius: 50%; background: var(--gold); }
.tl-t { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 2px 0 2px; }
.tl-t b { font-family: var(--f-display); font-weight: 650; }
.tl-chip { font-size: .7rem; font-weight: 600; padding: 3px 8px; border-radius: 999px; }
.tl-chip--done { background: var(--ok-bg); color: var(--ok); }
.tl-chip--now { background: var(--gold-soft); color: #5E4719; }
.tl-chip--todo { background: var(--paper); color: var(--muted); }
.tl-meta { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; margin: 0; font-size: .8rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.tl-ins { display: inline-flex; align-items: center; font-family: var(--f-mono); font-size: .64rem; letter-spacing: .06em; text-transform: uppercase; color: #2C3E57; background: #E7ECF3; padding: 3px 7px; border-radius: 6px; }
.tl-note { margin: 4px 0 0; font-size: .84rem; color: #3D4757; }
.tl-todo b { color: var(--muted); }
.live-info { border-left: 1px solid var(--line); padding: 22px 18px; background: var(--paper); display: flex; flex-direction: column; gap: 10px; }
.li-h { margin: 0; font-family: var(--f-mono); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-deep); }
.live-info ul { list-style: none; display: grid; gap: 6px; }
.live-info li { display: flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px; font-size: .84rem; }
.live-info li svg { width: 16px; height: 16px; color: var(--gold-deep); flex: none; }
.li-upd { margin: auto 0 0; display: grid; gap: 4px; font-size: .8rem; color: var(--muted); padding-top: 10px; border-top: 1px solid var(--line); }
.li-upd b { color: var(--ink); font-family: var(--f-display); font-size: .95rem; font-variant-numeric: tabular-nums; }
.li-upd .tl-ins { justify-self: start; }
.live figcaption { font-size: .84rem; color: var(--on-ink-muted); margin-top: 12px; }
.sec:not(.on-ink) .live figcaption { color: var(--muted); }
@media (max-width: 640px) { .live-body { grid-template-columns: minmax(0, 1fr); } .live-info { border-left: 0; border-top: 1px solid var(--line); } }
/* Schritte nacheinander einblenden */
.js .live .tl-step { opacity: 0; transform: translateY(10px); transition: opacity .6s var(--ease-out), transform .6s var(--ease-out); transition-delay: calc(.25s + var(--i) * .22s); }
.js .live.is-in .tl-step, .no-anim .live .tl-step { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .live .tl-step { opacity: 1; transform: none; transition: none; } }

/* Uebersicht mit Filter */
.mk-filter { display: flex; flex-wrap: wrap; gap: 6px; padding: 12px 18px; border-bottom: 1px solid var(--line); background: var(--paper); }
.mk-f { min-height: 36px; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line-strong); background: #fff; font: inherit; font-size: .82rem; cursor: pointer; color: var(--ink); }
.mk-f[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.mk-row[hidden] { display: none; }
@media (pointer: coarse) { .mk-f { min-height: 44px; } }

/* Vertrag: Team sichtbar */
.vt-team { margin-top: clamp(40px, 5vw, 64px); padding-top: clamp(28px, 3vw, 40px); border-top: 1px solid rgba(15, 28, 46, .16); }
.vt-team-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px 24px; margin-bottom: 20px; }
.vt-team-head h3 { font-size: clamp(1.3rem, 1.1rem + .8vw, 1.75rem); }
.people--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
@media (max-width: 960px) { .people--5 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 560px) { .people--5 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.vt .muted a { color: var(--ink); font-weight: 600; }

/* Software-Unterseite */
.sw-hero { padding: clamp(40px, 5vw, 80px) 0 clamp(64px, 7vw, 112px); background: radial-gradient(120% 80% at 85% 0%, #1B2E48 0%, var(--ink) 60%); }
.sw-hero-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 40px clamp(32px, 5vw, 80px); align-items: center; }
.sw-hero h1 { font-size: clamp(2.8rem, 1.2rem + 5vw, 6rem); letter-spacing: -.045em; line-height: .92; color: #fff; }
.sw-hero h1 span { color: var(--gold); display: block; }
.sw-hero .lead { color: #C3CCD7; margin: 18px 0 26px; }
.crumbs--dark { color: var(--on-ink-muted); }
.crumbs--dark a { color: var(--gold); }
@media (max-width: 1000px) { .sw-hero-grid { grid-template-columns: minmax(0, 1fr); } }
.tp-page { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px clamp(32px, 5vw, 80px); align-items: start; }
.tp-page h2 { font-size: var(--fs-h2); margin-bottom: 18px; }
@media (max-width: 1000px) { .tp-page { grid-template-columns: minmax(0, 1fr); } }
.vorteile { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.vorteile li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-panel); padding: clamp(22px, 2.4vw, 30px); display: grid; gap: 10px; align-content: start; }
.vorteile li:nth-child(2) { background: var(--ink); color: var(--on-ink); border-color: var(--ink); }
.vorteile li:nth-child(2) p { color: var(--on-ink-muted); }
.vorteile li:nth-child(2) .fi { background: var(--gold); color: var(--ink); }
.vorteile li:nth-child(4) { background: var(--sand); border-color: var(--sand); }
.vorteile h3 { font-size: clamp(1.2rem, 1rem + .6vw, 1.5rem); }
.vorteile p { margin: 0; color: var(--muted); }
@media (max-width: 960px) { .vorteile { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .vorteile { grid-template-columns: minmax(0, 1fr); } }
.fclaim { font-family: var(--f-display); font-weight: 600; color: var(--gold); font-size: 1.05rem; line-height: 1.3; margin: 0 0 10px; }
@media (max-width: 1240px) { .tp .btn--wrap, .tp-page .btn--wrap { white-space: normal; line-height: 1.25; padding-top: 8px; padding-bottom: 8px; text-align: left; } }

.hero-vtl { display: inline-flex; align-items: center; gap: 12px; margin-left: 8px; padding-left: 20px; border-left: 1px solid rgba(255,255,255,.22); text-decoration: none; color: #C3CCD7; font-size: .9rem; line-height: 1.35; min-height: 44px; }
.hero-vtl img { width: 76px; height: 76px; border-radius: 6px; flex: none; box-shadow: 0 6px 18px rgba(0,0,0,.35); }
.hero-vtl span { color: #E7ECF2; }
.hero-vtl:hover span, .hero-vtl:focus-visible span { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 640px) { .hero-vtl { margin-left: 0; padding-left: 0; border-left: 0; flex: 1 1 100%; } .hero-vtl img { width: 64px; height: 64px; } }

/* =====================================================================
   v6 (19.10.2026): Karriere, Rechner-Lead
   ===================================================================== */
.tbd { display: inline-block; font-family: var(--f-mono); font-size: .72rem; letter-spacing: .04em; line-height: 1.3; color: var(--gold-deep); background: var(--gold-soft); border: 1px dashed rgba(125, 95, 39, .45); border-radius: 999px; padding: 3px 9px; white-space: nowrap; vertical-align: 1px; }
.tbd--ink, .on-ink .tbd { color: var(--gold); background: rgba(194, 160, 96, .12); border-color: rgba(194, 160, 96, .5); }
.final-job { margin: 22px 0 0; }
.final-job .textlink { color: var(--on-ink); }

/* Hero */
.kar-hero { padding: clamp(36px, 5vw, 72px) 0 clamp(120px, 14vw, 220px); position: relative; overflow: hidden; }
.kar-hero-in { position: relative; }
.kar-hero h1 { font-size: var(--fs-display); line-height: .98; max-width: 13ch; margin-bottom: 26px; }
.kar-hero h1 em { font-style: normal; color: var(--gold); display: block; }
.kar-hero .lead { margin-bottom: 30px; max-width: 46ch; }
.kar-photo { margin-top: calc(-1 * clamp(96px, 12vw, 190px)); position: relative; z-index: 1; }
.kar-photo img { width: 100%; aspect-ratio: 2000 / 798; object-fit: cover; border-radius: var(--r-panel); box-shadow: 0 30px 60px -36px rgba(15, 28, 46, .55); background: var(--ink-2); }
.kar-photo figcaption { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 24px; padding: 14px 2px 0; color: var(--muted); font-size: .95rem; }
.kar-photo figcaption strong { color: var(--ink); font-family: var(--f-display); margin-right: 6px; }

.kar-h2 { font-size: var(--fs-h2); max-width: 18ch; }
.kar-why { padding-top: clamp(56px, 7vw, 112px); }
.kar-why .kar-h2 { margin-bottom: clamp(28px, 4vw, 52px); }

/* Bento */
.kbento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
.kb { grid-column: span 2; border-radius: var(--r-panel); padding: clamp(22px, 2.6vw, 34px); display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.kb p { margin: 0; color: var(--muted); }
.kb h3 { font-size: var(--fs-h3); }
.kb--wide { grid-column: span 4; }
.kb--half { grid-column: span 3; }
.kb--ink { background: var(--ink); color: var(--on-ink); justify-content: flex-end; min-height: 300px; }
.kb--ink p { color: var(--on-ink-muted); max-width: 60ch; }
.kb .kb-big { font-size: clamp(2.1rem, 1.3rem + 2.8vw, 3.7rem); line-height: 1; letter-spacing: -.035em; }
.kb-big span { color: var(--gold); display: block; }
.kb--gold { background: var(--gold-soft); justify-content: space-between; }
.kb .kb-num { font-family: var(--f-display); font-weight: 700; font-size: clamp(2.6rem, 1.8rem + 2.6vw, 4.2rem); letter-spacing: -.045em; line-height: 1; color: var(--ink); }
.kb--line { border: 1px solid var(--line-strong); background: var(--surface); }
.kb .kb-mid { font-size: clamp(1.5rem, 1.2rem + 1vw, 2.1rem); letter-spacing: -.03em; }
.kb--line .textlink { margin-top: auto; align-self: flex-start; }
.kb--img { padding: 0; background: var(--surface); border: 1px solid var(--line); overflow: hidden; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 0; }
.kb--img .kb-fig { border-radius: 0; min-height: 260px; }
.kb-txt { padding: clamp(22px, 2.6vw, 34px); display: flex; flex-direction: column; justify-content: flex-end; gap: 12px; }
.kb--half.kb--img { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto 1fr; }
.kb--half.kb--img .kb-fig { aspect-ratio: 16 / 8; min-height: 0; }
.kb-sites { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: auto; }
.kb-sites address { font-style: normal; color: var(--muted); font-size: .95rem; line-height: 1.5; padding-top: 14px; border-top: 2px solid var(--gold); }
.kb-sites strong { color: var(--ink); font-family: var(--f-display); }
@media (max-width: 1080px) {
  .kb, .kb--wide, .kb--half { grid-column: span 3; }
  .kb--ink, .kb--img.kb--wide { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  .kbento { grid-template-columns: minmax(0, 1fr); }
  .kb, .kb--wide, .kb--half, .kb--ink, .kb--img.kb--wide { grid-column: 1 / -1; }
  .kb--img { grid-template-columns: minmax(0, 1fr); }
  .kb--img .kb-fig { aspect-ratio: 16 / 9; min-height: 0; }
  .kb--ink { min-height: 0; }
  .kb-sites { grid-template-columns: minmax(0, 1fr); }
}

/* Stellenprofile als Spezifikationsblaetter */
.kar-profiles { background: var(--sand); }
.kar-head { margin-bottom: clamp(28px, 4vw, 56px); }
.kar-head .lead { margin: 16px 0 0; }
.specs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(14px, 2vw, 24px); align-items: stretch; }
.spec { background: var(--surface); border-radius: var(--r-panel); padding: clamp(24px, 3vw, 40px); display: flex; flex-direction: column; gap: 22px; box-shadow: var(--shadow); position: relative; overflow: hidden; min-width: 0; }
.spec::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--gold); }
.spec-h { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 16px; align-items: start; }
.spec-ic { width: 52px; height: 52px; border-radius: 50%; background: var(--ink); color: var(--gold); display: grid; place-items: center; }
.spec-ic svg { width: 24px; height: 24px; }
.spec h3 { font-size: clamp(1.45rem, 1.15rem + 1.1vw, 2.1rem); letter-spacing: -.03em; line-height: 1.08; }
.spec .mwd { font-weight: 500; color: var(--muted); font-size: .7em; letter-spacing: -.01em; white-space: nowrap; }
.spec-lead { margin: 0; font-size: var(--fs-lead); line-height: 1.5; color: var(--ink); max-width: 46ch; }
.spec-sec h4 { font-family: var(--f-mono); font-weight: 500; font-size: var(--fs-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--gold-deep); margin: 0 0 12px; padding-top: 18px; border-top: 1px solid var(--line); }
.spec-list { list-style: none; display: grid; gap: 10px; }
.spec-list li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 10px; line-height: 1.45; }
.spec-list svg { width: 20px; height: 20px; color: var(--ok); margin-top: 2px; }
.spec-dl { margin: 0; display: grid; gap: 10px; }
.spec-dl div { display: grid; grid-template-columns: minmax(0, 9.5rem) minmax(0, 1fr); gap: 4px 16px; }
.spec-dl dt { font-family: var(--f-display); font-weight: 600; color: var(--ink); font-size: .95rem; }
.spec-dl dd { margin: 0; color: var(--muted); font-size: .95rem; line-height: 1.45; }
.spec-dl--meta div { padding-bottom: 10px; border-bottom: 1px dashed var(--line); }
.spec-dl--meta div:last-child { border-bottom: 0; padding-bottom: 0; }
.spec-team { margin-top: auto; }
.spec-cta .btn { width: 100%; justify-content: space-between; }
@media (max-width: 960px) { .specs { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 480px) { .spec-dl div { grid-template-columns: minmax(0, 1fr); } .spec-h { grid-template-columns: minmax(0, 1fr); } }

/* Was zusammenpasst */
.kar-match .kar-h2 { margin-bottom: clamp(28px, 4vw, 52px); }
.match { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; }
.match-col { border-radius: var(--r-panel); padding: clamp(24px, 3.2vw, 48px); border: 1px solid var(--line-strong); min-width: 0; }
.match-col--ink { border-color: transparent; }
.match-t { font-size: var(--fs-h3); margin-bottom: 22px; }
.match-list { list-style: none; counter-reset: m; display: grid; gap: 0; }
.match-list li { counter-increment: m; display: grid; grid-template-columns: 44px minmax(0, 1fr); column-gap: 14px; padding: 16px 0; border-top: 1px solid var(--line); }
.match-list li::before { content: counter(m, decimal-leading-zero); grid-row: span 2; font-family: var(--f-mono); font-size: .8rem; color: var(--gold-deep); padding-top: 4px; }
.match-list h3, .match-feats h3 { font-size: 1.08rem; letter-spacing: -.01em; margin-bottom: 4px; }
.match-list p, .match-feats p { margin: 0; color: var(--muted); font-size: .97rem; }
.match-feats { list-style: none; display: grid; gap: 16px; margin-bottom: 26px; }
.match-feats li { display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 12px; }
.match-feats .fi { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: rgba(194, 160, 96, .16); color: var(--gold); }
.match-feats .fi svg { width: 16px; height: 16px; }
.match-col--ink p { color: var(--on-ink-muted); }
.spec-dl--ink { padding-top: 20px; border-top: 1px solid var(--on-ink-line); }
.spec-dl--ink dt { color: var(--on-ink); }
.spec-dl--ink dd { color: var(--on-ink-muted); }
.spec-dl--ink div { border-bottom-color: var(--on-ink-line); }
@media (max-width: 900px) { .match { grid-template-columns: minmax(0, 1fr); } }

/* Bewerbung */
.kar-apply { padding-top: var(--sec); }
.kar-apply .form-side .lead { margin: 14px 0 26px; }
.apply-steps { list-style: none; display: grid; gap: 0; margin-bottom: 22px; }
.apply-steps li { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 14px; padding: 14px 0; border-top: 1px solid var(--line); }
.apply-steps b { width: 36px; height: 36px; border-radius: 50%; background: var(--ink); color: var(--gold); display: grid; place-items: center; font-family: var(--f-mono); font-weight: 500; font-size: .85rem; }
.apply-steps h3 { font-size: 1.08rem; margin-bottom: 2px; }
.apply-steps p { margin: 0; color: var(--muted); font-size: .95rem; overflow-wrap: anywhere; }
.cv-note { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 10px; margin: 18px 0 0; padding: 14px 16px; border-radius: var(--r-ctl); background: var(--gold-soft); color: var(--ink); font-size: .95rem; line-height: 1.45; overflow-wrap: anywhere; }
.cv-note svg { width: 20px; height: 20px; color: var(--gold-deep); margin-top: 1px; }

/* Rechner: Lead */
.consent-wrap { display: grid; gap: 6px; flex: 1 1 100%; }
.rechner .form-actions .btn { white-space: normal; text-align: left; line-height: 1.25; }
.r-mail:empty { display: none; }
.r-mailnote { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 10px; align-items: start; border-radius: var(--r-panel); padding: 16px 18px; font-size: .95rem; line-height: 1.45; }
.r-mailnote svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; margin-top: 1px; }
.r-mailnote--ok { background: var(--ok-bg); color: var(--ok); }
.r-mailnote--ok strong { color: var(--ink); overflow-wrap: anywhere; }
.r-mailnote--err { background: var(--err-bg); color: var(--err); grid-template-columns: minmax(0, 1fr); }
.r-mailnote--draft { background: var(--gold-soft); color: var(--ink); grid-template-columns: minmax(0, 1fr); }
.r-mailnote--wait { background: var(--surface); border: 1px solid var(--line-strong); color: var(--ink); }
.r-mailnote a { color: inherit; font-weight: 600; }
.r-spin { width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--line-strong); border-top-color: var(--ink); margin-top: 1px; }
@media (prefers-reduced-motion: no-preference) { .r-spin { animation: rspin .8s linear infinite; } }
@keyframes rspin { to { transform: rotate(360deg); } }
.btn[disabled] { opacity: .65; cursor: progress; }
.legal-add { margin-top: 40px; padding-top: 28px; border-top: 2px solid var(--gold); }

.tiles--stack { grid-template-columns: minmax(0, 1fr) !important; }
.kb-sites { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 721px) { .kb--rev { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); } .kb--rev .kb-fig { order: 2; } }
@media (min-width: 1000px) {
  .kar-hero-in { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); column-gap: clamp(32px, 5vw, 96px); align-items: end; }
  .kar-hero-in > .crumbs { grid-column: 1 / -1; }
}
.kar-index { display: grid; align-self: end; margin-bottom: 8px; }
.kar-index-t { font-family: var(--f-mono); font-size: var(--fs-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--on-ink-muted); margin: 0 0 10px; }
.kar-index a { display: grid; grid-template-columns: minmax(0, 1fr) 20px; gap: 14px; align-items: center; padding: 16px 0; border-top: 1px solid var(--on-ink-line); text-decoration: none; font-family: var(--f-display); font-weight: 600; font-size: 1.08rem; line-height: 1.3; color: var(--on-ink); min-height: 44px; }
.kar-index a:last-child { border-bottom: 1px solid var(--on-ink-line); color: var(--on-ink-muted); font-weight: 500; }
.kar-index small { font-weight: 400; color: var(--on-ink-muted); font-size: .85em; }
.kar-index svg { width: 18px; height: 18px; color: var(--gold); transition: transform var(--dur) var(--ease-out); }
.kar-index a:hover svg { transform: translateX(4px); }
.kar-index a:hover span { text-decoration: underline; text-decoration-color: var(--gold); }
@media (max-width: 999px) { .kar-index { margin-top: 36px; } }
@media (max-width: 640px) { .tiles--keep3 { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; } }
@media (max-width: 560px) {
  .spec-team { display: grid; grid-template-columns: minmax(0, 1fr) 18px; row-gap: 10px; }
  .spec-team .avatars { grid-column: 1 / -1; }
}
.person figcaption, .person .ql, .person .fn { min-width: 0; overflow-wrap: break-word; hyphens: auto; -webkit-hyphens: auto; }
.nav a { white-space: nowrap; }
@media (max-width: 1340px) { .nav, .hd-login { display: none; } .hd-cta { margin-left: auto; } .burger { display: block; margin-left: 0; } }
.rechner > .hint + .fgrid { margin-top: 16px; }

/* =====================================================================
   QA-Runde 19.10.2026 (Prüf-Skills): Fokus, kurze Viewports, mobile Reihenfolge
   ===================================================================== */
/* Fokusring: Gold auf Kalkweiß hatte nur ca. 2,1:1. Jetzt Tinte (ca. 16:1) mit Gold-Halo; auf dunklen Flächen Gold (ca. 8:1). */
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; box-shadow: 0 0 0 6px rgba(194, 160, 96, .5); }
.on-ink :focus-visible, .site-footer :focus-visible, .hero2 :focus-visible, .kb--ink :focus-visible, .match-col--ink :focus-visible,
.side-card--ink :focus-visible, .r-result :focus-visible, .dock :focus-visible, .kar-hero :focus-visible { outline-color: var(--gold-hover); box-shadow: none; }
.tile input:focus-visible + span { outline: 3px solid var(--ink); outline-offset: 2px; box-shadow: 0 0 0 6px rgba(194, 160, 96, .5); }
.field input:focus-visible, .field textarea:focus-visible, .field select:focus-visible { outline: 2px solid var(--ink); outline-offset: 1px; }
.consent input:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }
/* Zoom 200 % / Querformat: Kopfzeile scrollt mit, Leiste unten entfällt (Schaden melden bleibt im Kopf) */
@media (max-height: 500px) {
  .site-header { position: relative; }
  .dock { display: none !important; }
  body.has-dock { padding-bottom: 0; }
  html { scroll-padding-top: 16px; }
  .r-side { position: static; }
}
/* Schluss-CTA: spätere Desktop-Regel hob die Einspaltigkeit unter 960 px auf (Bild 117 px breit, Telefonnummer umbrochen) */
@media (max-width: 960px) {
  .final-grid { grid-template-columns: minmax(0, 1fr); align-items: start; }
  .final .bigtel { white-space: nowrap; font-size: clamp(1.9rem, 1rem + 6vw, 3.4rem); }
}
/* Schadenart-Kacheln: drei Spalten in der schmalen Formularspalte brachen Wörter mitten im Wort */
@media (min-width: 641px) { .choice-set .tiles:not(.tiles--2):not(.tiles--3):not(.tiles--stack) { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.choice-set .tile .tl { hyphens: manual; -webkit-hyphens: manual; overflow-wrap: normal; }
/* Mobil: Formular vor die ergänzenden Karten ziehen (Termin, Schadenmeldung, Karriere) */
@media (max-width: 900px) {
  .form-shell { display: flex; flex-direction: column; gap: 0; align-items: stretch; }
  .form-shell > div:not(.form-side) { margin: 12px 0 28px; }
  .form-shell > .form-side { display: contents; }
  .form-shell > .form-side > * { order: 0; }
  .form-shell > .form-side > .side-card--line { order: 2; }
  .form-shell > div:not(.form-side) { order: 1; }
  .form-shell > .form-side > .side-card--line:first-of-type { margin-top: 8px; }
}
.tiles--keep3 .tile .tl { flex: 1 1 auto; hyphens: none; -webkit-hyphens: none; overflow-wrap: normal; white-space: nowrap; }
.tiles--keep3 .tile input + span { padding: 12px 12px; gap: 8px; }
@media (max-width: 420px) { .tiles--keep3 { grid-template-columns: minmax(0, 1fr) !important; } }
