/* Kennisbank — statische pagina's in Koach-huisstijl */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: #0E1426;
  color: #F5F3EF;
  font-family: 'Hanken Grotesk', sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }

.kb-wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

/* Nav */
.kb-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(14,20,38,0.85);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom: 1px solid #232B40;
}
.kb-nav { height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.kb-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; flex-shrink: 0; }
.kb-logo img { width: 30px; height: 30px; display: block; }
.kb-logo span { font-family: 'Archivo', sans-serif; font-weight: 700; font-size: 21px; letter-spacing: -0.04em; color: #F5F3EF; }
.kb-links { display: flex; align-items: center; gap: 30px; }
.kb-links a { text-decoration: none; font-size: 15px; font-weight: 500; color: #AEB4C2; }
.kb-links a:hover { color: #F5F3EF; }
.kb-links a.active { font-weight: 600; color: #F5F3EF; }
.kb-cta {
  text-decoration: none; background: #FF5A1F; color: #0E1426;
  font-weight: 600; font-size: 15px; padding: 11px 20px; border-radius: 12px;
  display: inline-flex; align-items: center; min-height: 44px; transition: background .15s, transform .15s;
}
.kb-cta:hover { background: #FF6B35; transform: translateY(-1px); }
@media (max-width: 820px) {
  .kb-links { display: none; }
  /* Header nooit laten overlopen: logo + CTA op regel 1, taalkiezer eronder */
  .kb-nav { height: auto; min-height: 60px; flex-wrap: wrap; row-gap: 10px; padding: 10px 0; }
  .kb-cta { order: 2; white-space: nowrap; padding: 10px 16px; font-size: 14px; }
  .kb-langsw { order: 3; flex-basis: 100%; justify-content: center; }
}
@media (max-width: 380px) {
  .kb-langsw button { padding: 6px 8px; }
}

/* Typografie */
.kb-eyebrow {
  font-family: 'JetBrains Mono', monospace; font-size: 11px;
  letter-spacing: 0.2em; text-transform: uppercase; color: #FF5A1F;
}
h1 {
  font-family: 'Archivo', sans-serif; font-weight: 800;
  font-size: clamp(32px, 4.5vw, 52px); letter-spacing: -0.035em;
  line-height: 1.08; margin: 14px 0 18px; text-wrap: balance;
}
h2 {
  font-family: 'Archivo', sans-serif; font-weight: 700;
  font-size: clamp(22px, 2.6vw, 30px); letter-spacing: -0.03em;
  margin: 48px 0 14px;
}
h3 {
  font-family: 'Archivo', sans-serif; font-weight: 700;
  font-size: 19px; letter-spacing: -0.02em; margin: 30px 0 10px;
}
.kb-lead { font-size: 19px; line-height: 1.65; color: #AEB4C2; margin: 0 0 8px; }
article p, article li { font-size: 16.5px; line-height: 1.75; color: #C9CEDA; }
article ul, article ol { padding-left: 22px; }
article li { margin-bottom: 6px; }
article strong { color: #F5F3EF; }
article a { color: #FF6B35; text-decoration: none; }
article a:hover { text-decoration: underline; }

/* Artikel-layout */
.kb-article { max-width: 720px; margin: 0 auto; padding: 64px 24px 80px; }
.kb-meta {
  display: flex; flex-wrap: wrap; gap: 14px; align-items: center;
  font-family: 'JetBrains Mono', monospace; font-size: 12px;
  letter-spacing: 0.06em; color: #5B6479; margin-bottom: 40px;
}
.kb-meta span::after { content: ''; }

/* Screenshots */
figure.kb-shot { margin: 34px auto; text-align: center; }
figure.kb-shot img {
  width: 100%; max-width: 340px; height: auto; display: inline-block;
  border-radius: 24px; border: 1px solid #232B40;
  box-shadow: 0 24px 60px rgba(0,0,0,0.45);
}
figure.kb-shot.kb-shot-pair { display: flex; flex-wrap: wrap; gap: 20px; justify-content: center; }
figure.kb-shot.kb-shot-pair img { max-width: 300px; }
figure.kb-shot figcaption {
  flex-basis: 100%; margin-top: 14px; font-size: 13.5px; color: #5B6479; line-height: 1.5;
}

/* Callout & CTA-blok */
.kb-callout {
  background: #11182B; border: 1px solid #232B40; border-left: 3px solid #FF5A1F;
  border-radius: 12px; padding: 18px 22px; margin: 28px 0;
}
.kb-callout p { margin: 0; }
.kb-ctablock {
  background: #FF5A1F; color: #0E1426; border-radius: 20px;
  padding: 36px 32px; margin: 56px 0 0; text-align: center;
}
.kb-ctablock h2 { color: #0E1426; margin: 0 0 8px; }
.kb-ctablock p { color: rgba(14,20,38,0.75); font-size: 16px; margin: 0 0 22px; }
.kb-ctablock a {
  display: inline-flex; align-items: center; text-decoration: none;
  background: #0E1426; color: #F5F3EF; font-weight: 600; font-size: 16px;
  padding: 14px 30px; border-radius: 12px; min-height: 50px; transition: transform .15s, box-shadow .15s;
}
.kb-ctablock a:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(14,20,38,0.3); }

/* Vergelijkingstabel (commerciële artikelen) */
.kb-table { width: 100%; border-collapse: collapse; margin: 28px 0; font-size: 15px; background: #11182B; border: 1px solid #232B40; border-radius: 12px; overflow: hidden; }
.kb-table th, .kb-table td { padding: 12px 14px; text-align: left; border-bottom: 1px solid #232B40; vertical-align: top; }
.kb-table thead th { font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: #5B6479; font-weight: 600; }
.kb-table tbody tr:last-child td, .kb-table tr:last-child td { border-bottom: none; }
.kb-table td:first-child, .kb-table th:first-child { color: #F5F3EF; font-weight: 600; }
.kb-table .kb-yes { color: #34C77B; font-weight: 700; }
.kb-table .kb-no { color: #5B6479; }
.kb-table .kb-koach { color: #FF6B35; font-weight: 700; }
.kb-table tbody td { color: #C9CEDA; }

/* FAQ */
.kb-faq details {
  background: #11182B; border: 1px solid #232B40; border-radius: 12px;
  padding: 4px 20px; margin-bottom: 10px;
}
.kb-faq summary { cursor: pointer; font-weight: 600; font-size: 16px; color: #F5F3EF; padding: 12px 0; }
.kb-faq details p { margin: 4px 0 16px; }

/* Index-kaarten */
.kb-hero { padding: 80px 0 40px; max-width: 760px; }
.kb-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; padding-bottom: 88px; }
.kb-card {
  background: #11182B; border: 1px solid #232B40; border-radius: 20px;
  overflow: hidden; text-decoration: none; display: flex; flex-direction: column;
  transition: transform .15s, border-color .15s;
}
.kb-card:hover { transform: translateY(-3px); border-color: #3A445E; }
.kb-card-img {
  background: #0E1426; aspect-ratio: 1200 / 630; overflow: hidden;
  border-bottom: 1px solid #232B40;
}
.kb-card-img img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.kb-card-body { padding: 22px 24px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.kb-card-body .kb-eyebrow { color: #5B6479; font-size: 10px; }
.kb-card-body h2 { font-size: 20px; margin: 0; line-height: 1.25; color: #F5F3EF; }
.kb-card-body p { font-size: 14.5px; line-height: 1.6; color: #AEB4C2; margin: 0; flex: 1; }
.kb-card-more { font-size: 14px; font-weight: 600; color: #FF6B35; }

/* Hub: categoriechips en secties */
.kb-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.kb-chips a {
  text-decoration: none; color: #AEB4C2; font-size: 13.5px; font-weight: 600;
  border: 1px solid #232B40; border-radius: 999px; padding: 8px 16px;
  transition: border-color .15s, color .15s;
}
.kb-chips a:hover { border-color: #FF5A1F; color: #F5F3EF; }
.kb-cat-section { padding: 40px 0 8px; border-top: 1px solid #232B40; margin-top: 32px; }
.kb-cat-section:first-of-type { border-top: none; margin-top: 0; }
.kb-cat-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.kb-cat-head h2 { margin: 6px 0 8px; font-size: clamp(24px, 3vw, 32px); }
.kb-cat-head h2 a { color: #F5F3EF; text-decoration: none; }
.kb-cat-head h2 a:hover { color: #FF6B35; }
.kb-cat-head p { margin: 0; color: #AEB4C2; font-size: 15.5px; max-width: 560px; }
.kb-cat-all { text-decoration: none; color: #FF6B35; font-weight: 600; font-size: 14.5px; white-space: nowrap; }
/* Uitgelicht: twee kaarten naast elkaar op desktop (of één die niet doorstrekt). */
.kb-cat-feature { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-bottom: 28px; }
.kb-cat-feature:has(> a:only-child) { grid-template-columns: minmax(0, 520px); }
@media (max-width: 820px) { .kb-cat-feature { grid-template-columns: 1fr; } }
.kb-cat-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.kb-cat-list a {
  display: block; text-decoration: none; color: #C9CEDA; font-size: 15.5px;
  padding: 11px 14px; border-radius: 10px; line-height: 1.4;
}
.kb-cat-list a:hover { background: #11182B; color: #F5F3EF; }
/* Rest-lijst onder de uitgelichte kaarten: vult de breedte in kolommen. */
.kb-cat-list.kb-cat-cols { display: block; column-count: 2; column-gap: 40px; padding-bottom: 40px; }
.kb-cat-list.kb-cat-cols li { break-inside: avoid; }
@media (max-width: 700px) { .kb-cat-list.kb-cat-cols { column-count: 1; } }

/* Verder lezen */
.kb-related { border-top: 1px solid #232B40; margin-top: 56px; padding-top: 32px; }
.kb-related ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.kb-related a { font-weight: 600; }

/* Footer */
.kb-footer { background: #11182B; border-top: 1px solid #232B40; }
.kb-footer-inner { padding: 56px 0 36px; }
.kb-footer-cols { display: flex; flex-wrap: wrap; gap: 48px; justify-content: space-between; margin-bottom: 44px; }
.kb-footer-brand { flex: 1 1 260px; min-width: 220px; }
.kb-footer-brand p { font-size: 14px; color: #AEB4C2; margin: 0; line-height: 1.5; }
.kb-social { display: flex; gap: 10px; margin-top: 16px; }
.kb-social a {
  width: 36px; height: 36px; border-radius: 50%; border: 1px solid #232B40;
  display: flex; align-items: center; justify-content: center;
  color: #AEB4C2; text-decoration: none; transition: border-color .15s ease, color .15s ease;
}
.kb-social a:hover { border-color: #3A445E; color: #F5F3EF; }
.kb-footer-col { min-width: 130px; }
.kb-footer-col .kb-col-title {
  font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: 0.2em;
  text-transform: uppercase; color: #5B6479; margin-bottom: 16px;
}
.kb-footer-col a { display: block; text-decoration: none; color: #AEB4C2; font-size: 14px; margin-bottom: 11px; }
.kb-footer-col a:hover { color: #F5F3EF; }
.kb-footer-bottom {
  border-top: 1px solid #232B40; padding-top: 24px;
  font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: 0.08em; color: #5B6479;
}
