/* ---------- Design tokens ---------- */
:root {
  --bg: #fbfaf7;
  --surface: #ffffff;
  --surface-2: #f3f2ee;
  --ink: #14161a;
  --ink-2: #3d434e;
  --muted: #6b7280;
  --line: #e5e3dc;
  --accent: #3355ff;
  --accent-ink: #1f3ad6;
  --accent-soft: #eef1ff;
  --ok: #1a7f5a;

  --radius: 14px;
  --radius-lg: 22px;
  --maxw: 1120px;
  --shadow-sm: 0 1px 2px rgba(20, 22, 26, .05), 0 1px 3px rgba(20, 22, 26, .04);
  --shadow-md: 0 10px 30px rgba(20, 22, 26, .07);
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink-2);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--accent-ink); }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.02em; }
h1 { font-size: clamp(2.4rem, 5.5vw, 3.9rem); letter-spacing: -.035em; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); letter-spacing: -.03em; }
h3 { font-size: 1.18rem; }
p { margin: 0 0 1rem; }
ul { margin: 0; padding: 0; list-style: none; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
section { padding: 96px 0; }
.section-head { max-width: 640px; margin-bottom: 48px; }
.section-head p { color: var(--muted); font-size: 1.05rem; margin: 0; }

.eyebrow {
  display: inline-block; font-size: .8rem; font-weight: 600; letter-spacing: .12em;
  text-transform: uppercase; color: var(--accent-ink); margin-bottom: 14px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 26px; border-radius: 999px; border: 1px solid transparent;
  font-size: .98rem; font-weight: 600; text-decoration: none; cursor: pointer;
  transition: transform .15s ease, background .15s ease, border-color .15s ease, box-shadow .15s ease;
  font-family: inherit;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 6px 18px rgba(51, 85, 255, .25); }
.btn-primary:hover { background: var(--accent-ink); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink); background: var(--surface); }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 250, 247, .85);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease;
}
.site-header.scrolled { border-bottom-color: var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--ink); text-decoration: none; letter-spacing: -.02em; }
.brand-mark {
  height: 30px; padding: 0 9px; border-radius: 9px; background: var(--ink); color: #fff;
  display: grid; place-items: center; font-size: .82rem; font-weight: 700; letter-spacing: .05em;
}
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a { color: var(--ink-2); text-decoration: none; font-size: .95rem; font-weight: 500; }
.nav-links a:hover { color: var(--ink); }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); border-radius: 2px; }
.nav-toggle span + span { margin-top: 5px; }

/* ---------- Hero ---------- */
.hero { padding: 88px 0 72px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 64px; align-items: center; }
.hero p.lead { font-size: 1.18rem; color: var(--ink-2); max-width: 30em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 34px; color: var(--muted); font-size: .93rem; }
.hero-points li { display: flex; align-items: center; gap: 8px; }
.tick { color: var(--ok); font-weight: 700; }

.badge {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 8px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 999px;
  font-size: .85rem; color: var(--ink-2); margin-bottom: 22px; box-shadow: var(--shadow-sm);
}
.badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 3px rgba(26, 127, 90, .15); }

/* Browser mockup */
.mock {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md); overflow: hidden;
}
.mock-bar { display: flex; align-items: center; gap: 6px; padding: 12px 16px; border-bottom: 1px solid var(--line); background: var(--surface-2); }
.mock-bar i { width: 10px; height: 10px; border-radius: 50%; background: #d7d4cb; display: block; }
.mock-url { margin-left: 10px; flex: 1; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; font-size: .75rem; color: var(--muted); padding: 4px 12px; font-style: normal; }
.mock-body { padding: 26px; display: grid; gap: 14px; }
.sk { background: var(--surface-2); border-radius: 8px; height: 12px; }
.sk.t { height: 26px; width: 72%; background: linear-gradient(90deg, #e8ecff, #f1f0ec); }
.sk.w70 { width: 70%; } .sk.w85 { width: 85%; } .sk.w45 { width: 45%; }
.sk.block { height: 74px; border-radius: 12px; }
.mock-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.sk.pill { height: 34px; width: 130px; border-radius: 999px; background: var(--accent); opacity: .9; }

/* ---------- Logos / trust strip ---------- */
.strip { padding: 0 0 24px; }
.strip-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 40px; padding: 26px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.strip-inner span { font-size: .88rem; color: var(--muted); }
.strip-inner strong { color: var(--ink); font-weight: 600; }

/* ---------- Cards ---------- */
.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 30px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column;
}
.card h3 { margin-bottom: 6px; }
.card .price { font-size: 1.9rem; font-weight: 700; color: var(--ink); letter-spacing: -.03em; margin: 14px 0 2px; }
.card .price small { font-size: .82rem; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.card .desc { color: var(--muted); font-size: .96rem; margin: 0; }
.features { margin: 22px 0 26px; display: grid; gap: 10px; font-size: .95rem; }
.features li { display: flex; gap: 10px; align-items: flex-start; }
.features .tick { flex: none; margin-top: 1px; }
.card .btn { margin-top: auto; }
.card.featured { border-color: var(--accent); box-shadow: 0 14px 40px rgba(51, 85, 255, .13); position: relative; }
.card.featured::after {
  content: "Meest gekozen"; position: absolute; top: -12px; left: 30px;
  background: var(--accent); color: #fff; font-size: .72rem; font-weight: 600;
  letter-spacing: .06em; text-transform: uppercase; padding: 5px 12px; border-radius: 999px;
}
.note { color: var(--muted); font-size: .9rem; margin-top: 26px; }

/* ---------- Proces ---------- */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.step { position: relative; padding-top: 20px; border-top: 2px solid var(--line); }
.step::before {
  counter-increment: step; content: "0" counter(step);
  font-size: .8rem; font-weight: 700; color: var(--accent-ink); letter-spacing: .1em; display: block; margin-bottom: 8px;
}
.step h3 { font-size: 1.05rem; margin-bottom: 4px; }
.step p { color: var(--muted); font-size: .93rem; margin: 0; }

/* ---------- Portfolio ---------- */
.work { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease; text-decoration: none; color: inherit; display: block; }
.work:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.work-thumb { aspect-ratio: 16 / 10; background: var(--surface-2); position: relative; overflow: hidden; display: grid; place-items: center; }
.work-thumb .ph { font-size: .8rem; color: var(--muted); letter-spacing: .08em; text-transform: uppercase; }
.work-thumb img { width: 100%; height: 100%; object-fit: cover; }
.work-body { padding: 22px 24px 26px; }
.work-body h3 { margin-bottom: 4px; }
.work-body p { color: var(--muted); font-size: .93rem; margin: 0; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.tag { font-size: .78rem; color: var(--ink-2); background: var(--surface-2); border-radius: 999px; padding: 4px 11px; }

/* ---------- Over mij ---------- */
.about { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.about-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 64px; align-items: start; }
.portrait { border-radius: var(--radius-lg); aspect-ratio: 4/5; background: linear-gradient(160deg, #e9edff, #f3f2ee); border: 1px solid var(--line); display: grid; place-items: center; color: var(--muted); font-size: .85rem; overflow: hidden; }
.portrait img { width: 100%; height: 100%; object-fit: cover; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 34px; }
.stat b { display: block; font-size: 1.7rem; color: var(--ink); letter-spacing: -.03em; line-height: 1.2; }
.stat span { color: var(--muted); font-size: .88rem; }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq summary { cursor: pointer; font-weight: 600; color: var(--ink); list-style: none; display: flex; justify-content: space-between; gap: 20px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; color: var(--muted); font-weight: 400; line-height: 1; }
.faq details[open] summary::after { content: "\2013"; }
.faq details p { margin: 12px 0 0; color: var(--muted); max-width: 62ch; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: start; }
.respons { display: flex; align-items: center; gap: 9px; color: var(--muted); font-size: .93rem; margin: 26px 0 22px; }
.respons .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 3px rgba(26, 127, 90, .15); flex: none; }

.contact-actions { display: grid; gap: 12px; }
.action {
  display: flex; align-items: center; gap: 15px; padding: 16px 20px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  text-decoration: none; color: var(--ink); box-shadow: var(--shadow-sm);
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.action:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: #d5d2c8; }
.action-ico { width: 22px; height: 22px; flex: none; color: var(--muted); }
.action-txt { display: grid; gap: 1px; min-width: 0; }
.action-txt strong { font-size: .98rem; font-weight: 600; letter-spacing: -.01em; }
.action-txt small { color: var(--muted); font-size: .85rem; }
.action-primary { background: var(--ink); border-color: var(--ink); color: #fff; }
.action-primary:hover { box-shadow: 0 12px 30px rgba(20, 22, 26, .18); }
.action-primary .action-ico { color: #4ade80; }
.action-primary .action-txt small { color: #a8adb8; }

form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px; box-shadow: var(--shadow-sm); }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: .9rem; font-weight: 600; color: var(--ink); margin-bottom: 7px; }
.field input, .field textarea, .field select {
  width: 100%; padding: 12px 14px; font-family: inherit; font-size: .98rem; color: var(--ink);
  background: var(--bg); border: 1px solid var(--line); border-radius: 10px; transition: border-color .15s ease, box-shadow .15s ease;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft);
}
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: .84rem; color: var(--muted); margin: 14px 0 0; text-align: center; }
.form-msg { margin: 0 0 18px; padding: 13px 16px; border-radius: 10px; font-size: .93rem; display: none; }
.form-msg.ok { display: block; background: #e8f5ef; color: #14603f; border: 1px solid #bfe3d3; }
.form-msg.err { display: block; background: #fdecec; color: #8f2020; border: 1px solid #f3c9c9; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--ink); color: #d5d8de; border-radius: var(--radius-lg); padding: 56px; text-align: center; }
.cta-band h2 { color: #fff; }
.cta-band p { max-width: 46ch; margin: 0 auto 28px; color: #a8adb8; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 40px 0; margin-top: 0; }
.footer-inner { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: center; font-size: .9rem; color: var(--muted); }
.footer-inner a { color: var(--muted); text-decoration: none; }
.footer-inner a:hover { color: var(--ink); }
.footer-links { display: flex; gap: 22px; }

/* ---------- Reveal ---------- */
/* Alleen verbergen als JavaScript draait, anders blijft de inhoud altijd zichtbaar. */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}
@media print {
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 940px) {
  section { padding: 72px 0; }
  .hero-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 44px; }
  .grid-3, .steps { grid-template-columns: repeat(2, 1fr); }
  .portrait { max-width: 340px; }
  .nav-links {
    display: none; position: absolute; top: 72px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--surface); border-bottom: 1px solid var(--line); padding: 10px 24px 20px;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav-toggle { display: block; }
  .nav-cta .btn { display: none; }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  .grid-3, .grid-2, .steps, .row-2, .stats { grid-template-columns: 1fr; }
  .cta-band { padding: 40px 26px; }
  form { padding: 24px; }
  .hero { padding: 56px 0 48px; }
}
