/* KI SÜD – Designsystem nach CI-Guide (21.11.2026). Alle Farben laufen über die acht --ks-Variablen. */

@font-face {
  font-family: "Sora";
  src: url("fonts/sora-latin-ext-wght-normal.woff2") format("woff2");
  font-weight: 300 600;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Sora";
  src: url("fonts/sora-latin-wght-normal.woff2") format("woff2");
  font-weight: 300 600;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Ersatzschrift mit angeglichener Laufweite: weniger Umbruchsprünge, bis Sora geladen ist */
@font-face {
  font-family: "Sora Ersatz";
  src: local("Segoe UI"), local("Helvetica Neue"), local("Arial"), local("Liberation Sans");
  size-adjust: 113%;
}

:root {
  color-scheme: dark;
  --ks-bg: #0A0F1A;
  --ks-surface: #0F1624;
  --ks-line: #1C273A;
  --ks-line-strong: #3A4A63;
  --ks-text: #F1F4F9;
  --ks-text-muted: #93A0B5;
  --ks-accent: #7CB0FF;
  --ks-on-accent: #0A0F1A;
  --ks-font: "Sora", "Sora Ersatz", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ks-radius-card: 16px;
  --ks-radius-control: 10px;
}

@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    color-scheme: light;
    --ks-bg: #F7F9FC;
    --ks-surface: #FFFFFF;
    --ks-line: #DCE2EB;
    --ks-line-strong: #B4BDCB;
    --ks-text: #0A0F1A;
    --ks-text-muted: #5E6A80;
    --ks-accent: #2F6FD6;
    --ks-on-accent: #FFFFFF;
  }
}

:root[data-theme="light"] {
  color-scheme: light;
  --ks-bg: #F7F9FC;
  --ks-surface: #FFFFFF;
  --ks-line: #DCE2EB;
  --ks-line-strong: #B4BDCB;
  --ks-text: #0A0F1A;
  --ks-text-muted: #5E6A80;
  --ks-accent: #2F6FD6;
  --ks-on-accent: #FFFFFF;
}

:root {
  /* Schrift: Skala (Überschriften auf Wunsch ruhiger als im Guide) */
  --fs-eyebrow: 0.75rem;    /* 12 px Versalzeile */
  --fs-sm: 0.875rem;        /* 14 px Beschriftung */
  --fs-ui: 0.9375rem;       /* 15 px Button, Navigation */
  --fs-base: 1.0625rem;     /* 17 px Fließtext */
  --fs-h3: 1.25rem;         /* 20 px */
  --fs-h2: 2rem;            /* 32 px */
  --fs-h1: 2.75rem;         /* 44 px (auf Wunsch kleiner als im Guide) */

  /* Raum: 8er-Raster */
  --gutter: 2.5rem;
  --wrap: calc(75rem + 2 * var(--gutter));   /* Inhalt höchstens 1200 px */
  --read: 42.5rem;                           /* Lesetext höchstens 680 px */
  --space-section: 6rem;
  --space-block: 4rem;
  --head-h: 6rem;
  --logo-w: 10rem;                           /* 160 px im Seitenkopf */

  /* Bewegung */
  --ease-out: cubic-bezier(0.16, 0.8, 0.24, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}
@media (max-width: 72rem) {
  :root { --head-h: 5.5rem; --logo-w: 9rem; }  /* 144 px, über der Mindestbreite von 140 px */
}
@media (max-width: 40rem) {
  :root { --fs-base: 1rem; --fs-h3: 1.125rem; --fs-h2: 1.75rem; --fs-h1: 2.125rem; --gutter: 1.5rem; --space-section: 4rem; --space-block: 2.5rem; }
}

/* ---------- Grundlage ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--head-h) + 1rem); }
body {
  margin: 0;
  background: var(--ks-bg);
  color: var(--ks-text);
  font-family: var(--ks-font);
  font-size: var(--fs-base);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
h1, h2, h3, p, ul, ol, dl, dd, figure, address { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }
a { color: var(--ks-accent); text-decoration: none; text-underline-offset: 0.22em; text-decoration-thickness: 1px; }
a:hover { text-decoration: underline; }
strong { font-weight: 600; }
code { font-family: ui-monospace, Consolas, monospace; font-size: 0.92em; color: var(--ks-text); }
::selection { background: var(--ks-accent); color: var(--ks-on-accent); }

:focus-visible { outline: 2px solid var(--ks-accent); outline-offset: 2px; }

h1, h2 { font-weight: 400; hyphens: auto; overflow-wrap: break-word; text-wrap: balance; }
h1 { font-size: var(--fs-h1); font-weight: 300; line-height: 1.1; letter-spacing: -0.03em; }
h2 { font-size: var(--fs-h2); font-weight: 300; line-height: 1.2; letter-spacing: -0.02em; }
h3 { font-size: var(--fs-h3); font-weight: 400; line-height: 1.3; letter-spacing: -0.01em; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.lead { font-size: var(--fs-base); line-height: 1.5; color: var(--ks-text-muted); max-width: 38em; }
.note { font-size: var(--fs-sm); color: var(--ks-text-muted); max-width: var(--read); }
.muted { color: var(--ks-text-muted); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.skip { position: absolute; left: 1rem; top: -4rem; z-index: 100; padding: 0.5rem 1rem; background: var(--ks-text); color: var(--ks-bg); border-radius: var(--ks-radius-control); font-weight: 600; text-decoration: none; }
.skip:focus { top: 1rem; }

/* ---------- Schaltflächen und Links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 3rem; padding: 0.5rem 1.5rem;
  border: 1px solid var(--ks-accent); border-radius: var(--ks-radius-control);
  background: var(--ks-accent); color: var(--ks-on-accent);
  font: inherit; font-size: var(--fs-ui); font-weight: 600; line-height: 1; text-decoration: none; text-align: center;
  cursor: pointer;
  transition: border-color 0.2s, background-color 0.2s;
}
.btn:hover { border-color: var(--ks-text); text-decoration: none; }
.btn--ghost { background: transparent; border-color: var(--ks-line-strong); color: var(--ks-text); }
.btn--ghost:hover { background: var(--ks-surface); border-color: var(--ks-text); }
.btn-row { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.5rem; }

.link { display: inline-block; color: var(--ks-accent); font-weight: 600; text-decoration: none; }
.link:hover { text-decoration: underline; }

/* ---------- Kopf ---------- */
.site-head { position: sticky; top: 0; z-index: 50; height: var(--head-h); }
.site-head::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--ks-surface); border-bottom: 1px solid var(--ks-line); }
.site-head > .wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }

.mark { display: inline-flex; flex: none; margin-right: auto; color: var(--ks-text); text-decoration: none; }
.mark svg { display: block; width: var(--logo-w); height: auto; aspect-ratio: 286.26 / 72.3; }   /* 3,96 : 1 */

.nav { display: flex; align-items: center; gap: clamp(1rem, 2.4vw, 2rem); }
.nav a { position: relative; color: var(--ks-text-muted); font-size: var(--fs-ui); font-weight: 600; line-height: 1; text-decoration: none; padding: 0.5rem 0; transition: color 0.2s; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--ks-text); transform: scaleX(0); transform-origin: left; transition: transform 0.35s var(--ease-out); }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ks-text); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav a.nav-cta { display: inline-flex; align-items: center; min-height: 3rem; color: var(--ks-text); padding: 0 1.5rem; border: 1px solid var(--ks-line-strong); border-radius: var(--ks-radius-control); transition: background-color 0.2s, border-color 0.2s; }
.nav a.nav-cta::after { content: none; }
.nav a.nav-cta:hover, .nav a.nav-cta[aria-current="page"] { border-color: var(--ks-text); }

.nav-toggle { display: none; align-items: center; gap: 0.5rem; min-height: 3rem; padding: 0 0 0 0.5rem; background: none; border: 0; color: var(--ks-text); font: inherit; font-size: var(--fs-ui); font-weight: 600; line-height: 1; cursor: pointer; }
.nav-toggle i { position: relative; width: 1.5rem; height: 0.75rem; }
.nav-toggle i::before, .nav-toggle i::after { content: ""; position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor; transition: transform 0.3s var(--ease-out); }
.nav-toggle i::before { top: 0; }
.nav-toggle i::after { bottom: 0; }
.nav-toggle[aria-expanded="true"] i::before { transform: translateY(0.3125rem) rotate(45deg); }
.nav-toggle[aria-expanded="true"] i::after { transform: translateY(-0.3125rem) rotate(-45deg); }

@media (max-width: 72rem) {
  /* Ohne JavaScript bleibt das Menü als umbrechende Zeile sichtbar. */
  html:not(.js) .site-head { height: auto; position: static; }
  html:not(.js) .site-head > .wrap { flex-wrap: wrap; padding-block: 1rem; gap: 0.5rem 2rem; }
  html:not(.js) .nav { flex-wrap: wrap; gap: 0.25rem 1rem; }

  .js .nav-toggle { display: inline-flex; }
  .js .nav {
    position: fixed; inset: var(--head-h) 0 0 0;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 1.5rem var(--gutter) 2.5rem;
    background: var(--ks-bg);
    overflow-y: auto;
    visibility: hidden; opacity: 0; transform: translateY(-0.75rem);
    transition: opacity 0.25s, transform 0.35s var(--ease-out), visibility 0s 0.35s;
  }
  .js .nav.open { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
  .js .nav a { color: var(--ks-text); padding: 1.5rem 0; border-bottom: 1px solid var(--ks-line); }
  .js .nav a::after { content: none; }
  .js .nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 0.4em; }
  .js .nav a.nav-cta { margin-top: 2rem; justify-content: center; border: 1px solid var(--ks-line-strong); }
  html.menu-open { overflow: hidden; }
}

/* ---------- Abschnitte ---------- */
.section { padding-block: var(--space-section); }
.section--band { border-block: 1px solid var(--ks-line); }
.section--tight-top { padding-top: 0; }
.head { margin-bottom: var(--space-block); }
.head > h2 { max-width: 18em; }
.head > p { margin-top: 1.5rem; }
.head--solo { margin-bottom: 0; }

.crumbs { font-size: var(--fs-sm); color: var(--ks-text-muted); margin-bottom: clamp(2rem, 5vw, 3.5rem); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 0.25rem 0.5rem; }
.crumbs li + li::before { content: "/"; margin-right: 0.5rem; color: var(--ks-line-strong); }
.crumbs a { color: var(--ks-text-muted); }
.crumbs a:hover { color: var(--ks-text); }
.crumbs [aria-current] { color: var(--ks-text); }

.page-head { padding-block: clamp(3rem, 8vw, 6.5rem) clamp(4rem, 9vw, 7.5rem); }
.page-head h1 { max-width: 13em; }
.page-head .lead { margin-top: clamp(1.5rem, 3vw, 2.5rem); }

/* ---------- Hero ---------- */
.hero { padding-block: clamp(3.5rem, 9vw, 7rem) clamp(4rem, 8vw, 7rem); }
.hero h1 .line { display: block; overflow: hidden; padding-bottom: 0.14em; margin-bottom: -0.14em; }
.hero h1 .line > span { display: block; }
.hero .lead { margin-top: clamp(1.5rem, 3vw, 2.5rem); }

/* ---------- Produkte (Startseite) ---------- */
.produkte { border-top: 1px solid var(--ks-line); }
.produkt { position: relative; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 2rem clamp(2rem, 6vw, 6rem); padding-block: clamp(2.5rem, 5vw, 4.5rem); border-bottom: 1px solid var(--ks-line); }
.produkt::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 1px; background: var(--ks-text); transform: scaleX(0); transform-origin: left; transition: transform 0.6s var(--ease-out); }
.produkt:hover::before, .produkt:focus-within::before { transform: scaleX(1); }
.produkt h3 { font-size: var(--fs-h3); transition: color 0.25s; font-weight: 400; line-height: 1.3; letter-spacing: -0.01em; }
.produkt:hover h3 { color: var(--ks-text); }
.produkt-main p { margin-top: 1rem; color: var(--ks-text-muted); max-width: 26em; }
.produkt-main .link { margin-top: 2rem; }
.produkt-main .link::after { content: ""; position: absolute; inset: 0; }

.fakten { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem clamp(1.5rem, 4vw, 3rem); align-content: start; }
.fakten dt { font-size: var(--fs-sm); color: var(--ks-text-muted); margin-bottom: 0.25rem; }
.fakten dd { font-weight: 500; line-height: 1.4; }
.fakten .full { grid-column: 1 / -1; }

/* ---------- Ablauf ---------- */
.ablauf { position: relative; display: grid; grid-template-columns: repeat(var(--steps, 4), minmax(0, 1fr)); gap: 2.5rem clamp(1.5rem, 3vw, 3rem); counter-reset: schritt; padding-top: 3.5rem; }
.ablauf::before, .ablauf::after { content: ""; position: absolute; left: 0; right: 0; top: 1rem; height: 1px; background: var(--ks-line); }
.ablauf::after { background: var(--ks-text); transform-origin: left; }
.ablauf li { position: relative; counter-increment: schritt; }
.ablauf li::before { content: counter(schritt); position: absolute; left: 0; top: -3.25rem; width: 2rem; height: 2rem; display: grid; place-items: center; border-radius: 50%; background: var(--ks-bg); border: 1px solid var(--ks-line-strong); color: var(--ks-text); font-size: var(--fs-sm); font-weight: 600; z-index: 1; }
.section--band .ablauf li::before { background: var(--ks-bg); }
.ablauf p { margin-top: 0.5rem; color: var(--ks-text-muted); }

/* ---------- Spalten und Listen ---------- */
.trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.5rem clamp(2rem, 5vw, 4.5rem); }
.trio > div { padding-top: 1.5rem; border-top: 1px solid var(--ks-line-strong); }
.trio p { margin-top: 0.5rem; color: var(--ks-text-muted); }

.cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-block) clamp(2rem, 7vw, 7rem); }
.cols--wide-left { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); }
.cols h2 { font-size: var(--fs-h2); font-weight: 300; line-height: 1.2; letter-spacing: -0.02em; }
.cols h2 + *, .cols h3 + * { margin-top: 1.5rem; }
.cols h3 { margin-top: 2.5rem; }
.cols h3 + * { margin-top: 1rem; }
.cols .note { margin-top: 2rem; }
.cols .lead + .liste { margin-top: 2rem; }
.cols > div > p:not(.lead):not(.note) { max-width: 34em; }

.liste li { position: relative; padding: 1rem 0 1rem 2rem; border-bottom: 1px solid var(--ks-line); }
.liste li::before { content: ""; position: absolute; left: 0.15rem; top: 1.7rem; width: 0.9rem; height: 1px; background: var(--ks-text-muted); }
.liste--ja li::before { top: 1.2rem; left: 0.2rem; width: 0.9rem; height: 0.5rem; background: none; border-left: 2px solid var(--ks-line-strong); border-bottom: 2px solid var(--ks-line-strong); transform: rotate(-45deg); }
.liste--nicht li { color: var(--ks-text-muted); }
.liste--nicht li::before, .liste--nicht li::after { content: ""; position: absolute; left: 0.15rem; top: 1.65rem; width: 0.95rem; height: 2px; background: var(--ks-text-muted); transform: rotate(45deg); }
.liste--nicht li::after { transform: rotate(-45deg); }

/* ---------- Preisblock ---------- */
.preis-gross { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.5rem clamp(2rem, 6vw, 6rem); padding-bottom: var(--space-block); }
.preis-gross dt { color: var(--ks-text-muted); }
.preis-gross dd { margin-top: 0.5rem; }
.preis-gross b { display: block; font-size: var(--fs-h1); font-variant-numeric: tabular-nums; font-weight: 300; line-height: 1.1; letter-spacing: -0.03em; }
.preis-gross span { display: block; margin-top: 0.5rem; color: var(--ks-text-muted); }
.zeilen > div { display: grid; grid-template-columns: minmax(8rem, 3fr) minmax(0, 9fr); gap: 0.25rem 2rem; padding: 1rem 0; border-top: 1px solid var(--ks-line); }
.zeilen > div:last-child { border-bottom: 1px solid var(--ks-line); }
.zeilen dt { color: var(--ks-text-muted); }
.zeilen dd { font-weight: 500; }
.zeilen + .note { margin-top: 2rem; }

/* ---------- Rechner ---------- */
.rechner { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: var(--space-block) clamp(2rem, 7vw, 7rem); align-items: start; }
.rechner-in { display: grid; gap: 2rem; }
.rechner-out { padding-top: 0.25rem; }
.ergebnis-zahl { display: block; margin-top: 0.5rem; font-size: var(--fs-h1); font-variant-numeric: tabular-nums; white-space: nowrap; font-weight: 300; line-height: 1.1; letter-spacing: -0.03em; }
#r-amortisation { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--ks-line-strong); max-width: 30em; }

/* ---------- Formularfelder ---------- */
label { display: block; font-size: var(--fs-sm); line-height: 1.5; font-weight: 500; margin-bottom: 0.5rem; }
.hint { display: block; margin-top: 0.5rem; font-size: var(--fs-sm); color: var(--ks-text-muted); }
input[type="text"], input[type="email"], input[type="number"], select, textarea {
  display: block; width: 100%; min-height: 3rem; padding: 0.5rem 1rem;
  background: var(--ks-surface); color: var(--ks-text);
  border: 1px solid var(--ks-line-strong); border-radius: var(--ks-radius-control);
  font: inherit; font-variant-numeric: tabular-nums;
  transition: border-color 0.2s, background-color 0.2s;
}
input:hover, select:hover, textarea:hover { border-color: var(--ks-text); }
input[type="text"]:focus-visible, input[type="email"]:focus-visible, input[type="number"]:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid var(--ks-accent); outline-offset: 2px; }
textarea { min-height: 9.5rem; resize: vertical; }
select { padding-right: 0.5rem; }
select option { background: var(--ks-surface); color: var(--ks-text); }
[aria-invalid="true"] { border-color: var(--ks-text); border-style: dashed; }

input[type="range"] { -webkit-appearance: none; appearance: none; display: block; width: 100%; height: 2rem; margin: 0; background: transparent; cursor: pointer; }
input[type="range"]::-webkit-slider-runnable-track { height: 2px; background: var(--ks-line-strong); }
input[type="range"]::-moz-range-track { height: 2px; background: var(--ks-line-strong); }
input[type="range"]::-moz-range-progress { height: 2px; background: var(--ks-text); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 1.4rem; height: 1.4rem; margin-top: -0.65rem; border-radius: 50%; background: var(--ks-bg); border: 2px solid var(--ks-line-strong); transition: transform 0.2s var(--ease-out), background-color 0.2s; }
input[type="range"]::-moz-range-thumb { width: 1.2rem; height: 1.2rem; border-radius: 50%; background: var(--ks-bg); border: 2px solid var(--ks-line-strong); }
input[type="range"]:hover::-webkit-slider-thumb, input[type="range"]:active::-webkit-slider-thumb { transform: scale(1.15); background: var(--ks-text); }
input[type="range"]:focus-visible { outline: 2px solid var(--ks-accent); outline-offset: 2px; }
output { font-variant-numeric: tabular-nums; }
label output { color: var(--ks-text); font-weight: 600; }

.form { display: grid; gap: 2rem; }
.form .row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem 1.5rem; }
.form .note { margin-top: 1rem; }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--ks-line-strong); max-width: var(--read); }
.faq details { border-bottom: 1px solid var(--ks-line); }
.faq summary { position: relative; display: block; padding: 1.5rem 3.5rem 1.5rem 0; font-size: var(--fs-h3); cursor: pointer; list-style: none; transition: color 0.2s; font-weight: 400; line-height: 1.3; letter-spacing: -0.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--ks-text); }
.faq summary::before, .faq summary::after { content: ""; position: absolute; right: 0.4rem; top: 50%; width: 1.1rem; height: 2px; margin-top: -1px; background: currentColor; transition: transform 0.35s var(--ease-out); }
.faq summary::after { transform: rotate(90deg); }
.faq details[open] > summary::after { transform: rotate(0deg); }
.faq-a { overflow: hidden; }
.faq-a p { padding: 0 3.5rem 2rem 0; color: var(--ks-text-muted); max-width: var(--read); }

/* ---------- Über uns ---------- */
.personen { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-block) clamp(2rem, 6vw, 6rem); }
.person { display: flex; flex-direction: column; align-items: flex-start; }
.avatar { position: relative; width: 100%; height: clamp(10rem, 18vw, 14rem); border-radius: var(--ks-radius-card); background: var(--ks-surface); overflow: hidden; display: flex; align-items: flex-end; padding: 1rem 1.5rem; border: 1px solid var(--ks-line); }
.avatar svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.avatar svg path { fill: none; stroke: var(--ks-accent); stroke-width: 1.5; opacity: 0.55; vector-effect: non-scaling-stroke; }
.avatar svg line { stroke: var(--ks-line); stroke-width: 1; vector-effect: non-scaling-stroke; }
.nb { white-space: nowrap; }
.avatar .platzhalter { position: absolute; top: 0.9rem; right: 0.9rem; font-size: var(--fs-sm); letter-spacing: 0; }
.avatar > span[aria-hidden] { position: relative; font-size: var(--fs-h1); color: var(--ks-text); font-weight: 300; line-height: 1.1; letter-spacing: -0.03em; }
.person h3 { margin-top: 2rem; font-size: var(--fs-h3); font-weight: 400; line-height: 1.3; letter-spacing: -0.01em; }
.rolle { margin-top: 0.5rem; color: var(--ks-text); font-weight: 500; }
.person .profil { margin-top: 1.5rem; color: var(--ks-text-muted); }
.tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.5rem; }
.tags li { padding: 0.25rem 1rem; border: 1px solid var(--ks-line-strong); border-radius: 10rem; font-size: var(--fs-sm); }
.person .link { margin-top: 2rem; }

.platzhalter { display: inline-block; padding: 0 0.5rem; border: 1px dashed var(--ks-line-strong); border-radius: var(--ks-radius-control); color: var(--ks-text); }
.platzhalter b { margin-right: 0.5rem; font-size: var(--fs-eyebrow); font-weight: 500; letter-spacing: 0.3em; text-transform: uppercase; color: var(--ks-text-muted); }
.hinweis-box { margin-top: var(--space-block); padding: 1.5rem; border: 1px dashed var(--ks-line-strong); border-radius: var(--ks-radius-card); max-width: var(--read); }

/* ---------- Kontakt ---------- */
.direkt h2 { font-size: var(--fs-h3); font-weight: 400; line-height: 1.3; letter-spacing: -0.01em; }
.direkt .zeilen { margin-top: 1.5rem; }
.direkt .zeilen > div { grid-template-columns: 1fr; }
.direkt a { overflow-wrap: anywhere; }

/* ---------- Rechtstexte ---------- */
.prose { max-width: var(--read); }
.prose h2, .prose h3 { font-size: var(--fs-h3); margin: 3rem 0 1rem; text-wrap: wrap; font-weight: 400; line-height: 1.3; letter-spacing: -0.01em; }
.prose > :first-child { margin-top: 0; }
.prose p, .prose address { color: var(--ks-text); font-style: normal; }
.prose p + p { margin-top: 1rem; }
.prose strong { color: var(--ks-text); }
.prose a { overflow-wrap: anywhere; }

/* ---------- Fuß ---------- */
.site-foot { border-top: 1px solid var(--ks-line); padding-top: clamp(3.5rem, 7vw, 6rem); font-size: var(--fs-sm); }
.foot-grid { display: grid; gap: 2.5rem clamp(1.5rem, 4vw, 4rem); }
.foot-grid h2 { font-size: var(--fs-sm); font-weight: 500; letter-spacing: 0; line-height: 1.6; color: var(--ks-text-muted); margin-bottom: 1rem; }
.foot-grid p { color: var(--ks-text-muted); max-width: 24em; }
.foot-grid li + li { margin-top: 0.5rem; }
.foot-grid a:not(.mark) { color: var(--ks-text); text-decoration: none; }
.foot-grid a:not(.mark):hover { color: var(--ks-accent); text-decoration: underline; }
.legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem 2rem; margin-top: clamp(3rem, 6vw, 5rem); padding-block: 1.5rem; border-top: 1px solid var(--ks-line); color: var(--ks-text-muted); }
.legal nav { display: flex; gap: 2rem; }
.legal a { color: var(--ks-text-muted); }
.legal a:hover, .legal a[aria-current="page"] { color: var(--ks-text); }

/* ---------- v3: Bereichswahl (Startseite) ---------- */
.bereiche { margin-top: clamp(3.5rem, 8vw, 6.5rem); scroll-margin-top: calc(var(--head-h) + 1rem); }
.tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 clamp(1rem, 3vw, 3rem); }
html:not(.js) .tabs { display: none; }
.tab { position: relative; display: block; padding: 1.5rem 0 1.5rem; background: none; border: 0; border-top: 1px solid var(--ks-line-strong); color: var(--ks-text-muted); font: inherit; text-align: left; cursor: pointer; transition: color 0.25s; }
.tab::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 2px; background: var(--ks-text); transform: scaleX(0); transform-origin: left; transition: transform 0.6s var(--ease-out); }
.tab[aria-selected="true"]::before { transform: scaleX(1); }
.tab b { display: block; font-size: var(--fs-h2); font-weight: 300; line-height: 1.2; letter-spacing: -0.02em; }
.tab span { display: block; margin-top: 0.5rem; font-size: var(--fs-sm); }
.tab:hover, .tab[aria-selected="true"] { color: var(--ks-text); }
.tab[aria-selected="true"] span { color: var(--ks-text-muted); }
.panel { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 2.5rem clamp(2rem, 6vw, 6rem); align-items: center; padding-top: clamp(2.5rem, 5vw, 4rem); }
.panel[hidden] { display: none; }
html:not(.js) .panel + .panel { margin-top: 3rem; border-top: 1px solid var(--ks-line); }
.panel h2 { font-size: var(--fs-h2); font-weight: 300; line-height: 1.2; letter-spacing: -0.02em; }
.js .panel h2 { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.panel .lead { color: var(--ks-text); max-width: 30em; }
.panel h2 + .lead { margin-top: 1rem; }
.panel .link { margin-top: 2rem; }
.flow { display: flex; flex-wrap: wrap; gap: 0.5rem 0; margin-top: 2rem; font-size: var(--fs-sm); }
.flow li { display: flex; align-items: center; color: var(--ks-text); font-weight: 500; }
.flow li + li::before { content: ""; width: clamp(0.9rem, 2vw, 1.75rem); height: 1px; margin-inline: 0.5rem; background: var(--ks-line-strong); }
.panel-bild svg { width: 100%; height: auto; }
.draw .d { fill: none; stroke: var(--ks-text); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.draw .d--leise { stroke: var(--ks-line-strong); }
.draw .d--marke { stroke: var(--ks-accent); stroke-width: 9; stroke-linecap: butt; opacity: 0.55; }
.draw .d--marke-duenn { stroke: var(--ks-accent); stroke-width: 2.25; }
.draw .d--kupfer { stroke: var(--ks-text); }
.draw .f--wand { fill: var(--ks-accent); opacity: 0.2; }
.draw .f--grenze { fill: none; stroke: var(--ks-text); stroke-width: 1; stroke-dasharray: 4 4; }
.draw .f--punkt { fill: var(--ks-bg); stroke: var(--ks-text); stroke-width: 2; }

/* ---------- v3: Bausteine und Illustrationen ---------- */
.bausteine { border-top: 1px solid var(--ks-line); }
.baustein { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 2rem clamp(2rem, 6vw, 6rem); align-items: center; padding-block: clamp(2.5rem, 6vw, 5rem); border-bottom: 1px solid var(--ks-line); }
.baustein h3 { font-size: var(--fs-h3); font-weight: 400; line-height: 1.3; letter-spacing: -0.01em; }
.baustein-text p { margin-top: 1rem; max-width: 30em; }
.baustein-text p:not(.note) { color: var(--ks-text-muted); }
.baustein-text .note { padding-left: 1rem; border-left: 2px solid var(--ks-line-strong); color: var(--ks-text); }

.fig { position: relative; padding: clamp(3rem, 4vw, 3.5rem) clamp(1rem, 3vw, 2rem) clamp(1.5rem, 3vw, 2rem); border-radius: var(--ks-radius-card); background: var(--ks-surface); font-size: var(--fs-sm); line-height: 1.4; min-width: 0; border: 1px solid var(--ks-line); }
.fig-tag { position: absolute; top: 0.9rem; right: 1.1rem; color: var(--ks-text-muted); font-size: 0.875rem; }
.mock-title { font-weight: 600; color: var(--ks-text); margin-bottom: 1rem; }
.mock-rows li { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: 1rem 0; border-top: 1px solid var(--ks-line); }
.mock-rows li:last-child { border-bottom: 1px solid var(--ks-line); }
.mock-rows u { color: var(--ks-accent); text-underline-offset: 0.2em; }
.mock-rows small, .bubble small, .befund small { display: block; margin-top: 0.25rem; color: var(--ks-text-muted); font-size: 0.875rem; }
.mock-rows span:last-child { white-space: nowrap; font-variant-numeric: tabular-nums; }
.mock-state { display: flex; align-items: center; gap: 0.5rem; margin-top: 1rem; font-weight: 500; }
.dot { flex: none; width: 0.6rem; height: 0.6rem; border-radius: 50%; }
.dot--wait { background: none; border: 1.5px solid var(--ks-text); }
.dot--ok { background: var(--ks-text); }

.chat { display: grid; gap: 0.5rem; }
.bubble { max-width: 85%; padding: 0.5rem 1rem; border-radius: 0.9rem 0.9rem 0.9rem 0.2rem; background: var(--ks-bg); justify-self: start; }
.bubble small { margin: 0 0 0.25rem; }
.bubble--in { justify-self: end; border-radius: 0.9rem 0.9rem 0.2rem 0.9rem; background: var(--ks-surface); border: 1px solid var(--ks-line-strong); }
.bubble--draft { background: none; border: 1px dashed var(--ks-line-strong); }
.bubble--draft small { color: var(--ks-text); }

.preislinie { position: relative; height: 5.5rem; border-bottom: 1px solid var(--ks-line-strong); border-left: 1px solid var(--ks-line-strong); }
.preislinie svg { width: 100%; height: 100%; overflow: visible; }
.preislinie .pl { fill: none; stroke: var(--ks-accent); stroke-width: 2; vector-effect: non-scaling-stroke; }
.pl-mark { position: absolute; width: 0.8rem; height: 0.8rem; margin: -0.4rem 0 0 -0.4rem; border-radius: 50%; background: var(--ks-surface); border: 2px solid var(--ks-text); }
.bestand { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 1rem; margin-top: 1rem; }
.bar { height: 0.45rem; border-radius: 1rem; background: var(--ks-bg); overflow: hidden; }
.bar i { display: block; height: 100%; background: var(--ks-text); border-radius: 1rem; }

.board { display: grid; grid-template-columns: 4.2rem repeat(5, minmax(0, 1fr)); gap: 0.5rem; align-items: center; }
.board span { color: var(--ks-text-muted); font-size: 0.875rem; }
.board span:nth-child(-n+6) { padding-bottom: 0.25rem; }
.blk { padding: 0.5rem 0.5rem; border-radius: 0.35rem; background: var(--ks-bg); border: 1px solid var(--ks-line-strong); border-left: 3px solid var(--ks-accent); font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.blk--2 { border-left-color: var(--ks-text); }
.blk--3 { border-left-color: var(--ks-text-muted); }

.fig--phone { display: grid; justify-items: center; }
.phone { width: min(15rem, 100%); padding: 1.5rem 1rem 1rem; border: 2px solid var(--ks-line-strong); border-radius: 1.6rem; background: var(--ks-bg); }
.fotos { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.5rem; }
.foto { aspect-ratio: 4 / 3; border-radius: 0.25rem; border: 1px solid var(--ks-line-strong); border-bottom-width: 0.75rem; background: var(--ks-surface); }
.foto--2, .foto--4 { background: var(--ks-line); }

.gutachten { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 1.5rem; align-items: start; }
.blatt { display: grid; gap: 0.5rem; padding: 1rem 1rem 1.5rem; border-radius: 0.3rem; background: var(--ks-bg); }
.blatt .mock-title { margin-bottom: 0.5rem; font-size: 0.875rem; color: var(--ks-text-muted); font-weight: 500; }
.blatt .l { display: block; height: 0.42rem; border-radius: 1rem; background: var(--ks-line-strong); }
.blatt .l.hl { background: var(--ks-accent); transform-origin: left; }
.blatt--mail { padding: 1rem; }
.befund { display: grid; gap: 0.5rem; }
.befund li { padding: 0.5rem 1rem; border-left: 2px solid var(--ks-line-strong); background: var(--ks-bg); border-radius: 0 0.3rem 0.3rem 0; }
.befund b { font-weight: 600; }
.tags--klein { margin-top: 1rem; gap: 0.5rem; }
.tags--klein li { padding: 0.25rem 0.5rem; font-size: 0.875rem; }
.suche { padding: 0.5rem 1rem; border: 1px solid var(--ks-line-strong); border-radius: 10rem; color: var(--ks-text); }
.antwort { margin-top: 1rem; }
.antwort .tags--klein { margin-top: 0.5rem; }
.antwort .tags--klein li { border-color: var(--ks-line-strong); color: var(--ks-text); }
.quellen li { border-color: var(--ks-line); color: var(--ks-text-muted); }

/* ---------- v3: Vorher/Nachher ---------- */
.cols--bild { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: center; }
.cols--bild h2 { font-size: var(--fs-h2); font-weight: 300; line-height: 1.2; letter-spacing: -0.02em; }
.ba { min-width: 0; }
.ba-stage { position: relative; aspect-ratio: 16 / 10; border-radius: var(--ks-radius-card); overflow: hidden; background: var(--ks-surface); border: 1px solid var(--ks-line); }
.ba-stage:has(.ba-range:focus-visible) { outline: 2px solid var(--ks-accent); outline-offset: 2px; }
.ba-layer { position: absolute; inset: 0; }
.ba-layer svg { width: 100%; height: 100%; }
.ba-old { clip-path: inset(0 calc(100% - var(--p)) 0 0); }
.ba-chip { position: absolute; top: 0.8rem; padding: 0.25rem 0.5rem; border-radius: 10rem; background: var(--ks-surface); border: 1px solid var(--ks-line-strong); color: var(--ks-text); font-size: 0.875rem; font-weight: 500; pointer-events: none; }
.ba-chip--old { left: 0.8rem; }
.ba-chip--new { right: 0.8rem; }
.ba-handle { position: absolute; top: 0; bottom: 0; left: var(--p); width: 1.5px; margin-left: -0.75px; background: var(--ks-text); pointer-events: none; }
.ba-handle i { position: absolute; left: 50%; top: 50%; width: 2.75rem; height: 2.75rem; margin: -1.375rem 0 0 -1.375rem; border-radius: 50%; background: var(--ks-surface); border: 1.5px solid var(--ks-text); }
.ba-handle i::before, .ba-handle i::after { content: ""; position: absolute; top: 50%; width: 0.5rem; height: 0.5rem; margin-top: -0.25rem; border-left: 1.5px solid var(--ks-text); border-bottom: 1.5px solid var(--ks-text); }
.ba-handle i::before { left: 0.65rem; transform: rotate(45deg); }
.ba-handle i::after { right: 0.65rem; transform: rotate(-135deg); }
.ba-range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; touch-action: pan-y; }
html:not(.js) .ba-range { display: none; }
.ba figcaption { margin-top: 1rem; font-size: var(--fs-sm); color: var(--ks-text-muted); }

/* ---------- v3: Kleinteile ---------- */
.trio--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.trio--2 p { color: var(--ks-text); font-weight: 500; }
.mehr { margin-top: var(--space-block); }
.preis-gross .platzhalter { display: inline-block; margin-top: 0.5rem; }
.platzhalter--gross { font-size: var(--fs-h3); padding: 0.5rem 1rem; font-weight: 400; line-height: 1.3; letter-spacing: -0.01em; }
.foot-claim { margin: 1rem 0 clamp(2.5rem, 5vw, 3.5rem); color: var(--ks-text-muted); max-width: 28em; }
.foot-grid { grid-template-columns: 2fr 3fr 3fr 2fr; }
.nav a[aria-current="true"] { color: var(--ks-text); }

@media (max-width: 58rem) {
  .panel, .baustein, .cols--bild { grid-template-columns: minmax(0, 1fr); }
  .panel-bild { max-width: 26rem; }
  .tab span { display: none; }
  .tab { padding: 1rem 0 1rem; }
}
@media (max-width: 40rem) {
  .trio--2, .gutachten { grid-template-columns: minmax(0, 1fr); }
  .flow { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.5rem 1rem; counter-reset: fluss; }
  .flow li { counter-increment: fluss; align-items: baseline; }
  .flow li + li::before, .flow li::before { content: counter(fluss); width: auto; height: auto; margin: 0 0.5rem 0 0; background: none; color: var(--ks-text); font-weight: 600; }
  .board { grid-template-columns: 3.4rem repeat(5, minmax(0, 1fr)); gap: 0.25rem; }
  .blk { padding: 0.5rem 0.25rem; font-size: 0.875rem; }
}

/* =====================================================================
   v4: Angebotslogik, Entscheidungshilfe, Rechner, Bibliothek, Fotos
   ===================================================================== */

/* ---------- Kostenfrei: ruhige Zusage unter den Schaltflächen ---------- */
.cta-block { margin-top: 2.5rem; }
.cta-block .btn-row { margin-top: 0; }
.frei { position: relative; margin-top: 1rem; padding-left: 1.5rem; color: var(--ks-text); font-size: var(--fs-sm); font-weight: 500; max-width: 34em; }
.frei::before { content: ""; position: absolute; left: 0.1rem; top: 0.42em; width: 0.8rem; height: 0.42rem; border-left: 2px solid var(--ks-line-strong); border-bottom: 2px solid var(--ks-line-strong); transform: rotate(-45deg); }
.textlink { margin-top: 1.5rem; }
.mehr { margin-top: var(--space-block); }
.baustein .mehr, .direkt .mehr, .cols .mehr { margin-top: 1.5rem; }
.zusatz { margin-top: var(--space-block); }
.kennzeichnung { display: inline-block; margin-bottom: 1.5rem; padding: 0.25rem 1rem; border: 1px solid var(--ks-line-strong); border-radius: 10rem; font-size: var(--fs-sm); color: var(--ks-text); }
.kennzeichnung--gross { display: block; margin: 2.5rem 0 0; padding: 1rem 1.5rem; border-radius: var(--ks-radius-card); border-left: 3px solid var(--ks-line-strong); max-width: var(--read); font-size: var(--fs-base); }
.feldname { margin-bottom: 1rem; color: var(--ks-text); font-size: var(--fs-sm); font-weight: 600; }

/* ---------- Startseite: Hero ---------- */
.hero h1 { max-width: 15em; }
.hero h1 .line--2 { color: var(--ks-text-muted); font-size: var(--fs-h2); margin-top: 1rem; font-weight: 300; line-height: 1.2; letter-spacing: -0.02em; }
.arten { display: flex; flex-wrap: wrap; gap: 0.5rem 2.5rem; margin-top: 2rem; font-weight: 500; }
.arten li { position: relative; padding-left: 1.5rem; }
.arten li::before { content: ""; position: absolute; left: 0; top: 0.55em; width: 0.5rem; height: 0.5rem; border-radius: 50%; border: 2px solid var(--ks-line-strong); }
.arten li:first-child::before { background: none; }
.arten li:not(:first-child)::before { background: var(--ks-text); }

/* ---------- Bereichsseiten: Hero mit Bild ---------- */
.hero-2 { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 3rem clamp(2rem, 5vw, 5rem); align-items: center; }
.page-head--bild h1 { hyphens: manual; }
.hero-zeichnung svg { width: 100%; height: auto; }
.marker { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 2rem; }
.marker li { padding: 0.25rem 1rem; border: 1px solid var(--ks-line-strong); border-radius: 10rem; font-size: var(--fs-sm); }

/* ---------- Bereichswahl ---------- */
.bereiche-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 clamp(1.5rem, 4vw, 3.5rem); }
.bereich { position: relative; display: flex; flex-direction: column; align-items: flex-start; padding: 2rem 0 0.5rem; border-top: 1px solid var(--ks-line-strong); }
.bereich::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 2px; background: var(--ks-text); transform: scaleX(0); transform-origin: left; transition: transform 0.6s var(--ease-out); }
.bereich:hover::before, .bereich:focus-within::before { transform: scaleX(1); }
.bereich-bild { width: 100%; max-width: 19rem; margin-bottom: 1.5rem; }
.bereich-bild svg { width: 100%; height: auto; }
.bereich h3 { font-size: var(--fs-h3); font-weight: 400; line-height: 1.3; letter-spacing: -0.01em; }
.bereich-zg { margin-top: 1rem; color: var(--ks-text); font-weight: 500; }
.bereich p:not(.bereich-zg) { margin-top: 0.5rem; color: var(--ks-text-muted); }
.bereich .link { margin-top: 1.5rem; }
.bereich .link::after { content: ""; position: absolute; inset: 0; }

/* ---------- Entscheidungshilfe ---------- */
.weg { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); counter-reset: weg; margin-bottom: var(--space-block); border-top: 1px solid var(--ks-line-strong); }
.weg li { position: relative; counter-increment: weg; padding: 1rem 1rem 0 0; color: var(--ks-text-muted); font-size: var(--fs-sm); font-weight: 500; transition: color 0.4s; }
.weg li::before { content: counter(weg); display: block; margin-bottom: 0.25rem; color: var(--ks-text-muted); font-weight: 600; }
.weg li::after { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 2px; background: var(--ks-text); transform: scaleX(0); transform-origin: left; transition: transform 0.5s var(--ease-out); }
.weg li.an { color: var(--ks-text); }
.weg li.an::before { color: var(--ks-text); }
.weg li.an::after { transform: scaleX(1); }
.weg li:nth-child(2).an::after { transition-delay: 0.15s; } .weg li:nth-child(3).an::after { transition-delay: 0.3s; } .weg li:nth-child(4).an::after { transition-delay: 0.45s; }
.entscheid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 2.5rem clamp(2rem, 5vw, 5rem); align-items: start; }
.wahlen { margin: 0; padding: 0; border: 0; min-width: 0; display: grid; gap: 2.5rem; }
.wahl-gruppe h3 { font-size: var(--fs-sm); font-weight: 600; letter-spacing: 0; color: var(--ks-text); margin-bottom: 0.5rem; }
.wahl-gruppe li { border-bottom: 1px solid var(--ks-line); }
.wahl-gruppe li:first-child { border-top: 1px solid var(--ks-line); }
.wahl { position: relative; display: block; padding: 1rem 1rem 1rem 2.5rem; color: var(--ks-text); text-decoration: none; font-weight: 400; cursor: pointer; transition: background-color 0.2s, color 0.2s; margin: 0; }
.wahl:hover { background: var(--ks-surface); }
.wahl input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.wahl::before { content: ""; position: absolute; left: 0.6rem; top: 1.15rem; width: 1rem; height: 1rem; border-radius: 50%; border: 1px solid var(--ks-line-strong); transition: border-color 0.2s, border-width 0.2s; }
.wahl.gewaehlt { background: var(--ks-surface); }
.wahl.gewaehlt::before { border: 5px solid var(--ks-text); }
.wahl:has(input:focus-visible), a.wahl:focus-visible { outline: 2px solid var(--ks-accent); outline-offset: 2px; }
.ergebnis { position: sticky; top: calc(var(--head-h) + 1.5rem); padding: clamp(1.5rem, 3vw, 2.5rem); border-radius: var(--ks-radius-card); background: var(--ks-surface); border: 1px solid var(--ks-line); }
.section--band .ergebnis { background: var(--ks-surface); }
.ergebnis h3 { font-size: var(--fs-h3); font-weight: 400; line-height: 1.3; letter-spacing: -0.01em; }
.ergebnis p { margin-top: 1rem; }
.ergebnis .folge { padding-top: 1rem; border-top: 1px solid var(--ks-line); color: var(--ks-text-muted); }
.ergebnis-leer { color: var(--ks-text-muted); margin: 0 !important; }
.ergebnis .btn-row { margin-top: 2rem; }
.ergebnis .btn { flex: 1 1 100%; }
html:not(.js) .ergebnis { display: none; }
html:not(.js) .entscheid { grid-template-columns: minmax(0, 1fr); }
html:not(.js) .wahl::before { border-radius: 0; border: 0; top: 1.45rem; height: 1px; background: var(--ks-text-muted); }

/* ---------- Stufendiagramm: überall gleich ---------- */
.stufen { position: relative; display: grid; grid-template-columns: 5fr 7fr 4fr; gap: 0; margin-bottom: var(--space-block); padding-top: 2.5rem; }
.stufen::before { content: ""; position: absolute; left: 0; right: 0; top: 0.5rem; height: 1px; background: var(--ks-line-strong); }
.stufen::after { content: ""; position: absolute; left: 0; right: 0; top: 0.5rem; height: 1px; background: var(--ks-text); transform-origin: left; }
.stufe { position: relative; padding-right: clamp(1rem, 3vw, 2.5rem); display: flex; flex-direction: column; gap: 0.25rem; }
.stufe::before { content: ""; position: absolute; left: 0; top: -2.25rem; width: 1.05rem; height: 1.05rem; border-radius: 50%; background: var(--ks-bg); border: 2px solid var(--ks-line-strong); z-index: 1; }
.section--band .stufe::before { background: var(--ks-bg); }
.stufe--1::before { background: var(--ks-text); }
.section--band .stufe--1::before { background: var(--ks-text); }
.stufe--2::before { border-style: dashed; }
.stufe-nr { font-size: var(--fs-sm); color: var(--ks-text-muted); }
.stufe b { font-size: var(--fs-h3); font-weight: 400; line-height: 1.3; letter-spacing: -0.01em; }
.stufe-preis { color: var(--ks-text); font-variant-numeric: tabular-nums; }
.stufe--0 .stufe-preis { color: var(--ks-text); font-weight: 600; }
.stufe-zusatz { color: var(--ks-text-muted); font-size: var(--fs-sm); }
.stufen-titel { margin: var(--space-block) 0 1.25rem; font-size: var(--fs-sm); font-weight: 600; letter-spacing: 0; color: var(--ks-text-muted); }
.stufen + .stufen-titel { margin-top: 0; }
.karten { display: grid; gap: clamp(1rem, 2vw, 1.5rem); }
.karten--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.karte { display: flex; flex-direction: column; align-items: flex-start; padding: clamp(1.5rem, 3vw, 2.5rem); border-radius: var(--ks-radius-card); background: var(--ks-surface); min-width: 0; border: 1px solid var(--ks-line); }
.section--band .karte { background: var(--ks-surface); }
.karte--dieses { border-color: var(--ks-text); }
.karte h3 { font-size: var(--fs-h3); font-weight: 400; line-height: 1.3; letter-spacing: -0.01em; }
.karte-preis { margin-top: 0.5rem; font-weight: 600; font-variant-numeric: tabular-nums; color: var(--ks-text); }
.karte-preis:empty { display: none; }
.karte--frei .karte-preis { color: var(--ks-text); }
.karte > p:not(.karte-preis) { margin-top: 1rem; color: var(--ks-text-muted); }
.karte-dl { width: 100%; margin-top: 1.5rem; }
.karte-dl > div { padding: 1rem 0; border-top: 1px solid var(--ks-line); }
.karte-dl dt { font-size: var(--fs-sm); color: var(--ks-text-muted); margin-bottom: 0.25rem; }
.karte-dl dd { font-size: var(--fs-sm); line-height: 1.55; }
.karte .btn { margin-top: auto; }
.karte > :nth-last-child(2) { margin-bottom: 2rem; }
.betrieb { width: 100%; margin-top: 1.5rem; padding: 1rem 1rem; border: 1px dashed var(--ks-line-strong); border-radius: var(--ks-radius-control); font-size: var(--fs-sm); }
.betrieb span { display: block; color: var(--ks-text-muted); margin-bottom: 0.25rem; }
.kette { display: flex; flex-wrap: wrap; gap: 0.5rem 0; margin-top: var(--space-block); font-weight: 500; }
.kette li { display: flex; align-items: center; }
.kette li + li::before { content: ""; width: clamp(0.9rem, 2vw, 1.75rem); height: 1px; margin-inline: 0.5rem; background: var(--ks-line-strong); }
.kette + .note { margin-top: 1rem; }

/* ---------- Punkte, Schritte, Listen ---------- */
.punkte { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(2rem, 6vw, 6rem); }
.punkte li { padding: 1.5rem 0; border-top: 1px solid var(--ks-line); }
.punkte li:nth-child(-n+2) { border-top-color: var(--ks-line-strong); }
.punkte p { margin-top: 0.5rem; color: var(--ks-text-muted); max-width: 32em; }
.punkte .pain-ziel { margin-top: 1rem; font-size: var(--fs-sm); color: var(--ks-text-muted); }
.pain-ziel .link { padding-bottom: 0.1em; }
.schritte { counter-reset: s; max-width: var(--read); border-left: 1px solid var(--ks-line-strong); margin-left: 1rem; }
.schritte li { position: relative; counter-increment: s; padding: 0 0 2rem 2.5rem; }
.schritte li:last-child { padding-bottom: 0; }
.schritte li::before { content: counter(s); position: absolute; left: -1rem; top: -0.2rem; width: 2rem; height: 2rem; display: grid; place-items: center; border-radius: 50%; background: var(--ks-bg); border: 1px solid var(--ks-line-strong); color: var(--ks-text); font-size: var(--fs-sm); font-weight: 600; }
.section--band .schritte li::before { background: var(--ks-bg); }
.schritte p { margin-top: 0.5rem; color: var(--ks-text-muted); }
.entscheiden { margin-top: 2rem; font-weight: 500; }
.faelle-kurz { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 clamp(1.5rem, 3vw, 3rem); }
.faelle-kurz a { display: block; height: 100%; padding: 1.5rem 0; border-top: 1px solid var(--ks-line-strong); color: var(--ks-text); text-decoration: none; transition: color 0.2s; }
.faelle-kurz a:hover { color: var(--ks-accent); }
.faelle-kurz b { display: block; margin-top: 0.5rem; font-size: var(--fs-h3); font-weight: 400; line-height: 1.3; letter-spacing: -0.01em; }
.bsp { font-size: 0.875rem; color: var(--ks-text-muted); }
.fuer-wen h2 { font-size: var(--fs-h2); font-weight: 300; line-height: 1.2; letter-spacing: -0.02em; }
.fuer-wen.cols--wide-left { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); }
.fw-body > p:first-child { font-size: var(--fs-base); line-height: 1.5; }
.fw-body h3, .fw-rest h3 { margin-top: 2rem; font-size: var(--fs-sm); letter-spacing: 0; color: var(--ks-text-muted); font-weight: 500; }
.fw-body .liste, .fw-rest .liste { margin-top: 0.5rem; }
.fw-body p, .fw-rest p { margin-top: 1.5rem; max-width: 36em; }
.fw-rest { margin-top: var(--space-block); max-width: var(--read); }
.messgroesse { margin-top: 1.5rem; font-size: var(--fs-sm); color: var(--ks-text); }
.messgroesse span { display: block; color: var(--ks-text-muted); }
.fig--zeichnung { padding: 1.5rem; }
.fig--zeichnung svg { width: 100%; height: auto; }
.fakten--1 { grid-template-columns: minmax(0, 1fr); }
.quer { display: flex; flex-wrap: wrap; gap: 0.5rem 2rem; margin-top: 2.5rem; }
.zurueck { padding-block: 0 var(--space-block); }
.bereichslinks { display: flex; flex-wrap: wrap; gap: 0.5rem 2rem; }

/* ---------- Preistabelle ---------- */
.preise { width: 100%; border-collapse: collapse; text-align: left; }
.preise th, .preise td { padding: 1rem 1.5rem 1rem 0; border-top: 1px solid var(--ks-line); vertical-align: top; }
.preise thead th { border-top: 0; padding-top: 0; font-size: var(--fs-sm); font-weight: 500; color: var(--ks-text-muted); }
.preise tbody th { font-weight: 600; width: 32%; }
.preise td:nth-child(2) { width: 30%; font-weight: 500; font-variant-numeric: tabular-nums; }
.preise td:nth-child(3) { color: var(--ks-text-muted); }
.preise tbody tr:last-child > * { border-bottom: 1px solid var(--ks-line); }
.pz--frei td:nth-child(2) { color: var(--ks-text); }
.pz--zusatz th { font-weight: 400; color: var(--ks-text-muted); }
.preise + .note { margin-top: 2rem; }

/* ---------- Rechner ---------- */
.rechner { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 2.5rem clamp(2rem, 5vw, 5rem); align-items: start; }
.rechner form { display: grid; gap: 1.5rem; min-width: 0; }
.r-start { font-size: var(--fs-sm); color: var(--ks-text-muted); }
.r-gruppe { margin: 0; padding: 1.5rem 0 0; border: 0; border-top: 1px solid var(--ks-line-strong); min-width: 0; }
.r-gruppe > legend, .r-gruppe > summary { padding: 0; font-size: var(--fs-h3); font-weight: 400; line-height: 1.3; letter-spacing: -0.01em; }
.r-gruppe > legend { float: left; width: 100%; margin-bottom: 1rem; }
.r-gruppe > legend + * { clear: both; }
details.r-gruppe > summary { cursor: pointer; list-style: none; position: relative; padding-right: 2.5rem; color: var(--ks-text-muted); }
details.r-gruppe > summary::-webkit-details-marker { display: none; }
details.r-gruppe > summary::before, details.r-gruppe > summary::after { content: ""; position: absolute; right: 0.3rem; top: 50%; width: 1rem; height: 2px; margin-top: -1px; background: currentColor; transition: transform 0.3s var(--ease-out); }
details.r-gruppe > summary::after { transform: rotate(90deg); }
details.r-gruppe[open] > summary::after { transform: none; }
details.r-gruppe[open] > summary { color: var(--ks-text); margin-bottom: 1rem; }
.r-felder { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem 1.5rem; }
.r-feld { min-width: 0; }
.r-feld[hidden] { display: none; }
.r-feld label, .r-feld .r-label { display: block; font-size: var(--fs-sm); font-weight: 500; margin-bottom: 0.5rem; line-height: 1.35; }
.r-badge { display: inline-block; margin-left: 0.5rem; padding: 0.25rem 0.5rem; border: 1px solid var(--ks-line-strong); border-radius: 10rem; color: var(--ks-text); font-size: 0.875rem; font-weight: 500; white-space: nowrap; vertical-align: 0.05em; }
.r-ein { position: relative; display: flex; align-items: center; }
.r-ein input { padding-right: 5.5rem; min-height: 3rem; }
.r-ein span { position: absolute; right: 0.9rem; color: var(--ks-text-muted); font-size: 0.875rem; pointer-events: none; white-space: nowrap; }
.r-feld select { min-height: 3rem; }
.r-feld .hint { font-size: 0.875rem; line-height: 1.45; }
.r-feld--breit { grid-column: 1 / -1; }
.fehler { margin-top: 0.5rem; color: var(--ks-text); font-size: var(--fs-sm); font-weight: 500; }
.fehler:empty { display: none; }
.r-check { display: flex; gap: 0.5rem; align-items: flex-start; font-weight: 500; cursor: pointer; }
.r-check input, .radio input { width: 1.2rem; height: 1.2rem; margin: 0.25rem 0 0; accent-color: var(--ks-text); flex: none; }
.r-radios { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.r-radios label { display: flex; gap: 0.5rem; align-items: center; margin: 0; padding: 0.5rem 1rem; border: 1px solid var(--ks-line-strong); border-radius: var(--ks-radius-control); cursor: pointer; font-weight: 500; }
.r-radios label:has(input:checked) { border-color: var(--ks-line-strong); background: var(--ks-surface); }
.r-radios input { accent-color: var(--ks-text); margin: 0; }
.r-reset { justify-self: start; min-height: 2.75rem; padding: 0.5rem 1rem; }
.r-aus { position: sticky; top: calc(var(--head-h) + 1.5rem); padding: clamp(1.5rem, 3vw, 2.5rem); border-radius: var(--ks-radius-card); background: var(--ks-surface); min-width: 0; border: 1px solid var(--ks-line); }
.section--band .r-aus { background: var(--ks-surface); }
.r-aus h3 { font-size: var(--fs-sm); font-weight: 500; letter-spacing: 0; color: var(--ks-text-muted); }
.r-haupt { margin-top: 1.5rem; }
.r-haupt span { display: block; color: var(--ks-text-muted); font-size: var(--fs-sm); }
.r-haupt b { display: block; margin-top: 0.25rem; font-size: var(--fs-h1); font-variant-numeric: tabular-nums; white-space: nowrap; font-weight: 300; line-height: 1.1; letter-spacing: -0.03em; }
.r-haupt--2 b { font-size: var(--fs-h2); white-space: normal; font-weight: 300; line-height: 1.2; letter-spacing: -0.02em; }
.r-satz { margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid var(--ks-line-strong); }
.r-zeilen { margin-top: 1.5rem; font-size: var(--fs-sm); }
.r-zeilen > div { display: flex; justify-content: space-between; gap: 1.5rem; padding: 0.5rem 0; border-top: 1px solid var(--ks-line); }
.r-zeilen dt { color: var(--ks-text-muted); }
.r-zeilen dd { font-weight: 500; font-variant-numeric: tabular-nums; white-space: nowrap; text-align: right; }
.r-tab { margin-top: 1.5rem; }
.r-tab summary { cursor: pointer; font-size: var(--fs-sm); font-weight: 600; color: var(--ks-accent); }
.r-tabwrap { overflow-x: auto; margin-top: 1rem; }
.r-tab table { width: 100%; border-collapse: collapse; font-size: 0.875rem; font-variant-numeric: tabular-nums; }
.r-tab th, .r-tab td { padding: 0.5rem 0 0.5rem 1rem; border-top: 1px solid var(--ks-line); text-align: right; white-space: nowrap; }
.r-tab th:first-child, .r-tab td:first-child { padding-left: 0; text-align: left; white-space: normal; min-width: 8rem; }
.r-tab thead th { border-top: 0; color: var(--ks-text-muted); font-weight: 500; }
.r-tab tfoot th, .r-tab tfoot td { font-weight: 600; border-top-color: var(--ks-line-strong); }
.r-hinweise { margin-top: 1.5rem; display: grid; gap: 0.5rem; }
.r-hinweise li { position: relative; padding: 0.5rem 1rem 0.5rem 2.5rem; border: 1px solid var(--ks-line-strong); border-radius: var(--ks-radius-control); font-size: var(--fs-sm); }
.r-hinweise li::before { content: "!"; position: absolute; left: 0.8rem; top: 0.72rem; width: 1.15rem; height: 1.15rem; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--ks-text); font-size: 0.875rem; font-weight: 600; }
.r-keine { margin-top: 1.5rem; color: var(--ks-text); }
.r-hin { margin-top: 1.5rem; font-size: var(--fs-sm); font-weight: 600; }
.r-aus .btn { width: 100%; margin-top: 1.5rem; }
.r-aus .frei { margin-top: 1rem; }
.r-fuss { grid-column: 1 / -1; display: grid; gap: 0.5rem; padding-top: 1.5rem; border-top: 1px solid var(--ks-line); font-size: 0.875rem; color: var(--ks-text-muted); max-width: var(--read); }
.rechner-sec--kurs .rechner { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); }

/* ---------- Bibliothek ---------- */
.filter { margin-bottom: var(--space-block); }
.filter h2 { font-size: var(--fs-h3); margin-bottom: 1.5rem; font-weight: 400; line-height: 1.3; letter-spacing: -0.01em; }
.filter fieldset { margin: 0 0 1.5rem; padding: 0; border: 0; min-width: 0; }
.filter legend { padding: 0; margin-bottom: 0.5rem; font-size: var(--fs-sm); color: var(--ks-text-muted); }
.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chip { position: relative; margin: 0; cursor: pointer; }
.chip input { position: absolute; opacity: 0; width: 100%; height: 100%; inset: 0; margin: 0; cursor: pointer; }
.chip span { display: block; padding: 0.5rem 1rem; border: 1px solid var(--ks-line-strong); border-radius: 10rem; font-size: var(--fs-sm); font-weight: 500; transition: background-color 0.2s, border-color 0.2s, color 0.2s; }
.chip:hover span { border-color: var(--ks-text); }
.chip input:checked + span { background: var(--ks-text); border-color: var(--ks-text); color: var(--ks-bg); }
.chip input:focus-visible + span { outline: 2px solid var(--ks-accent); outline-offset: 2px; }
.filter-zahl { margin-top: 2rem; font-weight: 600; font-variant-numeric: tabular-nums; }
html:not(.js) .filter { display: none; }
.faelle { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(2rem, 6vw, 6rem); }
.fall { padding: 2rem 0 2.5rem; border-top: 1px solid var(--ks-line-strong); min-width: 0; scroll-margin-top: calc(var(--head-h) + 1rem); }
.fall[hidden] { display: none; }
.fall:target h3 { color: var(--ks-text); }
.fall-meta { display: flex; flex-wrap: wrap; gap: 0.25rem 1rem; font-size: 0.875rem; color: var(--ks-text-muted); }
.fall-meta .bsp { color: var(--ks-text); padding: 0 0.5rem; border: 1px solid var(--ks-line-strong); border-radius: 10rem; }
.fall h3 { margin-top: 1rem; font-size: var(--fs-h3); font-weight: 400; line-height: 1.3; letter-spacing: -0.01em; }
.fall > p:not(.fall-meta):not(.fall-feld) { margin-top: 1rem; color: var(--ks-text-muted); }
.fall details { margin-top: 1rem; }
.fall summary { cursor: pointer; font-size: var(--fs-sm); font-weight: 600; color: var(--ks-accent); }
.fall h4 { margin: 1rem 0 0.25rem; font-size: var(--fs-sm); font-weight: 600; }
.fall .faq-a p { font-size: var(--fs-sm); color: var(--ks-text-muted); }
.fall-feld { margin-top: 1.5rem; font-size: var(--fs-sm); }
.faelle-leer { padding: 2rem 0; border-top: 1px solid var(--ks-line-strong); max-width: 40rem; }

/* ---------- Fotos ---------- */
.bild { display: block; border-radius: var(--ks-radius-card); overflow: hidden; background: var(--ks-surface); }
.bild img { display: block; width: 100%; height: auto; }
.hero-foto .bild img { aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 30%; }
.hero-foto figcaption { margin-top: 1rem; font-size: var(--fs-sm); color: var(--ks-text-muted); }
.gruender-teaser { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 2.5rem clamp(2rem, 6vw, 6rem); align-items: center; }
.gruender-2 { display: grid; gap: 2rem; }
.gruender-2 > div { padding-top: 1.5rem; border-top: 1px solid var(--ks-line-strong); }
.gruender-2 p:not(.rolle) { margin-top: 0.5rem; color: var(--ks-text-muted); }
.ehrlich { margin-top: 2rem; padding-left: 1rem; border-left: 2px solid var(--ks-line-strong); max-width: 34em; }
.ehrlich--breit { margin-top: var(--space-block); max-width: var(--read); font-size: var(--fs-base); line-height: 1.5; }
.gruender-teaser .mehr { margin-top: 2rem; }
.avatar--klein { height: 7rem; }
.avatar--klein > span { font-size: var(--fs-h2); font-weight: 300; line-height: 1.2; letter-spacing: -0.02em; }
.direkt .bild { margin-bottom: 2rem; }
.direkt .bild img { aspect-ratio: 3 / 2; object-fit: cover; }

/* ---------- Kontaktformular ---------- */
.form h2 { font-size: var(--fs-h2); font-weight: 300; line-height: 1.2; letter-spacing: -0.02em; }
.radios { margin: 0; padding: 0; border: 0; min-width: 0; display: grid; gap: 0.5rem; }
.radios legend { padding: 0; margin-bottom: 0.5rem; font-weight: 500; }
.radio { display: flex; gap: 1rem; margin: 0; padding: 1rem 1rem; border: 1px solid var(--ks-line-strong); border-radius: var(--ks-radius-control); cursor: pointer; transition: border-color 0.2s, background-color 0.2s; }
.radio:hover { border-color: var(--ks-text); }
.radio:has(input:checked) { border-color: var(--ks-line-strong); background: var(--ks-surface); }
.radio b { display: block; font-weight: 600; }
.radio small { display: block; margin-top: 0.25rem; font-size: var(--fs-sm); font-weight: 400; color: var(--ks-text-muted); }
.opt { color: var(--ks-text-muted); font-weight: 400; }
.status { margin-top: 1rem; font-weight: 500; }
.status:empty { display: none; }
.form .frei { margin-top: 1.5rem; }

/* ---------- Fuß ---------- */
.foot-stand { margin-top: clamp(2.5rem, 5vw, 3.5rem); max-width: var(--read); color: var(--ks-text-muted); }
.foot-stand strong { font-weight: 500; color: var(--ks-text); }
.foot-stand + .legal { margin-top: 2rem; }

@media (max-width: 58rem) {
  .hero-2, .entscheid, .rechner, .rechner-sec--kurs .rechner, .gruender-teaser, .fuer-wen.cols--wide-left { grid-template-columns: minmax(0, 1fr); }
  .bereiche-3 { grid-template-columns: minmax(0, 1fr); gap: 2.5rem; }
  .bereich-bild { max-width: 15rem; }
  .ergebnis, .r-aus { position: static; }
  .stufen { grid-template-columns: minmax(0, 1fr); gap: 2rem; padding: 0 0 0 2.5rem; }
  .stufen::before, .stufen::after { left: 0.5rem; right: auto; top: 0.4rem; bottom: 0.4rem; width: 1px; height: auto; transform-origin: top; }
  .stufe::before { left: -2.25rem; top: 0.15rem; }
  .faelle-kurz, .faelle { grid-template-columns: minmax(0, 1fr); }
  .hero-zeichnung { max-width: 24rem; }
}
@media (max-width: 40rem) {
  .karten--2, .punkte, .r-felder { grid-template-columns: minmax(0, 1fr); }
  .punkte li:nth-child(2) { border-top-color: var(--ks-line); }
  .weg { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 0.5rem; }
  .preise thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .preise tr { display: block; padding: 1rem 0; border-top: 1px solid var(--ks-line); }
  .preise th, .preise td { display: block; width: auto !important; padding: 0; border: 0 !important; }
  .preise td { margin-top: 0.25rem; }
  .arten { flex-direction: column; }
  .cta-block .btn { flex: 1 1 100%; }
}

/* ---------- Schmale Bildschirme ---------- */
@media (max-width: 58rem) {
  .produkt, .rechner, .cols, .cols--wide-left { grid-template-columns: minmax(0, 1fr); }
  .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trio { grid-template-columns: minmax(0, 1fr); }
  .ablauf { grid-template-columns: minmax(0, 1fr); padding-top: 0; padding-left: 3.5rem; gap: 2.5rem; }
  .ablauf::before, .ablauf::after { left: 1rem; right: auto; top: 0.4rem; bottom: 0.4rem; width: 1px; height: auto; transform-origin: top; }
  .ablauf li::before { left: -3.25rem; top: -0.15rem; }
}
@media (max-width: 40rem) {
  .personen, .preis-gross, .form .row { grid-template-columns: minmax(0, 1fr); }
  .zeilen > div { grid-template-columns: minmax(0, 1fr); }
  .fakten { gap: 1.5rem 1.5rem; }
  .btn-row .btn { flex: 1 1 100%; }
  .faq summary { padding-right: 3rem; }
  .faq-a p { padding-right: 0; }
}
@media (max-width: 26rem) {
  .foot-grid { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- Bewegung: nur mit JavaScript und ohne reduzierte Bewegung ---------- */
@media (prefers-reduced-motion: no-preference) {
  @keyframes rise { from { transform: translateY(108%); } to { transform: none; } }
  @keyframes fade { from { opacity: 0; } to { opacity: 1; } }
  @keyframes fade-up { from { opacity: 0; transform: translateY(0.9rem); } to { opacity: 1; transform: none; } }
  @keyframes wipe { from { clip-path: inset(-20% 100% -20% 0); } to { clip-path: inset(-20% -2% -20% 0); } }
  @keyframes pop { from { opacity: 0; transform: scale(0.2); } to { opacity: 1; transform: none; } }
  @keyframes grow-x { from { transform: scaleX(0); } to { transform: none; } }

  .js .hero h1 .line > span { animation: rise 0.95s var(--ease-out) both; }
  .js .hero h1 .line:nth-child(2) > span { animation-delay: 0.09s; }
  .js .hero h1 .line:nth-child(3) > span { animation-delay: 0.18s; }
  .js .hero .lead { animation: fade-up 0.8s 0.45s var(--ease-out) both; }
  .js .hero .btn-row { animation: fade-up 0.8s 0.58s var(--ease-out) both; }

  .js .page-head h1 { animation: fade-up 0.9s var(--ease-out) both; }
  .js .page-head .lead { animation: fade-up 0.8s 0.15s var(--ease-out) both; }
  .js .page-head .btn-row { animation: fade-up 0.8s 0.28s var(--ease-out) both; }

  /* v3: Bereichswahl zeichnet sich bei jeder Auswahl neu */
  .js .bereiche { animation: fade-up 0.9s 0.7s var(--ease-out) both; }
  .js .draw .d { stroke-dasharray: 1; stroke-dashoffset: 1; }
  .js .draw .f { opacity: 0; }
  .js .play .draw .d { stroke-dashoffset: 0; transition: stroke-dashoffset 0.9s var(--ease-in-out) calc(0.15s + var(--i, 0) * 0.11s); }
  .js .play .draw .d--lang { transition-duration: 1.6s; }
  .js .play .draw .f { opacity: 1; transition: opacity 0.6s calc(0.15s + var(--i, 0) * 0.11s); }
  .js .play .draw .f--wand { opacity: 0.2; }
  .js .flow li { opacity: 0.35; }
  .js .play .flow li { opacity: 1; transition: opacity 0.5s calc(0.3s + var(--i, 0) * 0.4s); }
  .js .panel-text > .lead, .js .panel-text > .link { opacity: 0; }
  .js .play .panel-text > .lead, .js .play .panel-text > .link { opacity: 1; transition: opacity 0.5s; }

  /* v3: Illustrationen bauen sich Schritt für Schritt auf, sobald sie im Bild sind */
  .js [data-fig] [data-a] { opacity: 0; transform: translateY(0.6rem); transition: opacity 0.5s, transform 0.6s var(--ease-out); transition-delay: calc(0.15s + var(--i, 0) * 0.22s); }
  .js [data-fig].in [data-a] { opacity: 1; transform: none; }
  .js [data-fig] .hl { transform: scaleX(0); transition: transform 0.6s var(--ease-out) calc(0.15s + var(--i, 0) * 0.22s); }
  .js [data-fig].in .hl { transform: none; }
  .js [data-fig] .preislinie svg { clip-path: inset(-10% 100% -10% 0); transition: clip-path 1.4s var(--ease-in-out) 0.2s; }
  .js [data-fig].in .preislinie svg { clip-path: inset(-10% -2% -10% 0); }

  /* v4 */
  .js .hero .arten { animation: fade-up 0.8s 0.5s var(--ease-out) both; }
  .js .hero .cta-block { animation: fade-up 0.8s 0.62s var(--ease-out) both; }
  .js .page-head .cta-block, .js .page-head .marker { animation: fade-up 0.8s 0.28s var(--ease-out) both; }
  .js .page-head--bild .ba, .js .hero-zeichnung, .js .hero-foto { animation: fade 1s 0.4s both; }
  .js [data-fig].draw .d { stroke-dasharray: 1; stroke-dashoffset: 1; }
  .js [data-fig].draw .f { opacity: 0; }
  .js [data-fig].draw.in .d { stroke-dashoffset: 0; transition: stroke-dashoffset 0.9s var(--ease-in-out) calc(0.15s + var(--i, 0) * 0.11s); }
  .js [data-fig].draw.in .d--lang { transition-duration: 1.6s; }
  .js [data-fig].draw.in .f { opacity: 1; transition: opacity 0.6s calc(0.15s + var(--i, 0) * 0.11s); }
  .js [data-fig].draw.in .f--wand { opacity: 0.2; }
  /* Stufendiagramm baut sich auf: Linie, dann Stufe für Stufe */
  .js .stufen::after { transform: scaleX(0); transition: transform 1.5s var(--ease-in-out); }
  .js .stufen.in::after { transform: none; }
  .js .stufen .stufe { opacity: 0; transform: translateY(0.6rem); transition: opacity 0.6s, transform 0.7s var(--ease-out); }
  .js .stufen.in .stufe { opacity: 1; transform: none; }
  .js .stufen.in .stufe--1 { transition-delay: 0.45s; } .js .stufen.in .stufe--2 { transition-delay: 0.9s; }
  .js .ergebnis.neu > * { animation: fade-up 0.5s var(--ease-out) both; }
  .js .ergebnis.neu > :nth-child(2) { animation-delay: 0.06s; } .js .ergebnis.neu > :nth-child(3) { animation-delay: 0.12s; } .js .ergebnis.neu > :nth-child(4) { animation-delay: 0.18s; } .js .ergebnis.neu > :nth-child(5) { animation-delay: 0.24s; }
  @media (max-width: 58rem) { .js .stufen::after { transform: scaleY(0); } }

  /* Scroll: Überschriften werden abgetastet (von links aufgedeckt), der Begleittext folgt. */
  .js [data-reveal] > h2 { clip-path: inset(-20% 100% -20% 0); transition: clip-path 1s var(--ease-out); }
  .js [data-reveal] > :not(h2) { opacity: 0; transition: opacity 0.8s 0.25s; }
  .js [data-reveal].in > h2 { clip-path: inset(-20% -2% -20% 0); }
  .js [data-reveal].in > :not(h2) { opacity: 1; }

  .js .ablauf::after { transform: scaleX(0); transition: transform 1.6s var(--ease-in-out); }
  .js .ablauf.in::after { transform: none; }
  .js .ablauf li { opacity: 0.25; transition: opacity 0.6s; }
  .js .ablauf.in li { opacity: 1; }
  .js .ablauf.in li:nth-child(2) { transition-delay: 0.35s; }
  .js .ablauf.in li:nth-child(3) { transition-delay: 0.7s; }
  .js .ablauf.in li:nth-child(4) { transition-delay: 1.05s; }
  @media (max-width: 58rem) {
    .js .ablauf::after { transform: scaleY(0); }
  }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation: none !important; }
}

/* v4: Abstände nach Blöcken */
.karten + .note, .ablauf + .note, .liste + .note, .punkte + .note, .schritte + .note { margin-top: 2rem; }
.ehrlich-sec .liste, .ehrlich-sec .note { max-width: var(--read); }
.section > .wrap > p:not(.note):not(.mehr):not(.zurueck):not(.entscheiden) { max-width: var(--read); }
.section > .wrap > .liste { max-width: var(--read); }
.section > .wrap > h3 { margin-top: var(--space-block); }
.section > .wrap > h3 + p { margin-top: 1rem; color: var(--ks-text-muted); }
.section > .wrap > p + .liste, .section > .wrap > .head + .liste { margin-top: 1.5rem; }
.baustein-text .feldname { color: var(--ks-text); margin-top: 0; }
.baustein-text .messgroesse { color: var(--ks-text); }
.baustein-text .mehr { color: inherit; }

/* =====================================================================
   v5: Corporate Design KI SÜD
   ===================================================================== */

/* ---------- Seitenkopf: Logo, Umschalter ---------- */
.site-head > .wrap { gap: 1rem 1.5rem; }
.nav { order: 2; gap: 1.5rem; }
.theme-toggle { order: 3; display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; flex: none; width: 3rem; height: 3rem; padding: 0; background: transparent; border: 1px solid var(--ks-line-strong); border-radius: var(--ks-radius-control); color: var(--ks-text); font: inherit; font-size: var(--fs-ui); font-weight: 600; line-height: 1; cursor: pointer; transition: border-color 0.2s; }
.theme-toggle:hover { border-color: var(--ks-text); }
.theme-toggle svg { width: 1.5rem; height: 1.5rem; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.theme-toggle .i-mond { display: none; }
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) .theme-toggle .i-sonne { display: none; }
  :root:not([data-theme="dark"]) .theme-toggle .i-mond { display: block; }
}
:root[data-theme="light"] .theme-toggle .i-sonne { display: none; }
:root[data-theme="light"] .theme-toggle .i-mond { display: block; }
html:not(.js) .theme-toggle, .theme-toggle--menue { display: none; }
@media (max-width: 72rem) {
  .js .nav-toggle { order: 4; }
  .js .nav .theme-toggle--menue { display: inline-flex; width: 100%; margin-top: 1rem; }
  .js .nav a.nav-cta { margin-top: 2.5rem; }
}
@media (max-width: 22.5rem) {
  .site-head > .wrap > .theme-toggle { display: none; }   /* sehr schmal: Umschalter steht im Menü, das Logo behält 144 px */
}

/* ---------- Fuß: Logo, Slogan getrennt vom Logo ---------- */
.mark--foot svg { width: 11.5rem; }   /* 184 px */
.foot-slogan { margin-top: 1.5rem; font-size: var(--fs-eyebrow); font-weight: 500; line-height: 1; letter-spacing: 0.3em; text-transform: uppercase; color: var(--ks-text-muted); }
.foot-claim { margin-top: 1rem; }

/* ---------- Kleine Versalzeile über Überschriften ---------- */
.eyebrow, .feldname, .baustein-text .feldname, .stufen-titel, .wahl-gruppe h3 { font-size: var(--fs-eyebrow); font-weight: 500; line-height: 1; letter-spacing: 0.3em; text-transform: uppercase; color: var(--ks-text-muted); }
.feldname, .eyebrow { margin-bottom: 1rem; }
.wahl-gruppe h3 { margin-bottom: 1rem; }

/* ---------- Texte: Lesebreite, Unterzeilen ---------- */
.lead, .note, .frei, .cols > div > p:not(.lead):not(.note), .baustein-text p, .punkte p, .produkt-main p, .ehrlich { max-width: var(--read); }
.note, .hint, .fig-tag, .bsp, .stufe-nr, .stufe-zusatz { line-height: 1.5; }
.rolle { color: var(--ks-text-muted); font-size: var(--fs-sm); line-height: 1.5; font-weight: 400; }
.head > h2 { max-width: 20em; }

/* ---------- Symbole: Linien 1,5 px in Textfarbe ---------- */
.liste--ja li::before, .frei::before { border-color: var(--ks-text); border-width: 0 0 1.5px 1.5px; border-style: solid; }
.liste--nicht li::before, .liste--nicht li::after, .faq summary::before, .faq summary::after, details.r-gruppe > summary::before, details.r-gruppe > summary::after { height: 1.5px; }
.arten li::before, .arten li:not(:first-child)::before { background: none; border: 1.5px solid var(--ks-text); }
.r-hinweise li::before { border-width: 1.5px; font-weight: 500; }

/* ---------- Auswahl: neutral, ohne Akzent ---------- */
.radio:has(input:checked), .r-radios label:has(input:checked) { border-color: var(--ks-text); background: var(--ks-surface); }
.radio, .r-radios label { background: var(--ks-surface); }
.r-radios label { min-height: 3rem; }
.chip span { line-height: 1.5; }

/* ---------- Meldungen: CI lässt Fehler- und Erfolgsfarben offen, daher Text und Linien-Icon ---------- */
.fehler, .status { position: relative; padding-left: 1.75rem; color: var(--ks-text); font-size: var(--fs-sm); line-height: 1.5; font-weight: 500; }
.fehler::before, .status::before { content: "!"; position: absolute; left: 0; top: 0.1rem; width: 1.125rem; height: 1.125rem; display: grid; place-items: center; border: 1.5px solid var(--ks-text); border-radius: 50%; font-size: 0.75rem; line-height: 1; font-weight: 500; }
.status::before { content: "i"; }

/* ---------- (früher: Fristenkarten) ---------- */

/* ---------- Karten und Flächen ---------- */
.karte, .ergebnis, .r-aus { padding: 2rem; }
.fig { padding: 3rem 1.5rem 1.5rem; }
.kennzeichnung--gross { border: 1px solid var(--ks-line-strong); background: var(--ks-surface); padding: 1rem 1.5rem; }
.betrieb { background: var(--ks-bg); }
.phone { border-width: 1.5px; }
@media (max-width: 40rem) {
  .karte, .ergebnis, .r-aus { padding: 1.5rem; }
  .fig { padding: 3rem 1rem 1rem; }
}

/* ---------- Vorher/Nachher: Linienzeichnung aus den Variablen ---------- */
.ba-layer path, .ba-layer polyline, .ba-layer line { fill: none; }
.rm-l { stroke: var(--ks-text); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.rm-m { stroke: var(--ks-line-strong); stroke-width: 1.5; }
.rm-f0 { fill: var(--ks-bg); }
.rm-f1 { fill: var(--ks-surface); }
.rm-f2 { fill: var(--ks-line); }
.rm-a { fill: var(--ks-accent); fill-opacity: 0.3; }

/* ---------- Initialenfläche (nicht mehr im Einsatz) ---------- */
.avatar { border: 1px dashed var(--ks-line-strong); }
.avatar .platzhalter { position: absolute; top: 1rem; right: 1rem; padding: 0; border: 0; font-size: var(--fs-eyebrow); font-weight: 500; line-height: 1; letter-spacing: 0.3em; text-transform: uppercase; color: var(--ks-text-muted); }

/* ---------- Buttons, deren Text am Handy umbrechen kann ---------- */
.r-aus .btn, .ergebnis .btn, .karte .btn { line-height: 1.2; }
.lead, .fw-body > p:first-child, .ehrlich--breit { line-height: 1.6; }
.fw-body h3, .fw-rest h3, .r-aus h3, .foot-grid h2 { line-height: 1.5; }
@media (max-width: 72rem) { .js .nav a.nav-cta { padding: 0 1.5rem; } }

/* Start: Hero mit Teamfoto */
.hero--foto .hero-2--start { align-items: center; gap: 3rem clamp(2rem, 5vw, 5rem); }
.hero--foto .hero-2--start h1 { max-width: none; }
.hero--foto .hero-foto .bild img { aspect-ratio: 1 / 1; object-position: 50% 25%; border-radius: var(--ks-radius-card); border: 1px solid var(--ks-line); }
@media (max-width: 58rem) {
  .hero--foto .hero-foto { max-width: 32rem; }
  .hero--foto .hero-foto .bild img { aspect-ratio: 4 / 3; }
}

/* Kompakte Aufklapp-Listen (Warum, So arbeiten wir) */
.klapp { list-style: none; margin: 0; padding: 0; }
.klapp li { border-bottom: 1px solid var(--ks-line); }
.klapp details > summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 1rem; padding-block: 1rem; min-height: 56px; }
.klapp details > summary::-webkit-details-marker { display: none; }
.klapp details > summary::after, .mehr-info > summary::after { content: ""; flex: none; width: 8px; height: 8px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-2px); transition: transform 0.25s; }
.klapp details[open] > summary::after, .mehr-info[open] > summary::after { transform: rotate(-135deg) translateY(-2px); }
.klapp summary h3 { margin: 0; font-size: 1.0625rem; font-weight: 400; line-height: 1.4; letter-spacing: 0; }
.klapp details > p { margin: 0; padding: 0 0 1.25rem; color: var(--ks-text-muted); max-width: 34rem; }
.klapp details[open] > p, .mehr-info[open] > :not(summary) { animation: pop 0.3s ease-out both; }
.klapp summary:focus-visible, .mehr-info summary:focus-visible { outline: 2px solid var(--ks-accent); outline-offset: 2px; }
.klapp-nr { flex: none; width: 2rem; height: 2rem; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--ks-line-strong); font-size: var(--fs-sm); font-weight: 600; }
.klapp--warum { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(2rem, 6vw, 6rem); border-top: 1px solid var(--ks-line); }
.klapp--ablauf { display: grid; grid-template-columns: repeat(var(--steps, 4), minmax(0, 1fr)); column-gap: clamp(1rem, 2vw, 2rem); align-items: start; border-top: 1px solid var(--ks-line); }
.klapp--ablauf li { border-bottom: 0; border-top: 0; }
.klapp--ablauf summary { flex-wrap: nowrap; align-items: center; }
.mehr-info { margin-top: 1rem; border-top: 1px solid var(--ks-line); }
.mehr-info > summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 0.5rem; justify-content: flex-start; padding-block: 0.875rem; font-size: var(--fs-sm); color: var(--ks-text-muted); }
.mehr-info > summary::-webkit-details-marker { display: none; }
.karte--kompakt .karte-dl { margin-top: 0.5rem; }
.karte--kompakt .btn { margin-top: 1rem; }
@keyframes pop { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .klapp details[open] > p, .mehr-info[open] > :not(summary) { animation: none; } }
@media (max-width: 58rem) {
  .klapp--warum, .klapp--ablauf { grid-template-columns: minmax(0, 1fr); }
  .klapp--ablauf li { border-bottom: 1px solid var(--ks-line); }
}

.klapp details > summary::after { margin-left: auto; }
.mehr-info > summary::after { margin-left: 0; }
.mehr-info { align-self: stretch; }

/* ---------- Ihr Weg: vier Schritte untereinander ---------- */
.pfad { max-width: 56rem; border-top: 1px solid var(--ks-line-strong); counter-reset: none; }
.pfad > li { border-bottom: 1px solid var(--ks-line); }
.pfad summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 2rem minmax(0, 1fr) minmax(0, 15rem) 1rem; gap: 0.5rem 1.5rem; align-items: start; padding-block: 1.5rem; }
.pfad summary::-webkit-details-marker { display: none; }
.pfad summary::after { content: ""; justify-self: center; margin-top: 0.5rem; width: 8px; height: 8px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); transition: transform 0.25s; }
.pfad details[open] > summary::after { transform: rotate(-135deg) translate(-3px, -3px); }
.pfad summary:focus-visible { outline: 2px solid var(--ks-accent); outline-offset: 2px; }
.pfad-titel { display: block; font-size: var(--fs-h3); font-weight: 400; line-height: 1.3; letter-spacing: -0.01em; }
.pfad-satz { display: block; margin-top: 0.5rem; color: var(--ks-text-muted); max-width: 34rem; }
.pfad-preis { padding-top: 0.25rem; font-size: var(--fs-sm); line-height: 1.5; font-weight: 600; text-align: right; }
.pfad-details { padding: 0 2.5rem 1.5rem 3.5rem; max-width: var(--read); }
.pfad-details > p { color: var(--ks-text-muted); }
.pfad-details .karte-dl { margin-top: 0; }
.pfad-details .karte-dl dd { color: var(--ks-text-muted); }
.pfad-links { display: flex; flex-wrap: wrap; gap: 0.5rem 2rem; margin-top: 1rem; }
.pfad + .cta-block { margin-top: 2.5rem; }
@media (max-width: 40rem) {
  .pfad summary { grid-template-columns: 2rem minmax(0, 1fr) 1rem; gap: 0.5rem 1rem; }
  .pfad-preis { grid-column: 2; grid-row: 2; text-align: left; padding-top: 0; }
  .pfad summary::after { grid-column: 3; grid-row: 1; }
  .pfad-details { padding: 0 0 1.5rem 3rem; }
}

/* ---------- LinkedIn-Icon (eigene Zeichnung), Gründerzeilen ---------- */
.li-icon { display: inline-grid; place-items: center; flex: none; width: 2.5rem; height: 2.5rem; border: 1px solid var(--ks-line-strong); border-radius: var(--ks-radius-control); color: var(--ks-text); vertical-align: middle; transition: border-color 0.2s; }
.li-icon:hover { border-color: var(--ks-accent); }
.li-icon svg { width: 1.5rem; height: 1.5rem; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.mit-icon { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.person { width: 100%; }
.person-links { display: flex; align-items: center; gap: 1rem; margin-top: 1.5rem; }
.person .person-links .link { margin-top: 0; }
.person .werdegang { margin-top: 1.5rem; }
.werdegang .liste li { padding-block: 0.75rem; font-size: var(--fs-sm); line-height: 1.5; color: var(--ks-text-muted); }
.werdegang .liste li::before { top: 1.25rem; }
.avatar { border-style: solid; border-color: var(--ks-line); }
.ansprech-h { margin-top: 2.5rem; }
.ansprech { margin-top: 1rem; border-top: 1px solid var(--ks-line); }
.ansprech li { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 1rem; border-bottom: 1px solid var(--ks-line); }
.ansprech b { display: block; font-weight: 500; }
.ansprech small { display: block; font-size: var(--fs-sm); line-height: 1.5; color: var(--ks-text-muted); }
.adresse { margin-top: 1rem; font-size: var(--fs-sm); line-height: 1.5; }
.foot-gruender { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 1.5rem; margin-top: 2.5rem; color: var(--ks-text-muted); }
.foot-person { display: inline-flex; align-items: center; gap: 0.5rem; color: var(--ks-text); }
.foot-adresse { margin-left: auto; }
.foot-gruender + .foot-stand { margin-top: 1.5rem; }
@media (max-width: 40rem) { .foot-adresse { margin-left: 0; flex-basis: 100%; } }

/* ---------- Karte: Zeichnung, OpenStreetMap erst nach Klick ---------- */
.karte-ort { margin-top: 1.5rem; }
.karte-flaeche { position: relative; height: 360px; overflow: hidden; border: 1px solid var(--ks-line); border-radius: var(--ks-radius-card); background: var(--ks-surface); }
.karte-flaeche svg, .karte-flaeche iframe { display: block; width: 100%; height: 100%; border: 0; }
.ko-s { fill: none; stroke: var(--ks-line); stroke-width: 14; stroke-linecap: round; }
.ko-n { fill: none; stroke: var(--ks-line-strong); stroke-width: 1.5; stroke-linecap: round; }
.ko-pin { fill: var(--ks-surface); stroke: var(--ks-accent); stroke-width: 1.5; stroke-linejoin: round; }
.karte-ortsname { position: absolute; left: 50%; top: 56%; transform: translateX(-50%); padding: 0.25rem 0.75rem; border: 1px solid var(--ks-line-strong); border-radius: 999px; background: var(--ks-surface); font-size: var(--fs-sm); line-height: 1.5; font-weight: 500; }
.karte-leiste { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; margin-top: 1rem; }
html:not(.js) .karte-leiste .btn, html:not(.js) .karte-hinweis { display: none; }
.karte-ort .note { margin-top: 0.5rem; }
.cols .karte-ort .note { margin-top: 0.5rem; }
@media (max-width: 40rem) { .karte-flaeche { height: 280px; } }

/* ---------- Porträts der Gründer ---------- */
.portrait { display: block; flex: none; }
.portrait img { display: block; width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; object-position: 50% 25%; border: 1px solid var(--ks-line); border-radius: var(--ks-radius-card); background: var(--ks-surface); }
.portrait--gross { width: 12rem; }
.person h3 { margin-top: 1.5rem; }
.g-kurz { display: grid; grid-template-columns: 6rem minmax(0, 1fr); gap: 1.5rem; align-items: start; }
.g-kurz h3 { margin-top: 0; }
.ansprech .portrait { width: 4.5rem; }
.ansprech li > span { flex: 1 1 auto; min-width: 0; }
@media (max-width: 26rem) { .g-kurz { grid-template-columns: 4.5rem minmax(0, 1fr); gap: 1rem; } }

/* ---------- Vorher/Nachher mit echten Fotos ---------- */
.ba--foto .ba-layer picture { display: block; width: 100%; height: 100%; }
.ba--foto .ba-layer img { display: block; width: 100%; height: 100%; object-fit: cover; user-select: none; -webkit-user-drag: none; }
.ba--foto .ba-handle { width: 4px; margin-left: -2px; background: var(--ks-surface); border-inline: 1px solid var(--ks-text); }

/* ---------- Logo im Kopf: 156 px (3,96 : 1 -> ca. 39 px hoch), mehr Luft oben und unten (Kopf 80 px) ---------- */
:root { --head-h: 5rem; --logo-w: 9.75rem; }
@media (max-width: 72rem) { :root { --head-h: 5rem; --logo-w: 9.25rem; } }

/* ---------- Vorher/Nachher: Regler füllt die ganze Fläche (schlägt input[type=range]) ---------- */
.ba-stage .ba-range { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; z-index: 3; outline: none; }

/* ---------- Logo: Strich, Balken und Linien in einem Grau (dunkler Grauton) ---------- */
:root { --ks-logo-grau: var(--ks-line-strong); }
@media (prefers-color-scheme: light) { :root:not([data-theme="dark"]) { --ks-logo-grau: var(--ks-text-muted); } }
:root[data-theme="light"] { --ks-logo-grau: var(--ks-text-muted); }
:root[data-theme="dark"] { --ks-logo-grau: var(--ks-line-strong); }

/* ---------- Runde G: vier Bereiche, Gründe als Karten, Aufgabenfelder ---------- */
.bereiche-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2.5rem 2rem; }
.bereiche-4 .bereich h3 { font-size: var(--fs-h3); font-weight: 400; line-height: 1.3; letter-spacing: -0.01em; }
.bereiche-4 .bereich-bild { max-width: 14rem; }
@media (max-width: 72rem) { .bereiche-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 40rem) { .bereiche-4 { grid-template-columns: minmax(0, 1fr); } }
.gruende { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem; }
.gruende li { padding: 1.5rem; border: 1px solid var(--ks-line); border-radius: var(--ks-radius-card); background: var(--ks-surface); }
.gruende h3 { font-size: var(--fs-h3); font-weight: 400; line-height: 1.3; letter-spacing: -0.01em; }
.gruende p { margin-top: 0.5rem; color: var(--ks-text-muted); font-size: var(--fs-sm); line-height: 1.5; }
@media (max-width: 72rem) { .gruende { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 40rem) { .gruende { grid-template-columns: minmax(0, 1fr); gap: 1rem; } }
.aufgaben { max-width: var(--read); border-top: 1px solid var(--ks-line-strong); }
.aufgaben li { padding: 1rem 0; border-bottom: 1px solid var(--ks-line); }
.hero h1, .page-head h1 { max-width: 18em; }
.nav { gap: 1.25rem; }
.faq summary { padding-block: 1rem; font-size: var(--fs-base); font-weight: 500; line-height: 1.5; letter-spacing: 0; }
.faq-a p { padding-bottom: 1.5rem; }
.filter h2 { font-weight: 400; }

/* ---------- Runde J: Problem/Lösung-Paare ---------- */
.paare { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
.paare li { display: flex; flex-direction: column; align-items: flex-start; padding: 1.5rem; border: 1px solid var(--ks-line); border-radius: var(--ks-radius-card); background: var(--ks-surface); }
.paare .eyebrow { margin-bottom: 0.5rem; }
.paare h3 { font-size: var(--fs-h3); font-weight: 400; line-height: 1.3; letter-spacing: -0.01em; margin-bottom: 1.5rem; }
.paare p:not(.eyebrow) { color: var(--ks-text-muted); font-size: var(--fs-sm); line-height: 1.5; }
.paare .link { margin-top: 1rem; font-size: var(--fs-sm); }
@media (max-width: 72rem) { .paare { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 40rem) { .paare { grid-template-columns: minmax(0, 1fr); gap: 1rem; } }
@media (max-width: 40rem) {
  .filter .chips { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }   /* feste Zeilen: kein Sprung beim Laden der Schrift */
  .filter .chip span { display: flex; align-items: center; justify-content: center; min-height: 4rem; padding: 0.5rem; border-radius: var(--ks-radius-control); text-align: center; }
}
.paare-links { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; margin-top: auto; padding-top: 1rem; }
.paare .paare-links .link { margin-top: 0; }
.paare li > p:not(.eyebrow):not(.paare-links) { margin-bottom: 0.5rem; }
