/* =========================================================================
   Sam de Man — Studio
   Licht, fris thema. Palet: Tropical jade sunrise.

   TWEE REGELS DIE HIER ALTIJD GELDEN, zodat er nooit tekst "verdwijnt":
   1. Geen enkel element start op opacity:0, visibility:hidden, height:0 of
      transform-verschoven. Er zijn dus geen scroll-animaties die op mobiel
      kunnen blijven hangen. Alles wat in de HTML staat, is direct zichtbaar.
   2. Geen kleurfuncties die oudere mobiele browsers niet kennen
      (geen color-mix, geen oklch). Alles is hex of rgba() met een vaste
      waarde, zodat een onbekende functie nooit een kleur onzichtbaar maakt.

   Kleuren en maten komen als CSS-variabelen uit de Customizer; de waarden
   hieronder zijn alleen een vangnet als die om wat voor reden niet laden.
   ========================================================================= */

:root {
	--paper: #ffffff;
	--surface: #f2f8f8;
	--ink: #0e2e33;
	--muted: #4f7378;
	--line: #d5e6e7;
	--brand: #097c87;
	--brand-deep: #05616b;
	--cyan: #23ced9;
	--coral: #fca47c;
	--sun: #f9d779;
	--sage: #a1cca6;

	--paper-rgb: 255, 255, 255;
	--ink-rgb: 14, 46, 51;
	--brand-rgb: 9, 124, 135;
	--cyan-rgb: 35, 206, 217;

	--font: "Archivo Variable", "Archivo", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	--font-prose: "Source Serif 4 Variable", "Source Serif 4", Georgia, serif;
	--font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

	--fs-base: 17px;
	--fs-xs: 0.8125rem;
	--fs-s: 0.9375rem;
	--fs-m: 1.1875rem;
	--fs-l: clamp(1.35rem, 2.4vw, 1.8rem);
	--fs-xl: clamp(1.9rem, 4vw, 2.9rem);
	--fs-2xl: clamp(2.3rem, 6vw, 4.1rem);

	--wrap: 1180px;
	--narrow: 760px;
	--gutter: clamp(1.15rem, 5vw, 2.5rem);
	--section: clamp(3.5rem, 8vw, 6rem);
	--radius: 14px;
	--radius-s: 7px;
	--shadow: 0 1px 2px rgba(14, 46, 51, 0.04), 0 8px 24px rgba(14, 46, 51, 0.06);
}

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

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
	scroll-padding-top: 96px;
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after {
		animation-duration: 0.001ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.001ms !important;
	}
}

body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font-family: var(--font);
	font-size: var(--fs-base);
	line-height: 1.62;
	font-synthesis-weight: none;
	-webkit-font-smoothing: antialiased;
	overflow-wrap: break-word;
}

img, video, iframe, svg { max-width: 100%; height: auto; display: block; }
iframe { border: 0; }

a { color: var(--brand); text-underline-offset: 3px; }
a:hover { color: var(--brand-deep); }

:focus-visible {
	outline: 3px solid var(--cyan);
	outline-offset: 2px;
	border-radius: 3px;
}

h1, h2, h3, h4 {
	font-weight: 700;
	font-stretch: 90%;
	letter-spacing: -0.015em;
	line-height: 1.12;
	margin: 0 0 0.5em;
	color: var(--ink);
	text-wrap: balance;
}

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0 0 1em; padding-left: 1.2em; }

/* Rasterkinderen mogen nooit uit hun kolom lopen; dat is de klassieke
   oorzaak van tekst die op smalle schermen wegvalt. */
.sdm-grid > *,
.sdm-hero__inner > *,
.sdm-intro > *,
.sdm-landing__inner > *,
.sdm-contactgrid > *,
.sdm-project__body > * { min-width: 0; }

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	clip-path: inset(50%);
	overflow: hidden; white-space: nowrap;
}

.sdm-skip {
	position: absolute; left: 0; top: -60px; z-index: 100;
	background: var(--brand); color: #fff;
	padding: 0.7rem 1.1rem; font-weight: 700; text-decoration: none;
	transition: top 0.15s ease;
}
.sdm-skip:focus { top: 0; color: #fff; }

/* -------------------------------------------------------------- Layout -- */
.sdm-wrap { width: min(100% - (var(--gutter) * 2), var(--wrap)); margin-inline: auto; }
.sdm-wrap--narrow { width: min(100% - (var(--gutter) * 2), var(--narrow)); }
.sdm-section { padding-block: var(--section); }
.sdm-main > .sdm-section + .sdm-section { border-top: 1px solid var(--line); }
.sdm-section--tint { background: var(--surface); border-top: 1px solid var(--line); }

.sdm-grid { display: grid; gap: clamp(1rem, 2.5vw, 1.75rem); }
.sdm-grid--3 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 290px), 1fr)); }

.sdm-head { margin-bottom: clamp(1.75rem, 4vw, 2.5rem); max-width: 62ch; }
.sdm-head__title { font-size: var(--fs-xl); margin: 0 0 0.4em; }
.sdm-head__text { color: var(--muted); font-size: var(--fs-m); margin: 0; max-width: 58ch; }

/* -------------------------------------------------------------- Header -- */
.sdm-header {
	position: sticky; top: 0; z-index: 60;
	background: var(--paper);
	border-bottom: 1px solid var(--line);
}
.sdm-header__inner {
	width: min(100% - (var(--gutter) * 2), var(--wrap));
	margin-inline: auto;
	display: flex; align-items: center; justify-content: space-between;
	gap: 1rem;
	padding-block: 1rem;
	transition: padding 0.18s ease;
}
.sdm-header.is-compact .sdm-header__inner { padding-block: 0.6rem; }

.sdm-brand__text { display: grid; text-decoration: none; color: var(--ink); line-height: 1.15; }
.sdm-brand__name { font-weight: 700; font-stretch: 88%; letter-spacing: -0.02em; font-size: 1.2rem; }
.sdm-brand__sub { color: var(--muted); font-size: var(--fs-xs); }
.custom-logo { max-height: 48px; width: auto; }

.sdm-nav { display: flex; align-items: center; gap: clamp(1rem, 2vw, 2rem); }
.sdm-menu { display: flex; align-items: center; gap: clamp(0.9rem, 1.8vw, 1.6rem); list-style: none; margin: 0; padding: 0; }
.sdm-menu a {
	color: var(--ink); text-decoration: none; font-size: var(--fs-s); font-weight: 500;
	padding: 0.4rem 0; border-bottom: 2px solid transparent;
}
.sdm-menu a:hover { border-bottom-color: var(--cyan); color: var(--brand); }
.sdm-menu .current-menu-item > a,
.sdm-menu .current_page_parent > a { border-bottom-color: var(--brand); }
.sdm-menu .sub-menu { display: none; }

.sdm-nav__cta { display: flex; align-items: center; gap: 0.9rem; }
.sdm-nav__phone { color: var(--ink); text-decoration: none; font-weight: 600; font-size: var(--fs-s); white-space: nowrap; }
.sdm-nav__phone:hover { color: var(--brand); }

.sdm-nav__toggle {
	display: none;
	background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-s);
	width: 46px; height: 42px; cursor: pointer;
}
.sdm-nav__bars, .sdm-nav__bars::before, .sdm-nav__bars::after {
	display: block; width: 20px; height: 2px; background: var(--ink); margin-inline: auto; position: relative;
}
.sdm-nav__bars::before, .sdm-nav__bars::after { content: ""; position: absolute; left: 0; }
.sdm-nav__bars::before { top: -6px; }
.sdm-nav__bars::after { top: 6px; }

@media (max-width: 900px) {
	.sdm-nav__toggle { display: block; }
	.sdm-nav {
		position: absolute; inset: 100% 0 auto 0;
		flex-direction: column; align-items: stretch; gap: 0;
		background: var(--paper); border-bottom: 1px solid var(--line);
		padding: var(--gutter);
		box-shadow: var(--shadow);
		display: none;
	}
	.sdm-nav-open .sdm-nav { display: flex; }
	.sdm-menu { flex-direction: column; align-items: stretch; gap: 0; }
	.sdm-menu a { display: block; padding: 0.85rem 0; border-bottom: 1px solid var(--line); }
	.sdm-nav__cta { margin-top: 1.2rem; flex-wrap: wrap; }
}

/* ------------------------------------------------------------- Knoppen -- */
.sdm-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
	padding: 0.8rem 1.4rem;
	font: inherit; font-weight: 700; font-size: var(--fs-s);
	border-radius: 999px;
	text-decoration: none; cursor: pointer;
	border: 2px solid transparent;
	transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.sdm-btn--primary { background: var(--brand); color: #fff; }
.sdm-btn--primary:hover { background: var(--brand-deep); color: #fff; }
.sdm-btn--ghost { border-color: var(--line); color: var(--ink); background: var(--paper); }
.sdm-btn--ghost:hover { border-color: var(--brand); color: var(--brand); }
.sdm-btn--rec { background: var(--coral); color: var(--ink); }
.sdm-btn--rec:hover { background: var(--sun); color: var(--ink); }

/* ---------------------------------------------------------------- Hero -- */
.sdm-hero {
	padding-block: clamp(2.5rem, 7vw, 5rem) clamp(2.5rem, 6vw, 4.5rem);
	background: linear-gradient(180deg, var(--surface) 0%, var(--paper) 100%);
	border-bottom: 1px solid var(--line);
}
.sdm-hero__inner {
	width: min(100% - (var(--gutter) * 2), var(--wrap));
	margin-inline: auto;
	display: grid; gap: clamp(2rem, 5vw, 3.5rem);
	grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
	align-items: center;
}
@media (max-width: 880px) { .sdm-hero__inner { grid-template-columns: 1fr; } }

.sdm-rec {
	display: inline-flex; align-items: center; gap: 0.55rem;
	font-size: var(--fs-s); font-weight: 600; color: var(--ink);
	background: var(--paper);
	border: 1px solid var(--line);
	border-radius: 999px;
	padding: 0.35rem 0.9rem 0.35rem 0.7rem;
	margin: 0 0 1.2rem;
}
.sdm-rec__dot {
	width: 10px; height: 10px; border-radius: 50%; background: var(--coral);
	box-shadow: 0 0 0 4px rgba(252, 164, 124, 0.28);
}

.sdm-hero__title {
	font-size: var(--fs-2xl);
	font-stretch: 86%;
	font-weight: 740;
	letter-spacing: -0.025em;
	line-height: 1.02;
	margin: 0 0 1rem;
	max-width: 17ch;
}
.sdm-hero__lead { color: var(--muted); font-size: var(--fs-m); max-width: 46ch; margin: 1.3rem 0 1.8rem; }
.sdm-hero__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin: 0 0 2rem; }

/* Geluidsbalkjes: het enige bewegende element. Ze staan op volle hoogte en
   schalen alleen; valt de animatie weg, dan blijven ze gewoon staan. */
.sdm-wave { display: flex; align-items: flex-end; gap: 3px; height: 30px; margin: 0.2rem 0 0; }
.sdm-wave span {
	width: 4px; border-radius: 2px;
	background: var(--cyan);
	height: var(--h, 60%);
	animation: sdm-vu 1.9s ease-in-out infinite;
	animation-delay: calc(var(--i) * -0.09s);
	transform-origin: bottom;
}
.sdm-wave span:nth-child(3n) { background: var(--sage); }
.sdm-wave span:nth-child(4n) { background: var(--sun); }
@keyframes sdm-vu { 0%, 100% { transform: scaleY(0.5); } 50% { transform: scaleY(1); } }
@media (prefers-reduced-motion: reduce) { .sdm-wave span { animation: none; } }

.sdm-specs {
	display: flex; flex-wrap: wrap; gap: clamp(1.2rem, 4vw, 2.6rem);
	margin: 0; padding-top: 1.4rem; border-top: 1px solid var(--line);
}
.sdm-specs dt { color: var(--muted); font-size: var(--fs-xs); margin-bottom: 0.15rem; }
.sdm-specs dd { margin: 0; font-weight: 700; font-size: var(--fs-s); }
.sdm-specs--project { margin-top: 1.5rem; }

.sdm-hero__media { position: relative; }
.sdm-hero__img, .sdm-hero__placeholder {
	border-radius: var(--radius);
	width: 100%; aspect-ratio: 4 / 3; object-fit: cover;
	box-shadow: var(--shadow);
}
.sdm-hero__media::after {
	content: ""; position: absolute; left: -10px; bottom: 24px;
	width: 6px; height: 96px; background: var(--coral); border-radius: 3px;
}
.sdm-hero__placeholder {
	display: grid; place-items: center; background: var(--surface);
	border: 1px dashed var(--line);
	color: var(--muted); padding: 2rem; text-align: center; font-size: var(--fs-s);
	box-shadow: none;
}

/* --------------------------------------------------------------- Intro -- */
.sdm-intro { display: grid; gap: clamp(1.5rem, 4vw, 3rem); grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); align-items: start; }
@media (max-width: 800px) { .sdm-intro { grid-template-columns: 1fr; } }
.sdm-intro__title { font-size: var(--fs-xl); }
.sdm-intro__text p { color: var(--muted); max-width: 60ch; }
.sdm-intro__list { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--cyan); }
.sdm-intro__list li { padding: 0.85rem 0; border-bottom: 1px solid var(--line); font-weight: 600; font-size: var(--fs-s); }

/* --------------------------------------------------------- Studioteaser */
.sdm-studio-teaser { display: grid; gap: clamp(1.5rem, 4vw, 3rem); grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr); align-items: center; }
@media (max-width: 860px) { .sdm-studio-teaser { grid-template-columns: 1fr; } }

.sdm-ticks { list-style: none; margin: 0 0 1.75rem; padding: 0; display: grid; gap: 0.65rem; }
.sdm-ticks li { position: relative; padding-left: 1.9rem; font-size: var(--fs-s); }
.sdm-ticks li::before {
	content: ""; position: absolute; left: 0; top: 0.28em;
	width: 18px; height: 18px; border-radius: 50%;
	background: var(--sage);
}
.sdm-ticks li::after {
	content: ""; position: absolute; left: 6px; top: 0.55em;
	width: 6px; height: 3px;
	border-left: 2px solid var(--ink); border-bottom: 2px solid var(--ink);
	transform: rotate(-45deg);
}

/* -------------------------------------------------------------- Kaarten */
.sdm-card {
	border: 1px solid var(--line); border-radius: var(--radius);
	background: var(--paper); overflow: hidden;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.sdm-card:hover { border-color: var(--cyan); box-shadow: var(--shadow); }
.sdm-card__link { display: block; color: inherit; text-decoration: none; height: 100%; }
.sdm-card__media { aspect-ratio: 4 / 3; background: var(--surface); overflow: hidden; }
.sdm-card__media img { width: 100%; height: 100%; object-fit: cover; }
.sdm-card__placeholder { display: block; width: 100%; height: 100%; background: linear-gradient(135deg, var(--sage), var(--cyan)); }
.sdm-card__body { padding: 1.15rem 1.25rem 1.35rem; }
.sdm-card__title { font-size: var(--fs-m); margin: 0 0 0.35rem; }
.sdm-card:hover .sdm-card__title { color: var(--brand); }
.sdm-card__meta { color: var(--muted); font-size: var(--fs-xs); margin: 0 0 0.4rem; }
.sdm-card__text { color: var(--muted); font-size: var(--fs-s); margin: 0; }

.sdm-more { margin-top: 2rem; }
.sdm-more a { font-weight: 700; }

/* ------------------------------------------------------------- Panelen -- */
.sdm-panel {
	border: 1px solid var(--line); border-radius: var(--radius);
	background: var(--paper); padding: clamp(1.25rem, 3vw, 1.75rem);
}
.sdm-panel h3, .sdm-panel .sdm-h3 { font-size: var(--fs-m); margin-top: 0; }
.sdm-panel p { color: var(--muted); font-size: var(--fs-s); }
.sdm-panel--cta { background: var(--surface); border-color: var(--cyan); }
.sdm-h3 { font-size: var(--fs-m); margin: 0 0 0.6rem; }

/* ---------------------------------------------- Stappen en demo's ---- */
.sdm-steps {
	counter-reset: sdm-step; list-style: none; margin: 0; padding: 0;
	display: grid; gap: clamp(1rem, 2.5vw, 1.5rem);
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr));
}
.sdm-steps li {
	counter-increment: sdm-step;
	border: 1px solid var(--line); border-radius: var(--radius);
	background: var(--paper); padding: clamp(1.25rem, 3vw, 1.6rem);
	min-width: 0;
}
.sdm-steps li::before {
	content: counter(sdm-step);
	display: grid; place-items: center;
	width: 2.2rem; height: 2.2rem; border-radius: 50%;
	background: var(--sun); color: var(--ink); font-weight: 700;
	margin-bottom: 0.8rem;
}
.sdm-steps h3 { font-size: var(--fs-m); margin: 0 0 0.4rem; }
.sdm-steps p { color: var(--muted); font-size: var(--fs-s); margin: 0; }

.sdm-demos { display: grid; gap: clamp(1rem, 2.5vw, 1.5rem); grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.sdm-demos > * { min-width: 0; }

.sdm-admin-hint { border: 1px dashed var(--brand); border-radius: var(--radius); padding: 1rem 1.2rem; color: var(--muted); background: var(--surface); margin: 0; }

/* ------------------------------------------------------------ Tarieven -- */
.sdm-packages { display: grid; gap: clamp(1rem, 2.5vw, 1.5rem); grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); align-items: start; }
.sdm-pack {
	border: 1px solid var(--line); border-radius: var(--radius);
	background: var(--paper); padding: clamp(1.35rem, 3vw, 1.9rem);
	display: flex; flex-direction: column; gap: 0.9rem; height: 100%;
}
.sdm-pack--featured { border: 2px solid var(--brand); background: var(--surface); }
.sdm-pack__flag {
	align-self: flex-start; margin: 0;
	background: var(--sun); color: var(--ink);
	font-size: var(--fs-xs); font-weight: 700;
	padding: 0.25rem 0.7rem; border-radius: 999px;
}
.sdm-pack__title { font-size: var(--fs-l); margin: 0; }
.sdm-pack__price { display: flex; align-items: baseline; gap: 0.5rem; margin: 0; }
.sdm-pack__amount { font-size: clamp(2rem, 4vw, 2.6rem); font-weight: 700; font-stretch: 86%; font-variant-numeric: tabular-nums; letter-spacing: -0.03em; color: var(--brand); }
.sdm-pack__unit { color: var(--muted); font-size: var(--fs-s); }
.sdm-pack__text { color: var(--muted); font-size: var(--fs-s); }
.sdm-pack__list { list-style: none; margin: 0; padding: 1rem 0 0; display: grid; gap: 0.55rem; border-top: 1px solid var(--line); }
.sdm-pack__list li { position: relative; padding-left: 1.5rem; font-size: var(--fs-s); }
.sdm-pack__list li::before {
	content: ""; position: absolute; left: 0; top: 0.5em;
	width: 10px; height: 10px; border-radius: 50%; background: var(--cyan);
}
.sdm-pack .sdm-btn { margin-top: auto; }

/* ------------------------------------------------------------------ FAQ */
.sdm-faq { border-top: 1px solid var(--line); }
.sdm-faq__item { border-bottom: 1px solid var(--line); }
.sdm-faq__q {
	display: flex; align-items: center; justify-content: space-between; gap: 1rem;
	padding: 1.1rem 0; cursor: pointer; font-weight: 600; font-size: var(--fs-m);
	list-style: none;
}
.sdm-faq__q::-webkit-details-marker { display: none; }
.sdm-faq__mark { position: relative; flex: 0 0 22px; height: 22px; border-radius: 50%; background: var(--surface); }
.sdm-faq__mark::before, .sdm-faq__mark::after {
	content: ""; position: absolute; background: var(--brand); border-radius: 1px;
	transition: transform 0.18s ease;
}
.sdm-faq__mark::before { left: 5px; top: 10px; width: 12px; height: 2px; }
.sdm-faq__mark::after { left: 10px; top: 5px; width: 2px; height: 12px; }
.sdm-faq__item[open] .sdm-faq__mark::after { transform: scaleY(0); }
.sdm-faq__a { padding: 0 0 1.4rem; color: var(--muted); max-width: 62ch; }

/* ---------------------------------------------------------- Uitspraken -- */
.sdm-quotes { display: grid; gap: clamp(1rem, 2.5vw, 1.5rem); grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.sdm-quote {
	margin: 0; border: 1px solid var(--line); border-radius: var(--radius);
	background: var(--paper); padding: clamp(1.25rem, 3vw, 1.75rem);
	border-top: 4px solid var(--cyan);
}
.sdm-quote blockquote { margin: 0 0 1rem; font-family: var(--font-prose); font-size: var(--fs-m); line-height: 1.55; color: var(--ink); }
.sdm-quote__rating { color: #d98b1f; letter-spacing: 0.15em; margin: 0 0 0.6rem; font-size: var(--fs-s); }
.sdm-quote figcaption { display: grid; gap: 0.1rem; }
.sdm-quote__name { font-weight: 700; font-size: var(--fs-s); }
.sdm-quote__company { color: var(--muted); font-size: var(--fs-xs); }

/* ----------------------------------------------------------------- CTA -- */
.sdm-cta {
	display: grid; gap: clamp(1.25rem, 3vw, 2.5rem);
	grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
	align-items: center;
	border-radius: var(--radius);
	background: var(--surface);
	border: 1px solid var(--line);
	padding: clamp(1.5rem, 4vw, 2.75rem);
}
@media (max-width: 800px) { .sdm-cta { grid-template-columns: 1fr; } }
.sdm-cta__title { font-size: var(--fs-l); }
.sdm-cta p { color: var(--muted); }
.sdm-cta__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* ------------------------------------------------------- Landingspagina */
.sdm-landing {
	padding-block: clamp(2rem, 5vw, 4rem);
	background: linear-gradient(180deg, var(--surface) 0%, var(--paper) 100%);
	border-bottom: 1px solid var(--line);
}
.sdm-landing__inner { display: grid; gap: clamp(1.75rem, 4vw, 3rem); grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); align-items: start; }
@media (max-width: 900px) { .sdm-landing__inner { grid-template-columns: 1fr; } }
.sdm-landing__title { font-size: clamp(2rem, 5vw, 3.1rem); font-stretch: 88%; letter-spacing: -0.025em; margin-bottom: 0.6rem; }
.sdm-landing__lead { color: var(--muted); font-size: var(--fs-m); max-width: 48ch; }
.sdm-landing__form {
	border: 1px solid var(--line); border-radius: var(--radius);
	background: var(--paper); padding: clamp(1.25rem, 3vw, 1.9rem);
	box-shadow: var(--shadow);
}
.sdm-landing__formtitle { font-size: var(--fs-l); margin-top: 0; }

.sdm-location { display: grid; gap: clamp(1.5rem, 4vw, 3rem); grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); align-items: center; }
@media (max-width: 860px) { .sdm-location { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------- Contact -- */
.sdm-contactgrid { display: grid; gap: clamp(1.75rem, 4vw, 3rem); grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; }
@media (max-width: 860px) { .sdm-contactgrid { grid-template-columns: 1fr; } }
.sdm-contactgrid__form { border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); padding: clamp(1.25rem, 3vw, 1.9rem); box-shadow: var(--shadow); }
.sdm-contactgrid__map { margin-top: 1.75rem; }

.sdm-contact { list-style: none; margin: 1rem 0; padding: 0; display: grid; gap: 0.4rem; }
.sdm-contact a { color: var(--ink); text-decoration: none; font-weight: 700; }
.sdm-contact a:hover { color: var(--brand); }
.sdm-contact span { color: var(--muted); }
.sdm-contact--compact { display: flex; flex-wrap: wrap; gap: 0.4rem 1.5rem; font-size: var(--fs-s); }

.sdm-hours { list-style: none; margin: 0 0 1.25rem; padding: 0; color: var(--muted); font-size: var(--fs-s); display: grid; gap: 0.25rem; }
.sdm-social { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; font-size: var(--fs-s); }

/* --------------------------------------------------------------- Media -- */
.sdm-video {
	position: relative; background: var(--surface);
	border: 1px solid var(--line); border-radius: var(--radius);
	overflow: hidden; aspect-ratio: 16 / 9;
}
.sdm-video iframe { width: 100%; height: 100%; }
.sdm-video__btn { all: unset; display: block; position: relative; width: 100%; height: 100%; cursor: pointer; }
.sdm-video__btn img { width: 100%; height: 100%; object-fit: cover; }
.sdm-video__play {
	position: absolute; inset: 0; margin: auto;
	width: 70px; height: 70px; border-radius: 50%;
	background: var(--brand);
	display: grid; place-items: center;
	box-shadow: 0 6px 20px rgba(14, 46, 51, 0.25);
}
.sdm-video__play::after {
	content: ""; border-left: 18px solid #fff;
	border-top: 11px solid transparent; border-bottom: 11px solid transparent;
	margin-left: 5px;
}
.sdm-video__btn:hover .sdm-video__play { background: var(--brand-deep); }

.sdm-embed iframe { width: 100%; border-radius: var(--radius); }

.sdm-map { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; background: var(--surface); }
.sdm-map iframe { width: 100%; height: 100%; }
.sdm-map__btn {
	all: unset; display: grid; place-items: center; align-content: center; gap: 0.45rem;
	width: 100%; height: 100%; cursor: pointer; text-align: center; padding: 1.5rem;
	color: var(--ink);
	background-image:
		repeating-linear-gradient(0deg, var(--line) 0 1px, transparent 1px 44px),
		repeating-linear-gradient(90deg, var(--line) 0 1px, transparent 1px 44px);
}
.sdm-map__pin { width: 18px; height: 18px; border-radius: 50% 50% 50% 0; background: var(--coral); transform: rotate(-45deg); }
.sdm-map__label { font-weight: 700; }
.sdm-map__note { color: var(--muted); font-size: var(--fs-xs); max-width: 32ch; }
.sdm-map__btn:hover .sdm-map__label { color: var(--brand); }

/* ---------------------------------------------------------- Audiospeler */
.sdm-audio { border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); padding: 1.1rem 1.2rem; }
.sdm-audio__title { font-weight: 700; font-size: var(--fs-s); margin: 0 0 0.75rem; }
.sdm-audio__controls { display: flex; align-items: center; gap: 0.9rem; }
.sdm-audio__play {
	all: unset; flex: 0 0 auto; width: 48px; height: 48px; border-radius: 50%;
	background: var(--brand); display: grid; place-items: center; cursor: pointer;
}
.sdm-audio__play:hover { background: var(--brand-deep); }
.sdm-audio__icon {
	border-left: 13px solid #fff;
	border-top: 8px solid transparent; border-bottom: 8px solid transparent;
	margin-left: 4px;
}
.is-playing .sdm-audio__icon {
	border: 0; margin: 0; width: 12px; height: 14px;
	background: linear-gradient(90deg, #fff 0 4px, transparent 4px 8px, #fff 8px 12px);
}
.sdm-audio__track { flex: 1 1 auto; min-width: 0; }
.sdm-audio__scrub { height: 8px; border-radius: 4px; background: var(--surface); border: 1px solid var(--line); cursor: pointer; overflow: hidden; }
.sdm-audio__fill { display: block; height: 100%; width: 0; background: var(--cyan); }
.sdm-audio__meta { display: flex; align-items: center; justify-content: space-between; margin-top: 0.45rem; }
.sdm-audio__time { font-family: var(--font-mono); font-size: var(--fs-xs); color: var(--muted); font-variant-numeric: tabular-nums; }
.sdm-audio__rate { all: unset; cursor: pointer; font-size: var(--fs-xs); color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 0.1rem 0.5rem; }
.sdm-audio__rate:hover { color: var(--brand); border-color: var(--brand); }

/* ----------------------------------------------------------- Formulier -- */
.sdm-form__row { display: grid; gap: 0 1rem; grid-template-columns: 1fr 1fr; }
@media (max-width: 620px) { .sdm-form__row { grid-template-columns: 1fr; } }
.sdm-field { margin: 0 0 1rem; display: grid; gap: 0.35rem; }
.sdm-field label { font-size: var(--fs-s); font-weight: 700; }
.sdm-req { color: #c8372d; }
.sdm-field input, .sdm-field select, .sdm-field textarea, .sdm-search input {
	font: inherit; font-size: var(--fs-s);
	color: var(--ink); background: var(--paper);
	border: 1px solid var(--line); border-radius: var(--radius-s);
	padding: 0.75rem 0.85rem; width: 100%;
}
.sdm-field textarea { resize: vertical; min-height: 120px; }
.sdm-field input::placeholder, .sdm-field textarea::placeholder { color: #93aeb1; }
.sdm-field input:focus, .sdm-field select:focus, .sdm-field textarea:focus {
	border-color: var(--brand); outline: none;
	box-shadow: 0 0 0 3px rgba(35, 206, 217, 0.35);
}
.sdm-field--check { grid-template-columns: auto; }
.sdm-field--check label { display: flex; gap: 0.6rem; align-items: flex-start; font-weight: 400; color: var(--muted); }
.sdm-field--check input { width: auto; margin-top: 0.25rem; }
.sdm-form__submit { display: flex; flex-wrap: wrap; align-items: center; gap: 0.9rem; margin: 1.25rem 0 0; }
.sdm-form__note { color: var(--muted); font-size: var(--fs-xs); }
.sdm-hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }

.sdm-notice { border: 1px solid var(--line); border-left: 5px solid var(--sage); border-radius: var(--radius-s); padding: 1rem 1.2rem; margin-bottom: 1.25rem; background: var(--surface); }
.sdm-notice--ok { border-left-color: #2f9e5c; }
.sdm-notice--error { border-left-color: #c8372d; }

.sdm-search { display: flex; gap: 0.6rem; max-width: 460px; }
.sdm-search input { flex: 1 1 auto; }

/* ------------------------------------------------------------ Archieven */
.sdm-archive__head { margin-bottom: clamp(1.75rem, 4vw, 2.5rem); }
.sdm-page__title { font-size: var(--fs-xl); margin-bottom: 0.5rem; }
.sdm-page__lead { color: var(--muted); font-size: var(--fs-m); max-width: 58ch; }
.sdm-blogtools { display: flex; flex-wrap: wrap; gap: 1rem 2rem; align-items: center; margin-top: 1.5rem; }

.sdm-filters { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: clamp(1.5rem, 3vw, 2rem); }
.sdm-filter {
	border: 1px solid var(--line); border-radius: 999px;
	padding: 0.45rem 1rem; font-size: var(--fs-s); font-weight: 600;
	color: var(--ink); text-decoration: none; background: var(--paper);
}
.sdm-filter:hover { border-color: var(--brand); color: var(--brand); }
.sdm-filter.is-active { background: var(--brand); border-color: var(--brand); color: #fff; }

.sdm-crumbs { margin: 0 0 1.5rem; font-size: var(--fs-xs); color: var(--muted); }
.sdm-crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 0.35rem; margin: 0; padding: 0; }
.sdm-crumbs li + li::before { content: "/"; margin-right: 0.35rem; color: var(--line); }
.sdm-crumbs a { color: var(--muted); text-decoration: none; }
.sdm-crumbs a:hover { color: var(--brand); }

.sdm-empty { color: var(--muted); }

.pagination, .sdm-pagination { margin-top: clamp(2rem, 4vw, 3rem); }
.nav-links { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.page-numbers {
	display: inline-flex; align-items: center; justify-content: center;
	min-width: 44px; height: 44px; padding: 0 0.7rem;
	border: 1px solid var(--line); border-radius: 999px;
	color: var(--ink); text-decoration: none; font-size: var(--fs-s); font-weight: 600;
}
.page-numbers:hover { border-color: var(--brand); color: var(--brand); }
.page-numbers.current { background: var(--brand); border-color: var(--brand); color: #fff; }

/* -------------------------------------------------------------- Project */
.sdm-project { padding-block: clamp(2rem, 5vw, 3.5rem); }
.sdm-project__head { margin-bottom: 2rem; max-width: 60ch; }
.sdm-project__media { margin-bottom: clamp(1.75rem, 4vw, 2.75rem); }
.sdm-project__img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); }
.sdm-project__body { display: grid; gap: clamp(1.75rem, 4vw, 3rem); grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); align-items: start; }
@media (max-width: 860px) { .sdm-project__body { grid-template-columns: 1fr; } }
.sdm-project__side { display: grid; gap: 1.25rem; }
.sdm-project__more { margin-top: clamp(2.5rem, 6vw, 4rem); padding-top: clamp(2rem, 4vw, 3rem); border-top: 1px solid var(--line); }

/* -------------------------------------------------------------- Artikel */
.sdm-article { padding-block: clamp(2rem, 5vw, 3.5rem); }
.sdm-article__title { font-size: clamp(1.9rem, 4.6vw, 3rem); font-stretch: 88%; max-width: 22ch; }
.sdm-article__meta { color: var(--muted); font-size: var(--fs-s); }
.sdm-article__meta a { color: var(--muted); }
.sdm-article__figure { margin-block: clamp(1.5rem, 4vw, 2.5rem); }
.sdm-article__figure img { width: 100%; border-radius: var(--radius); }

.sdm-prose { font-family: var(--font-prose); font-size: 1.12rem; line-height: 1.72; color: #24474c; }
.sdm-prose > * { max-width: 68ch; }
.sdm-prose h2 { font-family: var(--font); font-size: var(--fs-l); margin-top: 2.2em; color: var(--ink); }
.sdm-prose h3 { font-family: var(--font); font-size: var(--fs-m); margin-top: 1.8em; color: var(--ink); }
.sdm-prose img, .sdm-prose figure, .sdm-prose .wp-block-embed { max-width: 100%; border-radius: var(--radius); }
.sdm-prose blockquote {
	margin: 1.75em 0; padding: 0.2em 0 0.2em 1.4em;
	border-left: 4px solid var(--cyan); color: var(--ink); font-style: italic;
}
.sdm-prose code { font-family: var(--font-mono); font-size: 0.9em; background: var(--surface); padding: 0.15em 0.35em; border-radius: var(--radius-s); }
.sdm-prose pre { background: var(--surface); padding: 1rem; border-radius: var(--radius); overflow-x: auto; }
.sdm-prose ul, .sdm-prose ol { padding-left: 1.3em; }
.sdm-prose li { margin-bottom: 0.4em; }
.sdm-prose hr { border: 0; border-top: 1px solid var(--line); margin: 2.5em 0; }
.sdm-prose a { text-decoration: underline; }

.sdm-tags { margin-top: 2rem; font-size: var(--fs-s); }
.sdm-tags a { color: var(--muted); }
.sdm-postnav { display: flex; justify-content: space-between; gap: 1rem; margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line); font-size: var(--fs-s); }
.sdm-postnav a { text-decoration: none; }

.sdm-comments { margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--line); }
.sdm-comments__list { list-style: none; padding: 0; }
.sdm-comments .comment-body { border-bottom: 1px solid var(--line); padding: 1.25rem 0; }
.sdm-comments .comment-author img { border-radius: 50%; }
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea {
	font: inherit; width: 100%; color: var(--ink); background: var(--paper);
	border: 1px solid var(--line); border-radius: var(--radius-s); padding: 0.75rem 0.85rem;
}
.comment-form .submit { background: var(--brand); color: #fff; border: 0; border-radius: 999px; padding: 0.8rem 1.4rem; font-weight: 700; cursor: pointer; }

/* --------------------------------------------------------------- Widget */
.sdm-widget { border: 1px solid var(--line); border-radius: var(--radius); padding: 1.25rem; margin-bottom: 1.5rem; background: var(--paper); }
.sdm-widget__title { font-size: var(--fs-m); }

/* --------------------------------------------------------------- Footer */
.sdm-footer { border-top: 1px solid var(--line); background: var(--surface); margin-top: var(--section); }
.sdm-footer__inner {
	width: min(100% - (var(--gutter) * 2), var(--wrap)); margin-inline: auto;
	display: grid; gap: clamp(1.5rem, 4vw, 3rem);
	grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr));
	padding-block: clamp(2.5rem, 5vw, 4rem);
}
@media (max-width: 800px) { .sdm-footer__inner { grid-template-columns: 1fr; } }
.sdm-footer__name { font-weight: 700; font-size: var(--fs-m); margin: 0 0 0.3rem; }
.sdm-footer__text { color: var(--muted); font-size: var(--fs-s); max-width: 40ch; }
.sdm-footer__title { font-size: var(--fs-s); margin: 0 0 0.75rem; color: var(--muted); font-weight: 700; }
.sdm-footer__menu { list-style: none; margin: 0 0 1.25rem; padding: 0; display: grid; gap: 0.4rem; font-size: var(--fs-s); }
.sdm-footer__menu a { color: var(--ink); text-decoration: none; }
.sdm-footer__menu a:hover { color: var(--brand); }
.sdm-footer__base {
	border-top: 1px solid var(--line);
	width: min(100% - (var(--gutter) * 2), var(--wrap)); margin-inline: auto;
	display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem 1.5rem;
	padding-block: 1.25rem; color: var(--muted); font-size: var(--fs-xs);
}
.sdm-footer__legal { list-style: none; display: flex; gap: 1rem; margin: 0; padding: 0; }
.sdm-footer__legal a { color: var(--muted); text-decoration: none; }

/* ------------------------------------------------------ Blokken (editor) */
.wp-block-button__link { background: var(--brand); color: #fff; border-radius: 999px; font-weight: 700; }
.is-style-outline .wp-block-button__link { background: transparent; color: var(--ink); border: 2px solid var(--line); }
.is-style-outline .wp-block-button__link:hover { border-color: var(--brand); color: var(--brand); }
.wp-block-image img { border-radius: var(--radius); }
.alignwide { width: min(100%, var(--wrap)); margin-inline: auto; }
.alignfull { width: 100%; }

/* ---------------------------------------------------------------- Print */
@media print {
	.sdm-header, .sdm-footer, .sdm-cta, .sdm-formwrap, .sdm-map { display: none !important; }
	body { background: #fff; color: #000; }
}

/* =========================================================================
   Vangnet tegen verdwijnende tekst
   Twee dingen die op mobiel wél eens misgaan, hier dichtgezet:
   1. plugins of thema-animaties die inhoud op opacity:0 zetten en die
      pas bij scrollen terugzetten — op deze blokken kan dat niet meer;
   2. browsers zonder aspect-ratio, waardoor mediakaders inklappen.
   ========================================================================= */

.sdm-hero__text > *,
.sdm-hero__text .sdm-specs,
.sdm-head > *,
.sdm-intro__text > *,
.sdm-intro__list,
.sdm-studio-teaser__body > *,
.sdm-card__body > *,
.sdm-panel > *,
.sdm-pack > *,
.sdm-quote > *,
.sdm-cta__text > *,
.sdm-landing__text > *,
.sdm-prose > *,
.sdm-faq__item,
.sdm-steps li > *,
.sdm-demos > *,
.sdm-footer__inner > * {
	opacity: 1 !important;
	visibility: visible !important;
	transform: none !important;
	filter: none !important;
}

@supports not (aspect-ratio: 16 / 9) {
	.sdm-card__media { height: 220px; }
	.sdm-hero__img, .sdm-hero__placeholder { height: 340px; }
	.sdm-video, .sdm-map { height: 0; padding-top: 56.25%; position: relative; }
	.sdm-map { padding-top: 75%; }
	.sdm-video__btn, .sdm-map__btn, .sdm-video iframe, .sdm-map iframe { position: absolute; inset: 0; height: 100%; }
}
