/* Basis: kleuren, fontvariabelen, reset, typografie, knoppen en animaties */
/* Layout: donkere studio. Een chromen code-J zweeft rechts in de hero, de rest is een rustige kolom met lichtgevende randen die je cursor volgen. Bewust één donkere look. */

:root {
  --bg: #07090b;
  --bg-2: #0c1013;
  --panel: #10161a;
  --edge: rgba(214, 236, 226, 0.1);
  --edge-2: rgba(214, 236, 226, 0.18);
  --fg: #eef3f0;
  --muted: #8f9c96;
  --dim: #5d6863;
  --green: #2fbf8a;
  --green-deep: #0b6e4f;
  --green-ink: #03140d;
  --chrome: #cfd8d4;
  --sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI",
    sans-serif;
  --mono: "Geist Mono", ui-monospace, Menlo, Consolas, monospace;
  --wrap: 1200px;
  --header-h: 76px;
  --space-section: clamp(80px, 11vw, 150px);
  --space-head: clamp(40px, 5vw, 56px);
  --space-stack: 20px;
  color-scheme: dark;
}
* {
  box-sizing: border-box;
}
[hidden] {
  display: none !important;
}
html {
  scroll-behavior: smooth;
  overflow-x: clip;
  background: var(--bg);
}
body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: "";
  position: fixed;
  inset: 0 0 auto;
  height: env(safe-area-inset-top, 0px);
  z-index: 80;
  background: var(--bg);
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 90;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
::selection {
  background: var(--green);
  color: var(--green-ink);
}
h1,
h2,
h3 {
  margin: 0;
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 0.98;
  text-wrap: balance;
}
h2 {
  font-size: clamp(2.2rem, 5.2vw, 4rem);
}
h3 {
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
p {
  margin: 0;
}
a {
  color: inherit;
}
:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
  border-radius: 8px;
}

/* SVG-sprite met iconen, onzichtbaar */
.sprite {
  position: absolute;
}

/* Layout-hulpklassen */
.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
}
.pad {
  padding-block: var(--space-section);
}
.alt {
  background: var(--bg-2);
}
.eyebrow {
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  color: var(--green);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 12px var(--green);
  animation: blink 2.4s infinite;
}
@keyframes blink {
  50% {
    opacity: 0.35;
  }
}
.muted {
  color: var(--muted);
}

/* Knoppen */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font: 600 1rem var(--sans);
  text-decoration: none;
  border-radius: 999px;
  padding: 15px 24px;
  border: 0;
  cursor: pointer;
  transition:
    transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1),
    box-shadow 0.3s,
    background 0.3s;
  white-space: nowrap;
}
.btn svg {
  width: 18px;
  height: 18px;
  transition: transform 0.25s;
}
.btn:hover svg {
  transform: translateX(3px);
}
.btn-primary {
  background: var(--green);
  color: var(--green-ink);
  box-shadow:
    0 0 0 0 rgba(47, 191, 138, 0),
    0 10px 30px -10px rgba(47, 191, 138, 0.6);
}
.btn-primary:hover {
  box-shadow:
    0 0 0 6px rgba(47, 191, 138, 0.14),
    0 14px 40px -10px rgba(47, 191, 138, 0.8);
}
.btn-ghost {
  background: rgba(255, 255, 255, 0.03);
  color: var(--fg);
  box-shadow: inset 0 0 0 1px var(--edge-2);
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.06);
}

/* Kopjes van secties */
.head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: var(--space-stack) 32px;
  flex-wrap: wrap;
  margin-bottom: var(--space-head);
}
.head > div {
  display: flex;
  flex-direction: column;
  gap: var(--space-stack);
  max-width: 700px;
}
.head p {
  color: var(--muted);
  max-width: 30em;
}

/* Inschuiven, alleen onder de vouw */
.rv {
  transition:
    transform 0.9s cubic-bezier(0.2, 0.8, 0.2, 1),
    opacity 0.9s,
    filter 0.9s;
}
.js .rv.wait {
  transform: translateY(30px);
  opacity: 0.001;
  filter: blur(6px);
}

@media (max-width: 620px) {
  body {
    font-size: 16px;
  }
}
@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;
  }
}
