/* ════════════════════════════════════════════════════════════
   E-LICHT & TON — DESIGN SYSTEM v3
   Hallmark · genre: atmospheric · macrostructure: Marquee Hero
   design-system: design.md · designed-as-app
   ════════════════════════════════════════════════════════════ */

/* ════════════════════════════════════════════════════════════
   DESIGN TOKENS
   ════════════════════════════════════════════════════════════ */
:root {
  --accent: #39FF14;
  --accent-dim: #26c00d;
  --accent-glow: rgba(57, 255, 20, 0.35);
  --accent-glow-soft: rgba(57, 255, 20, 0.08);
  --accent-glow-medium: rgba(57, 255, 20, 0.18);
  --color-gold: #FFB300;
  --color-blue: #008CFF;

  --bg-primary: #040406;
  --bg-deep:   #030305;
  --bg-card: rgba(15, 15, 15, 0.45);
  --bg-card-hover: rgba(22, 22, 22, 0.7);
  --bg-elevated: rgba(26, 26, 26, 0.85);

  --text-primary: #ffffff;
  --text-bright: #fbfbfb;
  --text-secondary: #adadad;
  --text-faint: #6c6c6c;

  --line: rgba(255, 255, 255, 0.05);
  --line-bright: rgba(255, 255, 255, 0.12);
  --glass-border: rgba(255, 255, 255, 0.06);
  --glass-border-bright: rgba(255, 255, 255, 0.15);

  --font-display: "Bricolage Grotesque", sans-serif;
  --font-body: "DM Sans", sans-serif;
  --font-mono: "JetBrains Mono", monospace;

  --ease-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-inout-expo: cubic-bezier(0.85, 0, 0.15, 1);
  --ease-soft: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  --shell: clamp(1.5rem, 6vw, 6rem);
  --section-y:       clamp(7rem,  14vw, 13rem);
  --section-y-tight: clamp(5rem,   8vw,  8rem);
  --section-y-loose: clamp(10rem, 20vw, 18rem);
  --nav-h: 110px;

  --bg-surface-0: #040406;
  --bg-surface-1: #07070b;
  --bg-surface-2: #05050a;
}

/* ════════════════════════════════════════════════════════════
   RESET & BASE
   ════════════════════════════════════════════════════════════ */
*, *::before, *::after {
  margin: 0; padding: 0;
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  background: var(--bg-deep);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; transition: color 0.4s var(--ease-expo); }
button { font-family: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
ul { list-style: none; }
::selection { background: var(--accent); color: #050505; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.045em;
}

:where(a, button, input, textarea):focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
  border-radius: 4px;
}
.skip-link {
  position: fixed; top: 1.5rem; left: 1.5rem; z-index: 300;
  background: var(--accent); color: #000000; font-weight: 700;
  padding: 0.8rem 1.4rem; border-radius: 50px;
  font-family: var(--font-mono); font-size: 0.72rem;
  box-shadow: 0 10px 30px var(--accent-glow);
  transform: translateY(-180%);
  transition: transform 0.4s var(--ease-expo);
}
.skip-link:focus { transform: translateY(0); }

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg-deep); }
::-webkit-scrollbar-thumb {
  background: #1a1a1a;
  border: 2px solid var(--bg-deep);
  border-radius: 50px;
  transition: background 0.3s;
}
::-webkit-scrollbar-thumb:hover { background: var(--accent); }

/* ════════════════════════════════════════════════════════════
   PRELOADER
   ════════════════════════════════════════════════════════════ */
#preloader {
  position: fixed; inset: 0; z-index: 500;
  background: var(--bg-deep);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 1.8rem;
}
.pre-mark {
  font-family: var(--font-display); font-weight: 900;
  font-size: clamp(2.5rem, 8vw, 4.5rem); letter-spacing: -0.05em;
  color: var(--text-bright);
}
.pre-mark .dot {
  color: var(--accent);
  text-shadow: 0 0 24px var(--accent-glow);
}
.pre-bar {
  width: min(240px, 50vw); height: 3px;
  background: rgba(255,255,255,0.05);
  overflow: hidden; border-radius: 50px;
}
.pre-bar span {
  display: block; height: 100%; width: 0;
  background: var(--accent);
  box-shadow: 0 0 15px var(--accent-glow);
  border-radius: 50px;
}
.pre-pct {
  font-family: var(--font-mono); font-size: 0.75rem;
  color: var(--text-faint); letter-spacing: 0.25em;
}

/* ════════════════════════════════════════════════════════════
   CUSTOM CURSOR
   ════════════════════════════════════════════════════════════ */
.cursor-dot, .cursor-ring {
  position: fixed; top: 0; left: 0; z-index: 400;
  pointer-events: none; border-radius: 50%;
  transform: translate3d(-50%, -50%, 0);
  transition: width 0.4s var(--ease-expo), height 0.4s var(--ease-expo), background 0.4s var(--ease-expo), border-color 0.4s var(--ease-expo);
}
.cursor-dot {
  width: 8px; height: 8px;
  background: var(--accent);
  mix-blend-mode: difference;
  z-index: 401;
}
.cursor-ring {
  width: 40px; height: 40px;
  border: 1px solid rgba(57, 255, 20, 0.45);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.cursor-ring::after {
  content: attr(data-label);
  font-family: var(--font-mono); font-size: 9px; font-weight: 700;
  color: #000000; text-transform: uppercase; letter-spacing: 0.12em;
  opacity: 0; transition: opacity 0.3s;
}
.cursor-ring.is-hovered {
  width: 72px; height: 72px;
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.9);
  mix-blend-mode: difference;
}
.cursor-ring.is-card {
  width: 96px; height: 96px;
  background: var(--accent);
  border-color: var(--accent);
  mix-blend-mode: normal;
  box-shadow: 0 0 35px var(--accent-glow);
}
.cursor-ring.is-card::after { opacity: 1; }
.cursor-ring.is-grabbing {
  width: 80px; height: 80px;
  background: var(--accent);
  border-color: var(--accent);
  mix-blend-mode: normal;
  box-shadow: 0 0 35px var(--accent-glow);
}
.cursor-ring.is-grabbing::after { opacity: 1; }
.cursor-dot.is-hidden { opacity: 0; }
@media (hover: none) or (pointer: coarse) {
  .cursor-dot, .cursor-ring { display: none !important; }
}

/* ════════════════════════════════════════════════════════════
   NAV — Floating Pill (N5)
   ════════════════════════════════════════════════════════════ */
#progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0; z-index: 120;
  background: var(--accent); box-shadow: 0 0 15px var(--accent-glow);
}
.nav {
  position: fixed; top: 1.5rem; left: 50%; z-index: 110;
  width: calc(100% - 2 * var(--shell));
  max-width: 1440px;
  transform: translateX(-50%);
  height: auto;
  min-height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 2.5rem;
  border-radius: 50px;
  background: rgba(5, 5, 5, 0.35);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: top 0.5s var(--ease-expo), min-height 0.5s var(--ease-expo), padding 0.5s var(--ease-expo), background 0.5s var(--ease-expo), border-color 0.5s var(--ease-expo), box-shadow 0.5s var(--ease-expo);
}
.nav.scrolled {
  top: 0.75rem;
  min-height: calc(var(--nav-h) * 0.75);
  padding: 0.6rem 2.5rem;
  background: rgba(5, 5, 5, 0.75);
  border-color: var(--glass-border-bright);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.6);
}
.brand {
  font-family: var(--font-display); font-weight: 900; font-size: 1.32rem;
  letter-spacing: -0.05em; display: flex; align-items: center; gap: 0.8rem;
}
.brand-text {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  color: var(--text-bright);
  text-transform: uppercase;
  transition: color 0.4s var(--ease-expo), text-shadow 0.4s var(--ease-expo);
}
.brand:hover .brand-text {
  color: var(--accent);
  text-shadow: 0 0 12px var(--accent-glow);
}
.brand .led {
  width: 10px; height: 10px; border-radius: 50%; background: var(--accent);
  box-shadow: 0 0 14px var(--accent-glow);
  animation: pulse 2.2s var(--ease-soft) infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.3; transform: scale(0.85); }
}
.nav-links {
  display: flex;
  gap: 2.8rem;
  align-items: center;
  margin-left: 4rem;
  margin-right: auto;
}
.nav-link {
  font-family: var(--font-mono); font-size: 0.72rem;
  text-transform: uppercase; letter-spacing: 0.22em; color: var(--text-secondary);
  position: relative; padding: 0.4rem 0;
  transition: color 0.4s var(--ease-expo);
}
.nav-link::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1.5px; width: 100%;
  background: var(--accent); transform: scaleX(0); transform-origin: right;
  transition: transform 0.45s var(--ease-expo);
}
.nav-link:hover { color: var(--text-primary); }
.nav-link:hover::after, .nav-link[aria-current="true"]::after {
  transform: scaleX(1); transform-origin: left;
}
.nav-link[aria-current="true"] { color: var(--accent); }
.nav-cta {
  font-family: var(--font-mono); font-size: 0.72rem; text-transform: uppercase;
  letter-spacing: 0.18em; padding: 0.8rem 1.6rem; border-radius: 50px;
  border: 1px solid var(--accent); color: var(--accent);
  background: transparent;
  transition: background 0.4s var(--ease-expo), color 0.4s var(--ease-expo), box-shadow 0.4s var(--ease-expo), transform 0.4s var(--ease-expo);
}
.nav-cta:hover {
  background: var(--accent); color: #000000;
  box-shadow: 0 0 30px var(--accent-glow);
  transform: translateY(-2px);
}
.burger {
  display: none; width: 44px; height: 44px;
  flex-direction: column; gap: 6px; align-items: center; justify-content: center;
  border-radius: 50%; border: 1px solid var(--glass-border);
  background: rgba(255,255,255,0.02);
  transition: background 0.3s, border-color 0.3s;
}
.burger:hover {
  background: rgba(255,255,255,0.06);
  border-color: var(--glass-border-bright);
}
.burger span {
  display: block; width: 22px; height: 2px;
  background: var(--text-primary);
  transition: transform 0.4s var(--ease-expo), opacity 0.3s;
}
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
.drawer {
  position: fixed; inset: 0; z-index: 105;
  background: var(--bg-deep);
  display: flex; flex-direction: column; justify-content: center; gap: 0.8rem;
  padding: var(--shell);
  clip-path: circle(0% at 90% 8%);
  transition: clip-path 0.75s var(--ease-inout-expo);
}
.drawer.open { clip-path: circle(150% at 90% 8%); }
.drawer a {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(2.4rem, 10vw, 4.5rem); letter-spacing: -0.04em;
  padding: 0.5rem 0; display: flex; align-items: baseline; gap: 1.2rem;
  transition: color 0.4s var(--ease-expo), padding-left 0.4s var(--ease-expo);
}
.drawer a span { font-family: var(--font-mono); font-size: 0.95rem; color: var(--accent); }
.drawer a:hover { color: var(--accent); padding-left: 1.5rem; }

/* ════════════════════════════════════════════════════════════
   BUTTONS
   ════════════════════════════════════════════════════════════ */
.btn {
  position: relative; display: inline-flex; align-items: center;
  font-family: var(--font-mono); font-size: 0.78rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.18em;
  padding: 0.85rem 0.85rem 0.85rem 2.2rem; border-radius: 50px;
  transition: transform 0.45s var(--ease-out), box-shadow 0.45s var(--ease-out), background 0.45s var(--ease-out), color 0.45s var(--ease-out);
  will-change: transform;
}
.btn-primary {
  background: var(--accent); color: #050505;
  box-shadow: 0 0 0 rgba(57, 255, 20, 0);
}
.btn-primary:hover {
  box-shadow: 0 0 35px var(--accent-glow);
  transform: translateY(-2px);
}
.btn-ghost {
  border: 1px solid var(--glass-border-bright); color: var(--text-primary);
  background: rgba(255,255,255,0.01);
}
.btn-ghost:hover {
  border-color: var(--accent); color: var(--accent);
  background: var(--accent-glow-soft);
  transform: translateY(-2px);
}
.btn:active { transform: scale(0.97) translateY(0); }
.btn-icon-circle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 50%;
  background: rgba(5, 5, 5, 0.08);
  margin-left: 1.2rem;
  transition: background 0.4s var(--ease-out), transform 0.3s var(--ease-out);
  color: inherit;
}
.btn-ghost .btn-icon-circle { background: rgba(255, 255, 255, 0.08); color: var(--text-primary); }
.btn-ghost:hover .btn-icon-circle { background: var(--accent); color: #050505; }
.btn:hover .btn-icon-circle { transform: scale(1.08); }
.btn .arrow { transition: transform 0.3s var(--ease-out); display: inline-block; }
.btn:hover .arrow { transform: translate3d(3px, 0, 0); }

/* ════════════════════════════════════════════════════════════
   SHARED LAYOUTS & SECTION RHYTHM
   ════════════════════════════════════════════════════════════ */
.section { padding: var(--section-y) var(--shell); position: relative; }
#services  { padding-block: var(--section-y); }
#portfolio { padding-block: var(--section-y-tight) var(--section-y); }
#stats     { padding-block: 0; }
#about     { padding-block: var(--section-y-loose); }
#contact   { padding-block: var(--section-y) var(--section-y); }
#partners  { padding-block: var(--section-y-tight); }

/* ════════════════════════════════════════════════════════════
   SECTION VIGNETTES — seamless "one room" scrolling
   ════════════════════════════════════════════════════════════ */
#services::before,
#portfolio::before,
#about::before,
#contact::before,
#partners::before {
  content: "";
  position: absolute; inset: -1px;
  pointer-events: none;
  z-index: 0;
}
#services::before {
  background:
    radial-gradient(
      ellipse 70% 60% at 82% 88%,
      rgba(57, 255, 20, 0.055) 0%,
      rgba(57, 255, 20, 0.018) 38%,
      transparent              64%
    ),
    radial-gradient(
      ellipse 90% 70% at 50% 50%,
      rgba(13, 13, 13, 0.95)  0%,
      rgba(7,  7,  7,  0.55) 45%,
      transparent            75%
    );
}
#portfolio::before {
  background:
    radial-gradient(
      ellipse 65% 55% at 12% 8%,
      rgba(57, 255, 20, 0.045) 0%,
      rgba(57, 255, 20, 0.014) 40%,
      transparent              66%
    ),
    radial-gradient(
      ellipse 100% 55% at 50% 50%,
      rgba(10, 10, 10, 0.75)  0%,
      rgba(5,  5,  5,  0.35) 50%,
      transparent            72%
    );
}
#about::before {
  background:
    radial-gradient(
      ellipse 60% 65% at 8% 92%,
      rgba(57, 255, 20, 0.050) 0%,
      rgba(57, 255, 20, 0.016) 38%,
      transparent              63%
    ),
    radial-gradient(
      ellipse 85% 75% at 50% 42%,
      rgba(13, 13, 13, 0.92)  0%,
      rgba(7,  7,  7,  0.50) 48%,
      transparent            74%
    );
}
#contact::before {
  background:
    radial-gradient(
      ellipse 50% 48% at 50% 0%,
      rgba(57, 255, 20, 0.062) 0%,
      rgba(57, 255, 20, 0.020) 42%,
      transparent              68%
    ),
    radial-gradient(
      ellipse 80% 80% at 50% 0%,
      rgba(15, 15, 15, 0.98)  0%,
      rgba(8,  8,  8,  0.60) 45%,
      transparent            75%
    );
}
#partners::before {
  background:
    radial-gradient(
      ellipse 55% 65% at 50% 50%,
      rgba(57, 255, 20, 0.032) 0%,
      rgba(57, 255, 20, 0.010) 42%,
      transparent              66%
    ),
    radial-gradient(
      ellipse 80% 65% at 50% 50%,
      rgba(10, 10, 10, 0.85)  0%,
      rgba(5,  5,  5,  0.40) 50%,
      transparent            72%
    );
}
#services > *, #portfolio > *, #about > *,
#contact > *, #partners > * {
  position: relative; z-index: 1;
}

.wrap { max-width: 1440px; margin: 0 auto; }
.section-label {
  font-family: var(--font-mono); font-size: 0.72rem; text-transform: uppercase;
  letter-spacing: 0.28em; color: var(--text-faint);
  margin-bottom: 1.4rem; display: block;
}
.section-title {
  font-size: clamp(2.8rem, 7.5vw, 6rem);
  margin-bottom: 1rem;
}
.section-title .green {
  color: var(--accent);
  text-shadow: 0 0 30px var(--accent-glow);
}
.lead {
  color: var(--text-secondary);
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  max-width: 48ch; line-height: 1.72;
}

/* ════════════════════════════════════════════════════════════
   HERO SECTION
   ════════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  padding: calc(var(--nav-h) + clamp(4rem, 10vw, 8rem)) var(--shell) clamp(5rem, 10vw, 9rem);
  overflow: hidden;
  background: transparent;
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
}
.hero-grid {
  position: absolute; inset: 0; z-index: 2;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse 65% 55% at 50% 40%, #000000 0%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 65% 55% at 50% 40%, #000000 0%, transparent 80%);
}
.cinematic-glows {
  position: absolute; inset: 0; overflow: hidden; z-index: 1; opacity: 0.85;
}
.glow-sphere {
  position: absolute; border-radius: 50%;
  filter: blur(130px); -webkit-filter: blur(130px);
  will-change: transform, opacity;
  mix-blend-mode: screen;
}
.glow-sphere-1 {
  width: clamp(350px, 45vw, 650px);
  height: clamp(350px, 45vw, 650px);
  background: radial-gradient(circle, rgba(57, 255, 20, 0.16) 0%, transparent 72%);
  left: 15%; top: 12%;
}
.glow-sphere-2 {
  width: clamp(300px, 40vw, 550px);
  height: clamp(300px, 40vw, 550px);
  background: radial-gradient(circle, rgba(0, 102, 255, 0.12) 0%, transparent 72%);
  right: 20%; bottom: 15%;
}
.hero-light-bg {
  position: absolute; inset: 0; z-index: 1; pointer-events: none; overflow: hidden;
}
.light-glow {
  position: absolute; border-radius: 50%;
  filter: blur(120px); -webkit-filter: blur(120px);
  will-change: transform, opacity;
  mix-blend-mode: screen; opacity: 0.55;
}
.light-glow-cool {
  width: clamp(550px, 65vw, 1000px);
  height: clamp(550px, 65vw, 1000px);
  background: radial-gradient(circle, rgba(0, 140, 255, 0.2) 0%, rgba(255, 255, 255, 0.03) 45%, transparent 75%);
  left: 5%; top: -10%;
}
.light-glow-warm {
  width: clamp(500px, 55vw, 900px);
  height: clamp(500px, 55vw, 900px);
  background: radial-gradient(circle, rgba(255, 170, 0, 0.15) 0%, rgba(255, 210, 0, 0.02) 40%, transparent 75%);
  right: 8%; bottom: -5%;
}
.hero-spotlight {
  position: absolute; inset: 0; z-index: 3;
  background: radial-gradient(circle 420px at calc(var(--spotlight-x, 50) * 1%) calc(var(--spotlight-y, 40) * 1%), rgba(57, 255, 20, 0.15) 0%, rgba(57, 255, 20, 0.05) 40%, transparent 75%);
  opacity: 0; mix-blend-mode: screen;
  will-change: background, opacity; pointer-events: none;
}
#beamsCanvas {
  position: absolute; top: 0; left: 0;
  width: 100%; height: 100%; z-index: 2;
  pointer-events: none; will-change: transform, opacity;
}
.hero-glow {
  position: absolute; left: 50%; bottom: -35%; width: 85vw; height: 65vh; z-index: 1;
  transform: translateX(-50%);
  background: radial-gradient(ellipse, var(--accent-glow-medium), transparent 72%);
  filter: blur(70px);
}
.truss {
  position: absolute; left: 0; right: 0; bottom: 0; height: 140px; opacity: 0.45; z-index: 4;
}
.hero-grid-layout {
  display: grid;
  grid-template-columns: 1.45fr 0.55fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: flex-end;
  width: 100%;
}
.hero-content { padding-bottom: clamp(1rem, 3vw, 2rem); }
.hero-logo-wrap {
  position: relative; display: flex;
  justify-content: center; align-items: center; z-index: 5;
}
.hero-logo {
  width: 100%; max-width: clamp(280px, 26vw, 400px); height: auto;
  opacity: 0.55;
  filter: brightness(0) invert(1) drop-shadow(0 0 15px rgba(57, 255, 20, 0.2));
  transition: opacity 0.5s var(--ease-out), filter 0.5s var(--ease-out), transform 0.5s var(--ease-out);
  mix-blend-mode: screen;
}
.hero-logo-wrap:hover .hero-logo {
  opacity: 0.92;
  filter: brightness(0) invert(1) drop-shadow(0 0 25px rgba(57, 255, 20, 0.4));
  transform: scale(1.03);
}
.hero-inner {
  position: relative; z-index: 10; max-width: 1440px; margin: 0 auto; width: 100%;
}
.hero-tag {
  font-family: var(--font-mono); font-size: 0.8rem; letter-spacing: 0.28em;
  text-transform: uppercase; color: var(--text-secondary);
  display: inline-flex; align-items: center; gap: 0.9rem; margin-bottom: 2.2rem;
  border: 1px solid var(--glass-border); padding: 0.5rem 1.2rem; border-radius: 50px;
  background: rgba(255,255,255,0.01);
}
.hero-tag .live {
  width: 8px; height: 8px; border-radius: 50%; background: var(--accent);
  box-shadow: 0 0 10px var(--accent-glow);
}
.hero-title {
  font-size: clamp(3.8rem, 13.5vw, 12rem); font-weight: 900;
  letter-spacing: -0.05em; line-height: 0.88;
}
.hero-title .green { color: var(--accent); text-shadow: 0 0 45px var(--accent-glow); }
.hero-foot {
  margin-top: clamp(2.5rem, 6vw, 4rem);
  display: flex; flex-wrap: wrap; gap: 2.8rem; align-items: flex-end;
  justify-content: flex-start;
}
.hero-sub {
  color: var(--text-secondary); font-size: clamp(1.05rem, 1.5vw, 1.3rem);
  max-width: 44ch; line-height: 1.68;
}
.hero-sub strong { color: var(--text-primary); font-weight: 600; }
.hero-scroll {
  display: flex; align-items: center; gap: 0.8rem;
  font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--text-faint);
}
.hero-scroll .ln {
  width: 50px; height: 1.5px; background: rgba(255,255,255,0.15);
  position: relative; overflow: hidden; border-radius: 50px;
}
.hero-scroll .ln::after {
  content: ""; position: absolute; inset: 0; width: 50%; background: var(--accent);
  animation: slide 2s var(--ease-soft) infinite;
}
@keyframes slide {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(220%); }
}

/* ════════════════════════════════════════════════════════════
   MARQUEE
   ════════════════════════════════════════════════════════════ */
.marquee {
  border-block: 1px solid var(--line);
  background: rgba(5, 5, 5, 0.4);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 1.4rem 0; overflow: hidden; white-space: nowrap;
}
.marquee-track { display: inline-flex; gap: 4rem; will-change: transform; }
.marquee-track span {
  font-family: var(--font-display); font-weight: 800; font-size: 1.6rem;
  letter-spacing: -0.02em; color: var(--text-faint);
  display: inline-flex; align-items: center; gap: 4rem;
}
.marquee-track span::after {
  content: "◆"; color: var(--accent); font-size: 0.8rem;
  text-shadow: 0 0 8px var(--accent-glow);
}

/* ════════════════════════════════════════════════════════════
   BENTO SERVICES GRID
   ════════════════════════════════════════════════════════════ */
.services-head {
  display: flex; flex-wrap: wrap; justify-content: space-between;
  align-items: flex-end; gap: 2.5rem; margin-bottom: clamp(3rem, 6vw, 5.5rem);
}
.services-grid { display: grid; gap: 1.5rem; grid-template-columns: repeat(3, 1fr); }
.service:first-child { grid-column: span 2; min-height: 420px; }
.service:first-child h3 { font-size: clamp(2rem, 3.5vw, 2.8rem); }
@media (max-width: 900px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .service:first-child { grid-column: span 2; }
}
@media (max-width: 560px) {
  .services-grid { grid-template-columns: 1fr; }
  .service:first-child { grid-column: span 1; min-height: auto; }
}
.service {
  position: relative; padding: 3rem 2.5rem; border-radius: 24px;
  background: rgba(9, 9, 11, 0.88);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 15px 35px rgba(0,0,0,0.5);
  transition: transform 0.6s var(--ease-expo), border-color 0.6s var(--ease-expo), box-shadow 0.6s var(--ease-expo);
  will-change: transform;
  min-height: 360px; display: flex; flex-direction: column;
}
.service::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(420px circle at calc(var(--mx, 200) * 1px) calc(var(--my, 150) * 1px), rgba(57, 255, 20, 0.14), transparent 60%);
  opacity: 0; transition: opacity 0.5s var(--ease-expo);
  pointer-events: none;
}
.service:hover {
  transform: translateY(-6px);
  border-color: rgba(57, 255, 20, 0.35);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), 0 25px 45px rgba(0,0,0,0.6);
}
.service:hover::before { opacity: 1; }
.service-no {
  font-family: var(--font-mono); font-size: 0.72rem; color: var(--text-faint); letter-spacing: 0.18em;
}
.service-icon {
  width: 58px; height: 58px; margin: 1.8rem 0 1.5rem;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--line-bright); border-radius: 16px;
  color: var(--accent); background: rgba(255,255,255,0.01);
  transition: background 0.5s var(--ease-expo), box-shadow 0.5s var(--ease-expo), border-color 0.5s var(--ease-expo);
}
.service:hover .service-icon {
  background: var(--accent-glow-soft);
  border-color: var(--accent);
  box-shadow: 0 0 25px var(--accent-glow);
}
.service h3 { font-size: 1.85rem; margin-bottom: 0.8rem; }
.service p { color: var(--text-secondary); font-size: 0.98rem; flex: 1; line-height: 1.65; }
.service-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.6rem; }
.service-tags li {
  font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.08em;
  color: var(--text-faint); border: 1px solid var(--line);
  padding: 0.35rem 0.75rem; border-radius: 40px;
  background: rgba(255,255,255,0.01);
  transition: color 0.3s, border-color 0.3s;
}
.service:hover .service-tags li {
  color: var(--text-secondary);
  border-color: rgba(255,255,255,0.12);
}

/* ════════════════════════════════════════════════════════════
   PORTFOLIO — HORIZONTAL SCROLL
   ════════════════════════════════════════════════════════════ */
#portfolio {
  padding: 0; background: transparent;
  position: relative;
  -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none;
}
#portfolio a, #portfolio button, #portfolio a *, #portfolio button * {
  -webkit-user-select: auto; -moz-user-select: auto; -ms-user-select: auto; user-select: auto;
}
.pf-pin {
  overflow-x: auto; position: relative; display: flex; align-items: center;
  padding-block: clamp(3rem, 7vw, 5rem);
  scrollbar-width: none; -ms-overflow-style: none;
  cursor: grab; scroll-behavior: smooth;
  touch-action: pan-y; user-select: none;
  -webkit-user-select: none; -moz-user-select: none;
}
.pf-pin::-webkit-scrollbar { display: none; }
.pf-pin:active { cursor: grabbing; }
.pf-track { display: flex; align-items: center; gap: 3.5rem; padding-inline: var(--shell); }
.pf-intro { flex: 0 0 auto; width: min(82vw, 540px); padding-right: 2.5rem; }
.pf-card {
  flex: 0 0 auto; width: min(85vw, 580px); height: 68vh; min-height: 460px;
  border-radius: 24px; overflow: hidden; position: relative;
  border: 1px solid var(--glass-border);
  background: var(--bg-card);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 15px 35px rgba(0, 0, 0, 0.5);
  transition: border-color 0.5s var(--ease-expo), transform 0.5s var(--ease-expo), box-shadow 0.5s var(--ease-expo);
  will-change: transform; touch-action: pan-y;
  user-select: none; -webkit-user-select: none; -moz-user-select: none;
}
@media (hover: none) and (pointer: coarse) {
  .pf-pin { scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; }
  .pf-card { scroll-snap-align: center; }
}
.pf-card:hover {
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 25px 45px rgba(0, 0, 0, 0.6);
}
.pf-visual {
  position: absolute; inset: 0;
  transition: transform 0.8s var(--ease-expo), filter 0.8s var(--ease-expo);
  filter: grayscale(70%) contrast(110%) brightness(0.8) sepia(15%) hue-rotate(85deg);
}
.pf-card:hover .pf-visual {
  transform: scale(1.03);
  filter: grayscale(0%) contrast(100%) brightness(1) sepia(0%) hue-rotate(0deg);
}
.pf-visual::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(0, 0, 0, 0.95) 90%);
}
.pf-scan {
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(180deg, transparent 0 3px, rgba(0, 0, 0, 0.3) 3px 4px);
  opacity: 0.35;
}
.pf-meta { position: absolute; left: 0; right: 0; bottom: 0; padding: 2.8rem; z-index: 2; }
.pf-cat {
  font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 0.8rem;
  display: flex; gap: 0.9rem;
}
.pf-cat .yr { color: var(--text-faint); }
.pf-card h3 { font-size: clamp(2rem, 3.8vw, 3rem); font-weight: 850; }
.pf-card p { color: var(--text-secondary); font-size: 0.98rem; margin-top: 0.8rem; max-width: 42ch; line-height: 1.62; }
.pf-num {
  position: absolute; top: 1.8rem; right: 2rem; z-index: 2;
  font-family: var(--font-display); font-weight: 900; font-size: 3.8rem;
  color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,0.08);
  transition: -webkit-text-stroke 0.4s var(--ease-expo);
}
.pf-card:hover .pf-num { -webkit-text-stroke: 1px rgba(57, 255, 20, 0.35); }
.pf-progress {
  position: absolute; left: var(--shell); right: var(--shell); bottom: 2.2rem;
  height: 4px; background: rgba(255,255,255,0.05); z-index: 3;
  border-radius: 50px; cursor: pointer;
  transition: height 0.3s var(--ease-expo), background 0.3s;
}
.pf-progress:hover { height: 6px; background: rgba(255,255,255,0.08); }
.pf-progress span {
  position: absolute; top: 0; left: 0;
  display: block; height: 100%; width: 120px;
  background: var(--accent); box-shadow: 0 0 12px var(--accent-glow);
  border-radius: 50px; cursor: grab; will-change: transform;
}
.pf-progress span:active { cursor: grabbing; background: var(--accent-dim); }

/* ════════════════════════════════════════════════════════════
   STATS
   ════════════════════════════════════════════════════════════ */
#stats { background: transparent; border-block: 1px solid var(--line); }
.stats-grid {
  display: grid; gap: 1px; background: var(--line);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
}
.stat {
  background: transparent;
  padding: clamp(3rem, 6vw, 4.8rem) clamp(1.8rem, 4vw, 3rem);
  text-align: center;
  transition: background 0.4s var(--ease-expo);
}
.stat:hover { background: rgba(255,255,255,0.02); }
.stat-num {
  font-family: var(--font-display); font-weight: 900;
  font-size: clamp(3.2rem, 8vw, 5.8rem); line-height: 0.95;
  color: var(--accent); text-shadow: 0 0 35px var(--accent-glow);
  font-variant-numeric: tabular-nums;
}
.stat-num .suf { color: var(--text-primary); text-shadow: none; }
.stat-label {
  font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--text-secondary); margin-top: 1rem;
}

/* ════════════════════════════════════════════════════════════
   ABOUT / TEAM
   ════════════════════════════════════════════════════════════ */
.about-grid {
  display: grid; gap: clamp(3rem, 6vw, 6rem); grid-template-columns: 1fr; align-items: start;
}
@media (min-width: 980px) { .about-grid { grid-template-columns: 1.05fr 0.95fr; } }
.about-copy p {
  color: var(--text-secondary); margin-top: 1.8rem; font-size: 1.08rem; line-height: 1.7;
}
.about-copy p strong { color: var(--accent); font-weight: 600; }
.about-founder-grid {
  display: grid; gap: clamp(3rem, 6vw, 6rem); grid-template-columns: 1fr; align-items: center;
  margin-bottom: clamp(6rem, 10vw, 10rem);
}
@media (min-width: 980px) {
  .about-founder-grid { grid-template-columns: 0.95fr 1.05fr; }
}
.founder-image-wrap {
  position: relative; border-radius: 24px; overflow: hidden;
  border: 1px solid var(--glass-border);
  background: var(--bg-card);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 15px 35px rgba(0, 0, 0, 0.5);
  transition: border-color 0.5s var(--ease-expo), transform 0.5s var(--ease-expo), box-shadow 0.5s var(--ease-expo);
  aspect-ratio: 4 / 3; width: 100%;
}
.founder-image-wrap:hover {
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 25px 45px rgba(0, 0, 0, 0.6);
}
.founder-image {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.8s var(--ease-expo), filter 0.8s var(--ease-expo);
  filter: grayscale(70%) contrast(110%) brightness(0.8) sepia(15%) hue-rotate(85deg);
}
.founder-image-wrap:hover .founder-image {
  transform: scale(1.03);
  filter: grayscale(0%) contrast(100%) brightness(1) sepia(0%) hue-rotate(0deg);
}
.team {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px;
  background: var(--line); border: 1px solid var(--line);
  border-radius: 20px; overflow: hidden;
}
.member {
  background: var(--bg-card); padding: 2.5rem 2rem;
  transition: background 0.4s var(--ease-expo), transform 0.4s var(--ease-expo);
  will-change: transform;
}
.member:hover { background: var(--bg-card-hover); transform: scale(1.01); }
.avatar {
  width: 64px; height: 64px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 900; font-size: 1.4rem; color: #000000;
  background: linear-gradient(135deg, var(--accent), var(--accent-dim));
  box-shadow: 0 0 22px var(--accent-glow); margin-bottom: 1.5rem;
}
.member h4 {
  font-size: 1.25rem; font-family: var(--font-body); font-weight: 700;
  letter-spacing: -0.01em; margin-bottom: 0.2rem;
}
.member span {
  font-family: var(--font-mono); font-size: 0.72rem; color: var(--accent);
  letter-spacing: 0.08em; text-transform: uppercase;
}

/* ════════════════════════════════════════════════════════════
   CONTACT
   ════════════════════════════════════════════════════════════ */
#contact { position: relative; overflow: hidden; }
.contact-glow { display: none; }
.contact-inner { position: relative; z-index: 2; text-align: center; max-width: 920px; margin: 0 auto; }
.contact-title { font-size: clamp(3.2rem, 9vw, 7.5rem); margin: 1.8rem 0 2rem; }
.contact-title .green { color: var(--accent); text-shadow: 0 0 40px var(--accent-glow); }
.contact-form-wrap { margin-top: 3rem; width: 100%; }
/* Grid lives on the <form> itself — Grav renders fields as direct children */
.contact-form {
  max-width: 680px; margin: 0 auto; text-align: left;
  display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem;
}
@media (max-width: 600px) { .contact-form { grid-template-columns: 1fr; gap: 1.2rem; } }
.form-group { display: flex; flex-direction: column; }
.form-group.full-width { grid-column: 1 / -1; margin-bottom: 0.5rem; }
.form-label {
  display: block; text-align: left;
  font-family: var(--font-mono); font-size: 0.68rem; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.15em;
  color: var(--text-secondary); margin-bottom: 0.6rem;
  transition: color 0.4s var(--ease-expo);
}
.form-group:focus-within .form-label { color: var(--accent); }
.form-input {
  width: 100%; padding: 1.1rem 1.5rem; border-radius: 16px;
  background: var(--bg-card); border: 1px solid var(--glass-border);
  color: var(--text-primary); font-family: var(--font-body); font-size: 0.95rem;
  transition: border-color 0.4s var(--ease-expo), background-color 0.4s var(--ease-expo), box-shadow 0.4s var(--ease-expo);
}
.form-input::placeholder { color: var(--text-faint); }
.form-input:hover {
  border-color: rgba(255, 255, 255, 0.18);
  background-color: var(--bg-card-hover);
}
.form-input:focus {
  outline: none; border-color: var(--accent);
  background-color: var(--bg-card-hover);
  box-shadow: 0 0 15px var(--accent-glow-soft);
}
.form-textarea { min-height: 160px; resize: vertical; }
.form-submit { grid-column: 1 / -1; display: flex; justify-content: center; margin-top: 1rem; }
.contact-info {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 2.8rem;
  margin-top: 4rem; font-family: var(--font-mono); font-size: 0.8rem;
  color: var(--text-secondary); letter-spacing: 0.08em;
}
.contact-info a:hover { color: var(--accent); }

/* ════════════════════════════════════════════════════════════
   FOOTER — Ft5 Statement
   ════════════════════════════════════════════════════════════ */
.footer {
  background: transparent; border-top: 1px solid var(--line);
  padding: clamp(5rem, 12vw, 10rem) var(--shell) clamp(2.5rem, 5vw, 4rem);
}
.footer-inner { max-width: 1440px; margin: 0 auto; }
.footer-statement { margin-bottom: clamp(3rem, 6vw, 5rem); }
.footer-statement h2 {
  font-family: var(--font-display); font-size: clamp(2.4rem, 6vw, 5rem);
  font-weight: 900; letter-spacing: -0.04em; line-height: 0.95; color: var(--text-bright);
}
.footer-statement h2 .accent { color: var(--accent); }
.footer-meta {
  display: flex; flex-wrap: wrap; align-items: center;
  gap: 0.6rem 2rem; font-family: var(--font-mono); font-size: 0.8rem;
  color: var(--text-secondary); letter-spacing: 0.08em;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.footer-meta a { transition: color 0.3s var(--ease-out); }
.footer-meta a:hover { color: var(--accent); }
.footer-meta .sep { color: var(--line-bright); user-select: none; }
.footer-socials { display: flex; gap: 0.8rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.footer-socials a {
  width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 12px;
  display: flex; align-items: center; justify-content: center; color: var(--text-secondary);
  background: rgba(255,255,255,0.01);
  transition: border-color 0.3s var(--ease-out), color 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out), background 0.3s var(--ease-out);
}
.footer-socials a:hover {
  border-color: var(--accent); color: var(--accent);
  box-shadow: 0 0 20px var(--accent-glow); background: var(--accent-glow-soft);
}
.footer-base {
  padding-top: 1.8rem; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: 1.2rem; justify-content: space-between;
  font-family: var(--font-mono); font-size: 0.72rem; color: var(--text-faint); letter-spacing: 0.08em;
}
.footer-legal-links { display: flex; align-items: center; gap: 1rem; }
.footer-legal-link { color: var(--text-faint); transition: color 0.3s var(--ease-out); }
.footer-legal-link:hover { color: var(--text-bright); }
@media (max-width: 768px) {
  .footer-base { justify-content: center; text-align: center; flex-direction: column; align-items: center; gap: 0.8rem; }
}

/* ════════════════════════════════════════════════════════════
   PARTNERS
   ════════════════════════════════════════════════════════════ */
#partners {
  padding: clamp(4rem, 8vw, 7rem) var(--shell);
  border-top: 1px solid var(--line);
  background: transparent; position: relative;
}
.partners-grid {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: clamp(2.5rem, 6vw, 5.5rem);
}
.partner-logo {
  flex: 0 1 auto; display: flex; align-items: center; justify-content: center;
  opacity: 0.55;
  filter: grayscale(100%) brightness(0.85) contrast(1.1);
  transition: opacity 0.4s var(--ease-out), filter 0.4s var(--ease-out), transform 0.4s var(--ease-out);
  will-change: transform, filter, opacity;
}
.partner-logo img {
  max-width: clamp(150px, 18vw, 240px); max-height: 88px;
  width: auto; height: auto; object-fit: contain;
}
.partner-logo:hover {
  opacity: 1; filter: grayscale(0%) brightness(1) contrast(1);
  transform: translateY(-4px) scale(1.05);
}

/* ════════════════════════════════════════════════════════════
   DEFAULT PAGE (Impressum / Datenschutz)
   ════════════════════════════════════════════════════════════ */
.page-content {
  max-width: 860px; margin: 0 auto;
  padding: calc(var(--nav-h) + clamp(4rem, 8vw, 7rem)) var(--shell) clamp(5rem, 10vw, 9rem);
}
.page-content h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem); margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.page-content h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin: 2.5rem 0 1rem; }
.page-content h3 { font-size: 1.25rem; margin: 2rem 0 0.8rem; }
.page-content p { color: var(--text-secondary); line-height: 1.75; margin-bottom: 1rem; }
.page-content a { color: var(--accent); }
.page-content a:hover { text-decoration: underline; }
.page-back {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--text-faint);
  margin-bottom: clamp(2rem, 5vw, 4rem);
  transition: color 0.3s var(--ease-out);
}
.page-back:hover { color: var(--accent); }

/* ════════════════════════════════════════════════════════════
   REVEAL UTILITIES
   ════════════════════════════════════════════════════════════ */
.js [data-reveal] { opacity: 0; }

/* ════════════════════════════════════════════════════════════
   RESPONSIVE
   ════════════════════════════════════════════════════════════ */
@media (max-width: 980px) {
  .nav { width: calc(100% - 2rem); padding: 0.8rem 1.8rem; }
  .hero-grid-layout { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-logo-wrap { order: -1; margin-bottom: 1rem; justify-content: flex-start; }
  .hero-logo { max-width: clamp(180px, 35vw, 260px); }
  .hero-foot { justify-content: flex-start; }
}
@media (max-width: 860px) {
  :root { --nav-h: 75px; }
  .nav-links, .nav .nav-cta { display: none; }
  .burger { display: flex; }
  .hero-foot { flex-direction: column; align-items: flex-start; gap: 2rem; }
  .services-head { flex-direction: column; align-items: flex-start; }
  .nav { top: 1rem; padding: 0.6rem 1.8rem; border-radius: 40px; }
  .nav.scrolled { top: 0.5rem; min-height: calc(var(--nav-h) * 0.8); padding: 0.4rem 1.8rem; }
}
@media (max-width: 480px) {
  :root { --nav-h: 68px; }
  .nav { top: 0.75rem; padding: 0.5rem 1.2rem; border-radius: 35px; }
  .nav.scrolled { top: 0.4rem; min-height: calc(var(--nav-h) * 0.8); padding: 0.3rem 1.2rem; }
}
@media (max-width: 560px) {
  .team { grid-template-columns: 1fr; }
  .pf-num { font-size: 2.8rem; }
}

/* ════════════════════════════════════════════════════════════
   REDUCED MOTION
   ════════════════════════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .js [data-reveal] { opacity: 1 !important; }
  html { scroll-behavior: auto !important; }
  .cursor-dot, .cursor-ring { display: none !important; }
}
