/* OZIIX – kennisbank en artikelpagina's */
.kb { background: #fff; overflow: hidden; }
.kb-l { display: none; }
html:not([lang="en"]):not([lang="fr"]) .kb-l[data-l="nl"], html[lang="en"] .kb-l[data-l="en"], html[lang="fr"] .kb-l[data-l="fr"] { display: inline; }
.kb [hidden] { display: none !important; }
.kb-sec { padding: 40px 0 64px; }
.kb-sec.soft { background: var(--soft); padding: 64px 0; }
.kb-hero-top { padding-bottom: 36px; }

/* zoekbalk + categorieën */
.kb-tools { margin-top: 34px; max-width: 920px; }
.kb-search { position: relative; display: flex; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 18px 40px -26px rgba(15, 23, 42, .35); transition: border-color .25s, box-shadow .25s, transform .25s; }
.kb-search:focus-within { border-color: var(--brand); box-shadow: 0 0 0 5px rgba(var(--brand-rgb), .12), 0 22px 44px -26px rgba(var(--brand-rgb), .6); transform: translateY(-1px); }
.kb-si { position: absolute; left: 20px; color: var(--brand); pointer-events: none; }
.kb-search input { flex: 1; min-width: 0; padding: 18px 54px 18px 54px; border: 0; background: transparent; font: inherit; font-size: 1.04rem; color: var(--ink); outline: none; border-radius: 18px; }
.kb-search input::placeholder { color: #94a3b8; }
.kb-search input::-webkit-search-cancel-button { display: none; }
.kb-clear { position: absolute; right: 12px; width: 34px; height: 34px; border: 0; border-radius: 10px; background: #f1f5f9; color: #475569; cursor: pointer; display: grid; place-items: center; transition: background .2s, color .2s, transform .2s; }
.kb-clear:hover { background: var(--brand); color: #fff; transform: rotate(90deg); }
.kb-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.kb-chip { padding: 9px 18px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--text); font: inherit; font-size: .9rem; font-weight: 600; cursor: pointer; transition: all .25s cubic-bezier(.22, 1, .36, 1); }
.kb-chip:hover { border-color: var(--brand); color: var(--brand); transform: translateY(-2px); }
.kb-chip.on { background: var(--brand); border-color: var(--brand); color: #fff; box-shadow: 0 12px 20px -10px rgba(var(--brand-rgb), .9); }
.kb-count { margin: 0 0 22px; font-size: .92rem; font-weight: 600; color: var(--text); min-height: 1.3em; }

/* kaders: maximaal 3 naast elkaar */
.kb-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
.kb-item { position: relative; display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: 22px; background: #fff; color: inherit; text-decoration: none; transition: transform .5s cubic-bezier(.22, 1, .36, 1), box-shadow .5s, border-color .4s; }
.kb-item:hover, .kb-item:focus-visible { transform: translateY(-8px); border-color: rgba(var(--brand-rgb), .45); box-shadow: 0 34px 54px -34px rgba(var(--brand-rgb), .8); }
.kb-item:focus-visible { outline: 3px solid rgba(var(--brand-rgb), .35); outline-offset: 3px; }
.kb-img { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: linear-gradient(135deg, #e6f3f7, #cfe7ef); }
.kb-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1s cubic-bezier(.22, 1, .36, 1); }
.kb-item:hover .kb-img img { transform: scale(1.07); }
.kb-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(15, 23, 42, .28)); opacity: 0; transition: opacity .5s; }
.kb-item:hover .kb-img::after { opacity: 1; }
.kb-ph { position: absolute; inset: 0; display: grid; place-items: center; color: rgba(var(--brand-rgb), .4); }
.kb-ph svg { width: 54px; height: 54px; }
.kb-badge { display: inline-flex; align-items: center; padding: 5px 12px; border-radius: 8px; background: var(--brand-soft); color: var(--brand); font-size: .7rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.kb-img .kb-badge { position: absolute; left: 14px; top: 14px; z-index: 2; background: rgba(255, 255, 255, .92); color: var(--brand); backdrop-filter: blur(8px); box-shadow: 0 8px 16px -10px rgba(15, 23, 42, .5); }
.kb-body-c { display: flex; flex-direction: column; flex: 1; padding: 22px 24px 20px; }
.kb-mini { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; font-size: .8rem; font-weight: 600; color: #64748b; }
.kb-mini span { display: inline-flex; align-items: center; gap: 6px; }
.kb-mini svg { width: 15px; height: 15px; color: var(--brand); }
.kb-item h3 { margin: 12px 0 0; font-size: 1.2rem; font-weight: 800; line-height: 1.3; letter-spacing: -.02em; color: var(--ink); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; transition: color .3s; }
.kb-item:hover h3 { color: var(--brand); }
.kb-d { margin: 10px 0 0; font-size: .94rem; line-height: 1.65; color: var(--text); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.kb-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 18px; }
.kb-views { display: inline-flex; align-items: center; gap: 6px; font-size: .82rem; font-weight: 600; color: #94a3b8; }
.kb-views svg { width: 16px; height: 16px; }
.kb-more { display: inline-flex; align-items: center; gap: 7px; font-size: .88rem; font-weight: 700; color: var(--brand); }
.kb-more svg { width: 16px; height: 16px; transition: transform .35s cubic-bezier(.22, 1, .36, 1); }
.kb-item:hover .kb-more svg { transform: translateX(6px); }
.kb-item.sk { min-height: 380px; background: linear-gradient(100deg, #f1f5f9 30%, #f8fafc 50%, #f1f5f9 70%) 0 0 / 220% 100%; animation: kbSk 1.3s linear infinite; border-color: transparent; }
@keyframes kbSk { to { background-position: -120% 0; } }
.kb-item.ov-r { transition: opacity .8s cubic-bezier(.22, 1, .36, 1) var(--d, 0s), transform .5s cubic-bezier(.22, 1, .36, 1), box-shadow .5s, border-color .4s; }
.kb-item.ov-r:not(.is-in) { transform: translateY(28px); }

/* lege toestand */
.kb-empty, .kb-miss, .kb-none { text-align: center; max-width: 620px; margin: 0 auto; padding: 56px 34px; border: 1px solid var(--line); border-radius: 28px; background: linear-gradient(180deg, #f6fbfd, #fff); box-shadow: 0 30px 60px -44px rgba(var(--brand-rgb), .6); }
.kb-empty h2, .kb-miss h1 { margin: 22px 0 0; font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 800; letter-spacing: -.03em; color: var(--ink); line-height: 1.2; }
.kb-empty p, .kb-miss p, .kb-none p { margin: 12px auto 0; max-width: 460px; font-size: 1.02rem; line-height: 1.7; }
.kb-none { padding: 44px 30px; }
.kb-none h3 { margin: 16px 0 0; font-size: 1.35rem; font-weight: 800; color: var(--ink); }
.kb-none .ov-btn { margin-top: 20px; }
.kb-nico { display: inline-grid; place-items: center; width: 62px; height: 62px; border-radius: 20px; background: var(--brand-soft); color: var(--brand); animation: kbBob 3.4s ease-in-out infinite; }
.kb-nico svg { width: 28px; height: 28px; }
.kb-eico { position: relative; display: inline-grid; place-items: center; width: 92px; height: 92px; border-radius: 28px; background: linear-gradient(135deg, var(--brand), #2aa3c2); color: #fff; box-shadow: 0 24px 40px -18px rgba(var(--brand-rgb), .8); animation: kbBob 3.6s ease-in-out infinite; }
.kb-eico svg { width: 42px; height: 42px; position: relative; z-index: 1; }
.kb-eico i { position: absolute; inset: 0; border-radius: 28px; border: 2px solid rgba(var(--brand-rgb), .5); animation: kbPing 2.6s ease-out infinite; }
.kb-eico i + i { animation-delay: 1.3s; }
@keyframes kbBob { 50% { transform: translateY(-9px) rotate(-3deg); } }
@keyframes kbPing { from { transform: scale(1); opacity: .8; } to { transform: scale(1.7); opacity: 0; } }

/* toast */
.kb-toast { position: fixed; left: 50%; bottom: 28px; z-index: 90; transform: translate(-50%, 24px); max-width: calc(100vw - 32px); padding: 13px 20px; border-radius: 14px; background: #0f172a; color: #fff; font-size: .92rem; font-weight: 600; box-shadow: 0 24px 40px -18px rgba(15, 23, 42, .7); opacity: 0; pointer-events: none; transition: opacity .3s, transform .35s cubic-bezier(.22, 1, .36, 1); }
.kb-toast.on { opacity: 1; transform: translate(-50%, 0); }

/* artikelpagina */
.kb-art { background: var(--soft); }
.kb-ahero { position: relative; height: 300px; overflow: hidden; background: linear-gradient(135deg, #0b3a4a, var(--brand) 60%, #2aa3c2); }
.kb-ahero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.kb-ahero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8, 47, 60, .45), rgba(8, 47, 60, .72)); }
.kb-ablob { position: absolute; z-index: 1; border-radius: 50%; filter: blur(60px); opacity: .55; }
.kb-ablob.a { width: 340px; height: 340px; right: 6%; top: -120px; background: rgba(94, 184, 208, .6); }
.kb-ablob.b { width: 260px; height: 260px; left: 8%; bottom: -120px; background: rgba(255, 255, 255, .25); }
.kb-ahero img:not([hidden]) ~ .kb-ablob { display: none; }
.kb-wrapc { position: relative; z-index: 2; max-width: 820px; margin: -84px auto 0; padding: 0 20px 70px; }
.kb-acard { padding: 34px 44px 44px; border-radius: 26px; background: #fff; box-shadow: 0 40px 80px -40px rgba(15, 23, 42, .45); animation: kbRise .8s cubic-bezier(.22, 1, .36, 1) both; }
@keyframes kbRise { from { opacity: 0; transform: translateY(26px); } }
.kb-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.kb-back { display: inline-flex; align-items: center; gap: 8px; font-size: .84rem; font-weight: 600; color: #64748b; text-decoration: none; transition: color .25s, gap .25s; }
.kb-back:hover { color: var(--brand); gap: 12px; }
.kb-acard h1 { margin: 26px 0 0; font-size: clamp(1.9rem, 4vw, 2.7rem); font-weight: 800; line-height: 1.12; letter-spacing: -.035em; color: var(--ink); overflow-wrap: anywhere; }
.kb-meta { display: flex; align-items: center; justify-content: space-between; gap: 14px 24px; flex-wrap: wrap; margin-top: 26px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.kb-mi { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.kb-mi span { display: inline-flex; align-items: center; gap: 8px; font-size: .88rem; color: #475569; }
.kb-mi b { font-weight: 600; }
.kb-mi svg { color: var(--brand); }
.kb-share { display: flex; align-items: center; gap: 8px; }
.kb-share em { margin-right: 4px; font-style: normal; font-size: .8rem; font-weight: 600; color: #94a3b8; }
.kb-share .social { width: 36px; height: 36px; padding: 0; color: var(--text); border: 1px solid transparent; cursor: pointer; }
.kb-share .social:focus-visible { transform: translateY(-3px); color: #fff; }
.kb-share .social-instagram:focus-visible { background: linear-gradient(45deg, #f09433, #dc2743 50%, #bc1888); }
.kb-share .social-facebook:focus-visible { background: #1877F2; }
.kb-share .social-linkedin:focus-visible { background: #0A66C2; }
.kb-intro { margin: 28px 0 0; font-size: 1.12rem; line-height: 1.8; font-weight: 500; color: #334155; }
.kb-body { margin-top: 26px; font-size: 1.04rem; line-height: 1.85; color: #475569; }
.kb-body > :first-child { margin-top: 0; }
.kb-body p { margin: 0 0 18px; }
.kb-body strong { color: var(--ink); font-weight: 700; }
.kb-body h2 { margin: 42px 0 14px; font-size: clamp(1.45rem, 3vw, 1.85rem); font-weight: 800; line-height: 1.25; letter-spacing: -.03em; color: var(--ink); }
.kb-body h3 { margin: 28px 0 10px; font-size: 1.28rem; font-weight: 800; letter-spacing: -.02em; color: var(--brand); }
.kb-body ul, .kb-body ol { margin: 0 0 20px; padding-left: 4px; list-style: none; counter-reset: kbn; }
.kb-body li { position: relative; margin: 0 0 10px; padding-left: 32px; }
.kb-body ul li::before { content: ""; position: absolute; left: 9px; top: .72em; width: 7px; height: 7px; border-radius: 50%; background: var(--brand); }
.kb-body ol li { counter-increment: kbn; }
.kb-body ol li::before { content: counter(kbn); position: absolute; left: 0; top: .15em; width: 22px; height: 22px; border-radius: 50%; background: var(--brand-soft); color: var(--brand); font-size: .76rem; font-weight: 800; display: grid; place-items: center; line-height: 1; }
.kb-body a { color: var(--brand); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(var(--brand-rgb), .35); transition: text-decoration-color .2s; }
.kb-body a:hover { text-decoration-color: var(--brand); }
.kb-body blockquote { margin: 26px 0; padding: 18px 22px; border-left: 4px solid var(--brand); border-radius: 0 14px 14px 0; background: var(--brand-soft); color: var(--ink); font-weight: 500; }
.kb-tagsrow { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 38px; padding-top: 24px; border-top: 1px solid var(--line); }
.kb-tagsrow svg { color: var(--brand); }
.kb-tag { display: inline-flex; padding: 7px 14px; border-radius: 999px; background: var(--brand-soft); color: var(--brand); font-size: .84rem; font-weight: 700; text-decoration: none; transition: background .25s, color .25s, transform .25s; }
.kb-tag:hover { background: var(--brand); color: #fff; transform: translateY(-2px); }
.kb-miss { margin-top: 0; }
.kb-ask-i { height: 260px; border-radius: 26px; background: linear-gradient(100deg, #fff 30%, #f1f5f9 50%, #fff 70%) 0 0 / 220% 100%; animation: kbSk 1.3s linear infinite; margin-bottom: 16px; box-shadow: 0 30px 60px -40px rgba(15, 23, 42, .3); }
.kb-ask-i.s { height: 110px; }
.kb-art[data-state="ok"] .kb-ask, .kb-art[data-state="miss"] .kb-ask { display: none; }
.kb-h2 { margin: 0 0 26px; font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 800; letter-spacing: -.03em; color: var(--ink); }
.kb-art .kb-sec:last-of-type { background: #fff; }

@media (max-width: 980px) { .kb-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) {
  .kb-grid { grid-template-columns: 1fr; gap: 20px; }
  .kb-chips { flex-wrap: nowrap; overflow-x: auto; margin-right: -20px; padding: 2px 20px 8px 0; scrollbar-width: none; }
  .kb-chips::-webkit-scrollbar { display: none; }
  .kb-chip { flex: none; }
  .kb-ahero { height: 220px; }
  .kb-wrapc { margin-top: -56px; padding: 0 14px 50px; }
  .kb-acard { padding: 24px 20px 30px; border-radius: 22px; }
  .kb-search input { padding: 16px 50px; font-size: 1rem; }
  .kb-empty, .kb-miss { padding: 40px 20px; }
}
@media (prefers-reduced-motion: reduce) { .kb *, .kb *::before, .kb *::after { animation: none !important; transition-duration: .01ms !important; } .kb-item.ov-r { opacity: 1; transform: none; } }
