/* ==========================================================================
   Dossier 608 — Openbare Bronnen Onderzoek
   Typografie en layout. Geen externe afhankelijkheden.
   ========================================================================== */

:root {
  --kleur-primair: #1a2332;
  --kleur-secundair: #2c3e50;
  --kleur-accent: #2980b9;
  --kleur-tekst: #1a1a1a;
  --kleur-tekst-licht: #4a5568;
  --kleur-achtergrond: #ffffff;
  --kleur-grijs-licht: #f7f8fa;
  --kleur-rand: #e2e8f0;
  --kleur-waarschuwing: #c0392b;
  --breedte-max: 52rem;
  --lettertype: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --lettertype-mono: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  font-size: 100%;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: var(--lettertype);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--kleur-tekst);
  background: var(--kleur-achtergrond);
  margin: 0;
  padding: 0;
}

/* Header */
.site-header {
  background: var(--kleur-primair);
  color: #fff;
  padding: 1.5rem 0;
  border-bottom: 3px solid var(--kleur-accent);
}

.site-header__inner {
  max-width: var(--breedte-max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.site-header__title {
  margin: 0 0 0.25rem;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.site-header__title a {
  color: #fff;
  text-decoration: none;
}

.site-header__subtitle {
  margin: 0;
  font-size: 0.875rem;
  color: #94a3b8;
  font-weight: 400;
}

/* Navigatie */
.site-nav {
  background: var(--kleur-secundair);
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

.site-nav__inner {
  max-width: var(--breedte-max);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0;
}

.site-nav a {
  color: #cbd5e1;
  text-decoration: none;
  font-size: 0.8125rem;
  font-weight: 500;
  padding: 0.75rem 1rem;
  display: block;
  transition: color 0.15s, background 0.15s;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: #fff;
  background: rgba(255,255,255,0.08);
}

/* Content */
.site-content {
  max-width: var(--breedte-max);
  margin: 0 auto;
  padding: 2.5rem 1.5rem 4rem;
}

/* Typografie */
h1, h2, h3, h4 {
  color: var(--kleur-primair);
  line-height: 1.3;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

h1 {
  font-size: 1.75rem;
  border-bottom: 2px solid var(--kleur-rand);
  padding-bottom: 0.5rem;
}

h2 {
  font-size: 1.35rem;
  margin-top: 2.5rem;
}

h3 {
  font-size: 1.1rem;
}

p {
  margin: 0 0 1rem;
}

a {
  color: var(--kleur-accent);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

a:hover {
  color: #1a6da0;
}

/* Tabellen */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: 0.875rem;
}

thead {
  background: var(--kleur-grijs-licht);
}

th, td {
  padding: 0.625rem 0.75rem;
  text-align: left;
  border: 1px solid var(--kleur-rand);
}

th {
  font-weight: 600;
  color: var(--kleur-secundair);
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

/* Bronvermelding */
.bron {
  font-size: 0.8125rem;
  color: var(--kleur-tekst-licht);
  font-style: italic;
  margin-top: -0.5rem;
  margin-bottom: 1.5rem;
}

.bron::before {
  content: "Bron: ";
  font-weight: 600;
  font-style: normal;
}

/* Noot-blok */
.noot {
  background: var(--kleur-grijs-licht);
  border-left: 3px solid var(--kleur-accent);
  padding: 1rem 1.25rem;
  margin: 1.5rem 0;
  font-size: 0.9rem;
}

.noot--waarschuwing {
  border-left-color: var(--kleur-waarschuwing);
}

/* Code / KvK-nummers */
code {
  font-family: var(--lettertype-mono);
  font-size: 0.85em;
  background: var(--kleur-grijs-licht);
  padding: 0.15em 0.35em;
  border-radius: 3px;
}

/* Lijsten */
ul, ol {
  padding-left: 1.5rem;
  margin: 0 0 1rem;
}

li {
  margin-bottom: 0.35rem;
}

/* Footer */
.site-footer {
  background: var(--kleur-grijs-licht);
  border-top: 1px solid var(--kleur-rand);
  padding: 2rem 0;
  margin-top: 3rem;
  font-size: 0.8125rem;
  color: var(--kleur-tekst-licht);
}

.site-footer__inner {
  max-width: var(--breedte-max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.site-footer p {
  margin: 0.25rem 0;
}

/* Print */
@media print {
  .site-nav, .site-footer { display: none; }
  .site-header { background: #fff; color: #000; border-bottom: 2px solid #000; }
  .site-header__title a { color: #000; }
  .site-content { max-width: 100%; padding: 0; }
  a { color: #000; }
  a[href]::after { content: " (" attr(href) ")"; font-size: 0.8em; }
}

/* Responsive */
@media (max-width: 640px) {
  .site-header__title { font-size: 1.25rem; }
  h1 { font-size: 1.4rem; }
  .site-nav__inner { gap: 0; }
  .site-nav a { padding: 0.6rem 0.75rem; font-size: 0.75rem; }
  table { font-size: 0.8rem; }
  th, td { padding: 0.4rem 0.5rem; }
}
