/* Gedeelde basis voor site en backoffice: kleuren, lettertypen, reset. */
:root {
  color-scheme: light;
  --bg: #f3f4f5;
  --surface: #ffffff;
  --surface-2: #e8eaec;
  --fg: #15171a;
  --muted: #5d636b;
  --line: #dadde1;
  --accent: #4f6d7a;
  --accent-ink: #ffffff;
  --link: #4f6d7a;
  --danger: #b3261e;
  --ok: #1d6b43;
  --radius: 6px;
  --gap: clamp(10px, 1.4vw, 18px);
  --pad: clamp(16px, 4vw, 48px);
  --maxw: 1480px;
  --font-body: "Gill Sans", "Gill Sans MT", Calibri, "Trebuchet MS", sans-serif;
  --font-head: Didot, "Bodoni MT", "Bodoni 72", Georgia, serif;
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0e0f11;
  --surface: #16181b;
  --surface-2: #1f2226;
  --fg: #e8eaed;
  --muted: #98a0a8;
  --line: #272a2f;
  --danger: #f2a8a3;
  --ok: #8bd7a9;
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: var(--size-base, 17px);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0 0 .5em;
}

a { color: var(--link); text-underline-offset: .18em; }
img { max-width: 100%; }
svg.icon { flex: none; }

:focus-visible { outline: 2px solid var(--link); outline-offset: 3px; border-radius: 3px; }

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute; left: 1rem; top: -4rem;
  background: var(--surface); color: var(--fg);
  padding: .6rem 1rem; border-radius: var(--radius); z-index: 200;
}
.skip-link:focus { top: 1rem; }

.icon-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px;
  border: 0; border-radius: 50%;
  background: transparent; color: var(--fg);
  cursor: pointer;
}
.icon-btn:hover { background: var(--surface-2); }

/* Thema-icoon: toon de zon in de donkere en de maan in de lichte weergave */
#theme-toggle .i-sun, #theme-toggle .i-moon { display: none; line-height: 0; }
:root[data-theme="dark"] #theme-toggle .i-sun { display: block; }
:root[data-theme="light"] #theme-toggle .i-moon { display: block; }
