/* ==========================================================================
   HARST Architectuur — huisstijl bovenop Divi 5
   Rustig · minimalistisch · tijdloos

   Werkwijze: in Divi krijgt elke sectie/rij/module een CSS-klasse (hx-…)
   via Geavanceerd → CSS ID & klassen. De vormgeving staat hier centraal,
   zodat alle pagina's consistent blijven.
   ========================================================================== */

body.et_divi_theme {
	--ink: #262624;
	--ink-soft: #5f5d58;
	--ink-faint: #8d8a83;
	--sand: #eee8de;
	--sand-line: #ddd4c5;
	--line: rgba(38, 38, 36, 0.14);
	--font: "Montserrat", "Avenir Next", "Futura PT", "Helvetica Neue", Arial, sans-serif;
	--wrap: 1320px;
	--gutter: clamp(20px, 5vw, 64px);
	--section: clamp(88px, 12vw, 176px);
	--header-h: 88px;
	--ease: cubic-bezier(0.22, 0.61, 0.36, 1);

	/* Divi 5 ontwerp-variabelen */
	--gcid-primary-color: #262624;
	--gcid-secondary-color: #eee8de;
	--content-width: 100%;
	--content-max-width: 100%;
	--row-gutter-horizontal: clamp(32px, 7vw, 120px);
	--row-gutter-vertical: clamp(40px, 5vw, 72px);
	--module-gutter: 0px;
	--section-padding: var(--section);
	--section-gutter: 0px;

	background: #fff;
	color: var(--ink);
	font-family: var(--font);
	font-weight: 300;
	font-size: clamp(16px, 0.25vw + 15px, 18px);
	line-height: 1.75;
	letter-spacing: 0.01em;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

/* ---------- Basistypografie (overschrijft Divi-standaarden) ---------- */
body.et_divi_theme,
body.et_divi_theme .et_pb_module,
body.et_divi_theme input,
body.et_divi_theme textarea,
body.et_divi_theme select,
body.et_divi_theme button,
body.et_divi_theme .et_pb_button,
body.et_divi_theme h1, body.et_divi_theme h2, body.et_divi_theme h3,
body.et_divi_theme h4, body.et_divi_theme h5, body.et_divi_theme h6 {
	font-family: var(--font);
}
body.et_divi_theme .et_pb_module { line-height: 1.75; color: var(--ink); }
body.et_divi_theme h1, body.et_divi_theme h2, body.et_divi_theme h3,
body.et_divi_theme h4, body.et_divi_theme h5, body.et_divi_theme h6 {
	color: var(--ink);
	font-weight: 300;
	line-height: 1.15;
	letter-spacing: 0.005em;
	padding: 0;
	margin: 0;
}
body.et_divi_theme p { padding: 0; margin: 0 0 1.2em; }
body.et_divi_theme p:last-child { margin-bottom: 0; }
body.et_divi_theme a { color: inherit; text-decoration: none; }
body.et_divi_theme strong, body.et_divi_theme b { font-weight: 500; }
body.et_divi_theme img { display: block; max-width: 100%; height: auto; }
::selection { background: var(--sand); color: var(--ink); }
:focus-visible { outline: 1px solid var(--ink); outline-offset: 4px; }

body.et_divi_theme h1 {
	font-size: clamp(2.2rem, 1.2rem + 3.6vw, 4.4rem);
	font-weight: 200;
	line-height: 1.08;
	max-width: 15em;
}
body.et_divi_theme h2 {
	font-size: clamp(1.8rem, 1.1rem + 2.4vw, 3.1rem);
	font-weight: 200;
	line-height: 1.18;
}
body.et_divi_theme h3 { font-size: 1.05rem; font-weight: 400; line-height: 1.4; }

.hx-eyebrow,
body.et_divi_theme .hx-eyebrow {
	display: block;
	margin: 0 0 1.6rem;
	font-size: 0.72rem;
	font-weight: 400;
	line-height: 1.4;
	letter-spacing: 0.32em;
	text-transform: uppercase;
	color: var(--ink-soft);
}
.hx-eyebrow a { transition: color .3s var(--ease); }
.hx-eyebrow a:hover { color: var(--ink); }

body.et_divi_theme .hx-lead,
body.et_divi_theme .hx-prose--lead p { font-size: clamp(1.05rem, 0.95rem + 0.4vw, 1.25rem); line-height: 1.75; }
body.et_divi_theme .hx-prose p,
body.et_divi_theme .hx-prose dd { color: var(--ink-soft); }
.hx-prose .et_pb_text_inner { max-width: 38em; }
.hx-lead { color: var(--ink-soft); max-width: 30em; }
body.et_divi_theme .hx-pagehead__text .hx-lead { margin-top: clamp(28px, 3.5vw, 48px); }

.hx-sep { margin-inline: 0.35em; font-weight: 200; color: var(--ink-faint); }

/* ---------- Secties & rijen ---------- */
body.et_divi_theme .et_pb_section { background-color: transparent; }
body.et_divi_theme .et_pb_section.hx-section { padding: var(--section) 0; }
body.et_divi_theme .et_pb_section.hx-section--flush-top { padding-top: 0; }
body.et_divi_theme .et_pb_section.hx-section--tight-top { padding-top: clamp(32px, 5vw, 64px); }
body.et_divi_theme .et_pb_section.hx-section--sand { background-color: var(--sand); }
body.et_divi_theme .hx-section .et_pb_row + .et_pb_row { margin-top: clamp(56px, 8vw, 112px); }

body.et_divi_theme .et_pb_row.hx-row {
	width: 100%;
	max-width: calc(var(--wrap) + 2 * var(--gutter));
	margin-inline: auto;
	padding-inline: var(--gutter) !important;
}
/* Divi zet rijen op projectpagina's standaard op 80% breedte. */
body.et_divi_theme #main-content .et_pb_row.hx-row { width: 100% !important; }
body.et_divi_theme .et_pb_row.hx-row--full { max-width: none; padding-inline: 0 !important; }
body.et_divi_theme .et_pb_row.hx-row--narrow { max-width: calc(880px + 2 * var(--gutter)); }

/* ---------- Links & knoppen ---------- */
body.et_divi_theme .et_pb_button_module_wrapper { margin: 0; }
body.et_divi_theme .et_pb_button.hx-button,
body.et_divi_theme .et_pb_button.hx-link {
	font-family: var(--font);
	font-size: 0.75rem;
	font-weight: 400;
	line-height: 1;
	letter-spacing: 0.24em;
	text-transform: uppercase;
	color: var(--ink);
	border-radius: 0;
	transition: background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease);
}
body.et_divi_theme .et_pb_button.hx-button::after,
body.et_divi_theme .et_pb_button.hx-link::after { display: none; }
body.et_divi_theme .et_pb_button.hx-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 54px;
	padding: 0 2.1rem !important;
	border: 1px solid var(--ink);
	background: transparent;
	margin-top: 2.5rem;
}
body.et_divi_theme .et_pb_button.hx-button:hover { background: var(--ink); color: #fff; padding: 0 2.1rem !important; }
body.et_divi_theme .et_pb_button.hx-button--solid { background: var(--ink); color: #fff; margin-top: 0; }
body.et_divi_theme .et_pb_button.hx-button--solid:hover { background: transparent; color: var(--ink); }

body.et_divi_theme .et_pb_button.hx-link,
body.et_divi_theme .et_pb_button.hx-link:hover {
	display: inline-flex;
	align-items: center;
	gap: 0.9em;
	margin-top: 2.2rem;
	padding: 0 0 6px !important;
	background: none;
	border: 0;
	border-bottom: 1px solid var(--line);
}
body.et_divi_theme .et_pb_button.hx-link .et-pb-parallax-content::after,
.hx-arrow::after {
	content: "";
	display: inline-block;
	vertical-align: middle;
	width: 28px; height: 1px;
	margin-left: 0.9em;
	background: currentColor;
	transition: width .4s var(--ease);
}
body.et_divi_theme .et_pb_button.hx-link:hover { border-color: var(--ink); }
body.et_divi_theme .et_pb_button.hx-link:hover .et-pb-parallax-content::after,
.hx-arrow:hover::after { width: 40px; }

/* ---------- Woordmerk ---------- */
.hx-logo {
	display: inline-flex;
	flex-direction: column;
	align-items: stretch;
	color: var(--ink);
	line-height: 1;
	user-select: none;
}
.hx-logo__main {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 0.42em;
	font-size: 26px;
	font-weight: 300;
}
.hx-logo__main > span { display: block; line-height: 0.72; }
.hx-logo__roof { width: 0.74em; height: 0.72em; flex: none; }
.hx-logo__sub {
	display: flex;
	justify-content: space-between;
	margin-top: 0.62em;
	font-size: 7.2px;
	font-weight: 400;
}

/* ---------- Header (Divi Theme Builder) ---------- */
body.et_divi_theme .et-l--header {
	position: sticky;
	top: 0;
	z-index: 100;
	transition: transform .5s var(--ease);
}
body.admin-bar .et-l--header { top: 32px; }
body.et_divi_theme .et_pb_section.hx-header {
	padding: 0;
	background: rgba(255, 255, 255, 0.96);
	border-bottom: 1px solid transparent;
	transition: border-color .4s var(--ease);
}
body.hx-scrolled .et_pb_section.hx-header { border-bottom-color: var(--line); }
body.hx-header-hidden .et-l--header { transform: translateY(-100%); }

body.et_divi_theme .hx-header__row > .et_pb_column {
	flex-direction: row;
	align-items: center;
	justify-content: space-between;
	height: var(--header-h);
}
body.et_divi_theme .hx-header__logo,
body.et_divi_theme .hx-nav { margin: 0; width: auto; }

body.et_divi_theme .hx-nav .et_pb_menu__menu > nav > ul {
	display: flex;
	gap: clamp(24px, 3.2vw, 52px);
}
body.et_divi_theme .hx-nav .et-menu > li { padding: 0; }
body.et_divi_theme .hx-nav .et-menu > li > a {
	position: relative;
	display: block;
	padding: 8px 0;
	font-size: 0.76rem;
	font-weight: 400;
	letter-spacing: 0.24em;
	text-transform: uppercase;
	color: var(--ink-soft);
	opacity: 1;
	transition: color .3s var(--ease);
}
body.et_divi_theme .hx-nav .et-menu > li > a::after {
	content: "";
	position: absolute;
	left: 0; right: 0.24em; bottom: 0;
	height: 1px;
	background: var(--ink);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform .45s var(--ease);
}
body.et_divi_theme .hx-nav .et-menu > li > a:hover,
body.et_divi_theme .hx-nav .et-menu > li.current-menu-item > a { color: var(--ink); opacity: 1; }
body.et_divi_theme .hx-nav .et-menu > li > a:hover::after,
body.et_divi_theme .hx-nav .et-menu > li.current-menu-item > a::after { transform: scaleX(1); }

/* Mobiel menu (Divi-hamburger, rustig vormgegeven) */
body.et_divi_theme .hx-nav .mobile_menu_bar::before { color: var(--ink); font-size: 30px; }
body.et_divi_theme .hx-nav .et_mobile_menu {
	left: auto;
	right: calc(-1 * var(--gutter));
	width: 100vw;
	padding: 24px var(--gutter) 40px;
	border: 0;
	border-top: 1px solid var(--line);
	box-shadow: 0 24px 40px -24px rgba(38, 38, 36, 0.18);
	background: #fff;
}
body.et_divi_theme .hx-nav .et_mobile_menu li a {
	padding: 10px 0;
	border: 0;
	font-size: 1.7rem;
	font-weight: 200;
	letter-spacing: 0.01em;
	color: var(--ink);
	background: none;
}
body.et_divi_theme .hx-nav .et_mobile_menu li.current-menu-item a { color: var(--ink-soft); }

@media (max-width: 980px) {
	body.et_divi_theme { --header-h: 72px; }
	.hx-header .hx-logo__main { font-size: 22px; }
	.hx-header .hx-logo__sub { font-size: 6.1px; }
}
@media (max-width: 782px) { body.admin-bar .et-l--header { top: 46px; } }

/* ---------- Hero (home) ---------- */
body.et_divi_theme .et_pb_section.hx-hero { padding: 0; }
.hx-hero .et_pb_column { position: relative; }
body.et_divi_theme .hx-hero__img { width: 100%; margin: 0; }
.hx-hero__img .et_pb_image_wrap { display: block; width: 100%; }
.hx-hero__img img {
	width: 100%;
	height: clamp(520px, calc(100svh - var(--header-h)), 980px) !important;
	object-fit: cover;
	background: var(--sand);
	animation: hx-hero-in 1.6s var(--ease) both;
}
@keyframes hx-hero-in { from { opacity: 0.001; transform: scale(1.04); } to { opacity: 1; transform: none; } }

body.et_divi_theme .hx-hero__card {
	position: absolute;
	left: max(var(--gutter), calc((100vw - var(--wrap)) / 2));
	bottom: 0;
	width: min(620px, calc(100% - 2 * var(--gutter)));
	margin: 0;
	padding: clamp(32px, 4.5vw, 64px) clamp(28px, 4.5vw, 64px) clamp(28px, 3.5vw, 48px);
	background: #fff;
	animation: hx-card-in 1.4s .4s var(--ease) both;
}
@keyframes hx-card-in { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
body.et_divi_theme .hx-hero__card h1 {
	font-size: clamp(2.1rem, 1.2rem + 3.4vw, 4rem);
	line-height: 1.08;
	letter-spacing: -0.005em;
}
body.et_divi_theme .hx-hero__card .hx-eyebrow { margin-bottom: 1.4rem; }
body.et_divi_theme .hx-hero__sub {
	margin-top: 1.4rem;
	font-size: clamp(1rem, 0.9rem + 0.4vw, 1.2rem);
	color: var(--ink-soft);
}
@media (max-width: 700px) {
	.hx-hero__img img { height: 62svh !important; min-height: 380px; }
	body.et_divi_theme .hx-hero__card {
		position: relative;
		left: auto; bottom: auto;
		width: auto;
		margin: -56px 12px 0;
		padding: 32px 24px 8px;
	}
}

/* ---------- Split-secties ---------- */
@media (min-width: 981px) {
	body.et_divi_theme .hx-sticky { position: sticky; top: calc(var(--header-h) + 40px); }
}
.hx-split__head--stack h2 { max-width: 9em; }
body.et_divi_theme .hx-slot {
	margin-top: 2.6rem;
	padding-top: 2.2rem;
	border-top: 1px solid var(--line);
	font-size: clamp(1.15rem, 1rem + 0.5vw, 1.4rem) !important;
	color: var(--ink) !important;
}
.hx-section-head { margin-bottom: clamp(40px, 6vw, 80px) !important; max-width: 760px; }

/* Aandachtspunten / stappen */
body.et_divi_theme .hx-points,
body.et_divi_theme .hx-steps { --row-gutter-horizontal: clamp(20px, 2.6vw, 44px); }
body.et_divi_theme .hx-points { padding-top: clamp(32px, 4vw, 48px) !important; }
body.et_divi_theme .hx-points::before {
	content: "";
	position: absolute;
	top: 0; left: var(--gutter); right: var(--gutter);
	height: 1px;
	background: var(--line);
}
.hx-point h3, .hx-step h3 { margin-bottom: 0.8rem !important; }
body.et_divi_theme .hx-point p,
body.et_divi_theme .hx-step p { font-size: 0.95rem; color: var(--ink-soft); }
body.et_divi_theme .hx-step { padding-top: 24px; border-top: 1px solid var(--sand-line); }
.hx-num {
	display: block;
	margin-bottom: 1.4rem;
	font-size: 0.72rem;
	font-weight: 400;
	letter-spacing: 0.2em;
	color: var(--ink-faint);
}
@media (max-width: 980px) {
	body.et_divi_theme .hx-points,
	body.et_divi_theme .hx-steps { flex-wrap: wrap !important; row-gap: 36px; }
	body.et_divi_theme .hx-points > .et_pb_column,
	body.et_divi_theme .hx-steps > .et_pb_column { width: calc(50% - var(--row-gutter-horizontal) / 2) !important; }
}
@media (max-width: 560px) {
	body.et_divi_theme .hx-points > .et_pb_column,
	body.et_divi_theme .hx-steps > .et_pb_column { width: 100% !important; }
}

/* Feiten (ervaring) */
.hx-facts { margin: 2.4rem 0 0; }
.hx-facts > div {
	display: grid;
	grid-template-columns: minmax(140px, 2fr) 5fr;
	gap: 24px;
	padding: 22px 0;
	border-top: 1px solid var(--line);
}
.hx-facts > div:last-child { border-bottom: 1px solid var(--line); }
.hx-facts dt { font-weight: 400; color: var(--ink); }
.hx-facts dd { margin: 0; }
@media (max-width: 560px) { .hx-facts > div { grid-template-columns: 1fr; gap: 4px; } }

/* Brede beeldband */
body.et_divi_theme .et_pb_section.hx-band { padding: 0; }
body.et_divi_theme .hx-band__img { width: 100%; margin: 0; }
.hx-band__img .et_pb_image_wrap { display: block; width: 100%; }
.hx-band__img img { width: 100%; height: clamp(320px, 62vw, 820px) !important; object-fit: cover; background: var(--sand); }
.hx-band--hero .hx-band__img img { height: clamp(420px, 82vh, 980px) !important; animation: hx-hero-in 1.6s var(--ease) both; }
@media (max-width: 700px) { .hx-band--hero .hx-band__img img { height: 64svh !important; min-height: 360px; } }

/* ---------- Paginakop ---------- */
body.et_divi_theme .et_pb_section.hx-pagehead,
body.et_divi_theme .et_pb_section.hx-projecthead { padding: clamp(56px, 9vw, 140px) 0 0; }
body.et_divi_theme .et_pb_section.hx-projecthead { padding-bottom: clamp(40px, 5vw, 72px); }
body.et_divi_theme .hx-pagehead__row { align-items: flex-end; }
.hx-portrait img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; background: var(--sand); }
.hx-portrait .et_pb_image_wrap { display: block; }
body.et_divi_theme .hx-projecthead h1 { max-width: none; }
.hx-place { color: var(--ink-soft); white-space: nowrap; }
@media (max-width: 600px) {
	.hx-place { display: block; margin-top: 0.2em; font-size: 0.62em; }
	.hx-place .hx-sep { display: none; }
}
@media (max-width: 980px) { .hx-portrait img { aspect-ratio: 4 / 3; } }

/* ---------- Projectoverzichten (Divi Portfolio-module) ---------- */
body.et_divi_theme .hx-portfolio .et_pb_posts.et_grid_module {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: clamp(48px, 6vw, 96px) clamp(20px, 3vw, 48px);
}
body.et_divi_theme .hx-portfolio .et_pb_portfolio_item {
	width: auto !important;
	margin: 0 !important;
	float: none !important;
	clear: none !important;
}
body.et_divi_theme .hx-portfolio .et_portfolio_image {
	display: block;
	overflow: hidden;
	background: var(--sand);
	aspect-ratio: 4 / 5;
}
body.et_divi_theme .hx-portfolio .et_portfolio_image img {
	width: 100%; height: 100%;
	object-fit: cover;
	transition: transform 1.4s var(--ease);
}
body.et_divi_theme .hx-portfolio .et_pb_portfolio_item:hover .et_portfolio_image img { transform: scale(1.035); }
body.et_divi_theme .hx-portfolio .et_overlay { display: none; }
body.et_divi_theme .hx-portfolio .et_pb_module_header {
	margin-top: 22px !important;
	font-size: clamp(1.05rem, 0.95rem + 0.4vw, 1.3rem);
	font-weight: 300;
	line-height: 1.4;
}

/* Home: één breed project, twee daaronder (de tweede iets verspringend) */
body.et_divi_theme .hx-portfolio--home .et_pb_portfolio_item:first-child { grid-column: 1 / -1; }
body.et_divi_theme .hx-portfolio--home .et_pb_portfolio_item:first-child .et_portfolio_image { aspect-ratio: 16 / 8; }
body.et_divi_theme .hx-portfolio--home .et_pb_portfolio_item:nth-child(3) { margin-top: clamp(0px, 10vw, 160px) !important; }

/* Projectenpagina: grote afwisselende rijen */
body.et_divi_theme .hx-portfolio--list .et_pb_posts.et_grid_module { grid-template-columns: 1fr; gap: clamp(80px, 11vw, 168px); }
body.et_divi_theme .hx-portfolio--list .et_pb_portfolio_item {
	display: grid;
	grid-template-columns: 7fr 4fr;
	column-gap: clamp(28px, 6vw, 100px);
	align-items: end;
}
body.et_divi_theme .hx-portfolio--list .et_pb_portfolio_item:nth-child(even) { grid-template-columns: 4fr 7fr; }
body.et_divi_theme .hx-portfolio--list .et_pb_portfolio_item:nth-child(even) > a { order: 2; }
body.et_divi_theme .hx-portfolio--list .et_portfolio_image { aspect-ratio: 3 / 2; }
body.et_divi_theme .hx-portfolio--list .et_pb_module_header {
	margin: 0 !important;
	font-size: clamp(1.6rem, 1.1rem + 1.6vw, 2.4rem);
	font-weight: 200;
	line-height: 1.2;
}
body.et_divi_theme .hx-portfolio--list .et_pb_module_header a::after {
	content: "Bekijk project";
	display: flex;
	align-items: center;
	width: fit-content;
	margin-top: 2rem;
	padding-bottom: 6px;
	border-bottom: 1px solid var(--line);
	font-size: 0.75rem;
	font-weight: 400;
	letter-spacing: 0.22em;
	text-transform: uppercase;
}

@media (max-width: 900px) {
	body.et_divi_theme .hx-portfolio--list .et_pb_portfolio_item,
	body.et_divi_theme .hx-portfolio--list .et_pb_portfolio_item:nth-child(even) { grid-template-columns: 1fr; }
	body.et_divi_theme .hx-portfolio--list .et_pb_portfolio_item:nth-child(even) > a { order: 0; }
	body.et_divi_theme .hx-portfolio--list .et_pb_module_header { margin-top: 24px !important; }
}
@media (max-width: 700px) {
	body.et_divi_theme .hx-portfolio .et_pb_posts.et_grid_module { grid-template-columns: 1fr; }
	body.et_divi_theme .hx-portfolio .et_portfolio_image,
	body.et_divi_theme .hx-portfolio--home .et_pb_portfolio_item:first-child .et_portfolio_image { aspect-ratio: 4 / 3; }
	body.et_divi_theme .hx-portfolio--home .et_pb_portfolio_item:nth-child(3) { margin-top: 0 !important; }
}

/* ---------- Projectpagina ---------- */
.hx-step-head {
	display: flex;
	align-items: baseline;
	gap: 18px;
	margin-bottom: clamp(28px, 4vw, 48px) !important;
	font-size: 0.72rem !important;
	font-weight: 400;
	letter-spacing: 0.32em;
	text-transform: uppercase;
	color: var(--ink);
}
.hx-step-head .hx-num { display: inline; margin: 0; letter-spacing: 0.2em; }
.hx-step-head--center { justify-content: center; }

body.et_divi_theme .hx-story .hx-lead { max-width: 30em; }

body.et_divi_theme .hx-gallery { --row-gutter-horizontal: clamp(12px, 2vw, 28px); }
body.et_divi_theme .hx-section .et_pb_row.hx-gallery + .et_pb_row.hx-gallery { margin-top: clamp(12px, 2vw, 28px); }
body.et_divi_theme .hx-gallery__img { width: 100%; margin: 0; }
.hx-gallery__img .et_pb_image_wrap { display: block; overflow: hidden; background: var(--sand); }
.hx-gallery__img img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.hx-gallery__img--wide img { aspect-ratio: 16 / 9; }
@media (max-width: 700px) {
	body.et_divi_theme .hx-gallery { row-gap: 12px; }
	.hx-gallery__img img { aspect-ratio: 4 / 3; }
}

/* Voor/na (Divi Before/After-module) */
body.et_divi_theme .hx-compare { margin: 0; }
.hx-compare .et_pb_before_after_image_container { aspect-ratio: 16 / 9; overflow: hidden; background: var(--sand); }
.hx-compare .et_pb_before_image,
.hx-compare .et_pb_after_image { position: absolute; inset: 0; }
.hx-compare .et_pb_before_after_image_container img { width: 100%; height: 100%; object-fit: cover; max-width: none; }
.hx-compare .et_pb_before_after_image_slider_line { width: 1px; }
.hx-compare .et_pb_before_after_image_slider_handle {
	width: 56px; height: 56px;
	border: 1px solid #fff;
	background: rgba(38, 38, 36, 0.18);
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
}
.hx-compare .et_pb_before_after_image_slider_handle::before { border-right-color: #fff !important; left: 14px; }
.hx-compare .et_pb_before_after_image_slider_handle::after { border-left-color: #fff !important; right: 14px; }
.hx-compare .et_pb_before_after_image_label {
	top: 20px;
	bottom: auto;
	padding: 8px 14px;
	border-radius: 0;
	background: rgba(255, 255, 255, 0.92);
	color: var(--ink);
	font-size: 0.66rem;
	font-weight: 400;
	letter-spacing: 0.26em;
	text-transform: uppercase;
}
.hx-hint { margin-top: 14px !important; font-size: 0.78rem; color: var(--ink-faint); }
@media (max-width: 700px) { .hx-compare .et_pb_before_after_image_container { aspect-ratio: 4 / 3; } }

/* Volgend project */
body.et_divi_theme .et_pb_section.hx-next { padding: clamp(56px, 8vw, 112px) 0; border-top: 1px solid var(--line); }
.hx-next__label .hx-eyebrow { margin-bottom: 1rem; }
body.et_divi_theme .hx-nextnav { margin: 0; border: 0; padding: 0; width: 100%; }
body.et_divi_theme .hx-nextnav a span { color: var(--ink) !important; }
body.et_divi_theme .hx-nextnav .nav-next { float: none !important; display: block; width: 100%; text-align: left !important; }
body.et_divi_theme .hx-nextnav a {
	display: inline-flex;
	align-items: baseline;
	gap: 0.6em;
	font-size: clamp(1.6rem, 1.1rem + 1.8vw, 2.8rem);
	font-weight: 200;
	line-height: 1.2;
	color: var(--ink) !important;
}
body.et_divi_theme .hx-nextnav .meta-nav { transition: transform .4s var(--ease); display: inline-block; }
body.et_divi_theme .hx-nextnav a:hover .meta-nav { transform: translateX(8px); }

/* ---------- Quote-band ---------- */
body.et_divi_theme .et_pb_section.hx-quote { background-color: var(--sand); text-align: center; }
.hx-quote .et_pb_column { align-items: center; }
body.et_divi_theme .hx-quote .et_pb_text { width: 100%; text-align: center; }
.hx-quote__text blockquote {
	margin: 0 0 2rem;
	padding: 0;
	border: 0;
}
body.et_divi_theme .hx-quote__text blockquote p {
	font-size: clamp(1.4rem, 1rem + 1.6vw, 2.2rem);
	font-weight: 200;
	line-height: 1.45;
	color: var(--ink);
}
.hx-quote__text blockquote::before {
	content: "";
	display: block;
	width: 1px;
	height: 56px;
	margin: 0 auto 2.4rem;
	background: var(--ink-faint);
}
body.et_divi_theme .hx-quote__by {
	font-size: 0.74rem;
	font-weight: 400;
	letter-spacing: 0.26em;
	text-transform: uppercase;
	color: var(--ink-soft);
}
body.et_divi_theme .hx-quote .et_pb_button.hx-button { margin-top: 3rem; }

/* ---------- CTA ---------- */
body.et_divi_theme .et_pb_section.hx-cta { border-top: 1px solid var(--line); }
body.et_divi_theme .hx-quote + .hx-cta,
body.et_divi_theme .hx-section--sand + .hx-cta,
body.et_divi_theme .hx-band + .hx-cta { border-top: 0; }
body.et_divi_theme .hx-cta__row { align-items: flex-end; }
.hx-cta__title h2 { max-width: 14em; }
body.et_divi_theme .hx-cta__text p { color: var(--ink-soft); margin-bottom: 2rem; }

/* ---------- Contact ---------- */
.hx-details { margin: 2.8rem 0 0; }
.hx-details > div {
	display: grid;
	grid-template-columns: 120px 1fr;
	gap: 16px;
	padding: 18px 0;
	border-top: 1px solid var(--line);
}
.hx-details > div:last-child { border-bottom: 1px solid var(--line); }
.hx-details dt {
	padding-top: 0.3em;
	font-size: 0.7rem;
	font-weight: 400;
	letter-spacing: 0.24em;
	text-transform: uppercase;
	color: var(--ink-soft);
}
body.et_divi_theme .hx-details dd { margin: 0; color: var(--ink); font-size: 1rem; }
.hx-details a { border-bottom: 1px solid var(--line); transition: border-color .3s; }
.hx-details a:hover { border-color: var(--ink); }
body.et_divi_theme .hx-contact__img { margin: 3rem 0 0; width: 100%; }
.hx-contact__img .et_pb_image_wrap { display: block; }
.hx-contact__img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

body.et_divi_theme .hx-form {
	padding: clamp(28px, 4.5vw, 64px);
	background: var(--sand);
}
body.et_divi_theme .hx-form .et_pb_contact_form {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0 28px;
	margin: 0;
}
body.et_divi_theme .hx-form .et_pb_contact_field {
	width: auto !important;
	margin: 0 0 26px !important;
	padding: 0 !important;
	float: none !important;
}
body.et_divi_theme .hx-form .et_pb_contact_field[data-type="text"],
body.et_divi_theme .hx-form .et_contact_bottom_container { grid-column: 1 / -1; }
body.et_divi_theme .hx-form .et_pb_contact_form_label {
	display: block !important;
	margin-bottom: 8px;
	font-size: 0.7rem;
	font-weight: 400;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--ink-soft);
}
body.et_divi_theme .hx-form .input {
	width: 100%;
	padding: 12px 0 !important;
	border: 0 !important;
	border-bottom: 1px solid rgba(38, 38, 36, 0.3) !important;
	border-radius: 0;
	background: transparent !important;
	font-family: var(--font);
	font-size: 1rem;
	font-weight: 300;
	color: var(--ink) !important;
	transition: border-color .3s var(--ease);
}
body.et_divi_theme .hx-form textarea.input { min-height: 140px; resize: vertical; }
body.et_divi_theme .hx-form .input::placeholder { color: transparent; }
body.et_divi_theme .hx-form .input:focus { outline: none; border-bottom-color: var(--ink) !important; }
body.et_divi_theme .hx-form .input.et_contact_error { border-bottom-color: #a1503d !important; }
body.et_divi_theme .hx-form .et_contact_bottom_container {
	display: flex;
	justify-content: flex-start !important;
	float: none !important;
	text-align: left !important;
	margin: 12px 0 0;
}
body.et_divi_theme .hx-form .et_contact_bottom_container > * { margin-left: 0 !important; }
body.et_divi_theme .hx-form .et_pb_contact_submit {
	min-height: 54px;
	margin: 0;
	padding: 0 2.1rem !important;
	border: 1px solid var(--ink);
	border-radius: 0;
	background: var(--ink);
	color: #fff;
	font-family: var(--font);
	font-size: 0.75rem;
	font-weight: 400;
	letter-spacing: 0.24em;
	text-transform: uppercase;
	cursor: pointer;
	transition: background .35s var(--ease), color .35s var(--ease);
}
body.et_divi_theme .hx-form .et_pb_contact_submit::after { display: none; }
body.et_divi_theme .hx-form .et_pb_contact_submit:hover { background: transparent; color: var(--ink); padding: 0 2.1rem !important; }
body.et_divi_theme .hx-form .et-pb-contact-message { font-size: 1.1rem; color: var(--ink); }
body.et_divi_theme .hx-form .et-pb-contact-message ul { padding: 0 0 1em 1.2em; font-size: 0.9rem; }
@media (max-width: 600px) {
	body.et_divi_theme .hx-form .et_pb_contact_form { grid-template-columns: 1fr; }
}

/* ---------- Footer ---------- */
body.et_divi_theme .et_pb_section.hx-footer {
	padding: clamp(72px, 9vw, 128px) 0 0;
	background-color: var(--ink);
}
body.et_divi_theme .hx-footer .et_pb_module,
body.et_divi_theme .hx-footer p,
body.et_divi_theme .hx-footer li { color: rgba(255, 255, 255, 0.72); font-size: 0.92rem; }
.hx-footer .hx-logo { color: #fff; }
body.et_divi_theme .hx-footer .hx-eyebrow { color: rgba(255, 255, 255, 0.45); font-size: 0.72rem; }
body.et_divi_theme .hx-footer__payoff { margin-top: 2rem !important; color: rgba(255, 255, 255, 0.6) !important; }
.hx-footer ul { list-style: none; padding: 0 !important; margin: 0; }
.hx-footer li { padding: 0; }
.hx-footer li + li { margin-top: 0.55rem; }
.hx-footer a { transition: color .3s; }
.hx-footer a:hover { color: #fff; }
.hx-footer .hx-arrow {
	display: inline-block;
	margin-top: 0.6rem;
	padding-bottom: 4px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.3);
	color: #fff;
	font-size: 0.7rem;
	letter-spacing: 0.22em;
	line-height: 1.9;
	text-transform: uppercase;
	transition: border-color .3s var(--ease);
}
.hx-footer .hx-arrow::after { display: none; }
.hx-footer .hx-arrow:hover { border-bottom-color: #fff; }
body.et_divi_theme .hx-footer__bottom {
	margin-top: clamp(64px, 8vw, 112px);
	padding-block: 28px !important;
	position: relative;
}
body.et_divi_theme .hx-footer__bottom::before {
	content: "";
	position: absolute;
	top: 0; left: var(--gutter); right: var(--gutter);
	height: 1px;
	background: rgba(255, 255, 255, 0.12);
}
body.et_divi_theme .hx-footer__bottom p { font-size: 0.74rem; letter-spacing: 0.06em; color: rgba(255, 255, 255, 0.45); }
@media (max-width: 980px) {
	body.et_divi_theme .hx-footer__row { flex-wrap: wrap !important; row-gap: 48px; }
	body.et_divi_theme .hx-footer__row > .et_pb_column:first-child { width: 100% !important; }
	body.et_divi_theme .hx-footer__row > .et_pb_column:not(:first-child) { width: calc(50% - var(--row-gutter-horizontal) / 2) !important; }
}

/* ---------- Scroll-animatie ---------- */
.hx-js .hx-reveal {
	opacity: 0;
	transform: translateY(28px);
	transition: opacity 1.1s var(--ease), transform 1.1s var(--ease);
}
.hx-js .hx-reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; }
	.hx-js .hx-reveal { opacity: 1; transform: none; }
}

/* In de Visual Builder alles direct zichtbaar */
.et-fb .hx-reveal, .et-db .et-fb .hx-reveal { opacity: 1 !important; transform: none !important; }
