/* =========================================================
   BALLPINNETJE — PRIVACY | versie 1
   Zelfstandig stijlblad; geen frameworks of externe lettertypen.
   ========================================================= */

:root {
  --blue: #0a3fa8;
  --blue-dark: #062b74;
  --yellow: #f2c400;
  --yellow-dark: #c89f00;
  --silver-soft: #dfe3e8;
  --ink: #171717;
  --muted: #4f5966;
  --header: rgba(203, 210, 220, 0.96);
  --footer: #cbd2dc;
  --line: #bdc7d4;
  --max-width: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--silver-soft);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system,
    BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
}
a { color: var(--blue-dark); text-underline-offset: 4px; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--yellow); outline-offset: 4px; }
.skip-link {
  position: absolute; top: -110px; left: 1rem; z-index: 2000;
  padding: .8rem 1rem; color: white; background: var(--blue-dark);
  border-radius: 10px;
}
.skip-link:focus { top: 1rem; }

/* Header: dezelfde navigatie als Home. */
.site-header {
  position: sticky; top: 0; z-index: 1000;
  border-bottom: 1px solid rgba(6,43,116,.16);
  background: var(--header);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
}
.header-inner {
  width: min(calc(100% - 2rem), var(--max-width)); min-height: 76px;
  margin: 0 auto; display: flex; align-items: center;
  justify-content: space-between; gap: 2rem;
}
.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand-name { font-size: clamp(1.25rem,2vw,1.55rem); font-weight: 700; color: var(--yellow-dark); letter-spacing: -.02em; }
.brand-name strong { color: var(--blue); }
.main-nav { display: flex; align-items: center; gap: .25rem; }
.main-nav a { padding: .7rem .9rem; color: #4f5966; font-size: 1.05rem; text-decoration: none; border-radius: 999px; }
.main-nav a:hover { color: var(--blue-dark); background: #eaf1ff; }
.menu-toggle { display: none; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 14px; background: #fff; cursor: pointer; }
.menu-toggle span { display: block; width: 22px; height: 2px; margin: 5px auto; background: var(--ink); }

/* Kruimelpad en introductie. */
.site-breadcrumb {
  width: min(calc(100% - 2rem), var(--max-width));
  margin: 0 auto; padding: .9rem 0 0;
}
.site-breadcrumb ol {
  display: flex; align-items: center; flex-wrap: wrap; gap: .55rem;
  margin: 0; padding: 0; list-style: none; font-size: .92rem;
}
.site-breadcrumb [aria-current="page"] { color: var(--muted); font-weight: 750; }
.legal-page { width: min(calc(100% - 2rem), 910px); margin: 0 auto; padding: clamp(1.5rem,4vw,3rem) 0 3.8rem; }
.legal-intro { margin: 0 0 2rem; }
.eyebrow { margin: 0 0 .45rem; color: var(--blue); font-size: .85rem; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; }
.legal-intro h1 { margin: 0; color: var(--blue); font-size: clamp(2.7rem,7vw,4.8rem); line-height: 1.04; letter-spacing: -.05em; }
.legal-lead { max-width: 760px; margin: 1rem 0 0; color: #394655; font-size: clamp(1.05rem,2vw,1.2rem); }
.legal-date { margin: .8rem 0 0; color: var(--muted); font-size: .87rem; }

/* Zelfstandige tekstblokken in de kleurenfamilie van Home. */
.legal-card {
  margin: 0 0 1rem; padding: clamp(1.3rem,3.4vw,2rem);
  border: 1px solid rgba(10,63,168,.25); border-radius: 25px;
  background: linear-gradient(145deg,#cbd3dd 0%,#d9dfe6 58%,#e5e0d1 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.75), 0 12px 28px rgba(24,35,55,.09);
}
.legal-card h2 { margin: 0 0 .55rem; color: var(--blue-dark); font-size: clamp(1.28rem,2.5vw,1.65rem); line-height: 1.25; }
.legal-card p { margin: .6rem 0 0; }
.legal-card p:first-of-type { margin-top: .25rem; }
.legal-card ul { margin: .5rem 0 0; padding-left: 1.3rem; }
.legal-card li + li { margin-top: .45rem; }
.legal-card a { overflow-wrap: anywhere; }
.legal-card strong { color: #122944; }
.legal-note { margin-top: 1.4rem; color: var(--muted); font-size: .93rem; }
.legal-actions { margin-top: 1.5rem; display: flex; flex-wrap: wrap; gap: .75rem; }
.legal-actions a {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 45px; padding: .7rem 1.15rem;
  border: 1px solid rgba(10,63,168,.3); border-radius: 999px;
  color: var(--blue-dark); background: #f7f9fc;
  text-decoration: none; font-weight: 750;
}
.legal-actions a:hover { background: #eaf1ff; }

/* Footer uit de Ballpinnetje-familie. */
.site-footer { margin-top: 1.2rem; padding: 3rem 0 1.5rem; background: var(--footer); }
.footer-inner {
  width: min(calc(100% - 2rem), var(--max-width)); margin: 0 auto;
  display: grid; grid-template-columns: 1.2fr auto; gap: 2rem; align-items: start;
}
.footer-brand-name { display: inline-block; font-size: 1.2rem; line-height: 1.2; }
.brand-blue { color: var(--blue); }
.brand-yellow { color: var(--yellow-dark); }
.footer-inner p { margin: .3rem 0 0; color: #4f5966; }
.footer-nav { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: .55rem 1.5rem; }
.footer-nav a { color: var(--blue); }
.footer-nav a[aria-current="page"] { color: var(--blue-dark); font-weight: 800; }
.copyright {
  width: min(calc(100% - 2rem), var(--max-width)); margin: 2rem auto 0;
  padding-top: 1.2rem; display: flex; justify-content: space-between;
  align-items: center; gap: 1.5rem; border-top: 1px solid rgba(6,43,116,.14);
  color: #4f5966; font-size: .9rem;
}
.footer-signatuur { width: 150px; max-width: 70%; height: auto; display: block; flex: 0 0 auto; }
@media (min-width: 821px) { .header-inner { min-height: 95px; } .brand-name { font-size: clamp(1.4rem,1.8vw,1.7rem); } }
@media (max-width: 820px) {
  .header-inner { gap: 1rem; }
  .menu-toggle { display: block; }
  .main-nav {
    position: absolute; left: 1rem; right: 1rem; top: calc(100% + .5rem);
    padding: .7rem; display: none; flex-direction: column; align-items: stretch;
    border: 1px solid var(--line); border-radius: 18px; background: #fff;
    box-shadow: 0 12px 38px rgba(0,0,0,.08);
  }
  .main-nav.is-open { display: flex; }
  .main-nav a { padding: .9rem 1rem; }
  .site-footer { padding: 2rem 0 1rem; }
  .footer-inner { grid-template-columns: 1fr; gap: 1rem; }
  .footer-brand-name { font-style: italic; }
  .footer-brand-name .brand-blue, .footer-brand-name .brand-yellow { color: var(--ink); }
  .footer-nav { justify-content: flex-start; gap: .35rem 1rem; }
  .copyright { margin-top: 1.25rem; padding-top: 1rem; gap: .9rem; }
}
@media (max-width: 560px) {
  .footer-brand-name { font-size: 1.05rem; }
  .footer-inner p, .footer-nav { font-size: .95rem; }
  .copyright { font-size: .82rem; gap: .75rem; }
  .copyright span { max-width: 215px; }
  .footer-signatuur { width: 110px; max-width: 34%; }
}
@media (max-width: 480px) { .header-inner { min-height: 68px; } .brand-name { font-size: 1.15rem; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
