/* ===========================================================
   LokaleAI — Kennisbank gedeelde stijl
   Forked from the main site's design tokens (style.css)
   =========================================================== */

:root {
    --bg: #0b0e14;
    --bg-2: #0c1020;
    --text: #e6ebff;
    --muted: #a9b1d6;
    --muted-2: #7e87aa;
    --brand: #7c5cff;
    --brand-2: #6b4de0;
    --accent: #30e3b6;
    --accent-2: #22d3ee;
    --line: rgba(255, 255, 255, 0.09);
    --line-2: rgba(255, 255, 255, 0.05);
    --radius: 16px;
    --maxw: 1140px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scrollbar-width: none; -ms-overflow-style: none; }
html::-webkit-scrollbar, body::-webkit-scrollbar { width: 0; height: 0; display: none; }

body {
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: linear-gradient(180deg, #0b0e14 0%, #0c1020 100%);
    color: var(--text);
    line-height: 1.65;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Tech grid + glow backdrop */
body::before {
    content: '';
    position: fixed;
    inset: 0 0 auto 0;
    height: 100vh;
    background-image:
        linear-gradient(rgba(124, 92, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(124, 92, 255, 0.03) 1px, transparent 1px);
    background-size: 52px 52px;
    -webkit-mask-image: linear-gradient(to bottom, #000 0%, rgba(0, 0, 0, 0.7) 55%, transparent 100%);
    mask-image: linear-gradient(to bottom, #000 0%, rgba(0, 0, 0, 0.7) 55%, transparent 100%);
    pointer-events: none;
    z-index: 0;
}

body::after {
    content: '';
    position: fixed;
    top: -340px;
    left: 50%;
    transform: translateX(-50%);
    width: 1100px;
    height: 700px;
    background: radial-gradient(closest-side, rgba(124, 92, 255, 0.13), transparent 72%);
    filter: blur(40px);
    pointer-events: none;
    z-index: 0;
}

main, footer, .kb-nav { position: relative; z-index: 1; }

a { color: inherit; }

::selection { background: rgba(124, 92, 255, 0.35); color: #fff; }

.material-icons { font-family: 'Material Icons'; font-weight: normal; font-style: normal; line-height: 1; letter-spacing: normal; text-transform: none; display: inline-block; white-space: nowrap; word-wrap: normal; direction: ltr; -webkit-font-feature-settings: 'liga'; -webkit-font-smoothing: antialiased; }

/* ---------- Top nav ---------- */
.kb-nav {
    position: sticky;
    top: 0;
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 22px;
    background: rgba(11, 14, 20, 0.72);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line-2);
}

.kb-nav-brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.kb-nav-brand img { height: 30px; width: auto; display: block; }
.kb-nav-links { display: flex; align-items: center; gap: 8px; }
.kb-nav-link {
    text-decoration: none;
    color: var(--muted);
    font-size: 14px;
    font-weight: 600;
    padding: 8px 14px;
    border-radius: 10px;
    transition: color .2s ease, background .2s ease;
    white-space: nowrap;
}
.kb-nav-link:hover { color: #fff; background: rgba(255, 255, 255, 0.05); }
.kb-nav-link.back { display: inline-flex; align-items: center; gap: 6px; }
.kb-nav-link.back .material-icons { font-size: 18px; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 14px 26px;
    border-radius: 14px;
    font-family: inherit;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    border: 1px solid transparent;
    transition: transform .3s cubic-bezier(.16,1,.3,1), box-shadow .3s, background .3s;
    white-space: nowrap;
}
.btn .material-icons { font-size: 20px; }
.btn-primary {
    background: linear-gradient(135deg, var(--brand), var(--brand-2));
    color: #fff;
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 24px rgba(124, 92, 255, 0.3), inset 0 0 0 1px rgba(255, 255, 255, 0.08);
    position: relative;
    overflow: hidden;
}
.btn-primary::before {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.25), transparent);
    transform: skewX(-20deg) translateX(-160%);
    transition: transform .6s;
}
.btn-primary:hover { transform: translateY(-3px) scale(1.015); box-shadow: 0 20px 40px rgba(124, 92, 255, 0.45), inset 0 0 0 2px rgba(255, 255, 255, 0.35); }
.btn-primary:hover::before { transform: skewX(-20deg) translateX(160%); }
.btn-ghost {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.16);
    color: #fff;
}
.btn-ghost:hover { transform: translateY(-3px); background: rgba(255, 255, 255, 0.08); }
.btn-lg { padding: 16px 32px; font-size: 16px; }

/* ---------- Layout primitives ---------- */
.kb-wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }
.kb-section { padding: 84px 0; position: relative; }
.kb-section.tight { padding: 56px 0; }

.kb-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 12.5px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 18px;
}
.kb-eyebrow::before, .kb-eyebrow::after { content: ""; width: 30px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, transparent, rgba(48, 227, 182, 0.9)); }
.kb-eyebrow.center { justify-content: center; }
.kb-eyebrow.solo::after { display: none; }

h1, h2, h3 { letter-spacing: -0.5px; line-height: 1.14; color: #fff; font-weight: 800; }
.kb-h1 { font-size: clamp(34px, 5.4vw, 60px); }
.kb-h2 { font-size: clamp(28px, 4vw, 44px); }
.kb-h3 { font-size: clamp(20px, 2.4vw, 26px); }
.kb-lead { font-size: clamp(17px, 1.6vw, 20px); color: var(--muted); line-height: 1.65; max-width: 720px; }
.kb-grad { background: linear-gradient(120deg, #fff 0%, var(--brand) 96%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.kb-grad-teal { background: linear-gradient(120deg, #fff 0%, var(--accent) 96%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.kb-section-head { text-align: center; max-width: 760px; margin: 0 auto 56px; }
.kb-section-head .kb-lead { margin-left: auto; margin-right: auto; }

/* ---------- Hero ---------- */
.kb-hero { padding: 70px 0 40px; text-align: center; }
.kb-hero .kb-h1 { max-width: 940px; margin: 0 auto 22px; }
.kb-hero .kb-lead { margin: 0 auto 30px; }
.kb-hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.kb-hero-note { margin-top: 18px; font-size: 14px; color: var(--muted-2); }
.kb-hero-note b { color: var(--accent); font-weight: 700; }

/* ---------- Offer banner (shown on every page) ---------- */
.kb-offer {
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    border: 1px solid rgba(48, 227, 182, 0.28);
    background:
        radial-gradient(620px 280px at 12% 0%, rgba(48, 227, 182, 0.12), transparent 70%),
        radial-gradient(620px 280px at 100% 100%, rgba(124, 92, 255, 0.14), transparent 70%),
        linear-gradient(180deg, rgba(20, 32, 38, 0.5), rgba(12, 17, 30, 0.6));
    padding: 44px 40px;
}
.kb-offer-badge {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 13px; font-weight: 700; color: var(--accent);
    background: rgba(48, 227, 182, 0.13);
    border: 1px solid rgba(48, 227, 182, 0.4);
    padding: 7px 15px; border-radius: 999px; margin-bottom: 18px;
}
.kb-offer-badge .material-icons { font-size: 17px; }
.kb-offer h2 { font-size: clamp(24px, 3.2vw, 34px); margin-bottom: 14px; }
.kb-offer p { color: var(--muted); max-width: 680px; font-size: 16px; }
.kb-offer-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px 34px; margin: 30px 0 6px; }
.kb-offer-step { display: flex; gap: 14px; align-items: flex-start; }
.kb-offer-step .num {
    flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 14px; font-weight: 800; color: #fff;
    background: rgba(124, 92, 255, 0.18); border: 1px solid rgba(124, 92, 255, 0.5);
    box-shadow: 0 0 14px rgba(124, 92, 255, 0.3);
}
.kb-offer-step h4 { font-size: 15.5px; color: #fff; font-weight: 700; margin-bottom: 3px; }
.kb-offer-step p { font-size: 14px; color: var(--muted); line-height: 1.55; }

/* ---------- Stat grid (animated counters) ---------- */
.kb-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px 24px; }
.kb-stat { text-align: center; padding: 8px 4px; }
.kb-stat .val { font-size: clamp(34px, 4.4vw, 52px); font-weight: 800; line-height: 1; letter-spacing: -1px; color: #fff; }
.kb-stat .val .suffix { color: var(--accent); }
.kb-stat .lbl { margin-top: 12px; font-size: 14px; color: var(--muted); line-height: 1.45; }
.kb-stat.brand .val .suffix { color: var(--brand); }

/* ---------- Feature rows (NOT cards) ---------- */
.kb-features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px 64px; }
.kb-feature { display: flex; gap: 18px; align-items: flex-start; }
.kb-feature-ic {
    flex-shrink: 0; width: 50px; height: 50px; border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, rgba(124, 92, 255, 0.22), rgba(124, 92, 255, 0.06));
    border: 1px solid rgba(124, 92, 255, 0.28);
}
.kb-feature-ic .material-icons { font-size: 26px; color: #fff; }
.kb-feature.teal .kb-feature-ic { background: linear-gradient(135deg, rgba(48, 227, 182, 0.22), rgba(48, 227, 182, 0.05)); border-color: rgba(48, 227, 182, 0.3); }
.kb-feature h3 { font-size: 19px; margin-bottom: 7px; font-weight: 700; }
.kb-feature p { font-size: 15px; color: var(--muted); line-height: 1.62; }

/* ---------- Flow (how a call is handled) ---------- */
.kb-flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; position: relative; }
.kb-flow-step { position: relative; padding: 0 18px; text-align: center; }
.kb-flow-step .dot {
    width: 56px; height: 56px; border-radius: 50%; margin: 0 auto 18px;
    display: flex; align-items: center; justify-content: center;
    background: rgba(124, 92, 255, 0.14); border: 1px solid rgba(124, 92, 255, 0.45);
    position: relative; z-index: 2;
}
.kb-flow-step .dot .material-icons { font-size: 26px; color: var(--accent); }
.kb-flow-step:not(:last-child)::after {
    content: ""; position: absolute; top: 27px; left: calc(50% + 36px); width: calc(100% - 72px); height: 2px;
    background: linear-gradient(90deg, rgba(124, 92, 255, 0.5), rgba(124, 92, 255, 0.15));
    transform-origin: left center;
    z-index: 1;
}
.kb-flow-step h4 { font-size: 16px; margin-bottom: 6px; font-weight: 700; }
.kb-flow-step p { font-size: 13.5px; color: var(--muted); line-height: 1.5; }
.kb-flow-step .stepn { font-size: 12px; font-weight: 700; color: var(--brand); letter-spacing: .1em; }

/* ---------- Bar chart ---------- */
.kb-chart {
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 32px 30px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.025), rgba(255, 255, 255, 0.008));
}
.kb-chart-title { font-size: 16px; font-weight: 700; color: #fff; margin-bottom: 4px; }
.kb-chart-sub { font-size: 13.5px; color: var(--muted-2); margin-bottom: 24px; }
.kb-bars { display: flex; flex-direction: column; gap: 16px; }
.kb-bar-row { display: grid; grid-template-columns: 132px 1fr 48px; align-items: center; gap: 14px; }
.kb-bar-label { font-size: 13.5px; color: var(--muted); }
.kb-bar-track { height: 12px; border-radius: 8px; background: rgba(255, 255, 255, 0.06); overflow: hidden; }
.kb-bar-fill { height: 100%; width: 0; border-radius: 8px; background: linear-gradient(90deg, var(--brand), var(--accent)); transition: width 1.1s cubic-bezier(.22,1,.36,1); }
.kb-bar-fill.teal { background: linear-gradient(90deg, var(--accent), var(--accent-2)); }
.kb-bar-val { font-size: 13.5px; font-weight: 700; color: #fff; text-align: right; }

/* ---------- Donut / gauge ---------- */
.kb-gauges { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.kb-gauge { text-align: center; }
.kb-gauge svg { width: 132px; height: 132px; transform: rotate(-90deg); }
.kb-gauge .track { fill: none; stroke: rgba(255, 255, 255, 0.08); stroke-width: 11; }
.kb-gauge .meter { fill: none; stroke: url(#kbGauge); stroke-width: 11; stroke-linecap: round; stroke-dasharray: 339.292; stroke-dashoffset: 339.292; transition: stroke-dashoffset 1.4s cubic-bezier(.22,1,.36,1); }
.kb-gauge-wrap { position: relative; display: inline-block; }
.kb-gauge-num { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 26px; font-weight: 800; color: #fff; }
.kb-gauge-lbl { margin-top: 14px; font-size: 14px; color: var(--muted); }

/* ---------- Line / area chart ---------- */
.kb-line-wrap { border: 1px solid var(--line); border-radius: 20px; padding: 30px; background: linear-gradient(180deg, rgba(255, 255, 255, 0.025), rgba(255, 255, 255, 0.008)); }
.kb-line svg { width: 100%; height: auto; display: block; }
.kb-line .area { opacity: 0; transition: opacity 1s ease .3s; }
.kb-line .area.in { opacity: 1; }
.kb-line .pathline { stroke: var(--accent); stroke-width: 2.5; fill: none; stroke-dasharray: 1; stroke-dashoffset: 1; }

/* ---------- Quote / experience ---------- */
.kb-quotes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.kb-quote {
    border-left: 2px solid rgba(48, 227, 182, 0.5);
    padding: 6px 0 6px 22px;
}
.kb-quote .stars { color: var(--accent); font-size: 14px; letter-spacing: 3px; margin-bottom: 10px; }
.kb-quote blockquote { font-size: 16.5px; color: #eef1ff; line-height: 1.55; font-weight: 500; }
.kb-quote figcaption { margin-top: 12px; font-size: 13px; color: var(--muted-2); }

/* ---------- Checklist ---------- */
.kb-check { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 34px; }
.kb-check li { list-style: none; display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: var(--text); line-height: 1.5; }
.kb-check li .material-icons { color: var(--accent); font-size: 21px; flex-shrink: 0; margin-top: 1px; }
.kb-check li span.t { color: var(--muted); }

/* ---------- Niche grid (links to business pages) ---------- */
.kb-niche-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.kb-niche {
    display: flex; flex-direction: column; gap: 12px;
    text-decoration: none;
    padding: 22px 20px;
    border-radius: 16px;
    border: 1px solid var(--line);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.006));
    transition: transform .25s ease, border-color .25s ease, background .25s ease;
}
.kb-niche:hover { transform: translateY(-4px); border-color: rgba(124, 92, 255, 0.45); background: linear-gradient(180deg, rgba(124, 92, 255, 0.08), rgba(255, 255, 255, 0.01)); }
.kb-niche-ic { width: 44px; height: 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center; background: rgba(124, 92, 255, 0.16); border: 1px solid rgba(124, 92, 255, 0.3); }
.kb-niche-ic .material-icons { font-size: 24px; color: #fff; }
.kb-niche h3 { font-size: 16.5px; font-weight: 700; }
.kb-niche p { font-size: 13px; color: var(--muted); line-height: 1.45; }
.kb-niche .go { margin-top: auto; font-size: 13px; font-weight: 700; color: var(--accent); display: inline-flex; align-items: center; gap: 5px; }
.kb-niche .go .material-icons { font-size: 16px; transition: transform .25s ease; }
.kb-niche:hover .go .material-icons { transform: translateX(4px); }

/* ---------- Split (text + visual) ---------- */
.kb-split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.kb-split.reverse .kb-split-visual { order: -1; }

/* ---------- Tabs / accordion explainer ---------- */
.kb-accordion { border-top: 1px solid var(--line); }
.kb-acc-item { border-bottom: 1px solid var(--line); }
.kb-acc-q { width: 100%; text-align: left; background: none; border: none; color: #fff; font-family: inherit; font-size: 17px; font-weight: 600; padding: 22px 44px 22px 0; cursor: pointer; position: relative; display: flex; gap: 14px; align-items: center; }
.kb-acc-q .qn { color: var(--brand); font-weight: 800; font-size: 14px; }
.kb-acc-q::after { content: "add"; font-family: 'Material Icons'; position: absolute; right: 0; top: 50%; transform: translateY(-50%); color: var(--accent); font-size: 24px; transition: transform .3s ease; }
.kb-acc-item.open .kb-acc-q::after { content: "remove"; }
.kb-acc-a { max-height: 0; overflow: hidden; transition: max-height .4s ease; }
.kb-acc-a p { padding: 0 44px 22px 0; color: var(--muted); font-size: 15px; line-height: 1.65; }

/* ---------- Pills / tags ---------- */
.kb-pills { display: flex; flex-wrap: wrap; gap: 10px; }
.kb-pill { font-size: 13px; font-weight: 600; color: var(--muted); padding: 8px 15px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.03); }
.kb-pill .material-icons { font-size: 15px; color: var(--accent); vertical-align: -3px; margin-right: 5px; }

/* ---------- Calendly section ---------- */
.kb-cta-section { padding: 88px 0; text-align: center; }
.kb-calendly { max-width: 1000px; margin: 36px auto 0; }
.kb-calendly .calendly-inline-widget { min-width: 320px; height: 700px; border-radius: 0; overflow: visible; border: none; }
.kb-calendly { border: none; background: none; }
.kb-cta-note { margin-top: 16px; font-size: 13.5px; color: var(--muted-2); }

/* ---------- Footer ---------- */
.kb-footer { border-top: 1px solid var(--line); padding: 50px 0 40px; margin-top: 20px; }
.kb-footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; }
.kb-footer-brand img { height: 30px; margin-bottom: 16px; }
.kb-footer-brand p { font-size: 14px; color: var(--muted); max-width: 340px; }
.kb-footer-col h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .12em; color: var(--muted-2); margin-bottom: 14px; font-weight: 700; }
.kb-footer-col a { display: block; text-decoration: none; color: var(--muted); font-size: 14.5px; padding: 5px 0; transition: color .2s ease; }
.kb-footer-col a:hover { color: #fff; }
.kb-footer-bottom { margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line-2); display: flex; gap: 10px; align-items: center; flex-wrap: wrap; font-size: 13px; color: var(--muted-2); }
.kb-footer-dot { width: 4px; height: 4px; border-radius: 50%; background: var(--brand); }

/* ---------- Scroll reveal ----------
   Robust: content is visible by default. JS only hides elements that
   start BELOW the fold, then reveals them on scroll. Above-the-fold
   content is never hidden, so it can never get stuck invisible.        */
.kb-reveal { transition: opacity .7s ease, transform .7s cubic-bezier(.22,1,.36,1); }
.kb-reveal.kb-hidden { opacity: 0; transform: translateY(26px); }
.kb-reveal.kb-hidden.in { opacity: 1; transform: none; }
.kb-reveal.d1 { transition-delay: .08s; }
.kb-reveal.d2 { transition-delay: .16s; }
.kb-reveal.d3 { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
    .kb-reveal.kb-hidden { opacity: 1 !important; transform: none !important; }
}

/* ---------- Divider ---------- */
.kb-divider { height: 1px; background: linear-gradient(90deg, transparent, var(--line), transparent); border: none; margin: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
    .kb-stats { grid-template-columns: repeat(2, 1fr); }
    .kb-features { grid-template-columns: 1fr; gap: 30px; }
    .kb-flow { grid-template-columns: 1fr 1fr; gap: 34px 0; }
    .kb-flow-step:not(:last-child)::after { display: none; }
    .kb-gauges { grid-template-columns: 1fr; gap: 36px; }
    .kb-quotes { grid-template-columns: 1fr; }
    .kb-check { grid-template-columns: 1fr; }
    .kb-niche-grid { grid-template-columns: repeat(2, 1fr); }
    .kb-split { grid-template-columns: 1fr; gap: 36px; }
    .kb-split.reverse .kb-split-visual { order: 0; }
    .kb-offer-steps { grid-template-columns: 1fr; }
    .kb-footer-grid { grid-template-columns: 1fr; gap: 30px; }
}

@media (max-width: 600px) {
    .kb-section { padding: 60px 0; }
    .kb-wrap { padding: 0 16px; }
    .kb-nav { padding: 12px 16px; }
    .kb-nav-link:not(.cta):not(.back) { display: none; }
    .kb-offer { padding: 32px 20px; }
    .kb-niche-grid { grid-template-columns: 1fr; }
    .kb-bar-row { grid-template-columns: 96px 1fr 40px; gap: 10px; }
    .kb-bar-label { font-size: 12px; }
}


/* ===========================================================
   v2 additions — back button, hero orbs, scroll cue, laser,
   pie chart, sequential flow, home-style footer
   =========================================================== */

/* Back button (replaces full nav) */
.kb-topbar { position: relative; z-index: 5; max-width: var(--maxw); margin: 0 auto; padding: 22px 22px 0; }
.kb-back {
    display: inline-flex; align-items: center; gap: 7px;
    padding: 10px 16px; border-radius: 12px;
    font-size: 14px; font-weight: 600; color: var(--muted);
    text-decoration: none; border: 1px solid var(--line);
    background: rgba(255,255,255,0.03);
    transition: color .2s ease, border-color .2s ease, transform .2s ease, background .2s ease;
}
.kb-back:hover { color: #fff; border-color: rgba(255,255,255,0.2); transform: translateX(-2px); background: rgba(255,255,255,0.05); }
.kb-back .material-icons { font-size: 18px; }

/* Hero glow orbs (matches home page) */
.hero-orb { position: fixed; border-radius: 50%; pointer-events: none; z-index: 0; filter: blur(80px); }
.hero-orb-1 { top: 8vh; right: -150px; width: 500px; height: 120px; background: radial-gradient(circle, rgba(48,227,182,0.22) 0%, transparent 70%); animation: kbFloatOrb1 18s ease-in-out infinite; }
.hero-orb-2 { top: 30vh; left: 46%; width: 420px; height: 120px; background: radial-gradient(circle, rgba(124,92,255,0.18) 0%, transparent 70%); animation: kbFloatOrb2 22s ease-in-out infinite; }
.hero-orb-3 { top: 16vh; left: 8%; width: 360px; height: 90px; background: radial-gradient(circle, rgba(34,211,238,0.18) 0%, transparent 70%); animation: kbFloatOrb3 25s ease-in-out infinite; }
@keyframes kbFloatOrb1 { 0%,100%{ transform: translate(0,0) scale(1);} 50%{ transform: translate(-160px,-120px) scale(1.1);} }
@keyframes kbFloatOrb2 { 0%,100%{ transform: translate(0,0) scale(1);} 50%{ transform: translate(120px,90px) scale(1.08);} }
@keyframes kbFloatOrb3 { 0%,100%{ transform: translate(0,0) scale(1);} 50%{ transform: translate(90px,-70px) scale(1.12);} }
@media (prefers-reduced-motion: reduce) { .hero-orb { animation: none; } }

/* Scroll cue (matches home page) */
.kb-scroll-cue { margin: 30px auto 0; display: flex; flex-direction: column; align-items: center; gap: 8px; opacity: 0.7; animation: kbBounce 2s infinite; cursor: pointer; text-decoration: none; color: var(--muted); transition: opacity .3s ease, color .3s ease; width: max-content; }
.kb-scroll-cue:hover { opacity: 1; color: #fff; }
.kb-scroll-cue .t { font-size: 13px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; }
.kb-scroll-cue .material-icons { font-size: 24px; }
@keyframes kbBounce { 0%,20%,50%,80%,100%{ transform: translateY(0);} 40%{ transform: translateY(-10px);} 60%{ transform: translateY(-5px);} }
@media (prefers-reduced-motion: reduce) { .kb-scroll-cue { animation: none; } }

/* Laser glow from top of screen (branch pages — distinguishes them) */
.kb-laser { position: fixed; top: 0; left: 0; right: 0; height: 22vh; z-index: 0; pointer-events: none;
    background: radial-gradient(125% 100% at 50% -22%, var(--laser, rgba(124,92,255,0.55)), transparent 68%);
    filter: blur(14px);
    -webkit-mask-image: linear-gradient(to bottom, #000 0%, transparent 100%);
    mask-image: linear-gradient(to bottom, #000 0%, transparent 100%);
}
.kb-laser::after { content: ""; position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 70%; height: 3px;
    background: linear-gradient(90deg, transparent, var(--laser, rgba(124,92,255,0.9)), transparent);
    filter: blur(1px); opacity: 0.8; }

/* Sequential flow animation */
.kb-flow.seq .kb-flow-step { opacity: 0; transform: translateY(14px); transition: opacity .55s ease, transform .55s cubic-bezier(.22,1,.36,1); }
.kb-flow.seq .kb-flow-step::after { transform: scaleX(0); transition: transform .5s ease; }
.kb-flow.seq.run .kb-flow-step { opacity: 1; transform: none; }
.kb-flow.seq.run .kb-flow-step::after { transform: scaleX(1); }
.kb-flow.seq.run .kb-flow-step:nth-child(1) { transition-delay: 0s; }
.kb-flow.seq.run .kb-flow-step:nth-child(1)::after { transition-delay: .3s; }
.kb-flow.seq.run .kb-flow-step:nth-child(2) { transition-delay: .5s; }
.kb-flow.seq.run .kb-flow-step:nth-child(2)::after { transition-delay: .8s; }
.kb-flow.seq.run .kb-flow-step:nth-child(3) { transition-delay: 1s; }
.kb-flow.seq.run .kb-flow-step:nth-child(3)::after { transition-delay: 1.3s; }
.kb-flow.seq.run .kb-flow-step:nth-child(4) { transition-delay: 1.5s; }
.kb-flow.seq.run .kb-flow-step:nth-child(4)::after { transition-delay: 1.8s; }

/* Inline notes (no card) */
.kb-note { text-align: center; max-width: 680px; margin: 30px auto 0; font-size: 15.5px; color: var(--muted); line-height: 1.6; }
.kb-note a { color: var(--accent); font-weight: 700; text-decoration: none; }
.kb-note a:hover { text-decoration: underline; }

/* Pie / donut chart */
.kb-pie-section .kb-pie-wrap { display: grid; grid-template-columns: 260px 1fr; gap: 56px; align-items: center; max-width: 880px; margin: 0 auto; }
.kb-pie { position: relative; width: 240px; height: 240px; margin: 0 auto; border-radius: 50%;
    -webkit-mask: radial-gradient(circle, transparent 52%, #000 53%);
    mask: radial-gradient(circle, transparent 52%, #000 53%);
    opacity: 0; transform: scale(.9) rotate(-8deg);
    transition: opacity .8s ease, transform .9s cubic-bezier(.22,1,.36,1); }
.kb-pie.in { opacity: 1; transform: none; }
.kb-pie-center { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.kb-pie-center .big { font-size: 32px; font-weight: 800; color: #fff; line-height: 1; }
.kb-pie-center .small { margin-top: 6px; font-size: 12px; color: var(--muted-2); max-width: 120px; line-height: 1.3; }
.kb-legend { display: flex; flex-direction: column; gap: 15px; }
.kb-legend-item { display: grid; grid-template-columns: 14px 1fr auto; gap: 13px; align-items: center; }
.kb-legend-dot { width: 14px; height: 14px; border-radius: 4px; }
.kb-legend-label { font-size: 15px; color: var(--text); }
.kb-legend-val { font-size: 15px; font-weight: 800; color: #fff; }
@media (max-width: 760px) {
    .kb-pie-section .kb-pie-wrap { grid-template-columns: 1fr; gap: 34px; }
}

/* Back-to-home button under calendly */
.kb-home-return { text-align: center; padding: 8px 0 64px; }

/* ====== Home-page footer (exact copy) ====== */
.site-footer { position: relative; padding: 36px 20px 26px; margin-top: 24px; overflow: hidden; isolation: isolate;
    background: radial-gradient(700px 260px at 10% 0%, rgba(76,201,240,0.08), transparent 72%), radial-gradient(680px 280px at 92% 0%, rgba(124,92,255,0.12), transparent 74%), linear-gradient(180deg, rgba(8,11,22,0.96), rgba(5,8,18,0.98));
    border-top: 1px solid rgba(255,255,255,0.07); z-index: 1; }
.site-footer::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent 0%, rgba(124,92,255,0.42) 25%, rgba(76,201,240,0.48) 50%, rgba(124,92,255,0.42) 75%, transparent 100%); box-shadow: 0 0 18px rgba(124,92,255,0.18); z-index: 1; pointer-events: none; }
.site-footer::after { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(255,255,255,0.013) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.01) 1px, transparent 1px); background-size: 36px 36px; mask-image: radial-gradient(circle at center, rgba(0,0,0,0.78) 58%, transparent 100%); opacity: 0.7; pointer-events: none; z-index: -1; }
.site-footer-shell { max-width: 1240px; margin: 0 auto; padding: 24px; border-radius: 26px; background: linear-gradient(150deg, rgba(13,18,37,0.88), rgba(8,12,26,0.94)); border: 1px solid rgba(255,255,255,0.08); box-shadow: inset 0 1px 0 rgba(255,255,255,0.04), inset 0 -1px 0 rgba(255,255,255,0.02), 0 18px 48px rgba(1,4,12,0.34); position: relative; overflow: hidden; }
.site-footer-shell::before { content: ""; position: absolute; inset: 0; background: radial-gradient(360px 180px at 14% 10%, rgba(76,201,240,0.08), transparent 72%), radial-gradient(360px 220px at 88% 12%, rgba(124,92,255,0.1), transparent 74%); pointer-events: none; }
.site-footer-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0,1.45fr) minmax(0,0.8fr) minmax(0,1fr); gap: 20px; align-items: start; }
.site-footer-brand, .site-footer-nav, .site-footer-contact { position: relative; padding: 16px; border-radius: 18px; background: linear-gradient(145deg, rgba(255,255,255,0.015), rgba(255,255,255,0.006)); border: 1px solid rgba(255,255,255,0.05); box-shadow: inset 0 1px 0 rgba(255,255,255,0.02); }
.site-footer-logo-frame { display: inline-flex; align-items: center; justify-content: center; margin-bottom: 12px; }
.site-footer .logo-footer { margin: 0; height: 42px; }
.site-footer-tagline { margin: 0 0 14px; color: rgba(176,186,218,0.94); font-size: 14px; line-height: 1.55; max-width: 52ch; }
.site-footer-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.site-footer-pills span { display: inline-flex; align-items: center; padding: 7px 10px; border-radius: 999px; font-size: 11px; line-height: 1; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 700; color: rgba(205,214,245,0.95); background: rgba(255,255,255,0.025); border: 1px solid rgba(255,255,255,0.07); }
.site-footer-heading { margin: 0 0 10px; font-size: 11px; line-height: 1; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 800; color: rgba(156,168,205,0.9); }
.site-footer-nav { display: grid; gap: 8px; align-content: start; }
.site-footer-nav a { color: rgba(230,235,255,0.92); text-decoration: none; font-weight: 600; font-size: 14px; padding: 8px 10px; border-radius: 10px; transition: background .22s ease, color .22s ease, transform .22s ease; }
.site-footer-nav a:hover { background: rgba(255,255,255,0.03); color: #fff; transform: translateX(2px); }
.site-footer-email { display: inline-flex; align-items: center; color: #6edcff; text-decoration: none; font-weight: 700; font-size: 15px; letter-spacing: -0.01em; margin-bottom: 10px; text-shadow: 0 0 18px rgba(76,201,240,0.12); }
.site-footer-email:hover { color: #9fe9ff; }
.site-footer-contact-text { margin: 0 0 14px; color: rgba(173,184,220,0.9); font-size: 13px; line-height: 1.5; }
.site-footer-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.site-footer-cta { display: inline-flex; align-items: center; justify-content: center; min-height: 40px; padding: 0 14px; border-radius: 12px; text-decoration: none; color: #f2efff; font-weight: 700; font-size: 13px; letter-spacing: -0.01em; background: linear-gradient(135deg, rgba(124,92,255,0.9), rgba(107,77,224,0.86)); border: 1px solid rgba(173,154,255,0.35); box-shadow: inset 0 1px 0 rgba(255,255,255,0.14), 0 10px 20px rgba(124,92,255,0.2); transition: transform .2s ease, box-shadow .2s ease; }
.site-footer-cta:hover { transform: translateY(-1px); box-shadow: inset 0 1px 0 rgba(255,255,255,0.18), 0 12px 24px rgba(124,92,255,0.26); }
.site-footer-secondary { color: rgba(225,232,255,0.82); text-decoration: none; font-weight: 600; font-size: 13px; padding: 9px 10px; border-radius: 10px; border: 1px solid rgba(255,255,255,0.06); background: rgba(255,255,255,0.015); transition: color .2s ease, background .2s ease, border-color .2s ease; }
.site-footer-secondary:hover { color: #fff; background: rgba(255,255,255,0.03); border-color: rgba(255,255,255,0.1); }
.site-footer-bottom { position: relative; z-index: 1; margin-top: 16px; padding-top: 14px; border-top: 1px solid rgba(255,255,255,0.05); display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap; color: rgba(153,165,201,0.84); font-size: 12px; line-height: 1.4; text-align: center; }
.site-footer-dot { width: 4px; height: 4px; border-radius: 50%; background: rgba(124,92,255,0.7); box-shadow: 0 0 10px rgba(124,92,255,0.26); }
@media (max-width: 991px) {
    .site-footer { padding: 22px 0 18px; }
    .site-footer-shell { border-radius: 0; border-left: none; border-right: none; padding: 16px 14px 14px; }
    .site-footer-grid { grid-template-columns: 1fr; gap: 12px; }
    .site-footer-brand, .site-footer-nav, .site-footer-contact { padding: 14px 12px; border-radius: 14px; }
    .site-footer .logo-footer { height: 34px; }
    .site-footer-logo-frame { margin-bottom: 10px; }
    .site-footer-tagline { font-size: 13px; margin-bottom: 12px; }
    .site-footer-nav a { font-size: 13px; padding: 9px 10px; }
    .site-footer-email { font-size: 14px; }
    .site-footer-actions { gap: 8px; }
    .site-footer-cta, .site-footer-secondary { width: 100%; justify-content: center; }
    .site-footer-bottom { margin-top: 12px; padding-top: 12px; gap: 8px; font-size: 11.5px; }
    .site-footer-dot { display: none; }
}


/* ===========================================================
   v3 — spacing, prettier buttons, hero blue glow, shiny offer
   border, polished pie, stacked bar, experience block, intros
   =========================================================== */
@property --kb-angle { syntax: '<angle>'; initial-value: 0deg; inherits: false; }

/* 1. More breathing room between headings and paragraphs */
.kb-section-head .kb-h2 { margin-bottom: 22px; }
.kb-split .kb-h2 { margin-bottom: 20px; }
.kb-offer h2 { margin-bottom: 20px; }
.kb-hero .kb-h1 { margin-bottom: 26px; }
.kb-cta-section .kb-h2 { margin-bottom: 22px; }
.kb-feature h3 { margin-bottom: 10px; }

/* 4. Top back button: hard into the top-left corner, pill shape */
.kb-topbar { max-width: none; margin: 0; padding: 18px 0 0 18px; }
.kb-back {
    border-radius: 999px;
    padding: 10px 18px 10px 14px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.12);
    box-shadow: 0 6px 18px rgba(0,0,0,0.25);
    backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.kb-back:hover { background: rgba(255,255,255,0.08); border-color: rgba(124,92,255,0.45); transform: translateX(-3px); }

/* 2. Prettier "terug naar" button under the calendly */
.kb-home-return { padding: 18px 0 70px; }
.kb-home-return .kb-back {
    padding: 14px 26px;
    font-size: 15px;
    color: #fff;
    background: linear-gradient(135deg, rgba(124,92,255,0.16), rgba(48,227,182,0.10));
    border: 1px solid rgba(124,92,255,0.4);
    box-shadow: 0 10px 30px -8px rgba(124,92,255,0.4), inset 0 1px 0 rgba(255,255,255,0.08);
}
.kb-home-return .kb-back:hover { transform: translateY(-2px); border-color: rgba(124,92,255,0.7); box-shadow: 0 16px 38px -8px rgba(124,92,255,0.55); }

/* 3. CTA note closer to calendly */
.kb-calendly { margin-top: 22px; }
.kb-cta-note { margin-top: -6px; }

/* 6. Offer + scroll cue sit a little lower */
.kb-hero { padding-bottom: 58px; }
.kb-scroll-cue { margin-top: 40px; }
.kb-section.tight.kb-offer-anchor { padding-top: 30px; }

/* 5. Blue moving glow in the hero */
.kb-hero-blue-glow {
    position: fixed; top: -120px; left: 50%; width: 760px; height: 420px; z-index: 0;
    transform: translateX(-50%);
    background: radial-gradient(circle, rgba(56,128,255,0.30) 0%, rgba(56,128,255,0.10) 38%, transparent 70%);
    filter: blur(60px); pointer-events: none;
    animation: kbBlueDrift 16s ease-in-out infinite;
}
@keyframes kbBlueDrift {
    0%,100% { transform: translateX(-50%) translateY(0) scale(1); opacity: 0.9; }
    50% { transform: translateX(-38%) translateY(40px) scale(1.12); opacity: 1; }
}
@media (prefers-reduced-motion: reduce) { .kb-hero-blue-glow { animation: none; } }

/* Shiny rotating border on the "ons aanbod" cards (kennisbank + branches only) */
.kb-offer { isolation: isolate; }
.kb-offer::before {
    content: ""; position: absolute; inset: 0; border-radius: 24px; padding: 1.5px;
    background: conic-gradient(from var(--kb-angle),
        transparent 0%,
        color-mix(in srgb, var(--accent) 75%, transparent) 8%,
        #ffffff 12%,
        color-mix(in srgb, var(--brand) 75%, transparent) 16%,
        transparent 30%, transparent 100%);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor; mask-composite: exclude;
    animation: kbBorderSpin 6s linear infinite; pointer-events: none; z-index: 3;
}
@keyframes kbBorderSpin { to { --kb-angle: 360deg; } }
@media (prefers-reduced-motion: reduce) { .kb-offer::before { animation: none; } }

/* Polished pie / donut */
.kb-pie { filter: drop-shadow(0 14px 30px rgba(0,0,0,0.45)) drop-shadow(0 0 26px rgba(124,92,255,0.22)); }
.kb-pie::after {
    content: ""; position: absolute; inset: 0; border-radius: 50%;
    background: radial-gradient(circle at 32% 26%, rgba(255,255,255,0.22), transparent 42%);
    -webkit-mask: radial-gradient(circle, transparent 52%, #000 53%);
    mask: radial-gradient(circle, transparent 52%, #000 53%);
    pointer-events: none;
}
.kb-pie-center {
    width: 46%; height: 46%; margin: auto; border-radius: 50%;
    background: radial-gradient(circle, rgba(13,18,30,0.92), rgba(8,11,22,0.7));
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.06), inset 0 8px 22px rgba(0,0,0,0.5);
}
.kb-pie-wrap { padding: 8px 0; }

/* Stacked single bar (replaces the old multi-row problem chart) */
.kb-stackbar-card {
    border: 1px solid var(--line); border-radius: 20px; padding: 30px 30px 26px;
    background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.008));
}
.kb-stackbar-head { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; margin-bottom: 6px; flex-wrap: wrap; }
.kb-stackbar-title { font-size: 16px; font-weight: 700; color: #fff; }
.kb-stackbar-kpi { font-size: 14px; font-weight: 700; color: var(--accent); }
.kb-stackbar-sub { font-size: 13.5px; color: var(--muted-2); margin-bottom: 22px; }
.kb-stackbar {
    display: flex; width: 100%; height: 56px; border-radius: 12px; overflow: hidden;
    gap: 3px; background: rgba(255,255,255,0.05);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.05);
}
.kb-stackbar .seg {
    height: 100%; width: 0; border-radius: 4px;
    transition: width 1.2s cubic-bezier(.22,1,.36,1);
    position: relative; min-width: 2px;
}
.kb-stackbar .seg::after {
    content: attr(data-v); position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
    font-size: 12.5px; font-weight: 800; color: #fff; text-shadow: 0 1px 3px rgba(0,0,0,0.5);
    opacity: 0; transition: opacity .5s ease .8s;
}
.kb-stackbar.in .seg::after { opacity: 1; }
.kb-stackbar-legend { display: flex; flex-wrap: wrap; gap: 12px 22px; margin-top: 20px; }
.kb-stackbar-legend .li { display: inline-flex; align-items: center; gap: 9px; font-size: 13.5px; color: var(--muted); }
.kb-stackbar-legend .dot { width: 12px; height: 12px; border-radius: 4px; flex-shrink: 0; }
.kb-stackbar-legend b { color: #fff; font-weight: 700; }

/* Experience block (replaces fake testimonial quotes) */
.kb-exp { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px 40px; }
.kb-exp-item { display: flex; flex-direction: column; gap: 12px; }
.kb-exp-ic {
    width: 46px; height: 46px; border-radius: 13px; display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, rgba(48,227,182,0.2), rgba(48,227,182,0.04));
    border: 1px solid rgba(48,227,182,0.3);
}
.kb-exp-ic .material-icons { font-size: 24px; color: var(--accent); }
.kb-exp-item h3 { font-size: 17.5px; font-weight: 700; }
.kb-exp-item p { font-size: 15px; color: var(--muted); line-height: 1.62; }
.kb-exp-line {
    grid-column: 1 / -1; margin-top: 4px; padding-top: 22px; border-top: 1px solid var(--line);
    font-size: 15.5px; color: var(--muted); line-height: 1.6; text-align: center;
}
.kb-exp-line b { color: #fff; font-weight: 700; }
@media (max-width: 860px) { .kb-exp { grid-template-columns: 1fr; gap: 24px; } }

/* Hero intro animation (kennisbank) */
.kb-intro-hero .kb-eyebrow,
.kb-intro-hero .kb-h1,
.kb-intro-hero .kb-lead,
.kb-intro-hero .kb-hero-cta,
.kb-intro-hero .kb-hero-note,
.kb-intro-hero .kb-scroll-cue { animation: kbIntroUp .9s cubic-bezier(.22,1,.36,1) backwards; }
.kb-intro-hero .kb-eyebrow { animation-delay: .05s; }
.kb-intro-hero .kb-h1 { animation-delay: .16s; }
.kb-intro-hero .kb-lead { animation-delay: .3s; }
.kb-intro-hero .kb-hero-cta { animation-delay: .44s; }
.kb-intro-hero .kb-hero-note { animation-delay: .56s; }
.kb-intro-hero .kb-scroll-cue { animation-delay: .68s; }
@keyframes kbIntroUp { from { opacity: 0; transform: translateY(32px); } to { opacity: 1; transform: none; } }

/* Offer entrance (scale-up on reveal) — kennisbank + branches */
.kb-offer.kb-reveal.kb-hidden { opacity: 0; transform: translateY(40px) scale(.965); }
.kb-offer.kb-reveal.kb-hidden.in { opacity: 1; transform: none; }
.kb-offer.kb-reveal { transition: opacity .9s ease, transform .9s cubic-bezier(.22,1,.36,1); }
@media (prefers-reduced-motion: reduce) {
    .kb-intro-hero > * { animation: none; }
}
