/* BizzBit-ontwerplaag (kwaliteitssprong, 24 nov 2026).
   Donker = "Leisteen" (blauwgrijs), licht = koel wit met een donkere videohero.
   Merkelementen: Bizz/Bit-streep en commitlijn in de hero, verschoven blokken als watermerk.
   Bouwplan: docs/bouwplannen/2026-11-24 website kwaliteitssprong.md. Laadt na theme.css. */

/* ---------- Ontwerpwaarden ---------- */
:root{--ks-blauw:#3b82f6;--ks-blauw-donker:#1d5fd1;--ks-hero:#1c2739;--ks-hero-rgb:28,39,57;--ks-radius:16px}
body[data-theme=dark]{--page:#1c2739;--surface:#253349;--surface-alt:#212e43;--edge:#37485f;--line:#37485f;--paper:#1c2739;--text:#f2f5fa;--secondary:#c5d0df;--subtle:#a9b8cc;--ks-vlak:#1c2739;--ks-vlak-2:#222f44;--ks-kaart:#26344b;--ks-kaart-rand:#37485f;--ks-schaduw:0 14px 34px -22px rgba(4,10,22,.7);--ks-tegel:#2c3b53;--ks-tegel-rand:#3b4d66;--ks-tekst-zacht:#c5d0df;--ks-label:#8db9ff;background:#1c2739}
body[data-theme=light]{--page:#f6f9fc;--surface:#fff;--surface-alt:#eef3f9;--edge:#dde7f2;--line:#dde7f2;--paper:#f6f9fc;--text:#0f2240;--secondary:#3a4f6e;--subtle:#4a5d7a;--link:#1d5fd1;--ink:#0f2240;--ks-vlak:#f3f7fb;--ks-vlak-2:#fff;--ks-kaart:#fff;--ks-kaart-rand:#dde7f2;--ks-schaduw:0 1px 2px rgb(23 64 143/.05),0 10px 28px -16px rgb(23 64 143/.26);--ks-tegel:#f8fbfe;--ks-tegel-rand:#e3ebf4;--ks-tekst-zacht:#3a4f6e;--ks-label:#2a5bb8;background:#f6f9fc;color:#0f2240}

/* ---------- Kop ---------- */
body[data-theme=dark] .site-header{background:rgba(var(--ks-hero-rgb),.94);border-color:#2e3d53}
/* In licht blijft de kop donker: hij hoort bij de donkere videohero en het echte logo blijft goed leesbaar. */
html body[data-theme=light] .site-header{--text:#f2f5fa;--secondary:#c5d0df;--edge:#37485f;--line:#37485f;--surface:#26344b;background:rgba(var(--ks-hero-rgb),.94);border-color:#2e3d53;color:#f2f5fa}
html body[data-theme=light] .site-header :is(nav,.text-link){color:#c5cedc}
html body[data-theme=light] .site-header #navigation{background:transparent;border-color:transparent;box-shadow:none}
html body[data-theme=light] .site-header #navigation>a{color:#c5d0df}
html body[data-theme=light] .site-header #navigation>a:hover{background:rgba(255,255,255,.06);color:#fff}
html body[data-theme=light] .site-header #navigation>a.is-current{background:transparent;color:#8db9ff}
html body[data-theme=light] .site-header :is(.theme-toggle,.language-picker summary){color:#f2f5fa;border-color:#37485f;background:transparent}
html body[data-theme=light] .site-header .menu-toggle span{background:#fff}
@media(max-width:900px){html body[data-theme=light] .site-header nav.open,html body[data-theme=light] .site-header #navigation{background:#1c2739}}


/* Logo: kop, 'Over BizzBit' en voet zijn in beide thema's donker, dus overal het echte logo (nooit de Outlook-variant). */
body[data-theme=light] .brand-original{filter:none}

/* ---------- Sectieritme ---------- */
body[data-theme] :is(.studio-strip,.work-section,.about-section,#expertise,.contact-section){background:var(--ks-vlak)}
body[data-theme] :is(.intro-section,.process-section,.ai-section){background:var(--ks-vlak-2)}

/* ---------- Kaarten ---------- */
body[data-theme] :is(.project,.studio-showcase,.contact-card,.ai-card,.process-steps>*,.capabilities details){background:var(--ks-kaart);border:1px solid var(--ks-kaart-rand);border-radius:var(--ks-radius);box-shadow:var(--ks-schaduw)}
body[data-theme] :is(.project-copy,.mdb-product-stage){background:transparent}
body[data-theme] .studio-products a{background:var(--ks-tegel);border-color:var(--ks-tegel-rand)}
body[data-theme=light] .about-visual{background:linear-gradient(135deg,#eaf1fa,#f7fafd);border:1px solid #dde7f2;border-radius:var(--ks-radius)}

/* ---------- Tekst ---------- */
body[data-theme] :is(.intro-columns p,.section-heading>p,.project-copy p){color:var(--ks-tekst-zacht);font-size:17px;line-height:1.65}
body[data-theme] .hero .hero-intro{font-size:17px;line-height:1.65}
body[data-theme=light] main :is(h2,h3){color:var(--text)}
body[data-theme] :is(.eyebrow,.project-meta,.studio-kicker,.product-type){font-family:var(--body);font-weight:600;letter-spacing:.12em;color:var(--ks-label)}
/* Labels in hoofdletters: ook de merknaam in hoofdletters (BIZZBIT), anders oogt het rommelig (Arjan, 24 nov 2026). */
:is(.eyebrow,.product-type,.project-meta,.studio-kicker,.contact-card-label,.dialog-top>.mono){text-transform:uppercase}
@media(max-width:640px){body[data-theme] :is(.intro-columns p,.section-heading>p,.project-copy p,.hero .hero-intro){font-size:16px}}

/* Kleine blauwe accenten (nummers, pijltjes, icoontjes): genoeg contrast in beide thema's. */
body[data-theme=dark] :is(.ai-card-number,.studio-products b),html body[data-theme=dark] .process-section .process-steps .step-number{color:#8db9ff}
body[data-theme=light] :is(.ai-card-number,.studio-products b),html body[data-theme=light] .process-section .process-steps .step-number{color:#1d5fd1}
body[data-theme=light] .studio-icon{color:#1d5fd1;background:#e8f0fd}

/* ---------- Knoppen ---------- */
body[data-theme] .button-primary{box-shadow:0 10px 22px -12px rgb(29 95 209/.85)}

/* ---------- Hero: donker in beide thema's, video over de volle breedte ---------- */
body[data-theme] .hero{--page:var(--ks-hero);--link:#8db9ff;--text:#f2f5fa;--secondary:#c5d0df;--subtle:#a9b8cc;--edge:#37485f;background:var(--ks-hero);color:#f2f5fa}
body[data-theme=light] .hero :is(h1,.hero-note,.hero-bottom,.hero-bottom span){color:#f2f5fa}
body[data-theme=light] .hero .hero-intro{color:#c5d0df}
body[data-theme=light] .hero .eyebrow{color:#8db9ff}
body[data-theme=light] .hero .text-link{color:#8db9ff}
body[data-theme] .hero-bottom{border-color:#37485f}
.hero-media{background:var(--ks-hero)}
.hero-media:after{background:linear-gradient(0deg,rgba(var(--ks-hero-rgb),.9) 0,rgba(var(--ks-hero-rgb),.9) 104px,rgba(var(--ks-hero-rgb),0) 170px),linear-gradient(var(--hero-side),rgba(var(--ks-hero-rgb),.92) 0,rgba(var(--ks-hero-rgb),.92) var(--hero-dense),rgba(var(--ks-hero-rgb),.5) calc(var(--hero-dense) + 16%),rgba(var(--ks-hero-rgb),.12) 100%)}
@media(max-width:900px){.hero-media:after{background:rgba(var(--ks-hero-rgb),.9)}}
body[data-theme=light] .hero-media{display:block}
body[data-theme] .hero-media{animation:none}

/* ---------- Merkelement K1: Bizz/Bit-streep (wit + blauw, zoals het logo) ---------- */
.merk-streep{position:absolute;top:0;height:calc(100% - 96px);width:clamp(300px,30vw,620px);inset-inline-end:clamp(-40px,calc(6vw - 120px),60px);z-index:1;pointer-events:none;filter:drop-shadow(0 0 18px rgba(59,130,246,.35))}
[dir=rtl] .merk-streep{transform:scaleX(-1)}
@media(max-width:900px){.merk-streep{display:none}}

/* ---------- Merkelement K3: commitlijn boven de onderbalk ---------- */
.merk-commitlijn{position:absolute;left:0;right:0;bottom:72px;height:90px;z-index:1;pointer-events:none;color:rgba(159,182,214,.38)}
.merk-commit{position:absolute;inset:0;width:100%;height:100%}
.merk-commit-knopen i{position:absolute;left:var(--x);top:var(--y);width:10px;height:10px;margin:-5px 0 0 -5px;border-radius:50%;background:var(--ks-hero);border:1.6px solid rgba(159,182,214,.6);box-sizing:border-box}
.merk-commit-knopen i.actief{width:14px;height:14px;margin:-7px 0 0 -7px;background:#3b82f6;border:0;box-shadow:0 0 0 8px rgba(59,130,246,.22);animation:merk-knoop 2.4s ease-in-out infinite}
@keyframes merk-knoop{0%,100%{opacity:1}50%{opacity:.55}}
body[data-theme] .hero .hero-bottom{border-top-color:transparent}
[dir=rtl] .merk-commitlijn{transform:scaleX(-1)}
@media(max-width:900px){.merk-commitlijn{display:none}body[data-theme] .hero .hero-bottom{border-top-color:#37485f}}

/* ---------- Merkelement K2: verschoven blokken (vorm van het BB-icoon) als watermerk ---------- */
.studio-strip,.contact-section{position:relative;overflow:hidden}
.merk-blokken{position:absolute;width:420px;height:420px;inset-inline-end:-120px;top:-60px;z-index:0;pointer-events:none;transform:rotate(-10deg);color:#fff}
body[data-theme=light] .merk-blokken{color:#1d5fd1}
.contact-section .merk-blokken{top:auto;bottom:-80px;inset-inline-end:auto;inset-inline-start:-140px;transform:rotate(12deg)}
.studio-strip>.wrap,.contact-section>.wrap{position:relative;z-index:1}
@media(max-width:640px){.merk-blokken{width:260px;height:260px;inset-inline-end:-110px}}

@media(prefers-reduced-motion:reduce){.merk-commit-knopen i.actief{animation:none}}

/* ---------- Fase 3: onze software groot en strak in beeld ---------- */
/* Vlak achter elk productscherm: zacht blauw, zodat het scherm erop "ligt" zoals in de apps. */
body[data-theme] :is(.product-screen,.mdb-product-stage){background:linear-gradient(160deg,var(--ks-scherm-vlak-1),var(--ks-scherm-vlak-2));border-radius:calc(var(--ks-radius) - 4px)}
body[data-theme=dark]{--ks-scherm-vlak-1:#2a3a54;--ks-scherm-vlak-2:#212e44;--ks-frame-rand:#40536f;--ks-frame-balk:#33445e;--ks-frame-stip:#5a6e8c}
body[data-theme=light]{--ks-scherm-vlak-1:#eaf1fb;--ks-scherm-vlak-2:#f4f8fd;--ks-frame-rand:#d4e0ee;--ks-frame-balk:#f1f5fa;--ks-frame-stip:#c6d3e3}
/* Browserframe: dunne balk met drie stippen boven het scherm, afgeronde hoeken en een diepere schaduw. */
body[data-theme] :is(.screen-viewport,.mdb-flat-preview){position:relative;display:block;border:1px solid var(--ks-frame-rand);border-radius:12px;overflow:hidden;padding-top:22px;background:var(--ks-frame-balk);box-shadow:0 2px 4px rgb(10 30 70/.06),0 24px 48px -26px rgb(10 30 70/.45)}
body[data-theme] :is(.screen-viewport,.mdb-flat-preview)::before{content:"";position:absolute;top:8px;inset-inline-start:12px;width:7px;height:7px;border-radius:50%;background:var(--ks-frame-stip);box-shadow:12px 0 0 var(--ks-frame-stip),24px 0 0 var(--ks-frame-stip);z-index:2}
[dir=rtl] body[data-theme] :is(.screen-viewport,.mdb-flat-preview)::before{box-shadow:-12px 0 0 var(--ks-frame-stip),-24px 0 0 var(--ks-frame-stip)}
body[data-theme] :is(.screen-viewport,.mdb-flat-preview) img{display:block}
/* Kopjes boven de schermen: rustige tekst in plaats van kleine mono-letters. */
body[data-theme] :is(.screen-heading,.mdb-product-top)>span:first-child{font-family:var(--body);font-weight:600;font-size:13px;letter-spacing:.02em;color:var(--ks-label)}
body[data-theme] :is(.product-screen,.mdb-flat-preview){transition:transform .2s ease,box-shadow .2s ease}
body[data-theme] .product-screen:hover .screen-viewport,body[data-theme] .mdb-flat-preview:hover{transform:translateY(-2px);box-shadow:0 2px 4px rgb(10 30 70/.06),0 30px 56px -26px rgb(10 30 70/.55)}
body[data-theme] .screen-viewport{transition:transform .2s ease,box-shadow .2s ease}
@media(prefers-reduced-motion:reduce){body[data-theme] :is(.screen-viewport,.mdb-flat-preview,.product-screen){transition:none}body[data-theme] .product-screen:hover .screen-viewport,body[data-theme] .mdb-flat-preview:hover{transform:none}}

/* ---------- Fase 4: werkwijze, over ons, contact en voet ---------- */
/* Werkwijze: vier kaarten met ruimte binnenin en het stapnummer als icoontegel (zoals de lijstrijen in Mijn DMG). */
body[data-theme] .process-steps>article{padding:24px 24px 26px;display:flex;flex-direction:column}
body[data-theme] .process-steps .step-number{display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;padding:0;margin:0 0 18px;border:0;border-radius:12px;font-family:var(--body);font-size:14px;font-weight:700;line-height:1}
html body[data-theme=dark] .process-section .process-steps .step-number{background:rgba(141,185,255,.14)}
html body[data-theme=light] .process-section .process-steps .step-number{background:#e8f0fd}
body[data-theme] .process-steps .step-number>span{display:none}
body[data-theme] .process-steps h3{margin-top:0}

/* Over BizzBit: een donker paneel met het echte logo en de verschoven blokken, in beide thema's (de grijze rasterdoos en kruisjes vervallen). */
body[data-theme] .about-visual{background:radial-gradient(ellipse at 75% 20%,#2c4266,transparent 60%),var(--ks-hero);border:1px solid #37485f;border-radius:var(--ks-radius);box-shadow:var(--ks-schaduw);background-size:auto}
body[data-theme] .about-plus{display:none}
body[data-theme] .about-coordinates{color:#a9b8cc;font-family:var(--body);font-weight:600;letter-spacing:.14em}
.about-visual .merk-blokken{inset-inline-end:-60px;top:auto;bottom:-70px;width:340px;height:340px;color:#fff}

/* Contact: de nachtblauwe baan (één donker anker onderaan), witte kaarten blijven licht. */
body[data-theme] #contact.contact-section{--text:#f2f5fa;--secondary:#c5d0df;background:radial-gradient(ellipse at 15% 100%,#2a3d5c,transparent 55%),var(--ks-hero);color:#f2f5fa}
body[data-theme] #contact .contact-grid>div:first-child :is(h2,p){color:#f2f5fa}
body[data-theme] #contact .contact-grid>div:first-child p{color:#c5d0df}
body[data-theme] #contact .contact-grid>div:first-child .eyebrow{color:#8db9ff}
.contact-section:after{content:none}
body[data-theme=light] .contact-section .merk-blokken{color:#fff}
body[data-theme=light] #contact .contact-card{--text:#0f2240;color:#0f2240}
body[data-theme=light] #contact .contact-card :is(p,.contact-prompt){color:#3a4f6e}

/* Voet: donker in beide thema's, zoals de kop, met het echte logo. */
html body[data-theme] .site-footer{background:#161f2e;color:#a9b8cc}
html body[data-theme] .site-footer :is(a,span,button,p){color:#c5d0df}
html body[data-theme] .site-footer .footer-bottom{border-top-color:#2a374b}

.about-visual .original-wordmark,.about-visual .about-coordinates{position:relative;z-index:1}.about-visual .about-coordinates{position:absolute}
html body[data-theme] footer.site-footer .footer-top>:is(span,a),html body[data-theme] footer.site-footer .footer-bottom :is(a,span){color:#c5d0df}html body[data-theme] footer.site-footer .footer-top>a:last-child{color:#8db9ff}

/* ---------- Eindreview (24 nov 2026) ---------- */
/* Taalmenu in de donkere kop: ook in licht een donker paneel, zodat de taalnamen leesbaar zijn. */
html body[data-theme=light] .site-header .language-options a[aria-current=true]{color:#8db9ff}
/* MDB Builder-stappen: kleine blauwe nummers met genoeg contrast. */
body[data-theme=dark] .mdb-product-steps b{color:#8db9ff}
body[data-theme=light] .mdb-product-steps b{color:#1d5fd1}
/* Pijltjes en accenten buiten de donkere vlakken: in licht hetzelfde blauw als de links. */
body[data-theme=light] main section:not(.hero):not(#contact) :is(.text-link span,.capabilities details[open] h3),body[data-theme=light] #contact .contact-card :is(.contact-mail span,.contact-mail){color:#1d5fd1}
/* De pulserende knoop stopt als de bezoeker de video pauzeert (WCAG 2.2.2, één bewegend element). */
.hero.video-gepauzeerd .merk-commit-knopen i.actief{animation:none}
/* Tagline in het mobiele menu: hoofdletters, ook BIZZBIT. */
.site-header #navigation.open:after{text-transform:uppercase}
/* Arabisch (en andere schriften zonder hoofdletters): geen monospace en geen letterafstand, anders vallen verbonden letters uit elkaar. */
html[lang=ar] :is(.hero-bottom>span,.eyebrow,.product-type,.project-meta,.studio-kicker,.contact-card-label,.about-coordinates,.dialog-top>.mono){font-family:var(--body);letter-spacing:0}
/* Projectdialoog: "Pagina 1 van 7" blijft op één regel. */
.dialog-page-count{white-space:nowrap}

/* ---------- Afronding (24 nov 2026) ---------- */
/* Lage laptopschermen (hoogte tot 1000 px): de hero schaalt mee met de schermhoogte, zodat de onderbalk met pauzeknop en pijl in beeld blijft,
   ook in talen met een titel van vier regels (EN, DE, FR, ES, PT, HI, KO, ID). Tot 900 px vallen de notitieregel en de commitlijn weg. */
@media(min-width:901px) and (max-height:1000px){.hero-grid{min-height:0;padding-top:clamp(28px,5svh,72px);padding-bottom:clamp(22px,3.6svh,60px)}body[data-theme] .hero h1{font-size:min(5.7vw,5.35rem,10svh);margin:clamp(14px,2.4svh,27px) 0}html:is([lang=en],[lang=de],[lang=fr],[lang=es],[lang=pt],[lang=hi],[lang=ko],[lang=id]) body[data-theme] .hero h1{font-size:min(5.7vw,5.35rem,7.4svh)}.hero-actions{margin-top:clamp(16px,3svh,31px)}.hero-note{margin-top:clamp(14px,2.6svh,36px)}}
@media(min-width:901px) and (max-height:900px){.hero-note{display:none}.merk-commitlijn{display:none}body[data-theme] .hero .hero-bottom{border-top-color:#37485f}}
@media(min-width:901px) and (max-height:740px){.hero-bottom{min-height:72px}.merk-streep{height:calc(100% - 130px)}}
/* Smalle telefoons: de drie vakgebieden in de onderbalk breken alleen tussen de woorden, nooit midden in "AI & koppelingen". */
@media(max-width:640px){.hero-bottom>div{flex-wrap:wrap;row-gap:4px;padding-block:10px}.hero-bottom>div>span{white-space:nowrap}}
/* Mobiel menu: de pagina eromheen wordt gedimd, zodat het menu als één laag boven de site staat. */
@media(max-width:1199px){html body[data-theme] .site-header #navigation.open{box-shadow:0 16px 35px #07132630,0 0 0 100vmax rgba(9,15,27,.62);max-height:calc(100dvh - 110px);overflow-y:auto}.site-header .nav-wrap>:is(.brand,.theme-toggle,.menu-toggle){position:relative;z-index:2}}
/* Menuknop op tabletbreedte (641-1199 px): de streepjes waren daar onzichtbaar, waardoor het menu niet te openen leek. */
@media(max-width:1199px){.site-header .menu-toggle span{display:block;height:1px;width:22px;background:#d9e3f2;transition:transform .2s}.site-header .menu-toggle[aria-expanded="true"] span:first-child{transform:translateY(3.5px) rotate(45deg)}.site-header .menu-toggle[aria-expanded="true"] span:last-child{transform:translateY(-3.5px) rotate(-45deg)}.site-header .nav-wrap>:is(.nav-cta,.language-picker){position:relative;z-index:2}}
@media(prefers-reduced-motion:reduce){.site-header .menu-toggle span{transition:none}}
/* Tagline onderaan het uitklapmenu: op elke breedte klein en in lijn met de menu-items. */
@media(max-width:1199px){.site-header #navigation.open:after{font-family:var(--mono);font-size:10px;letter-spacing:.06em;color:#7b92b0;border-top:1px solid #819db12b;padding:14px 14px 4px;margin-top:5px}html[lang=ar] .site-header #navigation.open:after{font-family:var(--body);letter-spacing:0}}
/* Uitklapmenu in licht op 901-1199 px: zelfde donkere kaart als in donker (was doorzichtig). */
@media(max-width:1199px){html body[data-theme=light] .site-header #navigation.open{background:#26344b;border:1px solid #37485f;border-radius:10px;padding:10px}}
/* Video ook op tablet en telefoon (Arjan, 24 nov 2026): de waas laat de video meer zien onder de titel; achter de titel blijft hij dicht genoeg voor contrast (blauw ≥ 3:1, tekst ≥ 4,5:1, ook op wit papier). */
@media(max-width:900px){.hero-media:after{background:linear-gradient(180deg,rgba(var(--ks-hero-rgb),.87) 0,rgba(var(--ks-hero-rgb),.87) 46%,rgba(var(--ks-hero-rgb),.8) 64%,rgba(var(--ks-hero-rgb),.8) 86%,rgba(var(--ks-hero-rgb),.9) 100%)}}
/* Pauzeknop op telefoons: in de onderbalk, vlak voor de pijl, even groot als de pijl. */
@media(max-width:640px){.hero-bottom{gap:10px}.hero-bottom>.hero-video-toggle{display:grid;position:static;margin:0 0 0 auto;width:27px;height:27px;flex:0 0 27px}[dir=rtl] .hero-bottom>.hero-video-toggle{margin:0 auto 0 0}.hero-bottom>.hero-video-toggle[hidden]{display:none}.hero-bottom>.hero-video-toggle>span{width:8px;height:10px;border-inline-width:2.5px}.hero-bottom>.hero-video-toggle.is-paused>span{width:0;height:0;border-block-width:5px;border-inline-start-width:8px}}
/* Video zonder flikkering: stilstaand beeld als achtergrond, video komt er pas overheen als hij speelt. */
.hero-media{background-size:cover;background-position:center;background-repeat:no-repeat}
.hero-video{opacity:0;transition:opacity .4s ease}
.hero-video.speelt{opacity:1}
@media(prefers-reduced-motion:reduce){.hero-video{transition:none}}

/* Telefoonnummer (26 nov 2026) */
.contact-card .contact-phone{margin-top:4px}
