/* Truvibe theme — design tokens uit brandbook + componenten uit Homepage.html.
   Eén bestand, geen build-step. Geen CSS-resets afhankelijk van extern. */

:root {
  --paper:      oklch(0.972 0.008 80);
  --paper-2:    oklch(0.945 0.012 78);
  --paper-3:    oklch(0.915 0.014 76);
  --ink:        oklch(0.22 0.012 60);
  --ink-2:      oklch(0.38 0.010 60);
  --ink-3:      oklch(0.58 0.008 60);
  --terra:      oklch(0.62 0.12 45);
  --terra-deep: oklch(0.48 0.13 42);
  --terra-soft: oklch(0.88 0.04 50);
  --moss:       oklch(0.42 0.05 150);
  --moss-soft:  oklch(0.88 0.025 145);
  --line:       oklch(0.85 0.012 70);
  --sans:  "Geist", -apple-system, BlinkMacSystemFont, sans-serif;
  --mono:  "Geist Mono", ui-monospace, monospace;
  --serif: "Instrument Serif", Georgia, serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  background: var(--paper);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }

em.serif {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  color: var(--terra);
}

/* === Reusable === */
.wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--terra);
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 18px;
  height: 1px;
  background: var(--terra);
}

.section-title {
  font-weight: 500;
  font-size: 56px;
  letter-spacing: -0.025em;
  line-height: 1.02;
  margin-bottom: 22px;
  text-wrap: balance;
  max-width: 18ch;
}

.lede {
  font-size: 19px;
  color: var(--ink-2);
  max-width: 640px;
  line-height: 1.55;
  text-wrap: pretty;
}

/* === Buttons === */
.btn {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  padding: 13px 22px;
  border-radius: 4px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.15s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  line-height: 1;
  text-decoration: none;
}
.btn-primary { background: var(--ink); color: var(--paper); }
.btn-primary:hover { background: var(--terra-deep); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}
.btn-ghost:hover { background: var(--paper-2); border-color: var(--ink); }
.btn .arrow { transition: transform 0.15s; }
.btn:hover .arrow { transform: translateX(3px); }

.link-arrow {
  color: var(--ink);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 2px;
  font-size: 14px;
}
.link-arrow:hover { color: var(--terra); border-color: var(--terra); }
.link-arrow .arrow { transition: transform 0.15s; }
.link-arrow:hover .arrow { transform: translate(2px, -2px); }

/* === NAV === */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: oklch(0.972 0.008 80 / 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 40px;
  max-width: 1200px;
  margin: 0 auto;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1;
}
.nav-brand .vibe {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  color: var(--terra);
}
.nav-brand svg { flex-shrink: 0; }
.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
  align-items: center;
}
.nav-links a {
  color: var(--ink-2);
  font-size: 14px;
  transition: color 0.15s;
}
.nav-links a:hover { color: var(--ink); }
.nav-links a.contact { color: var(--terra); }
.nav-mobile-toggle { display: none; }

@media (max-width: 880px) {
  .nav-inner { padding: 14px 24px; }
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--paper);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    border-bottom: 1px solid var(--line);
    padding: 12px 0;
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links li { padding: 0; }
  .nav-links a {
    display: block;
    padding: 14px 24px;
    border-bottom: 1px solid var(--paper-3);
  }
  .nav-links li:last-child a {
    color: var(--terra);
    font-weight: 500;
    border-bottom: none;
  }
  .nav-mobile-toggle {
    display: flex;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
  }
  .nav-mobile-toggle span {
    display: block;
    width: 22px;
    height: 1.5px;
    background: var(--ink);
  }
}

/* === HERO === */
.hero {
  padding: 88px 0 96px;
  border-bottom: 1px solid var(--line);
  position: relative;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  align-items: center;
}
.hero-title {
  font-weight: 500;
  font-size: 76px;
  line-height: 0.98;
  letter-spacing: -0.035em;
  margin-bottom: 28px;
  text-wrap: balance;
}
.hero-sub {
  font-size: 18px;
  color: var(--ink-2);
  max-width: 520px;
  line-height: 1.55;
  margin-bottom: 32px;
  text-wrap: pretty;
}
.hero-cta-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.hero-image {
  aspect-ratio: 4 / 5;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid var(--line);
}
.placeholder-photo {
  width: 100%;
  height: 100%;
  background:
    repeating-linear-gradient(
      45deg,
      oklch(0.30 0.012 60),
      oklch(0.30 0.012 60) 10px,
      oklch(0.26 0.012 60) 10px,
      oklch(0.26 0.012 60) 20px
    );
}

/* Typografische posters — vervangen foto-placeholders volgens brandbook
   ("Typografische poster met Instrument Serif" patroon). 4:5 staand. */
.poster {
  width: 100%;
  height: 100%;
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  isolation: isolate;
}
.poster-terra { background: var(--terra); color: var(--paper); }
.poster-ink   { background: var(--ink);   color: var(--paper); }
.poster-quote {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 56px;
  line-height: 1.02;
  letter-spacing: -0.015em;
  text-wrap: balance;
  margin: auto 0;
}
.poster-quote em {
  font-family: var(--serif);
  color: var(--terra);
}
.poster-terra .poster-quote em { color: var(--paper); opacity: 0.75; }
.poster-mark {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.02em;
}
.poster-mark .vibe { font-family: var(--serif); font-style: italic; font-weight: 400; }
.poster-terra .poster-mark .vibe { color: var(--paper); }
.poster-ink   .poster-mark .vibe { color: var(--terra); }
.poster-eyebrow {
  font-family: var(--mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  opacity: 0.7;
}
@media (max-width: 980px) {
  .poster-quote { font-size: 44px; }
}
@media (max-width: 560px) {
  .poster-quote { font-size: 36px; }
}

/* === Stats rij === */
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 64px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
.stat .n {
  font-size: 56px;
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  margin-bottom: 10px;
}
.stat .n em { font-family: var(--serif); font-style: italic; color: var(--terra); font-weight: 400; }
.stat .l {
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-3);
  line-height: 1.6;
}

/* === Section === */
section.block {
  padding: 112px 0;
  border-bottom: 1px solid var(--line);
}
.section-paper-2 { background: var(--paper-2); }

/* === Probleem-cards === */
.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
}
.problem-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.problem-card .num {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--terra);
  letter-spacing: 0.1em;
}
.problem-card h3 {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 26px;
  line-height: 1.2;
  color: var(--ink);
  text-wrap: balance;
}
.problem-card p {
  font-size: 14.5px;
  color: var(--ink-2);
  line-height: 1.6;
  margin: 0;
}

/* === Diensten-cards === */
.svc-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 56px;
}
.svc-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 32px 28px 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: border-color 0.2s, transform 0.2s;
  min-height: 360px;
}
.svc-card:hover {
  border-color: var(--ink);
  transform: translateY(-2px);
}
.svc-meta {
  display: flex;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--ink-3);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
  gap: 8px;
  flex-wrap: wrap;
}
.svc-meta .num { color: var(--terra); }
.svc-card h3 {
  font-size: 26px;
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.15;
  margin-top: 6px;
}
.svc-card h3 em { font-family: var(--serif); font-style: italic; font-weight: 400; }
.svc-card .desc {
  font-size: 15px;
  color: var(--ink-2);
  line-height: 1.55;
}
.svc-card .deliver {
  font-size: 13.5px;
  color: var(--ink-2);
  line-height: 1.55;
  padding-top: 14px;
  border-top: 1px solid var(--paper-3);
}
.svc-card .deliver strong { color: var(--ink); font-weight: 500; }
.svc-card .foot {
  margin-top: auto;
  padding-top: 14px;
}

/* === Lokaal vs cloud === */
.vs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  margin-top: 56px;
  position: relative;
}
.vs-grid::before {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  left: 50%;
  width: 1px;
  background: var(--terra);
  opacity: 0.4;
  transform: translateX(-0.5px);
}
.vs-col h3 {
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.015em;
  margin-bottom: 18px;
}
.vs-col h3 em { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--terra); }
.vs-col ul { list-style: none; }
.vs-col li {
  padding: 12px 0;
  border-bottom: 1px solid var(--paper-3);
  font-size: 15px;
  color: var(--ink);
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 8px;
  align-items: baseline;
}
.vs-col li::before {
  content: "→";
  color: var(--terra);
  font-family: var(--mono);
  font-size: 12px;
}
.vs-foot {
  margin-top: 40px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 22px;
  line-height: 1.4;
  color: var(--ink);
  text-wrap: pretty;
  max-width: 720px;
  border-left: 2px solid var(--terra);
  padding: 4px 0 4px 18px;
}
.vs-link { margin-top: 24px; }

/* === Open source === */
.os-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 56px;
}
.os-card {
  background: var(--paper);
  border: 1px solid var(--terra);
  border-radius: 4px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.os-card .meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.os-tag {
  font-family: var(--mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--terra);
  border: 1px solid var(--terra);
  padding: 3px 8px;
  border-radius: 3px;
}
.os-card h3 {
  font-size: 28px;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-top: 6px;
}
.os-card h3 em { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--terra); }
.os-card .what {
  font-size: 15px;
  color: var(--ink-2);
  line-height: 1.55;
}
.os-card .note {
  font-size: 13.5px;
  color: var(--ink-3);
  line-height: 1.55;
  padding-top: 14px;
  border-top: 1px solid var(--paper-3);
}
.os-card .foot { margin-top: auto; padding-top: 8px; }
.os-card .strong-line { color: var(--ink); font-weight: 500; }

/* === Over === */
.over-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 56px;
  align-items: start;
  margin-top: 56px;
}
.over-photo {
  aspect-ratio: 4 / 5;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid var(--line);
}
.over-body p {
  font-size: 16px;
  color: var(--ink-2);
  line-height: 1.65;
  max-width: 540px;
}
.over-body p + p { margin-top: 14px; }
.over-body p strong { color: var(--ink); font-weight: 500; }
.over-link { margin-top: 24px; }

/* === Blog === */
.blog-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
}
.blog-card {
  border-top: 1px solid var(--ink);
  padding-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: opacity 0.15s;
}
.blog-card:hover { opacity: 0.85; }
.blog-card .meta {
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--ink-3);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  display: flex;
  gap: 12px;
}
.blog-card h3 {
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.2;
  text-wrap: balance;
}
.blog-card h3 em { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--terra); }
.blog-card p {
  font-size: 14.5px;
  color: var(--ink-2);
  line-height: 1.55;
}
.blog-card .read {
  margin-top: auto;
  padding-top: 8px;
  color: var(--terra);
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.blog-foot { margin-top: 48px; }
.blog-empty {
  font-family: var(--serif);
  font-style: italic;
  font-size: 19px;
  color: var(--ink-3);
  margin-top: 32px;
}

/* === Newsletter === */
.news-block {
  margin-top: 40px;
  max-width: 560px;
}
.news-form {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}
.news-input {
  flex: 1;
  font-family: var(--sans);
  font-size: 15px;
  padding: 13px 16px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--paper);
  color: var(--ink);
  transition: border-color 0.15s;
}
.news-input:focus { outline: none; border-color: var(--ink); }
.news-disclaimer {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-3);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.news-status {
  margin-top: 10px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--moss);
  display: none;
}
.news-status.show { display: block; }
.news-status.error { color: var(--terra-deep); }

/* === Paper textures === */
.paper-grain {
  position: relative;
  isolation: isolate;
}
.paper-grain::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    repeating-linear-gradient(
      92deg,
      transparent 0,
      transparent 3px,
      oklch(0.55 0.04 50 / 0.018) 3px,
      oklch(0.55 0.04 50 / 0.018) 4px,
      transparent 4px,
      transparent 11px
    ),
    repeating-linear-gradient(
      2deg,
      transparent 0,
      transparent 7px,
      oklch(0.30 0.02 60 / 0.015) 7px,
      oklch(0.30 0.02 60 / 0.015) 8px,
      transparent 8px,
      transparent 19px
    ),
    radial-gradient(circle at 12% 24%, oklch(0.40 0.03 50 / 0.05) 0.5px, transparent 1px),
    radial-gradient(circle at 78% 12%, oklch(0.40 0.03 50 / 0.04) 0.5px, transparent 1px),
    radial-gradient(circle at 33% 78%, oklch(0.40 0.03 50 / 0.05) 0.5px, transparent 1px),
    radial-gradient(circle at 88% 64%, oklch(0.40 0.03 50 / 0.04) 0.5px, transparent 1px),
    radial-gradient(circle at 55% 44%, oklch(0.40 0.03 50 / 0.04) 0.5px, transparent 1px),
    radial-gradient(circle at 20% 88%, oklch(0.40 0.03 50 / 0.05) 0.5px, transparent 1px),
    radial-gradient(circle at 66% 95%, oklch(0.40 0.03 50 / 0.04) 0.5px, transparent 1px);
  background-size: auto, auto, 240px 240px, 320px 320px, 200px 200px, 280px 280px, 180px 180px, 260px 260px, 220px 220px;
  pointer-events: none;
}

/* === Slot CTA === */
.slot-cta {
  background: var(--terra-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.slot-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(
      88deg,
      transparent 0,
      transparent 4px,
      oklch(0.48 0.13 42 / 0.05) 4px,
      oklch(0.48 0.13 42 / 0.05) 5px,
      transparent 5px,
      transparent 14px
    ),
    repeating-linear-gradient(
      178deg,
      transparent 0,
      transparent 9px,
      oklch(0.48 0.13 42 / 0.04) 9px,
      oklch(0.48 0.13 42 / 0.04) 10px,
      transparent 10px,
      transparent 23px
    ),
    radial-gradient(circle at 18% 32%, oklch(0.48 0.13 42 / 0.10) 1px, transparent 2px),
    radial-gradient(circle at 64% 18%, oklch(0.48 0.13 42 / 0.08) 0.8px, transparent 2px),
    radial-gradient(circle at 82% 72%, oklch(0.48 0.13 42 / 0.10) 1px, transparent 2px),
    radial-gradient(circle at 28% 84%, oklch(0.48 0.13 42 / 0.08) 0.8px, transparent 2px),
    radial-gradient(circle at 50% 50%, oklch(0.48 0.13 42 / 0.06) 1px, transparent 2px);
  background-size: auto, auto, 320px 320px, 240px 240px, 380px 380px, 200px 200px, 280px 280px;
  pointer-events: none;
}
.slot-cta .wrap { position: relative; }
.slot-cta .lede { color: var(--ink); }

/* === Footer === */
footer.footer {
  background: var(--ink);
  color: var(--paper);
  padding: 80px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
}
.footer-col h4 {
  font-family: var(--mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--terra);
  margin-bottom: 18px;
  font-weight: 500;
}
.footer-col ul { list-style: none; }
.footer-col li { padding: 5px 0; }
.footer-col a {
  font-size: 13px;
  color: oklch(0.85 0.012 70);
  transition: color 0.15s;
}
.footer-col a:hover { color: var(--paper); border-bottom: 1px solid var(--terra); }
.footer-brand-block .brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
  color: var(--paper);
}
.footer-brand-block .brand .vibe { font-family: var(--serif); font-style: italic; color: var(--terra); font-weight: 400; }
.footer-brand-block p {
  font-size: 13px;
  color: oklch(0.78 0 0);
  line-height: 1.6;
  max-width: 280px;
}
.footer-bottom {
  margin-top: 64px;
  padding-top: 24px;
  border-top: 1px solid oklch(1 0 0 / 0.1);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-family: var(--mono);
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: oklch(0.65 0 0);
}
.footer-bottom a { color: oklch(0.65 0 0); }
.footer-bottom a:hover { color: var(--paper); }
.footer-bottom .legal { display: flex; gap: 18px; flex-wrap: wrap; }

/* === Post / page templates === */
.post-hero {
  padding: 88px 0 56px;
  border-bottom: 1px solid var(--line);
}
.post-meta {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-3);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  display: flex;
  gap: 14px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}
.post-meta .cat { color: var(--terra); }
.post-title {
  font-weight: 500;
  font-size: 56px;
  line-height: 1.02;
  letter-spacing: -0.025em;
  margin-bottom: 22px;
  text-wrap: balance;
  max-width: 22ch;
}
.post-title em { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--terra); }
.post-excerpt {
  font-family: var(--serif);
  font-style: italic;
  font-size: 22px;
  line-height: 1.4;
  color: var(--ink-2);
  max-width: 640px;
  text-wrap: pretty;
}
.post-feature-image {
  margin-top: 40px;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid var(--line);
}

.post-content {
  max-width: 720px;
  margin: 64px auto;
  padding: 0 40px;
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
}
.post-content > * { margin-bottom: 24px; }

/* Markdown italic → brand-italic-serif (matcht homepage <em class="serif">) */
.post-content em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  color: var(--terra);
}

.post-content h2 {
  font-size: 32px;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-top: 64px;
  margin-bottom: 18px;
  text-wrap: balance;
  color: var(--ink);
}
.post-content h2::before {
  content: "";
  display: block;
  width: 32px;
  height: 1px;
  background: var(--terra);
  margin-bottom: 18px;
}
.post-content h2:first-child { margin-top: 0; }
.post-content h2:first-child::before { display: none; }

.post-content h3 {
  font-size: 21px;
  font-weight: 500;
  letter-spacing: -0.015em;
  margin-top: 36px;
  margin-bottom: 8px;
  color: var(--ink);
}

.post-content p { color: var(--ink-2); }
.post-content p strong { color: var(--ink); font-weight: 500; }

.post-content a {
  color: var(--ink);
  border-bottom: 1px solid var(--terra);
  padding-bottom: 1px;
}
.post-content a:hover { color: var(--terra); }

.post-content blockquote {
  border-left: 2px solid var(--terra);
  padding: 4px 0 4px 22px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 22px;
  color: var(--ink);
  margin: 32px 0;
}

/* Bullets — terra arrow ipv default disc */
.post-content ul {
  list-style: none;
  padding-left: 0;
}
.post-content ul li {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 10px;
  align-items: baseline;
  padding: 4px 0;
  color: var(--ink-2);
  margin-bottom: 0;
}
.post-content ul li::before {
  content: "→";
  color: var(--terra);
  font-family: var(--mono);
  font-size: 13px;
}
.post-content ul li strong:first-child { color: var(--ink); }

/* Genummerde lijsten — terra-marker */
.post-content ol {
  padding-left: 28px;
  list-style: decimal;
}
.post-content ol li {
  margin-bottom: 8px;
  padding-left: 4px;
  color: var(--ink-2);
}
.post-content ol li::marker {
  color: var(--terra);
  font-family: var(--mono);
  font-weight: 500;
  font-size: 13px;
}

/* hr met terra-dot in het midden — zachte sectiebreak */
.post-content hr {
  border: none;
  height: 1px;
  background: var(--line);
  margin: 56px 0;
  position: relative;
}
.post-content hr::after {
  content: "";
  position: absolute;
  left: 50%;
  top: -3px;
  width: 7px;
  height: 7px;
  background: var(--terra);
  border-radius: 50%;
  transform: translateX(-50%);
}
.post-content code {
  font-family: var(--mono);
  font-size: 14px;
  background: var(--paper-2);
  padding: 2px 6px;
  border-radius: 3px;
  border: 1px solid var(--line);
}
.post-content pre {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 18px 22px;
  overflow-x: auto;
  font-family: var(--mono);
  font-size: 14px;
  line-height: 1.5;
}
.post-content pre code {
  background: transparent;
  border: none;
  padding: 0;
}
.post-content img,
.post-content figure {
  margin: 32px 0;
  border-radius: 4px;
  overflow: hidden;
}
.post-content figure figcaption {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-3);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 10px;
}

/* Koenig editor card widths — wide/full breken uit de 720px content-kolom */
.post-content .kg-width-wide,
.post-content figure.kg-width-wide {
  margin-left: -10vw;
  margin-right: -10vw;
  max-width: 100vw;
}
.post-content .kg-width-full,
.post-content figure.kg-width-full {
  position: relative;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  max-width: 100vw;
  width: 100vw;
  border-radius: 0;
}
.post-content .kg-width-full img,
.post-content .kg-width-wide img {
  width: 100%;
  height: auto;
}
@media (max-width: 980px) {
  .post-content .kg-width-wide,
  .post-content figure.kg-width-wide {
    margin-left: 0;
    margin-right: 0;
  }
}

.post-author {
  max-width: 720px;
  margin: 64px auto;
  padding: 32px 40px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 16px;
}
.post-author .avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--terra);
  color: var(--paper);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-style: italic;
  font-size: 22px;
  overflow: hidden;
  flex-shrink: 0;
}
.post-author .avatar img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.post-author .who .name { font-weight: 500; font-size: 15px; }
.post-author .who .role {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-3);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 2px;
}

/* === Blog listing (index.hbs) === */
.listing {
  padding: 88px 0;
  border-bottom: 1px solid var(--line);
}
.listing-head {
  margin-bottom: 64px;
}
.listing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.pagination {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 64px;
  font-family: var(--mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-3);
}
.pagination a {
  color: var(--ink);
  border-bottom: 1px solid var(--terra);
  padding-bottom: 1px;
}

/* === Page (Ghost page) === */
.page-hero {
  padding: 88px 0 56px;
  border-bottom: 1px solid var(--line);
}

/* === Dienst-pagina stats-row === */
.dienst-facts {
  background: var(--paper-2);
  border-bottom: 1px solid var(--line);
  padding: 48px 0;
}
.dienst-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.dienst-stat {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.dienst-stat .lbl {
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-3);
  margin-bottom: 12px;
}
.dienst-stat .val {
  font-size: 44px;
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  margin-bottom: 10px;
}
.dienst-stat .val em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  color: var(--terra);
}
.dienst-stat .sub {
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-3);
}
@media (max-width: 880px) {
  .dienst-stats { grid-template-columns: 1fr; gap: 24px; }
  .dienst-stat .val { font-size: 36px; }
}

/* === Responsive === */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-title { font-size: 56px; }
  .hero-image { aspect-ratio: 16 / 10; max-height: 420px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .problem-grid, .svc-row, .blog-row, .listing-grid { grid-template-columns: 1fr; }
  .vs-grid { grid-template-columns: 1fr; gap: 32px; }
  .vs-grid::before { display: none; }
  .os-grid { grid-template-columns: 1fr; }
  .over-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .section-title, .post-title { font-size: 40px; }
  .stat .n { font-size: 40px; }
  section.block, .listing { padding: 80px 0; }
  .wrap { padding: 0 24px; }
  .post-content { padding: 0 24px; }
}
@media (max-width: 560px) {
  .stats { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .news-form { flex-direction: column; }
  .hero-title { font-size: 44px; }
}
