/*
Theme Name: Blommenhof
Description: Maatwerkthema voor Blommenhof Est (wonen & werken), gebouwd naar het XD-ontwerp.
Author: Converzo
Version: 1.0.0
Requires PHP: 8.1
Text Domain: blommenhof
*/

:root {
	--navy: #112238;
	--blue: #728ca5;
	--blue-light: #b9cddd;
	--brown: #917066;
	--taupe: #d3c6c2; /* #917066 op 40% over wit */
	--sand: #ebe2d5;
	--cream: #fdf9f2;
	--green: #2f8e1e;
	--white: #fff;
	--font: "new-hero", "Outfit", system-ui, -apple-system, "Segoe UI", sans-serif;
	--header-h: 102px;
	--gutter: 20px;
	--h-xl: clamp(38px, 3.65vw, 70px);
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
	margin: 0;
	background: var(--white);
	color: var(--navy);
	font-family: var(--font);
	font-weight: 300;
	font-size: 18px;
	line-height: 30px;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0 0 30px; }
p:last-child { margin-bottom: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; }
strong, b { font-weight: 700; }
figure { margin: 0; }
button { font: inherit; color: inherit; }

.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
	position: absolute; left: 16px; top: -60px; z-index: 1000;
	background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 8px; text-decoration: none;
}
.skip-link:focus { top: 16px; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: calc(1080px + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.wrap--wide { max-width: calc(1170px + 2 * var(--gutter)); }
.wrap--plan { max-width: calc(1135px + 2 * var(--gutter)); }
.wrap--text { max-width: calc(760px + 2 * var(--gutter)); }

/* ---------- Typografie ---------- */
.label {
	margin: 0 0 8px;
	font-size: 16px;
	line-height: 20px;
	font-weight: 300;
	letter-spacing: .2em;
	text-transform: uppercase;
	white-space: pre-wrap;
}
.h-xl {
	font-size: var(--h-xl);
	line-height: 1.143;
	font-weight: 700;
	letter-spacing: 0;
}
.h-section { font-size: clamp(32px, 2.6vw, 50px); line-height: 1.15; margin-bottom: 30px; }
.h-md { font-size: 30px; line-height: 30px; font-weight: 700; margin-bottom: 21px; }
.lead { font-size: 18px; line-height: 30px; font-weight: 300; }

/* ---------- Knoppen ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center;
	min-width: 177px; min-height: 54px; padding: 11px 26px;
	border-radius: 35px; border: 1px solid var(--navy);
	background: var(--navy); color: #fff;
	font: 500 16px/30px var(--font);
	text-decoration: none; cursor: pointer;
	transition: background-color .2s, color .2s, border-color .2s, transform .2s;
}
.btn:hover { background: #22395a; border-color: #22395a; }
.btn:active { transform: translateY(1px); }
.btn--outline { background: #fff; color: var(--navy); min-width: 274px; }
.overview .btn, .announce .btn { min-width: 274px; }
.btn--outline:hover { background: var(--cream); color: var(--navy); border-color: var(--navy); }

/* ---------- Header ---------- */
.site-header {
	position: fixed; inset: 0 0 auto; z-index: 100;
	height: var(--header-h);
	background: rgba(255, 255, 255, .71);
	-webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.admin-bar .site-header { top: 32px; }
.site-header__inner { display: flex; align-items: center; height: 100%; }
.site-logo { flex: none; margin-top: 4px; }
.logo-img { display: block; width: var(--logo-w, 177px); }
.logo-img img { display: block; width: 100%; height: auto; }
.site-header .logo-img img { max-height: calc(var(--header-h) - 16px); object-fit: contain; object-position: left center; }

.site-nav { margin-left: 126px; }
.site-nav .menu { display: flex; gap: 0 57px; margin: 0; padding: 0; list-style: none; }
.site-nav .menu > li { position: relative; }
.site-nav .menu > li > a {
	display: block; padding: 10px 0;
	font-size: 14px; line-height: 18px; font-weight: 700;
	text-transform: uppercase; text-decoration: none; letter-spacing: 0;
	transition: color .2s;
}
.site-nav .menu > li > a:hover,
.site-nav .current-menu-item > a,
.site-nav .current-menu-ancestor > a,
.site-nav .current-page-ancestor > a,
.site-nav .current_page_parent > a { color: var(--blue); }

.site-nav .sub-menu {
	position: absolute; left: -16px; top: 100%;
	min-width: 190px; margin: 0; padding: 4px 16px 12px;
	list-style: none;
	background: rgba(255, 255, 255, .71);
	-webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
	border-radius: 0 0 14px 14px;
	opacity: 0; visibility: hidden; transform: translateY(-4px);
	transition: opacity .18s, transform .18s, visibility .18s;
}
.site-nav .menu > li:hover > .sub-menu,
.site-nav .menu > li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.site-nav .sub-menu a {
	display: block; padding: 5px 0;
	font-size: 14px; line-height: 19px; font-weight: 500;
	text-decoration: none; white-space: nowrap;
}
.site-nav .sub-menu a:hover,
.site-nav .sub-menu .current-menu-item > a { color: var(--blue); }

.nav-toggle { display: none; }

.site-main { min-height: 50vh; }
body:not(.has-hero) .site-main { padding-top: var(--header-h); }

/* ---------- Hero ---------- */
.hero { position: relative; height: clamp(620px, 56.25vw, 1080px); overflow: hidden; }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center bottom; }
.hero__content { position: relative; padding-top: clamp(140px, 9.7vw, 186px); }
.hero__title { max-width: 724px; margin-bottom: 32px; }
.hero__text { max-width: 566px; }
.hero--short { height: clamp(320px, 37vw, 711px); }
.hero--short .hero__img { object-position: center bottom; }

/* ---------- Kaarten wonen / werken ---------- */
.cards { padding: 77px 0 97px; }
.cards__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 570px)); justify-content: center; gap: 30px; }
.card { position: relative; display: flex; flex-direction: column; border-bottom-left-radius: 100px; overflow: hidden; }
.card__media { aspect-ratio: 570 / 504; overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.card:hover .card__media img { transform: scale(1.03); }
.card__body {
	flex: 1; display: flex; flex-direction: column; align-items: center; text-align: center;
	min-height: 371px; padding: 51px 30px 39px;
}
.card__logo { width: min(334px, 100%); }
.card__logo img { width: 100%; }
.card__text { margin: 34px 0 0; font-size: 16px; font-weight: 500; }
.card__btn { position: relative; z-index: 2; margin-top: auto; }
.card__cover-link { position: absolute; inset: 0; z-index: 1; }
.card--wonen .card__body { background: var(--blue-light); }
.card--wonen .card__text { color: var(--blue); }
.card--wonen .card__btn { background: var(--blue); border-color: var(--blue); min-width: 187px; }
.card--wonen .card__btn:hover { background: #5f7a94; border-color: #5f7a94; }
.card--werken .card__body { background: var(--brown); }

/* ---------- Split (beeld links, tekst rechts) ---------- */
.split { display: grid; grid-template-columns: minmax(0, 989fr) minmax(0, 931fr); align-items: stretch; }
.split--cream { background: var(--cream); min-height: clamp(420px, 29.2vw, 560px); }
.split--taupe { background: var(--taupe); min-height: clamp(520px, 38vw, 730px); }
.split__media { position: relative; overflow: hidden; }
.split__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.split__text { align-self: center; padding: 80px var(--gutter) 70px 42px; max-width: calc(509px + 42px + var(--gutter)); }
.split__text .h-xl { margin-bottom: 32px; }

.checklist { list-style: none; margin: 59px 0 0; padding: 0; }
.checklist li {
	position: relative; padding-left: 42px; margin-top: 14px;
	font-size: 18px; line-height: 30px; font-weight: 500;
}
.checklist li:first-child { margin-top: 0; }
.checklist li::before {
	content: ""; position: absolute; left: 0; top: 5px; width: 26px; height: 20px;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 26 20'%3E%3Cpath d='M2 10.5l8 7.5L24 2' fill='none' stroke='%232f8e1e' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center / contain;
}

/* ---------- Locatie ---------- */
.locatie { padding: 99px 0 91px; }
.locatie__inner { display: grid; grid-template-columns: minmax(0, 382px) minmax(0, 756px); justify-content: space-between; align-items: start; max-width: calc(1080px + 2 * var(--gutter)); }
.locatie__text { padding-top: 28px; }
.locatie__text .h-xl { margin-bottom: 24px; }
.locatie__text .lead { max-width: 328px; }
.locatie__map { border-radius: 16px; overflow: hidden; box-shadow: 0 0 0 1px rgba(17, 34, 56, .06); }
.locatie__map img { width: 100%; }
@media (min-width: 1300px) { .locatie__map { margin-right: -76px; } }
.split--taupe + .locatie { padding-top: 81px; padding-bottom: 81px; }

/* ---------- Betrokken partijen (homepage, boven de footer) ---------- */
.partijen { background: var(--cream); padding: 64px 0 70px; }
.partijen__title { margin: 0 0 32px; font-size: 16px; line-height: 20px; font-weight: 300; letter-spacing: .2em; text-transform: uppercase; text-align: center; }
.partijen__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; margin: 0; padding: 0; list-style: none; }
.partijen__item { display: flex; flex-direction: column; gap: 8px; padding-top: 20px; border-top: 1px solid var(--sand); text-align: center; }
.partijen__rol { font-size: 14px; line-height: 20px; font-weight: 300; color: var(--brown); }
.partijen__naam { font-size: 18px; line-height: 26px; font-weight: 700; }
@media (max-width: 760px) {
	.partijen { padding: 48px 0 52px; }
	.partijen__list { grid-template-columns: 1fr; gap: 22px; }
}

/* ---------- Over Werken ---------- */
.intro { padding: 98px 0 70px; text-align: center; }
.intro .h-xl { margin-bottom: 30px; }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 255px)); justify-content: center; gap: 50px; margin-top: 103px; }
.stat {
	display: flex; flex-direction: column; align-items: center; justify-content: center;
	min-height: 195px; padding: 20px; border-radius: 39px; background: var(--sand);
}
.stat__value { font-size: 36px; line-height: 30px; font-weight: 700; margin-bottom: 6px; white-space: nowrap; }
.stat__label { font-size: 18px; line-height: 30px; font-weight: 300; }

.overview { background: var(--cream); padding: 82px 0 108px; text-align: center; }
.overview__plan {
	display: block; max-width: 1051px; margin: 0 auto 61px;
	aspect-ratio: 1051 / 594; border: 3px solid var(--sand); border-radius: 31px; overflow: hidden;
}
.overview__plan img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
a.overview__plan:hover img { transform: scale(1.02); }
.overview .h-xl { margin-bottom: 42px; }

/* ---------- Over Wonen (aankondiging) ---------- */
.announce { padding: 136px 0 72px; text-align: center; }
.announce .h-xl { margin-bottom: 30px; }
.announce__sub { margin: 0 0 30px; color: var(--blue); font-size: 28px; line-height: 30px; font-weight: 700; }
.announce__text { max-width: 896px; margin: 0 auto 47px; }
.announce__images { display: grid; gap: 90px; justify-items: center; margin-top: 57px; }
.announce__images figure { width: 100%; max-width: 740px; }
.announce__images img { width: 100%; }

/* ---------- Units / plattegrond ---------- */
.units { background: var(--cream); padding: 96px 0 48px; }
.plan { border: 3px solid var(--sand); border-radius: 31px; overflow: hidden; background: #fff; }
.plan__svg { width: 100%; height: auto; }
.plan__unit polygon {
	fill: rgba(17, 34, 56, 0); stroke: transparent; stroke-width: 2;
	transition: fill .2s, stroke .2s; cursor: pointer;
}
.plan__unit:hover polygon,
.plan__unit:focus-visible polygon { fill: rgba(17, 34, 56, .22); stroke: var(--navy); }
.plan__unit.is-te-koop polygon { fill: rgba(74, 140, 82, .55); }
.plan__unit.is-onder-optie polygon { fill: rgba(232, 128, 36, .65); }
.plan__unit.is-verkocht polygon { fill: rgba(145, 112, 102, .7); }
.plan__unit.is-active polygon { fill: rgba(17, 34, 56, .5); stroke: var(--navy); stroke-width: 3; }
.plan__unit:focus { outline: none; }

.plan__legend { display: flex; flex-wrap: wrap; gap: 6px 24px; justify-content: flex-end; margin: 12px 4px 0; padding: 0; list-style: none; font-size: 14px; line-height: 20px; }
.plan__legend li { display: flex; align-items: center; gap: 8px; }
.plan__legend li::before { content: ""; width: 14px; height: 14px; border-radius: 3px; border: 1px solid rgba(17, 34, 56, .35); background: #fff; }
.plan__legend .is-te-koop::before { background: rgba(74, 140, 82, .8); }
.plan__legend .is-onder-optie::before { background: rgba(232, 128, 36, .85); }
.plan__legend .is-verkocht::before { background: rgba(145, 112, 102, .8); }

.unit-picker { display: none; }
.unit-panel { display: grid; grid-template-columns: minmax(0, 582px) auto; padding: 18px 0 0 55px; }
.unit-panel[hidden] { display: none; }
.unit-panel__nr { font-size: 70px; line-height: 80px; font-weight: 700; margin-bottom: 21px; }
.specs { display: grid; grid-template-columns: 173px 1fr; margin: 0 0 40px; font-size: 18px; line-height: 30px; }
.specs dt { font-weight: 500; }
.specs dd { margin: 0; font-weight: 300; }
.specs__status { text-transform: uppercase; }
.unit-panel.is-verkocht .specs__status { color: var(--brown); font-weight: 500; }
.unit-panel__contact { min-width: 274px; }
.unit-panel__side { padding-top: 124px; }
.unit-sales { grid-column: 1 / -1; margin-top: 56px; padding-top: 44px; border-top: 1px solid var(--sand); }
.unit-sales[hidden] { display: none; }
.unit-sales__label { margin-bottom: 28px; }
.unit-sales .sales__group--inline { grid-template-columns: 173px 1fr; column-gap: 0; }
.unit-sales .sales__group--inline .sales__group-title { text-align: left; }

/* Galerij */
.gallery { padding: 0 0 92px; }
.gallery__nav { display: flex; justify-content: flex-end; gap: 14px; padding-top: 30px; padding-bottom: 30px; padding-right: calc(var(--gutter) + 60px); }
.gallery__arrow {
	width: 44px; height: 54px; border: 0; background: transparent no-repeat center / 20px 40px; cursor: pointer;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 40'%3E%3Cpath d='M19 1L1 20l18 19' fill='none' stroke='%23707070' stroke-width='2'/%3E%3C/svg%3E");
	transition: opacity .2s;
}
.gallery__arrow--next { transform: scaleX(-1); }
.gallery__arrow:hover { opacity: .6; }
.gallery__arrow:disabled { opacity: .25; cursor: default; }
.gallery__track {
	display: flex; gap: 41px; overflow-x: auto; scroll-snap-type: x mandatory;
	padding: 0 calc(50% - min(25vw, 480px)); scrollbar-width: none; scroll-behavior: smooth;
}
.gallery__track::-webkit-scrollbar { display: none; }
.gallery__slide { flex: 0 0 min(50vw, 959px); scroll-snap-align: center; aspect-ratio: 959 / 542; overflow: hidden; }
.gallery__slide img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Verkoopinformatie ---------- */
.sales { background: var(--cream); padding: 91px 0 222px; }
.sales__intro { text-align: center; }
.sales__intro .label { margin-bottom: 23px; }
.sales__intro .lead { max-width: 896px; margin: 0 auto; }
.sales__groups { margin: 74px 0 0 95px; }
.sales__group { display: grid; grid-template-columns: 208px 1fr; column-gap: 35px; }
.sales__group + .sales__group { margin-top: 27px; }
.sales__group-title { padding-top: 15px; text-align: right; font-size: 18px; line-height: 30px; font-weight: 700; }
.downloads { margin: 0; padding: 0; list-style: none; }
.downloads li { margin-bottom: 20px; }
.download { display: inline-flex; align-items: center; gap: 16px; text-decoration: none; font-size: 18px; line-height: 30px; font-weight: 300; }
.download__icon {
	flex: none; width: 60px; height: 60px; border-radius: 50%; border: 1px solid var(--brown); background: #fff no-repeat center / 16px 30px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 30'%3E%3Cpath d='M8 1v19M1.5 14l6.5 7 6.5-7M1 29h14' fill='none' stroke='%23917066' stroke-width='2'/%3E%3C/svg%3E");
	transition: background-color .2s;
}
a.download:hover .download__icon { background-color: var(--sand); }
a.download:hover .download__title { text-decoration: underline; text-underline-offset: 4px; }
.download.is-pending { opacity: .55; cursor: default; }
.download small { display: block; font-size: 13px; line-height: 16px; }

.select { position: relative; display: inline-block; }
.select select {
	appearance: none; -webkit-appearance: none; border: 0; background: transparent; color: var(--navy);
	font: 700 18px/30px var(--font); padding: 0 22px 0 0; cursor: pointer; text-align: right;
}
.select::after {
	content: ""; position: absolute; right: 2px; top: 11px; width: 8px; height: 8px;
	border-right: 2px solid var(--navy); border-bottom: 2px solid var(--navy); transform: rotate(45deg); pointer-events: none;
}

/* ---------- Contact ---------- */
.contact { background: var(--cream); padding: 84px 0 133px; }
.contact__grid { display: grid; grid-template-columns: minmax(0, 546px) minmax(0, 469px); column-gap: 52px; max-width: calc(1067px + 2 * var(--gutter)); padding-left: calc(var(--gutter) + 25px); margin: 0 auto; }
.contact__text { margin-bottom: 37px; }
.contact-block { font-size: 18px; line-height: 30px; }
.contact-block strong { font-weight: 600; }
.contact-block a { text-decoration: none; }
.contact-block a:hover { text-decoration: underline; }
.contact-block__gap { display: block; height: 30px; }
.contact-block--page .contact-block__gap--2 { height: 0; }

/* Formulier (Contact Form 7, eigen opmaak) */
.wpcf7 form .field { margin: 0 0 20px; }
.wpcf7 label, .field > label { display: block; font-size: 18px; line-height: 30px; font-weight: 700; }
.wpcf7 input[type="text"], .wpcf7 input[type="email"], .wpcf7 input[type="tel"], .wpcf7 textarea {
	display: block; width: 100%; height: 54px; margin-top: 1px; padding: 12px 16px;
	border: 1px solid var(--sand); border-radius: 0; background: #fff; color: var(--navy);
	font: 400 18px/28px var(--font);
	transition: border-color .2s;
}
.wpcf7 textarea { height: 224px; resize: vertical; }
.wpcf7 input:focus, .wpcf7 textarea:focus { outline: none; border-color: var(--blue); }
.field--checks { margin-top: 26px !important; }
.field--checks .wpcf7-list-item { display: block; margin: 0 0 13px; }
.wpcf7 .wpcf7-list-item label, .field--privacy label { display: flex; align-items: center; gap: 13px; font-weight: 400; cursor: pointer; }
.wpcf7 input[type="checkbox"] {
	appearance: none; -webkit-appearance: none; flex: none; width: 25px; height: 25px; margin: 0;
	border: 1px solid var(--sand); background: #fff no-repeat center / 15px; cursor: pointer;
}
.wpcf7 input[type="checkbox"]:checked {
	background-color: var(--navy); border-color: var(--navy);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 12'%3E%3Cpath d='M1.5 6l4.5 4.5L14.5 1.5' fill='none' stroke='%23fff' stroke-width='2.2'/%3E%3C/svg%3E");
}
.field--checks + .field { margin-top: 33px; }
.field--privacy { margin-top: 24px !important; }
.field--privacy .wpcf7-list-item { margin: 0; }
.field--privacy a { text-decoration: underline; text-underline-offset: 3px; }
.field--submit { margin-top: 53px !important; }
.wpcf7 fieldset.hidden-fields-container { display: none; }
.wpcf7 input[type="submit"] {
	-webkit-appearance: none; appearance: none;
	min-width: 274px; min-height: 54px; padding: 11px 26px;
	border-radius: 35px; border: 1px solid var(--navy); background: var(--navy); color: #fff;
	font: 500 16px/30px var(--font); cursor: pointer; transition: background-color .2s;
}
.wpcf7 input[type="submit"]:hover { background: #22395a; }
.wpcf7 input[type="submit"]:disabled { opacity: .6; cursor: default; }
.wpcf7-spinner { display: none; }
.wpcf7 form.submitting .wpcf7-spinner { display: inline-block; width: 20px; height: 20px; margin-left: 14px; border: 2px solid var(--sand); border-top-color: var(--navy); border-radius: 50%; animation: bh-spin .8s linear infinite; vertical-align: middle; }
@keyframes bh-spin { to { transform: rotate(360deg); } }
.wpcf7-not-valid-tip { display: block; margin-top: 4px; color: #b3261e; font-size: 14px; line-height: 20px; font-weight: 400; }
.wpcf7 input.wpcf7-not-valid, .wpcf7 textarea.wpcf7-not-valid { border-color: #b3261e; }
.wpcf7-response-output { margin: 24px 0 0; padding: 12px 16px; border: 1px solid var(--sand); background: #fff; font-size: 16px; line-height: 24px; }
.wpcf7 form.init .wpcf7-response-output, .wpcf7 form.resetting .wpcf7-response-output, .wpcf7 form.submitting .wpcf7-response-output { display: none; }
.wpcf7 form.sent .wpcf7-response-output { border-color: var(--green); }
.wpcf7 form.invalid .wpcf7-response-output, .wpcf7 form.failed .wpcf7-response-output, .wpcf7 form.spam .wpcf7-response-output { border-color: #b3261e; }
.screen-reader-response { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- Generieke pagina ---------- */
.page-plain { padding: 100px 0 120px; background: var(--cream); }
.entry-content h2 { font-size: 28px; line-height: 1.2; margin: 40px 0 16px; }
.entry-content h3 { font-size: 22px; line-height: 1.3; margin: 30px 0 12px; }
.entry-content ul, .entry-content ol { margin: 0 0 30px; padding-left: 22px; }

/* ---------- Footer ---------- */
.site-footer { position: relative; background: var(--navy); color: var(--sand); }
.site-footer__inner { position: relative; display: flex; min-height: 255px; padding-top: 33px; padding-bottom: 50px; padding-left: calc(var(--gutter) + 52px); }
.site-footer__inner { flex-wrap: wrap; }
.site-footer__logo { flex: 0 0 100%; margin-bottom: 28px; }
.site-footer__col--menu { width: 159px; flex: none; }
.site-footer__title { margin: 0 0 12px; font-size: 16px; line-height: 16px; font-weight: 700; }
.footer-menu { margin: 0; padding: 0; list-style: none; }
.footer-menu li { margin-bottom: 12px; line-height: 16px; }
.footer-menu a { display: inline-block; vertical-align: top; font-size: 14px; line-height: 16px; font-weight: 300; text-decoration: none; }
.footer-menu a:hover, .site-footer a:hover { text-decoration: underline; }
.contact-block--footer { font-size: 14px; line-height: 16px; font-weight: 300; }
.contact-block--footer .contact-block__gap { height: 16px; }
.site-footer a { text-decoration: none; }
.site-footer__privacy { position: absolute; right: calc(var(--gutter) - 44px); bottom: 21px; font-size: 12px; line-height: 16px; font-weight: 300; }

/* ---------- Responsive ---------- */
@media (max-width: 1240px) {
	.site-nav { margin-left: auto; }
	.site-footer__privacy { right: var(--gutter); }
	.unit-panel { padding-left: 0; }
	.sales__groups { margin-left: 0; }
	.contact__grid { padding-left: var(--gutter); }
}

@media (max-width: 1100px) {
	.stats { grid-template-columns: repeat(2, minmax(0, 255px)); gap: 30px; }
	.locatie__inner { grid-template-columns: 1fr; gap: 40px; }
	.locatie__text { padding-top: 0; }
	.locatie__text .lead { max-width: 640px; }
}

@media (max-width: 900px) {
	:root { --header-h: 76px; }
	.site-logo .logo-img { width: min(var(--logo-w, 177px), 140px); }
	.nav-toggle {
		display: flex; align-items: center; justify-content: center; margin-left: auto;
		width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer;
	}
	.nav-toggle span:first-child, .nav-toggle span:first-child::before, .nav-toggle span:first-child::after {
		display: block; width: 24px; height: 2px; background: var(--navy); position: relative; transition: transform .2s, background .2s;
	}
	.nav-toggle span:first-child::before, .nav-toggle span:first-child::after { content: ""; position: absolute; left: 0; }
	.nav-toggle span:first-child::before { top: -7px; }
	.nav-toggle span:first-child::after { top: 7px; }
	.nav-open .nav-toggle span:first-child { background: transparent; }
	.nav-open .nav-toggle span:first-child::before { transform: translateY(7px) rotate(45deg); }
	.nav-open .nav-toggle span:first-child::after { transform: translateY(-7px) rotate(-45deg); }

	.site-nav {
		position: fixed; left: 0; right: 0; top: var(--header-h); margin: 0;
		max-height: calc(100vh - var(--header-h)); overflow-y: auto;
		background: #fff; padding: 12px var(--gutter) 28px; box-shadow: 0 12px 24px rgba(17, 34, 56, .12);
		display: none;
	}
	.admin-bar .site-nav { top: calc(var(--header-h) + 46px); }
	.nav-open .site-nav { display: block; }
	.site-nav .menu { flex-direction: column; gap: 0; }
	.site-nav .menu > li > a { padding: 14px 0; font-size: 16px; border-bottom: 1px solid var(--sand); }
	.site-nav .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; background: none; backdrop-filter: none; -webkit-backdrop-filter: none; padding: 6px 0 8px 16px; }
	.site-nav .sub-menu a { padding: 8px 0; font-size: 15px; }

	.hero { height: auto; min-height: 720px; }
	.hero:not(.hero--short)::after {
		content: ""; position: absolute; inset: 0;
		background: linear-gradient(180deg, rgba(255,255,255,.88) 0%, rgba(255,255,255,.8) 50%, rgba(255,255,255,0) 78%);
	}
	.hero__content { z-index: 1; }
	.hero__content { padding-top: calc(var(--header-h) + 50px); padding-bottom: 60px; }
	.hero--short { min-height: 0; height: 56vw; }

	.cards { padding: 50px 0 60px; }
	.cards__grid { grid-template-columns: minmax(0, 570px); gap: 30px; }
	.card { border-bottom-left-radius: 70px; }
	.card__body { min-height: 0; padding: 36px 24px 36px; }
	.card__btn { margin-top: 30px; }

	.split { grid-template-columns: 1fr; }
	.split__media { aspect-ratio: 16 / 10; }
	.split__text { max-width: none; padding: 48px var(--gutter) 56px; }

	.locatie { padding: 60px 0; }
	.split--taupe + .locatie { padding: 60px 0; }
	.intro { padding: 60px 0 56px; }
	.stats { margin-top: 50px; }
	.overview { padding: 50px 0 70px; }
	.overview__plan { border-radius: 20px; margin-bottom: 40px; }

	.announce { padding: 60px 0 60px; }
	.announce__sub { font-size: 22px; }
	.announce__images { gap: 50px; }

	.units { padding: 40px 0 40px; }
	.plan { border-radius: 16px; }
	.plan__legend { justify-content: flex-start; }
	.unit-picker { display: flex; flex-wrap: wrap; gap: 8px; margin: 28px 0 8px; }
	.unit-picker__btn {
		display: flex; align-items: center; justify-content: center; width: 44px; height: 44px;
		border: 1px solid var(--navy); border-radius: 50%; text-decoration: none; font-weight: 500; font-size: 16px;
	}
	.unit-picker__btn.is-active { background: var(--navy); color: #fff; }
	.unit-panel { grid-template-columns: 1fr; padding-top: 20px; }
	.unit-panel__side { padding-top: 0; order: 2; margin-top: 14px; }
	.unit-panel__nr { font-size: 56px; line-height: 64px; }
	.gallery__nav { padding-right: var(--gutter); }
	.gallery__track { gap: 16px; padding: 0 7vw; }
	.gallery__slide { flex-basis: 86vw; }

	.sales { padding: 50px 0 100px; }
	.sales__groups { margin-top: 50px; }
	.sales__group, .unit-sales .sales__group--inline { grid-template-columns: 1fr; }
	.sales__group-title, .unit-sales .sales__group--inline .sales__group-title { text-align: left; padding: 0 0 14px; }
	.sales__group + .sales__group { margin-top: 30px; }
	.select select { text-align: left; }

	.contact { padding: 50px 0 80px; }
	.contact__grid { grid-template-columns: 1fr; row-gap: 56px; }
	.unit-panel__contact, .btn--outline { min-width: 0; }

	.site-footer__inner { flex-wrap: wrap; gap: 30px 0; padding-left: var(--gutter); padding-bottom: 70px; }
}

@media (max-width: 560px) {
	.stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
	.stat { min-height: 140px; border-radius: 28px; padding: 16px 8px; }
	.stat__value { font-size: 26px; white-space: normal; text-align: center; }
	.stat__label { font-size: 15px; line-height: 22px; }
	.specs { grid-template-columns: 150px 1fr; font-size: 16px; }
	.site-footer__col--menu { width: 100%; }
}
