/**
 * E-M Structures — gedeelde stijlen voor de site én de blokeditor
 * (add_editor_style), zodat blokken in de editor er hetzelfde uitzien.
 * Alleen-site (sticky header, mobiel menu, hero achter de header): front.css.
 */

:root {
	--ems-acc: var(--wp--preset--color--accent, #ffd21f);
	--ems-bg: var(--wp--preset--color--achtergrond, #141414);
	--ems-s1: var(--wp--preset--color--vlak, #1c1c1c);
	--ems-s2: var(--wp--preset--color--vlak-licht, #262626);
	--ems-mut: var(--wp--preset--color--gedempt, #b8b8b8);
	--ems-ink: #111;
	--ems-line: #2c2c2c;
	--ems-max: 1320px;
	--ems-gutter: clamp(20px, 5vw, 64px);
	--ems-pad: clamp(72px, 8vw, 120px);
	--ems-kop: var(--wp--preset--font-family--kop, Sora, system-ui, sans-serif);
	--ems-ease: cubic-bezier(.2, .7, .2, 1);
}

body {
	text-wrap: pretty;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

::selection {
	background: var(--ems-acc);
	color: var(--ems-ink);
}

:focus-visible {
	outline: 2px solid var(--ems-acc);
	outline-offset: 2px;
}

[hidden] {
	display: none !important;
}

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

img {
	max-width: 100%;
	height: auto;
}

h1, h2, h3, h4 {
	margin: 0;
	text-wrap: balance;
}

p {
	margin: 0;
}

/* Inline "Markeren" in het geel: het laatste woord van een kop. */
mark.has-inline-color {
	padding: 0;
}

/* ---------- Secties ---------- */
.ems-section {
	box-sizing: border-box;
	max-width: var(--ems-max);
	margin-inline: auto !important;
	padding: var(--ems-pad) var(--ems-gutter);
}

.ems-band {
	background: var(--ems-s1);
}

.ems-page-intro {
	padding-top: clamp(56px, 7vw, 104px);
}

.ems-page-intro > h1 {
	margin-bottom: 18px;
}

.ems-page-intro > .is-style-ems-lead {
	margin-bottom: 36px;
}

.ems-section + .ems-cta-wrap,
.ems-page-intro + .ems-routes-section,
.ems-media-split + .ems-pillars,
.ems-hero-lines + .ems-pillars,
.ems-hero-quick + .ems-pillars {
	padding-top: 0;
}

.ems-hero-lines,
.ems-hero-quick {
	padding-top: clamp(48px, 6vw, 88px);
}

.ems-hero-lines + .ems-pillars,
.ems-hero-quick + .ems-pillars {
	padding-top: var(--ems-pad);
}

/* ---------- Typografie ---------- */
.is-style-ems-lead {
	max-width: 52ch;
	color: var(--ems-mut);
	font-size: 18px;
	line-height: 1.6;
}

.is-style-ems-label,
.ems-kind {
	color: var(--ems-acc);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .06em;
	text-transform: uppercase;
}

.ems-hero-title {
	font-size: clamp(44px, 7vw, 104px);
	line-height: .98;
	letter-spacing: -.035em;
}

/* ---------- Knoppen ---------- */
.wp-block-buttons {
	gap: 12px;
}

.wp-element-button,
.ems-btn {
	transition: filter .2s, background-color .2s, color .2s, border-color .2s;
}

.wp-block-button__link:hover,
.ems-btn:hover {
	filter: brightness(1.08);
}

.ems-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 16px 26px;
	border: 0;
	border-radius: 14px;
	background: var(--ems-acc);
	color: var(--ems-ink);
	font-size: 16px;
	font-weight: 700;
	line-height: 1.3;
	text-decoration: none;
	cursor: pointer;
}

a.ems-btn:hover {
	color: var(--ems-ink);
}

.is-style-ems-outline .wp-block-button__link,
.ems-btn.is-outline {
	padding: 15px 25px;
	border: 1px solid #fff;
	background: transparent;
	color: #fff;
}

.is-style-ems-outline .wp-block-button__link:hover,
.ems-btn.is-outline:hover {
	filter: none;
	background: #fff;
	color: var(--ems-ink);
}

.is-style-ems-dark .wp-block-button__link {
	padding: 18px 28px;
	background: var(--ems-ink);
	color: #fff;
}

.is-style-ems-dark .wp-block-button__link:hover {
	filter: none;
	background: #2a2a2a;
	color: #fff;
}

/* ---------- Header (balk) ---------- */
.ems-header-bar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px;
	max-width: var(--ems-max);
	margin: 0 auto;
	padding: 10px 10px 10px 22px;
	box-sizing: border-box;
	border: 1px solid var(--ems-line);
	border-radius: 18px;
	background: rgba(20, 20, 20, .86);
	-webkit-backdrop-filter: blur(14px);
	backdrop-filter: blur(14px);
}

.ems-brand {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-right: auto;
}

.ems-brand .wp-block-site-logo img {
	display: block;
	max-height: 40px;
	width: auto;
}

.ems-site-title {
	margin: 0;
	font-family: var(--ems-kop);
	font-size: 18px;
	font-weight: 700;
	letter-spacing: -.01em;
	line-height: 1.2;
}

.ems-site-title a {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	color: #fff;
	text-decoration: none;
}

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

/* Tijdelijk "EM"-blokje zolang er geen logo is ingesteld (Weergave > Editor > Logo). */
.ems-site-title a::before {
	content: "EM";
	display: inline-grid;
	place-content: center;
	flex: none;
	width: 30px;
	height: 30px;
	border-radius: 9px;
	background: var(--ems-acc);
	color: var(--ems-ink);
	font-size: 13px;
	font-weight: 800;
	letter-spacing: -.02em;
}

.ems-brand:has(.wp-block-site-logo img) .ems-site-title {
	display: none;
}

.ems-primary-nav-list {
	display: flex;
	flex-wrap: wrap;
	gap: 2px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.ems-primary-nav-list a {
	display: block;
	padding: 10px 14px;
	border-radius: 10px;
	color: #cfcfcf;
	font-size: 15px;
	font-weight: 500;
	text-decoration: none;
	transition: background-color .2s, color .2s;
}

.ems-primary-nav-list a:hover,
.ems-primary-nav-list .current-menu-item > a,
.ems-primary-nav-list .current-menu-ancestor > a {
	background: var(--ems-s2);
	color: #fff;
}

.ems-header-cta {
	margin-left: 6px;
}

.ems-header-cta .wp-block-button__link {
	padding: 12px 20px;
	border-radius: 12px;
	font-size: 15px;
}

.ems-menu-toggle {
	display: none;
}

/* ---------- Hero met foto ---------- */
.ems-hero {
	position: relative;
	display: flex;
	align-items: flex-end;
	min-height: min(92vh, 880px);
	overflow: hidden;
}

.ems-hero > .ems-hero-bg,
.ems-line > .ems-line-bg {
	position: absolute;
	inset: 0;
	margin: 0;
}

.ems-hero > .ems-hero-bg img,
.ems-line > .ems-line-bg img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.ems-hero::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(20, 20, 20, .55) 0%, rgba(20, 20, 20, .25) 40%, rgba(20, 20, 20, .92) 88%, #141414 100%);
	pointer-events: none;
}

.ems-hero-inner {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	gap: 26px;
	width: 100%;
	max-width: var(--ems-max);
	margin: 0 auto;
	padding: 160px var(--ems-gutter) clamp(56px, 8vw, 112px);
	box-sizing: border-box;
}

.ems-hero-inner .ems-hero-title {
	max-width: 13ch;
}

.ems-hero-sub {
	max-width: 52ch;
	color: #e6e6e6;
	font-size: clamp(17px, 1.4vw, 20px);
	line-height: 1.6;
}

/* ---------- Hero: tenten & torens ---------- */
.ems-hero-lines > .ems-hero-title {
	max-width: 16ch;
	margin-bottom: clamp(28px, 4vw, 48px);
	font-size: clamp(40px, 6vw, 88px);
	line-height: 1;
}

.ems-lines {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
	gap: 20px;
}

.ems-line {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	gap: 8px;
	aspect-ratio: 4 / 5;
	max-height: 640px;
	padding: 28px 112px 28px 28px;
	box-sizing: border-box;
	overflow: hidden;
	border-radius: 22px;
}

.ems-line::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, transparent 40%, rgba(10, 10, 10, .9) 100%);
	pointer-events: none;
}

.ems-line::before {
	content: "";
	position: absolute;
	right: 28px;
	bottom: 28px;
	z-index: 2;
	width: 56px;
	height: 56px;
	border-radius: 16px;
	background: var(--ems-acc) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23111' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 17 17 7'/%3E%3Cpath d='M7 7h10v10'/%3E%3C/svg%3E") center / 24px no-repeat;
	pointer-events: none;
}

.ems-line > .ems-line-bg,
.ems-line::after {
	z-index: -1;
}

.ems-line-title {
	font-size: clamp(34px, 4vw, 56px);
	letter-spacing: -.03em;
}

.ems-line-title a {
	color: #fff;
	text-decoration: none;
}

/* Hele kaart klikbaar via de link in de titel. */
.ems-line-title a::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 2;
	border-radius: inherit;
}

.ems-line {
	isolation: isolate;
}

.ems-line p {
	max-width: 36ch;
	color: #e0e0e0;
	font-size: 16px;
	line-height: 1.5;
}

.ems-hero-lines > .is-style-ems-lead {
	max-width: 60ch;
	margin-top: 28px;
}

/* ---------- Hero: snelle aanvraag ---------- */
.ems-hero-quick {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr));
	gap: clamp(32px, 5vw, 80px);
	align-items: center;
}

.ems-hero-quick-text {
	display: flex;
	flex-direction: column;
	gap: 24px;
}

.ems-hero-quick-text .ems-hero-title {
	font-size: clamp(42px, 6vw, 88px);
}

/* ---------- Foto's ---------- */
.wp-block-image.ems-photo {
	margin: 0;
	overflow: hidden;
	border-radius: 22px;
}

.wp-block-image.ems-photo img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.ems-ratio-16-9 {
	aspect-ratio: 16 / 9;
}

.ems-ratio-4-3 {
	aspect-ratio: 4 / 3;
	border-radius: 24px !important;
}

/* ---------- Pijlers ---------- */
.ems-pillars {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
	gap: clamp(32px, 4vw, 64px);
}

.ems-pillar {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.ems-pillar p {
	max-width: 38ch;
	color: var(--ems-mut);
	line-height: 1.65;
}

.ems-pillar[class*="ems-icon-"] {
	padding-top: 80px;
}

.ems-pillar[class*="ems-icon-"]::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 60px;
	height: 60px;
	border-radius: 18px;
	background: var(--ems-s2) var(--ems-icon) center / 28px no-repeat;
}

.ems-icon-package {
	--ems-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='28' viewBox='0 0 24 24' fill='none' stroke='%23FFD21F' stroke-width='2.25' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M11 21.73a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73z'/%3E%3Cpath d='M12 22V12'/%3E%3Cpath d='M3.29 7 12 12l8.71-5'/%3E%3C/svg%3E");
}

.ems-icon-wrench {
	--ems-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='28' viewBox='0 0 24 24' fill='none' stroke='%23FFD21F' stroke-width='2.25' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14.7 6.3a1 1 0 0 0 0 1.4l1.6 1.6a1 1 0 0 0 1.4 0l3.77-3.77a6 6 0 0 1-7.94 7.94l-6.91 6.91a2.12 2.12 0 0 1-3-3l6.91-6.91a6 6 0 0 1 7.94-7.94l-3.76 3.76z'/%3E%3C/svg%3E");
}

.ems-icon-layers {
	--ems-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='28' viewBox='0 0 24 24' fill='none' stroke='%23FFD21F' stroke-width='2.25' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m12.83 2.18 8.58 3.91a1 1 0 0 1 0 1.83l-8.58 3.9a2 2 0 0 1-1.66 0L2.6 7.91a1 1 0 0 1 0-1.83l8.58-3.9a2 2 0 0 1 1.66 0z'/%3E%3Cpath d='m22 17.65-9.17 4.16a2 2 0 0 1-1.66 0L2 17.65'/%3E%3Cpath d='m22 12.65-9.17 4.16a2 2 0 0 1-1.66 0L2 12.65'/%3E%3C/svg%3E");
}

.ems-pillars.is-lined .ems-pillar {
	gap: 12px;
	padding-top: 24px;
	border-top: 2px solid var(--ems-acc);
}

.ems-pillars.is-lined h3 {
	font-size: 22px;
}

/* ---------- Carrousel ---------- */
.ems-rail-head {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 16px;
	margin-bottom: 36px;
}

.ems-rail-arrows {
	display: flex;
	gap: 8px;
	margin-right: auto;
}

.ems-rail-btn {
	display: grid;
	place-content: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 1px solid #444;
	border-radius: 12px;
	background: transparent;
	color: #fff;
	cursor: pointer;
	transition: border-color .2s;
}

.ems-rail-btn:hover {
	border-color: #fff;
}

.ems-rail-all .wp-block-button__link {
	padding: 11px 19px;
	border-radius: 12px;
	font-size: 15px;
}

.ems-carousel {
	contain: layout paint;
}

.ems-rail {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: min(86%, 440px);
	gap: 20px;
	margin: 0;
	padding: 0 0 4px;
	overflow-x: auto;
	list-style: none;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
	overscroll-behavior-x: contain;
}

.ems-rail::-webkit-scrollbar {
	display: none;
}

.ems-rail > li {
	scroll-snap-align: start;
}

.ems-pcard {
	position: relative;
	display: block;
	aspect-ratio: 5 / 4;
	overflow: hidden;
	border-radius: 20px;
	color: #fff;
	text-decoration: none;
}

.ems-pcard:hover {
	color: #fff;
}

.ems-pcard-img,
.ems-gcard-img {
	position: absolute;
	inset: 0;
}

.ems-pcard-img img,
.ems-gcard-img img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	filter: grayscale(1);
	transition: filter .4s, transform .6s var(--ems-ease);
}

.ems-pcard:hover .ems-pcard-img img,
.ems-pcard:focus-visible .ems-pcard-img img {
	filter: none;
	transform: scale(1.03);
}

.ems-pcard::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(0, 0, 0, .25) 0%, transparent 30%, transparent 55%, rgba(0, 0, 0, .85) 100%);
	pointer-events: none;
}

.ems-pcard-kind {
	position: absolute;
	top: 16px;
	right: 16px;
	z-index: 1;
	padding: 7px 12px;
	border-radius: 10px;
	background: rgba(20, 20, 20, .85);
	font-size: 13px;
	font-weight: 700;
}

.ems-pcard-foot {
	position: absolute;
	right: 22px;
	bottom: 20px;
	left: 22px;
	z-index: 1;
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 12px;
}

.ems-pcard-text {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.ems-pcard-name {
	font-family: var(--ems-kop);
	font-size: 26px;
	font-weight: 700;
	letter-spacing: -.02em;
	line-height: 1.15;
}

.ems-pcard-meta {
	color: #ddd;
	font-size: 14px;
}

.ems-pcard-foot .ems-icon {
	flex: none;
	stroke-width: 2;
}

.ems-noimg {
	position: absolute;
	inset: 0;
	display: grid;
	place-content: center;
	background: linear-gradient(135deg, #232323, #1a1a1a);
	color: #4a4a4a;
}

/* ---------- Assortiment: filters + raster ---------- */
.ems-tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 32px;
}

.ems-tab,
.ems-chip > span {
	display: inline-block;
	padding: 11px 18px;
	border: 1px solid #3a3a3a;
	border-radius: 12px;
	background: transparent;
	color: #fff;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.3;
	cursor: pointer;
	transition: background-color .2s, border-color .2s, color .2s;
}

.ems-tab:hover,
.ems-chip:hover > span {
	border-color: #666;
}

.ems-tab[aria-pressed="true"],
.ems-chip > input:checked + span {
	border-color: var(--ems-acc);
	background: var(--ems-acc);
	color: var(--ems-ink);
}

.ems-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr));
	gap: 20px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.ems-grid > li {
	display: flex;
}

.ems-gcard {
	display: flex;
	flex-direction: column;
	width: 100%;
	overflow: hidden;
	border: 1px solid #2a2a2a;
	border-radius: 20px;
	background: var(--ems-s1);
	color: #fff;
	text-decoration: none;
	transition: border-color .2s;
}

.ems-gcard:hover {
	border-color: #555;
	color: #fff;
}

.ems-gcard-img {
	position: relative;
	inset: auto;
	display: block;
	aspect-ratio: 4 / 3;
	overflow: hidden;
}

.ems-gcard:hover .ems-gcard-img img,
.ems-gcard:focus-visible .ems-gcard-img img {
	filter: none;
}

.ems-gcard-body {
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: 10px;
	padding: 22px;
}

.ems-gcard-name {
	font-family: var(--ems-kop);
	font-size: 24px;
	font-weight: 700;
	letter-spacing: -.02em;
	line-height: 1.2;
}

.ems-gcard-desc {
	color: var(--ems-mut);
	font-size: 15.5px;
	line-height: 1.55;
}

.ems-gcard-chips,
.ems-rent-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.ems-gcard-chips {
	margin-top: 6px;
}

.ems-chip-static {
	padding: 6px 12px;
	border-radius: 999px;
	background: var(--ems-s2);
	font-size: 13px;
	font-weight: 500;
}

/* ---------- Productpagina ---------- */
.ems-section-detail {
	padding-top: clamp(40px, 5vw, 72px);
}

.ems-back {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-bottom: 28px;
	color: var(--ems-mut);
	font-size: 15px;
	font-weight: 500;
	text-decoration: none;
}

.ems-back:hover {
	color: #fff;
}

.ems-detail {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr));
	gap: clamp(32px, 5vw, 72px);
	align-items: start;
}

.ems-detail-media {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.ems-detail-main,
.ems-thumb {
	position: relative;
	display: block;
	width: 100%;
	padding: 0;
	overflow: hidden;
	border: 0;
	background: var(--ems-s1);
	cursor: zoom-in;
}

.ems-detail-main {
	aspect-ratio: 4 / 3;
	border-radius: 22px;
}

.ems-detail-main img,
.ems-thumb img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.ems-thumbs {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 12px;
}

.ems-thumb {
	aspect-ratio: 1;
	border-radius: 14px;
}

.ems-thumb.is-contain img {
	object-fit: contain;
}

.ems-detail-info {
	display: flex;
	flex-direction: column;
	gap: 26px;
}

.ems-detail-head {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.ems-detail-title {
	font-size: clamp(40px, 5vw, 68px);
	letter-spacing: -.035em;
}

.ems-detail-desc {
	color: var(--ems-mut);
	font-size: 18px;
	line-height: 1.6;
}

.ems-specs {
	margin: 0;
}

.ems-spec {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	padding: 15px 0;
	border-top: 1px solid var(--ems-line);
	font-size: 16px;
}

.ems-spec dt {
	color: var(--ems-mut);
}

.ems-spec dd {
	margin: 0;
	font-weight: 700;
	text-align: right;
}

.ems-rent {
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding: 22px;
	border-radius: 18px;
	background: var(--ems-s1);
}

.ems-rent .ems-chip-static {
	padding: 8px 14px;
	font-size: 14px;
	font-weight: 400;
}

.ems-detail-info > .ems-btn {
	align-self: flex-start;
}

.ems-lightbox {
	max-width: min(92vw, 1600px);
	max-height: 90vh;
	padding: 0;
	overflow: visible;
	border: 0;
	background: transparent;
}

.ems-lightbox::backdrop {
	background: rgba(0, 0, 0, .88);
}

.ems-lightbox img {
	display: block;
	max-width: min(92vw, 1600px);
	max-height: 90vh;
	border-radius: 14px;
}

.ems-lightbox-close {
	position: fixed;
	top: 16px;
	right: 16px;
	display: grid;
	place-content: center;
	width: 48px;
	height: 48px;
	border: 0;
	border-radius: 14px;
	background: var(--ems-s2);
	color: #fff;
	cursor: pointer;
}

/* ---------- Doelgroepen ---------- */
.ems-split {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr));
	gap: clamp(32px, 5vw, 80px);
	align-items: start;
}

.ems-split > h2 {
	max-width: 14ch;
}

.ems-rows {
	display: flex;
	flex-direction: column;
}

.ems-row {
	display: grid;
	grid-template-columns: minmax(0, 220px) minmax(0, 1fr);
	gap: 8px 24px;
	padding: 20px 0;
	border-top: 1px solid var(--ems-line);
}

.ems-row h3 {
	font-size: 20px;
	letter-spacing: -.01em;
}

.ems-row p {
	color: var(--ems-mut);
}

/* ---------- CTA-band ---------- */
.ems-cta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	padding: clamp(32px, 5vw, 64px);
	border-radius: 28px;
	background: var(--ems-acc);
	color: var(--ems-ink);
}

.ems-cta h2 {
	max-width: 30ch;
	color: var(--ems-ink);
	font-size: clamp(30px, 3.6vw, 48px);
}

/* ---------- Hoe het werkt ---------- */
.ems-steps {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
	gap: 20px;
	margin-top: clamp(12px, 3vw, 44px);
}

.ems-step {
	display: flex;
	flex-direction: column;
	gap: 14px;
	padding: 28px;
	border-radius: 20px;
	background: var(--ems-s1);
}

.ems-step-n {
	color: var(--ems-acc);
	font-family: var(--ems-kop);
	font-size: 56px;
	font-weight: 800;
	letter-spacing: -.04em;
	line-height: 1;
}

.ems-step h3 {
	font-size: 22px;
}

.ems-step p:not(.ems-step-n) {
	color: var(--ems-mut);
	font-size: 15.5px;
}

.ems-routes-section > h2 {
	margin-bottom: 28px;
	font-size: clamp(30px, 3.6vw, 48px);
}

.ems-routes {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
	gap: 20px;
}

.ems-route {
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding: 32px;
	border: 1px solid var(--ems-line);
	border-radius: 22px;
	background: var(--ems-s1);
}

.ems-route.is-accent {
	border-color: var(--ems-acc);
	background: var(--ems-acc);
	color: var(--ems-ink);
}

.ems-route-title {
	font-size: 30px;
	font-weight: 800;
	letter-spacing: -.025em;
}

.ems-route.is-accent .ems-route-title {
	color: var(--ems-ink);
}

.ems-route > p {
	opacity: .85;
}

.is-style-ems-checks {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin: 6px 0 0;
	padding: 0;
	list-style: none;
}

.is-style-ems-checks li {
	display: flex;
	align-items: center;
	gap: 10px;
	font-weight: 500;
}

.is-style-ems-checks li::before {
	content: "";
	flex: none;
	width: 18px;
	height: 18px;
	background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%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='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* ---------- Over ons ---------- */
.ems-media-split {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr));
	gap: clamp(32px, 5vw, 80px);
	align-items: center;
	padding-top: clamp(56px, 7vw, 104px);
	padding-bottom: clamp(72px, 8vw, 112px);
}

.ems-media-text {
	display: flex;
	flex-direction: column;
	gap: 22px;
}

.ems-media-text .is-style-ems-lead {
	line-height: 1.7;
}

/* ---------- Offerte & contact ---------- */
.ems-offerte {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr));
	gap: clamp(32px, 5vw, 80px);
	align-items: start;
	padding-top: clamp(56px, 7vw, 104px);
}

.ems-offerte-text {
	display: flex;
	flex-direction: column;
	gap: 22px;
}

.ems-offerte-text .is-style-ems-lead {
	max-width: 44ch;
}

.ems-company {
	display: flex;
	flex-direction: column;
	gap: 6px;
	margin-top: 12px;
	color: var(--ems-mut);
	font-size: 16px;
}

.ems-company-name {
	color: #fff;
	font-family: var(--ems-kop);
	font-size: 18px;
	font-weight: 700;
}

.ems-quote-form,
.ems-quick-form {
	box-sizing: border-box;
	border: 1px solid #2a2a2a;
	border-radius: 24px;
	background: var(--ems-s1);
}

.ems-quote-form {
	padding: clamp(24px, 3.5vw, 44px);
}

.ems-quick-form {
	padding: clamp(24px, 3vw, 40px);
}

.ems-form,
.ems-quick {
	display: flex;
	flex-direction: column;
	gap: 22px;
}

.ems-quick {
	gap: 18px;
}

.ems-quick-title {
	font-family: var(--ems-kop);
	font-size: 24px;
	font-weight: 700;
	letter-spacing: -.02em;
}

.ems-fieldset {
	min-width: 0;
	margin: 0;
	padding: 0;
	border: 0;
}

.ems-fieldset legend {
	margin-bottom: 10px;
	padding: 0;
	color: var(--ems-mut);
	font-size: 14px;
	font-weight: 500;
}

.ems-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.ems-chip {
	position: relative;
}

.ems-chip > input {
	position: absolute;
	width: 1px;
	height: 1px;
	opacity: 0;
}

.ems-chip > input:focus-visible + span {
	outline: 2px solid var(--ems-acc);
	outline-offset: 2px;
}

.ems-fields {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
	gap: 14px;
}

.ems-fields.is-pair {
	grid-template-columns: 1fr 1fr;
	gap: 12px;
}

.ems-field {
	display: flex;
	flex-direction: column;
	gap: 8px;
	color: var(--ems-mut);
	font-size: 14px;
	font-weight: 500;
}

.ems-field input,
.ems-field select,
.ems-field textarea {
	width: 100%;
	min-width: 0;
	box-sizing: border-box;
	padding: 13px 14px;
	border: 1px solid #333;
	border-radius: 12px;
	background: var(--ems-s2);
	color: #fff;
	font-size: 16px;
	color-scheme: dark;
}

.ems-field textarea {
	resize: vertical;
}

.ems-field input::placeholder,
.ems-field textarea::placeholder {
	color: #7d7d7d;
}

.ems-field input:focus,
.ems-field select:focus,
.ems-field textarea:focus {
	border-color: #777;
	outline: none;
}

.ems-field input:focus-visible,
.ems-field select:focus-visible,
.ems-field textarea:focus-visible {
	outline: 2px solid var(--ems-acc);
	outline-offset: 1px;
}

.ems-field.is-invalid input {
	border-color: #ff7a6b;
}

.ems-field-error,
.ems-form-error {
	color: #ff9a8e;
	font-size: 13.5px;
}

.ems-form-submit {
	width: 100%;
	padding-block: 17px;
}

.ems-form-submit[disabled] {
	opacity: .6;
	cursor: progress;
}

.ems-form-note {
	margin-top: -8px;
	color: #8a8a8a;
	font-size: 13px;
	text-align: center;
}

.ems-hp {
	position: absolute !important;
	left: -9999px;
	width: 1px;
	height: 1px;
	opacity: 0;
}

.ems-form-success {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 16px;
	padding: 24px 0;
}

.ems-form-success:focus {
	outline: none;
}

.ems-success-icon {
	display: grid;
	place-content: center;
	width: 64px;
	height: 64px;
	border-radius: 18px;
	background: var(--ems-acc);
	color: var(--ems-ink);
}

.ems-success-title {
	font-size: 34px;
}

.ems-form-success p {
	color: var(--ems-mut);
	font-size: 17px;
}

.ems-form-reset {
	padding: 12px 20px;
	border-radius: 12px;
	font-size: 15px;
}

/* ---------- Tekstpagina's (privacyverklaring e.d.) ---------- */
.ems-prose {
	max-width: 860px;
	padding-top: clamp(56px, 7vw, 104px);
}

.ems-prose > h1,
.ems-prose .wp-block-post-title {
	margin-bottom: 32px;
	font-size: clamp(40px, 5vw, 64px);
}

.ems-prose .wp-block-post-content > * + * {
	margin-top: 1em;
}

.ems-prose .wp-block-post-content :is(h2, h3) {
	margin-top: 1.6em;
}

.ems-prose .wp-block-post-content p,
.ems-prose .wp-block-post-content li {
	color: #d6d6d6;
	font-size: 17px;
	line-height: 1.7;
}

/* ---------- Footer ---------- */
.ems-footer {
	border-top: 1px solid #222;
	background: var(--wp--preset--color--footer, #0e0e0e);
}

.ems-footer-cols {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
	gap: 36px;
	max-width: var(--ems-max);
	margin: 0 auto;
	padding: clamp(48px, 6vw, 72px) var(--ems-gutter);
	box-sizing: border-box;
}

.ems-footer-col {
	display: flex;
	flex-direction: column;
	gap: 8px;
	color: var(--ems-mut);
	font-size: 14px;
	line-height: 1.6;
}

.ems-footer-col:first-child {
	gap: 14px;
}

.ems-footer-title {
	margin-bottom: 4px;
	color: #fff;
	font-family: inherit;
	font-size: 15px;
	font-weight: 700;
	letter-spacing: 0;
	line-height: 1.4;
}

.ems-footer-nav-list {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.ems-footer-nav-list a {
	color: var(--ems-mut);
	text-decoration: none;
}

.ems-footer-nav-list a:hover {
	color: #fff;
}

.ems-footer-bottom {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 8px 24px;
	max-width: var(--ems-max);
	margin: 0 auto;
	padding: 20px var(--ems-gutter) 28px;
	box-sizing: border-box;
	border-top: 1px solid #1d1d1d;
	color: #7a7a7a;
	font-size: 13px;
}

.ems-footer-bottom a {
	color: #9a9a9a;
}

.ems-footer-bottom a:hover {
	color: #fff;
}

/* ---------- Kleine schermen ---------- */
@media (max-width: 600px) {
	.ems-row {
		grid-template-columns: 1fr;
	}

	.ems-line {
		aspect-ratio: 4 / 4.6;
		padding: 22px 92px 22px 22px;
	}

	.ems-line::before {
		right: 22px;
		bottom: 22px;
		width: 52px;
		height: 52px;
	}

	.ems-thumbs {
		gap: 8px;
	}
}
