/* Huisstijl: zie docs/ONTWERP.md. Alle kleuren en fonts staan in :root. */
@font-face { font-family: "Nunito"; font-weight: 700; font-display: swap; src: url(/assets/fonts/nunito-700.woff2) format("woff2"); }
@font-face { font-family: "Nunito"; font-weight: 800; font-display: swap; src: url(/assets/fonts/nunito-800.woff2) format("woff2"); }
@font-face { font-family: "Nunito Sans"; font-weight: 400; font-display: swap; src: url(/assets/fonts/nunito-sans-400.woff2) format("woff2"); }
@font-face { font-family: "Nunito Sans"; font-weight: 600; font-display: swap; src: url(/assets/fonts/nunito-sans-600.woff2) format("woff2"); }
@font-face { font-family: "Nunito Sans"; font-weight: 700; font-display: swap; src: url(/assets/fonts/nunito-sans-700.woff2) format("woff2"); }

:root {
  --ink: #131516;
  --muted: #555b5e;
  --teal: #00778a;
  --deep: #003741;
  --wash: #ebf4fa;
  --wash-2: #dcebf4;
  --line: #d5dfe6;
  --orange: #e8730c;
  --orange-ink: #7a3f08;
  --orange-wash: #fdf1e7;
  --display: "Nunito", "Nunito Sans", system-ui, sans-serif;
  --body: "Nunito Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --breed: 1080px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: #fff; color: var(--ink); font: 400 1rem/1.65 var(--body); }
img { max-width: 100%; height: auto; }
h1, h2, h3 { font-family: var(--display); text-wrap: balance; margin: 0; }
a { color: var(--teal); text-underline-offset: 2px; }
a:hover { color: var(--deep); }
a:focus-visible, button:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; border-radius: 3px; }
.in { max-width: var(--breed); margin: 0 auto; padding-inline: 32px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; background: #fff; padding: 8px 12px; z-index: 10; }

.top { background: var(--deep); color: #cfe3e7; font-size: .8rem; }
.top .in { display: flex; justify-content: space-between; gap: 16px; padding-block: 7px; }
.top a { color: #fff; text-decoration: none; }
.top a:hover { color: #fff; text-decoration: underline; }
.top nav { display: flex; gap: 18px; }

.head { border-bottom: 1px solid var(--line); background: #fff; position: relative; z-index: 2; }
.head .in { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 18px; }
.logo img { display: block; height: 46px; width: auto; }
.nav { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav > li { position: relative; }
.nav > li > a, .nav > li > button { font: 700 .92rem/1 var(--display); color: var(--deep); text-decoration: none; background: none; border: 0; padding: 12px; border-radius: 6px; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.nav > li > button::after { content: ""; width: 6px; height: 6px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-2px) rotate(45deg); }
.nav > li > a:hover, .nav > li > button:hover, .nav > li.open > button { background: var(--wash); color: var(--teal); }
.nav > li.current > a, .nav > li.current > button { color: var(--teal); box-shadow: inset 0 -3px 0 var(--orange); border-radius: 6px 6px 0 0; }
.sub { position: absolute; left: 0; top: calc(100% + 6px); min-width: 280px; background: #fff; border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 14px 34px -16px rgba(0, 55, 65, .35); list-style: none; margin: 0; padding: 8px; display: none; }
.nav li.open .sub { display: grid; }
.sub a { display: block; padding: 9px 12px; border-radius: 6px; color: var(--ink); text-decoration: none; font-size: .92rem; }
.sub a:hover { background: var(--wash); color: var(--deep); }
.sub a[aria-current="page"] { color: var(--teal); font-weight: 700; background: var(--wash); }
.burger { display: none; font: 700 .9rem/1 var(--display); color: var(--deep); background: var(--wash); border: 0; border-radius: 6px; padding: 10px 14px; cursor: pointer; }

.hero { background: var(--wash); border-bottom: 1px solid var(--line); }
.hero .in { padding-block: 22px 38px; display: grid; gap: 14px; }
.hero h1 { font-weight: 800; font-size: 2.35rem; line-height: 1.12; color: var(--deep); max-width: 30ch; letter-spacing: -.01em; }
.hero-home .in { padding-block: 48px 52px; }
.hero-home h1 { font-size: 2.9rem; }
.hero-sub { margin: 0; font-size: 1.2rem; color: var(--muted); }
.crumbs { font-size: .82rem; color: var(--muted); display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs a { color: var(--muted); }
.crumbs span[aria-hidden] { color: #a8b3b8; }
.kicker { font: 700 .74rem/1 var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--teal); }
.status { display: inline-flex; align-items: center; gap: 8px; justify-self: start; background: #fff; border: 1px solid #f3c7a1; color: #8a4a0d; font: 700 .82rem/1.3 var(--body); padding: 8px 12px; border-radius: 999px; }
.status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--orange); flex: none; }

.body .in { padding-block: 40px 56px; }
.body.met-zijkant .in { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 48px; }
.body.met-foto .in { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 40px; align-items: start; }
.foto { border-radius: 10px; width: 100%; }

.tekst { min-width: 0; max-width: 72ch; overflow-wrap: anywhere; }
.tekst > * { margin-block: 0; }
.tekst > * + * { margin-top: 1em; }
.tekst li > p { margin-block: .5em; }
.tekst li > ul { margin-block: .25em .75em; }
.tekst p { max-width: 68ch; }
.tekst h2 { font-weight: 800; font-size: 1.35rem; line-height: 1.25; color: var(--deep); margin-top: 1.6em; }
.tekst h3, .tekst h4 { font-weight: 800; font-size: 1.1rem; color: var(--deep); margin-top: 1.4em; }
.tekst > :first-child { margin-top: 0; }
.tekst img { border-radius: 8px; display: block; }
.tekst table { border-collapse: collapse; width: 100%; font-size: .94rem; display: block; overflow-x: auto; }
.tekst td, .tekst th { border: 1px solid var(--line); padding: 8px 10px; vertical-align: top; }
.tekst blockquote { margin-inline: 0; padding-left: 16px; border-left: 3px solid var(--line); color: var(--muted); }
.melding { border-left: 4px solid var(--orange); background: var(--orange-wash); padding: 16px 20px; border-radius: 0 8px 8px 0; }
.melding strong { font-family: var(--display); color: var(--orange-ink); }

.zijkant { display: grid; gap: 20px; align-content: start; min-width: 0; }
.kaart { border: 1px solid var(--line); border-radius: 10px; padding: 20px; display: grid; gap: 12px; background: #fff; }
.kaart h3 { font-weight: 800; font-size: 1.02rem; line-height: 1.3; color: var(--deep); }
.kaart p { margin: 0; }
.klein { font-size: .9rem; color: var(--muted); }
.docs { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.docs a { display: grid; grid-template-columns: 34px 1fr; gap: 12px; align-items: center; padding: 10px; border-radius: 8px; text-decoration: none; color: var(--ink); background: var(--wash); }
.docs a:hover { background: var(--wash-2); color: var(--deep); }
.docs b { font-weight: 600; font-size: .92rem; line-height: 1.35; }
.pdf { width: 34px; height: 40px; border-radius: 4px; background: #fff; border: 1px solid var(--line); display: grid; place-items: end center; font: 800 .58rem/1 var(--body); color: #b3261e; padding-bottom: 6px; }
.mail { font-weight: 600; overflow-wrap: anywhere; }
.personen { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.personen li { display: grid; gap: 1px; }
.personen b { font-family: var(--display); color: var(--deep); font-weight: 700; }
.personen span { font-size: .86rem; color: var(--muted); }
.flyer { display: grid; grid-template-columns: 92px 1fr; gap: 14px; align-items: center; text-decoration: none; color: var(--ink); }
.flyer img { border-radius: 4px; border: 1px solid var(--line); display: block; }
.flyer b { font-family: var(--display); color: var(--deep); display: block; line-height: 1.3; }
.flyer small { color: var(--muted); font-size: .82rem; display: block; margin-top: 4px; }

.tegels { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.tegels a { display: block; height: 100%; padding: 18px 20px; border: 1px solid var(--line); border-radius: 10px; background: #fff; font: 700 1rem/1.3 var(--display); color: var(--deep); text-decoration: none; }
.tegels a:hover { border-color: var(--teal); color: var(--teal); }
.tegels-hero { margin-top: 12px; }

.team-lijst { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 20px; }
.team-lijst a { display: grid; gap: 10px; text-decoration: none; color: var(--deep); }
.team-lijst img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: top; border-radius: 8px; background: var(--wash); }
.team-lijst b { font-family: var(--display); line-height: 1.3; }
.team-lijst a:hover b { color: var(--teal); }

.berichten { list-style: none; margin: 0; padding: 0; display: grid; max-width: 72ch; }
.berichten li { border-top: 1px solid var(--line); }
.berichten li:first-child { border-top: 0; }
.berichten a { display: grid; gap: 4px; padding-block: 16px; text-decoration: none; color: var(--ink); }
.berichten time { font-size: .82rem; color: var(--muted); }
.berichten b { font: 800 1.12rem/1.3 var(--display); color: var(--deep); }
.berichten a:hover b { color: var(--teal); }
.berichten span { font-size: .94rem; color: var(--muted); }
.paginering { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 20px; }
.paginering a { min-width: 36px; text-align: center; padding: 6px 10px; border: 1px solid var(--line); border-radius: 6px; text-decoration: none; }
.paginering a[aria-current="page"] { background: var(--teal); border-color: var(--teal); color: #fff; }
.terug { margin: 28px 0 0; }

.partners { border-top: 1px solid var(--line); }
.partners .in { padding-block: 26px; display: grid; gap: 16px; }
.partners h2 { font: 700 .74rem/1 var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.logos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.logos a { height: 76px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 8px; padding: 14px 18px; background: #fff; }
.logos img { max-height: 40px; width: auto; filter: grayscale(1) contrast(1.15); mix-blend-mode: multiply; opacity: .72; transition: filter .2s, opacity .2s; }
.logos a:hover img, .logos a:focus-visible img { filter: none; opacity: 1; }

.foot { background: var(--deep); color: #c9dde1; font-size: .88rem; }
.foot .in { padding-block: 32px 24px; display: grid; gap: 24px; }
.foot-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.foot h3 { font-weight: 800; font-size: .95rem; line-height: 1.2; color: #fff; margin-bottom: 8px; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.foot a { color: #c9dde1; text-decoration: none; }
.foot a:hover { color: #fff; text-decoration: underline; }
.legal { border-top: 1px solid rgba(255, 255, 255, .14); padding-top: 16px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; font-size: .8rem; color: #9fbcc2; }

@media (max-width: 960px) {
  .body.met-zijkant .in { grid-template-columns: 1fr; gap: 32px; }
  .logos, .foot-cols { grid-template-columns: repeat(2, 1fr); }
  .burger { display: inline-block; }
  .head .in { flex-wrap: wrap; }
  .nav { display: none; width: 100%; flex-direction: column; align-items: stretch; gap: 0; border-top: 1px solid var(--line); padding-top: 8px; }
  .head.menu-open .nav { display: flex; }
  .nav > li > a, .nav > li > button { width: 100%; justify-content: space-between; padding: 14px 8px; }
  .nav > li.current > a, .nav > li.current > button { box-shadow: none; }
  .sub { position: static; box-shadow: none; border: 0; border-left: 2px solid var(--line); border-radius: 0; margin: 0 0 8px 8px; padding: 0 0 0 8px; min-width: 0; }
}
@media (max-width: 600px) {
  .in { padding-inline: max(18px, env(safe-area-inset-left, 0px)); }
  .hero h1, .hero-home h1 { font-size: 1.75rem; }
  .logo img { height: 36px; }
  .top .in { justify-content: center; }
  .top-org { display: none; }
  .body.met-foto .in { grid-template-columns: 1fr; }
  .foto { max-width: 220px; }
  .logos { gap: 10px; }
  .logos a { height: 64px; padding: 10px; }
  .foot-cols { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { .logos img { transition: none; } }
