/* ==========================================================================
   KI Umsetzung — site.css (Relaunch 11/2026, Fassung 4)
   Farbwelt aus dem Logo: kuehle Grautoene, Graphit, dezente blaue Akzente.
   Ueberschriften in Sora (Logo-Schrift). Schriften lokal eingebunden.
   ========================================================================== */

@font-face {
  font-family: "Sora";
  src: url("/fonts/sora-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 800; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Instrument Sans";
  src: url("/fonts/instrument-sans-latin-wght-normal.woff2") format("woff2");
  font-weight: 400 700; font-style: normal; font-display: swap;
}

:root {
  --bg: #f4f5f7;
  --surface: #ffffff;
  --mist: #e9ecf1;
  --ink: #15181d;
  --ink-2: #474d57;
  --ink-3: #6b7280;
  --line: rgba(21, 24, 29, 0.13);
  --line-strong: rgba(21, 24, 29, 0.3);
  --accent: #2f57d4;
  --accent-dark: #2446b3;
  --accent-tint: #e7ecfa;
  --numeral: #8793ab;
  --dark: #1c2029;
  --dark-2: #13161c;
  --on-dark: #f1f3f6;
  --on-dark-dim: #a9b0bd;
  --dark-line: rgba(241, 243, 246, 0.16);
  --accent-light: #8fabff;
  --bad: #a34a4a;

  --f-display: "Sora", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-sans: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --wrap: 1180px;
  --gutter: clamp(20px, 4vw, 40px);
  --sec: clamp(76px, 10vw, 140px);
  --r: 8px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 92px; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--f-sans); font-size: 17px; line-height: 1.62;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--accent); color: #fff; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }
.on-dark :focus-visible { outline-color: var(--accent-light); }
.skip { position: absolute; left: 16px; top: -60px; z-index: 200; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 4px; text-decoration: none; }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- Typografie ---------- */
h1, h2 { font-family: var(--f-display); font-weight: 520; letter-spacing: -0.038em; line-height: 1.08; text-wrap: balance; }
h1 { font-size: clamp(2.3rem, 4.5vw, 3.85rem); }
h2 { font-size: clamp(1.8rem, 3.3vw, 2.65rem); line-height: 1.12; }
h3 { font-family: var(--f-display); font-weight: 600; font-size: 1.2rem; line-height: 1.25; letter-spacing: -0.02em; }
.mark { color: var(--accent); }
.on-dark .mark { color: var(--accent-light); }
.lead { font-size: clamp(1.08rem, 1.45vw, 1.22rem); line-height: 1.58; color: var(--ink-2); max-width: 54ch; text-wrap: pretty; }
.label { display: inline-flex; align-items: center; gap: 14px; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.17em; text-transform: uppercase; color: var(--ink-2); }
.label::before { content: ""; flex: none; width: 30px; height: 1.5px; background: var(--accent); }
.on-dark .label { color: var(--on-dark-dim); }
.on-dark .label::before { background: var(--accent-light); }
.on-dark .lead { color: var(--on-dark-dim); }
@media (max-width: 640px) {
  body { font-size: 16.5px; }
  h1 { font-size: clamp(1.9rem, 8.6vw, 2.6rem); }
  h1, h2 { overflow-wrap: break-word; }
}

/* ---------- Buttons & Links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 54px; padding: 0 28px; border-radius: 3px; border: 1px solid transparent;
  font-family: var(--f-sans); font-weight: 600; font-size: 0.98rem; letter-spacing: 0.01em; line-height: 1.2;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .25s, color .25s, border-color .25s;
}
.btn svg { width: 17px; height: 17px; flex: none; transition: transform .3s; }
.btn:hover svg { transform: translateX(4px); }
.btn--primary { background: var(--ink); color: #fff; }
.btn--primary:hover { background: var(--accent); }
.btn--primary svg { color: #9db4ff; }
.btn--primary:hover svg { color: #fff; }
.btn--ghost { border-color: var(--line-strong); color: var(--ink); }
.btn--ghost:hover { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.btn--white { background: var(--on-dark); color: var(--dark); }
.btn--white:hover { background: #fff; }
.btn--block { width: 100%; }
.btn--sm { min-height: 44px; padding: 0 20px; font-size: 0.93rem; }
@media (max-width: 480px) { .btn { white-space: normal; text-align: center; } }
.link-arrow { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; text-decoration: none; color: var(--accent); }
.link-arrow svg { width: 16px; height: 16px; transition: transform .3s; }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- Header ---------- */
.header { position: sticky; top: 0; z-index: 100; background: rgba(244, 245, 247, 0.94); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom: 1px solid transparent; transition: border-color .25s; }
.header.is-scrolled { border-bottom-color: var(--line); }
.header__in { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 76px; }
.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand svg { height: 40px; width: auto; flex: none; }
.brand .lg-a { fill: var(--ink); } .brand .lg-b { fill: #7c8595; }
.on-dark .brand .lg-a { fill: #fff; } .on-dark .brand .lg-b { fill: #9aa1b6; }
@media (max-width: 480px) { .brand svg { height: 32px; } }

.nav { display: flex; align-items: center; gap: 6px; }
.nav__link, .nav__trigger { display: inline-flex; align-items: center; gap: 7px; height: 44px; padding: 0 14px; border: 0; background: none; border-radius: 3px; font-weight: 500; font-size: 0.97rem; text-decoration: none; color: var(--ink); cursor: pointer; transition: color .2s; }
.nav__link:hover, .nav__trigger:hover, .nav__item.is-open .nav__trigger, .nav__link[aria-current] { color: var(--accent); }
.nav__trigger svg { width: 13px; height: 13px; transition: transform .25s; }
.nav__item.is-open .nav__trigger svg { transform: rotate(180deg); }
.nav__item { position: relative; }
.nav__cta { margin-left: 12px; }
.mega {
  position: absolute; top: calc(100% + 12px); left: 50%; translate: -50% 0;
  width: min(700px, calc(100vw - 2 * var(--gutter)));
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r);
  box-shadow: 0 30px 60px -34px rgba(21, 24, 29, 0.4);
  padding: 12px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px;
  opacity: 0; visibility: hidden; transform: translateY(-4px); transition: opacity .2s, transform .2s, visibility .2s;
}
.nav__item.is-open .mega { opacity: 1; visibility: visible; transform: none; }
.mega a { display: block; padding: 12px 14px; border-radius: 3px; text-decoration: none; transition: background-color .2s; }
.mega a:hover, .mega a[aria-current="page"] { background: var(--bg); }
.mega small { display: block; font-size: 0.64rem; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 3px; }
.mega b { font-family: var(--f-display); font-weight: 600; font-size: 0.96rem; letter-spacing: -0.015em; }

.burger { display: none; width: 46px; height: 46px; border: 1px solid var(--line-strong); border-radius: 3px; background: none; cursor: pointer; padding: 0; position: relative; }
.burger span { position: absolute; left: 12px; right: 12px; height: 1.5px; background: var(--ink); transition: transform .25s, opacity .25s, top .25s; }
.burger span:nth-child(1) { top: 16px; } .burger span:nth-child(2) { top: 22px; } .burger span:nth-child(3) { top: 28px; }
.menu-open .burger span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.menu-open .burger span:nth-child(2) { opacity: 0; }
.menu-open .burger span:nth-child(3) { top: 22px; transform: rotate(-45deg); }
@media (max-width: 900px) {
  .burger { display: block; }
  .nav { position: absolute; top: 100%; left: 0; right: 0; height: calc(100vh - 76px); height: calc(100dvh - 76px); z-index: 99; background: var(--bg); flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gutter) 32px; overflow-y: auto; opacity: 0; visibility: hidden; transition: opacity .2s, visibility .2s; }
  .menu-open .nav { opacity: 1; visibility: visible; }
  .menu-open { overflow: hidden; }
  .nav__link, .nav__trigger { height: 60px; padding: 0; width: 100%; justify-content: space-between; font-family: var(--f-display); font-size: 1.12rem; font-weight: 500; letter-spacing: -0.02em; border-bottom: 1px solid var(--line); border-radius: 0; }
  .mega { position: static; translate: none; width: auto; display: none; grid-template-columns: 1fr; box-shadow: none; border: 0; background: none; padding: 8px 0 12px; opacity: 1; visibility: visible; transform: none; }
  .nav__item.is-open .mega { display: grid; }
  .mega a { padding: 10px 0 10px 16px; border-left: 1px solid var(--line-strong); border-radius: 0; }
  .mega a:hover, .mega a[aria-current="page"] { background: none; }
  .nav__cta { margin: 24px 0 0; min-height: 54px; }
}

/* ---------- Sektionen ---------- */
.sec { padding-block: var(--sec); }
.sec--white { background: var(--surface); }
.sec--mist { background: var(--mist); }
.sec--dark { background: var(--dark); color: var(--on-dark); }
.sec__head { display: grid; gap: 20px; margin-bottom: clamp(40px, 5vw, 68px); max-width: 820px; }
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 100px); align-items: start; }
.split > .sec__head { margin-bottom: 0; position: sticky; top: 116px; }
@media (max-width: 900px) { .split { grid-template-columns: minmax(0, 1fr); } .split > .sec__head { position: static; } }

/* ---------- Hero ---------- */
.hero { position: relative; isolation: isolate; overflow: hidden; padding-block: clamp(44px, 6vw, 92px) clamp(56px, 7vw, 108px); }
.hero--strip { padding-bottom: 0; }
/* ruhige Bogenlinien (Motiv des Logos), unbewegt */
.hero__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero__bg i { position: absolute; right: -250px; top: 44%; width: 900px; height: 900px; margin-top: -450px; border-radius: 50%; border: 1px solid rgba(47, 87, 212, 0.2); }
.hero__bg i + i { right: -90px; width: 580px; height: 580px; margin-top: -290px; border-color: rgba(21, 24, 29, 0.1); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.32fr) minmax(0, 1fr); gap: clamp(36px, 5vw, 80px); align-items: center; }
.hero__grid > * { min-width: 0; }
.hero__copy { display: grid; gap: 28px; justify-items: start; }
.hero__copy .lead { max-width: 48ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 4px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 10px; font-size: 0.72rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3); }
.crumbs a { text-decoration: none; transition: color .2s; } .crumbs a:hover { color: var(--accent); }
.crumbs [aria-current] { color: var(--ink); }
.checks { display: flex; flex-wrap: wrap; gap: 8px 26px; font-size: 0.94rem; font-weight: 500; color: var(--ink-2); }
.checks li { display: inline-flex; align-items: center; gap: 9px; }
.checks svg { width: 15px; height: 15px; color: var(--accent); flex: none; }
@media (max-width: 980px) { .hero__grid { grid-template-columns: minmax(0, 1fr); } .hero__bg i { opacity: .6; } }
@media (max-width: 720px) { .hero__bg { display: none; } }
@media (max-width: 480px) { .hero__actions { width: 100%; } .hero__actions .btn { flex: 1 1 100%; } }

/* Kennzahlen-Leiste */
.strip { margin-top: clamp(48px, 6vw, 92px); border-block: 1px solid var(--line); background: rgba(255, 255, 255, 0.5); }
.strip__grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.strip__item { padding: 30px clamp(18px, 3vw, 40px); border-left: 1px solid var(--line); display: grid; gap: 8px; align-content: start; }
.strip__item:first-child { border-left: 0; padding-left: 0; }
.strip__num { font-family: var(--f-display); font-weight: 300; font-size: clamp(2.1rem, 3.8vw, 3.1rem); letter-spacing: -0.045em; line-height: 1; }
.strip__num small { font-size: 0.5em; font-weight: 500; letter-spacing: -0.02em; color: var(--accent); margin-left: 4px; }
.strip__txt { color: var(--ink-2); font-size: 0.97rem; line-height: 1.45; max-width: 30ch; }
@media (max-width: 720px) { .strip__grid { grid-template-columns: 1fr; } .strip__item { border-left: 0; border-top: 1px solid var(--line); padding: 22px 0; } .strip__item:first-child { border-top: 0; } .strip__txt { max-width: none; } }

/* Vertrauen + Technik */
.band { background: var(--surface); border-bottom: 1px solid var(--line); }
.trust { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(24px, 5vw, 76px); align-items: center; padding-block: clamp(28px, 4vw, 44px); }
.seal { display: block; width: 204px; border: 1px solid var(--line); background: #fff; transition: border-color .25s; }
.seal:hover { border-color: var(--line-strong); }
.seal img { width: 100%; height: auto; }
.tech { display: grid; gap: 16px; min-width: 0; }
.tech__list { display: flex; flex-wrap: wrap; gap: 6px 0; }
.tech__list li { font-family: var(--f-sans); font-weight: 500; font-size: 1rem; color: var(--ink-2); padding: 0 18px; border-left: 1px solid var(--line-strong); line-height: 1.2; }
.tech__list li:first-child { padding-left: 0; border-left: 0; }
@media (max-width: 720px) { .trust { grid-template-columns: minmax(0, 1fr); } .tech__list { gap: 10px 0; } .tech__list li { padding: 0 14px; font-size: 1.05rem; } }

/* ---------- Beispiel-Fenster ---------- */
.panel { background: var(--dark); color: var(--on-dark); border-radius: 10px; overflow: hidden; box-shadow: 0 50px 90px -50px rgba(15, 18, 24, 0.6); font-size: 0.95rem; }
.panel__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; padding: 18px 22px; border-bottom: 1px solid var(--dark-line); }
.panel__title { display: inline-flex; align-items: center; gap: 12px; font-size: 0.7rem; font-weight: 600; letter-spacing: 0.17em; text-transform: uppercase; }
.live { width: 6px; height: 6px; border-radius: 50%; background: var(--accent-light); }
.panel__tag { font-size: 0.64rem; font-weight: 500; letter-spacing: 0.15em; text-transform: uppercase; color: var(--on-dark-dim); }
.panel__body { padding: 6px 22px; }
.panel__foot { padding: 16px 22px 20px; border-top: 1px solid var(--dark-line); color: var(--on-dark-dim); font-size: 0.94rem; line-height: 1.5; }
.panel__foot b, .panel__foot strong { color: var(--on-dark); font-weight: 600; }

.log { display: grid; height: 320px; overflow: hidden; align-content: start; }
.log li { display: grid; grid-template-columns: 46px 1fr 18px; gap: 14px; align-items: center; min-height: 64px; padding: 10px 0; border-bottom: 1px solid var(--dark-line); }
.log li:last-child { border-bottom: 0; }
.log time { font-size: 0.8rem; font-variant-numeric: tabular-nums; color: var(--on-dark-dim); }
.log__txt { display: grid; gap: 2px; line-height: 1.3; }
.log__txt small { font-size: 0.62rem; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; color: var(--on-dark-dim); }
.log svg { width: 16px; height: 16px; color: var(--accent-light); }
.log li.is-new { animation: logIn 1s ease both; }
@keyframes logIn { from { opacity: 0; } to { opacity: 1; } }

.steplist li { display: grid; grid-template-columns: 28px 1fr auto; gap: 14px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--dark-line); }
.steplist li:last-child { border-bottom: 0; }
.steplist .n { font-family: var(--f-display); font-size: 0.8rem; font-weight: 500; color: var(--accent-light); }
.steplist .s { font-size: 0.64rem; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; color: var(--on-dark-dim); display: inline-flex; align-items: center; gap: 7px; }
.steplist .s svg { width: 13px; height: 13px; color: var(--accent-light); }

.chat { display: grid; gap: 10px; padding: 14px 0 16px; }
.chat li { max-width: 86%; padding: 12px 16px; border-radius: 8px; line-height: 1.4; }
.chat small { display: block; font-size: 0.6rem; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; opacity: .7; margin-bottom: 4px; }
.chat .a { background: rgba(241, 243, 246, 0.07); border: 1px solid var(--dark-line); justify-self: start; }
.chat .b { background: var(--on-dark); color: var(--dark); justify-self: end; }
.chat .src { justify-self: start; max-width: none; padding: 0; font-size: 0.88rem; font-weight: 500; color: var(--accent-light); }
.wave { display: flex; align-items: center; gap: 4px; height: 40px; padding: 16px 0 2px; }
.wave i { flex: 1; background: var(--accent-light); height: 30%; opacity: .75; animation: wave 2.4s ease-in-out infinite; }
@keyframes wave { 0%, 100% { height: 16%; } 50% { height: 78%; } }

.doc { display: grid; grid-template-columns: 112px 1fr; gap: 22px; align-items: center; padding: 20px 0 18px; }
.doc__file { background: var(--on-dark); color: var(--ink); border-radius: 3px; padding: 14px 13px 16px; display: grid; gap: 8px; }
.doc__file b { font-size: 0.68rem; font-weight: 600; letter-spacing: 0.04em; }
.doc__file i { height: 3px; background: rgba(21, 24, 29, 0.16); } .doc__file i:nth-of-type(2) { width: 68%; }
.doc__file em { font-style: normal; font-family: var(--f-display); font-weight: 600; font-size: 0.82rem; color: var(--accent); }
.kv { display: grid; }
.kv div { display: flex; justify-content: space-between; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--dark-line); }
.kv div:last-child { border-bottom: 0; }
.kv dt { font-size: 0.66rem; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; color: var(--on-dark-dim); align-self: center; }
.kv dd { font-weight: 600; font-variant-numeric: tabular-nums; }
@media (max-width: 480px) {
  .log { height: 350px; } .log li { min-height: 70px; grid-template-columns: 42px 1fr 16px; gap: 10px; }
  .panel__bar, .panel__foot, .panel__body { padding-inline: 18px; }
  .doc { grid-template-columns: 94px 1fr; gap: 16px; }
}

/* ---------- Karten ---------- */
.cells { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cells--2 { grid-template-columns: repeat(2, 1fr); }
.cells--4 { grid-template-columns: repeat(4, 1fr); }
.cell { position: relative; display: grid; gap: 12px; align-content: start; padding: clamp(24px, 2.6vw, 34px); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); color: var(--ink); text-decoration: none; transition: border-color .3s, box-shadow .3s; }
.cell::before { content: ""; position: absolute; left: -1px; right: -1px; top: -1px; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .5s cubic-bezier(.2, .7, .2, 1); }
a.cell:hover { border-color: var(--line-strong); box-shadow: 0 30px 50px -40px rgba(21, 24, 29, 0.45); }
a.cell:hover::before { transform: scaleX(1); }
.cell__top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 14px; font-family: var(--f-display); font-weight: 500; font-size: 0.84rem; letter-spacing: 0.02em; color: var(--numeral); }
.cell__icon { width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(47, 87, 212, 0.35); color: var(--accent); transition: background-color .3s, color .3s, border-color .3s; }
.cell__icon svg { width: 22px; height: 22px; stroke-width: 1.4; }
a.cell:hover .cell__icon { background: var(--accent); border-color: var(--accent); color: #fff; }
.cell__cat { font-size: 0.66rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-3); }
.cell h3 { font-size: clamp(1.16rem, 1.6vw, 1.3rem); }
.cell p { color: var(--ink-2); font-size: 0.99rem; line-height: 1.55; }
.cell__more { margin-top: 10px; display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 0.93rem; color: var(--ink); }
.cell__more svg { width: 15px; height: 15px; color: var(--accent); transition: transform .3s; }
a.cell:hover .cell__more svg { transform: translateX(5px); }
.sec--white .cell { background: var(--bg); }
@media (max-width: 980px) { .cells, .cells--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .cells, .cells--2, .cells--4 { grid-template-columns: 1fr; } }

/* ---------- Zeilenliste (Hürden / Probleme) ---------- */
.rows { border-top: 1px solid var(--line-strong); }
.rows li { display: grid; grid-template-columns: 56px 1fr auto; gap: 8px 22px; align-items: start; padding: 28px 0; border-bottom: 1px solid var(--line); }
.rows .n { font-family: var(--f-display); font-weight: 500; font-size: 0.9rem; line-height: 1.9; color: var(--numeral); }
.rows .n svg { width: 44px; height: 44px; padding: 11px; border-radius: 50%; border: 1px solid rgba(47, 87, 212, 0.35); color: var(--accent); stroke-width: 1.4; }
.rows h3 { font-size: 1.2rem; }
.rows p { color: var(--ink-2); margin-top: 8px; max-width: 58ch; }
.prio { font-size: 0.66rem; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; display: inline-flex; align-items: center; gap: 10px; padding-top: 9px; color: var(--ink-3); white-space: nowrap; }
.prio i { display: inline-flex; gap: 4px; }
.prio i::before, .prio i::after, .prio i b { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--line-strong); display: block; }
.prio--hoch i::before, .prio--hoch i::after, .prio--hoch i b { background: var(--accent); }
.prio--mittel i::before, .prio--mittel i b { background: var(--accent); }
@media (max-width: 560px) { .rows li { grid-template-columns: 44px 1fr; gap: 6px 14px; } .prio { grid-column: 2; padding-top: 4px; } }

/* ---------- Kennzahlen ---------- */
.metrics { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--dark-line); }
.metric { display: grid; gap: 22px; justify-items: start; align-content: start; padding: 36px 28px 6px 0; margin-right: 28px; border-right: 1px solid var(--dark-line); }
.metric:last-child { border-right: 0; margin-right: 0; }
.ring { position: relative; width: 128px; height: 128px; }
.ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 2.5; }
.ring__bg { stroke: var(--dark-line); }
.ring__fg { stroke: var(--accent-light); stroke-dasharray: 100px; stroke-dashoffset: 100px; transition: stroke-dashoffset 1.8s cubic-bezier(.3, .6, .2, 1) .2s; }
.metric.is-in .ring__fg, .no-js .ring__fg { stroke-dashoffset: calc((100 - var(--p)) * 1px); }
.ring__num { position: absolute; inset: 0; display: grid; grid-auto-flow: column; place-content: center; align-items: baseline; font-family: var(--f-display); font-weight: 400; font-size: 1.9rem; letter-spacing: -0.045em; }
.ring__num small { font-size: 0.48em; font-weight: 500; color: var(--accent-light); margin-left: 4px; }
.metric p { color: var(--on-dark-dim); font-size: 1rem; line-height: 1.5; }
.source { margin-top: 34px; font-size: 0.84rem; color: var(--on-dark-dim); line-height: 1.6; }
.source a { color: var(--on-dark); text-underline-offset: 3px; }
@media (max-width: 980px) { .metrics { grid-template-columns: repeat(2, 1fr); } .metric:nth-child(2) { border-right: 0; margin-right: 0; } .metric:nth-child(n+3) { border-top: 1px solid var(--dark-line); } }
@media (max-width: 520px) { .metrics { grid-template-columns: minmax(0, 1fr); } .metric { grid-template-columns: 100px minmax(0, 1fr); align-items: center; border-right: 0; margin-right: 0; padding: 24px 0; gap: 20px; } .metric:nth-child(n+2) { border-top: 1px solid var(--dark-line); } .ring { width: 100px; height: 100px; } .ring__num { font-size: 1.5rem; } }

/* ---------- Vergleich ---------- */
.compare { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.compare__col { padding: clamp(28px, 3.6vw, 50px); display: grid; gap: 24px; align-content: start; }
.compare__col--bad { background: var(--surface); }
.compare__col--good { background: var(--dark); color: var(--on-dark); }
.compare__col h3 { font-size: 1.3rem; }
.compare__col li { display: grid; grid-template-columns: 22px 1fr; gap: 14px; padding: 14px 0; border-top: 1px solid var(--line); line-height: 1.45; }
.compare__col--bad li { color: var(--ink-2); }
.compare__col--good li { border-top-color: var(--dark-line); }
.compare__col li svg { width: 17px; height: 17px; margin-top: 4px; }
.compare__col--bad li svg { color: var(--bad); }
.compare__col--good li svg { color: var(--accent-light); }
@media (max-width: 760px) { .compare { grid-template-columns: 1fr; } }

/* ---------- Banner ---------- */
.banner { position: relative; overflow: hidden; background: var(--mist); border: 1px solid var(--line); border-radius: var(--r); padding: clamp(34px, 5vw, 72px); display: grid; grid-template-columns: 1fr auto; gap: 28px 56px; align-items: end; }
.banner::after { content: ""; position: absolute; right: -170px; top: 50%; width: 460px; height: 460px; margin-top: -230px; border-radius: 50%; border: 1px solid rgba(47, 87, 212, 0.25); pointer-events: none; }
.banner > * { position: relative; z-index: 1; }
.banner h2 { font-size: clamp(1.7rem, 3vw, 2.35rem); max-width: 20ch; }
.banner p { color: var(--ink-2); max-width: 52ch; margin-top: 16px; font-size: 1.06rem; }
.banner .btn--white { background: var(--ink); color: #fff; }
.banner .btn--white:hover { background: var(--accent); }
@media (max-width: 820px) { .banner { grid-template-columns: 1fr; align-items: start; } }

/* ---------- Ablauf ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line-strong); }
.step { position: relative; display: grid; gap: 12px; align-content: start; padding: 34px clamp(20px, 3vw, 44px) 0 0; }
.step::before { content: ""; position: absolute; left: 0; top: -4px; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.step__num { font-family: var(--f-display); font-weight: 300; font-size: clamp(2.3rem, 3.8vw, 3.2rem); letter-spacing: -0.05em; line-height: 1; color: var(--numeral); margin-bottom: 12px; }
.step p { color: var(--ink-2); max-width: 36ch; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; border-top: 0; } .step { border-top: 1px solid var(--line-strong); padding: 28px 0 32px; } }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line-strong); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 1fr 22px; gap: 18px; align-items: center; padding: 24px 0; font-family: var(--f-display); font-weight: 600; font-size: 1.1rem; letter-spacing: -0.02em; line-height: 1.35; transition: color .2s; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; width: 22px; height: 22px; background: linear-gradient(currentColor, currentColor) center / 16px 1px no-repeat, linear-gradient(currentColor, currentColor) center / 1px 16px no-repeat; transition: transform .35s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover, .faq details[open] summary { color: var(--accent); }
.faq details p { padding: 0 44px 26px 0; color: var(--ink-2); max-width: 64ch; }

/* ---------- Sicherheit / TÜV ---------- */
.cert { display: grid; grid-template-columns: auto 1fr; gap: 26px; align-items: center; margin-top: clamp(28px, 4vw, 48px); padding: 22px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); text-decoration: none; color: var(--ink); transition: border-color .25s; }
.cert:hover { border-color: var(--line-strong); }
.cert img { width: 190px; height: auto; }
.cert b { display: block; font-family: var(--f-display); font-weight: 600; font-size: 1.08rem; letter-spacing: -0.02em; margin-bottom: 4px; }
.cert span { color: var(--ink-2); font-size: 0.97rem; }
@media (max-width: 560px) { .cert { grid-template-columns: 1fr; } }
.facts { display: grid; border-top: 1px solid var(--line-strong); width: 100%; max-width: 520px; }
.facts li { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); font-weight: 600; }
.facts strong { font-family: var(--f-sans); font-size: 0.68rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-3); align-self: center; }
.sealcard { display: block; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: clamp(22px, 3vw, 44px); box-shadow: 0 50px 90px -60px rgba(21, 24, 29, 0.5); transition: border-color .25s; }
.sealcard:hover { border-color: var(--line-strong); }
.sealcard img { width: 100%; height: auto; }

/* ---------- Kontakt ---------- */
.contact { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.contact__copy { display: grid; gap: 24px; }
.contact__copy h2 { font-size: clamp(1.9rem, 3.5vw, 2.8rem); }
.pledge { display: grid; grid-template-columns: 24px 1fr; gap: 16px; padding: 22px 0; border-block: 1px solid var(--dark-line); color: var(--on-dark-dim); font-size: 0.98rem; line-height: 1.55; margin-top: 4px; }
.pledge svg { width: 22px; height: 22px; color: var(--accent-light); stroke-width: 1.4; }
.pledge strong { color: var(--on-dark); font-weight: 600; }
.mailto { color: var(--on-dark); text-underline-offset: 4px; text-decoration-thickness: 1px; transition: color .2s; }
.mailto:hover { color: var(--accent-light); }
.form { background: var(--bg); color: var(--ink); border-radius: var(--r); padding: clamp(24px, 3.6vw, 44px); display: grid; gap: 18px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 7px; }
.field label { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-2); }
.field label span { font-weight: 400; letter-spacing: 0.04em; text-transform: none; color: var(--ink-3); font-size: 0.84rem; }
.field input, .field select, .field textarea { width: 100%; min-height: 52px; padding: 13px 14px; background: var(--surface); border: 1px solid var(--line); border-radius: 3px; font-size: 1rem; line-height: 1.4; transition: border-color .2s; }
.field textarea { resize: vertical; min-height: 112px; }
.field select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2315181d' stroke-width='1.5'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 44px; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--line-strong); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(47, 87, 212, 0.12); }
.form__micro { font-size: 0.86rem; color: var(--ink-3); text-align: center; }
.form__micro a { color: var(--ink-2); text-underline-offset: 3px; }
.form__note { font-size: 0.95rem; font-weight: 600; padding: 12px 14px; border-radius: 3px; background: var(--surface); border: 1px solid var(--line); }
.form__note:empty { display: none; }
.form__note.ok { color: var(--accent); } .form__note.err { color: var(--bad); }
@media (max-width: 900px) { .contact { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 520px) { .form__row { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.footer { background: var(--dark-2); color: var(--on-dark-dim); padding-block: clamp(44px, 5vw, 72px) 28px; font-size: 0.96rem; }
.footer__grid { display: grid; grid-template-columns: 1.3fr 1.6fr 1fr; gap: 40px; padding-bottom: 44px; }
.footer__grid > * { min-width: 0; }
.footer__brand { display: grid; gap: 16px; align-content: start; justify-items: start; }
.footer__brand p { color: var(--on-dark-dim); }
.footer h4 { margin-bottom: 16px; font-size: 0.68rem; font-weight: 600; letter-spacing: 0.17em; text-transform: uppercase; color: var(--accent-light); }
.footer ul { display: grid; gap: 10px; }
.footer__cols2 { columns: 2; column-gap: 32px; display: block !important; }
.footer__cols2 li { break-inside: avoid; margin-bottom: 10px; }
.footer a { text-decoration: none; color: var(--on-dark); transition: color .2s; }
.footer a:hover { color: var(--accent-light); }
.footer__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; padding-top: 24px; border-top: 1px solid var(--dark-line); font-size: 0.85rem; }
@media (max-width: 820px) { .footer__grid { grid-template-columns: 1fr; gap: 34px; } }
@media (max-width: 400px) { .footer__cols2 { columns: 1; } }

/* ---------- Rechtstexte ---------- */
.legal { max-width: 740px; padding-block: clamp(44px, 6vw, 92px) var(--sec); }
.legal h1 { font-size: clamp(2.1rem, 4.4vw, 3.2rem); margin-bottom: 14px; }
.legal .updated { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 40px; }
.legal h2 { font-size: 1.24rem; font-weight: 600; letter-spacing: -0.02em; margin: 42px 0 12px; padding-top: 26px; border-top: 1px solid var(--line); }
.legal p { color: var(--ink-2); margin-bottom: 12px; }
.legal ul { list-style: disc; padding-left: 22px; color: var(--ink-2); margin-bottom: 12px; display: grid; gap: 4px; }
.legal a { color: var(--accent); text-underline-offset: 3px; }

/* ---------- Bewegung (bewusst zurückhaltend) ---------- */
.reveal { opacity: 0; transform: translateY(10px); transition: opacity .9s ease, transform .9s cubic-bezier(.2, .7, .2, 1); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .wave i, .log li.is-new { animation: none; }
  .wave i { height: 50%; }
  .ring__fg { transition: none; }
  * { transition-duration: .01ms !important; }
}
