/* ==========================================================================
   Küppers R. — Fliesenblau & Kupfer
   Design-System: oklch-Farben, Fraunces (Display) + Inter (Text), CSS-Grid
   ========================================================================== */

:root {
	/* Farben — oklch, exakt aus den Firmenfarben #0F2E3D / #B5652D / #F4F6F5 abgeleitet */
	--primary:      oklch(28.6% 0.045 232.5);
	--primary-dark: oklch(20%   0.045 232.5);
	--primary-tint: oklch(94%   0.012 232.5);
	--accent:       oklch(58.8% 0.124 52.5);
	--accent-dark:  oklch(48%   0.124 52.5);
	--accent-tint:  oklch(93%   0.03  52.5);
	--bg:           oklch(97.1% 0.002 165.1);
	--surface:      oklch(100% 0 0);
	--text:         oklch(23.7% 0.016 182.5);
	--text-muted:   oklch(23.7% 0.016 182.5 / 0.68);
	--border:       oklch(23.7% 0.016 182.5 / 0.12);

	--radius: 4px;
	--radius-lg: 8px;

	--font-display: 'Fraunces', ui-serif, Georgia, serif;
	--font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

	--shadow-sm: 0 1px 2px oklch(23.7% 0.016 182.5 / 0.06), 0 1px 1px oklch(23.7% 0.016 182.5 / 0.04);
	--shadow-md: 0 8px 24px oklch(23.7% 0.016 182.5 / 0.10), 0 2px 6px oklch(23.7% 0.016 182.5 / 0.06);
	--shadow-lg: 0 24px 48px oklch(23.7% 0.016 182.5 / 0.16), 0 6px 16px oklch(23.7% 0.016 182.5 / 0.08);

	--ease-out: cubic-bezier(0.16, 1, 0.3, 1);
	--dur-fast: 160ms;
	--dur: 240ms;

	--header-h: 92px;
	--header-h-scrolled: 68px;

	--container: 1240px;
}

/* ---- Reset ---------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}
body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font-family: var(--font-body);
	font-size: 16px;
	line-height: 1.65;
	text-wrap: pretty;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}
img, video, iframe { max-width: 100%; height: auto; display: block; }
svg { max-width: 100%; height: auto; }
.icon { width: 1.4em; height: 1.4em; max-width: 32px; max-height: 32px; flex: 0 0 auto; vertical-align: middle; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; cursor: pointer; background: none; border: none; color: inherit; }

h1, h2, h3, h4 {
	font-family: var(--font-display);
	font-weight: 600;
	line-height: 1.15;
	margin: 0 0 0.5em;
	text-wrap: pretty;
	letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.4rem, 3.2vw + 1.4rem, 4.2rem); font-weight: 500; }
h2 { font-size: clamp(1.9rem, 1.8vw + 1.2rem, 2.8rem); }
h3 { font-size: clamp(1.2rem, 0.6vw + 1rem, 1.5rem); }
p { margin: 0 0 1em; }
.section-lead, .page-lead { font-size: clamp(1.05rem, 0.4vw + 1rem, 1.25rem); color: var(--text-muted); max-width: 62ch; }

.kicker {
	font-family: var(--font-body);
	font-weight: 600;
	font-size: 0.85rem;
	letter-spacing: 0.09em;
	text-transform: uppercase;
	color: var(--accent-dark);
	margin: 0 0 0.9em;
}
.kicker--light { color: oklch(85% 0.03 52.5); }

.skip-link {
	position: absolute; left: -9999px; top: 0; z-index: 1000;
	background: var(--primary); color: #fff; padding: 0.8em 1.2em; border-radius: var(--radius);
}
.skip-link:focus { left: 1rem; top: 1rem; }

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

/* ---- Buttons --------------------------------------------------------- */
.btn {
	display: inline-flex; align-items: center; gap: 0.6em;
	padding: 0.85em 1.5em;
	border-radius: var(--radius);
	font-weight: 600; font-size: 0.98rem;
	transition: transform var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out), background-color var(--dur-fast) var(--ease-out);
	min-height: 44px;
	white-space: nowrap;
}
.btn .icon { width: 1.15em; height: 1.15em; }
.btn--accent { background: var(--accent); color: #fff; box-shadow: var(--shadow-sm); }
.btn--accent:hover { background: var(--accent-dark); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.btn--accent:active { transform: scale(0.98) translateY(0); }
.btn--primary { background: var(--primary); color: #fff; }
.btn--primary:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn--primary:active { transform: scale(0.98); }
.btn--outline-light { border: 1.5px solid oklch(100% 0 0 / 0.5); color: #fff; }
.btn--outline-light:hover { background: oklch(100% 0 0 / 0.12); }
.btn--outline-light:active { transform: scale(0.98); }
.btn--outline-dark { border: 1.5px solid var(--border); color: var(--text); }
.btn--outline-dark:hover { background: var(--primary-tint); }
.btn--outline-dark:active { transform: scale(0.98); }
.btn--lg { padding: 1em 1.9em; font-size: 1.02rem; }

/* ---- Layout helpers ---------------------------------------------------- */
.section-inner, .cta-inner, .page-header-inner, .page-content-wrap, .about-inner, .contact-grid {
	max-width: var(--container);
	margin-inline: auto;
	padding-inline: clamp(1.25rem, 4vw, 2.5rem);
}
section { padding-block: clamp(3.5rem, 7vw, 7rem); }

/* ---- Header ------------------------------------------------------------ */
.site-header {
	position: sticky; top: 0; z-index: 100;
	background: var(--surface);
	border-bottom: 1px solid var(--border);
	transition: box-shadow var(--dur) var(--ease-out);
}
.site-header.is-scrolled { box-shadow: var(--shadow-sm); }
.header-inner {
	max-width: var(--container);
	margin-inline: auto;
	padding-inline: clamp(1.25rem, 4vw, 2.5rem);
	height: var(--header-h);
	display: grid;
	grid-template-columns: auto 1fr auto;
	align-items: center;
	gap: clamp(1rem, 3vw, 2.5rem);
	transition: height var(--dur) var(--ease-out);
}
.site-header.is-scrolled .header-inner { height: var(--header-h-scrolled); }

.site-logo { display: flex; flex-direction: column; line-height: 1.1; }
.site-logo-text { font-family: var(--font-display); font-weight: 600; font-size: 1.4rem; color: var(--primary); transition: font-size var(--dur) var(--ease-out); }
.site-header.is-scrolled .site-logo-text { font-size: 1.2rem; }
.site-logo-tag { font-size: 0.72rem; color: var(--text-muted); letter-spacing: 0.03em; }
.site-logo img { max-height: 52px; width: auto; transition: max-height var(--dur) var(--ease-out); }
.site-header.is-scrolled .site-logo img { max-height: 40px; }

.main-nav { justify-self: center; }
.nav-menu { display: flex; align-items: center; gap: clamp(1.25rem, 2vw, 2.4rem); }
.nav-menu li { position: relative; }
.nav-menu a {
	display: inline-block;
	font-weight: 500; font-size: 0.98rem; color: var(--text);
	padding: 0.4em 0; position: relative;
}
.nav-menu a::after {
	content: ""; position: absolute; left: 0; bottom: -2px; height: 2px; width: 0;
	background: var(--accent); transition: width var(--dur) var(--ease-out);
}
.nav-menu a:hover::after, .nav-menu .current-menu-item a::after { width: 100%; }

.nav-menu .sub-menu {
	display: none; flex-direction: column; gap: 0;
	position: absolute; top: 100%; left: 0; margin-top: 0.6rem;
	background: var(--surface); border-radius: var(--radius-lg); box-shadow: var(--shadow-md);
	padding: 0.6rem; min-width: 280px; z-index: 50;
}
.nav-menu li:hover > .sub-menu, .nav-menu li:focus-within > .sub-menu { display: flex; }
.nav-menu .sub-menu a { display: block; padding: 0.65em 0.8em; border-radius: var(--radius); white-space: nowrap; }
.nav-menu .sub-menu a::after { display: none; }
.nav-menu .sub-menu a:hover { background: var(--primary-tint); }

.mobile-nav-menu .sub-menu { padding-left: 1.1rem; }
.mobile-nav-menu .sub-menu a { font-size: 1rem; padding-block: 0.65em; }

.header-actions { display: flex; align-items: center; gap: 0.9rem; }
.header-cta-text { display: inline-flex; }
.header-cta-icon { display: none; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: var(--radius); background: var(--accent-tint); color: var(--accent-dark); }
.burger {
	display: none; position: relative; width: 44px; height: 44px; align-items: center; justify-content: center;
	border-radius: var(--radius);
}
.burger:hover { background: var(--primary-tint); }
.burger-icon-open, .burger-icon-close { position: absolute; transition: opacity var(--dur-fast) var(--ease-out), transform var(--dur-fast) var(--ease-out); }
.burger-icon-close { opacity: 0; transform: rotate(-90deg) scale(0.7); }
.burger[aria-expanded="true"] .burger-icon-open { opacity: 0; transform: rotate(90deg) scale(0.7); }
.burger[aria-expanded="true"] .burger-icon-close { opacity: 1; transform: rotate(0) scale(1); }

/* Mobile drawer — sibling of <header>, never nested, so it is never clipped by a sticky/backdrop containing block */
.mobile-drawer {
	position: fixed; top: 0; right: 0; height: 100dvh; width: min(340px, 84vw);
	background: var(--primary); color: #fff;
	z-index: 200;
	padding: calc(var(--header-h) + 1.5rem) 1.75rem 2rem;
	display: flex; flex-direction: column; gap: 2rem;
	transform: translateX(100%);
	transition: transform var(--dur) var(--ease-out);
	overflow-y: auto;
}
.mobile-drawer.is-open { transform: translateX(0); }
.mobile-nav-menu { display: flex; flex-direction: column; gap: 0.4rem; }
.mobile-nav-menu a { display: block; padding: 0.85em 0.25em; font-size: 1.15rem; font-weight: 500; border-bottom: 1px solid oklch(100% 0 0 / 0.12); }
.mobile-drawer-contact { display: flex; flex-direction: column; gap: 0.9rem; margin-top: auto; }
.mobile-drawer-contact a { display: flex; align-items: center; gap: 0.6em; }
.mobile-drawer-overlay {
	position: fixed; inset: 0; background: oklch(20% 0.02 232 / 0.45);
	z-index: 190; opacity: 0; pointer-events: none; transition: opacity var(--dur) var(--ease-out);
}
.mobile-drawer-overlay.is-open { opacity: 1; pointer-events: auto; }
body.drawer-open { overflow: hidden; }

/* ---- Hero --------------------------------------------------------------- */
.hero {
	position: relative;
	min-height: min(92vh, 820px);
	display: flex; align-items: flex-end;
	color: #fff;
	overflow: hidden;
	padding-bottom: clamp(3rem, 8vw, 6rem);
}
.hero-media {
	position: absolute; inset: 0;
	background-image: var(--hero-image);
	background-size: cover; background-position: center;
	transform: scale(1.04);
}
.hero-scrim {
	position: absolute; inset: 0;
	background: linear-gradient(180deg, oklch(20% 0.03 232 / 0.55) 0%, oklch(15% 0.03 232 / 0.72) 55%, oklch(12% 0.03 232 / 0.88) 100%);
}
.hero-inner { position: relative; z-index: 1; max-width: var(--container); margin-inline: auto; padding-inline: clamp(1.25rem, 4vw, 2.5rem); width: 100%; }
.hero h1 { color: #fff; max-width: 18ch; }
.hero-subtitle { max-width: 56ch; font-size: clamp(1.05rem, 0.5vw + 1rem, 1.3rem); color: oklch(96% 0.01 232 / 0.92); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 1.75rem; }

/* Hero enter animation — transform + opacity together, never opacity:0 alone at rest so headless renders never blank */
.reveal-hero { opacity: 0; transform: translateY(18px); animation: krcHeroIn 900ms var(--ease-out) 150ms forwards; }
@keyframes krcHeroIn { to { opacity: 1; transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) {
	.reveal-hero { opacity: 1; transform: none; animation: none; }
}

/* ---- Reveal-on-scroll ----------------------------------------------------- */
.reveal, .reveal-stagger { opacity: 1; transform: translateY(28px); transition: transform 700ms var(--ease-out); }
.reveal.is-visible, .reveal-stagger.is-visible { transform: translateY(0); }
.reveal-stagger { transition-delay: calc(var(--stagger, 0) * 60ms); }
@media (prefers-reduced-motion: reduce) {
	.reveal, .reveal-stagger { transform: none; transition: none; }
}

/* ---- Stats bar ------------------------------------------------------------ */
.stats-bar { background: var(--primary); color: #fff; padding-block: clamp(2rem, 4vw, 3rem); }
.stats-inner {
	max-width: var(--container); margin-inline: auto; padding-inline: clamp(1.25rem, 4vw, 2.5rem);
	display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem;
	text-align: center;
}
.stat-number { font-family: var(--font-display); font-size: clamp(2.2rem, 3vw, 3.2rem); font-weight: 600; color: #fff; }
.stat-suffix { font-family: var(--font-display); font-size: clamp(2.2rem, 3vw, 3.2rem); font-weight: 600; color: var(--accent); }
.stat p { margin: 0.35em 0 0; color: oklch(92% 0.01 232 / 0.85); font-size: 0.95rem; }

/* ---- Slider ---------------------------------------------------------------- */
.slider-section { padding-block: clamp(2.5rem, 5vw, 4rem); }
.slider { max-width: var(--container); margin-inline: auto; padding-inline: clamp(1.25rem, 4vw, 2.5rem); }
.slider-track {
	display: flex; gap: 1.5rem; overflow-x: auto; scroll-snap-type: x mandatory;
	scrollbar-width: none; -ms-overflow-style: none; padding-bottom: 0.5rem;
}
.slider-track::-webkit-scrollbar { display: none; }
.slide {
	scroll-snap-align: start; flex: 0 0 min(560px, 88vw);
	background: var(--surface); border-radius: var(--radius-lg); overflow: hidden;
	box-shadow: var(--shadow-md);
	display: grid; grid-template-rows: auto 1fr;
}
.slide-media { aspect-ratio: 16/10; overflow: hidden; }
.slide-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 500ms var(--ease-out); }
.slide:hover .slide-media img { transform: scale(1.04); }
.slide-caption { padding: 1.6rem 1.8rem 1.9rem; }
.slide-caption h2 { font-size: 1.35rem; margin-bottom: 0.4em; }
.slide-text { color: var(--text-muted); font-size: 0.95rem; }
.slide-text p:last-child { margin-bottom: 0; }
.slider-controls { display: flex; align-items: center; justify-content: center; gap: 1.5rem; margin-top: 1.75rem; }
.slider-btn {
	display: flex; align-items: center; justify-content: center; width: 48px; height: 48px;
	border-radius: 50%; border: 1px solid var(--border); background: var(--surface);
	transition: background-color var(--dur-fast) var(--ease-out), transform var(--dur-fast) var(--ease-out);
}
.slider-btn:hover { background: var(--primary-tint); }
.slider-btn:active { transform: scale(0.94); }
.icon-rotate-180 { transform: rotate(180deg); }
.slider-dots { display: flex; gap: 0.5rem; }
.slider-dots button { width: 8px; height: 8px; border-radius: 50%; background: var(--border); transition: background-color var(--dur-fast) var(--ease-out), width var(--dur-fast) var(--ease-out); }
.slider-dots button.is-active { background: var(--accent); width: 22px; border-radius: 4px; }

/* ---- Services grid ----------------------------------------------------------- */
.services-section { background: var(--surface); }
.services-grid {
	margin-top: 2.5rem;
	display: grid;
	grid-template-columns: repeat(12, 1fr);
	gap: 2rem;
}
.service-card { grid-column: span 3; }
.service-card-link {
	display: flex; flex-direction: column; height: 100%;
	background: var(--bg); border-radius: var(--radius-lg); overflow: hidden;
	box-shadow: var(--shadow-sm);
	transition: box-shadow var(--dur) var(--ease-out), transform var(--dur) var(--ease-out);
}
.service-card-link:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.service-card-link:active { transform: scale(0.99) translateY(-2px); }
.service-card-media { aspect-ratio: 4/3; overflow: hidden; }
.service-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 500ms var(--ease-out); }
.service-card-link:hover .service-card-media img { transform: scale(1.05); }
.service-card-body { padding: 1.5rem 1.6rem 1.75rem; display: flex; flex-direction: column; gap: 0.5rem; flex: 1; }
.service-card-body p { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 0.5rem; flex: 1; }
.service-card-more { display: inline-flex; align-items: center; gap: 0.4em; font-weight: 600; color: var(--accent-dark); font-size: 0.92rem; }
.service-card-more .icon { transition: transform var(--dur-fast) var(--ease-out); }
.service-card-link:hover .service-card-more .icon { transform: translateX(4px); }

/* ---- About section --------------------------------------------------------- */
.about-section { background: var(--bg); }
.about-inner { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.about-media { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); }
.about-media img { width: 100%; object-fit: cover; aspect-ratio: 4/5; }
.check-list { display: flex; flex-direction: column; gap: 0.85rem; margin: 1.5rem 0 1.75rem; }
.check-list li { display: flex; align-items: flex-start; gap: 0.7em; }
.check-list .icon { color: var(--accent-dark); margin-top: 0.15em; }

/* ---- CTA band ---------------------------------------------------------------- */
.cta-band { background: var(--primary-tint); text-align: center; }
.cta-inner { display: flex; flex-direction: column; align-items: center; }
.cta-inner .hero-actions { justify-content: center; }

/* ---- Page header / generic content -------------------------------------------- */
.page-header { padding-block: clamp(3rem, 6vw, 5rem) clamp(2rem, 4vw, 3rem); background: var(--surface); }
.page-header-inner { text-align: left; }
.page-header-media { max-width: var(--container); margin: 2rem auto 0; padding-inline: clamp(1.25rem, 4vw, 2.5rem); }
.page-header-media img { border-radius: var(--radius-lg); aspect-ratio: 21/9; object-fit: cover; box-shadow: var(--shadow-md); }
.page-content-wrap { background: var(--surface); }
.page-content { max-width: 72ch; }
.page-content h2 { margin-top: 1.4em; }
.page-content ul { margin: 0 0 1.4em; padding-left: 0; }
.page-content ul li { position: relative; padding-left: 1.6em; margin-bottom: 0.55em; }
.page-content ul li::before { content: ""; position: absolute; left: 0; top: 0.55em; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.page-content figure { margin: 1.75em 0; }
.page-content figure img { border-radius: var(--radius-lg); }

/* ---- Contact page --------------------------------------------------------------- */
.contact-section { background: var(--surface); }
.contact-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.contact-list { display: flex; flex-direction: column; gap: 0.9rem; margin: 1.5rem 0; }
.contact-list li, .contact-list a { display: flex; align-items: center; gap: 0.7em; }
.contact-list .icon { color: var(--accent-dark); flex-shrink: 0; }
.contact-map { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); aspect-ratio: 4/3; }
.contact-map iframe { width: 100%; height: 100%; border: 0; }
.contact-form-wrap { background: var(--bg); border-radius: var(--radius-lg); padding: clamp(1.75rem, 3vw, 2.5rem); box-shadow: var(--shadow-sm); }
.wpcf7-form p { margin-bottom: 1.1em; }
.wpcf7-form label { display: block; font-weight: 500; font-size: 0.92rem; margin-bottom: 0.4em; }
.wpcf7-form input[type="text"], .wpcf7-form input[type="email"], .wpcf7-form input[type="tel"], .wpcf7-form textarea {
	width: 100%; padding: 0.85em 1em; border: 1.5px solid var(--border); border-radius: var(--radius);
	background: var(--surface); font-family: var(--font-body); font-size: 1rem;
	transition: border-color var(--dur-fast) var(--ease-out);
}
.wpcf7-form input:focus, .wpcf7-form textarea:focus { border-color: var(--accent); outline: none; }
.wpcf7-form textarea { min-height: 130px; resize: vertical; }
.wpcf7-form input[type="submit"] {
	background: var(--accent); color: #fff; border: none; padding: 0.9em 2em; border-radius: var(--radius);
	font-weight: 600; min-height: 44px; transition: background-color var(--dur-fast) var(--ease-out), transform var(--dur-fast) var(--ease-out);
}
.wpcf7-form input[type="submit"]:hover { background: var(--accent-dark); }
.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); padding: 0.9em 1.1em; margin-top: 1em; }

/* ---- Footer ------------------------------------------------------------------------ */
.site-footer { background: var(--primary); color: oklch(94% 0.01 232 / 0.9); }
.footer-inner {
	max-width: var(--container); margin-inline: auto; padding: clamp(3rem, 6vw, 5rem) clamp(1.25rem, 4vw, 2.5rem) 3rem;
	display: grid; grid-template-columns: 1.4fr 1fr 1.2fr; gap: clamp(2rem, 4vw, 4rem);
}
.footer-brand .site-logo-text { color: #fff; font-size: 1.5rem; }
.footer-brand p { color: oklch(92% 0.01 232 / 0.75); font-size: 0.95rem; max-width: 40ch; }
.footer-heading { font-family: var(--font-body); font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase; color: oklch(92% 0.01 232 / 0.6); margin-bottom: 1.1em; }
.footer-menu { display: flex; flex-direction: column; gap: 0.7rem; }
.footer-menu a:hover { color: var(--accent); }
.footer-contact { display: flex; flex-direction: column; gap: 0.8rem; }
.footer-contact li, .footer-contact a { display: flex; align-items: center; gap: 0.7em; font-size: 0.95rem; }
.footer-contact .icon { color: var(--accent); flex-shrink: 0; }
.footer-contact a:hover { color: var(--accent); }
.footer-bottom {
	border-top: 1px solid oklch(100% 0 0 / 0.12); padding: 1.5rem clamp(1.25rem, 4vw, 2.5rem);
	max-width: var(--container); margin-inline: auto;
	font-size: 0.85rem; color: oklch(92% 0.01 232 / 0.6);
	display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.5rem;
}

/* ==========================================================================
   Breakpoints
   ========================================================================== */
@media (max-width: 1200px) {
	.service-card { grid-column: span 6; }
}

@media (max-width: 900px) {
	:root { --header-h: 76px; --header-h-scrolled: 64px; }
	.main-nav { display: none; }
	.header-cta-text { display: none; }
	.header-cta-icon { display: flex; }
	.burger { display: flex; }
	.about-inner, .contact-grid { grid-template-columns: 1fr; }
	.about-media { order: -1; }
	.stats-inner { gap: 1.25rem; }
	.footer-inner { grid-template-columns: 1fr 1fr; }
	.footer-brand { grid-column: span 2; }
}

@media (max-width: 600px) {
	body { font-size: 15.5px; }
	.service-card { grid-column: span 12; }
	.stats-inner { grid-template-columns: 1fr; text-align: center; }
	.hero { min-height: 88vh; }
	.hero-actions { flex-direction: column; align-items: stretch; }
	.hero-actions .btn { justify-content: center; }
	.footer-inner { grid-template-columns: 1fr; }
	.footer-brand { grid-column: span 1; }
	.slide { flex-basis: 92vw; }
}

/* No horizontal scroll safety net */
html, body { overflow-x: hidden; max-width: 100%; }
