/* Gewoon Gelijk — ontwerp volgens DESIGN.md (Notion). Tokens letterlijk uit dat bestand. */
@font-face {
  font-family: "Inter";
  src: url("/fonts/inter-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --primary: #5645d4;
  --primary-pressed: #4534b3;
  --on-primary: #ffffff;
  --brand-navy: #0a1530;
  --brand-navy-mid: #1a2a52;
  --link-blue: #0075de;
  --link-blue-pressed: #005bab;
  --brand-orange-deep: #793400;
  --brand-purple-800: #391c57;
  --brand-pink-deep: #a02e6d;
  --brand-brown: #523410;
  --card-tint-peach: #ffe8d4;
  --card-tint-rose: #fde0ec;
  --card-tint-mint: #d9f3e1;
  --card-tint-lavender: #e6e0f5;
  --card-tint-sky: #dcecfa;
  --card-tint-yellow: #fef7d6;
  --card-tint-cream: #f8f5e8;
  --canvas: #ffffff;
  --surface: #f6f5f4;
  --surface-soft: #fafaf9;
  --hairline: #e5e3df;
  --hairline-soft: #ede9e4;
  --hairline-strong: #c8c4be;
  --ink: #1a1a1a;
  --charcoal: #37352f;
  --slate: #5d5b54;
  --steel: #787671;
  --on-dark: #ffffff;
  --on-dark-muted: #a4a097;

  --font: "Notion Sans", Inter, -apple-system, system-ui, "Segoe UI", Helvetica, sans-serif;
  --r-xs: 4px;
  --r-sm: 6px;
  --r-md: 8px;
  --r-lg: 12px;
  --shadow-1: rgba(15, 15, 15, 0.04) 0px 1px 2px 0px;
  --shadow-2: rgba(15, 15, 15, 0.08) 0px 4px 12px 0px;
  --shadow-4: rgba(15, 15, 15, 0.16) 0px 16px 48px -8px;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--link-blue);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
a:active {
  color: var(--link-blue-pressed);
}
:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
  border-radius: var(--r-xs);
}

.wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 16px;
}
.wrap-narrow {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 16px;
}
@media (min-width: 768px) {
  .wrap,
  .wrap-narrow {
    padding: 0 32px;
  }
  .wrap-narrow {
    max-width: 784px;
  }
}

.skip {
  position: absolute;
  left: -9999px;
  top: 8px;
  background: var(--canvas);
  color: var(--ink);
  padding: 8px 12px;
  border-radius: var(--r-md);
  z-index: 100;
}
.skip:focus {
  left: 16px;
}

/* ---------- Top-navigatie (witte sticky balk) ---------- */
.top {
  background: var(--canvas);
  color: var(--ink);
  border-bottom: 1px solid var(--hairline);
  position: sticky;
  top: 0;
  z-index: 50;
}
.top-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  gap: 16px;
}
.brand img {
  height: 44px;
  width: auto;
}
.nav-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--hairline-strong);
  border-radius: var(--r-md);
  padding: 10px 18px;
  font: 500 14px/1.3 var(--font);
  cursor: pointer;
  min-height: 44px;
}
.bars,
.bars::before,
.bars::after {
  display: block;
  width: 16px;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
  position: relative;
}
.bars::before,
.bars::after {
  content: "";
  position: absolute;
  left: 0;
}
.bars::before {
  top: -5px;
}
.bars::after {
  top: 5px;
}

.nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-list a {
  color: var(--ink);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.3;
  display: block;
  padding: 8px 12px;
  border-radius: var(--r-sm);
}
.nav-list a:hover {
  text-decoration: none;
  background: var(--surface);
}
.nav-list a[aria-current="page"] {
  background: var(--surface);
}
.sub {
  list-style: none;
  margin: 0;
  padding: 0;
}

@media (max-width: 1023px) {
  .nav-list {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--canvas);
    padding: 8px 16px 16px;
    border-bottom: 1px solid var(--hairline);
    box-shadow: var(--shadow-2);
  }
  .nav-list.open {
    display: block;
  }
  .nav-list a {
    padding: 12px;
    font-size: 16px;
  }
  .sub a {
    padding-left: 28px;
    color: var(--slate);
  }
}

@media (min-width: 1024px) {
  .nav-toggle {
    display: none;
  }
  .nav-list {
    display: flex;
    gap: 4px;
  }
  .has-sub {
    position: relative;
  }
  .has-sub > a::after {
    content: "";
    display: inline-block;
    width: 6px;
    height: 6px;
    margin-left: 8px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: translateY(-3px) rotate(45deg);
  }
  .sub {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 200px;
    background: var(--canvas);
    border: 1px solid var(--hairline);
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-4);
    padding: 6px;
  }
  .has-sub:hover .sub,
  .has-sub:focus-within .sub {
    display: block;
  }
  .sub a {
    color: var(--ink);
  }
  .sub a:hover,
  .sub a[aria-current="page"] {
    background: var(--surface);
  }
}

/* ---------- Hero (home) ---------- */
.hero {
  background: var(--brand-navy);
  color: var(--on-dark);
  text-align: center;
  padding: 64px 0 80px;
  position: relative;
  overflow: hidden;
}
/* Gekleurde stippen als decoratie, zoals in de Notion-hero */
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.hero::before {
  width: 14px;
  height: 14px;
  background: #f5d75e;
  top: 18%;
  left: 8%;
  box-shadow: 72vw 20px 0 -2px #ff64c8, 4vw 260px 0 -3px #2a9d99, 70vw 300px 0 0 #dd5b00;
}
.hero::after {
  width: 10px;
  height: 10px;
  background: #1aae39;
  top: 72%;
  right: 6%;
}
@media (max-width: 767px) {
  .hero::before,
  .hero::after {
    display: none;
  }
}
.hero-inner {
  max-width: 880px;
  position: relative;
}
.hero h1 {
  font-size: 36px;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -1px;
  margin: 0 0 20px;
}
.hero-text {
  font-size: 18px;
  line-height: 1.5;
  color: var(--on-dark-muted);
  max-width: 680px;
  margin: 0 auto 32px;
}
@media (min-width: 480px) {
  .hero h1 {
    font-size: 48px;
  }
}
@media (min-width: 768px) {
  .hero {
    padding: 96px 0 120px;
  }
  .hero h1 {
    font-size: 56px;
  }
}
@media (min-width: 1024px) {
  .hero h1 {
    font-size: 72px;
    letter-spacing: -2px;
    line-height: 1.05;
  }
}
@media (min-width: 1280px) {
  .hero h1 {
    font-size: 80px;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 18px;
  border-radius: var(--r-md);
  font: 500 14px/1.3 var(--font);
  text-decoration: none;
}
.btn:hover {
  text-decoration: none;
}
.btn-primary {
  background: var(--primary);
  color: var(--on-primary);
}
.btn-primary:hover,
.btn-primary:active {
  background: var(--primary-pressed);
  color: var(--on-primary);
}

/* ---------- Secties en kaarten ---------- */
.section {
  padding-top: 48px;
  padding-bottom: 64px;
}
@media (min-width: 768px) {
  .section {
    padding-top: 64px;
    padding-bottom: 96px;
  }
}
.section-title {
  font-size: 28px;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.5px;
  margin: 0 0 24px;
}
@media (min-width: 768px) {
  .section-title {
    font-size: 36px;
    line-height: 1.2;
    margin-bottom: 32px;
  }
}

.page-head {
  background: var(--surface);
  border-bottom: 1px solid var(--hairline);
  padding: 48px 0;
}
.page-head h1 {
  font-size: 36px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.5px;
  margin: 0;
}
.page-head .lead {
  color: var(--slate);
  font-size: 18px;
  margin: 12px 0 0;
}
.page-head .btn {
  margin-top: 8px;
}
@media (min-width: 768px) {
  .page-head {
    padding: 64px 0;
  }
  .page-head h1 {
    font-size: 48px;
    line-height: 1.15;
  }
}

.grid {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.card {
  background: var(--canvas);
  border: 1px solid var(--hairline);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.18s ease, border-color 0.18s ease;
}
.card:hover {
  box-shadow: var(--shadow-2);
  border-color: var(--hairline-strong);
}
.card-img {
  display: block;
  aspect-ratio: 16 / 10;
  background: var(--surface);
  overflow: hidden;
}
.card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.card-body {
  padding: 20px 24px 24px;
}
.card h3 {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.4;
  margin: 12px 0 8px;
}
.card h3 a {
  color: var(--ink);
}
.card p {
  color: var(--slate);
  font-size: 14px;
  line-height: 1.5;
  margin: 0;
}
.empty {
  color: var(--slate);
  background: var(--surface);
  border-radius: var(--r-lg);
  padding: 32px;
  margin: 0;
}

.meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  line-height: 1.4;
  color: var(--steel);
}
.tag {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
  border-radius: var(--r-sm);
  padding: 2px 8px;
}
.tag:hover {
  text-decoration: none;
}
.tag-lavender { background: var(--card-tint-lavender); color: var(--brand-purple-800); }
.tag-peach { background: var(--card-tint-peach); color: var(--brand-orange-deep); }
.tag-mint { background: var(--card-tint-mint); color: #13692a; }
.tag-sky { background: var(--card-tint-sky); color: #0b4a85; }
.tag-rose { background: var(--card-tint-rose); color: var(--brand-pink-deep); }
.tag-yellow { background: var(--card-tint-yellow); color: var(--brand-brown); }
.tag-cream { background: var(--card-tint-cream); color: var(--charcoal); }

/* ---------- Artikel ---------- */
.post-head {
  padding-top: 48px;
  padding-bottom: 32px;
}
.post-head h1 {
  font-size: 32px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.5px;
  margin: 16px 0 12px;
}
.byline {
  color: var(--steel);
  font-size: 14px;
  margin: 0;
}
.byline a {
  color: var(--slate);
  font-weight: 500;
}
@media (min-width: 768px) {
  .post-head {
    padding-top: 64px;
  }
  .post-head h1 {
    font-size: 48px;
    line-height: 1.15;
  }
}
.post-img {
  margin: 0 auto 40px;
  max-width: 1024px;
}
.post-img img {
  width: 100%;
  border-radius: var(--r-lg);
  border: 1px solid var(--hairline);
}

.prose {
  font-size: 17px;
  line-height: 1.7;
  color: var(--charcoal);
}
.prose > :first-child {
  margin-top: 0;
}
.prose p,
.prose ul,
.prose ol {
  margin: 0 0 20px;
}
.prose li {
  margin-bottom: 8px;
}
.prose h2 {
  font-size: 28px;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.3px;
  color: var(--ink);
  margin: 48px 0 16px;
}
.prose h3 {
  font-size: 22px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--ink);
  margin: 36px 0 12px;
}
.prose strong {
  color: var(--ink);
  font-weight: 600;
}
.prose a {
  text-decoration: underline;
  text-decoration-color: rgba(0, 117, 222, 0.35);
  text-underline-offset: 3px;
}
.prose a:hover {
  text-decoration-color: currentColor;
}
.prose img {
  border-radius: var(--r-lg);
  margin: 24px 0;
}
.prose.partners p {
  margin: 0;
  border-bottom: 1px solid var(--hairline-soft);
}
.prose.partners p a {
  display: block;
  padding: 16px 0;
  text-decoration: none;
}

.post-nav {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--hairline);
}
@media (min-width: 640px) {
  .post-nav {
    grid-template-columns: 1fr 1fr;
  }
}
.post-nav a {
  display: block;
  border: 1px solid var(--hairline);
  border-radius: var(--r-lg);
  padding: 16px 20px;
  color: var(--ink);
  font-weight: 500;
  line-height: 1.4;
}
.post-nav a:hover {
  text-decoration: none;
  background: var(--surface-soft);
}
.post-nav span {
  display: block;
  font-size: 13px;
  color: var(--steel);
  font-weight: 400;
  margin-bottom: 4px;
}
.post-nav .next {
  text-align: right;
}
.related {
  border-top: 1px solid var(--hairline);
  margin-top: 64px;
}

/* ---------- Footer ---------- */
.foot {
  border-top: 1px solid var(--hairline);
  background: var(--canvas);
  color: var(--charcoal);
  font-size: 14px;
  line-height: 1.5;
  padding: 32px 0;
}
.foot-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
}
.foot p {
  margin: 0;
}
.foot a {
  color: var(--steel);
}
.foot a:hover {
  color: var(--ink);
}

/* Footer-onderdelen uit het Beheersysteem (standaard uit). */
.foot-tagline {
  flex-basis: 100%;
}
.foot-cols {
  flex-basis: 100%;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 24px;
  margin-bottom: 8px;
}
.foot-cols h2 {
  font-size: 14px;
  margin: 0 0 8px;
  color: var(--ink);
}
.foot-cols ul,
.foot-links {
  list-style: none;
  margin: 0;
  padding: 0;
}
.foot-cols li {
  margin: 4px 0;
}
.foot-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
