/* stefdeheij.nl — modern tech, donker, één accentkleur.
   Geen externe fonts of scripts: snel en zonder AVG-gedoe. */

:root {
  --bg: #0a0e14;
  --bg-alt: #0f141c;
  --surface: #131a24;
  --line: #1f2a38;
  --text: #e6edf3;
  --muted: #9aa7b4;
  --dim: #7d8a98;
  --accent: #3ee6c1;
  --accent-ink: #04231c;
  --ok: #7ee787;
  --radius: 14px;
  --wrap: 1120px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "Cascadia Code", "SF Mono", Menlo, Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 80px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .6em; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.4rem, 6vw, 4.2rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); font-weight: 750; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }

.wrap { width: min(var(--wrap), 100% - 2.5rem); margin-inline: auto; }

.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--accent); color: var(--accent-ink); padding: .5rem 1rem; z-index: 100;
}
.skip:focus { left: 1rem; top: 1rem; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

/* ---------- Topbar ---------- */
.topbar {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10, 14, 20, .78);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.topbar__inner { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 1rem; }

.logo { display: flex; align-items: center; gap: .6rem; color: var(--text); text-decoration: none; font-weight: 700; }
.logo__mark {
  font-family: var(--mono); font-size: .8rem;
  border: 1px solid var(--accent); color: var(--accent);
  padding: .15rem .4rem; border-radius: 6px;
}

.nav { display: flex; align-items: center; gap: 1.4rem; }
.nav a:not(.btn) { color: var(--muted); text-decoration: none; font-size: .95rem; }
.nav a:not(.btn):hover { color: var(--text); }

@media (max-width: 640px) {
  .nav a:not(.btn) { display: none; }
  .logo__name { display: none; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  background: var(--accent); color: var(--accent-ink);
  font-weight: 700; text-decoration: none;
  padding: .8rem 1.3rem; border-radius: 10px;
  border: 1px solid var(--accent);
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 6px 24px -6px rgba(62, 230, 193, .55); }
.btn--ghost { background: transparent; color: var(--text); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--accent); box-shadow: none; }
.btn--small { padding: .45rem .9rem; font-size: .9rem; }
.btn--big { font-size: clamp(1.05rem, 2.6vw, 1.35rem); padding: 1rem 1.6rem; font-family: var(--mono); word-break: break-all; }

@media (prefers-reduced-motion: reduce) { .btn { transition: none; } .btn:hover { transform: none; } }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(4rem, 10vw, 7.5rem) 0 clamp(3.5rem, 8vw, 6rem); }
.hero__grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 70% 60% at 70% 30%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 70% 30%, #000 20%, transparent 75%);
  opacity: .55;
}
.hero::after {
  content: ""; position: absolute; width: 560px; height: 560px; right: -160px; top: -200px;
  background: radial-gradient(circle, rgba(62, 230, 193, .18), transparent 65%);
  pointer-events: none;
}
.hero__inner { position: relative; z-index: 1; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--mono); font-size: .85rem; color: var(--muted);
  border: 1px solid var(--line); border-radius: 999px; padding: .3rem .8rem;
  background: rgba(19, 26, 36, .6);
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--accent); }

.accent { color: var(--accent); }
.lead { font-size: clamp(1.05rem, 2vw, 1.25rem); color: var(--muted); max-width: 40rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .8rem; margin: 2rem 0 3rem; }

/* Terminal-blok */
.terminal {
  max-width: 560px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .7);
}
.terminal__bar { display: flex; gap: 6px; padding: .7rem .9rem; border-bottom: 1px solid var(--line); }
.terminal__bar span { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.terminal pre { margin: 0; padding: 1rem 1.1rem 1.2rem; overflow-x: auto; }
.terminal code { font-family: var(--mono); font-size: .88rem; line-height: 1.8; color: var(--text); }
@media (max-width: 480px) { .terminal code { font-size: .74rem; } }
.t-dim { color: var(--dim); }
.t-acc { color: var(--accent); }
.t-ok { color: var(--ok); }

/* ---------- Secties ---------- */
.section { padding: clamp(4rem, 9vw, 6.5rem) 0; border-top: 1px solid var(--line); }
.section--alt { background: var(--bg-alt); }
.kicker { font-family: var(--mono); font-size: .85rem; color: var(--accent); margin-bottom: .8rem; }

/* Kaarten */
.cards { display: grid; gap: 1.2rem; grid-template-columns: repeat(2, 1fr); margin-top: 2rem; }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.6rem; color: var(--muted);
}
.card h3 { color: var(--text); }
.card p:last-child { margin-bottom: 0; }
.card--feature {
  grid-row: span 2;
  border-color: rgba(62, 230, 193, .45);
  background: linear-gradient(160deg, rgba(62, 230, 193, .09), var(--surface) 55%);
}
.card--feature h3 { font-size: 1.45rem; }
.tag {
  display: inline-block; font-family: var(--mono); font-size: .75rem;
  color: var(--accent); border: 1px solid rgba(62, 230, 193, .45);
  border-radius: 999px; padding: .15rem .6rem; margin-bottom: 1rem;
}
.checks { list-style: none; padding: 0; margin: 1.2rem 0 0; }
.checks li { position: relative; padding-left: 1.7rem; margin-bottom: .5rem; color: var(--text); }
.checks li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 700; }

@media (max-width: 760px) {
  .cards { grid-template-columns: 1fr; }
  .card--feature { grid-row: auto; }
}

/* Stappen */
.steps { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: 1.2rem; grid-template-columns: repeat(4, 1fr); }
.steps li { border-top: 2px solid var(--line); padding-top: 1.2rem; color: var(--muted); }
.steps li:first-child { border-top-color: var(--accent); }
.steps h3 { color: var(--text); }
.steps__num { display: block; font-family: var(--mono); color: var(--accent); font-size: .9rem; margin-bottom: .5rem; }
.steps__num::before { content: "0"; }

@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* Over mij */
.about { display: grid; grid-template-columns: 260px 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.about p { color: var(--muted); max-width: 42rem; }
.about__photo {
  aspect-ratio: 1; border-radius: 20px; overflow: hidden;
  border: 1px solid var(--line);
  background: linear-gradient(135deg, var(--surface), rgba(62, 230, 193, .15));
  display: grid; place-items: center;
}
.about__photo span { font-family: var(--mono); font-size: 2.4rem; color: var(--accent); }
.about__photo img { width: 100%; height: 100%; object-fit: cover; }

@media (max-width: 760px) {
  .about { grid-template-columns: 1fr; }
  .about__photo { width: 160px; }
}

/* Contact */
.section--contact { text-align: center; }
.contact .lead { margin-inline: auto; margin-bottom: 2rem; }

/* Footer */
.footer { border-top: 1px solid var(--line); padding: 1.6rem 0; color: var(--muted); font-size: .9rem; }
.footer__inner { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
