/* ==========================================================================
   SOC-2.nl — Design system
   ========================================================================== */

/* ==========================================================================
   Lettertypen — zelf gehost (geen verzoeken naar Google, zie AVG)
   Bron: Google Fonts, Inter (OFL) en Sora (OFL), variabele woff2-subsets.
   ========================================================================== */

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/inter-latin.woff2") format("woff2");
  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: "Inter";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/inter-latin-ext.woff2") format("woff2");
  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: "Sora";
  font-style: normal;
  font-weight: 600 700;
  font-display: swap;
  src: url("../fonts/sora-latin.woff2") format("woff2");
  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: "Sora";
  font-style: normal;
  font-weight: 600 700;
  font-display: swap;
  src: url("../fonts/sora-latin-ext.woff2") format("woff2");
  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;
}


:root {
  /* Kleuren */
  --ink: #0b1526;
  --ink-soft: #3f4c66;
  --ink-faint: #67748f;
  --bg: #ffffff;
  --bg-soft: #f5f7fb;
  --bg-tint: #eef2f9;
  --line: #e4e9f2;
  --line-strong: #d4dbe8;

  --brand: #2451f5;
  --brand-deep: #14309e;
  --brand-soft: #e8edff;
  --accent: #06b6d4;
  --accent-soft: #e0f7fb;

  --dark: #070d1a;
  --dark-2: #0b1424;
  --dark-line: rgba(255, 255, 255, 0.08);
  --dark-text: #aab6cc;

  --green: #0e9f6e;
  --green-soft: #e3f5ee;
  --amber: #b45309;
  --amber-soft: #fdf3e3;

  /* Typografie */
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-head: "Sora", "Inter", system-ui, sans-serif;

  /* Maatvoering */
  --container: 1140px;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(11, 21, 38, 0.05), 0 2px 8px rgba(11, 21, 38, 0.04);
  --shadow-md: 0 2px 6px rgba(11, 21, 38, 0.05), 0 12px 32px rgba(11, 21, 38, 0.08);
  --shadow-lg: 0 4px 12px rgba(11, 21, 38, 0.06), 0 24px 64px rgba(11, 21, 38, 0.12);
}

/* --------------------------------------------------------------------------
   Reset & basis
   -------------------------------------------------------------------------- */

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: var(--brand);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  line-height: 1.2;
  color: var(--ink);
  margin: 0 0 0.6em;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

h1 { font-size: clamp(2.1rem, 4.5vw, 3.4rem); font-weight: 700; }
h2 { font-size: clamp(1.55rem, 3vw, 2.15rem); font-weight: 700; }
h3 { font-size: clamp(1.15rem, 2vw, 1.35rem); font-weight: 600; }
h4 { font-size: 1.05rem; font-weight: 600; }

p { margin: 0 0 1.1em; }

strong { font-weight: 600; color: var(--ink); }

::selection {
  background: var(--brand);
  color: #fff;
}

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

.skip-link {
  position: absolute;
  top: -60px;
  left: 16px;
  z-index: 200;
  padding: 10px 18px;
  background: var(--ink);
  color: #fff;
  border-radius: 8px;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 12px;
}

.container {
  width: min(var(--container), 100% - 2.5rem);
  margin-inline: auto;
}

/* --------------------------------------------------------------------------
   Header & navigatie
   -------------------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 4px 24px rgba(11, 21, 38, 0.06);
}

.article-reading-progress {
  position: fixed;
  top: 72px;
  right: 0;
  left: 0;
  z-index: 101;
  height: 4px;
  overflow: hidden;
  background: rgba(36, 81, 245, 0.12);
  pointer-events: none;
}

.article-reading-progress-bar {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, var(--brand), var(--accent));
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.08s linear;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--ink);
  letter-spacing: -0.02em;
}

.brand:hover { text-decoration: none; }

.brand-mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--brand), var(--accent));
  color: #fff;
  flex: none;
}

.brand-mark svg { width: 20px; height: 20px; }

.brand-name span { color: var(--brand); }

.main-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.main-nav a,
.main-nav button {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.55rem 0.85rem;
  border: 0;
  background: none;
  font: 500 0.95rem/1 var(--font-body);
  color: var(--ink-soft);
  border-radius: 9px;
  cursor: pointer;
  white-space: nowrap;
}

.main-nav a:hover,
.main-nav button:hover,
.main-nav .is-active > a,
.main-nav .is-active > button {
  color: var(--ink);
  background: var(--bg-tint);
  text-decoration: none;
}

.main-nav .caret {
  width: 14px;
  height: 14px;
  transition: transform 0.2s ease;
}

.has-sub { position: relative; }

.has-sub .sub {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 280px;
  display: block;
  padding: 0.5rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
}

.has-sub.is-open .sub,
.has-sub:focus-within .sub {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.has-sub.is-open .caret { transform: rotate(180deg); }

.sub li { width: 100%; }

.sub a {
  display: block;
  width: 100%;
  padding: 0.6rem 0.8rem;
  border-radius: 9px;
  color: var(--ink-soft);
  font-weight: 500;
}

.sub a small {
  display: block;
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--ink-faint);
  margin-top: 1px;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  place-items: center;
  color: var(--ink);
}

.nav-toggle svg { width: 22px; height: 22px; }
.nav-toggle .icon-close { display: none; }

/* --------------------------------------------------------------------------
   Knoppen & labels
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.5rem;
  border-radius: 12px;
  font: 600 0.98rem/1 var(--font-body);
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.btn:hover { text-decoration: none; transform: translateY(-1px); }

.btn-primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 8px 24px rgba(36, 81, 245, 0.32);
}

.btn-primary:hover { background: #1c43d6; }

.btn-ghost {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.22);
}

.btn-ghost:hover { background: rgba(255, 255, 255, 0.12); }

.btn-light {
  background: #fff;
  color: var(--ink);
  border-color: var(--line-strong);
}

.btn-light:hover { border-color: var(--brand); color: var(--brand); }

.btn svg { width: 18px; height: 18px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font: 600 0.78rem/1 var(--font-body);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 1rem;
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--brand), var(--accent));
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.42rem 0.9rem;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow-sm);
  color: var(--ink-soft);
  font: 500 0.85rem/1.3 var(--font-body);
}

.chip .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
}

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

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(900px 520px at 15% -12%, rgba(36, 81, 245, 0.13), transparent 60%),
    radial-gradient(760px 460px at 88% 0%, rgba(6, 182, 212, 0.12), transparent 60%),
    linear-gradient(180deg, #fbfcfe 0%, #edf1f9 100%);
  color: var(--ink);
  padding: clamp(4.5rem, 9vw, 7.5rem) 0 clamp(3.5rem, 7vw, 6rem);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(11, 21, 38, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11, 21, 38, 0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 0%, #000 35%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 0%, #000 35%, transparent 75%);
  pointer-events: none;
}

.hero .container { position: relative; }

.hero-content {
  max-width: 760px;
}

.hero h1 {
  color: var(--ink);
  margin: 1.2rem 0 1.3rem;
}

.hero h1 .grad {
  background: linear-gradient(95deg, #2348e8 5%, #0795b8 95%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero .lead {
  font-size: clamp(1.05rem, 1.6vw, 1.22rem);
  line-height: 1.75;
  color: var(--ink-soft);
  max-width: 640px;
  margin-bottom: 2.2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-top: clamp(3rem, 6vw, 4.5rem);
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.hero-stat {
  background: #fff;
  padding: 1.4rem 1.5rem;
}

.hero-stat .num {
  font-family: var(--font-head);
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.02em;
}

.hero-stat .num em {
  font-style: normal;
  background: linear-gradient(95deg, #2348e8, #0795b8);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-stat .lbl {
  font-size: 0.86rem;
  color: var(--ink-faint);
  margin-top: 0.2rem;
  line-height: 1.45;
}

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

.section {
  padding: clamp(3.5rem, 7vw, 5.5rem) 0;
}

.section-soft { background: var(--bg-soft); }

.section-dark {
  background:
    radial-gradient(800px 420px at 82% -5%, rgba(36, 81, 245, 0.09), transparent 60%),
    radial-gradient(620px 360px at 8% 100%, rgba(6, 182, 212, 0.08), transparent 60%),
    linear-gradient(180deg, #eef2f9, #f7f9fd);
  color: var(--ink-soft);
}

.section-dark h2,
.section-dark h3 { color: var(--ink); }

.section-head {
  max-width: 680px;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.section-head.center {
  margin-inline: auto;
  text-align: center;
}

.section-head.center .eyebrow { justify-content: center; }

.section-head p {
  color: var(--ink-soft);
  font-size: 1.08rem;
}

.section-dark .section-head p { color: var(--ink-soft); }

/* --------------------------------------------------------------------------
   Cards & grids
   -------------------------------------------------------------------------- */

.grid {
  display: grid;
  gap: 1.4rem;
}

.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);
  padding: 1.7rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

a.card { color: inherit; display: block; }

a.card:hover {
  text-decoration: none;
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--line-strong);
}

.card h3 { margin-bottom: 0.45rem; }

.card p {
  color: var(--ink-soft);
  font-size: 0.97rem;
  margin-bottom: 0;
}

.card .icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--brand-soft);
  color: var(--brand);
  margin-bottom: 1.1rem;
}

.card .icon.teal { background: var(--accent-soft); color: #0891ad; }
.card .icon.green { background: var(--green-soft); color: var(--green); }
.card .icon svg { width: 23px; height: 23px; }

.card .more {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 1.1rem;
  font: 600 0.92rem/1 var(--font-body);
  color: var(--brand);
}

.card .more svg {
  width: 16px;
  height: 16px;
  transition: transform 0.2s ease;
}

a.card:hover .more svg { transform: translateX(4px); }

.blog-card-img {
  width: 100%;
  height: 160px;
  border-radius: var(--radius-sm);
  background-size: cover;
  background-position: center;
  margin-bottom: 1.1rem;
  background-color: var(--bg-tint);
}

.blog-card-date {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink-faint);
  margin-bottom: 0.4rem;
}

.card-num {
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--brand);
  letter-spacing: 0.08em;
  margin-bottom: 0.8rem;
}

/* --------------------------------------------------------------------------
   Vergelijking (split panels)
   -------------------------------------------------------------------------- */

.compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.4rem;
}

.compare-panel {
  border-radius: var(--radius);
  padding: 2rem;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.compare-panel.highlight {
  border-color: rgba(36, 81, 245, 0.35);
  background: linear-gradient(180deg, #f7f9ff, #fff 55%);
  position: relative;
}

.compare-panel .tag {
  display: inline-block;
  font: 700 0.74rem/1 var(--font-body);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  background: var(--bg-tint);
  color: var(--ink-soft);
  margin-bottom: 1.1rem;
}

.compare-panel.highlight .tag {
  background: var(--brand);
  color: #fff;
}

.check-list {
  list-style: none;
  margin: 1.2rem 0 0;
  padding: 0;
}

.check-list li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 0.7rem;
  color: var(--ink-soft);
  font-size: 0.97rem;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.32em;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background-color: var(--green-soft);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230e9f6e' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 13l4 4L19 7'/%3E%3C/svg%3E");
  background-size: 11px;
  background-position: center;
  background-repeat: no-repeat;
}

/* --------------------------------------------------------------------------
   Tabellen
   -------------------------------------------------------------------------- */

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  margin: 1.8rem 0;
  background: #fff;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
  min-width: 560px;
}

th, td {
  text-align: left;
  padding: 0.95rem 1.2rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

thead th {
  background: var(--bg-soft);
  font: 600 0.82rem/1.4 var(--font-body);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-soft);
  white-space: nowrap;
}

tbody tr:last-child td { border-bottom: 0; }

tbody tr:hover { background: #fafbfe; }

td:first-child {
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
}

td { color: var(--ink-soft); }

/* --------------------------------------------------------------------------
   Tijdlijn / stappen
   -------------------------------------------------------------------------- */

.steps {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  position: relative;
}

.steps::before {
  content: "";
  position: absolute;
  left: 23px;
  top: 10px;
  bottom: 10px;
  width: 2px;
  background: linear-gradient(180deg, var(--brand), var(--accent));
  opacity: 0.25;
}

.steps li {
  position: relative;
  padding: 0 0 2.2rem 4.5rem;
}

.steps li:last-child { padding-bottom: 0; }

.steps .step-num {
  position: absolute;
  left: 0;
  top: 0;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  font: 700 1.05rem/1 var(--font-head);
  color: var(--brand);
}

.steps h3 { margin-bottom: 0.35rem; }

.steps p {
  color: var(--ink-soft);
  font-size: 0.98rem;
  margin-bottom: 0;
  max-width: 62ch;
}

.steps .duur {
  display: inline-block;
  margin-top: 0.6rem;
  font: 600 0.8rem/1 var(--font-body);
  color: var(--brand);
  background: var(--brand-soft);
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
}

/* --------------------------------------------------------------------------
   Accordion (FAQ)
   -------------------------------------------------------------------------- */

.accordion {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.accordion details + details {
  border-top: 1px solid var(--line);
}

.accordion summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.25rem 1.6rem;
  cursor: pointer;
  font: 600 1.02rem/1.45 var(--font-body);
  color: var(--ink);
  transition: background 0.15s ease;
}

.accordion summary:hover { background: #fafbfe; }

.accordion summary::-webkit-details-marker { display: none; }

.accordion summary::after {
  content: "";
  flex: none;
  width: 22px;
  height: 22px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232451f5' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E");
  background-size: contain;
  transition: transform 0.25s ease;
}

.accordion details[open] summary::after {
  transform: rotate(45deg);
}

.accordion .answer {
  padding: 0 1.6rem 1.4rem;
  color: var(--ink-soft);
  font-size: 0.98rem;
  max-width: 75ch;
}

.accordion .answer p:last-child { margin-bottom: 0; }

/* --------------------------------------------------------------------------
   Artikelpagina's
   -------------------------------------------------------------------------- */

.page-hero {
  background:
    radial-gradient(700px 400px at 85% -20%, rgba(36, 81, 245, 0.13), transparent 60%),
    radial-gradient(520px 320px at 8% 110%, rgba(6, 182, 212, 0.11), transparent 60%),
    linear-gradient(180deg, #fbfcfe, #edf1f9);
  color: var(--ink);
  padding: clamp(3rem, 6vw, 4.5rem) 0 clamp(2.5rem, 5vw, 3.5rem);
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(11, 21, 38, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11, 21, 38, 0.045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 90% 90% at 60% 0%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 90% 90% at 60% 0%, #000 30%, transparent 80%);
  pointer-events: none;
}

.page-hero .container { position: relative; }

.page-hero h1 {
  color: var(--ink);
  max-width: 18em;
  margin-bottom: 0.5em;
}

.page-hero .lead {
  color: var(--ink-soft);
  font-size: clamp(1.02rem, 1.5vw, 1.15rem);
  max-width: 680px;
  margin-bottom: 0;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  list-style: none;
  margin: 0 0 1.6rem;
  padding: 0;
  font-size: 0.86rem;
}

.breadcrumb a { color: var(--ink-faint); }
.breadcrumb a:hover { color: var(--brand); }
.breadcrumb li:not(:last-child)::after {
  content: "/";
  margin-left: 0.5rem;
  color: var(--line-strong);
}
.breadcrumb [aria-current] { color: var(--ink-soft); font-weight: 500; }

.page-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.4rem;
  margin-top: 1.6rem;
  font-size: 0.86rem;
  color: var(--ink-faint);
}

.page-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.page-meta svg { width: 15px; height: 15px; }

/* Artikel-layout met inhoudsopgave */

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: clamp(2rem, 3.5vw, 3.5rem);
  padding: clamp(2.8rem, 5vw, 4rem) 0 clamp(3.5rem, 6vw, 5rem);
}

.article {
  max-width: 780px;
  min-width: 0;
}

.article--blog { max-width: 840px; }

.article > h2 {
  margin-top: 2.6em;
  padding-top: 0.4em;
}

.article > h2:first-child { margin-top: 0; }

.article h3 { margin-top: 1.8em; }

.article p,
.article li {
  color: var(--ink-soft);
}

.article ul,
.article ol {
  padding-left: 1.3rem;
  margin: 0 0 1.2em;
}

.article li { margin-bottom: 0.45em; }

.article li::marker { color: var(--brand); font-weight: 600; }

.toc {
  position: sticky;
  top: 100px;
  align-self: start;
  border-left: 1px solid var(--line);
  padding-left: 1.5rem;
  font-size: 0.9rem;
}

.toc-title {
  font: 600 0.76rem/1 var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink-faint);
  margin-bottom: 1rem;
}

.toc ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.toc li { margin-bottom: 0.15rem; }

.toc a {
  display: block;
  padding: 0.35rem 0.6rem;
  color: var(--ink-faint);
  border-radius: 7px;
  line-height: 1.45;
}

.toc a:hover {
  color: var(--ink);
  background: var(--bg-tint);
  text-decoration: none;
}

.toc a.is-current {
  color: var(--brand);
  background: var(--brand-soft);
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   Kennisbank
   -------------------------------------------------------------------------- */

.knowledge-hero .eyebrow {
  margin-top: 1.35rem;
  margin-bottom: 0.9rem;
}

.knowledge-layout,
.knowledge-article-shell,
.local-knowledge-article-shell {
  display: grid;
  grid-template-columns: 244px minmax(0, 1fr);
  gap: clamp(2rem, 4vw, 4rem);
  align-items: start;
}

.knowledge-article-shell,
.local-knowledge-article-shell {
  width: min(1320px, 100% - 2.5rem);
}

.knowledge-layout {
  padding-top: clamp(2.8rem, 5vw, 4.5rem);
  padding-bottom: clamp(3.5rem, 6vw, 5.5rem);
}

.knowledge-article-shell {
  padding-top: clamp(2.8rem, 5vw, 4rem);
  padding-bottom: clamp(3.5rem, 6vw, 5rem);
}

.local-knowledge-article-shell {
  padding-top: clamp(2.8rem, 5vw, 4rem);
  padding-bottom: clamp(3.5rem, 6vw, 5rem);
}

.local-knowledge-article-body { min-width: 0; }

.local-knowledge-article-body .article-layout {
  width: 100%;
  padding: 0;
}

.local-knowledge-article-body .article-nav { padding-bottom: 0; }

.knowledge-sidebar {
  position: sticky;
  top: 96px;
  align-self: start;
  max-height: calc(100vh - 120px);
  overflow-y: auto;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-sm);
}

.knowledge-sidebar-header {
  padding: 0.35rem 0.55rem 0.9rem;
  border-bottom: 1px solid var(--line);
}

.knowledge-sidebar-kicker {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--brand);
  font: 700 0.68rem/1 var(--font-body);
  letter-spacing: 0.14em;
}

.knowledge-sidebar-header h2 {
  margin: 0;
  font-size: 1.18rem;
}

.knowledge-sidebar nav { margin-top: 0.75rem; }

.knowledge-sidebar a {
  display: block;
  padding: 0.48rem 0.6rem;
  border-radius: 8px;
  color: var(--ink-soft);
  font-size: 0.9rem;
  line-height: 1.35;
}

.knowledge-sidebar a:hover {
  color: var(--ink);
  background: var(--bg-tint);
  text-decoration: none;
}

.knowledge-sidebar a.is-current {
  color: var(--brand);
  background: var(--brand-soft);
  font-weight: 600;
  text-decoration: none;
}

.knowledge-sidebar-home {
  display: flex !important;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
}

.knowledge-sidebar-home span {
  color: var(--brand);
  font-size: 1rem;
}

.knowledge-nav-group { margin-top: 1.15rem; }

.knowledge-nav-group h3 {
  margin: 0.2rem 0 0.35rem 0.6rem;
  color: var(--ink-faint);
  font: 700 0.68rem/1.2 var(--font-body);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.knowledge-content { min-width: 0; }

.knowledge-content-head {
  max-width: 700px;
  margin-bottom: 2rem;
}

.knowledge-content-head .eyebrow { margin-bottom: 0.75rem; }

.knowledge-content-head h2 { margin-bottom: 0.55rem; }

.knowledge-content-head p:not(.eyebrow) {
  margin-bottom: 0;
  color: var(--ink-soft);
}

.knowledge-content-head .knowledge-attribution {
  margin-top: 0.75rem;
  color: var(--ink-faint);
  font-size: 0.78rem;
}

.knowledge-attribution a,
.initiative-note a,
.subtle-source a {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: var(--line-strong);
  text-underline-offset: 3px;
}

.knowledge-attribution a:hover,
.initiative-note a:hover,
.subtle-source a:hover {
  color: var(--brand);
  text-decoration-color: currentColor;
}

.knowledge-feature {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 1rem;
  padding: 1.2rem 1.35rem;
  border: 1px solid rgba(36, 81, 245, 0.18);
  border-radius: var(--radius);
  color: #fff;
  background: linear-gradient(115deg, #183cc7, #078daa);
  box-shadow: 0 16px 36px rgba(36, 81, 245, 0.17);
}

.knowledge-feature:hover {
  color: #fff;
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 20px 42px rgba(36, 81, 245, 0.23);
}

.knowledge-feature-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 12px;
  font: 700 0.82rem/1 var(--font-head);
}

.knowledge-feature strong,
.knowledge-feature > span:nth-child(2) > span { display: block; }

.knowledge-feature strong { margin-bottom: 0.2rem; }

.knowledge-feature > span:nth-child(2) > span {
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.92rem;
}

.knowledge-feature-arrow,
.knowledge-arrow {
  font-size: 1.25rem;
  transition: transform 0.2s ease;
}

.knowledge-feature:hover .knowledge-feature-arrow,
.knowledge-row:hover .knowledge-arrow { transform: translateX(4px); }

.knowledge-group { margin-top: clamp(2.8rem, 5vw, 4rem); }

.knowledge-group-heading {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
  margin-bottom: 1.1rem;
}

.knowledge-group-number,
.knowledge-index {
  color: var(--brand);
  font: 700 0.78rem/1.2 var(--font-head);
  letter-spacing: 0.08em;
}

.knowledge-group-heading h2 {
  margin-bottom: 0.25rem;
  font-size: clamp(1.35rem, 2.2vw, 1.7rem);
}

.knowledge-group-heading p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.96rem;
}

.knowledge-list { border-top: 1px solid var(--line); }

.knowledge-row {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  padding: 1.05rem 0.7rem 1.05rem 0;
  border-bottom: 1px solid var(--line);
  color: inherit;
}

.knowledge-row:hover {
  color: inherit;
  background: linear-gradient(90deg, var(--brand-soft), transparent 80%);
  text-decoration: none;
}

.knowledge-row h3 {
  margin-bottom: 0.2rem;
  font-size: 1.05rem;
}

.knowledge-row p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.9rem;
  line-height: 1.5;
}

.knowledge-row .knowledge-arrow { color: var(--brand); }

.knowledge-article-content { min-width: 0; }

.knowledge-article-content > .container {
  width: 100%;
  margin-inline: 0;
}

/* Callouts */

.callout {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.9rem;
  padding: 1.2rem 1.4rem;
  border-radius: var(--radius-sm);
  margin: 1.8rem 0;
  font-size: 0.96rem;
}

.callout .co-icon {
  width: 22px;
  height: 22px;
  flex: none;
  margin-top: 2px;
}

.callout p { margin-bottom: 0.5em; }
.callout p:last-child { margin-bottom: 0; }
.callout strong:first-child { display: inline-block; margin-bottom: 0.1em; }

.callout-info {
  background: var(--brand-soft);
  border: 1px solid rgba(36, 81, 245, 0.18);
}
.callout-info .co-icon { color: var(--brand); }
.callout-info p { color: #2a3a63; }

.callout-warn {
  background: var(--amber-soft);
  border: 1px solid rgba(180, 83, 9, 0.18);
}
.callout-warn .co-icon { color: var(--amber); }
.callout-warn p { color: #6b4012; }

.callout-tip {
  background: var(--green-soft);
  border: 1px solid rgba(14, 159, 110, 0.2);
}
.callout-tip .co-icon { color: var(--green); }
.callout-tip p { color: #155742; }

/* Definitielijst (begrippenlijst) */

.term-list {
  display: grid;
  gap: 1rem;
}

.term {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 1.3rem 1.5rem;
  box-shadow: var(--shadow-sm);
}

.term dt {
  font: 600 1.05rem/1.4 var(--font-head);
  color: var(--ink);
  margin-bottom: 0.3rem;
}

.term dd {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.96rem;
}

.letter-head {
  font-family: var(--font-head);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--brand);
  margin: 2.2rem 0 1rem;
  padding-bottom: 0.4rem;
  border-bottom: 2px solid var(--brand-soft);
}

.letter-head:first-of-type { margin-top: 0; }

/* Vorige / volgende navigatie */

.article-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.4rem;
  padding: clamp(2rem, 4vw, 3rem) 0 clamp(3rem, 5vw, 4rem);
  border-top: 1px solid var(--line);
}

.article-nav a {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  padding: 1.4rem 1.6rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.article-nav a:hover {
  text-decoration: none;
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.article-nav .dir {
  font: 600 0.78rem/1 var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-faint);
}

.article-nav .next { text-align: right; align-items: flex-end; }
.article-nav .ttl { font-weight: 600; color: var(--brand); }

/* --------------------------------------------------------------------------
   CTA-banner (kennis, geen verkoop)
   -------------------------------------------------------------------------- */

.banner {
  position: relative;
  overflow: hidden;
  border-radius: calc(var(--radius) + 6px);
  background:
    radial-gradient(640px 320px at 88% -10%, rgba(255, 255, 255, 0.22), transparent 60%),
    radial-gradient(500px 300px at 5% 110%, rgba(8, 200, 235, 0.35), transparent 60%),
    linear-gradient(115deg, #2348e8, #0fa7cf);
  color: #fff;
  padding: clamp(2.4rem, 5vw, 3.8rem);
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) auto;
  align-items: center;
  gap: 2rem;
  box-shadow: 0 24px 64px rgba(36, 81, 245, 0.25);
}

.banner h2 { color: #fff; margin-bottom: 0.4em; }
.banner p { color: rgba(255, 255, 255, 0.88); margin: 0; max-width: 52ch; }

.banner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

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

.site-footer {
  background: linear-gradient(180deg, #f7f9fc, #eef2f9);
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  padding: clamp(3rem, 6vw, 4.5rem) 0 0;
  font-size: 0.93rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
}

.footer-about p {
  color: var(--ink-faint);
  max-width: 36ch;
  margin-top: 1.1rem;
}

.footer-about .initiative-note {
  margin-top: 0.65rem;
  font-size: 0.78rem;
}

.subtle-source {
  color: var(--ink-faint);
  font-size: 0.88rem;
}

.site-footer .brand { color: var(--ink); }

.footer-col h4 {
  color: var(--ink);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 1.1rem;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-col li { margin-bottom: 0.55rem; }

.footer-col a {
  color: var(--ink-soft);
}

.footer-col a:hover { color: var(--brand); }

.footer-bottom {
  border-top: 1px solid var(--line);
  padding: 1.4rem 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.8rem;
  font-size: 0.84rem;
  color: var(--ink-faint);
}

.footer-bottom a { color: var(--ink-soft); }
.footer-bottom a:hover { color: var(--brand); }

/* --------------------------------------------------------------------------
   Reveal-animaties
   -------------------------------------------------------------------------- */

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .card, .article-nav a, .article-reading-progress-bar { transition: none; }
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .article-layout { grid-template-columns: 1fr; }
  .toc { display: none; }
  .knowledge-layout,
  .knowledge-article-shell,
  .local-knowledge-article-shell { grid-template-columns: 1fr; }
  .knowledge-sidebar {
    position: static;
    max-height: none;
  }
  .knowledge-article-content > .container { width: 100%; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  body { font-size: 1rem; }

  .grid-2, .grid-3, .compare { grid-template-columns: 1fr; }

  .nav-toggle { display: grid; }

  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: calc(100vh - 72px);
    height: calc(100dvh - 72px);
    background: #fff;
    border-top: 1px solid var(--line);
    padding: 1.2rem 1.25rem 2.5rem;
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s;
    z-index: 99;
  }

  body.nav-open .main-nav {
    opacity: 1;
    visibility: visible;
    transform: none;
  }
  body.nav-open { overflow: hidden; }
  body.nav-open .nav-toggle .icon-menu { display: none; }
  body.nav-open .nav-toggle .icon-close { display: block; }

  .main-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0.15rem;
  }

  .main-nav a,
  .main-nav button {
    width: 100%;
    justify-content: space-between;
    padding: 0.85rem 0.9rem;
    font-size: 1.02rem;
  }

  .has-sub .sub {
    position: static;
    min-width: 0;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: 0;
    border-left: 2px solid var(--line);
    border-radius: 0;
    margin: 0.2rem 0 0.5rem 0.9rem;
    padding: 0 0 0 0.4rem;
    display: none;
  }

  .has-sub.is-open .sub { display: block; }

  .banner { grid-template-columns: 1fr; }
  .article-nav { grid-template-columns: 1fr; }
  .article-nav .next { text-align: left; align-items: flex-start; }
  .knowledge-layout,
  .knowledge-article-shell,
  .local-knowledge-article-shell { gap: 1.5rem; }
  .knowledge-sidebar nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.25rem 0.55rem; }
  .knowledge-sidebar-header,
  .knowledge-sidebar-home { grid-column: 1 / -1; }
  .knowledge-nav-group { margin-top: 0.7rem; }
  .knowledge-nav-group h3 { grid-column: 1 / -1; }
  .knowledge-feature { grid-template-columns: auto minmax(0, 1fr); }
  .knowledge-feature-arrow { display: none; }
  .knowledge-row { grid-template-columns: 36px minmax(0, 1fr); }
  .knowledge-row .knowledge-arrow { display: none; }
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
}

@media (max-width: 460px) {
  .hero-stats { grid-template-columns: 1fr; }
}


/* ==========================================================================
   Hulpklassen — vervangen inline style-attributen zodat de CSP geen
   'unsafe-inline' voor stijlen nodig heeft.
   ========================================================================== */

.u-narrow { max-width: 780px; }
.u-center-block { margin-inline: auto; }
.u-text-center { text-align: center; }
.u-mt-m { margin-top: 1.6rem; }
.u-mt-l { margin-top: 1.8rem; }
.u-mt-xl { margin-top: 2.5rem; }

.section--flush-top { padding-top: 0; }
.section--flush-bottom { padding-bottom: 0; }
.section--tight-top { padding-top: clamp(2.2rem, 4vw, 3rem); }

.card--feature {
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: linear-gradient(115deg, #2348e8, #0fa7cf);
  border-color: transparent;
  box-shadow: 0 16px 40px rgba(36, 81, 245, 0.25);
}

.card--feature h3 { color: #fff; }
.card--feature p { color: rgba(255, 255, 255, 0.88); }
.card--feature .more { color: #fff; }
