/* TESSAR — Animated Site v2.1
 * Variante A: Pearl-Haupt mit eingebetteten Anthrazit-Inseln (Hero-Diagramm,
 * Pricing-Demo, Stimme-Statement, Footer).
 *
 * Surface-Tokens werden über `.surface-anthrazit` umgekippt; alle Komponenten
 * referenzieren --surface-*, damit ein und derselbe Component-Code auf Pearl
 * und auf Anthrazit funktioniert.
 */

:root {
  /* Pearl-Surface (default) */
  --surface-bg: var(--brand-paper);
  --surface-fg-strong: var(--brand-anthrazit);
  --surface-fg: var(--grau-700);
  --surface-fg-muted: var(--grau-500);
  --surface-line-soft: rgba(31, 30, 28, 0.08);
  --surface-line: rgba(31, 30, 28, 0.16);
  --surface-line-strong: rgba(31, 30, 28, 0.32);
  --surface-panel: var(--grau-100);
  --surface-tint: rgba(31, 30, 28, 0.03);
  --surface-tint-strong: rgba(31, 30, 28, 0.06);
  --surface-accent: var(--brand-accent);
  --surface-accent-soft: var(--brand-accent);
}

.surface-anthrazit, body.surface-anthrazit {
  --surface-bg: var(--brand-anthrazit);
  --surface-fg-strong: var(--brand-paper);
  --surface-fg: rgba(246, 244, 238, 0.78);
  --surface-fg-muted: rgba(246, 244, 238, 0.5);
  --surface-line-soft: rgba(246, 244, 238, 0.08);
  --surface-line: rgba(246, 244, 238, 0.18);
  --surface-line-strong: rgba(246, 244, 238, 0.32);
  --surface-panel: rgba(246, 244, 238, 0.03);
  --surface-tint: rgba(246, 244, 238, 0.04);
  --surface-tint-strong: rgba(246, 244, 238, 0.08);
  --surface-accent: var(--brand-accent);
  --surface-accent-soft: var(--brand-accent-soft);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--surface-bg);
  color: var(--surface-fg);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
::selection { background: var(--brand-accent); color: var(--brand-paper); }
a { color: inherit; text-decoration: none; }

.shell {
  width: min(100% - 64px, 1280px);
  margin: 0 auto;
}
@media (max-width: 768px) {
  .shell { width: calc(100% - 32px); }
}

/* ─── Intro splash (Anthrazit) ──────────────────────────────────── */
.splash {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: var(--brand-anthrazit);
  pointer-events: all;
  overflow: hidden;
}
.splash.exit {
  transition: transform 900ms cubic-bezier(.7,.0,.2,1);
  transform: translateY(-100%);
}
.splash::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--brand-anchor);
  transform-origin: left center;
  transform: scaleX(0);
  animation: splashAnchor 900ms cubic-bezier(.22,.61,.36,1) 200ms forwards;
}
.splash::after {
  content: "";
  position: absolute;
  top: calc(50% + 4px);
  left: 0;
  right: 0;
  height: 1px;
  background: rgba(246, 244, 238, 0.25);
  transform-origin: left center;
  transform: scaleX(0);
  animation: splashAnchor 1100ms cubic-bezier(.22,.61,.36,1) 400ms forwards;
}
@keyframes splashAnchor { to { transform: scaleX(1); } }

.splash-mark {
  position: absolute;
  left: 50%;
  top: calc(50% - 36px);
  transform: translateX(-50%);
  width: max-content;
  white-space: nowrap;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: clamp(24px, 8.5vw, 42px);
  letter-spacing: 0.34em;
  /* letter-spacing fügt rechts vom R einen Leerraum an -> optisch nach links
     versetzt. padding-left gleicht das aus, damit "TESSAR" echt zentriert wirkt. */
  padding-left: 0.34em;
  color: var(--brand-paper);
  opacity: 0;
  animation: splashMarkIn 700ms cubic-bezier(.22,.61,.36,1) 1050ms forwards;
}
@keyframes splashMarkIn {
  from { opacity: 0; transform: translateX(-50%) translateY(8px); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}
.splash-mark span {
  display: inline-block;
  opacity: 0;
  transform: translateY(20px);
  animation: splashChar 600ms cubic-bezier(.22,.61,.36,1) forwards;
  animation-delay: calc(1050ms + var(--i, 0) * 60ms);
}
@keyframes splashChar { to { opacity: 1; transform: translateY(0); } }
.splash-sub {
  position: absolute;
  top: calc(50% + 32px);
  left: 50%;
  transform: translateX(-50%);
  width: max-content;
  max-width: calc(100vw - 32px);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(246, 244, 238, 0.5);
  opacity: 0;
  animation: splashSubIn 700ms cubic-bezier(.22,.61,.36,1) 1500ms forwards;
  white-space: nowrap;
}
@keyframes splashSubIn { to { opacity: 1; } }

/* Splash: Wortmarke skaliert per vw (font-size clamp) und kann daher nie zu
   breit werden; "TESSAR" bleibt auf jedem Phone einzeilig & zentriert.
   Kein max-width-Klammern mehr (das kämpfte mit white-space:nowrap). */
@media (max-width: 560px) {
  .splash-mark { letter-spacing: 0.26em; padding-left: 0.26em; }
  .splash-sub { font-size: 10px; letter-spacing: 0.18em; }
}

/* ─── Page transition wipe ─────────────────────────────────────── */
.wipe {
  position: fixed;
  inset: 0;
  z-index: 180;
  background: var(--brand-anthrazit);
  transform-origin: bottom center;
  transform: scaleY(0);
  pointer-events: none;
}
.wipe.in {
  transform: scaleY(1);
  transform-origin: bottom center;
  transition: transform 360ms cubic-bezier(.7,.0,.2,1);
}
.wipe.out {
  transform: scaleY(1);
  transform-origin: top center;
  animation: wipeOut 440ms cubic-bezier(.22,.61,.36,1) forwards;
}
@keyframes wipeOut {
  from { transform: scaleY(1); transform-origin: top center; }
  to   { transform: scaleY(0); transform-origin: top center; }
}
.wipe-anchor {
  position: absolute;
  inset: 50% 0 auto 0;
  height: 3px;
  background: var(--brand-anchor);
  transform-origin: left center;
  transform: scaleX(0);
}
.wipe.in .wipe-anchor {
  animation: wipeAnchor 320ms cubic-bezier(.22,.61,.36,1) 60ms forwards;
}
@keyframes wipeAnchor { to { transform: scaleX(1); } }

/* ─── Top nav (on Pearl) ───────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  padding: 24px 0;
  background: linear-gradient(to bottom, rgba(246, 244, 238, 0.88), rgba(246, 244, 238, 0));
  transition: padding 240ms ease-out, background 240ms ease-out, border-color 240ms ease-out;
  border-bottom: 1px solid transparent;
}
.nav[data-scrolled="true"] {
  padding: 14px 0;
  background: rgba(246, 244, 238, 0.96);
  border-bottom-color: rgba(31, 30, 28, 0.08);
}
.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav-wordmark {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.32em;
  color: var(--brand-anthrazit);
  display: inline-flex;
  align-items: center;
  gap: 14px;
}
.nav-wordmark .dot {
  width: 6px; height: 6px;
  background: var(--brand-accent);
}
.nav-links {
  display: flex;
  gap: 28px;
  font-size: 13px;
  letter-spacing: 0.04em;
}
.nav-links a {
  position: relative;
  color: var(--grau-500);
  padding: 6px 0;
  transition: color 150ms ease-out;
  cursor: pointer;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--brand-accent);
  transform-origin: left center;
  transform: scaleX(0);
  transition: transform 240ms cubic-bezier(.22,.61,.36,1);
}
.nav-links a:hover { color: var(--brand-anthrazit); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-cta {
  font-size: 13px;
  letter-spacing: 0.04em;
  padding: 10px 18px;
  background: var(--brand-anthrazit);
  color: var(--brand-paper);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: background 150ms ease-out;
  cursor: pointer;
}
.nav-cta:hover { background: var(--brand-accent); }
.nav-cta .arrow { width: 14px; height: 1px; background: currentColor; position: relative; }
.nav-cta .arrow::after {
  content: "";
  position: absolute;
  right: 0; top: 50%;
  width: 5px; height: 5px;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  transform: translateY(-50%) rotate(45deg);
}
@media (max-width: 900px) {
  .nav-links { display: none; }
}

/* ─── Scroll progress rail (Pearl variant) ─────────────────────── */
.progress-rail {
  position: fixed;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 49;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--grau-500);
  pointer-events: none;
}
.progress-rail::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 4px;
  bottom: 4px;
  width: 1px;
  background: rgba(31, 30, 28, 0.12);
}
.progress-rail::after {
  content: "";
  position: absolute;
  left: 7px;
  top: 4px;
  height: calc(var(--p, 0) * 100%);
  max-height: calc(100% - 8px);
  width: 1px;
  background: var(--brand-accent);
  transition: height 80ms linear;
}
.rail-stop {
  display: flex;
  align-items: center;
  gap: 14px;
  pointer-events: auto;
  cursor: pointer;
  transition: color 200ms ease-out;
  background: transparent;
  border: 0;
  font-family: inherit;
  font-size: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
  color: inherit;
  padding: 0;
}
.rail-stop .dot {
  width: 6px; height: 6px;
  margin-left: 4px;
  background: rgba(31, 30, 28, 0.2);
  flex: 0 0 auto;
  transition: background 200ms ease-out, transform 200ms ease-out;
}
.rail-stop.active .dot { background: var(--brand-accent); transform: scale(1.6); }
.rail-stop.active { color: var(--brand-anthrazit); }
.rail-stop:hover { color: var(--brand-anthrazit); }
.rail-label {
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity 240ms ease-out, transform 240ms ease-out;
}
.rail-stop:hover .rail-label,
.rail-stop.active .rail-label { opacity: 1; transform: translateX(0); }
@media (max-width: 1080px) { .progress-rail { display: none; } }

/* When the rail sits over an Anthrazit-island section, flip its colors. */
body.over-dark .progress-rail { color: rgba(246, 244, 238, 0.5); }
body.over-dark .progress-rail::before { background: rgba(246, 244, 238, 0.12); }
body.over-dark .rail-stop .dot { background: rgba(246, 244, 238, 0.2); }
body.over-dark .rail-stop.active { color: var(--brand-paper); }
body.over-dark .rail-stop:hover { color: var(--brand-paper); }

/* ─── Sticky CTA (Pearl variant) ───────────────────────────────── */
.sticky-cta {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 48;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 14px 22px;
  background: var(--brand-anthrazit);
  color: var(--brand-paper);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.02em;
  border: 0;
  cursor: pointer;
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition: opacity 360ms cubic-bezier(.22,.61,.36,1),
              transform 360ms cubic-bezier(.22,.61,.36,1),
              background 150ms ease-out;
}
.sticky-cta.visible {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}
.sticky-cta:hover { background: var(--brand-accent); }
.sticky-cta .arrow {
  display: inline-block;
  width: 18px; height: 1px;
  background: currentColor;
  position: relative;
  transition: transform 240ms cubic-bezier(.22,.61,.36,1);
}
.sticky-cta .arrow::after {
  content: "";
  position: absolute;
  right: 0; top: 50%;
  width: 5px; height: 5px;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  transform: translateY(-50%) rotate(45deg);
}
.sticky-cta:hover .arrow { transform: translateX(4px); }
.sticky-cta .pulse {
  width: 6px; height: 6px;
  background: var(--brand-accent-soft);
  position: relative;
}
.sticky-cta .pulse::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--brand-accent-soft);
  animation: pulse 2.4s ease-out infinite;
}
@keyframes pulse {
  0% { transform: scale(1); opacity: 0.7; }
  100% { transform: scale(4); opacity: 0; }
}

/* ─── Hero (Variante A: Pearl-Haupt + Anthrazit-Insel rechts) ─── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 160px 0 100px 0;
  overflow: hidden;
  background: var(--brand-paper);
  color: var(--grau-700);
}
/* Brand-Anker (3px-Gradient) am oberen Rand des Hero */
.hero::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--brand-anchor);
  transform-origin: left center;
  transform: scaleX(0);
  animation: heroAnchor 1.4s cubic-bezier(.22,.61,.36,1) 0.4s forwards;
}
@keyframes heroAnchor { to { transform: scaleX(1); } }
.hero::after {
  content: "";
  position: absolute;
  top: 3px; left: 0; right: 0;
  height: 1px;
  background: rgba(31, 30, 28, 0.12);
  transform-origin: left center;
  transform: scaleX(0);
  animation: heroAnchor 1.6s cubic-bezier(.22,.61,.36,1) 0.6s forwards;
}
.hero-grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(31, 30, 28, 0.03) 1px, transparent 1px);
  background-size: calc((min(100%, 1280px) - 24px*11) / 12 + 24px) 100%;
  background-position: center;
  opacity: 0;
  animation: gridIn 1.2s ease-out 0.6s forwards;
}
@keyframes gridIn { to { opacity: 1; } }

.hero-shell { width: min(100% - 64px, 1280px); margin: 0 auto; }
.hero-cols {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
@media (max-width: 1080px) {
  .hero-cols { grid-template-columns: 1fr; gap: 48px; }
}

.hero-overline {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--grau-500);
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 48px;
  opacity: 0;
  animation: heroFade 800ms cubic-bezier(.22,.61,.36,1) 100ms forwards;
}
.hero-overline .pulse {
  width: 6px; height: 6px;
  background: var(--brand-accent);
  position: relative;
}
.hero-overline .pulse::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--brand-accent);
  animation: pulse 2.4s ease-out infinite;
}
@keyframes heroFade { to { opacity: 1; } }

.hero-h1 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: -0.022em;
  margin: 0 0 36px 0;
  font-variation-settings: "opsz" 144;
  color: var(--brand-anthrazit);
}
.hero-h1.h1-sm {
  font-size: calc(clamp(40px, 5.4vw, 80px) * var(--type-scale, 1));
}
.hero-h1 .word {
  display: inline-block;
  vertical-align: top;
  margin-right: 0.28em;
  line-height: 1.12;
}
.hero-h1 .word > span {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.42em);
  transition: opacity 0.8s ease, transform 0.9s cubic-bezier(.2,.7,.2,1);
  transition-delay: calc(var(--i, 0) * 55ms);
}
.hero-h1.in .word > span { opacity: 1; transform: translateY(0); }
.hero-h1 em {
  font-style: normal;
  font-family: inherit;
  font-weight: 400;
  color: var(--brand-accent);
  position: relative;
}
.hero-h1 em::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  bottom: 0.12em;
  height: 3px;
  background: var(--brand-anchor);
  transform-origin: left center;
  transform: scaleX(0);
  transition: transform 1s cubic-bezier(.22,.61,.36,1);
  transition-delay: 1.2s;
}
.hero-h1.in em::after { transform: scaleX(1); }

.hero-sub {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  max-width: 520px;
  color: var(--grau-700);
  margin: 0 0 36px 0;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 800ms ease-out 1.0s, transform 800ms cubic-bezier(.2,.7,.2,1) 1.0s;
}
.hero-h1.in ~ .hero-sub { opacity: 1; transform: none; }

.hero-cta-row {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 800ms ease-out 1.2s, transform 800ms cubic-bezier(.2,.7,.2,1) 1.2s;
}
.hero-h1.in ~ .hero-cta-row { opacity: 1; transform: none; }

/* CTAs — on Pearl: anthracite-filled primary, outlined secondary */
.btn-magnetic {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 18px 28px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.02em;
  background: var(--brand-anthrazit);
  color: var(--brand-paper);
  border: 0;
  cursor: pointer;
  overflow: hidden;
  transition: background 200ms ease-out;
  will-change: transform;
}
.btn-magnetic:hover { background: var(--brand-accent); }
.btn-magnetic .inner { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 14px; }
.btn-magnetic .arrow {
  display: inline-block;
  width: 22px; height: 1px;
  background: currentColor;
  position: relative;
  transition: transform 240ms cubic-bezier(.22,.61,.36,1);
}
.btn-magnetic .arrow::after {
  content: "";
  position: absolute;
  right: 0; top: 50%;
  width: 6px; height: 6px;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  transform: translateY(-50%) rotate(45deg);
}
.btn-magnetic:hover .arrow { transform: translateX(4px); }

.btn-ghost {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 18px 22px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.02em;
  color: var(--brand-anthrazit);
  background: transparent;
  border: 1px solid rgba(31, 30, 28, 0.22);
  cursor: pointer;
  transition: background 200ms ease-out, border-color 200ms ease-out;
}
.btn-ghost:hover { background: rgba(31, 30, 28, 0.04); border-color: var(--brand-anthrazit); }

/* Hero-right: Anthrazit-Insel mit Live-Diagramm */
.hero-right {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 900ms cubic-bezier(.22,.61,.36,1) 0.4s,
              transform 900ms cubic-bezier(.22,.61,.36,1) 0.4s;
}
.hero-right.in { opacity: 1; transform: none; }

.diagram {
  background: var(--brand-anthrazit);
  color: var(--brand-paper);
  border: 0;
  font-family: var(--font-mono);
  font-size: 12px;
  position: relative;
}
.diagram-strip {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  border-bottom: 1px solid rgba(246, 244, 238, 0.1);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.diagram-strip .dot {
  width: 6px; height: 6px;
  background: var(--brand-accent-soft);
  display: inline-block;
  position: relative;
}
.diagram-strip .dot::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--brand-accent-soft);
  animation: pulse 2.4s ease-out infinite;
}
.diagram-strip-label { color: rgba(246, 244, 238, 0.55); flex: 1; }
.diagram-strip-time { color: var(--brand-paper); font-variant-numeric: tabular-nums; }

.diagram-body {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
}
.diagram-flow {
  position: relative;
  padding: 24px 20px;
  border-right: 1px solid rgba(246, 244, 238, 0.1);
}
.diagram-svg {
  position: absolute;
  left: 28px;
  top: 24px;
  bottom: 24px;
  width: 4px;
  height: calc(100% - 48px);
}
.diagram-node {
  display: grid;
  grid-template-columns: 24px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 14px 0;
  position: relative;
}
.diagram-node + .diagram-node { border-top: 1px dashed rgba(246, 244, 238, 0.08); }
.diagram-node-dot {
  width: 12px;
  height: 12px;
  background: var(--brand-anthrazit);
  border: 1px solid rgba(246, 244, 238, 0.3);
  margin-left: 5px;
  z-index: 1;
  transition: background 200ms ease-out, border-color 200ms ease-out, box-shadow 200ms ease-out;
}
.diagram-node.done .diagram-node-dot {
  background: var(--brand-accent-soft);
  border-color: var(--brand-accent-soft);
}
.diagram-node.active .diagram-node-dot {
  box-shadow: 0 0 0 4px rgba(156, 46, 62, 0.25);
}
.diagram-node-body { display: flex; flex-direction: column; gap: 2px; }
.diagram-node-n {
  font-size: 9px;
  letter-spacing: 0.16em;
  color: rgba(246, 244, 238, 0.4);
  text-transform: uppercase;
}
.diagram-node-h {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--brand-paper);
  letter-spacing: -0.005em;
  line-height: 1.3;
}
.diagram-node-fact {
  font-family: var(--font-mono);
  font-size: 11px;
  color: rgba(246, 244, 238, 0.5);
  text-align: right;
  letter-spacing: 0.04em;
}
.diagram-data {
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
}
.diagram-data-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  align-items: center;
  padding-bottom: 8px;
  border-bottom: 1px dashed rgba(246, 244, 238, 0.08);
}
.diagram-data-row:last-child { border-bottom: 0; }
.diagram-data-row .l {
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(246, 244, 238, 0.45);
}
.diagram-data-row .v {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--brand-paper);
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.data-bar {
  display: inline-block;
  width: 80px;
  height: 4px;
  background: rgba(246, 244, 238, 0.1);
  position: relative;
}
.data-bar-fill {
  position: absolute;
  inset: 0 auto 0 0;
  background: var(--brand-accent-soft);
  transition: width 80ms linear;
}
.diagram-foot {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 14px 18px;
  border-top: 1px solid rgba(246, 244, 238, 0.1);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(246, 244, 238, 0.5);
}
.diagram-foot-bar {
  height: 2px;
  background: rgba(246, 244, 238, 0.1);
  position: relative;
}
.diagram-foot-bar span {
  position: absolute;
  inset: 0 auto 0 0;
  background: var(--brand-anchor);
  transition: width 80ms linear;
}
@media (max-width: 760px) {
  .diagram-body { grid-template-columns: 1fr; }
  .diagram-flow { border-right: 0; border-bottom: 1px solid rgba(246, 244, 238, 0.1); }
}

/* Hero side ticker — Pearl variant (dark text) */
.hero-ticker {
  position: absolute;
  top: 0; bottom: 0;
  right: 16px;
  width: 1px;
  background: rgba(31, 30, 28, 0.08);
  display: flex;
  align-items: stretch;
  z-index: 1;
}
.hero-ticker-track {
  position: absolute;
  left: -160px;
  top: 0;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--grau-500);
  writing-mode: vertical-rl;
  text-orientation: mixed;
  animation: tickerScroll 42s linear infinite;
  display: flex;
  gap: 64px;
  white-space: nowrap;
  text-transform: uppercase;
}
.hero-ticker-track span {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}
.hero-ticker-track span::before {
  content: "";
  display: inline-block;
  width: 4px; height: 4px;
  background: var(--brand-accent);
}
@keyframes tickerScroll {
  from { transform: translateY(-50%); }
  to   { transform: translateY(50%); }
}
@media (max-width: 1240px) { .hero-ticker { display: none; } }

/* Hero metrics row */
.hero-metrics {
  position: relative;
  margin-top: 80px;
  border-top: 1px solid rgba(31, 30, 28, 0.12);
  padding-top: 24px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1s ease-out, transform 1s cubic-bezier(.2,.7,.2,1);
}
.hero-metrics.in { opacity: 1; transform: none; }
.metric-mini { display: flex; flex-direction: column; gap: 6px; }
.metric-mini .v {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 22px;
  letter-spacing: -0.01em;
  color: var(--brand-anthrazit);
  font-variant-numeric: tabular-nums;
}
.metric-mini .l {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--grau-500);
}
@media (max-width: 900px) {
  .hero-metrics .shell { grid-template-columns: repeat(2, 1fr) !important; gap: 24px !important; }
}

/* ─── Section heads (Pearl) ────────────────────────────────────── */
.section-head {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  margin-bottom: 96px;
}
.section-head > div { max-width: 1180px; }
.section-head .section-sub { max-width: 760px; }
@media (max-width: 900px) {
  .section-head { grid-template-columns: 1fr; gap: 24px; margin-bottom: 56px; }
}
.section-overline {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--surface-fg-muted);
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.section-overline::before {
  content: "";
  width: 24px; height: 1px;
  background: var(--brand-accent);
  display: inline-block;
}
.section-h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(36px, 5.2vw, 64px);
  line-height: 1.0;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--surface-fg-strong);
}
.section-h2 em {
  font-style: normal;
  font-family: inherit;
  font-weight: 400;
  color: var(--surface-accent-soft);
}
.section-sub {
  font-size: 17px;
  line-height: 1.55;
  color: var(--surface-fg);
  max-width: 520px;
  margin: 0;
}

/* ─── Process / Ansatz (Pearl with one Anthrazit-Island card) ─── */
.process {
  position: relative;
  padding: 140px 0;
  background: var(--brand-paper);
  border-top: 1px solid rgba(31, 30, 28, 0.08);
}
.flow {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
@media (max-width: 900px) { .flow { grid-template-columns: 1fr; } }

.flow-line {
  position: absolute;
  left: 0; right: 0; top: 28px;
  height: 1px;
  pointer-events: none;
}
@media (max-width: 900px) { .flow-line { display: none; } }
.flow-line svg { width: 100%; height: 100%; overflow: visible; }
.flow-line path {
  fill: none;
  stroke: rgba(31, 30, 28, 0.18);
  stroke-width: 1;
}
.flow-line .draw {
  stroke: var(--brand-accent);
  stroke-width: 2;
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
  transition: stroke-dashoffset 1.6s cubic-bezier(.22,.61,.36,1);
}
.flow[data-visible="true"] .flow-line .draw { stroke-dashoffset: 0; }

.step {
  position: relative;
  padding: 24px 24px 32px 24px;
  background: var(--brand-paper);
  border: 1px solid rgba(31, 30, 28, 0.1);
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 700ms ease-out, transform 700ms cubic-bezier(.2,.7,.2,1),
              background 280ms ease-out, border-color 280ms ease-out;
  transition-delay: calc(var(--i) * 140ms);
  cursor: default;
}
.flow[data-visible="true"] .step { opacity: 1; transform: none; }
.step:hover {
  transform: translateY(-6px);
  background: var(--grau-100);
  border-color: rgba(31, 30, 28, 0.22);
}

/* The fourth step is the Anthrazit contrast-anchor (closing statement) */
.step.step-island {
  background: var(--brand-anthrazit);
  border-color: var(--brand-anthrazit);
  color: var(--brand-paper);
}
.step.step-island:hover {
  background: var(--brand-anthrazit);
  border-color: var(--brand-anthrazit);
  transform: translateY(-6px);
}

.step-marker {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 32px;
}
.step-marker .dot {
  width: 14px; height: 14px;
  background: var(--brand-paper);
  border: 1px solid rgba(31, 30, 28, 0.4);
  position: relative;
  z-index: 1;
  transition: background 200ms ease-out, border-color 200ms ease-out;
}
.step.step-island .step-marker .dot {
  background: var(--brand-anthrazit);
  border-color: rgba(246, 244, 238, 0.4);
}
.step:hover .step-marker .dot {
  background: var(--brand-accent);
  border-color: var(--brand-accent);
}
.step.step-island:hover .step-marker .dot {
  background: var(--brand-accent-soft);
  border-color: var(--brand-accent-soft);
}
.step-marker .num {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--grau-500);
}
.step.step-island .step-marker .num { color: rgba(246, 244, 238, 0.55); }

.step-h {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 26px;
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin: 0 0 16px 0;
  color: var(--brand-anthrazit);
}
.step.step-island .step-h { color: var(--brand-paper); }

.step-p {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--grau-700);
  margin: 0 0 24px 0;
}
.step.step-island .step-p { color: rgba(246, 244, 238, 0.78); }

.step-meta {
  border-top: 1px solid rgba(31, 30, 28, 0.12);
  padding-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.step.step-island .step-meta { border-top-color: rgba(246, 244, 238, 0.12); }
.step-meta .l {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--grau-500);
}
.step.step-island .step-meta .l { color: rgba(246, 244, 238, 0.5); }
.step-meta .v {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--brand-anthrazit);
  font-variant-numeric: tabular-nums;
}
.step.step-island .step-meta .v { color: var(--brand-paper); }

/* Detail revealed on hover */
.step-detail {
  position: relative;
  margin-top: 16px;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 360ms cubic-bezier(.22,.61,.36,1),
              opacity 240ms ease-out 100ms;
}
.step:hover .step-detail {
  max-height: 240px;
  opacity: 1;
}
.step-detail-line {
  width: 24px; height: 1px;
  background: var(--brand-accent);
  margin: 8px 0 12px 0;
}
.step.step-island .step-detail-line { background: var(--brand-accent-soft); }
.step-detail-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: baseline;
  padding: 6px 0;
  border-bottom: 1px dashed rgba(31, 30, 28, 0.12);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 240ms ease-out, transform 280ms cubic-bezier(.22,.61,.36,1);
  transition-delay: calc(var(--j) * 60ms + 80ms);
}
.step.step-island .step-detail-row { border-bottom-color: rgba(246, 244, 238, 0.12); }
.step:hover .step-detail-row { opacity: 1; transform: none; }
.step-detail-k {
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--grau-500);
}
.step.step-island .step-detail-k { color: rgba(246, 244, 238, 0.55); }
.step-detail-v {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--brand-anthrazit);
}
.step.step-island .step-detail-v { color: var(--brand-paper); }

/* ─── Segments (Pearl) ─────────────────────────────────────────── */
.segments {
  background: var(--brand-paper);
  border-top: 1px solid rgba(31, 30, 28, 0.08);
  padding: 140px 0 120px 0;
  position: relative;
  overflow: hidden;
}
.segments-head { margin-bottom: 56px; }
.segments-controls {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 32px;
  align-items: center;
  margin-bottom: 40px;
}
.segments-counter {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--grau-700);
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
}
.segments-counter .num { color: var(--brand-accent); font-size: 16px; }
.segments-counter .sep { color: var(--grau-300); }
.segments-counter .total { color: var(--grau-500); }
.segments-now {
  color: var(--brand-anthrazit);
  margin-left: 8px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 11px;
}
.segments-progress {
  height: 1px;
  background: rgba(31, 30, 28, 0.14);
  position: relative;
}
.segments-progress-fill {
  position: absolute;
  inset: 0 auto 0 0;
  background: var(--brand-accent);
  transition: width 80ms linear;
}
.segments-arrows { display: flex; gap: 4px; }
.segments-arrows button {
  width: 38px; height: 38px;
  border: 1px solid rgba(31, 30, 28, 0.22);
  background: transparent;
  color: var(--brand-anthrazit);
  font-family: var(--font-body);
  font-size: 14px;
  cursor: pointer;
  transition: background 150ms ease-out, border-color 150ms ease-out;
}
.segments-arrows button:hover {
  background: rgba(31, 30, 28, 0.04);
  border-color: var(--brand-anthrazit);
}

.segments-track-wrap { position: relative; }
.segments-track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 8px 0 16px 0;
  scrollbar-width: none;
}
.segments-track::-webkit-scrollbar { display: none; }
.segments-spacer { flex: 0 0 calc((100vw - min(100vw - 64px, 1280px)) / 2); }
@media (max-width: 768px) {
  .segments-spacer { flex: 0 0 16px; }
}

.segment-card {
  flex: 0 0 min(480px, 80vw);
  scroll-snap-align: start;
  padding: 32px;
  background: var(--brand-paper);
  border: 1px solid rgba(31, 30, 28, 0.12);
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-height: 420px;
  transition: background 280ms ease-out, border-color 280ms ease-out, transform 280ms cubic-bezier(.22,.61,.36,1);
}
.segment-card.is-active {
  background: var(--brand-anthrazit);
  border-color: var(--brand-anthrazit);
  color: var(--brand-paper);
}
.segment-card-head {
  display: flex;
  align-items: baseline;
  gap: 14px;
}
.segment-card-n {
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: 0.04em;
  color: var(--brand-accent);
}
.segment-card.is-active .segment-card-n { color: var(--brand-accent-soft); }
.segment-card-cat {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--grau-500);
}
.segment-card.is-active .segment-card-cat { color: rgba(246, 244, 238, 0.55); }
.segment-card-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 30px;
  line-height: 1.1;
  letter-spacing: -0.015em;
  color: var(--brand-anthrazit);
  margin: 0;
}
.segment-card.is-active .segment-card-title { color: var(--brand-paper); }
.segment-card-body {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--grau-700);
  margin: 0;
  flex: 1;
}
.segment-card.is-active .segment-card-body { color: rgba(246, 244, 238, 0.78); }
.segment-card-stats {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 16px;
  border-top: 1px solid rgba(31, 30, 28, 0.12);
  padding-top: 20px;
}
.segment-card.is-active .segment-card-stats { border-top-color: rgba(246, 244, 238, 0.12); }
.segment-card-stats .stat { display: flex; flex-direction: column; gap: 6px; }
.segment-card-stats .stat-l {
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--grau-500);
}
.segment-card.is-active .segment-card-stats .stat-l { color: rgba(246, 244, 238, 0.5); }
.segment-card-stats .stat-v {
  font-family: var(--font-mono);
  font-size: 22px;
  color: var(--brand-anthrazit);
  font-variant-numeric: tabular-nums;
}
.segment-card.is-active .segment-card-stats .stat-v { color: var(--brand-paper); }
.segment-card-stats .segment-accent {
  font-size: 11px;
  color: var(--brand-accent);
  letter-spacing: 0.12em;
}
.segment-card.is-active .segment-card-stats .segment-accent { color: var(--brand-accent-soft); }

.segment-card-foot {
  border-top: 1px solid rgba(31, 30, 28, 0.12);
  padding-top: 16px;
}
.segment-card.is-active .segment-card-foot { border-top-color: rgba(246, 244, 238, 0.12); }
.segment-card-link {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 13px;
  letter-spacing: 0.02em;
  color: var(--brand-anthrazit);
  transition: gap 240ms cubic-bezier(.22,.61,.36,1);
}
.segment-card.is-active .segment-card-link { color: var(--brand-paper); }
.segment-card-link:hover { gap: 22px; }
.segment-card-link .arrow {
  display: inline-block;
  width: 22px; height: 1px;
  background: currentColor;
  position: relative;
}
.segment-card-link .arrow::after {
  content: "";
  position: absolute;
  right: 0; top: 50%;
  width: 6px; height: 6px;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  transform: translateY(-50%) rotate(45deg);
}

/* ─── Stimme — Anthrazit-Insel ÜBER VOLLE BREITE (Statement) ──── */
.stimme {
  background: var(--brand-anthrazit);
  color: var(--brand-paper);
  padding: 140px 0;
  position: relative;
  overflow: hidden;
}
.stimme::before {
  /* Brand-Anchor stamp at the top */
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 25%;
  height: 3px;
  background: var(--brand-anchor);
}
.stimme::after {
  content: "";
  position: absolute;
  top: 0; left: 0;
  right: 0;
  height: 1px;
  background: rgba(246, 244, 238, 0.18);
}
.stimme-grid {
  display: grid;
  grid-template-columns: 0.7fr 1.6fr;
  gap: 80px;
  align-items: start;
}
@media (max-width: 900px) {
  .stimme-grid { grid-template-columns: 1fr; gap: 32px; }
}
.stimme-meta { padding-top: 16px; }
.stimme .section-overline { color: rgba(246, 244, 238, 0.55); }
.stimme .section-overline::before { background: var(--brand-accent-soft); }

.stimme-anchor {
  height: 3px;
  background: rgba(246, 244, 238, 0.12);
  position: relative;
  margin: 24px 0 32px 0;
  overflow: hidden;
  max-width: 240px;
}
.stimme-anchor::before {
  content: "";
  position: absolute;
  inset: 0 75% 0 0;
  background: var(--brand-anchor);
  transform-origin: left center;
  transform: scaleX(0);
  transition: transform 1.4s cubic-bezier(.22,.61,.36,1) 0.2s;
}
.stimme-anchor::after {
  content: "";
  position: absolute;
  inset: 1px 0 1px 0;
  background: rgba(246, 244, 238, 0.22);
  transform-origin: left center;
  transform: scaleX(0);
  transition: transform 1.6s cubic-bezier(.22,.61,.36,1) 0.4s;
}
.stimme[data-visible="true"] .stimme-anchor::before { transform: scaleX(1); }
.stimme[data-visible="true"] .stimme-anchor::after { transform: scaleX(1); }

.stimme-attr {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4px;
  margin-bottom: 18px;
}
.stimme-attr-l {
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(246, 244, 238, 0.5);
}
.stimme-attr-v {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--brand-paper);
}

.stimme-quote {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(28px, 4.2vw, 56px);
  line-height: 1.15;
  letter-spacing: -0.018em;
  color: var(--brand-paper);
}
.stimme-quote p {
  margin: 0;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1s ease-out 0.4s, transform 1s cubic-bezier(.2,.7,.2,1) 0.4s;
}
.stimme[data-visible="true"] .stimme-quote p { opacity: 1; transform: none; }
.stimme-quote em {
  font-style: normal;
  font-family: inherit;
  font-weight: 400;
  color: var(--brand-accent-soft);
}
.stimme-quote::before {
  content: "„";
  display: inline-block;
  font-family: var(--font-display);
  font-style: normal;
  color: var(--brand-accent-soft);
  font-size: 1.6em;
  line-height: 0;
  vertical-align: -0.3em;
  margin-right: 8px;
}

/* ─── Pricing (Pearl + Anthrazit-Insel rechts) ─────────────────── */
.pricing {
  background: var(--brand-paper);
  color: var(--grau-700);
  padding: 140px 0;
  position: relative;
  border-top: 1px solid rgba(31, 30, 28, 0.08);
  overflow: hidden;
}
.pricing-stage {
  margin-top: 24px;
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 56px;
  align-items: start;
}
@media (max-width: 900px) {
  .pricing-stage { grid-template-columns: 1fr; gap: 40px; }
}

.pricing-claim {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.15;
  letter-spacing: -0.015em;
  color: var(--brand-anthrazit);
  margin: 0 0 24px 0;
}
.pricing-claim em {
  font-style: normal;
  font-family: inherit;
  font-weight: 400;
  color: var(--brand-accent);
}
.pricing-note {
  font-size: 14px;
  line-height: 1.55;
  color: var(--grau-500);
  margin: 0 0 32px 0;
}
.pricing-note em {
  font-style: normal;
  font-family: inherit;
  color: var(--brand-accent);
}
.pricing-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid rgba(31, 30, 28, 0.18);
}
.pricing-list li {
  padding: 16px 0;
  border-bottom: 1px solid rgba(31, 30, 28, 0.12);
  display: grid;
  grid-template-columns: 24px 1fr auto;
  gap: 14px;
  align-items: baseline;
  font-size: 14px;
}
.pricing-list .ico {
  width: 14px; height: 14px;
  border: 1px solid var(--brand-accent);
  position: relative;
  top: 2px;
}
.pricing-list .ico::after {
  content: "";
  position: absolute;
  inset: 2px;
  background: var(--brand-accent);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 600ms cubic-bezier(.22,.61,.36,1);
  transition-delay: calc(var(--li) * 100ms + 300ms);
}
.pricing-list[data-visible="true"] .ico::after { transform: scaleX(1); }
.pricing-list .k { font-weight: 500; color: var(--brand-anthrazit); }
.pricing-list .v {
  font-family: var(--font-mono);
  color: var(--brand-accent);
  font-size: 13px;
  letter-spacing: 0.01em;
}

/* Scrub demo — Anthrazit-Insel */
.scrub {
  position: relative;
  background: var(--brand-anthrazit);
  color: var(--brand-paper);
  padding: 40px 40px 80px 40px;
  min-height: 480px;
}
.scrub::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 25%;
  height: 3px;
  background: var(--brand-anchor);
}
.scrub-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 32px;
  gap: 16px;
  padding-top: 8px;
}
.scrub-overline {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(246, 244, 238, 0.55);
}
.scrub-state {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand-accent-soft);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color 200ms ease-out;
}
.scrub-state::before {
  content: "";
  width: 6px; height: 6px;
  background: currentColor;
  display: inline-block;
}
.scrub-counter {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 64px;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--brand-paper);
  font-variant-numeric: tabular-nums;
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 8px;
}
.scrub-counter .unit {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  color: rgba(246, 244, 238, 0.55);
  letter-spacing: 0.02em;
}
.scrub-sub {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: rgba(246, 244, 238, 0.55);
  margin-bottom: 36px;
  text-transform: uppercase;
}
.scrub-bar {
  position: relative;
  height: 10px;
  background: rgba(246, 244, 238, 0.08);
  margin-bottom: 16px;
  user-select: none;
  touch-action: none;
}
.scrub-bar .fill {
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--p, 0%);
  background: var(--brand-anchor);
  transition: width 60ms linear;
}
.scrub-bar .head {
  position: absolute;
  left: var(--p, 0%);
  top: -10px; bottom: -10px;
  width: 3px;
  background: var(--brand-paper);
  transform: translateX(-1.5px);
  pointer-events: none;
}
.scrub-bar .head-grip {
  position: absolute;
  inset: 8px -7px;
  width: 17px; height: calc(100% - 16px);
  background: var(--brand-paper);
}
.scrub-bar:hover .head { background: var(--brand-accent-soft); }
.scrub-bar:hover .head-grip { background: var(--brand-accent-soft); }
.scrub-ticks {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: rgba(246, 244, 238, 0.45);
  margin-bottom: 28px;
}
.scrub-grid {
  display: grid;
  gap: 4px;
  margin-bottom: 24px;
}
.scrub-cell {
  height: 18px;
  background: rgba(246, 244, 238, 0.06);
  transition: background 200ms ease-out;
}
.scrub-cell.active { background: var(--brand-accent-soft); }
.scrub-cell.stopped { background: rgba(246, 244, 238, 0.1); }
.scrub-stop {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: center;
  border-top: 1px solid rgba(246, 244, 238, 0.12);
  padding-top: 20px;
  margin-bottom: 16px;
}
.scrub-stop .l {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(246, 244, 238, 0.55);
}
.scrub-stop-input {
  display: inline-flex;
  border: 1px solid rgba(246, 244, 238, 0.22);
}
.scrub-stop-input button {
  width: 32px; height: 32px;
  background: transparent;
  color: var(--brand-paper);
  border: 0;
  font-size: 18px;
  cursor: pointer;
  font-family: inherit;
  transition: background 150ms ease-out;
}
.scrub-stop-input button:hover { background: rgba(246, 244, 238, 0.06); }
.scrub-stop-input input {
  width: 48px;
  height: 32px;
  background: transparent;
  border: 0;
  border-left: 1px solid rgba(246, 244, 238, 0.22);
  border-right: 1px solid rgba(246, 244, 238, 0.22);
  color: var(--brand-paper);
  font-family: var(--font-mono);
  font-size: 14px;
  text-align: center;
  font-variant-numeric: tabular-nums;
  outline: none;
}
.scrub-stop-input input::-webkit-outer-spin-button,
.scrub-stop-input input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.scrub-foot {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  border-top: 1px solid rgba(246, 244, 238, 0.12);
  padding-top: 20px;
}
.scrub-foot .col .l {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(246, 244, 238, 0.5);
  margin-bottom: 6px;
}
.scrub-foot .col .v {
  font-family: var(--font-mono);
  font-size: 17px;
  letter-spacing: -0.01em;
  color: var(--brand-paper);
  font-variant-numeric: tabular-nums;
}
.scrub-toggle {
  position: absolute;
  top: 24px; right: 24px;
  display: inline-flex;
  gap: 0;
  border: 1px solid rgba(246, 244, 238, 0.22);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
}
.scrub-toggle button {
  background: transparent;
  color: rgba(246, 244, 238, 0.6);
  border: 0;
  padding: 6px 12px;
  cursor: pointer;
  text-transform: uppercase;
  font-family: inherit;
  letter-spacing: inherit;
  font-size: inherit;
  transition: background 150ms ease-out, color 150ms ease-out;
}
.scrub-toggle button.on {
  background: var(--brand-paper);
  color: var(--brand-anthrazit);
}
.scrub-play {
  position: absolute;
  bottom: 24px;
  right: 24px;
  background: transparent;
  color: rgba(246, 244, 238, 0.55);
  border: 1px solid rgba(246, 244, 238, 0.22);
  padding: 6px 12px;
  font-size: 11px;
  letter-spacing: 0.06em;
  font-family: var(--font-mono);
  cursor: pointer;
  text-transform: uppercase;
  transition: background 150ms ease-out, color 150ms ease-out;
}
.scrub-play:hover { background: rgba(246, 244, 238, 0.06); color: var(--brand-paper); }

/* ─── FAQ (Pearl) ──────────────────────────────────────────────── */
.faq {
  background: var(--brand-paper);
  border-top: 1px solid rgba(31, 30, 28, 0.08);
  padding: 140px 0;
}
.faq-list { border-top: 1px solid rgba(31, 30, 28, 0.18); }
.faq-item { border-bottom: 1px solid rgba(31, 30, 28, 0.18); }
.faq-q {
  display: grid;
  grid-template-columns: 64px 1fr 40px;
  gap: 16px;
  align-items: center;
  width: 100%;
  padding: 28px 0;
  background: transparent;
  border: 0;
  color: var(--brand-anthrazit);
  text-align: left;
  cursor: pointer;
  font-family: var(--font-body);
  transition: padding 240ms cubic-bezier(.22,.61,.36,1);
}
.faq-q:hover { padding-left: 16px; }
.faq-q-n {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--grau-500);
  font-variant-numeric: tabular-nums;
}
.faq-q-text {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(22px, 2.4vw, 28px);
  letter-spacing: -0.015em;
  line-height: 1.2;
}
.faq-q-icon {
  position: relative;
  width: 18px; height: 18px;
  display: inline-block;
  justify-self: end;
}
.faq-q-icon .bar {
  position: absolute;
  background: var(--brand-anthrazit);
  transition: transform 320ms cubic-bezier(.22,.61,.36,1), background 200ms ease-out;
}
.faq-q-icon .bar.h { left: 0; right: 0; top: 50%; height: 1.5px; transform: translateY(-50%); }
.faq-q-icon .bar.v { top: 0; bottom: 0; left: 50%; width: 1.5px; transform: translateX(-50%); }
.faq-item.open .faq-q-icon .bar.v { transform: translateX(-50%) scaleY(0); }
.faq-item.open .faq-q-icon .bar { background: var(--brand-accent); }
.faq-a-wrap {
  overflow: hidden;
  max-height: 0;
  transition: max-height 420ms cubic-bezier(.22,.61,.36,1);
}
.faq-a {
  padding: 0 64px 28px 80px;
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--grau-700);
  max-width: 720px;
}
.faq-a p { margin: 0; }
@media (max-width: 600px) {
  .faq-q { grid-template-columns: 36px 1fr 30px; }
  .faq-a { padding: 0 30px 18px 52px; }
}

/* ─── Footer (Anthrazit-Closer) ────────────────────────────────── */
.footer {
  background: var(--brand-anthrazit);
  color: var(--brand-paper);
  padding: 96px 0 32px 0;
  position: relative;
  overflow: hidden;
}
.footer::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 25%;
  height: 3px;
  background: var(--brand-anchor);
}
.footer-mark {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: clamp(96px, 22vw, 320px);
  line-height: 0.9;
  letter-spacing: 0.04em;
  color: var(--brand-paper);
  margin: 0 0 24px 0;
  display: block;
  overflow: hidden;
}
.footer-mark span {
  display: inline-block;
  transform: translateY(110%);
  transition: transform 1s cubic-bezier(.2,.7,.2,1);
  transition-delay: calc(var(--i, 0) * 80ms);
}
.footer[data-visible="true"] .footer-mark span { transform: translateY(0); }

.footer-anchor {
  height: 3px;
  background: rgba(246, 244, 238, 0.12);
  position: relative;
  margin-bottom: 32px;
  overflow: hidden;
}
.footer-anchor::before {
  content: "";
  position: absolute;
  inset: 0 75% 0 0;
  background: var(--brand-anchor);
  transform-origin: left center;
  transform: scaleX(0);
  transition: transform 1.4s cubic-bezier(.22,.61,.36,1) 0.6s;
}
.footer-anchor::after {
  content: "";
  position: absolute;
  inset: 1px 0 1px 0;
  background: rgba(246, 244, 238, 0.22);
  transform-origin: left center;
  transform: scaleX(0);
  transition: transform 1.6s cubic-bezier(.22,.61,.36,1) 0.8s;
}
.footer[data-visible="true"] .footer-anchor::before { transform: scaleX(1); }
.footer[data-visible="true"] .footer-anchor::after { transform: scaleX(1); }

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 64px;
}
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
.footer-col h4 {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(246, 244, 238, 0.5);
  margin: 0 0 18px 0;
}
.footer-col p,
.footer-col a {
  font-size: 14px;
  line-height: 1.55;
  color: rgba(246, 244, 238, 0.78);
  margin: 0 0 6px 0;
  display: block;
  transition: color 150ms ease-out;
}
.footer-col a:hover { color: var(--brand-paper); }
.footer-claim {
  font-family: var(--font-display);
  font-weight: 500;
  font-style: normal;
  font-size: 22px;
  line-height: 1.3;
  color: rgba(246, 244, 238, 0.78);
  max-width: 360px;
  margin: 0 0 12px 0;
}
.footer-claim em {
  color: var(--brand-accent-soft);
  font-style: normal;
}
.footer-meta {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: rgba(246, 244, 238, 0.5);
  text-transform: uppercase;
  border-top: 1px solid rgba(246, 244, 238, 0.12);
  padding-top: 24px;
}

/* ─── Cursor variants ──────────────────────────────────────────── */
.cursor {
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 100;
  transform: translate(-50%, -50%);
  transition: width 200ms ease-out, height 200ms ease-out,
              background 200ms ease-out, border-color 200ms ease-out;
}
body.cursor-punkt .cursor {
  width: 8px; height: 8px;
  background: var(--brand-accent);
  mix-blend-mode: difference;
}
body.cursor-punkt .cursor.lg {
  width: 36px; height: 36px;
  background: var(--brand-paper);
}
body.cursor-kreis .cursor {
  width: 28px; height: 28px;
  border: 1px solid var(--brand-anthrazit);
  background: transparent;
  border-radius: 50%;
  mix-blend-mode: difference;
}
body.cursor-kreis .cursor.lg {
  width: 56px; height: 56px;
  border-color: var(--brand-accent);
  background: rgba(110, 26, 40, 0.14);
}
body.cursor-quadrat .cursor {
  width: 12px; height: 12px;
  background: var(--brand-accent);
}
body.cursor-quadrat .cursor.lg {
  width: 40px; height: 40px;
  background: var(--brand-accent-soft);
}
body.cursor-aus .cursor { display: none; }
@media (hover: none) { .cursor { display: none !important; } }

/* ─── Reduced motion ───────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
