:root {
  --blue: #1D4999;
  --blue-dark: #153A7A;
  --blue-bg: #E1E9F7;
  --gold: #BF9000;
  --gold-dark: #8F6C00;
  --gold-bg: #FBEFD1;
  --bg: #F5F1E6;
  --card: #FFFFFF;
  --cream: #F3ECDD;
  --text: #141414;
  --muted: #54504A;
  --border: #DCD3C0;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

a { color: var(--blue); }

.wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
header.site {
  background: #fff;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 20;
}
header.site .wrap {
  display: flex;
  align-items: center;
  gap: 28px;
  padding-top: 14px;
  padding-bottom: 14px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 20px;
  text-decoration: none;
  color: var(--text);
  margin-right: auto;
}
.brand svg { display: block; }
nav.main {
  display: flex;
  gap: 22px;
}
nav.main a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
}
nav.main a.active, nav.main a:hover { color: var(--blue); }
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 12px;
  padding: 12px 22px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
}
.btn-primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 4px 14px rgba(29,73,153,0.28);
}
.btn-primary:hover { background: var(--blue-dark); }
.btn-gold {
  background: var(--gold);
  color: #fff;
  box-shadow: 0 4px 14px rgba(191,144,0,0.28);
}
.btn-gold:hover { background: var(--gold-dark); }
.btn-ghost {
  background: var(--cream);
  color: var(--text);
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  color: var(--text);
  padding: 6px 4px;
  order: 3;
}

@media (max-width: 780px) {
  header.site .wrap { position: relative; flex-wrap: nowrap; }
  nav.main {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    gap: 4px;
    padding: 10px 24px 18px;
    box-shadow: 0 8px 16px rgba(20,20,20,0.06);
  }
  nav.main.open { display: flex; }
  nav.main a { padding: 8px 0; }
  .nav-toggle { display: inline-block; }
  .btn.header-cta { order: 2; padding: 10px 16px; font-size: 14px; }
}

/* Hero photo */
.hero-image {
  max-width: 880px;
  margin: 32px auto 0;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(20,20,20,0.14);
}
.hero-image img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  display: block;
}
@media (max-width: 600px) {
  .hero-image img { height: 200px; }
}

/* Hero */
.hero {
  padding: 72px 0 56px;
  text-align: center;
}
.hero h1 {
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 800;
  letter-spacing: -1px;
  margin: 0 0 16px;
}
.hero p.lead {
  font-size: 19px;
  color: var(--muted);
  max-width: 620px;
  margin: 0 auto 32px;
}
.hero .actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Sections */
section { padding: 56px 0; }
section.alt { background: #fff; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
h2.section-title {
  font-size: 30px;
  font-weight: 700;
  text-align: center;
  margin: 0 0 8px;
}
p.section-sub {
  text-align: center;
  color: var(--muted);
  font-size: 17px;
  max-width: 560px;
  margin: 0 auto 40px;
}

/* Grid of cards */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 28px 24px;
  box-shadow: 0 1px 2px rgba(20,20,20,0.04), 0 6px 16px rgba(20,20,20,0.05);
}
.card .icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  font-size: 22px;
}
.card .icon.blue { background: var(--blue-bg); }
.card .icon.gold { background: var(--gold-bg); }
.card h3 { margin: 0 0 8px; font-size: 18px; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }

/* Steps (numbered) */
.steps { counter-reset: step; display: flex; flex-direction: column; gap: 22px; max-width: 640px; margin: 0 auto; }
.step { display: flex; gap: 18px; align-items: flex-start; }
.step .num {
  counter-increment: step;
  width: 36px; height: 36px; min-width: 36px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
}
.step.gold .num { background: var(--gold); }
.step h3 { margin: 2px 0 4px; font-size: 17px; }
.step p { margin: 0; color: var(--muted); font-size: 15px; }

/* Pills / badges */
.pill {
  display: inline-block;
  background: var(--cream);
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  padding: 5px 14px;
  border-radius: 999px;
}
.pill.blue { background: var(--blue-bg); color: var(--blue); }
.pill.gold { background: var(--gold-bg); color: var(--gold-dark); }

/* FAQ accordion */
details.faq {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 4px 20px;
  margin-bottom: 12px;
}
details.faq summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 16px;
  padding: 16px 0;
  list-style: none;
}
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after {
  content: "+";
  float: right;
  font-size: 20px;
  color: var(--muted);
}
details.faq[open] summary::after { content: "\2212"; }
details.faq p { margin: 0 0 18px; color: var(--muted); font-size: 15px; }

.faq-tabs { display: flex; gap: 10px; justify-content: center; margin-bottom: 32px; }
.faq-tab {
  background: var(--cream);
  border: none;
  border-radius: 999px;
  padding: 10px 22px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  font-family: inherit;
  color: var(--text);
}
.faq-tab.active { background: var(--blue); color: #fff; }
.faq-section { display: none; }
.faq-section.active { display: block; }

/* CTA band */
.cta-band {
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  color: #fff;
  text-align: center;
  border-radius: 24px;
  padding: 48px 32px;
  margin: 0 24px;
}
.cta-band h2 { margin: 0 0 10px; font-size: 28px; }
.cta-band p { margin: 0 0 24px; opacity: 0.9; }
.cta-band .btn-primary { background: #fff; color: var(--blue); box-shadow: none; }
.cta-band .btn-primary:hover { background: var(--gold-bg); }

/* Footer */
footer.site {
  border-top: 1px solid var(--border);
  padding: 36px 0 28px;
  margin-top: 40px;
}
footer.site .wrap {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}
footer.site nav { display: flex; gap: 18px; flex-wrap: wrap; }
footer.site a { color: var(--muted); text-decoration: none; font-size: 14px; }
footer.site a:hover { color: var(--blue); }
footer.site .copy { color: var(--muted); font-size: 13px; }

/* Two-column intro */
.split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}
@media (max-width: 780px) {
  .split { grid-template-columns: 1fr; }
}

/* Juridische pagina's (gegenereerd door generate_juridische_paginas.py) */
.legal { max-width: 760px; margin: 0 auto; }
.legal h2 { font-size: 22px; margin: 34px 0 10px; }
.legal p { margin: 0 0 12px; line-height: 1.6; }
.legal ul { margin: 0 0 14px 22px; padding: 0; line-height: 1.6; }
.legal li { margin-bottom: 6px; }
.legal .meta { color: var(--muted); font-size: 15px; margin-bottom: 18px; }
.legal .note { background: var(--gold-bg); border-radius: 12px; padding: 12px 16px; margin: 0 0 22px; }
.legal .table-wrap { overflow-x: auto; margin: 6px 0 18px; }
.legal table { border-collapse: collapse; width: 100%; font-size: 15px; background: #fff; }
.legal th, .legal td { border: 1px solid var(--border); padding: 8px 10px; text-align: left; vertical-align: top; }
.legal th { background: var(--blue-bg); }
