/* ==========================================================================
   Zaagmachines.eu â€” Global Design System
   ========================================================================== */

:root {
	--color-orange: #f5a623;
	--color-orange-hover: #db8d0f;
	--color-orange-dark: #bd7607;

	--color-charcoal: #242424;
	--color-dark: #353331;
	--color-grey-dark: #4d4947;
	--color-grey: #6f6a67;
	--color-grey-light: #d9d7d5;

	--color-bg: #ffffff;
	--color-bg-soft: #f3f3f2;
	--color-surface: #ffffff;

	--color-text: #282828;
	--color-text-muted: #686868;
	--color-muted: var(--color-text-muted);
	--color-heading: #202020;

	--color-border: #dedddc;
	--color-border-strong: #c5c3c1;

	--color-primary: var(--color-orange);
	--color-primary-hover: var(--color-orange-hover);
	--color-focus: #f5a623;

	--font-sans:
		system-ui,
		-apple-system,
		BlinkMacSystemFont,
		"Segoe UI",
		Helvetica,
		Arial,
		sans-serif;

	--font-size-xs: 0.75rem;
	--font-size-sm: 0.875rem;
	--font-size-base: 1rem;
	--font-size-md: 1.125rem;
	--font-size-lg: 1.375rem;
	--font-size-xl: 1.75rem;
	--font-size-2xl: 2.4rem;
	--font-size-3xl: clamp(2.75rem, 5vw, 5rem);

	--line-height-tight: 1.05;
	--line-height-heading: 1.15;
	--line-height-base: 1.65;

	--container-width: 80rem;
	--container-reading: 48rem;

	--space-1: 0.25rem;
	--space-2: 0.5rem;
	--space-3: 0.75rem;
	--space-4: 1rem;
	--space-5: 1.5rem;
	--space-6: 2rem;
	--space-7: 3rem;
	--space-8: 4rem;
	--space-9: 6rem;
	--space-10: 8rem;

	--radius-sm: 0.2rem;
	--radius-md: 0.5rem;
	--radius-lg: 0.75rem;

	--shadow-sm: 0 2px 8px rgb(0 0 0 / 5%);
	--shadow-md: 0 16px 40px rgb(0 0 0 / 10%);

	--transition-fast: 160ms ease;
	--transition-base: 240ms ease;

	/* Shared interaction / CTA system */
	--ease-premium: cubic-bezier(.2,.7,.2,1);
	--button-gradient: linear-gradient(180deg, #ffb52e 0%, #f5a623 48%, #e99212 100%);
	--button-gradient-hover: linear-gradient(180deg, #ffbc42 0%, #f5a623 48%, #df8d0d 100%);
	--button-shadow: inset 0 1px 0 rgb(255 255 255 / 28%), 0 8px 18px rgb(189 118 7 / 16%);
	--button-shadow-hover: inset 0 1px 0 rgb(255 255 255 / 34%), 0 12px 26px rgb(189 118 7 / 24%);
}


/* Reset
   ========================================================================== */

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
}

body {
	margin: 0;
	padding-bottom: 108px;
	background: var(--color-bg);
	color: var(--color-text);
	font-family: var(--font-sans);
	font-size: var(--font-size-base);
	line-height: var(--line-height-base);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

img,
picture,
svg,
video {
	display: block;
	max-width: 100%;
	height: auto;
}

button,
input,
select,
textarea {
	font: inherit;
}

button {
	cursor: pointer;
}

a {
	color: inherit;
	text-decoration-thickness: 0.08em;
	text-underline-offset: 0.18em;
}

p,
ul,
ol,
dl,
blockquote,
figure {
	margin-top: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	margin-top: 0;
	color: var(--color-heading);
	font-weight: 750;
	line-height: var(--line-height-heading);
	text-wrap: balance;
}

h1 {
	font-size: var(--font-size-3xl);
	line-height: var(--line-height-tight);
	letter-spacing: -0.045em;
}

h2 {
	font-size: var(--font-size-2xl);
	letter-spacing: -0.03em;
}

h3 {
	font-size: var(--font-size-lg);
}

::selection {
	background: var(--color-orange);
	color: #fff;
}


/* Accessibility
   ========================================================================== */

:focus-visible {
	outline: 3px solid var(--color-focus);
	outline-offset: 3px;
}

.skip-link {
	position: fixed;
	z-index: 9999;
	top: var(--space-4);
	left: var(--space-4);
	padding: var(--space-3) var(--space-4);
	background: var(--color-charcoal);
	color: #fff;
	font-weight: 700;
	text-decoration: none;
	transform: translateY(-200%);
}

.skip-link:focus {
	transform: translateY(0);
}


/* Layout
   ========================================================================== */

.container {
	width: min(calc(100% - 2rem), var(--container-width));
	margin-inline: auto;
}

.container--reading {
	width: min(calc(100% - 2rem), var(--container-reading));
	margin-inline: auto;
}

main {
	display: block;
}

section {
	position: relative;
}


/* Shared headings
   ========================================================================== */

.eyebrow {
	margin-bottom: var(--space-4);
	color: var(--color-orange);
	font-size: var(--font-size-xs);
	font-weight: 850;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.section-heading {
	max-width: 52rem;
	margin-bottom: var(--space-7);
}

.section-heading h2 {
	margin-bottom: var(--space-4);
}

.section-heading > p:last-child {
	max-width: 44rem;
	margin-bottom: 0;
	color: var(--color-text-muted);
	font-size: var(--font-size-md);
}

.section-heading--split {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	max-width: none;
	gap: var(--space-6);
}


/* Buttons
   ========================================================================== */

.button {
	position: relative;
	isolation: isolate;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 3.25rem;
	overflow: hidden;
	padding: 0.9rem 1.5rem;
	border: 1px solid transparent;
	border-radius: 2px;
	background: var(--button-gradient);
	box-shadow: var(--button-shadow);
	color: #fff;
	font-size: var(--font-size-sm);
	font-weight: 800;
	letter-spacing: 0.04em;
	line-height: 1;
	text-decoration: none;
	text-transform: uppercase;
	transition:
		transform 180ms ease,
		box-shadow 180ms ease,
		border-color 180ms ease,
		background-color 180ms ease,
		color 180ms ease;
}

.button::before {
	position: absolute;
	z-index: -1;
	top: -60%;
	left: -55%;
	width: 34%;
	height: 220%;
	background: linear-gradient(90deg, transparent, rgb(255 255 255 / 34%), transparent);
	content: "";
	transform: skewX(-18deg);
	transition: left 560ms var(--ease-premium);
}

@media (hover: hover) and (pointer: fine) {
	.button:hover {
		background: var(--button-gradient-hover);
		box-shadow: var(--button-shadow-hover);
		color: #fff;
		transform: translateY(-2px);
	}

	.button:hover::before {
		left: 125%;
	}
}

.button:active {
	transform: translateY(1px);
}

.button--primary {
	border-color: var(--color-orange);
}

.button--dark {
	background: var(--color-charcoal);
	box-shadow: none;
}

.button--dark::before,
.button--outline::before {
	display: none;
}

.button--dark:hover {
	background: var(--color-dark);
	box-shadow: none;
}

.button--outline {
	border-color: var(--color-charcoal);
	background: transparent;
	box-shadow: none;
	color: var(--color-charcoal);
}

.button--outline:hover {
	background: var(--color-charcoal);
	box-shadow: none;
	color: #fff;
}


/* Header
   ========================================================================== */

.site-header {
	position: relative;
	z-index: 100;
	border-bottom: 3px solid var(--color-orange);
	background: var(--color-surface);
}

.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 5.5rem;
	gap: var(--space-6);
}

.site-branding {
	display: flex;
	align-items: center;
	flex-shrink: 0;
}

.site-branding .custom-logo-link {
	display: block;
	line-height: 0;
}

.site-branding .custom-logo {
	display: block;
	width: auto;
	height: 3.5rem;
	max-width: 15rem;
	object-fit: contain;
}

.site-logo {
	color: var(--color-charcoal);
	font-size: 1.3rem;
	font-weight: 850;
	letter-spacing: -0.03em;
	text-decoration: none;
}

.site-header__right {
	display: flex;
	align-items: center;
	gap: var(--space-6);
}

.site-header__cta {
	flex-shrink: 0;
}

.site-nav ul {
	display: flex;
	align-items: center;
	gap: var(--space-6);
	margin: 0;
	padding: 0;
	list-style: none;
}

.site-nav a {
	position: relative;
	padding-block: var(--space-2);
	color: var(--color-charcoal);
	font-size: var(--font-size-sm);
	font-weight: 750;
	text-decoration: none;
	text-transform: uppercase;
}

.site-nav a::after {
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	height: 2px;
	background: var(--color-orange);
	content: "";
	transform: scaleX(0);
	transform-origin: right;
	transition: transform var(--transition-fast);
}

.site-nav a:hover::after,
.site-nav .current-menu-item > a::after {
	transform: scaleX(1);
	transform-origin: left;
}


/* Mobile menu button
   ========================================================================== */

.site-menu-toggle {
	display: none;
	position: relative;
	flex: 0 0 3rem;
	width: 3rem;
	height: 3rem;
	padding: 0;
	border: 0;
	background: transparent;
}

.site-menu-toggle span {
	position: absolute;
	left: 0.55rem;
	width: 1.9rem;
	height: 2px;
	background: var(--color-charcoal);
	transition:
		transform var(--transition-fast),
		top var(--transition-fast),
		opacity var(--transition-fast),
		background-color var(--transition-fast);
}

.site-menu-toggle span:nth-child(1) { top: 0.9rem; }
.site-menu-toggle span:nth-child(2) { top: 1.45rem; }
.site-menu-toggle span:nth-child(3) { top: 2rem; }


/* Global sticky machine dock
   ========================================================================== */

.machine-dock {
	position: fixed;
	z-index: 999;
	right: 0;
	bottom: 18px;
	left: 0;
	padding-inline: 20px;
	pointer-events: none;
}

.machine-dock__inner {
	display: grid;
	grid-template-columns:
		minmax(0, 0.78fr)
		minmax(0, 1.08fr)
		minmax(0, 0.94fr)
		minmax(170px, 0.78fr)
		minmax(190px, 0.88fr);
	width: min(1260px, 100%);
	margin-inline: auto;
	border: 1px solid rgb(255 255 255 / 14%);
	background: #222;
	box-shadow: 0 22px 60px rgb(0 0 0 / 24%);
	pointer-events: auto;
}

.machine-dock__item {
	position: relative;
	display: flex;
	align-items: center;
	gap: 12px;
	min-width: 0;
	min-height: 70px;
	padding: 0 22px;
	border-right: 1px solid rgb(255 255 255 / 12%);
	color: #fff;
	text-decoration: none;
	transition:
		background-color 180ms ease,
		transform 180ms ease;
}

.machine-dock__item:last-child {
	border-right: 0;
}

.machine-dock__item::before {
	position: absolute;
	top: 0;
	left: 22px;
	width: 24px;
	height: 2px;
	background: var(--color-orange);
	content: "";
	opacity: 0;
	transition: opacity 180ms ease;
}

.machine-dock__number {
	flex: 0 0 auto;
	color: var(--color-orange);
	font-size: 9px;
	font-weight: 850;
	letter-spacing: 0.1em;
}

.machine-dock__label {
	min-width: 0;
	font-size: 13px;
	font-weight: 750;
	line-height: 1.2;
}

.machine-dock__arrow {
	flex: 0 0 auto;
	margin-left: auto;
	color: var(--color-orange);
	font-size: 20px;
	line-height: 1;
	transition: transform 180ms ease;
}

.machine-dock__item--all {
	background: rgb(255 255 255 / 4%);
}

.machine-dock__item--advice {
	isolation: isolate;
	overflow: hidden;
	background: var(--button-gradient);
	box-shadow: inset 0 1px 0 rgb(255 255 255 / 24%);
	color: #1e1e1e;
}

.machine-dock__item--advice .machine-dock__kicker {
	display: block;
	margin-bottom: 4px;
	font-size: 8px;
	font-weight: 850;
	letter-spacing: 0.11em;
	text-transform: uppercase;
	opacity: 0.72;
}

.machine-dock__item--advice .machine-dock__label {
	font-weight: 850;
}

.machine-dock__item--advice .machine-dock__arrow {
	color: #1e1e1e;
}

.machine-dock__item--advice::before {
	position: absolute;
	z-index: -1;
	top: -60%;
	left: -55%;
	display: block;
	width: 34%;
	height: 220%;
	background: linear-gradient(90deg, transparent, rgb(255 255 255 / 30%), transparent);
	content: "";
	opacity: 1;
	transform: skewX(-18deg);
	transition: left 560ms var(--ease-premium);
}

.machine-dock__mobile {
	display: none;
}

@media (hover: hover) and (pointer: fine) {
	.machine-dock__item:hover {
		background: #2d2d2d;
		transform: translateY(-2px);
	}

	.machine-dock__item:hover::before {
		opacity: 1;
	}

	.machine-dock__item:hover .machine-dock__arrow {
		transform: translateX(4px);
	}

	.machine-dock__item--advice:hover {
		background: var(--button-gradient-hover);
		box-shadow: var(--button-shadow-hover);
	}

	.machine-dock__item--advice:hover::before {
		left: 125%;
	}
}

.machine-dock a:focus-visible {
	outline: 3px solid #fff;
	outline-offset: -3px;
}

.menu-open .machine-dock {
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transform: translate(-50%, 12px);
}


/* Footer
   ========================================================================== */

.site-footer {
	margin-top: 0;
	border-top: 4px solid var(--color-orange);
	background: var(--color-charcoal);
	color: rgb(255 255 255 / 68%);
}

.site-footer__main {
	padding-block: clamp(3.5rem, 7vw, 6rem);
}

.site-footer__grid {
	display: grid;
	grid-template-columns:
		minmax(16rem, 1.35fr)
		minmax(10rem, 0.75fr)
		minmax(16rem, 1fr)
		minmax(14rem, 0.85fr);
	align-items: start;
	gap: clamp(2rem, 5vw, 5rem);
}

.site-footer__brand {
	max-width: 25rem;
}

.site-footer__logo {
	display: inline-block;
	margin-bottom: var(--space-5);
	color: #fff;
	font-size: clamp(1.25rem, 2vw, 1.5rem);
	font-weight: 850;
	letter-spacing: -0.035em;
	text-decoration: none;
}

.site-footer__logo:hover {
	color: var(--color-orange);
}

.site-footer__intro {
	max-width: 24rem;
	margin: 0 0 var(--space-5);
	color: rgb(255 255 255 / 62%);
	line-height: 1.7;
}

.site-footer__contact-link {
	display: inline-block;
	color: #fff;
	font-weight: 750;
	text-decoration-color: var(--color-orange);
	text-decoration-thickness: 2px;
	text-underline-offset: 0.3rem;
}

.site-footer__contact-link:hover {
	color: var(--color-orange);
}

.site-footer__heading {
	position: relative;
	margin: 0 0 var(--space-5);
	padding-bottom: var(--space-3);
	color: #fff;
	font-size: var(--font-size-xs);
	font-weight: 850;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.site-footer__heading::after {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 2.5rem;
	height: 2px;
	background: var(--color-orange);
	content: "";
}

.site-footer__nav ul,
.site-footer__market-list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.site-footer__nav li + li {
	margin-top: var(--space-3);
}

.site-footer__nav a {
	display: inline-block;
	color: rgb(255 255 255 / 72%);
	font-size: var(--font-size-sm);
	font-weight: 650;
	text-decoration: none;
	transition:
		color var(--transition-fast),
		transform var(--transition-fast);
}

.site-footer__nav a:hover {
	color: #fff;
	transform: translateX(3px);
}

.site-footer__support p:not(.site-footer__heading),
.site-footer__markets > p:not(.site-footer__heading) {
	margin: 0;
	color: rgb(255 255 255 / 62%);
	line-height: 1.7;
}

.site-footer__support .button {
	margin-top: var(--space-5);
}

.site-footer__market-list {
	margin-top: var(--space-5);
	border-top: 1px solid rgb(255 255 255 / 12%);
}

.site-footer__market-list li {
	position: relative;
	padding: var(--space-3) 0 var(--space-3) var(--space-5);
	border-bottom: 1px solid rgb(255 255 255 / 12%);
	color: #fff;
	font-size: var(--font-size-sm);
	font-weight: 700;
}

.site-footer__market-list li::before {
	position: absolute;
	top: 50%;
	left: 0;
	width: 0.45rem;
	height: 0.45rem;
	background: var(--color-orange);
	content: "";
	transform: translateY(-50%);
}

.site-footer__bottom {
	border-top: 1px solid rgb(255 255 255 / 12%);
	background: rgb(0 0 0 / 10%);
}

.site-footer__bottom-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 5rem;
	gap: var(--space-5);
}

.site-footer__bottom p {
	margin: 0;
	color: rgb(255 255 255 / 48%);
	font-size: var(--font-size-xs);
}

.site-footer__bottom p:last-child {
	text-align: right;
}


/* Tablet
   ========================================================================== */

@media (max-width: 64rem) {
	.section-heading--split {
		align-items: flex-start;
		flex-direction: column;
	}

	.site-footer__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: var(--space-7) var(--space-8);
	}

	.site-footer__brand {
		max-width: 30rem;
	}

	body {
		padding-bottom: 102px;
	}

	.machine-dock {
		bottom: 14px;
		padding-inline: 14px;
	}

	.machine-dock__inner {
		grid-template-columns:
			minmax(0, 0.72fr)
			minmax(0, 1fr)
			minmax(0, 0.88fr)
			minmax(140px, 0.72fr)
			minmax(168px, 0.82fr);
	}

	.machine-dock__item {
		min-height: 64px;
		padding-inline: 14px;
		gap: 8px;
	}

	.machine-dock__label {
		font-size: 11px;
	}
}


/* Mobile
   ========================================================================== */

@media (max-width: 48rem) {
	:root {
		--space-8: 3rem;
		--space-9: 4rem;
		--space-10: 5rem;
	}

	.container {
		width: min(calc(100% - 1.5rem), var(--container-width));
	}

	.site-header__inner {
		min-height: 4.75rem;
	}

	.site-branding {
		position: relative;
		z-index: 103;
	}

	.site-branding .custom-logo {
		height: 2.75rem;
		max-width: 12rem;
	}

	.site-menu-toggle {
		z-index: 103;
		display: block;
		margin-left: auto;
	}

	.site-header__right {
		position: fixed;
		z-index: 102;
		inset: 0;
		display: flex;
		visibility: hidden;
		flex-direction: column;
		align-items: stretch;
		justify-content: flex-start;
		gap: var(--space-7);
		padding: 7rem 1.5rem 2rem;
		background: var(--color-charcoal);
		opacity: 0;
		transform: translateX(100%);
		transition:
			transform var(--transition-base),
			opacity var(--transition-base),
			visibility var(--transition-base);
	}

	.menu-open .site-header__right {
		visibility: visible;
		opacity: 1;
		transform: translateX(0);
	}

	.site-nav ul {
		align-items: stretch;
		flex-direction: column;
		gap: 0;
	}

	.site-nav li {
		border-bottom: 1px solid rgb(255 255 255 / 14%);
	}

	.site-nav a {
		display: block;
		padding-block: 1rem;
		color: #fff;
		font-size: 1.125rem;
	}

	.site-nav a::after {
		display: none;
	}

	.site-header__cta {
		display: inline-flex;
		width: 100%;
	}

	body.menu-open {
		overflow: hidden;
	}

	.menu-open .site-menu-toggle span {
		background: #fff;
	}

	.menu-open .site-menu-toggle span:nth-child(1) {
		top: 1.45rem;
		transform: rotate(45deg);
	}

	.menu-open .site-menu-toggle span:nth-child(2) {
		opacity: 0;
	}

	.menu-open .site-menu-toggle span:nth-child(3) {
		top: 1.45rem;
		transform: rotate(-45deg);
	}

	body {
		padding-bottom: 84px;
	}

	.machine-dock {
		bottom: 10px;
		padding-inline: 10px;
	}

	.machine-dock__inner {
		display: none;
	}

	.machine-dock__mobile {
		display: grid;
		grid-template-columns: 1fr 1fr;
		width: 100%;
		max-width: 560px;
		margin-inline: auto;
		border: 1px solid rgb(255 255 255 / 16%);
		background: #222;
		box-shadow: 0 18px 46px rgb(0 0 0 / 28%);
		pointer-events: auto;
	}

	.machine-dock__mobile-link {
		display: flex;
		align-items: center;
		justify-content: center;
		min-height: 58px;
		padding: 0 14px;
		color: #fff;
		font-size: 11px;
		font-weight: 800;
		letter-spacing: 0.04em;
		text-align: center;
		text-decoration: none;
		text-transform: uppercase;
	}

	.machine-dock__mobile-link + .machine-dock__mobile-link {
		border-left: 1px solid rgb(255 255 255 / 14%);
	}

	.machine-dock__mobile-link--accent {
		background: var(--button-gradient);
		color: #1e1e1e;
	}

	.site-footer__main {
		padding-block: var(--space-8);
	}

	.site-footer__grid {
		grid-template-columns: 1fr;
		gap: var(--space-7);
	}

	.site-footer__brand,
	.site-footer__intro {
		max-width: none;
	}

	.site-footer__support .button {
		width: 100%;
	}

	.site-footer__bottom-inner {
		align-items: flex-start;
		flex-direction: column;
		justify-content: center;
		min-height: auto;
		padding-block: var(--space-5);
		gap: var(--space-2);
	}

	.site-footer__bottom p:last-child {
		text-align: left;
	}
}

@media (max-width: 23.75rem) {
	.machine-dock {
		padding-inline: 6px;
	}

	.machine-dock__mobile-link {
		padding-inline: 10px;
		font-size: 10px;
	}
}


/* Reduced motion
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
	}
}


/* ==========================================================================
   V1.4 â€” Global shell: header, footer, advice flow
   ========================================================================== */

html {
	scroll-padding-top: 24px;
}

#adviesformulier {
	scroll-margin-top: 24px;
}


/* Header refinement
   ========================================================================== */

.site-header {
	position: relative;
	z-index: 1000;
	top: auto;
	border-bottom: 1px solid rgb(0 0 0 / 9%);
	background: #fff;
	box-shadow: 0 5px 24px rgb(0 0 0 / 4%);
	backdrop-filter: none;
}

.admin-bar .site-header {
	top: auto;
}

.site-header__inner {
	min-height: 84px;
}

.site-branding {
	display: flex;
	align-items: center;
	gap: 17px;
}

.custom-logo-link,
.site-logo {
	position: relative;
	z-index: 2;
}

.custom-logo {
	width: auto;
	max-width: 184px;
	max-height: 52px;
}

.site-branding__descriptor {
	max-width: 135px;
	padding-left: 17px;
	border-left: 1px solid var(--color-border-strong);
	color: var(--color-text-muted);
	font-size: 9px;
	font-weight: 780;
	letter-spacing: 0.055em;
	line-height: 1.45;
	text-transform: uppercase;
}

.site-header__right {
	gap: clamp(25px, 3vw, 48px);
}

.site-nav ul {
	gap: clamp(23px, 2.5vw, 38px);
}

.site-nav a {
	position: relative;
	padding: 31px 0 29px;
	font-size: 12px;
	font-weight: 820;
	letter-spacing: 0.015em;
}

.site-nav a::after {
	position: absolute;
	right: 0;
	bottom: 22px;
	left: 0;
	height: 2px;
	background: var(--color-orange);
	content: "";
	transform: scaleX(0);
	transform-origin: right;
	transition: transform 220ms var(--ease-premium);
}

.site-nav .current-menu-item > a::after,
.site-nav .current_page_item > a::after,
.site-nav a[aria-current="page"]::after {
	transform: scaleX(1);
	transform-origin: left;
}

@media (hover: hover) and (pointer: fine) {
	.site-nav a:hover::after {
		transform: scaleX(1);
		transform-origin: left;
	}
}

.site-header__cta {
	flex: 0 0 auto;
	min-height: 50px;
	padding-inline: 22px;
	font-size: 11px;
}


/* Footer refinement
   ========================================================================== */

.site-footer {
	position: relative;
	border-top: 3px solid var(--color-orange);
	background: #1f1f1f;
	color: #fff;
}

.site-footer__cta-wrap {
	padding: clamp(74px, 8vw, 112px) 0 0;
	background: #fff;
}

.site-footer__cta {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: end;
	gap: clamp(40px, 7vw, 95px);
	overflow: hidden;
	padding: clamp(42px, 5vw, 68px);
	border-left: 4px solid var(--color-orange);
	background: #202020;
	box-shadow: 0 28px 70px rgb(0 0 0 / 10%);
}

.site-footer__cta::after {
	position: absolute;
	top: -45%;
	right: 9%;
	width: 145px;
	height: 200%;
	background: rgb(245 166 35 / 9%);
	content: "";
	transform: skewX(-12deg);
}

.site-footer__cta > * {
	position: relative;
	z-index: 2;
}

.site-footer__cta-content {
	max-width: 780px;
}

.site-footer__cta h2 {
	max-width: 820px;
	margin: 0;
	color: #fff;
	font-size: clamp(37px, 4.5vw, 62px);
	line-height: 0.98;
	letter-spacing: -0.052em;
}

.site-footer__cta-content > p:not(.eyebrow) {
	max-width: 660px;
	margin: 18px 0 0;
	color: rgb(255 255 255 / 62%);
	font-size: 15px;
	line-height: 1.68;
}

.site-footer__cta-actions {
	display: grid;
	justify-items: start;
	gap: 18px;
	min-width: 220px;
}

.site-footer__cta-link {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	color: #fff;
	font-size: 12px;
	font-weight: 800;
	text-decoration: none;
}

.site-footer__cta-link span {
	color: var(--color-orange);
	transition: transform 180ms ease;
}

@media (hover: hover) and (pointer: fine) {
	.site-footer__cta-link:hover span {
		transform: translateX(4px);
	}
}

.site-footer__main {
	padding: clamp(72px, 8vw, 108px) 0 clamp(58px, 6vw, 82px);
	background: #1f1f1f;
}

.site-footer__grid {
	display: grid;
	grid-template-columns: minmax(260px, 1.28fr) repeat(3, minmax(160px, 0.72fr));
	gap: clamp(38px, 6vw, 80px);
	align-items: start;
}

.site-footer__brand {
	max-width: 350px;
}

.site-footer__logo {
	display: inline-block;
	margin-bottom: 24px;
	color: #fff;
	font-size: clamp(24px, 2.2vw, 32px);
	font-weight: 800;
	letter-spacing: -0.035em;
	text-decoration: none;
}

.site-footer__intro,
.site-footer__markets > p:not(.site-footer__heading) {
	margin: 0;
	color: rgb(255 255 255 / 54%);
	font-size: 13px;
	line-height: 1.75;
}

.site-footer__contact-link {
	display: inline-block;
	margin-top: 24px;
	color: #fff;
	font-size: 13px;
	font-weight: 800;
	text-decoration-color: var(--color-orange);
	text-decoration-thickness: 2px;
	text-underline-offset: 5px;
}

.site-footer__heading {
	position: relative;
	margin: 0 0 26px;
	padding-bottom: 13px;
	color: #fff;
	font-size: 9px;
	font-weight: 850;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.site-footer__heading::after {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 30px;
	height: 2px;
	background: var(--color-orange);
	content: "";
}

.site-footer__nav ul,
.site-footer__service-list,
.site-footer__market-list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.site-footer__nav li + li,
.site-footer__service-list li + li {
	margin-top: 13px;
}

.site-footer__nav a {
	color: rgb(255 255 255 / 68%);
	font-size: 12px;
	font-weight: 650;
	text-decoration: none;
	transition:
		color 160ms ease,
		transform 160ms ease;
}

.site-footer__service-list li {
	position: relative;
	padding-left: 16px;
	color: rgb(255 255 255 / 58%);
	font-size: 12px;
	line-height: 1.45;
}

.site-footer__service-list li::before {
	position: absolute;
	top: 0.63em;
	left: 0;
	width: 5px;
	height: 5px;
	background: var(--color-orange);
	content: "";
}

@media (hover: hover) and (pointer: fine) {
	.site-footer__nav a:hover {
		color: #fff;
	}
}

.site-footer__market-list {
	margin-top: 24px;
	border-top: 1px solid rgb(255 255 255 / 11%);
}

.site-footer__market-list li {
	position: relative;
	padding: 14px 0 14px 18px;
	border-bottom: 1px solid rgb(255 255 255 / 11%);
	color: #fff;
	font-size: 12px;
	font-weight: 700;
}

.site-footer__market-list li::before {
	position: absolute;
	top: 50%;
	left: 0;
	width: 6px;
	height: 6px;
	background: var(--color-orange);
	content: "";
	transform: translateY(-50%);
}

.site-footer__bottom {
	border-top: 1px solid rgb(255 255 255 / 9%);
	background: #1b1b1b;
}

.site-footer__bottom-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	min-height: 72px;
}

.site-footer__bottom p {
	margin: 0;
	color: rgb(255 255 255 / 64%);
	font-size: 10px;
}


/* Dock integration
   ========================================================================== */

.machine-dock {
	right: auto;
	left: 50%;
	bottom: 16px;
	width: min(calc(100vw - 48px), 1280px);
	padding-inline: 0;
	box-shadow: 0 18px 45px rgb(0 0 0 / 16%);
	transform: translateX(-50%);
	transition:
		opacity 180ms ease,
		visibility 180ms ease,
		transform 180ms ease;
}

.machine-dock__inner {
	width: 100%;
}

.machine-dock__item {
	min-height: 62px;
}

.machine-dock__item--advice {
	border-left: 0;
}

.machine-dock__item--advice .machine-dock__label {
	font-weight: 820;
}

.machine-dock__arrow {
	transition: transform 180ms ease;
}

@media (hover: hover) and (pointer: fine) {
	.machine-dock__item--all:hover .machine-dock__arrow,
	.machine-dock__item--advice:hover .machine-dock__arrow {
		transform: translateX(4px);
	}
}


/* Mobile shell
   ========================================================================== */

@media (max-width: 52rem) {
	body.menu-open {
		overflow: hidden;
	}

	.site-header {
		background: #fff;
	}


	.site-header__inner {
		min-height: 72px;
	}

	.site-branding__descriptor {
		display: none;
	}

	.custom-logo {
		max-width: 155px;
		max-height: 44px;
	}

	.site-menu-toggle {
		position: relative;
		z-index: 1003;
		display: grid;
		place-items: center;
		width: 46px;
		height: 46px;
		margin-left: auto;
		padding: 12px;
		border: 1px solid var(--color-border-strong);
		background: #fff;
	}

	.site-menu-toggle span {
		display: block;
		width: 20px;
		height: 2px;
		background: var(--color-charcoal);
		transition:
			transform 220ms var(--ease-premium),
			opacity 180ms ease;
	}

	.site-menu-toggle span + span {
		margin-top: 4px;
	}

	.menu-open .site-menu-toggle span:nth-child(1) {
		transform: translateY(6px) rotate(45deg);
	}

	.menu-open .site-menu-toggle span:nth-child(2) {
		opacity: 0;
	}

	.menu-open .site-menu-toggle span:nth-child(3) {
		transform: translateY(-6px) rotate(-45deg);
	}

	.site-header__right {
		position: fixed;
		z-index: 1002;
		inset: 72px 0 0;
		display: flex;
		align-items: stretch;
		flex-direction: column;
		gap: 0;
		padding: 26px 22px 32px;
		background: #202020;
		opacity: 0;
		visibility: hidden;
		transform: translateY(-10px);
		transition:
			opacity 220ms ease,
			visibility 220ms ease,
			transform 220ms var(--ease-premium);
	}

	.admin-bar .site-header__right {
		top: 118px;
	}

	.menu-open .site-header__right {
		opacity: 1;
		visibility: visible;
		transform: translateY(0);
	}

	.site-nav {
		width: 100%;
	}

	.site-nav ul {
		display: block;
	}

	.site-nav li {
		border-bottom: 1px solid rgb(255 255 255 / 12%);
	}

	.site-nav a {
		display: flex;
		align-items: center;
		min-height: 64px;
		padding: 0;
		color: #fff;
		font-size: 17px;
	}

	.site-nav a::after {
		right: auto;
		bottom: -1px;
		width: 32px;
	}

	.site-header__cta {
		width: 100%;
		margin-top: 26px;
		min-height: 54px;
	}

	.site-footer__cta {
		grid-template-columns: 1fr;
		gap: 28px;
		padding: 32px 24px;
	}

	.site-footer__cta h2 {
		font-size: 34px;
	}

	.site-footer__cta-actions {
		width: 100%;
	}

	.site-footer__cta-actions .button {
		width: 100%;
	}

	.site-footer__grid {
		grid-template-columns: 1fr;
		gap: 44px;
	}

	.site-footer__brand {
		max-width: 100%;
	}

	.site-footer__bottom-inner {
		align-items: flex-start;
		flex-direction: column;
		justify-content: center;
		padding: 22px 0;
	}

	.machine-dock {
		right: 12px;
		bottom: 12px;
		left: 12px;
		width: auto;
		padding-inline: 0;
		transform: none;
	}

	.menu-open .machine-dock {
		transform: translateY(12px);
	}

	.machine-dock__mobile-link {
		min-height: 54px;
	}
}

@media (max-width: 48.875rem) {
}

@media (prefers-reduced-motion: reduce) {
	.site-nav a::after,
	.site-menu-toggle span,
	.site-header__right,
	.machine-dock,
	.machine-dock__arrow,
	.site-footer__cta-link span {
		transition: none;
	}
}


/* ==========================================================================
   V1.4.1 hotfix â€” contact routes and stable content motion
   ========================================================================== */

.site-header__phone {
	display: grid;
	gap: 2px;
	color: var(--color-charcoal);
	text-decoration: none;
	white-space: nowrap;
}

.site-header__phone-label {
	color: var(--color-text-muted);
	font-size: 8px;
	font-weight: 850;
	letter-spacing: 0.11em;
	line-height: 1;
	text-transform: uppercase;
}

.site-header__phone strong {
	font-size: 12px;
	font-weight: 800;
	line-height: 1.2;
}

.site-footer__contact-stack {
	display: grid;
	justify-items: start;
	gap: 10px;
	margin-top: 24px;
}

.site-footer__contact-stack .site-footer__contact-link {
	margin-top: 0;
}

@media (max-width: 72rem) {
	.site-branding__descriptor {
		display: none;
	}

	.site-header__right {
		gap: 24px;
	}

	.site-nav ul {
		gap: 22px;
	}
}

@media (max-width: 60rem) and (min-width: 52.001rem) {
	.site-header__phone {
		display: none;
	}
}

@media (max-width: 52rem) {
	.site-header__phone {
		order: 2;
		margin-top: 22px;
		padding: 18px 0;
		border-top: 1px solid rgb(255 255 255 / 12%);
		border-bottom: 1px solid rgb(255 255 255 / 12%);
		color: #fff;
	}

	.site-header__phone-label {
		color: rgb(255 255 255 / 45%);
	}

	.site-header__phone strong {
		font-size: 18px;
	}

	.site-header__cta {
		order: 3;
	}

	.site-nav {
		order: 1;
	}
}

/* Final NL footer showroom route */
.site-footer__market-list a {
	color: inherit;
	font-weight: inherit;
	text-decoration-color: var(--color-orange);
	text-underline-offset: 4px;
}

/* ==========================================================================
   NL V1.1 QA — 404
   ========================================================================== */

.error-page {
	position: relative;
	display: grid;
	min-height: min(720px, 76vh);
	place-items: center;
	overflow: hidden;
	padding: clamp(90px, 11vw, 150px) 0;
	background: #202020;
	color: #fff;
}

.error-page::after {
	position: absolute;
	top: -35%;
	right: 10%;
	width: 150px;
	height: 180%;
	background: rgb(245 166 35 / 8%);
	content: "";
	transform: skewX(-12deg);
}

.error-page__content {
	position: relative;
	z-index: 2;
	max-width: 900px;
}

.error-page h1 {
	max-width: 11ch;
	margin: 0;
	color: #fff;
	font-size: clamp(54px, 7vw, 96px);
	line-height: 0.92;
	letter-spacing: -0.058em;
}

.error-page__lead {
	max-width: 620px;
	margin: 26px 0 0;
	color: rgb(255 255 255 / 66%);
	font-size: 17px;
	line-height: 1.7;
}

.error-page__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	margin-top: 34px;
}

.error-page .button--outline {
	border-color: rgb(255 255 255 / 35%);
	color: #fff;
}

@media (max-width: 48rem) {
	.error-page {
		min-height: 620px;
		padding: 70px 0;
	}

	.error-page h1 {
		font-size: clamp(43px, 12.5vw, 60px);
	}

	.error-page__actions {
		align-items: stretch;
		flex-direction: column;
	}

	.error-page__actions .button {
		width: 100%;
	}
}


/* ==========================================================================
   Privacy / legal
   ========================================================================== */

.site-footer__legal {
	display: flex;
	align-items: center;
	gap: 18px;
}

.site-footer__legal p {
	margin: 0;
}

.site-footer__legal a {
	color: rgb(255 255 255 / 52%);
	font-size: 10px;
	font-weight: 700;
	text-decoration: none;
}

.site-footer__legal a:hover {
	color: #fff;
}

.privacy-hero {
	padding: clamp(90px, 10vw, 145px) 0 clamp(65px, 7vw, 95px);
	background: #202020;
	color: #fff;
}

.privacy-hero h1 {
	margin: 0;
	color: #fff;
}

.privacy-hero__lead {
	max-width: 720px;
	margin: 24px 0 0;
	color: rgb(255 255 255 / 68%);
	font-size: 18px;
	line-height: 1.72;
}

.privacy-hero__meta {
	margin: 22px 0 0;
	color: rgb(255 255 255 / 42%);
	font-size: 11px;
}

.privacy-content {
	padding: clamp(72px, 8vw, 120px) 0;
	background: #fff;
}

.privacy-content h2 {
	margin: 54px 0 14px;
	font-size: clamp(26px, 3vw, 36px);
}

.privacy-content h2:first-child {
	margin-top: 0;
}

.privacy-content p,
.privacy-address {
	color: var(--color-text-muted);
	font-style: normal;
	line-height: 1.78;
}

.privacy-content a {
	color: var(--color-orange-dark);
	font-weight: 750;
}

@media (max-width: 52rem) {
	.site-footer__legal {
		align-items: flex-start;
		flex-direction: column;
		gap: 8px;
	}

	.privacy-hero__lead {
		font-size: 15px;
	}
}


/* ==========================================================================
   NL V1.2.1 — definitive mobile navigation fix
   ========================================================================== */

/*
 * On mobile the sticky header used backdrop-filter. That makes fixed
 * descendants use the header as their containing block in modern browsers.
 * The menu panel therefore had virtually no background height while its
 * children overflowed on top of the page. Disable the blur on mobile so the
 * fixed navigation is viewport-based as intended.
 */
@media (max-width: 52rem) {
	.site-header {
		-webkit-backdrop-filter: none;
		backdrop-filter: none;
		background: #fff;
	}

	.site-header__right {
		position: fixed;
		z-index: 1002;
		top: 72px;
		right: 0;
		bottom: 0;
		left: 0;
		inset: 72px 0 0;
		min-height: 0;
		overflow-x: hidden;
		overflow-y: auto;
		overscroll-behavior: contain;
		-webkit-overflow-scrolling: touch;
		padding: 26px 22px 32px;
		background: #202020;
	}

	.admin-bar .site-header__right {
		top: 118px;
		inset: 118px 0 0;
	}

	/* Keep the close icon dark and clearly visible on the white toggle. */
	.site-menu-toggle span {
		position: absolute;
		left: 50%;
		display: block;
		width: 22px;
		height: 2px;
		margin: 0;
		background: var(--color-charcoal);
		transform: translateX(-50%);
		transform-origin: center;
	}

	.site-menu-toggle span:nth-child(1) {
		top: 14px;
	}

	.site-menu-toggle span:nth-child(2) {
		top: 21px;
	}

	.site-menu-toggle span:nth-child(3) {
		top: 28px;
	}

	.menu-open .site-menu-toggle span {
		background: var(--color-charcoal);
	}

	.menu-open .site-menu-toggle span:nth-child(1) {
		top: 50%;
		transform: translate(-50%, -50%) rotate(45deg);
	}

	.menu-open .site-menu-toggle span:nth-child(2) {
		top: 50%;
		opacity: 0;
		transform: translate(-50%, -50%);
	}

	.menu-open .site-menu-toggle span:nth-child(3) {
		top: 50%;
		transform: translate(-50%, -50%) rotate(-45deg);
	}

	/* Make the menu read as one deliberate full-screen mobile panel. */
	.site-nav ul {
		width: 100%;
	}

	.site-nav li {
		margin: 0;
	}

	.site-nav a {
		width: 100%;
		min-height: 64px;
	}

	.site-header__phone {
		width: 100%;
	}

	.site-header__cta {
		width: 100%;
		flex: 0 0 auto;
	}
}


/* ==========================================================================
   NL V1.2.4 — final shell/accessibility polish
   ========================================================================== */

/*
 * Header intentionally scrolls with the document.
 * The persistent conversion element is the centered machine dock.
 */


/* ==========================================================================
   V1.3.0 — international switcher + mobile final pass
   ========================================================================== */

html,
body {
    max-width: 100%;
    overflow-x: clip;
}

.site-language-switcher {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    flex: 0 0 auto;
    padding: 3px;
    border: 1px solid var(--color-border-strong);
    background: #f5f4f2;
}

.site-language-switcher a {
    display: grid;
    place-items: center;
    min-width: 30px;
    min-height: 28px;
    padding: 0 7px;
    color: var(--color-text-muted);
    font-size: 10px;
    font-weight: 850;
    letter-spacing: 0.06em;
    line-height: 1;
    text-decoration: none;
}

.site-language-switcher a.is-current {
    background: var(--color-charcoal);
    color: #fff;
}

@media (hover: hover) and (pointer: fine) {
    .site-language-switcher a:not(.is-current):hover {
        color: var(--color-charcoal);
    }
}

@media (max-width: 72rem) and (min-width: 52.001rem) {
    .site-language-switcher {
        display: none;
    }
}

@media (max-width: 52rem) {
    .site-header__right {
        padding-bottom: calc(34px + env(safe-area-inset-bottom, 0px));
    }

    .site-language-switcher {
        order: 2;
        width: 100%;
        justify-content: flex-start;
        gap: 8px;
        margin-top: 22px;
        padding: 14px 0;
        border: 0;
        border-top: 1px solid rgb(255 255 255 / 12%);
        border-bottom: 1px solid rgb(255 255 255 / 12%);
        background: transparent;
    }

    .site-language-switcher a {
        min-width: 52px;
        min-height: 42px;
        border: 1px solid rgb(255 255 255 / 20%);
        color: rgb(255 255 255 / 72%);
        font-size: 12px;
    }

    .site-language-switcher a.is-current {
        border-color: var(--color-orange);
        background: var(--color-orange);
        color: #202020;
    }

    .site-header__phone {
        order: 3;
        margin-top: 0;
        border-top: 0;
    }

    .site-header__cta {
        order: 4;
    }

    .site-nav {
        order: 1;
    }

    .machine-dock {
        bottom: calc(12px + env(safe-area-inset-bottom, 0px));
    }

    /* The contact form already is the conversion destination. Keeping the
       sticky dock there covers fields and adds no useful next step. */
    body.page-template-page-contact .machine-dock {
        display: none;
    }
}


/* ==========================================================================
   V1.3.1 — definitive responsive header correction
   ========================================================================== */

/*
 * Keep the approved visual header, but give the navigation enough horizontal
 * room for NL/DE without wrapping or pushing the CTA outside the container.
 */
.site-header__inner {
	width: min(calc(100% - 2rem), 90rem);
	gap: clamp(18px, 1.8vw, 32px);
}

.site-branding {
	min-width: 0;
	gap: 14px;
}

.site-branding__descriptor {
	max-width: 126px;
	padding-left: 14px;
}

.site-header__right {
	flex: 1 1 auto;
	min-width: 0;
	justify-content: flex-end;
	gap: clamp(12px, 1.15vw, 20px);
}

.site-nav {
	min-width: 0;
}

.site-nav ul {
	gap: clamp(14px, 1.35vw, 24px);
}

.site-nav li,
.site-nav a,
.site-header__cta,
.site-header__phone,
.site-language-switcher {
	white-space: nowrap;
}

.site-nav a {
	font-size: 11px;
	letter-spacing: 0.012em;
}

.site-language-switcher {
	gap: 0;
	padding: 2px;
}

.site-language-switcher a {
	min-width: 28px;
	min-height: 28px;
	padding-inline: 6px;
	font-size: 9px;
}

.site-header__cta {
	min-height: 48px;
	padding-inline: 18px;
	font-size: 10.5px;
	white-space: nowrap;
}

/* At laptop/tablet widths the language switch remains available. The phone
 * number is the first optional item to disappear because the CTA already
 * gives a direct conversion route. */
@media (max-width: 72rem) and (min-width: 52.001rem) {
	.site-language-switcher {
		display: inline-flex;
	}

	.site-header__phone {
		display: none;
	}

	.site-header__right {
		gap: 16px;
	}

	.site-nav ul {
		gap: 16px;
	}
}

/* Mobile icon geometry is defined once here so legacy menu rules cannot
 * distort the hamburger or close icon. */
@media (max-width: 52rem) {
	.site-header__inner {
		width: min(calc(100% - 1.5rem), 90rem);
		min-height: 76px;
	}

	.site-menu-toggle {
		position: relative;
		display: block;
		width: 48px;
		height: 48px;
		padding: 0;
		border: 1px solid var(--color-border-strong);
		background: #fff;
	}

	.site-menu-toggle span,
	.site-menu-toggle span + span {
		position: absolute;
		left: 50%;
		display: block;
		width: 24px;
		height: 2px;
		margin: 0;
		border: 0;
		border-radius: 999px;
		background: var(--color-charcoal);
		opacity: 1;
		transform: translate(-50%, -50%);
		transform-origin: center;
		transition:
			top 180ms ease,
			transform 220ms var(--ease-premium),
			opacity 160ms ease;
	}

	.site-menu-toggle span:nth-child(1) {
		top: calc(50% - 8px);
	}

	.site-menu-toggle span:nth-child(2) {
		top: 50%;
	}

	.site-menu-toggle span:nth-child(3) {
		top: calc(50% + 8px);
	}

	.menu-open .site-menu-toggle span:nth-child(1) {
		top: 50%;
		transform: translate(-50%, -50%) rotate(45deg);
	}

	.menu-open .site-menu-toggle span:nth-child(2) {
		top: 50%;
		opacity: 0;
		transform: translate(-50%, -50%);
	}

	.menu-open .site-menu-toggle span:nth-child(3) {
		top: 50%;
		transform: translate(-50%, -50%) rotate(-45deg);
	}

	/* Mobile navigation remains full-screen below the normal, non-sticky header. */
	.site-header__right {
		top: 76px;
		inset: 76px 0 0;
	}

	.admin-bar .site-header__right {
		top: 122px;
		inset: 122px 0 0;
	}
}
