/* Kennisbank — gedeelde opmaak voor /kennis/. Zelfde design-systeem als de
   homepage (index.html): kleurvariabelen, typografie, knoppen, nav en footer. */

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/assets/fonts/inter-var.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;
}

:root {
  --navy: #0B1E33;
  --navy-zacht: #16304d;
  --oranje: #FF8400;
  --oranje-donker: #E07300;
  --inkt: #13212f;
  --grijs: #5A6B7E;
  --grijs-licht: #64768C;
  --lijn: #E4E8ED;
  --papier: #FCFCFB;
  --doek: #F4F4F1;
  --vlak: #EDEEE9;
  --groen: #1E9E5A;
  --radius: 18px;
  --radius-s: 11px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; background: var(--papier); color: var(--inkt); -webkit-font-smoothing: antialiased; line-height: 1.6; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* ── Typografie ── */
h1 { font-size: clamp(1.9rem, 4.2vw, 2.9rem); line-height: 1.12; font-weight: 900; letter-spacing: -0.03em; color: var(--navy); text-wrap: balance; }
h2 { font-size: clamp(1.35rem, 2.6vw, 1.7rem); line-height: 1.2; font-weight: 800; letter-spacing: -0.02em; color: var(--navy); text-wrap: balance; }
h3 { font-size: 1.06rem; font-weight: 700; color: var(--navy); }
.kicker { display: inline-flex; align-items: center; gap: 8px; font-size: .8rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--oranje-donker); margin-bottom: 18px; }
.kicker::before { content: ""; width: 22px; height: 3px; border-radius: 2px; background: var(--oranje); }
.sub { font-size: 1.13rem; color: var(--grijs); max-width: 34em; }

/* ── Knoppen ── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; font-weight: 700; font-size: 1rem; border-radius: 12px; padding: 15px 28px; text-decoration: none; transition: transform .14s ease, box-shadow .14s ease, background .14s ease; cursor: pointer; border: none; font-family: inherit; }
.btn-oranje { background: var(--oranje); color: #fff; box-shadow: 0 8px 22px -8px rgba(255,132,0,.55); }
.btn-oranje:hover { background: var(--oranje-donker); transform: translateY(-1px); }
.btn-stil { background: transparent; color: var(--navy); border: 1.5px solid var(--lijn); }
.btn-stil:hover { border-color: var(--navy); }
.btn-note { font-size: .8rem; color: var(--grijs-licht); margin-top: 10px; }

/* ── Nav ── */
nav { position: sticky; top: 0; z-index: 50; background: rgba(252,252,251,.86); backdrop-filter: blur(10px); border-bottom: 1px solid var(--lijn); }
.nav-in { display: flex; align-items: center; gap: 30px; height: 66px; }
.merk { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; letter-spacing: .1em; color: var(--navy); font-size: .95rem; }
.merk img { height: 26px; }
.nav-links { display: flex; gap: 26px; margin-left: auto; align-items: center; }
.nav-links a { text-decoration: none; font-size: .92rem; font-weight: 500; color: var(--grijs); }
.nav-links a:hover { color: var(--navy); }
.nav-links a.actief { color: var(--navy); font-weight: 700; box-shadow: 0 2px 0 var(--oranje); padding-bottom: 2px; }
.nav-cta { background: var(--navy); color: #fff !important; font-weight: 700; padding: 9px 18px; border-radius: 10px; text-decoration: none; }
.nav-cta:hover { background: var(--navy-zacht); }
.alleen-desktop { display: flex; }
.nav-cta-mobiel { display: none; margin-left: auto; }
@media (max-width: 760px) { .alleen-desktop { display: none; } .nav-cta-mobiel { display: inline-flex; } }

/* ── Artikel-layout ── */
.artikel-kop { padding: 56px 0 8px; }
.artikel-kop .kruimel { font-size: .82rem; color: var(--grijs-licht); margin-bottom: 22px; }
.artikel-kop .kruimel a { color: var(--grijs); text-decoration: none; }
.artikel-kop .kruimel a:hover { color: var(--navy); }
.artikel-kop .meta { font-size: .84rem; color: var(--grijs-licht); margin-top: 16px; }
.artikel { max-width: 720px; padding: 26px 0 40px; }
.artikel > p, .artikel > ul, .artikel > ol { font-size: 1.02rem; color: #33475C; margin: 0 0 20px; }
.artikel > ul, .artikel > ol { padding-left: 22px; }
.artikel li { margin-bottom: 8px; }
.artikel h2 { margin: 44px 0 14px; }
.artikel h3 { margin: 30px 0 10px; }
.artikel a { color: var(--navy); font-weight: 600; text-decoration: underline; text-decoration-color: rgba(255,132,0,.5); text-underline-offset: 3px; }
.artikel a:hover { text-decoration-color: var(--oranje); }
.artikel strong { color: var(--navy); }

/* tabel */
.artikel table { width: 100%; border-collapse: collapse; margin: 0 0 24px; font-size: .93rem; background: #fff; border: 1px solid var(--lijn); border-radius: var(--radius-s); overflow: hidden; }
.artikel th { text-align: left; font-size: .78rem; text-transform: uppercase; letter-spacing: .05em; color: var(--grijs-licht); background: var(--doek); padding: 11px 16px; border-bottom: 1px solid var(--lijn); }
.artikel td { padding: 12px 16px; border-bottom: 1px solid var(--lijn); color: #33475C; vertical-align: top; }
.artikel tr:last-child td { border-bottom: none; }
.artikel td .tarief { font-weight: 800; color: var(--navy); white-space: nowrap; }
.tabel-scroll { overflow-x: auto; margin: 0 0 24px; }
.tabel-scroll table { margin: 0; min-width: 520px; }

/* callouts */
.tip { background: var(--doek); border-radius: var(--radius-s); padding: 18px 20px; margin: 0 0 24px; font-size: .95rem; color: #33475C; }
.tip b { color: var(--navy); }
.let-op { background: #FFF6EC; border: 1px solid #FFE1BF; border-radius: var(--radius-s); padding: 18px 20px; margin: 0 0 24px; font-size: .95rem; color: #7A4A12; }
.let-op b { color: #7A4A12; }

/* CTA-kaart in artikel */
.artikel-cta { background: var(--navy); border-radius: var(--radius); padding: 30px 30px 32px; color: #fff; margin: 40px 0; position: relative; overflow: hidden; }
.artikel-cta h3 { color: #fff; font-size: 1.2rem; margin: 0 0 8px; }
.artikel-cta p { color: #A9B7C6; font-size: .93rem; margin: 0 0 20px; max-width: 34em; }
.artikel-cta .wolk { position: absolute; right: -40px; bottom: -60px; width: 240px; opacity: .07; pointer-events: none; }
.artikel-cta .btn { position: relative; }

/* voorbeeld-offerte (document-weergave) */
.voorbeeld-doc { background: #fff; border: 1px solid var(--lijn); border-radius: var(--radius-s); box-shadow: 0 14px 40px -22px rgba(11,30,51,.25); padding: 30px 32px; margin: 0 0 24px; font-size: .9rem; color: #33475C; }
.voorbeeld-doc .doc-kop { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-bottom: 2px solid var(--navy); padding-bottom: 14px; margin-bottom: 18px; }
.voorbeeld-doc .doc-kop b { font-size: 1.05rem; color: var(--navy); }
.voorbeeld-doc .doc-kop span { font-size: .8rem; color: var(--grijs-licht); }
.voorbeeld-doc table { width: 100%; border-collapse: collapse; margin: 12px 0; font-size: .86rem; }
.voorbeeld-doc th { text-align: left; font-size: .72rem; text-transform: uppercase; letter-spacing: .04em; color: var(--grijs-licht); padding: 7px 8px; border-bottom: 1px solid var(--lijn); }
.voorbeeld-doc td { padding: 7px 8px; border-bottom: 1px solid #F0F2F4; vertical-align: top; }
.voorbeeld-doc td:last-child, .voorbeeld-doc th:last-child { text-align: right; white-space: nowrap; }
.voorbeeld-doc .sectienaam td { font-weight: 700; color: var(--navy); background: var(--doek); text-align: left !important; }
.voorbeeld-doc .totaal td { font-weight: 800; color: var(--navy); border-top: 2px solid var(--navy); border-bottom: none; }
.voorbeeld-doc .doc-noot { font-size: .78rem; color: var(--grijs-licht); margin-top: 14px; line-height: 1.6; }
.voorbeeld-label { font-size: .74rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--grijs-licht); margin-bottom: 8px; }

/* FAQ (zelfde stijl als homepage) */
.faq { max-width: 720px; }
.faq details { border-bottom: 1px solid var(--lijn); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 19px 2px; font-weight: 600; color: var(--navy); font-size: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; font-weight: 400; color: var(--oranje); flex: none; }
.faq details[open] summary::after { content: "–"; }
.faq .fa { padding: 0 2px 20px; color: var(--grijs); font-size: .94rem; max-width: 60ch; }

/* auteur */
.auteur { display: flex; gap: 16px; align-items: center; background: var(--doek); border-radius: var(--radius-s); padding: 18px 20px; margin: 40px 0 0; }
.auteur img { width: 54px; height: 54px; border-radius: 50%; object-fit: cover; object-position: center top; border: 2px solid #fff; box-shadow: 0 0 0 3px var(--oranje); }
.auteur .wie { font-size: .88rem; color: var(--grijs); }
.auteur .wie b { color: var(--navy); display: block; }

/* kennis-overzicht */
.kennis-lijst { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; padding: 10px 0 60px; }
@media (max-width: 760px) { .kennis-lijst { grid-template-columns: 1fr; } }
.kennis-kaart { background: #fff; border: 1px solid var(--lijn); border-radius: var(--radius); padding: 26px 26px 24px; text-decoration: none; display: flex; flex-direction: column; transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease; }
.kennis-kaart:hover { border-color: var(--oranje); box-shadow: 0 18px 44px -24px rgba(255,132,0,.35); transform: translateY(-2px); }
.kennis-kaart .tag { font-size: .72rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; color: var(--oranje-donker); margin-bottom: 10px; }
.kennis-kaart h2 { font-size: 1.15rem; margin-bottom: 8px; }
.kennis-kaart p { font-size: .9rem; color: var(--grijs); margin-bottom: 16px; }
.kennis-kaart .lees { margin-top: auto; font-size: .86rem; font-weight: 700; color: var(--navy); }
.kennis-kaart .lees::after { content: " →"; color: var(--oranje); }

/* footer */
footer { border-top: 1px solid var(--lijn); padding: 44px 0 54px; margin-top: 48px; font-size: .84rem; color: var(--grijs-licht); }
.foot { display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.foot a { color: var(--grijs); text-decoration: none; }
.foot a:hover { color: var(--navy); }
.foot-links { display: flex; flex-direction: column; gap: 8px; }
.foot-kop { font-weight: 700; color: var(--navy); font-size: .82rem; margin-bottom: 4px; }
@media (max-width: 640px) { .foot-links a { padding: 5px 0; } }

:focus-visible { outline: 2px solid rgba(255,132,0,.7); outline-offset: 2px; border-radius: 4px; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
