/* samenstellen.ai — donker, rustig, één accent. Vakblad, geen SaaS-confetti. */

:root {
  --bg:         #0b0d0f;
  --bg-raised:  #12161a;
  --bg-sunk:    #08090b;
  --text:       #e9e6e0;
  --text-soft:  #b9b6b0;
  --text-mute:  #8a8d91;
  --line:       rgba(233, 230, 224, 0.12);
  --line-soft:  rgba(233, 230, 224, 0.07);
  --accent:     #5fb7c9;
  --accent-dim: rgba(95, 183, 201, 0.16);

  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Source Serif 4", Charter, Georgia, serif;
  --sans:  -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, "Helvetica Neue", Arial, sans-serif;

  --wrap: 68rem;
  --gutter: 1.5rem;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5.5rem;
  -webkit-text-size-adjust: 100%;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.15; letter-spacing: -0.01em; margin: 0; }
p { margin: 0 0 1.15em; }
em { font-style: italic; }
ul { margin: 0; padding: 0; list-style: none; }

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 0.2em; }

: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(--gutter);
}

.skip {
  position: absolute;
  left: -9999px;
}
.skip:focus {
  left: 1rem; top: 1rem; z-index: 100;
  background: var(--bg-raised);
  padding: 0.6rem 1rem;
  border: 1px solid var(--line);
}

/* ---------- Nav ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 13, 15, 0.82);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 180ms ease, background 180ms ease;
}
.nav.is-stuck { border-bottom-color: var(--line-soft); }

.nav__inner {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter);
  height: 3.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.nav__mark {
  color: var(--text);
  font-family: var(--serif);
  font-size: 1.0625rem;
  letter-spacing: 0.01em;
  white-space: nowrap;
}
.nav__mark:hover { text-decoration: none; }
.nav__dot { color: var(--accent); }

.nav__list {
  display: flex;
  gap: 1.75rem;
  font-size: 0.875rem;
  letter-spacing: 0.02em;
}
.nav__list a {
  color: var(--text-mute);
  padding: 0.35rem 0;
  border-bottom: 1px solid transparent;
  transition: color 160ms ease, border-color 160ms ease;
}
.nav__list a:hover { color: var(--text); text-decoration: none; }
.nav__list a.is-active { color: var(--text); border-bottom-color: var(--accent); }

@media (max-width: 34rem) {
  .nav__list { gap: 1.05rem; font-size: 0.8125rem; }
  .nav__mark { font-size: 0.9375rem; }
  .nav__inner { gap: 0.75rem; }
}
@media (max-width: 23rem) {
  .nav__mark { display: none; }
  .nav__list { width: 100%; justify-content: space-between; }
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: calc(100svh - 3.75rem);
  display: flex;
  align-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--line-soft);
}

/* "in opbouw": een raster dat naar onderen wegvalt */
.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, var(--line-soft) 1px, transparent 1px),
    linear-gradient(to bottom, var(--line-soft) 1px, transparent 1px);
  background-size: 5.5rem 5.5rem;
  background-position: center top;
  -webkit-mask-image: radial-gradient(120% 85% at 30% 10%, #000 0%, transparent 72%);
  mask-image: radial-gradient(120% 85% at 30% 10%, #000 0%, transparent 72%);
  pointer-events: none;
}

.hero__inner { position: relative; padding: 5rem var(--gutter); }

.hero__title {
  font-size: clamp(2.5rem, 7.2vw, 4.75rem);
  letter-spacing: -0.025em;
  margin-bottom: 1.5rem;
}

.hero__sub {
  max-width: 44ch;
  font-size: clamp(1.0625rem, 1.8vw, 1.25rem);
  color: var(--text-soft);
  line-height: 1.6;
  margin-bottom: 2.5rem;
}

.hero__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin: 0; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.35rem;
  font-family: var(--sans);
  font-size: 0.9375rem;
  letter-spacing: 0.01em;
  border: 1px solid var(--line);
  border-radius: 2px;
  cursor: pointer;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease;
}
.btn:hover { text-decoration: none; }
.btn--primary {
  background: var(--accent);
  border-color: var(--accent);
  color: #06181d;
  font-weight: 600;
}
.btn--primary:hover { background: #7fcbdb; border-color: #7fcbdb; }
.btn--ghost { background: transparent; color: var(--text); }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); }

/* ---------- Secties ---------- */

.section { padding: 5.5rem 0; }
.section--rule { border-top: 1px solid var(--line-soft); background: var(--bg-sunk); }
.section--cta { border-top: 1px solid var(--line-soft); }

.section__title {
  font-size: clamp(1.75rem, 3.6vw, 2.5rem);
  max-width: 24ch;
  margin-bottom: 1.5rem;
}

.eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.9rem;
}

.lead {
  max-width: 62ch;
  font-size: 1.125rem;
  color: var(--text-soft);
  margin-bottom: 2.75rem;
}

.prose { max-width: 66ch; color: var(--text-soft); }
.prose p:last-child { margin-bottom: 0; }
.prose em { color: var(--text); }

/* ---------- Pijlers ---------- */

.pillars {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}
@media (max-width: 46rem) { .pillars { grid-template-columns: 1fr; } }

.pillar {
  background: var(--bg-raised);
  border: 1px solid var(--line-soft);
  border-radius: 3px;
  padding: 2rem 1.75rem;
}
.pillar__title {
  font-size: 1.3125rem;
  margin-bottom: 0.9rem;
  display: flex;
  align-items: baseline;
  gap: 0.7rem;
}
.pillar__letter {
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--accent);
  border: 1px solid var(--accent-dim);
  background: var(--accent-dim);
  border-radius: 2px;
  padding: 0.15rem 0.45rem;
}
.pillar p { color: var(--text-soft); margin: 0; }

/* ---------- Verwerken / Dragen ---------- */

.split {
  margin-top: 3.25rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border: 1px solid var(--line-soft);
  border-radius: 3px;
  overflow: hidden;
}
.split__col { padding: 1.75rem; background: var(--bg-raised); }
.split__col + .split__col { border-left: 1px solid var(--line-soft); }
.split__col--accent { box-shadow: inset 3px 0 0 var(--accent); }

@media (max-width: 46rem) {
  .split { grid-template-columns: 1fr; }
  .split__col + .split__col { border-left: 0; border-top: 1px solid var(--line-soft); }
  .split__col--accent { box-shadow: inset 0 3px 0 var(--accent); }
}

.split__head {
  font-size: 1.125rem;
  margin-bottom: 1rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--line-soft);
}
.split__who { font-family: var(--sans); font-size: 0.8125rem; font-weight: 400; color: var(--text-mute); letter-spacing: 0.01em; }

.split__list { display: grid; gap: 0.5rem; color: var(--text-soft); font-size: 0.9375rem; }
.split__list li { padding-left: 1.1rem; position: relative; }
.split__list li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.72em;
  width: 0.4rem; height: 1px;
  background: var(--accent);
}

/* ---------- Citaatblok ---------- */

.pull {
  margin: 2.5rem 0;
  padding: 0 0 0 1.5rem;
  border-left: 2px solid var(--accent);
  max-width: 50ch;
}
.pull p {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.375rem, 3vw, 1.875rem);
  line-height: 1.35;
  color: var(--text);
  margin: 0;
}

/* ---------- Richting ---------- */

.cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
@media (max-width: 46rem) { .cards { grid-template-columns: 1fr; } }

.card {
  background: var(--bg-raised);
  border: 1px solid var(--line-soft);
  border-radius: 3px;
  padding: 1.5rem;
  color: var(--text-soft);
  font-size: 0.9375rem;
}
.card strong { color: var(--text); font-weight: 600; }

/* ---------- Formulier ---------- */

.form {
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.15rem;
  max-width: 44rem;
}
@media (max-width: 40rem) { .form { grid-template-columns: 1fr; } }
.field--wide { grid-column: 1 / -1; }

.field { display: flex; flex-direction: column; gap: 0.45rem; }
.field label { font-size: 0.8125rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-mute); }

.field input,
.field select,
.field textarea {
  width: 100%;
  font: inherit;
  font-size: 1rem;
  color: var(--text);
  background: var(--bg-raised);
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 0.7rem 0.85rem;
  transition: border-color 160ms ease;
}
.field textarea { resize: vertical; min-height: 7rem; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: rgba(233,230,224,0.22); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--accent); outline: none; }
.field select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--text-mute) 50%), linear-gradient(135deg, var(--text-mute) 50%, transparent 50%);
  background-position: calc(100% - 1.15rem) 1.25rem, calc(100% - 0.8rem) 1.25rem;
  background-size: 0.35rem 0.35rem, 0.35rem 0.35rem;
  background-repeat: no-repeat;
  padding-right: 2.25rem;
}
.field select option { background: var(--bg-raised); color: var(--text); }

.form__foot { flex-direction: row; align-items: center; flex-wrap: wrap; gap: 1rem; }
.form__note { margin: 0; font-size: 0.875rem; color: var(--text-mute); max-width: 42ch; }
.form__note.is-error { color: #e0a08c; }

/* ---------- Footer ---------- */

.footer {
  border-top: 1px solid var(--line-soft);
  background: var(--bg-sunk);
  padding: 3rem 0 3.5rem;
}
.footer__inner { display: flex; flex-wrap: wrap; gap: 1.5rem 3rem; align-items: flex-start; }
.footer__mark { font-family: var(--serif); font-size: 1rem; color: var(--text); margin: 0; }
.footer__note { margin: 0; font-size: 0.8125rem; line-height: 1.6; color: var(--text-mute); max-width: 58ch; }
