/* ==========================================================================
   Maritiem College IJmuiden — huisstijl 2026
   Eén stylesheet voor de gehele site.
   ========================================================================== */

/* ---------- 1. Design tokens ---------- */
:root {
  /* Kleur */
  --ink:        #0d1b2a;
  --ink-soft:   #3d5068;
  --ink-muted:  #6b7f96;

  --navy:       #07203d;
  --navy-700:   #0d3054;
  --navy-500:   #13487d;
  --blue:       #1d6fc0;
  --blue-soft:  #e8f1fb;

  --aqua:       #14a5a0;
  --aqua-soft:  #e2f5f4;

  --signal:     #ff7a3d;
  --signal-700: #e4611f;
  --signal-soft:#fff0e8;

  --sand:       #f7f5f1;
  --paper:      #ffffff;
  --line:       #e2e6ec;
  --line-soft:  #eef1f5;

  /* Typografie */
  --font-display: "Space Grotesk", "Segoe UI", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* Maat */
  --container: 1180px;
  --radius:    14px;
  --radius-lg: 22px;
  --radius-sm: 8px;

  /* Schaduw */
  --shadow-sm: 0 1px 2px rgba(7,32,61,.06), 0 2px 8px rgba(7,32,61,.05);
  --shadow:    0 2px 6px rgba(7,32,61,.06), 0 12px 28px rgba(7,32,61,.08);
  --shadow-lg: 0 8px 20px rgba(7,32,61,.10), 0 24px 60px rgba(7,32,61,.14);

  --header-h: 76px;
}

/* ---------- 2. Reset & basis ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 20px); }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--navy);
  line-height: 1.18;
  letter-spacing: -.02em;
  margin: 0 0 .5em;
  font-weight: 700;
}

h1 { font-size: clamp(2.1rem, 5vw, 3.35rem); }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.3rem); }
h3 { font-size: clamp(1.18rem, 2vw, 1.42rem); }
h4 { font-size: 1.05rem; }

p  { margin: 0 0 1.1em; }
p:last-child, ul:last-child, ol:last-child { margin-bottom: 0; }

a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }

ul, ol { margin: 0 0 1.1em; padding-left: 1.3em; }
li { margin-bottom: .4em; }

strong { font-weight: 650; color: var(--navy); }

hr { border: 0; border-top: 1px solid var(--line); margin: 2.5rem 0; }

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

/* ---------- 3. Layout ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 22px;
}
.container--narrow { max-width: 840px; }

.section { padding: clamp(48px, 7vw, 84px) 0; }
.section--tight { padding: clamp(34px, 4.5vw, 52px) 0; }
.section--sand { background: var(--sand); }
.section--blue { background: var(--blue-soft); }
.section--navy { background: var(--navy); color: #cfe0f0; }
.section--navy h2, .section--navy h3 { color: #fff; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--signal); color: #fff; padding: 12px 20px;
  border-radius: 0 0 var(--radius-sm) 0; font-weight: 600;
}
.skip-link:focus { left: 0; }

/* ---------- 4. Topbar ---------- */
.topbar {
  background: var(--navy);
  color: #a9c4de;
  font-size: .85rem;
}
.topbar__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; min-height: 40px; flex-wrap: wrap;
}
.topbar a { color: #dbe8f5; }
.topbar a:hover { color: #fff; }
.topbar__meta { display: flex; gap: 20px; flex-wrap: wrap; }
.topbar__meta span { display: inline-flex; align-items: center; gap: 7px; }
.topbar__links { display: flex; gap: 18px; flex-wrap: wrap; }

/* ---------- 5. Header & navigatie ---------- */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.94);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header__inner {
  display: flex; align-items: center; gap: 20px;
  min-height: var(--header-h);
}

.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand:hover { text-decoration: none; }
.brand img { width: 46px; height: 46px; object-fit: contain; }
.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__name {
  font-family: var(--font-display); font-weight: 700; font-size: 1.02rem;
  color: var(--navy); letter-spacing: -.02em;
}
.brand__sub { font-size: .72rem; color: var(--ink-muted); letter-spacing: .04em; text-transform: uppercase; }

.nav { margin-left: auto; }
.nav__list { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav__item { position: relative; }
.nav__link {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 10px 13px; border-radius: var(--radius-sm);
  font-size: .95rem; font-weight: 550; color: var(--ink);
  white-space: nowrap; background: none; border: 0; cursor: pointer;
  font-family: var(--font-body);
}
.nav__link:hover { background: var(--blue-soft); color: var(--navy-500); text-decoration: none; }
.nav__link[aria-current="page"] { color: var(--blue); background: var(--blue-soft); }
.nav__caret { width: 9px; height: 9px; transition: transform .18s ease; opacity: .6; }
.nav__item.is-open > .nav__link .nav__caret { transform: rotate(180deg); }

.nav__sub {
  position: absolute; top: calc(100% + 8px); left: 0;
  min-width: 250px; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-lg); padding: 8px;
  list-style: none; margin: 0;
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .16s ease, transform .16s ease, visibility .16s;
}
.nav__item.is-open > .nav__sub { opacity: 1; visibility: visible; transform: translateY(0); }
.nav__sub a {
  display: block; padding: 9px 13px; border-radius: var(--radius-sm);
  color: var(--ink); font-size: .92rem;
}
.nav__sub a:hover { background: var(--sand); color: var(--navy); text-decoration: none; }

.header__cta { flex-shrink: 0; }
.nav__mobile-cta { display: none; }

.nav-toggle {
  display: none; margin-left: auto;
  width: 46px; height: 46px; border: 1px solid var(--line);
  background: #fff; border-radius: var(--radius-sm); cursor: pointer;
  align-items: center; justify-content: center; flex-direction: column; gap: 5px;
}
.nav-toggle span {
  display: block; width: 20px; height: 2px; background: var(--navy);
  border-radius: 2px; transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- 6. Knoppen ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 13px 24px; border-radius: 999px;
  font-family: var(--font-body); font-size: .95rem; font-weight: 600;
  border: 1.5px solid transparent; cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
  text-decoration: none; line-height: 1;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn--primary { background: var(--signal); color: #fff; box-shadow: 0 4px 14px rgba(255,122,61,.32); }
.btn--primary:hover { background: var(--signal-700); color: #fff; box-shadow: 0 6px 20px rgba(255,122,61,.4); }
.btn--navy { background: var(--navy); color: #fff; }
.btn--navy:hover { background: var(--navy-700); color: #fff; }
.btn--ghost { background: transparent; color: var(--navy); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--navy); background: var(--sand); color: var(--navy); }
.btn--light { background: #fff; color: var(--navy); }
.btn--light:hover { background: #eef3f9; color: var(--navy); }
.btn--outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.42); }
.btn--outline-light:hover { background: rgba(255,255,255,.12); color: #fff; }
.btn--sm { padding: 9px 17px; font-size: .875rem; }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- 7. Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(1100px 520px at 82% -10%, rgba(20,165,160,.35), transparent 62%),
    radial-gradient(760px 460px at 8% 108%, rgba(29,111,192,.42), transparent 60%),
    linear-gradient(158deg, #07203d 0%, #0b2d51 52%, #103a63 100%);
  color: #dbe8f5;
  padding: clamp(56px, 9vw, 104px) 0 clamp(96px, 11vw, 140px);
}
/* Geanimeerd water onderin de hero: drie golflagen + varend bootje */
.hero__waves {
  position: absolute; inset: auto 0 0 0; height: 150px;
  pointer-events: none; z-index: 1;
}
.hero__wave {
  position: absolute; inset: auto 0 -1px 0;
  background-repeat: repeat-x; background-position: 0 bottom;
  animation: wave-move var(--wave-duur, 30s) linear infinite;
}
.hero__wave--back {
  height: 128px; --wave-tegel: 1400px; --wave-duur: 38s; animation-direction: reverse;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120' preserveAspectRatio='none'%3E%3Cpath d='M0 60C100 90 200 90 300 60S500 30 600 60 800 90 900 60 1100 30 1200 60V120H0Z' fill='%2314a5a0' fill-opacity='.2'/%3E%3C/svg%3E");
  background-size: var(--wave-tegel) 100%;
}
.hero__wave--mid {
  height: 106px; --wave-tegel: 1050px; --wave-duur: 21s;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120' preserveAspectRatio='none'%3E%3Cpath d='M0 60C100 90 200 90 300 60S500 30 600 60 800 90 900 60 1100 30 1200 60V120H0Z' fill='%23ffffff' fill-opacity='.16'/%3E%3C/svg%3E");
  background-size: var(--wave-tegel) 100%;
}
.hero__wave--front {
  height: 88px; --wave-tegel: 1250px; --wave-duur: 29s;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120' preserveAspectRatio='none'%3E%3Cpath d='M0 60C100 90 200 90 300 60S500 30 600 60 800 90 900 60 1100 30 1200 60V120H0Z' fill='%23ffffff'/%3E%3C/svg%3E");
  background-size: var(--wave-tegel) 100%;
}
@keyframes wave-move {
  to { background-position: calc(-1 * var(--wave-tegel)) bottom; }
}

.hero__boat {
  position: absolute; bottom: 30px; left: -120px;
  animation: boat-vaart 75s linear infinite; animation-delay: -22s;
  will-change: transform;
}
.hero__boat-svg {
  display: block;
  animation: boat-deining 5.5s ease-in-out infinite;
  filter: drop-shadow(0 4px 10px rgba(4, 18, 36, .35));
}
@keyframes boat-vaart {
  to { transform: translateX(calc(100vw + 260px)); }
}
@keyframes boat-deining {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50%      { transform: translateY(-7px) rotate(2.4deg); }
}
.boat-smoke { opacity: 0; animation: boat-rook 3.6s ease-out infinite; }
.boat-smoke--2 { animation-delay: 1.2s; }
.boat-smoke--3 { animation-delay: 2.4s; }
@keyframes boat-rook {
  0%   { opacity: 0; transform: translate(0, 0) scale(.5); }
  25%  { opacity: .65; }
  100% { opacity: 0; transform: translate(-9px, -20px) scale(1.5); }
}

@media (prefers-reduced-motion: reduce) {
  .hero__wave, .hero__boat, .hero__boat-svg, .boat-smoke { animation: none; }
  .hero__boat { left: auto; right: 16%; }
  .boat-smoke--1 { opacity: .5; }
}
.hero__inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.hero h1 { color: #fff; margin-bottom: .35em; }
.hero__lead { font-size: clamp(1.05rem, 1.6vw, 1.24rem); color: #c3d8ec; max-width: 54ch; margin-bottom: 1.7em; }
.hero .btn-row { margin-bottom: 2rem; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .78rem; font-weight: 650; letter-spacing: .12em; text-transform: uppercase;
  color: var(--aqua); margin-bottom: 1.1rem;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--aqua); border-radius: 2px; }
.eyebrow--dark { color: var(--blue); }
.eyebrow--dark::before { background: var(--blue); }

.hero__facts { display: flex; gap: 30px; flex-wrap: wrap; padding-top: 1.6rem; border-top: 1px solid rgba(255,255,255,.16); }
.hero__fact strong { display: block; font-family: var(--font-display); font-size: 1.75rem; color: #fff; line-height: 1.1; }
.hero__fact span { font-size: .85rem; color: #a9c4de; }

.hero__art {
  position: relative; aspect-ratio: 4/3.4; border-radius: var(--radius-lg);
  background: linear-gradient(150deg, rgba(20,165,160,.28), rgba(29,111,192,.22));
  border: 1px solid rgba(255,255,255,.18);
  overflow: hidden; box-shadow: var(--shadow-lg);
}
.hero__art img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- 8. Pagina-hero (subpagina's) ---------- */
.pagehero {
  background:
    radial-gradient(760px 380px at 88% 0%, rgba(20,165,160,.3), transparent 60%),
    linear-gradient(150deg, #07203d 0%, #0d3054 100%);
  color: #c3d8ec;
  padding: clamp(34px, 5vw, 56px) 0 clamp(40px, 6vw, 62px);
}
.pagehero h1 { color: #fff; margin-bottom: .3em; }
.pagehero__lead { font-size: 1.08rem; max-width: 62ch; color: #bed3e8; margin: 0; }

.breadcrumb { font-size: .84rem; color: #8fadc9; margin-bottom: 1.1rem; }
.breadcrumb a { color: #bed3e8; }
.breadcrumb span { opacity: .5; margin: 0 7px; }

/* ---------- 9. Kaarten & grids ---------- */
.grid { display: grid; gap: 24px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #d3dbe5; }
.card__media { aspect-ratio: 16/10; background: linear-gradient(140deg, var(--navy-500), var(--aqua)); overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: cover; }
.card__body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.card__body h3 { margin-bottom: .4em; }
.card__body p { color: var(--ink-soft); font-size: .95rem; margin-bottom: 1.1em; }
.card__link {
  margin-top: auto; font-weight: 600; font-size: .92rem;
  display: inline-flex; align-items: center; gap: 7px;
}
.card__link::after { content: "→"; transition: transform .18s ease; }
.card:hover .card__link::after { transform: translateX(4px); }

.tag {
  display: inline-block; font-size: .72rem; font-weight: 650; letter-spacing: .07em;
  text-transform: uppercase; padding: 5px 11px; border-radius: 999px;
  background: var(--aqua-soft); color: #0d7570; margin-bottom: .9em;
}
.tag--blue { background: var(--blue-soft); color: var(--navy-500); }
.tag--signal { background: var(--signal-soft); color: var(--signal-700); }

/* Plain feature box */
.feature {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 24px;
}
.feature__icon {
  width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  background: var(--blue-soft); color: var(--navy-500); margin-bottom: 16px;
  font-size: 1.35rem;
}
.feature h3 { font-size: 1.1rem; margin-bottom: .35em; }
.feature p { font-size: .94rem; color: var(--ink-soft); margin: 0; }

/* ---------- 10. Quicklinks ---------- */
.quicklinks { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.quicklink {
  display: flex; align-items: center; gap: 14px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 17px 19px; color: var(--navy); font-weight: 600; font-size: .96rem;
  transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease;
}
.quicklink:hover { text-decoration: none; border-color: var(--blue); box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.quicklink__icon {
  width: 40px; height: 40px; flex-shrink: 0; border-radius: 11px;
  display: grid; place-items: center; background: var(--navy); color: #fff; font-size: 1.05rem;
}

/* ---------- 11. Nieuws & agenda ---------- */
.newsitem {
  display: flex; flex-direction: column; gap: 6px;
  padding: 20px 0; border-bottom: 1px solid var(--line);
}
.newsitem:first-child { padding-top: 0; }
.newsitem__date { font-size: .8rem; color: var(--ink-muted); letter-spacing: .04em; text-transform: uppercase; font-weight: 600; }
.newsitem h3 { font-size: 1.14rem; margin: 0; }
.newsitem p { font-size: .95rem; color: var(--ink-soft); margin: 0; }

.agenda { list-style: none; margin: 0; padding: 0; }
.agenda li {
  display: flex; gap: 18px; align-items: flex-start;
  padding: 15px 0; border-bottom: 1px solid var(--line-soft); margin: 0;
}
.agenda li:last-child { border-bottom: 0; }
.agenda__date {
  flex-shrink: 0; width: 62px; text-align: center;
  background: var(--blue-soft); border-radius: 10px; padding: 8px 4px;
  line-height: 1.1;
}
.agenda__day { display: block; font-family: var(--font-display); font-size: 1.3rem; font-weight: 700; color: var(--navy); }
.agenda__month { display: block; font-size: .72rem; text-transform: uppercase; letter-spacing: .07em; color: var(--navy-500); font-weight: 600; }
.agenda__body strong { display: block; color: var(--navy); font-size: 1rem; }
.agenda__body span { font-size: .88rem; color: var(--ink-muted); }

/* ---------- 12. Tabellen ---------- */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 0 0 1.5rem; border-radius: var(--radius); border: 1px solid var(--line); }
table { width: 100%; border-collapse: collapse; font-size: .95rem; background: #fff; min-width: 460px; }
thead th {
  background: var(--navy); color: #fff; text-align: left; font-weight: 600;
  padding: 13px 16px; font-size: .87rem; letter-spacing: .02em;
  white-space: nowrap;
}
tbody td { padding: 12px 16px; border-top: 1px solid var(--line-soft); vertical-align: top; }
tbody tr:nth-child(even) td { background: #fbfcfd; }
tbody tr:hover td { background: var(--blue-soft); }
td.num, th.num { text-align: right; font-variant-numeric: tabular-nums; }

/* ---------- 13. Prose / inhoud ---------- */
.prose > * + * { margin-top: 1.1em; }
.prose h2 { margin-top: 2.2em; padding-top: 0; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.7em; }
.prose ul li::marker { color: var(--aqua); }
.prose ol li::marker { color: var(--blue); font-weight: 600; }

.lead { font-size: 1.12rem; color: var(--ink-soft); }

.callout {
  border-left: 4px solid var(--blue); background: var(--blue-soft);
  padding: 18px 22px; border-radius: 0 var(--radius) var(--radius) 0;
}
.callout--warn { border-left-color: var(--signal); background: var(--signal-soft); }
.callout--aqua { border-left-color: var(--aqua); background: var(--aqua-soft); }
.callout h3 { font-size: 1.05rem; margin-bottom: .35em; }
.callout p { font-size: .96rem; margin-bottom: .6em; }

.panel {
  background: var(--sand); border-radius: var(--radius); padding: 26px 26px;
  border: 1px solid var(--line);
}

.checklist { list-style: none; padding: 0; }
.checklist li { position: relative; padding-left: 30px; margin-bottom: .7em; }
.checklist li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--aqua-soft); color: #0d7570;
  display: grid; place-items: center; font-size: .72rem; font-weight: 700;
  margin-top: 3px;
}

.steps { list-style: none; counter-reset: step; padding: 0; }
.steps li {
  position: relative; padding-left: 52px; margin-bottom: 1.4em; counter-increment: step;
}
.steps li::before {
  content: counter(step); position: absolute; left: 0; top: -2px;
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--navy); color: #fff;
  display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: .95rem;
}
.steps strong { display: block; margin-bottom: .15em; }

/* Documentenlijst */
.doclist { list-style: none; padding: 0; display: grid; gap: 10px; }
.doclist li { margin: 0; }
.doclist a {
  display: flex; align-items: center; gap: 13px;
  padding: 14px 18px; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-sm); color: var(--navy); font-weight: 550; font-size: .95rem;
}
.doclist a:hover { text-decoration: none; border-color: var(--blue); background: var(--blue-soft); }
.doclist a::before { content: "📄"; font-size: 1.05rem; }
.doclist a::after { content: "↗"; margin-left: auto; color: var(--ink-muted); }

/* Accordeon */
details.acc {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 0; margin-bottom: 12px; overflow: hidden;
}
details.acc > summary {
  cursor: pointer; list-style: none; padding: 17px 22px;
  font-family: var(--font-display); font-weight: 600; color: var(--navy);
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
}
details.acc > summary::-webkit-details-marker { display: none; }
details.acc > summary::after { content: "+"; font-size: 1.35rem; color: var(--blue); line-height: 1; }
details.acc[open] > summary::after { content: "–"; }
details.acc > summary:hover { background: var(--sand); }
details.acc .acc__body { padding: 0 22px 20px; border-top: 1px solid var(--line-soft); padding-top: 16px; }

/* Personen */
.people { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.person {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px;
}
.person__role { font-size: .76rem; text-transform: uppercase; letter-spacing: .08em; color: var(--aqua); font-weight: 650; margin-bottom: .4em; }
.person strong { display: block; font-family: var(--font-display); font-size: 1.05rem; color: var(--navy); }
.person a { font-size: .88rem; word-break: break-word; }

/* Statistiek */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat { text-align: center; padding: 24px 14px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.stat strong { display: block; font-family: var(--font-display); font-size: 2.1rem; color: var(--blue); line-height: 1.1; }
.stat span { font-size: .88rem; color: var(--ink-soft); }

/* Logo-rij */
.logos { display: flex; flex-wrap: wrap; gap: 30px 34px; align-items: center; justify-content: center; }
.logos a { display: inline-flex; align-items: center; }
.logos img { max-height: 54px; max-width: 150px; width: auto; filter: grayscale(1); opacity: .65; transition: filter .2s, opacity .2s; }
.logos a:hover img, .logos img:hover { filter: none; opacity: 1; }

/* CTA-band */
.cta-band {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-500) 100%);
  border-radius: var(--radius-lg); padding: clamp(32px, 5vw, 52px);
  color: #cfe0f0; display: grid; grid-template-columns: 1fr auto;
  gap: 28px; align-items: center;
}
.cta-band h2 { color: #fff; margin-bottom: .3em; }
.cta-band p { margin: 0; max-width: 58ch; }

/* Split-blok tekst + beeld */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 56px); align-items: center; }
.split--reverse .split__media { order: -1; }
.split__media { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4/3; background: linear-gradient(140deg, var(--navy-500), var(--aqua)); }
.split__media img { width: 100%; height: 100%; object-fit: cover; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.contact-list { list-style: none; padding: 0; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 1.1em; }
.contact-list .ci {
  width: 38px; height: 38px; flex-shrink: 0; border-radius: 10px;
  background: var(--blue-soft); color: var(--navy-500); display: grid; place-items: center; font-size: 1rem;
}
.contact-list strong { display: block; font-size: .82rem; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-muted); font-weight: 650; }

/* ---------- 14. Footer ---------- */
.footer { background: var(--navy); color: #9db8d2; padding: clamp(46px, 6vw, 68px) 0 0; font-size: .94rem; }
.footer h4 { color: #fff; font-size: .82rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 1.1em; }
.footer a { color: #c3d8ec; }
.footer a:hover { color: #fff; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 34px; padding-bottom: 44px; }
.footer__list { list-style: none; padding: 0; margin: 0; }
.footer__list li { margin-bottom: .55em; }
.footer__brand { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.footer__brand img { width: 48px; height: 48px; object-fit: contain; background: #fff; border-radius: 10px; padding: 5px; }
.footer__brand strong { color: #fff; font-family: var(--font-display); font-size: 1.05rem; }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.12); padding: 20px 0 26px;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: .85rem; color: #7f9cb8;
}

/* ---------- 15. Hulpklassen ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: .6rem; }
.mb-2 { margin-bottom: 1.4rem; }
.mb-3 { margin-bottom: 2.2rem; }
.mb-4 { margin-bottom: 3rem; }
.max-60 { max-width: 62ch; }
.mx-auto { margin-inline: auto; }
.section-head { max-width: 62ch; margin-bottom: clamp(28px, 4vw, 44px); }
.section-head.text-center { margin-inline: auto; }
.muted { color: var(--ink-muted); font-size: .9rem; }

/* ---------- 16. Responsief ---------- */
@media (max-width: 1040px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .quicklinks { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .people { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 960px) {
  .nav-toggle { display: flex; }
  .header__cta { display: none; }

  /* backdrop-filter maakt van .header een containing block voor position:fixed;
     op mobiel zetten we hem uit zodat het menupaneel het hele scherm vult. */
  .header { backdrop-filter: none; background: #fff; }

  .nav {
    position: fixed; inset: var(--header-h) 0 0 0;
    background: #fff; overflow-y: auto; padding: 18px 22px 60px;
    transform: translateX(100%); transition: transform .24s ease;
    box-shadow: var(--shadow-lg); margin-left: 0;
  }
  .nav.is-open { transform: translateX(0); }
  .nav__list { flex-direction: column; align-items: stretch; gap: 2px; }
  .nav__item { width: 100%; }
  .nav__link { width: 100%; justify-content: space-between; padding: 14px 12px; font-size: 1.02rem; border-radius: var(--radius-sm); }
  .nav__sub {
    position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border: 0; border-left: 2px solid var(--line);
    border-radius: 0; margin: 2px 0 8px 12px; padding: 0 0 0 8px;
    display: none; min-width: 0;
  }
  .nav__item.is-open > .nav__sub { display: block; }
  .nav__mobile-cta { margin-top: 20px; display: block; }
  .nav__mobile-cta .btn { width: 100%; }

  body.nav-open { overflow: hidden; }

  .hero__inner { grid-template-columns: 1fr; }
  .hero__art { max-width: 480px; }
  .split, .contact-grid, .cta-band { grid-template-columns: 1fr; }
  .split--reverse .split__media { order: 0; }
  .cta-band { text-align: left; }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 620px) {
  body { font-size: 16px; }
  .grid--2, .grid--3, .grid--4, .quicklinks, .stats, .people { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 26px; }
  .topbar__meta { display: none; }
  .topbar__inner { justify-content: center; }
  .hero__facts { gap: 20px; }
  .hero__fact strong { font-size: 1.45rem; }
  .hero__waves { height: 96px; }
  .hero__wave--back { height: 82px; --wave-tegel: 900px; }
  .hero__wave--mid { height: 68px; --wave-tegel: 680px; }
  .hero__wave--front { height: 56px; --wave-tegel: 800px; }
  .hero__boat { bottom: 18px; }
  .hero__boat-svg { width: 66px; height: 45px; }
}

@media (max-width: 420px) {
  .footer__grid { grid-template-columns: 1fr; }
  .brand__sub { display: none; }
}

/* ---------- 17. Print ---------- */
@media print {
  .topbar, .header, .footer, .nav-toggle, .cta-band, .hero__waves { display: none !important; }
  body { font-size: 11pt; color: #000; }
  .hero, .pagehero { background: none !important; color: #000; padding: 0 0 12pt; }
  .hero h1, .pagehero h1 { color: #000; }
  a { color: #000; text-decoration: underline; }
}

/* ---------- 18. Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
