/* ==========================================================================
   AlexiaMed Pflegedienst — Klinische Klarheit
   Design tokens, layout system, components, motion.
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
	--primary: oklch(35% 0.08 250);
	--primary-dark: oklch(26% 0.07 250);
	--primary-tint: oklch(93% 0.02 250);
	--accent: oklch(75% 0.06 155);
	--accent-deep: oklch(46% 0.08 155);
	--bg: oklch(99% 0 0);
	--bg-alt: oklch(97% 0.006 250);
	--text: oklch(20% 0.02 250);
	--text-muted: oklch(42% 0.02 250);
	--border: oklch(90% 0.012 250);
	--radius: 0.5rem;
	--radius-feature: 1.5rem;
	--space-unit: 8px;
	--shadow-1: 0 1px 2px oklch(20% 0.02 250 / 0.06), 0 4px 16px oklch(20% 0.02 250 / 0.05);
	--shadow-2: 0 8px 24px oklch(20% 0.02 250 / 0.10), 0 2px 8px oklch(20% 0.02 250 / 0.06);
	--ease-out: cubic-bezier(0.16, 1, 0.3, 1);
	--font-display: 'Fraunces', 'Iowan Old Style', serif;
	--font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
	margin: 0;
	font-family: var(--font-body);
	font-size: clamp(1.0625rem, 1rem + 0.25vw, 1.125rem);
	line-height: 1.65;
	color: var(--text);
	background: var(--bg);
	overflow-x: hidden;
	text-wrap: pretty;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; background: none; border: none; cursor: pointer; color: inherit; }
h1, h2, h3, h4 {
	font-family: var(--font-display);
	font-weight: 500;
	line-height: 1.15;
	margin: 0 0 0.5em;
	text-wrap: pretty;
	color: var(--primary-dark);
}
p { margin: 0 0 1em; }
.icon { width: 1.4em; height: 1.4em; flex: 0 0 auto; vertical-align: middle; }
.icon--sm { width: 1.15em; height: 1.15em; }

/* Hard safety net: whatever size an .icon was given, never let it exceed 32px */
.icon { max-width: 32px; max-height: 32px; }

:focus-visible {
	outline: 2px solid var(--accent-deep);
	outline-offset: 3px;
}

.skip-link {
	position: absolute;
	left: -999px;
	top: auto;
	background: var(--primary);
	color: #fff;
	padding: 0.75em 1.25em;
	z-index: 1000;
	border-radius: var(--radius);
}
.skip-link:focus {
	left: 1rem;
	top: 1rem;
}

/* ---------- Layout helpers ---------- */
.container {
	width: 100%;
	max-width: 1280px;
	margin-inline: auto;
	padding-inline: clamp(1.25rem, 4vw, 2.5rem);
}
.container--narrow { max-width: 920px; }

.grid-12 {
	display: grid;
	grid-template-columns: repeat(12, 1fr);
	gap: 2rem;
}

.section { padding-block: clamp(64px, 8vw, 128px); }
.section--lg { padding-block: clamp(96px, 11vw, 160px); }
.section--sm { padding-block: clamp(48px, 5vw, 80px); }
.section--alt { background: var(--bg-alt); }

.eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 0.6em;
	font-size: 0.8125rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--accent-deep);
	margin-bottom: 1em;
}
.eyebrow::before {
	content: '';
	width: 2rem;
	height: 2px;
	background: var(--accent-deep);
	display: block;
}

.h1 { font-size: clamp(2.5rem, 2rem + 3vw, 4.25rem); }
.h2 { font-size: clamp(2rem, 1.7rem + 1.4vw, 2.875rem); }
.h3 { font-size: clamp(1.375rem, 1.25rem + 0.5vw, 1.75rem); }

.prose { max-width: 62ch; }
.prose p { max-width: 62ch; }
.lede {
	font-size: clamp(1.125rem, 1.05rem + 0.3vw, 1.375rem);
	color: var(--text-muted);
	max-width: 55ch;
}

.rule {
	border: none;
	border-top: 1px solid var(--border);
	margin: clamp(2rem, 4vw, 3.5rem) 0;
}
.rule--accent {
	border-top: 2px solid var(--accent-deep);
	width: 4rem;
	margin-inline: 0;
}

/* ---------- Buttons ---------- */
.btn {
	display: inline-flex;
	align-items: center;
	gap: 0.6em;
	padding: 0.85em 1.6em;
	border-radius: 999px;
	font-weight: 600;
	font-size: 0.95rem;
	transition: transform 200ms var(--ease-out), background 200ms var(--ease-out), box-shadow 200ms var(--ease-out);
	border: 1px solid transparent;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: scale(0.98); }
.btn--primary {
	background: var(--primary);
	color: #fff;
	box-shadow: var(--shadow-1);
}
.btn--primary:hover { background: var(--primary-dark); box-shadow: var(--shadow-2); }
.btn--ghost {
	background: transparent;
	border-color: var(--border);
	color: var(--primary-dark);
}
.btn--ghost:hover { border-color: var(--primary); background: var(--primary-tint); }
.btn--on-dark {
	background: #fff;
	color: var(--primary-dark);
}
.btn--on-dark:hover { background: var(--accent); }

.link-arrow {
	display: inline-flex;
	align-items: center;
	gap: 0.5em;
	font-weight: 600;
	color: var(--primary-dark);
	border-bottom: 1px solid var(--accent-deep);
	padding-bottom: 0.15em;
	transition: gap 200ms var(--ease-out), color 200ms var(--ease-out);
}
.link-arrow:hover { gap: 0.85em; color: var(--accent-deep); }
.link-arrow .icon { width: 1.1em; height: 1.1em; }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
	position: sticky;
	top: 0;
	z-index: 200;
	background: oklch(99% 0 0 / 0.92);
	backdrop-filter: blur(10px);
	border-bottom: 1px solid transparent;
	transition: padding 250ms var(--ease-out), box-shadow 250ms var(--ease-out), border-color 250ms var(--ease-out);
}
.site-header--compact {
	box-shadow: var(--shadow-1);
	border-bottom-color: var(--border);
}
.header-inner {
	max-width: 1280px;
	margin-inline: auto;
	padding: 1.35rem clamp(1.25rem, 4vw, 2.5rem);
	display: flex;
	align-items: center;
	gap: clamp(1.5rem, 3vw, 3rem);
	transition: padding 250ms var(--ease-out);
}
.site-header--compact .header-inner { padding-block: 0.85rem; }

.site-logo { display: flex; align-items: center; }
.site-logo img { max-height: 44px; width: auto; }
.site-logo__text {
	font-family: var(--font-display);
	font-size: 1.375rem;
	font-weight: 600;
	color: var(--primary-dark);
	letter-spacing: -0.01em;
}

.site-nav { flex: 1; }
.site-nav__list {
	display: flex;
	align-items: center;
	gap: clamp(1.5rem, 2.5vw, 2.5rem);
}
.site-nav__list > li { position: relative; }
.site-nav__list > li > a {
	font-weight: 500;
	font-size: 0.95rem;
	padding-block: 0.5rem;
	border-bottom: 2px solid transparent;
	transition: border-color 200ms var(--ease-out), color 200ms var(--ease-out);
}
.site-nav__list > li > a:hover,
.site-nav__list > li.current-menu-item > a,
.site-nav__list > li.current_page_item > a,
.site-nav__list > li.current-menu-parent > a {
	border-color: var(--accent-deep);
	color: var(--primary-dark);
}

.site-nav__list .sub-menu {
	position: absolute;
	top: 100%;
	left: -1rem;
	min-width: 260px;
	background: var(--bg);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	box-shadow: var(--shadow-2);
	padding: 0.5rem;
	margin-top: 0.75rem;
	opacity: 0;
	visibility: hidden;
	transform: translateY(-6px);
	transition: opacity 200ms var(--ease-out), transform 200ms var(--ease-out), visibility 200ms;
}
.site-nav__list li.menu-item-has-children:hover > .sub-menu,
.site-nav__list li.menu-item-has-children:focus-within > .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}
.site-nav__list .sub-menu a {
	display: block;
	padding: 0.6rem 0.75rem;
	border-radius: calc(var(--radius) - 0.15rem);
	font-size: 0.9rem;
}
.site-nav__list .sub-menu a:hover { background: var(--primary-tint); }

.header-actions .header-cta {
	padding: 0.65em 1.3em;
	font-size: 0.9rem;
}

.burger {
	display: none;
	flex-direction: column;
	justify-content: center;
	gap: 5px;
	width: 44px;
	height: 44px;
	flex-shrink: 0;
}
.burger__bar {
	display: block;
	width: 22px;
	height: 2px;
	background: var(--primary-dark);
	transition: transform 200ms var(--ease-out), opacity 200ms var(--ease-out);
	margin-inline: auto;
}
.burger[aria-expanded="true"] .burger__bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] .burger__bar:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] .burger__bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Mobile drawer (direct child of body, not header) ---------- */
.mobile-drawer {
	position: fixed;
	top: 0;
	right: 0;
	height: 100dvh;
	width: min(340px, 86vw);
	background: var(--bg);
	z-index: 400;
	transform: translateX(100%);
	transition: transform 320ms var(--ease-out);
	display: flex;
	flex-direction: column;
	padding: 1.5rem;
	overflow-y: auto;
	box-shadow: var(--shadow-2);
}
.mobile-drawer.is-open { transform: translateX(0); }
.mobile-drawer__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 2rem;
}
.mobile-drawer__title { font-family: var(--font-display); font-size: 1.15rem; font-weight: 600; }
.mobile-drawer__close { width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; }
.mobile-drawer__list { display: flex; flex-direction: column; }
.mobile-drawer__list > li > a {
	display: block;
	padding: 0.9rem 0;
	font-size: 1.05rem;
	font-weight: 500;
	border-bottom: 1px solid var(--border);
}
.mobile-drawer__list .sub-menu { padding-left: 1rem; }
.mobile-drawer__list .sub-menu a {
	display: block;
	padding: 0.7rem 0;
	font-size: 0.95rem;
	color: var(--text-muted);
	border-bottom: 1px solid var(--border);
}
.mobile-drawer__contact {
	margin-top: auto;
	padding-top: 1.5rem;
	display: flex;
	flex-direction: column;
	gap: 0.85rem;
}
.mobile-drawer__contact a { display: flex; align-items: center; gap: 0.6rem; font-size: 0.95rem; }

.mobile-drawer-backdrop {
	position: fixed;
	inset: 0;
	background: oklch(20% 0.02 250 / 0.45);
	z-index: 350;
	opacity: 0;
	visibility: hidden;
	transition: opacity 280ms var(--ease-out), visibility 280ms;
}
.mobile-drawer-backdrop.is-open { opacity: 1; visibility: visible; }

/* ==========================================================================
   Hero — offset image reaching into the next section
   ========================================================================== */
.hero {
	position: relative;
	padding-top: clamp(56px, 7vw, 96px);
	padding-bottom: 0;
	overflow: visible;
}
.hero__grid {
	display: grid;
	grid-template-columns: repeat(12, 1fr);
	gap: 2rem;
	align-items: start;
}
.hero__copy {
	grid-column: 1 / span 6;
	padding-bottom: clamp(64px, 9vw, 140px);
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-height: clamp(360px, 46vw, 560px);
}
.hero__title { margin-bottom: 0.4em; }
.hero__subtitle { margin-bottom: 1.75em; }
.hero__actions { display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; }

.hero__media {
	grid-column: 7 / span 6;
	position: relative;
	margin-bottom: clamp(-120px, -9vw, -64px);
	z-index: 5;
}
.hero__media-frame {
	position: relative;
	border-radius: var(--radius-feature);
	overflow: hidden;
	box-shadow: var(--shadow-2);
	aspect-ratio: 4 / 5;
}
.hero__media-frame img { width: 100%; height: 100%; object-fit: cover; }
.hero__slide {
	position: absolute;
	inset: 0;
	opacity: 0;
	transition: opacity 900ms var(--ease-out);
}
.hero__slide:first-child { opacity: 1; }
.hero__slide.is-active { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
	.hero__slide { transition: none; }
}
.hero__media-caption {
	position: absolute;
	left: 1.5rem;
	right: 1.5rem;
	bottom: 1.5rem;
	background: oklch(99% 0 0 / 0.92);
	backdrop-filter: blur(6px);
	border-radius: var(--radius);
	padding: 0.9rem 1.1rem;
	display: flex;
	align-items: center;
	gap: 0.75rem;
	font-size: 0.875rem;
	font-weight: 500;
	color: var(--primary-dark);
	box-shadow: var(--shadow-1);
}
.hero__media-caption .icon { color: var(--accent-deep); }

/* ---------- Slider dots ---------- */
.hero__dots {
	display: flex;
	gap: 0.5rem;
	margin-top: 1.5rem;
}
.hero__dot {
	width: 28px;
	height: 3px;
	background: var(--border);
	border-radius: 2px;
	transition: background 200ms var(--ease-out);
}
.hero__dot.is-active { background: var(--accent-deep); }

/* ==========================================================================
   Reveal / scroll animation — transform only, never opacity as start state
   ========================================================================== */
.reveal {
	transform: translateY(28px);
	transition: transform 700ms var(--ease-out);
	transition-delay: var(--reveal-delay, 0ms);
	will-change: transform;
}
.reveal.is-visible { transform: translateY(0); }
.reveal--fade-side { transform: translateX(28px); }
.reveal--fade-side.is-visible { transform: translateX(0); }

@media (prefers-reduced-motion: reduce) {
	.reveal, .reveal--fade-side { transition: none; transform: none; }
	html { scroll-behavior: auto; }
}

/* ==========================================================================
   Sections: alternating left/right starts + dominant column / fact aside
   ========================================================================== */
.section-head {
	max-width: 620px;
	margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.section-head--right {
	margin-left: auto;
	text-align: right;
}
.section-head--right .eyebrow { flex-direction: row-reverse; }
.section-head--right .eyebrow::before { order: 2; }

/* ---------- Leistungen cards (3-col, card-based section type) ---------- */
.service-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 2rem;
}
.service-card {
	background: var(--bg);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	padding: 2rem;
	display: flex;
	flex-direction: column;
	gap: 1rem;
	transition: transform 250ms var(--ease-out), box-shadow 250ms var(--ease-out), border-color 250ms var(--ease-out);
}
.service-card:hover {
	transform: translateY(-4px);
	box-shadow: var(--shadow-1);
	border-color: var(--accent);
}
.service-card__media {
	border-radius: calc(var(--radius) - 0.1rem);
	overflow: hidden;
	aspect-ratio: 4 / 3;
	margin-bottom: 0.5rem;
}
.service-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 400ms var(--ease-out); }
.service-card:hover .service-card__media img { transform: scale(1.04); }
.service-card__icon {
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: var(--primary-tint);
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--primary-dark);
	flex-shrink: 0;
}
.service-card__icon .icon { width: 22px; height: 22px; }
.service-card h3 { margin-bottom: 0.25em; }
.service-card p { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 0.5em; }

/* ---------- Über uns: asymmetric text + image (structurally distinct from card grid) ---------- */
.split-section {
	display: grid;
	grid-template-columns: repeat(12, 1fr);
	gap: 2rem;
	align-items: center;
}
.split-section__media { grid-column: 1 / span 5; }
.split-section__body { grid-column: 7 / span 6; }
.split-section--reverse .split-section__media { grid-column: 8 / span 5; grid-row: 1; }
.split-section--reverse .split-section__body { grid-column: 1 / span 6; grid-row: 1; }
.split-section__media img {
	border-radius: var(--radius);
	aspect-ratio: 3 / 4;
	object-fit: cover;
}
.fact-list { display: flex; flex-direction: column; gap: 1.1rem; margin-top: 1.75rem; }
.fact-list li { display: flex; gap: 0.75rem; align-items: flex-start; }
.fact-list .icon { color: var(--accent-deep); margin-top: 0.15em; }
.fact-list strong { display: block; color: var(--primary-dark); }
.fact-list span { color: var(--text-muted); font-size: 0.9rem; }

/* ---------- Full-bleed statement break (deliberate structural rupture) ---------- */
.statement-break {
	background: var(--primary);
	color: #fff;
	padding-block: clamp(72px, 9vw, 140px);
	position: relative;
	overflow: hidden;
}
.statement-break::before {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(120deg, oklch(35% 0.08 250 / 1) 0%, oklch(30% 0.07 250 / 1) 100%);
	z-index: 0;
}
.statement-break__inner {
	position: relative;
	z-index: 1;
	max-width: 900px;
}
.statement-break blockquote {
	font-family: var(--font-display);
	font-size: clamp(1.75rem, 1.4rem + 1.8vw, 2.75rem);
	font-weight: 500;
	line-height: 1.25;
	margin: 0 0 1.5rem;
}
.statement-break .rule--accent { border-top-color: var(--accent); }
.statement-break cite { font-style: normal; color: oklch(85% 0.02 250); font-size: 0.95rem; }

/* ---------- Dominant column + narrow fact aside (content pages) ---------- */
.content-layout {
	display: grid;
	grid-template-columns: 8fr 4fr;
	gap: clamp(2rem, 5vw, 5rem);
	align-items: start;
}
.content-layout__aside {
	position: sticky;
	top: 120px;
	background: var(--bg-alt);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	padding: 1.75rem;
}
.content-layout__aside h3 { font-size: 1.05rem; margin-bottom: 1rem; }
.content-layout__aside .fact-list { margin-top: 0; }
.content-layout__aside .fact-list li { font-size: 0.9rem; }

.content-block { max-width: 68ch; }
.content-block h1 { font-size: clamp(2.25rem, 1.9rem + 1.6vw, 3.25rem); }
.content-block h2 { font-size: clamp(1.5rem, 1.35rem + 0.7vw, 2rem); margin-top: 1.75em; }
.content-block h3 { font-size: 1.25rem; margin-top: 1.5em; }
.content-block ul:not(.fact-list):not(.site-nav__list):not(.mobile-drawer__list) { margin: 1.25em 0; display: flex; flex-direction: column; gap: 0.6em; }
.content-block ul:not(.fact-list):not(.site-nav__list):not(.mobile-drawer__list) li {
	position: relative;
	padding-left: 1.6em;
}
.content-block ul:not(.fact-list):not(.site-nav__list):not(.mobile-drawer__list) li::before {
	content: '';
	position: absolute;
	left: 0;
	top: 0.55em;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--accent-deep);
}
.content-block figure { margin: 2rem 0; }
.content-block figure img { border-radius: var(--radius); }
.content-block figcaption { font-size: 0.85rem; color: var(--text-muted); margin-top: 0.6em; }

.page-hero {
	padding-block: clamp(56px, 7vw, 96px) clamp(40px, 5vw, 64px);
	border-bottom: 1px solid var(--border);
}
.page-hero .eyebrow { margin-bottom: 0.75rem; }

/* ==========================================================================
   Kontakt
   ========================================================================== */
.contact-layout {
	display: grid;
	grid-template-columns: 5fr 7fr;
	gap: clamp(2rem, 5vw, 4rem);
}
.contact-info { display: flex; flex-direction: column; gap: 1.75rem; }
.contact-info__item { display: flex; gap: 1rem; align-items: flex-start; }
.contact-info__item .icon { color: var(--accent-deep); margin-top: 0.2em; }
.contact-info__item h3 { font-size: 1rem; margin-bottom: 0.2em; }
.contact-info__item p, .contact-info__item a { color: var(--text-muted); }
.contact-map {
	border-radius: var(--radius);
	overflow: hidden;
	border: 1px solid var(--border);
	aspect-ratio: 16 / 10;
}
.contact-map iframe { width: 100%; height: 100%; border: 0; }

.contact-form-wrap {
	background: var(--bg-alt);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	padding: clamp(1.75rem, 3vw, 2.75rem);
}
.wpcf7-form p { margin-bottom: 1.1rem; }
.wpcf7-form label { display: block; font-weight: 500; font-size: 0.9rem; margin-bottom: 0.4rem; color: var(--primary-dark); }
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form textarea {
	width: 100%;
	border: 1px solid var(--border);
	border-radius: calc(var(--radius) - 0.15rem);
	padding: 0.85em 1em;
	font-family: inherit;
	font-size: 1rem;
	background: var(--bg);
	transition: border-color 200ms var(--ease-out), box-shadow 200ms var(--ease-out);
}
.wpcf7-form input:focus, .wpcf7-form textarea:focus {
	border-color: var(--primary);
	outline: none;
	box-shadow: 0 0 0 3px var(--primary-tint);
}
.wpcf7-form input[type="submit"] {
	background: var(--primary);
	color: #fff;
	border: none;
	border-radius: 999px;
	padding: 0.85em 1.8em;
	font-weight: 600;
	cursor: pointer;
	transition: background 200ms var(--ease-out), transform 200ms var(--ease-out);
}
.wpcf7-form input[type="submit"]:hover { background: var(--primary-dark); transform: translateY(-2px); }
.wpcf7-form input[type="submit"]:active { transform: scale(0.98); }
.wpcf7-not-valid-tip { color: oklch(50% 0.18 25); font-size: 0.85rem; margin-top: 0.3em; }
.wpcf7-response-output { border-radius: var(--radius) !important; margin-top: 1rem !important; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
	background: var(--primary-dark);
	color: oklch(92% 0.015 250);
	padding-top: clamp(56px, 7vw, 96px);
}
.site-footer__inner {
	max-width: 1280px;
	margin-inline: auto;
	padding-inline: clamp(1.25rem, 4vw, 2.5rem);
	display: grid;
	grid-template-columns: 1.3fr 1fr 1.3fr;
	gap: 3rem;
	padding-bottom: clamp(40px, 5vw, 64px);
}
.site-footer__name { font-family: var(--font-display); font-size: 1.3rem; font-weight: 600; color: #fff; display: block; margin-bottom: 0.75rem; }
.site-footer__claim { color: oklch(78% 0.02 250); max-width: 32ch; }
.site-footer__heading { color: #fff; font-size: 0.95rem; margin-bottom: 1.25rem; }
.site-footer__list { display: flex; flex-direction: column; gap: 0.75rem; }
.site-footer__list a { color: oklch(82% 0.015 250); transition: color 200ms var(--ease-out); }
.site-footer__list a:hover { color: var(--accent); }
.site-footer__contact { display: flex; flex-direction: column; gap: 0.9rem; }
.site-footer__contact li, .site-footer__contact a { display: flex; align-items: flex-start; gap: 0.65rem; color: oklch(82% 0.015 250); }
.site-footer__contact .icon { color: var(--accent); margin-top: 0.15em; }
.site-footer__contact a:hover { color: var(--accent); }
.site-footer__bottom {
	border-top: 1px solid oklch(45% 0.03 250);
	padding: 1.5rem clamp(1.25rem, 4vw, 2.5rem);
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 1rem;
	font-size: 0.85rem;
	color: oklch(70% 0.02 250);
}
.site-footer__legal { display: flex; gap: 1.5rem; }
.site-footer__legal a:hover { color: var(--accent); }

/* ==========================================================================
   Responsive — tablet ≤900px
   ========================================================================== */
@media (max-width: 900px) {
	.site-nav, .header-actions { display: none; }
	.burger { display: flex; }

	/* backdrop-filter on the header creates a containing block that clips
	   the fixed-position drawer — must stay off on mobile */
	.site-header { backdrop-filter: none; background: var(--bg); }

	.hero__copy { grid-column: 1 / span 12; padding-bottom: 0; min-height: auto; }
	.hero__media { grid-column: 1 / span 12; margin-top: 2.5rem; margin-bottom: -56px; }

	.service-grid { grid-template-columns: repeat(2, 1fr); }

	.split-section, .split-section--reverse {
		grid-template-columns: 1fr;
	}
	.split-section__media, .split-section--reverse .split-section__media,
	.split-section__body, .split-section--reverse .split-section__body {
		grid-column: 1 / -1;
		grid-row: auto;
	}
	.split-section--reverse .split-section__media { order: -1; }

	.content-layout { grid-template-columns: 1fr; }
	.content-layout__aside { position: static; }

	.contact-layout { grid-template-columns: 1fr; }

	.site-footer__inner { grid-template-columns: 1fr 1fr; }
	.site-footer__brand { grid-column: 1 / -1; }

	/* Desktop dropdown reset — defensive, in case markup is ever reused */
	.sub-menu { position: static !important; opacity: 1 !important; visibility: visible !important; transform: none !important; box-shadow: none !important; border: none !important; }
}

/* ==========================================================================
   Responsive — mobile ≤600px
   ========================================================================== */
@media (max-width: 600px) {
	body { font-size: 1rem; }
	.section { padding-block: clamp(48px, 10vw, 72px); }
	.section--lg { padding-block: clamp(56px, 12vw, 88px); }

	.hero__media-frame { aspect-ratio: 4 / 4; }
	.hero__media-caption { left: 1rem; right: 1rem; bottom: 1rem; font-size: 0.8rem; }

	.service-grid { grid-template-columns: 1fr; }

	.site-footer__inner { grid-template-columns: 1fr; gap: 2.25rem; }
	.site-footer__bottom { flex-direction: column; align-items: flex-start; }

	.statement-break blockquote { font-size: clamp(1.5rem, 1.2rem + 3vw, 2rem); }
}
