/* ==========================================================================
   Steenhuisen Makelaars – homepage
   Bouwt voort op de tokens en componenten uit woningaanbod.css.
   ========================================================================== */

body.smh-home-page { --smh-section: 64px; }
@media (min-width: 900px) { body.smh-home-page { --smh-section: 112px; } }

/* --------------------------------------------------------------------------
   Header boven de video: iets meer contrast
   -------------------------------------------------------------------------- */
body.smh-home-page .header:not(.is-scrolled)::before {
	content: "";
	position: absolute;
	inset: 0 0 -40px;
	background: linear-gradient(to bottom, rgba(0, 0, 0, .45), rgba(0, 0, 0, 0));
	pointer-events: none;
	z-index: -1;
}

/* --------------------------------------------------------------------------
   Video-hero
   -------------------------------------------------------------------------- */
.smh .smh-vhero {
	position: relative;
	display: flex;
	align-items: flex-end;
	min-height: 640px;
	height: 100vh;
	height: 100svh;
	max-height: 1100px;
	overflow: hidden;
	background: #0d0d0d;
	color: #fff;
	isolation: isolate;
}

.smh .smh-vhero__media { position: absolute; inset: 0; z-index: -2; }
.smh .smh-vhero__video {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transform: scale(1.06);
	animation: smh-zoom 2.4s cubic-bezier(.2, .7, .2, 1) forwards;
}
@keyframes smh-zoom { to { transform: scale(1); } }

.smh .smh-vhero__shade {
	position: absolute;
	inset: 0;
	z-index: -1;
	background:
		linear-gradient(to top, rgba(10, 10, 10, .82) 0%, rgba(10, 10, 10, .35) 45%, rgba(10, 10, 10, .15) 70%, rgba(10, 10, 10, .35) 100%),
		linear-gradient(to right, rgba(10, 10, 10, .45) 0%, rgba(10, 10, 10, 0) 60%);
}

.smh .smh-vhero__inner {
	padding-top: 140px;
	padding-bottom: 120px;
}
@media (min-width: 900px) { .smh .smh-vhero__inner { padding-bottom: 150px; } }

.smh .smh-vhero__content { max-width: 820px; }

.smh .smh-vhero__title {
	color: #fff;
	font-size: clamp(44px, 7.4vw, 108px);
	font-weight: 600;
	line-height: .98;
	letter-spacing: -0.04em;
	text-wrap: balance;
}

.smh .smh-vhero__text {
	margin-top: 24px;
	max-width: 560px;
	font-size: clamp(16px, 1.3vw, 19px);
	line-height: 1.6;
	color: rgba(255, 255, 255, .82);
}

.smh .smh-vhero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 36px;
}
.smh .smh-vhero__actions .smh-btn { min-height: 54px; padding: 14px 26px; }
.smh .smh-vhero .smh-btn--outline-light { backdrop-filter: blur(6px); background: rgba(255, 255, 255, .06); }
.smh .smh-vhero .smh-btn--outline-light:hover { background: rgba(255, 255, 255, .14); }

@media (max-width: 520px) {
	.smh .smh-vhero__actions { flex-direction: column; align-items: stretch; }
}

/* Google-score */
.smh .smh-rating {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin-top: 32px;
	font-size: 14px;
	color: rgba(255, 255, 255, .85);
	text-decoration: none;
}
.smh a.smh-rating:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.smh .smh-rating strong { color: #fff; font-weight: 600; }
.smh .smh-rating__stars { display: inline-flex; gap: 2px; color: #f5c451; }
.smh .smh-rating__stars svg { fill: currentColor; stroke: none; }

/* Pauzeknop */
.smh .smh-vhero__toggle {
	position: absolute;
	right: 16px;
	bottom: 88px;
	display: grid;
	place-items: center;
	width: 40px;
	height: 40px;
	padding: 0;
	border: 1px solid rgba(255, 255, 255, .35);
	border-radius: 50%;
	background: rgba(0, 0, 0, .25);
	color: #fff;
	cursor: pointer;
	backdrop-filter: blur(6px);
	transition: background-color .2s ease, border-color .2s ease;
}
.smh .smh-vhero__toggle:hover { background: rgba(0, 0, 0, .5); border-color: #fff; }
.smh .smh-vhero__toggle svg { fill: currentColor; stroke: none; }
.smh .smh-vhero__toggle-play { display: none; }
.smh .smh-vhero__toggle[aria-pressed="true"] .smh-vhero__toggle-play { display: block; }
.smh .smh-vhero__toggle[aria-pressed="true"] .smh-vhero__toggle-pause { display: none; }
@media (min-width: 768px) { .smh .smh-vhero__toggle { right: 32px; bottom: 120px; } }

/* Scroll-indicator */
.smh .smh-vhero__scroll {
	position: absolute;
	left: 50%;
	bottom: 88px;
	display: none;
	width: 26px;
	height: 42px;
	margin-left: -13px;
	border: 1.5px solid rgba(255, 255, 255, .55);
	border-radius: 14px;
}
.smh .smh-vhero__scroll span {
	position: absolute;
	left: 50%;
	top: 8px;
	width: 3px;
	height: 8px;
	margin-left: -1.5px;
	border-radius: 2px;
	background: #fff;
	animation: smh-scroll 1.8s ease-in-out infinite;
}
@keyframes smh-scroll {
	0% { opacity: 0; transform: translateY(0); }
	30% { opacity: 1; }
	100% { opacity: 0; transform: translateY(14px); }
}
@media (min-width: 900px) and (min-height: 760px) { .smh .smh-vhero__scroll { display: block; bottom: 120px; } }

/* Gefaseerd binnenkomen */
.smh-js .smh .smh-reveal {
	opacity: 0;
	transform: translateY(22px);
	transition: opacity .9s cubic-bezier(.2, .7, .2, 1), transform .9s cubic-bezier(.2, .7, .2, 1);
}
.smh-js .smh .is-in .smh-reveal,
.smh-js .smh .smh-reveal.is-in { opacity: 1; transform: none; }
.smh-js .smh .is-in .smh-reveal:nth-child(2) { transition-delay: .08s; }
.smh-js .smh .is-in .smh-reveal:nth-child(3) { transition-delay: .18s; }
.smh-js .smh .is-in .smh-reveal:nth-child(4) { transition-delay: .28s; }
.smh-js .smh .is-in .smh-reveal:nth-child(5) { transition-delay: .38s; }

/* --------------------------------------------------------------------------
   Snelle zoekbalk (overlapt de hero)
   -------------------------------------------------------------------------- */
.smh .smh-quicksearch {
	position: relative;
	z-index: 3;
	margin-top: -64px;
}
@media (min-width: 900px) { .smh .smh-quicksearch { margin-top: -84px; } }

.smh .smh-quicksearch__form {
	display: grid;
	grid-template-columns: 1fr;
	gap: 12px;
	padding: 16px;
	border-radius: var(--smh-radius-lg);
	background: #fff;
	box-shadow: 0 2px 4px rgba(21, 21, 21, .04), 0 24px 60px rgba(21, 21, 21, .16);
}
@media (min-width: 768px) {
	.smh .smh-quicksearch__form {
		grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) auto;
		align-items: end;
		gap: 0;
		padding: 12px;
	}
}

.smh .smh-quicksearch__field { min-width: 0; }
@media (min-width: 768px) {
	.smh .smh-quicksearch__field { padding: 6px 20px; }
	.smh .smh-quicksearch__field + .smh-quicksearch__field { border-left: 1px solid var(--smh-line); }
}

.smh .smh-quicksearch__field label {
	display: block;
	margin: 0 0 4px;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--smh-muted);
}

.smh .smh-quicksearch__input {
	display: flex;
	align-items: center;
	gap: 10px;
	color: var(--smh-muted);
	border-bottom: 1px solid var(--smh-line);
}
@media (min-width: 768px) { .smh .smh-quicksearch__input { border-bottom: 0; } }

.smh .smh-quicksearch__input input,
.smh .smh-quicksearch__input select {
	width: 100%;
	min-width: 0;
	height: 44px;
	padding: 0;
	border: 0;
	background: transparent;
	font: inherit;
	font-size: 17px;
	font-weight: 500;
	color: var(--smh-ink);
	outline: none;
	box-shadow: none;
	-webkit-appearance: none;
	appearance: none;
}
.smh .smh-quicksearch__input select {
	cursor: pointer;
	padding-right: 22px;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%23151515' stroke-width='1.6'%3E%3Cpath d='m1 1.5 5 5 5-5'/%3E%3C/svg%3E") no-repeat right center;
}
.smh .smh-quicksearch__input input::placeholder { color: #a39e95; font-weight: 400; }
.smh .smh-quicksearch__field:focus-within label { color: var(--smh-ink); }
.smh .smh-quicksearch__input:focus-within { color: var(--smh-ink); }

.smh .smh-quicksearch__submit { min-height: 56px; padding: 14px 28px; }

.smh .smh-quicksearch__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 12px;
	margin-top: 16px;
	font-size: 14px;
	color: var(--smh-muted);
}
.smh .smh-quicksearch__meta strong { color: var(--smh-ink); }
.smh .smh-quicksearch__meta a {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: var(--smh-ink);
	font-weight: 500;
	text-decoration: underline;
	text-underline-offset: 3px;
	text-decoration-color: var(--smh-line);
}
.smh .smh-quicksearch__meta a:hover { text-decoration-color: currentColor; }

/* --------------------------------------------------------------------------
   Secties
   -------------------------------------------------------------------------- */
.smh .smh-hsection { padding: var(--smh-section) 0; }
.smh .smh-hsection--sand { background: var(--smh-sand); }
.smh .smh-hsection--line { border-top: 1px solid var(--smh-line); }

.smh .smh-hsection__head {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 20px 32px;
	margin-bottom: 40px;
}
@media (min-width: 900px) { .smh .smh-hsection__head { margin-bottom: 56px; } }
.smh .smh-hsection__head--center { justify-content: center; text-align: center; }
.smh .smh-hsection__head--center .smh-eyebrow { justify-content: center; }

.smh .smh-hsection__title {
	font-size: clamp(30px, 3.8vw, 52px);
	line-height: 1.05;
	letter-spacing: -0.035em;
	max-width: 720px;
	text-wrap: balance;
}

.smh .smh-link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding-bottom: 4px;
	border-bottom: 1px solid var(--smh-ink);
	font-size: 15px;
	font-weight: 600;
	color: var(--smh-ink);
	text-decoration: none;
	white-space: nowrap;
}
.smh .smh-link:hover { text-decoration: none; color: var(--smh-ink); }
.smh .smh-link .smh-icon { transition: transform .2s ease; }
.smh .smh-link:hover .smh-icon { transform: translateX(4px); }

/* Ruimte tussen zoekbalk en eerste sectie */
.smh .smh-quicksearch + .smh-hsection { padding-top: calc(var(--smh-section) * .8); }

/* --------------------------------------------------------------------------
   Diensten
   -------------------------------------------------------------------------- */
.smh .smh-services {
	display: grid;
	grid-template-columns: 1fr;
	gap: 16px;
	margin: 0;
	padding: 0;
	list-style: none;
}
@media (min-width: 640px)  { .smh .smh-services { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .smh .smh-services { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; } }

.smh .smh-service {
	position: relative;
	display: flex;
	flex-direction: column;
	min-height: 260px;
	padding: 32px 28px 28px;
	border: 1px solid transparent;
	border-radius: var(--smh-radius-lg);
	background: #fff;
	transition: transform .3s cubic-bezier(.2, .7, .2, 1), box-shadow .3s ease, border-color .3s ease;
}
.smh .smh-service:hover {
	transform: translateY(-4px);
	border-color: var(--smh-line);
	box-shadow: 0 24px 48px rgba(21, 21, 21, .08);
}
.smh .smh-service__icon {
	display: grid;
	place-items: center;
	width: 56px;
	height: 56px;
	margin-bottom: 28px;
	border-radius: 50%;
	background: var(--smh-sand);
	color: var(--smh-ink);
	transition: background-color .3s ease, color .3s ease;
}
.smh .smh-service:hover .smh-service__icon { background: var(--smh-ink); color: #fff; }
.smh .smh-service__title { font-size: 20px; letter-spacing: -0.02em; }
.smh .smh-service__link { text-decoration: none; }
.smh .smh-service__link::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.smh .smh-service__link:hover { text-decoration: none; }
.smh .smh-service__text { margin-top: 10px; color: var(--smh-muted); font-size: 15px; line-height: 1.55; }
.smh .smh-service__arrow {
	margin-top: auto;
	padding-top: 24px;
	color: var(--smh-ink);
	transition: transform .25s ease;
}
.smh .smh-service:hover .smh-service__arrow { transform: translateX(6px); }
.smh .smh-service:focus-within { outline: 2px solid var(--smh-focus); outline-offset: 3px; }
.smh .smh-service__link:focus-visible { outline: none; }

/* --------------------------------------------------------------------------
   Werkwijze met tabs
   -------------------------------------------------------------------------- */
.smh .smh-tabs {
	display: inline-flex;
	padding: 4px;
	border: 1px solid var(--smh-line);
	border-radius: 999px;
	background: #fff;
}
.smh .smh-tabs__tab {
	padding: 10px 22px;
	border: 0;
	border-radius: 999px;
	background: transparent;
	font-size: 15px;
	font-weight: 600;
	color: var(--smh-muted);
	cursor: pointer;
	transition: background-color .2s ease, color .2s ease;
}
.smh .smh-tabs__tab:hover { color: var(--smh-ink); }
.smh .smh-tabs__tab[aria-selected="true"] { background: var(--smh-ink); color: #fff; }

.smh .smh-process {
	display: grid;
	grid-template-columns: 1fr;
	gap: 40px;
}
@media (min-width: 960px) { .smh .smh-process { grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: 80px; } }
.smh .smh-process[hidden] { display: none; }

.smh .smh-process__intro { display: flex; flex-direction: column; align-items: flex-start; gap: 28px; }
@media (min-width: 960px) { .smh .smh-process__intro { position: sticky; top: calc(var(--smh-header) + 32px); align-self: start; } }
.smh .smh-process__title { font-size: clamp(24px, 2.4vw, 34px); letter-spacing: -0.03em; max-width: 420px; }

.smh .smh-process__steps { margin: 0; padding: 0; list-style: none; counter-reset: none; }
.smh .smh-process__step {
	display: grid;
	grid-template-columns: 56px minmax(0, 1fr);
	gap: 16px;
	padding: 24px 0;
	border-top: 1px solid var(--smh-line);
}
.smh .smh-process__step:last-child { border-bottom: 1px solid var(--smh-line); }
@media (min-width: 768px) { .smh .smh-process__step { grid-template-columns: 88px minmax(0, 1fr); padding: 28px 0; } }
.smh .smh-process__num {
	font-size: 15px;
	font-weight: 600;
	color: var(--smh-muted);
	font-variant-numeric: tabular-nums;
	padding-top: 3px;
}
.smh .smh-process__step-title { font-size: 19px; letter-spacing: -0.015em; }
.smh .smh-process__step-text { margin-top: 6px; color: var(--smh-muted); font-size: 15px; }
.smh .smh-process__step { transition: padding-left .3s ease; }
@media (hover: hover) {
	.smh .smh-process__step:hover .smh-process__num { color: var(--smh-ink); }
}

/* --------------------------------------------------------------------------
   Waardebepaling
   -------------------------------------------------------------------------- */
.smh .smh-valuation {
	padding: var(--smh-section) 0;
	background: var(--smh-ink);
	color: #fff;
	overflow: hidden;
	position: relative;
}
.smh .smh-valuation::before {
	content: "";
	position: absolute;
	right: -10%;
	top: -40%;
	width: 60vw;
	height: 60vw;
	max-width: 820px;
	max-height: 820px;
	border-radius: 50%;
	background: radial-gradient(closest-side, rgba(255, 255, 255, .07), rgba(255, 255, 255, 0));
	pointer-events: none;
}
.smh .smh-valuation__inner {
	position: relative;
	display: grid;
	grid-template-columns: 1fr;
	gap: 40px;
	align-items: center;
}
@media (min-width: 960px) { .smh .smh-valuation__inner { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 80px; } }

.smh .smh-valuation__title {
	color: #fff;
	font-size: clamp(34px, 4.6vw, 64px);
	line-height: 1;
	letter-spacing: -0.04em;
}
.smh .smh-valuation__text { margin-top: 20px; max-width: 560px; color: rgba(255, 255, 255, .72); font-size: 17px; }
.smh .smh-valuation__usps {
	display: grid;
	grid-template-columns: 1fr;
	gap: 12px 24px;
	margin: 32px 0 0;
	padding: 0;
	list-style: none;
}
@media (min-width: 560px) { .smh .smh-valuation__usps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.smh .smh-valuation__usps li { display: flex; align-items: center; gap: 10px; font-size: 15px; color: rgba(255, 255, 255, .9); }
.smh .smh-valuation__usps .smh-icon { color: #9fd3ae; }

.smh .smh-valuation__card {
	display: grid;
	gap: 12px;
	padding: 32px;
	border-radius: var(--smh-radius-lg);
	background: #fff;
	color: var(--smh-ink);
	box-shadow: 0 30px 80px rgba(0, 0, 0, .35);
}
@media (min-width: 960px) { .smh .smh-valuation__card { padding: 40px; } }
.smh .smh-valuation__card-kicker {
	font-size: 12px;
	font-weight: 600;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--smh-green);
}
.smh .smh-valuation__card-title {
	margin-bottom: 12px;
	font-size: 24px;
	font-weight: 600;
	line-height: 1.2;
	letter-spacing: -0.02em;
}

/* --------------------------------------------------------------------------
   Over ons
   -------------------------------------------------------------------------- */
.smh .smh-about {
	display: grid;
	grid-template-columns: 1fr;
	gap: 48px;
}
@media (min-width: 960px) { .smh .smh-about { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 80px; align-items: start; } }
.smh .smh-about__text { margin: 20px 0 28px; max-width: 520px; font-size: 17px; color: var(--smh-ink-2); }

.smh .smh-pillars { display: grid; gap: 16px; margin: 0; padding: 0; list-style: none; }
.smh .smh-pillar {
	display: grid;
	grid-template-columns: 48px minmax(0, 1fr);
	gap: 4px 16px;
	padding: 28px;
	border-radius: var(--smh-radius-lg);
	background: #fff;
}
.smh .smh-pillar__num { grid-row: span 2; font-size: 14px; font-weight: 600; color: var(--smh-muted); padding-top: 3px; }
.smh .smh-pillar__title { font-size: 19px; letter-spacing: -0.015em; }
.smh .smh-pillar p { color: var(--smh-muted); font-size: 15px; }

/* --------------------------------------------------------------------------
   Reviews (Trustindex)
   -------------------------------------------------------------------------- */
.smh .smh-reviews { min-height: 120px; }
.smh .smh-reviews .ti-widget { font-family: var(--smh-font) !important; }

/* --------------------------------------------------------------------------
   Artikelen
   -------------------------------------------------------------------------- */
.smh .smh-posts {
	display: grid;
	grid-template-columns: 1fr;
	gap: 32px 24px;
}
@media (min-width: 700px)  { .smh .smh-posts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .smh .smh-posts { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.smh .smh-post { position: relative; display: flex; flex-direction: column; }
.smh .smh-post__media {
	aspect-ratio: 16 / 10;
	overflow: hidden;
	border-radius: var(--smh-radius-lg);
	background: var(--smh-sand);
	margin-bottom: 18px;
}
.smh .smh-post__media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.smh .smh-post:hover .smh-post__media img { transform: scale(1.04); }
.smh .smh-post__date { font-size: 13px; color: var(--smh-muted); }
.smh .smh-post__title { margin-top: 6px; font-size: 20px; line-height: 1.3; letter-spacing: -0.015em; }
.smh .smh-post__link { text-decoration: none; }
.smh .smh-post__link::after { content: ""; position: absolute; inset: 0; }
.smh .smh-post__link:hover { text-decoration: underline; text-underline-offset: 3px; }
.smh .smh-post__excerpt { margin-top: 8px; color: var(--smh-muted); font-size: 15px; }

/* --------------------------------------------------------------------------
   Scroll-reveal voor secties
   -------------------------------------------------------------------------- */
.smh-js .smh .smh-inview {
	opacity: 0;
	transform: translateY(28px);
	transition: opacity .8s cubic-bezier(.2, .7, .2, 1), transform .8s cubic-bezier(.2, .7, .2, 1);
}
.smh-js .smh .smh-inview.is-in { opacity: 1; transform: none; }

/* --------------------------------------------------------------------------
   Minder beweging
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
	.smh .smh-vhero__video { animation: none; transform: none; }
	.smh .smh-vhero__scroll span { animation: none; }
	.smh-js .smh .smh-reveal,
	.smh-js .smh .smh-inview { opacity: 1; transform: none; transition: none; }
	.smh .smh-service,
	.smh .smh-service__arrow,
	.smh .smh-post__media img { transition: none; }
}

/* Op mobiel maximaal vier woningen, de rest via "Bekijk alle woningen" */
@media (max-width: 699px) {
	.smh-home .smh-grid > :nth-child(n+5) { display: none; }
}

/* =========================================================
   Typografie: Marcellus voor koppen (alleen 400), Bodoni Moda voor de hero
   ========================================================= */
.smh .smh-hsection__title,
.smh .smh-service__title,
.smh .smh-process__title,
.smh .smh-process__step-title,
.smh .smh-valuation__title,
.smh .smh-valuation__card-title,
.smh .smh-pillar__title,
.smh .smh-post__title {
	font-family: var(--smh-display);
	font-weight: 400;
	letter-spacing: -0.01em;
}
.smh .smh-vhero__title {
	font-family: var(--smh-hero);
	font-weight: 500;
	letter-spacing: -0.02em;
}
