/* VEZORA – Website
   Helle Flächen und Glas aus der Anwendung, schwarze Bühnen und Bewegung
   für den Auftritt. Eine Regel für alles: weglassen. */

:root {
  /* Anwendung */
  --ink: #1d1d1f;
  --ink-2: #6e6e73;
  --ink-3: #86868b;
  --ink-4: #aeaeb2;
  --paper: #fbfbfd;
  --fill: #f5f5f7;
  --line: #e5e5ea;
  --line-soft: #eeeeef;
  --blue: #0a6ed1;
  --green: #1a8c3a;
  --red: #c0392b;
  --yellow: #9a6700;

  /* Bühne */
  --black: #000;
  --panel: #0a0a0b;
  --panel-2: #141416;
  --d-ink: #fff;
  --d-ink-2: rgba(255, 255, 255, .72);
  --d-ink-3: rgba(255, 255, 255, .5);
  --d-line: rgba(255, 255, 255, .12);
  --d-line-strong: rgba(255, 255, 255, .22);
  --steel: #8fa8cc;
  --sand: #f1eee8;
  --sand-line: rgba(17, 17, 18, .14);

  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Inter", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, Consolas, monospace;

  --ease: cubic-bezier(.2, .7, .1, 1);
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --max: 1240px;
  --space: clamp(5rem, 12vw, 10rem);
  --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, .04), inset 0 1px 0 0 rgba(255, 255, 255, .6);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--black);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
svg { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

.skip {
  position: fixed; top: .75rem; left: .75rem; z-index: 2000;
  padding: .6rem 1rem; border-radius: 999px; background: #fff; color: var(--ink);
  font-size: .85rem; text-decoration: none; transform: translateY(-200%);
}
.skip:focus { transform: none; }

:focus-visible { outline: 2px solid #007aff; outline-offset: 3px; border-radius: 6px; }

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

/* ── Einblenden ─────────────────────────────────────────────────────────── */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s var(--ease), transform .9s var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
}
.js [data-reveal].is-revealed { opacity: 1; transform: none; }

/* ── Etikett mit der geraden blauen Linie ───────────────────────────────── */
.eyebrow {
  display: inline-flex; align-items: center; gap: .7rem;
  margin-bottom: 1.25rem;
  font-family: var(--mono); font-size: .72rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--ink-3);
}
.eyebrow::before { content: ""; width: 3px; height: .95rem; background: var(--blue); }

/* ── Abschnittskopf ─────────────────────────────────────────────────────── */
.sh { max-width: 54rem; }
.sh--center { margin-inline: auto; text-align: center; }
.sh__title {
  font-size: clamp(2.1rem, 5.4vw, 4.4rem);
  font-weight: 600; line-height: 1.04; letter-spacing: -.035em; text-wrap: balance;
}
.sh__sub {
  margin-top: 1.5rem; max-width: 38rem;
  font-size: clamp(1.02rem, 1.4vw, 1.22rem); line-height: 1.5; color: var(--ink-2);
}
.sh--center .sh__sub { margin-inline: auto; }
.sh--dark .eyebrow { color: var(--d-ink-3); }
.sh--dark .sh__title { color: var(--d-ink); }
.sh--dark .sh__sub { color: var(--d-ink-2); }

/* ── Knöpfe ─────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 3rem; padding: 0 1.6rem;
  border: 1px solid transparent; border-radius: 980px;
  font-size: .95rem; font-weight: 500; text-decoration: none; white-space: nowrap;
  transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease);
}
.btn svg { width: 1rem; height: 1rem; transition: transform .4s var(--ease); }
.btn:active { transform: scale(.97); }
.btn--light { background: #fff; color: #000; }
.btn--light:hover { background: rgba(255, 255, 255, .86); }
.btn--ghost { border-color: var(--d-line-strong); color: var(--d-ink); }
.btn--ghost:hover { border-color: #fff; }
.btn--ghost:hover svg { transform: translateY(3px); }

/* ── Navigation ─────────────────────────────────────────────────────────── */
.nav {
  position: fixed; top: .85rem; left: 50%; z-index: 1000;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  width: min(47rem, calc(100% - 1.5rem)); height: 3.25rem; padding: 0 .45rem 0 1.4rem;
  border: 1px solid var(--d-line-strong); border-radius: 999px;
  background: rgba(20, 20, 22, .55); color: var(--d-ink);
  -webkit-backdrop-filter: blur(40px) saturate(1.5); backdrop-filter: blur(40px) saturate(1.5);
  box-shadow: 0 4px 24px rgba(0, 0, 0, .28);
  transform: translateX(-50%);
  transition: width .5s var(--ease), top .5s var(--ease), border-radius .5s var(--ease), padding .5s var(--ease),
    background-color .5s var(--ease), border-color .5s var(--ease), color .4s var(--ease), box-shadow .5s var(--ease);
}
.nav.is-docked {
  top: 0; width: 100%; padding: 0 var(--gutter);
  border-radius: 0; border-color: transparent; border-bottom-color: var(--d-line);
  background: rgba(0, 0, 0, .82); box-shadow: none;
}
.nav.is-light {
  border-color: rgba(0, 0, 0, .08); background: rgba(255, 255, 255, .72); color: var(--ink);
  box-shadow: 0 4px 24px rgba(0, 0, 0, .06);
}
.nav.is-light.is-docked { border-color: transparent; border-bottom-color: rgba(0, 0, 0, .1); background: rgba(255, 255, 255, .85); box-shadow: none; }

.nav__brand { font-size: .8rem; font-weight: 700; letter-spacing: .35em; text-decoration: none; }
.nav__list { display: flex; align-items: center; gap: .15rem; }
.nav__link {
  display: block; padding: .55rem .8rem; border-radius: 999px;
  font-family: var(--mono); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; text-decoration: none; white-space: nowrap;
  opacity: .55;
  transition: opacity .3s var(--ease), background-color .3s var(--ease);
}
.nav__link:hover { opacity: 1; }
.nav__link[aria-current="true"] { opacity: 1; background: rgba(255, 255, 255, .12); }
.nav.is-light .nav__link[aria-current="true"] { background: rgba(0, 0, 0, .06); }
.nav__cta {
  padding: .58rem 1.1rem; border-radius: 999px; background: #fff; color: #000;
  font-size: .82rem; font-weight: 500; text-decoration: none; white-space: nowrap;
  transition: background-color .3s var(--ease), color .3s var(--ease);
}
.nav.is-light .nav__cta { background: var(--ink); color: #fff; }

/* ── Hero ───────────────────────────────────────────────────────────────── */
.hero {
  position: relative; display: flex; align-items: flex-end;
  min-height: 100vh; min-height: 100svh; overflow: hidden;
  background: var(--black); color: var(--d-ink);
}
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__shade {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(38% 46% at 76% 26%, rgba(10, 110, 209, .16), transparent 72%),
    linear-gradient(to top, #000 0%, rgba(0, 0, 0, .55) 26%, transparent 58%);
}
.hero__content {
  position: relative; width: 100%; max-width: var(--max); margin: 0 auto;
  padding: 7rem var(--gutter) 8rem;
  animation: hero-in 1.2s var(--ease) both;
}
@keyframes hero-in { from { opacity: 0; transform: translateY(24px); } }
.hero .eyebrow { color: var(--d-ink-3); }
.hero__title {
  max-width: 11.5em;
  font-size: clamp(2.5rem, 6vw, 5.4rem);
  font-weight: 600; line-height: 1; letter-spacing: -.04em; text-wrap: balance;
}
.hero__text { margin-top: 1.75rem; max-width: 34rem; font-size: clamp(1.02rem, 1.4vw, 1.22rem); color: var(--d-ink-2); }
.hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2.25rem; }
.hero__topics {
  display: flex; flex-wrap: wrap; gap: .5rem 1.75rem; margin-top: 2.75rem;
  font-family: var(--mono); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--d-ink-3);
}

/* ── Abschnitte ─────────────────────────────────────────────────────────── */
.section { position: relative; padding: var(--space) 0; background: var(--paper); scroll-margin-top: 3rem; }
.section--sheet { margin-top: -2.25rem; border-radius: 2.25rem 2.25rem 0 0; }
.section--dark { background: var(--black); color: var(--d-ink); }
.section--sand { background: var(--sand); }
.section--chapters { padding-bottom: 0; }
.section--faq { padding-top: 0; }

/* ── Produktbühne ───────────────────────────────────────────────────────── */
.stage { overflow: hidden; }
.stage__frame {
  --p: 1;
  width: min(1080px, calc(100% - 2 * var(--gutter)));
  margin: clamp(3rem, 7vw, 5.5rem) auto 0;
  transform: scale(calc(.86 + .14 * var(--p))) translateY(calc((1 - var(--p)) * 60px));
  transform-origin: 50% 0;
  opacity: calc(.35 + .65 * var(--p));
  will-change: transform;
}
.ui {
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, .08); border-radius: 22px;
  background: linear-gradient(160deg, #f3f5fa, #fbfbfd 45%, #f1f3f8);
  box-shadow: 0 1px 3px rgba(0, 0, 0, .06), 0 40px 90px -30px rgba(20, 30, 70, .28);
  font-size: .875rem; text-align: left;
}
.ui__shell {
  position: relative; display: flex; align-items: center; justify-content: center; height: 2.75rem;
  border-bottom: .5px solid rgba(0, 0, 0, .1); background: rgba(255, 255, 255, .85);
}
.ui__logo { position: absolute; left: 1.25rem; font-size: .95rem; font-weight: 700; letter-spacing: -.05em; }
.ui__search {
  display: flex; align-items: center; gap: .45rem; width: min(17rem, 46%); height: 1.75rem; padding: 0 .75rem;
  border-radius: 999px; background: var(--fill); color: var(--ink-4); font-size: .75rem;
}
.ui__search svg { width: .8rem; height: .8rem; }
.ui__body { display: flex; }
.ui__side { display: flex; flex-direction: column; gap: .4rem; padding: 1rem .6rem; border-right: 1px solid rgba(0, 0, 0, .05); }
.ui__side span { display: grid; place-items: center; width: 2.1rem; height: 2.1rem; border-radius: 10px; color: var(--ink-3); }
.ui__side span.is-on { background: rgba(10, 110, 209, .1); color: var(--blue); }
.ui__side svg { width: 1.05rem; height: 1.05rem; }
.ui__page { flex: 1; min-width: 0; padding: 1.25rem clamp(.9rem, 2.4vw, 1.75rem) 1.75rem; }
.ui__crumb { display: flex; align-items: center; gap: .45rem; font-size: .8rem; color: var(--ink-3); }
.ui__crumb svg { width: 1rem; height: 1rem; color: #007aff; }
.ui__crumb i { font-style: normal; color: #c7c7cc; }
.ui__crumb b { font-weight: 600; color: var(--ink); }
.ui__flow { display: flex; flex-wrap: wrap; align-items: center; gap: .3rem .55rem; margin: .7rem 0 1.1rem; font-size: .74rem; color: var(--ink-4); }
.ui__flow i { font-style: normal; color: #c7c7cc; }
.ui__flow span { display: inline-flex; align-items: center; gap: .35rem; }
.ui__flow span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #d1d1d6; }
.ui__flow .is-done { color: var(--ink-2); }
.ui__flow .is-done::before { background: var(--green); }
.ui__flow .is-now { color: var(--ink); font-weight: 600; }
.ui__flow .is-now::before { background: var(--blue); }
.ui__panel {
  border: 1px solid rgba(255, 255, 255, .5); border-radius: 16px;
  background: rgba(255, 255, 255, .65);
  -webkit-backdrop-filter: blur(25px) saturate(180%); backdrop-filter: blur(25px) saturate(180%);
  box-shadow: var(--glass-shadow);
  padding: 0 clamp(.75rem, 2vw, 1.5rem) 1.25rem;
}
.ui__panelhead { display: flex; align-items: center; justify-content: space-between; padding: 1.1rem 0; }
.ui__title { font-size: 1.05rem; font-weight: 600; letter-spacing: -.01em; }
.ui__title em { margin-left: .4rem; padding: .1rem .5rem; border-radius: 999px; background: var(--fill); font-size: .72rem; font-style: normal; font-weight: 600; color: var(--ink-3); }
.ui__tools { display: flex; gap: .5rem; }
.ui__icon { display: grid; place-items: center; width: 2.3rem; height: 2.3rem; border-radius: 50%; background: #f0f0f4; color: var(--ink-3); }
.ui__icon svg { width: 1.05rem; height: 1.05rem; }
.ui__icon--primary { background: var(--blue); color: #fff; }

.ui__table { width: 100%; border-collapse: collapse; font-size: .875rem; }
.ui__table th {
  padding: .75rem .6rem; border-bottom: 1.5px solid var(--line); text-align: left; white-space: nowrap;
  font-size: .66rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3);
}
.ui__table td { padding: .82rem .6rem; border-bottom: 1px solid var(--line-soft); white-space: nowrap; }
.ui__table .ui-num { text-align: right; font-variant-numeric: tabular-nums; }
.ui__table--tight td { padding: .65rem .6rem; }
.ui__group td { padding: 1.1rem 0 0; border: 0; }
.ui__group span {
  display: block; padding: .5rem .75rem; border-left: 3px solid var(--blue); border-bottom: 1.5px solid var(--line); background: #f6f6f9;
  font-size: .76rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
}
.st { font-weight: 600; }
.st--green { color: var(--green); } .st--blue { color: var(--blue); } .st--gray { color: var(--ink-3); }
.st--red { color: var(--red); } .st--yellow { color: var(--yellow); }

.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.5rem, 4vw, 4rem); margin-top: clamp(3.5rem, 8vw, 6rem); }
.facts li { padding-top: 1.4rem; border-top: 1px solid var(--line); }
.facts b { display: block; margin-bottom: .5rem; font-size: 1.2rem; font-weight: 600; letter-spacing: -.02em; }
.facts span { color: var(--ink-2); }

/* ── Kapitel ────────────────────────────────────────────────────────────── */
.ch { max-width: var(--max); margin: clamp(2rem, 5vw, 4rem) auto 0; padding: 0 var(--gutter); }
.ch__step { display: grid; gap: 2rem; padding: 2.5rem 0; }
.ch__index { margin-bottom: 1.25rem; font-family: var(--mono); font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); }
.ch__title { margin-bottom: 1.25rem; font-size: clamp(1.7rem, 2.9vw, 2.7rem); font-weight: 600; line-height: 1.08; letter-spacing: -.03em; text-wrap: balance; }
.ch__body { max-width: 30rem; margin-bottom: 1.75rem; font-size: clamp(1rem, 1.3vw, 1.14rem); line-height: 1.55; color: var(--ink-2); }
.ch__list { display: grid; gap: .55rem; font-size: .95rem; color: var(--ink); }
.ch__list li { display: flex; align-items: center; gap: .7rem; }
.ch__list li::before { content: ""; width: 3px; height: .9rem; background: var(--blue); }
.ch__media { order: -1; }

.card {
  padding: clamp(1.1rem, 2.4vw, 1.75rem);
  border: 1px solid rgba(255, 255, 255, .7); border-radius: 22px;
  background: rgba(255, 255, 255, .72);
  -webkit-backdrop-filter: blur(25px) saturate(180%); backdrop-filter: blur(25px) saturate(180%);
  box-shadow: 0 1px 3px rgba(0, 0, 0, .05), 0 30px 70px -30px rgba(20, 30, 70, .22), inset 0 1px 0 rgba(255, 255, 255, .7);
}
.card__label { margin-bottom: 1.1rem; font-size: .66rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.card__foot { margin-top: 1.1rem; font-size: .85rem; color: var(--d-ink-3); }

/* Belegfluss */
.flow { position: relative; display: grid; }
.flow li { position: relative; display: grid; grid-template-columns: 6.5rem minmax(0, 1fr) auto; align-items: baseline; gap: .75rem; padding: .7rem 0 .7rem 1.6rem; border-bottom: 1px solid var(--line-soft); color: var(--ink-4); }
.flow li::before { content: ""; position: absolute; left: .2rem; top: 1.15rem; width: 8px; height: 8px; border-radius: 50%; background: #d1d1d6; }
.flow li::after { content: ""; position: absolute; left: calc(.2rem + 3.5px); top: 1.9rem; bottom: -1rem; width: 1px; background: var(--line); }
.flow li:last-child::after { display: none; }
.flow b { font-weight: 600; }
.flow span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .875rem; }
.flow em { font-style: normal; font-size: .875rem; font-variant-numeric: tabular-nums; }
.flow .is-done { color: var(--ink-2); } .flow .is-done b { color: var(--ink); } .flow .is-done::before { background: var(--green); }
.flow .is-now { color: var(--ink); } .flow .is-now::before { background: var(--blue); box-shadow: 0 0 0 4px rgba(10, 110, 209, .15); }
.next { display: flex; align-items: center; gap: .9rem; margin-top: 1.25rem; padding: .8rem .8rem .8rem 1rem; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.next span { font-size: .66rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); white-space: nowrap; }
.next b { flex: 1; min-width: 0; font-size: .9rem; font-weight: 600; }
.next i { display: grid; place-items: center; flex-shrink: 0; width: 2.1rem; height: 2.1rem; border-radius: 50%; background: var(--blue); color: #fff; }
.next svg { width: 1rem; height: 1rem; }

/* Balken */
.bars { display: grid; gap: 1.05rem; }
.bar { display: grid; grid-template-columns: 1fr auto; gap: .45rem .75rem; font-size: .875rem; }
.bar em { font-style: normal; font-variant-numeric: tabular-nums; color: var(--ink-3); }
.bar i { grid-column: 1 / -1; position: relative; height: 6px; border-radius: 999px; background: #ececf0; overflow: hidden; }
.bar i::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: var(--ink); transform: scaleX(var(--v)); transform-origin: left; transition: transform 1.2s var(--ease) .15s; }
.bar--over em { color: var(--red); font-weight: 600; }
.bar--over i::after { background: var(--red); }
.js .ch__step:not(.is-active) .bar i::after { transform: scaleX(0); }

/* Hinweis – weiße Karte, gerade blaue Linie, nur das Symbol trägt die Farbe */
.hint { position: relative; display: flex; align-items: flex-start; gap: .75rem; margin-top: 1.4rem; padding: .8rem 1rem .8rem 1.6rem; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.hint::before { content: ""; position: absolute; left: .8rem; top: .85rem; bottom: .85rem; width: 3px; background: var(--blue); }
.hint > div { flex: 1; min-width: 0; }
.hint__icon { flex-shrink: 0; width: 1.15rem; height: 1.15rem; margin-top: 2px; }
.hint__icon--red { color: #ff3b30; } .hint__icon--yellow { color: #d49a00; }
.hint__label { margin-bottom: 3px; font-size: .66rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.hint__title { font-size: .92rem; font-weight: 600; }
.hint__text { font-size: .85rem; color: var(--ink-2); }
.hint__action { display: grid; place-items: center; flex-shrink: 0; align-self: center; width: 2.3rem; height: 2.3rem; border-radius: 50%; background: var(--blue); color: #fff; }
.hint__action svg { width: 1.05rem; height: 1.05rem; }

/* Kennzahlen */
.kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .6rem; margin-bottom: 1rem; }
.kpis div { padding: .85rem .9rem; border: 1px solid var(--line-soft); border-radius: 14px; background: #fff; }
.kpis span { display: block; margin-bottom: .3rem; font-size: .62rem; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-4); }
.kpis b { font-size: clamp(.95rem, 1.5vw, 1.25rem); font-weight: 600; letter-spacing: -.02em; white-space: nowrap; }

/* Kapazität */
.cap { display: grid; gap: .45rem; }
.cap__head, .cap__row { display: grid; grid-template-columns: 5.5rem repeat(5, minmax(0, 1fr)); align-items: center; gap: .45rem; }
.cap__head span { font-size: .66rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); text-align: center; }
.cap__row span { font-size: .875rem; white-space: nowrap; }
.cap i { height: 2.1rem; border-radius: 9px; background: #ececf0; }
.cap i[data-l="0"], .cap__legend i[data-l="0"] { background: repeating-linear-gradient(135deg, #f1f1f4 0 5px, #e3e3e8 5px 6px); }
.cap i[data-l="1"], .cap__legend i[data-l="1"] { background: rgba(10, 110, 209, .12); }
.cap i[data-l="2"] { background: rgba(10, 110, 209, .42); }
.cap i[data-l="3"], .cap__legend i[data-l="3"] { background: var(--blue); }
.cap__legend { display: flex; flex-wrap: wrap; align-items: center; gap: .45rem; margin-top: 1.1rem; font-size: .78rem; color: var(--ink-3); }
.cap__legend i { width: .8rem; height: .8rem; border-radius: 4px; }
.cap__legend i:not(:first-child) { margin-left: .8rem; }

/* ── Agenten: Reiter ────────────────────────────────────────────────────── */
.pt { margin-top: clamp(3rem, 6vw, 5rem); }
.pt__tabs { position: relative; display: inline-flex; max-width: 100%; margin-bottom: 1.5rem; padding: .3rem; border: 1px solid var(--d-line-strong); border-radius: 999px; background: rgba(255, 255, 255, .04); }
.pt__indicator { position: absolute; top: .3rem; bottom: .3rem; left: 0; width: var(--tab-w, 0); border-radius: 999px; background: #fff; transform: translateX(var(--tab-x, 0)); transition: transform .5s var(--ease), width .5s var(--ease); }
.pt__tab { position: relative; padding: .65rem 1.25rem; border: 0; border-radius: 999px; background: none; font-family: var(--mono); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; color: var(--d-ink-2); cursor: pointer; transition: color .3s var(--ease); }
.pt__tab[aria-selected="true"] { color: #000; }
.pt__stage { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); border: 1px solid var(--d-line); border-radius: 24px; background: radial-gradient(60% 80% at 50% 0%, rgba(10, 110, 209, .16), transparent 70%), var(--panel); overflow: hidden; }
.pt__visual { grid-area: 1 / 1; min-width: 0; display: grid; grid-template-columns: minmax(0, 1fr); justify-items: center; place-items: center; padding: clamp(1rem, 3vw, 2.5rem); opacity: 0; visibility: hidden; transform: scale(1.03); transition: opacity .7s var(--ease), transform .9s var(--ease), visibility 0s .7s; }
.pt__visual.is-active { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.pt__steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.5rem, 4vw, 4rem); margin-top: 2.5rem; }
.pt__step { padding-top: 1.5rem; border-top: 1px solid var(--d-line); cursor: pointer; transition: border-color .5s var(--ease), opacity .5s var(--ease); }
.js .pt__step:not(.is-active) { opacity: .45; }
.pt__step.is-active { border-top-color: #fff; }
.pt__number { margin-bottom: 1rem; font-family: var(--mono); font-size: .74rem; letter-spacing: .16em; color: var(--d-ink-3); }
.pt__title { margin-bottom: .75rem; font-size: clamp(1.25rem, 1.9vw, 1.6rem); font-weight: 600; letter-spacing: -.02em; }
.pt__text { color: var(--d-ink-2); }

.card--dark { width: min(34rem, 100%); border-color: var(--d-line-strong); background: rgba(255, 255, 255, .06); box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .8), inset 0 1px 0 rgba(255, 255, 255, .08); color: var(--d-ink); }
.card--dark .card__label { color: var(--d-ink-3); }
.hint--dark { margin-top: 0; border-color: var(--d-line-strong); background: rgba(255, 255, 255, .05); }
.hint--dark .hint__text { color: var(--d-ink-2); }

.queue { display: grid; grid-template-columns: minmax(0, 1fr); }
.queue li { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .75rem 0; border-bottom: 1px solid var(--d-line); }
.queue div { min-width: 0; }
.queue b { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .9rem; font-weight: 600; }
.queue span { font-size: .8rem; color: var(--d-ink-3); }
.queue em { flex-shrink: 0; font-family: var(--mono); font-size: .64rem; font-style: normal; letter-spacing: .1em; text-transform: uppercase; color: var(--d-ink-3); }
.queue .is-flag em { color: #ffd60a; }
.switch { display: flex; align-items: center; gap: .9rem; margin-top: 1.1rem; }
.switch__track { position: relative; flex-shrink: 0; width: 2.75rem; height: 1.6rem; border-radius: 999px; background: #34c759; }
.switch__track i { position: absolute; top: 2px; right: 2px; width: calc(1.6rem - 4px); height: calc(1.6rem - 4px); border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .3); }
.switch b { display: block; font-size: .9rem; font-weight: 600; }
.switch span { font-size: .8rem; color: var(--d-ink-3); }

.log { display: grid; grid-template-columns: minmax(0, 1fr); }
.log li { display: grid; grid-template-columns: 3rem minmax(0, 1fr); gap: .75rem; padding: .6rem 0; border-bottom: 1px solid var(--d-line); }
.log time { font-family: var(--mono); font-size: .72rem; color: var(--d-ink-3); padding-top: .15rem; }
.log b { display: block; font-size: .9rem; font-weight: 600; }
.log span { font-size: .8rem; color: var(--d-ink-3); }

.mcp { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(2rem, 6vw, 6rem); margin-top: var(--space); padding-top: clamp(2.5rem, 5vw, 4rem); border-top: 1px solid var(--d-line); }
.mcp .eyebrow { color: var(--d-ink-3); }
.mcp__title { font-size: clamp(1.6rem, 2.8vw, 2.5rem); font-weight: 600; line-height: 1.08; letter-spacing: -.03em; text-wrap: balance; }
.mcp__text { margin-top: 1.25rem; max-width: 30rem; color: var(--d-ink-2); }
.mcp__list li { display: grid; grid-template-columns: 11rem minmax(0, 1fr); gap: 1rem; padding: 1.1rem 0; border-bottom: 1px solid var(--d-line); }
.mcp__list li:first-child { border-top: 1px solid var(--d-line); }
.mcp__list b { font-family: var(--mono); font-size: .72rem; font-weight: 400; letter-spacing: .1em; text-transform: uppercase; padding-top: .2rem; }
.mcp__list span { color: var(--d-ink-2); }

/* ── Vertrauen ──────────────────────────────────────────────────────────── */
.trust { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(1.5rem, 3vw, 3rem); margin-top: clamp(3rem, 6vw, 5rem); }
.trust article { padding-top: 1.5rem; border-top: 1px solid var(--sand-line); }
.trust__no { margin-bottom: 2.5rem; font-family: var(--mono); font-size: .74rem; letter-spacing: .16em; color: rgba(17, 17, 18, .55); }
.trust h3 { margin-bottom: .75rem; font-size: 1.25rem; font-weight: 600; letter-spacing: -.02em; line-height: 1.2; }
.trust p:last-child { color: rgba(17, 17, 18, .7); }

/* ── Bereiche ───────────────────────────────────────────────────────────── */
.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-top: clamp(3rem, 6vw, 4.5rem); }
.tile {
  padding: 1.75rem;
  border: 1px solid rgba(0, 0, 0, .05); border-radius: 22px; background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .04), 0 4px 20px rgba(0, 0, 0, .03);
  transition: box-shadow .5s var(--ease), translate .5s var(--ease);
}
.tile:hover { translate: 0 -4px; box-shadow: 0 4px 12px rgba(0, 0, 0, .06), 0 24px 50px -20px rgba(20, 30, 70, .2); }
.tile svg { width: 1.6rem; height: 1.6rem; margin-bottom: 2.5rem; color: var(--blue); stroke-width: 1.4; }
.tile h3 { margin-bottom: .5rem; font-size: 1.25rem; font-weight: 600; letter-spacing: -.02em; }
.tile p { color: var(--ink-2); }

/* ── Fragen ─────────────────────────────────────────────────────────────── */
.faq { margin-top: clamp(2rem, 4vw, 3rem); border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: 1.4rem 0; font-size: clamp(1.05rem, 1.5vw, 1.25rem); font-weight: 600; letter-spacing: -.015em; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex-shrink: 0; width: .7rem; height: .7rem; border-right: 1.6px solid var(--ink-3); border-bottom: 1.6px solid var(--ink-3); transform: translateY(-25%) rotate(45deg); transition: transform .4s var(--ease); }
.faq details[open] summary::after { transform: translateY(25%) rotate(-135deg); }
.faq details p { max-width: 42rem; padding-bottom: 1.6rem; color: var(--ink-2); animation: faq-open .5s var(--ease); }
@keyframes faq-open { from { opacity: 0; transform: translateY(-6px); } }

/* ── Abschluss und Fuß ──────────────────────────────────────────────────── */
.cta { background: radial-gradient(50% 60% at 50% 100%, rgba(10, 110, 209, .22), transparent 70%), var(--black); }
.cta__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; margin-top: 2.5rem; }
.footer { background: var(--black); color: var(--d-ink-3); border-top: 1px solid var(--d-line); }
.footer__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem 3rem; padding-top: 2.5rem; padding-bottom: 2.5rem; font-size: .85rem; }
.footer__brand { font-size: .8rem; font-weight: 700; letter-spacing: .35em; color: var(--d-ink); }
.footer__sub { margin-top: .35rem; }
.footer__nav { display: flex; flex-wrap: wrap; gap: .5rem 1.75rem; }
.footer__nav a { text-decoration: none; transition: color .3s var(--ease); }
.footer__nav a:hover { color: var(--d-ink); }

/* ── Rechtliches ────────────────────────────────────────────────────────── */
.legal { min-height: 100vh; padding: clamp(8rem, 14vw, 11rem) 0 var(--space); background: var(--paper); }
.legal h1 { margin-bottom: clamp(2.5rem, 5vw, 4rem); font-size: clamp(2.1rem, 5vw, 3.6rem); font-weight: 600; line-height: 1.04; letter-spacing: -.035em; }
.legal h2 { margin: 2.75rem 0 .9rem; padding-top: 1.5rem; border-top: 1px solid var(--line); font-size: 1.25rem; font-weight: 600; letter-spacing: -.02em; }
.legal h3 { margin: 1.5rem 0 .5rem; font-size: 1rem; font-weight: 600; }
.legal p, .legal li, .legal address { max-width: 42rem; font-style: normal; color: var(--ink-2); }
.legal p + p, .legal address + p { margin-top: .9rem; }
.legal ul { display: grid; gap: .4rem; margin: .75rem 0; }
.legal li { display: flex; gap: .7rem; }
.legal li::before { content: ""; flex-shrink: 0; width: 3px; height: .9rem; margin-top: .35rem; background: var(--blue); }
.legal a { color: var(--blue); text-decoration: none; }
.legal a:hover { text-decoration: underline; }
.legal b { font-weight: 600; color: var(--ink); }
.legal__back { display: inline-block; margin-top: 3.5rem; font-family: var(--mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; }

/* ── Breite Ansicht: Kapitel bleiben stehen, Inaktives tritt zurück ──────── */
@media (min-width: 900px) {
  .ch__step { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; min-height: 120vh; padding: 0 0 clamp(7rem, 22vh, 14rem); }
  .ch__step:last-child { min-height: 100vh; padding-bottom: 0; }
  .ch__media { order: 0; }
  .ch__text, .ch__media { position: sticky; transition: opacity .6s var(--ease), transform .8s var(--ease); }
  .ch__text { top: calc(50vh - 11rem); }
  .ch__media { top: calc(50vh - 13.5rem); }
  .js .ch__step:not(.is-active) .ch__text { opacity: .12; }
  .js .ch__step:not(.is-active) .ch__media { opacity: .18; transform: scale(.96); }
}

@media (max-width: 899px) {
  .nav__list { display: none; }
  .hero__content { padding-top: 22rem; padding-bottom: 6rem; }
  .facts, .trust, .pt__steps { grid-template-columns: 1fr; gap: 0; }
  .facts li, .trust article, .pt__step { padding: 1.5rem 0; }
  .trust__no { margin-bottom: 1rem; }
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mcp { grid-template-columns: 1fr; }
  .pt__tabs { display: flex; }
  .pt__tab { flex: 1 1 auto; padding-inline: .45rem; font-size: .6rem; letter-spacing: .06em; }
  .section--sheet { margin-top: -1.5rem; border-radius: 1.5rem 1.5rem 0 0; }
}

@media (max-width: 600px) {
  .ui__side, .ui-hide { display: none; }
  .ui__table th, .ui__table td { padding-inline: .35rem; font-size: .8rem; }
  .ui__table th { font-size: .6rem; }
  .tiles { grid-template-columns: 1fr; }
  .tile svg { margin-bottom: 1.5rem; }
  .kpis { grid-template-columns: 1fr 1fr; }
  .kpis div:first-child { grid-column: 1 / -1; }
  .flow li { grid-template-columns: 5rem minmax(0, 1fr); }
  .flow em { display: none; }
  .mcp__list li { grid-template-columns: 1fr; gap: .35rem; }
  .cap__head, .cap__row { grid-template-columns: 4.6rem repeat(5, minmax(0, 1fr)); gap: .3rem; }
  .cap__row span { font-size: .78rem; }
  .next span { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
  .stage__frame { transform: none; opacity: 1; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0ms !important; }
}
