/* Kweko 4.9: stijl voor de losse pagina's (voorwaarden, privacy, cookies, 404). Plat, geen gloed. */
:root{--accent:#1F9D55;--accent-2:#2DB86B;--ink:#14683A;--tint:#D6F0E0;--label:#2A2118;--label-2:#6B5D4D;--bg:#FBF5EE;--card:#FFFFFF;--sep:#EFE4D6;--fill:#F3EADF;--hero:#1F9D55;--hero-2:#9FD8B5}
@media (prefers-color-scheme:dark){:root{--accent:#8FDB7C;--accent-2:#6BC46A;--ink:#A8E596;--tint:#1E3326;--label:#F3EADF;--label-2:#C9BBA8;--bg:#17110C;--card:#22160F;--sep:#3A2C20;--fill:#2A1E15;--hero:#14683A;--hero-2:#0F3D27}}
*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth;scroll-padding-top:76px}
body{font-family:"Inter",-apple-system,BlinkMacSystemFont,system-ui,"Segoe UI",Roboto,sans-serif;line-height:1.6;color:var(--label);background:var(--bg);-webkit-font-smoothing:antialiased}
a{color:var(--ink)}
:focus-visible{outline:3px solid var(--accent);outline-offset:2px;border-radius:6px}

/* bovenbalk */
.kl-bar{position:sticky;top:0;z-index:5;display:flex;align-items:center;gap:10px;padding:10px 16px;background:var(--hero);color:#fff}
.kl-bar a{color:#fff;text-decoration:none}
.kl-back{display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;border-radius:50%;background:rgba(255,255,255,.18)}
.kl-back svg{width:20px;height:20px}
.kl-brand{display:inline-flex;align-items:center;gap:8px;font-weight:900;font-size:19px;letter-spacing:-.03em}
.kl-brand .lg{width:30px;height:30px;border-radius:9px;background:#fff;color:var(--accent);display:flex;align-items:center;justify-content:center}
@media (prefers-color-scheme:dark){.kl-brand .lg{color:#1F9D55}}
.kl-brand .lg svg{width:20px;height:20px}
.kl-bar .sp{flex:1}
.kl-open{font-size:14px;font-weight:800;padding:9px 16px;border-radius:999px;background:#fff;color:#14683A !important}

/* groene kop met golfrand */
.kl-hero{position:relative;isolation:isolate;color:#fff;text-align:center;padding:26px 20px 70px}
.kl-hero::before,.kl-hero::after{content:"";position:absolute;inset:0 0 auto 0;z-index:-1;
  -webkit-mask:linear-gradient(#000,#000) top/100% calc(100% - 38px) no-repeat,url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 40' preserveAspectRatio='none'%3E%3Cpath d='M0 0h400v14c-50 22-100 26-150 14S130 4 80 16 20 34 0 26z'/%3E%3C/svg%3E") bottom/100% 40px no-repeat;
          mask:linear-gradient(#000,#000) top/100% calc(100% - 38px) no-repeat,url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 40' preserveAspectRatio='none'%3E%3Cpath d='M0 0h400v14c-50 22-100 26-150 14S130 4 80 16 20 34 0 26z'/%3E%3C/svg%3E") bottom/100% 40px no-repeat}
.kl-hero::before{height:100%;background:var(--hero)}
.kl-hero::after{height:calc(100% + 14px);z-index:-2;background:var(--hero-2);transform:scaleX(-1)}
.kl-ic{width:72px;height:72px;border-radius:22px;background:#fff;color:#1F9D55;display:flex;align-items:center;justify-content:center;margin:0 auto 14px}
.kl-ic svg{width:36px;height:36px}
.kl-hero h1{font-size:clamp(30px,6vw,44px);line-height:1.08;font-weight:900;letter-spacing:-.035em}
.kl-hero .meta{margin-top:8px;font-size:14.5px;color:rgba(255,255,255,.88)}

/* inhoud */
.kl-wrap{max-width:780px;margin:-18px auto 0;padding:0 16px 40px;position:relative}
.kl-sum{display:flex;gap:12px;align-items:flex-start;padding:16px 18px;border-radius:22px;background:var(--tint);color:var(--label);margin-bottom:14px;font-size:15.5px}
.kl-sum svg{flex-shrink:0;width:22px;height:22px;color:var(--ink);margin-top:2px}
.kl-toc{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 14px;padding:0;list-style:none}
.kl-toc a{display:inline-block;padding:8px 14px;border-radius:999px;background:var(--card);border:1px solid var(--sep);color:var(--label);text-decoration:none;font-size:14px;font-weight:600}
.kl-toc a:hover{border-color:var(--accent);color:var(--ink)}
.card{background:var(--card);border:1px solid var(--sep);border-radius:28px;padding:30px 28px}
.card > h1,.card > .meta{display:none}
.card h2{font-size:21px;font-weight:900;letter-spacing:-.02em;margin:34px 0 8px;padding-top:4px;display:flex;align-items:center;gap:10px}
.card h2:first-of-type{margin-top:6px}
.card h2::before{content:"";width:10px;height:10px;border-radius:5px;background:var(--accent);flex-shrink:0}
.card h3{font-size:16.5px;font-weight:800;margin:18px 0 4px}
.card p,.card li{font-size:16px}
.card p{margin:8px 0}
.card ul,.card ol{margin:8px 0 8px 22px}
.card li{margin:4px 0}
.card .note,.card .kl-note{margin:18px 0;padding:14px 16px;border-radius:18px;background:var(--tint);font-size:15px}
.card nav.toc{display:none}
.card table{width:100%;border-collapse:collapse;margin:12px 0;font-size:14.5px}
.card th,.card td{text-align:left;vertical-align:top;padding:11px 10px;border-bottom:1px solid var(--sep)}
.card th{color:var(--label-2);font-weight:800;font-size:12.5px;text-transform:uppercase;letter-spacing:.05em;background:var(--fill)}
.card th:first-child{border-radius:12px 0 0 12px}.card th:last-child{border-radius:0 12px 12px 0}
.card .tablewrap,.kl-tw{overflow-x:auto}
.kl-chip{display:inline-block;padding:2px 9px;border-radius:999px;font-size:12.5px;font-weight:800;background:var(--tint);color:var(--ink);white-space:nowrap}
.kl-chip.no{background:var(--fill);color:var(--label-2)}

/* onderkant */
.kl-foot{max-width:780px;margin:0 auto;padding:10px 16px 40px;text-align:center;color:var(--label-2);font-size:14px}
.kl-foot nav{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;margin-bottom:12px}
.kl-foot nav a{padding:8px 14px;border-radius:999px;background:var(--fill);color:var(--label);text-decoration:none;font-weight:700}
.kl-foot nav a[aria-current="page"]{background:var(--accent);color:#fff}
.kl-top{position:fixed;right:16px;bottom:16px;width:46px;height:46px;border-radius:50%;background:var(--accent);color:#fff;display:flex;align-items:center;justify-content:center;opacity:0;transform:translateY(12px);transition:opacity .25s,transform .25s;pointer-events:none}
.kl-top.on{opacity:1;transform:none;pointer-events:auto}
.kl-top svg{width:22px;height:22px}

@media (max-width:560px){.card{padding:22px 18px;border-radius:24px}.kl-open{display:none}}
@media print{.kl-bar,.kl-toc,.kl-foot nav,.kl-top{display:none}.kl-hero{color:#000;padding:10px}.kl-hero::before,.kl-hero::after{display:none}.kl-ic{display:none}.card{border:0;padding:0}}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

/* 404 */
.k404{min-height:100vh;min-height:100dvh;display:flex;flex-direction:column}
.k404 .kl-hero{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:40px 20px 110px}
.k404-plant{width:150px;height:150px;margin-bottom:6px}
.k404-plant .stem{transform-origin:75px 132px;animation:k4sway 3.2s ease-in-out infinite}
@keyframes k4sway{0%,100%{transform:rotate(-5deg)}50%{transform:rotate(5deg)}}
.k404-code{font-size:clamp(72px,18vw,120px);font-weight:900;letter-spacing:-.06em;line-height:.95}
.k404 .kl-hero p{max-width:360px;margin:10px auto 0;font-size:16px;color:rgba(255,255,255,.9)}
.k404-acts{max-width:420px;margin:-30px auto 40px;padding:0 16px;display:flex;flex-direction:column;gap:10px;width:100%;position:relative}
.k404-acts a{display:flex;align-items:center;justify-content:center;gap:8px;min-height:52px;border-radius:26px;text-decoration:none;font-weight:800;font-size:16px}
.k404-acts .pri{background:var(--card);color:var(--ink);border:2px solid var(--accent)}
.k404-acts .sec{background:var(--fill);color:var(--label)}
.k404-acts svg{width:20px;height:20px}
@media (prefers-reduced-motion:reduce){.k404-plant .stem{animation:none}}
@media (max-width:560px){.kl-toc{flex-wrap:nowrap;overflow-x:auto;margin-left:-16px;margin-right:-16px;padding:0 16px 4px;scrollbar-width:none}.kl-toc::-webkit-scrollbar{display:none}.kl-toc li{flex-shrink:0}}
