/* Bulwark MSP — site.css
   Kleuren komen uit het logo: navy (voorkant toren), staal (zijkant), lucht (pilaar). */

@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url("../fonts/archivo-latin-wdth-normal.woff2") format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url("../fonts/archivo-latin-ext-wdth-normal.woff2") format("woff2-variations");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Instrument Serif";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/instrument-serif-latin-400-italic.woff2") format("woff2");
}
@font-face {
  font-family: "Instrument Serif";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/instrument-serif-latin-400-normal.woff2") format("woff2");
}

:root {
  --ink: #091f34;
  --ink-2: #0f2b45;
  --ink-3: #17395a;
  --steel: #667d8f;
  --slate: #4f5861;
  --sky: #8ec3d3;
  --sky-deep: #2f5d74;
  --paper: #f5f4f0;
  --paper-2: #ebe9e3;
  --white: #ffffff;
  --line: rgba(9, 31, 52, 0.14);
  --line-dark: rgba(255, 255, 255, 0.14);
  --muted-dark: rgba(236, 242, 246, 0.72);
  --signal: #e8a33d;

  --font-sans: "Archivo", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-serif: "Instrument Serif", Georgia, "Times New Roman", serif;

  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(72px, 10vw, 136px);
  --radius: 6px;
  --header-h: 72px;
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  font-stretch: 100%;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; line-height: 1.08; letter-spacing: -0.01em; }
ul, ol { margin: 0; padding: 0; }

:focus-visible { outline: 2px solid var(--sky-deep); outline-offset: 3px; border-radius: 2px; }
.on-dark :focus-visible, .dark :focus-visible { outline-color: var(--sky); }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--ink); color: var(--white); padding: 10px 16px; border-radius: var(--radius);
  text-decoration: none; font-weight: 600;
}
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

.serif { font-family: var(--font-serif); font-style: italic; font-weight: 400; letter-spacing: 0; }

/* ---------- Typografie ---------- */

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--slate); margin: 0 0 20px;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; opacity: 0.6; }
.dark .eyebrow { color: var(--sky); }

.display {
  font-size: clamp(2.9rem, 8.4vw, 7.25rem);
  font-stretch: 112%;
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.025em;
}
.display .serif { display: block; font-size: 1.04em; line-height: 1; color: var(--sky); letter-spacing: -0.01em; }

.h1 { font-size: clamp(2.5rem, 6vw, 5rem); font-stretch: 110%; letter-spacing: -0.02em; line-height: 0.98; }
.h1 .serif { color: var(--sky-deep); }
.dark .h1 .serif { color: var(--sky); }
.h2 { font-size: clamp(2rem, 4.4vw, 3.5rem); font-stretch: 108%; letter-spacing: -0.02em; line-height: 1.02; }
.h2 .serif { color: var(--sky-deep); }
.dark .h2 .serif { color: var(--sky); }
.h3 { font-size: clamp(1.25rem, 1.9vw, 1.5rem); font-stretch: 104%; line-height: 1.2; }

.lead { font-size: clamp(1.125rem, 1.6vw, 1.3rem); line-height: 1.55; color: var(--slate); max-width: 40em; }
.dark .lead { color: var(--muted-dark); }
.h1 + .lead, .h2 + .lead { margin-top: 20px; }
.muted { color: var(--slate); }
.dark .muted { color: var(--muted-dark); }

.prose { max-width: 46em; }
.prose h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); font-stretch: 106%; margin: 2.2em 0 0.6em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.2rem; margin: 1.8em 0 0.5em; }
.prose ul { padding-left: 1.2em; margin: 0 0 1em; }
.prose li { margin: 0.35em 0; }
.prose a { color: var(--sky-deep); text-underline-offset: 3px; }

/* Placeholder voor gegevens die nog moeten worden ingevuld */
.todo {
  background: rgba(232, 163, 61, 0.22);
  border-bottom: 1px dashed var(--signal);
  padding: 0 4px; border-radius: 2px; white-space: nowrap;
}
.dark .todo { background: rgba(232, 163, 61, 0.28); color: var(--white); }

/* ---------- Knoppen ---------- */

.btn {
  --bg: var(--ink); --fg: var(--white); --bd: var(--ink);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 22px;
  border: 1px solid var(--bd); border-radius: var(--radius);
  background: var(--bg); color: var(--fg);
  font: inherit; font-size: 0.98rem; font-weight: 600; letter-spacing: 0.01em;
  text-decoration: none; cursor: pointer;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}
.btn:hover { --bg: var(--ink-3); --bd: var(--ink-3); }
.btn .arrow { transition: transform .2s ease; }
.btn:hover .arrow { transform: translateX(3px); }
.btn-ghost { --bg: transparent; --fg: var(--ink); --bd: var(--line); }
.btn-ghost:hover { --bg: rgba(9, 31, 52, 0.06); --bd: var(--ink); }
.dark .btn { --bg: var(--sky); --fg: var(--ink); --bd: var(--sky); }
.dark .btn:hover { --bg: #b5dbe6; --bd: #b5dbe6; }
.dark .btn-ghost { --bg: transparent; --fg: var(--white); --bd: rgba(255,255,255,.32); }
.dark .btn-ghost:hover { --bg: rgba(255,255,255,.08); --bd: var(--white); }
.btn-sm { min-height: 40px; padding: 8px 16px; font-size: 0.9rem; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; text-decoration: none; color: var(--sky-deep);
  border-bottom: 1px solid currentColor; padding-bottom: 2px;
}
.dark .link-arrow { color: var(--sky); }
.link-arrow:hover .arrow { transform: translateX(3px); }
.link-arrow .arrow { transition: transform .2s ease; }

/* ---------- Header ---------- */

.site-header {
  position: sticky; top: 0; z-index: 50;
  height: var(--header-h);
  background: rgba(245, 244, 240, 0.88);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { height: 100%; display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; flex: none; }
.brand img { height: 40px; width: auto; }
.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav a {
  text-decoration: none; font-size: 0.95rem; font-weight: 500;
  padding: 8px 12px; border-radius: var(--radius); color: var(--ink);
}
.nav a:hover { background: rgba(9, 31, 52, 0.06); }
.nav a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--sky-deep); border-radius: 0; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.btn-outage { --bg: transparent; --fg: var(--ink); --bd: var(--line); }
.btn-outage:hover { --bg: rgba(9, 31, 52, 0.06); --bd: var(--ink); }
.btn-outage .dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--signal);
  box-shadow: 0 0 0 0 rgba(232, 163, 61, .6); animation: pulse 2.4s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(232, 163, 61, .55); }
  70% { box-shadow: 0 0 0 8px rgba(232, 163, 61, 0); }
  100% { box-shadow: 0 0 0 0 rgba(232, 163, 61, 0); }
}
.lang { display: inline-flex; align-items: center; gap: 2px; font-size: 0.82rem; font-weight: 600; letter-spacing: .06em; }
.lang a, .lang span { padding: 6px 6px; text-decoration: none; border-radius: 4px; }
.lang [aria-current="true"] { color: var(--ink); }
.lang a { color: var(--steel); }
.lang a:hover { color: var(--ink); background: rgba(9, 31, 52, 0.06); }
.lang .sep { color: var(--line); padding: 0; }

.menu-toggle {
  display: none; margin-left: auto;
  width: 44px; height: 44px; border: 1px solid var(--line); border-radius: var(--radius);
  background: transparent; color: var(--ink); cursor: pointer;
  align-items: center; justify-content: center;
}
.menu-toggle svg { width: 20px; height: 20px; }
.menu-toggle .i-close { display: none; }
.menu-open .menu-toggle .i-open { display: none; }
.menu-open .menu-toggle .i-close { display: block; }

@media (max-width: 1020px) {
  .site-header .wrap { gap: 12px; }
  .menu-toggle { display: inline-flex; }
  .nav-panel {
    position: fixed; inset: var(--header-h) 0 auto 0;
    background: var(--paper); border-bottom: 1px solid var(--line);
    padding: 12px var(--gutter) 24px;
    display: none; flex-direction: column; align-items: stretch; gap: 16px;
    max-height: calc(100dvh - var(--header-h)); overflow-y: auto;
    box-shadow: 0 24px 48px -24px rgba(9, 31, 52, .35);
  }
  .menu-open .nav-panel { display: flex; }
  .nav { flex-direction: column; align-items: stretch; margin: 0; gap: 0; }
  .nav a { padding: 14px 4px; font-size: 1.15rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--sky-deep); padding-left: 14px; }
  .header-actions { flex-wrap: wrap; }
  .header-actions .btn { flex: 1 1 auto; }
}
@media (min-width: 1021px) {
  .nav-panel { display: flex; align-items: center; gap: 24px; margin-left: auto; }
}

/* ---------- Secties ---------- */

.section { padding: var(--section) 0; position: relative; }
.section-tight { padding: calc(var(--section) * 0.6) 0; }
.dark { background: var(--ink); color: #eef3f6; }
.tint { background: var(--paper-2); }
.section-head { display: grid; gap: 20px; margin-bottom: clamp(40px, 6vw, 72px); max-width: 52rem; }
.section-head .lead { margin: 0; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

/* ---------- Hero ---------- */

.hero {
  position: relative; isolation: isolate; overflow: hidden;
  background: var(--ink); color: var(--white);
  min-height: min(92vh, 940px); min-height: min(92svh, 940px);
  display: flex; align-items: flex-end;
  padding: clamp(96px, 14vh, 160px) 0 clamp(48px, 8vh, 88px);
}
.hero-canvas, .hero-fallback { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }
.hero-fallback {
  background:
    radial-gradient(120% 80% at 80% 100%, rgba(142, 195, 211, .18), transparent 60%),
    url("../img/contour.svg") center 70% / cover no-repeat;
  opacity: .9;
}
.hero-canvas.is-ready + .hero-fallback { opacity: 0; transition: opacity .8s ease; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(9, 31, 52, .85) 0%, rgba(9, 31, 52, 0) 38%),
    linear-gradient(90deg, rgba(9, 31, 52, .9) 0%, rgba(9, 31, 52, .2) 70%),
    url("../img/grain.svg");
  mix-blend-mode: normal;
}
.hero .eyebrow { color: var(--sky); }
.hero .lead { color: var(--muted-dark); margin-top: 28px; max-width: 34em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero-facts {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0;
  margin-top: clamp(48px, 8vh, 96px); border-top: 1px solid var(--line-dark);
}
.hero-facts li { list-style: none; padding: 18px 20px 0 0; font-size: 0.92rem; color: var(--muted-dark); }
.hero-facts strong { display: block; color: var(--white); font-weight: 600; font-size: 1rem; margin-bottom: 2px; }
@media (max-width: 720px) {
  .hero-facts { grid-template-columns: 1fr; }
  .hero-facts li { padding: 14px 0; border-bottom: 1px solid var(--line-dark); }
}

.page-hero {
  position: relative; isolation: isolate; overflow: hidden;
  background: var(--ink); color: var(--white);
  padding: clamp(88px, 12vw, 160px) 0 clamp(56px, 8vw, 104px);
}
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: url("../img/contour.svg") right 20% / cover no-repeat;
  opacity: .5;
  -webkit-mask-image: linear-gradient(90deg, transparent 15%, #000 85%);
  mask-image: linear-gradient(90deg, transparent 15%, #000 85%);
}
.page-hero .lead { margin-top: 28px; }
.page-hero.light { background: var(--paper); color: var(--ink); }
.page-hero.light::before { opacity: 0; }

/* ---------- Pijlers / kaarten ---------- */

.pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.pillar { background: var(--paper); padding: clamp(28px, 3vw, 40px); display: flex; flex-direction: column; gap: 14px; }
.pillar .num { font-family: var(--font-serif); font-style: italic; font-size: 1.6rem; color: var(--sky-deep); line-height: 1; }
.pillar p { color: var(--slate); }
.pillar .link-arrow { margin-top: auto; align-self: flex-start; }
@media (max-width: 900px) { .pillars { grid-template-columns: 1fr; } }

.services { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.service {
  position: relative; display: flex; flex-direction: column; gap: 14px;
  padding: 28px; border: 1px solid var(--line); border-radius: var(--radius);
  background: rgba(255, 255, 255, .5); text-decoration: none;
  transition: border-color .2s ease, background-color .2s ease, transform .2s ease;
}
a.service:hover { border-color: var(--ink); background: var(--white); }
.service .icon { width: 40px; height: 40px; color: var(--sky-deep); }
.service p { color: var(--slate); margin: 0; }
.service .go { margin-top: auto; padding-top: 8px; font-weight: 600; font-size: .92rem; color: var(--sky-deep); display: inline-flex; gap: 8px; }
a.service:hover .go .arrow { transform: translateX(3px); }
.service .go .arrow { transition: transform .2s ease; }
@media (max-width: 960px) { .services { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .services { grid-template-columns: 1fr; } }

/* ---------- Sectoren (horizontale rij) ---------- */

.sector-rail {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(272px, 340px); gap: 16px;
  overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
  margin: 0 calc(50% - 50vw); padding: 4px calc(50vw - 50%) 24px;
  scroll-padding-inline: calc(50vw - 50%);
  scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.25) transparent;
}
.sector-rail:focus-visible { outline-offset: -2px; }
.sector {
  position: relative; isolation: isolate; overflow: hidden; scroll-snap-align: start;
  min-height: 440px; padding: 28px; border-radius: var(--radius);
  display: flex; flex-direction: column; justify-content: flex-end; gap: 12px;
  background: var(--ink-2); color: var(--white);
  border: 1px solid var(--line-dark);
}
.sector::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background: url("../img/contour.svg") var(--pos, 30% 80%) / auto 210% no-repeat;
  opacity: .9;
}
.sector::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(15, 43, 69, .1) 0%, rgba(9, 31, 52, .25) 35%, rgba(9, 31, 52, .94) 70%);
}
.sector:nth-child(1) { --pos: 8% 92%; }
.sector:nth-child(2) { --pos: 26% 78%; }
.sector:nth-child(3) { --pos: 44% 96%; }
.sector:nth-child(4) { --pos: 62% 84%; }
.sector:nth-child(5) { --pos: 80% 94%; }
.sector:nth-child(6) { --pos: 96% 80%; }
.sector .icon { width: 44px; height: 44px; color: var(--sky); margin-bottom: auto; }
.sector .num { font-size: .78rem; letter-spacing: .2em; color: var(--sky); font-weight: 600; }
.sector h3 { font-size: 1.45rem; font-stretch: 106%; }
.sector p { color: var(--muted-dark); margin: 0; font-size: .98rem; }
.rail-controls { display: flex; gap: 8px; }
.rail-controls button {
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-dark);
  background: transparent; color: var(--white); cursor: pointer; display: inline-flex; align-items: center; justify-content: center;
}
.rail-controls button:hover { border-color: var(--white); }
.rail-controls svg { width: 18px; height: 18px; }
.rail-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: clamp(32px, 5vw, 56px); }
.rail-head .section-head { margin-bottom: 0; }
@media (max-width: 720px) { .rail-controls { display: none; } }

/* ---------- Lagen (van binnenuit) ---------- */

.layers { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.layers-figure { position: relative; aspect-ratio: 1; max-width: 520px; width: 100%; justify-self: center; }
.layers-figure svg { width: 100%; height: 100%; }
.layers-figure { margin: 0; }
.layers-figure .ring { fill: var(--paper); stroke: var(--ink); stroke-width: 1.2; transition: fill .25s ease, stroke .25s ease, stroke-width .25s ease; }
.layers-figure [data-ring].is-active .ring { fill: #dcebf0; stroke: var(--sky-deep); stroke-width: 2.5; }
.layers-figure .core .ring { fill: var(--ink); }
.layers-figure .core.is-active .ring { fill: var(--sky-deep); }
.layers-figure text { font-family: var(--font-sans); font-size: 12px; font-weight: 600; letter-spacing: .1em; fill: var(--ink); text-transform: uppercase; }
.layers-figure .core-label { fill: var(--white); }
.layer-list { list-style: none; display: grid; gap: 0; border-top: 1px solid var(--line); margin: 32px 0 28px; }
.layer-list li { padding: 22px 0 22px 56px; border-bottom: 1px solid var(--line); position: relative; transition: background-color .2s ease; cursor: default; }
.layer-list li::before {
  content: attr(data-n); position: absolute; left: 0; top: 22px;
  font-family: var(--font-serif); font-style: italic; font-size: 1.6rem; line-height: 1; color: var(--sky-deep);
}
.layer-list h3 { font-size: 1.2rem; margin-bottom: 6px; }
.layer-list p { color: var(--slate); margin: 0; }
.layer-list li.is-active h3 { color: var(--sky-deep); }
@media (max-width: 900px) { .layers { grid-template-columns: 1fr; } .layers-figure { max-width: 380px; } }

/* ---------- Kringloop ---------- */

.loop { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; counter-reset: step; position: relative; }
.loop li { list-style: none; position: relative; padding: 28px 24px 28px; border: 1px solid var(--line-dark); border-radius: var(--radius); background: rgba(255,255,255,.03); }
.loop .step { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.loop .badge {
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--sky);
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-serif); font-style: italic; font-size: 1.35rem; color: var(--sky);
}
.loop li:not(:last-child)::after {
  content: ""; position: absolute; top: 50px; right: -17px; width: 18px; height: 1px; background: var(--sky);
}
.loop h3 { font-size: 1.2rem; margin-bottom: 8px; }
.loop p { color: var(--muted-dark); margin: 0; font-size: .98rem; }
.loop-return {
  position: relative; height: 30px; margin: 0 calc(12.5% - 2px) 12px;
  border: 1px solid var(--sky); border-top: 0; border-radius: 0 0 10px 10px; color: var(--sky);
}
.loop-return::before {
  content: ""; position: absolute; left: -6px; top: -10px;
  border: 5.5px solid transparent; border-top: 0; border-bottom: 9px solid var(--sky);
}
.loop-return span {
  position: absolute; left: 50%; bottom: 0; transform: translate(-50%, 50%);
  background: var(--ink); padding: 0 14px; font-size: .88rem; letter-spacing: .04em; white-space: nowrap;
  font-family: var(--font-serif); font-style: italic; font-size: 1.1rem;
}
@media (max-width: 960px) {
  .loop { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .loop li:not(:last-child)::after { display: none; }
  .loop-return { display: none; }
}
@media (max-width: 600px) { .loop { grid-template-columns: 1fr; } }

/* ---------- Dienstblokken (dienstenpagina) ---------- */

.service-block { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 5vw, 80px); padding: clamp(40px, 6vw, 72px) 0; border-top: 1px solid var(--line); }
.service-block:last-child { border-bottom: 1px solid var(--line); }
.service-block .icon { width: 48px; height: 48px; color: var(--sky-deep); margin-bottom: 20px; }
.service-block .h3 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); font-stretch: 108%; }
.service-block .kicker { font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; color: var(--steel); font-weight: 600; margin-bottom: 12px; display: block; }
.service-block p { color: var(--slate); }
.checks { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px; margin-top: 24px; }
.checks li { position: relative; padding-left: 28px; font-weight: 500; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: .45em; width: 14px; height: 8px;
  border-left: 2px solid var(--sky-deep); border-bottom: 2px solid var(--sky-deep); transform: rotate(-45deg);
}
@media (max-width: 860px) { .service-block { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .checks { grid-template-columns: 1fr; } }

/* ---------- Merlon-blok ---------- */

.partner {
  display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center;
  padding: clamp(32px, 5vw, 64px); border-radius: var(--radius);
  background: var(--ink); color: #eef3f6; position: relative; overflow: hidden; isolation: isolate;
}
.partner::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: url("../img/contour.svg") 80% 50% / 180% auto no-repeat; opacity: .35;
}
.partner .chain { display: grid; gap: 10px; }
.partner .chain div {
  display: flex; justify-content: space-between; align-items: baseline; gap: 16px;
  padding: 16px 20px; border: 1px solid var(--line-dark); border-radius: var(--radius); background: rgba(9, 31, 52, .6);
}
.partner .chain strong { font-size: 1.05rem; }
.partner .chain span { color: var(--muted-dark); font-size: .92rem; text-align: right; }
@media (max-width: 860px) { .partner { grid-template-columns: 1fr; } }

/* ---------- SEAL-schaal ---------- */

.seal { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; margin-top: 32px; }
.seal div { padding: 16px 14px; border-radius: 4px; background: var(--paper-2); border: 1px solid var(--line); min-height: 108px; display: flex; flex-direction: column; gap: 6px; }
.seal b { font-size: .82rem; letter-spacing: .14em; font-weight: 700; }
.seal span { font-size: .88rem; color: var(--slate); line-height: 1.35; }
.seal div:nth-child(1) { background: #e6e3dc; }
.seal div:nth-child(2) { background: #dfe4e6; }
.seal div:nth-child(3) { background: #cddbe1; }
.seal div:nth-child(4) { background: #a9cad6; }
.seal div:nth-child(5) { background: var(--ink); border-color: var(--ink); }
.seal div:nth-child(5) b, .seal div:nth-child(5) span { color: var(--white); }
@media (max-width: 720px) { .seal { grid-template-columns: 1fr; } .seal div { min-height: 0; } }

/* ---------- Vragenlijst ---------- */

.questions { list-style: none; counter-reset: q; display: grid; gap: 0; border-top: 1px solid var(--line-dark); }
.questions li { counter-increment: q; display: grid; grid-template-columns: 64px 1fr; gap: 16px; padding: 22px 0; border-bottom: 1px solid var(--line-dark); font-size: clamp(1.05rem, 1.6vw, 1.25rem); line-height: 1.45; }
.questions li::before { content: "0" counter(q); font-family: var(--font-serif); font-style: italic; color: var(--sky); font-size: 1.5rem; line-height: 1.1; }

/* ---------- Genummerde lijst (sectoren) ---------- */

.numbered { list-style: none; border-top: 1px solid var(--line); }
.numbered li { display: grid; grid-template-columns: 80px minmax(0, 4fr) minmax(0, 7fr); gap: 24px; padding: clamp(28px, 4vw, 44px) 0; border-bottom: 1px solid var(--line); align-items: start; }
.numbered .n { font-size: .8rem; letter-spacing: .2em; font-weight: 600; color: var(--steel); padding-top: 6px; }
.numbered h2 { font-size: clamp(1.35rem, 2.4vw, 1.9rem); font-stretch: 106%; display: flex; gap: 14px; align-items: center; }
.numbered h2 .icon { width: 32px; height: 32px; color: var(--sky-deep); flex: none; }
.numbered p { color: var(--slate); margin: 0; }
@media (max-width: 860px) { .numbered li { grid-template-columns: 1fr; gap: 10px; } }

/* ---------- Naam-blok ---------- */

.name-block { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.name-block .word { font-size: clamp(3.2rem, 9vw, 7.5rem); font-stretch: 115%; font-weight: 800; letter-spacing: -0.03em; line-height: .9; color: var(--ink); }
.name-block .word .serif { display: block; font-size: .55em; color: var(--sky-deep); font-weight: 400; letter-spacing: 0; margin-top: 10px; }
.name-block .phon { display: block; font-size: .95rem; letter-spacing: .14em; color: var(--steel); margin-top: 16px; font-weight: 500; }
@media (max-width: 860px) { .name-block { grid-template-columns: 1fr; } }

/* ---------- CTA ---------- */

.cta { position: relative; overflow: hidden; isolation: isolate; }
.cta::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: url("../img/contour.svg") 50% 80% / cover no-repeat; opacity: .4;
}
.cta .wrap { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: end; }
.cta .lead { margin-top: 24px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; }
@media (max-width: 860px) { .cta .wrap { grid-template-columns: 1fr; } .cta-actions { justify-content: flex-start; } }

/* ---------- Contact ---------- */

.contact-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.form { display: grid; gap: 18px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 600px) { .form .row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 8px; }
.field label { font-size: .9rem; font-weight: 600; }
.field .opt { font-weight: 400; color: var(--steel); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
  background: var(--white); border: 1px solid rgba(9, 31, 52, .22); border-radius: var(--radius);
  padding: 13px 14px; min-height: 48px;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.field textarea { min-height: 160px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--sky-deep); box-shadow: 0 0 0 3px rgba(47, 93, 116, .18); }
.form-note { font-size: .88rem; color: var(--slate); margin: 0; }
.stack { display: grid; gap: 16px; }
.contact-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; background: rgba(255,255,255,.5); display: grid; gap: 20px; }
.contact-card dl { margin: 0; display: grid; gap: 16px; }
.contact-card dt { font-size: .76rem; letter-spacing: .18em; text-transform: uppercase; color: var(--steel); font-weight: 600; margin-bottom: 2px; }
.contact-card dd { margin: 0; font-weight: 500; }
.contact-card a { color: var(--sky-deep); text-underline-offset: 3px; }
.outage-card { border-radius: var(--radius); padding: 28px; background: var(--ink); color: #eef3f6; }
.outage-card h2 { font-size: 1.35rem; margin-bottom: 10px; display: flex; align-items: center; gap: 12px; }
.outage-card p { color: var(--muted-dark); }
.outage-card .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--signal); animation: pulse 2.4s infinite; }

/* ---------- Footer ---------- */

.site-footer { background: var(--ink); color: #dfe8ee; padding: clamp(64px, 8vw, 104px) 0 32px; font-size: .95rem; }
.footer-top { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: 40px; }
.footer-brand img { height: 46px; width: auto; }
.footer-brand .tag { font-size: clamp(1.8rem, 3vw, 2.4rem); font-stretch: 110%; font-weight: 700; color: var(--white); margin-top: 28px; line-height: 1.05; }
.footer-brand .tag .serif { color: var(--sky); display: block; }
.site-footer h2 { font-size: .76rem; letter-spacing: .2em; text-transform: uppercase; color: var(--sky); font-weight: 600; margin-bottom: 16px; }
.site-footer ul { list-style: none; display: grid; gap: 10px; }
.site-footer a { color: #dfe8ee; text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; text-underline-offset: 3px; }
.site-footer address { font-style: normal; display: grid; gap: 4px; }
.footer-note { margin-top: clamp(48px, 6vw, 72px); padding-top: 24px; border-top: 1px solid var(--line-dark); display: flex; flex-wrap: wrap; gap: 12px 32px; justify-content: space-between; color: rgba(223, 232, 238, .65); font-size: .85rem; }
.footer-note .legal { display: flex; flex-wrap: wrap; gap: 8px 24px; }
@media (max-width: 960px) { .footer-top { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .footer-top { grid-template-columns: 1fr; } }

/* ---------- 404 ---------- */

.notfound { min-height: 70vh; display: flex; align-items: center; }

/* ---------- Animatie bij scrollen ---------- */

.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
.js .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .btn-outage .dot, .outage-card .dot { animation: none; }
  * { transition-duration: 0.01ms !important; }
}

@media print {
  .site-header, .hero-canvas, .menu-toggle, .rail-controls, .cta { display: none !important; }
  .dark, .hero, .page-hero, .site-footer { background: none !important; color: #000 !important; }
}
