/* MASIF — locatiepagina's
   Sluit aan op de bestaande stijl van masif.nl: Lato, uppercase koppen met
   font-weight 800 en letter-spacing .03em, goud #e2c171 als accent en volle-
   breedte banden die afwisselen tussen wit, grijs en donkerblauw.
   Geen kaders of randjes: contrast komt uit de achtergrond. */

.ml-page {
	--ml-gold: #e2c171;
	--ml-gold-soft: #f0d79a;
	--ml-navy: #1a2135;
	--ml-dark: #0f131f;
	--ml-slate: #3d4763;
	--ml-grey: #f2f4f7;
	--ml-faded: #6b7590;
	--ml-radius: 10px;
	/* Ruimte binnen de volle-breedte banden */
	--ml-band: clamp(4.5rem, 2.6rem + 5.4vw, 8rem);
	/* Ruimte tussen de witte secties */
	--ml-gap: clamp(4rem, 2.4rem + 4.6vw, 7rem);
	/* Leesbare maximumbreedte: de themacontainer is 1350px, dat geeft veel te
	   lange regels. */
	--ml-max: 1180px;

	color: var(--ml-navy);
	font-size: 1.02rem;
	line-height: 1.8;
}

/* De themacontainer is smaller dan de viewport; de banden mogen daarbuiten
   treden. Clippen doen we op de buitenste wrapper, niet op .ml-page zelf,
   anders worden de volle-breedte banden juist afgekapt. */
body:has(.ml-page) .l-canvas {
	overflow-x: clip;
}

/* Alles binnen een comfortabele leesbreedte, gecentreerd. */
.ml-page > .ml-crumbs,
.ml-page > .ml-hero,
.ml-page > .ml-stats,
.ml-page > .ml-band-white,
.ml-bleed-in {
	max-width: var(--ml-max);
	margin-left: auto;
	margin-right: auto;
}

.ml-page * {
	box-sizing: border-box;
}

/* Typografie in lijn met het thema: uppercase, 800, lichte letterspacing. */
.ml-page h1,
.ml-page h2,
.ml-page h3 {
	color: inherit;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: .03em;
	line-height: 1.2;
	margin: 0 0 .7em;
	/* Nederlandse samenstellingen zijn lang; op smalle schermen mogen ze
	   afbreken in plaats van uit hun kader lopen. */
	overflow-wrap: break-word;
	hyphens: auto;
}

.ml-page h1 {
	/* Klein genoeg dat "funderingsherstel" op mobiel heel blijft. */
	font-size: clamp(1.45rem, .92rem + 2.3vw, 3.1rem);
	hyphens: none;
}

.ml-page h2 {
	font-size: clamp(1.32rem, 1rem + 1.5vw, 2.3rem);
}

.ml-page h3 {
	font-size: 1.05rem;
	letter-spacing: .04em;
}

.ml-page p {
	margin: 0 0 1.2em;
}

.ml-page p:last-child {
	margin-bottom: 0;
}

.ml-page ul,
.ml-page ol {
	margin: 0;
	padding: 0;
	list-style: none;
}

/* Gouden labelregel, zoals "ONZE AANPAK:" op de bestaande pagina's. */
.ml-label {
	font-size: .78rem;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: .14em;
	color: var(--ml-gold);
	margin: 0 0 .9rem;
}

/* Kicker boven een sectiekop: korte gouden streep + label. Geeft elke sectie
   een herkenbare aanhef en rust in de opbouw. */
.ml-kicker {
	display: flex;
	align-items: center;
	gap: .75rem;
	font-size: .74rem;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: .18em;
	color: var(--ml-gold);
	margin: 0 0 1.1rem !important;
}

.ml-kicker::before {
	content: "";
	width: 2.2rem;
	height: 2px;
	background: var(--ml-gold);
	flex: 0 0 auto;
}

/* ---------- volle-breedte banden ---------- */

/* Volle viewportbreedte: uit de themacontainer stappen met negatieve marges
   en de inhoud daarna terugbrengen met padding. */
.ml-bleed {
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
	padding: var(--ml-band) max(1.5rem, calc(50vw - 50%));
}

.ml-dark {
	background: var(--ml-navy);
	color: #fff;
}

.ml-dark h2,
.ml-dark h3 {
	color: #fff;
}

.ml-dark p {
	color: rgba(255, 255, 255, .78);
}

.ml-grey {
	background: var(--ml-grey);
}

.ml-band-white {
	padding: var(--ml-gap) 0 0;
}

/* Lucht tussen de laatste sectie en de footer van het thema. */
.ml-page > section:last-child {
	padding-bottom: var(--ml-gap);
}

.ml-page > section.ml-bleed {
	margin-top: var(--ml-gap);
}

.ml-page > section.ml-bleed + section.ml-bleed {
	margin-top: 0;
}

.ml-head {
	max-width: 42rem;
	margin-bottom: clamp(2.4rem, 1.5rem + 2.4vw, 4rem);
}

.ml-head h2 {
	margin-bottom: .5em;
}

.ml-head p {
	margin: 0;
	font-size: 1.03rem;
	color: var(--ml-slate);
}

.ml-dark .ml-head p {
	color: rgba(255, 255, 255, .72);
}

/* ---------- kruimelpad ---------- */

.ml-crumbs {
	font-size: .8rem;
	color: var(--ml-faded);
	margin: 0 0 1.4rem;
	text-transform: uppercase;
	letter-spacing: .06em;
}

.ml-crumbs a {
	color: var(--ml-faded);
	text-decoration: none;
}

.ml-crumbs a:hover {
	color: var(--ml-gold);
}

.ml-crumbs span {
	margin: 0 .4rem 0 .25rem;
}

.ml-crumbs span[aria-current] {
	margin-right: 0;
	color: var(--ml-navy);
	font-weight: 700;
}

/* ---------- hero ---------- */

.ml-hero {
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
	gap: clamp(1.8rem, 1rem + 3vw, 3.5rem);
	align-items: center;
	background: linear-gradient(135deg, #232c45 0%, var(--ml-navy) 45%, var(--ml-dark) 100%);
	border-radius: var(--ml-radius);
	color: #fff;
	padding: clamp(2rem, 1.2rem + 3.5vw, 3.6rem) clamp(1.5rem, .9rem + 2.6vw, 3rem);
	overflow: hidden;
	position: relative;
}

.ml-hero::before {
	content: "";
	position: absolute;
	inset: auto auto -40% -15%;
	width: 55%;
	aspect-ratio: 1;
	background: radial-gradient(circle, rgba(226, 193, 113, .16), transparent 68%);
	pointer-events: none;
}

.ml-hero-text {
	position: relative;
	z-index: 1;
	max-width: 34rem;
}

.ml-hero h1 {
	color: #fff;
}

.ml-eyebrow {
	font-size: .76rem;
	letter-spacing: .17em;
	text-transform: uppercase;
	font-weight: 800;
	color: var(--ml-gold);
	margin: 0 0 .9rem;
}

.ml-lead {
	font-size: clamp(1.02rem, .95rem + .35vw, 1.18rem);
	color: rgba(255, 255, 255, .85) !important;
	margin-bottom: 1.8rem;
}

.ml-hero-media {
	position: relative;
	z-index: 1;
	border-radius: var(--ml-radius);
	overflow: hidden;
}

.ml-hero-media img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 4 / 5;
	object-fit: cover;
}

/* ---------- knoppen ---------- */

.ml-actions {
	display: flex;
	flex-wrap: wrap;
	gap: .7rem;
	margin-bottom: 1.6rem;
}

.ml-actions:last-child {
	margin-bottom: 0;
}

.ml-btn {
	display: inline-block;
	padding: .9em 1.7em;
	border-radius: 999px;
	font-weight: 700;
	font-size: .92rem;
	letter-spacing: .04em;
	text-transform: uppercase;
	line-height: 1.2;
	text-decoration: none;
	transition: transform .15s ease, background-color .15s ease, color .15s ease, border-color .15s ease;
}

.ml-btn:hover {
	transform: translateY(-1px);
	text-decoration: none;
}

.ml-btn-gold {
	background: var(--ml-gold);
	color: var(--ml-navy) !important;
}

.ml-btn-gold:hover {
	background: var(--ml-gold-soft);
	color: var(--ml-navy) !important;
}

.ml-btn-line {
	border: 2px solid rgba(255, 255, 255, .45);
	color: #fff !important;
}

.ml-btn-line:hover {
	border-color: var(--ml-gold);
	color: var(--ml-gold) !important;
}

.ml-chips {
	display: flex;
	flex-wrap: wrap;
	gap: .5rem;
	margin: 0;
}

.ml-chips li {
	font-size: .78rem;
	font-weight: 700;
	letter-spacing: .04em;
	text-transform: uppercase;
	padding: .4em 1em;
	border-radius: 999px;
	background: rgba(255, 255, 255, .1);
	color: rgba(255, 255, 255, .85);
}

/* ---------- kerncijfers ---------- */

.ml-stats {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	margin-top: clamp(1.5rem, 1rem + 1.5vw, 2.5rem);
}

.ml-stat {
	padding: 2rem 1rem;
	text-align: center;
	border-left: 1px solid rgba(26, 33, 53, .1);
}

.ml-stat:first-child {
	border-left: 0;
}

.ml-stat strong {
	display: block;
	font-size: 2rem;
	font-weight: 800;
	color: var(--ml-navy);
	line-height: 1.1;
	letter-spacing: .02em;
}

.ml-stat span {
	display: block;
	font-size: .78rem;
	text-transform: uppercase;
	letter-spacing: .07em;
	color: var(--ml-faded);
	margin-top: .35rem;
	line-height: 1.45;
}

/* ---------- kolommen ---------- */

.ml-split {
	display: grid;
	grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
	gap: clamp(2.2rem, 1.2rem + 3.2vw, 4.5rem);
	align-items: start;
}

.ml-split-media {
	grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
	align-items: center;
}

.ml-split-even {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ml-prose {
	color: var(--ml-slate);
	max-width: 38rem;
}

.ml-prose p + p {
	margin-top: 1.3em;
}

.ml-prose h2 {
	color: var(--ml-navy);
}

.ml-dark .ml-prose,
.ml-dark .ml-prose p {
	color: rgba(255, 255, 255, .78);
}

.ml-dark .ml-prose h2 {
	color: #fff;
}

/* ---------- feiten ---------- */

.ml-facts {
	background: var(--ml-navy);
	color: #fff;
	border-radius: var(--ml-radius);
	padding: 2.2rem 2.3rem;
}

.ml-facts dl {
	margin: 0;
}

.ml-facts dt {
	font-size: .72rem;
	text-transform: uppercase;
	letter-spacing: .08em;
	color: rgba(255, 255, 255, .45);
	margin-top: 1.2rem;
}

.ml-facts dt:first-of-type {
	margin-top: 0;
}

.ml-facts dd {
	margin: .2rem 0 0;
	font-size: .96rem;
	font-weight: 700;
	line-height: 1.5;
	color: #fff;
}

.ml-facts-note {
	margin: 1.6rem 0 0 !important;
	padding-top: 1.1rem;
	border-top: 1px solid rgba(255, 255, 255, .12);
	font-size: .8rem;
	text-transform: uppercase;
	letter-spacing: .06em;
	color: rgba(255, 255, 255, .5) !important;
}

/* ---------- items in banden ---------- */

.ml-grid-3 {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
	gap: clamp(2.2rem, 1.4rem + 2.2vw, 3.6rem);
}

/* Signalen zijn geen voordelen: die krijgen een gouden regel in plaats van
   een vinkje. Alleen de diensten krijgen het vinkje uit de huisstijl. */
.ml-grid-3:not(.ml-grid-services) .ml-item {
	padding-top: 1.2rem;
	border-top: 2px solid rgba(255, 255, 255, .18);
}

.ml-grid-3:not(.ml-grid-services) .ml-item h3,
.ml-grid-3:not(.ml-grid-services) .ml-item p {
	padding-left: 0;
}

.ml-item h3 {
	margin-bottom: .55rem;
	padding-left: 2.1rem;
	position: relative;
}

/* Gouden vinkje, zoals in de bestaande dienstenblokken. */
.ml-grid-services .ml-item h3::before {
	content: "";
	position: absolute;
	left: 0;
	top: .05em;
	width: 1.4rem;
	height: 1.4rem;
	border-radius: 50%;
	background: var(--ml-gold);
}

.ml-grid-services .ml-item h3::after {
	content: "";
	position: absolute;
	left: .43rem;
	top: .38em;
	width: .55rem;
	height: .3rem;
	border-left: 2px solid var(--ml-navy);
	border-bottom: 2px solid var(--ml-navy);
	transform: rotate(-45deg);
}

.ml-item p {
	margin: 0;
	font-size: .96rem;
	line-height: 1.75;
	padding-left: 2.1rem;
}

.ml-grid-services .ml-item p {
	font-size: .97rem;
}

/* ---------- inline cta binnen een band ---------- */

.ml-inline-cta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
	margin-top: clamp(2.2rem, 1.4rem + 2vw, 3.4rem);
	padding-top: clamp(2rem, 1.3rem + 1.8vw, 3rem);
	border-top: 1px solid rgba(255, 255, 255, .14);
}

.ml-inline-cta p {
	margin: 0;
	flex: 1 1 24rem;
	font-size: 1.02rem;
	color: rgba(255, 255, 255, .85) !important;
}

/* ---------- beeld ---------- */

.ml-figure {
	margin: 0;
	border-radius: var(--ml-radius);
	overflow: hidden;
}

.ml-figure img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 4 / 3;
	object-fit: cover;
}

/* ---------- vinkjeslijst ---------- */

.ml-ticks {
	display: grid;
	gap: .7rem;
}

.ml-ticks li {
	position: relative;
	padding-left: 2.1rem;
	font-size: .96rem;
	font-weight: 600;
	color: var(--ml-navy);
}

.ml-dark .ml-ticks li {
	color: #fff;
}

.ml-ticks li::before {
	content: "";
	position: absolute;
	left: 0;
	top: .15em;
	width: 1.4rem;
	height: 1.4rem;
	border-radius: 50%;
	background: var(--ml-gold);
}

.ml-ticks li::after {
	content: "";
	position: absolute;
	left: .43rem;
	top: .48em;
	width: .55rem;
	height: .3rem;
	border-left: 2px solid var(--ml-navy);
	border-bottom: 2px solid var(--ml-navy);
	transform: rotate(-45deg);
}

/* ---------- stappen ---------- */

.ml-steps {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr));
	gap: clamp(2.2rem, 1.4rem + 2.2vw, 3.4rem);
}

.ml-steps li {
	padding-top: 1.4rem;
	border-top: 2px solid rgba(26, 33, 53, .14);
}

.ml-step-n {
	display: block;
	font-size: .8rem;
	font-weight: 800;
	letter-spacing: .1em;
	color: var(--ml-gold);
	margin-bottom: .5rem;
}

.ml-step-n::before {
	content: "0";
}

.ml-steps strong {
	display: block;
	font-size: 1.05rem;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: .03em;
	color: var(--ml-navy);
	margin-bottom: .4rem;
	line-height: 1.25;
}

.ml-steps p {
	margin: 0;
	font-size: .94rem;
	color: var(--ml-slate);
}

/* ---------- tags ---------- */

.ml-tags {
	display: flex;
	flex-wrap: wrap;
	gap: .5rem;
	margin-top: 1.4rem;
}

.ml-tags li {
	font-size: .84rem;
	font-weight: 700;
	letter-spacing: .02em;
	color: var(--ml-slate);
	background: var(--ml-grey);
	border-radius: 999px;
	padding: .45em 1.05em;
}

/* ---------- faq ---------- */

.ml-faq {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(26rem, 1fr));
	gap: 0 clamp(2.2rem, 1.2rem + 3.2vw, 4.5rem);
	align-items: start;
}

.ml-faq details {
	border-bottom: 1px solid rgba(26, 33, 53, .12);
}

.ml-faq summary {
	cursor: pointer;
	list-style: none;
	padding: 1.25rem 2.2rem 1.25rem 0;
	font-weight: 700;
	font-size: 1rem;
	line-height: 1.45;
	position: relative;
	color: var(--ml-navy);
}

.ml-faq summary::-webkit-details-marker {
	display: none;
}

.ml-faq summary::after {
	content: "+";
	position: absolute;
	right: .2rem;
	top: 1.1rem;
	font-size: 1.5rem;
	font-weight: 400;
	color: var(--ml-gold);
	line-height: 1;
}

.ml-faq details[open] summary::after {
	content: "\2013";
}

.ml-faq-a {
	padding: 0 2.2rem 1.4rem 0;
	color: var(--ml-slate);
	font-size: .95rem;
	line-height: 1.7;
}

.ml-faq-a p {
	margin: 0;
}

/* ---------- cta-band ---------- */

.ml-cta-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
	gap: clamp(1.8rem, 1rem + 2.6vw, 3.5rem);
	align-items: center;
}

.ml-cta-grid > div:first-child p {
	max-width: 40rem;
	font-size: 1.05rem;
	margin-bottom: 1.8rem;
}

.ml-cta-card {
	display: grid;
	gap: .4rem;
	background: rgba(255, 255, 255, .06);
	border-radius: var(--ml-radius);
	padding: 2.2rem 2.3rem;
	font-size: .95rem;
}

.ml-cta-card strong {
	font-size: 1.02rem;
	color: #fff;
}

.ml-cta-card span {
	color: rgba(255, 255, 255, .68);
	line-height: 1.6;
}

.ml-cta-card a {
	color: var(--ml-gold) !important;
	font-weight: 700;
	text-decoration: none;
	word-break: break-word;
}

.ml-cta-card a:hover {
	color: #fff !important;
}

.ml-cta-hours {
	margin-top: .6rem;
	padding-top: .8rem;
	border-top: 1px solid rgba(255, 255, 255, .14);
	font-size: .8rem !important;
	text-transform: uppercase;
	letter-spacing: .06em;
}

/* ---------- omgeving ---------- */

ul.ml-nearby {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
	gap: 0 clamp(2rem, 1.2rem + 2.4vw, 3.5rem);
}

ul.ml-nearby a {
	display: block;
	padding: 1rem 0;
	border-bottom: 1px solid rgba(26, 33, 53, .12);
	text-decoration: none;
	font-weight: 700;
	font-size: .95rem;
	color: var(--ml-navy);
	transition: color .15s ease, padding-left .15s ease;
}

ul.ml-nearby a::before {
	content: "\2192";
	color: var(--ml-gold);
	margin-right: .6rem;
}

ul.ml-nearby a:hover {
	color: var(--ml-gold);
	padding-left: .3rem;
}

.ml-note {
	font-size: .93rem;
	color: var(--ml-faded);
	margin: 2rem 0 0;
}

.ml-note a {
	color: var(--ml-navy);
	font-weight: 700;
}

.ml-note a:hover {
	color: var(--ml-gold);
}

/* ---------- hub ---------- */

.ml-hub .ml-region + .ml-region {
	margin-top: var(--ml-gap);
}

.ml-region h3 {
	font-size: 1.25rem;
	color: var(--ml-navy);
	padding-bottom: .6rem;
	border-bottom: 2px solid var(--ml-gold);
	display: inline-block;
	margin-bottom: 1.6rem;
}

.ml-region-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr));
	gap: 1.4rem 2rem;
}

.ml-region-grid a {
	display: block;
	height: 100%;
	padding-left: 1rem;
	border-left: 2px solid rgba(26, 33, 53, .12);
	text-decoration: none;
	transition: border-color .15s ease;
}

.ml-region-grid a:hover {
	border-left-color: var(--ml-gold);
}

.ml-region-grid strong {
	display: block;
	color: var(--ml-navy);
	font-size: .98rem;
	font-weight: 800;
	letter-spacing: .02em;
	margin-bottom: .25rem;
}

.ml-region-grid span {
	display: block;
	font-size: .85rem;
	color: var(--ml-faded);
	line-height: 1.5;
}

/* ---------- responsive ---------- */

@media (min-width: 1000px) {
	.ml-grid-3:not(.ml-grid-services),
	ul.ml-nearby {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 1024px) {
	.ml-hero,
	.ml-cta-grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.ml-hero-media {
		max-width: 28rem;
	}

	.ml-hero-media img {
		aspect-ratio: 16 / 10;
	}
}

@media (max-width: 860px) {
	.ml-split,
	.ml-split-media,
	.ml-split-even {
		grid-template-columns: minmax(0, 1fr);
	}

	.ml-stats {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.ml-stat:nth-child(3) {
		border-left: 0;
	}

	.ml-hero-media {
		max-width: none;
	}
}

@media (max-width: 520px) {
	.ml-actions .ml-btn,
	.ml-inline-cta .ml-btn {
		width: 100%;
		text-align: center;
	}

	.ml-hero-media img {
		aspect-ratio: 4 / 3;
	}
}
