/* Law & Research — hoofdstijlblad
   Kleuren: navy (uit het logo) en wit. Geen externe lettertypes: snel en privacyvriendelijk. */

:root {
  --navy-900: #0b1f33;
  --navy-800: #11293f;
  --navy-700: #1b3d5c; /* logokleur */
  --navy-600: #24507a;
  --navy-100: #e6edf4;
  --navy-50:  #f3f6fa;
  --white: #ffffff;
  --ink: #14212e;
  --ink-soft: #4a5a6a;
  --line: #d8e0e8;
  --accent: #c9a961; /* subtiel goud, alleen voor kleine accenten */
  --ok: #1f7a4d;
  --err: #b42318;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 10px 30px rgba(11, 31, 51, .08);
  --shadow-lg: 0 20px 50px rgba(11, 31, 51, .16);
  --max: 1180px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
}
img, svg { max-width: 100%; display: block; }
a { color: var(--navy-600); text-underline-offset: 3px; }
a:hover { color: var(--navy-800); }
h1, h2, h3, h4 { color: var(--navy-800); line-height: 1.2; margin: 0 0 .6em; }
h1 { font-family: var(--font-serif); font-size: clamp(2.1rem, 4.6vw, 3.4rem); font-weight: 600; letter-spacing: -.01em; }
h2 { font-family: var(--font-serif); font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 600; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.section { padding: clamp(56px, 8vw, 96px) 0; }
.section--tint { background: var(--navy-50); }
.section--navy { background: var(--navy-800); color: #dfe8f1; }
.section--navy h2, .section--navy h3 { color: var(--white); }
.eyebrow {
  display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--navy-600); margin-bottom: .8rem;
}
.section--navy .eyebrow, .hero .eyebrow { color: var(--accent); }
.lead { font-size: 1.2rem; color: var(--ink-soft); max-width: 62ch; }
.section-head { max-width: 760px; margin-bottom: 40px; }
.skip-link { position: absolute; left: -9999px; top: 0; background: var(--white); padding: 10px 16px; z-index: 100; }
.skip-link:focus { left: 10px; top: 10px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Knoppen */
.btn {
  display: inline-flex; align-items: center; gap: .5em; justify-content: center;
  padding: .85em 1.5em; border-radius: 999px; border: 2px solid transparent;
  font: inherit; font-weight: 600; font-size: 1rem; text-decoration: none; cursor: pointer;
  transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--navy-700); color: var(--white); }
.btn--primary:hover { background: var(--navy-900); color: var(--white); }
.btn--light { background: var(--white); color: var(--navy-800); }
.btn--light:hover { background: var(--navy-100); color: var(--navy-900); }
.btn--ghost { border-color: rgba(255,255,255,.55); color: var(--white); }
.btn--ghost:hover { background: rgba(255,255,255,.1); color: var(--white); }
.btn--outline { border-color: var(--navy-700); color: var(--navy-700); background: transparent; }
.btn--outline:hover { background: var(--navy-700); color: var(--white); }
.btn[disabled] { opacity: .6; cursor: wait; transform: none; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96);
  backdrop-filter: saturate(160%) blur(8px); border-bottom: 1px solid var(--line);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--navy-700); }
.brand img { width: 40px; height: 40px; }
.brand-text { line-height: 1; text-transform: uppercase; font-size: 1.28rem; font-weight: 800; letter-spacing: .04em; white-space: nowrap; }
@media (max-width: 360px) { .brand-text { font-size: 1.1rem; } }

.nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px; }
.nav a, .nav button.nav-sub-toggle {
  display: block; padding: 10px 14px; border-radius: 8px; text-decoration: none; color: var(--ink);
  font-weight: 600; font-size: .98rem; background: none; border: 0; font-family: inherit; cursor: pointer;
}
.nav a:hover, .nav button.nav-sub-toggle:hover, .nav a[aria-current="page"] { color: var(--navy-700); background: var(--navy-50); }
.nav .nav-cta { background: var(--navy-700); color: var(--white); margin-left: 6px; }
.nav .nav-cta:hover, .nav .nav-cta[aria-current="page"] { background: var(--navy-900); color: var(--white); }
.has-sub { position: relative; }
.sub {
  position: absolute; top: 100%; left: 0; min-width: 240px; background: var(--white);
  border: 1px solid var(--line); border-radius: var(--radius-sm); box-shadow: var(--shadow-lg);
  padding: 8px; display: none !important; flex-direction: column; align-items: stretch !important;
}
.has-sub:hover .sub, .has-sub:focus-within .sub, .has-sub.open .sub { display: flex !important; }
.nav-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; color: var(--navy-800); }
.nav-toggle svg { width: 28px; height: 28px; }

@media (max-width: 960px) {
  .nav-toggle { display: block; }
  .nav {
    position: fixed; inset: 76px 0 0 0; background: var(--white); padding: 20px; overflow-y: auto; display: none;
  }
  .nav.open { display: block; animation: navIn .2s ease; }
  @keyframes navIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
  .nav ul { flex-direction: column; align-items: stretch; gap: 2px; }
  .nav a, .nav button.nav-sub-toggle { padding: 14px 12px; font-size: 1.1rem; width: 100%; text-align: left; }
  .sub { position: static; display: flex !important; box-shadow: none; border: 0; padding: 0 0 0 14px; }
  .nav .nav-cta { margin: 10px 0 0; text-align: center; }
}

/* Hero */
.hero {
  position: relative; overflow: hidden; color: #dfe8f1;
  background:
    radial-gradient(1200px 500px at 85% -10%, rgba(36,80,122,.85), transparent 60%),
    linear-gradient(160deg, var(--navy-800), var(--navy-900));
  padding: clamp(64px, 10vw, 120px) 0 clamp(64px, 9vw, 110px);
}
.hero h1 { color: var(--white); max-width: 20ch; }
.hero .lead { color: #c3d2e1; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-mark { position: absolute; right: -60px; bottom: -60px; width: 420px; opacity: .06; pointer-events: none; }
.hero-note { margin-top: 26px; font-size: .92rem; color: #9fb4c8; }
.hero--page { padding: clamp(48px, 7vw, 84px) 0; }
.hero--page h1 { max-width: 22ch; }
.breadcrumb { font-size: .88rem; margin-bottom: 18px; color: #9fb4c8; }
.breadcrumb a { color: #c3d2e1; }
.breadcrumb ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.breadcrumb li + li::before { content: "›"; margin-right: 6px; }

/* Wegwijzer */
.picker { margin-top: -48px; position: relative; z-index: 2; }
.picker-box { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 28px; }
.picker-box h2 { font-family: var(--font); font-size: 1.15rem; margin-bottom: 16px; }
.picker-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.picker-grid a {
  display: flex; gap: 14px; align-items: flex-start; padding: 16px; border: 1px solid var(--line);
  border-radius: var(--radius-sm); text-decoration: none; color: var(--ink); transition: border-color .2s, background .2s;
}
.picker-grid a:hover { border-color: var(--navy-600); background: var(--navy-50); }
.picker-grid strong { display: block; color: var(--navy-800); }
.picker-grid span { font-size: .93rem; color: var(--ink-soft); }
@media (max-width: 820px) { .picker-grid { grid-template-columns: 1fr; } }

/* Kaarten */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; align-items: start; }
@media (max-width: 900px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow); display: flex; flex-direction: column;
}
.card h3 { font-size: 1.3rem; }
.card ul { padding-left: 1.1em; margin: 0 0 1.2em; color: var(--ink-soft); }
.card .more { margin-top: auto; font-weight: 700; text-decoration: none; }
.card .more::after { content: " →"; }
.icon-badge {
  width: 52px; height: 52px; border-radius: 12px; background: var(--navy-100); color: var(--navy-700);
  display: grid; place-items: center; margin-bottom: 18px; flex: none;
}
.icon-badge svg { width: 28px; height: 28px; }
.picker-grid .icon-badge { width: 44px; height: 44px; margin: 0; }
.picker-grid .icon-badge svg { width: 24px; height: 24px; }

/* Nieuws */
.news-legend { display: flex; flex-wrap: wrap; gap: 18px; font-size: .92rem; color: var(--ink-soft); margin-bottom: 18px; }
.news-legend span { display: inline-flex; align-items: center; gap: 8px; }
.news-legend svg { width: 22px; height: 22px; color: var(--navy-700); }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.filters .group { display: flex; flex-wrap: wrap; gap: 8px; margin-right: 12px; }
.chip {
  border: 1px solid var(--line); background: var(--white); color: var(--ink); border-radius: 999px;
  padding: 8px 16px; font: inherit; font-size: .93rem; font-weight: 600; cursor: pointer;
}
.chip[aria-pressed="true"] { background: var(--navy-700); border-color: var(--navy-700); color: var(--white); }
.news-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.news-list--home { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 980px) { .news-list--home { grid-template-columns: 1fr; } }
@media (max-width: 820px) { .news-list { grid-template-columns: 1fr; } }
.news-item {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px;
  display: flex; flex-direction: column; box-shadow: var(--shadow); scroll-margin-top: 100px;
}
.news-item[hidden] { display: none; }
.news-meta { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.news-type {
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; flex: none;
  background: var(--navy-700); color: var(--white);
}
.news-type svg { width: 26px; height: 26px; }
.news-type--wet { background: var(--white); color: var(--navy-700); border: 2px solid var(--navy-700); }
.news-tags { font-size: .82rem; color: var(--ink-soft); line-height: 1.4; }
.news-tags strong { display: block; color: var(--navy-700); text-transform: uppercase; letter-spacing: .08em; font-size: .75rem; }
.news-labels { display: flex; flex-wrap: wrap; gap: 6px; margin: -2px 0 10px; }
.news-label { font-size: .75rem; font-weight: 700; color: var(--navy-700); background: var(--navy-100); border-radius: 999px; padding: 3px 10px; }
.news-item h2, .news-item h3 { font-family: var(--font); font-size: 1.18rem; font-weight: 700; margin-bottom: .5em; }
.news-item p { color: var(--ink-soft); font-size: .98rem; }
.for-you {
  margin-top: auto; background: var(--navy-50); border-left: 4px solid var(--navy-700);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0; padding: 14px 16px; font-size: .96rem;
}
.for-you strong { display: block; color: var(--navy-800); margin-bottom: 4px; }
.for-you ul { margin: 0; padding-left: 1.1em; }
.news-source { font-size: .82rem; color: var(--ink-soft); margin: 12px 0 0; }
.disclaimer { font-size: .88rem; color: var(--ink-soft); margin-top: 28px; }

/* Rekenhulp */
.tool {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow);
}
.tool-result {
  margin-top: 18px; padding: 18px; border-radius: var(--radius-sm); background: var(--navy-800); color: var(--white);
}
.tool-result strong { font-size: 1.35rem; display: block; }
.tool-result small { color: #c3d2e1; }

/* Content */
.prose { max-width: 72ch; }
.prose h2 { margin-top: 1.6em; }
.prose h3 { margin-top: 1.4em; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .4em; }
.aside-card { position: sticky; top: 100px; background: var(--navy-800); color: #dfe8f1; border-radius: var(--radius); padding: 28px; }
.aside-card h3 { color: var(--white); }
.aside-card a:not(.btn) { color: var(--white); }
.layout-aside { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 56px; align-items: start; }
@media (max-width: 960px) { .layout-aside { grid-template-columns: 1fr; } .aside-card { position: static; } }
.check-list { list-style: none; padding: 0 !important; }
.check-list li { padding-left: 30px; position: relative; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: .45em; width: 18px; height: 18px; border-radius: 50%;
  background: var(--navy-700) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/12px no-repeat;
}
.split-tabs { display: flex; gap: 8px; margin: 10px 0 20px; flex-wrap: wrap; }
.tab-panel[hidden] { display: none; }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq summary { cursor: pointer; font-weight: 700; color: var(--navy-800); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--navy-600); }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 12px 0 0; color: var(--ink-soft); }

/* Formulieren */
.form { display: grid; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } }
.field label { display: block; font-weight: 600; font-size: .95rem; margin-bottom: 6px; color: var(--navy-800); }
.field .opt { font-weight: 400; color: var(--ink-soft); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; padding: 12px 14px; border-radius: var(--radius-sm);
  border: 1px solid #b9c6d3; background: var(--white); color: var(--ink);
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--navy-600); outline: 3px solid rgba(36,80,122,.18); }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .93rem; color: var(--ink-soft); }
.consent input { margin-top: 5px; width: 18px; height: 18px; flex: none; }
.hp { position: absolute !important; left: -5000px; }
.form-status { padding: 14px 16px; border-radius: var(--radius-sm); font-weight: 600; }
.form-status.ok { background: #e7f5ee; color: var(--ok); }
.form-status.err { background: #fdecea; color: var(--err); }
.form-status[hidden] { display: none; }

/* Research */
.lock-card { position: relative; overflow: hidden; }
.lock-card .blur { filter: blur(4px); user-select: none; color: var(--ink-soft); }
.lock-pill {
  display: inline-flex; align-items: center; gap: 6px; font-size: .8rem; font-weight: 700; color: var(--navy-700);
  background: var(--navy-100); padding: 4px 10px; border-radius: 999px; margin-bottom: 14px; align-self: flex-start;
}
.lock-pill svg { width: 14px; height: 14px; }

/* Over ons */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 32px; }
@media (max-width: 900px) { .stats { grid-template-columns: repeat(2, 1fr); } }
.stats div { border-top: 3px solid var(--accent); padding-top: 12px; }
.stats strong { display: block; color: var(--white); font-size: 1.15rem; }
@media (max-width: 700px) { .stats { grid-template-columns: 1fr; } }

/* CTA */
.cta { display: flex; justify-content: space-between; align-items: center; gap: 28px; flex-wrap: wrap; }
.cta h2 { margin: 0 0 .3em; }
.cta p { margin: 0; color: #c3d2e1; }

/* Footer */
.site-footer { background: var(--navy-900); color: #a9bbcc; font-size: .95rem; padding: 64px 0 28px; }
.site-footer a { color: #dfe8f1; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; color: var(--white); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h3 { color: var(--white); font-size: .85rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer .brand { color: var(--white); margin-bottom: 14px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 44px; padding-top: 22px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .85rem; }

/* Kleine animatie bij scrollen */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn:hover { transform: none; }
}

@media print {
  .site-header, .site-footer, .hero-actions, .filters, form { display: none !important; }
  .hero { background: none; color: #000; padding: 0; }
  .hero h1 { color: #000; }
}

/* Vier rechtsgebieden en literatuurlijst */
.grid-4 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
@media (max-width: 900px) { .grid-4 { grid-template-columns: 1fr; } }
.ref-list { list-style: none; padding: 0; margin: 0 0 1.5rem; }
.ref-list li { padding: 14px 0; border-bottom: 1px solid var(--line, #e3e8ef); line-height: 1.5; overflow-wrap: anywhere; }
.ref-list li span { color: var(--ink-soft); font-size: .95rem; }
.current-research { margin: 2.5rem 0; padding: 24px; background: var(--navy-50); border-radius: var(--radius-sm); border-left: 4px solid var(--accent); }
.current-research h2 { margin-top: .3rem; }
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 1rem 0; }
.compare h3 { font-size: 1rem; margin: 0 0 .4rem; }
@media (max-width: 700px) { .compare { grid-template-columns: 1fr; } }
/* Illustraties */
.hero .container { position: relative; }
.hero-illustration { display: none; }
@media (min-width: 980px) {
  .hero-illustration { display: block; position: absolute; right: 24px; top: 50%; transform: translateY(-50%); width: 340px; height: auto; opacity: .9; pointer-events: none; }
  .hero:has(.hero-illustration) .hero-mark { display: none; }
}
.illustration { display: block; width: min(260px, 70%); height: auto; margin: 0 auto 28px; }
/* Termijn-balk bovenaan */
.termijn { background: var(--white); border-bottom: 1px solid var(--line); padding: 20px 0; }
.picker + .termijn { background: none; border: 0; padding: 36px 0 0; }
.picker + .termijn .termijn-inner { background: var(--navy-50); border-radius: var(--radius); padding: 20px 24px; }
.termijn-inner { padding-left: 16px; display: flex; align-items: center; justify-content: space-between; gap: 16px 28px; flex-wrap: wrap; border-left: 4px solid var(--accent); }
.termijn p { margin: 0; color: var(--ink); max-width: 70ch; }
.termijn strong { color: var(--navy-800); }
.termijn .btn { padding: .65em 1.3em; }
/* Rekenhulp bovenaan */
.calc-top { background: var(--navy-50); padding: clamp(36px, 5vw, 56px) 0; }
.calc-wrap { max-width: 760px; }
.calc-wrap h2 { margin-bottom: .4em; }
/* Uit de praktijk en bijzondere zaken */
.praktijk { background: var(--navy-800); color: #dfe8f1; border-radius: var(--radius); padding: 28px; margin: 2em 0; }
.praktijk h3 { color: var(--white); font-size: 1.3rem; margin-top: 0 !important; }
.praktijk p { margin-bottom: .8em; }
.praktijk p:last-child { margin-bottom: 0; }
.praktijk .eyebrow { color: var(--accent); }
.budget { border: 1px solid var(--line); border-left: 4px solid var(--accent); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; padding: 22px 24px; margin-top: 2.2em; background: var(--white); }
.budget h3 { margin-top: 0 !important; }
.budget p { color: var(--ink-soft); }
.budget .budget-note { font-size: .88rem; margin: 0; }
