:root {
  --ink: #18211f;
  --muted: #5c6864;
  --line: #d9dfdc;
  --paper: #fbfaf7;
  --white: #ffffff;
  --teal: #0f625a;
  --teal-dark: #0b4742;
  --amber: #c9871e;
  --red: #a94335;
  --blue: #385f8f;
  --sage: #dfe9e3;
  --mist: #eef3f1;
  --shadow: 0 18px 50px rgba(24, 33, 31, 0.12);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  line-height: 1.55;
}

a {
  color: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(217, 223, 220, 0.86);
  background: rgba(251, 250, 247, 0.94);
  backdrop-filter: blur(14px);
}

.nav {
  width: min(1160px, calc(100% - 32px));
  min-height: 64px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.brand {
  font-weight: 780;
  letter-spacing: 0;
  text-decoration: none;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-links::-webkit-scrollbar {
  display: none;
}

.nav-links a {
  padding: 9px 11px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 14px;
  text-decoration: none;
  white-space: nowrap;
}

.nav-links a:hover,
.nav-links a.is-active {
  color: var(--ink);
  background: var(--mist);
}

.page-hero {
  padding: 76px 0 54px;
  background:
    linear-gradient(90deg, rgba(10, 23, 21, 0.9), rgba(10, 23, 21, 0.62)),
    url("hero-kritisch-denken-beleid.png") center right / cover no-repeat;
  color: var(--white);
}

.page-hero.compact {
  padding: 54px 0 42px;
}

.wrap {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
}

.eyebrow,
.kicker {
  margin: 0 0 12px;
  color: var(--teal);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.page-hero .eyebrow {
  color: #f4c96b;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 850px;
  margin-bottom: 18px;
  font-size: clamp(34px, 4.8vw, 58px);
  line-height: 1.04;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(29px, 3.6vw, 46px);
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 22px;
  line-height: 1.18;
}

.lead {
  max-width: 760px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(18px, 2vw, 22px);
}

section {
  padding: 70px 0;
}

.band-white {
  background: var(--white);
}

.band-mist {
  background: var(--mist);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(280px, 0.52fr);
  gap: 44px;
  align-items: end;
  margin-bottom: 30px;
}

.section-head p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 18px;
}

.grid-2,
.grid-3,
.grid-4 {
  display: grid;
  gap: 16px;
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card {
  min-height: 100%;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.card.tinted {
  border-color: rgba(15, 98, 90, 0.25);
  background: linear-gradient(180deg, #ffffff 0%, #f5faf8 100%);
}

.card.dark {
  color: var(--white);
  border-color: transparent;
  background: var(--ink);
}

.card.dark p,
.card.dark li {
  color: rgba(255, 255, 255, 0.78);
}

.card p,
.card li,
.table-note {
  color: var(--muted);
}

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  margin-bottom: 14px;
  padding: 4px 9px;
  border-radius: 999px;
  color: var(--teal-dark);
  background: var(--sage);
  font-size: 12px;
  font-weight: 800;
}

.tag.amber {
  color: #6f4610;
  background: #f7e5bd;
}

.tag.red {
  color: #74261d;
  background: #f3d7d1;
}

.tag.blue {
  color: #244464;
  background: #dbe7f5;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 11px 16px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 760;
  text-decoration: none;
}

.button.primary {
  color: var(--white);
  background: var(--teal);
}

.button.secondary {
  color: var(--teal-dark);
  border-color: rgba(15, 98, 90, 0.24);
  background: var(--white);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.route {
  display: grid;
  gap: 12px;
}

.route-step {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.number {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: var(--white);
  background: var(--teal);
  font-weight: 820;
}

.filterbar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}

.filter-button {
  min-height: 38px;
  padding: 8px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: var(--white);
  font: inherit;
  font-size: 14px;
  font-weight: 720;
  cursor: pointer;
}

.filter-button.is-active {
  color: var(--white);
  border-color: var(--teal);
  background: var(--teal);
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 780px;
}

th,
td {
  padding: 13px 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
  font-size: 14px;
}

th {
  color: var(--ink);
  background: #f6f7f5;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

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

.status {
  display: inline-flex;
  padding: 3px 8px;
  border-radius: 999px;
  color: var(--muted);
  background: var(--mist);
  font-size: 12px;
  font-weight: 720;
}

.status.testen {
  color: #244464;
  background: #dbe7f5;
}

.status.bewerken {
  color: #6f4610;
  background: #f7e5bd;
}

.status.onbruikbaar {
  color: #74261d;
  background: #f3d7d1;
}

.exercise-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.74fr) minmax(300px, 0.42fr);
  gap: 20px;
  align-items: start;
}

.workblock {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.workblock + .workblock {
  margin-top: 16px;
}

.prompt-box {
  padding: 18px;
  border-left: 5px solid var(--amber);
  background: #fff7e7;
}

.answer {
  display: none;
  margin-top: 14px;
  padding: 16px;
  border-radius: var(--radius);
  background: var(--mist);
}

.answer.is-open {
  display: block;
}

.mini-list {
  margin: 0;
  padding-left: 20px;
}

.stat-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.stat {
  padding: 20px;
  border-right: 1px solid var(--line);
}

.stat:last-child {
  border-right: 0;
}

.stat strong {
  display: block;
  color: var(--teal);
  font-size: 30px;
  line-height: 1;
}

.stat span {
  color: var(--muted);
  font-size: 14px;
}

footer {
  padding: 30px 0 42px;
  color: var(--muted);
  background: var(--paper);
  font-size: 14px;
}

.footer-inner {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

@media (max-width: 980px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
    padding: 14px 0;
  }

  .nav-links {
    width: 100%;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .section-head,
  .exercise-layout {
    grid-template-columns: 1fr;
  }

  .grid-4,
  .grid-3,
  .stat-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .stat:nth-child(2) {
    border-right: 0;
  }

  .stat:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 640px) {
  section {
    padding: 54px 0;
  }

  .page-hero {
    padding: 54px 0 42px;
    background:
      linear-gradient(90deg, rgba(10, 23, 21, 0.94), rgba(10, 23, 21, 0.68)),
      url("hero-kritisch-denken-beleid.png") 62% center / cover no-repeat;
  }

  .grid-4,
  .grid-3,
  .grid-2,
  .stat-strip {
    grid-template-columns: 1fr;
  }

  .stat,
  .stat:nth-child(2) {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .stat:last-child {
    border-bottom: 0;
  }

  .footer-inner {
    flex-direction: column;
  }
}
