/*!
 * Van der Windt Mobiel Menu v1.1.0
 */
:root {
	--vdw-ink: #29251f;          /* primary */
	--vdw-ink-soft: #4c453d;
	--vdw-muted: #7c7065;
	--vdw-taupe: #b9ac9d;
	--vdw-sand: #efe8df;         /* secondary */
	--vdw-cream: #f6f2ec;
	--vdw-line: rgba(41, 37, 31, .12);
	--vdw-font-heading: var(--et_global_heading_font, 'Cormorant'), Georgia, serif;
	--vdw-font-body: var(--et_global_body_font, 'Public Sans'), Helvetica, Arial, sans-serif;
	--vdw-ease: cubic-bezier(.22, 1, .36, 1);
	--vdw-speed: .55s;
}

/* ------------------------------------------------------------------ *
 * Divi-menu vervangen
 * ------------------------------------------------------------------ */
html[data-vdw-mm="ready"] .hoofd-menu .et_mobile_nav_menu {
	display: none !important;
}
html[data-vdw-mm="ready"] .hoofd-menu[data-vdw-collapsed] .et_pb_menu__menu {
	display: none !important;
}
html[data-vdw-mm="ready"] .hoofd-menu[data-vdw-collapsed] .et_pb_menu__wrap {
	justify-content: flex-end;
}

/* ------------------------------------------------------------------ *
 * Header: belknop + hamburger
 * ------------------------------------------------------------------ */
.vdw-mm-bar {
	display: none;
	align-items: center;
	gap: 10px;
	margin-left: auto;
	color: #fff;
	--vdw-bar-line: rgba(255, 255, 255, .45);
	--vdw-bar-fill: #fff;
	--vdw-bar-on-fill: var(--vdw-ink);
}
html[data-vdw-mm="ready"] .hoofd-menu[data-vdw-collapsed] .vdw-mm-bar,
html[data-vdw-mm="ready"] .hoofd-menu.is-menu-collapsed .vdw-mm-bar {
	display: flex;
}
/* Lichte header of sticky (wit) → donkere knoppen */
.vdw-mm-bar[data-vdw-tone="dark"],
.et_pb_sticky .vdw-mm-bar {
	color: var(--vdw-ink);
	--vdw-bar-line: rgba(41, 37, 31, .25);
	--vdw-bar-fill: var(--vdw-ink);
	--vdw-bar-on-fill: #fff;
}

.vdw-mm-call,
.vdw-mm-burger {
	-webkit-tap-highlight-color: transparent;
	box-sizing: border-box;
	height: 46px;
	border-radius: 100px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font: 500 14px/1 var(--vdw-font-body);
	letter-spacing: .01em;
	text-decoration: none !important;
	white-space: nowrap;
	cursor: pointer;
	transition: background-color .3s ease, color .3s ease, border-color .3s ease, transform .2s ease;
}
.vdw-mm-call:active,
.vdw-mm-burger:active {
	transform: scale(.95);
}

.vdw-mm-call {
	gap: 8px;
	padding: 0 18px 0 6px;
	border: 1px solid var(--vdw-bar-line);
	color: inherit !important;
	background: transparent;
}
.vdw-mm-call__icon {
	position: relative;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	display: grid;
	place-items: center;
	background: var(--vdw-bar-fill);
	color: var(--vdw-bar-on-fill);
	transition: background-color .3s ease, color .3s ease;
}
.vdw-mm-call__icon .vdw-mm-icon {
	width: 17px;
	height: 17px;
}
/* zachte "ring" die de belknop laat opvallen */
.vdw-mm-call__icon::after {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: 50%;
	border: 1px solid var(--vdw-bar-fill);
	opacity: 0;
	animation: vdw-mm-ring 3.2s var(--vdw-ease) 1.5s infinite;
}
@keyframes vdw-mm-ring {
	0%   { transform: scale(1);   opacity: .7; }
	45%  { transform: scale(1.55); opacity: 0; }
	100% { transform: scale(1.55); opacity: 0; }
}

.vdw-mm-burger {
	width: 46px;
	padding: 0;
	border: 0;
	background: var(--vdw-bar-fill);
	color: var(--vdw-bar-on-fill);
}
.vdw-mm-burger__lines {
	position: relative;
	display: block;
	width: 20px;
	height: 12px;
}
.vdw-mm-burger__lines i {
	position: absolute;
	right: 0;
	height: 1.5px;
	border-radius: 2px;
	background: currentColor;
	transition: width .35s var(--vdw-ease), transform .35s var(--vdw-ease);
}
.vdw-mm-burger__lines i:nth-child(1) { top: 0;    width: 100%; }
.vdw-mm-burger__lines i:nth-child(2) { top: 5.25px; width: 70%; }
.vdw-mm-burger__lines i:nth-child(3) { bottom: 0; width: 45%; }

@media (hover: hover) {
	.vdw-mm-call:hover { border-color: currentColor; }
	.vdw-mm-burger:hover .vdw-mm-burger__lines i { width: 100%; }
}
.vdw-mm-call:focus-visible,
.vdw-mm-burger:focus-visible {
	outline: 2px solid var(--vdw-taupe);
	outline-offset: 3px;
}

@media (max-width: 400px) {
	.vdw-mm-bar { gap: 8px; }
	.vdw-mm-call { width: 46px; padding: 0; border: 0; }
	.vdw-mm-call__icon { width: 46px; height: 46px; }
	.vdw-mm-call__txt {
		position: absolute !important;
		width: 1px; height: 1px;
		overflow: hidden;
		clip: rect(0 0 0 0);
		white-space: nowrap;
	}
}

/* ------------------------------------------------------------------ *
 * Scroll-lock
 * ------------------------------------------------------------------ */
html[data-vdw-mm-open],
html[data-vdw-mm-open] body {
	overflow: hidden !important;
	overscroll-behavior: none;
}

/* ------------------------------------------------------------------ *
 * Drawer
 * ------------------------------------------------------------------ */
.vdw-mm {
	position: fixed;
	inset: 0;
	z-index: 1000000;
	visibility: hidden;
	pointer-events: none;
	transition: visibility 0s linear var(--vdw-speed);
	font-family: var(--vdw-font-body);
	-webkit-font-smoothing: antialiased;
}
.vdw-mm.is-open {
	visibility: visible;
	pointer-events: auto;
	transition-delay: 0s;
}
.vdw-mm *,
.vdw-mm *::before,
.vdw-mm *::after {
	box-sizing: border-box;
}

.vdw-mm__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(29, 26, 22, .5);
	-webkit-backdrop-filter: blur(3px);
	backdrop-filter: blur(3px);
	opacity: 0;
	transition: opacity var(--vdw-speed) ease;
}
.vdw-mm.is-open .vdw-mm__backdrop { opacity: 1; }

.vdw-mm__panel {
	position: absolute;
	top: 0;
	right: 0;
	width: min(440px, 100%);
	height: 100%;
	height: 100dvh;
	display: flex;
	flex-direction: column;
	background: var(--vdw-cream);
	color: var(--vdw-ink);
	box-shadow: -30px 0 60px rgba(29, 26, 22, .18);
	transform: translate3d(100%, 0, 0);
	transition: transform var(--vdw-speed) var(--vdw-ease);
	outline: none;
	overflow: hidden;
}
.vdw-mm.is-open .vdw-mm__panel { transform: none; }

/* kop */
.vdw-mm__head {
	flex: 0 0 auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 18px 20px 18px 24px;
	padding-top: calc(18px + env(safe-area-inset-top));
	border-bottom: 1px solid var(--vdw-line);
}
.vdw-mm__logo {
	display: block;
	line-height: 0;
}
.vdw-mm__logo img {
	display: block;
	width: auto;
	height: 22px;
	max-width: 210px;
}
.vdw-mm__close {
	-webkit-tap-highlight-color: transparent;
	position: relative;
	flex: 0 0 auto;
	width: 46px;
	height: 46px;
	padding: 0;
	border: 1px solid var(--vdw-line);
	border-radius: 50%;
	background: transparent;
	color: var(--vdw-ink);
	cursor: pointer;
	transition: background-color .3s ease, border-color .3s ease, transform .5s var(--vdw-ease);
}
.vdw-mm__close span {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 18px;
	height: 1.5px;
	margin: -.75px 0 0 -9px;
	border-radius: 2px;
	background: currentColor;
	transform: rotate(45deg);
}
.vdw-mm__close span + span { transform: rotate(-45deg); }
@media (hover: hover) {
	.vdw-mm__close:hover { background: var(--vdw-sand); border-color: var(--vdw-sand); transform: rotate(90deg); }
}
.vdw-mm__close:focus-visible { outline: 2px solid var(--vdw-ink); outline-offset: 2px; }

/* lijst */
.vdw-mm__body {
	flex: 1 1 auto;
	overflow-y: auto;
	overscroll-behavior: contain;
	-webkit-overflow-scrolling: touch;
	padding: 8px 24px 24px;
}
.vdw-mm__list,
.vdw-mm__list ul {
	list-style: none !important;
	margin: 0 !important;
	padding: 0 !important;
}
.vdw-mm__list li { padding: 0; margin: 0; }
.vdw-mm__list li::before { display: none; }

.vdw-mm__item {
	border-bottom: 1px solid var(--vdw-line);
	opacity: 0;
	transform: translate3d(24px, 0, 0);
	transition: opacity .45s ease, transform .6s var(--vdw-ease);
}
.vdw-mm.is-open .vdw-mm__item {
	opacity: 1;
	transform: none;
	transition-delay: calc(.12s + var(--i, 0) * .045s);
}

.vdw-mm__row {
	display: flex;
	align-items: center;
	gap: 12px;
}
.vdw-mm__link {
	-webkit-tap-highlight-color: transparent;
	flex: 1 1 auto;
	display: flex;
	align-items: baseline;
	gap: 14px;
	padding: 13px 0 11px;
	color: var(--vdw-ink) !important;
	text-decoration: none !important;
	cursor: pointer;
}
.vdw-mm__num {
	flex: 0 0 22px;
	font: 500 11px/1 var(--vdw-font-body);
	letter-spacing: .08em;
	color: var(--vdw-taupe);
	transition: color .3s ease;
}
.vdw-mm__label {
	font-family: var(--vdw-font-heading);
	font-size: 27px;
	font-weight: 500;
	line-height: 1.1;
	letter-spacing: -.005em;
	transition: color .3s ease, transform .4s var(--vdw-ease);
}
.vdw-mm__item.is-current > .vdw-mm__row .vdw-mm__num { color: var(--vdw-ink); }
.vdw-mm__item.is-current > .vdw-mm__row .vdw-mm__label {
	text-decoration: underline;
	text-decoration-color: var(--vdw-taupe);
	text-decoration-thickness: 1px;
	text-underline-offset: 6px;
}
@media (hover: hover) {
	.vdw-mm__link:hover .vdw-mm__label { color: var(--vdw-muted); transform: translateX(4px); }
	.vdw-mm__link:hover .vdw-mm__num { color: var(--vdw-ink); }
}
.vdw-mm__link:focus-visible { outline: 2px solid var(--vdw-ink); outline-offset: 2px; border-radius: 4px; }

/* submenu-knop (+ / −) */
.vdw-mm__toggle {
	-webkit-tap-highlight-color: transparent;
	position: relative;
	flex: 0 0 auto;
	width: 38px;
	height: 38px;
	padding: 0;
	border: 1px solid var(--vdw-line);
	border-radius: 50%;
	background: transparent;
	color: var(--vdw-ink);
	cursor: pointer;
	transition: background-color .3s ease, border-color .3s ease, color .3s ease;
}
.vdw-mm__toggle span {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 12px;
	height: 1.5px;
	margin: -.75px 0 0 -6px;
	border-radius: 2px;
	background: currentColor;
	transition: transform .4s var(--vdw-ease);
}
.vdw-mm__toggle span + span { transform: rotate(90deg); }
.vdw-mm__item.is-expanded .vdw-mm__toggle {
	background: var(--vdw-ink);
	border-color: var(--vdw-ink);
	color: #fff;
}
.vdw-mm__item.is-expanded .vdw-mm__toggle span + span { transform: rotate(0deg); }
@media (hover: hover) {
	.vdw-mm__toggle:hover { border-color: var(--vdw-ink); }
}
.vdw-mm__toggle:focus-visible { outline: 2px solid var(--vdw-ink); outline-offset: 2px; }

/* submenu */
.vdw-mm__sub {
	display: grid;
	grid-template-rows: 0fr;
	transition: grid-template-rows .45s var(--vdw-ease);
}
.vdw-mm__item.is-expanded .vdw-mm__sub { grid-template-rows: 1fr; }
.vdw-mm__sub-inner {
	min-height: 0;
	overflow: hidden;
}
.vdw-mm__sub ul {
	padding: 2px 0 16px 36px !important;
}
.vdw-mm__sub a {
	-webkit-tap-highlight-color: transparent;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 10px 0;
	font: 400 16px/1.35 var(--vdw-font-body);
	color: var(--vdw-ink-soft) !important;
	text-decoration: none !important;
	opacity: 0;
	transform: translateY(-4px);
	transition: opacity .3s ease, transform .4s var(--vdw-ease), color .3s ease;
}
.vdw-mm__item.is-expanded .vdw-mm__sub a {
	opacity: 1;
	transform: none;
	transition-delay: .08s;
}
.vdw-mm__sub li + li a { border-top: 1px dashed var(--vdw-line); }
.vdw-mm__sub-arrow {
	width: 15px;
	height: 15px;
	flex: 0 0 auto;
	color: var(--vdw-taupe);
	transition: transform .35s var(--vdw-ease), color .3s ease;
}
.vdw-mm__sub li.is-current a { color: var(--vdw-ink) !important; font-weight: 600; }
@media (hover: hover) {
	.vdw-mm__sub a:hover { color: var(--vdw-ink) !important; }
	.vdw-mm__sub a:hover .vdw-mm__sub-arrow { transform: translateX(4px); color: var(--vdw-ink); }
}
.vdw-mm__sub a:focus-visible { outline: 2px solid var(--vdw-ink); outline-offset: 2px; border-radius: 4px; }

/* voet */
.vdw-mm__foot {
	flex: 0 0 auto;
	padding: 18px 24px;
	padding-bottom: calc(16px + env(safe-area-inset-bottom));
	background: var(--vdw-sand);
	opacity: 0;
	transform: translate3d(0, 16px, 0);
	transition: opacity .45s ease, transform .6s var(--vdw-ease);
}
.vdw-mm.is-open .vdw-mm__foot {
	opacity: 1;
	transform: none;
	transition-delay: .3s;
}

.vdw-mm__actions {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px;
}
.vdw-mm__btn {
	-webkit-tap-highlight-color: transparent;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 50px;
	padding: 10px 14px;
	border-radius: 100px;
	font: 500 14px/1.2 var(--vdw-font-body);
	white-space: nowrap;
	text-align: center;
	text-decoration: none !important;
	transition: background-color .3s ease, color .3s ease, border-color .3s ease, transform .2s ease;
}
.vdw-mm__btn .vdw-mm-icon { width: 18px; height: 18px; flex: 0 0 auto; }
.vdw-mm__btn:active { transform: scale(.97); }
.vdw-mm__btn.is-primary {
	background: var(--vdw-ink);
	color: #fff !important;
	border: 1px solid var(--vdw-ink);
}
.vdw-mm__btn.is-ghost {
	background: transparent;
	color: var(--vdw-ink) !important;
	border: 1px solid rgba(41, 37, 31, .3);
}
.vdw-mm__btn.is-ghost .vdw-mm-icon { transition: transform .35s var(--vdw-ease); }
@media (hover: hover) {
	.vdw-mm__btn.is-primary:hover { background: #1c1915; }
	.vdw-mm__btn.is-ghost:hover { border-color: var(--vdw-ink); }
	.vdw-mm__btn.is-ghost:hover .vdw-mm-icon { transform: translateX(3px); }
}
.vdw-mm__btn:focus-visible { outline: 2px solid var(--vdw-ink); outline-offset: 3px; }

.vdw-mm__contact {
	margin-top: 14px;
	display: grid;
	gap: 0;
}
.vdw-mm__contact-row {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 6px 0;
	color: var(--vdw-ink) !important;
	text-decoration: none !important;
	font-size: 14px;
	line-height: 1.35;
}
.vdw-mm__contact-icon {
	flex: 0 0 34px;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	display: grid;
	place-items: center;
	background: var(--vdw-cream);
	color: var(--vdw-muted);
}
.vdw-mm__contact-icon .vdw-mm-icon { width: 17px; height: 17px; }
.vdw-mm__contact-text { min-width: 0; overflow-wrap: anywhere; }
.vdw-mm__contact-text small {
	display: block;
	margin-bottom: 1px;
	font-size: 11px;
	font-weight: 500;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--vdw-muted);
}
.vdw-mm__contact-text em {
	display: block;
	font-style: normal;
	font-size: 12px;
	color: var(--vdw-muted);
}
@media (hover: hover) {
	a.vdw-mm__contact-row:hover .vdw-mm__contact-icon { background: var(--vdw-ink); color: #fff; }
}
a.vdw-mm__contact-row:focus-visible { outline: 2px solid var(--vdw-ink); outline-offset: 2px; border-radius: 6px; }

/* Lage schermen (landscape / kleine telefoons): voet compacter */
@media (max-height: 640px) {
	.vdw-mm__label { font-size: 25px; }
	.vdw-mm__link { padding: 11px 0 10px; }
	.vdw-mm__contact { display: none; }
}
@media (max-width: 400px) {
	.vdw-mm__btn.is-ghost .vdw-mm-icon { display: none; }
}
@media (max-width: 340px) {
	.vdw-mm__actions { grid-template-columns: 1fr; }
}

/* ------------------------------------------------------------------ *
 * v1.1.0: leesbaarheid en gebruiksgemak
 * Bestaande class-namen blijven gelijk; dit blok overschrijft alleen.
 * ------------------------------------------------------------------ */

/* Menu-items: goed leesbare sans in plaats van de dunne display-serif */
.vdw-mm__body { padding: 4px 22px 28px; }
.vdw-mm__link {
	align-items: center;
	gap: 0;
	min-height: 56px;
	padding: 14px 0;
}
.vdw-mm__num { display: none; }
.vdw-mm__label {
	font-family: var(--vdw-font-body);
	font-size: 19px;
	font-weight: 500;
	line-height: 1.3;
	letter-spacing: 0;
}
.vdw-mm__item.is-current > .vdw-mm__row .vdw-mm__label {
	font-weight: 600;
	text-decoration: none;
}
.vdw-mm__item.is-current > .vdw-mm__row .vdw-mm__label::after {
	content: "";
	display: inline-block;
	width: 7px;
	height: 7px;
	margin-left: 10px;
	border-radius: 50%;
	background: var(--vdw-taupe);
	vertical-align: middle;
	transform: translateY(-1px);
}
@media (hover: hover) {
	.vdw-mm__link:hover .vdw-mm__label { color: var(--vdw-ink-soft); transform: none; }
}

/* Grotere, duidelijkere submenu-knop (tikvlak 44px) */
.vdw-mm__toggle {
	width: 44px;
	height: 44px;
	border-color: rgba(41, 37, 31, .22);
}
.vdw-mm__toggle span {
	width: 14px;
	margin-left: -7px;
}

/* Submenu: iets groter, rustige lijn links voor de hiërarchie */
.vdw-mm__sub ul {
	margin: 0 0 14px 2px !important;
	padding: 2px 0 2px 16px !important;
	border-left: 2px solid var(--vdw-sand);
}
.vdw-mm__sub a {
	padding: 12px 4px 12px 0;
	font-size: 17px;
	line-height: 1.35;
}
.vdw-mm__sub li + li a { border-top: 1px solid rgba(41, 37, 31, .07); }
.vdw-mm__sub-arrow { width: 16px; height: 16px; color: var(--vdw-muted); }

/* Contactgegevens staan nu onder de navigatie (scrollbaar), de voet houdt alleen de knoppen */
.vdw-mm__body .vdw-mm__contact {
	margin-top: 24px;
	padding: 6px 16px;
	border-radius: 16px;
	background: var(--vdw-sand);
}
.vdw-mm__body .vdw-mm__contact-row {
	padding: 11px 0;
	font-size: 15px;
}
.vdw-mm__body .vdw-mm__contact-row + .vdw-mm__contact-row { border-top: 1px solid rgba(41, 37, 31, .08); }
.vdw-mm__contact-text small { font-size: 11px; letter-spacing: .06em; }
.vdw-mm__contact-text em { margin-top: 2px; font-size: 13px; line-height: 1.4; }
.vdw-mm__foot {
	padding: 12px 20px;
	padding-bottom: calc(12px + env(safe-area-inset-bottom));
	background: var(--vdw-cream);
	border-top: 1px solid var(--vdw-line);
}
.vdw-mm__btn {
	min-height: 50px;
	font-size: 15px;
	font-weight: 600;
}

@media (max-height: 640px) {
	.vdw-mm__label { font-size: 18px; }
	.vdw-mm__link { min-height: 50px; padding: 11px 0; }
	.vdw-mm__body .vdw-mm__contact { display: grid; }
}

@media (prefers-reduced-motion: reduce) {
	.vdw-mm,
	.vdw-mm *,
	.vdw-mm-bar * {
		transition-duration: .01ms !important;
		transition-delay: 0s !important;
		animation: none !important;
	}
}
