/* ==========================================================================
   Bert Bossier · baltius.be
   Mobile first. Donker, toekomstgericht, persoonlijk.
   ========================================================================== */

:root {
	--bb-bg: #0c2224;
	--bb-bg-2: #0f2b2d;
	--bb-bg-3: #143739;
	--bb-surface: rgba(247, 249, 191, .04);
	--bb-surface-2: rgba(247, 249, 191, .07);
	--bb-line: rgba(247, 249, 191, .13);
	--bb-line-2: rgba(247, 249, 191, .32);
	--bb-cream: #f7f9bf;
	--bb-text: #e6ebd8;
	--bb-muted: #a7bdb7;
	--bb-mint: #f7f9bf;
	--bb-tint: #8fc2bf;
	--bb-teal: #296c71;
	--bb-teal-2: #2f6f75;
	--bb-grad: linear-gradient(var(--bb-cream), var(--bb-cream));
	--bb-radius: 22px;
	--bb-radius-sm: 14px;
	--bb-max: 1240px;
	--bb-gutter: clamp(16px, 4.5vw, 40px);
	--bb-section: clamp(64px, 10vw, 128px);
	--bb-ease: cubic-bezier(.22, 1, .36, 1);
	--bb-font-head: 'Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif;
	--bb-font-body: 'Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif;
	color-scheme: dark;
}

/* ---------- Basis ---------- */
body.bb-site *, body.bb-site *::before, body.bb-site *::after { box-sizing: border-box; }
body.bb-site [hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body.bb-site {
	background: var(--bb-bg);
	color: var(--bb-text);
	font-family: var(--bb-font-body);
	font-size: clamp(16px, .25vw + 15px, 18px);
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
	overflow-x: clip;
}
body.bb-site #wrapper, body.bb-site #inner-wrap, body.bb-site .site { background: transparent; }
body.bb-site .content-area { margin: 0; }
body.bb-site ::selection { background: var(--bb-mint); color: var(--bb-bg); }

body.bb-site h1, body.bb-site h2, body.bb-site h3, body.bb-site h4,
body.bb-site .bb-h {
	font-family: var(--bb-font-head);
	color: var(--bb-cream);
	font-weight: 600;
	letter-spacing: -.025em;
	line-height: 1.08;
	margin: 0 0 .5em;
	text-wrap: balance;
}
body.bb-site h1 { font-size: clamp(2.5rem, 7.2vw, 5.6rem); letter-spacing: -.04em; line-height: 1.02; }
body.bb-site h2 { font-size: clamp(2rem, 4.6vw, 3.6rem); }
body.bb-site h3 { font-size: clamp(1.2rem, 1.6vw, 1.45rem); letter-spacing: -.015em; }
body.bb-site p { margin: 0 0 1.1em; text-wrap: pretty; }
body.bb-site a { color: var(--bb-mint); text-decoration-thickness: 1px; text-underline-offset: 3px; transition: color .25s; }
body.bb-site a:hover { color: var(--bb-cream); }
body.bb-site :focus-visible { outline: 2px solid var(--bb-mint); outline-offset: 3px; border-radius: 6px; }
body.bb-site img { max-width: 100%; height: auto; }
body.bb-site strong { color: var(--bb-cream); font-weight: 500; }

.bb-grad, body.bb-site .bb-grad {
	background: var(--bb-grad);
	-webkit-background-clip: text; background-clip: text;
	color: transparent;
	-webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.bb-serif { font-family: Georgia, 'Times New Roman', serif; font-style: italic; font-weight: 400; letter-spacing: -.01em; }

.bb-eyebrow, body.bb-site .bb-eyebrow {
	display: flex; align-items: center; gap: .6em;
	font-family: var(--bb-font-head);
	font-size: .78rem; font-weight: 500;
	letter-spacing: .16em; text-transform: uppercase;
	color: var(--bb-mint);
	margin: 0 0 1.2rem;
}

.bb-lead, body.bb-site .bb-lead { font-size: clamp(1.05rem, .6vw + .9rem, 1.3rem); color: var(--bb-text); max-width: 46ch; }
.bb-muted { color: var(--bb-muted); }

.bb-skip { position: absolute; left: -999px; top: 8px; z-index: 1000; background: var(--bb-mint); color: var(--bb-bg) !important; padding: 10px 16px; border-radius: 10px; }
.bb-skip:focus { left: 8px; }

/* ---------- Layout ---------- */
.bb-main { display: block; position: relative; }
.bb-main:focus { outline: none; }
.bb-section, body.bb-site .wp-block-group.bb-section {
	position: relative;
	padding: var(--bb-section) var(--bb-gutter);
}
.bb-section > *, .bb-wrap { max-width: var(--bb-max); margin-left: auto; margin-right: auto; }
.bb-section--alt { background: var(--bb-bg-2); }
.bb-section--line { border-top: 1px solid var(--bb-line); }
.bb-center { text-align: center; }
.bb-center .bb-lead { margin-left: auto; margin-right: auto; }
.bb-head { max-width: 760px; margin-bottom: clamp(36px, 6vw, 64px); }
.bb-section > .bb-head { margin-left: max(0px, calc((100% - var(--bb-max)) / 2)); }
.bb-center.bb-head, .bb-head.bb-center { margin-left: auto; margin-right: auto; }

body.bb-site .wp-block-columns { gap: clamp(28px, 4vw, 64px); margin-bottom: 0; }

/* ---------- Knoppen ---------- */
.bb-btn,
body.bb-site .wp-block-button.is-style-bb .wp-block-button__link,
body.bb-site .wp-block-button.is-style-bb-ghost .wp-block-button__link {
	--bb-mx: 0px; --bb-my: 0px;
	position: relative;
	display: inline-flex; align-items: center; justify-content: center; gap: .55em;
	min-height: 52px;
	padding: .85em 1.6em;
	border: 0; border-radius: 999px;
	background: var(--bb-mint);
	color: var(--bb-bg) !important;
	font-family: var(--bb-font-head);
	font-size: 1rem; font-weight: 600; letter-spacing: -.01em;
	text-decoration: none;
	cursor: pointer;
	overflow: hidden;
	isolation: isolate;
	transform: translate(var(--bb-mx), var(--bb-my));
	transition: transform .4s var(--bb-ease), box-shadow .4s var(--bb-ease), background .3s;
	box-shadow: 0 0 0 0 rgba(247, 249, 191, 0);
}
.bb-btn::before,
body.bb-site .wp-block-button.is-style-bb .wp-block-button__link::before {
	content: ''; position: absolute; inset: 0; z-index: -1;
	background: var(--bb-cream);
	transform: translateY(101%); border-radius: inherit;
	transition: transform .45s var(--bb-ease);
}
.bb-btn:hover, body.bb-site .wp-block-button.is-style-bb .wp-block-button__link:hover { box-shadow: 0 12px 40px -10px rgba(247, 249, 191, .55); color: var(--bb-bg) !important; }
.bb-btn:hover::before, body.bb-site .wp-block-button.is-style-bb .wp-block-button__link:hover::before { transform: translateY(0); }

.bb-btn--ghost,
body.bb-site .wp-block-button.is-style-bb-ghost .wp-block-button__link {
	background: transparent;
	color: var(--bb-cream) !important;
	box-shadow: inset 0 0 0 1px var(--bb-line);
}
.bb-btn--ghost::before { background: var(--bb-surface-2); }
.bb-btn--ghost:hover, body.bb-site .wp-block-button.is-style-bb-ghost .wp-block-button__link:hover { color: var(--bb-cream) !important; box-shadow: inset 0 0 0 1px var(--bb-line-2); background: var(--bb-surface-2); }
.bb-btn--sm { min-height: 42px; padding: .55em 1.15em; font-size: .92rem; }
body.bb-site .wp-block-buttons { gap: 12px; margin-top: 1.8rem; }

/* ---------- Header ---------- */
.bb-header {
	position: fixed; inset: 0 0 auto; z-index: 90;
	top: var(--wp-admin--admin-bar--height, 0px);
	padding: 12px var(--bb-gutter);
	transition: transform .5s var(--bb-ease), background .4s, backdrop-filter .4s, border-color .4s;
	border-bottom: 1px solid transparent;
}
.bb-header.is-scrolled { background: rgba(12, 34, 36, .72); -webkit-backdrop-filter: blur(16px) saturate(1.3); backdrop-filter: blur(16px) saturate(1.3); border-bottom-color: var(--bb-line); }
.bb-header.is-hidden { transform: translateY(-110%); }
.bb-header__inner { max-width: var(--bb-max); margin: 0 auto; display: flex; align-items: center; gap: 20px; min-height: 52px; }
.bb-brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none !important; color: var(--bb-cream) !important; }
.bb-brand svg { flex: none; transition: transform .8s var(--bb-ease); }
.bb-brand:hover svg { transform: rotate(-12deg) scale(1.04); }
.bb-brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.bb-brand__text strong { font-family: var(--bb-font-head); font-size: 1.05rem; font-weight: 600; letter-spacing: -.02em; color: var(--bb-cream); }
.bb-brand__text small { font-size: .72rem; color: var(--bb-muted); letter-spacing: .04em; }

.bb-nav { display: none; margin-left: auto; }
.bb-nav ul { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; }
.bb-nav li { position: relative; }
.bb-nav > ul > li > a {
	display: block; padding: 10px 14px; border-radius: 999px;
	color: var(--bb-text) !important; text-decoration: none;
	font-size: .95rem; font-weight: 500;
	transition: background .25s, color .25s;
}
.bb-nav > ul > li > a:hover, .bb-nav > ul > li:focus-within > a { background: var(--bb-surface-2); color: var(--bb-cream) !important; }
.bb-nav__has-sub > a::after { content: ''; display: inline-block; width: 6px; height: 6px; margin-left: 8px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-3px) rotate(45deg); opacity: .7; }
.bb-sub {
	position: absolute; top: calc(100% + 10px); left: -12px;
	width: 360px; padding: 10px;
	background: rgba(15, 43, 45, .94); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
	border: 1px solid var(--bb-line); border-radius: 20px;
	box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .7);
	opacity: 0; visibility: hidden; transform: translateY(8px);
	transition: opacity .3s, transform .4s var(--bb-ease), visibility .3s;
}
.bb-sub::before { content: ''; position: absolute; inset: -12px 0 auto; height: 12px; }
.bb-nav__has-sub:hover .bb-sub, .bb-nav__has-sub:focus-within .bb-sub { opacity: 1; visibility: visible; transform: none; }
.bb-sub a { display: block; padding: 12px 14px; border-radius: 12px; text-decoration: none; transition: background .2s; }
.bb-sub a:hover { background: var(--bb-surface-2); }
.bb-sub span { display: block; color: var(--bb-cream); font-weight: 500; font-size: .95rem; }
.bb-sub small { display: block; color: var(--bb-muted); font-size: .8rem; line-height: 1.4; }

.bb-header__cta { display: none; }
.bb-burger { margin-left: auto; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--bb-line); background: var(--bb-surface); display: grid; place-content: center; gap: 6px; cursor: pointer; padding: 0; }
.bb-burger span { display: block; width: 20px; height: 1.5px; background: var(--bb-cream); transition: transform .4s var(--bb-ease); }
.bb-burger[aria-expanded="true"] span:first-child { transform: translateY(3.75px) rotate(45deg); }
.bb-burger[aria-expanded="true"] span:last-child { transform: translateY(-3.75px) rotate(-45deg); }

.bb-mobile {
	position: fixed; inset: 0; z-index: 80;
	background: rgba(12, 34, 36, .97); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
	padding: 100px var(--bb-gutter) 40px; overflow-y: auto;
	clip-path: circle(0 at calc(100% - 44px) 38px);
	transition: clip-path .7s var(--bb-ease);
}
.bb-mobile.is-open { clip-path: circle(150% at calc(100% - 44px) 38px); }
.bb-mobile ul { list-style: none; margin: 0 0 28px; padding: 0; }
.bb-mobile__label { font-size: .75rem; letter-spacing: .16em; text-transform: uppercase; color: var(--bb-mint); margin-bottom: 8px !important; }
.bb-mobile li { opacity: 0; transform: translateY(16px); transition: opacity .5s, transform .6s var(--bb-ease); }
.bb-mobile.is-open li { opacity: 1; transform: none; }
.bb-mobile.is-open li:nth-child(2) { transition-delay: .04s; } .bb-mobile.is-open li:nth-child(3) { transition-delay: .08s; }
.bb-mobile.is-open li:nth-child(4) { transition-delay: .12s; } .bb-mobile.is-open li:nth-child(5) { transition-delay: .16s; }
.bb-mobile.is-open li:nth-child(6) { transition-delay: .2s; } .bb-mobile.is-open li:nth-child(7) { transition-delay: .24s; }
.bb-mobile__services a { display: block; padding: 8px 0; font-family: var(--bb-font-head); font-size: 1.45rem; color: var(--bb-cream) !important; text-decoration: none; letter-spacing: -.02em; }
.bb-mobile__main a { display: block; padding: 10px 0; border-top: 1px solid var(--bb-line); color: var(--bb-text) !important; text-decoration: none; font-size: 1.05rem; }
.bb-mobile__mail { font-family: var(--bb-font-head); font-size: 1.1rem; }
body.bb-menu-open { overflow: hidden; }

@media (min-width: 1024px) {
	.bb-nav, .bb-header__cta { display: block; }
	.bb-header__cta { display: inline-flex; }
	.bb-burger, .bb-mobile { display: none !important; }
	.bb-header { padding-top: 16px; padding-bottom: 16px; }
}

/* ---------- Cursor ---------- */
.bb-cursor { display: none; }
@media (hover: hover) and (pointer: fine) {
	.bb-cursor { display: block; position: fixed; inset: 0; z-index: 9999; pointer-events: none; }
	.bb-cursor__dot, .bb-cursor__ring { position: fixed; left: 0; top: 0; border-radius: 50%; pointer-events: none; will-change: transform; opacity: 0; transition: opacity .3s; }
	.bb-cursor.is-active .bb-cursor__dot, .bb-cursor.is-active .bb-cursor__ring { opacity: 1; }
	.bb-cursor__dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: var(--bb-mint); }
	.bb-cursor__ring {
		width: 38px; height: 38px; margin: -19px 0 0 -19px;
		border: 1px solid rgba(247, 249, 191, .55);
		display: grid; place-items: center;
		transition: width .45s var(--bb-ease), height .45s var(--bb-ease), margin .45s var(--bb-ease), background .35s, border-color .35s, opacity .3s;
	}
	.bb-cursor__ring em { font-style: normal; font-family: var(--bb-font-head); font-size: .72rem; font-weight: 600; color: var(--bb-bg); opacity: 0; transition: opacity .25s; letter-spacing: .02em; }
	.bb-cursor.is-hover .bb-cursor__ring { width: 64px; height: 64px; margin: -32px 0 0 -32px; background: rgba(247, 249, 191, .12); border-color: var(--bb-mint); }
	.bb-cursor.is-label .bb-cursor__ring { width: 88px; height: 88px; margin: -44px 0 0 -44px; background: var(--bb-mint); border-color: var(--bb-mint); }
	.bb-cursor.is-label .bb-cursor__ring em { opacity: 1; }
	.bb-cursor.is-label .bb-cursor__dot { opacity: 0; }
	.bb-cursor.is-down .bb-cursor__ring { width: 30px; height: 30px; margin: -15px 0 0 -15px; background: rgba(247, 249, 191, .18); }
	.bb-cursor.is-down.is-hover .bb-cursor__ring { width: 52px; height: 52px; margin: -26px 0 0 -26px; }
	.bb-cursor.is-text .bb-cursor__ring { width: 4px; height: 30px; margin: -15px 0 0 -2px; border-radius: 2px; background: var(--bb-mint); }
	.bb-cursor.is-text .bb-cursor__dot { opacity: 0; }
}

/* ---------- Achtergrondelementen ---------- */
.bb-grid-bg {
	position: absolute; inset: 0; pointer-events: none; z-index: 0;
	background-image:
		linear-gradient(rgba(247, 249, 191, .05) 1px, transparent 1px),
		linear-gradient(90deg, rgba(247, 249, 191, .05) 1px, transparent 1px);
	background-size: 64px 64px;
	-webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 35%, #000 20%, transparent 75%);
	mask-image: radial-gradient(ellipse 80% 70% at 50% 35%, #000 20%, transparent 75%);
}
.bb-aurora { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.bb-aurora i {
	position: absolute; border-radius: 50%; filter: blur(70px); opacity: .5;
	will-change: transform;
	animation: bb-float 18s ease-in-out infinite alternate;
}
.bb-aurora i:nth-child(1) { width: 52vmax; height: 52vmax; left: -18vmax; top: -22vmax; background: radial-gradient(circle, rgba(41, 108, 113, .9), transparent 65%); }
.bb-aurora i:nth-child(2) { width: 38vmax; height: 38vmax; right: -14vmax; top: 6vmax; background: radial-gradient(circle, rgba(247, 249, 191, .32), transparent 65%); animation-duration: 22s; animation-delay: -6s; }
.bb-aurora i:nth-child(3) { width: 30vmax; height: 30vmax; left: 30%; bottom: -18vmax; background: radial-gradient(circle, rgba(247, 249, 191, .16), transparent 65%); animation-duration: 26s; animation-delay: -12s; }
@keyframes bb-float { to { transform: translate3d(6vmax, 4vmax, 0) scale(1.12); } }

.bb-noise::after {
	content: ''; position: absolute; inset: 0; pointer-events: none; z-index: 1; opacity: .05; mix-blend-mode: overlay;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Hero ---------- */
.bb-hero, body.bb-site .wp-block-group.bb-hero {
	position: relative; isolation: isolate;
	min-height: 100svh;
	display: flex; align-items: center;
	padding: 120px var(--bb-gutter) 80px;
	overflow: hidden;
}
.bb-hero__inner, body.bb-site .bb-hero > .bb-hero__inner { position: relative; z-index: 2; width: 100%; max-width: var(--bb-max); margin: 0 auto; display: grid; gap: 48px; align-items: center; }
@media (min-width: 960px) { .bb-hero__inner, body.bb-site .bb-hero > .bb-hero__inner { grid-template-columns: 1.35fr .9fr; gap: 40px; } }
.bb-hero h1 { margin-bottom: .35em; }
.bb-hero .bb-lead { color: var(--bb-muted); }
.bb-hero__meta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 2.2rem; padding: 0; list-style: none; }
.bb-hero__meta li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border: 1px solid var(--bb-line); border-radius: 999px; font-size: .85rem; color: var(--bb-text); background: var(--bb-surface); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.bb-hero__meta li::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--bb-mint); box-shadow: 0 0 12px var(--bb-mint); }

.bb-scrollcue { position: absolute; left: 50%; bottom: 26px; z-index: 2; width: 26px; height: 42px; margin-left: -13px; border: 1px solid var(--bb-line); border-radius: 20px; }
.bb-scrollcue::after { content: ''; position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 3px; background: var(--bb-mint); animation: bb-cue 1.8s var(--bb-ease) infinite; }
@keyframes bb-cue { 0% { transform: translateY(0); opacity: 1; } 80% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }

/* Orbit-visual rond het portret */
.bb-orbit { position: relative; width: min(84vw, 440px); aspect-ratio: 1; margin: 0 auto; }
.bb-orbit__ring { position: absolute; inset: 0; border-radius: 50%; border: 1px solid var(--bb-line); }
.bb-orbit__ring--2 { inset: 13%; border-color: rgba(247, 249, 191, .2); border-style: dashed; animation: bb-spin 60s linear infinite; }
.bb-orbit__ring--3 { inset: -9%; border-color: rgba(247, 249, 191, .06); }
.bb-orbit__core { position: absolute; inset: 24%; border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 1px var(--bb-line-2), 0 0 90px -10px rgba(247, 249, 191, .45); }
.bb-orbit__core .bb-portrait, .bb-orbit__core img { display: block; width: 100%; height: 100%; object-fit: cover; }
.bb-orbit__spin { position: absolute; inset: 0; animation: bb-spin 40s linear infinite; }
.bb-orbit__tag {
	position: absolute; left: 50%; top: 50%;
	transform: rotate(var(--a)) translate(calc(min(84vw, 440px) * .5)) rotate(calc(var(--a) * -1));
	margin: -16px 0 0 -40px;
}
.bb-orbit__tag span {
	display: inline-block; min-width: 80px; text-align: center;
	padding: 6px 12px; border-radius: 999px; font-size: .78rem; font-weight: 500; white-space: nowrap;
	background: rgba(15, 43, 45, .85); border: 1px solid var(--bb-line-2); color: var(--bb-cream);
	animation: bb-spin 40s linear infinite reverse;
	-webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
@keyframes bb-spin { to { transform: rotate(360deg); } }
.bb-orbit__dot { position: absolute; width: 10px; height: 10px; border-radius: 50%; background: var(--bb-mint); box-shadow: 0 0 18px var(--bb-mint); top: 13%; left: 50%; margin-left: -5px; }
@media (max-width: 959px) { .bb-orbit { width: min(62vw, 340px); } .bb-orbit__tag { transform: rotate(var(--a)) translate(calc(min(62vw, 340px) * .5)) rotate(calc(var(--a) * -1)); } .bb-orbit__tag span { min-width: 64px; padding: 5px 10px; font-size: .72rem; } }

/* ---------- Woord-voor-woord reveal ---------- */
.bb-split .bb-w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.bb-split .bb-w > span { display: inline-block; transform: translateY(105%); transition: transform 1s var(--bb-ease); transition-delay: calc(var(--i) * 45ms); }
.bb-split.is-in .bb-w > span { transform: none; }

/* Algemene reveal */
.bb-js [data-reveal], .bb-js .bb-reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--bb-ease), transform .8s var(--bb-ease); transition-delay: var(--d, 0s); }
.bb-js [data-reveal].is-in, .bb-js .bb-reveal.is-in { opacity: 1; transform: none; }
.bb-js .bb-reveal-scale { opacity: 0; transform: scale(.94); transition: opacity 1s var(--bb-ease), transform 1.2s var(--bb-ease); }
.bb-js .bb-reveal-scale.is-in { opacity: 1; transform: none; }

/* ---------- Marquee ---------- */
.bb-marquee { position: relative; z-index: 2; overflow: hidden; padding: 26px 0; border-top: 1px solid var(--bb-line); border-bottom: 1px solid var(--bb-line); background: var(--bb-bg); }
.bb-marquee__track { display: flex; width: max-content; gap: 0; will-change: transform; }
.bb-marquee__track span { display: inline-flex; align-items: center; gap: 36px; padding-right: 36px; font-family: var(--bb-font-head); font-size: clamp(1.6rem, 4vw, 3rem); font-weight: 500; letter-spacing: -.03em; color: var(--bb-cream); white-space: nowrap; }
.bb-marquee__track span:nth-child(even) { color: transparent; -webkit-text-stroke: 1px rgba(247, 249, 191, .45); }
.bb-marquee__track span::after { content: '✦'; font-size: .5em; color: var(--bb-mint); -webkit-text-stroke: 0; }

/* ---------- Intro / statement ---------- */
.bb-statement, body.bb-site .bb-statement { font-family: var(--bb-font-head); font-size: clamp(1.5rem, 3.3vw, 2.7rem); line-height: 1.25; letter-spacing: -.025em; color: var(--bb-cream); max-width: 26ch; font-weight: 500; }
.bb-statement .bb-fade-w { opacity: .18; transition: opacity .4s; }
.bb-statement .bb-fade-w.is-lit { opacity: 1; }

/* ---------- Dienstenkaarten ---------- */
.bb-cards-grid, body.bb-site .bb-cards-grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 700px) { .bb-cards-grid, body.bb-site .bb-cards-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .bb-cards-grid, body.bb-site .bb-cards-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.bb-card, body.bb-site .wp-block-group.bb-card {
	--mx: 50%; --my: 50%;
	position: relative; isolation: isolate;
	display: flex; flex-direction: column;
	padding: 30px 28px 28px;
	border-radius: var(--bb-radius);
	background: var(--bb-surface);
	border: 1px solid var(--bb-line);
	overflow: hidden;
	transition: transform .6s var(--bb-ease), border-color .4s;
	margin: 0 !important;
}
.bb-card::before { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(420px circle at var(--mx) var(--my), rgba(247, 249, 191, .13), transparent 45%); opacity: 0; transition: opacity .4s; }
.bb-card:hover { border-color: var(--bb-line-2); transform: translateY(-4px); }
.bb-card:hover::before { opacity: 1; }
.bb-card h3 { margin-bottom: .45em; }
.bb-card p { color: var(--bb-muted); font-size: .97rem; margin-bottom: 1.3em; }
.bb-card p:last-child { margin-top: auto; margin-bottom: 0; }
.bb-card .bb-num { font-family: var(--bb-font-head); font-size: .8rem; color: var(--bb-mint); letter-spacing: .1em; margin-bottom: 26px; display: block; }
.bb-card a.bb-more, .bb-card .bb-more a, body.bb-site .bb-card .bb-more a { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; color: var(--bb-cream); text-decoration: none; }
.bb-card .bb-more a::after { content: '→'; transition: transform .4s var(--bb-ease); }
.bb-card:hover .bb-more a::after { transform: translateX(5px); }
.bb-card .bb-more a::before { content: ''; position: absolute; inset: 0; z-index: 1; }
.bb-icon { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: rgba(247, 249, 191, .08); border: 1px solid var(--bb-line-2); color: var(--bb-mint); margin-bottom: 22px; }
.bb-icon svg { width: 22px; height: 22px; }

/* ---------- Werkwijze: horizontaal scrollen (desktop) ---------- */
.bb-process { position: relative; }
.bb-process__steps { display: grid; gap: 16px; counter-reset: step; list-style: none; padding: 0; margin: 0; }
.bb-step-card { position: relative; padding: 32px 28px; border-radius: var(--bb-radius); background: var(--bb-bg-3); border: 1px solid var(--bb-line); }
.bb-step-card .bb-step-no { font-family: var(--bb-font-head); font-size: clamp(3.5rem, 7vw, 6rem); font-weight: 600; line-height: 1; letter-spacing: -.05em; background: var(--bb-grad); -webkit-background-clip: text; background-clip: text; color: transparent; opacity: .9; display: block; margin-bottom: 18px; }
.bb-step-card h3 { margin-bottom: .4em; }
.bb-step-card p { color: var(--bb-muted); margin: 0; }
.bb-process__bar { display: none; }

@media (min-width: 1024px) {
	.bb-process.is-pinned { height: var(--bb-pin-h, 300vh); padding: 0; }
	.bb-process.is-pinned .bb-process__sticky { position: sticky; top: 0; height: 100vh; overflow: hidden; display: flex; flex-direction: column; justify-content: center; padding: 90px var(--bb-gutter) 40px; }
	.bb-process.is-pinned .bb-process__steps { display: flex; gap: 24px; width: max-content; will-change: transform; padding-left: max(0px, calc((100vw - var(--bb-max)) / 2 - var(--bb-gutter))); }
	.bb-process.is-pinned .bb-step-card { width: min(42vw, 520px); min-height: 360px; padding: 44px 40px; display: flex; flex-direction: column; justify-content: flex-end; }
	.bb-process.is-pinned .bb-process__bar { display: block; position: relative; height: 2px; background: var(--bb-line); margin: 40px auto 0; width: 100%; max-width: var(--bb-max); border-radius: 2px; overflow: hidden; }
	.bb-process.is-pinned .bb-process__bar span { position: absolute; inset: 0; background: var(--bb-grad); transform-origin: left; transform: scaleX(var(--p, 0)); }
	.bb-process.is-pinned .bb-head { margin-bottom: 40px; width: 100%; max-width: var(--bb-max); margin-left: auto; margin-right: auto; }
}

/* ---------- AI-terminal ---------- */
.bb-terminal { border-radius: var(--bb-radius); background: #0a1d1f; border: 1px solid var(--bb-line); box-shadow: 0 40px 120px -40px rgba(247, 249, 191, .25); overflow: hidden; font-family: ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace; font-size: .88rem; }
.bb-terminal__bar { display: flex; gap: 7px; padding: 14px 16px; border-bottom: 1px solid var(--bb-line); }
.bb-terminal__bar i { width: 11px; height: 11px; border-radius: 50%; background: var(--bb-line); }
.bb-terminal__bar i:first-child { background: var(--bb-mint); }
.bb-terminal__body { padding: 22px 20px 26px; min-height: 260px; color: var(--bb-muted); }
.bb-terminal__body p { margin: 0 0 .55em; white-space: pre-wrap; }
.bb-terminal__body .ok { color: var(--bb-mint); }
.bb-terminal__body .hl { color: var(--bb-cream); }
.bb-caret { display: inline-block; width: 8px; height: 1.05em; background: var(--bb-mint); vertical-align: -2px; animation: bb-blink 1s steps(1) infinite; }
@keyframes bb-blink { 50% { opacity: 0; } }

/* ---------- Checklist ---------- */
body.bb-site .bb-check-list, .bb-check-list { list-style: none; padding: 0; margin: 1.6rem 0 0; display: grid; gap: 12px; }
.bb-check-list li { position: relative; padding-left: 34px; }
.bb-check-list li::before { content: ''; position: absolute; left: 0; top: .3em; width: 20px; height: 20px; border-radius: 50%; background: rgba(247, 249, 191, .12) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.5l2.6 2.6L14 7.5' fill='none' stroke='%23f7f9bf' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat; border: 1px solid var(--bb-line-2); }

/* ---------- Over mij ---------- */
.bb-about__photo { position: relative; width: min(70vw, 300px); aspect-ratio: 1; margin: 0 auto; }
.bb-about__photo .bb-portrait img, .bb-about__photo img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 1px var(--bb-line-2), 0 30px 90px -30px rgba(247, 249, 191, .5); }
.bb-about__photo::before { content: ''; position: absolute; inset: -14px; border-radius: 50%; border: 1px dashed rgba(247, 249, 191, .3); animation: bb-spin 50s linear infinite; }
.bb-facts, body.bb-site .bb-facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 2rem; }
.bb-fact, body.bb-site .wp-block-group.bb-fact { padding: 20px; border-radius: var(--bb-radius-sm); border: 1px solid var(--bb-line); background: var(--bb-surface); margin: 0 !important; }
.bb-fact p { margin: 0; color: var(--bb-muted); font-size: .9rem; line-height: 1.45; }
.bb-fact p.bb-fact__num { font-family: var(--bb-font-head); font-size: clamp(1.6rem, 3vw, 2.2rem); color: var(--bb-cream); letter-spacing: -.03em; margin-bottom: 4px; line-height: 1.1; }

/* ---------- FAQ ---------- */
body.bb-site .bb-faq { max-width: 860px; }
body.bb-site .wp-block-details { border-bottom: 1px solid var(--bb-line); padding: 0; margin: 0; }
body.bb-site .wp-block-details summary {
	position: relative; list-style: none; cursor: pointer;
	padding: 24px 56px 24px 0;
	font-family: var(--bb-font-head); font-size: clamp(1.05rem, 1.4vw, 1.25rem); font-weight: 500; color: var(--bb-cream); letter-spacing: -.015em;
}
body.bb-site .wp-block-details summary::-webkit-details-marker { display: none; }
body.bb-site .wp-block-details summary::after {
	content: ''; position: absolute; right: 4px; top: 50%; width: 34px; height: 34px; margin-top: -17px; border-radius: 50%;
	border: 1px solid var(--bb-line);
	background: linear-gradient(var(--bb-mint), var(--bb-mint)) center/12px 1.5px no-repeat, linear-gradient(var(--bb-mint), var(--bb-mint)) center/1.5px 12px no-repeat;
	transition: transform .5s var(--bb-ease), background-color .3s;
}
body.bb-site .wp-block-details[open] summary::after { transform: rotate(135deg); background-color: rgba(247, 249, 191, .08); }
body.bb-site .wp-block-details > :not(summary) { color: var(--bb-muted); padding-right: 56px; }
body.bb-site .wp-block-details > p:last-child { padding-bottom: 24px; margin: 0; }
.bb-js body.bb-site .wp-block-details .bb-acc { overflow: hidden; }

/* ---------- Content-pagina's (diensten, juridisch) ---------- */
.bb-page-hero, body.bb-site .wp-block-group.bb-page-hero { position: relative; isolation: isolate; overflow: hidden; padding: clamp(112px, 14vw, 170px) var(--bb-gutter) clamp(44px, 6vw, 80px); }
.bb-page-hero > :not(.bb-aurora):not(.bb-grid-bg):not(.bb-arcs):not(.bb-glow) { position: relative; z-index: 2; max-width: var(--bb-max); margin-left: auto; margin-right: auto; }
.bb-page-hero h1 { font-size: clamp(2.3rem, 6vw, 4.6rem); max-width: 16ch; }
.bb-breadcrumb, body.bb-site .bb-breadcrumb { font-size: .85rem; color: var(--bb-muted); margin-bottom: 1.6rem; }
.bb-breadcrumb a { color: var(--bb-muted) !important; text-decoration: none; }
.bb-breadcrumb a:hover { color: var(--bb-cream) !important; }

.bb-prose, body.bb-site .bb-prose { max-width: 760px; }
.bb-prose h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); margin-top: 1.6em; }
.bb-prose h3 { margin-top: 1.4em; }
.bb-prose ul, .bb-prose ol { padding-left: 1.2em; margin: 0 0 1.2em; }
.bb-prose li { margin-bottom: .4em; }
.bb-prose li::marker { color: var(--bb-mint); }
.bb-legal h2 { font-size: clamp(1.3rem, 2.2vw, 1.7rem); }

.bb-split-cols, body.bb-site .bb-split-cols { display: grid; gap: clamp(32px, 5vw, 80px); }
body.bb-site .bb-split-cols > *, .bb-hero__inner > * { min-width: 0; }
@media (min-width: 960px) { .bb-split-cols, body.bb-site .bb-split-cols { grid-template-columns: 1fr 1fr; align-items: start; } .bb-sticky { position: sticky; top: 120px; } }

.bb-panel, body.bb-site .wp-block-group.bb-panel { padding: clamp(28px, 4vw, 48px); border-radius: var(--bb-radius); background: var(--bb-surface); border: 1px solid var(--bb-line); }
.bb-cta-band, body.bb-site .wp-block-group.bb-cta-band {
	position: relative; overflow: hidden; isolation: isolate;
	max-width: var(--bb-max); margin: 0 auto;
	padding: clamp(40px, 7vw, 80px) clamp(24px, 6vw, 80px);
	border-radius: calc(var(--bb-radius) + 10px);
	background: radial-gradient(120% 140% at 0% 0%, rgba(41, 108, 113, .7), transparent 55%), radial-gradient(100% 120% at 100% 100%, rgba(247, 249, 191, .2), transparent 55%), var(--bb-bg-3);
	border: 1px solid var(--bb-line-2);
}
.bb-cta-band h2 { max-width: 18ch; }

/* ---------- Formulier ---------- */
.bb-form { position: relative; padding: clamp(24px, 4vw, 44px); border-radius: calc(var(--bb-radius) + 6px); background: linear-gradient(180deg, rgba(20, 55, 57, .9), rgba(15, 43, 45, .9)); border: 1px solid var(--bb-line); box-shadow: 0 50px 120px -50px rgba(247, 249, 191, .35); }
.bb-form__progress { height: 4px; border-radius: 4px; background: var(--bb-line); overflow: hidden; margin-bottom: 14px; }
.bb-form__bar { display: block; height: 100%; width: 25%; background: var(--bb-grad); border-radius: inherit; transition: width .7s var(--bb-ease); }
.bb-form__count { font-family: var(--bb-font-head); font-size: .8rem; color: var(--bb-muted); letter-spacing: .1em; margin: 0 0 18px !important; }
.bb-form fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.bb-step.is-active { animation: bb-step-in .6s var(--bb-ease) both; }
.bb-step.is-back { animation-name: bb-step-back; }
@keyframes bb-step-in { from { opacity: 0; transform: translateX(28px); } to { opacity: 1; transform: none; } }
@keyframes bb-step-back { from { opacity: 0; transform: translateX(-28px); } to { opacity: 1; transform: none; } }
.bb-step__title { font-family: var(--bb-font-head); font-size: clamp(1.35rem, 2.4vw, 1.8rem); font-weight: 600; letter-spacing: -.02em; color: var(--bb-cream); padding: 0; margin: 0 0 .4em; line-height: 1.2; }
.bb-step__hint, .bb-step__sub { color: var(--bb-muted); font-size: .95rem; margin: 0 0 1.1em !important; }
.bb-step__sub { margin-top: 1.6em !important; color: var(--bb-text); }

.bb-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.bb-chip, .bb-card-opt { position: relative; cursor: pointer; }
.bb-chip input, .bb-card-opt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.bb-chip span {
	display: inline-flex; align-items: center; gap: 8px;
	padding: 11px 18px; border-radius: 999px;
	border: 1px solid var(--bb-line); background: var(--bb-surface);
	color: var(--bb-text); font-size: .95rem;
	transition: background .3s, border-color .3s, color .3s, transform .35s var(--bb-ease);
	user-select: none;
}
.bb-chip span::before { content: '+'; font-family: var(--bb-font-head); color: var(--bb-mint); transition: transform .4s var(--bb-ease); }
.bb-chip:hover span { border-color: var(--bb-line-2); }
.bb-chip input:checked + span { background: var(--bb-mint); color: var(--bb-bg); border-color: var(--bb-mint); transform: scale(1.03); }
.bb-chip input:checked + span::before { content: '✓'; color: var(--bb-bg); transform: rotate(360deg); }
.bb-chip input:focus-visible + span, .bb-card-opt input:focus-visible + span { outline: 2px solid var(--bb-mint); outline-offset: 3px; }

.bb-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.bb-card-opt span { display: flex; align-items: center; min-height: 58px; padding: 14px 16px; border-radius: var(--bb-radius-sm); border: 1px solid var(--bb-line); background: var(--bb-surface); font-size: .95rem; line-height: 1.3; transition: border-color .3s, background .3s, box-shadow .3s; }
.bb-card-opt:hover span { border-color: var(--bb-line-2); }
.bb-card-opt input:checked + span { border-color: var(--bb-mint); background: rgba(247, 249, 191, .1); box-shadow: inset 0 0 0 1px var(--bb-mint); color: var(--bb-cream); }

.bb-field { position: relative; margin-bottom: 14px; }
.bb-field input, .bb-field textarea {
	width: 100%; display: block;
	padding: 26px 18px 10px; min-height: 60px;
	border-radius: var(--bb-radius-sm);
	border: 1px solid var(--bb-line); background: rgba(12, 34, 36, .6);
	color: var(--bb-cream); font: inherit; font-size: 1rem;
	transition: border-color .3s, box-shadow .3s;
	-webkit-appearance: none; appearance: none;
}
.bb-field textarea { resize: vertical; min-height: 110px; }
.bb-field label { position: absolute; left: 19px; top: 18px; color: var(--bb-muted); font-size: 1rem; pointer-events: none; transform-origin: left top; transition: transform .35s var(--bb-ease), color .3s; }
.bb-field input:focus, .bb-field textarea:focus { outline: none; border-color: var(--bb-mint); box-shadow: 0 0 0 4px rgba(247, 249, 191, .12); }
.bb-field input:focus + label, .bb-field input:not(:placeholder-shown) + label,
.bb-field textarea:focus + label, .bb-field textarea:not(:placeholder-shown) + label { transform: translateY(-11px) scale(.76); color: var(--bb-mint); }
.bb-field.is-invalid input { border-color: #ff8f8f; }

.bb-consent { display: flex; gap: 12px; align-items: flex-start; font-size: .88rem; color: var(--bb-muted); line-height: 1.5; margin-top: 6px; cursor: pointer; }
.bb-consent input { flex: none; width: 20px; height: 20px; margin-top: 2px; accent-color: var(--bb-mint); }
.bb-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.bb-error { color: #ffb0b0; font-size: .9rem; margin: 12px 0 0 !important; }
.bb-shake { animation: bb-shake .45s; }
@keyframes bb-shake { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }

.bb-form__nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 28px; }
.bb-form__nav [data-next], .bb-form__nav [data-submit] { margin-left: auto; }
.bb-form__nav .bb-btn[disabled] { opacity: .6; pointer-events: none; }
.bb-form.is-sending [data-submit] span { display: inline-block; animation: bb-spin 1s linear infinite; }
.bb-form__done { text-align: center; padding: 30px 0 10px; animation: bb-step-in .7s var(--bb-ease) both; }
.bb-form__done:focus { outline: none; }
.bb-form__done p { color: var(--bb-muted); max-width: 40ch; margin-left: auto; margin-right: auto; }
.bb-check { width: 84px; height: 84px; margin: 0 auto 18px; display: block; }
.bb-check circle { fill: none; stroke: var(--bb-mint); stroke-width: 2; stroke-dasharray: 151; stroke-dashoffset: 151; animation: bb-draw .8s var(--bb-ease) forwards; }
.bb-check path { fill: none; stroke: var(--bb-mint); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 40; stroke-dashoffset: 40; animation: bb-draw .5s .6s var(--bb-ease) forwards; }
@keyframes bb-draw { to { stroke-dashoffset: 0; } }
.bb-form__fail { color: #ffb0b0; margin-top: 16px !important; }
.bb-burst { position: fixed; pointer-events: none; z-index: 9998; width: 8px; height: 8px; border-radius: 2px; }

/* ---------- Footer ---------- */
.bb-footer { position: relative; overflow: hidden; padding: var(--bb-section) var(--bb-gutter) 28px; border-top: 1px solid var(--bb-line); background: radial-gradient(80% 60% at 50% 0%, rgba(41, 108, 113, .35), transparent 70%), var(--bb-bg); }
.bb-footer__cta { max-width: var(--bb-max); margin: 0 auto clamp(56px, 9vw, 110px); }
.bb-footer__big { display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: 0 .25em; font-family: var(--bb-font-head); font-size: clamp(2.6rem, 9vw, 7.6rem); font-weight: 600; letter-spacing: -.05em; line-height: 1; color: var(--bb-cream) !important; text-decoration: none !important; }
.bb-footer__arrow { display: inline-block; color: var(--bb-mint); transition: transform .6s var(--bb-ease); }
.bb-footer__big:hover .bb-footer__arrow { transform: translate(8px, -8px) rotate(8deg); }
.bb-footer__mail { display: inline-block; margin-top: 28px; font-family: var(--bb-font-head); font-size: clamp(1.1rem, 2vw, 1.5rem); color: var(--bb-text) !important; text-decoration: none; border-bottom: 1px solid var(--bb-line-2); padding-bottom: 4px; }
.bb-footer__mail:hover { color: var(--bb-mint) !important; }
.bb-footer__grid { max-width: var(--bb-max); margin: 0 auto; display: grid; gap: 36px; padding-top: 44px; border-top: 1px solid var(--bb-line); }
@media (min-width: 760px) { .bb-footer__grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; } }
.bb-footer__about p { color: var(--bb-muted); font-size: .92rem; max-width: 38ch; margin: 18px 0 14px; }
.bb-footer__title { font-family: var(--bb-font-head); font-size: .78rem !important; letter-spacing: .16em; text-transform: uppercase; color: var(--bb-mint); margin-bottom: 14px !important; }
.bb-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: .93rem; color: var(--bb-muted); }
.bb-footer ul a, .bb-footer__social { color: var(--bb-text) !important; text-decoration: none; }
.bb-footer ul a:hover, .bb-footer__social:hover { color: var(--bb-mint) !important; }
.bb-footer__bottom { max-width: var(--bb-max); margin: 48px auto 0; display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: .8rem; color: var(--bb-muted); }

/* ---------- Kadence-reset ---------- */
body.bb-site .site-header, body.bb-site .site-footer { display: none; }
body.bb-site .entry-content-wrap { padding: 0; }
body.bb-site .wp-block-group.is-layout-constrained > * { margin-left: auto; margin-right: auto; }
body.bb-site .bb-main > .wp-block-group { margin-top: 0; margin-bottom: 0; }

/* ---------- Complianz-banner in huisstijl ---------- */
body.bb-site .cmplz-cookiebanner { font-family: var(--bb-font-body) !important; }

/* ---------- Minder beweging ---------- */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
	.bb-js [data-reveal], .bb-js .bb-reveal, .bb-js .bb-reveal-scale, .bb-split .bb-w > span { opacity: 1 !important; transform: none !important; }
	.bb-statement .bb-fade-w { opacity: 1; }
}
.screen-reader-text{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}

.bb-center .bb-eyebrow, .bb-head.bb-center .bb-eyebrow { justify-content: center; }
.bb-form__done:focus, .bb-form__done:focus-visible { outline: none; }
.bb-form__done .bb-step__title { color: var(--bb-cream); max-width: none; }
.bb-check-list + p, .bb-check-list + .wp-block-paragraph { margin-top: 1.4rem; }
@media (min-width: 1024px) { .bb-process.is-pinned .bb-process__sticky { max-width: none; } }

/* ==========================================================================
   Merkelementen (v2)
   ========================================================================== */
body.bb-site h1 em, body.bb-site h2 em, body.bb-site h3 em, .bb-footer__big em {
	font-family: 'Instrument Serif', Georgia, serif;
	font-style: italic; font-weight: 400;
	letter-spacing: -.01em;
	color: var(--bb-mint);
}
body.bb-site h1 em { display: inline; font-size: 1.06em; line-height: .95; }

.bb-glow { position: absolute; inset: 0; z-index: 0; pointer-events: none;
	background: radial-gradient(60% 70% at 85% 20%, rgba(41, 108, 113, .45), transparent 70%), radial-gradient(40% 50% at 0% 100%, rgba(41, 108, 113, .18), transparent 70%); }

.bb-hero-mono { position: absolute; z-index: 0; pointer-events: none; color: rgba(247, 249, 191, .07);
	width: min(1100px, 120vw); right: -22vw; top: 50%; transform: translateY(-50%); }
.bb-hero .bb-hero-mono { right: -30vw; width: min(1300px, 150vw); color: rgba(247, 249, 191, .06); }
.bb-page-hero .bb-hero-mono { width: min(780px, 110vw); right: -16vw; top: 58%; }
.bb-mono { display: block; width: 100%; height: auto; overflow: visible; }
.bb-mono path { vector-effect: non-scaling-stroke; stroke-width: 1.2px; }
@media (min-width: 960px) { .bb-hero .bb-hero-mono { right: -8vw; width: 900px; } }

/* Portret */
.bb-portrait-card { position: relative; margin: 0 auto; width: min(78vw, 360px); }
.bb-portrait-card__img { position: relative; aspect-ratio: 1; border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 1px var(--bb-line-2), 0 40px 120px -40px rgba(247, 249, 191, .45); }
.bb-portrait-card__img img, .bb-portrait-card__img picture { display: block; width: 100%; height: 100%; object-fit: cover; }
.bb-portrait-card::before { content: ''; position: absolute; inset: -18px; border-radius: 50%; border: 1px solid var(--bb-line); }
.bb-portrait-card figcaption { margin-top: 28px; text-align: center; font-size: .88rem; color: var(--bb-muted); line-height: 1.5; }
.bb-portrait-card figcaption strong { display: block; font-family: var(--bb-font-head); font-size: 1rem; color: var(--bb-cream); font-weight: 600; }

/* Dienstenindex */
.bb-index { list-style: none; margin: 0 auto; padding: 0; max-width: var(--bb-max); border-top: 1px solid var(--bb-line); }
.bb-row { border-bottom: 1px solid var(--bb-line); }
.bb-row a {
	position: relative; display: grid; grid-template-columns: 44px 1fr 28px; gap: 6px 16px; align-items: baseline;
	padding: 26px 0; text-decoration: none !important; color: inherit !important; isolation: isolate;
}
.bb-row a::before { content: ''; position: absolute; inset: 0 -16px; z-index: -1; background: var(--bb-surface-2); border-radius: 14px; opacity: 0; transform: scaleY(.6); transition: opacity .35s, transform .5s var(--bb-ease); }
.bb-row__no { font-family: var(--bb-font-head); font-size: .8rem; color: var(--bb-mint); letter-spacing: .08em; }
.bb-row__title { font-family: var(--bb-font-head); font-size: clamp(1.35rem, 3vw, 2.3rem); font-weight: 500; letter-spacing: -.03em; color: var(--bb-cream); line-height: 1.15; transition: transform .5s var(--bb-ease), color .3s; }
.bb-row__text { grid-column: 2 / 3; color: var(--bb-muted); font-size: .95rem; line-height: 1.55; max-width: 52ch; }
.bb-row__arrow { grid-row: 1; grid-column: 3; justify-self: end; font-size: 1.4rem; color: var(--bb-mint); transition: transform .5s var(--bb-ease); }
.bb-row a:hover::before, .bb-row a:focus-visible::before { opacity: 1; transform: none; }
.bb-row a:hover .bb-row__title { transform: translateX(8px); color: var(--bb-mint); }
.bb-row a:hover .bb-row__arrow { transform: translateX(6px) rotate(-45deg); }
@media (min-width: 900px) {
	.bb-row a { grid-template-columns: 70px minmax(0, 1.1fr) minmax(0, 1fr) 40px; padding: 34px 0; align-items: center; }
	.bb-row__text { grid-column: 3; }
	.bb-row__arrow { grid-column: 4; grid-row: 1; }
}

/* Statement klein */
body.bb-site .bb-statement--sm { font-size: clamp(1.25rem, 2.4vw, 1.9rem); max-width: 34ch; }

/* Over mij */
.bb-about .bb-fact { background: transparent; border: 0; border-top: 1px solid var(--bb-line); border-radius: 0; padding: 16px 0 0; }

/* Hero tekst */
.bb-hero__text .bb-lead { max-width: 52ch; }
@media (min-width: 960px) { body.bb-site .bb-hero h1 { font-size: clamp(3rem, 5.4vw, 5rem); } }
.bb-footer__big em { font-size: 1.08em; }

/* ==========================================================================
   Huisstijl Bert Bossier (petrol #296C71, crème #F7F9BF, Poppins + serif)
   ========================================================================== */
body.bb-site { font-weight: 300; }
body.bb-site strong, body.bb-site b { font-weight: 500; }
body.bb-site h1, body.bb-site h2, body.bb-site h3, body.bb-site h4 { font-weight: 600; letter-spacing: -.025em; }
body.bb-site h1 { letter-spacing: -.035em; }
body.bb-site h1 em, body.bb-site h2 em, body.bb-site h3 em, .bb-footer__big em {
	font-family: 'Brand Serif', Georgia, serif; font-style: normal; font-weight: 400; letter-spacing: -.01em; color: var(--bb-cream);
}
.bb-eyebrow, body.bb-site .bb-eyebrow { color: var(--bb-tint); font-family: var(--bb-font-body); font-weight: 500; }
.bb-row__no, .bb-card .bb-num, .bb-form__count { color: var(--bb-tint); }
.bb-lead, body.bb-site .bb-lead { font-weight: 300; }

/* Knoppen: crème met petrol tekst, hover petrol */
.bb-btn, body.bb-site .wp-block-button.is-style-bb .wp-block-button__link { background: var(--bb-cream); color: #1d4f53 !important; font-weight: 500; }
.bb-btn::before, body.bb-site .wp-block-button.is-style-bb .wp-block-button__link::before { background: var(--bb-teal); }
.bb-btn:hover, body.bb-site .wp-block-button.is-style-bb .wp-block-button__link:hover { color: var(--bb-cream) !important; box-shadow: 0 0 0 1px var(--bb-line-2); }
.bb-btn--ghost::before { background: var(--bb-surface-2); }

/* Werkwijze-kaarten in petrol zoals de cover */
.bb-step-card { background: var(--bb-teal); border-color: transparent; overflow: hidden; }
.bb-step-card p { color: rgba(247, 249, 191, .82); }
.bb-step-card .bb-step-no { background: none; -webkit-background-clip: initial; background-clip: initial; color: var(--bb-cream); font-weight: 300; opacity: 1; }
.bb-step-card::after { content: ''; position: absolute; right: -90px; top: -90px; width: 220px; height: 220px; border-radius: 50%; border: 22px solid var(--bb-teal-2); filter: brightness(1.08); pointer-events: none; }
.bb-process__bar span { background: var(--bb-cream); }

/* Bogen uit de huisstijl */
.bb-arcs { position: absolute; z-index: 0; pointer-events: none; color: var(--bb-teal-2); opacity: .55; }
.bb-arcs svg { display: block; width: 100%; height: auto; }
.bb-hero .bb-arcs { right: -38vmin; top: 50%; width: 120vmin; transform: translateY(-50%); }
.bb-page-hero .bb-arcs { right: -30vmin; top: -20vmin; width: 90vmin; opacity: .4; }
.bb-cta-band .bb-arcs, .bb-footer .bb-arcs { right: -20%; bottom: -60%; width: 70%; opacity: .5; }
.bb-hero-mono { display: none; }

/* Hero-merk */
.bb-hero-mark { position: relative; width: min(64vw, 380px); margin: 0 auto; }
.bb-hero-mark svg { display: block; width: 100%; height: auto; filter: drop-shadow(0 40px 80px rgba(0, 0, 0, .35)); }
.bb-hero-mark::before { content: ''; position: absolute; inset: -9%; border-radius: 50%; border: 1px solid var(--bb-line); }
.bb-hero-mark::after { content: ''; position: absolute; inset: -20%; border-radius: 50%; border: 1px dashed rgba(247, 249, 191, .12); animation: bb-spin 80s linear infinite; }

/* Header-merk */
.bb-brand svg.bb-logo-mark { flex: none; }
.bb-brand .bb-wordmark { display: block; width: 128px; height: auto; color: var(--bb-cream); }
.bb-brand__text { gap: 3px; }
.bb-brand__text small { font-weight: 300; letter-spacing: .02em; }

/* Over mij: kleine foto */
.bb-about__photo { width: min(46vw, 200px); }

/* CTA-band in petrol */
.bb-cta-band, body.bb-site .wp-block-group.bb-cta-band { background: var(--bb-teal); border-color: transparent; }
.bb-cta-band .bb-lead { color: rgba(247, 249, 191, .85) !important; }
.bb-cta-band .bb-btn--ghost, body.bb-site .bb-cta-band .wp-block-button.is-style-bb-ghost .wp-block-button__link { box-shadow: inset 0 0 0 1px rgba(247, 249, 191, .5); }

/* Advieslijst */
.bb-tips, body.bb-site .bb-tips { counter-reset: tip; list-style: none; padding: 0; margin: 0 auto; max-width: var(--bb-max); display: grid; gap: 14px; }
.bb-tips li { counter-increment: tip; position: relative; padding: 22px 22px 22px 70px; border: 1px solid var(--bb-line); border-radius: var(--bb-radius-sm); background: var(--bb-surface); }
.bb-tips li::before { content: counter(tip, decimal-leading-zero); position: absolute; left: 22px; top: 21px; font-weight: 500; color: var(--bb-tint); }
.bb-tips li strong { display: block; color: var(--bb-cream); margin-bottom: 4px; }
@media (min-width: 900px) { .bb-tips, body.bb-site .bb-tips { grid-template-columns: 1fr 1fr; } }

/* Complianz-banner in huisstijl */
body.bb-site .cmplz-cookiebanner { --cmplz_banner_background_color: #0f2b2d; --cmplz_banner_border_color: rgba(247, 249, 191, .2); --cmplz_text_color: #e6ebd8; --cmplz_hyperlink_color: #f7f9bf; --cmplz_button_accept_background_color: #f7f9bf; --cmplz_button_accept_border_color: #f7f9bf; --cmplz_button_accept_text_color: #1d4f53; --cmplz_button_deny_background_color: transparent; --cmplz_button_deny_border_color: rgba(247, 249, 191, .4); --cmplz_button_deny_text_color: #f7f9bf; --cmplz_button_settings_background_color: transparent; --cmplz_button_settings_border_color: rgba(247, 249, 191, .4); --cmplz_button_settings_text_color: #f7f9bf; --cmplz_slider_active_color: #296c71; --cmplz_category_header_always_active_color: #8fc2bf; --cmplz_button_border_radius: 999px; --cmplz_banner_border_radius: 18px; }
body.bb-site .cmplz-cookiebanner .cmplz-title, body.bb-site .cmplz-cookiebanner .cmplz-category-title { color: #f7f9bf; }

body.bb-site .cmplz-manage-consent { background: #0f2b2d !important; color: #f7f9bf !important; border: 1px solid rgba(247, 249, 191, .25) !important; font-family: var(--bb-font-body) !important; }
.bb-cta-band > :not(.bb-arcs) { position: relative; z-index: 1; }
.bb-step-card > * { position: relative; z-index: 1; }
.bb-step-card::after { z-index: 0; }
@media (max-width: 959px) { .bb-scrollcue { display: none; } .bb-hero { min-height: auto; padding-top: 110px; } }

/* ==========================================================================
   App-look: volledig klikbare tegels
   ========================================================================== */
.bb-tiles { list-style: none; margin: 0 auto; padding: 0; max-width: var(--bb-max); display: grid; gap: 12px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .bb-tiles { grid-template-columns: repeat(2, 1fr); gap: 14px; } }
@media (min-width: 1024px) { .bb-tiles { grid-template-columns: repeat(3, 1fr); gap: 16px; } .bb-tile--wide { grid-column: span 2; } .bb-tiles--compact { grid-template-columns: repeat(4, 1fr); } }
.bb-tile a {
	position: relative; display: flex; flex-direction: column; gap: 8px; height: 100%;
	min-height: 168px; padding: 22px 64px 22px 22px;
	border-radius: 24px; background: var(--bb-surface); border: 1px solid var(--bb-line);
	color: var(--bb-text) !important; text-decoration: none !important;
	transition: transform .45s var(--bb-ease), background .3s, border-color .3s, box-shadow .45s var(--bb-ease);
	-webkit-tap-highlight-color: transparent;
}
.bb-tile a:hover, .bb-tile a:focus-visible { background: var(--bb-surface-2); border-color: var(--bb-line-2); transform: translateY(-3px); box-shadow: 0 24px 50px -24px rgba(0, 0, 0, .6); }
.bb-tile a:active { transform: scale(.985); }
.bb-tile__icon { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: var(--bb-teal); color: var(--bb-cream); margin-bottom: 8px; }
.bb-tile__icon svg { width: 22px; height: 22px; }
.bb-tile__label { font-size: .72rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--bb-tint); }
.bb-tile__title { font-size: clamp(1.08rem, 1.4vw, 1.25rem); font-weight: 600; line-height: 1.25; letter-spacing: -.015em; color: var(--bb-cream); }
.bb-tile__text { font-size: .93rem; line-height: 1.55; color: var(--bb-muted); }
.bb-tile__go { position: absolute; right: 18px; top: 18px; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--bb-cream); color: #1d4f53; transition: transform .45s var(--bb-ease); }
.bb-tile__go svg { width: 18px; height: 18px; }
.bb-tile a:hover .bb-tile__go { transform: rotate(45deg); }
.bb-tile--wide a { background: var(--bb-teal); border-color: transparent; }
.bb-tile--wide a:hover { background: var(--bb-teal-2); }
.bb-tile--wide .bb-tile__icon { background: var(--bb-cream); color: var(--bb-teal); }
.bb-tile--wide .bb-tile__text { color: rgba(247, 249, 191, .85); }
.bb-tiles--compact .bb-tile a { min-height: 120px; }
.bb-tiles--needs .bb-tile__label { display: none; }
.bb-index { display: none; }

/* Alle gemeenten */
.bb-munis { list-style: none; margin: 0 auto; padding: 0; max-width: var(--bb-max); display: flex; flex-wrap: wrap; gap: 8px; }
.bb-munis li { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--bb-line); font-size: .9rem; color: var(--bb-muted); }
.bb-munis li a { color: var(--bb-cream) !important; text-decoration: none; font-weight: 500; }
.bb-munis li:has(a) { border-color: var(--bb-line-2); background: var(--bb-surface-2); }

/* Submenu sectoren */
.bb-sub--grid { width: 440px; display: grid; grid-template-columns: 1fr 1fr; }

/* Mobiel menu sectoren */
.bb-mobile__sectors { display: flex; flex-wrap: wrap; gap: 8px; }
.bb-mobile__sectors a { display: inline-block; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--bb-line); color: var(--bb-cream) !important; text-decoration: none; font-size: .92rem; }

/* App-balk onderaan op gsm */
.bb-appbar { display: none; }
@media (max-width: 759px) {
	.bb-appbar {
		position: fixed; z-index: 85; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom));
		display: flex; align-items: center; gap: 6px; padding: 6px;
		border-radius: 22px; background: rgba(15, 43, 45, .92); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
		border: 1px solid var(--bb-line); box-shadow: 0 16px 40px -10px rgba(0, 0, 0, .6);
		transform: translateY(140%); transition: transform .5s var(--bb-ease);
	}
	.bb-appbar.is-visible { transform: none; }
	.bb-appbar__item { flex: none; width: 58px; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 6px 0; color: var(--bb-text) !important; text-decoration: none; font-size: .68rem; }
	.bb-appbar__item svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; }
	.bb-appbar__cta { flex: 1; display: grid; place-items: center; min-height: 48px; border-radius: 16px; background: var(--bb-cream); color: #1d4f53 !important; font-weight: 600; text-decoration: none; font-size: .95rem; }
	body.bb-site { padding-bottom: 84px; }
	.cmplz-cookiebanner { bottom: 90px !important; }
}

/* Slepen en swipen */
.bb-marquee { cursor: grab; touch-action: pan-y; user-select: none; }
.bb-marquee.is-dragging { cursor: grabbing; }
.bb-process__steps { user-select: none; }
.bb-process.is-dragging .bb-process__steps { cursor: grabbing; }
@media (max-width: 1023px) {
	.bb-process__steps { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; padding: 4px var(--bb-gutter) 8px; margin: 0 calc(var(--bb-gutter) * -1); scrollbar-width: none; -webkit-overflow-scrolling: touch; }
	.bb-process__steps::-webkit-scrollbar { display: none; }
	.bb-step-card { flex: 0 0 min(84vw, 420px); scroll-snap-align: start; min-height: 280px; display: flex; flex-direction: column; justify-content: flex-end; }
	.bb-process__bar { display: block; position: relative; height: 3px; background: var(--bb-line); margin-top: 22px; border-radius: 3px; overflow: hidden; }
	.bb-process__bar span { position: absolute; inset: 0; background: var(--bb-cream); transform-origin: left; transform: scaleX(calc(.25 + var(--p, 0) * .75)); transition: transform .2s; }
	.bb-process .bb-head::after { content: 'Swipe om alle stappen te zien →'; display: block; margin-top: 8px; font-size: .85rem; color: var(--bb-muted); }
}
@media (min-width: 1024px) { .bb-process.is-pinned .bb-process__steps { cursor: grab; } }

/* Handleidingen */
.bb-article__meta { font-size: .88rem; color: var(--bb-muted); margin-top: 1rem !important; }
.bb-article__body .bb-prose { margin: 0 auto; font-size: 1.05rem; }
.bb-prose h2 { margin-top: 2em; }
.bb-prose a { color: var(--bb-cream); }
.bb-prose ol li::marker { color: var(--bb-tint); font-weight: 500; }
body.bb-site .bb-note { padding: 18px 20px; border-radius: 16px; background: var(--bb-teal); color: var(--bb-cream); font-weight: 400; }
.bb-article .bb-page-hero h1 { max-width: 22ch; font-size: clamp(2rem, 4.6vw, 3.6rem); }
.bb-tiles--posts .bb-tile a { min-height: 210px; }

/* ==========================================================================
   Portret (uitgeknipt)
   ========================================================================== */
.bb-hero-portrait { position: relative; margin: 0 auto; width: min(86vw, 520px); }
.bb-hero-portrait__disc { position: absolute; left: 8%; right: 8%; bottom: 0; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 50% 40%, #fbfcd8, var(--bb-cream) 60%); box-shadow: 0 40px 120px -40px rgba(0, 0, 0, .55); }
.bb-hero-portrait__img { position: relative; display: block; width: 100%; height: auto; filter: grayscale(1) contrast(1.06) brightness(1.02); transition: filter .8s var(--bb-ease); -webkit-mask-image: linear-gradient(#000 82%, transparent 100%); mask-image: linear-gradient(#000 82%, transparent 100%); }
.bb-hero-portrait:hover .bb-hero-portrait__img { filter: grayscale(0) contrast(1) brightness(1); }
.bb-hero-portrait__badge { position: absolute; right: 6%; top: 34%; width: 64px; height: 64px; border-radius: 50%; box-shadow: 0 10px 30px -8px rgba(0, 0, 0, .5); animation: bb-bob 6s ease-in-out infinite; }
.bb-hero-portrait__badge img { width: 100%; height: 100%; display: block; }
@keyframes bb-bob { 50% { transform: translateY(-8px) rotate(-6deg); } }
.bb-hero-portrait figcaption { position: absolute; left: 0; bottom: 10%; display: flex; flex-direction: column; gap: 2px; padding: 12px 16px 12px 40px; border-radius: 16px; background: rgba(15, 43, 45, .9); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border: 1px solid var(--bb-line); font-size: .82rem; color: var(--bb-muted); line-height: 1.3; }
.bb-hero-portrait figcaption::before { content: ''; position: absolute; left: 16px; top: 50%; width: 10px; height: 10px; margin-top: -5px; border-radius: 50%; background: #7fd6a0; box-shadow: 0 0 0 4px rgba(127, 214, 160, .2); }
.bb-hero-portrait figcaption strong { color: var(--bb-cream); font-size: .95rem; font-weight: 600; }
@media (max-width: 959px) { .bb-hero-portrait { width: min(80vw, 380px); margin-top: 8px; } .bb-hero-portrait__badge { width: 48px; height: 48px; } }

/* Over mij: uitgeknipt portret in petrol cirkel */
.bb-about__photo { width: min(70vw, 320px); }
.bb-about__photo .bb-portrait { display: block; border-radius: 50%; background: var(--bb-teal); overflow: hidden; aspect-ratio: 1; box-shadow: 0 0 0 1px var(--bb-line-2), 0 30px 90px -30px rgba(0, 0, 0, .6); }
.bb-about__photo .bb-portrait img, .bb-about__photo img { width: 100%; height: auto; border-radius: 0; box-shadow: none; object-fit: contain; margin-top: 8%; }

/* ==========================================================================
   Werkwijze: rustige tijdlijn (geen horizontaal scrollen of slepen)
   ========================================================================== */
.bb-process, .bb-process.is-pinned { height: auto !important; }
.bb-process .bb-process__sticky { position: static !important; height: auto !important; overflow: visible !important; padding: 0 !important; display: block !important; max-width: var(--bb-max); margin: 0 auto; }
.bb-process .bb-head::after { content: none !important; }
.bb-process .bb-process__steps { display: grid !important; grid-template-columns: 1fr; gap: 16px; width: auto !important; overflow: visible !important; margin: 0 !important; padding: 0 !important; transform: none !important; cursor: auto !important; scroll-snap-type: none; }
@media (min-width: 760px) { .bb-process .bb-process__steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .bb-process .bb-process__steps { grid-template-columns: repeat(4, 1fr); } }
.bb-process .bb-step-card { width: auto !important; flex: none !important; min-height: 0 !important; padding: 30px 26px !important; display: block !important; }
.bb-process .bb-step-card .bb-step-no { font-size: clamp(2.6rem, 4vw, 3.6rem); margin-bottom: 14px; }
.bb-process .bb-process__bar { display: block !important; position: relative; height: 2px; background: var(--bb-line); margin: 0 0 28px !important; border-radius: 2px; overflow: hidden; max-width: none !important; }
.bb-process .bb-process__bar span { position: absolute; inset: 0; background: var(--bb-cream); transform-origin: left; transform: scaleX(var(--p, 0)) !important; transition: transform .15s linear; }
.bb-process .bb-process__sticky { display: flex !important; flex-direction: column; }
.bb-process .bb-process__sticky > .bb-head { order: 0; }
.bb-process .bb-process__sticky > .bb-process__bar { order: 1; }
.bb-process .bb-process__sticky > .bb-process__steps { order: 2; }

/* ==========================================================================
   Hero: label wordt een knop
   ========================================================================== */
.bb-hero-portrait figcaption a { position: absolute; inset: 0; border-radius: inherit; }
.bb-hero-portrait figcaption .bb-cta-mini { margin-top: 6px; display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: var(--bb-cream); color: #1d4f53; font-weight: 600; font-size: .8rem; width: max-content; transition: transform .3s var(--bb-ease); }
.bb-hero-portrait figcaption:hover .bb-cta-mini { transform: translateX(3px); }
.bb-hero-portrait figcaption { cursor: pointer; transition: border-color .3s, transform .4s var(--bb-ease); }
.bb-hero-portrait figcaption:hover { border-color: var(--bb-line-2); transform: translateY(-2px); }

/* ==========================================================================
   Tools
   ========================================================================== */
.bb-tool { max-width: 880px; margin: 0 auto; padding: clamp(22px, 4vw, 40px); border-radius: 28px; background: linear-gradient(180deg, rgba(20, 55, 57, .9), rgba(15, 43, 45, .9)); border: 1px solid var(--bb-line); }
.bb-tool__form { display: grid; gap: 12px; }
@media (min-width: 700px) { .bb-tool__form:not(.bb-tool__form--stack) { grid-template-columns: 1fr auto; align-items: start; } .bb-tool__form:not(.bb-tool__form--stack) .bb-btn { min-height: 60px; } }
.bb-tool__form .bb-field { margin: 0; }
.bb-tool__note { font-size: .85rem; color: var(--bb-muted); margin: 14px 0 0 !important; }
.bb-tool__out:not(:empty) { margin-top: 28px; padding-top: 28px; border-top: 1px solid var(--bb-line); }
.bb-tool__out h3 { font-size: 1.15rem; margin-top: 1.6em; }
.bb-tool__err { color: #ffc9c9; }
.bb-tool__loading { display: flex; gap: 16px; align-items: center; color: var(--bb-muted); }
.bb-tool__loading span { flex: none; width: 34px; height: 34px; border-radius: 50%; border: 3px solid var(--bb-line); border-top-color: var(--bb-cream); animation: bb-spin 1s linear infinite; }
.bb-tool__loading p { margin: 0; }
.bb-gauges { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
@media (min-width: 640px) { .bb-gauges { grid-template-columns: repeat(4, 1fr); } }
.bb-gauge { position: relative; display: flex; flex-direction: column; align-items: center; padding: 18px 10px; border-radius: 18px; background: var(--bb-surface); border: 1px solid var(--bb-line); }
.bb-gauge svg { width: 84px; height: 84px; transform: rotate(-90deg); }
.bb-gauge circle { fill: none; stroke-width: 7; stroke: var(--bb-line); }
.bb-gauge circle + circle { stroke-linecap: round; transition: stroke-dashoffset 1.2s var(--bb-ease); }
.bb-gauge.is-good circle + circle { stroke: #7fd6a0; } .bb-gauge.is-mid circle + circle { stroke: #f2c46d; } .bb-gauge.is-bad circle + circle { stroke: #ff8f8f; }
.bb-gauge strong { position: absolute; top: 46px; font-size: 1.5rem; color: var(--bb-cream); font-weight: 600; }
.bb-gauge span { margin-top: 8px; font-size: .85rem; color: var(--bb-muted); }
.bb-metrics { display: grid; gap: 10px; margin-top: 16px; }
@media (min-width: 640px) { .bb-metrics { grid-template-columns: repeat(3, 1fr); } }
.bb-metrics div { padding: 14px 16px; border-radius: 14px; border: 1px solid var(--bb-line); display: flex; flex-direction: column; }
.bb-metrics span { font-size: .8rem; color: var(--bb-muted); } .bb-metrics strong { font-size: 1.3rem; color: var(--bb-cream); font-weight: 600; } .bb-metrics small { font-size: .75rem; color: var(--bb-tint); }
.bb-explain { margin-top: 18px; } .bb-explain p { margin: 0 0 .7em; font-size: .95rem; }
.bb-tool__cta { margin-top: 26px; padding: 22px; border-radius: 18px; background: var(--bb-teal); display: grid; gap: 14px; }
.bb-tool__cta p { margin: 0; color: var(--bb-cream); }
@media (min-width: 700px) { .bb-tool__cta { grid-template-columns: 1fr auto; align-items: center; } }
.bb-qr-colors { display: flex; flex-wrap: wrap; gap: 8px; }
.bb-qr { display: grid; gap: 20px; justify-items: center; }
.bb-qr__card { width: min(100%, 340px); padding: 28px 24px; border-radius: 22px; background: #fff; color: #1d4f53; text-align: center; box-shadow: 0 30px 70px -30px rgba(0, 0, 0, .6); }
.bb-qr__title { font-size: 1.25rem; font-weight: 600; margin: 0 0 14px !important; color: #1d4f53; }
.bb-qr__img svg { width: 100%; height: auto; display: block; }
.bb-qr__sub { margin: 12px 0 0 !important; font-size: .92rem; color: #333; line-height: 1.4; }
.bb-qr__actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.bb-qr__tip { font-size: .85rem; text-align: center; margin: 0 !important; }
.bb-count-row { margin: -4px 0 4px !important; font-size: .82rem; color: var(--bb-muted); }
.bb-count { font-weight: 600; } .bb-count.is-good { color: #7fd6a0; } .bb-count.is-mid { color: #f2c46d; } .bb-count.is-bad { color: #ff8f8f; }
.bb-serp { margin-top: 26px; }
.bb-serp__label { font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--bb-tint); margin-bottom: 10px !important; }
.bb-serp__card { display: flex; flex-direction: column; gap: 4px; padding: 20px 22px; border-radius: 16px; background: #fff; font-family: Arial, Helvetica, sans-serif; max-width: 650px; }
.bb-serp__url { font-size: 14px; color: #202124; } .bb-serp__title { font-size: 20px; line-height: 1.3; color: #1a0dab; } .bb-serp__desc { font-size: 14px; line-height: 1.58; color: #4d5156; }

/* Leadmagneet */
.bb-magnet { max-width: var(--bb-max); margin: 0 auto; display: grid; gap: 24px; padding: clamp(24px, 5vw, 56px); border-radius: 30px; background: radial-gradient(90% 120% at 100% 0%, rgba(247, 249, 191, .1), transparent 60%), var(--bb-bg-3); border: 1px solid var(--bb-line-2); }
@media (min-width: 900px) { .bb-magnet { grid-template-columns: 1.1fr 1fr; align-items: center; gap: 48px; } }
.bb-magnet__title { font-size: clamp(1.5rem, 3vw, 2.3rem) !important; }
.bb-magnet__form { display: grid; gap: 10px; }
.bb-magnet__form .bb-field { margin: 0; }
.bb-magnet__done { padding: 20px; border-radius: 16px; background: var(--bb-teal); color: var(--bb-cream); }
.bb-magnet__done p { margin: 0; }

/* Verder lezen */
.bb-related .bb-tiles { margin-top: 8px; }

/* Menuknop in huisstijl (overschrijft standaard knopkleuren van het thema) */
body.bb-site .bb-burger, body.bb-site .bb-burger:hover, body.bb-site .bb-burger:focus, body.bb-site .bb-burger:active, body.bb-site .bb-burger[aria-expanded="true"] { background: rgba(247, 249, 191, .06) !important; border: 1px solid var(--bb-line) !important; color: var(--bb-cream) !important; box-shadow: none !important; }
body.bb-site .bb-burger:focus-visible { outline: 2px solid var(--bb-cream); outline-offset: 3px; }
body.bb-site .bb-burger[aria-expanded="true"] { background: var(--bb-cream) !important; }
body.bb-site .bb-burger[aria-expanded="true"] span { background: #1d4f53; }
body.bb-site button, body.bb-site .button, body.bb-site input[type="submit"] { -webkit-tap-highlight-color: transparent; }
body.bb-site .bb-form button:not(.bb-btn), body.bb-site .bb-tool button:not(.bb-btn) { background: none; }
.bb-field label { right: 19px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bb-field input:focus + label, .bb-field input:not(:placeholder-shown) + label, .bb-field textarea:focus + label, .bb-field textarea:not(:placeholder-shown) + label { right: auto; max-width: calc((100% - 38px) / .76); }
body.bb-site .bb-field input, body.bb-site .bb-field textarea, body.bb-site .bb-field select,
body.bb-site .bb-field input:focus, body.bb-site .bb-field textarea:focus { color: var(--bb-cream) !important; -webkit-text-fill-color: var(--bb-cream); caret-color: var(--bb-cream); }
body.bb-site .bb-field input:-webkit-autofill, body.bb-site .bb-field input:-webkit-autofill:focus { -webkit-text-fill-color: var(--bb-cream); -webkit-box-shadow: 0 0 0 100px #12302f inset; transition: background-color 9999s; }
body.bb-site .bb-field ::placeholder { color: transparent; }
/* Juridische pagina's */
body.bb-site .bb-legal { max-width: 780px; margin-inline: auto; padding-inline: clamp(20px, 5vw, 40px); box-sizing: content-box; }
.bb-legal > p:first-child { font-size: 1.1rem; }
.bb-legal h2 { margin-top: 2.2em; padding-top: 1.2em; border-top: 1px solid var(--bb-line); }
.bb-legal ul { list-style: none; padding-left: 0; }
.bb-legal ul li { position: relative; padding: .9em 1em .9em 1.1em; margin-bottom: .6em; background: rgba(247,249,191,.035); border: 1px solid var(--bb-line); border-radius: 14px; }
.bb-legal a:not(.bb-btn) { color: var(--bb-cream); text-decoration: underline; text-underline-offset: 3px; }
.bb-table-wrap { overflow-x: auto; margin: 1.2em 0; border: 1px solid var(--bb-line); border-radius: 16px; -webkit-overflow-scrolling: touch; }
.bb-table { width: 100%; border-collapse: collapse; font-size: .95rem; min-width: 560px; }
.bb-table th, .bb-table td { text-align: left; padding: .85em 1em; vertical-align: top; border-bottom: 1px solid var(--bb-line); }
.bb-table thead th { background: rgba(41,108,113,.35); color: var(--bb-cream); font-weight: 600; font-size: .85rem; letter-spacing: .02em; }
.bb-table tbody tr:last-child td { border-bottom: 0; }
.bb-table code { color: var(--bb-cream); background: rgba(247,249,191,.08); padding: .15em .45em; border-radius: 6px; font-size: .88em; }
/* Generatoren */
.bb-gen-grid { display: grid; gap: 14px; }
@media (min-width: 640px) { .bb-gen-grid { grid-template-columns: 1fr 1fr; } }
.bb-gen-grid > * { min-width: 0; }
.bb-field--select select { width: 100%; appearance: none; -webkit-appearance: none; background: rgba(12,34,36,.6) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23f7f9bf' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat right 18px center; border: 1px solid var(--bb-line); border-radius: 14px; padding: 26px 44px 10px 18px; font: inherit; color: var(--bb-cream); cursor: pointer; }
.bb-field--select select:focus { outline: none; border-color: var(--bb-cream); }
.bb-field--select select option { background: #0c2224; color: #f7f9bf; }
body.bb-site .bb-field--select label { transform: translateY(-11px) scale(.76); right: auto; }
.bb-gen-chips { border: 0; padding: 0; margin: 0; min-width: 0; }
.bb-gen-chips legend { font-size: .9rem; color: var(--bb-muted); margin-bottom: 10px; padding: 0; }
.bb-gen-result { margin-top: 8px; }
.bb-gen-result__head { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.bb-gen-result__head h3 { margin: 0; font-size: clamp(1.2rem, 2.4vw, 1.5rem); }
.bb-gen-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.bb-gen-result h4 { margin: 1.6em 0 .6em; font-size: 1.05rem; color: var(--bb-cream); }
.bb-scenes { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; counter-reset: sc; }
.bb-scene { display: grid; gap: 12px; padding: 16px; border: 1px solid var(--bb-line); border-radius: 16px; background: rgba(247,249,191,.035); }
@media (min-width: 640px) { .bb-scene { grid-template-columns: 140px 1fr; } }
.bb-scene__time strong { display: block; color: var(--bb-cream); }
.bb-scene__time span { font-size: .85rem; color: var(--bb-muted); }
.bb-scene__body p { margin: 0 0 .45em; }
.bb-scene__body p:last-child { margin: 0; }
.bb-k { display: inline-block; font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; color: var(--bb-mint); margin-right: 6px; }
.bb-gen-caption { padding: 14px 16px; border-left: 3px solid var(--bb-cream); background: rgba(247,249,191,.05); border-radius: 0 12px 12px 0; }
.bb-gen-card { padding: 16px; border: 1px solid var(--bb-line); border-radius: 16px; background: rgba(247,249,191,.035); margin-bottom: 12px; }
.bb-gen-card__top { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; flex-wrap: wrap; }
.bb-gen-card__top strong { margin-right: auto; color: var(--bb-cream); }
.bb-gen-card p { margin: 0; white-space: normal; }
.bb-count.is-over { color: #ff9b8a; }
.bb-cal { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.bb-cal__item { display: grid; grid-template-columns: 56px 1fr; gap: 14px; padding: 14px; border: 1px solid var(--bb-line); border-radius: 16px; background: rgba(247,249,191,.035); }
.bb-cal__date { text-align: center; padding-top: 2px; }
.bb-cal__date strong { display: block; font-size: 1.5rem; line-height: 1; color: var(--bb-cream); }
.bb-cal__date span { font-size: .8rem; color: var(--bb-muted); text-transform: uppercase; letter-spacing: .06em; }
.bb-cal__body p { margin: 0 0 .35em; }
.bb-cal__meta { font-size: .78rem; letter-spacing: .05em; text-transform: uppercase; color: var(--bb-mint); }
@media print {
	body.bb-print-gen * { visibility: hidden; }
	body.bb-print-gen .bb-gen-result, body.bb-print-gen .bb-gen-result * { visibility: visible; color: #111 !important; background: none !important; border-color: #ccc !important; }
	body.bb-print-gen .bb-gen-result { position: absolute; left: 0; top: 0; width: 100%; }
	body.bb-print-gen .bb-gen-actions { display: none; }
}
body.bb-site .bb-legal h2, body.bb-site .bb-legal .wp-block-heading { font-size: clamp(1.25rem, 2.2vw, 1.6rem) !important; line-height: 1.3; letter-spacing: 0; }
body.bb-site .bb-legal h3 { font-size: 1.1rem !important; }
/* Labels altijd volledig zichtbaar, boven het veld */
body.bb-site .bb-field { display: flex; flex-direction: column-reverse; gap: 7px; position: relative; }
body.bb-site .bb-field label,
body.bb-site .bb-field input:focus + label, body.bb-site .bb-field input:not(:placeholder-shown) + label,
body.bb-site .bb-field textarea:focus + label, body.bb-site .bb-field textarea:not(:placeholder-shown) + label,
body.bb-site .bb-field--select label { position: static; transform: none; white-space: normal; overflow: visible; text-overflow: clip; max-width: none; right: auto; left: auto; top: auto; font-size: .9rem; line-height: 1.4; color: var(--bb-muted); padding: 0 2px; }
body.bb-site .bb-field input:focus + label, body.bb-site .bb-field textarea:focus + label { color: var(--bb-cream); }
body.bb-site .bb-field input, body.bb-site .bb-field textarea, body.bb-site .bb-field select { padding: 14px 16px; min-height: 52px; }
body.bb-site .bb-field--select select { padding-right: 44px; }
