/* Treibiq site — page styles built on tokens.css */

/* ---------- Reset & base ---------- */
* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  /* overflow-x: clip statt hidden - clip macht KEINEN scroll-container,
     dadurch funktioniert position: sticky auf children. hidden hatte den
     Header geknackt - er scrollt sonst mit statt zu kleben. */
  overflow-x: clip;
  /* Overscroll-Bounce daempfen. contain (statt none) erlaubt internes
     Scrolling, blockiert nur das "rubber-band" am Page-Top/Bottom auf
     iOS Safari + Android Chrome. Verhindert das harte Bouncen beim
     schnellen Hochscrollen von der Seitenmitte. */
  overscroll-behavior-y: contain;
}
body {
  margin: 0;
  overflow-x: clip;
  max-width: 100vw;
  position: relative;
  overscroll-behavior-y: contain;
  /* Globaler Page-Background-Gradient. SEHR SUBTIL - soll im Hintergrund
     leben, keinen Kontrast erzeugen.
     Performance-Fix 2026-05-13: attachment: fixed RAUS. Bei fixed muss
     der Browser den gesamten Multi-Layer-Gradient bei JEDEM Scroll-Frame
     neu rastern - groesster bekannter Repaint-Killer. Jetzt scroll
     (default) -> Gradient wird einmal gerastert, danach billig composite. */
  background:
    radial-gradient(70% 55% at 8% 8%,   rgba(172, 136, 255, 0.10) 0%, transparent 65%),
    radial-gradient(60% 50% at 92% 12%, rgba(255, 153, 102, 0.09) 0%, transparent 65%),
    radial-gradient(55% 50% at 95% 65%, rgba(172, 136, 255, 0.08) 0%, transparent 65%),
    radial-gradient(60% 55% at 5% 70%,  rgba(255, 153, 102, 0.07) 0%, transparent 65%),
    radial-gradient(50% 45% at 50% 100%, rgba(172, 136, 255, 0.06) 0%, transparent 65%),
    var(--paper, #FBF9FE);
}
img, svg { display: block; max-width: 100%; }
button { font: inherit; cursor: pointer; }
input, textarea, select { font: inherit; }

/* Density token (tweakable) */
:root {
  --density: 1;
  --section-pad: calc(96px * var(--density));
  --section-pad-sm: calc(64px * var(--density));
  /* Custom-Easing-Curves (Emil Kowalski, animations.dev):
     Built-in CSS-Easings sind zu schwach. Diese Curves haben mehr Punch
     und machen Animationen "intentional" statt schwammig. */
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);
  /* Legacy-Alias: --ease wurde im Codebase als ease-out genutzt, ohne dass
     er je definiert war (effektiv = CSS default ease). Jetzt korrekt auf
     den starken ease-out gemapped. */
  --ease: var(--ease-out);
}

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1.5px solid transparent;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  transition: background 150ms ease-out, transform var(--t-base) var(--ease), color 150ms;
  white-space: nowrap;
  text-decoration: none;
}
.btn--lg { padding: 18px 28px; font-size: 16px; }
.btn--md { padding: 13px 22px; font-size: 14.5px; }
.btn--sm { padding: 9px 16px; font-size: 13px; }
.btn--primary { background: var(--ink); color: var(--paper); }
.btn--primary:hover { background: #4F4878; transform: translateY(-1px); }
.btn--secondary { background: var(--paper); color: var(--ink); border-color: var(--ink); }
/* Audit Jannik 2026-05-12: vorher paper -> white = unsichtbar.
   Jetzt echtes invertieren auf hover (ink-on-paper -> paper-on-ink). */
.btn--secondary:hover { background: var(--ink); color: var(--paper); transform: translateY(-1px); }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: rgb(var(--ink-rgb) / 0.04); }
.btn--on-dark { background: var(--paper); color: var(--ink); }
.btn--on-dark:hover { background: var(--white); transform: translateY(-1px); }
/* Press-Feedback: scale(0.97) auf jedem .btn. Gibt sofortiges haptisches
   Feedback, dass das UI den Klick "gehoert" hat. Override fuer hover-lift
   damit das Press-Verhalten konsistent ist (kein translate mehr). */
.btn:active { transform: scale(0.97); transition-duration: 100ms; }
.btn:focus-visible,
.btn--primary:focus-visible,
.btn--secondary:focus-visible,
.btn--ghost:focus-visible {
  outline: 2px solid var(--violet-500);
  outline-offset: 2px;
}

.btn--icon {
  width: 56px; height: 56px; padding: 0; border-radius: 999px;
  background: var(--ink); color: var(--paper);
  display: inline-flex; align-items: center; justify-content: center;
}
.btn--icon:hover { background: #4F4878; }
.btn--icon-sm { width: 40px; height: 40px; }
.btn--icon--paper { background: var(--paper); color: var(--ink); border: 1px solid var(--hairline); }
.btn--icon--paper:hover { background: var(--white); }

.btn-arrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-weight: 600; color: var(--ink); text-decoration: none;
  font-size: 14.5px; transition: gap var(--t-base) var(--ease);
}
.btn-arrow:hover { gap: 16px; color: var(--violet-700); }
.btn-arrow .ico { display: inline-flex; width: 36px; height: 36px; align-items: center; justify-content: center; border-radius: 999px; background: var(--ink); color: var(--paper); transition: transform var(--t-base) var(--ease); }
.btn-arrow:hover .ico { transform: translateX(2px); background: var(--violet-700); }

/* ============================================================
   Eyebrow / chip / tag
   ============================================================ */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 500;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--ink-soft); margin: 0;
}
.eyebrow .dot { width: 7px; height: 7px; border-radius: 999px; background: var(--accent); display: inline-block; }
.eyebrow.on-dark { color: var(--violet-200); }
.eyebrow.on-dark .dot { background: var(--peach-300); }

.chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 14px; border-radius: 999px;
  font-size: 13px; font-weight: 500;
  border: 1px solid var(--hairline-strong);
  color: var(--ink); background: var(--white);
  transition: background 150ms ease-out, color 150ms ease-out, border-color 150ms ease-out;
}
.chip--active { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.chip:hover { border-color: var(--ink); }
.chip:active { transform: scale(0.97); transition-duration: 100ms; }

.tool-chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px 8px 10px;
  border-radius: 999px;
  background: var(--white);
  border: 1px solid var(--hairline);
  font-size: 13px; font-weight: 500; color: var(--ink);
}
.tool-chip img { width: 18px; height: 18px; border-radius: 4px; }
.tool-chip--bare { padding: 0; background: transparent; border: 0; }

/* Logo-Only-Variante: nur das Logo, groesser, in einem runden Tile.
   Wird in den Workflow-Cards (Use-Cases) verwendet. */
.tool-chip--logo-only {
  width: 44px; height: 44px;
  padding: 0;
  border-radius: 12px;
  background: var(--white);
  border: 1px solid var(--hairline);
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: transform var(--t-base) ease-out, border-color var(--t-base) ease-out;
}
.tool-chip--logo-only:hover {
  transform: translateY(-2px);
  border-color: var(--violet-300, #C7B3FF);
}
.tool-chip--logo-only img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  border-radius: 6px;
}

/* ============================================================
   Header / nav

   States:
   - Default (oben): full-width sticky, transparent, kein border/shadow
   - is-scrolled (nach scroll): floating pill - zentriert, max-width ~1100px,
     pill-rounded, border, shadow, backdrop-blur. Sitzt mit 14px Abstand
     vom Viewport-Top (sticky top:0 + header padding-top).
   ============================================================ */
/* Header-Strategy:
   - .header hat fix min-height = locks Page-Reservierung. Wenn die Pille
     in Hoehe morpht, kann der Page-Content NICHT shiften - die reservierte
     Hoehe bleibt konstant.
   - .header__inner morpht max-width + padding + bg + border + shadow +
     border-radius synchron ueber 220ms. Glatter Material-Ease.
   - .header padding-top morpht mit (0 -> 18) damit die Pille smooth nach
     unten gleitet statt zu snappen.
   - Children (font-size, image-dim, anchor-padding) snappen instant -
     DAS war der echte Lag-Killer, nicht die Pill-Geometrie. Text/Image-
     Reflow pro Frame ueber 7 Nodes = Browser kommt nicht mit.
   - backdrop-filter pre-initialisiert mit blur(0). Snap zu blur(12) bei
     scroll - GPU-Layer existiert schon, kein einmaliger Stutter.
   - will-change Hint allokiert GPU-Layer proaktiv. */
.header {
  position: sticky; top: 0; z-index: 50;
  padding: 0;
  /* Reserve fixe Hoehe fuer beide States. Pille morpht innerhalb. */
  min-height: 88px;
  transition: padding 220ms cubic-bezier(0.4, 0, 0.2, 1);
  will-change: padding;
}
.header__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 18px var(--container-pad);
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
  border-radius: 0;
  background-color: rgba(251, 249, 254, 0);
  border: 1px solid transparent;
  box-shadow: 0 0 0 rgb(var(--ink-rgb) / 0);
  backdrop-filter: blur(0) saturate(100%);
  -webkit-backdrop-filter: blur(0) saturate(100%);
  will-change: max-width, padding, background-color, box-shadow, border-radius;
  transition:
    max-width 220ms cubic-bezier(0.4, 0, 0.2, 1),
    padding 220ms cubic-bezier(0.4, 0, 0.2, 1),
    background-color 220ms cubic-bezier(0.4, 0, 0.2, 1),
    border-color 220ms cubic-bezier(0.4, 0, 0.2, 1),
    border-radius 220ms cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 220ms cubic-bezier(0.4, 0, 0.2, 1);
}

.header.is-scrolled {
  padding: 18px 16px 0;
}
.header.is-scrolled .header__inner {
  max-width: 1320px;
  padding: 9px 12px 9px 22px;
  gap: 18px;
  border-radius: 999px;
  background-color: rgba(251, 249, 254, 0.7);
  border-color: rgba(255, 255, 255, 0.55);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.85),
    0 10px 28px -10px rgb(var(--ink-rgb) / 0.28);
  backdrop-filter: blur(12px) saturate(140%);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
}
.header.is-scrolled .logo__word { font-size: 21px; }
.header.is-scrolled .nav a {
  padding: 8px 12px;
  font-size: 13.5px;
}
.header.is-scrolled .header__right .btn--md {
  padding: 10px 18px;
  font-size: 14px;
}
.nav a {
  /* font-size + padding snappen instant - Text-Reflow pro Frame war
     einer der Haupt-Lag-Verursacher. */
  transition: background 150ms ease-out, color 150ms ease-out;
}
.header__right .btn--md {
  /* font-size + padding snappen ebenfalls */
  transition: background 150ms ease-out, transform var(--t-base) var(--ease);
}
.logo {
  display: inline-flex; align-items: center; gap: 12px;
  text-decoration: none; color: var(--ink);
}
.logo__mark {
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.logo__mark img {
  display: block;
  /* Hoehe wird ueber HTML-Attribut gesetzt (26 default). Beim scrolled-
     State per CSS verkleinert. Image-Resize pro Frame ist teurer Paint -
     daher snap, keine Transition. */
}
.header.is-scrolled .logo__mark img {
  height: 22px;
  width: 35px;
}
.logo__word {
  font-family: var(--font-display);
  font-weight: 800; font-size: 25px;
  letter-spacing: -0.025em; color: var(--ink);
  /* font-size snappt - Text-Reflow ist teuer und nicht GPU-faehig */
}
.nav { display: flex; gap: 6px; align-items: center; }
.nav a {
  position: relative;
  padding: 10px 14px;
  font-size: 14px; font-weight: 500;
  color: var(--ink); text-decoration: none;
  border-radius: 999px;
  transition: background 150ms, color 150ms;
}
.nav a:hover { background: rgb(var(--ink-rgb) / 0.05); color: var(--ink); text-decoration: none; }
.nav a.is-active { background: rgb(var(--ink-rgb) / 0.06); color: var(--ink); font-weight: 600; }
.header__right { display: flex; gap: 10px; align-items: center; }

@media (max-width: 880px) {
  .nav { display: none; }
  .header__right .btn-text { display: none; }
  /* Header-CTA auf Mobile verstecken - der Button steht im Mobile-Drawer */
  .header__right .btn { display: none; }
}

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  width: 44px; height: 44px;
  border-radius: 999px; border: 1px solid var(--hairline-strong);
  background: var(--white); color: var(--ink);
  align-items: center; justify-content: center;
}
@media (max-width: 880px) { .menu-toggle { display: inline-flex; } }

/* Body-Scroll-Lock wenn Menu offen, verhindert Background-Scroll */
body.menu-open { overflow: hidden; }

.mobile-menu {
  position: fixed; inset: 0; z-index: 60;
  background: var(--paper);
  display: flex; flex-direction: column;
  padding: 24px;
  /* Initial-State: ausgeblendet UND skaliert + von oben rein. Auffaellige Animation. */
  opacity: 0;
  transform: translateY(-24px) scale(0.97);
  pointer-events: none;
  visibility: hidden;
  transition:
    opacity 360ms var(--ease-out),
    transform var(--t-slow) cubic-bezier(0.34, 1.35, 0.64, 1),
    visibility 0s linear var(--t-slow);
}
.mobile-menu.is-open {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
  visibility: visible;
  transition:
    opacity 360ms var(--ease-out),
    transform var(--t-slow) cubic-bezier(0.34, 1.35, 0.64, 1),
    visibility 0s linear 0s;
}
.mobile-menu__top {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 32px;
}
.mobile-menu nav { display: flex; flex-direction: column; gap: 4px; }
.mobile-menu nav a {
  padding: 16px; font-size: 22px; font-weight: 600; color: var(--ink);
  font-family: var(--font-display); letter-spacing: -0.015em;
  border-bottom: 1px solid var(--hairline);
  text-decoration: none;
  /* Stagger-Reveal: Items von rechts einblenden mit Cascade, klar wahrnehmbar */
  opacity: 0;
  transform: translateX(20px);
  transition:
    opacity 380ms var(--ease-out),
    transform var(--t-slow) var(--ease-out);
}
.mobile-menu.is-open nav a {
  opacity: 1;
  transform: translateX(0);
}
.mobile-menu.is-open nav a:nth-child(1) { transition-delay: 120ms; }
.mobile-menu.is-open nav a:nth-child(2) { transition-delay: 180ms; }
.mobile-menu.is-open nav a:nth-child(3) { transition-delay: 240ms; }
.mobile-menu.is-open nav a:nth-child(4) { transition-delay: 300ms; }
.mobile-menu.is-open nav a:nth-child(5) { transition-delay: 360ms; }
.mobile-menu.is-open nav a:nth-child(6) { transition-delay: 420ms; }
.mobile-menu .btn--primary {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 380ms var(--ease-out),
    transform var(--t-slow) var(--ease-out);
  transition-delay: 500ms;
}
.mobile-menu.is-open .btn--primary {
  opacity: 1;
  transform: translateY(0);
}
/* Backdrop hinter dem Menu fuer mehr Tiefe */
.mobile-menu::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(172, 136, 255, 0.10), transparent 60%),
    var(--paper);
}

/* ============================================================
   Layout primitives
   ============================================================ */
.container { max-width: var(--container); margin: 0 auto; padding-left: var(--container-pad); padding-right: var(--container-pad); }
.section { padding-top: var(--section-pad); padding-bottom: var(--section-pad); }
/* Zenith-Pattern: alternierender Background-Tint zwischen Sektionen.
   --tint-violet: very light brand-violet damit Sektionen sich abheben
   ohne aufdringlich zu sein. */
/* Audit Jannik 2026-05-12: tint mit niedriger alpha damit kein harter Cut
   zwischen normaler section und tint-section entsteht. Body-Gradient
   scheint fast komplett durch. */
.section--tint { background: rgba(245, 240, 255, 0.10); }
.section--sm { padding-top: var(--section-pad-sm); padding-bottom: var(--section-pad-sm); }
.section--dark { background: var(--ink); color: var(--paper); }
.section--paper-warm { background: var(--paper-warm); }

.section-head { display: flex; flex-direction: column; gap: 14px; max-width: 1100px; margin-bottom: 56px; }
.section-head__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(34px, 4.4vw, 52px);
  line-height: 1.06;
  letter-spacing: -0.028em;
  color: var(--ink); margin: 0;
  text-wrap: balance;
}
.section-head--dark .section-head__title { color: var(--paper); }
.section-head__sub {
  font-size: 17px; line-height: 1.55;
  color: var(--ink-soft); margin: 0; max-width: 620px;
}
.section-head--dark .section-head__sub { color: var(--ink-faint); }

.row-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 48px; }

/* ============================================================
   Hero
   ============================================================ */
.hero { position: relative; padding: 72px var(--container-pad) 40px; overflow: hidden; }
.hero__inner {
  max-width: var(--container); margin: 0 auto;
  display: grid; grid-template-columns: 1.05fr 1fr;
  gap: clamp(40px, 5vw, 96px); align-items: center;
}
.hero__copy { display: flex; flex-direction: column; gap: 26px; }
.hero__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(48px, 6.4vw, 88px);
  line-height: 1.02;
  letter-spacing: -0.035em;
  color: var(--ink); margin: 0;
  text-wrap: balance;
}
.hero__title em {
  font-style: normal;
  background: linear-gradient(95deg, var(--violet-500) 0%, var(--peach-500) 70%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero__sub {
  font-size: 19px; line-height: 1.55;
  color: var(--ink-soft); margin: 0; max-width: 560px;
  text-wrap: pretty;
}
.hero__ctas { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.hero__trust {
  display: flex; align-items: center; gap: 14px;
  font-size: 13.5px; color: var(--ink-soft);
}
.hero__trust .stack {
  display: inline-flex;
}
.hero__trust .stack span {
  width: 32px; height: 32px; border-radius: 999px;
  border: 2px solid var(--paper);
  background: linear-gradient(135deg, var(--violet-500), var(--peach-500));
  margin-left: -10px;
}
.hero__trust .stack span:first-child { margin-left: 0; }
.hero__trust strong { color: var(--ink); font-weight: 700; }

/* Hero visual: stage holding a video / animated workflow */
.hero__stage {
  position: relative;
  border-radius: var(--r-xl);
  background: var(--ink);
  aspect-ratio: 5 / 4;
  overflow: hidden;
  box-shadow: var(--shadow-elev);
  isolation: isolate;
}
.hero__stage::before {
  /* gradient bloom */
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 80% 0%, rgb(172 136 255 / 0.55), transparent 60%),
    radial-gradient(ellipse 60% 50% at 0% 100%, rgb(255 153 102 / 0.5), transparent 60%);
  z-index: 0;
}
.hero__stage::after {
  /* subtle noise */
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgb(255 255 255 / 0.05) 1px, transparent 0);
  background-size: 4px 4px;
  z-index: 1; pointer-events: none;
}
.hero__video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 2;
  opacity: 0.85;
}
.hero__stage-content { position: absolute; inset: 0; z-index: 3; padding: 28px; display: flex; flex-direction: column; justify-content: space-between; }
.hero__stage-label {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgb(255 255 255 / 0.1);
  backdrop-filter: blur(12px);
  border: 1px solid rgb(255 255 255 / 0.15);
  color: var(--paper);
  font-size: 12px; font-weight: 500; letter-spacing: 0.04em; text-transform: uppercase;
  align-self: flex-start;
}
.hero__stage-label .pulse { width: 8px; height: 8px; border-radius: 999px; background: var(--peach-300); animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(1.25); }
}

/* Floating workflow nodes inside hero stage (fallback decoration) */
.flow {
  position: absolute; inset: 0; pointer-events: none;
}
.flow__node {
  position: absolute;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 14px 10px 12px;
  background: rgb(255 255 255 / 0.96);
  border-radius: 12px;
  font-size: 12.5px; font-weight: 600;
  color: var(--ink);
  box-shadow: 0 8px 24px -8px rgb(0 0 0 / 0.35);
  white-space: nowrap;
  animation: float 6s ease-in-out infinite;
}
.flow__node img { width: 18px; height: 18px; border-radius: 4px; }
.flow__node--n1 { top: 12%; left: 8%; animation-delay: 0s; }
.flow__node--n2 { top: 38%; right: 6%; animation-delay: 1.2s; }
.flow__node--n3 { bottom: 22%; left: 14%; animation-delay: 2.4s; }
.flow__node--n4 { bottom: 8%; right: 18%; animation-delay: 3.6s; }
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
.flow__line {
  position: absolute;
  background: linear-gradient(90deg, transparent, rgb(172 136 255 / 0.6), rgb(255 153 102 / 0.6), transparent);
  height: 2px;
  border-radius: 2px;
}
.flow__line--l1 { top: 22%; left: 26%; width: 40%; transform: rotate(15deg); }
.flow__line--l2 { top: 56%; left: 30%; width: 35%; transform: rotate(-10deg); }
.flow__line--l3 { bottom: 30%; left: 32%; width: 32%; transform: rotate(20deg); }

.hero__stage-foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; }
.hero__stage-stat {
  background: rgb(255 255 255 / 0.95);
  border-radius: var(--r-md);
  padding: 14px 18px;
  display: flex; flex-direction: column; gap: 2px;
}
.hero__stage-stat__num {
  font-family: var(--font-display);
  font-weight: 800; font-size: 28px; letter-spacing: -0.02em;
  background: linear-gradient(95deg, var(--violet-500), var(--peach-500));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero__stage-stat__label { font-size: 11.5px; color: var(--ink-soft); letter-spacing: 0.04em; text-transform: uppercase; font-weight: 500; }

@media (max-width: 1000px) {
  .hero__inner { grid-template-columns: 1fr; gap: 40px; }
  .hero__stage { aspect-ratio: 4 / 3; }
}

/* Ambient wave on hero */
.hero__wave {
  position: absolute;
  top: -40px; right: -100px;
  width: 700px; opacity: 0.25;
  pointer-events: none;
  animation: wave-drift 12s ease-in-out infinite alternate;
  z-index: -1;
}
@keyframes wave-drift {
  from { transform: translateX(0) rotate(-6deg); }
  to { transform: translateX(-30px) rotate(-2deg); }
}

/* ============================================================
   Trust / logo strip
   ============================================================ */
.trust-strip { padding: 30px var(--container-pad) 60px; border-bottom: 1px solid var(--hairline); }
.trust-strip__inner { max-width: var(--container); margin: 0 auto; display: flex; align-items: center; gap: 40px; flex-wrap: wrap; }
.trust-strip__label { font-size: 13px; color: var(--ink-mute); flex: 0 0 auto; }
.trust-strip__row { display: flex; gap: 14px; flex-wrap: wrap; flex: 1; }

/* ============================================================
   Use case grid (workflow cards)
   ============================================================ */
.wf-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}
.wf-grid--4 {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
@media (min-width: 1280px) {
  .wf-grid--4 { grid-template-columns: repeat(4, 1fr); }
}
@media (min-width: 900px) and (max-width: 1279px) {
  .wf-grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .wf-grid, .wf-grid--4 { grid-template-columns: 1fr; }
}

.wf-card {
  /* Zenith-Pattern: hairline + #FAFAFA-Variante statt schweres Shadow.
     Cards stehen durch 1px-Border klar, ohne visuell laut zu sein. */
  background: var(--white);
  border-radius: var(--r-md);
  padding: 26px;
  display: flex; flex-direction: column; gap: 16px;
  text-align: left;
  border: 1px solid var(--hairline);
  cursor: pointer;
  transition: transform var(--t-card) var(--ease), border-color var(--t-base), box-shadow var(--t-card) var(--ease);
  font-family: inherit;
  color: inherit;
  position: relative;
  overflow: hidden;
}
/* Cards in tinted sections kriegen weissen Background fuer Kontrast */
.section--tint .wf-card { background: var(--white); }
.wf-card__head { display: flex; justify-content: space-between; align-items: center; }
.wf-card__num {
  font-family: var(--font-display);
  font-weight: 800; font-size: 13px;
  color: var(--ink-mute);
  letter-spacing: 0.08em;
}
.wf-card__icon {
  width: 44px; height: 44px;
  border-radius: var(--r-sm);
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--violet-050);
  color: var(--violet-700);
}
.wf-card__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 23px;
  letter-spacing: -0.018em;
  line-height: 1.18;
  color: var(--ink);
  margin: 0;
}
.wf-card__body {
  font-size: 14.5px; line-height: 1.5;
  color: var(--ink-soft);
  margin: 0; flex: 1;
}
.wf-card__tools {
  display: flex; gap: 8px; flex-wrap: wrap;
}
.wf-card__tools .tool-chip { font-size: 11.5px; padding: 5px 10px 5px 8px; }
.wf-card__tools .tool-chip img { width: 14px; height: 14px; }
/* Wenn Workflow-Card logo-only Chips nutzt, zeigen wir die etwas groesser */
.wf-card__tools .tool-chip--logo-only {
  width: 40px; height: 40px;
  padding: 8px;
  border-radius: 10px;
}
.wf-card__tools .tool-chip--logo-only img {
  width: 100%; height: 100%;
  border-radius: 4px;
}
.wf-card__foot {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 16px; border-top: 1px solid var(--hairline);
}
.wf-card__savings { display: flex; align-items: baseline; gap: 6px; }
.wf-card__num-big {
  font-family: var(--font-display);
  font-weight: 800; font-size: 30px;
  letter-spacing: -0.025em;
  background: linear-gradient(95deg, var(--violet-500), var(--peach-500));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.wf-card__unit { font-size: 12.5px; color: var(--ink-soft); }
.wf-card__cta {
  width: 36px; height: 36px;
  border-radius: 999px;
  background: var(--ink); color: var(--paper);
  display: inline-flex; align-items: center; justify-content: center;
  transition: background 150ms;
}
.wf-card:hover .wf-card__cta { background: var(--violet-700); }

/* ============================================================
   Stat band (big numbers)
   ============================================================ */
.stat-band {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
@media (max-width: 800px) { .stat-band { grid-template-columns: repeat(2, 1fr); } }
.stat__num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(52px, 6vw, 88px);
  line-height: 1; letter-spacing: -0.035em;
  color: var(--peach-300);
}
.stat__unit { font-size: 13px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: var(--violet-200); margin-top: 10px; }
.stat__desc { font-size: 14px; line-height: 1.5; color: var(--ink-faint); margin-top: 10px; max-width: 240px; }

/* ============================================================
   Process / timeline
   ============================================================ */
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; position: relative; }
.process::before {
  content: ""; position: absolute; top: 36px; left: 4%; right: 4%; height: 2px;
  background: linear-gradient(90deg, var(--violet-300), var(--peach-300));
  z-index: 0; opacity: 0.5;
}
@media (max-width: 1000px) { .process { grid-template-columns: repeat(2, 1fr); } .process::before { display: none; } }
@media (max-width: 600px) { .process { grid-template-columns: 1fr; } }
.step {
  position: relative; z-index: 1;
  background: var(--paper); border-radius: var(--r-md); padding: 28px;
  display: flex; flex-direction: column; gap: 14px;
  border: 1px solid var(--hairline);
}
.step__num {
  width: 56px; height: 56px;
  border-radius: 999px;
  background: var(--ink); color: var(--paper);
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 700; font-size: 22px;
  margin-bottom: 6px;
}
.step__title {
  font-family: var(--font-display); font-weight: 700;
  font-size: 22px; letter-spacing: -0.02em;
  color: var(--ink); margin: 0;
}
.step__body { font-size: 15px; line-height: 1.55; color: var(--ink-soft); margin: 0; }
.step__meta { font-size: 12px; color: var(--ink-mute); font-weight: 500; }

/* ============================================================
   Feature / split card
   ============================================================ */
.split {
  display: grid; grid-template-columns: 1fr 1.6fr;
  gap: 16px; align-items: stretch;
}
@media (max-width: 1000px) { .split { grid-template-columns: 1fr; } }

.tile {
  border-radius: var(--r-xl);
  padding: 32px;
  display: flex; flex-direction: column;
  gap: 16px;
  position: relative; overflow: hidden;
}
.tile--ink { background: var(--ink); color: var(--paper); }
.tile--paper { background: var(--white); color: var(--ink); border: 1px solid var(--hairline); }
.tile__title { font-family: var(--font-display); font-weight: 700; font-size: 28px; letter-spacing: -0.02em; line-height: 1.1; }
.tile__big {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(64px, 7vw, 96px); line-height: 1; letter-spacing: -0.04em;
}

/* ============================================================
   FAQ accordion
   ============================================================ */
.faq { display: grid; grid-template-columns: 0.9fr 1.4fr; gap: 64px; align-items: start; }
@media (max-width: 1000px) { .faq { grid-template-columns: 1fr; gap: 32px; } }
.faq__list { display: flex; flex-direction: column; gap: 10px; }
.faq__item {
  background: var(--white); border: 1px solid var(--hairline);
  border-radius: var(--r-md); padding: 22px 26px;
  transition: border-color 150ms, box-shadow var(--t-base) ease;
}
.faq__item.is-open {
  border-color: var(--violet-300);
  box-shadow: 0 4px 14px -6px rgb(var(--ink-rgb) / 0.10);
}
.faq__q {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  width: 100%; background: transparent; border: 0; padding: 0;
  font-family: var(--font-display); font-weight: 600;
  font-size: 18px; letter-spacing: -0.012em;
  color: var(--ink); text-align: left;
}
.faq__q-icon {
  width: 32px; height: 32px;
  border-radius: 999px; flex-shrink: 0;
  background: var(--paper); color: var(--ink);
  border: 1px solid var(--hairline);
  display: inline-flex; align-items: center; justify-content: center;
  transition: transform var(--t-base) var(--ease), background 150ms;
}
.faq__item.is-open .faq__q-icon { background: var(--ink); color: var(--paper); transform: rotate(45deg); }
.faq__a {
  display: grid; grid-template-rows: 0fr;
  transition: grid-template-rows var(--t-card) var(--ease);
}
.faq__item.is-open .faq__a { grid-template-rows: 1fr; padding-top: 16px; }
.faq__a-inner { overflow: hidden; }
.faq__a-inner p { font-size: 15px; line-height: 1.6; color: var(--ink-soft); margin: 0; max-width: 560px; }

/* ============================================================
   CTA band (Zenith-Style: 1200px Gradient-Box, nicht full-bleed)
   ============================================================ */
.cta-band {
  position: relative;
  /* Audit Jannik 2026-05-12: CTA-Band soll mehr rausstechen.
     Vorher hell-pastell, jetzt dunkler Gradient mit Brand-Farben +
     groesserer Shadow + subtiler Glow-Ring. Buchen-Button steht klarer raus. */
  background:
    radial-gradient(circle at 20% 0%, rgba(172, 136, 255, 0.45) 0%, transparent 55%),
    radial-gradient(circle at 80% 100%, rgba(255, 153, 102, 0.45) 0%, transparent 55%),
    linear-gradient(135deg, #2A2540 0%, #3D3565 50%, #5B4C8E 100%);
  color: var(--paper, #fff);
  border-radius: 32px;
  padding: 88px 64px;
  overflow: hidden;
  isolation: isolate;
  text-align: center;
  box-shadow:
    0 4px 12px rgb(var(--ink-rgb) / 0.12),
    0 24px 56px -12px rgb(var(--ink-rgb) / 0.35),
    0 60px 120px -40px rgb(var(--ink-rgb) / 0.5);
}
.cta-band::before {
  /* dot-pattern jetzt auf white-alpha damit es auf dunklem BG noch lesbar ist */
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background-image: radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.08) 1px, transparent 0);
  background-size: 24px 24px;
  pointer-events: none;
}
.cta-band__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(36px, 4.6vw, 56px);
  line-height: 1.06; letter-spacing: -0.03em;
  /* Audit Jannik 2026-05-12: paper-on-dark wegen neuem dunklem CTA-BG */
  color: var(--paper, #fff);
  margin: 0 auto;
  max-width: 720px;
  text-wrap: balance;
}
.cta-band__sub {
  font-size: 17px; line-height: 1.55;
  color: rgba(255, 255, 255, 0.82);
  margin: 16px auto 32px; max-width: 560px;
}
.cta-band .eyebrow { color: rgba(255, 255, 255, 0.7); }
.cta-band .eyebrow .dot { background: var(--peach-400, #FFB088); }
.cta-band__wave {
  display: none; /* nicht mehr noetig - dot-pattern uebernimmt */
}
/* CTA-Button pulst gemuetlich - deutlich sichtbarer Doppel-Ring-Glow als
   Aufmerksamkeits-Anker. Nutzt box-shadow (Ring + Lift) plus ein sehr leichtes
   scale fuers "Atmen". Zweiter Ring kommt via ::after mit Phasenverschiebung
   (animation-delay: negativ -> sofort sichtbar versetzt). 2400ms Loop,
   ease-in-out fuer ruhiges Atmen. */
.cta-band .btn--primary {
  position: relative; /* Anker fuer ::after-Ring (Base .btn hat keinen pos-context) */
  animation: cta-pulse 2400ms cubic-bezier(0.4, 0, 0.6, 1) infinite;
  /* Button auf dunklem CTA-Band: paper-on-ink damit er rausstrahlt. */
  background: var(--paper, #fff);
  color: var(--ink, #1A1730);
}
/* Hover-State mit echtem Visual-Feedback (vorher: paper -> paper = unsichtbar).
   Lift + Color-Akzent + staerkerer Shadow. */
.cta-band .btn--primary:hover {
  background: #fff;
  color: var(--violet-700);
  box-shadow: 0 12px 28px -8px rgb(var(--ink-rgb) / 0.45);
}
.cta-band .btn--primary::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  /* zweite Ring-Welle, halben Cycle versetzt -> Doppel-Puls-Effekt.
     peach-tone (statt violet) - kontrastiert besser auf dem dunkel-
     violetten CTA-Band-BG. */
  box-shadow: 0 0 0 0 rgba(255, 175, 130, 0.6);
  animation: cta-pulse-ring 2400ms cubic-bezier(0.4, 0, 0.6, 1) infinite;
  animation-delay: -1200ms;
}
/* Hover/Active stoppen die Pulse-Animation komplett (nicht nur paused, damit
   der animierte transform-Wert nicht den :hover translateY / :active scale
   ueberschreibt). ::after-Ring blenden wir mit aus. */
.cta-band .btn--primary:hover,
.cta-band .btn--primary:active {
  animation: none;
}
.cta-band .btn--primary:hover::after,
.cta-band .btn--primary:active::after {
  animation: none;
  box-shadow: none;
}
@keyframes cta-pulse {
  0%, 100% {
    transform: scale(1);
    box-shadow:
      0 8px 24px -8px rgb(var(--ink-rgb) / 0.45),
      0 0 0 0 rgba(255, 175, 130, 0.7);
  }
  50% {
    transform: scale(1.025);
    box-shadow:
      0 16px 34px -10px rgb(var(--ink-rgb) / 0.55),
      0 0 0 24px rgba(255, 175, 130, 0);
  }
}
@keyframes cta-pulse-ring {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(255, 175, 130, 0.55);
  }
  50% {
    box-shadow: 0 0 0 18px rgba(255, 175, 130, 0);
  }
}
@media (prefers-reduced-motion: reduce) {
  .cta-band .btn--primary,
  .cta-band .btn--primary::after { animation: none; }
  .cta-band .btn--primary { transform: none; }
}
@media (max-width: 720px) {
  .cta-band { padding: 48px 28px; border-radius: 22px; }
}

/* ============================================================
   Footer
   ============================================================ */
.footer {
  background: var(--ink);
  color: var(--paper);
  padding: 96px var(--container-pad) 32px;
  /* Audit 2026-05-15: weniger rund. Vorher 32px top-radii + margin-top
     -32px haben die Footer in die CtaBand reingezogen - zu eng. Jetzt
     dezent 16px und KEIN Negativ-Margin -> ~96px Atemraum von CtaBand-
     Bottom bis Footer-Top (= section padding-bottom). */
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
  margin-top: 0;
  position: relative;
  z-index: 1;
}
.footer__inner { max-width: var(--container); margin: 0 auto; display: flex; flex-direction: column; gap: 56px; }
.footer__top { display: grid; grid-template-columns: 1.4fr 2fr; gap: 64px; }
.footer__brand .footer__tagline { font-size: 15px; line-height: 1.55; color: var(--ink-faint); margin: 18px 0 24px; max-width: 360px; }
.footer__cta {
  display: inline-flex; align-items: center; gap: 12px;
  background: var(--paper); color: var(--ink);
  padding: 14px 22px; border-radius: 999px;
  text-decoration: none; font-weight: 600; font-size: 14.5px;
  transition: transform var(--t-base) var(--ease);
}
.footer__cta:hover { transform: translateY(-1px); }
.footer__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.footer__cols h4 { font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--violet-200); margin: 0 0 18px; }
.footer__cols a { display: block; font-size: 14.5px; color: var(--ink-faint); text-decoration: none; padding: 6px 0; transition: color 150ms; }
.footer__cols a:hover { color: var(--paper); text-decoration: none; }
.footer__bottom {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px;
  padding-top: 28px; border-top: 1px solid rgb(255 255 255 / 0.08);
  font-size: 13px; color: var(--ink-faint);
}
.footer__legal { display: flex; gap: 24px; }
.footer__legal a { color: var(--ink-faint); text-decoration: none; }
.footer__legal a:hover { color: var(--paper); }
@media (max-width: 720px) {
  .footer__top { grid-template-columns: 1fr; }
  .footer__cols { grid-template-columns: repeat(2, 1fr); }
  /* Auf Mobile komplett eckig - rounded corners haben da nichts zu suchen,
     der Footer geht ueber die ganze Breite und endet am Viewport-Rand. */
  .footer {
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    padding-top: 64px;
  }
  /* Inner Gap reduziert auf Mobile, sonst 56px zwischen den Bloecken zu viel */
  .footer__inner { gap: 40px; }
  /* CtaBand zu Footer Atemraum auf Mobile: die section padding-bottom 96
     wird auf Mobile ggf. zu wenig - Footer trotzdem klar abgesetzt. */
}

/* ============================================================
   Forms
   ============================================================ */
.form { display: flex; flex-direction: column; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-size: 13.5px; font-weight: 500; color: var(--ink); }
.field input, .field textarea, .field select {
  font-family: var(--font-body); font-size: 15px;
  padding: 14px 16px; border-radius: 12px;
  border: 1px solid var(--hairline-strong);
  background: var(--white); color: var(--ink);
  transition: border-color 150ms, box-shadow 150ms;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px var(--focus-ring); }
.field--error input, .field--error textarea { border-color: var(--danger); }
.field__hint { font-size: 12.5px; color: var(--ink-mute); }
.field__error { font-size: 12.5px; color: var(--danger); }

.checkbox { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--ink-soft); }
.checkbox input { margin-top: 3px; accent-color: var(--accent); }

/* ============================================================
   Modal (use case detail)
   ============================================================ */
.overlay {
  position: fixed; inset: 0; z-index: 100;
  background: rgb(var(--ink-rgb) / 0.45);
  backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
  animation: overlay-in var(--t-base) var(--ease-out);
}
@keyframes overlay-in { from { opacity: 0; } to { opacity: 1; } }
.modal {
  background: var(--white);
  border-radius: var(--r-xl);
  max-width: 640px; width: 100%;
  padding: 36px;
  position: relative;
  max-height: 90vh; overflow-y: auto;
  box-shadow: 0 40px 80px -20px rgb(var(--ink-rgb) / 0.4);
  /* Modal-Exception (Emil Kowalski): Modals bleiben transform-origin: center.
     Enter: scale(0.96) + opacity 0 -> scale(1) + opacity 1.
     Niemals scale(0) - nichts erscheint im echten Leben aus dem Nichts. */
  transform-origin: center;
  animation: modal-in var(--t-base) var(--ease-out);
}
@keyframes modal-in {
  from { transform: scale(0.96); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
/* Exit-Animation: reverse vom Enter. React-Component bleibt fuer die Dauer im
   DOM (gesteuert via isClosing state in WhyModal/WorkflowModal/UseCaseModal),
   waehrend die animation laeuft, dann unmount via onClose. */
.overlay.is-closing { animation: overlay-out var(--t-base) var(--ease-out) forwards; }
.modal.is-closing { animation: modal-out var(--t-base) var(--ease-out) forwards; }
@keyframes overlay-out { from { opacity: 1; } to { opacity: 0; } }
@keyframes modal-out {
  from { transform: scale(1); opacity: 1; }
  to { transform: scale(0.96); opacity: 0; }
}
/* Modal-Action-Row: Primary + "Schließen". Auf Mobile (< 480px) stacken
   die Buttons vertikal, damit "Schließen" nicht ueber den Modal-Rand
   abgeschnitten wird. */
.modal__actions {
  display: flex;
  gap: 8px;
  margin-top: 28px;
}
@media (max-width: 480px) {
  .modal__actions {
    flex-direction: column;
  }
  .modal__actions > .btn {
    width: 100%;
    flex: none;
  }
}

.modal__close {
  position: absolute; top: 20px; right: 20px;
  width: 36px; height: 36px;
  border-radius: 999px; border: 1px solid var(--hairline);
  background: var(--white); color: var(--ink);
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background 150ms ease-out, transform 100ms ease-out;
}
.modal__close:hover { background: var(--paper); }
.modal__close:active { transform: scale(0.92); transition-duration: 80ms; }
.modal__head { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.modal__head .wf-card__icon { width: 48px; height: 48px; }
.modal__title { font-family: var(--font-display); font-weight: 700; font-size: 28px; letter-spacing: -0.022em; line-height: 1.1; margin: 0 0 8px; }
.modal__lede { color: var(--ink-soft); margin: 0; font-size: 15.5px; line-height: 1.55; }
.modal__row { display: flex; justify-content: space-between; padding: 14px 0; border-top: 1px solid var(--hairline); font-size: 14px; }
.modal__row:first-of-type { border-top: 0; }
.modal__row dt { color: var(--ink-soft); margin: 0; }
.modal__row dd { font-weight: 600; color: var(--ink); margin: 0; }
.modal__pipe {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 16px; background: var(--violet-050);
  border-radius: var(--r-sm); margin: 20px 0;
  flex-wrap: wrap;
}
.modal__pipe .arrow { color: var(--ink-mute); }

/* ============================================================
   Toast
   ============================================================ */
.toast {
  position: fixed; bottom: 24px; right: 24px; z-index: 150;
  background: var(--ink); color: var(--paper);
  padding: 14px 18px; border-radius: var(--r-sm);
  display: flex; align-items: center; gap: 10px;
  font-size: 14px;
  box-shadow: 0 16px 48px -8px rgb(var(--ink-rgb) / 0.4);
  animation: slideUp var(--t-card) var(--ease);
}
.toast__check {
  width: 22px; height: 22px; border-radius: 999px;
  background: var(--success); color: white;
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 13px;
}

/* ============================================================
   Pricing toggle + cards
   ============================================================ */
/* Toggle: pill-shape mit smooth transition */
.price-toggle {
  display: inline-flex; padding: 6px;
  background: var(--white); border: 1px solid var(--hairline);
  border-radius: 999px;
  box-shadow: 0 4px 16px -8px rgb(var(--ink-rgb) / 0.08);
}
.price-toggle button {
  border: 0; background: transparent;
  padding: 12px 28px; border-radius: 999px;
  font-size: 14.5px; font-weight: 600; color: var(--ink-soft);
  cursor: pointer;
  transition:
    background 240ms var(--ease-out),
    color 240ms var(--ease-out),
    box-shadow 240ms var(--ease-out);
}
.price-toggle button:active { transform: scale(0.97); transition-duration: 100ms; }
.price-toggle button.is-active {
  background: var(--ink); color: var(--paper);
  box-shadow: 0 8px 20px -8px rgb(var(--ink-rgb) / 0.4);
}
.price-toggle button:not(.is-active):hover { color: var(--ink); }

/* Pricing-Grid Zenith-Style: 3 cols, gap 24px, featured-card highlighted */
.pkg-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 16px; /* Platz fuer Featured-Badge */
}
@media (max-width: 1000px) {
  .pkg-grid { grid-template-columns: 1fr; gap: 32px; padding-top: 24px; }
  /* Mobile: kein min-height-Lock - cards passen sich naturally an,
     Layout ist eh column und vertikal scrollend */
  .pkg { min-height: auto; }
}

.pkg {
  background: var(--white);
  border: 1px solid var(--hairline);
  border-radius: var(--r-md);
  padding: 36px 32px;
  display: flex; flex-direction: column; gap: 18px;
  position: relative;
  transition: transform var(--t-card) var(--ease), border-color var(--t-base), box-shadow var(--t-card) var(--ease);
  /* Stabile Hoehe: egal ob Einmalig oder Retainer, egal ob Card 4 oder 6
     Features hat - die Section springt nicht beim Toggle-Switch.
     Der Button wird via margin-top: auto an die Unterkante geheftet,
     freier Raum dazwischen bleibt leer. */
  min-height: 620px;
}
.pkg > a { margin-top: auto; }
.pkg:hover {
  transform: var(--lift-subtle);
  border-color: var(--violet-300, #B894FF);
  box-shadow: 0 16px 40px -20px rgb(var(--ink-rgb) / 0.16);
}
/* Featured-Plan: voller Brand-Gradient mit hellem Text - hebt sich klar von
   den anderen weissen Cards ab (Eldora gradient-pricing pattern, adaptiert
   auf Treibiq violet -> peach Brand). */
.pkg--featured {
  border: 0;
  background:
    radial-gradient(120% 100% at 0% 0%, rgba(255, 255, 255, 0.15) 0%, transparent 50%),
    linear-gradient(135deg, var(--violet-500) 0%, #6B47CC 45%, var(--peach-500) 100%);
  color: var(--paper);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.25),
    0 24px 56px -16px rgba(154, 123, 255, 0.55);
  transform: translateY(-8px);
}
.pkg--featured:hover { transform: translateY(-8px); }

/* Reveal-Choreographie pakete: featured-Card sitzt waehrend der Animation
   ueber den seitlichen Cards. Sonst slidet die rechte Card sichtbar VOR
   die mittlere wenn sie aus der Center-Position raus kommt.
   z-index muss am Grid-Item-Top-Level sitzen (= Wrapper bei der Mitte),
   nicht am inneren .pkg - jede AnimatedContent macht via transform
   einen eigenen stacking-context auf, der z-index der seitlichen .pkg
   waere sonst lokal und unsichtbar fuer den Grid-Vergleich. */
.pkg-anim-wrap { position: relative; z-index: 2; }
.pkg-anim-wrap > .pkg { width: 100%; }

/* Pricing-Card Reveal (rewrite 2026-05-15): pure CSS + IntersectionObserver-
   Class-Toggle aus pakete.jsx. Loest die Race-Conditions der alten
   AnimatedContent-DoubleRAF-Implementierung.
   - Mitte zuerst hochfliegen (50px, 0.45s, expo.out), z-index 2 via
     .pkg-anim-wrap haelt sie ueber den Sides.
   - 0.4s spaeter Sides simultan aus EXAKT Mitte-Position raus zu ihrer
     natuerlichen Spalte. translateX(calc(+/-(100% + 24px))) = eigene
     Card-Breite + Grid-Gap = viewport-agnostisch eine Spaltenbreite.
   - Mobile: side-slide unterdrueckt, alle drei einfach fade-up. */
.pkg-reveal {
  opacity: 0;
  transition:
    opacity 0.45s cubic-bezier(0.19, 1, 0.22, 1),
    transform 0.45s cubic-bezier(0.19, 1, 0.22, 1);
}
.pkg-reveal--middle { transform: translateY(50px); }
.pkg-reveal--side {
  transition-duration: 0.4s;
  transition-delay: 0.4s;
}
.pkg-reveal--side-left { transform: translateX(calc(100% + 24px)); }
.pkg-reveal--side-right { transform: translateX(calc(-100% - 24px)); }
.pkg-reveal.is-in {
  opacity: 1;
  transform: none;
}

@media (max-width: 1000px) {
  /* Single-column: side-slide aus Mitte ergibt keinen Sinn, weil die
     Karten untereinander stehen. Stattdessen: alle drei vertical fade-up
     mit Stagger Mitte -> Links -> Rechts. */
  .pkg-reveal--side-left,
  .pkg-reveal--side-right {
    transform: translateY(32px);
    transition-duration: 0.5s;
  }
  .pkg-reveal--side-left { transition-delay: 0.1s; }
  .pkg-reveal--side-right { transition-delay: 0.2s; }
}
.pkg--featured .pkg__name { color: rgba(255, 255, 255, 0.95); text-shadow: 0 1px 2px rgba(0, 0, 0, 0.18); }
.pkg--featured .pkg__title { color: var(--paper); }
.pkg--featured .pkg__lede { color: rgba(255, 255, 255, 0.82); }
.pkg--featured .pkg__price-num {
  /* Gradient-Text-Override: solid weiss damit es auf dem Gradient-BG knallt */
  background: none;
  -webkit-text-fill-color: var(--paper);
  color: var(--paper);
}
.pkg--featured .pkg__price-unit { color: rgba(255, 255, 255, 0.7); }
.pkg--featured .pkg__features {
  border-top-color: rgba(255, 255, 255, 0.18);
}
.pkg--featured .pkg__features li { color: rgba(255, 255, 255, 0.94); }
/* Audit 2026-05-12: peach-300 hatte ~1.6:1 Kontrast auf dem violet-peach
   Gradient-BG (WCAG-AA fordert 3:1 fuer UI-Icons). Jetzt fast-weiss. */
.pkg--featured .pkg__features svg { color: rgba(255, 255, 255, 0.92); }
.pkg--featured .pkg__badge {
  /* Auf dem violetten Gradient braucht der Badge solid white + ink-text
     fuer klaren Kontrast. War vorher white-22%-transparent + white-text,
     also white-on-white = unlesbar. */
  background: var(--paper);
  color: var(--ink);
  font-size: 13px;
  padding: 8px 18px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.5),
    0 8px 20px -8px rgba(0, 0, 0, 0.35);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.pkg--featured .btn--primary {
  background: var(--paper);
  color: var(--ink);
}
.pkg--featured .btn--primary:hover {
  background: var(--white);
  color: var(--ink);
}
.pkg__badge {
  position: absolute; top: -16px; left: 50%;
  transform: translateX(-50%);
  font-size: 13px; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 8px 18px; border-radius: 999px;
  background: linear-gradient(120deg, var(--violet-500), var(--peach-500));
  color: var(--paper);
  box-shadow: 0 8px 20px -8px rgb(154 123 255 / 0.5);
}
.pkg__name {
  font-size: 12.5px; letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--violet-700); font-weight: 700;
}
.pkg__title {
  font-family: var(--font-display); font-weight: 700;
  font-size: 26px; letter-spacing: -0.02em; line-height: 1.2;
  color: var(--ink); margin: 0;
}
.pkg__lede {
  font-size: 14.5px; line-height: 1.55;
  color: var(--ink-soft); margin: 0;
}
.pkg__price {
  display: flex; align-items: baseline; gap: 6px;
  margin-top: 4px;
}
.pkg__price-num {
  font-family: var(--font-display); font-weight: 800;
  font-size: 40px; letter-spacing: -0.025em; line-height: 1;
  background: linear-gradient(120deg, var(--violet-500), var(--peach-500));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  /* tabular-nums damit die Preise beim Hochzaehlen nicht horizontal zucken */
  font-variant-numeric: tabular-nums;
}
.pkg__price-num .counter {
  display: inline-block;
  font-variant-numeric: tabular-nums;
  min-width: 1ch;
}
/* Text-Variante (z.B. "auf Anfrage"): gleiche Groesse wie regular Preis
   damit der visuelle Anchor konsistent ist. word-break: keep-all haelt
   "auf" und "Anfrage" als ganze Woerter zusammen, line-height angepasst
   so dass zwei Zeilen sauber sitzen. */
.pkg__price-num--text {
  font-size: 36px;
  letter-spacing: -0.02em;
  white-space: normal;
  word-break: keep-all;
  line-height: 1.1;
}
.pkg__price-unit { font-size: 13.5px; color: var(--ink-soft); }
.pkg__features {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 12px;
  padding-top: 8px;
  border-top: 1px solid var(--hairline);
}
.pkg__features li {
  display: flex; gap: 10px;
  font-size: 14.5px; color: var(--ink-soft);
  line-height: 1.45;
}
.pkg__features svg { flex-shrink: 0; margin-top: 3px; color: var(--violet-700); }

/* Comparison-Strip (Was ist immer dabei) */
.comparison-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: var(--container);
  margin: 0 auto;
}
.comparison-item {
  display: flex; flex-direction: column; gap: 8px;
  padding: 24px 20px;
  border-left: 2px solid var(--violet-500);
}
.comparison-item__icon {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: var(--violet-050);
  color: var(--violet-700);
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 4px;
}
.comparison-item__title {
  font-family: var(--font-display); font-weight: 700;
  font-size: 16px; color: var(--ink); margin: 0;
}
.comparison-item__body {
  font-size: 13.5px; line-height: 1.5;
  color: var(--ink-soft); margin: 0;
}
@media (max-width: 1000px) { .comparison-strip { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .comparison-strip { grid-template-columns: 1fr; } }

/* ============================================================
   Team / about page
   ============================================================ */
.bio-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 900px) { .bio-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .bio-grid { grid-template-columns: 1fr; } }
.bio {
  background: var(--white); border: 1px solid var(--hairline);
  border-radius: var(--r-md); padding: 24px;
  display: flex; flex-direction: column; gap: 12px;
}
.bio__avatar {
  width: 100%; aspect-ratio: 1; border-radius: var(--r-md);
  background: linear-gradient(135deg, var(--violet-300), var(--peach-300));
  display: flex; align-items: flex-end; justify-content: center;
  font-family: var(--font-display); font-weight: 800;
  font-size: 64px; letter-spacing: -0.04em;
  color: rgb(255 255 255 / 0.85);
  padding-bottom: 16px;
  position: relative; overflow: hidden;
}
.bio__avatar::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 30% 30%, rgb(255 255 255 / 0.25), transparent 50%);
}
.bio__name { font-family: var(--font-display); font-weight: 700; font-size: 19px; letter-spacing: -0.012em; margin: 0; }
.bio__role { font-size: 13.5px; color: var(--ink-soft); margin: 0; }

/* ============================================================
   Page header (sub-pages) - zentriert wie Hero, kompakter
   ============================================================ */
.page-head {
  position: relative;
  padding: 56px var(--container-pad) 56px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to bottom, black 88%, transparent 100%);
  mask-image: linear-gradient(to bottom, black 88%, transparent 100%);
}
.page-head__inner {
  max-width: min(1280px, 100%);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  text-align: center;
}
.page-head__title {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(34px, 4.4vw, 60px);
  line-height: 1.04; letter-spacing: -0.03em;
  color: var(--ink); margin: 0;
  max-width: none;
  text-wrap: balance;
  white-space: normal;
}
@media (min-width: 1024px) {
  .page-head__title { white-space: nowrap; }
}
.page-head__lede {
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink-soft);
  margin: 0;
  max-width: 640px;
}
.page-head__crumb {
  display: flex; gap: 8px; font-size: 13px;
  color: var(--ink-mute);
  justify-content: center;
}
.page-head__crumb a { color: var(--ink-mute); text-decoration: none; }
.page-head__crumb a:hover { color: var(--ink); }
.page-head__wave {
  position: absolute; top: -100px; right: -140px;
  width: 520px; opacity: 0.10;
  pointer-events: none; transform: rotate(-6deg);
}

/* ============================================================
   Tweaks panel
   ============================================================ */
.tweaks {
  position: fixed; bottom: 24px; right: 24px; z-index: 200;
  width: 280px;
  background: var(--white);
  border-radius: var(--r-md);
  box-shadow: 0 24px 48px -16px rgb(var(--ink-rgb) / 0.3);
  border: 1px solid var(--hairline-strong);
  padding: 16px;
  display: none;
  flex-direction: column; gap: 14px;
}
.tweaks.is-open { display: flex; }
.tweaks__head { display: flex; justify-content: space-between; align-items: center; }
.tweaks__head h4 { font-size: 14px; margin: 0; font-weight: 600; color: var(--ink); }
.tweaks__row { display: flex; flex-direction: column; gap: 6px; }
.tweaks__row label { font-size: 12px; color: var(--ink-soft); font-weight: 500; }
.tweaks__chips { display: flex; gap: 6px; flex-wrap: wrap; }
.tweaks__chip {
  padding: 6px 10px; border-radius: 999px;
  border: 1px solid var(--hairline); background: var(--white);
  font-size: 12px; color: var(--ink); cursor: pointer;
}
.tweaks__chip.is-active { background: var(--ink); color: var(--paper); border-color: var(--ink); }

/* ============================================================
   Utility
   ============================================================ */
.text-soft { color: var(--ink-soft); }
.text-mute { color: var(--ink-mute); }
.gradient-text {
  background: linear-gradient(95deg, var(--violet-500), var(--peach-500));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.divider { height: 1px; background: var(--hairline); border: 0; margin: 0; }
.gap-y-sm > * + * { margin-top: 12px; }
.gap-y-md > * + * { margin-top: 24px; }

/* Density variants */
[data-density="compact"] { --section-pad: 64px; --section-pad-sm: 40px; }
[data-density="airy"] { --section-pad: 128px; --section-pad-sm: 96px; }

/* Accent variants */
[data-accent="peach"] { --accent: var(--peach-500); --accent-hover: var(--peach-400); --accent-press: #FF8855; --focus-ring: rgb(255 153 102 / 0.4); }
[data-accent="ink"] { --accent: var(--ink); --accent-hover: #4F4878; --accent-press: #2F2A50; --focus-ring: rgb(var(--ink-rgb) / 0.3); }

/* ============================================================
   Subpage additions — contact, team, values, legal
   ============================================================ */

/* Generic input — used by contact form. font-size 16px ist Pflicht damit iOS Safari
   nicht beim Focus den Viewport zoomt (Mobile-Pattern #6 von responsive-craft) */
.input {
  font-family: var(--font-body); font-size: 16px;
  padding: 14px 16px; border-radius: 12px;
  border: 1px solid var(--hairline-strong); background: var(--white);
  color: var(--ink);
  transition: border-color 150ms, box-shadow 150ms;
  width: 100%;
}
.input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px var(--focus-ring); }
.input--textarea { resize: vertical; min-height: 120px; line-height: 1.5; }
.field__label { font-size: 13.5px; font-weight: 500; color: var(--ink); display: block; margin-bottom: 8px; }
.field__err { font-size: 12.5px; color: var(--danger); margin-top: 6px; display: block; }
.field--error .input { border-color: var(--danger); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 700px) { .field-row { grid-template-columns: 1fr; } }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; color: var(--ink-soft); cursor: pointer; line-height: 1.5; }
.check input { margin-top: 3px; accent-color: var(--accent); width: 16px; height: 16px; flex-shrink: 0; }
.check a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

/* Contact split */
.contact-split { display: grid; grid-template-columns: 0.85fr 1.4fr; gap: 56px; align-items: start; }
@media (max-width: 1000px) { .contact-split { grid-template-columns: 1fr; gap: 32px; } }
.contact-aside { display: flex; flex-direction: column; gap: 20px; }
.contact-aside__title { font-family: var(--font-serif); font-weight: 500; font-size: 28px; letter-spacing: -0.018em; line-height: 1.1; margin: 0; }
.contact-steps { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 18px; }
.contact-steps li { display: flex; gap: 14px; align-items: flex-start; }
.contact-steps__num {
  width: 28px; height: 28px; border-radius: 999px;
  background: linear-gradient(135deg, var(--violet-500), var(--peach-500));
  color: var(--paper); font-size: 13px; font-weight: 600;
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-steps li strong { display: block; font-size: 14.5px; font-weight: 600; color: var(--ink); margin-bottom: 2px; }
.contact-steps li p { font-size: 13.5px; color: var(--ink-soft); margin: 0; line-height: 1.5; }
.contact-card { display: flex; flex-direction: column; gap: 8px; }
.contact-card__line { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--ink-soft); margin: 0; }

.contact-form { display: flex; flex-direction: column; gap: 16px; background: var(--white); border: 1px solid var(--hairline); border-radius: var(--r-lg); padding: 32px; }
@media (max-width: 600px) { .contact-form { padding: 20px; } }
.field { display: block; }

/* Team / bio */
.team-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
@media (max-width: 900px) { .team-grid { grid-template-columns: 1fr; } }
.bio {
  background: var(--white); border: 1px solid var(--hairline);
  border-radius: var(--r-lg); padding: 28px;
  display: grid; grid-template-columns: 180px 1fr; gap: 28px; align-items: start;
}
@media (max-width: 700px) { .bio { grid-template-columns: 1fr; } }
.bio__photo { width: 100%; aspect-ratio: 1; border-radius: var(--r-md); overflow: hidden; }
.bio__photo-ph {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, var(--violet-200), var(--peach-200));
  position: relative;
}
.bio__body { display: flex; flex-direction: column; gap: 10px; }
.bio__story { font-size: 15px; line-height: 1.55; color: var(--ink-soft); margin: 6px 0 0; }
.bio__list { list-style: none; padding: 0; margin: 8px 0 0; display: flex; flex-direction: column; gap: 6px; }
.bio__list li { display: flex; gap: 8px; align-items: center; font-size: 13.5px; color: var(--ink-soft); }
.bio__list li svg { color: var(--violet-700); }

/* Values */
.values-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
@media (max-width: 700px) { .values-grid { grid-template-columns: 1fr; } }
.value { background: var(--white); border: 1px solid var(--hairline); border-radius: var(--r-md); padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.value__icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--violet-050); color: var(--violet-700);
  display: inline-flex; align-items: center; justify-content: center;
}
.value__title { font-family: var(--font-display); font-weight: 700; font-size: 19px; letter-spacing: -0.012em; line-height: 1.2; margin: 4px 0 0; color: var(--ink); }
.value__body { font-size: 14.5px; line-height: 1.55; color: var(--ink-soft); margin: 0; }

/* Legal */
.legal-block { margin-bottom: 40px; }
.legal-block h2 { font-family: var(--font-serif); font-weight: 500; font-size: 32px; letter-spacing: -0.02em; margin: 0 0 16px; color: var(--ink); }
.legal-block h3 { font-family: var(--font-display); font-weight: 700; font-size: 17px; margin: 24px 0 8px; color: var(--ink); }
.legal-block p { font-size: 15px; line-height: 1.65; color: var(--ink-soft); margin: 0 0 12px; }
.legal-block a { color: var(--violet-700); text-decoration: underline; text-underline-offset: 3px; }
.legal-block strong { color: var(--ink); font-weight: 600; }

.eyebrow.on-dark { color: var(--paper); opacity: 0.7; }

/* Chips (filter row) */
.chip {
  background: var(--white); border: 1px solid var(--hairline);
  border-radius: 999px; padding: 8px 14px;
  font-size: 13.5px; font-weight: 500; color: var(--ink-soft);
  cursor: pointer;
  transition: background 150ms ease-out, color 150ms ease-out, border-color 150ms ease-out;
  display: inline-flex; align-items: center; gap: 6px;
}
.chip:hover { border-color: var(--hairline-strong); color: var(--ink); }
.chip--active { background: var(--ink); border-color: var(--ink); color: var(--paper); }

/* Section variants */
.section--paper-warm { background: var(--paper-warm, #FBF7F2); }
.section--sm { padding: 48px var(--container-pad); }

/* ============================================================
   Animations: Reveal-on-Scroll (Webflow-Style aus References)
   Initial-State versteckt, .is-in triggert Reveal.
   ============================================================ */

/* Standard fade-up Reveal — subtle, schnell */
.reveal {
  opacity: 0;
  transform: translate3d(0, 1rem, 0);
  transition:
    opacity var(--t-reveal) var(--ease-out),
    transform var(--t-reveal) var(--ease-out);
}
.reveal.is-in {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

/* Reveal von links / rechts — kleinerer Move */
.reveal-left {
  opacity: 0;
  transform: translate3d(-1.25rem, 0, 0);
  transition:
    opacity 700ms var(--ease-out),
    transform 700ms var(--ease-out);
}
.reveal-right {
  opacity: 0;
  transform: translate3d(1.25rem, 0, 0);
  transition:
    opacity 700ms var(--ease-out),
    transform 700ms var(--ease-out);
}
.reveal-left.is-in,
.reveal-right.is-in {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

/* Stagger-Container: Children fade-up nacheinander, subtle */
.reveal-stagger > * {
  opacity: 0;
  transform: translate3d(0, 0.75rem, 0);
  transition:
    opacity 500ms var(--ease-out),
    transform 500ms var(--ease-out);
}
.reveal-stagger.is-in > * {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

/* Stagger from-sides: subtile alternierende Bewegung. NICHT mehr 3rem,
   damit Cards nicht ueber den Container hinausgehen oder uebereinanderliegen. */
.reveal-stagger.from-sides > *:nth-child(odd) {
  transform: translate3d(-0.75rem, 0.5rem, 0);
}
.reveal-stagger.from-sides > *:nth-child(even) {
  transform: translate3d(0.75rem, 0.5rem, 0);
}
.reveal-stagger.from-sides.is-in > * {
  transform: translate3d(0, 0, 0);
}

/* Stagger-Delays: schneller cascade 70ms */
.reveal-stagger.is-in > *:nth-child(1) { transition-delay: 0ms; }
.reveal-stagger.is-in > *:nth-child(2) { transition-delay: 70ms; }
.reveal-stagger.is-in > *:nth-child(3) { transition-delay: 140ms; }
.reveal-stagger.is-in > *:nth-child(4) { transition-delay: 210ms; }
.reveal-stagger.is-in > *:nth-child(5) { transition-delay: 280ms; }
.reveal-stagger.is-in > *:nth-child(6) { transition-delay: 350ms; }
.reveal-stagger.is-in > *:nth-child(7) { transition-delay: 420ms; }
.reveal-stagger.is-in > *:nth-child(n+8) { transition-delay: 490ms; }

/* FAQ-Variante: Cards starten kurz nach der Sidebar.
   Base 150ms (sidebar reveal-left ist nach ~350ms fertig, aber wir wollen
   nicht warten - es ueberschneidet sich elegant). Stagger 60ms zwischen Cards.
   Letzte Card finished bei 390ms + 500ms transition = 890ms total. Snappy. */
.faq__list--delayed.reveal-stagger.is-in > *:nth-child(1) { transition-delay: 150ms; }
.faq__list--delayed.reveal-stagger.is-in > *:nth-child(2) { transition-delay: 210ms; }
.faq__list--delayed.reveal-stagger.is-in > *:nth-child(3) { transition-delay: 270ms; }
.faq__list--delayed.reveal-stagger.is-in > *:nth-child(4) { transition-delay: 330ms; }
.faq__list--delayed.reveal-stagger.is-in > *:nth-child(5) { transition-delay: 390ms; }
.faq__list--delayed.reveal-stagger.is-in > *:nth-child(n+6) { transition-delay: 450ms; }

/* Process-Split-Variante (Leistungen "So laeuft das ab",
   Ueber-uns "Vier Werte"): Sidebar reveal-left rutscht zuerst rein, dann
   die nummerierten Step-Cards staggered von oben nach unten. */
.process-split__steps--delayed.reveal-stagger.is-in > *:nth-child(1) { transition-delay: 150ms; }
.process-split__steps--delayed.reveal-stagger.is-in > *:nth-child(2) { transition-delay: 230ms; }
.process-split__steps--delayed.reveal-stagger.is-in > *:nth-child(3) { transition-delay: 310ms; }
.process-split__steps--delayed.reveal-stagger.is-in > *:nth-child(4) { transition-delay: 390ms; }
.process-split__steps--delayed.reveal-stagger.is-in > *:nth-child(n+5) { transition-delay: 470ms; }

/* Workflow-Grid nutzt jetzt nur die default reveal-stagger Werte
   (subtle fade-up). Kein eigener Override mehr - die Cards tauchen einfach
   nacheinander auf, hover- und active-states bleiben unangetastet. */

/* Pricing-Grid (Pakete): die mittlere Featured-Card erscheint zuerst,
   dann gleiten Card 1 von links und Card 3 von rechts gleichzeitig dazu.
   Bewusst mehr Delay (500ms) damit die Mitte klar betont wird und die
   Flanken-Cards spuerbar nachkommen. Plus longere transition-duration
   fuer einen ruhigeren Slide-in. */
.pkg-grid.reveal-stagger > * {
  transition-duration: 700ms;
}
.pkg-grid.reveal-stagger > *:nth-child(1) {
  transform: translate3d(-2.5rem, 0, 0);
}
.pkg-grid.reveal-stagger > *:nth-child(3) {
  transform: translate3d(2.5rem, 0, 0);
}
.pkg-grid.reveal-stagger.is-in > *:nth-child(2) {
  transition-delay: 0ms;
}
.pkg-grid.reveal-stagger.is-in > *:nth-child(1),
.pkg-grid.reveal-stagger.is-in > *:nth-child(3) {
  transition-delay: 500ms;
}
/* Mobile (< 1000px): pkg-grid wird single-column. Der Side-Slide-Effekt
   (Card 1 von links, Card 3 von rechts) ergibt da keinen Sinn - die Cards
   stehen ja untereinander. Stattdessen normales fade-up von oben nach
   unten in lesbarer Reihenfolge (Starter -> Pro -> Custom). */
@media (max-width: 1000px) {
  .pkg-grid.reveal-stagger > *:nth-child(1),
  .pkg-grid.reveal-stagger > *:nth-child(3) {
    transform: translate3d(0, 0.75rem, 0);
  }
  .pkg-grid.reveal-stagger > * {
    transition-duration: 500ms;
  }
  .pkg-grid.reveal-stagger.is-in > *:nth-child(1) { transition-delay: 0ms; }
  .pkg-grid.reveal-stagger.is-in > *:nth-child(2) { transition-delay: 90ms; }
  .pkg-grid.reveal-stagger.is-in > *:nth-child(3) { transition-delay: 180ms; }
}

/* Hero-Title Wort-fuer-Wort Stagger, schneller und subtler */
.hero-word {
  display: inline-block;
  opacity: 0;
  transform: translate3d(0, 0.75rem, 0);
  transition:
    opacity var(--t-reveal) var(--ease-out),
    transform var(--t-reveal) var(--ease-out);
}
.hero-word.is-in {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

/* Initial-Page-Load: Hero-Bereich kommt zusammen rein */
.hero__copy.reveal-left,
.hero__visual.reveal-right,
.hero__stage.reveal-right {
  transition-duration: 800ms;
}

/* Card-Lift on Hover ist im Card-CSS schon, hier verstaerken */
.wf-card {
  transition:
    transform 350ms var(--ease-out),
    box-shadow 350ms var(--ease-out),
    border-color 350ms var(--ease-out);
}
.wf-card:hover {
  transform: var(--lift-strong);
  border-color: var(--violet-300, #B894FF);
  box-shadow: 0 20px 40px -12px rgb(var(--ink-rgb) / 0.15);
}

/* Reduced-Motion respektieren */
@media (prefers-reduced-motion: reduce) {
  .reveal,
  .reveal-stagger > *,
  .hero-word,
  .wf-card {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* ============================================================
   Responsive-Breakpoints fuer groessere Screens
   ============================================================ */

@media (min-width: 1600px) {
  :root {
    --section-pad: 96px;
  }
}

@media (min-width: 1920px) {
  :root {
    --section-pad: 112px;
  }
  .hero__title { font-size: clamp(56px, 5.2vw, 104px); }
}

/* ============================================================
   Hero Floating Tool-Icons (Mausbewegungs-Parallax)
   Inspiriert von danielpetho/fancy parallax-floating, vanilla-JS Implementierung.
   ============================================================ */

.hero { position: relative; isolation: isolate; }

.hero-floating {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: visible;
  z-index: 0;
}
@media (max-width: 720px) {
  .hero-floating { overflow: hidden; }
}

.hero-floating::before {
  /* sanfter Background-Glow um die Cards herum */
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 50% at 15% 20%, rgba(172, 136, 255, 0.10), transparent 60%),
    radial-gradient(50% 40% at 85% 80%, rgba(255, 153, 102, 0.08), transparent 60%);
  pointer-events: none;
}

/* Canvas-Layer: Bezier-Verbindungen + Pulse-Punkte zwischen Tool-Logos */
.hero-floating__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}
@media (max-width: 720px) {
  /* Auf Mobile Linien ausblenden damit es nicht zu busy wirkt */
  .hero-floating__canvas { display: none; }
}

.tool-float {
  position: absolute;
  background: var(--white, #FFFFFF);
  border-radius: var(--r-sm);
  padding: 10px;
  box-shadow:
    0 12px 32px rgb(var(--ink-rgb) / 0.12),
    0 2px 8px rgb(var(--ink-rgb) / 0.06);
  width: 52px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  will-change: transform, opacity;
  /* Initial-State: aus Center "explodieren", per --bx/--by werden Cards
     individuell von ihrer final position aus dem Center heraus animiert.
     --bx und --by werden via JS auf die negative Final-Offset gesetzt
     (also: Initial sit Card im Center, faellt dann auf ihre top/left Position). */
  opacity: 0;
  transform: translate3d(var(--bx, 0px), var(--by, 0px), 0) rotate(0deg) scale(0.3);
  transition:
    opacity var(--t-reveal) var(--ease-out),
    transform 900ms cubic-bezier(0.34, 1.35, 0.64, 1);
  pointer-events: auto;
}

.tool-float.is-in {
  /* 65% opacity damit die Tool-Logos dezenter im Hintergrund leben
     und der Text-Vordergrund visuell dominanter bleibt. */
  opacity: 0.65;
  transform: translate3d(0, 0, 0) rotate(var(--rot, 0deg)) scale(1);
}

.tool-float:hover {
  box-shadow:
    0 18px 40px rgb(var(--ink-rgb) / 0.18),
    0 4px 12px rgb(var(--ink-rgb) / 0.10);
}

.tool-float--md { width: 62px; height: 62px; padding: 12px; border-radius: var(--r-md); }
.tool-float--lg { width: 74px; height: 74px; padding: 14px; border-radius: var(--r-md); }

.tool-float img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

/* Mittlere Screens: minimal kleiner */
@media (max-width: 1280px) {
  .tool-float { width: 44px; height: 44px; padding: 8px; }
  .tool-float--md { width: 54px; height: 54px; padding: 10px; }
  .tool-float--lg { width: 64px; height: 64px; padding: 12px; }
}

/* Mobile: Cards kleiner */
@media (max-width: 720px) {
  .tool-float { width: 36px; height: 36px; padding: 6px; border-radius: 10px; }
  .tool-float--md { width: 44px; height: 44px; padding: 8px; }
  .tool-float--lg { width: 52px; height: 52px; padding: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  .tool-float {
    opacity: 1 !important;
    transform: rotate(var(--rot, 0deg)) !important;
    transition: none;
  }
  .hero-floating__canvas {
    opacity: 0.4;
  }
}

/* Wenn Hero-Floating drin ist, Hero-Stage rechts ausblenden */
.hero--with-floating .hero__stage {
  display: none;
}
.hero--with-floating .hero__inner {
  grid-template-columns: 1fr;
  text-align: center;
  max-width: 900px;
  position: relative;
  z-index: 1;
}
.hero--with-floating .hero__copy {
  align-items: center;
  margin: 0 auto;
}
.hero--with-floating .hero__title { text-align: center; }
.hero--with-floating .hero__sub { text-align: center; max-width: 640px; }
.hero--with-floating .hero__ctas { justify-content: center; }
.hero--with-floating .hero__trust { justify-content: center; }

/* ============================================================
   Zenith-Pattern: Services-Section (2x3 Grid mit Floating-Icon-Badges)
   ============================================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  max-width: var(--container);
  margin: 0 auto;
  padding-top: 32px; /* Platz fuer Floating-Badges die aus den Cards rausragen */
}
.feature-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--hairline);
  border-radius: var(--r-md);
  padding: 44px 36px 32px;
  display: flex; flex-direction: column; gap: 14px;
  transition: transform var(--t-card) var(--ease), border-color var(--t-base), box-shadow var(--t-card) var(--ease);
}
.feature-card:hover {
  transform: var(--lift-subtle);
  border-color: var(--violet-300, #B894FF);
  box-shadow: 0 16px 40px -20px rgb(var(--ink-rgb) / 0.16);
}
/* Press-Feedback (Emil-Skill): scale(0.98) auf jeder klickbaren Card */
.feature-card:active { transform: translateY(-1px) scale(0.98); transition-duration: 100ms; }
.feature-card__badge {
  position: absolute;
  top: -28px; left: 32px;
  width: 56px; height: 56px;
  border-radius: var(--r-md);
  background: linear-gradient(135deg, var(--violet-500), var(--peach-500));
  color: var(--paper);
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 12px 28px -10px rgba(154, 123, 255, 0.5);
  flex-shrink: 0;
}
.feature-card__title {
  font-family: var(--font-display); font-weight: 700;
  font-size: 22px; line-height: 1.2; letter-spacing: -0.018em;
  color: var(--ink); margin: 0;
}
.feature-card__body {
  font-size: 15px; line-height: 1.55;
  color: var(--ink-soft); margin: 0;
  flex: 1;
}
.feature-card__link {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 12px;
  font-size: 14.5px; font-weight: 600;
  color: var(--ink); text-decoration: none;
  transition: gap var(--t-base);
}
.feature-card__link:hover { gap: 12px; }
.feature-card__link-arrow {
  display: inline-flex;
  transition: transform var(--t-base);
}
.feature-card:hover .feature-card__link-arrow { transform: translateX(4px); }

/* ============================================================
   Zenith-Pattern: Welcome-Section (asymmetric Intro)
   ============================================================ */
.welcome__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
  max-width: var(--container);
  margin: 0 auto;
}
.welcome__copy { display: flex; flex-direction: column; gap: 24px; align-items: flex-start; }
.welcome__copy h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(32px, 3.4vw, 48px);
  line-height: 1.1; letter-spacing: -0.025em;
  color: var(--ink); margin: 0;
  max-width: 480px;
}
.welcome__copy p {
  font-size: 17px; line-height: 1.6;
  color: var(--ink-soft); margin: 0;
  max-width: 480px;
}
.welcome__visual {
  position: relative;
  aspect-ratio: 5 / 4;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: linear-gradient(135deg, var(--violet-100) 0%, #FFE4D4 100%);
  isolation: isolate;
}
.welcome__visual::before {
  /* Dot-Pattern Decoration im Bild */
  content: ""; position: absolute; inset: 0; z-index: 1;
  background-image: radial-gradient(circle at 1px 1px, rgb(var(--ink-rgb) / 0.08) 1px, transparent 0);
  background-size: 20px 20px;
}
.welcome__visual::after {
  /* Bild-Platzhalter Indicator (kann durch echtes Bild ersetzt werden) */
  content: "[Foto Platzhalter]";
  position: absolute; inset: 0; z-index: 2;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 600; font-size: 18px;
  color: rgb(var(--ink-rgb) / 0.5);
}
.welcome__decoration {
  /* Externe Dot-Pattern-Akzent rechts unten neben dem Bild (Zenith-Detail) */
  position: absolute;
  width: 140px; height: 140px;
  background-image: radial-gradient(circle at 1px 1px, rgb(var(--ink-rgb) / 0.18) 2px, transparent 0);
  background-size: 16px 16px;
  bottom: -32px; right: -32px;
  pointer-events: none;
  z-index: 0;
}

/* ============================================================
   Zenith-Pattern: Stats-Row (4 Ghost-Cards mit grossen Zahlen)
   ============================================================ */
/* Audit 2026-05-12 v2: Section selbst bekommt einen Gradient-Band als
   Hintergrund (full-width), Cards bleiben solid weiss mit Hairline.
   Vorheriger Versuch hatte den Gradient nur als 1px-Rand zwischen den
   Cards laufen lassen - praktisch unsichtbar. */
.stats-section {
  position: relative;
}
.stats-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 70% at 18% 30%, rgba(172, 136, 255, 0.10) 0%, transparent 65%),
    radial-gradient(55% 70% at 82% 70%, rgba(255, 153, 102, 0.10) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
}
.stats-section > .container { position: relative; z-index: 1; }

.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: var(--container);
  margin: 0 auto;
}
.stat-card {
  background: var(--white);
  border: 1px solid var(--hairline);
  border-radius: var(--r-md);
  padding: 36px 28px;
  display: flex; flex-direction: column; gap: 8px;
  text-align: left;
  box-shadow: 0 2px 10px rgb(var(--ink-rgb) / 0.04);
}
.stat-card__num {
  font-family: var(--font-display);
  font-weight: 800; font-size: clamp(48px, 4.5vw, 64px);
  line-height: 1; letter-spacing: -0.035em;
  background: linear-gradient(120deg, var(--violet-500) 0%, var(--peach-500) 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 8px;
  font-variant-numeric: tabular-nums;
}
/* Counter-Span: gradient erbt via background-clip vom Parent. tabular-nums
   stabilisiert die Breite, damit die Zahl beim Animieren nicht zuckt. */
.stat-card__num .counter {
  display: inline-block;
  font-variant-numeric: tabular-nums;
  min-width: 1ch;
}
.stat-card__label {
  font-size: 15px; font-weight: 600; color: var(--ink);
  letter-spacing: -0.01em;
}
.stat-card__desc {
  font-size: 13.5px; line-height: 1.5;
  color: var(--ink-mute); margin-top: 4px;
}

/* ============================================================
   Zenith-Pattern: Service-Card (Bild oben + Text/Tools/CTA)
   ============================================================ */
.service-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  max-width: var(--container);
  margin: 0 auto;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--hairline);
  border-radius: var(--r-md);
  padding: 20px;
  display: flex; flex-direction: column; gap: 18px;
  cursor: pointer;
  transition: transform var(--t-card) var(--ease), border-color var(--t-base), box-shadow var(--t-card) var(--ease);
  text-align: left;
  font-family: inherit; color: inherit;
  position: relative;
  overflow: hidden;
}
.service-card:hover {
  transform: var(--lift-strong);
  border-color: var(--violet-300, #B894FF);
  box-shadow: 0 16px 40px -20px rgb(var(--ink-rgb) / 0.16);
}
.service-card:active { transform: translateY(-1px) scale(0.985); transition-duration: 100ms; }
.service-card__image {
  /* Zenith-case-studies-Style: Banner-aspect (2:1), kompakter als Hero-Image.
     max-height cap damit Cards auf grossen Screens nicht zu hoch werden. */
  aspect-ratio: 2 / 1;
  max-height: 180px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--violet-100) 0%, #FFE4D4 100%);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.service-card__image::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgb(var(--ink-rgb) / 0.08) 1px, transparent 0);
  background-size: 14px 14px;
}
.service-card__image-icon {
  position: absolute; inset: 0; z-index: 2;
  display: flex; align-items: center; justify-content: center;
  font-size: 40px;
}
.service-card__num {
  font-family: var(--font-display); font-weight: 800;
  font-size: 13px; color: var(--violet-700);
  letter-spacing: 0.08em;
}
.service-card__title {
  font-family: var(--font-display); font-weight: 700;
  font-size: 22px; line-height: 1.2; letter-spacing: -0.018em;
  color: var(--ink); margin: 0;
}
.service-card__body {
  font-size: 14.5px; line-height: 1.55;
  color: var(--ink-soft); margin: 0;
}
.service-card__tools {
  display: flex; gap: 8px; flex-wrap: wrap;
  align-items: center;
}
.service-card__metrics {
  display: flex; gap: 8px; flex-wrap: wrap;
  margin-top: auto;
}
.service-card__metric {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px;
  border: 1px solid #BFE4C7;
  border-radius: 999px;
  background: rgba(34, 197, 94, 0.04);
  font-size: 12.5px; font-weight: 600;
  color: #15803d;
}
.service-card__cta {
  margin-top: 8px;
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 600;
  color: var(--ink);
}
.service-card__cta-arrow {
  width: 32px; height: 32px;
  border-radius: 999px;
  background: var(--ink); color: var(--paper);
  display: inline-flex; align-items: center; justify-content: center;
  margin-left: auto;
  transition: transform var(--t-base) var(--ease);
}
.service-card:hover .service-card__cta-arrow { transform: translateX(2px); }

/* ============================================================
   Zenith-Pattern: Process-Split (links Heading, rechts numerated steps)
   ============================================================ */
.process-split {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(40px, 5vw, 80px);
  max-width: var(--container);
  margin: 0 auto;
  align-items: start;
}
.process-split__head { display: flex; flex-direction: column; gap: 18px; align-items: flex-start; position: sticky; top: 100px; }
.process-split__steps { display: flex; flex-direction: column; gap: 16px; }
.process-step-card {
  background: var(--white);
  border: 1px solid var(--hairline);
  border-radius: var(--r-md);
  padding: 24px 28px;
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 20px;
  align-items: start;
  transition: border-color var(--t-base);
}
.process-step-card:hover { border-color: var(--violet-300, #B894FF); }
.process-step-card__num {
  font-family: var(--font-display); font-weight: 800;
  font-size: 32px; line-height: 1;
  background: linear-gradient(120deg, var(--violet-500), var(--peach-500));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.025em;
}
.process-step-card__body h4 {
  font-family: var(--font-display); font-weight: 700;
  font-size: 19px; line-height: 1.25; letter-spacing: -0.015em;
  color: var(--ink); margin: 0 0 8px;
}
.process-step-card__body p {
  font-size: 14.5px; line-height: 1.55;
  color: var(--ink-soft); margin: 0;
}

/* ============================================================
   Zenith-Pattern: Testimonials (Quote-Cards)
   ============================================================ */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: var(--container);
  margin: 0 auto;
}

/* ============================================================
   Testimonials-Karussell: 6 unique cards, 3 sichtbar, smooth marquee.
   Track haelt 2 Sets (12 cards). Translation -6 * (card+gap) ueber 42s
   bringt set 2 in start-position von set 1 - seamless loop ohne sprung.
   Mask-image gradient an den Edges fadet die teil-sichtbaren Cards aus.
   ============================================================ */
.testimonials-carousel {
  position: relative;
  overflow: hidden;
  padding: 12px 0 28px; /* Platz fuer hover-shadow auf den Cards */
  /* Card-Width berechnet sich vom Viewport: 3 sichtbare cards + 2 gaps,
     abgezogen vom horizontalen Layout-Padding. */
  --card-w: calc((100vw - 160px - 48px) / 3);
  --gap: 24px;
  mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
}
.testimonials-track {
  display: flex;
  gap: var(--gap);
  width: max-content;
  animation: testimonials-marquee 42s linear infinite;
  will-change: transform;
}
.testimonials-track:hover {
  animation-play-state: paused;
}
.testimonials-track > .testimonial-card {
  flex: 0 0 var(--card-w);
}
@keyframes testimonials-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(calc(-6 * (var(--card-w) + var(--gap)))); }
}
@media (max-width: 1100px) {
  .testimonials-carousel {
    --card-w: calc((100vw - 100px - 24px) / 2); /* 2 sichtbare cards */
  }
  @keyframes testimonials-marquee {
    from { transform: translateX(0); }
    to { transform: translateX(calc(-6 * (var(--card-w) + var(--gap)))); }
  }
}
@media (max-width: 720px) {
  .testimonials-carousel {
    --card-w: calc(100vw - 64px); /* 1 sichtbare card */
  }
  .testimonials-track { animation-duration: 30s; }
}
@media (prefers-reduced-motion: reduce) {
  .testimonials-track { animation: none; }
}
.testimonial-card {
  background: var(--white);
  border: 1px solid var(--hairline);
  border-radius: var(--r-md);
  padding: 32px 28px;
  display: flex; flex-direction: column; gap: 20px;
}

/* ============================================================
   Partner-Logos-Carousel
   Sitzt direkt unter Hero, kleine Heading "Unsere Partner".
   Echte Logos als PNG mit Greyscale-Filter. Marquee-Loop.
   ============================================================ */
.partner-logos {
  /* Abstand zum Hero bleibt grosszuegig (96px). Abstand nach unten zur
     Warum-Treibiq-Section ist auch grosszuegig (48 + 88 = 136px sibling),
     damit das Karussell nicht direkt am naechsten Eyebrow klebt. */
  padding-top: 96px;
  padding-bottom: 48px;
}
.partner-logos + .section {
  padding-top: 88px;
}
.partner-logos__heading {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-mute, #8A85A3);
  text-align: center;
  margin: 0 0 32px;
}
.logos-carousel {
  position: relative;
  overflow: hidden;
  padding: 8px 0;
  mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
}
.logos-track {
  display: flex;
  align-items: center;
  gap: 72px;
  width: max-content;
  animation: logos-marquee 24s linear infinite;
  will-change: transform;
}
.logos-carousel:hover .logos-track {
  animation-play-state: paused;
}
.logos-track__item {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 88px;
  padding: 0 4px;
}
.partner-logo {
  display: block;
  height: 100%;
  width: auto;
  max-width: 260px;
  object-fit: contain;
  opacity: 0.55;
  filter: grayscale(1);
  transition: opacity var(--t-base) ease, filter var(--t-base) ease;
}
.partner-logo:hover {
  opacity: 1;
  filter: grayscale(0);
}
/* Optisches Sizing: kompakte Symbol-Logos brauchen mehr Hoehe als
   breite Wortmarken damit sie visuell gleich gross wirken. */
.partner-logo[alt="Basilika Mannheim"] { height: 90%; }
.partner-logo[alt="Pflegedienst Triebskorn"] { height: 88%; }
.partner-logo[alt="BellaVie"] { height: 100%; }
.partner-logo[alt="Pilatte"] { height: 105%; }

@keyframes logos-marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(calc(-100% / 3)); }
}
@media (max-width: 720px) {
  .partner-logos { padding-top: 20px; padding-bottom: 40px; }
  .logos-track { gap: 48px; animation-duration: 19s; }
  .logos-track__item { height: 48px; }
  .partner-logo { max-width: 140px; }
}

/* Kompakte Desktop-Hoehen (1366x768, kleine Laptops): Hero + Partner-Logos
   muessen zusammen in den Fold passen. Vertikale Abstaende straffen, Logos
   etwas kleiner damit beides oberhalb 768px reinpasst. */
@media (min-width: 721px) and (max-height: 820px) {
  .hero { padding-top: 48px !important; padding-bottom: 28px !important; }
  .partner-logos {
    padding-top: 56px;
    padding-bottom: 32px;
  }
  .partner-logos__heading { margin: 0 0 18px; }
  .logos-track__item { height: 72px; }
  .partner-logo { max-width: 220px; }
  .partner-logos + .section { padding-top: 56px; }
}
@media (prefers-reduced-motion: reduce) {
  .logos-track { animation: none; }
}
.testimonial-card__quote-mark {
  font-family: var(--font-display); font-weight: 800;
  font-size: 56px; line-height: 0.6;
  background: linear-gradient(120deg, var(--violet-500), var(--peach-500));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: -8px;
}
.testimonial-card__body {
  font-size: 15.5px; line-height: 1.55;
  color: var(--ink); margin: 0 0 auto;
}
.testimonial-card__author { display: flex; align-items: center; gap: 12px; margin-top: 8px; }
.testimonial-card__avatar {
  width: 44px; height: 44px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--violet-500), var(--peach-500));
  flex-shrink: 0;
}
.testimonial-card__author-name { font-weight: 600; font-size: 14.5px; color: var(--ink); }
.testimonial-card__author-role { font-size: 13px; color: var(--ink-mute); }

/* Zenith-Mobile-Adjustments */
@media (max-width: 1000px) {
  .welcome__grid { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .service-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; gap: 44px; padding-top: 32px; }
  .process-split { grid-template-columns: 1fr; }
  .process-split__head { position: static; }
  .testimonials-grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .stat-card { padding: 24px 20px; }
  .stat-card__num { font-size: 40px; }
  .service-card { padding: 16px; }
  .service-card__title { font-size: 19px; }
  .feature-card { padding: 36px 24px 24px; }
  .feature-card__title { font-size: 19px; }
  .feature-card__badge { width: 48px; height: 48px; top: -24px; left: 24px; border-radius: var(--r-sm); }
  .process-step-card { padding: 18px 20px; grid-template-columns: 44px 1fr; gap: 14px; }
  .process-step-card__num { font-size: 26px; }
  .testimonial-card { padding: 24px 22px; }
}

/* ============================================================
   Mobile (<= 720px): kompakte Sizes, Stacks, kein Overflow
   ============================================================ */
@media (max-width: 720px) {
  :root {
    --section-pad: 56px;
    --section-pad-sm: 36px;
    --container-pad: 20px;
  }

  /* Header kompakt. Logo bleibt unscaled auf Mobile - groesse via size-prop
     ist schon passend gewaehlt. */
  .header__inner { padding: 12px var(--container-pad); gap: 12px; }
  .logo__word { font-size: 22px; }

  /* Hero Mobile */
  .hero { padding: 32px var(--container-pad) 28px; }
  .hero__title { font-size: clamp(30px, 8.5vw, 42px); line-height: 1.06; }
  .hero__sub { font-size: 16px; }
  .hero__ctas { flex-direction: column; width: 100%; align-items: stretch; }
  .hero__ctas .btn { width: 100%; }
  .btn--lg { padding: 14px 20px; font-size: 14.5px; }

  .hero--with-floating { min-height: auto; }
  .hero--with-floating .hero__inner {
    gap: 18px;
    position: relative;
    z-index: 2; /* Text immer ueber den Floating-Cards */
  }

  /* Mobile-Hero: Cards werden zu dezentem Wallpaper, nicht hinter Text */
  .hero-floating { opacity: 0.22; }
  /* Cards die im Text-Korridor liegen wuerden auf Mobile verbergen */
  .hero-floating .tool-float:nth-child(5),  /* mantle - mitte unten */
  .hero-floating .tool-float:nth-child(6),  /* clay - oben mitte */
  .hero-floating .tool-float:nth-child(7),  /* whatsapp - unten mitte */
  .hero-floating .tool-float:nth-child(8) { /* lgm - oben mitte */
    display: none;
  }

  /* Page-Head Mobile */
  .page-head { padding: 36px var(--container-pad) 32px; }
  .page-head__title { font-size: clamp(26px, 7.5vw, 38px); line-height: 1.1; }
  .page-head__lede { font-size: 15px; }
  .page-head__wave { width: 320px; top: -60px; right: -90px; }

  /* Section-Head Mobile */
  .section-head__title { font-size: clamp(24px, 6.8vw, 34px); line-height: 1.12; }
  .section-head__sub { font-size: 15px; }

  /* Cards Mobile (alle Container-Boxes) */
  .wf-card { padding: 18px; border-radius: var(--r-md); gap: 12px; }
  .wf-card__title { font-size: 17px; }
  .wf-card__body { font-size: 14px; }
  .tile { padding: 22px; min-height: auto; border-radius: 22px; }
  .tile__title { font-size: 22px; }
  .pkg { padding: 22px; }
  .step { padding: 18px; }
  .stat-band { padding: 24px var(--container-pad); }
  .stat__num { font-size: 36px; }

  /* CTA-Band */
  .cta-band { padding: 36px 22px; border-radius: var(--r-md); }
  .cta-band__title { font-size: 26px; }

  /* Contact-Form bereits responsive, aber Padding zaehmen.
     font-size auf inputs bleibt 16px (NICHT runter, sonst iOS-Zoom). */
  .contact-form { padding: 18px; border-radius: var(--r-md); }

  /* Tool-Float Cards: Edges einklemmen damit sie nie ueber Viewport */
  .tool-float { max-width: calc(100vw - 32px); }

  /* Wf-Tools Logo-Chips kompakt */
  .wf-card__tools { gap: 4px; }

  /* Splits/Grids mobile auf eine Spalte */
  .split { grid-template-columns: 1fr; }
  .features { grid-template-columns: 1fr; }
  .pakete-grid, .pkg-grid { grid-template-columns: 1fr; }
  .team-grid, .bio-grid, .values-grid { grid-template-columns: 1fr; }
  .contact-split { grid-template-columns: 1fr; }
  .row-head { margin-bottom: 28px; }

  /* Footer kompakt */
  .footer__inner { gap: 24px; padding-top: 32px; padding-bottom: 24px; }
}

/* ============================================================
   "Warum Treibiq" - 4-Karten-Grid mit Click-to-Modal
   ============================================================ */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
@media (max-width: 1100px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px)  { .why-grid { grid-template-columns: 1fr; } }

.why-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  padding: 28px 24px 26px;
  background: var(--paper, #FFFFFF);
  border: 1px solid rgb(var(--ink-rgb) / 0.08);
  border-radius: var(--r-md);
  text-align: left;
  cursor: pointer;
  transition: transform var(--t-base) var(--ease-out),
              box-shadow var(--t-base) var(--ease-out),
              border-color var(--t-base) ease;
  box-shadow: 0 2px 10px rgb(var(--ink-rgb) / 0.04);
  font: inherit;
  color: inherit;
}
.why-card:hover {
  transform: var(--lift-strong);
  box-shadow: 0 16px 38px rgb(var(--ink-rgb) / 0.10), 0 2px 8px rgb(var(--ink-rgb) / 0.06);
  border-color: rgba(172, 136, 255, 0.45);
}
.why-card:active { transform: translateY(-2px) scale(0.98); transition-duration: 100ms; }
.why-card__icon {
  /* Icons aus den Why-Cards entfernt (Audit Jannik 2026-05-12).
     Class bleibt fuer evtl. spaetere Bilder-Variante; aktuell hidden. */
  display: none;
}
.why-card__num {
  font-family: var(--font-display);
  /* Gross + Gradient als Hero-Element der Card (statt Icon-Box).
     54px ist gross genug damit die Zahl sofort liest, aber nicht
     den Titel verdraengt. Tabular-nums damit 01/02/03/04 gleich breit. */
  font-size: 54px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 0.95;
  font-variant-numeric: tabular-nums;
  background: linear-gradient(135deg, var(--violet-500, #6B4FBF) 0%, var(--peach-500, #FF7847) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  margin-bottom: 4px;
}
.why-card__title {
  font-family: var(--font-display);
  /* 19 -> 23 (Jannik: "Headlines bisschen groesser") */
  font-size: 23px;
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: -0.01em;
  margin: 0;
  color: var(--ink, #1A1730);
}
.why-card__teaser {
  font-size: 14.5px;
  line-height: 1.55;
  margin: 0;
  color: var(--ink-mute, #5A557A);
  flex: 1;
}
.why-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--violet-700);
  margin-top: 4px;
}
.why-card__cta-arrow {
  display: inline-flex;
  transition: transform var(--t-base) ease;
}
.why-card:hover .why-card__cta-arrow { transform: translateX(4px); }

/* ============================================================
   "Was wir umsetzen" - Workflow-Grid 3x2 mit Click-to-Modal
   ============================================================ */
.workflow-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
@media (max-width: 1100px) { .workflow-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px)  { .workflow-grid { grid-template-columns: 1fr; } }

.workflow-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding: 28px 24px 24px;
  background: var(--paper, #FFFFFF);
  border: 1px solid rgb(var(--ink-rgb) / 0.08);
  border-radius: var(--r-md);
  text-align: left;
  cursor: pointer;
  transition: transform var(--t-base) var(--ease-out),
              box-shadow var(--t-base) var(--ease-out),
              border-color var(--t-base) ease;
  box-shadow: 0 2px 10px rgb(var(--ink-rgb) / 0.04);
  font: inherit;
  color: inherit;
}
.workflow-card:hover {
  transform: var(--lift-strong);
  box-shadow: 0 16px 38px rgb(var(--ink-rgb) / 0.10), 0 2px 8px rgb(var(--ink-rgb) / 0.06);
  border-color: rgba(172, 136, 255, 0.45);
}
.workflow-card:active { transform: translateY(-2px) scale(0.98); transition-duration: 100ms; }
.workflow-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: var(--r-sm);
  background: linear-gradient(135deg, rgba(172, 136, 255, 0.20), rgba(255, 153, 102, 0.20));
  color: var(--violet-700);
  flex-shrink: 0;
}
.workflow-card__title {
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 700;
  line-height: 1.2;
  margin: 0;
  color: var(--ink, #1A1730);
}
.workflow-card__sub {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--violet-700);
}
.workflow-card__teaser {
  font-size: 14.5px;
  line-height: 1.55;
  margin: 0;
  color: var(--ink-mute, #5A557A);
  flex: 1;
}
.workflow-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--violet-700);
  margin-top: 4px;
}
.workflow-card__cta-arrow {
  display: inline-flex;
  transition: transform var(--t-base) ease;
}
.workflow-card:hover .workflow-card__cta-arrow { transform: translateX(4px); }

.workflow-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  margin-top: 48px;
  padding: 24px 32px;
  background: linear-gradient(135deg, rgba(172, 136, 255, 0.10), rgba(255, 153, 102, 0.10));
  border-radius: var(--r-md);
  text-align: center;
}
.workflow-cta p {
  margin: 0;
  font-size: 15px;
  color: var(--ink-mute, #5A557A);
  max-width: 540px;
}
@media (max-width: 640px) {
  .workflow-cta { padding: 22px 18px; }
}

/* Modal-Erweiterungen fuer Tags + Problem/Loesung-Bloecke */
.modal__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 20px 0 4px;
}
.modal__tag {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(172, 136, 255, 0.12);
  color: var(--violet-500, #6B4FBF);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.modal__block {
  margin-top: 18px;
}
.modal__block:first-of-type { margin-top: 8px; }
.modal__block-label {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--violet-400, #8B6BD8);
  margin-bottom: 6px;
}
.modal__block p {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink, #1A1730);
}

/* ============================================================
   MOBILE-OVERRIDES (Audit 2026-05-11)
   Alles in @media-Queries, kein Risiko für Desktop.
   Kuratierter Stack: Tap-Targets, Schriften, Spacing, Layout-Fixes.
   ============================================================ */

/* Sticky-Header verdeckt Anker-Sprünge — Padding ergänzen */
html { scroll-padding-top: 80px; }

@media (max-width: 768px) {
  /* 1) Hero-Floating-Logos auf Mobile komplett aus.
     Verschwammen den Headline-Text. Eigene Mobile-Hero-Variante TBD. */
  .hero-floating,
  .hero__bg-canvas { display: none !important; }
  .hero--with-floating { padding-top: 32px; padding-bottom: 32px; }

  /* 2) Form-Inputs auf 16px → verhindert iOS-Auto-Zoom beim Focus.
     Ohne :not([type="..."]) Spezialisierung: Default-Type 'text' wird vom
     [type="text"]-Selektor NICHT gematched wenn das Attribut fehlt. */
  input,
  input[type="text"],
  input[type="email"],
  input[type="tel"],
  input[type="number"],
  input[type="url"],
  .input,
  textarea,
  select { font-size: 16px !important; }

  /* 3) Stats-Grid 4 Cards auf 1 Spalte unter 768px */
  .stats-row {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }
  .stat-card { width: 100% !important; }
  .stat-card__desc { font-size: 14.5px !important; }

  /* 4) Tap-Targets ≥ 48px */
  .btn--md { padding: 16px 24px !important; font-size: 15px !important; min-height: 48px; }
  .btn--sm { padding: 12px 18px !important; font-size: 14px !important; min-height: 44px; }
  .pkg .btn { min-height: 48px; }

  /* 6) Body-Schriften anheben (Lesbarkeit) */
  .pkg__lede { font-size: 15px !important; line-height: 1.5; }
  .pkg__price-unit { font-size: 14px !important; }
  .why-card p,
  .workflow-card p,
  .feature-card p,
  .service-card__desc { font-size: 15px !important; }

  /* 7) Pakete-Toggle: symmetrisch + flacher.
     Buttons sind flex 1 1 0 - gleiche Breite. Heights sind auto + min-height
     fuer Tap-Target. align-items center damit der Text vertikal mittig sitzt.
     "(monatlich)" wird auf Mobile ausgeblendet sonst ist der Retainer-Button
     viel breiter als Einmalig (asymmetric mit white-space: nowrap). */
  .price-toggle {
    width: 100%;
    max-width: 320px;
    display: flex !important;
    align-items: center !important;
  }
  .price-toggle button {
    flex: 1 1 0 !important;
    font-size: 14px !important;
    padding: 12px 16px !important;
    min-height: 44px;
    white-space: nowrap;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }
  .price-toggle button .toggle-sublabel { display: none; }

  /* 8) Welcome-Foto-Slot auf Mobile auf max. 200px (war 894px Section) */
  .welcome__photo,
  .welcome__media,
  .welcome-photo,
  .welcome img,
  [class*="welcome"] [class*="photo"],
  [class*="welcome"] [class*="placeholder"] {
    max-height: 200px !important;
    overflow: hidden;
  }

  /* 9) Section-Padding kompakter (war 56px) */
  .section,
  section.section,
  section[class*="section"] { padding: 40px 0 !important; }

  /* 10+11) Headlines harmonisieren + line-height für H1 */
  h1, .page-head__title, .hero h1 {
    line-height: 1.15 !important;
  }
  /* Audit Jannik 2026-05-12: Selektor war zu breit (.section h2 fasste
     auch .section-head__title an, das ueberschrieb die clamp-Skala).
     Jetzt nur sehr generische h2-direct-im-Section (ohne Klasse) -
     section-head__title behaelt eigene clamp(28px, 3.4vw, 44px). */
  .section > .container > h2:not([class]),
  .section > h2:not([class]) { font-size: 26px; line-height: 1.2; }

  /* Eyebrow eine Idee größer (war 12px) */
  .eyebrow { font-size: 13px !important; }

  /* 13a) Hero-Buttons mehr Abstand zwischen primary und secondary */
  .hero .btn + .btn,
  .hero__actions .btn + .btn { margin-top: 12px; }

  /* Pakete Custom: "auf Anfrage" nicht mehr zu zerbrechen lassen */
  .pkg__price-num--text { white-space: nowrap; font-size: 32px !important; }
}

@media (max-width: 640px) {
  /* Section-Padding noch kompakter auf sehr schmalen Screens */
  .section,
  section.section { padding: 36px 0 !important; }
}

/* 5) Hover-States NEUTRALISIEREN auf Touch-Devices.
   Problem: nach einem Tap auf iOS/Android bleibt der :hover-Zustand "sticky"
   bis der User woanders hin tippt. Sieht aus wie eingefrorenes UI.
   Plus: erstes Tap zeigt Hover-Farbe, zweites Tap navigiert -> "Double-
   Tap-to-Click"-Bug.

   Frueherer Versuch nutzte `revert !important` - das faellt auf User-
   Agent-Defaults zurueck, NICHT auf den Base-Author-Style. Result: Buttons
   verloren ihre Brand-bg und sahen "weiss" / system-default aus.

   Jetzt: EXPLIZITE Base-Werte fuer jeden :hover. Damit ist der Touch-
   Hover-Zustand visuell identisch zum Base-Zustand. */
@media (hover: none) {
  /* === Transform-Reset (Lift/Scale weg) === */
  .btn:hover,
  .btn--primary:hover,
  .btn--secondary:hover,
  .btn--ghost:hover,
  .btn--on-dark:hover,
  .btn--icon:hover,
  .btn--icon--paper:hover,
  .btn-arrow:hover,
  .footer__cta:hover,
  .modal__close:hover,
  .pkg:hover,
  .page-head__crumb a:hover,
  .chip:hover,
  .wf-card:hover,
  .tool-float:hover,
  .feature-card:hover,
  .feature-card__link:hover,
  .service-card:hover,
  .process-step-card:hover,
  .testimonials-track:hover,
  .why-card:hover,
  .workflow-card:hover,
  .tool-chip--logo-only:hover {
    transform: none !important;
  }
  /* Featured-Pkg: hat ein baked-in translateY(-8px) - das MUSS bleiben,
     sonst "kippt" die Karte beim Tap nach unten. */
  .pkg--featured:hover {
    transform: translateY(-8px) !important;
  }

  /* === Button-Backgrounds + Colors auf Base === */
  .btn--primary:hover {
    background: var(--ink) !important;
    color: var(--paper) !important;
  }
  .btn--secondary:hover {
    background: var(--paper) !important;
    color: var(--ink) !important;
    border-color: var(--ink) !important;
  }
  .btn--ghost:hover { background: transparent !important; }
  .btn--on-dark:hover { background: var(--paper) !important; }
  .btn--icon:hover { background: var(--ink) !important; }
  .btn--icon--paper:hover { background: var(--paper) !important; }

  /* Featured-Pkg Button bleibt paper-on-ink (war das Hauptproblem mit
     "die mittlere Karte wird weiss") */
  .pkg--featured .btn--primary:hover {
    background: var(--paper) !important;
    color: var(--ink) !important;
  }

  /* CTA-Band Button bleibt paper-on-ink-pseudo */
  .cta-band .btn--primary:hover {
    background: var(--paper, #fff) !important;
    color: var(--ink, #1A1730) !important;
    box-shadow: none !important;
  }

  /* === Btn-Arrow: gap + color + ico === */
  .btn-arrow:hover {
    gap: 12px !important;
    color: var(--ink) !important;
  }
  .btn-arrow:hover .ico {
    background: var(--ink) !important;
    transform: none !important;
  }

  /* === Cards: Border + Shadow auf Base === */
  .pkg:hover {
    border-color: var(--hairline) !important;
    box-shadow: none !important;
  }
  .feature-card:hover,
  .service-card:hover,
  .why-card:hover,
  .workflow-card:hover {
    border-color: var(--hairline) !important;
    box-shadow: none !important;
  }
  .tool-chip--logo-only:hover { border-color: var(--hairline) !important; }

  /* === Nav-Link: Background + Color zurueck (Active-State darf bleiben
     weil das ueber .is-active gehandhabt wird, nicht ueber :hover) === */
  .nav a:hover {
    background: transparent !important;
    color: var(--ink) !important;
  }

  /* === Footer-Links zurueck auf ink-faint === */
  .footer__cols a:hover,
  .footer__legal a:hover { color: var(--ink-faint) !important; }

  /* === Chip border zurueck === */
  .chip:hover { border-color: var(--hairline-strong) !important; }

  /* === Price-Toggle inactive Button zurueck === */
  .price-toggle button:not(.is-active):hover {
    color: var(--ink-soft) !important;
  }

  /* === Modal-Close === */
  .modal__close:hover { background: transparent !important; }

  /* === Card-Pfeil-Movement aus === */
  .feature-card:hover .feature-card__link-arrow,
  .service-card:hover .service-card__cta-arrow,
  .why-card:hover .why-card__cta-arrow,
  .workflow-card:hover .workflow-card__cta-arrow,
  .wf-card:hover .wf-card__cta,
  .feature-card__link:hover {
    transform: none !important;
    gap: 12px !important;
  }

  /* === Quiz-Optionen (waren komplett uebersehen) === */
  .quiz__option:hover {
    transform: none !important;
    border-color: var(--hairline) !important;
    box-shadow: none !important;
    background: var(--white) !important;
  }
  .quiz__option:hover .quiz__option-arrow {
    transform: none !important;
    color: inherit !important;
  }
  .quiz__back:hover {
    color: var(--ink-soft) !important;
  }

  /* === Karussells freezen sonst beim ersten Tap dauerhaft ein === */
  .testimonials-track:hover,
  .logos-carousel:hover .logos-track {
    animation-play-state: running !important;
  }

  /* === Partner-Logo grayscale bleibt grayscale === */
  .partner-logo:hover {
    opacity: 0.55 !important;
    filter: grayscale(1) !important;
  }
}

/* ============================================================
   Mobile-Tap-UX: globale Tap-Highlight + Touch-Action
   ============================================================ */
/* iOS Default-Tap-Highlight ist ein hellblauer Wash der ueber Cards
   geht. Sieht auf der violetten Mitte-Pricing-Card wie "wird weiss" aus.
   Killen.
   touch-action: manipulation auf Click-Targets: blockiert das 300ms-Wait
   fuer Double-Tap-Zoom -> Click feuert sofort. Plus blockiert iOS Hover-
   Preview-Delay vor Navigation. */
* { -webkit-tap-highlight-color: transparent; }
.btn,
.btn--primary,
.btn--secondary,
.btn--ghost,
.btn--on-dark,
.btn--icon,
.btn--icon--paper,
.btn-arrow,
.pkg,
.feature-card,
.service-card,
.why-card,
.workflow-card,
.wf-card,
.quiz__option,
.faq__q,
.price-toggle button,
.chip,
.modal__close,
.footer__cta,
.nav a,
.footer__cols a,
.footer__legal a,
.page-head__crumb a,
a {
  touch-action: manipulation;
}

/* Tap-Target-Fixes auf Mobile */
@media (max-width: 768px) {
  /* Footer-Link-Tap-Targets: 6px padding ist nur ~30px Hoehe.
     Apple-Guideline 44px - hier auf 12px gehoben. */
  .footer__cols a { padding: 12px 0; }
  /* Mobile-Drawer Close-Button: 40x40 unter 44px. */
  .btn--icon-sm { width: 44px; height: 44px; }
  /* Modal-Close ebenfalls hoch ziehen */
  .modal__close { width: 44px; height: 44px; }
}

/* Footer-Cols auf sehr schmalen Screens 1-spaltig */
@media (max-width: 480px) {
  .footer__cols { grid-template-columns: 1fr; gap: 24px; }
}

/* ============================================================
   320px-Audit-Fixes (2026-05-15)
   Audit hat zwei harte Layout-Breaker auf 320px iPhone-SE-Range
   gefunden: Modal-Padding zu hoch (~200px Content-Area), Pricing-
   Price-Number ueberlaeuft (€ wraped auf eigene Zeile). Plus Polish.
   ============================================================ */

/* Modal-Padding-Crunch auf schmalen Screens. Bei 320px viewport hatten
   wir 24px*2 overlay + 36px*2 modal = 120px weg = 200px Content-Area.
   Modal-Title 28px ohne clamp() konnte ueberlaufen.
   Plus: .modal__eyebrow konnte unter dem .modal__close X-Button
   verschwinden weil close 36px breit + 20px right = 56px reserviert. */
@media (max-width: 480px) {
  .modal {
    padding: 24px 20px;
    max-height: 88dvh;
    max-height: 88vh; /* fallback fuer aeltere Safari */
  }
  .modal__title { font-size: clamp(22px, 6vw, 28px); }
  .modal__lede { font-size: 15px; }
  /* Eyebrow bekommt Padding-Right damit close-X nicht den Text ueberlappt */
  .modal__eyebrow,
  .modal__head .eyebrow { padding-right: 40px; }
}

/* Pkg-Price-Number ueberlaeuft auf 320px (40px font-size + "ab 1.900 €"
   in einer 170px Flex-Cell wraped € auf eigene Zeile).
   Loesung: kleiner werden + nowrap + parent flex-wrap fuer "Festpreis"-Tag. */
@media (max-width: 480px) {
  .pkg__price { flex-wrap: wrap; row-gap: 4px; }
  .pkg__price-num { font-size: clamp(28px, 8.5vw, 36px); white-space: nowrap; }
  .pkg__price-num--text { font-size: clamp(24px, 7vw, 32px) !important; }
}

/* .btn { white-space: nowrap } ist Default damit Buttons ihren CTA-Text
   nicht zerbrechen. Aber lange CTAs ("Diesen Workflow besprechen") brechen
   bei 320px ueber den Modal-Rand. Auf engsten Screens darf gewickelt werden. */
@media (max-width: 380px) {
  .btn { white-space: normal; line-height: 1.25; text-align: center; }
}

/* Bio-Grid Schutz: 180px fixed Spalte braucht minmax fuer den Fall dass
   ein anderer Breakpoint mal verloren geht. */
.bio { grid-template-columns: minmax(140px, 180px) 1fr; }
@media (max-width: 700px) { .bio { grid-template-columns: 1fr; } }

/* iOS Safe-Area fuer fixed-positioned UI (Toast + Dev-Tweaks).
   Notch / Home-Indicator-Bereich respektieren. */
.toast { bottom: max(24px, env(safe-area-inset-bottom)); }
.tweaks {
  bottom: max(24px, env(safe-area-inset-bottom));
  right: max(24px, env(safe-area-inset-right));
}

/* ============================================================
   Hero-Mobile-Flow (Mobile-only floating Logos zwischen H1 und Lede)

   Struktur: zweistufiges Nesting damit Pop + Float koexistieren.
   - .hero-mobile-flow__pos: absolute Position, translate(-50%, -50%)
     Zentrierung, traegt die FLOAT-Animation (verschiebt sich subtle).
   - .hero-mobile-flow__logo: die weisse Box selbst, traegt die POP-
     Animation (scale 0 -> 1 beim Erscheinen).
   So bewegt sich die Box zusammen mit dem Logo, nicht nur das Logo
   innerhalb einer stehenden Box.
   ============================================================ */
.hero-mobile-flow {
  display: none;
  position: relative;
  width: 100%;
  max-width: 360px;
  height: 200px;
  margin: 16px auto 12px;
  pointer-events: none;
}
@media (max-width: 768px) {
  .hero-mobile-flow { display: block; }
}

.hero-mobile-flow__pos {
  position: absolute;
  display: inline-flex;
  /* top/left sind statische Basis-Koordinaten; JS-RAF legt den Bob als
     translate3d() darueber. Die SVG-Pfade nutzen dieselben Prozentwerte. */
  transform: translate3d(0, 0, 0) translate(-50%, -50%);
  will-change: transform;
  backface-visibility: hidden;
}
.hero-mobile-flow__logo {
  display: inline-flex;
  width: 40px; height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: 11px;
  background: var(--white, #fff);
  box-shadow:
    0 1px 2px rgb(var(--ink-rgb) / 0.08),
    0 6px 16px -4px rgb(var(--ink-rgb) / 0.16),
    0 12px 28px -10px rgb(var(--ink-rgb) / 0.22);
  /* Pop-Animation: nur die weisse Box skaliert von 0.3 -> 1 + fades in.
     Float-Position liegt am Parent, beide Bewegungen kombinieren sauber. */
  transform: scale(0.3);
  opacity: 0;
  transition:
    opacity var(--t-slow) var(--ease-spring),
    transform var(--t-slow) var(--ease-spring);
}
.hero-mobile-flow__pos.is-in .hero-mobile-flow__logo {
  transform: scale(1);
  opacity: 1;
}

/* Float wird komplett von JS-RAF gesteuert (siehe home.jsx HeroMobileFlow).
   JS updated transform pro Frame via Sinus-Funktionen; top/left bleiben
   stabile Basis-Koordinaten fuer Logos und SVG-Pfade. */

/* Verbindungs-Linien: Static-Layer + Pulse-Layer. */
.hero-mobile-flow__lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}

/* Static-Linie: wird langsam einmal gezeichnet, bleibt dann subtil sichtbar. */
.hmf-line {
  fill: none;
  stroke: url(#hmf-line-grad);
  stroke-width: 1.2;
  stroke-linecap: round;
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  opacity: 0;
  /* 1400ms statt 520ms - deutlich gemaechlicher */
  transition:
    stroke-dashoffset 1400ms var(--ease-soft),
    opacity var(--t-reveal) ease-out;
}
.hmf-line.is-in {
  stroke-dashoffset: 0;
  opacity: 0.4;
}

/* Pulse-Ball: kurzes Dash (6/94) wandert dauerhaft entlang des Pfades.
   stroke-dashoffset 100 -> 0 ueber 3s laesst den 6-er-Dash genau einen
   Pfad-Cycle durchlaufen. Per-instance animationDelay (inline) staffelt
   die Pulses zwischen Linien fuer "Fluss"-Wirkung. */
.hmf-pulse {
  fill: none;
  stroke: url(#hmf-line-grad);
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-dasharray: 6 94;
  stroke-dashoffset: 100;
  opacity: 0;
  transition: opacity var(--t-reveal) ease-out;
  filter: drop-shadow(0 0 3px rgba(172, 136, 255, 0.55));
}
.hmf-pulse.is-in {
  opacity: 1;
  animation: hmf-pulse-run 3.2s linear infinite;
}
@keyframes hmf-pulse-run {
  from { stroke-dashoffset: 100; }
  to   { stroke-dashoffset: 0; }
}

/* Runtime-Performance: Infinite Animationen laufen nur aktiv, wenn ihr
   Host nahe am Viewport ist. Die .is-offscreen-Klasse kommt aus
   useAnimationVisibilityPauser() in shared.jsx. */
.testimonials-carousel.is-offscreen .testimonials-track,
.logos-carousel.is-offscreen .logos-track,
.cta-band.is-offscreen .btn--primary,
.cta-band.is-offscreen .btn--primary::after,
.hero-mobile-flow.is-offscreen .hmf-pulse.is-in,
.hero__stage.is-offscreen .hero__stage-label .pulse,
.hero__stage.is-offscreen .flow__node,
.hero__wave.is-offscreen,
.wf-canvas-block.is-offscreen .wf-canvas-block__pulse {
  animation-play-state: paused !important;
}
.testimonials-carousel.is-offscreen .testimonials-track,
.logos-carousel.is-offscreen .logos-track,
.hero-mobile-flow.is-offscreen .hero-mobile-flow__pos,
.hero-floating.is-offscreen .tool-float {
  will-change: auto;
}

@media (prefers-reduced-motion: reduce) {
  .hero-mobile-flow__logo,
  .hmf-line,
  .hmf-pulse {
    transition: none;
    animation: none;
    opacity: 1;
  }
  .hero-mobile-flow__logo { transform: scale(1); }
  .hmf-line { stroke-dashoffset: 0; opacity: 0.4; }
  .hmf-pulse { display: none; }
  /* RAF-Loop wird in JS gar nicht erst gestartet bei reduced-motion,
     d.h. Logos bleiben auf ihren Start-Positionen (top/left aus inline-
     style). Kein extra CSS noetig. */
}

/* ============================================================
   Loesungsfinder-Quiz (Leistungen-Page)
   4 Fragen + Result-Card mit Workflow-Empfehlung.
   Ersetzt das alte process-split.
   ============================================================ */
.quiz-section {
  /* Engerer Abstand auf der Leistungen-Page zwischen Services -> Quiz ->
     Process-Strip. Default ist 96px (--section-pad), hier 56px. */
  padding-top: 56px;
  padding-bottom: 56px;
}
/* Section direkt VOR quiz-section: padding-bottom reduzieren (Services-Grid).
   :has() ist im modernen Chrome/Safari/Firefox unterstuetzt. */
.section:has(+ .quiz-section) {
  padding-bottom: 56px;
}
/* Section direkt NACH quiz-section: padding-top reduzieren (Process-Strip). */
.quiz-section + .section {
  padding-top: 56px;
}
.quiz {
  max-width: 820px;
  margin: 0 auto;
}
.quiz__head {
  text-align: center;
  margin-bottom: 32px;
}
.quiz__progress {
  display: flex;
  gap: 8px;
  justify-content: center;
  align-items: center;
  margin: 0 auto 28px;
}
.quiz__progress-dot {
  width: 28px;
  height: 4px;
  border-radius: 2px;
  background: var(--hairline);
  transition: background var(--t-base) ease, width var(--t-base) ease;
}
.quiz__progress-dot.is-active {
  background: linear-gradient(90deg, var(--violet-500), var(--peach-500));
  width: 40px;
}
.quiz__progress-dot.is-done {
  background: var(--violet-500);
}
.quiz__progress-dot--final {
  width: 8px;
  height: 8px;
  border-radius: 999px;
}
.quiz__progress-dot--final.is-active {
  background: linear-gradient(135deg, var(--violet-500), var(--peach-500));
  width: 12px;
  height: 12px;
}
/* Card-Wrapper: feature-card-aehnliche Optik, aber breiter. Fade-In bei
   Frage-Wechsel ueber key-prop re-mount + CSS-Animation. */
.quiz__card {
  background: var(--white);
  border: 1px solid var(--hairline);
  border-radius: var(--r-lg);
  padding: 40px 36px;
  box-shadow: 0 12px 36px -16px rgb(var(--ink-rgb) / 0.12);
  animation: quiz-card-in 360ms var(--ease-out);
}
@keyframes quiz-card-in {
  from { opacity: 0; transform: translate3d(0, 12px, 0); }
  to   { opacity: 1; transform: translate3d(0, 0, 0); }
}
.quiz__q-head {
  text-align: center;
  margin-bottom: 28px;
}
.quiz__step-counter {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 12px;
}
.quiz__q-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(22px, 2.6vw, 32px);
  letter-spacing: -0.022em;
  line-height: 1.15;
  color: var(--ink);
  margin: 0 0 10px;
  text-wrap: balance;
}
.quiz__q-sub {
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink-soft);
  margin: 0;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}
.quiz__options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 4px;
}
/* Option-Card: klickbarer Button. Hover hebt sich an, Selected-State per
   Auto-Advance kurz sichtbar. */
.quiz__option {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  text-align: left;
  background: var(--paper);
  border: 1px solid var(--hairline);
  border-radius: var(--r-sm);
  padding: 16px 18px;
  cursor: pointer;
  color: var(--ink);
  transition: border-color var(--t-base) ease, background var(--t-base) ease, transform var(--t-base) ease, box-shadow var(--t-base) ease;
}
.quiz__option:hover {
  border-color: var(--violet-300);
  background: var(--white);
  transform: var(--lift-subtle);
  box-shadow: 0 12px 28px -16px rgba(127, 112, 222, 0.35);
}
.quiz__option:hover .quiz__option-arrow { transform: translateX(4px); color: var(--violet-500); }
.quiz__option.is-selected {
  border-color: var(--violet-500);
  background: var(--violet-050);
}
.quiz__option-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--violet-050), var(--peach-050));
  color: var(--violet-700);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.quiz__option-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.quiz__option-label {
  font-weight: 600;
  font-size: 15.5px;
  line-height: 1.25;
  color: var(--ink);
}
.quiz__option-desc {
  font-size: 13.5px;
  line-height: 1.45;
  color: var(--ink-soft);
}
.quiz__option-arrow {
  flex-shrink: 0;
  color: var(--ink-mute);
  transition: transform var(--t-base) ease, color var(--t-base) ease;
}
.quiz__back {
  display: inline-block;
  background: transparent;
  border: 0;
  padding: 14px 4px 0;
  margin-top: 20px;
  color: var(--ink-soft);
  font-size: 14px;
  cursor: pointer;
  transition: color 150ms ease;
}
.quiz__back:hover { color: var(--ink); }

/* Result-Card */
.quiz__result {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.quiz__result-icon {
  width: 72px;
  height: 72px;
  border-radius: var(--r-md);
  background: linear-gradient(135deg, var(--violet-500), var(--peach-500));
  color: var(--paper);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 8px 0 4px;
  box-shadow: 0 16px 32px -12px rgba(127, 112, 222, 0.45);
}
.quiz__result-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(26px, 3vw, 38px);
  letter-spacing: -0.024em;
  line-height: 1.1;
  margin: 0;
  background: linear-gradient(120deg, var(--violet-500), var(--peach-500));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.quiz__result-desc {
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink-soft);
  margin: 0;
  max-width: 540px;
}
.quiz__result-meta {
  display: flex;
  flex-direction: column;
  gap: 0;
  width: 100%;
  max-width: 480px;
  margin: 16px 0 8px;
  padding: 0;
}
.quiz__result-row {
  display: flex;
  justify-content: space-between;
  padding: 14px 4px;
  border-top: 1px solid var(--hairline);
  font-size: 14.5px;
}
.quiz__result-row:first-of-type { border-top: 0; }
.quiz__result-row dt { color: var(--ink-soft); margin: 0; }
.quiz__result-row dd { color: var(--ink); font-weight: 600; margin: 0; text-align: right; }
.quiz__result-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 8px;
}
.quiz__result-note {
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--ink-mute);
  margin: 12px 0 0;
  max-width: 500px;
}

/* Mobile-Layout: Optionen einspaltig, kompaktere Card */
@media (max-width: 720px) {
  .quiz__card { padding: 28px 22px; border-radius: var(--r-md); }
  .quiz__options { grid-template-columns: 1fr; }
  .quiz__option { padding: 14px 16px; gap: 12px; }
  .quiz__option-icon { width: 38px; height: 38px; }
  .quiz__progress-dot { width: 22px; }
  .quiz__progress-dot.is-active { width: 32px; }
  .quiz__result-cta .btn { width: 100%; }
}

/* Reduced-Motion: keine Card-In-Animation */
@media (prefers-reduced-motion: reduce) {
  .quiz__card { animation: none; }
  .quiz__option, .quiz__option-arrow { transition: none; }
  .quiz__option:hover { transform: none; }
}

/* ============================================================
   process-strip (kompakter Service-Prozess unter dem Quiz)
   4 Cards horizontal mit Nummer + Title + Body + Meta
   ============================================================ */
.process-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.process-strip__card {
  background: var(--white);
  border: 1px solid var(--hairline);
  border-radius: var(--r-md);
  padding: 26px 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.process-strip__num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 32px;
  line-height: 1;
  background: linear-gradient(120deg, var(--violet-500), var(--peach-500));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 4px;
}
.process-strip__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.012em;
  margin: 0;
  color: var(--ink);
}
.process-strip__body {
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-soft);
  margin: 0;
  flex: 1;
}
.process-strip__meta {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-top: 4px;
}
@media (max-width: 960px) {
  .process-strip { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 540px) {
  .process-strip { grid-template-columns: 1fr; }
}

/* ============================================================
   Workflow-Canvas-Demo (Home, statt "Loesungen nach Mass")
   Interaktiver n8n-Stil mit Drag-and-Drop. Branding: violet+peach.
   ============================================================ */
.wf-canvas-block {
  position: relative;
  max-width: 1080px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--hairline);
  border-radius: var(--r-lg);
  padding: 20px 22px;
  box-shadow: 0 20px 56px -28px rgb(var(--ink-rgb) / 0.18);
}
.wf-canvas-block__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}
.wf-canvas-block__head-left {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.wf-canvas-block__status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 12px 4px 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--violet-050), var(--peach-050));
  border: 1px solid var(--violet-300);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--violet-700);
}
.wf-canvas-block__pulse {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--violet-500);
  box-shadow: 0 0 0 0 rgba(127, 112, 222, 0.5);
  animation: wf-pulse 1.8s ease-out infinite;
}
@keyframes wf-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(127, 112, 222, 0.55); }
  70%  { box-shadow: 0 0 0 8px rgba(127, 112, 222, 0); }
  100% { box-shadow: 0 0 0 0 rgba(127, 112, 222, 0); }
}
.wf-canvas-block__label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.wf-canvas-block__add {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--paper);
  border: 1px solid var(--hairline);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--ink);
  cursor: pointer;
  transition: border-color var(--t-base) ease, background var(--t-base) ease, transform var(--t-fast) ease;
}
.wf-canvas-block__add:hover {
  border-color: var(--violet-300);
  background: var(--white);
}
.wf-canvas-block__add:active {
  transform: scale(0.96);
}
.wf-canvas-block__add:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
.wf-canvas-block__add:disabled:hover {
  border-color: var(--hairline);
  background: var(--paper);
}

/* Canvas: fluid sizing, content (980x440 logical pixels) wird per CSS-
   container-query immer auf die Canvas-Breite skaliert. Aspect-ratio
   haelt Canvas-Hoehe proportional zur Breite. Kein horizontaler Scroll,
   keine leere Flaeche unten - der Workflow passt sich an jeden Container an. */
.wf-canvas {
  position: relative;
  container-type: inline-size;
  aspect-ratio: 980 / 440;
  height: auto;
  border-radius: var(--r-md);
  border: 1px solid var(--hairline);
  background:
    radial-gradient(circle at center, rgba(127, 112, 222, 0.05) 0%, transparent 70%),
    repeating-linear-gradient(0deg,   transparent 0 23px, rgb(var(--ink-rgb) / 0.04) 23px 24px),
    repeating-linear-gradient(90deg,  transparent 0 23px, rgb(var(--ink-rgb) / 0.04) 23px 24px),
    var(--paper);
  overflow: hidden;
}

.wf-canvas__inner {
  position: relative;
  /* width + height werden vom JSX als inline style gesetzt (CANVAS_W x CANVAS_H
     = 980 x 440). Transform-scale stetig: 100cqi / 980px ergibt das exakte
     Verhaeltnis Canvas-Breite zu Inhalt-Breite. So passt der Workflow auf
     jede Bildschirmgroesse ohne Scroll oder Leerflaeche. */
  transform: scale(calc(100cqi / 980px));
  transform-origin: top left;
}
.wf-canvas__lines {
  position: absolute;
  inset: 0;
  pointer-events: none;
  display: block;
}

/* Nodes */
.wf-node {
  position: absolute;
  background: var(--white);
  border: 1px solid var(--hairline);
  border-radius: var(--r-sm);
  padding: 12px 14px;
  box-shadow: 0 8px 22px -10px rgb(var(--ink-rgb) / 0.18);
  cursor: grab;
  user-select: none;
  touch-action: none;
  transition: border-color var(--t-base) ease, box-shadow var(--t-base) ease, transform var(--t-fast) ease;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.wf-node:hover {
  border-color: var(--violet-300);
  box-shadow: 0 14px 28px -12px rgba(127, 112, 222, 0.28);
  transform: translateY(-1px);
}
.wf-node.is-dragging {
  cursor: grabbing;
  border-color: var(--violet-500);
  box-shadow: 0 22px 44px -16px rgba(127, 112, 222, 0.38);
  z-index: 5;
  transition: none;
}
/* Color-Varianten: linke Akzent-Border */
.wf-node--violet { border-left: 3px solid var(--violet-500); }
.wf-node--peach  { border-left: 3px solid var(--peach-500); }
.wf-node--violet .wf-node__icon {
  background: linear-gradient(135deg, var(--violet-500), var(--violet-700));
}
.wf-node--peach .wf-node__icon {
  background: linear-gradient(135deg, var(--peach-500), var(--violet-500));
}
.wf-node__head {
  display: flex;
  align-items: center;
  gap: 8px;
}
.wf-node__icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--paper);
  flex-shrink: 0;
}
.wf-node__type {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.wf-node__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: -0.01em;
  line-height: 1.2;
  margin: 0;
  color: var(--ink);
}
.wf-node__desc {
  font-size: 12px;
  line-height: 1.4;
  color: var(--ink-soft);
  margin: 0;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

/* Footer */
.wf-canvas-block__foot {
  margin-top: 14px;
  padding: 10px 14px;
  border: 1px solid var(--hairline);
  border-radius: 12px;
  background: var(--paper);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.wf-canvas-block__stats {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.wf-canvas-block__stats span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.wf-stat-dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  display: inline-block;
}
.wf-stat-dot--violet { background: var(--violet-500); }
.wf-stat-dot--peach  { background: var(--peach-500); }
.wf-canvas-block__hint {
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

/* Mobile: ganzer Canvas-Inhalt per CSS-Scale auf Container-Breite gestaucht,
   damit der komplette Workflow ohne horizontalen Scroll sichtbar ist. Drag
   ist disabled (touch-drag bei winzigen Nodes ist eh unbenutzbar). Aspect-
   ratio sorgt fuer proportionale Hoehe. */
@media (max-width: 720px) {
  .wf-canvas-block { padding: 16px; border-radius: var(--r-md); }
  .wf-canvas-block__head { gap: 10px; }
  .wf-canvas-block__add span { display: none; }
  .wf-canvas-block__add { padding: 8px 10px; }
  /* Mobile-Layout hat eigene native Canvas-Groesse (300x860) und eigenes
     vertikales Node-Layout - JSX schaltet via isMobile state um. Inner
     muss daher gegen 300 (statt 980) skaliert werden, damit der Mobile-
     Content seine Canvas-Breite ausfuellt ohne weiteres Down-Scaling. */
  .wf-canvas {
    aspect-ratio: 300 / 860;
  }
  .wf-canvas__inner {
    transform: scale(calc(100cqi / 300px));
  }
  /* Drag-Interaktion auf Touch-Geraeten deaktivieren - in vertikalem
     Layout macht Drag visuell wenig Sinn und Touch-Drag ist fummelig. */
  .wf-canvas__inner { pointer-events: none; }
  .wf-node:hover {
    border-color: var(--hairline);
    box-shadow: 0 8px 22px -10px rgb(var(--ink-rgb) / 0.18);
    transform: none;
  }
  /* Hint "Knoten anfassen und ziehen" auf Mobile irrelevant - drag disabled */
  .wf-canvas-block__hint { display: none; }
}

/* Reduced-Motion: keine Pulse, keine Hover-Transform */
@media (prefers-reduced-motion: reduce) {
  .wf-canvas-block__pulse { animation: none; }
  .wf-node { transition: none; }
  .wf-node:hover { transform: none; }
}

@media print {
  .header,
  .footer,
  .tweaks,
  .hero-floating,
  .cta-band {
    display: none;
  }
  body {
    background: white !important;
  }
  a {
    color: black;
    text-decoration: underline;
  }
}
