/* Subpagina's (privacy, voorwaarden, contact), 8 okt 2026 (Seyed 4317): zelfde kop, voet en typografie als de
 * ontslakte homepage (index.html). Waarden overgenomen uit de homepage; alleen tokens, geen nieuwe kleuren.
 * Laden na /thema.css, zodat de homepagetokens hier winnen, net als op de homepage. */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --brand: #3C2455; --brand-dark: #241534; --brand-soft: rgba(60,36,85,0.10);
  --bg: #E7E7E7; --card: #FFFFFF; --ink: #050308; --muted: #696470; --knop: #050308; --knop-hover: #3C2455;
  --kop-accent: #7442C8; --kop-accent-licht: #B79CF0;
  --font: 'Geist', -apple-system, BlinkMacSystemFont, sans-serif;
  --ease: cubic-bezier(.2,.7,.2,1);
  --wrap: 1120px;
  --lijn: rgba(5,3,8,0.12);
}
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
body { font-family: var(--font); background: var(--bg); color: var(--ink); min-height: 100dvh; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
img, svg { display: block; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.naar-inhoud { position: absolute; left: 16px; top: -60px; z-index: 60; background: var(--ink); color: var(--card); padding: 10px 16px; border-radius: 999px; font-size: 14px; text-decoration: none; }
.naar-inhoud:focus { top: 10px; }
/* Focusring: zelfde als thema.css, ook op de donkere knop zichtbaar door de offset. */
:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; }
:focus:not(:focus-visible) { outline: none; }

/* ── Navigatie (gelijk aan de homepage) ── */
.topbar { position: sticky; top: 0; z-index: 50; height: 64px; background: rgba(231,231,231,0.8); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); border-bottom: 1px solid rgba(5,3,8,0.06); }
.topbar .wrap { height: 100%; display: flex; align-items: center; gap: 28px; }
.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand .logo { height: 36px; width: auto; }
.nav { display: flex; gap: 26px; align-items: center; margin-left: 8px; }
.nav a { text-decoration: none; font-size: 14px; font-weight: 500; color: var(--ink); opacity: .72; transition: opacity 150ms; }
.nav a:hover, .nav a[aria-current="page"] { opacity: 1; }
.nav-rechts { margin-left: auto; display: flex; align-items: center; gap: 18px; }
.nav-rechts .inlog { text-decoration: none; font-size: 14px; font-weight: 500; opacity: .72; }
.nav-rechts .inlog:hover { opacity: 1; }
.knop { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: none; cursor: pointer; text-decoration: none; font-family: var(--font); font-weight: 500; letter-spacing: -0.01em; border-radius: 999px; transition: background 150ms, transform 150ms; white-space: nowrap; }
.knop:active { transform: scale(.98); }
.knop-cta { background: var(--knop); color: var(--card); padding: 14px 26px; font-size: 17px; }
.knop-cta:hover { background: var(--knop-hover); }
.knop-klein { padding: 9px 16px; font-size: 14px; }
.knop-donker { background: var(--ink); color: var(--card); }
.knop-donker:hover { background: var(--brand); }
.knop-licht { background: var(--card); color: var(--ink); }
.knop-tekst { background: none; color: var(--ink); padding: 14px 4px; font-size: 17px; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; text-decoration-color: var(--lijn); }
.knop-tekst:hover { text-decoration-color: currentColor; }
.ac { color: var(--kop-accent); }
.menu-knop { display: none; margin-left: auto; width: 44px; height: 44px; border: none; background: none; cursor: pointer; border-radius: 12px; align-items: center; justify-content: center; color: var(--ink); }
.menu-knop span, .menu-knop span::before, .menu-knop span::after { display: block; width: 20px; height: 1.6px; background: currentColor; border-radius: 2px; position: relative; transition: transform .25s var(--ease), background .2s; }
.menu-knop span::before, .menu-knop span::after { content: ''; position: absolute; left: 0; }
.menu-knop span::before { top: -6px; } .menu-knop span::after { top: 6px; }
.menu-knop[aria-expanded="true"] span { background: transparent; }
.menu-knop[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.menu-knop[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }
.menu { position: fixed; top: 56px; left: 0; right: 0; bottom: 0; overflow-y: auto; overscroll-behavior: contain; z-index: 49; background: rgba(231,231,231,0.97); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); padding: 8px 16px 24px; transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .2s var(--ease), transform .25s var(--ease), visibility 0s .25s; }
.menu.open { transform: none; opacity: 1; visibility: visible; transition: opacity .2s var(--ease), transform .25s var(--ease); }
.menu a.item { display: block; padding: 15px 4px; font-size: 20px; font-weight: 500; letter-spacing: -0.02em; text-decoration: none; border-bottom: 1px solid rgba(5,3,8,0.06); }
.menu .knoppen { display: grid; gap: 10px; margin-top: 20px; }
.menu .knop { width: 100%; padding: 15px; font-size: 17px; }

/* ── Leeskolom (juridisch en contact) ── */
.doc { max-width: 760px; margin: 0 auto; padding: 72px 24px 88px; }
.voor { font-size: 15px; font-weight: 500; color: var(--muted); margin-bottom: 16px; }
.doc h1 { font-size: clamp(36px, 5vw, 56px); font-weight: 700; letter-spacing: -0.045em; line-height: 1.04; margin-bottom: 16px; text-wrap: balance; }
.doc .meta { color: var(--muted); font-size: 15px; margin-bottom: 40px; }
.doc .lead { font-size: clamp(17px, 1.6vw, 19px); color: var(--muted); line-height: 1.5; letter-spacing: -0.01em; max-width: 34em; margin-bottom: 40px; }
.doc .kaart { background: var(--card); border-radius: 24px; padding: 44px 44px 28px; }
.doc h2 { font-size: 22px; font-weight: 650; letter-spacing: -0.025em; line-height: 1.25; margin: 40px 0 12px; }
.doc .kaart > h2:first-of-type { margin-top: 8px; }
.doc h3 { font-size: 16px; font-weight: 600; letter-spacing: -0.01em; margin: 20px 0 6px; }
.doc p, .doc li { font-size: 16px; line-height: 1.65; color: var(--ink); margin-bottom: 12px; }
.doc ol, .doc ul { padding-left: 22px; margin-bottom: 12px; }
.doc li { margin-bottom: 6px; }
.doc a { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
/* Invulvelden ([adres], [KvK-nummer], [btw-nummer]) blijven zichtbaar gemarkeerd tot de echte gegevens er zijn. */
.doc .invul { color: var(--ink); background: var(--brand-soft); border: 1px dashed var(--brand); border-radius: 6px; padding: 0 6px; font-weight: 600; white-space: nowrap; }
.doc .inhoud { margin-bottom: 8px; list-style: none; padding: 0 0 20px; border-bottom: 1px solid var(--lijn); columns: 2; column-gap: 32px; }
.doc .inhoud li { margin-bottom: 0; line-height: 1.5; break-inside: avoid; }
.doc .inhoud a { color: var(--muted); text-decoration: none; font-size: 14px; display: inline-block; padding: 4px 0; }
.doc .inhoud a:hover { color: var(--ink); }
.doc table { width: 100%; border-collapse: collapse; margin: 6px 0 16px; font-size: 15px; }
.doc th, .doc td { text-align: left; padding: 10px 12px 10px 0; vertical-align: top; border-bottom: 1px solid var(--lijn); line-height: 1.5; }
.doc th { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 600; }

/* Contact: routes als lijst met lijnen, zoals de punten op de homepage. */
.doc .routes { list-style: none; padding: 0; margin: 0; }
.doc .routes li { padding: 26px 0; border-top: 1px solid var(--lijn); margin: 0; }
.doc .routes li:last-child { border-bottom: 1px solid var(--lijn); }
.doc .routes h2 { margin: 0 0 6px; }
.doc .routes p { color: var(--muted); max-width: 34em; }
.doc .routes .knop { margin-top: 10px; }
.doc .routes .knop-cta { text-decoration: none; }
.doc .routes .knop-cta { color: var(--card); }
.doc .routes .route-link { font-weight: 600; font-size: 17px; display: inline-block; padding: 6px 0; }
.doc .routes .hoofd { padding-top: 8px; }

/* ── Footer (gelijk aan de homepage) ── */
.footer { padding: 32px 0 44px; color: var(--muted); font-size: 13px; line-height: 1.9; }
.footer .wrap { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; border-top: 1px solid var(--lijn); padding-top: 28px; }
.footer .fm-logo { height: 36px; width: auto; }
.footer a { color: var(--muted); text-decoration: none; display: inline-block; padding: 4px 0; }
.footer a:hover { color: var(--ink); }

@media (max-width: 1000px) {
  .nav { display: none; }
}
@media (max-width: 760px) {
  .wrap { padding: 0 16px; }
  .topbar { height: 56px; }
  .brand .logo { height: 32px; }
  .nav-rechts { display: none; }
  .menu-knop { display: inline-flex; }
  .doc { padding: 40px 16px 56px; }
  .doc .meta { margin-bottom: 28px; }
  .doc .lead { margin-bottom: 28px; }
  .doc .kaart { padding: 28px 20px 16px; border-radius: 20px; }
  .doc .inhoud { columns: 1; }
  .doc table, .doc thead, .doc tbody, .doc tr, .doc th, .doc td { display: block; }
  .doc thead { display: none; }
  .doc td { padding: 4px 0; border: 0; }
  .doc tr { padding: 10px 0; border-bottom: 1px solid var(--lijn); }
  .doc .invul { white-space: normal; }
  .doc .routes .knop { width: 100%; }
  .footer .wrap { flex-direction: column; align-items: flex-start; gap: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
