/* =========================================================================
   Lukas Josef · Studio — pop.site nachgebaut (faithful)
   Reference: https://refero.design/pages/edd19e43-... (pop.site)
   Palette: bg #F6F7FA · ink #151515 · blue #3861C1 · cyan #4FA4CE
   Type: Fraunces (nostalgic serif display + italic) · Inter (sans body/UI)
   ========================================================================= */

:root {
  --bg: #f6f7fa;
  --bg-2: #eef1f6;
  --surface: #ffffff;
  --ink: #151515;
  --ink-2: #3a3a3c;
  --muted: #686462;
  --faint: #9a9a9c;
  --line: rgba(21, 21, 21, 0.1);
  --line-2: rgba(21, 21, 21, 0.16);

  --blue: #3861c1;
  --blue-deep: #2b4ea3;
  --cyan: #4fa4ce;
  --blue-tint: rgba(56, 97, 193, 0.1);

  --dark: #0e1118;
  --dark-2: #151a24;

  /* Headings = Hanken Grotesk (freier Graphik-Ersatz). Texte = Ubuntu.
     Variablenname --serif aus Alt-Gründen, zeigt auf die Display-/Heading-Schrift. */
  --serif: "Hanken Grotesk", "Graphik", -apple-system, system-ui, sans-serif;
  --sans: "Ubuntu", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;

  --container: 1200px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-pill: 999px;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
/* Lenis smooth-scroll (lenis.dev) */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }
/* scroll progress bar */
.scroll-progress { position: fixed; top: 0; left: 0; height: 3px; width: 100%; background: var(--blue); transform: scaleX(0); transform-origin: 0 50%; z-index: 200; will-change: transform; pointer-events: none; }
/* word-split (hero reveal) */
.word { display: inline-block; }
/* when GSAP drives the reveals, switch off the CSS reveal so gsap controls fully */
.gsap-reveals .reveal { opacity: 1; transform: none; transition: none; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  letter-spacing: -0.011em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--blue); color: #fff; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------------------------------------------------------------- shared type */
.serif-h {
  font-family: var(--serif);
  font-weight: 800;
  font-size: clamp(2.1rem, 5.2vw, 4rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin: 0;
  text-wrap: balance;
}
.serif-h em { font-style: italic; font-weight: 800; color: var(--blue); }
.serif-h--light em { color: #bcd6ee; }
.serif-h--light { color: #fff; }
.serif-h--light em { color: #bcd6ee; }

.kicker {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1rem;
  color: var(--muted);
  margin: 0 0 0.9rem;
}
.kicker--on-dark { color: rgba(255, 255, 255, 0.6); }

/* ---------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  font-family: var(--sans); font-weight: 600; font-size: 0.95rem;
  padding: 0.85rem 1.5rem; border-radius: var(--r-pill);
  border: 1px solid transparent; cursor: pointer; white-space: nowrap;
  transition: background 0.25s var(--ease), transform 0.25s var(--ease), box-shadow 0.25s var(--ease), color 0.25s var(--ease);
}
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 1px 2px rgba(43, 78, 163, 0.4), 0 8px 22px -10px rgba(43, 78, 163, 0.7); }
.btn-primary:hover { background: var(--blue-deep); transform: translateY(-1px); box-shadow: 0 2px 4px rgba(43, 78, 163, 0.4), 0 14px 28px -10px rgba(43, 78, 163, 0.7); }
.btn-ghost { border-color: var(--line-2); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); }

/* ════════════════════════════════════════════════════════════════ NAV */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 100;
  transition: background 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.is-stuck {
  background: rgba(246, 247, 250, 0.82);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom-color: var(--line);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 1rem; }
.nav-brand { display: inline-flex; align-items: center; }
/* header logo: hidden at the very top (big one sits centred in the hero),
   fades/slides in once the page is scrolled and the nav docks */
.nav-logo {
  height: clamp(26px, 2.4vw, 32px); width: auto; display: block;
  opacity: 0; transform: translateY(-7px);
  transition: opacity 0.45s var(--ease), transform 0.45s var(--ease);
}
.nav.is-stuck .nav-logo { opacity: 1; transform: none; }
/* #12 — Light→Dark: Navi adaptiert sich über den dunklen Sektionen (Showreel / Über uns) */
.nav.is-dark.is-stuck { background: rgba(14, 17, 24, 0.62); border-bottom-color: rgba(255, 255, 255, 0.12); }
.nav.is-dark .nav-links, .nav.is-dark .nav-login { color: rgba(255, 255, 255, 0.82); transition: color 0.35s var(--ease); }
.nav.is-dark .nav-links a:hover, .nav.is-dark .nav-login:hover { color: #fff; }
.nav.is-dark .nav-word-dim { color: rgba(255, 255, 255, 0.55); }
.nav.is-dark .nav-logo { filter: brightness(0) invert(1); }
.nav-word-dim { color: var(--muted); font-weight: 600; }
.nav-links { display: flex; gap: 1.7rem; font-size: 0.92rem; font-weight: 500; color: var(--ink-2); }
.nav-links a { transition: color 0.2s; }
.nav-links a:hover { color: var(--blue); }
.nav-actions { display: flex; align-items: center; gap: 1.1rem; }
.nav-login { font-size: 0.92rem; font-weight: 500; color: var(--ink-2); transition: color 0.2s; }
.nav-login:hover { color: var(--blue); }
.nav-cta { padding: 0.6rem 1.15rem; font-size: 0.9rem; }
@media (max-width: 820px) { .nav-links, .nav-login { display: none; } }

/* ════════════════════════════════════════════════════════════════ HERO */
.hero { padding: clamp(7rem, 13vh, 9.5rem) 0 clamp(3rem, 6vh, 5rem); overflow: clip; }
.hero-inner { display: flex; flex-direction: column; align-items: center; text-align: center; }
.hero-kicker {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--serif); font-style: italic; font-size: 1rem; color: var(--muted);
  margin-bottom: 1.6rem;
}
.hero-kicker img { width: 18px; height: 18px; object-fit: contain; }
/* big centred brand logo at the top of the page */
.hero-kicker { margin-bottom: clamp(1.8rem, 4vh, 2.8rem); }
.hero-kicker .hero-logo { width: auto; height: clamp(54px, 7vw, 92px); }
.hero-title {
  font-family: var(--serif); font-weight: 800;
  font-size: clamp(2.7rem, 7.2vw, 5.6rem); line-height: 0.98; letter-spacing: -0.035em;
  margin: 0; text-wrap: balance;
}
.hero-title em { font-style: italic; font-weight: 800; color: var(--blue); }
.hero-sub {
  font-size: clamp(1.02rem, 1.5vw, 1.22rem); color: var(--muted); line-height: 1.5;
  max-width: 44ch; margin: 1.5rem auto 0; text-wrap: pretty;
}

/* domain input + button (pop.site signature form) */
.hero-form { display: flex; gap: 0.6rem; margin-top: 2.2rem; width: min(100%, 520px); }
.hero-form-field {
  flex: 1; display: flex; align-items: center; gap: 0.2rem;
  background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--r-pill);
  padding: 0 0.4rem 0 1.2rem; transition: border-color 0.2s, box-shadow 0.2s;
}
.hero-form-field:focus-within { border-color: var(--blue); box-shadow: 0 0 0 4px var(--blue-tint); }
.hero-form-pre { color: var(--faint); font-size: 0.95rem; font-weight: 500; flex-shrink: 0; }
.hero-form-field input {
  flex: 1; min-width: 0; border: 0; outline: 0; background: transparent;
  font-family: var(--sans); font-size: 1rem; color: var(--ink); padding: 0.85rem 0.3rem;
}
.hero-form-field input::placeholder { color: var(--faint); }
.hero-form-btn { flex-shrink: 0; }
.hero-micro {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.82rem; color: var(--faint); margin: 1rem 0 0;
}
.hero-micro svg { color: var(--faint); flex-shrink: 0; }

/* ----------------------------------------------- phone carousel */
/* full-bleed infinite marquee of phones — scroll/drag left & right */
.phones {
  position: relative; margin-top: clamp(3rem, 7vh, 5.5rem);
  /* full-bleed: 100vw element, centred by the parent flex column (align-items:center).
     No left/margin offsets — the parent already centres it within the viewport. */
  width: 100vw; max-width: 100vw;
  overflow: hidden; cursor: grab; --phone-w: clamp(196px, 22vw, 256px);
  -webkit-user-select: none; user-select: none; touch-action: pan-y;
  perspective: 1500px; perspective-origin: 50% 50%;
}
.phones.is-drag { cursor: grabbing; }
.phones .device { cursor: pointer; } /* Quick-Link: Klick öffnet Projekt / zentriert Seiten-Handy */
.phones-track {
  display: flex; width: max-content; gap: clamp(0.4rem, 1vw, 0.9rem);
  align-items: center; padding-block: clamp(1.5rem, 3vh, 2.5rem);
  transform-style: preserve-3d; will-change: transform;
}
.phones::before, .phones::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: clamp(40px, 9vw, 160px);
  z-index: 5; pointer-events: none; transition: background 0.6s var(--ease);
}
.phones::before { left: 0; background: linear-gradient(90deg, var(--bg), transparent); }
.phones::after { right: 0; background: linear-gradient(270deg, var(--bg), transparent); }
/* dots not used on the infinite marquee */
.phones-dots { display: none; }

/* preview disclaimer under the phone carousel */
.phones-note {
  max-width: 58ch; margin: clamp(1.4rem, 3.5vh, 2.4rem) auto 0;
  display: flex; align-items: flex-start; justify-content: center; gap: 0.5rem;
  font-size: 0.8rem; line-height: 1.5; color: var(--faint); text-align: left;
}
.phones-note svg { flex-shrink: 0; margin-top: 0.12rem; color: var(--faint); opacity: 0.8; }

/* ----------------------------------------------- device (iPhone) frame */
.device {
  --w: var(--phone-w);
  position: relative; flex: 0 0 auto; width: var(--w); aspect-ratio: 9 / 19.2;
  border-radius: calc(var(--w) * 0.155);
  background: linear-gradient(150deg, #2c2f36, #14161b 38%, #0a0b0e);
  padding: calc(var(--w) * 0.032);
  box-shadow:
    0 0 0 1.5px rgba(255, 255, 255, 0.06) inset,
    0 1px 1px rgba(255, 255, 255, 0.12) inset,
    0 36px 70px -34px rgba(10, 16, 30, 0.55),
    0 12px 30px -18px rgba(10, 16, 30, 0.4);
  transition: transform 0.6s var(--ease-out), box-shadow 0.6s var(--ease-out), opacity 0.6s var(--ease-out);
}
.device-screen {
  position: relative; width: 100%; height: 100%; overflow: hidden;
  border-radius: calc(var(--w) * 0.122); background: #0c0e12;
}
.device-screen img {
  position: absolute; top: 0; left: 0; width: 100%; height: auto;
  transition: transform var(--scroll-dur, 14s) linear;
}
/* status-bar band: gives the dynamic island a clean strip to sit on, over any content */
.device-screen::after {
  content: ""; position: absolute; top: 0; left: 0; right: 0; z-index: 2; pointer-events: none;
  height: calc(var(--w) * 0.16);
  background: linear-gradient(180deg, rgba(6, 8, 12, 0.62) 0%, rgba(6, 8, 12, 0.34) 45%, transparent 100%);
}
.device-island {
  position: absolute; top: calc(var(--w) * 0.05); left: 50%; transform: translateX(-50%);
  width: 32%; height: calc(var(--w) * 0.07); min-height: 15px;
  background: #050608; border-radius: var(--r-pill); z-index: 3;
  box-shadow: 0 0 0 0.5px rgba(255, 255, 255, 0.06);
}
/* tiny mobile-safari address chip */
.device-screen::before {
  content: attr(data-url);
  position: absolute; left: 50%; bottom: 4%; transform: translateX(-50%);
  z-index: 4; font-family: var(--sans); font-size: calc(var(--w) * 0.046); font-weight: 500;
  color: #fff; background: rgba(12, 14, 18, 0.62); backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px); padding: 0.35em 0.85em; border-radius: var(--r-pill);
  white-space: nowrap; max-width: 84%; overflow: hidden; text-overflow: ellipsis;
  opacity: 0; transition: opacity 0.5s var(--ease);
}

/* 3D coverflow phones: url chip always visible, scroll-through on hover.
   The per-phone transform (scale/translateZ/rotateY) is driven by JS each frame. */
.device-screen::before { opacity: 1; }
.phones .device { transition: opacity 0.3s var(--ease); backface-visibility: hidden; transform-origin: center center; }
.phones .device:hover .device-screen img { transform: translateY(calc(-100% + (var(--w) * 19.2 / 9))); }

.device--static { --w: clamp(190px, 24vw, 250px); }
.device--static .device-screen img { position: absolute; transform: none; }
.device--lg { --w: clamp(220px, 28vw, 300px); }

/* ════════════════════════════════════════════════════════════════ DECK / MACBOOK */
.deck { padding: clamp(3.5rem, 8vh, 6rem) 0 clamp(1rem, 3vh, 2.5rem); text-align: center; overflow: clip; }
.deck-sub { color: var(--muted); max-width: 46ch; margin: 1rem auto 0; font-size: 1.05rem; }

.macs { width: 100%; margin-top: clamp(2.5rem, 6vh, 4rem); }
.macs-row { display: flex; flex-wrap: nowrap; justify-content: center; align-items: flex-start; gap: clamp(1rem, 3vw, 3rem); }
.mac-item { display: flex; flex-direction: column; align-items: center; flex: 0 0 auto; min-width: 0; }
.mac-caption { margin-top: 1.4rem; text-align: center; display: flex; flex-direction: column; gap: 0.15rem; }
.mac-caption strong { font-family: var(--serif); font-weight: 800; font-size: 1.2rem; color: var(--ink); }
.mac-caption span { font-size: 0.8rem; color: var(--faint); }

/* a single MacBook (lid + base), front-on */
.laptop {
  position: relative; --lw: clamp(190px, 30vw, 440px); width: var(--lw);
  display: flex; flex-direction: column; align-items: center;
}
/* stack the two MacBooks only on real phones */
@media (max-width: 640px) {
  .macs-row { flex-wrap: wrap; gap: 2.5rem; }
  .laptop { --lw: min(82vw, 360px); }
}
.laptop-lid {
  position: relative; width: 100%; aspect-ratio: 16 / 10;
  background: linear-gradient(155deg, #303338, #17191e 46%, #0c0d10);
  border-radius: 16px; padding: calc(var(--lw) * 0.016);
  box-shadow:
    0 0 0 1.5px rgba(255, 255, 255, 0.06) inset,
    0 1px 1px rgba(255, 255, 255, 0.14) inset,
    0 40px 80px -38px rgba(10, 16, 30, 0.55),
    0 14px 34px -20px rgba(10, 16, 30, 0.4);
}
.laptop-cam { position: absolute; top: calc(var(--lw) * 0.0085); left: 50%; transform: translateX(-50%); width: 5px; height: 5px; border-radius: 50%; background: #1b1d22; box-shadow: 0 0 0 1px rgba(255,255,255,0.05); z-index: 3; }
.laptop-screen { position: relative; width: 100%; height: 100%; overflow: hidden; border-radius: 6px; background: #0c0e12; }
.laptop-screen img { position: absolute; top: 0; left: 0; width: 100%; height: auto; transition: transform var(--scroll-dur, 16s) linear; }
.laptop:hover .laptop-screen img { transform: translateY(calc(-100% + (var(--lw) * 0.5))); }
/* base / deck front edge with the opening notch */
.laptop-base {
  position: relative; width: 113%; height: calc(var(--lw) * 0.022); min-height: 11px;
  background: linear-gradient(#e2e6ec, #c0c6cf 42%, #9aa1ab);
  border-radius: 0 0 11px 11px;
  box-shadow: 0 1px 0 rgba(255,255,255,0.7) inset, 0 16px 24px -16px rgba(10,16,30,0.45);
}
.laptop-base::after {
  content: ""; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 16%; height: calc(var(--lw) * 0.011); min-height: 6px;
  background: linear-gradient(#aab0b9, #c7ccd4); border-radius: 0 0 7px 7px;
}
@media (prefers-reduced-motion: reduce) { .laptop:hover .laptop-screen img { transform: none; } }

/* ════════════════════════════════════════════════════════════════ FEATURED */
.featured { padding: clamp(2.5rem, 5vh, 3.5rem) 0; border-top: 1px solid var(--line); }
.featured-label {
  text-align: center; font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--faint); margin: 0 0 1.6rem;
}
/* running logo banner (marquee) — pauses on hover, edge-faded */
.logo-marquee {
  overflow: hidden; width: 100%; margin-top: 0.5rem;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.logo-track {
  display: inline-flex; align-items: center; width: max-content;
  gap: clamp(2.6rem, 6vw, 5.5rem); padding-block: 0.6rem;
  animation: logoscroll 36s linear infinite;
}
.logo-marquee:hover .logo-track { animation-play-state: paused; }
@keyframes logoscroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .logo-track { animation: none; } }

.bl { display: inline-flex; align-items: center; white-space: nowrap; flex-shrink: 0; line-height: 1; }
.bl-img img { height: clamp(50px, 6.5vw, 76px); width: auto; display: block; }
/* echte Marken-Mark-SVG (aus den Projekten) vor der Wortmarke */
.bl-mark { height: clamp(38px, 5vw, 56px); width: auto; display: block; margin-right: 0.45em; flex-shrink: 0; border-radius: 22%; }
/* Dealmaker Society */
.bl-dms { font-family: var(--serif); font-weight: 800; font-size: clamp(1.35rem, 2.3vw, 2rem); letter-spacing: -0.02em; }
.bl-dms b:first-child { color: #c79a3a; font-style: italic; font-weight: 700; margin-right: 0.04em; }
.bl-dms b:last-child { color: var(--ink); }
/* Montreval Watches — echtes Wortmarken-Logo (transparentes PNG) */
.bl-mvw img { height: clamp(26px, 3.4vw, 40px); width: auto; display: block; }
/* Forst-X */
.bl-fx { font-family: var(--serif); font-weight: 800; font-size: clamp(1.35rem, 2.3vw, 2rem); color: #2d6a4f; letter-spacing: -0.02em; }
.bl-fx b { color: #15803d; }
/* Smart Flow (echter Bubble-Mark + Wortmarke) */
.bl-sf { font-family: var(--serif); font-weight: 800; font-size: clamp(1.2rem, 2vw, 1.7rem); letter-spacing: -0.01em; color: var(--ink); }
/* Command Center (echter DM-Mark + Wortmarke) */
.bl-cc { font-family: var(--serif); font-weight: 700; font-size: clamp(1.1rem, 1.9vw, 1.6rem); color: var(--ink); }

/* ════════════════════════════════════════════════════════════════ PREBUILT */
.prebuilt { padding: clamp(5rem, 11vh, 8.5rem) 0 clamp(2rem, 5vh, 4rem); text-align: center; overflow: clip; }
.prebuilt-sub { max-width: 50ch; margin: 1.1rem auto 0; color: var(--muted); font-size: 1.08rem; }
.prebuilt-stage { position: relative; margin-top: clamp(2.5rem, 6vh, 4.5rem); min-height: 480px; display: grid; place-items: center; }
.prebuilt-phone { position: relative; z-index: 2; }
.float-card {
  position: absolute; z-index: 1; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--r-pill);
  padding: 0.6rem 1.2rem; font-size: 0.9rem; font-weight: 600; color: var(--ink-2);
  box-shadow: 0 18px 40px -24px rgba(10, 16, 30, 0.4);
  animation: floaty 7s var(--ease) infinite;
}
.float-card::before { content: "✓"; color: var(--blue); margin-right: 0.5rem; font-weight: 700; }
.float-1 { top: 6%;  left: 4%;  animation-delay: -0.5s; }
.float-2 { top: 20%; right: 2%; animation-delay: -2.5s; }
.float-3 { top: 50%; left: 0;   animation-delay: -1.2s; }
.float-4 { bottom: 20%; right: 4%; animation-delay: -3.4s; }
.float-5 { bottom: 8%; left: 8%;  animation-delay: -4.1s; }
.float-6 { top: 38%; right: 10%; animation-delay: -1.9s; }
@keyframes floaty { 0%, 100% { transform: translateY(-6px); } 50% { transform: translateY(6px); } }
/* Mobile: ohne JS-Sweep keine Cards (Fallback) — mit Sweep zeigen wir sie klein */
@media (max-width: 720px) {
  .prebuilt-stage:not(.is-js) .float-card { display: none; }
  .prebuilt-stage:not(.is-js) { min-height: auto; }
  .prebuilt-stage.is-js { min-height: 440px; }
  .prebuilt-stage.is-js .device--static { --w: clamp(138px, 42vw, 186px); }
  .float-card { padding: 0.36rem 0.66rem; font-size: 0.62rem; }
  .float-card::before { margin-right: 0.32rem; }
  .float-1 { top: 1%;  left: 0; }
  .float-2 { top: 8%;  right: 0; }
  .float-3 { top: 47%; left: -2%; }
  .float-4 { bottom: 11%; right: -1%; }
  .float-5 { bottom: 2%; left: 1%; }
  .float-6 { top: 39%; right: -2%; }
}

/* ===== PREBUILT SHOWCASE — Cards fliegen raus → Pfeil → Screen verwandelt sich ===== */
.prebuilt-stage.is-js { min-height: 540px; }
.prebuilt-stage.is-js .float-card { animation: none; will-change: transform, opacity; transition: border-color 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.35s var(--ease), color 0.35s var(--ease); }
.prebuilt-stage.is-js .float-card.is-active {
  z-index: 4; border-color: var(--blue); color: var(--blue);
  background: #f3f6fe; box-shadow: 0 0 0 3px rgba(56, 97, 193, 0.12), 0 16px 40px -18px rgba(56, 97, 193, 0.55);
}
/* Pfeil-Overlay */
.stage-arrows { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 3; pointer-events: none; overflow: visible; opacity: 0; transition: opacity 0.3s var(--ease); }
.stage-arrows.is-on { opacity: 1; }
.stage-arrow { stroke: var(--blue); stroke-width: 2.2; stroke-linecap: round; filter: drop-shadow(0 1px 4px rgba(56, 97, 193, 0.4)); }
#arrowHead path { fill: var(--blue); }
@media (max-width: 720px) { .prebuilt-stage:not(.is-js) .stage-arrows { display: none; } }

/* Screen-FX-Layer */
.device-screen { position: relative; }
.fx {
  position: absolute; inset: 0; z-index: 2; overflow: hidden;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: #06080c; opacity: 0; visibility: hidden; transition: opacity 0.45s var(--ease), visibility 0.45s var(--ease);
}
.fx.is-on { opacity: 1; visibility: visible; }
/* Video-FX (launch/seo/perf): füllt den Screen, Tag bleibt als Label oben drauf */
.fx-media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; z-index: 0; }
.fx-tag {
  position: absolute; left: 0; right: 0; bottom: 7%; text-align: center; z-index: 2;
  font-family: "Press Start 2P", monospace; font-size: 7px; letter-spacing: 0.12em; color: rgba(255, 255, 255, 0.62);
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.7);
}
.fx-tag--live { color: #36e27b; animation: livepulse 1.1s steps(1) infinite; }
@keyframes livepulse { 0%, 60% { opacity: 1; } 61%, 100% { opacity: 0.25; } }

/* Next.js → grüner Matrix-Code · UI/UX → bunter Code */
.fx--nextjs { background: #02130b; }
.fx--uiux { background: #0a0d18; }
.fx-code { margin: 0; font-family: "SFMono-Regular", ui-monospace, Menlo, Consolas, monospace; font-size: 9px; line-height: 1.65; white-space: pre; width: 100%; padding: 0 7%; }
.fx-code[data-variant="green"] { color: #36e27b; text-shadow: 0 0 6px rgba(54, 226, 123, 0.45); }
.fx--nextjs.is-on .fx-code, .fx--uiux.is-on .fx-code { animation: codescroll 9s linear infinite; }
@keyframes codescroll { from { transform: translateY(8%); } to { transform: translateY(-50%); } }
.fx-code .k { color: #c792ea; } .fx-code .s { color: #c3e88d; } .fx-code .f { color: #82aaff; } .fx-code .n { color: #f78c6c; } .fx-code .c { color: #546e7a; } .fx-code .t { color: #ffcb6b; }

/* Performance → Kurs steigt */
.fx--perf { background: radial-gradient(120% 100% at 0% 100%, #07202a, #06080c 70%); }
.fx-chart { width: 80%; height: 46%; }
.fx-chart-line { stroke: #36e27b; stroke-width: 3; stroke-linejoin: round; stroke-linecap: round; filter: drop-shadow(0 0 5px rgba(54, 226, 123, 0.6)); stroke-dasharray: 360; stroke-dashoffset: 360; }
.fx--perf.is-on .fx-chart-line { animation: draw 1.5s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.fx-ticker { margin-top: 6%; font-family: "SFMono-Regular", ui-monospace, monospace; font-size: 12px; color: #36e27b; letter-spacing: 0.04em; opacity: 0; }
.fx-ticker b { font-weight: 700; }
.fx--perf.is-on .fx-ticker { animation: fadein 0.6s var(--ease) 0.7s forwards; }
@keyframes fadein { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* SEO → Ranking auf Platz 1 */
.fx--seo { background: #0a0d14; }
.fx-seo { display: flex; flex-direction: column; gap: 7px; width: 74%; }
.fx-seo-row { display: flex; align-items: center; gap: 8px; padding: 5px 9px; border-radius: 6px; background: rgba(255, 255, 255, 0.05); font-family: "SFMono-Regular", ui-monospace, monospace; font-size: 9px; color: rgba(255, 255, 255, 0.45); opacity: 0; transform: translateY(8px); }
.fx-seo-row span { width: 18px; } .fx-seo-row i { flex: 1; height: 4px; border-radius: 2px; background: rgba(255, 255, 255, 0.13); }
.fx-seo-row--you { background: rgba(54, 226, 123, 0.16); color: #36e27b; border: 1px solid rgba(54, 226, 123, 0.4); }
.fx-seo-row--you b { font-weight: 700; }
.fx--seo.is-on .fx-seo-row { animation: rowin 0.5s var(--ease) forwards; }
.fx--seo.is-on .fx-seo-row:nth-child(1) { animation-delay: 0.05s; } .fx--seo.is-on .fx-seo-row:nth-child(2) { animation-delay: 0.18s; } .fx--seo.is-on .fx-seo-row:nth-child(3) { animation-delay: 0.31s; } .fx--seo.is-on .fx-seo-row--you { animation: rowin 0.5s var(--ease) 0.46s forwards, seoglow 1.3s var(--ease) 1s infinite alternate; }
@keyframes rowin { to { opacity: 1; transform: none; } }
@keyframes seoglow { to { box-shadow: 0 0 16px rgba(54, 226, 123, 0.5); } }

/* Strategie → Plan-Flow */
.fx--strategie { background: #0a0e18; }
.fx-flow { display: flex; flex-direction: column; align-items: center; gap: 11px; position: relative; }
.fx-flow::before { content: ""; position: absolute; left: 50%; top: 8%; bottom: 8%; width: 2px; transform: translateX(-50%) scaleY(0); transform-origin: top; background: linear-gradient(var(--blue), rgba(56, 97, 193, 0.2)); }
.fx--strategie.is-on .fx-flow::before { animation: flowline 1s var(--ease) forwards; }
@keyframes flowline { to { transform: translateX(-50%) scaleY(1); } }
.fx-flow-node { position: relative; padding: 5px 13px; border: 1px solid rgba(56, 97, 193, 0.45); border-radius: 20px; font-family: "SFMono-Regular", ui-monospace, monospace; font-size: 9px; color: #cdd7ee; background: #0c1322; opacity: 0; transform: scale(0.7); }
.fx--strategie.is-on .fx-flow-node { animation: nodepop 0.45s var(--ease) forwards; }
.fx--strategie.is-on .fx-flow-node:nth-child(1) { animation-delay: 0.1s; } .fx--strategie.is-on .fx-flow-node:nth-child(2) { animation-delay: 0.35s; } .fx--strategie.is-on .fx-flow-node:nth-child(3) { animation-delay: 0.6s; } .fx--strategie.is-on .fx-flow-node:nth-child(4) { animation-delay: 0.85s; }
@keyframes nodepop { to { opacity: 1; transform: scale(1); } }

/* Launch → Go-Live */
.fx--launch { background: radial-gradient(110% 90% at 50% 130%, #16306e, #05070d 72%); }
.fx-rocket { font-size: 42px; line-height: 1; opacity: 0; }
.fx--launch.is-on .fx-rocket { animation: rocketup 1.8s var(--ease) infinite; }
@keyframes rocketup { 0% { opacity: 0; transform: translateY(34px) rotate(-8deg); } 20% { opacity: 1; } 80% { opacity: 1; } 100% { opacity: 0; transform: translateY(-120px) rotate(-8deg); } }

@media (prefers-reduced-motion: reduce) {
  .fx-code, .fx-chart-line, .fx-rocket, .fx-flow::before, .fx-flow-node, .fx-seo-row, .fx-tag--live { animation: none !important; }
  .fx-chart-line { stroke-dashoffset: 0; } .fx-rocket, .fx-seo-row, .fx-flow-node { opacity: 1; transform: none; } .fx-ticker { opacity: 1; }
}

/* ════════════════════════════════════════════════════════════════ SHOWREEL */
.showreel { background: var(--dark); color: #fff; padding: clamp(5rem, 12vh, 8.5rem) 0; text-align: center; }
.showreel-sub { color: rgba(255, 255, 255, 0.62); max-width: 46ch; margin: 1.2rem auto 0; font-size: 1.05rem; }
.showreel-video {
  position: relative; display: block; width: min(100%, 880px); margin: clamp(2.5rem, 6vh, 4rem) auto 0;
  aspect-ratio: 16 / 9; border: 0; padding: 0; cursor: pointer; overflow: hidden;
  border-radius: var(--r-lg); background: #000;
  box-shadow: 0 50px 100px -40px rgba(0, 0, 0, 0.8);
}
.showreel-video { cursor: default; }
.showreel-video video { width: 100%; height: 100%; object-fit: cover; opacity: 0.92; transition: transform 0.6s var(--ease); }
.showreel-video::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, transparent 55%, rgba(8,11,18,0.55) 100%); }
.showreel-place {
  position: absolute; left: clamp(1rem, 2.5vw, 1.6rem); bottom: clamp(1rem, 2.5vw, 1.6rem); z-index: 2;
  display: inline-flex; align-items: center; gap: 0.55rem;
  font-size: 0.82rem; font-weight: 500; color: #fff; letter-spacing: 0.005em;
  background: rgba(12, 14, 18, 0.42); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.16); border-radius: var(--r-pill);
  padding: 0.5rem 0.95rem; text-align: left;
}
.showreel-place-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 0 rgba(79,164,206,0.6); animation: place-pulse 2.6s var(--ease) infinite; flex-shrink: 0; }
@keyframes place-pulse { 0% { box-shadow: 0 0 0 0 rgba(79,164,206,0.5); } 70% { box-shadow: 0 0 0 7px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }
@media (max-width: 480px) { .showreel-place { font-size: 0.72rem; padding: 0.4rem 0.7rem; } }

/* ════════════════════════════════════════════════════════════════ PRINCIPLES GRID */
.pgrid { background: var(--dark-2); color: #fff; padding: clamp(5rem, 11vh, 8rem) 0; }
.pgrid-h { text-align: center; margin-bottom: clamp(2.5rem, 6vh, 4rem); }
.pgrid-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(0.8rem, 1.4vw, 1.1rem); }
.pcard {
  background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--r-md); padding: clamp(1.3rem, 2vw, 1.8rem);
  transition: background 0.3s, border-color 0.3s, transform 0.3s var(--ease);
}
.pcard:hover { background: rgba(255, 255, 255, 0.07); border-color: rgba(124, 170, 230, 0.4); transform: translateY(-3px); }
.pcard h3 { font-family: var(--sans); font-weight: 600; font-size: 1.05rem; margin: 0 0 0.5rem; color: #fff; }
.pcard p { margin: 0; font-size: 0.92rem; line-height: 1.5; color: rgba(255, 255, 255, 0.58); }
@media (max-width: 820px) { .pgrid-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .pgrid-grid { grid-template-columns: 1fr; } }

/* ════════════════════════════════════════════════════════════════ SPOTLIGHT */
.spotlight { background: var(--dark); color: #fff; padding: clamp(5rem, 12vh, 8.5rem) 0; }
.spotlight-inner { display: grid; grid-template-columns: 0.85fr 1fr; align-items: center; gap: clamp(2rem, 6vw, 5rem); }
.spotlight-phone { display: grid; place-items: center; }
.spotlight-copy h2 { margin-bottom: 1.3rem; }
.spotlight-copy p { color: rgba(255, 255, 255, 0.62); font-size: 1.08rem; max-width: 42ch; margin: 0 0 1.6rem; }
.link-arrow { display: inline-flex; align-items: center; gap: 0.5rem; font-weight: 600; color: #fff; border-bottom: 1px solid rgba(255, 255, 255, 0.3); padding-bottom: 3px; transition: color 0.25s, border-color 0.25s; }
.link-arrow span { transition: transform 0.3s var(--ease); }
.link-arrow:hover { color: var(--cyan); border-color: var(--cyan); }
.link-arrow:hover span { transform: translateY(3px); }
@media (max-width: 820px) { .spotlight-inner { grid-template-columns: 1fr; text-align: center; } .spotlight-copy p { margin-inline: auto; } }

/* ════════════════════════════════════════════════════════════════ PILLARS */
.pillars { padding: clamp(5rem, 11vh, 8.5rem) 0; text-align: center; }
.pillars-sub { color: var(--muted); max-width: 48ch; margin: 1rem auto 0; font-size: 1.05rem; }
.pillars-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1rem, 2vw, 1.6rem); margin: clamp(2.5rem, 6vh, 4rem) 0; text-align: left; }
.pillar { padding: 0.4rem; }
.pillar-ico { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--blue-tint); color: var(--blue); font-size: 1.2rem; margin-bottom: 1rem; }
.pillar h3 { font-family: var(--sans); font-weight: 600; font-size: 1.1rem; margin: 0 0 0.4rem; }
.pillar p { margin: 0; color: var(--muted); font-size: 0.93rem; line-height: 1.5; }
.pillars-browser { margin-top: 1rem; }
@media (max-width: 820px) { .pillars-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .pillars-grid { grid-template-columns: 1fr; } }

/* browser frame */
.browser {
  width: min(100%, 940px); margin-inline: auto; border-radius: var(--r-md); overflow: hidden;
  background: var(--surface); border: 1px solid var(--line-2);
  box-shadow: 0 40px 90px -50px rgba(10, 16, 30, 0.45);
}
.browser-bar { display: flex; align-items: center; gap: 0.8rem; height: 40px; padding: 0 1rem; background: linear-gradient(#f4f6fa, #e9edf3); border-bottom: 1px solid var(--line); }
.browser-dots { display: inline-flex; gap: 0.4rem; }
.browser-dots i { width: 11px; height: 11px; border-radius: 50%; background: #d4d9e2; }
.browser-dots i:nth-child(1) { background: #f0654e; } .browser-dots i:nth-child(2) { background: #f4bf4f; } .browser-dots i:nth-child(3) { background: #5cc46b; }
.browser-addr { flex: 1; text-align: center; font-size: 0.74rem; color: var(--muted); background: #fff; border: 1px solid var(--line); border-radius: var(--r-pill); padding: 0.25rem 1rem; max-width: 60%; margin-inline: auto; }
.browser-shot { max-height: 540px; overflow: hidden; }
.browser-shot img { width: 100%; height: auto; }

/* ════════════════════════════════════════════════════════════════ BIG QUOTE */
.bigquote { position: relative; overflow: hidden; background: linear-gradient(160deg, #0b0e15, #161d2e 55%, #1d2b45); color: #fff; padding: clamp(5.5rem, 14vh, 9.5rem) 0; }
.bigquote::before { content: ""; position: absolute; top: -32%; left: 50%; transform: translateX(-50%); width: 72vw; height: 62vh; background: radial-gradient(circle, rgba(79, 164, 206, 0.2), transparent 62%); pointer-events: none; }
.bigquote-inner { position: relative; max-width: 920px; margin-inline: auto; text-align: center; }
.bigquote-kicker { display: inline-flex; align-items: center; gap: 0.7rem; font-family: var(--sans); font-style: normal; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.24em; text-transform: uppercase; color: var(--cyan); margin: 0 0 1.8rem; }
.bigquote-kicker::before, .bigquote-kicker::after { content: ""; width: 30px; height: 1px; background: linear-gradient(90deg, transparent, var(--cyan)); }
.bigquote-kicker::after { background: linear-gradient(90deg, var(--cyan), transparent); }
.bigquote-text { position: relative; font-family: var(--serif); font-weight: 800; font-size: clamp(1.8rem, 4.4vw, 3.1rem); line-height: 1.16; letter-spacing: -0.03em; margin: 0; text-wrap: balance; }
.bigquote-text::before { content: "\201C"; position: absolute; top: -0.46em; left: 50%; transform: translateX(-50%); font-family: var(--serif); font-size: 5em; line-height: 1; color: rgba(79, 164, 206, 0.16); pointer-events: none; z-index: 0; }
.bigquote-text em { font-style: italic; color: var(--cyan); position: relative; }
.bigquote-by { display: inline-flex; align-items: center; gap: 0.8rem; margin-top: 2.2rem; text-align: left; }
.bigquote-by img { width: 44px; height: 44px; object-fit: contain; border-radius: 50%; background: rgba(255, 255, 255, 0.08); padding: 7px; }
.bigquote-by span { font-size: 0.9rem; color: rgba(255, 255, 255, 0.7); line-height: 1.4; }
.bigquote-by strong { color: #fff; }
/* Team / Gründer */
.team { display: flex; justify-content: center; gap: clamp(1.4rem, 4vw, 3.6rem); margin-top: clamp(2.6rem, 6vh, 4rem); flex-wrap: wrap; }
.team-member { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 1rem; }
.team-photo { width: clamp(150px, 19vw, 210px); aspect-ratio: 4 / 5; border-radius: 16px; overflow: hidden; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.1); box-shadow: 0 26px 54px -30px rgba(0, 0, 0, 0.65); }
.team-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 22%; display: block; }
.team-member figcaption strong { display: block; font-family: var(--serif); font-weight: 800; font-size: 1.18rem; color: #fff; letter-spacing: -0.01em; }
.team-member figcaption span { display: block; margin-top: 0.2rem; font-size: 0.82rem; letter-spacing: 0.05em; color: var(--cyan); }
.team-place { margin-top: clamp(1.6rem, 4vh, 2.4rem); font-size: 0.8rem; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255, 255, 255, 0.42); }
@media (max-width: 460px) { .team { gap: 1.6rem; } .team-photo { width: clamp(132px, 40vw, 172px); } }

/* ════════════════════════════════════════════════════════════════ ROADMAP */
.roadmap { padding: clamp(5rem, 11vh, 8.5rem) 0 0; text-align: center; overflow: hidden; }
.roadmap-sub { color: var(--muted); max-width: 50ch; margin: 1rem auto 0; font-size: 1.05rem; }

/* horizontal gepinnte Timeline (Dora-Stil): vertikal scrollen → Bahn zeichnet sich horizontal */
/* Überschrift + Roadmap werden zusammen gepinnt → Titel bleibt beim Horizontal-Scroll sichtbar */
.rmap-pin { text-align: center; }
.rmap { position: relative; height: clamp(420px, 58vh, 540px); margin-top: clamp(0.8rem, 3vh, 1.8rem); padding-bottom: clamp(2rem, 5vh, 4rem); }
.rmap-viewport { position: absolute; inset: 0; overflow: hidden; display: flex; align-items: center; }
.rmap-track {
  --rmap-pad: clamp(8vw, 14vw, 18vw);
  position: relative; display: flex; align-items: flex-start;
  gap: clamp(1.6rem, 4vw, 3.4rem); padding: 0 var(--rmap-pad); width: max-content;
  will-change: transform;
}
/* Verbindungslinie + zeichnende Füllung (Geometrie per JS gesetzt) */
.rmap-line, .rmap-line-fill { position: absolute; height: 2px; border-radius: 2px; pointer-events: none; }
.rmap-line { background: var(--line-2); }
.rmap-line-fill { background: linear-gradient(90deg, var(--blue), #6f93e6); transform: scaleX(0); transform-origin: left center; box-shadow: 0 0 18px rgba(56, 97, 193, 0.45); }
.rmap-comet { position: absolute; width: 13px; height: 13px; margin: -6px 0 0 -6px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 5px rgba(56, 97, 193, 0.16), 0 0 22px rgba(56, 97, 193, 0.8); pointer-events: none; opacity: 0; }

.rnode { flex: 0 0 auto; width: clamp(220px, 24vw, 290px); text-align: left; }
.rnode-marker { height: 46px; display: flex; align-items: center; }
.rnode-dot {
  width: 15px; height: 15px; border-radius: 50%; background: var(--surface);
  border: 2px solid var(--line-2); position: relative; z-index: 2;
  /* Punkt startet unsichtbar/winzig → enthüllt sich (Pop) + leuchtet, sobald die Linie ihn erreicht */
  opacity: 0; transform: scale(0.1);
  transition: opacity 0.4s var(--ease), border-color 0.45s var(--ease), background 0.45s var(--ease), box-shadow 0.45s var(--ease), transform 0.55s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.rnode-card {
  border: 1px solid var(--line); border-radius: 16px; overflow: hidden; padding: 1.35rem 1.4rem 1.5rem;
  background: var(--surface); opacity: 0.4; transform: translateY(12px);
  transition: opacity 0.55s var(--ease), transform 0.55s var(--ease), border-color 0.55s var(--ease), box-shadow 0.55s var(--ease);
}
/* Media-Slot oben in der Card (Bild/GIF, full-bleed) — Platzhalter bis Assets da sind */
.rnode-media {
  margin: -1.35rem -1.4rem 1rem; aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, #eef1f8, #e0e7f4 55%, #edf0f7);
  border-bottom: 1px solid var(--line);
  position: relative; overflow: hidden; display: grid; place-items: center;
}
.rnode-media::after {
  content: "▶ Bild / GIF"; font-family: var(--sans); font-size: 0.64rem;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--faint); opacity: 0.75;
}
.rnode-media:has(img, video)::after, .rnode-media:has(picture)::after { content: none; }
.rnode-media img, .rnode-media video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block;
}
/* Tag 1 — animiertes „PRESS START" (Arcade-Look, Pixel-Font) statt statischem Bild */
.rnode-media--press { background: #0a0a0a; }
.rnode-media--press::after { content: none; }
.press-start {
  font-family: "Press Start 2P", "Courier New", monospace;
  color: #fff; font-size: clamp(0.78rem, 2.3vw, 1.02rem); line-height: 1.4;
  letter-spacing: 0.02em; text-align: center; text-shadow: 0 0 12px rgba(255, 255, 255, 0.25);
  animation: pressblink 1.1s steps(1, end) infinite;
}
@keyframes pressblink { 0%, 58% { opacity: 1; } 59%, 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .press-start { animation: none; } }
.rnode.is-live .rnode-dot { opacity: 1; border-color: var(--blue); background: var(--blue); box-shadow: 0 0 0 5px rgba(56, 97, 193, 0.14), 0 0 16px rgba(56, 97, 193, 0.55); transform: scale(1.12); }
.rnode.is-live .rnode-card { opacity: 1; transform: translateY(0); border-color: var(--line-2); box-shadow: 0 18px 44px -26px rgba(20, 40, 80, 0.3); }
.rnode-head { display: flex; align-items: baseline; justify-content: space-between; gap: 0.5rem; }
.rnode-day { font-family: var(--sans); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.13em; text-transform: uppercase; color: var(--blue); }
.rnode-n { font-size: 0.7rem; color: var(--faint); letter-spacing: 0.05em; }
.rnode h3 { font-family: var(--serif); font-weight: 800; font-size: 1.18rem; letter-spacing: -0.02em; margin: 0.8rem 0 0.75rem; }
.rnode ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.5rem; }
.rnode li {
  position: relative; padding-left: 0.95rem; font-size: 0.88rem; line-height: 1.45; color: var(--muted);
  /* Bullets starten verborgen → enthüllen sich nach und nach, sobald die Card live wird */
  opacity: 0; transform: translateX(-6px);
  transition: opacity 0.5s var(--ease), transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.rnode li::before {
  content: ""; position: absolute; left: 0; top: 0.52em; width: 5px; height: 5px; border-radius: 50%;
  background: var(--line-2); opacity: 0.5; transform: scale(0.5);
  transition: background 0.5s var(--ease), opacity 0.5s var(--ease), box-shadow 0.5s var(--ease), transform 0.55s cubic-bezier(0.34, 1.56, 0.64, 1);
}
/* live: Punkt für Punkt aufleuchten (gestaffelt via transition-delay) */
.rnode.is-live li { opacity: 1; transform: none; }
.rnode.is-live li::before {
  background: var(--blue); opacity: 1; transform: scale(1);
  box-shadow: 0 0 0 3px rgba(56, 97, 193, 0.12), 0 0 9px rgba(56, 97, 193, 0.6);
}
.rnode.is-live li:nth-child(1), .rnode.is-live li:nth-child(1)::before { transition-delay: 0.10s; }
.rnode.is-live li:nth-child(2), .rnode.is-live li:nth-child(2)::before { transition-delay: 0.24s; }
.rnode.is-live li:nth-child(3), .rnode.is-live li:nth-child(3)::before { transition-delay: 0.38s; }
.rnode.is-live li:nth-child(4), .rnode.is-live li:nth-child(4)::before { transition-delay: 0.52s; }
.rnode.is-live li:nth-child(5), .rnode.is-live li:nth-child(5)::before { transition-delay: 0.66s; }
/* reduced-motion / sehr breite Screens: Bullets einfach sichtbar, kein Stagger */
@media (prefers-reduced-motion: reduce) {
  .rnode li { opacity: 1; transform: none; transition: none; }
  .rnode li::before { opacity: 1; transform: none; background: var(--blue); box-shadow: none; transition: none; }
}
.rmap--static .rnode li { opacity: 1; transform: none; }
.rmap--static .rnode li::before { opacity: 1; transform: none; background: var(--blue); box-shadow: none; transition: none; }

/* statischer Fallback (reduced-motion / kein GSAP / zu breit): umbrechendes Raster, alles sichtbar */
.rmap--static { height: auto; padding-bottom: 0; }
.rmap--static .rmap-viewport { position: static; overflow: visible; }
.rmap--static .rmap-track { transform: none !important; width: auto; flex-wrap: wrap; justify-content: center; padding: 0 clamp(1rem, 4vw, 2rem); gap: 1.4rem; }
.rmap--static .rmap-line, .rmap--static .rmap-line-fill, .rmap--static .rmap-comet, .rmap--static .rnode-marker { display: none; }
.rmap--static .rnode { width: clamp(220px, 30vw, 300px); }
.rmap--static .rnode-card { opacity: 1; transform: none; }

/* ════════════════════════════════════════════════════════════════ CAPABILITIES */
.caps { padding: clamp(5rem, 11vh, 8.5rem) 0; text-align: center; }
.caps-sub { color: var(--muted); max-width: 46ch; margin: 1rem auto 0; font-size: 1.05rem; }
/* Überschrift + Stapel werden zusammen gepinnt → kompaktes vertikales Spacing, Titel bleibt oben */
.svc-pin { text-align: center; }
.svc-pin .caps-sub { margin-top: 0.7rem; }
.svc-pin .svc-stack { margin-top: clamp(1.6rem, 4vh, 2.6rem); }
/* services as a GSAP-pinned card stack — cards rise from below and pile up while pinned */
.svc-stack { position: relative; max-width: 860px; margin: clamp(2.5rem, 6vh, 4.5rem) auto 0; text-align: left; height: clamp(290px, 44vh, 390px); }
.svc-wrap { position: absolute; inset: 0; }
.svc-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: clamp(1.8rem, 4vw, 3rem); height: 100%;
  display: flex; flex-direction: column; justify-content: center;
  box-shadow: 0 28px 56px -38px rgba(10, 16, 30, 0.42);
  transform-origin: top center; will-change: transform, opacity; backface-visibility: hidden;
}
/* fallback (reduced-motion / kein GSAP): einfache gestapelte Liste */
.svc-stack--static { height: auto; }
.svc-stack--static .svc-wrap { position: relative; inset: auto; margin-bottom: 1.2rem; }
.svc-stack--static .svc-card { height: auto; min-height: clamp(180px, 30vh, 260px); }
.svc-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 1rem; }
.svc-n { font-family: var(--serif); font-style: italic; font-size: 1.1rem; color: var(--blue); }
.svc-cat { font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--faint); }
.svc-card h3 { font-family: var(--serif); font-weight: 800; font-size: clamp(1.7rem, 3.6vw, 2.7rem); letter-spacing: -0.025em; margin: 0 0 0.7rem; }
.svc-card p { margin: 0; color: var(--muted); font-size: clamp(1rem, 1.4vw, 1.18rem); line-height: 1.5; max-width: 50ch; }
.svc-principles { text-align: center; margin: clamp(2.5rem, 6vh, 4rem) auto 0; max-width: 62ch; color: var(--muted); font-size: 0.95rem; line-height: 1.7; }
.svc-principles b { color: var(--ink); font-weight: 700; }
@media (prefers-reduced-motion: reduce) { .svc-wrap { position: static; } .svc-card { transform: none !important; opacity: 1 !important; } }
@media (max-width: 560px) { .svc-card { min-height: clamp(200px, 42vh, 280px); padding: 1.6rem; } }

/* ════════════════════════════════════════════════════════════════ LEISTUNGEN — gepinntes MacBook (Fallbeispiele) */
.caps--mac { overflow: clip; padding: 0; transition: background-color 0.6s var(--ease); }
/* der gepinnte Block füllt 100vh und zentriert seinen Inhalt → Mac bleibt mittig, nie abgeschnitten */
.mac-pin { text-align: center; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; gap: clamp(0.5rem, 1.4vh, 1rem); padding: clamp(5.5rem, 11vh, 7.5rem) 0 clamp(1rem, 2.5vh, 2rem); }
/* weiß = groß (füllt den Whitespace oben), beim Dunkelwerden → klein (macht Platz für Counter + Step-Titel) */
.caps--mac .caps-h { font-size: clamp(1.55rem, 3vw, 2.15rem); transition: font-size 0.6s var(--ease), color 0.5s var(--ease); }
.caps--mac:not(.is-dark) .caps-h { font-size: clamp(2.7rem, 6.6vw, 4.6rem); }
.caps--mac .caps-sub { font-size: clamp(0.9rem, 1.2vw, 1rem); margin-top: 0.4rem; transition: font-size 0.6s var(--ease), margin 0.6s var(--ease), color 0.5s var(--ease); }
.caps--mac:not(.is-dark) .caps-sub { font-size: clamp(1.12rem, 1.7vw, 1.4rem); margin-top: 0.8rem; }
.macshow { margin-top: clamp(0.7rem, 1.8vh, 1.3rem); display: flex; flex-direction: column; align-items: center; gap: clamp(0.55rem, 1.4vh, 1rem); }

/* Light → Dark: sobald der Pin aktiv ist, wird die Sektion schwarz + Schrift weiß → das helle Display strahlt */
.caps--mac.is-dark { background: #000; }
.caps--mac.is-dark .caps-h { color: #fff; }
.caps--mac.is-dark .caps-sub { color: rgba(255, 255, 255, 0.64); }
.caps--mac.is-dark .macshow-title { color: #fff; }
.caps--mac.is-dark .macshow-desc { color: rgba(255, 255, 255, 0.7); }
.caps--mac.is-dark .macshow-cat { color: rgba(255, 255, 255, 0.5); }
.caps--mac.is-dark .macshow-n { color: #8fb4ff; }
.caps--mac.is-dark .svc-principles { color: rgba(255, 255, 255, 0.58); }
.caps--mac.is-dark .svc-principles b { color: #fff; }

/* wechselnder Beschreibungstext über dem Mac */
.macshow-text { max-width: 56ch; min-height: clamp(80px, 10.5vh, 108px); display: flex; flex-direction: column; align-items: center; gap: 0.35rem; }
.macshow-meta { display: flex; align-items: center; gap: 0.7rem; font-family: var(--sans); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; }
.macshow-n { color: var(--blue); font-weight: 700; transition: color 0.5s var(--ease); }
.macshow-cat { color: var(--faint); transition: color 0.5s var(--ease); }
.macshow-cat::before { content: "·"; margin-right: 0.7rem; color: var(--line-2); }
.macshow-title { font-family: var(--serif); font-weight: 800; font-size: clamp(1.95rem, 3.8vw, 3rem); letter-spacing: -0.03em; margin: 0; transition: color 0.5s var(--ease); }
.macshow-desc { color: var(--muted); font-size: clamp(0.98rem, 1.3vw, 1.12rem); line-height: 1.55; margin: 0; transition: color 0.5s var(--ease); }
.macshow-text.is-anim .macshow-meta, .macshow-text.is-anim .macshow-title, .macshow-text.is-anim .macshow-desc {
  animation: macTextIn 0.55s var(--ease) both;
}
.macshow-text.is-anim .macshow-title { animation-delay: 0.04s; }
.macshow-text.is-anim .macshow-desc { animation-delay: 0.08s; }
@keyframes macTextIn { from { opacity: 0; transform: translateY(9px); } to { opacity: 1; transform: none; } }

/* größeres MacBook für die Showcase */
.laptop--show { --lw: min(57vw, clamp(270px, calc(43vh * 1.6), 640px)); }
.macshow-screen { container-type: size; background: #0a0c10; }

/* die einzelnen „Sites" auf dem Screen — nur eine sichtbar, cross-fade */
.case { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 0.5s var(--ease), visibility 0.5s var(--ease); }
.case.is-on { opacity: 1; visibility: visible; }
.case-scroll { position: absolute; top: 0; left: 0; width: 100%; will-change: transform; }
/* Cases die direkt ein Video full-bleed zeigen (z.B. Web-App-Dashboard) */
.case-media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.case--app { background: #ece9f6; }
.case--vid { background: #04050a; }

/* Scroll-Screenshot-Case (echte Seite scrollt im Mac) */
.case--shot { background: #fff; }
.case--shot .case-scroll img { width: 100%; display: block; }

/* Motion & Polish — Silk-WebGL-Shader */
.case--silk { background: #0a0a0a; }
.silk-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }

/* Support — Code editiert sich → grün → Webseite entsteht (scroll-getrieben) */
.case--support { background: #0a0d13; container-type: size; }
.sup-grid { position: absolute; inset: 0; display: grid; grid-template-columns: 1.1fr 0.9fr; }
.sup-editor { background: linear-gradient(180deg, #0c1018, #090c12); padding: 4cqh 0 0; overflow: hidden; border-right: 1px solid rgba(255, 255, 255, 0.05); }
.sup-bar { display: flex; align-items: center; gap: 1.4cqw; padding: 0 4cqw 3.4cqh; }
.sup-bar .sup-dot { width: 1.5cqw; height: 1.5cqw; border-radius: 50%; background: #313847; }
.sup-bar .sup-dot:first-child { background: #ff5f56; } .sup-bar .sup-dot:nth-child(2) { background: #ffbd2e; } .sup-bar .sup-dot:nth-child(3) { background: #27c93f; }
.sup-file { margin-left: 1.5cqw; font-family: var(--mono, ui-monospace, monospace); font-size: 2cqw; color: #6b7689; letter-spacing: 0.04em; }
.sup-badge { position: relative; margin-left: auto; margin-right: 4cqw; display: inline-grid; }
.sup-badge .berr, .sup-badge .bok { grid-area: 1 / 1; font-family: var(--mono, monospace); font-size: 1.7cqw; padding: 0.7cqh 1.8cqw; border-radius: 99px; letter-spacing: 0.03em; white-space: nowrap; transition: opacity 0.45s var(--ease); }
.sup-badge .berr { color: #ff8585; background: rgba(255, 107, 107, 0.14); }
.sup-badge .bok { color: #4ade80; background: rgba(74, 222, 128, 0.16); opacity: 0; }
.is-fixed .sup-badge .berr { opacity: 0; }
.is-fixed .sup-badge .bok { opacity: 1; }
.sup-code { margin: 0; padding: 0 4cqw 4cqh; font-family: var(--mono, ui-monospace, "SF Mono", Menlo, monospace); font-size: 2.3cqw; line-height: 2.2; color: #c9d4e3; white-space: pre; counter-reset: ln; }
.sup-code .l { display: block; position: relative; padding-left: 5cqw; }
.sup-code .l::before { counter-increment: ln; content: counter(ln); position: absolute; left: 0; width: 3.2cqw; text-align: right; color: #39435a; }
.c-punct { color: #5b6679; } .c-tag { color: #ff7b9c; } .c-attr { color: #ffd479; } .c-str { color: #7ee787; }
.sup-fix { border-radius: 0.6cqh; transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease); }
.sup-fix .bad, .sup-fix .good { transition: opacity 0.35s var(--ease); }
.sup-fix .bad { color: #ff6b6b; }
.sup-fix .good { position: absolute; left: 5cqw; top: 0; opacity: 0; }
.is-fixed .sup-fix { background: rgba(74, 222, 128, 0.1); box-shadow: inset 0.45cqw 0 0 #4ade80; }
.is-fixed .sup-fix .bad { opacity: 0; }
.is-fixed .sup-fix .good { opacity: 1; }
/* die entstehende Mini-Webseite (rechts) */
.sup-preview { position: relative; display: grid; place-items: center; padding: 7cqh 5.5cqw; background: radial-gradient(130% 100% at 50% 0%, #161b27, #0a0d13); }
.sup-site { position: relative; width: 100%; aspect-ratio: 3 / 4; max-height: 86cqh; background: linear-gradient(168deg, #ffffff, #eef2fc); border-radius: 2cqh; overflow: hidden; box-shadow: 0 16cqh 30cqh -14cqh rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(255, 255, 255, 0.06); opacity: 0; transform: translateY(7cqh) scale(0.93); transition: opacity 0.6s var(--ease), transform 0.75s cubic-bezier(0.34, 1.56, 0.64, 1); }
.is-built .sup-site { opacity: 1; transform: none; }
.sup-site-art { position: absolute; top: -16cqh; right: -12cqw; width: 46cqw; height: 46cqw; border-radius: 50%; background: radial-gradient(circle at 32% 30%, #6f9bff, #3861c1 58%, transparent 72%); opacity: 0; transition: opacity 0.7s var(--ease) 0.2s; }
.is-built .sup-site-art { opacity: 0.5; }
.sup-site-nav { position: relative; display: flex; align-items: center; justify-content: space-between; padding: 3.4cqh 4.5cqw 0; }
.sup-logo { width: 6.5cqw; height: 6.5cqw; border-radius: 1.8cqh; background: linear-gradient(135deg, #3861c1, #6f9bff); opacity: 0; transition: opacity 0.4s var(--ease) 0.15s; }
.sup-menu { display: flex; gap: 1.4cqw; } .sup-menu i { width: 4.6cqw; height: 1.3cqh; border-radius: 1cqh; background: #c7d0e0; opacity: 0; transition: opacity 0.4s var(--ease) 0.2s; }
.sup-site-hero { position: relative; padding: 7cqh 4.5cqw 5cqh; }
.sup-tagline { display: block; font-size: 1.7cqw; letter-spacing: 0.2em; text-transform: uppercase; color: #3861c1; opacity: 0; transition: opacity 0.5s var(--ease) 0.26s; }
.sup-site-hero b { display: block; margin-top: 2.2cqh; font-family: var(--serif); font-weight: 800; font-size: 6cqw; line-height: 1.04; letter-spacing: -0.02em; color: #11151d; opacity: 0; transform: translateY(2cqh); transition: opacity 0.5s var(--ease) 0.34s, transform 0.5s var(--ease) 0.34s; }
.sup-lead { display: block; margin-top: 2.4cqh; font-size: 2.4cqw; line-height: 1.4; color: #5b6577; opacity: 0; transform: translateY(2cqh); transition: opacity 0.5s var(--ease) 0.46s, transform 0.5s var(--ease) 0.46s; }
.sup-site-hero em { display: inline-block; margin-top: 4cqh; padding: 2cqh 4.5cqw; border-radius: 99px; background: linear-gradient(135deg, #3861c1, #4f74d6); color: #fff; font-style: normal; font-size: 2.3cqw; font-weight: 600; box-shadow: 0 5cqh 12cqh -5cqh rgba(56, 97, 193, 0.75); opacity: 0; transform: translateY(2cqh); transition: opacity 0.5s var(--ease) 0.58s, transform 0.5s var(--ease) 0.58s; }
.is-built .sup-logo, .is-built .sup-menu i, .is-built .sup-tagline, .is-built .sup-site-hero b, .is-built .sup-lead, .is-built .sup-site-hero em { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .sup-site, .sup-site-art, .sup-fix .bad, .sup-fix .good { transition: none; } }

/* Branding — altes Logo → Pixel-Assembly zum neuen Logo */
.case--brand { background: #fff; }
.brand-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.brand-old { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2.5cqh; transition: opacity 0.25s linear; pointer-events: none; }
.bo-logo { position: relative; font-family: var(--sans); font-weight: 900; font-size: 16cqw; line-height: 1; display: inline-flex; align-items: baseline; letter-spacing: -0.02em; }
.bo-s { color: #45dcff; text-shadow: 0 0 3cqw rgba(69,220,255,0.95), 0 0 7cqw rgba(69,220,255,0.55); }
.bo-flow { color: #0c0e13; }
.bo-connect { position: absolute; top: 6%; left: 30%; font-size: 4.2cqw; font-weight: 700; letter-spacing: 0.1em; color: #14161b; }
.bo-sub { font-family: var(--sans); font-weight: 500; font-size: 4cqw; letter-spacing: 0.18em; color: #8e8e93; }

/* Schritt-Zähler-Karussell (aktuelle Zahl mittig & hell, Nachbarn grau, sliden) */
.macshow-nav { position: relative; width: 100%; max-width: 16rem; height: 3.4rem; margin: 0 auto; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 30%, #000 70%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 30%, #000 70%, transparent); }
.msn-track { position: absolute; top: 50%; left: 50%; display: flex; align-items: center; gap: 2.2rem;
  transform: translate(calc(-1 * var(--cx, 0px)), -50%); transition: transform 0.6s cubic-bezier(0.33, 1, 0.68, 1); }
.msn-num { flex: 0 0 auto; display: flex; flex-direction: column; align-items: center; gap: 0.42rem;
  color: rgba(20, 28, 46, 0.28); transform: scale(0.82);
  transition: color 0.5s var(--ease), transform 0.5s var(--ease), opacity 0.5s var(--ease), text-shadow 0.5s var(--ease); }
.msn-d { font-family: var(--serif); font-weight: 800; font-size: 1.1rem; line-height: 1; }
/* Progress-Balken NUR bei der vorderen (aktuellen) Zahl, Füllung weiß wie die Schrift */
.msn-bar { width: 1.9rem; height: 3px; border-radius: 2px; background: rgba(20, 28, 46, 0.14); overflow: hidden; opacity: 0; transition: opacity 0.35s var(--ease); }
.msn-num.is-current .msn-bar { opacity: 1; }
.msn-bar-fill { display: block; height: 100%; width: 0%; border-radius: 2px; background: currentColor; transition: width 0.18s linear; }
.msn-num.is-near { color: rgba(20, 28, 46, 0.45); }
.msn-num.is-far { opacity: 0.16; }
.msn-num.is-current { color: var(--ink); transform: scale(1.45); }
.caps--mac.is-dark .msn-num { color: rgba(255, 255, 255, 0.3); }
.caps--mac.is-dark .msn-num.is-near { color: rgba(255, 255, 255, 0.45); }
.caps--mac.is-dark .msn-num.is-current { color: #fff; text-shadow: 0 0 16px rgba(255, 255, 255, 0.6), 0 0 30px rgba(255, 255, 255, 0.3); }
.caps--mac.is-dark .msn-bar { background: rgba(255, 255, 255, 0.18); }

/* ---- Fallbeispiel 01: Serum-Landingpage (Container-Query-Einheiten = skaliert mit dem Screen) ---- */
.case--serum { background: #f4efe7; }
.srm-hero { position: relative; height: 100cqh; min-height: 100cqh; overflow: hidden; display: flex; align-items: center; }
.srm-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.srm-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(105deg, rgba(40, 26, 8, 0.62) 0%, rgba(40, 26, 8, 0.28) 46%, rgba(40, 26, 8, 0.05) 100%); }
.srm-nav { position: absolute; top: 4.2cqh; left: 5cqw; right: 5cqw; z-index: 2; display: flex; align-items: baseline; gap: 1.4cqw; color: #fff; }
.srm-nav b { font-family: var(--serif); font-weight: 800; font-size: 3.2cqw; letter-spacing: 0.18em; }
.srm-nav span { font-size: 1.5cqw; letter-spacing: 0.12em; text-transform: uppercase; opacity: 0.82; }
.srm-hero-in { position: relative; z-index: 2; padding: 0 5cqw; max-width: 70cqw; color: #fff; text-align: left; }
.srm-eyebrow { display: inline-block; font-size: 1.7cqw; letter-spacing: 0.2em; text-transform: uppercase; color: #f1d9a8; margin-bottom: 2cqh; }
.srm-h1 { font-family: var(--serif); font-weight: 800; font-size: 8cqw; line-height: 1.02; letter-spacing: -0.02em; margin: 0; }
.srm-h1 em { font-style: italic; color: #f3d49a; }
.srm-sub { font-size: 2.2cqw; line-height: 1.45; margin: 2.6cqh 0 0; max-width: 52cqw; color: rgba(255, 255, 255, 0.92); }
.srm-cta { display: inline-block; margin-top: 3.4cqh; padding: 1.7cqh 3.4cqw; border-radius: 999px; background: #fff; color: #2a1a08; font-weight: 700; font-size: 1.9cqw; letter-spacing: 0.01em; }
.srm-cta--dark { background: #2a1a08; color: #f3d49a; }
.srm-band { background: #f4efe7; padding: 7cqh 5cqw; display: grid; grid-template-columns: repeat(3, 1fr); gap: 3cqw; }
.srm-feat { text-align: left; }
.srm-feat-n { display: block; font-family: var(--serif); font-style: italic; font-size: 3cqw; color: #c79a4e; margin-bottom: 1cqh; }
.srm-feat b { display: block; font-size: 2.2cqw; color: #2a1a08; margin-bottom: 0.8cqh; }
.srm-feat span { font-size: 1.55cqw; line-height: 1.5; color: #6b5d49; }
.srm-foot { background: #efe6d6; padding: 7cqh 5cqw 8cqh; text-align: center; }
.srm-foot-q { font-family: var(--serif); font-style: italic; font-size: 2.6cqw; line-height: 1.4; color: #2a1a08; margin: 0 auto 3.4cqh; max-width: 62cqw; }

/* ---- Platzhalter 02–09: Browser-Skelett „Live-Beispiel folgt" ---- */
.case--ph { background: linear-gradient(150deg, #f7f9fc, #eef2f8); display: flex; align-items: center; justify-content: center; }
.ph-screen { width: 86cqw; max-width: 86cqw; }
.ph-top { display: flex; align-items: center; gap: 1.4cqw; padding-bottom: 3cqh; }
.ph-dot { width: 1.6cqw; height: 1.6cqw; border-radius: 50%; background: #cfd6e2; }
.ph-url { margin-left: 2cqw; font-size: 1.5cqw; letter-spacing: 0.06em; color: #9aa6b8; text-transform: uppercase; }
.ph-body { display: flex; flex-direction: column; gap: 2.4cqh; }
.ph-bar { height: 3.4cqh; border-radius: 1cqh; background: linear-gradient(90deg, #e3e9f2 0%, #eef2f8 50%, #e3e9f2 100%); background-size: 200% 100%; animation: phShimmer 1.8s linear infinite; }
.ph-bar--xl { width: 72%; height: 6cqh; }
.ph-bar--l { width: 54%; }
.ph-bar--m { width: 38%; }
.ph-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2cqw; margin-top: 2cqh; }
.ph-grid span { height: 16cqh; border-radius: 2cqh; background: linear-gradient(90deg, #e3e9f2 0%, #eef2f8 50%, #e3e9f2 100%); background-size: 200% 100%; animation: phShimmer 1.8s linear infinite; }
.ph-label { display: block; margin-top: 4cqh; font-family: var(--serif); font-weight: 800; font-size: 4cqw; color: #2b3344; letter-spacing: -0.02em; }
@keyframes phShimmer { from { background-position: 200% 0; } to { background-position: -200% 0; } }

/* reduced-motion / kein GSAP: kein Pin — Serum-Case statisch + Textliste aller Leistungen */
.macshow--static .laptop--show { --lw: min(86vw, 640px); }
.macshow--static .case { position: relative; opacity: 1; visibility: visible; }
.macshow--static .case:not(.case--serum) { display: none; }
.macshow--static .case-scroll { position: relative; }
.macshow-list { list-style: none; margin: clamp(2rem, 5vh, 3rem) auto 0; padding: 0; max-width: 64ch; text-align: left; display: grid; gap: 0.9rem; }
.macshow-list li { font-size: 1rem; line-height: 1.5; color: var(--muted); border-top: 1px solid var(--line); padding-top: 0.9rem; }
.macshow-list b { color: var(--ink); font-family: var(--serif); font-weight: 800; }
@media (prefers-reduced-motion: reduce) { .ph-bar, .ph-grid span { animation: none; } }
@media (max-width: 720px) {
  .laptop--show { --lw: min(90vw, 460px); }
  .macshow-text { min-height: clamp(108px, 17vh, 150px); }
}

/* ════════════════════════════════════════════════════════════════ GRADIENT BAND */
.gband { background: linear-gradient(120deg, #e8edf7 0%, #dbe6f4 40%, #f0e8f3 100%); padding: clamp(4rem, 10vh, 7rem) 0; overflow: clip; }
.gband-inner { display: grid; grid-template-columns: 0.8fr 1fr; align-items: center; gap: clamp(2rem, 6vw, 5rem); }
.gband-phone { display: grid; place-items: center; }
.gband-copy h2 { color: var(--ink); margin-bottom: 1.1rem; }
.gband-copy h2 em { color: var(--blue); }
.gband-copy > p { color: var(--ink-2); font-size: 1.1rem; max-width: 40ch; margin: 0 0 1.5rem; }
.gband-by { font-size: 0.92rem; color: var(--muted); border-top: 1px solid var(--line-2); padding-top: 1.1rem; }
.gband-by strong { color: var(--ink); }

/* Über-uns visual (Freiburg) in the gradient band */
.about-visual { position: relative; }
.about-visual img {
  width: 100%; height: auto; display: block; border-radius: var(--r-lg);
  box-shadow: 0 34px 64px -32px rgba(10, 16, 30, 0.5);
}
.about-badge {
  position: absolute; left: clamp(0.8rem, 2vw, 1.2rem); bottom: clamp(0.8rem, 2vw, 1.2rem);
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.8rem; font-weight: 500; color: #fff;
  background: rgba(12, 14, 18, 0.5); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.18); border-radius: var(--r-pill);
  padding: 0.45rem 0.9rem;
}
@media (max-width: 820px) { .gband-inner { grid-template-columns: 1fr; text-align: center; } .gband-copy > p { margin-inline: auto; } }

/* ════════════════════════════════════════════════════════════════ FINAL CTA */
.final { padding: clamp(5rem, 12vh, 8.5rem) 0 0; text-align: center; overflow: clip; }
.final-inner { display: flex; flex-direction: column; align-items: center; }
.final-sub { color: var(--muted); max-width: 46ch; margin: 1.1rem auto 0; font-size: 1.08rem; }
.final-phones { display: flex; justify-content: center; align-items: flex-start; gap: clamp(0.6rem, 1.5vw, 1.2rem); margin-top: clamp(3rem, 7vh, 5rem); height: clamp(220px, 30vw, 340px); overflow: hidden; }
.final-phones .device { --w: clamp(150px, 18vw, 220px); }
.final-phones .device:nth-child(odd) { transform: translateY(8%); }

/* ════════════════════════════════════════════════════════════════ FOOTER */
.footer { background: var(--dark); color: #fff; padding: clamp(3.5rem, 8vh, 6rem) 0 2.5rem; }
.footer-top { display: flex; justify-content: space-between; gap: 2rem; flex-wrap: wrap; padding-bottom: 2.5rem; border-bottom: 1px solid rgba(255, 255, 255, 0.12); }
.footer-brand { display: inline-flex; align-items: center; }
.footer-brand .footer-logo { width: auto; height: 34px; filter: brightness(0) invert(1); opacity: 0.92; }
.footer-cols { display: flex; gap: clamp(2rem, 6vw, 4.5rem); flex-wrap: wrap; }
.footer-col { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-label { font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255, 255, 255, 0.45); margin-bottom: 0.3rem; }
.footer-col a { font-size: 0.93rem; color: rgba(255, 255, 255, 0.78); transition: color 0.2s; width: fit-content; }
.footer-col a:hover { color: var(--cyan); }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding-top: 1.8rem; font-size: 0.8rem; color: rgba(255, 255, 255, 0.5); }

/* ════════════════════════════════════════════════════════════════ REVEAL */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out); }
.reveal.is-in { opacity: 1; transform: none; }

/* ════════════════════════════════════════════════════════════════ MOBILE */
@media (max-width: 560px) {
  /* stack the domain/email form like pop.site does on phones */
  .hero-form { flex-direction: column; width: 100%; }
  .hero-form-field { padding: 0 0.4rem 0 1.1rem; }
  .hero-form-btn { width: 100%; padding-block: 0.95rem; }
  /* tighter phones so the fan still peeks neighbours on a narrow screen */
  .phones { --phone-w: clamp(150px, 44vw, 200px); }
  .final-phones { --x: 0; height: clamp(180px, 52vw, 240px); }
  .footer-top { flex-direction: column; gap: 2rem; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
  .float-card { animation: none !important; }
  .device, .device-screen img { transition: none !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
}

/* ════════════════════════════════════════════════════════════════ RECHTLICHE SEITEN (Impressum/Datenschutz) */
.legal-page { background: var(--bg); color: var(--ink); }
.legal-head { border-bottom: 1px solid var(--line); background: var(--surface); }
.legal-head-inner { display: flex; align-items: center; justify-content: space-between; padding: 1rem 0; }
.legal-brand img { height: 30px; width: auto; display: block; }
.legal-back { font-size: 0.9rem; color: var(--muted); transition: color 0.25s var(--ease); }
.legal-back:hover { color: var(--ink); }
.legal { padding: clamp(3rem, 8vh, 6rem) 0 clamp(4rem, 10vh, 7rem); }
.legal-inner { max-width: 760px; }
.legal-kicker { font-family: var(--sans); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--blue); margin: 0 0 0.8rem; }
.legal h1 { font-family: var(--serif); font-weight: 800; font-size: clamp(2.2rem, 5vw, 3.4rem); letter-spacing: -0.03em; margin: 0 0 2.6rem; }
.legal section { margin-bottom: 2.2rem; }
.legal h2 { font-family: var(--serif); font-weight: 800; font-size: 1.18rem; margin: 0 0 0.6rem; color: var(--ink); }
.legal p { margin: 0 0 0.6rem; color: var(--muted); line-height: 1.7; font-size: 1rem; }
.legal a { color: var(--blue); text-decoration: underline; text-underline-offset: 2px; }
.legal strong { color: var(--ink); font-weight: 700; }
.legal-note { font-size: 0.9rem; color: var(--faint); }

/* ════════════════════════════════════════════════════════════════ COOKIE-/CONSENT-BANNER (DSGVO) */
.consent { position: fixed; left: 50%; bottom: clamp(0.8rem, 2vw, 1.6rem); transform: translate(-50%, 130%); z-index: 200; width: min(560px, calc(100vw - 1.6rem)); opacity: 0; transition: transform 0.5s var(--ease), opacity 0.4s var(--ease); }
.consent.is-on { transform: translate(-50%, 0); opacity: 1; }
.consent-inner { background: rgba(13, 16, 23, 0.96); color: #fff; border: 1px solid rgba(255, 255, 255, 0.12); border-radius: 16px; padding: 1.2rem 1.3rem; box-shadow: 0 26px 60px -26px rgba(0, 0, 0, 0.65); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.consent-text { margin: 0 0 1rem; font-size: 0.9rem; line-height: 1.55; color: rgba(255, 255, 255, 0.82); }
.consent-text a { color: #8fb4ff; text-decoration: underline; text-underline-offset: 2px; }
.consent-text strong { color: #fff; }
.consent-actions { display: flex; gap: 0.7rem; justify-content: flex-end; }
.consent-btn { font: inherit; font-size: 0.85rem; font-weight: 600; padding: 0.62rem 1.4rem; border-radius: 99px; cursor: pointer; border: 1px solid transparent; transition: background 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease), filter 0.2s var(--ease); }
.consent-btn--ghost { background: transparent; color: rgba(255, 255, 255, 0.72); border-color: rgba(255, 255, 255, 0.22); }
.consent-btn--ghost:hover { color: #fff; border-color: rgba(255, 255, 255, 0.45); }
.consent-btn--primary { background: var(--blue); color: #fff; }
.consent-btn--primary:hover { filter: brightness(1.08); }
@media (max-width: 480px) { .consent-actions { flex-direction: column-reverse; } .consent-btn { width: 100%; } }
@media (prefers-reduced-motion: reduce) { .consent { transition: opacity 0.3s var(--ease); transform: translate(-50%, 0); } }
