/* Tokens uit docs/styleguide.html ("Nevel"): zand, inkt, warme accentkleur. Geen externe bronnen (AVG, CSP). */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/fonts/CormorantGaramond-SemiBold.woff2') format('woff2');
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/CormorantGaramond-Italic.woff2') format('woff2');
}

:root {
  --bg: #efede8;
  --surface: #f4f2ed;
  --card: #f9f7f2;
  --border: rgba(60, 57, 53, 0.1);
  --border2: rgba(60, 57, 53, 0.18);
  --sand-pale: #eae4d8;
  --ink: #3c3935;
  --ink-mid: #6b6660;
  --ink-soft: #7d776e;
  --accent: #b08b6f;
  --accent-dark: #8a6d4a;
  --accent-lt: #efe6dd;
  --ok: #5f6f4c;
  --ok-bg: #eef0e7;
  --bad: #a2574b;
  --bad-bg: #f5ebe7;
  --fd: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --fb: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --r: 20px;
  --r-sm: 12px;
  --sh-lifted: 0 10px 24px -8px rgba(60, 57, 53, 0.16), 0 2px 6px rgba(60, 57, 53, 0.06);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--fb);
  font-size: 17px;
  line-height: 1.6;
}
a {
  color: var(--accent-dark);
  text-underline-offset: 3px;
}
a:hover {
  color: var(--ink);
}
:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}
.skip {
  position: absolute;
  left: -9999px;
}
.skip:focus {
  left: 16px;
  top: 16px;
  background: var(--card);
  padding: 8px 12px;
  border-radius: var(--r-sm);
  z-index: 10;
}
mark.todo {
  background: #f3ecdc;
  color: #7a5c24;
  padding: 0 4px;
  border-radius: 4px;
}

/* Kop en voet */
.top {
  max-width: 1040px;
  margin: 0 auto;
  padding: 22px 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  font-family: var(--fd);
  font-weight: 600;
  font-size: 30px;
  letter-spacing: 0.01em;
  color: var(--ink);
  text-decoration: none;
}
.top-cta {
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  color: var(--ink);
  border: 1.5px solid var(--border2);
  border-radius: 999px;
  padding: 8px 16px;
}
.top-cta:hover {
  border-color: var(--accent);
  background: var(--accent-lt);
}
.foot {
  max-width: 1040px;
  margin: 72px auto 0;
  padding: 24px 24px 48px;
  border-top: 1px solid var(--border);
  color: var(--ink-soft);
  font-size: 14px;
}
.foot-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin-bottom: 10px;
}
.foot-nav a {
  color: var(--ink-mid);
}
.foot-note {
  margin: 0;
}

/* Beginpagina */
.wrap {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 24px;
}
.hero {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-areas: 'text' 'form' 'photo';
  gap: 40px;
  padding-top: 56px;
  align-items: start;
}
.hero-text {
  grid-area: text;
}
.hero-form {
  grid-area: form;
}
.hero-photo {
  grid-area: photo;
  margin: 0;
}
.hero-photo img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--r);
  box-shadow: var(--sh-lifted);
}
@media (min-width: 880px) {
  .hero {
    grid-template-columns: 1.15fr 0.85fr;
    grid-template-areas: 'text form' 'photo form';
    grid-template-rows: auto 1fr;
    gap: 40px 64px;
    padding-top: 88px;
  }
}
.eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-dark);
  margin: 0 0 16px;
}
h1,
h2,
h3 {
  font-family: var(--fd);
  font-weight: 600;
  line-height: 1.08;
  margin: 0;
}
h1 {
  font-size: clamp(42px, 8vw, 68px);
}
h1 em {
  font-weight: 400;
  color: var(--accent);
}
.lead {
  font-size: 19px;
  color: var(--ink-mid);
  margin: 20px 0 0;
  max-width: 34em;
}
.section {
  padding-top: 88px;
}
.section > h2 {
  font-size: clamp(32px, 5vw, 44px);
  margin-bottom: 28px;
}
.grid3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
@media (min-width: 760px) {
  .grid3 {
    grid-template-columns: repeat(3, 1fr);
  }
}
.tile {
  background: var(--card);
  border-radius: var(--r);
  padding: 26px 24px;
  box-shadow: 0 4px 10px -2px rgba(60, 57, 53, 0.08);
}
.tile h3 {
  font-size: 26px;
  margin-bottom: 8px;
}
.tile p {
  margin: 0;
  color: var(--ink-mid);
  font-size: 16px;
}
.step-no {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--accent-lt);
  color: var(--accent-dark);
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 14px;
}

/* Formulier */
.card {
  background: var(--card);
  border-radius: var(--r);
  padding: 26px;
  box-shadow: var(--sh-lifted);
}
.card h2 {
  font-size: 30px;
  margin-bottom: 6px;
}
.card .sub {
  color: var(--ink-mid);
  margin: 0 0 20px;
  font-size: 16px;
}
label,
legend {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-mid);
  margin: 0 0 6px;
  padding: 0;
}
.opt {
  font-weight: 400;
  color: var(--ink-soft);
}
.field {
  margin-bottom: 16px;
}
input[type='text'],
input[type='email'] {
  width: 100%;
  font: inherit;
  color: var(--ink);
  background: #fff;
  border: 1.5px solid var(--border2);
  border-radius: var(--r-sm);
  padding: 12px 14px;
  outline: none;
}
input[type='text']:focus,
input[type='email']:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-lt);
}
.hint {
  font-size: 13.5px;
  color: var(--ink-soft);
  margin: 6px 0 0;
}
fieldset {
  border: 0;
  margin: 0 0 18px;
  padding: 0;
}
.modes {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.modes label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-weight: 500;
  font-size: 15px;
  color: var(--ink);
  background: #fff;
  border: 1.5px solid var(--border2);
  border-radius: 999px;
  padding: 9px 14px;
  cursor: pointer;
}
.modes input {
  accent-color: var(--accent-dark);
}
.modes label:has(input:checked) {
  border-color: var(--accent);
  background: var(--accent-lt);
}
button.primary {
  width: 100%;
  font: inherit;
  font-weight: 600;
  color: #fff;
  background: var(--ink);
  border: 0;
  border-radius: 999px;
  padding: 14px 18px;
  cursor: pointer;
}
button.primary:hover {
  background: #2c2a27;
}
button.primary:disabled {
  opacity: 0.55;
  cursor: default;
}
.status {
  margin: 14px 0 0;
  font-size: 15px;
  border-radius: var(--r-sm);
  padding: 10px 12px;
  display: none;
}
.status.show {
  display: block;
  background: var(--bad-bg);
  color: var(--bad);
}
.fine {
  font-size: 13.5px;
  color: var(--ink-soft);
  margin: 14px 2px 0;
}
.done {
  display: none;
  text-align: center;
  padding: 10px 0;
}
.done.show {
  display: block;
}
.done h2 {
  font-size: 34px;
  margin: 0 0 8px;
}
.done p {
  color: var(--ink-mid);
  margin: 0;
}
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.noscript {
  background: var(--bad-bg);
  color: var(--bad);
  border-radius: var(--r-sm);
  padding: 10px 12px;
  margin: 0 0 16px;
  font-size: 15px;
}

/* Veelgestelde vragen */
.faq {
  max-width: 760px;
}
.faq details {
  border-top: 1px solid var(--border);
  padding: 16px 0;
}
.faq details:last-child {
  border-bottom: 1px solid var(--border);
}
.faq summary {
  cursor: pointer;
  font-weight: 600;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: '+';
  color: var(--accent-dark);
  font-size: 22px;
  line-height: 1;
}
.faq details[open] summary::after {
  content: '\2212';
}
.faq details p {
  margin: 12px 0 0;
  color: var(--ink-mid);
}

/* Juridische pagina's */
.prose {
  max-width: 740px;
  margin: 0 auto;
  padding: 56px 24px 0;
}
.prose h1 {
  font-size: clamp(38px, 7vw, 54px);
  margin-bottom: 8px;
}
.prose .updated {
  color: var(--ink-soft);
  margin: 0 0 36px;
  font-size: 15px;
}
.prose h2 {
  font-size: 30px;
  margin: 44px 0 10px;
}
.prose h3 {
  font-size: 22px;
  margin: 26px 0 6px;
}
.prose p,
.prose li {
  color: #4a4641;
}
.prose ul,
.prose ol {
  padding-left: 22px;
}
.prose li {
  margin: 4px 0;
}
.prose .tablewrap {
  overflow-x: auto;
  margin: 14px 0;
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  background: var(--card);
}
.prose table {
  border-collapse: collapse;
  width: 100%;
  font-size: 15px;
}
.prose th,
.prose td {
  text-align: left;
  vertical-align: top;
  padding: 10px 12px;
  border-bottom: 1px solid var(--border);
}
.prose th {
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-soft);
  white-space: nowrap;
}
.prose tr:last-child td {
  border-bottom: 0;
}
.prose .toc {
  background: var(--card);
  border-radius: var(--r);
  padding: 16px 22px;
  margin: 0 0 8px;
}
.prose .toc ol {
  margin: 6px 0;
}
.prose address {
  font-style: normal;
}
.prose dl {
  margin: 14px 0;
}
.prose dt {
  font-weight: 600;
  margin-top: 12px;
}
.prose dd {
  margin: 2px 0 0;
  color: #4a4641;
}
