/* ─────────────────────────────────────────────────────────────
   Leadcraft Studio — High-End Premium Rebuild v2
   Centerpiece: scroll-driven assembly of eight building blocks
   ───────────────────────────────────────────────────────────── */

:root {
  --bg: #0a0a0a;
  --bg-2: #0e0e10;
  --bg-3: #131316;
  --bg-elev: #16161a;

  --line: rgba(255, 255, 255, 0.06);
  --line-strong: rgba(255, 255, 255, 0.12);

  --ink: #f5f5f5;
  --ink-2: rgba(245, 245, 245, 0.74);
  --ink-3: rgba(245, 245, 245, 0.5);
  --ink-4: rgba(245, 245, 245, 0.32);

  --gold: #e8c585;
  --gold-2: #f4d8a3;
  --gold-soft: rgba(232, 197, 133, 0.14);
  --gold-line: rgba(232, 197, 133, 0.35);

  --warn: #ff7a59;
  --ok: #7fe0a1;

  --radius-s: 10px;
  --radius-m: 16px;
  --radius-l: 22px;
  --radius-xl: 28px;
  --radius-xxl: 36px;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  --shadow-soft: 0 1px 0 rgba(255, 255, 255, 0.04) inset,
    0 24px 60px -32px rgba(0, 0, 0, 0.8);
  --shadow-card: 0 1px 0 rgba(255, 255, 255, 0.05) inset,
    0 40px 90px -40px rgba(0, 0, 0, 0.95);
  --shadow-stage: 0 60px 120px -40px rgba(0, 0, 0, 0.85),
    0 1px 0 rgba(255, 255, 255, 0.04) inset;

  --font-sans: "Inter Tight", -apple-system, BlinkMacSystemFont, "Segoe UI",
    Helvetica, Arial, sans-serif;
  --font-serif: "Instrument Serif", Georgia, serif;
  --font-mono: "JetBrains Mono", "SF Mono", Menlo, Consolas, monospace;

  --container: 1280px;
  --gutter: clamp(20px, 5vw, 56px);

  --assembly-p: 0;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  line-height: 1.5;
  letter-spacing: -0.01em;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

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

::selection { background: rgba(232, 197, 133, 0.35); color: #fff; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

.skip-link {
  position: absolute; top: -200px; left: 16px; z-index: 100;
  background: var(--gold); color: #1a1300; padding: 10px 14px;
  border-radius: 8px; font-weight: 500; font-size: 13px;
}
.skip-link:focus { top: 16px; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  position: relative;
}

/* ── Backgrounds ───────────────────────────────────────────── */

.bg-grain {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.5;
  mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.45 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.bg-vignette {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(120% 80% at 50% 0%, transparent 0%, rgba(0,0,0,0.6) 100%);
}

.scroll-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 2px;
  z-index: 70; background: var(--line); pointer-events: none;
}
.scroll-progress span {
  display: block; height: 100%; width: 0;
  background: linear-gradient(90deg, var(--gold), var(--gold-2));
}

/* ── Header ─────────────────────────────────────────────────── */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 10, 10, 0.7);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--line);
}

.header-row {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; height: 72px;
}

.brand {
  display: inline-flex; align-items: center; gap: 12px;
  font-weight: 600; letter-spacing: -0.02em; color: var(--ink);
}
.brand-mark {
  width: 26px; height: 26px; border-radius: 7px;
  background: linear-gradient(135deg, var(--gold-2) 0%, #d59109 80%);
  position: relative;
  box-shadow: 0 0 0 1px var(--gold-line), 0 10px 30px -10px rgba(232, 197, 133, 0.45);
}
.brand-mark::after { content: ""; position: absolute; inset: 7px; border-radius: 3px; background: var(--bg); }
.brand-name { font-size: 15px; }
.brand-dot { color: var(--gold); }

.site-nav { display: none; gap: 32px; font-size: 14px; }
.site-nav a { color: var(--ink-2); transition: color 0.2s var(--ease); }
.site-nav a:hover { color: var(--ink); }

.header-cta {
  display: inline-flex; align-items: center; gap: 8px;
  height: 40px; padding: 0 18px; border-radius: 999px;
  font-size: 13px; font-weight: 500;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.04);
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.25s var(--ease);
  will-change: transform;
}
.header-cta:hover { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.22); }

@media (min-width: 920px) { .site-nav { display: inline-flex; } }

/* ── Buttons ────────────────────────────────────────────────── */

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 10px; height: 52px; padding: 0 24px; border-radius: 999px;
  font-size: 15px; font-weight: 500;
  border: 1px solid transparent; cursor: pointer;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease),
    border-color 0.25s var(--ease), color 0.25s var(--ease),
    box-shadow 0.25s var(--ease);
  will-change: transform;
}
.btn-sm { height: 40px; padding: 0 18px; font-size: 13px; }

.btn-primary {
  background: linear-gradient(180deg, var(--gold-2) 0%, var(--gold) 100%);
  color: #1a1300;
  box-shadow: 0 18px 40px -18px rgba(232, 197, 133, 0.55),
    0 1px 0 rgba(255, 255, 255, 0.35) inset;
}
.btn-primary:hover {
  box-shadow: 0 22px 50px -16px rgba(232, 197, 133, 0.7),
    0 1px 0 rgba(255, 255, 255, 0.4) inset;
}

.btn-ghost { border-color: var(--line-strong); color: var(--ink); background: transparent; }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.04); border-color: rgba(255, 255, 255, 0.22); }

.btn-arrow { transition: transform 0.25s var(--ease); }
.btn:hover .btn-arrow { transform: translateX(3px); }

/* ── Typography helpers ─────────────────────────────────────── */

.eyebrow, .section-eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--ink-3); margin: 0;
}
.section-eyebrow::before {
  content: ""; width: 22px; height: 1px;
  background: linear-gradient(90deg, var(--gold), transparent);
}
.eyebrow-pulse {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--ok); box-shadow: 0 0 0 4px rgba(127, 224, 161, 0.16);
  animation: pulse 2.6s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(127, 224, 161, 0.25); }
  50% { box-shadow: 0 0 0 8px rgba(127, 224, 161, 0); }
}

.section-title {
  margin: 22px 0 0;
  font-size: clamp(34px, 5.4vw, 72px);
  line-height: 1; letter-spacing: -0.035em; font-weight: 600;
  max-width: 18ch;
}

.section-lead {
  margin: 22px 0 0;
  max-width: 60ch;
  font-size: clamp(15px, 1.4vw, 18px);
  color: var(--ink-2); line-height: 1.6;
}

.serif-accent {
  font-family: var(--font-serif); font-style: italic; font-weight: 400;
  letter-spacing: -0.02em;
}
.gold-grad {
  background: linear-gradient(180deg, var(--gold-2) 0%, var(--gold) 50%, #c9a063 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

.bullet { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); display: inline-block; }
.bullet.warn { background: var(--warn); }

.ic { width: 14px; height: 14px; display: inline-block; flex: none; position: relative; }
.ic.check::before {
  content: ""; position: absolute; inset: 0;
  background: var(--gold);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M2 7.5L5.5 11l7-8' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3C/svg%3E") no-repeat center / contain;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M2 7.5L5.5 11l7-8' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3C/svg%3E") no-repeat center / contain;
}
.ic.minus::before {
  content: ""; position: absolute; inset: 0;
  background: var(--warn);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M3 7h8' stroke='%23000' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center / contain;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M3 7h8' stroke='%23000' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center / contain;
}

/* ── HERO ──────────────────────────────────────────────────── */

.hero {
  position: relative;
  overflow: clip;
  padding: clamp(60px, 9vw, 140px) 0 clamp(80px, 10vw, 160px);
  z-index: 1;
}

.hero-bg {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
}
.hero-grid {
  position: absolute; inset: -10% -5%;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(60% 60% at 60% 30%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(60% 60% at 60% 30%, #000 30%, transparent 80%);
  animation: hero-grid-drift 28s linear infinite;
}
@keyframes hero-grid-drift { to { background-position: 80px 80px; } }
.hero-vignette {
  position: absolute; inset: 0;
  background:
    radial-gradient(60% 60% at 80% 30%, rgba(232,197,133,0.10), transparent 60%),
    radial-gradient(80% 60% at 10% 90%, rgba(255,255,255,0.03), transparent 60%);
}

.hero-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(48px, 7vw, 120px);
  align-items: center;
}
@media (min-width: 1024px) {
  .hero-layout { grid-template-columns: 1.05fr 0.95fr; }
}

.hero-title {
  margin: 32px 0 0;
  font-size: clamp(46px, 8.5vw, 108px);
  font-weight: 600; line-height: 0.94;
  letter-spacing: -0.045em;
  max-width: 14ch;
}

.hero-lead {
  margin: 32px 0 0; max-width: 52ch;
  font-size: clamp(16px, 1.5vw, 20px); line-height: 1.5;
  color: var(--ink-2);
}

.hero-actions {
  display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px;
}

.trust-row {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 24px; margin: 48px 0 0; padding: 0;
  list-style: none; font-size: 13px; color: var(--ink-3);
}
.trust-row li { display: inline-flex; align-items: center; gap: 10px; }
.trust-row .bullet { background: var(--gold); }
@media (min-width: 720px) { .trust-row { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* Hero stage: floating modules with mouse parallax */
.hero-stage {
  position: relative;
  min-height: clamp(360px, 50vw, 540px);
  perspective: 1600px;
  transform-style: preserve-3d;
  --mx: 0; --my: 0;
}

.hero-mod {
  position: absolute;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 18px;
  border-radius: 14px;
  border: 1px solid var(--line-strong);
  background: linear-gradient(180deg, #18181c 0%, #0e0e10 100%);
  box-shadow: var(--shadow-card);
  font-size: 14px; font-weight: 500;
  white-space: nowrap;
  transform: translate3d(0, 0, 0) rotateX(0) rotateY(0);
  transition: transform 0.6s var(--ease-out);
  will-change: transform;
}
.hero-mod span:first-child {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--gold);
  letter-spacing: 0.1em;
}
.hero-mod small {
  display: block;
  margin-top: 4px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-3);
}
.hero-mod--strategy { top: 4%; left: 38%; animation: float-a 14s ease-in-out infinite; }
.hero-mod--design { top: 26%; left: 8%; animation: float-b 16s ease-in-out -3s infinite; }
.hero-mod--text { top: 18%; right: 4%; animation: float-c 18s ease-in-out -6s infinite; }
.hero-mod--tech { top: 52%; left: 26%; animation: float-a 17s ease-in-out -8s infinite; }
.hero-mod--conversion { bottom: 12%; right: 14%; animation: float-b 15s ease-in-out -2s infinite; }
.hero-mod--anfrage {
  bottom: 2%; left: 12%;
  padding: 16px 22px 14px;
  animation: float-c 19s ease-in-out -10s infinite;
  border-color: var(--gold-line);
  background:
    radial-gradient(80% 80% at 0% 0%, rgba(232,197,133,0.10), transparent 60%),
    linear-gradient(180deg, #18181c, #0e0e10);
}
.hero-mod--anfrage::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(232,197,133,0.18);
  animation: pulse 2.2s ease-in-out infinite;
}

@keyframes float-a { 0%,100% { transform: translate3d(0,0,0);} 50% { transform: translate3d(8px,-12px,0);} }
@keyframes float-b { 0%,100% { transform: translate3d(0,0,0);} 50% { transform: translate3d(-10px,8px,0);} }
@keyframes float-c { 0%,100% { transform: translate3d(0,0,0);} 50% { transform: translate3d(6px,10px,0);} }

@media (max-width: 720px) {
  .hero-stage { min-height: 320px; }
  .hero-mod { font-size: 12px; padding: 10px 14px; }
  .hero-mod span:first-child { font-size: 10px; }
}

.hero-cue {
  position: absolute;
  bottom: 32px; left: 50%; transform: translateX(-50%);
  display: inline-flex; flex-direction: column; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 10px;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-3);
  z-index: 2;
}
.hero-cue-line {
  display: block; width: 1px; height: 40px;
  background: linear-gradient(180deg, var(--gold), transparent);
  animation: hero-cue 2s ease-in-out infinite;
}
@keyframes hero-cue {
  0%, 100% { transform: scaleY(0.4); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
}
@media (max-width: 720px) { .hero-cue { display: none; } }

/* ── Section base ──────────────────────────────────────────── */

.section {
  position: relative;
  padding: clamp(100px, 12vw, 180px) 0;
  z-index: 1;
}

.section + .section::before {
  content: ""; position: absolute; top: 0; left: 50%;
  width: min(900px, 100% - 2 * var(--gutter));
  transform: translateX(-50%); height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-strong) 30%, var(--line-strong) 70%, transparent);
}

/* ───────────────────────────────────────────────────────────
   ASSEMBLY — sticky scroll, 8 building blocks → website
   ─────────────────────────────────────────────────────────── */

.assembly {
  position: relative;
  z-index: 1;
}

.assembly-intro {
  padding-top: clamp(80px, 10vw, 140px);
  padding-bottom: clamp(40px, 6vw, 80px);
}

.assembly-stage {
  position: relative;
  /* Tall enough for an unhurried, cinematic assembly */
  height: clamp(2400px, 360vh, 4800px);
}

.assembly-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  min-height: 640px;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.assembly-sticky::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(70% 60% at 50% 30%, rgba(232,197,133,0.08), transparent 60%),
    radial-gradient(60% 60% at 50% 100%, rgba(0,0,0,0.55), transparent 70%);
  pointer-events: none;
}

.assembly-scene {
  position: relative;
  width: min(92vw, 1080px);
  aspect-ratio: 16 / 11;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: repeat(10, 1fr);
  gap: clamp(8px, 1vw, 14px);
  transform-style: preserve-3d;
  perspective: 1800px;
}

.assembly-frame {
  position: absolute;
  inset: -clamp(20px, 2.4vw, 36px);
  border: 1px solid var(--line-strong);
  border-radius: clamp(20px, 2vw, 28px);
  background: rgba(255, 255, 255, 0.01);
  pointer-events: none;
  opacity: 0;
  transform: scale(0.96);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
  box-shadow: var(--shadow-stage);
}
.assembly-frame-bar {
  position: absolute;
  top: 0; left: 0; right: 0;
  display: flex; align-items: center; gap: 14px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
  border-radius: clamp(20px, 2vw, 28px) clamp(20px, 2vw, 28px) 0 0;
  transform: translateY(-100%);
  transition: transform 0.5s var(--ease-out) 0.1s;
}
.assembly[data-state="assembled"] .assembly-frame { opacity: 1; transform: scale(1); }
.assembly[data-state="assembled"] .assembly-frame-bar { transform: translateY(0); }

.assembly-frame .dots { display: inline-flex; gap: 6px; }
.assembly-frame .dots span {
  width: 10px; height: 10px; border-radius: 50%;
  background: rgba(255,255,255,0.12);
}
.assembly-frame .dots span:nth-child(1) { background: rgba(255,122,89,0.5); }
.assembly-frame .dots span:nth-child(2) { background: rgba(232,197,133,0.55); }
.assembly-frame .dots span:nth-child(3) { background: rgba(127,224,161,0.5); }
.assembly-frame .url {
  font-family: var(--font-mono); font-size: 12px; color: var(--ink-2);
  background: rgba(255,255,255,0.03); border: 1px solid var(--line);
  padding: 6px 12px; border-radius: 999px;
}

/* Connecting lines */
.assembly-lines {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 1;
}
.assembly-lines .line {
  stroke: var(--gold);
  stroke-width: 0.8;
  stroke-linecap: round;
  stroke-dasharray: 600;
  stroke-dashoffset: 600;
  opacity: 0.55;
  fill: none;
}
.assembly[data-state="assembling"] .assembly-lines .line { animation: line-draw 1.4s var(--ease-out) forwards; }
.assembly[data-state="assembling"] .line-1 { animation-delay: 0s; }
.assembly[data-state="assembling"] .line-2 { animation-delay: 0.18s; }
.assembly[data-state="assembling"] .line-3 { animation-delay: 0.36s; }
.assembly[data-state="assembling"] .line-4 { animation-delay: 0.54s; }
.assembly[data-state="assembling"] .line-5 { animation-delay: 0.72s; }
@keyframes line-draw { to { stroke-dashoffset: 0; } }

/* Module base */
.assembly-mod {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: clamp(12px, 1.4vw, 18px);
  border-radius: 12px;
  border: 1px solid var(--line-strong);
  background: linear-gradient(180deg, #16161a, #0e0e10);
  box-shadow: var(--shadow-card);
  font-size: clamp(11px, 1vw, 14px);
  /* Start hidden — JS will animate transforms */
  opacity: 0;
  will-change: transform, opacity;
  transform-style: preserve-3d;
}

.mod-num {
  font-family: var(--font-mono);
  font-size: clamp(10px, 0.85vw, 12px);
  color: var(--gold);
  letter-spacing: 0.14em;
}
.mod-meta strong {
  display: block;
  font-size: clamp(13px, 1.2vw, 16px);
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--ink);
}
.mod-meta span {
  display: block;
  font-size: clamp(10px, 0.85vw, 12px);
  color: var(--ink-3);
  margin-top: 2px;
}

/* Module-specific bodies */
.mod-tag {
  align-self: start;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--gold-soft);
  color: var(--gold);
  margin-top: auto;
}

.mod-bars { margin-top: auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; height: 12px; }
.mod-bars span { background: rgba(232,197,133,0.5); border-radius: 2px; }
.mod-bars span:nth-child(1) { opacity: 0.4; }
.mod-bars span:nth-child(2) { opacity: 0.65; }
.mod-bars span:nth-child(3) { opacity: 0.85; }
.mod-bars span:nth-child(4) { opacity: 1; }

.mod-hero {
  margin-top: auto;
  display: grid; gap: 6px;
  padding: 10px;
  border-radius: 8px;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--line);
}
.mod-hero-pill {
  font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.12em;
  color: var(--gold); padding: 3px 8px; border-radius: 999px;
  background: var(--gold-soft); width: max-content;
}
.mod-hero-h1 {
  font-family: var(--font-serif); font-style: italic;
  font-size: clamp(13px, 1.2vw, 15px); color: var(--ink);
}
.mod-hero-cta {
  font-size: 10px; color: #1a1300; background: var(--gold);
  padding: 4px 8px; border-radius: 999px; width: max-content; font-weight: 500;
}

.mod-text-lines { display: grid; gap: 5px; margin-top: auto; }
.mod-text-lines span {
  display: block; height: 4px; border-radius: 2px;
  background: rgba(255,255,255,0.08);
}
.mod-text-lines span.short { width: 60%; }

.mod-chips { margin-top: auto; display: flex; gap: 4px; flex-wrap: wrap; }
.mod-chips span {
  font-family: var(--font-mono);
  font-size: 9px; letter-spacing: 0.08em;
  padding: 3px 8px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  color: var(--ink-2);
  background: rgba(255,255,255,0.02);
}

.mod-seo {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 8px; align-items: center;
  margin-top: auto;
}
.mod-seo .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 3px rgba(127,224,161,0.18); }
.mod-seo .bar { height: 4px; border-radius: 2px; background: linear-gradient(90deg, var(--gold), rgba(232,197,133,0.2)); }
.mod-seo .score { font-family: var(--font-mono); font-size: 9px; color: var(--gold); letter-spacing: 0.1em; }

.mod-cta-mini {
  margin-top: auto; align-self: start;
  background: linear-gradient(180deg, var(--gold-2), var(--gold));
  color: #1a1300; font-weight: 500;
  font-size: 10px; padding: 5px 10px; border-radius: 999px;
}

.mod-inbox {
  margin-top: auto;
  display: grid; grid-template-columns: auto 1fr auto;
  gap: 8px; align-items: center;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255,255,255,0.02);
  font-size: 10px;
}
.mod-inbox .inbox-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 3px rgba(232,197,133,0.18);
}
.mod-inbox .inbox-time { font-family: var(--font-mono); color: var(--ink-3); }

/* Grid positions (the final assembled state) */
.assembly-mod--strategy  { grid-column: 1 / -1;  grid-row: 1 / 2; flex-direction: row; align-items: center; }
.assembly-mod--struktur  { grid-column: 1 / 5;   grid-row: 2 / 5; }
.assembly-mod--design    { grid-column: 5 / -1;  grid-row: 2 / 7; }
.assembly-mod--texte     { grid-column: 1 / 5;   grid-row: 5 / 8; }
.assembly-mod--technik   { grid-column: 5 / 9;   grid-row: 7 / 10; }
.assembly-mod--seo       { grid-column: 9 / -1;  grid-row: 7 / 10; }
.assembly-mod--conversion{ grid-column: 1 / 5;   grid-row: 8 / -1; }
.assembly-mod--anfrage   { grid-column: 5 / -1;  grid-row: 10 / -1; flex-direction: row; align-items: center; }

.assembly-mod--strategy .mod-meta { flex: 1; }
.assembly-mod--anfrage .mod-meta { flex: 1; }

@media (max-width: 760px) {
  .assembly-stage { height: clamp(1800px, 280vh, 3200px); }
  .assembly-scene {
    aspect-ratio: 9 / 14;
    grid-template-columns: repeat(6, 1fr);
    grid-template-rows: repeat(12, 1fr);
  }
  .assembly-mod--strategy   { grid-column: 1 / -1; grid-row: 1 / 2; }
  .assembly-mod--struktur   { grid-column: 1 / 4;  grid-row: 2 / 5; }
  .assembly-mod--design     { grid-column: 4 / -1; grid-row: 2 / 7; }
  .assembly-mod--texte      { grid-column: 1 / 4;  grid-row: 5 / 8; }
  .assembly-mod--technik    { grid-column: 4 / -1; grid-row: 7 / 10; }
  .assembly-mod--seo        { grid-column: 1 / 4;  grid-row: 8 / 11; }
  .assembly-mod--conversion { grid-column: 4 / -1; grid-row: 10 / 12; }
  .assembly-mod--anfrage    { grid-column: 1 / -1; grid-row: 12 / -1; }
  .assembly-mod { padding: 10px; gap: 4px; font-size: 11px; }
}

/* Sticky caption strip */
.assembly-caption {
  position: absolute;
  left: 0; right: 0;
  bottom: clamp(20px, 4vh, 48px);
  z-index: 3;
  pointer-events: none;
}
.assembly-caption ol {
  margin: 0 auto;
  padding: 12px clamp(12px, 2vw, 22px);
  list-style: none;
  display: flex;
  gap: clamp(8px, 1.5vw, 18px);
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: rgba(14, 14, 14, 0.7);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  width: max-content;
  max-width: calc(100% - 32px);
  overflow-x: auto;
  scrollbar-width: none;
  font-size: 12px;
  color: var(--ink-3);
}
.assembly-caption ol::-webkit-scrollbar { display: none; }
.assembly-caption li {
  display: inline-flex; align-items: center; gap: 6px;
  white-space: nowrap;
  transition: color 0.4s var(--ease);
}
.assembly-caption li span {
  font-family: var(--font-mono); font-size: 10px;
  color: var(--ink-4); transition: color 0.4s var(--ease);
}
.assembly-caption li.is-active { color: var(--ink); }
.assembly-caption li.is-active span { color: var(--gold); }

.assembly-outro {
  padding: clamp(40px, 6vw, 80px) 0 clamp(80px, 10vw, 140px);
  text-align: center;
}
.assembly-outro-line {
  margin: 0; font-size: clamp(20px, 2.4vw, 28px);
  color: var(--ink-2);
}
.assembly-outro-line .serif-accent { color: var(--gold); }

/* ── PROJECTS ─────────────────────────────────────────────── */

.section-projects {
  background:
    radial-gradient(70% 60% at 100% 0%, rgba(155, 185, 255, 0.04), transparent 70%),
    var(--bg);
}

.projects-head { max-width: 800px; }

.projects-list {
  margin: 64px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 28px;
}

.project-card {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius-xxl);
  padding: clamp(28px, 4vw, 48px);
  background: linear-gradient(180deg, var(--bg-2) 0%, var(--bg) 100%);
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
  transition: border-color 0.3s var(--ease), transform 0.5s var(--ease-out);
  will-change: transform;
  transform-style: preserve-3d;
  overflow: hidden;
  isolation: isolate;
}
.project-card::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(420px 280px at var(--mx, 30%) var(--my, 30%), rgba(232,197,133, 0.06), transparent 60%);
  opacity: 0; transition: opacity 0.4s var(--ease); z-index: -1;
}
.project-card:hover { border-color: var(--line-strong); }
.project-card:hover::before { opacity: 1; }

@media (min-width: 980px) {
  .project-card { grid-template-columns: 0.95fr 1.05fr; gap: 64px; }
  .project-card--reverse { grid-template-columns: 1.05fr 0.95fr; }
  .project-card--reverse .project-body { order: 2; }
  .project-card--reverse .project-visual { order: 1; }
}

.project-body { display: grid; gap: 22px; }
.project-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ink-3); margin: 0;
}
.project-title {
  margin: 0;
  font-size: clamp(24px, 2.6vw, 36px);
  line-height: 1.1; letter-spacing: -0.025em; font-weight: 600;
}

.project-flow { margin: 0; padding: 0; display: grid; gap: 14px; }
.project-flow div {
  display: grid; grid-template-columns: 80px 1fr; gap: 20px;
  padding: 12px 0; border-top: 1px solid var(--line);
}
.project-flow dt {
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-3);
}
.project-flow dd { margin: 0; font-size: 14px; color: var(--ink-2); line-height: 1.5; }
.project-flow strong {
  color: var(--gold); font-weight: 500;
  font-family: var(--font-mono); letter-spacing: -0.01em;
}

.project-cta {
  display: inline-flex; align-items: center; gap: 10px;
  align-self: start; height: 44px; padding: 0 22px;
  border-radius: 999px; font-size: 14px; font-weight: 500;
  color: var(--ink);
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line-strong);
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease), color 0.25s var(--ease);
}
.project-cta:hover { background: var(--gold); color: #1a1300; border-color: var(--gold); }
.project-cta svg { transition: transform 0.25s var(--ease); }
.project-cta:hover svg { transform: translateX(3px); }

.project-visual { position: relative; perspective: 1400px; isolation: isolate; }

.mockup {
  border-radius: var(--radius-l); overflow: hidden;
  background: #0c0c0e;
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow-card);
  position: relative;
  transition: transform 0.6s var(--ease-out);
  transform-style: preserve-3d;
}
.mockup::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(400px 240px at var(--mx, 50%) var(--my, 0%), rgba(232,197,133, 0.10), transparent 60%);
  opacity: 0; transition: opacity 0.4s var(--ease); z-index: 2; pointer-events: none;
}
.project-card:hover .mockup::before { opacity: 1; }

.mockup-browser header {
  display: flex; gap: 6px; padding: 12px 14px;
  border-bottom: 1px solid var(--line); background: rgba(255,255,255,0.02);
}
.mockup-browser header span {
  width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,0.1);
}
.mockup-browser header span:nth-child(1) { background: rgba(255,122,89,0.5); }
.mockup-browser header span:nth-child(2) { background: rgba(232,197,133,0.55); }
.mockup-browser header span:nth-child(3) { background: rgba(127,224,161,0.5); }

.mockup-body { padding: 28px; display: grid; gap: 22px; min-height: 280px; }
.mockup-row { display: grid; gap: 12px; }

.mockup-pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px; border-radius: 999px;
  background: var(--gold-soft); color: var(--gold);
  font-family: var(--font-mono); font-size: 10px;
  letter-spacing: 0.14em; text-transform: uppercase; width: max-content;
}
.mockup-pill::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 3px rgba(232,197,133,0.18);
}
.mockup-h1 {
  font-family: var(--font-serif); font-style: italic;
  font-size: 28px; line-height: 1.05; letter-spacing: -0.02em;
  color: var(--ink);
}
.mockup-cta {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px;
  background: var(--gold); color: #1a1300;
  border-radius: 999px; font-size: 13px; font-weight: 500;
  width: max-content;
}

.mockup-grid { grid-template-columns: repeat(3, 1fr); }
.mockup-grid span {
  height: 60px; border-radius: 10px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line);
}

.mockup-bars { grid-template-columns: repeat(6, 1fr); align-items: end; height: 90px; }
.mockup-bars span {
  display: block;
  border-radius: 4px 4px 0 0;
  background: linear-gradient(180deg, var(--gold), rgba(232,197,133,0.18));
}

.mockup-tiles { grid-template-columns: repeat(3, 1fr); }
.mockup-tiles span {
  height: 56px; display: grid; place-items: center;
  border-radius: 12px; background: rgba(255,255,255,0.03);
  border: 1px solid var(--line);
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-2);
}

.mockup-map {
  position: relative; height: 90px; border-radius: 12px;
  background:
    repeating-linear-gradient(45deg, rgba(255,255,255,0.03) 0 12px, transparent 12px 24px),
    rgba(255,255,255,0.02);
  border: 1px solid var(--line);
}
.map-pin {
  position: absolute; top: 50%; left: 24%;
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 6px rgba(232,197,133,0.18);
  transform: translateY(-50%);
}
.map-trail {
  position: absolute; top: 50%; left: 26%; right: 12%;
  height: 1.5px; transform: translateY(-50%);
  background: linear-gradient(90deg, var(--gold), transparent);
}

/* ── SERVICES ─────────────────────────────────────────────── */

.section-services {
  background:
    radial-gradient(60% 60% at 0% 100%, rgba(232,197,133, 0.04), transparent 70%),
    var(--bg);
}

.services-head { max-width: 800px; margin-bottom: 64px; }

.services-grid {
  display: grid; grid-template-columns: 1fr; gap: 18px;
}
@media (min-width: 980px) {
  .services-grid { grid-template-columns: 1.5fr 1fr 1fr; gap: 22px; }
}

.service {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--bg-2);
  padding: 32px;
  display: grid; gap: 20px; align-content: start;
  transition: border-color 0.3s var(--ease), transform 0.5s var(--ease-out);
  will-change: transform; transform-style: preserve-3d;
}
.service:hover { border-color: var(--line-strong); }

.service-main {
  background:
    radial-gradient(80% 80% at 0% 0%, rgba(232,197,133,0.10), transparent 60%),
    linear-gradient(180deg, var(--bg-2), var(--bg));
  border-color: var(--gold-line);
  padding: clamp(32px, 4vw, 48px);
  box-shadow: var(--shadow-card);
}

.service-flag {
  position: absolute; top: 22px; right: 22px;
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-mono); font-size: 10px;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--gold); background: var(--gold-soft);
  padding: 6px 10px; border-radius: 999px;
}

.service-kicker {
  margin: 0; font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-3);
}
.service h3 {
  margin: 6px 0 0;
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 600; letter-spacing: -0.025em; line-height: 1.1;
}
.service-main h3 { font-size: clamp(28px, 3vw, 40px); }

.service p, .service-lead { margin: 0; font-size: 14px; color: var(--ink-2); line-height: 1.55; }

.service-bullets {
  list-style: none; padding: 20px 0; margin: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: grid; gap: 12px;
}
.service-bullets li {
  display: grid; grid-template-columns: 14px 1fr; gap: 12px; align-items: center;
  font-size: 14px; color: var(--ink-2);
}

.service footer {
  display: flex; align-items: center; justify-content: space-between;
  gap: 18px; flex-wrap: wrap;
}
.service-price { display: grid; }
.service-price-kicker {
  font-family: var(--font-mono); font-size: 10px;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-3);
}
.service-price strong {
  font-size: 28px; font-weight: 600; letter-spacing: -0.025em;
  font-family: var(--font-mono);
}
.service-price-meta { font-size: 11px; color: var(--ink-3); margin-top: 2px; }
.service-price-small strong { font-size: 22px; }

.service-link { font-size: 14px; color: var(--gold); font-weight: 500; transition: color 0.2s var(--ease); }
.service-link:hover { color: var(--gold-2); }

.services-foot { margin: 36px 0 0; font-size: 13px; color: var(--ink-3); text-align: center; }

/* ── PROCESS (cinematic timeline) ─────────────────────────── */

.section-process {
  background:
    radial-gradient(50% 50% at 50% 0%, rgba(232,197,133, 0.04), transparent 70%),
    var(--bg);
}

.process-head { max-width: 800px; margin-bottom: 64px; }

.process-track { position: relative; }
.process-rail {
  position: absolute;
  left: 22px; top: 14px; bottom: 14px; width: 1px;
  background: var(--line); z-index: 0;
}
.process-rail-fill {
  display: block; width: 100%;
  background: linear-gradient(180deg, var(--gold), transparent);
  transform-origin: top; transform: scaleY(0);
  transition: transform 0.6s var(--ease-out); height: 100%;
}
@media (min-width: 880px) {
  .process-rail {
    left: 0; right: 0; top: 60px; bottom: auto;
    width: 100%; height: 1px;
  }
  .process-rail-fill {
    width: 100%; height: 100%;
    background: linear-gradient(90deg, var(--gold), transparent);
    transform-origin: left; transform: scaleX(0);
    transition: transform 0.6s var(--ease-out);
  }
}

.process-steps {
  position: relative; z-index: 1;
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: 1fr; gap: 32px;
}
@media (min-width: 880px) {
  .process-steps { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
}

.process-step {
  position: relative;
  padding: 28px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  background: var(--bg-2);
  display: grid; gap: 14px;
  transition: border-color 0.3s var(--ease), transform 0.4s var(--ease-out), background 0.3s var(--ease);
}
.process-step.is-active {
  border-color: var(--gold);
  background:
    radial-gradient(60% 60% at 20% 0%, rgba(232,197,133,0.08), transparent 70%),
    var(--bg-2);
  transform: translateY(-4px);
}

.process-num {
  font-family: var(--font-serif); font-style: italic;
  font-size: 56px; line-height: 1; letter-spacing: -0.04em;
  color: var(--ink-3); transition: color 0.3s var(--ease);
}
.process-step.is-active .process-num { color: var(--gold); }

.process-step h3 { margin: 0; font-size: 22px; font-weight: 600; letter-spacing: -0.02em; }
.process-step p { margin: 0; color: var(--ink-2); font-size: 14px; line-height: 1.55; }
.process-meta {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 6px; padding: 6px 12px;
  border: 1px solid var(--line); border-radius: 999px;
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.08em; color: var(--ink-3);
  text-transform: uppercase; width: max-content;
}

/* ── CONTACT ──────────────────────────────────────────────── */

.section-contact {
  background:
    radial-gradient(60% 60% at 100% 0%, rgba(232,197,133, 0.06), transparent 70%),
    radial-gradient(60% 60% at 0% 100%, rgba(155, 185, 255, 0.03), transparent 70%),
    var(--bg);
}

.contact-grid {
  display: grid; grid-template-columns: 1fr;
  gap: 56px; align-items: start;
}
@media (min-width: 980px) {
  .contact-grid { grid-template-columns: 0.95fr 1.05fr; gap: 64px; }
}

.contact-copy .section-title { margin-top: 22px; }

.trust-card {
  margin: 40px 0 0; padding: 28px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(80% 60% at 100% 0%, rgba(232,197,133,0.07), transparent 60%),
    linear-gradient(180deg, var(--bg-2), var(--bg));
  display: grid; gap: 24px; box-shadow: var(--shadow-soft);
}
.trust-block h3 {
  margin: 0 0 14px; font-size: 13px;
  font-family: var(--font-mono);
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-2);
}
.trust-block--warn h3 { color: #ffb39e; }
.trust-block ul {
  list-style: none; padding: 0; margin: 0;
  display: grid; gap: 10px; font-size: 14px; color: var(--ink-2);
}
.trust-block li { display: grid; grid-template-columns: 14px 1fr; gap: 12px; align-items: center; }

.trust-wa {
  display: grid; grid-template-columns: 44px 1fr;
  gap: 16px; align-items: center;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  background: rgba(255,255,255,0.02);
  color: var(--ink);
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.trust-wa:hover { border-color: var(--gold); background: var(--gold-soft); }
.trust-wa-icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
  color: #fff; display: grid; place-items: center;
}
.trust-wa strong { display: block; font-size: 14px; font-weight: 500; }
.trust-wa small { display: block; margin-top: 2px; font-size: 12px; color: var(--ink-3); }

.contact-form {
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, var(--bg-2), var(--bg));
  padding: clamp(24px, 3vw, 36px);
  display: grid; gap: 18px;
  box-shadow: var(--shadow-card);
}
.form-row { display: grid; gap: 18px; }
@media (min-width: 640px) { .form-row-two { grid-template-columns: 1fr 1fr; } }

.field label {
  display: block; font-size: 12px;
  letter-spacing: 0.06em; color: var(--ink-3); margin-bottom: 8px;
}
.field input, .field select, .field textarea {
  width: 100%; height: 48px; padding: 0 16px;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--line);
  border-radius: 12px; color: var(--ink); font-size: 15px;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}
.field textarea { height: auto; padding: 14px 16px; resize: vertical; min-height: 112px; line-height: 1.5; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--gold); background: rgba(232,197,133,0.04);
}
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23888' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.consent {
  display: grid; grid-template-columns: 18px 1fr;
  gap: 12px; align-items: start;
  font-size: 12px; color: var(--ink-3); line-height: 1.5;
}
.consent input { margin-top: 3px; accent-color: var(--gold); }
.consent a { color: var(--ink-2); text-decoration: underline; text-underline-offset: 2px; }
.consent a:hover { color: var(--ink); }

.form-foot {
  display: flex; align-items: center; gap: 18px;
  flex-wrap: wrap; justify-content: space-between;
}
.form-alt { font-size: 13px; color: var(--ink-3); text-decoration: underline; text-underline-offset: 3px; }
.form-alt:hover { color: var(--ink); }

/* ── FOOTER ───────────────────────────────────────────────── */

.site-footer {
  border-top: 1px solid var(--line);
  padding: 64px 0 28px; margin-top: 60px;
  font-size: 13px; color: var(--ink-3);
}
.footer-grid {
  display: grid; grid-template-columns: 1fr; gap: 36px;
}
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; } }
.footer-brand p { margin: 16px 0 0; max-width: 38ch; font-size: 13px; color: var(--ink-3); line-height: 1.6; }
.site-footer nav h4 {
  margin: 0 0 14px; font-size: 11px;
  font-family: var(--font-mono);
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-2);
}
.site-footer nav a {
  display: block; color: var(--ink-3);
  padding: 5px 0; transition: color 0.2s var(--ease);
}
.site-footer nav a:hover { color: var(--ink); }
.footer-bottom {
  margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; justify-content: space-between;
  gap: 16px; font-size: 12px; color: var(--ink-4);
}

/* ── Sticky CTA ───────────────────────────────────────────── */

.sticky-cta {
  position: fixed;
  bottom: 16px; left: 16px; right: 16px;
  z-index: 55;
  padding: 12px 14px 12px 22px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; border-radius: 999px;
  background: rgba(15, 15, 17, 0.92);
  border: 1px solid var(--line-strong);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  font-size: 14px;
  transform: translateY(140%);
  transition: transform 0.5s var(--ease-out);
  box-shadow: 0 24px 60px -20px rgba(0,0,0,0.7);
}
.sticky-cta.show { transform: translateY(0); }
@media (min-width: 880px) { .sticky-cta { display: none; } }

/* ── Reveal motion ─────────────────────────────────────────── */

[data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
  will-change: opacity, transform;
}
[data-reveal][data-delay="1"] { transition-delay: 0.08s; }
[data-reveal][data-delay="2"] { transition-delay: 0.16s; }
[data-reveal][data-delay="3"] { transition-delay: 0.24s; }
[data-reveal][data-delay="4"] { transition-delay: 0.32s; }
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }

/* ── Reduced motion ───────────────────────────────────────── */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  html { scroll-behavior: auto; }
  [data-reveal] { opacity: 1; transform: none; }
  .hero-grid, .hero-mod { animation: none; }

  /* Static reduced assembly: show all modules in their final grid positions */
  .assembly-mod { opacity: 1 !important; transform: none !important; }
  .assembly-frame { opacity: 1; transform: none; }
  .assembly-frame-bar { transform: none; }
  .assembly-lines .line { stroke-dashoffset: 0 !important; }
}

/* ── No-JS graceful fallback ──────────────────────────────── */

body[data-no-js] [data-reveal] { opacity: 1; transform: none; }
body[data-no-js] .sticky-cta { display: none; }
body[data-no-js] .assembly-mod { opacity: 1; }
body[data-no-js] .assembly-frame { opacity: 1; transform: none; }
body[data-no-js] .assembly-frame-bar { transform: none; }
