/* ==========================================================================
   DERINGTON STUDIO — Design System
   Weiß. Schwarz. Glas. Spektrum.
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  /* Grundfläche */
  --paper: #ffffff;
  --ink: #08080a;
  --ink-80: rgba(8, 8, 10, 0.8);
  --ink-64: rgba(8, 8, 10, 0.64);
  --ink-48: rgba(8, 8, 10, 0.48);
  --ink-32: rgba(8, 8, 10, 0.32);
  --ink-16: rgba(8, 8, 10, 0.16);
  --ink-08: rgba(8, 8, 10, 0.08);
  --ink-04: rgba(8, 8, 10, 0.04);

  /* Spektrum — dezent, nie als Fläche, immer als Licht */
  --s-red: #ff4d6d;
  --s-orange: #ff8a3d;
  --s-yellow: #ffd93d;
  --s-green: #3ddc97;
  --s-cyan: #38bdf8;
  --s-indigo: #7c6bf5;
  --s-violet: #e879f9;
  --spectrum: linear-gradient(
    100deg,
    var(--s-red) 0%, var(--s-orange) 16%, var(--s-yellow) 32%,
    var(--s-green) 50%, var(--s-cyan) 66%, var(--s-indigo) 84%, var(--s-violet) 100%
  );

  /* Glas */
  --glass-bg: rgba(255, 255, 255, 0.52);
  --glass-bg-strong: rgba(255, 255, 255, 0.74);
  --glass-edge: rgba(255, 255, 255, 0.85);
  --glass-blur: 28px;
  --glass-shadow:
    0 1px 1px rgba(8, 8, 10, 0.02),
    0 8px 24px -8px rgba(8, 8, 10, 0.08),
    0 32px 64px -24px rgba(8, 8, 10, 0.14);
  --glass-inner:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    inset 0 -1px 0 rgba(255, 255, 255, 0.35);

  /* Radien */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 32px;
  --r-2xl: 44px;
  --r-full: 999px;

  /* Raster */
  --gutter: clamp(20px, 4.4vw, 72px);
  --maxw: 1440px;

  /* Motion */
  --e-out: cubic-bezier(0.16, 1, 0.3, 1);
  --e-inout: cubic-bezier(0.76, 0, 0.24, 1);
  --e-spring: cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Typo */
  --f-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --f-serif: "Instrument Serif", "Times New Roman", Georgia, serif;
  --f-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

/* ---------- 2. Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: auto; /* wird von der JS-Scroll-Engine übernommen */
  overflow-x: clip;
  overscroll-behavior-x: none;  /* kein seitliches Nachwippen */
}

body {
  font-family: var(--f-sans);
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "ss01", "cv01", "cv11";
  overflow-x: clip;
  overscroll-behavior-x: none;
}

body.is-locked { overflow: hidden; }

img, svg, canvas { display: block; max-width: 100%; }
button, input, textarea, select { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

::selection { background: var(--ink); color: var(--paper); }

:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
  border-radius: 4px;
}

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: fixed; top: 12px; left: 12px; z-index: 999;
  padding: 12px 20px; border-radius: var(--r-full);
  background: var(--ink); color: var(--paper);
  transform: translateY(-200%);
  transition: transform 0.3s var(--e-out);
}
.skip-link:focus-visible { transform: translateY(0); }

/* ---------- 3. Layout ---------- */
.shell {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  position: relative;
  padding-block: clamp(88px, 12vw, 180px);
}

.section--tight { padding-block: clamp(64px, 8vw, 112px); }

/* ---------- 4. Typografie ---------- */
.display {
  font-size: clamp(2.9rem, 8.4vw, 8.2rem);
  line-height: 0.92;
  letter-spacing: -0.045em;
  font-weight: 800;
  text-wrap: balance;
}

.h1 {
  font-size: clamp(2.3rem, 5.6vw, 5rem);
  line-height: 0.98;
  letter-spacing: -0.038em;
  font-weight: 800;
  text-wrap: balance;
}

.h2 {
  font-size: clamp(1.6rem, 2.9vw, 2.6rem);
  line-height: 1.08;
  letter-spacing: -0.028em;
  font-weight: 700;
  text-wrap: balance;
}

.h3 {
  font-size: clamp(1.15rem, 1.5vw, 1.4rem);
  line-height: 1.25;
  letter-spacing: -0.018em;
  font-weight: 650;
}

.lede {
  font-size: clamp(1.05rem, 1.55vw, 1.375rem);
  line-height: 1.5;
  letter-spacing: -0.012em;
  color: var(--ink-64);
  text-wrap: pretty;
}

.body-lg { font-size: 1.0625rem; line-height: 1.6; color: var(--ink-64); }
.body-sm { font-size: 0.9375rem; line-height: 1.55; color: var(--ink-64); }

.serif {
  font-family: var(--f-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.02em;
}

/* Gradienttext — Spektrum, das durch die Schrift schimmert */
.spectrum-text {
  background: var(--spectrum);
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  animation: spectrum-drift 9s linear infinite;
}

@keyframes spectrum-drift {
  to { background-position: 220% 0; }
}

/* Eyebrow / Label */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.75rem;
  font-weight: 560;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-48);
  font-feature-settings: "tnum";
}

.eyebrow::before {
  content: "";
  width: 22px; height: 1px;
  background: var(--ink-32);
}

.eyebrow--dot::before {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--spectrum);
}

.num {
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum";
}

/* ---------- 5. Glas ---------- */
.glass {
  position: relative;
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur)) saturate(190%);
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(190%);
  border: 1px solid var(--glass-edge);
  box-shadow: var(--glass-shadow), var(--glass-inner);
  border-radius: var(--r-lg);
}

.glass--strong { background: var(--glass-bg-strong); }

/* Spektral-Kante: hauchdünner Regenbogenrand, der das Glas bricht */
.glass--edge::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: var(--spectrum);
  background-size: 220% 100%;
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  mask-composite: exclude;
  opacity: 0.55;
  pointer-events: none;
  animation: spectrum-drift 11s linear infinite;
}

/* Spekulares Highlight, das dem Cursor folgt (Position via JS) */
.glass--specular::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(
    340px circle at var(--mx, 50%) var(--my, 0%),
    rgba(255, 255, 255, 0.9),
    rgba(255, 255, 255, 0) 62%
  );
  opacity: 0;
  transition: opacity 0.45s var(--e-out);
  pointer-events: none;
}
.glass--specular:hover::before { opacity: 1; }

/* ---------- 6. Hintergrund-Licht ---------- */
#gradient-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 1.6s var(--e-out);
}
#gradient-canvas.is-ready { opacity: 1; }

/* Papierweiß über dem Licht — hält alles hell und ruhig */
.veil {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(125% 78% at 50% 0%, rgba(255,255,255,0) 0%, rgba(255,255,255,0.45) 62%, rgba(255,255,255,0.82) 100%);
}

.page { position: relative; z-index: 2; }

/* Feines Rauschen — nimmt dem Gradient das Banding */
.grain {
  position: fixed;
  inset: 0;                 /* darf den Viewport nicht überragen — sonst
                               wackelt die Seite auf dem Handy seitlich */
  z-index: 3;
  pointer-events: none;
  opacity: 0.028;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain-shift 0.7s steps(4) infinite;
}

/* Es wandert die Textur, nicht das Element */
@keyframes grain-shift {
  0%   { background-position:   0px   0px; }
  25%  { background-position:  -7px   4px; }
  50%  { background-position:   5px  -8px; }
  75%  { background-position:  -4px  -5px; }
  100% { background-position:   0px   0px; }
}

/* ---------- 7. Buttons ---------- */
.btn {
  --btn-bg: var(--ink);
  --btn-fg: var(--paper);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 56px;
  padding-inline: 30px;
  border-radius: var(--r-full);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-size: 0.9375rem;
  font-weight: 560;
  letter-spacing: -0.01em;
  white-space: nowrap;
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.45s var(--e-out), box-shadow 0.45s var(--e-out);
  box-shadow: 0 1px 2px rgba(8,8,10,0.12), 0 12px 28px -12px rgba(8,8,10,0.5);
}

/* Spektrum-Wash, der beim Hover durchläuft */
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--spectrum);
  background-size: 200% 100%;
  opacity: 0;
  transform: translateY(101%);
  transition: transform 0.55s var(--e-out), opacity 0.3s linear;
}

.btn:hover::before,
.btn:focus-visible::before {
  transform: translateY(0);
  opacity: 1;
  animation: spectrum-drift 3.5s linear infinite;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 2px 4px rgba(8,8,10,0.1), 0 20px 40px -14px rgba(8,8,10,0.45);
}

.btn:active { transform: translateY(0) scale(0.985); }

.btn__label {
  position: relative;
  display: block;
  overflow: hidden;
}

/* Label rollt beim Hover durch */
.btn__label span {
  display: block;
  transition: transform 0.5s var(--e-out);
}
.btn__label span::after {
  content: attr(data-t);
  position: absolute;
  inset: 0;
  transform: translateY(110%);
}
.btn:hover .btn__label span { transform: translateY(-110%); }

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  border: 1px solid var(--ink-16);
  box-shadow: none;
}
.btn--ghost:hover { box-shadow: none; color: var(--paper); }

.btn--glass {
  --btn-bg: var(--glass-bg-strong);
  --btn-fg: var(--ink);
  border: 1px solid var(--glass-edge);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  box-shadow: var(--glass-shadow);
}
.btn--glass:hover { color: var(--paper); }

.btn--sm { height: 44px; padding-inline: 20px; font-size: 0.875rem; }
.btn--lg { height: 64px; padding-inline: 38px; font-size: 1rem; }

.btn__arrow {
  transition: transform 0.45s var(--e-out);
}
.btn:hover .btn__arrow { transform: translateX(4px); }

/* Textlink mit Unterstreichung, die aufzieht */
.link-u {
  position: relative;
  display: inline-block;
  padding-bottom: 2px;
}
.link-u::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.5s var(--e-out);
}
.link-u:hover::after { transform: scaleX(1); transform-origin: left; }

/* ---------- 8. Navigation ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 14px var(--gutter);
  transition: transform 0.55s var(--e-out), padding 0.55s var(--e-out);
}

.nav.is-hidden { transform: translateY(-120%); }
.nav.is-stuck { padding-top: 10px; }

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: var(--maxw);
  margin-inline: auto;
  padding: 10px 10px 10px 20px;
  border-radius: var(--r-full);
  transition: background 0.5s var(--e-out), box-shadow 0.5s var(--e-out),
              border-color 0.5s var(--e-out), backdrop-filter 0.5s var(--e-out);
  background: transparent;
  border: 1px solid transparent;
}

.nav.is-stuck .nav__inner {
  background: var(--glass-bg-strong);
  backdrop-filter: blur(24px) saturate(190%);
  -webkit-backdrop-filter: blur(24px) saturate(190%);
  border-color: var(--glass-edge);
  box-shadow: var(--glass-shadow), var(--glass-inner);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-weight: 680;
  letter-spacing: -0.028em;
  font-size: 1.0625rem;
}

.brand__mark {
  width: 28px; height: 28px;
  flex: none;
  transition: transform 0.7s var(--e-spring);
}
.brand:hover .brand__mark { transform: rotate(-14deg) scale(1.06); }

.brand__name { white-space: nowrap; }
.brand__name em {
  font-style: normal;
  color: var(--ink-48);
  font-weight: 480;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav__link {
  position: relative;
  padding: 9px 15px;
  border-radius: var(--r-full);
  font-size: 0.9rem;
  font-weight: 520;
  color: var(--ink-64);
  transition: color 0.3s var(--e-out);
}
.nav__link::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: var(--ink-04);
  opacity: 0;
  transform: scale(0.85);
  transition: opacity 0.35s var(--e-out), transform 0.35s var(--e-out);
}
.nav__link:hover { color: var(--ink); }
.nav__link:hover::before { opacity: 1; transform: scale(1); }
.nav__link span { position: relative; }

.nav__cta { display: flex; align-items: center; gap: 10px; }

.nav__burger {
  display: none;
  width: 44px; height: 44px;
  border-radius: var(--r-full);
  border: 1px solid var(--ink-16);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}
.nav__burger i {
  display: block;
  width: 17px; height: 1.5px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.45s var(--e-out), opacity 0.3s;
}
.nav__burger.is-open i:nth-child(1) { transform: translateY(3.25px) rotate(45deg); }
.nav__burger.is-open i:nth-child(2) { transform: translateY(-3.25px) rotate(-45deg); }

/* Mobile Overlay */
.menu {
  position: fixed;
  inset: 0;
  z-index: 99;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  padding: 100px var(--gutter) 40px;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(36px) saturate(190%);
  -webkit-backdrop-filter: blur(36px) saturate(190%);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s var(--e-out), visibility 0.5s;
}
.menu.is-open { opacity: 1; visibility: visible; }

.menu__link {
  font-size: clamp(2rem, 9vw, 3rem);
  font-weight: 780;
  letter-spacing: -0.04em;
  line-height: 1.1;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s var(--e-out), transform 0.6s var(--e-out);
}
.menu.is-open .menu__link { opacity: 1; transform: none; }
.menu.is-open .menu__link:nth-child(1) { transition-delay: 0.08s; }
.menu.is-open .menu__link:nth-child(2) { transition-delay: 0.14s; }
.menu.is-open .menu__link:nth-child(3) { transition-delay: 0.2s; }
.menu.is-open .menu__link:nth-child(4) { transition-delay: 0.26s; }
.menu.is-open .menu__link:nth-child(5) { transition-delay: 0.32s; }
.menu.is-open .menu__link:nth-child(6) { transition-delay: 0.38s; }

.menu__foot {
  margin-top: 36px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s var(--e-out) 0.44s, transform 0.6s var(--e-out) 0.44s;
}
.menu.is-open .menu__foot { opacity: 1; transform: none; }

/* Scroll-Fortschritt */
.progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 100%;
  z-index: 101;
  transform-origin: left;
  transform: scaleX(0);
  background: var(--spectrum);
  background-size: 200% 100%;
  animation: spectrum-drift 6s linear infinite;
}

/* ---------- 9. Preloader ---------- */
.loader {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: grid;
  place-items: center;
  background: var(--paper);
  transition: opacity 0.9s var(--e-out), visibility 0.9s;
}
.loader.is-done { opacity: 0; visibility: hidden; }

.loader__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 26px;
}

.loader__mark {
  width: 56px; height: 56px;
  animation: loader-pulse 1.7s var(--e-inout) infinite;
}
@keyframes loader-pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%      { transform: scale(0.9); opacity: 0.55; }
}

.loader__bar {
  width: min(220px, 46vw);
  height: 2px;
  background: var(--ink-08);
  border-radius: 2px;
  overflow: hidden;
}
.loader__fill {
  height: 100%;
  width: 100%;
  transform: scaleX(0);
  transform-origin: left;
  background: var(--spectrum);
  background-size: 200% 100%;
  animation: spectrum-drift 3s linear infinite;
}

.loader__num {
  font-family: var(--f-mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: var(--ink-48);
  font-variant-numeric: tabular-nums;
}

/* ---------- 10. Reveal-Animationen ---------- */

/* Ohne JavaScript ist alles sofort sichtbar. Die Seite muss auch dann
   funktionieren, wenn ein Skript nicht lädt — sonst bleibt sie weiß. */
html:not(.js) [data-reveal],
html:not(.js) .split-line > span,
html:not(.js) .split-word > span {
  opacity: 1 !important;
  transform: none !important;
  filter: none !important;
}
html:not(.js) .loader { display: none; }

[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.95s var(--e-out) var(--d, 0s),
    transform 1.05s var(--e-out) var(--d, 0s),
    filter 0.95s var(--e-out) var(--d, 0s);
  filter: blur(6px);
}
[data-reveal].is-in {
  opacity: 1;
  transform: none;
  filter: blur(0);
}

[data-reveal="scale"] { transform: scale(0.94) translateY(28px); }
[data-reveal="scale"].is-in { transform: none; }

[data-reveal="left"] { transform: translateX(-32px); }
[data-reveal="left"].is-in { transform: none; }

[data-reveal="right"] { transform: translateX(32px); }
[data-reveal="right"].is-in { transform: none; }

/* Zeilenweiser Text-Reveal (Masken-Slide) */
.split-line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.06em;
  margin-bottom: -0.06em;
}
.split-line > span {
  display: block;
  transform: translateY(105%);
  transition: transform 1.15s var(--e-out) var(--d, 0s);
  will-change: transform;
}
.is-in .split-line > span,
.split-line.is-in > span { transform: none; }

/* Wortweiser Reveal */
.split-word {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  padding-bottom: 0.08em;
  margin-bottom: -0.08em;
}
.split-word > span {
  display: inline-block;
  transform: translateY(105%);
  transition: transform 0.95s var(--e-out) var(--d, 0s);
}
.is-in .split-word > span { transform: none; }

/* ---------- 11. Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 132px;
  padding-bottom: 40px;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 8px 8px 14px;
  border-radius: var(--r-full);
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--ink-64);
  margin-bottom: 30px;
}

.hero__badge b {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 4px 11px;
  border-radius: var(--r-full);
  background: var(--ink);
  color: var(--paper);
  font-size: 0.75rem;
  font-weight: 560;
  letter-spacing: -0.005em;
}

.pulse {
  position: relative;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--s-green);
  flex: none;
}
.pulse::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: inherit;
  animation: pulse-ring 2s var(--e-out) infinite;
}
@keyframes pulse-ring {
  0%   { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(3.4); opacity: 0; }
}

.hero__title { margin-bottom: 30px; }

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.72fr);
  gap: clamp(28px, 5vw, 80px);
  align-items: end;
}

.hero__aside {
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding-bottom: 6px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  font-size: 0.875rem;
  color: var(--ink-48);
}
.hero__meta li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.hero__meta svg { flex: none; }

.hero__scroll {
  margin-top: clamp(48px, 7vw, 88px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 22px;
  border-top: 1px solid var(--ink-08);
  font-size: 0.8125rem;
  color: var(--ink-48);
}

.hero__scroll-hint {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.hero__scroll-hint i {
  display: block;
  width: 1px; height: 26px;
  background: linear-gradient(var(--ink-32), transparent);
  animation: scroll-drop 2.2s var(--e-inout) infinite;
  transform-origin: top;
}
@keyframes scroll-drop {
  0%   { transform: scaleY(0); opacity: 0; }
  35%  { transform: scaleY(1); opacity: 1; }
  100% { transform: scaleY(1) translateY(26px); opacity: 0; }
}

/* ---------- 12. Marquee ---------- */
.marquee {
  position: relative;
  overflow: hidden;
  padding-block: 26px;
  border-block: 1px solid var(--ink-08);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
}

.marquee__track {
  display: flex;
  width: max-content;
  gap: 0;
  will-change: transform;
}

.marquee__group {
  display: flex;
  align-items: center;
  gap: clamp(28px, 4vw, 56px);
  padding-right: clamp(28px, 4vw, 56px);
  flex: none;
}

.marquee__item {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: clamp(0.9rem, 1.4vw, 1.05rem);
  font-weight: 540;
  letter-spacing: -0.015em;
  color: var(--ink-64);
  white-space: nowrap;
}
.marquee__item i {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--spectrum);
  flex: none;
}

/* Große Typo-Marquee */
.marquee--xl { border: 0; padding-block: 0; }
.marquee--xl .marquee__item {
  font-size: clamp(3rem, 11vw, 10rem);
  font-weight: 800;
  letter-spacing: -0.05em;
  color: var(--ink);
  gap: clamp(24px, 4vw, 60px);
}
.marquee--xl .marquee__item i {
  width: clamp(10px, 1.4vw, 18px);
  height: clamp(10px, 1.4vw, 18px);
}
.marquee--xl .marquee__item span:nth-child(even) {
  color: transparent;
  -webkit-text-stroke: 1.5px var(--ink-32);
}

/* ---------- 13. Section-Kopf ---------- */
.s-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr);
  gap: clamp(24px, 4vw, 64px);
  align-items: end;
  margin-bottom: clamp(44px, 6vw, 84px);
}

.s-head__l { display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }
.s-head__r { padding-bottom: 6px; }

.s-head--center {
  grid-template-columns: 1fr;
  justify-items: center;
  text-align: center;
  max-width: 780px;
  margin-inline: auto;
}
.s-head--center .s-head__l { align-items: center; }

/* ---------- 14. Problem / Stats ---------- */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 14px;
}

.stat {
  padding: 30px 28px 26px;
  border-radius: var(--r-lg);
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform 0.6s var(--e-out);
}
.stat:hover { transform: translateY(-5px); }

.stat__n {
  font-size: clamp(2.6rem, 5vw, 3.9rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.stat__l {
  font-size: 0.9375rem;
  color: var(--ink-64);
  line-height: 1.45;
  text-wrap: pretty;
}

.stat__src {
  margin-top: auto;
  padding-top: 12px;
  font-size: 0.6875rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-32);
}

/* ---------- 15. Karussell ---------- */
.showcase {
  position: relative;
  padding-block: clamp(80px, 10vw, 150px);
  overflow: hidden;
}

.stage {
  position: relative;
  height: clamp(400px, 52vw, 660px);
  perspective: 2100px;
  perspective-origin: 50% 46%;
  margin-inline: calc(var(--gutter) * -1);
  cursor: grab;
  touch-action: pan-y;
  -webkit-user-select: none;
  user-select: none;
}
.stage.is-dragging { cursor: grabbing; }

.stage__rail {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
  will-change: transform;
}

.slide {
  position: absolute;
  top: 50%;
  left: 50%;
  width: clamp(300px, 44vw, 620px);
  transform-style: preserve-3d;
  will-change: transform, opacity;
  transform: translate(-50%, -50%);
}

/* Browser-Rahmen */
.frame {
  position: relative;
  border-radius: clamp(14px, 1.6vw, 22px);
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(8, 8, 10, 0.09);
  box-shadow:
    0 2px 4px rgba(8,8,10,0.03),
    0 18px 40px -16px rgba(8,8,10,0.18),
    0 60px 120px -40px rgba(8,8,10,0.28);
  aspect-ratio: 16 / 10.4;
  display: flex;
  flex-direction: column;
}

.frame__bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 14px;
  height: clamp(28px, 3.2vw, 38px);
  flex: none;
  background: rgba(250, 250, 251, 0.9);
  border-bottom: 1px solid rgba(8,8,10,0.06);
}
.frame__dots { display: flex; gap: 5px; }
.frame__dots i {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(8,8,10,0.12);
}
.frame__url {
  flex: 1;
  height: 19px;
  border-radius: var(--r-full);
  background: rgba(8,8,10,0.045);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  letter-spacing: 0.02em;
  color: var(--ink-32);
  font-family: var(--f-mono);
  max-width: 60%;
  margin-inline: auto;
}

.frame__view {
  position: relative;
  flex: 1;
  overflow: hidden;
  container-type: inline-size;
}

/* Overlay-Meta unter dem Frame */
.slide__meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-top: 18px;
  padding-inline: 4px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.6s var(--e-out), transform 0.6s var(--e-out);
}
.slide.is-front .slide__meta { opacity: 1; transform: none; }

.slide__name {
  font-size: clamp(0.95rem, 1.3vw, 1.15rem);
  font-weight: 640;
  letter-spacing: -0.02em;
}
.slide__tag {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-32);
  white-space: nowrap;
}

/* Mini-Sites im Frame — Container-Queries halten sie proportional */
.mini {
  position: absolute;
  inset: 0;
  overflow: hidden;
  font-size: 2.4cqw;
  line-height: 1.3;
}
.mini * { box-sizing: border-box; }

.mini__nav {
  position: absolute; top: 0; left: 0; right: 0;
  display: flex; align-items: center; justify-content: space-between;
  padding: 3.4cqw 4.4cqw;
  z-index: 3;
  font-size: 1.9cqw;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.mini__nav ul { display: flex; gap: 2.6cqw; font-weight: 450; opacity: 0.75; }

.mini__h {
  font-size: 7.6cqw;
  line-height: 0.94;
  letter-spacing: -0.04em;
  font-weight: 800;
}
.mini__p { font-size: 2.1cqw; opacity: 0.62; line-height: 1.5; }
.mini__btn {
  display: inline-flex; align-items: center; gap: 1.2cqw;
  padding: 1.7cqw 3.4cqw;
  border-radius: 99px;
  font-size: 1.9cqw;
  font-weight: 560;
}

/* Steuerung */
.stage-ctl {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: clamp(28px, 4vw, 48px);
}

.stage-ctl__btns { display: flex; gap: 10px; }

.icon-btn {
  width: 54px; height: 54px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1px solid var(--ink-16);
  color: var(--ink);
  transition: background 0.4s var(--e-out), color 0.4s var(--e-out),
              transform 0.4s var(--e-out), border-color 0.4s var(--e-out);
}
.icon-btn:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
  transform: scale(1.06);
}
.icon-btn:active { transform: scale(0.96); }

.stage-ctl__dots { display: flex; gap: 7px; align-items: center; }
.dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--ink-16);
  transition: all 0.5s var(--e-out);
}
.dot.is-on {
  width: 30px;
  border-radius: var(--r-full);
  background: var(--ink);
}

.stage-ctl__hint {
  font-size: 0.8125rem;
  color: var(--ink-32);
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

/* ---------- 16. Leistungen ---------- */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 14px;
}

.svc {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 34px 32px 32px;
  border-radius: var(--r-xl);
  min-height: 340px;
  overflow: hidden;
  transition: transform 0.7s var(--e-out), box-shadow 0.7s var(--e-out);
}
.svc:hover { transform: translateY(-6px); }

.svc__i {
  width: 46px; height: 46px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  background: var(--ink);
  color: var(--paper);
  flex: none;
  transition: transform 0.6s var(--e-spring);
}
.svc:hover .svc__i { transform: rotate(-8deg) scale(1.08); }

.svc__t { font-size: 1.3rem; font-weight: 700; letter-spacing: -0.026em; }
.svc__d { font-size: 0.9375rem; color: var(--ink-64); line-height: 1.55; text-wrap: pretty; }

.svc__list {
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid var(--ink-08);
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.svc__list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.875rem;
  color: var(--ink-64);
}
.svc__list svg { flex: none; margin-top: 4px; color: var(--ink-32); }

.svc__price {
  font-size: 0.8125rem;
  color: var(--ink-32);
  letter-spacing: -0.005em;
}
.svc__price b { color: var(--ink); font-weight: 620; }

/* ---------- 17. AI-Sektion ---------- */
.ai {
  position: relative;
  border-radius: var(--r-2xl);
  overflow: hidden;
  padding: clamp(40px, 6vw, 84px);
  background: var(--ink);
  color: #fff;
  isolation: isolate;
}

.ai::before {
  content: "";
  position: absolute;
  inset: -40%;
  z-index: -1;
  background:
    radial-gradient(46% 46% at 22% 26%, rgba(124, 107, 245, 0.55), transparent 66%),
    radial-gradient(42% 42% at 78% 22%, rgba(56, 189, 248, 0.45), transparent 66%),
    radial-gradient(50% 50% at 62% 84%, rgba(232, 121, 249, 0.42), transparent 66%),
    radial-gradient(40% 40% at 14% 82%, rgba(255, 138, 61, 0.34), transparent 66%);
  filter: blur(24px);
  animation: ai-orbit 26s var(--e-inout) infinite alternate;
}
@keyframes ai-orbit {
  0%   { transform: rotate(0deg) scale(1); }
  100% { transform: rotate(26deg) scale(1.22); }
}

.ai__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

.ai .eyebrow { color: rgba(255,255,255,0.55); }
.ai .eyebrow::before { background: rgba(255,255,255,0.34); }
.ai .lede { color: rgba(255,255,255,0.68); }

.ai__panel {
  padding: 22px;
  border-radius: var(--r-lg);
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(22px) saturate(160%);
  -webkit-backdrop-filter: blur(22px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.22), 0 30px 60px -30px rgba(0,0,0,0.6);
}

.ai__row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 4px;
  border-bottom: 1px solid rgba(255,255,255,0.09);
}
.ai__row:last-child { border-bottom: 0; }

.ai__row-i {
  width: 34px; height: 34px;
  border-radius: 10px;
  display: grid; place-items: center;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.14);
  flex: none;
}

.ai__row-t { font-size: 0.9375rem; font-weight: 560; }
.ai__row-d { font-size: 0.8125rem; color: rgba(255,255,255,0.55); }

.ai__row-v {
  margin-left: auto;
  font-family: var(--f-mono);
  font-size: 0.8125rem;
  font-variant-numeric: tabular-nums;
  color: #fff;
}

.ai__bar {
  position: relative;
  height: 3px;
  border-radius: 2px;
  background: rgba(255,255,255,0.12);
  overflow: hidden;
  margin-top: 22px;
}
.ai__bar i {
  position: absolute;
  inset: 0;
  transform-origin: left;
  transform: scaleX(0);
  background: var(--spectrum);
  background-size: 200% 100%;
  transition: transform 1.6s var(--e-out);
  animation: spectrum-drift 4s linear infinite;
}
.is-in .ai__bar i { transform: scaleX(1); }

.ai__feats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 12px;
  margin-top: 34px;
}
.ai__feat {
  padding: 18px;
  border-radius: var(--r-md);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
}
.ai__feat b { display: block; font-size: 0.9375rem; font-weight: 620; margin-bottom: 5px; }
.ai__feat span { font-size: 0.8125rem; color: rgba(255,255,255,0.55); line-height: 1.45; }

/* ---------- 18. Prozess ---------- */
.steps { display: flex; flex-direction: column; }

.step {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr) minmax(0, 0.9fr);
  gap: clamp(16px, 3vw, 48px);
  align-items: start;
  padding-block: clamp(30px, 4vw, 48px);
  border-top: 1px solid var(--ink-08);
  position: relative;
}
.step:last-child { border-bottom: 1px solid var(--ink-08); }

.step::after {
  content: "";
  position: absolute;
  left: 0; top: -1px;
  height: 1px; width: 100%;
  background: var(--spectrum);
  background-size: 200% 100%;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.3s var(--e-out);
}
.step.is-in::after { transform: scaleX(1); }

.step__n {
  font-family: var(--f-mono);
  font-size: 0.8125rem;
  color: var(--ink-32);
  letter-spacing: 0.06em;
  padding-top: 7px;
}

.step__t {
  font-size: clamp(1.4rem, 2.6vw, 2.1rem);
  font-weight: 720;
  letter-spacing: -0.032em;
  line-height: 1.08;
}
.step__d { font-size: 0.9375rem; color: var(--ink-64); line-height: 1.6; margin-top: 12px; }

.step__side { display: flex; flex-direction: column; gap: 10px; padding-top: 5px; }
.step__chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  padding: 7px 14px;
  border-radius: var(--r-full);
  border: 1px solid var(--ink-08);
  background: var(--ink-04);
  font-size: 0.8125rem;
  color: var(--ink-64);
}

/* ---------- 19. Zahlen ---------- */
.proof {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1px;
  background: var(--ink-08);
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 1px solid var(--ink-08);
}

.proof__c {
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 34px 28px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.proof__n {
  font-size: clamp(2.2rem, 4.2vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.proof__l { font-size: 0.875rem; color: var(--ink-64); }

/* ---------- 20. Stimmen ---------- */
.quotes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 14px;
}

.quote {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 32px 30px;
  border-radius: var(--r-xl);
}

.quote__stars { display: flex; gap: 3px; color: var(--ink); }

/* Nummerierte Karten (Erstkunden-Abschnitt) */
.quote__no {
  font-family: var(--f-mono);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  background: var(--spectrum);
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  animation: spectrum-drift 7s linear infinite;
}

.quote__h {
  font-size: 1.15rem;
  font-weight: 680;
  letter-spacing: -0.026em;
  line-height: 1.22;
  margin-top: -6px;
}

.quote__t {
  font-size: 1.0625rem;
  line-height: 1.55;
  letter-spacing: -0.014em;
  text-wrap: pretty;
}
.quote__t b { font-weight: 640; }

.quote__who {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--ink-08);
  display: flex;
  align-items: center;
  gap: 12px;
}

.avatar {
  width: 38px; height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.8125rem;
  font-weight: 640;
  color: #fff;
  flex: none;
  letter-spacing: -0.02em;
}

.quote__name { font-size: 0.9375rem; font-weight: 600; }
.quote__role { font-size: 0.8125rem; color: var(--ink-48); }

/* ---------- 21. Preise ---------- */
.plans {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 14px;
  align-items: start;
}

.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: 34px 32px 32px;
  border-radius: var(--r-xl);
  transition: transform 0.7s var(--e-out);
}
.plan:hover { transform: translateY(-5px); }

.plan--hero {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
  box-shadow: 0 30px 70px -30px rgba(8,8,10,0.55);
}
.plan--hero .plan__d,
.plan--hero .plan__list li { color: rgba(255,255,255,0.66); }
.plan--hero .plan__list { border-color: rgba(255,255,255,0.14); }
.plan--hero .plan__list svg { color: rgba(255,255,255,0.44); }
.plan--hero .plan__note { color: rgba(255,255,255,0.44); }
.plan--hero .btn { --btn-bg: #fff; --btn-fg: var(--ink); }
.plan--hero .btn:hover { color: #fff; }

.plan__flag {
  position: absolute;
  top: 20px; right: 22px;
  padding: 5px 12px;
  border-radius: var(--r-full);
  font-size: 0.6875rem;
  font-weight: 620;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  background: var(--spectrum);
  background-size: 200% 100%;
  color: var(--ink);
  animation: spectrum-drift 5s linear infinite;
}

.plan__t { font-size: 1.15rem; font-weight: 700; letter-spacing: -0.024em; }
.plan__d { font-size: 0.875rem; color: var(--ink-64); line-height: 1.5; }

.plan__p {
  display: flex;
  align-items: baseline;
  gap: 7px;
  letter-spacing: -0.04em;
}
.plan__p b {
  font-size: clamp(2.2rem, 3.8vw, 3rem);
  font-weight: 800;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.plan__p span { font-size: 0.875rem; opacity: 0.5; letter-spacing: 0; }

.plan__list {
  display: flex;
  flex-direction: column;
  gap: 11px;
  padding-top: 22px;
  border-top: 1px solid var(--ink-08);
}
.plan__list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.875rem;
  color: var(--ink-64);
  line-height: 1.45;
}
.plan__list svg { flex: none; margin-top: 3px; color: var(--ink-32); }

.plan__note { font-size: 0.75rem; color: var(--ink-32); text-align: center; }
.plan .btn { width: 100%; }

/* ---------- 22. Garantie ---------- */
.guarantee {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: clamp(22px, 3vw, 40px);
  align-items: center;
  padding: clamp(28px, 4vw, 46px);
  border-radius: var(--r-xl);
}

.guarantee__seal {
  width: clamp(72px, 9vw, 104px);
  height: clamp(72px, 9vw, 104px);
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex: none;
  background: var(--ink);
  color: #fff;
  position: relative;
}
.guarantee__seal::after {
  content: "";
  position: absolute;
  inset: -7px;
  border-radius: 50%;
  padding: 1.5px;
  background: var(--spectrum);
  background-size: 200% 100%;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  animation: spectrum-drift 6s linear infinite;
}

/* ---------- 23. FAQ ---------- */
.faq { border-top: 1px solid var(--ink-08); }

.faq__i { border-bottom: 1px solid var(--ink-08); }

.faq__q {
  width: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding-block: clamp(22px, 3vw, 30px);
  text-align: left;
  font-size: clamp(1.05rem, 1.7vw, 1.3rem);
  font-weight: 620;
  letter-spacing: -0.024em;
  line-height: 1.3;
  transition: color 0.35s var(--e-out);
}
.faq__q:hover { color: var(--ink-64); }

.faq__ico {
  position: relative;
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 1px solid var(--ink-16);
  flex: none;
  margin-top: -3px;
  transition: background 0.45s var(--e-out), border-color 0.45s var(--e-out),
              transform 0.55s var(--e-out);
}
.faq__ico::before,
.faq__ico::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  width: 12px; height: 1.5px;
  background: var(--ink);
  transform: translate(-50%, -50%);
  border-radius: 2px;
  transition: transform 0.5s var(--e-out), background 0.45s var(--e-out);
}
.faq__ico::after { transform: translate(-50%, -50%) rotate(90deg); }

.faq__i.is-open .faq__ico {
  background: var(--ink);
  border-color: var(--ink);
  transform: rotate(180deg);
}
.faq__i.is-open .faq__ico::before,
.faq__i.is-open .faq__ico::after { background: #fff; }
.faq__i.is-open .faq__ico::after { transform: translate(-50%, -50%) rotate(0deg); }

.faq__a {
  overflow: hidden;
  height: 0;
  transition: height 0.6s var(--e-out);
}
.faq__a-in {
  padding-bottom: 30px;
  padding-right: clamp(0px, 8vw, 130px);
  font-size: 1rem;
  line-height: 1.62;
  color: var(--ink-64);
  text-wrap: pretty;
}
.faq__a-in strong { color: var(--ink); font-weight: 600; }

/* ---------- 24. Kontakt ---------- */
.cta {
  position: relative;
  border-radius: var(--r-2xl);
  padding: clamp(36px, 5.5vw, 76px);
  overflow: hidden;
}

.cta__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 72px);
}

.form { display: flex; flex-direction: column; gap: 14px; }

.field { position: relative; display: flex; flex-direction: column; gap: 8px; }

.field label {
  font-size: 0.8125rem;
  font-weight: 520;
  color: var(--ink-64);
  letter-spacing: -0.005em;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  padding: 15px 17px;
  border-radius: var(--r-md);
  border: 1px solid var(--ink-16);
  background: rgba(255,255,255,0.72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  font-size: 0.9375rem;
  transition: border-color 0.35s var(--e-out), box-shadow 0.35s var(--e-out),
              background 0.35s var(--e-out);
  -webkit-appearance: none;
  appearance: none;
}

.field textarea { resize: vertical; min-height: 118px; line-height: 1.55; }

.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1.5 6 6.5l5-5' stroke='%2308080a' stroke-opacity='.5' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 17px center;
  padding-right: 42px;
  cursor: pointer;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: var(--ink);
  background: #fff;
  box-shadow: 0 0 0 4px var(--ink-08);
}

.field input::placeholder,
.field textarea::placeholder { color: var(--ink-32); }

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.consent {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  font-size: 0.8125rem;
  color: var(--ink-48);
  line-height: 1.5;
  cursor: pointer;
}
.consent input {
  width: 18px; height: 18px;
  margin-top: 2px;
  flex: none;
  accent-color: var(--ink);
  cursor: pointer;
}
.consent a { color: var(--ink); text-decoration: underline; text-underline-offset: 2px; }

.form__msg {
  font-size: 0.875rem;
  padding: 13px 16px;
  border-radius: var(--r-md);
  background: var(--ink-04);
  border: 1px solid var(--ink-08);
  display: none;
}
.form__msg.is-on { display: block; }

.cta__side { display: flex; flex-direction: column; gap: 26px; }

.contact-list { display: flex; flex-direction: column; gap: 2px; }

.contact-item {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 17px 4px;
  border-bottom: 1px solid var(--ink-08);
  transition: padding-left 0.45s var(--e-out);
}
.contact-item:hover { padding-left: 12px; }

.contact-item__i {
  width: 38px; height: 38px;
  border-radius: 11px;
  display: grid; place-items: center;
  border: 1px solid var(--ink-08);
  background: var(--ink-04);
  flex: none;
}
.contact-item__l { font-size: 0.75rem; color: var(--ink-32); letter-spacing: 0.06em; text-transform: uppercase; }
.contact-item__v { font-size: 0.9375rem; font-weight: 560; }

.urgency {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 15px 18px;
  border-radius: var(--r-md);
  border: 1px solid var(--ink-08);
  background: var(--ink-04);
  font-size: 0.875rem;
  color: var(--ink-64);
  line-height: 1.45;
}
.urgency b { color: var(--ink); font-weight: 620; }

/* ---------- 25. Footer ---------- */
.footer {
  padding-top: clamp(56px, 7vw, 96px);
  padding-bottom: 36px;
  border-top: 1px solid var(--ink-08);
}

.footer__top {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
  gap: clamp(28px, 4vw, 56px);
  padding-bottom: clamp(40px, 5vw, 68px);
}

.footer__brand { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }

.footer__col h4 {
  font-size: 0.75rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--ink-32);
  font-weight: 560;
  margin-bottom: 16px;
}
.footer__col li { margin-bottom: 10px; }
.footer__col a {
  font-size: 0.9375rem;
  color: var(--ink-64);
  transition: color 0.3s var(--e-out);
}
.footer__col a:hover { color: var(--ink); }

.footer__bot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 26px;
  border-top: 1px solid var(--ink-08);
  font-size: 0.8125rem;
  color: var(--ink-32);
}
.footer__bot nav { display: flex; flex-wrap: wrap; gap: 20px; }

/* Riesiger Wortmarken-Abschluss */
.footer__word {
  font-size: clamp(3.4rem, 15.5vw, 15rem);
  font-weight: 800;
  letter-spacing: -0.055em;
  line-height: 0.86;
  white-space: nowrap;
  margin-bottom: clamp(24px, 3vw, 44px);
  background: linear-gradient(180deg, var(--ink-08), var(--ink-16));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  user-select: none;
}

/* ---------- 26. Rechtstexte ---------- */
.legal { padding-top: 160px; }

.legal__body {
  max-width: 780px;
  font-size: 1rem;
  line-height: 1.72;
  color: var(--ink-80);
}
.legal__body h2 {
  font-size: clamp(1.3rem, 2.2vw, 1.8rem);
  font-weight: 720;
  letter-spacing: -0.028em;
  margin-top: 52px;
  margin-bottom: 14px;
  color: var(--ink);
}
.legal__body h3 {
  font-size: 1.0625rem;
  font-weight: 640;
  letter-spacing: -0.018em;
  margin-top: 30px;
  margin-bottom: 8px;
  color: var(--ink);
}
.legal__body p { margin-bottom: 15px; text-wrap: pretty; }
.legal__body ul { list-style: disc; padding-left: 22px; margin-bottom: 15px; }
.legal__body ul li { margin-bottom: 7px; }
.legal__body a { text-decoration: underline; text-underline-offset: 3px; }
.legal__body strong { font-weight: 620; color: var(--ink); }

.legal__toc {
  position: sticky;
  top: 110px;
  align-self: start;
}
.legal__toc a {
  display: block;
  padding: 7px 0;
  font-size: 0.875rem;
  color: var(--ink-48);
  transition: color 0.3s var(--e-out), padding-left 0.4s var(--e-out);
}
.legal__toc a:hover { color: var(--ink); padding-left: 6px; }

.legal__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 240px;
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}

.placeholder-note {
  display: flex;
  gap: 13px;
  padding: 18px 20px;
  border-radius: var(--r-md);
  border: 1px dashed var(--ink-32);
  background: var(--ink-04);
  font-size: 0.875rem;
  color: var(--ink-64);
  line-height: 1.55;
  margin-bottom: 34px;
}
.placeholder-note b { color: var(--ink); }

mark.ph {
  background: rgba(255, 217, 61, 0.42);
  color: var(--ink);
  padding: 1px 5px;
  border-radius: 4px;
  font-weight: 560;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

/* ---------- 27. Cursor ---------- */
.cursor {
  position: fixed;
  top: 0; left: 0;
  z-index: 400;
  pointer-events: none;
  mix-blend-mode: difference;
  will-change: transform;
}

.cursor__d {
  width: 9px; height: 9px;
  margin: -4.5px 0 0 -4.5px;
  border-radius: 50%;
  background: #fff;
  transition: width 0.35s var(--e-out), height 0.35s var(--e-out),
              margin 0.35s var(--e-out);
}
.cursor.is-hot .cursor__d {
  width: 46px; height: 46px;
  margin: -23px 0 0 -23px;
}

@media (hover: none), (pointer: coarse) {
  .cursor { display: none; }
}

/* ---------- 28. Responsive ---------- */
@media (max-width: 1040px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__aside { padding-bottom: 0; }
  .s-head { grid-template-columns: 1fr; align-items: start; }
  .ai__grid { grid-template-columns: 1fr; }
  .cta__grid { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .legal__grid { grid-template-columns: 1fr; }
  .legal__toc { position: static; }
  .step { grid-template-columns: 48px minmax(0, 1fr); }
  .step__side { grid-column: 2; flex-direction: row; flex-wrap: wrap; }
}

@media (max-width: 760px) {
  body { font-size: 16px; }
  .nav__links { display: none; }
  .nav__cta .btn { display: none; }
  .nav__burger { display: flex; }
  .footer__top { grid-template-columns: 1fr; gap: 32px; }
  .field-row { grid-template-columns: 1fr; }
  .guarantee { grid-template-columns: 1fr; text-align: left; }
  .hero { padding-top: 116px; }
  .stage-ctl { flex-direction: column; align-items: stretch; gap: 18px; }
  .stage-ctl__hint { display: none; }
  .marquee--xl .marquee__item span:nth-child(even) { -webkit-text-stroke-width: 1px; }
}

/* ---------- 29. Reduced Motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  [data-reveal] { opacity: 1; transform: none; filter: none; }
  .split-line > span, .split-word > span { transform: none; }
  .grain, #gradient-canvas { display: none; }
  .loader { display: none; }
}

/* Fallback ohne backdrop-filter */
@supports not (backdrop-filter: blur(1px)) {
  .glass, .nav.is-stuck .nav__inner, .btn--glass { background: rgba(255,255,255,0.92); }
  .menu { background: rgba(255,255,255,0.98); }
}
