/* ==========================================================================
   BitsAndBucks GmbH — Website_final
   Design system + Hero (3D-icon drop-into-water splash + CI flood)
   ========================================================================== */

/* ---------- Custom font — Eurostile Extended Black ---------- */
@font-face {
  font-family: 'Eurostile';
  src: url('assets/fonts/EurostileExtendedBlack.ttf') format('truetype');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

/* ---------- 0. CSS CUSTOM PROPERTIES / DESIGN SYSTEM ---------- */
:root {
  /* Brand */
  --purple: #6f3087;
  --purple-light: #8f4ba7;
  --purple-lighter: #c084fc;
  --purple-dark: #4a1f5c;
  --purple-deeper: #2a0f3a;
  --black: #0a0a0a;
  --black-deep: #050505;
  --off-white: #f4efe9;
  --muted: #9a8fa8;

  /* Typography — 4-font hierarchy:
       --font-mega     Fraunces italic serif — ONLY for huge display moments
                       (hero accent, manifest lead, section titles, case flyover titles).
       --font-display  Bricolage Grotesque — modern display sans for hero H1 and
                       larger bold titles where a schlichter, moderner look is wanted.
       --font-sans     Inter — body text, labels, UI, service-card titles, most mid-size headings.
       --font-block    Eurostile Extended Black — uppercase block moments (case-summary section).
     --font-serif stays as alias for --font-mega for legacy rules.           */
  --font-mega:    'Fraunces', 'Playfair Display', Georgia, serif;
  --font-display: 'Unbounded', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-sans:    'Inter', system-ui, -apple-system, Segoe UI, sans-serif;
  --font-block:   'Eurostile', 'Bricolage Grotesque', 'Inter', sans-serif;
  --font-serif:   var(--font-mega);    /* legacy alias */
  --font-italic:  var(--font-mega);    /* legacy alias */

  /* Spacing rhythm — generous min so content never hugs the viewport edge */
  --container-pad: clamp(1.5rem, 4.5vw, 3.25rem);
  --nav-h: 72px;

  /* Scroll-driven state (written from script.js) */
  --hero-t: 0;           /* 0 → 1 over entire hero scroll range */
  --hero-spread: 0;      /* 0 → 1 for text spreading outward (phase 0–0.35) */
  --hero-text-fade: 1;   /* 1 → 0 as text fades (phase 0.25–0.5) */
  --hero-splash: 0;      /* 0 → 1 for splash moment (phase 0.55–0.72) */
  --hero-flood: 0;       /* 0 → 1 for purple flood (phase 0.7–1.0) */
  --hero-hint: 1;        /* 1 → 0 for scroll hint (phase 0–0.1) */

  /* Sticky CTA state */
  --cta-visible: 0;      /* 1 = show, 0 = hide */
}

/* ---------- 1. RESET / BASE ---------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
body {
  font-family: var(--font-sans);
  font-weight: 400;
  color: var(--off-white);
  /* Continuous purple↔near-black wave that stretches across the WHOLE page.
     Sections keep their radial accents but drop their own linear-gradient
     layer + border-top, so this gradient flows through without seams. */
  background:
    linear-gradient(180deg,
      #0a0410   0%,
      #14081f   6%,
      #1f0d35  13%,
      #14081f  20%,
      #08030f  27%,
      #14081f  34%,
      #221045  42%,
      #160827  50%,
      #0a0410  58%,
      #150826  66%,
      #1f0d35  74%,
      #14081f  82%,
      #08030f  90%,
      #14081f  96%,
      #1a0a2e 100%
    ) #0a0410;
  line-height: 1.5;
  /* overflow-x: clip prevents horizontal scrollbars WITHOUT turning the
     body into a scroll container. `hidden` would break position: sticky
     on descendant elements (case-show pins). */
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
html { overflow-x: clip; }
img, svg { display: block; max-width: 100%; height: auto; }
button { font-family: inherit; background: none; border: 0; cursor: pointer; color: inherit; }
a { color: inherit; text-decoration: none; }

/* SEO / a11y — visually hidden text that is still readable by screen readers and crawlers */
.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

::selection { background: var(--purple); color: white; }

/* ---------- 2. GRAIN OVERLAY ---------- */
.grain {
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.035;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

/* ---------- 3. NAVIGATION ---------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  padding: 0 var(--container-pad);
  pointer-events: none;
  transition: background-color 0.4s ease, backdrop-filter 0.4s ease;
}
.nav__inner {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  pointer-events: auto;
}
.nav__logo img {
  height: 24px;
  width: auto;
  opacity: 0.95;
  transition: opacity 0.2s ease, transform 0.3s ease;
}
.nav__logo:hover img { opacity: 1; }
.nav__links {
  display: flex;
  gap: clamp(1.5rem, 2.5vw, 2.5rem);
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 400;
  letter-spacing: 0.02em;
}
.nav__links a {
  position: relative;
  color: rgba(255,255,255,0.7);
  transition: color 0.2s ease;
  padding: 0.5rem 0;
}
.nav__links a::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}
.nav__links a:hover { color: white; }
.nav__links a:hover::after { transform: scaleX(1); }
.nav__links a.is-active { color: var(--purple-lighter); }
.nav__links a.is-active::after { transform: scaleX(1); background: var(--purple-lighter); }

.nav__cta {
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--off-white);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(14px) saturate(1.4);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.2s ease;
}
.nav__cta:hover {
  background: rgba(192, 132, 252, 0.22);
  border-color: rgba(192, 132, 252, 0.4);
}

/* Language switcher — flag buttons */
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-left: 0.6rem;
}
.lang-btn {
  width: 26px;
  height: 18px;
  padding: 0;
  border-radius: 3px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.18);
  cursor: pointer;
  opacity: 0.45;
  filter: grayscale(40%);
  transition: opacity 0.25s ease, filter 0.25s ease, transform 0.2s ease, border-color 0.25s ease;
  background: transparent;
}
.lang-btn svg { width: 100%; height: 100%; display: block; }
.lang-btn:hover {
  opacity: 0.9;
  filter: grayscale(0);
  transform: translateY(-1px);
}
.lang-btn.is-active {
  opacity: 1;
  filter: grayscale(0);
  border-color: rgba(192,132,252,0.6);
  box-shadow: 0 0 12px rgba(192,132,252,0.35);
}

.nav__burger {
  display: none;
  width: 40px;
  height: 40px;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  padding: 0;
}
.nav__burger span {
  display: block;
  height: 1.5px;
  width: 22px;
  background: white;
  margin: 0 auto;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.nav.is-scrolled {
  background: rgba(10, 10, 10, 0.75);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: rgba(10, 10, 10, 0.96);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mobile-menu.is-open { opacity: 1; pointer-events: auto; }
.mobile-menu__inner {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  text-align: center;
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 6vw, 2.6rem);
  font-weight: 400;
  font-style: italic;
  color: white;
}
.mobile-menu__inner a:hover { color: var(--purple-lighter); }

@media (max-width: 820px) {
  .nav__links { display: none; }
  .nav__cta    { display: none; }  /* mobile uses burger menu for this */
  .nav__burger { display: flex; }
}

/* ---------- 4. HERO ---------- */
.hero {
  position: relative;
  height: 120vh;              /* 20vh of scroll drives the portal → very tight handoff */
  width: 100%;
  /* Match the first section's bg so the unstick moment has zero visible seam */
  background: #0c0c0e;
}
.hero__pin {
  position: sticky;
  top: 0;
  height: 100vh;
  width: 100%;
  overflow: hidden;
  background: #0c0c0e;
  isolation: isolate;
}

/* Three.js canvas fills viewport */
.hero__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  z-index: 1;
}

/* Static SVG fallback — only shown if JS disabled / canvas fails */
.hero__fallback {
  position: absolute;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 0;
}
.hero__fallback-icon {
  width: min(50vw, 320px);
  filter: drop-shadow(0 0 40px var(--purple)) invert(1) sepia(1) saturate(6) hue-rotate(240deg) brightness(0.9);
}
/* Mobile portrait: fallback icon shifts slightly upward + smaller so it
   doesn't collide with the centered headline. Mirrors Three.js behaviour
   where iconPivot.position.y=1.05 puts the logo in the upper-mid area. */
@media (orientation: portrait), (max-width: 1024px) {
  .hero__fallback {
    align-items: flex-start;
    padding-top: clamp(4rem, 11vh, 7rem);
  }
  .hero__fallback-icon {
    width: min(40vw, 220px);
  }
}
.is-no-webgl .hero__canvas { display: none; }
.is-no-webgl .hero__fallback { display: flex; }

/* --- Statement (bottom-left block, à la Webwavers) --- */
.hero__statement {
  position: absolute;
  left: clamp(1.5rem, 4.5vw, 4rem);
  bottom: clamp(2.5rem, 8vh, 6rem);
  z-index: 3;
  max-width: min(48ch, 42vw);
  pointer-events: none;
  opacity: var(--hero-text-fade);
  transform: translate3d(calc(var(--hero-spread) * -6vw), 0, 0);
  will-change: transform, opacity;
}
/* H1 — "Wir machen KI zu Ihrem Wettbewerbsvorteil" in Fraunces serif display */
.hero__statement-text {
  margin: 0;
  font-family: var(--font-mega);   /* Fraunces — schnörkel display */
  font-variation-settings: "opsz" 144, "SOFT" 0, "wght" 650;
  font-weight: 650;
  font-style: normal;
  font-size: clamp(2.6rem, 6vw, 6.5rem);
  line-height: 0.98;
  letter-spacing: -0.03em;
  color: var(--off-white);
  /* filter:drop-shadow statt text-shadow — funktioniert auch auf gradient-text
     (background-clip:text + color:transparent), bei text-shadow würde der
     dunkle Schatten durch den transparenten em-Text durchscheinen. */
  filter:
    drop-shadow(0 3px 14px rgba(0,0,0,0.7))
    drop-shadow(0 1px 5px rgba(0,0,0,0.55));
  text-shadow: none;
  max-width: 18ch;
}
.hero__statement-line {
  display: block;
}
.hero__statement-text em {
  font-style: italic;
  font-weight: 700;
  font-variation-settings: "opsz" 144, "wght" 700;
  background: linear-gradient(100deg, #f5ebff 0%, var(--purple-lighter) 55%, #e3b4ff 100%);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}

/* H2 — supporting subtitle, clean Inter */
.hero__statement-sub {
  margin: clamp(1rem, 2.2vh, 1.6rem) 0 0;
  max-width: 48ch;
  font-family: var(--font-sans);
  font-size: clamp(0.98rem, 1.25vw, 1.2rem);
  font-weight: 400;
  line-height: 1.5;
  color: rgba(244, 239, 233, 0.92);
  /* drop-shadow am Container — wirkt auch falls hier mal gradient-spans rein */
  text-shadow: 0 2px 12px rgba(0,0,0,0.75), 0 1px 3px rgba(0,0,0,0.65);
}
.hero__statement-flag {
  display: inline-block;
  margin-top: 1.2rem;
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(192, 132, 252, 0.55);
  padding: 0.35rem 0.7rem;
  border: 1px dashed rgba(192, 132, 252, 0.35);
  border-radius: 3px;
}

/* --- Aside info block (bottom-right, placeholder until Kontakt/Awards defined) --- */
.hero__aside {
  position: absolute;
  right: clamp(1.5rem, 4.5vw, 4rem);
  bottom: clamp(2.5rem, 8vh, 6rem);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.2rem;
  text-align: right;
  pointer-events: auto;
  opacity: var(--hero-text-fade);
  transform: translate3d(calc(var(--hero-spread) * 6vw), 0, 0);
  font-family: var(--font-serif);
}
.hero__aside-label {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 0.1rem;
}
.hero__aside-label--tel { margin-top: 0.8rem; }
.hero__aside-value {
  font-size: clamp(1.15rem, 1.7vw, 1.6rem);
  font-weight: 400;
  font-style: italic;
  color: rgba(255,255,255,0.92);
  line-height: 1.05;
  transition: color 0.2s ease;
}
a.hero__aside-value:hover { color: var(--purple-lighter); }

/* --- Ripples (SVG circles expanding at impact point) --- */
.hero__ripples {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 4;
  opacity: calc(var(--hero-splash) * 1);
  pointer-events: none;
  mix-blend-mode: screen;
}
.hero__ripple {
  transform-origin: 600px 340px;
  transform: scale(calc(1 + var(--hero-splash) * 14));
  opacity: calc(1 - var(--hero-splash));
  transition: transform 0.05s linear;
}
.hero__ripple:nth-child(2) {
  transform: scale(calc(1 + var(--hero-splash) * 20));
}
.hero__ripple:nth-child(3) {
  transform: scale(calc(1 + var(--hero-splash) * 28));
}

/* --- Splash particles (dots shooting outward from impact) --- */
.hero__splash {
  position: absolute;
  left: 50%;
  top: 62%;          /* impact point roughly at water surface */
  width: 0;
  height: 0;
  z-index: 5;
  pointer-events: none;
}
.hero__splash-dot {
  position: absolute;
  left: 0; top: 0;
  width: clamp(8px, 1vw, 14px);
  height: clamp(8px, 1vw, 14px);
  margin-left: calc(clamp(8px, 1vw, 14px) / -2);
  margin-top: calc(clamp(8px, 1vw, 14px) / -2);
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #f0abfc, var(--purple-light) 55%, var(--purple) 100%);
  box-shadow: 0 0 20px rgba(192, 132, 252, 0.8), 0 0 40px rgba(111, 48, 135, 0.4);
  /* compute current travel */
  --p: var(--hero-splash);        /* 0 → 1 over splash phase */
  --travel: calc(var(--p) * var(--dist));
  transform:
    translate(
      calc(cos(var(--angle)) * var(--travel)),
      calc(sin(var(--angle)) * var(--travel) - var(--p) * 10vh * (1 - var(--p)))   /* slight vertical arc */
    )
    scale(calc(1 - var(--p) * 0.4));
  opacity: calc(1 - pow(var(--p), 2));
  transition: transform 0.05s linear, opacity 0.1s linear;
}

/* --- Purple CI Flood (full-screen overlay that fades in) --- */
.hero__flood {
  position: absolute;
  inset: 0;
  z-index: 6;
  pointer-events: none;
  opacity: var(--hero-flood);
  background:
    radial-gradient(ellipse 80% 60% at 50% 62%, rgba(192, 132, 252, 0.35) 0%, rgba(111, 48, 135, 0.85) 35%, var(--purple-dark) 65%, var(--purple-deeper) 100%),
    linear-gradient(to bottom, rgba(42, 15, 58, 0.6), rgba(10, 10, 10, 0.4));
  background-blend-mode: screen, normal;
  mix-blend-mode: normal;
  transition: opacity 0.05s linear;
}

/* --- Scroll hint (bottom center, fades out as scroll begins) --- */
.hero__scroll-hint {
  position: absolute;
  bottom: clamp(1.5rem, 3vh, 2.8rem);
  left: 50%;
  transform: translateX(-50%);
  z-index: 7;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  opacity: var(--hero-text-fade);
  pointer-events: none;
}
.hero__scroll-label {
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.35em;
  color: rgba(255,255,255,0.55);
}
.hero__scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.5), rgba(255,255,255,0));
  position: relative;
  overflow: hidden;
}
.hero__scroll-line::after {
  content: '';
  position: absolute;
  left: 0; right: 0; top: -50%;
  height: 50%;
  background: var(--purple-lighter);
  animation: scroll-drip 2.2s ease-in-out infinite;
}
@keyframes scroll-drip {
  0% { transform: translateY(0); opacity: 0.1; }
  50% { opacity: 1; }
  100% { transform: translateY(300%); opacity: 0; }
}

/* Accessibility — reduced motion */
@media (prefers-reduced-motion: reduce) {
  .hero__scroll-line::after { animation: none; }
  html { scroll-behavior: auto; }
}

/* Hero mobile — contact aside off-screen, statement tighter, scroll-hint hidden */
@media (max-width: 1200px) {
  .hero__scroll-hint { display: none; }
}
/* Hero-Statement vertikal zentriert auf schmalen/hochformatigen Viewports.
   Logo wird in JS gleichzeitig nach oben offsettet (iconPivot.position.y=1.6),
   damit Logo (oberes Drittel) und Text (Mitte) sich NICHT mehr überlappen. */
@media (orientation: portrait), (max-width: 1024px) {
  .hero__aside { display: none; }
  .hero__statement {
    left: clamp(1.2rem, 5vw, 2.5rem);
    right: clamp(1.2rem, 5vw, 2.5rem);
    top: 56%;
    bottom: auto;
    transform: translate3d(calc(var(--hero-spread) * -4vw), -50%, 0);
    max-width: 100%;
    text-align: left;
  }
  .hero__statement-text {
    font-size: clamp(1.7rem, 6.4vw, 2.6rem);
    line-height: 1.08;
    letter-spacing: -0.025em;
    /* hyphens:none verhindert, dass &shy; aktiviert wird —
       "Wettbewerbsvorteil" bleibt ein Wort, bricht zur Not auf
       die nächste Zeile statt mit "-" zu trennen. */
    hyphens: none;
    -webkit-hyphens: none;
    word-break: normal;
    overflow-wrap: break-word;
    max-width: 16ch;
  }
  .hero__statement-sub {
    font-size: clamp(0.9rem, 3.5vw, 1.05rem);
    line-height: 1.45;
    max-width: 32ch;
  }
}

/* Disable soft-hyphen breaks for the hero statement —
   "Wettbewerbsvorteil" soll nie mit "-" brechen.
   hyphens:none verhindert sowohl Auto-Hyphenation als auch das Aktivieren
   von &shy; als Break-Hint. */
.hero__statement-text {
  hyphens: none;
  -webkit-hyphens: none;
}

/* ---------- 5. STICKY CTA (fade-in after hero, fade-out in kontakt) ---------- */
.sticky-cta {
  position: fixed;
  bottom: clamp(1rem, 2.5vh, 2rem);
  left: 50%;
  transform: translate3d(-50%, calc((1 - var(--cta-visible, 0)) * 120%), 0);
  z-index: 60;
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.9rem 1.5rem 0.9rem 1.7rem;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: white;
  background: linear-gradient(140deg, rgba(111, 48, 135, 0.6), rgba(143, 75, 167, 0.4));
  backdrop-filter: blur(24px) saturate(1.6);
  -webkit-backdrop-filter: blur(24px) saturate(1.6);
  border: 1px solid rgba(255,255,255,0.14);
  box-shadow:
    0 16px 50px -12px rgba(111, 48, 135, 0.5),
    0 2px 10px rgba(0,0,0,0.35),
    inset 0 1px 0 rgba(255,255,255,0.15);
  opacity: var(--cta-visible, 0);
  pointer-events: none;
  transition:
    transform 0.5s cubic-bezier(.4, 0, .2, 1),
    opacity 0.35s ease,
    background 0.3s ease,
    box-shadow 0.3s ease;
}
.sticky-cta[data-visible="true"] { pointer-events: auto; }
.sticky-cta:hover {
  background: linear-gradient(140deg, rgba(143, 75, 167, 0.75), rgba(192, 132, 252, 0.55));
  box-shadow:
    0 22px 65px -10px rgba(143, 75, 167, 0.7),
    0 2px 14px rgba(0,0,0,0.4),
    inset 0 1px 0 rgba(255,255,255,0.22);
}
.sticky-cta__arrow {
  display: inline-flex;
  width: 24px;
  height: 24px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  transition: transform 0.3s ease, background 0.3s ease;
}
.sticky-cta:hover .sticky-cta__arrow { transform: translateX(3px); background: rgba(255,255,255,0.22); }

@media (max-width: 600px) {
  .sticky-cta {
    padding: 0.7rem 1rem 0.7rem 1.15rem;
    font-size: 0.78rem;
    gap: 0.5rem;
  }
  .sticky-cta__arrow { width: 18px; height: 18px; font-size: 0.65rem; }
}

/* Mobile — reveal-stagger should all appear together (smaller screens see
   less at once and the sequenced reveals feel sluggish) */
@media (max-width: 600px) {
  .reveal-stagger > * { transition-delay: calc(var(--i, 0) * 0.04s); }
}

/* ---------- Nav scroll progress bar ---------- */
.nav__progress {
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 100%;
  background: linear-gradient(90deg, var(--purple-lighter), var(--purple-light));
  transform: scaleX(var(--scroll-progress, 0));
  transform-origin: left;
  opacity: 0;
  transition: opacity 0.3s ease;
  box-shadow: 0 0 12px rgba(192,132,252,0.55);
  pointer-events: none;
}
.nav.is-scrolled .nav__progress { opacity: 1; }

/* ---------- Scroll reveal utility ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(.4,0,.2,1), transform 0.7s cubic-bezier(.4,0,.2,1);
}
.reveal.is-visible { opacity: 1; transform: none; }

/* Staggered card reveals */
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s cubic-bezier(.4,0,.2,1), transform 0.65s cubic-bezier(.4,0,.2,1);
  transition-delay: calc(var(--i, 0) * 0.08s);
}
.reveal-stagger.is-visible > * { opacity: 1; transform: none; }

/* ---------- Custom cursor (desktop only — opt-in via body class) ---------- */
@media (hover: hover) and (pointer: fine) {
  body.has-cursor,
  body.has-cursor a,
  body.has-cursor button,
  body.has-cursor input,
  body.has-cursor textarea,
  body.has-cursor select,
  body.has-cursor label,
  body.has-cursor [role="button"] { cursor: none; }
  .cursor {
    position: fixed;
    left: 0; top: 0;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1px solid rgba(192,132,252,0.55);
    pointer-events: none;
    z-index: 10001;
    transform: translate3d(-50%, -50%, 0);
    transition: width 0.25s ease, height 0.25s ease, background 0.25s ease, border-color 0.25s ease;
    mix-blend-mode: difference;
  }
  .cursor__dot {
    position: fixed;
    left: 0; top: 0;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--purple-lighter);
    pointer-events: none;
    z-index: 10001;
    transform: translate3d(-50%, -50%, 0);
    box-shadow: 0 0 10px rgba(192,132,252,0.8);
  }
  .cursor.is-active {
    width: 56px;
    height: 56px;
    background: rgba(192,132,252,0.15);
    border-color: rgba(192,132,252,0.8);
  }
  body.is-no-cursor,
  body.is-no-cursor a,
  body.is-no-cursor button,
  body.is-no-cursor input,
  body.is-no-cursor textarea,
  body.is-no-cursor select { cursor: auto; }
  body.is-no-cursor .cursor,
  body.is-no-cursor .cursor__dot { display: none; }
}
@media (hover: none) {
  .cursor, .cursor__dot { display: none; }
}

/* ---------- 6. MANIFEST — "Dein Ansprechpartner für [rotating]" ---------- */
.manifest {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(5rem, 12vh, 9rem) var(--container-pad);
  overflow: hidden;
}
.manifest::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 50%, rgba(192, 132, 252, 0.12), transparent 45%);
  pointer-events: none;
  z-index: 0;
  animation: mesh-drift 18s ease-in-out infinite;
}
@keyframes mesh-drift {
  0%, 100% { transform: translate(0, 0); }
  50%      { transform: translate(3%, -2%); }
}

.manifest__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1400px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(1.5rem, 4vh, 3rem);
  text-align: center;
}

.manifest__label {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.74rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.32em;
  color: var(--purple-lighter);
}

/* The headline — big bold serif, stacked + centered over the rotating column */
.manifest__title {
  margin: 0;
  font-family: var(--font-serif);
  font-variation-settings: "opsz" 144, "SOFT" 0, "wght" 800;
  font-weight: 800;
  font-size: clamp(2.4rem, 7.8vw, 7.8rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
  color: var(--off-white);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(0.8rem, 2vh, 1.8rem);
  text-align: center;
}
.manifest__lead {
  display: block;
  max-width: 22ch;
  margin: 0 auto;
  background: linear-gradient(180deg, #ffffff 0%, #f5ebff 50%, #e3b4ff 100%);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}

.manifest__lead {
  display: block;
  max-width: 22ch;
  margin: 0 auto;
}

/* Horizontal rule sitting between lead and rotator */
.flyto-rule {
  display: block;
  height: 1px;
  width: clamp(160px, 28vw, 420px);
  background: linear-gradient(90deg,
    rgba(244, 239, 233, 0) 0%,
    rgba(244, 239, 233, 0.32) 50%,
    rgba(244, 239, 233, 0) 100%);
  margin: clamp(0.4rem, 1.5vh, 1rem) auto;
}

/* Vertical rotating stack — 5 rows visible, middle row holds the active item.
   Forced centering: the stack is block-level inside a centered parent and its
   inner column is a centered flex column. */
.flyto-stack {
  --item-h: 1.08em;
  --centre-row: 2;
  position: relative;
  display: block;
  width: min(900px, 90vw);
  margin: 0 auto;
  height: calc(var(--item-h) * 5);
  overflow: hidden;
  font-style: italic;
  font-variation-settings: "opsz" 144, "SOFT" 0, "wght" 700;
  font-weight: 700;
  text-align: center;
  -webkit-mask-image: linear-gradient(
    180deg,
    transparent 0%,
    #000 26%,
    #000 74%,
    transparent 100%
  );
          mask-image: linear-gradient(
    180deg,
    transparent 0%,
    #000 26%,
    #000 74%,
    transparent 100%
  );
}

.flyto-stack__col {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transform: translate3d(0, 0, 0);
  transition: transform 0.65s cubic-bezier(.4, 0, .2, 1);
  will-change: transform;
}

.flyto-item {
  display: block;
  line-height: var(--item-h);
  height: var(--item-h);
  color: rgba(244, 239, 233, 0.3);
  transition: color 0.55s ease, text-shadow 0.55s ease;
  text-align: center;
}

.flyto-item.is-active {
  color: var(--purple-lighter);
  text-shadow:
    0 0 18px rgba(192, 132, 252, 0.55),
    0 0 48px rgba(143, 75, 167, 0.35);
}

.manifest__sub {
  margin: clamp(1.5rem, 4vh, 3rem) auto 0;
  max-width: 44ch;
  font-family: var(--font-sans);
  font-size: clamp(1rem, 1.4vw, 1.35rem);
  line-height: 1.45;
  color: rgba(244, 239, 233, 0.72);
  font-weight: 400;
  text-align: center;
}

/* Horizontal marquee with "Kein X" statements */
.manifest__marquee {
  position: relative;
  margin-top: clamp(3rem, 8vh, 6rem);
  width: 100vw;
  margin-left: calc(50% - 50vw);
  overflow: hidden;
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding: clamp(1.2rem, 2.2vh, 1.8rem) 0;
  background: linear-gradient(90deg, transparent, rgba(143, 75, 167, 0.06) 50%, transparent);
}
.manifest__marquee-track {
  display: flex;
  gap: clamp(1.5rem, 3vw, 3.5rem);
  align-items: center;
  width: max-content;
  animation: marquee 48s linear infinite;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.3rem, 2.2vw, 2.2rem);
  font-weight: 500;
  color: rgba(244, 239, 233, 0.55);
  white-space: nowrap;
}
.manifest__marquee-track .dot {
  color: var(--purple-lighter);
  font-style: normal;
  opacity: 0.6;
}
@keyframes marquee {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-50%, 0, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .manifest__marquee-track { animation: none; }
}

/* Mobile: tighter rule, narrower stack with 3 visible rows */
@media (max-width: 820px) {
  .manifest__title {
    font-size: clamp(2.2rem, 10vw, 4.5rem);
  }
  .flyto-rule {
    width: 40%;
  }
  .flyto-stack {
    height: calc(var(--item-h) * 3);
    --centre-row: 1;
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 35%, #000 65%, transparent 100%);
            mask-image: linear-gradient(180deg, transparent 0%, #000 35%, #000 65%, transparent 100%);
  }
}

/* ---------- 6b. SERVICES — Sechs Disziplinen ---------- */
.services {
  position: relative;
  padding: clamp(6rem, 14vh, 10rem) var(--container-pad) clamp(5rem, 10vh, 8rem);
  overflow: hidden;
}
.services::before {
  content: '';
  position: absolute;
  left: -15vw;
  top: 5vh;
  width: 70vw;
  height: 70vh;
  background: radial-gradient(closest-side, rgba(192, 132, 252, 0.18), transparent 70%);
  pointer-events: none;
  z-index: 0;
  filter: blur(40px);
}

.services__intro {
  position: relative;
  z-index: 1;
  max-width: 1400px;
  margin: 0 auto clamp(3rem, 7vh, 5rem);
  display: grid;
  grid-template-columns: 1fr minmax(320px, 44%);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: end;
}
.services__label {
  grid-column: 1 / -1;
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.74rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.32em;
  color: var(--purple-lighter);
  margin-bottom: 1.2rem;
}
.services__title {
  margin: 0;
  font-family: var(--font-serif);
  font-variation-settings: "opsz" 144, "SOFT" 0, "wght" 700;
  font-weight: 700;
  font-size: clamp(2.4rem, 6.5vw, 6.2rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
  color: var(--off-white);
}
.services__title em {
  font-style: italic;
  font-weight: 600;
  background: linear-gradient(100deg, #f5ebff 0%, var(--purple-lighter) 55%, #f5ebff 100%);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}
.services__lead {
  margin: 0;
  font-family: var(--font-sans);
  font-size: clamp(0.95rem, 1.15vw, 1.15rem);
  line-height: 1.6;
  color: rgba(244, 239, 233, 0.68);
  max-width: 48ch;
}

.services__grid {
  position: relative;
  z-index: 1;
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: minmax(280px, auto);
  gap: clamp(0.9rem, 1.4vw, 1.3rem);
}

/* Card placement on the grid — asymmetric bento
   Row 1: 01 | 02 | 03  (each span 2 of 6)
   Row 2: 04 (full-width — code block)
   Row 3: 05 | 06 (each span 3)  */
.service--01 { grid-column: span 2; }
.service--02 { grid-column: span 2; }
.service--03 { grid-column: span 2; }
.service--04 { grid-column: span 6; }
.service--05 { grid-column: span 2; }
.service--06 { grid-column: span 2; }
.service--more { grid-column: span 2; }

.service {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(1.5rem, 2.4vw, 2.2rem);
  border: 1px solid transparent;
  border-radius: 16px;
  background:
    /* card body */
    linear-gradient(180deg, rgba(20, 8, 32, 0.85), rgba(10, 5, 18, 0.92)) padding-box,
    /* animated gradient border */
    linear-gradient(140deg, rgba(192, 132, 252, 0.4), rgba(143, 75, 167, 0.15) 50%, rgba(192, 132, 252, 0.3)) border-box;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  overflow: hidden;
  transition: border-color 0.35s ease, transform 0.4s cubic-bezier(.2,.8,.2,1), box-shadow 0.4s ease;
  transform: translateY(calc(var(--svc-reveal, 0) * 30px));
  opacity: var(--svc-reveal-o, 1);
}
.service::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    radial-gradient(ellipse 80% 60% at 0% 0%, rgba(192, 132, 252, 0.18), transparent 60%);
  pointer-events: none;
  z-index: 0;
}
.service > * { position: relative; z-index: 1; }
.service::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(400px 300px at var(--mx, 50%) var(--my, 50%), rgba(192, 132, 252, 0.12), transparent 60%);
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}
.service:hover {
  border-color: rgba(192, 132, 252, 0.35);
  transform: translateY(-4px);
  box-shadow:
    0 22px 60px -20px rgba(143, 75, 167, 0.35),
    0 2px 0 rgba(255,255,255,0.04) inset;
}
.service:hover::after { opacity: 1; }

.service__num {
  font-family: var(--font-sans);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: rgba(192, 132, 252, 0.75);
  margin-bottom: 1.2rem;
}
.service__num--more {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 0.7;
  color: rgba(192, 132, 252, 0.85);
}

/* Catch-all tile — different vibe so it reads as "and more", not a 7th discipline */
.service--more {
  background:
    linear-gradient(180deg, rgba(20, 8, 32, 0.7), rgba(10, 5, 18, 0.85)) padding-box,
    linear-gradient(140deg, rgba(192, 132, 252, 0.55), rgba(228, 180, 255, 0.18) 50%, rgba(192, 132, 252, 0.45)) border-box;
}
.service--more::before {
  background:
    radial-gradient(ellipse 90% 70% at 100% 100%, rgba(228, 140, 95, 0.10), transparent 60%),
    radial-gradient(ellipse 80% 60% at 0% 0%, rgba(192, 132, 252, 0.22), transparent 60%);
}
.more-mock {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: flex-start;
  padding: 0.4rem 0;
}
.more-mock__chip {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: rgba(244, 239, 233, 0.88);
  background: rgba(192, 132, 252, 0.12);
  border: 1px solid rgba(192, 132, 252, 0.35);
  transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}
.service--more:hover .more-mock__chip {
  background: rgba(192, 132, 252, 0.2);
  border-color: rgba(192, 132, 252, 0.6);
}
.more-mock__chip:nth-child(2n)  { transform: translateY(2px); }
.more-mock__chip:nth-child(3n)  { transform: translateY(-2px); }
.service__title {
  margin: 0 0 0.6rem;
  font-family: var(--font-serif);
  font-variation-settings: "opsz" 144, "SOFT" 0, "wght" 600;
  font-weight: 600;
  font-size: clamp(1.35rem, 1.8vw, 1.8rem);
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--off-white);
}
.service__desc {
  margin: 0 0 1.2rem;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  line-height: 1.6;
  color: rgba(244, 239, 233, 0.72);
}
.service__tags {
  list-style: none;
  margin: auto 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}
.service__tags li {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.03);
  color: rgba(244, 239, 233, 0.75);
}

/* SVG-icon filling the visual slot */
.svc-icon {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 10px 20px rgba(143, 75, 167, 0.35));
}

/* POS receipt "druckt" aus dem Slot oben */
@keyframes receipt-print {
  0%, 20%   { transform: translateY(14px); opacity: 0; }
  30%       { opacity: 1; }
  60%       { transform: translateY(0); opacity: 1; }
  80%       { transform: translateY(-4px); opacity: 1; }
  100%      { transform: translateY(14px); opacity: 0; }
}
.svc-receipt { animation: receipt-print 4.5s ease-in-out infinite; transform-origin: 50% 100%; }

/* IG feed scroll loop inside the phone frame */
@keyframes feed-scroll {
  0%   { transform: translateY(0); }
  100% { transform: translateY(-132px); }
}
.svc-feed { animation: feed-scroll 6s ease-in-out infinite; }

/* Google search caret + highlight pulse */
@keyframes search-pulse {
  0%, 100% { opacity: 0.65; }
  50%      { opacity: 1; }
}
.svc-search text { animation: search-pulse 2.4s ease-in-out infinite; }

/* Card visuals */
.service__visual {
  position: relative;
  height: clamp(110px, 14vh, 150px);
  margin: 0 0 1.3rem;
  border-radius: 10px;
  overflow: hidden;
  background: radial-gradient(closest-side, rgba(74, 31, 92, 0.45), rgba(10, 10, 14, 0));
}
.service--04 .service__visual--code {
  height: clamp(170px, 22vh, 220px);
  background:
    linear-gradient(180deg, rgba(30, 15, 50, 0.6), rgba(10, 10, 14, 0.3));
  border: 1px solid rgba(143, 75, 167, 0.2);
  padding: 1rem 1.2rem;
  display: flex;
  align-items: center;
}
.codeblock {
  margin: 0;
  font-family: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: clamp(0.78rem, 0.95vw, 0.95rem);
  line-height: 1.65;
  color: rgba(244, 239, 233, 0.85);
}
.c-kw  { color: #d88cff; }
.c-var { color: #f4efe9; }
.c-fn  { color: #ffb86b; }
.c-key { color: #9ae6ff; }
.c-str { color: #c4f5a2; }

/* Orb for perf card */
.orb {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.orb--perf::before {
  content: '';
  width: 70%;
  height: 70%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 30%, #e3b4ff 0%, var(--purple-light) 40%, var(--purple-dark) 80%);
  filter: blur(0.2px);
  box-shadow:
    inset -20px -30px 60px rgba(0,0,0,0.35),
    inset 14px 18px 40px rgba(255,255,255,0.25),
    0 0 60px rgba(192, 132, 252, 0.3);
  animation: orb-float 6s ease-in-out infinite;
}
@keyframes orb-float {
  0%,100% { transform: translateY(0) scale(1); }
  50%     { transform: translateY(-6px) scale(1.03); }
}

/* Pulse grid for ads card */
.pulse-grid {
  position: absolute;
  inset: 15%;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(3, 1fr);
  gap: 10px;
}
.pulse-grid span {
  border-radius: 4px;
  background: linear-gradient(180deg, rgba(192, 132, 252, 0.15), rgba(192, 132, 252, 0.05));
  border: 1px solid rgba(192, 132, 252, 0.2);
  animation: pulse-cell 2.4s ease-in-out infinite;
}
.pulse-grid span:nth-child(2)  { animation-delay: 0.1s; }
.pulse-grid span:nth-child(3)  { animation-delay: 0.2s; background: linear-gradient(180deg, rgba(192, 132, 252, 0.5), rgba(192, 132, 252, 0.1)); }
.pulse-grid span:nth-child(4)  { animation-delay: 0.3s; }
.pulse-grid span:nth-child(5)  { animation-delay: 0.4s; }
.pulse-grid span:nth-child(6)  { animation-delay: 0.5s; background: linear-gradient(180deg, rgba(192, 132, 252, 0.55), rgba(192, 132, 252, 0.12)); }
.pulse-grid span:nth-child(7)  { animation-delay: 0.6s; background: linear-gradient(180deg, rgba(192, 132, 252, 0.4), rgba(192, 132, 252, 0.08)); }
.pulse-grid span:nth-child(8)  { animation-delay: 0.7s; }
.pulse-grid span:nth-child(9)  { animation-delay: 0.8s; }
.pulse-grid span:nth-child(10) { animation-delay: 0.9s; background: linear-gradient(180deg, rgba(192, 132, 252, 0.45), rgba(192, 132, 252, 0.1)); }
.pulse-grid span:nth-child(11) { animation-delay: 1.0s; }
.pulse-grid span:nth-child(12) { animation-delay: 1.1s; }
@keyframes pulse-cell {
  0%,100% { opacity: 0.55; transform: scale(0.96); }
  50%     { opacity: 1;    transform: scale(1.02); }
}

/* Rank bars for SEO card */
.rank-bars {
  position: absolute;
  inset: 18% 14%;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 4%;
}
.rank-bars span {
  flex: 1;
  border-radius: 6px 6px 0 0;
  background: linear-gradient(180deg, var(--purple-lighter), var(--purple-dark));
  animation: rank-rise 2.6s ease-in-out infinite;
  box-shadow: 0 0 20px rgba(192, 132, 252, 0.25);
}
.rank-bars span:nth-child(1) { height: 38%; animation-delay: 0s; }
.rank-bars span:nth-child(2) { height: 58%; animation-delay: 0.2s; }
.rank-bars span:nth-child(3) { height: 72%; animation-delay: 0.4s; }
.rank-bars span:nth-child(4) { height: 88%; animation-delay: 0.6s; }
.rank-bars span:nth-child(5) { height: 100%; animation-delay: 0.8s; }
@keyframes rank-rise {
  0%,100% { transform: scaleY(0.92); opacity: 0.75; transform-origin: bottom; }
  50%     { transform: scaleY(1);    opacity: 1;    transform-origin: bottom; }
}

/* Flow diagram for automation */
.flow {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(8px, 1vw, 14px);
  padding: 0 12%;
}
.flow__node {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 500;
  padding: 0.5rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.04);
  color: rgba(244, 239, 233, 0.85);
  white-space: nowrap;
}
.flow__node--active {
  background: linear-gradient(140deg, rgba(111,48,135,0.7), rgba(143,75,167,0.5));
  border-color: rgba(192,132,252,0.4);
  color: white;
  box-shadow: 0 0 24px rgba(192, 132, 252, 0.35);
  animation: flow-ping 2.2s ease-in-out infinite;
}
.flow__line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(192,132,252,0.2), rgba(192,132,252,0.6), rgba(192,132,252,0.2));
  position: relative;
}
.flow__line::after {
  content: '';
  position: absolute;
  top: -2px;
  left: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--purple-lighter);
  box-shadow: 0 0 12px var(--purple-lighter);
  animation: flow-travel 2.2s linear infinite;
}
@keyframes flow-ping {
  0%,100% { box-shadow: 0 0 24px rgba(192, 132, 252, 0.35); }
  50%     { box-shadow: 0 0 40px rgba(192, 132, 252, 0.65); }
}
@keyframes flow-travel {
  from { left: 0%; opacity: 0; }
  20%  { opacity: 1; }
  80%  { opacity: 1; }
  to   { left: 100%; opacity: 0; }
}

/* Site mockup for websites card */
.site-mock {
  position: absolute;
  inset: 14% 14%;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.1);
  background: linear-gradient(180deg, #13131a, #0e0e14);
  display: flex;
  flex-direction: column;
}
.site-mock__top {
  height: 14%;
  background: rgba(255,255,255,0.04);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  position: relative;
}
.site-mock__top::before {
  content: '';
  position: absolute;
  top: 50%; left: 10px;
  transform: translateY(-50%);
  width: 18px;
  height: 3px;
  background: var(--purple-lighter);
  border-radius: 2px;
}
.site-mock__hero {
  flex: 1.2;
  background:
    radial-gradient(closest-side at 70% 40%, rgba(143,75,167,0.5), transparent 70%),
    linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0));
  position: relative;
}
.site-mock__hero::before {
  content: '';
  position: absolute;
  left: 8%; top: 35%;
  width: 40%;
  height: 10%;
  background: rgba(244, 239, 233, 0.55);
  border-radius: 2px;
}
.site-mock__hero::after {
  content: '';
  position: absolute;
  left: 8%; top: 55%;
  width: 25%;
  height: 6%;
  background: rgba(192,132,252,0.6);
  border-radius: 2px;
}
.site-mock__rows {
  display: flex;
  gap: 5px;
  padding: 6px;
  flex: 0.6;
}
.site-mock__rows span {
  flex: 1;
  background: rgba(255,255,255,0.05);
  border-radius: 3px;
}

.services__outro {
  position: relative;
  z-index: 1;
  max-width: 1400px;
  margin: clamp(2rem, 5vh, 3.5rem) auto 0;
  text-align: center;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.2rem, 2vw, 1.8rem);
  color: rgba(244, 239, 233, 0.8);
}
.inline-link {
  color: var(--purple-lighter);
  position: relative;
  transition: color 0.2s ease;
}
.inline-link::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 1px;
  background: currentColor;
  transform: scaleX(1);
  transform-origin: right;
  transition: transform 0.35s cubic-bezier(.4,0,.2,1);
}
.inline-link:hover::after {
  transform-origin: left;
  transform: scaleX(0.3);
}

@media (max-width: 980px) {
  .services__intro { grid-template-columns: 1fr; align-items: start; }
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .service--01, .service--02, .service--03,
  .service--05, .service--06, .service--more { grid-column: span 1; }
  .service--04 { grid-column: span 2; }
}
@media (max-width: 620px) {
  .services__grid { grid-template-columns: 1fr; }
  .service--01, .service--02, .service--03,
  .service--04, .service--05, .service--06, .service--more { grid-column: span 1; }
}
/* Mobile: Service-Cards nur Symbol + Titel + Tags zeigen — Description und
   Nummer ausblenden, sonst wird's zu lang. */
@media (max-width: 820px) {
  .service__num,
  .service__desc { display: none; }
  .service {
    padding: clamp(1.2rem, 4vw, 1.6rem);
  }
  .service__title {
    margin-top: 0.4rem;
  }
}

/* ---------- 7. PROZESS — 4-step journey ---------- */
/* =========================================================================
   PROZESS — Animated SVG path, 4 alternating step-cards with reveal-on-scroll
   ─────────────────────────────────────────────────────────────────────────
   Section is sticky-pinned over ~400vh. SVG path draws itself as the user
   scrolls; nodes light up; step content slides in from its respective side.
   ========================================================================= */
.prozess {
  position: relative;
  padding: clamp(5rem, 12vh, 8rem) var(--container-pad);
}
.prozess__pin {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  max-width: 1200px;
  margin: 0 auto;
}

/* ---- TOP: Headline ---- */
.prozess__head {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.9rem;
  margin: 0 auto clamp(3rem, 7vh, 5rem);
}
.prozess__label {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.32em;
  color: var(--purple-lighter);
}
.prozess__title {
  margin: 0;
  font-family: var(--font-serif);
  font-variation-settings: "opsz" 144, "SOFT" 0, "wght" 700;
  font-weight: 700;
  font-size: clamp(2rem, 4.6vw, 3.8rem);
  line-height: 1.04;
  letter-spacing: -0.03em;
  color: var(--off-white);
  max-width: 26ch;
}
.prozess__title em {
  font-style: italic;
  font-weight: 600;
  background: linear-gradient(100deg, #f5ebff 0%, var(--purple-lighter) 55%, #f5ebff 100%);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}

/* ---- JOURNEY: SVG path + alternating step cards ---- */
.prozess__journey {
  position: relative;
  width: 100%;
  margin: 0 auto;
}
.prozess__path {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: visible;
}
.prozess__path-bg { display: none; }
.prozess__path-fg {
  fill: none;
  stroke: url(#prozPathGrad);
  stroke-width: 3;
  stroke-linecap: round;
  /* Path fully drawn from the start. */
}

.prozess__steps {
  position: relative;
  z-index: 2;
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  /* Explicit 4 rows so each step gets its own row — no auto-flow packing */
  grid-template-rows: repeat(4, minmax(clamp(8rem, 18vh, 12rem), auto));
  column-gap: 0;
  row-gap: clamp(2rem, 5vh, 3.5rem);
  align-items: center;
}
.prozess-step:nth-child(1) { grid-row: 1; }
.prozess-step:nth-child(2) { grid-row: 2; }
.prozess-step:nth-child(3) { grid-row: 3; }
.prozess-step:nth-child(4) { grid-row: 4; }
.prozess-step {
  position: relative;
  display: flex;
  align-items: center;
  opacity: 0;
  transition:
    opacity 0.6s cubic-bezier(.2,.8,.2,1),
    transform 0.6s cubic-bezier(.2,.8,.2,1);
}
.prozess-step--right {
  grid-column: 2;
  transform: translateX(40px);
  justify-content: flex-start;
  padding-left: clamp(1.6rem, 3.5vw, 3.2rem);
}
.prozess-step--left {
  grid-column: 1;
  transform: translateX(-40px);
  justify-content: flex-end;
  padding-right: clamp(1.6rem, 3.5vw, 3.2rem);
  text-align: right;
}
.prozess-step.is-active {
  opacity: 1;
  transform: translateX(0);
}

.prozess-step__node {
  position: absolute;
  top: 50%;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(10, 5, 22, 0.95);
  border: 2px solid rgba(192, 132, 252, 0.35);
  transform: translate(-50%, -50%) scale(0.8);
  transition:
    background 0.4s ease,
    border-color 0.4s ease,
    box-shadow 0.4s ease,
    transform 0.4s cubic-bezier(.2,.8,.2,1);
  z-index: 3;
}
.prozess-step--right .prozess-step__node { left: 0; }
.prozess-step--left  .prozess-step__node { right: 0; left: auto; transform: translate(50%, -50%) scale(0.8); }
.prozess-step.is-active .prozess-step__node {
  background: var(--purple-lighter);
  border-color: #fff;
  box-shadow:
    0 0 0 4px rgba(192,132,252,0.18),
    0 0 32px rgba(192,132,252,0.85);
  transform: translate(-50%, -50%) scale(1);
}
.prozess-step--left.is-active .prozess-step__node {
  transform: translate(50%, -50%) scale(1);
}

.prozess-step__body {
  max-width: 36ch;
}
.prozess-step__meta {
  display: inline-flex;
  align-items: baseline;
  gap: 0.7rem;
  margin-bottom: 0.3rem;
}
.prozess-step--left .prozess-step__meta { flex-direction: row-reverse; }
.prozess-step__num {
  font-family: var(--font-serif);
  font-style: italic;
  font-variation-settings: "opsz" 144, "wght" 600;
  font-weight: 600;
  font-size: clamp(2.2rem, 3.6vw, 3.2rem);
  line-height: 1;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, #c084fc 0%, #6f3087 100%);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}
.prozess-step__day {
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: rgba(192,132,252,0.8);
  padding: 0.28rem 0.7rem;
  border: 1px solid rgba(192,132,252,0.3);
  border-radius: 999px;
}
.prozess-step__title {
  margin: 0 0 0.55rem;
  font-family: var(--font-serif);
  font-variation-settings: "opsz" 144, "SOFT" 0, "wght" 600;
  font-weight: 600;
  font-size: clamp(1.3rem, 1.9vw, 1.7rem);
  color: var(--off-white);
  letter-spacing: -0.01em;
  line-height: 1.1;
}
.prozess-step__desc {
  margin: 0;
  font-family: var(--font-sans);
  font-size: clamp(0.88rem, 1vw, 0.98rem);
  line-height: 1.55;
  color: rgba(244, 239, 233, 0.72);
}

/* Mobile: SVG kollabiert zu schmaler linker Spalte, Steps stacken vertikal links daneben */
@media (max-width: 900px) {
  .prozess { min-height: auto; }
  .prozess__pin {
    position: relative;
    height: auto;
    grid-template-rows: auto auto;
  }
  .prozess__journey {
    height: auto;
    padding-left: 2.4rem;
  }
  .prozess__path { left: 0; right: auto; width: 16px; }
  .prozess__steps {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(4, auto);
    gap: 2.5rem;
    height: auto;
  }
  .prozess-step,
  .prozess-step--right,
  .prozess-step--left {
    grid-column: 1;
    grid-row: auto !important;
    justify-content: flex-start;
    text-align: left;
    padding-left: 2rem;
    padding-right: 0;
    transform: translateY(20px);
  }
  .prozess-step--left .prozess-step__meta { flex-direction: row; }
  .prozess-step.is-active { transform: translateY(0); }
  .prozess-step--right .prozess-step__node,
  .prozess-step--left  .prozess-step__node {
    left: -2rem;
    right: auto;
    transform: translate(50%, -50%) scale(0.8);
  }
  .prozess-step--right.is-active .prozess-step__node,
  .prozess-step--left.is-active  .prozess-step__node {
    transform: translate(50%, -50%) scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .prozess { min-height: auto; }
  .prozess__pin { position: relative; height: auto; }
  .prozess__path-fg { stroke-dashoffset: 0 !important; transition: none; }
  .prozess-step {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .prozess-step .prozess-step__node {
    background: var(--purple-lighter);
    border-color: #fff;
    transform: translate(-50%, -50%) scale(1) !important;
  }
  .prozess-step--left .prozess-step__node {
    transform: translate(50%, -50%) scale(1) !important;
  }
}

/* ---------- 8a. ARBEIT — Homepage preview grid (NEW) ---------- */
.arbeit--preview {
  padding: clamp(6rem, 14vh, 10rem) var(--container-pad) clamp(5rem, 10vh, 8rem);
  overflow: hidden;
}
.arbeit--preview .arbeit__intro {
  padding: 0;
  max-width: 1400px;
  margin: 0 auto clamp(3rem, 6vh, 4.5rem);
  text-align: center;
}
.arbeit--preview .arbeit__title { margin: 0 auto 1.2rem; max-width: 22ch; }
.arbeit--preview .arbeit__lead { margin: 0 auto; max-width: 62ch; }

.arbeit__preview-wrap {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.arbeit__preview-grid {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, minmax(280px, auto));
  gap: clamp(1rem, 1.5vw, 1.6rem);
  position: relative;
  z-index: 1;
}

/* Case preview card — floats in a box with hover reveal */
.cp {
  position: relative;
  display: grid;
  grid-template-columns: minmax(120px, 28%) 1fr;
  gap: clamp(1rem, 1.6vw, 1.5rem);
  padding: clamp(1.2rem, 1.8vw, 1.8rem);
  border: 1px solid transparent;
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(20, 8, 32, 0.78), rgba(10, 5, 18, 0.88)) padding-box,
    linear-gradient(160deg, rgba(192, 132, 252, 0.35), rgba(143, 75, 167, 0.12) 50%, rgba(192, 132, 252, 0.25)) border-box;
  text-decoration: none;
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(.2,.8,.2,1), box-shadow 0.4s ease, border-color 0.3s ease;
  isolation: isolate;
}
.cp::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    radial-gradient(ellipse 80% 60% at 100% 0%, rgba(192, 132, 252, 0.2), transparent 55%);
  pointer-events: none;
  z-index: -1;
}
.cp:hover {
  transform: translateY(-4px);
  box-shadow:
    0 28px 70px -22px rgba(143, 75, 167, 0.55),
    0 8px 20px -8px rgba(0, 0, 0, 0.4);
}

.cp__visual {
  position: relative;
  align-self: stretch;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 180px;
  border-radius: 12px;
  background: radial-gradient(ellipse 80% 60% at 50% 50%, rgba(143, 75, 167, 0.35), transparent 70%);
  overflow: hidden;
}
.cp__visual::after {
  content: '';
  position: absolute;
  inset: auto 12% 8%;
  height: 14px;
  background: radial-gradient(closest-side, rgba(192, 132, 252, 0.45), transparent);
  filter: blur(10px);
}
.cp__visual img {
  max-width: 84%;
  max-height: 84%;
  object-fit: contain;
  filter:
    drop-shadow(0 30px 50px rgba(143, 75, 167, 0.6))
    drop-shadow(0 10px 20px rgba(0, 0, 0, 0.4));
  transform: translateZ(0);
  transition: transform 0.5s cubic-bezier(.2,.8,.2,1);
}
.cp:hover .cp__visual img {
  transform: translateY(-6px) scale(1.05);
}
.cp__visual--portrait img {
  max-height: 92%;
  max-width: 60%;
}

/* Phönix preview-card — featured spans full row with autoplay portrait video */
.cp--video {
  grid-column: 1 / -1;
  grid-template-columns: minmax(160px, 30%) 1fr;
}
.cp__visual--video {
  background:
    radial-gradient(ellipse 55% 45% at 50% 55%, rgba(228, 140, 95, 0.14), transparent 60%),
    radial-gradient(ellipse 80% 60% at 50% 50%, rgba(143, 75, 167, 0.35), transparent 70%);
  min-height: 240px;
  cursor: pointer;
}
.cp__visual--video:focus-visible {
  outline: 2px solid var(--purple-lighter);
  outline-offset: 3px;
}
.cp__video {
  display: block;
  max-width: 92%;
  max-height: 88%;
  aspect-ratio: 16 / 9;
  border-radius: 10px;
  object-fit: cover;
  background: #08080a;
  filter:
    drop-shadow(0 30px 50px rgba(143, 75, 167, 0.55))
    drop-shadow(0 10px 20px rgba(228, 140, 95, 0.18))
    drop-shadow(0 6px 14px rgba(0, 0, 0, 0.45));
  transform: translateZ(0);
  transition: transform 0.5s cubic-bezier(.2,.8,.2,1);
}
.cp:hover .cp__video {
  transform: translateY(-6px) scale(1.04);
}
/* Play CTA — centered overlay on the video. Visual indicator only —
   the click is handled by the parent .cp__visual--video [data-video-modal]. */
.cp__play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.1rem 0.6rem 0.85rem;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  white-space: nowrap;
  color: white;
  background: linear-gradient(140deg, rgba(143, 75, 167, 0.92), rgba(111, 48, 135, 0.92));
  border: 1px solid rgba(227, 180, 255, 0.45);
  backdrop-filter: blur(10px);
  box-shadow:
    0 12px 32px -10px rgba(0, 0, 0, 0.7),
    0 0 0 4px rgba(192, 132, 252, 0.12);
  pointer-events: none;
  z-index: 2;
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s cubic-bezier(.2,.8,.2,1);
}
.cp__play svg { color: white; transition: transform 0.3s ease; }
.cp__visual--video:hover .cp__play {
  background: linear-gradient(140deg, rgba(192, 132, 252, 0.98), rgba(143, 75, 167, 0.98));
  border-color: rgba(227, 180, 255, 0.85);
  box-shadow:
    0 16px 38px -10px rgba(143, 75, 167, 0.7),
    0 0 0 6px rgba(192, 132, 252, 0.18);
  transform: translate(-50%, -50%) scale(1.06);
}
.cp__visual--video:hover .cp__play svg { transform: translateX(2px); }

.cp__body {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  min-width: 0;
}
.cp__tag {
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--purple-lighter);
}
.cp__name {
  margin: 0;
  font-family: var(--font-sans);
  font-size: clamp(1.2rem, 1.6vw, 1.55rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--off-white);
}
.cp__stat {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 0.92rem;
  line-height: 1.45;
  color: rgba(244, 239, 233, 0.72);
}
.cp__stat strong {
  color: white;
  font-weight: 600;
  background: linear-gradient(100deg, #f5ebff 0%, var(--purple-lighter) 100%);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}
.cp__quote {
  margin: 0.3rem 0 0;
  padding: 0.6rem 0.85rem;
  border-left: 2px solid var(--purple-lighter);
  border-radius: 0 6px 6px 0;
  background: linear-gradient(90deg, rgba(192, 132, 252, 0.08), transparent 70%);
  font-family: var(--font-sans);
  font-style: italic;
  font-size: 0.82rem;
  line-height: 1.45;
  color: rgba(244, 239, 233, 0.82);
}
.cp__quote cite {
  display: block;
  margin-top: 0.4rem;
  font-style: normal;
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--purple-lighter);
}

/* Hover-CTA — fadet horizontal zentriert unten in der Karte ein */
.cp__cta {
  position: absolute;
  left: 50%;
  bottom: clamp(1rem, 1.8vw, 1.5rem);
  transform: translateX(-50%) translateY(6px);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.9rem 0.5rem 1rem;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: white;
  background: linear-gradient(140deg, rgba(111, 48, 135, 0.95), rgba(192, 132, 252, 0.7));
  border: 1px solid rgba(192, 132, 252, 0.7);
  box-shadow: 0 8px 24px -8px rgba(143, 75, 167, 0.6);
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.3s cubic-bezier(.2,.8,.2,1);
  pointer-events: none;
  white-space: nowrap;
}
.cp:hover .cp__cta {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.cp__arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  font-weight: 600;
  transition: transform 0.3s ease;
}
.cp:hover .cp__arrow { transform: translateX(3px); }

/* Big CTA linking to /referenzen — sits BELOW the 4 preview cards, centered */
.arbeit__all-cta {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  margin: clamp(2rem, 5vh, 3.5rem) auto 0;
  padding: clamp(1.3rem, 2vw, 1.8rem) clamp(1.8rem, 2.8vw, 2.8rem);
  border-radius: 20px;
  font-family: var(--font-sans);
  text-align: center;
  color: white;
  background:
    linear-gradient(180deg, rgba(25, 10, 40, 0.95), rgba(10, 5, 18, 0.98)) padding-box,
    linear-gradient(140deg, rgba(192, 132, 252, 0.7), rgba(143, 75, 167, 0.5) 50%, rgba(227, 180, 255, 0.6)) border-box;
  border: 1.5px solid transparent;
  box-shadow:
    0 30px 80px -20px rgba(143, 75, 167, 0.6),
    0 0 0 1px rgba(192, 132, 252, 0.2),
    inset 0 1px 0 rgba(255,255,255,0.06);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: transform 0.35s cubic-bezier(.2,.8,.2,1), box-shadow 0.35s ease;
  text-decoration: none;
}
/* The wrap centers the CTA on its own row below the grid */
.arbeit__preview-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.arbeit__preview-grid { width: 100%; }
.arbeit__all-cta:hover {
  transform: translateY(-3px) scale(1.04);
  box-shadow:
    0 40px 100px -20px rgba(192, 132, 252, 0.75),
    0 0 0 1px rgba(192, 132, 252, 0.4);
}
.arbeit__all-cta-label {
  font-family: var(--font-mega);
  font-variation-settings: "opsz" 144, "wght" 600;
  font-style: italic;
  font-weight: 600;
  font-size: clamp(1.2rem, 1.9vw, 1.7rem);
  line-height: 1;
  background: linear-gradient(100deg, #ffffff, var(--purple-lighter));
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}
.arbeit__all-cta-sub {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(244, 239, 233, 0.65);
}
.arbeit__all-cta-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  margin-top: 0.4rem;
  border-radius: 50%;
  background: rgba(192, 132, 252, 0.25);
  border: 1px solid rgba(192, 132, 252, 0.5);
  font-size: 0.9rem;
  transition: transform 0.3s ease;
}
.arbeit__all-cta:hover .arbeit__all-cta-arrow { transform: translateX(4px); }

@media (max-width: 900px) {
  .arbeit__preview-grid { grid-template-columns: 1fr; grid-template-rows: none; }
  .arbeit__all-cta {
    position: static;
    transform: none;
    margin: clamp(2rem, 5vh, 3rem) auto 0;
    display: flex;
  }
  .arbeit__all-cta:hover { transform: scale(1.02); }
}
@media (max-width: 900px) {
  /* Cards: vertikaler Stack — Visual oben, Body unten, CTA inline am Ende.
     !important weil mehrere ältere Desktop-Rules auf .cp stacken können. */
  .cp,
  .cp--video {
    grid-template-columns: 1fr !important;
    grid-template-rows: auto auto !important;
    grid-column: 1 / -1 !important;
    padding: clamp(1rem, 3.5vw, 1.4rem) !important;
    gap: 0.9rem !important;
  }
  /* Visual-Container — sehr flach auf Mobile damit Cards nicht zu hoch
     werden. Default 12:5, Portrait 12:6, Video (Phönix) bleibt 16:9. */
  .cp__visual {
    width: 100%;
    min-height: 0 !important;
    aspect-ratio: 12 / 5;
  }
  .cp__visual--portrait {
    aspect-ratio: 12 / 6;
  }
  .cp__visual--video {
    aspect-ratio: 16 / 9;
    min-height: 0 !important;
  }
  /* Default-Image — kompakt im flachen Container */
  .cp__visual img {
    max-width: 50% !important;
    max-height: 78% !important;
    object-fit: contain;
  }
  /* Portrait-Image — schlank im 12:6 Container */
  .cp__visual--portrait img {
    max-width: 30% !important;
    max-height: 82% !important;
  }
  /* Video — bleibt prominent, eigene 16:9 Aspect-Ratio fast voll */
  .cp__video {
    max-width: 95% !important;
    max-height: 95% !important;
    aspect-ratio: 16 / 9;
    object-fit: cover;
  }
  /* Body — kompakter Stack mit weniger Gap */
  .cp__body {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.4rem !important;
    width: 100%;
    min-width: 0;
  }
  /* Quote etwas kompakter */
  .cp__quote {
    padding: 0.5rem 0.75rem;
    font-size: 0.78rem;
    line-height: 1.4;
  }
  /* CTA: inline statt absolute-floating */
  .cp__cta {
    position: static !important;
    left: auto !important;
    bottom: auto !important;
    transform: none !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    align-self: flex-start;
    margin-top: 0.4rem;
    width: auto !important;
  }
}

/* Referenzen subpage — page header styling */
.ref-header {
  position: relative;
  padding: calc(var(--nav-h) + clamp(3rem, 8vh, 5rem)) var(--container-pad) clamp(2rem, 5vh, 3.5rem);
}
.ref-header__inner {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}
.ref-header__back {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 1.5rem;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  color: rgba(192, 132, 252, 0.8);
  transition: color 0.25s ease;
}
.ref-header__back:hover { color: white; }
.ref-header__label {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--purple-lighter);
  margin-bottom: 1.2rem;
}
.ref-header__title {
  margin: 0 0 1.2rem;
  font-family: var(--font-mega);
  font-variation-settings: "opsz" 144, "SOFT" 0, "wght" 700;
  font-weight: 700;
  font-size: clamp(2.4rem, 6vw, 5.5rem);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--off-white);
}
.ref-header__title em {
  font-style: italic;
  font-weight: 600;
  background: linear-gradient(100deg, #f5ebff 0%, var(--purple-lighter) 55%, #e3b4ff 100%);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}
.ref-header__lead {
  margin: 0 auto;
  max-width: 62ch;
  font-family: var(--font-sans);
  font-size: clamp(0.98rem, 1.2vw, 1.15rem);
  line-height: 1.6;
  color: rgba(244, 239, 233, 0.75);
}

/* ---------- 8. ARBEIT — Pinned case flyovers (Ikarus pattern) ---------- */
.arbeit--flyover {
  padding: clamp(6rem, 14vh, 10rem) 0 0;
}
.arbeit--flyover .arbeit__intro {
  padding: 0 var(--container-pad);
  max-width: 1400px;
  margin: 0 auto clamp(3rem, 5vh, 4rem);
  text-align: center;
}
.arbeit--flyover .arbeit__title { margin: 0 auto 1.2rem; max-width: 22ch; }
.arbeit--flyover .arbeit__lead { margin: 0 auto; max-width: 58ch; }

/* Each case — 200vh scroll stage, pin holds middle 100vh */
.case-show {
  --plane-x: 0vw;
  --plane-y: 80vh;
  --title-opacity: 1;
  --title-y: 0px;
  --tagline-opacity: 1;
  --brand-opacity: 0;
  --cta-opacity: 1;
  --specs-opacity: 0;
  --plane-opacity: 1;

  position: relative;
  height: 220vh;
  background:
    radial-gradient(ellipse 60% 50% at 50% 50%, rgba(143, 75, 167, 0.18), transparent 65%),
    linear-gradient(180deg, #08080a 0%, #120820 60%, #08080a 100%);
  isolation: isolate;
  /* NOTE: no overflow:hidden here — it breaks position:sticky on children */
}
.case-show--02 {
  background:
    radial-gradient(ellipse 60% 50% at 30% 50%, rgba(192, 132, 252, 0.15), transparent 65%),
    linear-gradient(180deg, #08080a 0%, #0f0418 60%, #08080a 100%);
}
.case-show--03 {
  background:
    radial-gradient(ellipse 60% 50% at 70% 50%, rgba(111, 48, 135, 0.22), transparent 65%),
    linear-gradient(180deg, #08080a 0%, #14081f 60%, #08080a 100%);
}
.case-show--04 {
  background:
    radial-gradient(ellipse 60% 50% at 50% 50%, rgba(192, 132, 252, 0.2), transparent 65%),
    linear-gradient(180deg, #08080a 0%, #18082a 60%, #08080a 100%);
}
/* Case 05 — Phönix · Sander Automotive · AI Video.
   Phönix-Hauch: subtiler warmer Ember-Glow im Kern, sonst Brand-Purple. */
.case-show--05 {
  background:
    radial-gradient(ellipse 45% 40% at 50% 52%, rgba(228, 140, 95, 0.10), transparent 60%),
    radial-gradient(ellipse 70% 55% at 50% 50%, rgba(143, 75, 167, 0.18), transparent 70%),
    linear-gradient(180deg, #08080a 0%, #160a22 60%, #08080a 100%);
}
.case-show + .case-show {
  border-top: 1px solid rgba(255,255,255,0.04);
}
.case-show__pin {
  position: sticky;
  top: 0;
  height: 100vh;
  width: 100%;
  overflow: hidden;  /* clip the flying SVG/title within the pin */
  background: transparent;
  isolation: isolate;
}
.case-show__pin::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 100vw;
  height: 100vh;
  background:
    radial-gradient(closest-side at 50% 50%, rgba(192, 132, 252, 0.25), transparent 65%);
  pointer-events: none;
  z-index: 0;
  filter: blur(30px);
}

.case-show__idx {
  position: absolute;
  top: clamp(4rem, 10vh, 6rem);
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  font-family: var(--font-sans);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--purple-lighter);
}

.case-show__title-row {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(2rem, 6vw, 8rem);
  z-index: 2;
  pointer-events: none;
  opacity: var(--title-opacity);
  transform: translate3d(0, var(--title-y), 0);
  transition: opacity 0.1s linear, transform 0.1s linear;
}
.case-show__title {
  margin: 0;
  font-family: var(--font-serif);
  font-variation-settings: "opsz" 144, "SOFT" 0, "wght" 700;
  font-weight: 700;
  font-size: clamp(3rem, 8vw, 9rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
  color: var(--off-white);
  flex: 0 1 auto;
  white-space: nowrap;
}
.case-show__title--l {
  background: linear-gradient(120deg, #ffffff 20%, #e3b4ff 100%);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}
.case-show__title--r {
  font-style: italic;
  font-weight: 500;
  background: linear-gradient(100deg, #f5ebff 0%, var(--purple-lighter) 55%, #f5ebff 100%);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}

/* Hero visual — SVG rises from below, driven by --plane-y.
   Slight perspective tilt gives a pseudo-3D feel until a real 3D asset
   (GLB/textured motorcycle) is swapped in. */
.case-show__hero {
  position: absolute;
  left: 50%;
  bottom: 50%;
  width: min(38vw, 540px);
  aspect-ratio: 900 / 420;
  transform: translate3d(calc(-50% + var(--plane-x)), var(--plane-y), 0) rotateX(8deg);
  transform-style: preserve-3d;
  perspective: 1400px;
  opacity: var(--plane-opacity);
  z-index: 4;
  pointer-events: none;
  transition: opacity 0.1s linear;
}
.case-show__hero svg {
  width: 100%;
  height: 100%;
  display: block;
  filter:
    drop-shadow(0 40px 80px rgba(143, 75, 167, 0.55))
    drop-shadow(0 10px 20px rgba(0, 0, 0, 0.45));
}

/* Photorealistic image variant — transparent PNGs (fal.ai + pixelcut BG-removal) */
.case-show__hero--photo {
  width: min(60vw, 880px);
}
/* Portrait-oriented renders (top-down motorcycle, skincare jar) need a
   taller container so they read at full height rising up the page. */
.case-show__hero--portrait {
  width: min(28vw, 360px);
  aspect-ratio: 896 / 1920;
}
.case-show__hero-img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  filter:
    drop-shadow(0 50px 100px rgba(143, 75, 167, 0.65))
    drop-shadow(0 20px 50px rgba(192, 132, 252, 0.35))
    drop-shadow(0 8px 16px rgba(0, 0, 0, 0.55));
}

/* Video hero — autoplay landscape clip framed in subtle glass with purple+ember glow */
.case-show__hero--video {
  aspect-ratio: 16 / 9;
  width: min(42vw, 620px);
}
/* Whole video acts as the click trigger — pointer-events stays on for the
   video case (other heroes keep pointer-events: none for scroll behaviour). */
.case-show__hero--video {
  pointer-events: auto;
  cursor: pointer;
  border-radius: 14px;
  overflow: hidden;
}
.case-show__hero--video:focus-visible {
  outline: 2px solid var(--purple-lighter);
  outline-offset: 4px;
}
.case-show__hero-video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  border-radius: 14px;
  background: #08080a;
  /* Clicks pass through to the parent — autoplay-muted videos otherwise
     swallow them in some browsers, blocking the lightbox trigger. */
  pointer-events: none;
  box-shadow:
    0 50px 100px rgba(143, 75, 167, 0.55),
    0 20px 50px rgba(228, 140, 95, 0.18),
    0 8px 16px rgba(0, 0, 0, 0.55),
    inset 0 0 0 1px rgba(192, 132, 252, 0.18);
}
.case-show__hero-play-badge {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.85rem 0.45rem 0.7rem;
  border-radius: 999px;
  background: rgba(10, 5, 18, 0.72);
  border: 1px solid rgba(192, 132, 252, 0.5);
  backdrop-filter: blur(10px);
  color: white;
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  white-space: nowrap;
  pointer-events: none;
  transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
  box-shadow: 0 8px 20px -8px rgba(0,0,0,0.5);
}
.case-show__hero-play-badge svg { color: var(--purple-lighter); }
.case-show__hero-trigger:hover .case-show__hero-play-badge {
  background: rgba(143, 75, 167, 0.92);
  border-color: rgba(192, 132, 252, 0.85);
  transform: translateX(-50%) translateY(-2px);
}
.case-show__hero-trigger:hover .case-show__hero-play-badge svg { color: white; }

/* Tagline bottom-left */
.case-show__tagline {
  position: absolute;
  left: clamp(1.5rem, 5vw, 5rem);
  bottom: clamp(3rem, 8vh, 6rem);
  z-index: 3;
  margin: 0;
  max-width: 14ch;
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
  font-variation-settings: "opsz" 144, "SOFT" 0, "wght" 500;
  font-size: clamp(1.3rem, 2.1vw, 2.1rem);
  line-height: 1.1;
  color: rgba(244, 239, 233, 0.88);
  opacity: var(--tagline-opacity);
  transition: opacity 0.1s linear;
}

/* Brand block bottom-right — fades in as title fades out */
.case-show__brand {
  position: absolute;
  right: clamp(1.5rem, 5vw, 5rem);
  bottom: clamp(3rem, 8vh, 6rem);
  z-index: 3;
  max-width: 36ch;
  text-align: right;
  opacity: var(--brand-opacity);
  transition: opacity 0.1s linear;
}
.case-show__brand-kicker {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--purple-lighter);
  margin-bottom: 0.6rem;
}
.case-show__brand p {
  margin: 0;
  font-family: var(--font-sans);
  font-size: clamp(0.92rem, 1.1vw, 1.05rem);
  line-height: 1.55;
  color: rgba(244, 239, 233, 0.78);
}

/* CTA pill top-right */
.case-show__cta {
  position: absolute;
  top: clamp(4rem, 10vh, 6rem);
  right: clamp(1.5rem, 5vw, 5rem);
  z-index: 5;
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.65rem 1.2rem 0.65rem 1.4rem;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 500;
  color: white;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(192,132,252,0.35);
  backdrop-filter: blur(14px);
  opacity: var(--cta-opacity);
  transition: opacity 0.1s linear, background 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}
.case-show__cta:hover {
  background: rgba(192, 132, 252, 0.2);
  border-color: rgba(192, 132, 252, 0.6);
  transform: translateY(-2px);
}
.case-show__cta i {
  display: inline-flex;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(192, 132, 252, 0.25);
  align-items: center;
  justify-content: center;
  font-style: normal;
  transition: transform 0.3s ease;
}
.case-show__cta:hover i { transform: translateX(3px); }

/* Specs stage — reveals after the plane passes through the title */
.case-show__specs {
  position: absolute;
  inset: clamp(9rem, 18vh, 11rem) clamp(1.5rem, 5vw, 5rem) clamp(3rem, 8vh, 6rem);
  z-index: 5;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto 1fr auto;
  gap: clamp(1.2rem, 2.4vw, 2.4rem);
  opacity: var(--specs-opacity);
  transition: opacity 0.1s linear;
  pointer-events: none;
}
.case-show__specs > * { pointer-events: auto; }
.case-show__specs-head {
  grid-column: 1;
  grid-row: 1;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}
.case-show__specs-kicker {
  font-family: var(--font-sans);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--purple-lighter);
}
.case-show__specs-title {
  margin: 0;
  font-family: var(--font-serif);
  font-variation-settings: "opsz" 144, "SOFT" 0, "wght" 700;
  font-weight: 700;
  font-size: clamp(2rem, 4.5vw, 4rem);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--off-white);
}
.case-show__specs-rhead {
  grid-column: 2;
  grid-row: 1;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  text-align: right;
  align-items: flex-end;
}
.case-show__specs-title--small {
  font-size: clamp(1.3rem, 2vw, 1.9rem);
  font-style: italic;
  font-weight: 500;
  color: rgba(244, 239, 233, 0.92);
}
.case-show__specs-rule {
  width: min(70%, 240px);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(192,132,252,0.6), transparent);
  margin: 0.4rem 0;
}
.case-show__specs-lead span {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(244, 239, 233, 0.5);
}
.case-show__specs-desc {
  max-width: 34ch;
  margin: 0.4rem 0 0;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  line-height: 1.55;
  color: rgba(244, 239, 233, 0.75);
}

.case-show__specs-grid {
  grid-column: 1 / -1;
  grid-row: 2;
  align-self: center;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, auto);
  gap: clamp(0.8rem, 1.6vw, 1.8rem) clamp(1.5rem, 3vw, 3rem);
  padding: 1.4rem 0;
  border-top: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.case-show__spec {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.case-show__spec span {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(244, 239, 233, 0.45);
}
.case-show__spec strong {
  font-family: var(--font-serif);
  font-variation-settings: "opsz" 144, "SOFT" 0, "wght" 700;
  font-weight: 700;
  font-size: clamp(1.4rem, 2.1vw, 2rem);
  letter-spacing: -0.02em;
  background: linear-gradient(180deg, #ffffff, var(--purple-lighter));
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}

.case-show__quote {
  grid-column: 1 / -1;
  grid-row: 3;
  margin: 0;
  padding: 1.2rem 1.4rem;
  border-left: 2px solid var(--purple-lighter);
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1rem, 1.4vw, 1.25rem);
  line-height: 1.5;
  color: rgba(244, 239, 233, 0.92);
  background: linear-gradient(90deg, rgba(192,132,252,0.08), transparent 60%);
  border-radius: 0 6px 6px 0;
}
.case-show__quote cite {
  display: block;
  margin-top: 0.6rem;
  font-family: var(--font-sans);
  font-style: normal;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--purple-lighter);
}

/* ---------- Case-Summary cards — 4 nebeneinander unter Flyovers ---------- */
.case-summary {
  position: relative;
  padding: clamp(5rem, 12vh, 8rem) var(--container-pad) clamp(3rem, 6vh, 4.5rem);
  background:
    radial-gradient(ellipse 60% 50% at 50% 0%, rgba(143, 75, 167, 0.18), transparent 60%),
    linear-gradient(180deg, #0a0410 0%, #0c0613 100%);
}
.case-summary__inner {
  max-width: 1400px;
  margin: 0 auto;
}
.case-summary__label {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.74rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.32em;
  color: var(--purple-lighter);
  margin-bottom: 1rem;
}
.case-summary__title {
  margin: 0 0 clamp(2.5rem, 6vh, 4rem);
  font-family: var(--font-mega);
  font-variation-settings: "opsz" 144, "SOFT" 0, "wght" 700;
  font-weight: 700;
  font-style: italic;
  font-size: clamp(2rem, 5vw, 4.2rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
  color: var(--off-white);
  text-transform: none;
  background: linear-gradient(180deg, #ffffff 0%, #e3b4ff 100%);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}
.case-summary__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(0.9rem, 1.5vw, 1.4rem);
}

.csc {
  position: relative;
  padding: clamp(1.3rem, 1.8vw, 1.8rem);
  border: 1px solid transparent;
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(20, 8, 32, 0.85), rgba(10, 5, 18, 0.92)) padding-box,
    linear-gradient(160deg, rgba(192, 132, 252, 0.4), rgba(143, 75, 167, 0.15) 50%, rgba(192, 132, 252, 0.3)) border-box;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(.2,.8,.2,1), box-shadow 0.4s ease;
}
.csc:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 60px -20px rgba(143, 75, 167, 0.45);
}
.csc::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 100% 0%, rgba(192, 132, 252, 0.15), transparent 55%);
  pointer-events: none;
}
.csc > * { position: relative; }

.csc__head {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  padding-bottom: 0.9rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.csc__tag {
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--purple-lighter);
}
.csc__name {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(0.95rem, 1.25vw, 1.2rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: var(--off-white);
}

.csc__row {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}
.csc__label {
  font-family: var(--font-sans);
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(192, 132, 252, 0.75);
}
.csc__row p {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 0.86rem;
  line-height: 1.5;
  color: rgba(244, 239, 233, 0.82);
}
.csc__row p strong {
  color: white;
  font-weight: 600;
  background: linear-gradient(100deg, #f5ebff 0%, var(--purple-lighter) 100%);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}
.csc__row ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.csc__row ul li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  line-height: 1.45;
  color: rgba(244, 239, 233, 0.72);
}
.csc__row ul li::before {
  content: '';
  flex: 0 0 auto;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--purple-lighter);
  box-shadow: 0 0 6px rgba(192, 132, 252, 0.6);
  margin-top: 0.55rem;
}

.csc__quote {
  margin: auto 0 0;
  padding: 0.8rem 0.9rem;
  border-left: 2px solid var(--purple-lighter);
  background: linear-gradient(90deg, rgba(192,132,252,0.08), transparent 70%);
  border-radius: 0 6px 6px 0;
  font-family: var(--font-sans);
  font-style: italic;
  font-size: 0.82rem;
  line-height: 1.45;
  color: rgba(244, 239, 233, 0.86);
}
.csc__quote cite {
  display: block;
  margin-top: 0.45rem;
  font-style: normal;
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--purple-lighter);
}

@media (max-width: 1100px) {
  .case-summary__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .case-summary__grid { grid-template-columns: 1fr; }
}

/* Outro after flyovers */
.arbeit__outro {
  position: relative;
  z-index: 1;
  max-width: 1400px;
  margin: 0 auto;
  padding: clamp(4rem, 10vh, 7rem) var(--container-pad);
  text-align: center;
}
.arbeit__outro h3 {
  margin: 0 0 1.6rem;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.6rem, 3vw, 2.6rem);
  font-weight: 500;
  color: var(--off-white);
}
.arbeit__outro .case-more__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.9rem 1.5rem;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-weight: 500;
  color: white;
  background: linear-gradient(140deg, rgba(111, 48, 135, 0.85), rgba(143, 75, 167, 0.6));
  border: 1px solid rgba(192,132,252,0.4);
  transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}
.arbeit__outro .case-more__cta:hover {
  background: linear-gradient(140deg, rgba(143, 75, 167, 0.95), rgba(192, 132, 252, 0.7));
  box-shadow: 0 0 40px rgba(192,132,252,0.5);
  transform: translateY(-2px);
}

@media (max-width: 860px) {
  /* Shorter sticky — mobile scrolls faster through the flyover */
  .case-show { height: 180vh; }

  .case-show__title-row {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.2rem;
    padding: 0 1rem;
    text-align: center;
  }
  .case-show__title {
    font-size: clamp(2.4rem, 11vw, 4.5rem);
    white-space: normal;
  }

  .case-show__idx {
    top: clamp(3.5rem, 8vh, 4.5rem);
    font-size: 0.68rem;
  }

  /* Hero images — smaller + centered on narrow viewports */
  .case-show__hero {
    width: min(78vw, 500px);
  }
  .case-show__hero--portrait {
    width: min(42vw, 220px);
  }
  .case-show__hero--video {
    width: min(80vw, 480px);
  }

  /* Tagline + brand stay fixed but span the full width at the bottom */
  .case-show__tagline {
    left: 1rem;
    right: 1rem;
    bottom: 10rem;
    max-width: none;
    text-align: left;
    font-size: clamp(1rem, 4vw, 1.4rem);
  }
  .case-show__brand {
    display: none;  /* too much text for mobile pin; brand revealed in specs stage */
  }

  .case-show__cta { display: none; }

  /* Specs stage — single column, rows stack vertically (no overlap) */
  .case-show__specs {
    inset: clamp(6.5rem, 13vh, 8.5rem) 1rem clamp(2rem, 5vh, 3rem);
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto auto;
    gap: 0.7rem;
  }
  .case-show__specs-head {
    grid-column: 1;
    grid-row: 1;
    text-align: left;
    align-items: flex-start;
  }
  .case-show__specs-rhead {
    grid-column: 1;
    grid-row: 2;   /* was 1 — caused overlap. Force own row on mobile. */
    text-align: left;
    align-items: flex-start;
  }
  .case-show__specs-grid {
    grid-column: 1;
    grid-row: 3;
    grid-template-columns: 1fr 1fr;
    gap: 0.7rem;
    padding: 0.8rem 0;
  }
  .case-show__quote {
    grid-column: 1;
    grid-row: 4;
    font-size: 0.88rem;
    padding: 0.7rem 0.9rem;
  }
  .case-show__specs-title { font-size: clamp(1.6rem, 7vw, 2.4rem); }
  .case-show__specs-title--small { font-size: clamp(1.05rem, 4.2vw, 1.4rem); }
  .case-show__specs-rule { width: 100px; }
  .case-show__specs-desc { font-size: 0.88rem; line-height: 1.5; max-width: none; }
  .case-show__spec strong { font-size: clamp(1.1rem, 5vw, 1.5rem); }
}

/* ---------- 8b. LEGACY ARBEIT rail styles (unused, kept for safety) ---------- */
.arbeit {
  position: relative;
  padding: clamp(6rem, 14vh, 10rem) 0 clamp(5rem, 10vh, 8rem);
  /* NOTE: no overflow:hidden — would break sticky pins in child case-shows */
}
.arbeit__intro {
  padding: 0 var(--container-pad);
  max-width: 1400px;
  margin: 0 auto clamp(3rem, 6vh, 4rem);
}
.arbeit__label {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.74rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.32em;
  color: var(--purple-lighter);
  margin-bottom: 1.2rem;
}
.arbeit__title {
  margin: 0 0 1.4rem;
  font-family: var(--font-serif);
  font-variation-settings: "opsz" 144, "SOFT" 0, "wght" 700;
  font-weight: 700;
  font-size: clamp(2.4rem, 6.5vw, 6.2rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
  color: var(--off-white);
}
.arbeit__title em {
  font-style: italic;
  font-weight: 600;
  background: linear-gradient(100deg, #f5ebff 0%, var(--purple-lighter) 55%, #f5ebff 100%);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}
.arbeit__lead {
  margin: 0 0 1rem;
  max-width: 60ch;
  font-family: var(--font-sans);
  font-size: clamp(0.95rem, 1.15vw, 1.1rem);
  line-height: 1.6;
  color: rgba(244, 239, 233, 0.68);
}
.arbeit__hint {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(192,132,252,0.6);
  animation: hint-slide 2.4s ease-in-out infinite;
}
@keyframes hint-slide {
  0%,100% { transform: translateX(0); opacity: 0.6; }
  50%     { transform: translateX(-6px); opacity: 1; }
}

.arbeit__rail {
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: rgba(192,132,252,0.4) transparent;
  -webkit-overflow-scrolling: touch;
  padding: 0 var(--container-pad) 2rem;
}
.arbeit__rail::-webkit-scrollbar { height: 8px; }
.arbeit__rail::-webkit-scrollbar-thumb {
  background: rgba(192,132,252,0.3);
  border-radius: 4px;
}
.arbeit__rail::-webkit-scrollbar-thumb:hover { background: rgba(192,132,252,0.55); }
.arbeit__track {
  display: flex;
  gap: clamp(1.2rem, 2vw, 2rem);
  padding-bottom: 0.5rem;
  width: max-content;
}

.case {
  position: relative;
  flex: 0 0 clamp(340px, 40vw, 520px);
  scroll-snap-align: start;
  padding: clamp(1.6rem, 2.4vw, 2.4rem);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 18px;
  background:
    radial-gradient(120% 80% at 10% 0%, rgba(143,75,167,0.15), transparent 55%),
    linear-gradient(180deg, #0f0f15, #09090d);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  overflow: hidden;
  transition: border-color 0.3s ease, transform 0.4s cubic-bezier(.2,.8,.2,1);
}
.case:hover {
  border-color: rgba(192,132,252,0.4);
  transform: translateY(-4px);
}

.case__meta {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(244, 239, 233, 0.55);
}
.case__tag { color: var(--purple-lighter); }

.case__title {
  margin: 0.3rem 0 0;
  font-family: var(--font-serif);
  font-variation-settings: "opsz" 144, "SOFT" 0, "wght" 700;
  font-weight: 700;
  font-size: clamp(1.6rem, 2.5vw, 2.4rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--off-white);
}
.case__title em {
  font-style: italic;
  font-weight: 500;
  color: rgba(244, 239, 233, 0.82);
}
.case__body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  line-height: 1.6;
  color: rgba(244, 239, 233, 0.75);
}

.case__stats {
  list-style: none;
  margin: 0.4rem 0 0;
  padding: 1.1rem 0 1rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.6rem;
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.case__stats li {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.case__kpi {
  font-family: var(--font-serif);
  font-variation-settings: "opsz" 144, "SOFT" 0, "wght" 700;
  font-weight: 700;
  font-size: clamp(1.8rem, 2.8vw, 2.6rem);
  line-height: 1;
  letter-spacing: -0.02em;
  background: linear-gradient(180deg, #f5ebff, var(--purple-lighter));
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}
.case__stats small {
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(244, 239, 233, 0.55);
}

.case__stack {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.case__stack span {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 500;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.03);
  color: rgba(244, 239, 233, 0.75);
}

.case__visual {
  margin-top: auto;
  height: clamp(110px, 14vh, 140px);
  background: radial-gradient(closest-side at 50% 100%, rgba(143,75,167,0.25), transparent 70%);
  border-radius: 10px;
  overflow: hidden;
  position: relative;
}
.case__visual svg { width: 100%; height: 100%; display: block; }

.mini-funnel {
  position: absolute;
  inset: 15% 20%;
  display: flex;
  flex-direction: column;
  gap: 6px;
  justify-content: center;
  align-items: center;
}
.mini-funnel span {
  width: var(--w);
  height: 16%;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--purple-dark), var(--purple-lighter));
  box-shadow: 0 0 18px rgba(192,132,252,0.3);
  transition: transform 0.6s ease-out;
}

.map-dot {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(192,132,252,0.5);
  border: 1px solid rgba(192,132,252,0.8);
  box-shadow: 0 0 12px rgba(192,132,252,0.4);
}
.map-dot--hot {
  background: var(--purple-lighter);
  box-shadow: 0 0 24px rgba(192,132,252,0.8);
  animation: pulse-dot 2s ease-in-out infinite;
  width: 14px;
  height: 14px;
}
@keyframes pulse-dot {
  0%,100% { transform: scale(1); }
  50%     { transform: scale(1.25); }
}

.case--more {
  background: linear-gradient(180deg, rgba(143,75,167,0.15), rgba(111,48,135,0.05));
  border: 1px dashed rgba(192,132,252,0.35);
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 480px;
}
.case-more__title {
  margin: 0 0 1.5rem;
  font-family: var(--font-serif);
  font-size: clamp(1.3rem, 1.8vw, 1.9rem);
  font-weight: 500;
  font-style: italic;
  color: var(--off-white);
  max-width: 18ch;
}
.case-more__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.9rem 1.5rem;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-weight: 500;
  color: white;
  background: linear-gradient(140deg, rgba(111, 48, 135, 0.85), rgba(143, 75, 167, 0.6));
  border: 1px solid rgba(192,132,252,0.4);
  transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}
.case-more__cta:hover {
  background: linear-gradient(140deg, rgba(143, 75, 167, 0.95), rgba(192, 132, 252, 0.7));
  box-shadow: 0 0 40px rgba(192,132,252,0.5);
}
.case-more__arrow { display: inline-block; transition: transform 0.3s ease; }
.case-more__cta:hover .case-more__arrow { transform: translateX(5px); }

/* ---------- 9. ZAHLEN ---------- */
/* =========================================================================
   ZAHLEN — Scroll-linked storytelling (Pin-Choreographie)
   ─────────────────────────────────────────────────────────────────────────
   Phase A: Section enters → Title slidet von oben rein, klebt oben.
   Phase B: KPI-Label slidet von unten rein, klebt unter Title.
   Phase C: Counter erscheint + zählt scroll-linked auf Zielwert.
   Phase D: Vorheriger KPI fadet aus, nächster Label slidet rein.
   ========================================================================= */
.zahlen {
  position: relative;
  /* Title-Reveal + 4 progressive KPI-Reveals ≈ ~450vh Scrolldistanz */
  min-height: 450vh;
}
.zahlen__pin {
  position: sticky;
  top: 0;
  height: 100vh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  align-items: stretch;
  /* Nav (~64px) + breathing room above the label */
  padding: clamp(6rem, 14vh, 9rem) var(--container-pad) clamp(2rem, 5vh, 3.5rem);
  text-align: center;
  overflow: hidden;
}

/* ---- TOP — Headline (sofort sichtbar, klebt oben) ---- */
.zahlen__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
.zahlen__label {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.32em;
  color: var(--purple-lighter);
}
.zahlen__title {
  margin: 0;
  font-family: var(--font-serif);
  font-variation-settings: "opsz" 144, "SOFT" 0, "wght" 700;
  font-weight: 700;
  font-size: clamp(2.6rem, 6.4vw, 5.4rem);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--off-white);
  max-width: 24ch;
}
.zahlen__title em {
  font-style: italic;
  font-weight: 600;
  background: linear-gradient(100deg, #f5ebff 0%, var(--purple-lighter) 55%, #f5ebff 100%);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}

/* ---- CENTER — KPI-Stack (4 Zeilen untereinander, jede slidet rein) ---- */
.zahlen__stage {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: stretch;
  gap: clamp(0.6rem, 2vh, 1.6rem);
  width: 100%;
  max-width: 880px;
  margin: 0 auto;
  padding: 0;
}
.zahlen__kpi {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  align-items: center;
  gap: 0 clamp(1.5rem, 3vw, 2.8rem);
  text-align: left;
  opacity: 0;
  transform: translateY(60px);
  transition:
    opacity 0.7s cubic-bezier(.2,.8,.2,1),
    transform 0.7s cubic-bezier(.2,.8,.2,1);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding-block: clamp(0.4rem, 1.4vh, 1rem);
}
.zahlen__kpi:last-child { border-bottom: 0; }
.zahlen__kpi.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.zahlen__kpi-num {
  display: inline-block;
  justify-self: end;
  font-family: var(--font-serif);
  font-variation-settings: "opsz" 144, "SOFT" 0, "wght" 700;
  font-weight: 700;
  font-size: clamp(3.5rem, 8.5vw, 7rem);
  line-height: 0.9;
  letter-spacing: -0.05em;
  background: linear-gradient(180deg, #ffffff 0%, var(--purple-lighter) 70%, var(--purple-light) 100%);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  font-feature-settings: "tnum" 1, "lnum" 1;
}
.zahlen__kpi-num i {
  font-style: normal;
  font-size: 0.45em;
  vertical-align: 0.55em;
  margin-left: 0.04em;
  letter-spacing: 0;
}
.zahlen__kpi-text {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  justify-self: start;
}
.zahlen__kpi-label {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.1rem, 1.9vw, 1.6rem);
  line-height: 1.18;
  color: var(--off-white);
  max-width: 28ch;
}
.zahlen__kpi-note {
  font-family: var(--font-sans);
  font-size: clamp(0.8rem, 0.95vw, 0.95rem);
  color: rgba(244, 239, 233, 0.55);
  line-height: 1.45;
  max-width: 42ch;
}

/* ---- BOTTOM — Progress dots ---- */
.zahlen__progress {
  display: flex;
  gap: 0.7rem;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.6s ease;
}
.zahlen__pin.has-started .zahlen__progress { opacity: 1; }
.zahlen__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.18);
  transition: background 0.35s ease, transform 0.35s ease;
}
.zahlen__dot.is-done    { background: rgba(192,132,252,0.55); }
.zahlen__dot.is-active  { background: var(--purple-lighter); transform: scale(1.45); }

/* Mobile (<= 820px): Pin auflösen, KPIs einfach stacken — die 450vh Sticky-Pin
   funktioniert auf Mobile nicht (lange Leere beim Scrollen, sticky greift nicht
   sauber). Stattdessen: alle KPIs sind sofort sichtbar mit Endwerten. */
@media (max-width: 820px) {
  .zahlen {
    min-height: auto;
    padding-bottom: clamp(4rem, 10vh, 6rem); /* Clearance unter Sticky-CTA */
  }
  .zahlen__pin {
    position: relative;
    height: auto;
    grid-template-rows: auto auto;
    gap: clamp(2.5rem, 6vh, 4rem);
    padding: clamp(4rem, 10vh, 6rem) var(--container-pad);
  }
  .zahlen__kpi {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    gap: 0.4rem;
    /* Reveal-States neutralisieren — auf Mobile alle direkt sichtbar */
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .zahlen__kpi-num   { justify-self: center; font-size: clamp(3.5rem, 14vw, 5.5rem); }
  .zahlen__kpi-text  { justify-self: center; align-items: center; }
  .zahlen__progress  { display: none; }
}

/* Reduced-motion fallback — alle KPIs sofort sichtbar, kein Pin */
@media (prefers-reduced-motion: reduce) {
  .zahlen { min-height: auto; }
  .zahlen__pin {
    position: relative;
    height: auto;
    grid-template-rows: auto auto;
    gap: clamp(2.5rem, 5vh, 4rem);
    padding-block: clamp(4rem, 10vh, 7rem);
  }
  .zahlen__head { opacity: 1; transform: none; }
  .zahlen__kpi {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .zahlen__progress { display: none; }
}

/* ---------- 10. SLOTS — 5 per year (FOMO) ---------- */
.slots {
  position: relative;
  padding: clamp(6rem, 14vh, 10rem) var(--container-pad);
  background:
    radial-gradient(ellipse 50% 40% at 20% 0%, rgba(111, 48, 135, 0.3), transparent 65%),
    radial-gradient(ellipse 50% 40% at 80% 100%, rgba(143, 75, 167, 0.25), transparent 65%);
  overflow: hidden;
}
.slots__inner {
  position: relative;
  z-index: 1;
  max-width: 1400px;
  margin: 0 auto;
}
.slots__label {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.74rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.32em;
  color: var(--purple-lighter);
  margin-bottom: 1.2rem;
}
.slots__title {
  margin: 0 0 1.4rem;
  font-family: var(--font-serif);
  font-variation-settings: "opsz" 144, "SOFT" 0, "wght" 700;
  font-weight: 700;
  font-size: clamp(2.4rem, 6.5vw, 6.2rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
  color: var(--off-white);
  max-width: 18ch;
}
.slots__title em {
  font-style: italic;
  font-weight: 600;
  background: linear-gradient(100deg, #f5ebff 0%, var(--purple-lighter) 55%, #f5ebff 100%);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}
.slots__lead {
  max-width: 58ch;
  margin: 0 0 clamp(2rem, 5vh, 3rem);
  font-family: var(--font-sans);
  font-size: clamp(0.95rem, 1.15vw, 1.1rem);
  line-height: 1.6;
  color: rgba(244, 239, 233, 0.72);
}
.slots__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: clamp(0.8rem, 1.3vw, 1.3rem);
}
.slot {
  position: relative;
  border-radius: 18px;
  padding: clamp(1.1rem, 1.6vw, 1.5rem);
  min-height: clamp(260px, 32vh, 320px);
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  text-decoration: none;
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(.2,.8,.2,1), border-color 0.3s ease, background 0.3s ease;
}
.slot__num {
  font-family: var(--font-serif);
  font-variation-settings: "opsz" 144, "SOFT" 0, "wght" 600;
  font-weight: 600;
  font-size: clamp(2.2rem, 4vw, 3.6rem);
  line-height: 1;
  letter-spacing: -0.03em;
}
.slot__project {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(244, 239, 233, 0.5);
  line-height: 1.3;
}
.slot__stages {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.6rem 0;
  border-top: 1px dashed rgba(255,255,255,0.08);
  border-bottom: 1px dashed rgba(255,255,255,0.08);
}
.slot__stage {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 500;
  color: rgba(244, 239, 233, 0.28);
  transition: color 0.3s ease;
}
.slot__stage::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  flex: 0 0 auto;
}
.slot__stage.is-active {
  color: var(--purple-lighter);
  font-weight: 600;
}
.slot__stage.is-active::before {
  background: var(--purple-lighter);
  box-shadow: 0 0 10px var(--purple-lighter);
  animation: stage-pulse 2.2s ease-in-out infinite;
}
@keyframes stage-pulse {
  0%,100% { box-shadow: 0 0 10px var(--purple-lighter); }
  50%     { box-shadow: 0 0 18px var(--purple-lighter); }
}
.slot__progress {
  height: 3px;
  border-radius: 2px;
  background: rgba(255,255,255,0.06);
  overflow: hidden;
}
.slot__progress span {
  display: block;
  height: 100%;
  width: var(--p, 0%);
  background: linear-gradient(90deg, var(--purple-dark), var(--purple-lighter));
  box-shadow: 0 0 10px rgba(192,132,252,0.4);
}
.slot__status {
  font-family: var(--font-sans);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(244, 239, 233, 0.55);
}

.slot--taken {
  border: 1px solid transparent;
  background:
    linear-gradient(180deg, rgba(20, 10, 35, 0.5), rgba(10, 5, 18, 0.7)) padding-box,
    linear-gradient(160deg, rgba(143, 75, 167, 0.3), rgba(74, 31, 92, 0.1)) border-box;
  color: rgba(244, 239, 233, 0.6);
}

/* Beendetes Projekt — ausgegraut, kein Hover-Glow */
.slot--done {
  border: 1px solid transparent;
  background:
    linear-gradient(180deg, rgba(15, 10, 22, 0.6), rgba(8, 4, 14, 0.75)) padding-box,
    linear-gradient(160deg, rgba(120, 100, 140, 0.25), rgba(50, 40, 60, 0.1)) border-box;
  color: rgba(244, 239, 233, 0.45);
  position: relative;
}
.slot--done .slot__status {
  color: rgba(244, 239, 233, 0.5);
  font-weight: 500;
}
.slot--done .slot__stage.is-active {
  color: rgba(192, 132, 252, 0.55);
}
.slot--done .slot__stage.is-active::before {
  box-shadow: 0 0 8px rgba(192, 132, 252, 0.3);
  animation: none;
}
.slot--done .slot__progress span {
  background: linear-gradient(90deg, rgba(120, 100, 140, 0.5), rgba(170, 140, 200, 0.5));
  box-shadow: none;
}
.slot--done::after {
  content: '✓';
  position: absolute;
  top: 1.1rem;
  right: 1.1rem;
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(100, 80, 130, 0.35);
  border: 1px solid rgba(192, 132, 252, 0.3);
  color: rgba(192, 132, 252, 0.7);
  font-size: 0.8rem;
  font-weight: 600;
}

/* Geheim — bewusst verschleiert */
.slot--secret {
  border: 1px dashed rgba(192, 132, 252, 0.35);
  background:
    repeating-linear-gradient(
      -45deg,
      rgba(20, 10, 35, 0.6) 0 10px,
      rgba(10, 5, 18, 0.7) 10px 20px
    );
  color: rgba(244, 239, 233, 0.5);
  position: relative;
  overflow: hidden;
}
.slot__secret-mask {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(3rem, 6vw, 5rem);
  letter-spacing: -0.05em;
  color: var(--purple-lighter);
  text-shadow: 0 0 30px rgba(192, 132, 252, 0.6);
  filter: blur(1.5px);
  user-select: none;
}
.slot--secret .slot__project {
  color: rgba(192, 132, 252, 0.7);
  font-style: italic;
  text-transform: none;
  letter-spacing: 0.04em;
  font-family: var(--font-italic);
  font-size: 0.85rem;
}
.slot--secret .slot__status {
  color: var(--purple-lighter);
  letter-spacing: 0.18em;
  font-weight: 600;
}

.slot--open {
  border: 1px solid rgba(192,132,252,0.45);
  background:
    radial-gradient(120% 80% at 0% 0%, rgba(143,75,167,0.3), transparent 55%),
    linear-gradient(180deg, rgba(111,48,135,0.55), rgba(74,31,92,0.25));
  color: var(--off-white);
  cursor: pointer;
}
.slot--open:hover {
  transform: translateY(-4px);
  border-color: rgba(192,132,252,0.8);
  background:
    radial-gradient(120% 80% at 0% 0%, rgba(192,132,252,0.4), transparent 55%),
    linear-gradient(180deg, rgba(143,75,167,0.7), rgba(111,48,135,0.35));
  box-shadow: 0 0 50px rgba(192,132,252,0.35);
}
.slot--open .slot__num { color: white; }
.slot--open .slot__project { color: rgba(255,255,255,0.7); }
.slot__open-body {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.6rem 0;
  border-top: 1px dashed rgba(255,255,255,0.15);
}
.slot__open-line {
  font-family: var(--font-sans);
  font-size: 0.82rem;
  color: rgba(255,255,255,0.9);
}
.slot__open-line:first-child {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 600;
  font-size: 1rem;
  color: white;
}
.slot__status--open {
  align-self: flex-start;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  color: white;
  background: rgba(192,132,252,0.22);
  border: 1px solid rgba(192,132,252,0.6);
  position: relative;
}
.slot__status--open::before {
  content: '';
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #a6ff9f;
  box-shadow: 0 0 10px #a6ff9f;
  margin-right: 0.5rem;
  vertical-align: middle;
  animation: status-pulse 1.8s ease-in-out infinite;
}
@keyframes status-pulse {
  0%,100% { opacity: 1; transform: scale(1); }
  50%     { opacity: 0.5; transform: scale(0.85); }
}

.slot__pulse {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(closest-side at 50% 100%, rgba(192,132,252,0.3), transparent 70%);
  opacity: 0.7;
  pointer-events: none;
  animation: slot-pulse 3s ease-in-out infinite;
  z-index: -1;
}
@keyframes slot-pulse {
  0%,100% { opacity: 0.55; }
  50%     { opacity: 0.95; }
}

.slots__foot {
  margin: clamp(2rem, 5vh, 3rem) 0 0;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  color: rgba(244, 239, 233, 0.5);
}

@media (max-width: 1080px) {
  .slots__grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 700px) {
  .slots__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 440px) {
  .slots__grid { grid-template-columns: 1fr; }
}

/* ---------- 11. ÜBER UNS ---------- */
.about {
  position: relative;
  padding: clamp(6rem, 14vh, 10rem) var(--container-pad);
  overflow: hidden;
}
.about__inner {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(280px, 38%) 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}
.about__visual {
  position: sticky;
  top: calc(var(--nav-h) + 2rem);
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  align-items: flex-start;
}
.about__photo {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: 16px;
  overflow: hidden;
  background:
    radial-gradient(closest-side at 60% 30%, rgba(143,75,167,0.45), transparent 70%),
    linear-gradient(180deg, #1a0a2e, #0a0418);
  border: 1px solid rgba(192,132,252,0.15);
  box-shadow: 0 40px 80px -30px rgba(74, 31, 92, 0.6);
}
/* Purple mesh-glow sitting BEHIND the portrait photo */
.about__photo-glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(closest-side at 50% 40%, rgba(192,132,252,0.45), transparent 55%),
    conic-gradient(from 210deg at 50% 50%, #2a0f44, #6f3087, #2a0f44);
  filter: blur(36px);
  opacity: 0.7;
  animation: about-shimmer 10s ease-in-out infinite;
  z-index: 0;
  pointer-events: none;
}
@keyframes about-shimmer {
  0%,100% { transform: scale(1) rotate(0); opacity: 0.7; }
  50%     { transform: scale(1.08) rotate(3deg); opacity: 0.95; }
}

/* The actual portrait photo (transparent PNG of Jan on white bg already cutout) */
.about__photo-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 30%;   /* keep face in frame */
  z-index: 1;
  filter:
    contrast(1.05) saturate(0.9)
    drop-shadow(0 20px 40px rgba(0,0,0,0.45));
  /* Fade the bottom 25% so the signature block blends smoothly */
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 72%, transparent 100%);
          mask-image: linear-gradient(180deg, #000 0%, #000 72%, transparent 100%);
  mix-blend-mode: luminosity;   /* desaturate the photo so it fits the dark purple palette */
}
.about__sig {
  position: absolute;
  bottom: 1.4rem;
  left: 1.4rem;
  right: 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  font-family: var(--font-serif);
  z-index: 2;
}
.about__sig span {
  font-size: clamp(1.05rem, 1.3vw, 1.3rem);
  font-weight: 600;
  color: white;
}
.about__sig small {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(244, 239, 233, 0.75);
}
.about__badge {
  font-family: var(--font-sans);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  background: rgba(192,132,252,0.14);
  color: var(--purple-lighter);
  border: 1px solid rgba(192,132,252,0.25);
}

.about__text {
  padding-top: 0.5rem;
}
.about__label {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.74rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.32em;
  color: var(--purple-lighter);
  margin-bottom: 1.2rem;
}
.about__title {
  margin: 0 0 clamp(1.5rem, 4vh, 2.5rem);
  font-family: var(--font-serif);
  font-variation-settings: "opsz" 144, "SOFT" 0, "wght" 700;
  font-weight: 700;
  font-size: clamp(2.2rem, 5.4vw, 5rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
  color: var(--off-white);
}
.about__title em {
  font-style: italic;
  font-weight: 600;
  background: linear-gradient(100deg, #f5ebff 0%, var(--purple-lighter) 55%, #f5ebff 100%);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}
.about__p {
  margin: 0 0 1.2rem;
  font-family: var(--font-sans);
  font-size: clamp(0.98rem, 1.2vw, 1.15rem);
  line-height: 1.6;
  color: rgba(244, 239, 233, 0.78);
  max-width: 60ch;
}
.about__p em {
  font-style: italic;
  color: var(--purple-lighter);
}
/* KI-Power-Statement — Pull-Quote zwischen About-Text und Werte-Grid */
.about__statement {
  position: relative;
  margin: clamp(2.5rem, 6vh, 4rem) 0;
  padding: clamp(1.8rem, 3vw, 2.5rem) clamp(1.4rem, 2.2vw, 2rem) clamp(1.8rem, 3vw, 2.5rem) clamp(2.8rem, 5vw, 4.5rem);
  font-family: var(--font-mega);
  font-variation-settings: "opsz" 144, "SOFT" 0, "wght" 600;
  font-weight: 600;
  font-size: clamp(1.6rem, 3.2vw, 2.8rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--off-white);
  border-left: 2px solid var(--purple-lighter);
  border-radius: 0 14px 14px 0;
  background:
    linear-gradient(100deg, rgba(192, 132, 252, 0.16), rgba(143, 75, 167, 0.08) 60%, transparent);
  overflow: hidden;
}
.about__statement::after {
  content: '';
  position: absolute;
  right: -10%;
  top: 50%;
  transform: translateY(-50%);
  width: 40%;
  height: 140%;
  background: radial-gradient(closest-side, rgba(192, 132, 252, 0.35), transparent 70%);
  filter: blur(30px);
  pointer-events: none;
  z-index: 0;
}
.about__statement > * { position: relative; z-index: 1; }
.about__statement-mark {
  position: absolute;
  left: 0.6rem;
  top: -0.2rem;
  font-family: var(--font-mega);
  font-size: clamp(4rem, 8vw, 7rem);
  line-height: 1;
  font-weight: 700;
  color: rgba(192, 132, 252, 0.35);
  font-style: normal;
  z-index: 1;
}
.about__statement em {
  font-style: italic;
  font-weight: 700;
  background: linear-gradient(100deg, #f5ebff 0%, var(--purple-lighter) 50%, #e3b4ff 100%);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}

.about__values {
  margin-top: clamp(2rem, 5vh, 3rem);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}
.value {
  padding: 1.4rem 1.2rem;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(255,255,255,0.025), rgba(255,255,255,0.005));
}
.value__num {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  color: rgba(192,132,252,0.7);
  margin-bottom: 0.8rem;
}
.value h4 {
  margin: 0 0 0.4rem;
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--off-white);
}
.value p {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 0.88rem;
  line-height: 1.55;
  color: rgba(244, 239, 233, 0.65);
}
@media (max-width: 900px) {
  .about__inner { grid-template-columns: 1fr; }
  .about__visual { position: static; max-width: 400px; }
  .about__values { grid-template-columns: 1fr; }
}

/* ---------- 12. FAQ ---------- */
.faq {
  position: relative;
  padding: clamp(6rem, 14vh, 10rem) var(--container-pad);
  overflow: hidden;
}
.faq::before {
  content: '';
  position: absolute;
  right: -20vw;
  top: 20vh;
  width: 70vw;
  height: 70vh;
  background: radial-gradient(closest-side, rgba(192, 132, 252, 0.18), transparent 70%);
  pointer-events: none;
  filter: blur(40px);
}
.faq__inner {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(260px, 38%) 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.faq__head { position: sticky; top: calc(var(--nav-h) + 2rem); }
.faq__label {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.74rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.32em;
  color: var(--purple-lighter);
  margin-bottom: 1.2rem;
}
.faq__title {
  margin: 0 0 1.2rem;
  font-family: var(--font-serif);
  font-variation-settings: "opsz" 144, "SOFT" 0, "wght" 700;
  font-weight: 700;
  font-size: clamp(2rem, 4.5vw, 4rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
  color: var(--off-white);
}
.faq__lead {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  line-height: 1.6;
  color: rgba(244, 239, 233, 0.7);
  max-width: 40ch;
}
.faq__list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.faq-item {
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.faq-item__q {
  width: 100%;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
  padding: clamp(1.2rem, 2.4vh, 1.8rem) 0;
  font: inherit;
  text-align: left;
  cursor: pointer;
  color: var(--off-white);
  transition: color 0.3s ease;
}
.faq-item__q:hover { color: var(--purple-lighter); }
.faq-item__q-num {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  color: rgba(192,132,252,0.75);
}
.faq-item__q-text {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: clamp(1.05rem, 1.55vw, 1.35rem);
  line-height: 1.3;
  letter-spacing: -0.005em;
}
.faq-item__q-icon {
  position: relative;
  width: 22px;
  height: 22px;
  display: inline-block;
}
.faq-item__q-icon::before,
.faq-item__q-icon::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  top: 50%;
  height: 1.5px;
  background: currentColor;
  transition: transform 0.35s cubic-bezier(.4,0,.2,1);
}
.faq-item__q-icon::after {
  transform: rotate(90deg);
}
.faq-item[data-open="true"] .faq-item__q-icon::after {
  transform: rotate(0);
}
.faq-item__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s cubic-bezier(.4,0,.2,1);
}
.faq-item__a p {
  margin: 0 0 1.4rem 3rem;
  font-family: var(--font-sans);
  font-size: 0.96rem;
  line-height: 1.65;
  color: rgba(244, 239, 233, 0.8);
  max-width: 62ch;
}
@media (max-width: 820px) {
  .faq__inner { grid-template-columns: 1fr; }
  .faq__head { position: static; }
  .faq-item__a p { margin-left: 2rem; }
}

/* ---------- 13. KONTAKT ---------- */
.kontakt {
  position: relative;
  padding: clamp(6rem, 14vh, 10rem) var(--container-pad);
  overflow: hidden;
}
.kontakt::before {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -30vh;
  transform: translateX(-50%);
  width: 100vw;
  height: 100vh;
  background: radial-gradient(closest-side, rgba(192, 132, 252, 0.3), transparent 65%);
  pointer-events: none;
  filter: blur(60px);
}
.kontakt__inner {
  position: relative;
  z-index: 1;
  max-width: 1400px;
  margin: 0 auto;
}
.kontakt__head {
  max-width: 820px;
  margin: 0 0 clamp(3rem, 6vh, 4rem);
}
.kontakt__label {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.74rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.32em;
  color: var(--purple-lighter);
  margin-bottom: 1.2rem;
}
.kontakt__title {
  margin: 0 0 1.2rem;
  font-family: var(--font-serif);
  font-variation-settings: "opsz" 144, "SOFT" 0, "wght" 700;
  font-weight: 700;
  font-size: clamp(2.4rem, 6.5vw, 6.2rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
  color: var(--off-white);
}
.kontakt__title em {
  font-style: italic;
  font-weight: 600;
  background: linear-gradient(100deg, #f5ebff 0%, var(--purple-lighter) 55%, #f5ebff 100%);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}
.kontakt__lead {
  margin: 0;
  font-family: var(--font-sans);
  font-size: clamp(0.98rem, 1.15vw, 1.15rem);
  line-height: 1.6;
  color: rgba(244, 239, 233, 0.7);
  max-width: 60ch;
}
.kontakt__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr);
  gap: clamp(2rem, 4vw, 4rem);
}

.kontakt__form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.3rem;
  padding: clamp(1.8rem, 3vw, 2.5rem);
  background:
    radial-gradient(80% 100% at 0% 0%, rgba(143,75,167,0.12), transparent 60%),
    linear-gradient(180deg, rgba(255,255,255,0.025), rgba(255,255,255,0.01));
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 18px;
  backdrop-filter: blur(14px);
}
.field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.field--full { grid-column: 1 / -1; }
.field--hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}
.field label {
  font-family: var(--font-sans);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(192,132,252,0.8);
}
.field__opt { color: rgba(244, 239, 233, 0.4); text-transform: none; letter-spacing: 0.04em; }
.field input,
.field select,
.field textarea {
  width: 100%;
  font: inherit;
  font-family: var(--font-sans);
  font-size: 1rem;
  padding: 0.75rem 0.9rem;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.03);
  color: var(--off-white);
  border-radius: 8px;
  transition: border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}
.field textarea { resize: vertical; min-height: 120px; font-family: var(--font-sans); }
.field select { appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--purple-lighter) 50%), linear-gradient(135deg, var(--purple-lighter) 50%, transparent 50%); background-position: calc(100% - 18px) 50%, calc(100% - 12px) 50%; background-size: 6px 6px, 6px 6px; background-repeat: no-repeat; padding-right: 2rem; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: rgba(192,132,252,0.6);
  background: rgba(192,132,252,0.06);
  box-shadow: 0 0 0 3px rgba(192,132,252,0.15);
}

.kontakt__submit {
  grid-column: 1 / -1;
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.95rem 1.6rem 0.95rem 1.8rem;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: 0.98rem;
  font-weight: 500;
  color: white;
  background: linear-gradient(140deg, rgba(111,48,135,0.9), rgba(143,75,167,0.65));
  border: 1px solid rgba(192,132,252,0.5);
  box-shadow: 0 16px 50px -18px rgba(143, 75, 167, 0.55);
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
  cursor: pointer;
}
.kontakt__submit:hover {
  transform: translateY(-2px);
  background: linear-gradient(140deg, rgba(143,75,167,1), rgba(192,132,252,0.75));
  box-shadow: 0 22px 60px -16px rgba(192, 132, 252, 0.65);
}
.kontakt__submit-arrow {
  display: inline-flex;
  width: 28px;
  height: 28px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  transition: transform 0.3s ease, background 0.3s ease;
}
.kontakt__submit:hover .kontakt__submit-arrow {
  transform: translateX(4px);
  background: rgba(255,255,255,0.22);
}
.kontakt__formnote {
  grid-column: 1 / -1;
  margin: 0.2rem 0 0;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  color: rgba(244, 239, 233, 0.65);
  min-height: 1.2em;
}
.kontakt__formnote.is-ok { color: #9aefb3; }
.kontakt__formnote.is-err { color: #ffb2b2; }

.kontakt__aside {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}
.k-channel {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  padding-bottom: 1.3rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.k-channel__label {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(192,132,252,0.7);
}
.k-channel__val {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.15rem, 1.5vw, 1.45rem);
  color: var(--off-white);
  transition: color 0.25s ease;
}
a.k-channel__val:hover { color: var(--purple-lighter); }

.k-guarantee {
  display: flex;
  gap: 0.8rem;
  padding: 1.2rem;
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(192,132,252,0.08), rgba(74,31,92,0.05));
  border: 1px solid rgba(192,132,252,0.2);
  margin-top: 0.5rem;
}
.k-guarantee__icon {
  font-size: 0.8rem;
  color: #9aefb3;
  padding-top: 0.1rem;
  animation: status-pulse 1.8s ease-in-out infinite;
}
.k-guarantee p {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 0.88rem;
  line-height: 1.55;
  color: rgba(244, 239, 233, 0.8);
}

@media (max-width: 860px) {
  .kontakt__grid { grid-template-columns: 1fr; }
  .kontakt__form { grid-template-columns: 1fr; }
}

/* ---------- 13b. LEGAL PAGES ---------- */
.legal {
  padding: calc(var(--nav-h) + 5rem) var(--container-pad) clamp(4rem, 10vh, 7rem);
  min-height: 80vh;
}
.legal__inner {
  max-width: 820px;
  margin: 0 auto;
}
.legal__label {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.74rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.32em;
  color: var(--purple-lighter);
  margin-bottom: 1.2rem;
}
.legal__title {
  margin: 0 0 clamp(1.5rem, 4vh, 2.5rem);
  font-family: var(--font-serif);
  font-variation-settings: "opsz" 144, "SOFT" 0, "wght" 700;
  font-weight: 700;
  font-size: clamp(2.2rem, 5.4vw, 5rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--off-white);
}
.legal__intro {
  font-family: var(--font-sans);
  font-size: 1.05rem;
  line-height: 1.65;
  color: rgba(244, 239, 233, 0.72);
  max-width: 60ch;
  margin: 0 0 clamp(2rem, 5vh, 3rem);
}
.legal__block {
  margin-bottom: clamp(2rem, 4vh, 2.8rem);
}
.legal__block h2 {
  margin: 0 0 0.7rem;
  font-family: var(--font-serif);
  font-variation-settings: "opsz" 144, "SOFT" 0, "wght" 600;
  font-weight: 600;
  font-size: clamp(1.2rem, 1.8vw, 1.55rem);
  letter-spacing: -0.01em;
  color: var(--off-white);
}
.legal__block h3 {
  margin: 1.2rem 0 0.4rem;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 600;
  color: var(--purple-lighter);
}
.legal__block p,
.legal__block li {
  font-family: var(--font-sans);
  font-size: 0.96rem;
  line-height: 1.65;
  color: rgba(244, 239, 233, 0.72);
  margin: 0 0 0.7rem;
}
.legal__block ul {
  margin: 0 0 0.8rem;
  padding-left: 1.2rem;
}
.legal__block a {
  color: var(--purple-lighter);
  border-bottom: 1px solid rgba(192,132,252,0.3);
  transition: color 0.25s ease, border-color 0.25s ease;
}
.legal__block a:hover { color: white; border-color: white; }
.legal__stand {
  margin-top: clamp(2rem, 5vh, 3rem);
  font-family: var(--font-sans);
  font-size: 0.82rem;
  color: rgba(244, 239, 233, 0.4);
  font-style: italic;
}

/* ---------- 14. FOOTER ---------- */
.footer {
  position: relative;
  padding: 0;
  overflow: hidden;
}
.footer__marquee {
  position: relative;
  overflow: hidden;
  padding: clamp(2rem, 4vh, 3rem) 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.footer__marquee-track {
  display: flex;
  gap: clamp(2rem, 4vw, 4rem);
  width: max-content;
  animation: marquee 32s linear infinite;
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 600;
  font-variation-settings: "opsz" 144, "SOFT" 0, "wght" 600;
  font-size: clamp(2rem, 6vw, 5.5rem);
  line-height: 1;
  letter-spacing: -0.03em;
  background: linear-gradient(100deg, #f5ebff 0%, var(--purple-lighter) 55%, #f5ebff 100%);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}
.footer__marquee-track .dot {
  background: none;
  -webkit-background-clip: initial;
  color: var(--purple-lighter);
  font-style: normal;
}
.footer__inner {
  padding: clamp(3rem, 7vh, 5rem) var(--container-pad);
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(240px, 1fr) 2fr;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: start;
}
.footer__brand {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.footer__logo { height: 28px; width: auto; opacity: 0.92; }
.footer__tag {
  margin: 0;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1rem, 1.2vw, 1.15rem);
  color: rgba(244, 239, 233, 0.6);
  max-width: 28ch;
}
.footer__nav {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1.4rem, 2.5vw, 2.5rem);
}
.footer__col {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.footer__col h4 {
  margin: 0 0 0.4rem;
  font-family: var(--font-sans);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--purple-lighter);
}
.footer__col a {
  font-family: var(--font-sans);
  font-size: 0.92rem;
  color: rgba(244, 239, 233, 0.7);
  transition: color 0.25s ease;
  width: fit-content;
}
.footer__col a:hover { color: white; }

.footer__base {
  grid-column: 1 / -1;
  margin-top: clamp(2rem, 5vh, 3rem);
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.06);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.footer__copyright,
.footer__credit {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  color: rgba(244, 239, 233, 0.45);
}
.footer__credit { color: rgba(192,132,252,0.55); font-style: italic; }

@media (max-width: 860px) {
  .footer__inner { grid-template-columns: 1fr; }
  .footer__nav { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- 7. FOOTER ---------- */
.footer {
  padding: 3rem var(--container-pad);
  background: var(--black-deep);
  border-top: 1px solid rgba(255,255,255,0.06);
}
.footer__inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.footer__logo { height: 22px; width: auto; opacity: 0.7; }
.footer__copyright {
  font-size: 0.82rem;
  color: var(--muted);
  margin: 0;
}

/* ---------- 8. LOADING STATE ---------- */
.is-loading .hero__ansage,
.is-loading .hero__scroll-hint {
  opacity: 0;
}
body:not(.is-loading) .hero__ansage {
  animation: ansage-in 1.4s 0.5s cubic-bezier(.2,.8,.2,1) both;
}
body:not(.is-loading) .hero__ansage--right {
  animation-delay: 0.7s;
}
body:not(.is-loading) .hero__scroll-hint {
  animation: hint-in 0.8s 1.6s ease both;
}
@keyframes ansage-in {
  from { opacity: 0; filter: blur(16px); }
  to   { opacity: var(--hero-text-fade); filter: blur(0); }
}
@keyframes hint-in {
  from { opacity: 0; transform: translate(-50%, 20px); }
  to   { opacity: var(--hero-hint); transform: translate(-50%, 0); }
}

/* ---------- 9. RESPONSIVE TWEAKS ---------- */
@media (max-width: 720px) {
  .hero__ansage--left,
  .hero__ansage--right {
    top: auto;
    transform: none;
  }
  .hero__ansage--left {
    top: 14vh;
    left: 50%;
    transform: translateX(-50%) translateY(calc(var(--hero-spread) * -4vh));
    text-align: center;
    align-items: center;
  }
  .hero__ansage--right {
    bottom: 16vh;
    top: auto;
    right: auto;
    left: 50%;
    transform: translateX(-50%) translateY(calc(var(--hero-spread) * 4vh));
    text-align: center;
    align-items: center;
  }
  .hero__ansage-num { font-size: clamp(3.5rem, 16vw, 6rem); }
  .hero__ansage-unit { font-size: 1rem; }
  .hero__ansage-accent { font-size: 1.3rem; }
}

/* ============================================================ */
/*  VIDEO LIGHTBOX — fullscreen playback with sound + controls   */
/* ============================================================ */
.video-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1rem, 3vh, 2.5rem);
  background: rgba(4, 2, 8, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  animation: video-modal-in 0.25s ease-out;
}
.video-modal[hidden] { display: none; }

@keyframes video-modal-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.video-modal__inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.7rem;
  width: min(96vw, 1280px);
  max-height: 100%;
  animation: video-modal-pop 0.35s cubic-bezier(.2,.8,.2,1);
}
.video-modal__stage {
  position: relative;
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  box-shadow:
    0 50px 120px rgba(0, 0, 0, 0.7),
    0 0 0 1px rgba(192, 132, 252, 0.18),
    0 0 80px rgba(143, 75, 167, 0.35);
}
@keyframes video-modal-pop {
  from { transform: translateY(12px) scale(0.97); opacity: 0; }
  to   { transform: translateY(0) scale(1); opacity: 1; }
}

.video-modal__video {
  display: block;
  width: 100%;
  max-height: calc(100vh - 5rem);
  aspect-ratio: 16 / 9;
  background: #08080a;
  outline: none;
  object-fit: contain;
}

/* "Klick für Ton" overlay — only visible while video is muted */
.video-modal__sound-cta {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: none;
  align-items: center;
  gap: 0.55rem;
  padding: 0.85rem 1.4rem 0.85rem 1.05rem;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  white-space: nowrap;
  color: white;
  background: linear-gradient(140deg, rgba(192, 132, 252, 0.95), rgba(143, 75, 167, 0.95));
  border: 1px solid rgba(227, 180, 255, 0.7);
  cursor: pointer;
  z-index: 2;
  box-shadow:
    0 18px 50px -10px rgba(0, 0, 0, 0.6),
    0 0 0 6px rgba(192, 132, 252, 0.2),
    0 0 60px rgba(192, 132, 252, 0.3);
  transition: background 0.25s ease, transform 0.25s cubic-bezier(.2,.8,.2,1), box-shadow 0.25s ease;
  animation: video-sound-pulse 2.4s ease-in-out infinite;
}
.video-modal--muted .video-modal__sound-cta { display: inline-flex; }
.video-modal__sound-cta:hover {
  background: linear-gradient(140deg, rgba(227, 180, 255, 1), rgba(192, 132, 252, 1));
  transform: translate(-50%, -50%) scale(1.06);
  box-shadow:
    0 22px 56px -10px rgba(143, 75, 167, 0.7),
    0 0 0 8px rgba(192, 132, 252, 0.25),
    0 0 80px rgba(192, 132, 252, 0.4);
}
.video-modal__sound-cta:focus-visible {
  outline: 2px solid white;
  outline-offset: 4px;
}

@keyframes video-sound-pulse {
  0%, 100% { box-shadow: 0 18px 50px -10px rgba(0,0,0,0.6), 0 0 0 6px rgba(192,132,252,0.2), 0 0 60px rgba(192,132,252,0.3); }
  50%      { box-shadow: 0 18px 50px -10px rgba(0,0,0,0.6), 0 0 0 12px rgba(192,132,252,0.08), 0 0 90px rgba(192,132,252,0.45); }
}

/* Cursor hint: muted state → click anywhere on video to unmute */
.video-modal--muted .video-modal__video,
.video-modal--muted .video-modal__stage { cursor: pointer; }

.video-modal__caption {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(244, 239, 233, 0.7);
}

.video-modal__close {
  position: absolute;
  top: clamp(0.8rem, 2vh, 1.4rem);
  right: clamp(0.8rem, 2vw, 1.4rem);
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(192, 132, 252, 0.4);
  border-radius: 999px;
  background: rgba(10, 5, 18, 0.85);
  color: white;
  cursor: pointer;
  backdrop-filter: blur(10px);
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.video-modal__close:hover {
  background: rgba(143, 75, 167, 0.95);
  border-color: rgba(192, 132, 252, 0.8);
  transform: scale(1.06);
}
.video-modal__close:focus-visible {
  outline: 2px solid var(--purple-lighter);
  outline-offset: 3px;
}

@media (max-width: 640px) {
  .video-modal { padding: 0.5rem; }
  .video-modal__inner { max-width: 100vw; }
  .video-modal__video { border-radius: 10px; max-height: calc(100vh - 4rem); }
  .video-modal__close { width: 40px; height: 40px; }
}

/* =========================================================================
   CONSENT BANNER  (DSGVO Cookie-Hinweis für GA4)
   ========================================================================= */
.consent[hidden] { display: none; }
.consent {
  position: fixed;
  inset: auto 1rem 1rem 1rem;
  z-index: 9000;
  display: flex;
  justify-content: center;
  pointer-events: none;
  animation: consentIn 0.35s cubic-bezier(.2,.7,.2,1) both;
}
.consent__inner {
  pointer-events: auto;
  max-width: 720px;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1.25rem 2rem;
  align-items: center;
  padding: 1.1rem 1.4rem;
  background: rgba(12, 6, 22, 0.92);
  border: 1px solid rgba(192, 132, 252, 0.22);
  border-radius: 16px;
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  box-shadow: 0 24px 60px -20px rgba(0,0,0,0.6), 0 0 0 1px rgba(255,255,255,0.02) inset;
  color: rgba(255,255,255,0.92);
  font-family: var(--font-sans);
}
.consent__title {
  font-size: 0.95rem;
  font-weight: 600;
  margin: 0 0 0.2rem;
  letter-spacing: -0.01em;
}
.consent__msg {
  font-size: 0.84rem;
  line-height: 1.5;
  margin: 0;
  color: rgba(255,255,255,0.72);
}
.consent__link {
  color: var(--purple-lighter, #c084fc);
  text-decoration: none;
  border-bottom: 1px solid rgba(192,132,252,0.4);
  white-space: nowrap;
}
.consent__link:hover { color: #fff; border-bottom-color: #fff; }
.consent__actions {
  display: flex;
  gap: 0.55rem;
  flex-shrink: 0;
}
.consent__btn {
  appearance: none;
  border: 1px solid rgba(255,255,255,0.16);
  background: rgba(255,255,255,0.04);
  color: rgba(255,255,255,0.85);
  padding: 0.6rem 1.05rem;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
  white-space: nowrap;
}
.consent__btn:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.28); color: #fff; }
.consent__btn:focus-visible { outline: 2px solid var(--purple-lighter, #c084fc); outline-offset: 2px; }
.consent__btn--accept {
  background: linear-gradient(135deg, #6f3087 0%, #8f4ba7 100%);
  border-color: rgba(192,132,252,0.6);
  color: #fff;
  font-weight: 600;
}
.consent__btn--accept:hover {
  background: linear-gradient(135deg, #7d3a96 0%, #a05bb8 100%);
  border-color: rgba(192,132,252,0.9);
  transform: translateY(-1px);
}
@keyframes consentIn {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@media (max-width: 640px) {
  .consent { inset: auto 0.6rem 0.6rem 0.6rem; }
  .consent__inner {
    grid-template-columns: 1fr;
    padding: 1rem 1.05rem;
    gap: 0.9rem;
  }
  .consent__actions { justify-content: flex-end; }
}
@media (prefers-reduced-motion: reduce) {
  .consent { animation: none; }
}

.footer__consent-link {
  appearance: none;
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  font: inherit;
  color: inherit;
  cursor: pointer;
  text-align: left;
}
.footer__consent-link:hover { color: var(--purple-lighter, #c084fc); }

/* =========================================================================
   SKIP LINK (a11y)
   ========================================================================= */
.skip-link {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translate(-50%, -150%);
  z-index: 10000;
  padding: 0.7rem 1.4rem;
  background: #6f3087;
  color: #fff;
  font-family: var(--font-sans, "Inter", system-ui, sans-serif);
  font-weight: 500;
  font-size: 0.9rem;
  text-decoration: none;
  border-radius: 0 0 12px 12px;
  border: 1px solid rgba(192,132,252,0.6);
  border-top: 0;
  transition: transform 0.18s ease;
}
.skip-link:focus,
.skip-link:focus-visible {
  transform: translate(-50%, 0);
  outline: 2px solid #fff;
  outline-offset: 2px;
}
