/* FutureMade — stylesheet
   Kleurvariant wisselen: zet data-accent="a" of data-accent="b" op <html> in
   index.html, privacy.html en bedankt.html. Verder hoeft er niets te wijzigen. */

:root {
  /* Variant A — marineblauw (standaard) */
  --accent:        #14425f;
  --accent-strong: #0f2b3d;
  --accent-soft:   #eef3f7;
  --accent-line:   #d3e0e9;

  --ink:        #101418;
  --ink-soft:   #4a5560;
  --ink-faint:  #5b6672;
  --paper:      #ffffff;
  --paper-alt:  #f7f8f9;
  --line:       #e3e6e9;

  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --wrap: 1120px;
  --gap: clamp(1.25rem, 4vw, 2.5rem);
  --sec-y: clamp(4rem, 9vw, 7.5rem);
  --radius: 3px;
}

html[data-accent="b"] {
  /* Variant B — diep petrolgroen */
  --accent:        #14524a;
  --accent-strong: #0e3a34;
  --accent-soft:   #edf4f2;
  --accent-line:   #d0e2dd;
}

*, *::before, *::after { box-sizing: border-box; }

[hidden] { display: none !important; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0 0 0.6em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.15rem, 5.4vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.25rem); }
h3 { font-size: 1.13rem; font-family: var(--sans); font-weight: 600; letter-spacing: 0; }

p { margin: 0 0 1.1em; max-width: 68ch; }

a { color: var(--accent); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--accent-strong); }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gap); }
.wrap-narrow { max-width: 820px; }

.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--accent-strong); color: #fff;
  padding: 0.7rem 1.1rem; z-index: 200; text-decoration: none;
}
.skip:focus { left: 0; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; min-height: 68px;
}
.wordmark {
  font-family: var(--serif);
  font-size: 1.3rem; font-weight: 600; letter-spacing: -0.015em;
  color: var(--ink); text-decoration: none; white-space: nowrap;
}
.wordmark span { color: var(--accent); }

.site-nav { display: flex; align-items: center; gap: 1.6rem; }
.site-nav a {
  color: var(--ink-soft); text-decoration: none;
  font-size: 0.95rem; padding: 0.35rem 0;
  border-bottom: 1px solid transparent;
}
.site-nav a:hover { color: var(--ink); border-bottom-color: var(--accent); }
.site-nav .nav-cta {
  background: var(--accent); color: #fff;
  padding: 0.5rem 1.05rem; border-radius: var(--radius); border-bottom: 0;
}
.site-nav .nav-cta:hover { background: var(--accent-strong); color: #fff; border-bottom-color: transparent; }

.nav-toggle {
  display: none; align-items: center; gap: 0.5rem;
  background: none; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 0.45rem 0.75rem; font: inherit; font-size: 0.9rem;
  color: var(--ink); cursor: pointer;
}
.nav-toggle-bars { display: inline-flex; flex-direction: column; gap: 4px; width: 16px; }
.nav-toggle-bars i { display: block; height: 1.5px; background: var(--ink); }

/* ---------- hero ---------- */
.hero { padding: clamp(3.5rem, 9vw, 7rem) 0 clamp(3rem, 7vw, 5.5rem); }
.eyebrow {
  font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--accent); font-weight: 600; margin-bottom: 1.4rem;
}
.hero h1 { max-width: 17ch; }
.lead { font-size: clamp(1.05rem, 1.9vw, 1.24rem); color: var(--ink-soft); max-width: 58ch; margin-top: 1.4rem; }
.actions { display: flex; flex-wrap: wrap; gap: 0.85rem; margin-top: 2.1rem; }

.btn {
  display: inline-block; text-decoration: none; font-size: 0.98rem; font-weight: 500;
  padding: 0.78rem 1.5rem; border-radius: var(--radius); border: 1px solid transparent;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease;
  cursor: pointer; font-family: inherit;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-strong); color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

/* ---------- secties ---------- */
.section { padding: var(--sec-y) 0; border-top: 1px solid var(--line); }
.section-alt { background: var(--paper-alt); }
.section-intro { color: var(--ink-soft); margin-top: -0.3rem; margin-bottom: 2.8rem; }

.cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
@media (min-width: 720px) { .cards { grid-template-columns: 1fr 1fr; } }
.card { background: var(--paper); padding: clamp(1.6rem, 3vw, 2.3rem); }
.card-num {
  display: block; font-family: var(--serif); font-size: 0.95rem;
  color: var(--accent); letter-spacing: 0.06em; margin-bottom: 1.1rem;
}
.card h3 { margin-bottom: 0.55rem; }
.card p { color: var(--ink-soft); margin: 0; font-size: 0.98rem; }

.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(2rem, 4vw, 3rem); }
@media (min-width: 860px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step-num {
  display: block; font-family: var(--serif); font-size: 2.6rem; line-height: 1;
  color: var(--accent-line); margin-bottom: 0.9rem;
}
.step h3 { margin-bottom: 0.5rem; }
.step p { color: var(--ink-soft); margin: 0; font-size: 0.98rem; }

.band { background: var(--accent-strong); color: #fff; border-top: 0; }
.band h2 { color: #fff; }
.band-text { color: rgba(255,255,255,0.86); font-size: clamp(1.02rem, 1.8vw, 1.16rem); margin: 0; max-width: 66ch; }

/* ---------- contact ---------- */
.contact-grid { display: grid; gap: clamp(2.2rem, 5vw, 4rem); }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 0.85fr 1fr; align-items: start; } }
.contact-intro p { color: var(--ink-soft); }
.contact-mail a { font-weight: 500; }

.contact-form { background: var(--accent-soft); border: 1px solid var(--accent-line); padding: clamp(1.5rem, 3.5vw, 2.3rem); border-radius: var(--radius); }
.field { margin-bottom: 1.25rem; }
.field label { display: block; font-size: 0.92rem; font-weight: 500; margin-bottom: 0.4rem; color: var(--ink); }
.req { color: var(--accent); }
.opt { color: var(--ink-faint); font-weight: 400; }
.field input[type="text"], .field input[type="email"], .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
  background: #fff; border: 1px solid var(--accent-line); border-radius: var(--radius);
  padding: 0.7rem 0.85rem;
}
.field textarea { resize: vertical; min-height: 8rem; }
.field input:focus, .field textarea:focus { border-color: var(--accent); }
.field-check { display: grid; grid-template-columns: auto 1fr; gap: 0.6rem 0.7rem; align-items: start; }
.field-check input { margin-top: 0.35rem; width: 1.05rem; height: 1.05rem; accent-color: var(--accent); }
.field-check label { font-weight: 400; font-size: 0.9rem; color: var(--ink-soft); margin: 0; }
.field-check .err { grid-column: 1 / -1; }

.err { display: block; margin-top: 0.35rem; font-size: 0.87rem; color: #9a2b1e; }
.field.invalid input, .field.invalid textarea { border-color: #9a2b1e; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-actions { margin: 1.6rem 0 0; }
.form-status { margin: 0.9rem 0 0; font-size: 0.92rem; color: var(--ink-soft); min-height: 1.4em; }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 2.6rem 0; background: var(--paper-alt); }
.footer-inner { display: flex; flex-wrap: wrap; gap: 0.6rem 1.5rem; align-items: baseline; justify-content: space-between; }
.footer-brand { font-family: var(--serif); font-weight: 600; margin: 0; }
.footer-meta { margin: 0; font-size: 0.88rem; color: var(--ink-faint); }
.footer-meta a { color: var(--ink-soft); }
.sep { margin: 0 0.5rem; color: var(--line); }

/* ---------- tekstpagina's ---------- */
.doc { padding: clamp(3rem, 7vw, 5rem) 0 var(--sec-y); }
.doc h1 { font-size: clamp(1.9rem, 4vw, 2.7rem); }
.doc h2 { font-size: 1.3rem; margin-top: 2.4rem; }
.doc ul { padding-left: 1.15rem; max-width: 68ch; }
.doc li { margin-bottom: 0.4rem; }
.doc .note { background: var(--accent-soft); border-left: 3px solid var(--accent); padding: 1rem 1.2rem; font-size: 0.94rem; }
.doc .meta { color: var(--ink-faint); font-size: 0.9rem; }
.back { display: inline-block; margin-top: 2.5rem; font-size: 0.95rem; }

/* ---------- animatie ---------- */
.reveal { opacity: 0; transform: translateY(14px); }
.reveal.in { opacity: 1; transform: none; transition: opacity .5s ease, transform .5s ease; }
.no-js .reveal, html:not(.js) .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal.in { opacity: 1; transform: none; transition: none; }
}

/* ---------- mobiel ---------- */
@media (max-width: 719px) {
  .nav-toggle { display: inline-flex; }
  .site-nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper); border-bottom: 1px solid var(--line);
    padding: 0.5rem var(--gap) 1.2rem;
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 0.75rem 0; border-bottom: 1px solid var(--line); }
  .site-nav .nav-cta { margin-top: 0.9rem; text-align: center; padding: 0.75rem 1rem; }
  .header-inner { position: relative; }
  .actions .btn { flex: 1 1 auto; text-align: center; }
}
