:root {
  --paper: #F6F7F3;
  --paper-deep: #E9ECE4;
  --ink: #1B2A33;
  --ink-soft: #55656D;
  --petrol: #1F5F5B;
  --petrol-deep: #164643;
  --mustard: #F2B33D;
  --line: #CDD3CA;

  --font: "Bricolage Grotesque", "Segoe UI", system-ui, -apple-system, sans-serif;
  --measure: 62ch;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --max: 72rem;
}

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

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { margin: 0; line-height: 1.1; font-weight: 600; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.1rem, 5.2vw, 3.6rem); font-weight: 700; letter-spacing: -0.025em; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.3rem); max-width: 24ch; }
h3 { font-size: 1.2rem; }
p { margin: 0; max-width: var(--measure); }
p + p { margin-top: 1em; }
a { color: var(--petrol); text-underline-offset: 0.15em; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--mustard);
  outline-offset: 2px;
}

.skip {
  position: absolute; left: 1rem; top: -4rem;
  background: var(--ink); color: var(--paper); padding: .5rem 1rem; border-radius: 4px;
  z-index: 10;
}
.skip:focus { top: 1rem; }

/* Header */
.top {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  max-width: var(--max); margin: 0 auto; padding: 1.25rem var(--gutter);
}
.brand {
  display: inline-flex; align-items: center; gap: .6rem;
  font-weight: 700; font-size: 1.15rem; color: var(--ink); text-decoration: none; letter-spacing: -0.01em;
}
.brand-mark {
  width: 1.6rem; height: 1.6rem; border-radius: 6px; background: var(--petrol); position: relative; flex: none;
}
.brand-mark::before, .brand-mark::after {
  content: ""; position: absolute; top: 50%; width: .6rem; height: .6rem; border-radius: 50%; transform: translateY(-50%);
}
.brand-mark::before { left: .3rem; background: var(--paper); }
.brand-mark::after { left: .7rem; background: var(--mustard); }
.top-nav { display: flex; align-items: center; gap: 1.5rem; }
.top-nav a { color: var(--ink); text-decoration: none; font-weight: 500; }
.top-nav a:hover { text-decoration: underline; }
.top-cta { padding: .5rem .9rem; border: 1.5px solid var(--ink); border-radius: 999px; }
.top-cta:hover { background: var(--ink); color: var(--paper); text-decoration: none !important; }

/* Buttons */
.btn {
  display: inline-block; padding: .85rem 1.4rem; border-radius: 999px; border: 1.5px solid transparent;
  font: inherit; font-weight: 600; text-decoration: none; cursor: pointer; line-height: 1.2;
}
.btn-primary { background: var(--mustard); color: var(--ink); border-color: var(--mustard); }
.btn-primary:hover { background: #E8A526; border-color: #E8A526; }
.btn-quiet { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-quiet:hover { background: var(--ink); color: var(--paper); }

/* Sections share a container */
main > section { max-width: var(--max); margin: 0 auto; padding: clamp(3.5rem, 8vw, 6.5rem) var(--gutter); }
.section-intro { margin-top: 1rem; color: var(--ink-soft); }

/* Hero */
.hero {
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 5rem); align-items: center;
  padding-top: clamp(2rem, 6vw, 5rem) !important;
}
.hero-copy h1 { max-width: 16ch; }
.lede { margin-top: 1.5rem; font-size: 1.2rem; color: var(--ink-soft); max-width: 46ch; }
.hero-actions { display: flex; gap: .75rem; flex-wrap: wrap; margin-top: 2rem; }

.ledger {
  list-style: none; margin: 0; padding: 0;
  border-left: 3px solid var(--line);
}
.ledger li { padding: .75rem 0 .75rem 1.25rem; font-size: 1.15rem; line-height: 1.35; }
.ledger-no { color: var(--ink-soft); }
.ledger-no s { text-decoration-thickness: 2px; text-decoration-color: var(--petrol); opacity: .75; }
.ledger-yes {
  margin-top: .5rem; margin-left: -3px; border-left: 3px solid var(--mustard);
  font-weight: 600; font-size: 1.35rem !important; color: var(--ink); letter-spacing: -0.01em;
}

/* Examples band */
.band { background: var(--paper-deep); max-width: none !important; }
.band > * { max-width: var(--max); margin-left: auto; margin-right: auto; }
.band > h2, .band > p { padding: 0; }
.examples {
  list-style: none; margin: 2.5rem auto 0; padding: 0;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(2rem, 5vw, 4rem);
}
.examples li { padding: 1.5rem 0; border-top: 1px solid var(--line); }
.examples h3 { max-width: 24ch; }
.examples p { margin-top: .5rem; color: var(--ink-soft); }

/* Steps: a real sequence, so numbered */
.steps {
  list-style: none; margin: 2.5rem 0 0; padding: 0; counter-reset: stap;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem;
}
.steps li { counter-increment: stap; position: relative; padding-top: 1rem; border-top: 2px solid var(--petrol); }
.steps li::before {
  content: "Stap " counter(stap);
  display: block; color: var(--petrol); font-weight: 600; margin-bottom: .5rem;
}
.steps p { margin-top: .5rem; color: var(--ink-soft); font-size: 1rem; }
.principle {
  margin-top: 3.5rem; padding: 1.5rem 1.75rem; max-width: 56ch;
  background: var(--petrol); color: var(--paper); border-radius: 8px;
}
.principle p { font-size: 1.1rem; line-height: 1.5; }

/* Over mij */
.over { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 5rem); border-top: 1px solid var(--line); }
.over-copy p { margin-top: 1.25rem; }
.over-copy h2 + p { margin-top: 1.5rem; }
.clients { align-self: end; }
.clients h3 { font-size: 1rem; color: var(--ink-soft); font-weight: 500; }
.clients ul { list-style: none; margin: .75rem 0 0; padding: 0; }
.clients li { padding: .55rem 0; border-top: 1px solid var(--line); font-weight: 500; }
.clients li:last-child { border-bottom: 1px solid var(--line); }

/* Afspraak */
.afspraak {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: clamp(2rem, 6vw, 5rem);
  border-top: 1px solid var(--line);
}
.afspraak-copy p { margin-top: 1.25rem; }
.contact { margin: 2rem 0 0; }
.contact div { display: grid; grid-template-columns: 6rem 1fr; gap: 1rem; padding: .6rem 0; border-top: 1px solid var(--line); }
.contact dt { color: var(--ink-soft); }
.contact dd { margin: 0; font-weight: 500; }

.form { display: grid; gap: 1.1rem; }
.field { display: grid; gap: .35rem; margin: 0; padding: 0; border: 0; min-width: 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
label, legend { font-weight: 500; }
.optional { color: var(--ink-soft); font-weight: 400; }
input[type="text"], input[type="email"], input[type="tel"], textarea {
  font: inherit; color: var(--ink); background: #fff;
  border: 1.5px solid var(--line); border-radius: 6px; padding: .7rem .85rem; width: 100%;
}
input:focus, textarea:focus { border-color: var(--petrol); }
textarea { resize: vertical; }
.choices { display: flex; gap: 1.25rem; flex-wrap: wrap; }
.choices label { display: inline-flex; align-items: center; gap: .4rem; font-weight: 400; }
.choices input { accent-color: var(--petrol); width: 1.1rem; height: 1.1rem; }
.form .btn { justify-self: start; margin-top: .5rem; }
.form-status { min-height: 1.5em; color: var(--petrol-deep); font-weight: 500; }
.form-status.is-error { color: #9B2C2C; }
.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.field.is-invalid input, .field.is-invalid textarea { border-color: #9B2C2C; }

/* Footer */
.foot {
  max-width: var(--max); margin: 0 auto; padding: 2.5rem var(--gutter) 3rem;
  border-top: 1px solid var(--line); color: var(--ink-soft); font-size: .95rem;
}
.foot p + p { margin-top: .5rem; }

/* Responsive */
@media (max-width: 56rem) {
  .hero, .over, .afspraak { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .examples { grid-template-columns: 1fr; }
}
@media (max-width: 36rem) {
  .steps { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .top-nav { gap: 1rem; font-size: .95rem; }
  .ledger li { font-size: 1.05rem; }
  .ledger-yes { font-size: 1.2rem !important; }
  .contact div { grid-template-columns: 1fr; gap: .15rem; }
}
