/* Hallmark · checked: 2026-11-05 · genre: editorial (inferred)
 * floor: 8 FAIL open · fixed: 34, 48, 62, 67, 49a (1024), 26b, F3, F6 · structural: printed (44b, 44c, 44d, 58, 59)
 * dismissed 26a: the div is the WordPress nav modal (tabindex -1), focused by script only, never a keyboard stop
 * owner: 49a at 320 (button labels), eyebrows (54) are copy decisions for the client
 * landing /vaste-collega/: hero (VSL with own play button, one CTA), agenda (Bookings in page), call-back · signature: Tim's 2-minute video
 * waive 39b: 52-56px buttons are thumb targets on a mobile ad page; the play button covers the whole video on purpose
 * built: the project · redesign: polish · v2.0.0 */

/*
Theme Name: De Flexperts Modern
Theme URI: https://deflexperts.nl
Author: Momentum Co.
Description: Eigen blokthema voor De Flexperts. Werving & selectie in de zorg. Kleuren, lettertype en patronen komen uit theme.json en /patterns.
Requires at least: 6.5
Tested up to: 6.8
Requires PHP: 7.4
Version: 0.3.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: flexperts
*/

/* Alleen wat theme.json niet kan. Houd dit bestand klein. */

:root {
	--fx-ease-out: cubic-bezier(0.23, 1, 0.32, 1);
}

/* Lange Nederlandse woorden netjes afbreken in koppen */
h1,
h2 {
	hyphens: auto;
	overflow-wrap: break-word;
}

/* Secties */
.fx-section {
	padding-top: var(--wp--preset--spacing--50);
	padding-bottom: var(--wp--preset--spacing--50);
}

.fx-hero {
	padding-top: clamp(48px, 6vw, 88px);
	padding-bottom: clamp(48px, 6vw, 96px);
	overflow: hidden;
}

.fx-topbar {
	padding-top: 8px;
	padding-bottom: 8px;
}

.fx-topbar a,
.fx-cta a:not(.wp-element-button) {
	color: var(--wp--preset--color--surface);
}

.fx-header {
	padding-top: 14px;
	padding-bottom: 14px;
	border-bottom: 1px solid var(--wp--preset--color--rand);
}

.fx-logos {
	padding-top: 28px;
	padding-bottom: 28px;
	border-bottom: 1px solid var(--wp--preset--color--rand);
}

.fx-logo-row {
	gap: 16px;
}

.fx-logo-row img {
	width: 150px;
	height: 56px;
	object-fit: contain;
}

/* Placeholders: alles met [VERVANGEN] moet voor de livegang weg */
.fx-ph {
	display: flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	padding: 12px;
	border: 1.5px dashed var(--wp--preset--color--ink-muted);
	border-radius: 14px;
	background: var(--wp--preset--color--surface-alt);
	color: var(--wp--preset--color--ink-muted);
	font-size: 13px;
	font-weight: 600;
	line-height: 1.4;
	text-align: center;
}

.fx-ph p {
	margin: 0;
}

.fx-ph-logo {
	width: 150px;
	min-height: 56px;
}

.fx-ph-reviews {
	width: 210px;
	min-height: 56px;
}

.fx-ph-avatar {
	flex: none;
	width: 64px;
	height: 64px;
	padding: 4px;
	border-radius: 999px;
	overflow: hidden;
	font-size: 9px;
	line-height: 1.2;
	overflow-wrap: anywhere;
}

.fx-ph-story {
	justify-content: flex-start;
	min-height: 180px;
	padding: 28px;
	font-size: 15px;
	text-align: left;
}

.fx-ph-box {
	min-height: 120px;
}

.fx-ph-block {
	flex-direction: column;
	gap: 10px;
	min-height: 360px;
	font-size: 15px;
}

.fx-footer {
	padding-top: 48px;
	padding-bottom: 48px;
	font-size: 15px;
}

.fx-footer-title {
	font-weight: 700;
	margin-bottom: 4px;
}

.fx-plain {
	list-style: none;
	padding-left: 0;
	margin: 0;
}

/* Tekst */
.fx-label {
	font-size: var(--wp--preset--font-size--small);
	font-weight: 700;
	color: var(--wp--preset--color--action-hover);
}

.fx-big {
	font-size: 34px;
	font-weight: 800;
	line-height: 1.1;
	color: var(--wp--preset--color--action);
}

.fx-person strong {
	font-size: 18px;
}

/* Kaarten */
.fx-card {
	background: var(--wp--preset--color--surface);
	border: 1px solid var(--wp--preset--color--rand);
	border-radius: 20px;
	padding: 28px;
	box-sizing: border-box;
}

.fx-card-raised {
	border: none;
	box-shadow: 0 24px 56px color-mix(in srgb, var(--wp--preset--color--ink) 14%, transparent);
}

.fx-card h3 a {
	color: var(--wp--preset--color--ink);
	text-decoration: none;
}

/* Hele kaart klikbaar via de link in de kop */
.fx-card-link {
	position: relative;
}

.fx-card-link h3 a::after {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: 20px;
}

.fx-card-link:hover {
	border-color: var(--wp--preset--color--action);
}

.fx-card-link h3 a:focus-visible {
	outline: none;
}

.fx-card-link:focus-within {
	outline: 2px solid var(--wp--preset--color--blue);
	outline-offset: 2px;
}

.fx-card-dark h3 a {
	color: var(--wp--preset--color--surface);
}

.fx-more {
	margin-top: 6px;
	font-weight: 700;
	color: var(--wp--preset--color--blue);
}

.fx-strong-link a {
	font-weight: 700;
}

/* Lijst met vinkjes */
.fx-checks {
	list-style: none;
	padding-left: 0;
}

.fx-checks li {
	position: relative;
	padding-left: 32px;
	margin-bottom: 10px;
}

.fx-checks li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 3px;
	width: 20px;
	height: 20px;
	background: var(--wp--preset--color--action);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* Tijdlijn */
.fx-steps {
	list-style: none;
	padding-left: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.fx-steps li {
	flex: 1 1 160px;
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 20px;
	border-radius: 16px;
	border: 1px solid var(--wp--preset--color--rand);
	font-weight: 700;
}

.fx-steps li span {
	font-size: var(--wp--preset--font-size--small);
	color: var(--wp--preset--color--action-hover);
}

.fx-steps li:last-child {
	background: var(--wp--preset--color--action);
	border-color: var(--wp--preset--color--action);
	color: var(--wp--preset--color--surface);
}

.fx-steps li:last-child span {
	color: var(--wp--preset--color--surface);
}

/* Regio's als chips */
.fx-regios a {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	padding: 0 18px;
	margin: 4px 4px 4px 0;
	border-radius: 999px;
	border: 1.5px solid var(--wp--preset--color--rand);
	background: var(--wp--preset--color--surface);
	color: var(--wp--preset--color--ink);
	font-weight: 600;
	text-decoration: none;
}

.fx-regios a:hover {
	border-color: var(--wp--preset--color--action);
}

.fx-leaf {
	border-radius: 0 100% 0 100%;
}

/* Bladvormen achter de kaart in de hero */
.fx-hero-visual {
	position: relative;
}

.fx-hero-visual .fx-leaf {
	position: absolute;
	margin: 0;
}

.fx-leaf-1 {
	width: 220px;
	height: 220px;
	right: -30px;
	top: -40px;
}

.fx-leaf-2 {
	width: 120px;
	height: 120px;
	left: -10px;
	bottom: -30px;
}

.fx-hero-visual .fx-card {
	position: relative;
	max-width: 420px;
	margin-left: auto;
	margin-right: auto;
}

/* Knop in het menu: alleen in het uitgeklapte mobiele menu */
.fx-nav-cta {
	display: none !important;
}

.wp-block-navigation__responsive-container.is-menu-open .fx-nav-cta {
	display: flex !important;
	margin-top: 12px;
}

.wp-block-navigation .wp-block-navigation__responsive-container.is-menu-open .fx-nav-cta .wp-block-navigation-item__content {
	padding: 12px 22px !important;
	border-radius: 999px;
	background: var(--wp--preset--color--action);
	color: var(--wp--preset--color--surface);
}

/* Vaste knopbalk onderin op de telefoon */
.wp-block-buttons.fx-mbar {
	display: none;
}

@media (max-width: 820px) {
	.wp-block-buttons.fx-mbar {
		display: flex;
		position: fixed;
		left: 0;
		right: 0;
		bottom: 0;
		z-index: 50;
		gap: 8px;
		padding: 10px 12px;
		background: var(--wp--preset--color--surface);
		border-top: 1px solid var(--wp--preset--color--rand);
		box-shadow: 0 -4px 12px color-mix(in srgb, var(--wp--preset--color--ink) 8%, transparent);
	}
	.fx-mbar .wp-block-button {
		flex: 1 1 0;
	}
	.fx-mbar .wp-block-button:last-child {
		flex-grow: 1.6;
	}
	.fx-mbar .wp-block-button__link {
		display: flex;
		align-items: center;
		justify-content: center;
		width: 100%;
		min-height: 48px;
		padding: 0 10px;
		font-size: 15px;
		white-space: nowrap;
	}
	body {
		padding-bottom: 76px;
	}
	.fx-hide-mobile {
		display: none !important;
	}
}

details.wp-block-details {
	background: var(--wp--preset--color--surface);
	border: 1px solid var(--wp--preset--color--rand);
	border-radius: 16px;
	padding: 20px 24px;
}

details.wp-block-details summary {
	font-weight: 700;
	font-size: 17px;
	cursor: pointer;
}

:where(a, button, summary, input, textarea, select):focus-visible {
	outline: 2px solid var(--wp--preset--color--blue);
	outline-offset: 2px;
}

/* Paginakop voor kennismaking en startpagina's */
.fx-page-hero {
	padding-top: clamp(40px, 5vw, 56px);
	padding-bottom: clamp(36px, 4vw, 48px);
}

.fx-section-tight {
	padding-top: clamp(32px, 4vw, 48px);
	padding-bottom: clamp(56px, 7vw, 88px);
}

.fx-card-flat {
	border-color: transparent;
}

.fx-ph-form {
	min-height: 220px;
}

.fx-ph-text {
	justify-content: flex-start;
	min-height: 150px;
	text-align: left;
}

/* Vinkje-rondje op de bedankpagina */
.fx-icon-ok {
	width: 64px;
	height: 64px;
	border-radius: 999px;
	position: relative;
}

.fx-icon-ok::after {
	content: "";
	position: absolute;
	inset: 17px;
	background: var(--wp--preset--color--surface);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* Genummerde stappen als kaarten */
.fx-steps-num {
	list-style: none;
	padding-left: 0;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 16px;
	counter-reset: fx-stap;
}

.fx-steps-num li {
	counter-increment: fx-stap;
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 28px;
	border: 1px solid var(--wp--preset--color--rand);
	border-radius: 20px;
	background: var(--wp--preset--color--surface);
	color: var(--wp--preset--color--ink-muted);
	font-size: 16px;
}

.fx-steps-num li::before {
	content: counter(fx-stap);
	font-variant-numeric: tabular-nums;
	font-size: 30px;
	font-weight: 800;
	line-height: 1.1;
	color: var(--wp--preset--color--action);
}

.fx-steps-num li strong {
	color: var(--wp--preset--color--ink);
	font-size: 17px;
}

/* Kruimelpad en blad in de kop van functie- en regiopagina's */
.fx-hero-page {
	position: relative;
	padding-top: 28px;
}

.fx-crumbs {
	gap: 0.35em;
	margin-bottom: 24px;
	font-size: var(--wp--preset--font-size--small);
	color: var(--wp--preset--color--ink-muted);
}

.fx-crumbs > * {
	margin: 0;
	font-size: inherit;
	font-weight: 400;
	line-height: 1.6;
	letter-spacing: 0;
}

.fx-hero-page > :not(.fx-leaf) {
	position: relative;
}

.fx-leaf-page {
	position: absolute;
	width: 200px;
	height: 200px;
	right: -40px;
	top: 40px;
	margin: 0;
}

@media (max-width: 600px) {
	.fx-leaf-page {
		display: none;
	}
}

/* ------------------------------------------------------------------
   Nieuw ontwerp: grotere koppen, harde contrasten, beweging.
   ------------------------------------------------------------------ */

html {
	scroll-behavior: smooth;
}

/* Nooit zijwaarts scrollen; clip in plaats van hidden houdt sticky werkend */
html,
body {
	overflow-x: clip;
}

/* Afbeeldingen in oude pagina-inhoud nooit breder dan hun kolom */
.wp-block-post-content img {
	max-width: 100%;
	height: auto;
}

h1,
h2 {
	text-wrap: balance;
}

.fx-header .wp-block-button__link {
	white-space: nowrap;
}


:where(input:not([type="checkbox"], [type="radio"], [type="hidden"]), select) {
	min-height: 44px;
}

[id] {
	scroll-margin-top: 96px;
}

.wp-site-blocks > *,
main.wp-block-group > * {
	margin-block: 0;
}

@media (min-width: 600px) {
	h2 {
		hyphens: manual;
	}
}

.fx-hero:not(.fx-hero-page) h1 {
	hyphens: manual;
}

.fx-accent {
	color: var(--wp--preset--color--action);
}

.fx-section {
	padding-top: clamp(72px, 10vw, 136px);
	padding-bottom: clamp(72px, 10vw, 136px);
}

/* Vaste kop */
header.wp-block-template-part {
	position: sticky;
	top: var(--wp-admin--admin-bar--height, 0);
	z-index: 40;
	background: var(--wp--preset--color--surface);
	transition: box-shadow 0.25s ease;
}

/* Open menu moet over de vaste knopbalk heen vallen */
header.wp-block-template-part:has(.is-menu-open) {
	z-index: 100;
}

header.wp-block-template-part.is-gescrold {
	box-shadow: 0 10px 30px color-mix(in srgb, var(--wp--preset--color--ink) 10%, transparent);
}

.fx-header {
	border-bottom: none;
}

.fx-header-tel {
	margin: 0 0 0 auto;
	font-size: 15px;
	font-weight: 700;
	white-space: nowrap;
}

.fx-header-tel a {
	color: var(--wp--preset--color--ink);
	text-decoration: none;
}

/* Knoppen en links reageren op de muis */
.wp-element-button {
	transition: transform 160ms var(--fx-ease-out), background-color 0.2s ease, box-shadow 0.2s ease;
}

@media (hover: hover) and (pointer: fine) {
	.wp-element-button:hover {
		transform: translateY(-2px);
		box-shadow: 0 10px 22px color-mix(in srgb, var(--wp--preset--color--ink) 16%, transparent);
	}
}

/* Indrukken: kort en voelbaar, ook als de muis erboven hangt */
.wp-element-button:active,
.wp-element-button:hover:active {
	transform: scale(0.97);
	transition-duration: 100ms;
}

/* Hero */
.fx-hero {
	position: relative;
	padding-top: clamp(48px, 7vw, 104px);
	padding-bottom: clamp(56px, 8vw, 120px);
	border-radius: 0 0 clamp(28px, 4vw, 56px) clamp(28px, 4vw, 56px);
}

.fx-hero .fx-garantie {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 24px;
	margin: 20px 0 28px;
	font-weight: 700;
}

.fx-garantie li {
	margin: 0;
}

.fx-hero-stage {
	position: relative;
}

.fx-hero-stage > * {
	margin-block: 0;
}

.fx-hero-stage .fx-hero-leaf {
	position: absolute;
	width: 88%;
	aspect-ratio: 1;
	right: -14%;
	top: -10%;
	transform: translateY(var(--fx-y, 0));
}

.fx-ph-media {
	position: relative;
	width: 100%;
	aspect-ratio: 4 / 5;
	max-height: 560px;
	border-radius: 0 38% 0 38%;
	background: var(--wp--preset--color--surface);
	font-size: 15px;
}

.fx-hero-tag {
	position: absolute;
	left: -16px;
	bottom: 24px;
	padding: 14px 22px;
	border-radius: 16px;
	background: var(--wp--preset--color--surface);
	box-shadow: 0 18px 40px color-mix(in srgb, var(--wp--preset--color--ink) 16%, transparent);
	font-size: 15px;
	line-height: 1.4;
}

.fx-hero-tag p {
	margin: 0;
}

/* Lopende stroken */
.fx-logos {
	border-bottom: none;
	padding-top: 40px;
	padding-bottom: 24px;
}

.fx-marquee {
	overflow: hidden;
	padding-block: 4px;
}

.fx-marquee-track {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 16px;
}

.fx-marquee-track > * {
	margin: 0;
}

.fx-marquee.is-lopend {
	-webkit-mask-image: linear-gradient(90deg, transparent, black 7%, black 93%, transparent);
	mask-image: linear-gradient(90deg, transparent, black 7%, black 93%, transparent);
}

.fx-marquee.is-lopend .fx-marquee-track {
	flex-wrap: nowrap;
	justify-content: flex-start;
	gap: 0;
	width: max-content;
	animation: fx-loop var(--fx-duur, 40s) linear infinite;
}

.fx-marquee.is-lopend .fx-marquee-track > * {
	flex: none;
	margin-right: 16px;
}

.fx-marquee-reverse.is-lopend .fx-marquee-track {
	animation-direction: reverse;
}

.fx-marquee:hover .fx-marquee-track,
.fx-marquee:focus-within .fx-marquee-track,
.fx-marquee.is-gepauzeerd .fx-marquee-track {
	animation-play-state: paused;
}

@keyframes fx-loop {
	to {
		transform: translateX(-50%);
	}
}

.fx-marquee-knop {
	display: block;
	min-height: 32px;
	margin: 8px auto 0;
	padding: 4px 12px;
	border: none;
	background: none;
	color: var(--wp--preset--color--ink-muted);
	font: inherit;
	font-size: 13px;
	font-weight: 600;
	text-decoration: underline;
	cursor: pointer;
}

.fx-ph-logo {
	width: 190px;
	min-height: 72px;
}

.fx-ph-review {
	width: 340px;
	min-height: 150px;
	border-radius: 20px;
	background: var(--wp--preset--color--surface);
}

/* Kosten */
.fx-bento {
	display: grid;
	grid-template-columns: 1.3fr 1fr;
	gap: 16px;
	margin-block: 40px;
}

.fx-bento .fx-card {
	margin: 0;
	border: none;
	padding: clamp(24px, 3vw, 40px);
	transition: transform 0.3s ease;
}

.fx-bento .fx-card:hover {
	transform: translateY(-4px);
}

.fx-bento-main {
	grid-row: span 2;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	min-height: 420px;
}

.fx-bento .fx-big {
	margin: 0 0 16px;
	color: inherit;
	font-size: clamp(48px, 6vw, 72px);
	letter-spacing: -0.03em;
}

.fx-bento .fx-bento-main .fx-big {
	font-size: clamp(88px, 15vw, 190px);
	line-height: 0.95;
}

.fx-bento p:last-child {
	margin-bottom: 0;
}

/* Vaste kop naast scrollende inhoud */
.fx-stack > * + * {
	margin-top: 16px;
}

.fx-stack .fx-card {
	padding: clamp(24px, 3vw, 36px);
}

.fx-stack .fx-card h3 {
	margin-top: 0;
}

.fx-stack .fx-card p {
	margin-bottom: 0;
}

@media (min-width: 782px) {
	.wp-block-column:has(> .fx-sticky) {
		align-self: flex-start;
		position: sticky;
		top: 112px;
	}
}

/* De voorbeeldweek: kaarten schuiven over elkaar en worden donkerder naar de eerste werkdag */
.fx-week {
	list-style: none;
	display: grid;
	gap: 16px;
	margin-block: 40px;
	padding-left: 0;
}

.fx-week li {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	min-height: 260px;
	padding: clamp(24px, 4vw, 48px);
	overflow: hidden;
	box-sizing: border-box;
	border-radius: clamp(24px, 3vw, 36px);
	background: var(--fx-vlak);
	color: var(--fx-tekst);
	font-size: clamp(22px, 3vw, 34px);
	font-weight: 700;
	letter-spacing: -0.02em;
	line-height: 1.15;
}

.fx-week li span {
	font-size: clamp(48px, 9vw, 112px);
	font-weight: 800;
	letter-spacing: -0.04em;
	line-height: 1;
}

/* Het blad uit het logo groeit per stap */
.fx-week li::after {
	content: "";
	position: absolute;
	right: clamp(16px, 4vw, 56px);
	top: clamp(16px, 3vw, 40px);
	width: var(--fx-blad);
	height: var(--fx-blad);
	border-radius: 0 100% 0 100%;
	background: var(--fx-tekst);
	opacity: 0.16;
}

.fx-week li:nth-child(1) {
	--fx-vlak: var(--wp--preset--color--brand-green-50);
	--fx-tekst: var(--wp--preset--color--ink);
	--fx-blad: 40px;
}

.fx-week li:nth-child(2) {
	--fx-vlak: var(--wp--preset--color--brand-green);
	--fx-tekst: var(--wp--preset--color--ink);
	--fx-blad: 64px;
}

.fx-week li:nth-child(3) {
	--fx-vlak: var(--wp--preset--color--action);
	--fx-tekst: var(--wp--preset--color--surface);
	--fx-blad: 92px;
}

.fx-week li:nth-child(4) {
	--fx-vlak: var(--wp--preset--color--action-hover);
	--fx-tekst: var(--wp--preset--color--surface);
	--fx-blad: 124px;
}

.fx-week li:nth-child(5) {
	--fx-vlak: var(--wp--preset--color--ink);
	--fx-tekst: var(--wp--preset--color--surface);
	--fx-blad: 160px;
}

@media (min-width: 821px) and (min-height: 720px) {
	.fx-week {
		gap: 96px;
	}
	.fx-week li {
		position: sticky;
		min-height: 400px;
		box-shadow: 0 -18px 44px color-mix(in srgb, var(--wp--preset--color--ink) 12%, transparent);
	}
	.fx-week li:nth-child(1) { top: 104px; }
	.fx-week li:nth-child(2) { top: 120px; }
	.fx-week li:nth-child(3) { top: 136px; }
	.fx-week li:nth-child(4) { top: 152px; }
	.fx-week li:nth-child(5) { top: 168px; }
}

/* Functies */
.fx-card-link {
	transition: transform 0.25s ease, background-color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.fx-card-link:hover {
	transform: translateY(-4px);
	background: var(--wp--preset--color--brand-green-50);
	box-shadow: 0 18px 40px color-mix(in srgb, var(--wp--preset--color--ink) 10%, transparent);
}

.fx-card-dark.fx-card-link:hover {
	background: var(--wp--preset--color--ink);
}

.fx-more {
	transition: transform 0.25s ease;
}

.fx-card-link:hover .fx-more {
	transform: translateX(6px);
}

/* Bewijs */
.fx-review-rows {
	display: grid;
	gap: 16px;
	margin-block: 40px;
}

.fx-review-rows > * {
	margin: 0;
}

.fx-proof .fx-ph-story {
	min-height: 150px;
}

/* Agenda */
.fx-agenda {
	border-radius: clamp(28px, 4vw, 56px) clamp(28px, 4vw, 56px) 0 0;
}

.fx-agenda a:not(.wp-element-button) {
	color: var(--wp--preset--color--surface);
}

.fx-ph-agenda {
	min-height: 520px;
	border-radius: 20px;
	background: var(--wp--preset--color--surface);
}

.fx-ph-side {
	aspect-ratio: 4 / 5;
	border-radius: 20px;
}

/* Vragen */
details.wp-block-details {
	margin-bottom: 12px;
	padding: 0;
	border: none;
	transition: background-color 0.2s ease;
}

details.wp-block-details[open] {
	background: var(--wp--preset--color--brand-green-50);
}

details.wp-block-details summary {
	position: relative;
	list-style: none;
	padding: 22px 72px 22px 24px;
	font-size: clamp(17px, 2vw, 20px);
	line-height: 1.3;
}

details.wp-block-details summary::-webkit-details-marker {
	display: none;
}

details.wp-block-details summary::after {
	content: "+";
	position: absolute;
	right: 20px;
	top: 50%;
	display: grid;
	place-items: center;
	width: 36px;
	height: 36px;
	margin-top: -18px;
	border-radius: 999px;
	background: var(--wp--preset--color--action);
	color: var(--wp--preset--color--surface);
	font-size: 22px;
	font-weight: 500;
	line-height: 1;
	transition: transform 0.25s ease;
}

details.wp-block-details[open] summary::after {
	transform: rotate(45deg);
}

details.wp-block-details > :not(summary) {
	margin: 0;
	padding: 0 24px 24px;
}

/* Voet met grote woordnaam */
.fx-footer {
	padding-top: clamp(48px, 7vw, 88px);
}

.fx-footer a {
	color: var(--wp--preset--color--surface);
}

.fx-wordmark {
	margin: 0 0 clamp(32px, 5vw, 64px);
	font-size: min(15vw, 212px);
	font-weight: 800;
	letter-spacing: -0.045em;
	line-height: 1;
	white-space: nowrap;
}

/* Binnenkomen */
.js .fx-reveal {
	opacity: 0;
	transform: translateY(26px);
}

.js .fx-reveal.fx-in {
	opacity: 1;
	transform: none;
	transition: opacity 0.7s ease var(--fx-vertraging, 0ms), transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) var(--fx-vertraging, 0ms);
}

.fx-hero .wp-block-column:first-child > * {
	animation: fx-omhoog 0.6s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.fx-hero .wp-block-column:first-child > :nth-child(2) { animation-delay: 60ms; }
.fx-hero .wp-block-column:first-child > :nth-child(3) { animation-delay: 120ms; }
.fx-hero .wp-block-column:first-child > :nth-child(n+4) { animation-delay: 180ms; }

/* Alleen verschuiven, geen transparantie: de belofte is altijd meteen leesbaar */
@keyframes fx-omhoog {
	from {
		transform: translateY(18px);
	}
}

@media (max-width: 781px) {
	.fx-hero-stage {
		max-width: 340px;
		margin-inline: auto;
	}
	.fx-hero-tag {
		left: 0;
	}
	.fx-bento {
		grid-template-columns: 1fr;
	}
	.fx-bento-main {
		min-height: 300px;
	}
	.fx-ph-agenda {
		min-height: 400px;
	}
	.fx-ph-review {
		width: 280px;
	}
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}
	*,
	*::before,
	*::after {
		animation: none !important;
		transition: none !important;
	}
}

/* ------------------------------------------------------------------
   Overige pagina's. Alleen CSS, zodat ook pagina's werken die al uit
   de oude patronen zijn opgebouwd.
   ------------------------------------------------------------------ */

/* Paginakop met het blad uit het logo */
.fx-page-hero,
.fx-hero.fx-hero-page {
	position: relative;
	overflow: hidden;
	border-radius: 0 0 clamp(28px, 4vw, 56px) clamp(28px, 4vw, 56px);
}

.fx-page-hero {
	padding-top: clamp(48px, 7vw, 96px);
	padding-bottom: clamp(48px, 7vw, 96px);
}

.fx-hero.fx-hero-page {
	padding-top: 28px;
	padding-bottom: clamp(48px, 7vw, 96px);
}

.fx-page-hero::after {
	content: "";
	position: absolute;
	right: -60px;
	top: 28px;
	width: clamp(120px, 26vw, 340px);
	aspect-ratio: 1;
	border-radius: 0 100% 0 100%;
	background: var(--wp--preset--color--brand-green);
}

.fx-page-hero > *,
.fx-hero-page > :not(.fx-leaf) {
	position: relative;
	z-index: 1;
}

.fx-page-hero > * {
	max-width: min(760px, 72%) !important;
}

.wp-block-group.fx-page-hero > * {
	margin-left: max(0px, calc((100% - 1200px) / 2)) !important;
}

.fx-leaf-page {
	width: clamp(200px, 26vw, 340px);
	height: auto;
	aspect-ratio: 1;
	right: -60px;
	top: 28px;
	transform: translateY(var(--fx-y, 0));
}

.fx-page-hero .has-lead-font-size {
	color: var(--wp--preset--color--ink);
}

/* Stappen: dezelfde opbouw van licht naar donker als de voorbeeldweek */
.fx-steps-num li {
	min-height: 240px;
	justify-content: flex-end;
	border: none;
	border-radius: clamp(24px, 3vw, 32px);
	background: var(--fx-vlak);
	color: var(--fx-tekst);
	transition: transform 0.25s ease;
}

.fx-steps-num li:hover {
	transform: translateY(-4px);
}

.fx-steps-num li::before {
	color: inherit;
	font-size: clamp(48px, 6vw, 72px);
	letter-spacing: -0.04em;
	line-height: 1;
	margin-bottom: auto;
}

.fx-steps-num li strong {
	color: inherit;
	font-size: 20px;
	line-height: 1.25;
}

.fx-steps-num li:nth-child(4n+1) {
	--fx-vlak: var(--wp--preset--color--surface);
	--fx-tekst: var(--wp--preset--color--ink);
}

.fx-steps-num li:nth-child(4n+2) {
	--fx-vlak: var(--wp--preset--color--brand-green);
	--fx-tekst: var(--wp--preset--color--ink);
}

.fx-steps-num li:nth-child(4n+3) {
	--fx-vlak: var(--wp--preset--color--action);
	--fx-tekst: var(--wp--preset--color--surface);
}

.fx-steps-num li:nth-child(4n) {
	--fx-vlak: var(--wp--preset--color--ink);
	--fx-tekst: var(--wp--preset--color--surface);
}

/* Regio's en functies als chips die vollopen */
.fx-regios a {
	transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.fx-regios a:hover {
	background: var(--wp--preset--color--action);
	border-color: var(--wp--preset--color--action);
	color: var(--wp--preset--color--surface);
}

/* Kaarten op inhoudspagina's */
.fx-card-dark {
	border: none;
}

.fx-card > .fx-ph-box {
	width: 100%;
	min-height: 0;
	aspect-ratio: 4 / 3;
	border-radius: 0 28% 0 28%;
}

/* Afsluitende oproep */
.fx-cta {
	border-radius: clamp(28px, 4vw, 56px) clamp(28px, 4vw, 56px) 0 0;
}

/* Kennismaking: contactkaart blijft in beeld naast de agenda */
@media (min-width: 782px) {
	.fx-section-tight .wp-block-column:last-child {
		align-self: flex-start;
		position: sticky;
		top: 112px;
	}
}

/* Bedankt: vinkje springt rustig op */
.fx-icon-ok {
	animation: fx-pop 0.6s cubic-bezier(0.2, 0.9, 0.3, 1.3) both;
}

@keyframes fx-pop {
	from {
		transform: scale(0.6);
	}
}

@media (max-width: 781px) {
	.fx-page-hero > * {
		max-width: 100% !important;
	}
	.fx-page-hero::after {
		display: none;
	}
	.fx-steps-num li {
		min-height: 200px;
	}
}

@media (min-width: 782px) {
	.fx-hero-page h1,
	.fx-hero-page .wp-block-post-excerpt {
		max-width: min(860px, 76%) !important;
		margin-left: max(0px, calc((100% - 1200px) / 2)) !important;
	}
}

/* ------------------------------------------------------------------
   Landingspagina Meta-campagne (sjabloon page-landing)
   ------------------------------------------------------------------ */

.fx-header-landing .fx-header-tel {
	margin: 0;
}

.fx-header-landing .fx-header-tel .wp-block-button__link {
	color: var(--wp--preset--color--surface);
	font-variant-numeric: tabular-nums;
}

@media (max-width: 599px) {
	.fx-header-landing .fx-header-tel .wp-block-button__link {
		padding: 12px 18px;
		font-size: 15px;
	}
}

.fx-landing-hero {
	padding-top: clamp(20px, 5vw, 80px);
	padding-bottom: clamp(36px, 6vw, 96px);
}

.fx-lh {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 16px;
	max-width: 820px;
}

.fx-lh > * {
	margin: 0;
}

.fx-lh-kop {
	font-size: clamp(30px, 8.2vw, 64px);
	line-height: 1.08;
	hyphens: manual;
}

.fx-lh-belofte {
	margin-top: -4px;
}

.fx-lh-knop .wp-block-button__link {
	min-height: 52px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding-left: 32px;
	padding-right: 32px;
}

.fx-lh-noot {
	color: var(--wp--preset--color--ink-muted);
}

.fx-landing-hero .fx-lh-garantie {
	flex-direction: column;
	margin: 8px 0 0;
}

.fx-vsl {
	margin: 0;
	border-radius: 20px;
	overflow: hidden;
	background: var(--wp--preset--color--ink);
	aspect-ratio: 16 / 9;
}

.fx-vsl video {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* Lege videoplek nooit als grijs vlak; het thema haalt hem ook al weg */
.wp-site-blocks .fx-vsl:not(:has(video)) {
	display: none;
}

@media (max-width: 599px) {
	.fx-lh-knop,
	.fx-lh-knop .wp-block-button,
	.fx-lh-knop .wp-block-button__link {
		width: 100%;
	}
}

@media (min-width: 900px) {
	.fx-lh:has(.fx-vsl) {
		max-width: 1320px;
		margin-inline: auto;
		grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
		grid-template-areas:
			"kop vsl"
			"belofte vsl"
			"knop vsl"
			"noot vsl"
			"garantie vsl";
		grid-template-rows: auto auto auto auto 1fr;
		column-gap: 56px;
		align-items: start;
	}
	.fx-lh:has(.fx-vsl) .fx-lh-kop { grid-area: kop; }
	.fx-lh:has(.fx-vsl) .fx-lh-belofte { grid-area: belofte; }
	.fx-lh:has(.fx-vsl) .fx-lh-knop { grid-area: knop; }
	.fx-lh:has(.fx-vsl) .fx-lh-noot { grid-area: noot; }
	.fx-lh:has(.fx-vsl) .fx-lh-garantie { grid-area: garantie; }
	.fx-lh:has(.fx-vsl) .fx-vsl { grid-area: vsl; align-self: center; }
	.fx-lh:has(.fx-vsl) .fx-lh-kop { font-size: clamp(40px, 4.4vw, 64px); line-height: 1.02; letter-spacing: -0.02em; }
	.fx-lh:has(.fx-vsl) .fx-lh-belofte { font-size: 22px; }
}

.fx-landing-sectie {
	padding-top: clamp(56px, 8vw, 112px);
	padding-bottom: clamp(56px, 8vw, 112px);
}

.fx-landing-sectie > .wp-block-buttons {
	margin-top: 32px;
}

.fx-landing-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 16px;
	margin-top: 28px;
}

.fx-landing-grid-4 {
	grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
	gap: 28px;
}

.fx-landing-grid > * {
	margin: 0;
}

.fx-landing-grid .fx-card > * {
	margin-top: 0;
}

.fx-landing-grid .fx-card > * + * {
	margin-top: 10px;
}

.fx-landing-garantie .fx-label {
	color: var(--wp--preset--color--brand-green);
}

.fx-garantie-item {
	border-top: 3px solid var(--wp--preset--color--brand-green);
	padding-top: 18px;
}

.fx-garantie-item > * {
	margin: 0;
}

.fx-garantie-item > * + * {
	margin-top: 8px;
}

.fx-landing-stappen {
	list-style: none;
	counter-reset: fx-stap;
	padding: 0;
	margin-top: 28px;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 16px;
}

.fx-landing-stappen li {
	counter-increment: fx-stap;
	position: relative;
	margin: 0;
	padding: 72px 24px 24px;
	border: 1px solid var(--wp--preset--color--rand);
	border-radius: 20px;
}

.fx-landing-stappen li::before {
	content: counter(fx-stap);
	position: absolute;
	top: 22px;
	left: 24px;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	display: grid;
	place-items: center;
	font-weight: 800;
	color: var(--wp--preset--color--surface);
	background: var(--wp--preset--color--action);
}

.fx-landing-stappen strong {
	display: block;
	margin-bottom: 4px;
}

.fx-landing-vragen {
	margin-top: 24px;
}

/* Aanvraag */
.fx-landing-aanvraag .wp-block-column > * + * {
	margin-top: 16px;
}

.fx-landing-aanvraag .fx-card > :first-child {
	margin-top: 0;
}

.fx-landing-aanvraag .ff-el-group {
	margin-bottom: 16px;
}

.fx-landing-aanvraag .ff-el-input--label label {
	font-weight: 700;
	color: var(--wp--preset--color--ink);
}

.fx-landing-aanvraag .ff-el-form-control {
	min-height: 48px;
	border: 1px solid var(--wp--preset--color--ink-muted);
	border-radius: 12px;
	font-size: 17px;
}

.fx-landing-aanvraag .ff-el-form-control:focus,
.fx-landing-aanvraag input[type="checkbox"]:focus-visible {
	outline: 2px solid var(--wp--preset--color--blue);
	outline-offset: 2px;
}

.fx-landing-aanvraag .ff-btn-submit {
	width: 100%;
	min-height: 52px;
	border: none;
	border-radius: 999px;
	background: var(--wp--preset--color--action);
	color: var(--wp--preset--color--surface);
	font-weight: 700;
	font-size: 17px;
	cursor: pointer;
}

.fx-landing-aanvraag .ff-btn-submit:hover {
	background: var(--wp--preset--color--action-hover);
}

.fx-aanvraag-terugval p {
	margin: 0 0 12px;
}

.fx-terugval-knop {
	display: inline-flex;
	align-items: center;
	min-height: 48px;
	margin: 0 8px 8px 0;
	padding: 0 22px;
	border-radius: 999px;
	font-weight: 700;
	text-decoration: none;
	color: var(--wp--preset--color--surface);
	background: var(--wp--preset--color--action);
}

.fx-admin-noot {
	padding: 10px 12px;
	border: 1px dashed var(--wp--preset--color--ink-muted);
	border-radius: 10px;
	font-size: 14px;
}

/* Logo Koffer van Kaat: zonder afbeelding niets tonen */
.fx-landing-logo {
	padding-top: 20px;
	padding-bottom: 20px;
	border-bottom: 1px solid var(--wp--preset--color--rand);
}

.fx-landing-logo p {
	margin: 0;
}

.wp-site-blocks .fx-landing-logo:has(img:not([src])) {
	display: none;
}

/* Footer landingspagina */
.fx-footer-landing {
	padding-top: 28px;
	padding-bottom: 28px;
}

.fx-footer-landing p {
	margin: 0;
}

.fx-footer-landing a {
	color: var(--wp--preset--color--surface);
}

/* Knopbalk op de landingspagina: pas tonen als de knop in de opening uit beeld is,
   en weg zodra het formulier in beeld is. Zo dekt hij geen knop of veld af. */
@media (max-width: 820px) {
	.js .fx-landing-pagina.fx-mbar-bewaakt .wp-block-buttons.fx-mbar {
		transform: translateY(110%);
		visibility: hidden;
		transition: transform 0.25s ease, visibility 0s linear 0.25s;
	}
	.js .fx-landing-pagina.fx-mbar-aan .wp-block-buttons.fx-mbar {
		transform: none;
		visibility: visible;
		transition: transform 0.25s ease;
	}
}

.fx-bedankt .fx-icon-ok {
	margin-bottom: 8px;
}

@media (max-width: 599px) {
	.fx-landing-aanvraag .fx-card {
		padding: 22px 18px;
	}
}

/* Landing: agenda (Microsoft Bookings) in de pagina.
   Tot 420px breed vult Bookings zijn kaart helemaal met wit; vanaf ±1030px ook, met datum en tijd naast elkaar.
   Daartussen toont Bookings grijze randen, dus daar blijft het kader 420px. Het kader schuift de eigen kop van
   Bookings (logo en titel, ±240px) uit beeld, zodat de agenda bij de dienstkaart begint.
   Op volle hoogte (de pagina van Bookings is ±2270px) is er geen tweede scrollbalk. */
.fx-landing-agenda {
	padding-top: clamp(40px, 6vw, 72px);
}

.fx-landing-agenda > h2 {
	text-align: center;
}

.fx-landing-agenda .fx-agenda-frame {
	width: 100%;
	max-width: 420px;
	margin: 24px auto 0;
	border-radius: 20px;
	overflow: hidden;
	background: var(--wp--preset--color--surface);
	box-shadow: 0 1px 2px color-mix(in srgb, var(--wp--preset--color--ink) 8%, transparent), 0 12px 32px color-mix(in srgb, var(--wp--preset--color--ink) 10%, transparent);
}

.fx-landing-agenda .fx-agenda-frame iframe {
	display: block;
	width: 100%;
	height: 2300px;
	margin-top: -260px;
	border: 0;
}

.fx-agenda-los,
.fx-agenda-alt {
	max-width: 420px;
	margin: 12px auto 0;
	text-align: center;
	color: var(--wp--preset--color--ink-muted);
}

.fx-landing-agenda .wp-block-buttons {
	justify-content: center;
	margin-top: 24px;
}

/* Vanaf ±1030px breed zet Bookings datum en tijd naast elkaar (pagina ±1900px hoog).
   1180px venster laat na de kantlijnen genoeg breedte over voor die opmaak. */
@media (min-width: 1180px) {
	.fx-landing-agenda .fx-agenda-frame {
		max-width: 1120px;
	}
	.fx-landing-agenda .fx-agenda-frame iframe {
		height: 1960px;
	}
}

@media (max-width: 600px) {
	.fx-landing-agenda .fx-agenda-frame {
		border-radius: 16px;
		box-shadow: none;
		border: 1px solid var(--wp--preset--color--rand);
	}
}

/* Landing: binnenkomst van de opening. Alleen verschuiven, nooit doorzichtig:
   de kop en de knop zijn vanaf het eerste beeld leesbaar. */
.fx-landing-hero .fx-lh > * {
	animation: fx-omhoog 600ms var(--fx-ease-out) both;
}

.fx-landing-hero .fx-lh > .fx-lh-belofte { animation-delay: 60ms; }
.fx-landing-hero .fx-lh > .fx-lh-knop { animation-delay: 120ms; }
.fx-landing-hero .fx-lh > .fx-lh-noot,
.fx-landing-hero .fx-lh > .fx-lh-garantie { animation-delay: 180ms; }

.fx-landing-hero .fx-lh > .fx-vsl {
	animation-name: fx-vsl-in;
	animation-duration: 700ms;
	animation-delay: 120ms;
}

@keyframes fx-vsl-in {
	from {
		transform: translateY(16px) scale(0.97);
	}
}

/* Landing: eigen speelknop op de video (het script zet hem erop; zonder script blijven de gewone knoppen) */
.fx-vsl.heeft-speelknop {
	position: relative;
}

.fx-vsl-speel {
	position: absolute;
	inset: 0;
	display: grid;
	place-content: center;
	justify-items: center;
	gap: 14px;
	width: 100%;
	padding: 0;
	border: 0;
	background: linear-gradient(to top, color-mix(in srgb, var(--wp--preset--color--ink) 55%, transparent), transparent 60%);
	color: var(--wp--preset--color--surface);
	font: inherit;
	cursor: pointer;
	transition: opacity 200ms var(--fx-ease-out), visibility 0s linear 200ms;
}

.fx-vsl-rondje {
	display: grid;
	place-items: center;
	width: 84px;
	height: 84px;
	border-radius: 50%;
	background: var(--wp--preset--color--surface);
	color: var(--wp--preset--color--action);
	box-shadow: 0 10px 30px color-mix(in srgb, var(--wp--preset--color--ink) 28%, transparent);
	transition: transform 160ms var(--fx-ease-out);
}

.fx-vsl-rondje svg {
	width: 30px;
	height: 30px;
	margin-left: 4px;
}

.fx-vsl-tekst {
	padding: 6px 14px;
	border-radius: 999px;
	background: color-mix(in srgb, var(--wp--preset--color--ink) 70%, transparent);
	font-size: var(--wp--preset--font-size--small);
	font-weight: 700;
}

@media (hover: hover) and (pointer: fine) {
	.fx-vsl-speel:hover .fx-vsl-rondje {
		transform: scale(1.06);
	}
}

.fx-vsl-speel:active .fx-vsl-rondje {
	transform: scale(0.95);
	transition-duration: 100ms;
}

.fx-vsl-speel:focus-visible {
	outline: 3px solid var(--wp--preset--color--surface);
	outline-offset: -6px;
}

.fx-vsl.speelt .fx-vsl-speel {
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
}

/* ------------------------------------------------------------------
   Cookiebanner (Complianz): op de telefoon een smalle strook, zodat de
   knoppen van de pagina zichtbaar blijven. Akkoord en Weigeren even groot.
   ------------------------------------------------------------------ */
/* Duidelijke focus in de banner; een link zonder tekst (document nog niet gemaakt) niet tonen */
.cmplz-cookiebanner :focus-visible {
	outline: 3px solid var(--wp--preset--color--action);
	outline-offset: 2px;
}

.cmplz-cookiebanner a.cmplz-link:empty {
	display: none;
}

@media (max-width: 768px) {
	.cmplz-cookiebanner.cmplz-bottom {
		gap: 8px;
		padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
	}
	.cmplz-cookiebanner.cmplz-bottom .cmplz-header {
		display: none;
	}
	.cmplz-cookiebanner.cmplz-bottom .cmplz-body {
		margin: 0;
	}
	.cmplz-cookiebanner.cmplz-bottom .cmplz-buttons {
		display: flex;
		flex-flow: row wrap;
		gap: 8px;
	}
	.cmplz-cookiebanner.cmplz-bottom .cmplz-buttons .cmplz-accept,
	.cmplz-cookiebanner.cmplz-bottom .cmplz-buttons .cmplz-deny {
		flex: 1 1 0;
		min-height: 44px;
		margin: 0;
	}
	.cmplz-cookiebanner.cmplz-bottom .cmplz-buttons .cmplz-btn.cmplz-view-preferences {
		flex: 1 0 100%;
		min-height: 32px;
		margin: 0;
		border: 0;
		background: none;
		text-decoration: underline;
	}
}
