/*
Theme Name: Hausmeister Theme
Theme URI: https://example.com
Author: Custom Development
Description: WordPress theme for property maintenance and facility services (Hausmeister, Reinigung, Grünanlagenpflege, Winterdienst).
Version: 1.6.5
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: hausmeister-theme
*/

/* ==========================================================================
   CSS Variables — M2A-inspired palette (https://www.m2a-fm.de/)
   ========================================================================== */
:root {
	--brand-primary: #0A2E36;
	--brand-secondary: #27706B;
	--brand-accent: #3AAFA9;
	--bg-warm: #F8F9FB;
	--bg-white: #FFFFFF;
	--bg-teal-light: #EDF9F8;
	--bg-subtle: #F4F6F8;
	--text-heading: #0F1B2D;
	--text-body: #374151;
	--text-secondary: #5A6A7A;
	--text-muted: #8A95A3;
	--border-subtle: #EEF1F4;
	--border-light: #E5E9EF;
	--color-primary: var(--brand-secondary);
	--color-primary-dark: var(--brand-primary);
	--color-secondary: var(--brand-accent);
	--color-accent: var(--brand-accent);
	--color-text: var(--text-body);
	--color-text-light: var(--text-secondary);
	--color-bg: var(--bg-white);
	--color-bg-alt: var(--bg-warm);
	--color-border: var(--border-light);
	--font-heading: 'Plus Jakarta Sans', system-ui, sans-serif;
	--font-body: 'Inter', system-ui, sans-serif;
	--header-height: 80px;
	--transition: 0.3s ease;
	--shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
	--shadow-card: 0 1px 4px rgba(0, 0, 0, 0.06), 0 0 0 1px rgba(0, 0, 0, 0.03);
	--shadow-card-hover: 0 8px 30px rgba(0, 0, 0, 0.1), 0 0 0 1px rgba(58, 175, 169, 0.12);
	--radius: 10px;
	--radius-lg: 16px;
	--radius-xl: 24px;
	--section-padding-y: 80px;
}

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

body {
	font-family: var(--font-body);
	color: var(--color-text);
	background-color: var(--color-bg);
	line-height: 1.6;
	margin: 0;
}

h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-heading);
	font-weight: 700;
	line-height: 1.3;
	color: var(--color-primary-dark);
}

a {
	color: var(--color-primary);
	text-decoration: none;
	transition: color var(--transition);
}

a:hover {
	color: var(--color-secondary);
}

img {
	max-width: 100%;
	height: auto;
}

/* ==========================================================================
   Layout
   ========================================================================== */
.site-wrapper {
	min-height: 100vh;
	display: flex;
	flex-direction: column;
}

.site-main {
	flex: 1;
}

.container-theme {
	max-width: 1280px;
	margin: 0 auto;
	padding: 0 1.5rem;
}

.teal-period {
	color: var(--brand-accent);
}

/* ==========================================================================
   Buttons (M2A-style)
   ========================================================================== */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	font-family: var(--font-body);
	font-weight: 600;
	font-size: 15px;
	text-decoration: none;
	border-radius: var(--radius);
	transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.2s ease, border-color 0.2s ease;
	cursor: pointer;
	border: 1px solid transparent;
}

.btn--lg {
	padding: 14px 28px;
}

.btn--primary {
	background: var(--brand-primary);
	color: #fff !important;
	border-color: var(--brand-primary);
}

.btn--primary:hover,
.btn--primary:focus-visible {
	background: var(--brand-secondary);
	border-color: var(--brand-secondary);
	transform: translateY(-1px);
	box-shadow: 0 4px 16px rgba(10, 46, 54, 0.2);
	color: #fff !important;
}

.btn--primary .btn__arrow {
	transition: transform 0.15s ease;
}

.btn--primary:hover .btn__arrow {
	transform: translateX(3px);
}

.btn--secondary {
	background: transparent;
	color: var(--text-heading) !important;
	border-color: var(--border-light);
}

.btn--secondary:hover,
.btn--secondary:focus-visible {
	border-color: var(--text-muted);
	background: rgba(0, 0, 0, 0.04);
	color: var(--text-heading) !important;
}

.btn-primary {
	display: inline-block;
	background: var(--brand-primary);
	color: #fff !important;
	padding: 0.75rem 1.75rem;
	border-radius: var(--radius);
	font-weight: 600;
	border: 2px solid var(--brand-primary);
	transition: background var(--transition), border-color var(--transition);
}

.btn-primary:hover {
	background: var(--brand-secondary);
	border-color: var(--brand-secondary);
	color: #fff !important;
}

.btn-outline {
	display: inline-block;
	background: transparent;
	color: var(--brand-primary) !important;
	padding: 0.75rem 1.75rem;
	border-radius: var(--radius);
	font-weight: 600;
	border: 2px solid var(--brand-primary);
	transition: background var(--transition), color var(--transition);
}

.btn-outline:hover {
	background: var(--brand-primary);
	color: #fff !important;
}

/* ==========================================================================
   Section headers
   ========================================================================== */
.section-header--center {
	text-align: center;
}

.section-label {
	display: inline-block;
	font-family: var(--font-body);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--brand-secondary);
	margin-bottom: 0.75rem;
}

.section-header__title {
	font-family: var(--font-heading);
	font-size: clamp(1.75rem, 3vw, 2.25rem);
	font-weight: 800;
	color: var(--text-heading);
	line-height: 1.15;
	margin: 0 0 1rem;
}

.section-header__subtitle {
	font-size: 17px;
	color: var(--text-secondary);
	line-height: 1.7;
	max-width: 640px;
	margin: 0 auto;
}

/* ==========================================================================
   Hero (M2A-style)
   ========================================================================== */
.hero {
	min-height: calc(100vh - var(--header-height));
	background: var(--bg-warm);
	padding: 1.5rem 0 2rem;
	overflow: hidden;
	display: flex;
	align-items: center;
}

.hero__container {
	max-width: 82vw;
}

.hero__grid {
	display: grid;
	grid-template-columns: 45% 55%;
	align-items: center;
	gap: 3vw;
}

.hero__content {
	display: flex;
	flex-direction: column;
}

.hero-badge .badge {
	display: inline-flex;
	align-items: center;
	background: var(--bg-teal-light);
	color: var(--brand-secondary);
	font-size: 12px;
	font-weight: 600;
	padding: 8px 14px;
	border-left: 3px solid var(--brand-secondary);
	border-radius: 0 var(--radius) var(--radius) 0;
}

.hero__headline {
	font-family: var(--font-heading);
	font-size: clamp(2rem, 3.6vw, 3.25rem);
	font-weight: 800;
	color: var(--text-heading);
	line-height: 1.08;
	letter-spacing: -0.025em;
	margin: 1.25rem 0 0;
}

.hero__line {
	display: block;
}

.hero__subtitle {
	font-size: clamp(15px, 1.15vw, 17px);
	color: var(--text-secondary);
	line-height: 1.7;
	max-width: 28vw;
	margin: 1.25rem 0 0;
}

.hero__ctas {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	margin-top: 1.75rem;
}

.hero__trust {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.75rem;
	margin-top: 2rem;
}

.hero__trust-item {
	display: flex;
	align-items: center;
	gap: 0.35rem;
	color: var(--text-muted);
	font-size: 13px;
	font-weight: 500;
}

.hero__trust-item svg {
	color: var(--brand-secondary);
	flex-shrink: 0;
}

.hero__trust-sep {
	color: var(--text-muted);
	font-size: 13px;
}

.hero__visual {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
}

.hero__blob {
	position: absolute;
	width: 115%;
	height: 115%;
	top: -7.5%;
	left: -7.5%;
	background: #dfeeed;
	border-radius: 50%;
	pointer-events: none;
	z-index: 0;
}

.hero__image-wrap {
	position: relative;
	z-index: 1;
	border-radius: var(--radius-xl);
	overflow: hidden;
	box-shadow: 0 1.2vw 3.5vw rgba(0, 0, 0, 0.12), 0 0.25vw 1vw rgba(0, 0, 0, 0.06);
	width: 100%;
	max-height: min(78vh, 720px);
}

.hero__image {
	width: 100%;
	height: 100%;
	max-height: min(78vh, 720px);
	display: block;
	object-fit: cover;
	object-position: center 42%;
	aspect-ratio: 3 / 4;
}

/* Hero load animation — M2A clip wipe from reference video */
.hero [data-reveal="fade"],
.hero [data-reveal="fade-right"] {
	opacity: 0;
	animation: heroSoftIn 1.1s cubic-bezier(0.22, 1, 0.36, 1) forwards;
	animation-delay: var(--reveal-delay, 0ms);
	will-change: opacity, transform;
}

.hero [data-reveal="fade"] {
	transform: translate3d(0, 8px, 0);
}

.hero [data-reveal="fade-right"] {
	transform: translate3d(14px, 0, 0);
}

@keyframes heroSoftIn {
	to {
		opacity: 1;
		transform: translate3d(0, 0, 0);
	}
}

/*
 * Main heading: text stays in place; a horizontal clip opens left → right.
 * Matches the reference recording (letters cut mid-glyph while revealing).
 */
.hero__headline {
	overflow: visible;
}

.hero__line {
	display: block;
	overflow: hidden;
	clip-path: inset(0 100% 0 0);
	animation: heroLineReveal 0.95s cubic-bezier(0.65, 0, 0.35, 1) forwards;
	animation-delay: var(--reveal-delay, 0ms);
	will-change: clip-path;
}

.hero__line-text {
	display: inline-block;
}

@keyframes heroLineReveal {
	to {
		clip-path: inset(0 0 0 0);
	}
}

/* Stats + services scroll reveal */
.stats-bar [data-reveal],
.services-section [data-reveal] {
	opacity: 0;
	will-change: opacity, transform;
	transition:
		opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1),
		transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
	transition-delay: var(--reveal-delay, 0ms);
}

.stats-bar [data-reveal="up"],
.services-section [data-reveal="up"] {
	transform: translate3d(0, 22px, 0);
}

.stats-bar.is-visible [data-reveal],
.services-section.is-visible [data-reveal] {
	opacity: 1;
	transform: translate3d(0, 0, 0);
}

@media (max-width: 1023px) {
	.hero__container {
		max-width: 100%;
	}

	.hero__grid {
		grid-template-columns: 55% 45%;
		gap: 2rem;
	}

	.hero__subtitle {
		max-width: 480px;
	}
}

@media (max-width: 767px) {
	.hero {
		min-height: auto;
		padding: 1rem 0 2rem;
	}

	.hero__grid {
		grid-template-columns: 1fr;
		gap: 0;
	}

	.hero__visual {
		order: 1;
		margin: 0 -1.5rem;
	}

	.hero__content {
		order: 2;
		text-align: center;
		align-items: center;
		padding-top: 0.75rem;
	}

	.hero [data-reveal="fade-right"] {
		transform: translate3d(0, 10px, 0);
	}

	.hero__blob {
		display: none;
	}

	.hero__image-wrap {
		border-radius: 0;
		box-shadow: none;
	}

	.hero__image-wrap,
	.hero__image {
		max-height: min(38vh, 280px);
	}

	.hero__image {
		aspect-ratio: 16 / 10;
		object-position: center 45%;
	}

	.hero__visual::after {
		content: "";
		position: absolute;
		bottom: 0;
		left: 0;
		right: 0;
		height: 40%;
		background: linear-gradient(to bottom, transparent, var(--bg-warm));
		z-index: 1;
		pointer-events: none;
	}

	.hero__headline {
		font-size: clamp(1.75rem, 8.5vw, 2.75rem);
		text-align: center;
	}

	.hero__subtitle {
		font-size: 15px;
		max-width: 340px;
		text-align: center;
	}

	.hero__ctas {
		flex-direction: column;
		width: 100%;
		max-width: 340px;
	}

	.hero__ctas .btn {
		width: 100%;
		min-height: 52px;
	}

	.hero__trust {
		justify-content: center;
		flex-wrap: wrap;
	}

	.hero__trust-sep {
		display: none;
	}

	.hero__trust-item {
		font-size: 12px;
		padding: 6px 12px;
		background: rgba(255, 255, 255, 0.7);
		border-radius: 20px;
		border: 1px solid var(--border-subtle);
	}
}

/* ==========================================================================
   Stats bar (M2A-style)
   ========================================================================== */
.stats-bar {
	background: var(--bg-white);
	border-top: 1px solid var(--border-subtle);
	padding: 3rem 0;
}

.stats-bar__grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 0;
}

.stats-bar__item {
	display: flex;
	justify-content: center;
}

.stats-bar__item--border {
	border-left: 1px solid var(--border-light);
}

.stat-card {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
}

.stat-card__value {
	font-family: var(--font-heading);
	font-size: clamp(2rem, 2.4vw, 2.5rem);
	font-weight: 800;
	color: var(--brand-primary);
	line-height: 1;
}

.stat-card__label {
	font-size: 13px;
	color: var(--text-muted);
	margin-top: 0.35rem;
}

@media (max-width: 767px) {
	.stats-bar {
		padding: 2rem 0;
	}

	.stats-bar__grid {
		grid-template-columns: 1fr 1fr;
		gap: 1.5rem 1rem;
	}

	.stats-bar__item--border {
		border-left: none;
	}
}

/* ==========================================================================
   Services section (M2A-inspired)
   ========================================================================== */
.services-section {
	background: var(--bg-white);
	padding: var(--section-padding-y) 0;
}

.services-section__header {
	margin-bottom: 3rem;
}

.services-section__grid {
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	gap: 20px;
}

.services-section__cell {
	grid-column: span 2;
}

.services-section__cell:nth-child(4) {
	grid-column: 2 / span 2;
}

.services-section__cell:nth-child(5) {
	grid-column: 4 / span 2;
}

.service-card {
	display: flex;
	flex-direction: column;
	height: 100%;
	padding: 2rem;
	background: var(--bg-white);
	border: 1px solid var(--border-subtle);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-card);
	text-decoration: none;
	color: inherit;
	transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.service-card:hover {
	transform: translateY(-2px);
	box-shadow: var(--shadow-card-hover);
	border-color: rgba(58, 175, 169, 0.3);
	color: inherit;
}

.service-card__icon {
	width: 48px;
	height: 48px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--bg-teal-light);
	color: var(--brand-secondary);
	border-radius: 12px;
	font-size: 1.25rem;
	margin-bottom: 1.25rem;
}

.service-card__title {
	font-family: var(--font-heading);
	font-size: 1.125rem;
	font-weight: 700;
	color: var(--text-heading);
	margin: 0 0 0.75rem;
}

.service-card__desc {
	font-size: 14px;
	color: var(--text-secondary);
	line-height: 1.7;
	margin: 0 0 1.25rem;
	flex: 1;
}

.service-card__features {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin-bottom: 1.25rem;
}

.service-card__feature {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	font-size: 12px;
	font-weight: 500;
	color: var(--text-secondary);
	background: var(--bg-subtle);
	padding: 4px 10px;
	border-radius: 999px;
}

.service-card__feature svg {
	color: var(--brand-accent);
	flex-shrink: 0;
}

.service-card__link {
	font-size: 14px;
	font-weight: 600;
	color: var(--brand-secondary);
	margin-top: auto;
}

.service-card:hover .service-card__link {
	color: var(--brand-primary);
}

@media (max-width: 1023px) {
	.services-section__grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.services-section__cell,
	.services-section__cell:nth-child(4),
	.services-section__cell:nth-child(5) {
		grid-column: auto;
	}
}

@media (max-width: 767px) {
	.services-section {
		padding: 3rem 0;
	}

	.services-section__header {
		margin-bottom: 2rem;
	}

	.services-section__grid {
		display: flex;
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		-webkit-overflow-scrolling: touch;
		gap: 1rem;
		padding: 0 0.5rem;
		margin: 0 -1.5rem;
		scrollbar-width: none;
	}

	.services-section__grid::-webkit-scrollbar {
		display: none;
	}

	.services-section__cell {
		flex: 0 0 85%;
		scroll-snap-align: center;
		max-width: 320px;
	}
}

.section {
	padding: 4rem 0;
}

.section-alt {
	background-color: var(--color-bg-alt);
}

.section-title {
	text-align: center;
	margin-bottom: 0.75rem;
}

.section-subtitle {
	text-align: center;
	color: var(--color-text-light);
	max-width: 640px;
	margin: 0 auto 2.5rem;
}

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
	position: sticky;
	top: 0;
	z-index: 1000;
	background: var(--color-bg);
	box-shadow: var(--shadow);
	height: var(--header-height);
}

.site-header .header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: var(--header-height);
}

.site-logo img {
	max-height: 50px;
	width: auto;
}

.site-logo img.logo-header-img {
	max-height: 46px;
}

.site-logo .logo-text {
	font-size: 1.5rem;
	font-weight: 700;
	color: var(--color-primary);
}

.primary-nav .nav-list {
	display: flex;
	list-style: none;
	margin: 0;
	padding: 0;
	gap: 1.5rem;
}

.site-header {
	position: relative;
	z-index: 1100;
}

.primary-nav .nav-list a,
.primary-nav .nav-list .nav-link {
	color: var(--color-text);
	font-weight: 500;
	padding: 0.5rem 0;
	text-decoration: none;
}

.primary-nav .nav-list a:hover,
.primary-nav .nav-list .nav-link:hover,
.primary-nav .nav-list .current-menu-item > a,
.primary-nav .nav-list .current_page_item > a {
	color: var(--color-primary);
}

.header-cta .btn-primary {
	white-space: nowrap;
}

.btn-call {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
}

/* Mobile nav toggle */
.nav-toggle {
	display: none;
	background: none;
	border: none;
	font-size: 1.5rem;
	color: var(--color-primary);
	cursor: pointer;
	padding: 0.25rem;
}

.mobile-nav-overlay {
	display: none;
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.5);
	z-index: 1001;
}

.mobile-nav-drawer {
	position: fixed;
	top: 0;
	right: -300px;
	width: 280px;
	height: 100%;
	background: var(--color-bg);
	z-index: 1002;
	padding: 2rem 1.5rem;
	transition: right var(--transition);
	overflow-y: auto;
}

.mobile-nav-drawer.is-open {
	right: 0;
}

.mobile-nav-drawer .nav-list {
	list-style: none;
	padding: 0;
	margin: 0;
}

.mobile-nav-drawer .nav-list li {
	border-bottom: 1px solid var(--color-border);
}

.mobile-nav-drawer .nav-list a {
	display: block;
	padding: 0.875rem 0;
	color: var(--color-text);
	font-weight: 500;
}

.mobile-nav-close {
	background: none;
	border: none;
	font-size: 1.5rem;
	color: var(--color-text);
	cursor: pointer;
	margin-bottom: 1rem;
}

@media (max-width: 991px) {
	.nav-toggle {
		display: block;
	}

	.primary-nav {
		display: none;
	}

	.header-cta {
		display: none;
	}

	.mobile-nav-overlay.is-visible {
		display: block;
	}
}

/* ==========================================================================
   Why Us section
   ========================================================================== */
.why-us {
	background: linear-gradient(180deg, var(--bg-white) 0%, var(--bg-warm) 100%);
	padding: var(--section-padding-y) 0;
	overflow: hidden;
}

.why-us__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 4rem;
	align-items: center;
}

.why-us__label {
	display: inline-block;
	margin-bottom: 0.75rem;
}

.why-us__title {
	font-family: var(--font-heading);
	font-size: clamp(1.75rem, 3vw, 2.5rem);
	font-weight: 800;
	color: var(--text-heading);
	line-height: 1.12;
	margin: 0 0 1rem;
}

.why-us__intro {
	font-size: 17px;
	color: var(--text-secondary);
	line-height: 1.7;
	margin: 0 0 2rem;
	max-width: 520px;
}

.why-us__pillars {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}

.why-pillar {
	position: relative;
	display: grid;
	grid-template-columns: auto auto 1fr;
	gap: 1rem;
	align-items: start;
	padding: 1.25rem 1.25rem 1.25rem 1rem;
	border: 1px solid var(--border-subtle);
	border-radius: var(--radius-lg);
	background: var(--bg-white);
	cursor: pointer;
	transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease, background 0.2s ease;
	outline: none;
}

.why-pillar:hover,
.why-pillar:focus-visible,
.why-pillar.is-active {
	border-color: rgba(58, 175, 169, 0.45);
	box-shadow: var(--shadow-card-hover);
	transform: translateX(4px);
	background: var(--bg-teal-light);
}

.why-pillar__num {
	font-family: var(--font-heading);
	font-size: 13px;
	font-weight: 800;
	color: var(--brand-accent);
	line-height: 1;
	padding-top: 0.35rem;
	min-width: 1.5rem;
}

.why-pillar__icon {
	width: 44px;
	height: 44px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--bg-white);
	border-radius: 12px;
	color: var(--brand-secondary);
	font-size: 1.1rem;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
	transition: transform 0.25s ease, background 0.2s ease;
}

.why-pillar.is-active .why-pillar__icon,
.why-pillar:hover .why-pillar__icon {
	transform: scale(1.06);
	background: var(--bg-white);
}

.why-pillar__title {
	font-family: var(--font-heading);
	font-size: 1.05rem;
	font-weight: 700;
	color: var(--text-heading);
	margin: 0 0 0.35rem;
}

.why-pillar__desc {
	font-size: 14px;
	color: var(--text-secondary);
	line-height: 1.65;
	margin: 0;
}

.why-pillar__indicator {
	position: absolute;
	left: 0;
	top: 50%;
	transform: translateY(-50%) scaleY(0);
	width: 3px;
	height: 60%;
	background: var(--brand-accent);
	border-radius: 0 4px 4px 0;
	transition: transform 0.2s ease;
}

.why-pillar.is-active .why-pillar__indicator {
	transform: translateY(-50%) scaleY(1);
}

.why-us__visual {
	position: relative;
}

.why-us__image-frame {
	position: relative;
}

.why-us__image-accent {
	position: absolute;
	top: -6%;
	right: -6%;
	width: 70%;
	height: 70%;
	background: var(--bg-teal-light);
	border-radius: var(--radius-xl);
	z-index: 0;
}

.why-us__image-wrap {
	position: relative;
	z-index: 1;
	border-radius: var(--radius-xl);
	overflow: hidden;
	box-shadow: 0 20px 50px rgba(10, 46, 54, 0.12);
	transition: transform 0.35s ease;
}

.why-us.is-active .why-us__image-wrap {
	transform: scale(1);
}

.why-us__image {
	width: 100%;
	height: auto;
	display: block;
	object-fit: cover;
	aspect-ratio: 4 / 5;
	transition: transform 0.35s ease;
}

.why-us__image-wrap:hover .why-us__image {
	transform: scale(1.03);
}

.why-us__quote-card {
	position: absolute;
	right: -1rem;
	bottom: 1.5rem;
	z-index: 2;
	max-width: 280px;
	margin: 0;
	padding: 1.25rem 1.35rem;
	background: rgba(255, 255, 255, 0.92);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	border: 1px solid rgba(255, 255, 255, 0.8);
	border-radius: var(--radius-lg);
	box-shadow: 0 12px 32px rgba(10, 46, 54, 0.12);
	animation: whyQuoteFloat 4s ease-in-out infinite;
}

.why-us__quote-card p {
	font-size: 14px;
	font-style: italic;
	color: var(--text-body);
	line-height: 1.6;
	margin: 0;
	transition: opacity 0.18s ease;
}

.why-us__quote-card p.is-fading {
	opacity: 0;
}

.why-us__quote-card cite {
	display: block;
	font-size: 12px;
	font-style: normal;
	font-weight: 600;
	color: var(--brand-secondary);
	margin-top: 0.75rem;
}

@keyframes whyQuoteFloat {
	0%, 100% { transform: translateY(0); }
	50% { transform: translateY(-6px); }
}

/* Scroll reveal */
.why-us [data-reveal] {
	opacity: 0;
	transform: translate3d(0, 18px, 0);
	will-change: opacity, transform;
	transition:
		opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1),
		transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
	transition-delay: var(--reveal-delay, 0ms);
}

.why-us [data-reveal="up"] {
	transform: translate3d(0, 22px, 0);
}

.why-us [data-reveal="fade-right"] {
	transform: translate3d(14px, 0, 0);
}

.why-us.is-visible [data-reveal] {
	opacity: 1;
	transform: translate3d(0, 0, 0);
}

.why-us .why-pillar {
	transition:
		opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1),
		transform 0.6s cubic-bezier(0.22, 1, 0.36, 1),
		border-color 0.2s ease,
		box-shadow 0.2s ease,
		background 0.2s ease;
	transition-delay: var(--reveal-delay, 0ms);
}

/* Homepage Why Us pillars/visual (no data-reveal attrs) */
.why-us .why-pillar:not([data-reveal]) {
	opacity: 0;
	transform: translate3d(0, 16px, 0);
}

.why-us.is-visible .why-pillar:not([data-reveal]) {
	opacity: 1;
	transform: translate3d(0, 0, 0);
}

.why-us.is-visible .why-pillar:not([data-reveal]):nth-child(1) { transition-delay: 0.2s; }
.why-us.is-visible .why-pillar:not([data-reveal]):nth-child(2) { transition-delay: 0.28s; }
.why-us.is-visible .why-pillar:not([data-reveal]):nth-child(3) { transition-delay: 0.36s; }

.why-us__visual:not([data-reveal]) {
	opacity: 0;
	transform: translate3d(24px, 0, 0);
	transition: opacity 0.5s ease 0.15s, transform 0.5s ease 0.15s;
}

.why-us.is-visible .why-us__visual:not([data-reveal]) {
	opacity: 1;
	transform: translate3d(0, 0, 0);
}

.why-us.is-visible .why-pillar.is-active,
.why-us.is-visible .why-pillar:hover,
.why-us.is-visible .why-pillar:focus-visible {
	transform: translateX(4px);
}

@media (prefers-reduced-motion: reduce) {
	.why-us__quote-card {
		animation: none;
	}

	.why-us [data-reveal],
	.why-us .why-pillar,
	.why-us__visual,
	.why-us__image,
	.why-pillar__icon {
		opacity: 1 !important;
		transform: none !important;
		transition: none !important;
	}
}

@media (max-width: 991px) {
	.why-us__grid {
		grid-template-columns: 1fr;
		gap: 2.5rem;
	}

	.why-us__visual {
		order: -1;
	}

	.why-us__quote-card {
		right: 1rem;
		bottom: 1rem;
		max-width: calc(100% - 2rem);
	}

	.why-us__intro {
		max-width: none;
	}
}

@media (max-width: 767px) {
	.why-us {
		padding: 3rem 0;
	}

	.why-pillar {
		grid-template-columns: auto 1fr;
		grid-template-rows: auto auto;
	}

	.why-pillar__num {
		grid-column: 1;
		grid-row: 1;
	}

	.why-pillar__icon {
		grid-column: 1;
		grid-row: 2;
		width: 40px;
		height: 40px;
	}

	.why-pillar__body {
		grid-column: 2;
		grid-row: 1 / span 2;
	}
}

/* ==========================================================================
   About page sections
   ========================================================================== */
.about-story {
	padding: var(--section-padding-y) 0;
	background: var(--bg-white);
}

.about-story__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 3rem;
}

.about-story__content .section-label {
	margin-bottom: 0.75rem;
}

.about-story__text {
	font-size: 17px;
	color: var(--text-secondary);
	line-height: 1.8;
	margin: 1.25rem 0 0;
	max-width: 820px;
}

.about-values {
	padding: var(--section-padding-y) 0;
	background: var(--bg-warm);
}

.about-process {
	padding: var(--section-padding-y) 0;
	background: var(--bg-white);
}

.about-process__grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 1.25rem;
	margin-top: 2.25rem;
}

.about-process__step {
	background: #fff;
	border: 1px solid var(--border-subtle);
	border-radius: var(--radius-xl);
	padding: 1.5rem 1.25rem;
	box-shadow: var(--shadow-card);
}

.about-process__num {
	width: 46px;
	height: 46px;
	border-radius: 16px;
	background: var(--bg-teal-light);
	color: var(--brand-secondary);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-weight: 900;
	font-family: var(--font-heading);
	font-size: 1rem;
}

.about-process__icon {
	margin-top: 0.9rem;
	width: 54px;
	height: 54px;
	border-radius: 18px;
	background: var(--bg-subtle);
	color: var(--brand-secondary);
	display: flex;
	align-items: center;
	justify-content: center;
}

.about-process__title {
	font-family: var(--font-heading);
	font-size: 1.05rem;
	font-weight: 800;
	color: var(--text-heading);
	margin: 0.9rem 0 0.5rem;
}

.about-process__desc {
	margin: 0;
	font-size: 14px;
	line-height: 1.75;
	color: var(--text-secondary);
}

.about-certifications {
	padding: var(--section-padding-y) 0;
	background: var(--bg-warm);
}

.about-certifications__list {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin-top: 1.75rem;
	justify-content: center;
}

.about-certifications__badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.55rem 0.9rem;
	border-radius: 999px;
	border: 1px solid var(--border-subtle);
	background: var(--bg-teal-light);
	color: var(--brand-secondary);
	font-size: 0.875rem;
	font-weight: 700;
}

@media (max-width: 991px) {
	.about-process__grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 575px) {
	.about-process__grid {
		grid-template-columns: 1fr;
	}
}

/* About page animations (homepage-matched) */
.about-page-hero [data-reveal="fade"] {
	opacity: 0;
	transform: translate3d(0, 8px, 0);
	animation: aboutHeroSoftIn 1.1s cubic-bezier(0.22, 1, 0.36, 1) forwards;
	animation-delay: var(--reveal-delay, 0ms);
	will-change: opacity, transform;
}

@keyframes aboutHeroSoftIn {
	to {
		opacity: 1;
		transform: translate3d(0, 0, 0);
	}
}

.about-page-hero__line {
	display: block;
	overflow: hidden;
	clip-path: inset(0 100% 0 0);
	animation: aboutHeroLineReveal 0.95s cubic-bezier(0.65, 0, 0.35, 1) forwards;
	animation-delay: var(--reveal-delay, 0ms);
	will-change: clip-path;
}

.about-page-hero__text {
	display: inline-block;
}

@keyframes aboutHeroLineReveal {
	to {
		clip-path: inset(0 0 0 0);
	}
}

.about-story [data-reveal],
.about-values [data-reveal],
.about-process [data-reveal],
.about-certifications [data-reveal] {
	opacity: 0;
	will-change: opacity, transform;
	transition:
		opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1),
		transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
	transition-delay: var(--reveal-delay, 0ms);
}

.about-story [data-reveal="up"],
.about-values [data-reveal="up"],
.about-process [data-reveal="up"],
.about-certifications [data-reveal="up"] {
	transform: translate3d(0, 22px, 0);
}

.about-story.is-visible [data-reveal],
.about-values.is-visible [data-reveal],
.about-process.is-visible [data-reveal],
.about-certifications.is-visible [data-reveal] {
	opacity: 1;
	transform: translate3d(0, 0, 0);
}

/* ==========================================================================
   Before & After Gallery
   ========================================================================== */
.ba-gallery {
	padding: var(--section-padding-y) 0;
	background: var(--bg-warm);
}

.ba-gallery__header {
	text-align: center;
	max-width: 680px;
	margin: 0 auto 2.5rem;
}

.ba-gallery__title {
	font-family: var(--font-heading);
	font-size: clamp(1.85rem, 3.2vw, 2.5rem);
	font-weight: 800;
	color: var(--text-heading);
	line-height: 1.12;
	margin: 0 0 1rem;
}

.ba-gallery__subtitle {
	font-size: 16px;
	line-height: 1.7;
	color: var(--text-secondary);
	margin: 0;
}

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

.ba-card--extra[hidden] {
	display: none !important;
}

.ba-card--extra.is-revealed {
	animation: baExtraIn 0.4s ease both;
}

@keyframes baExtraIn {
	from {
		opacity: 0;
		transform: translateY(14px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.ba-gallery__more {
	display: flex;
	justify-content: center;
	margin-top: 2rem;
}

.ba-gallery__more-btn {
	min-width: 200px;
}

.ba-gallery__more[hidden] {
	display: none !important;
}

.ba-gallery__more-btn[hidden] {
	display: none !important;
}

.ba-card {
	display: flex;
	flex-direction: column;
	background: var(--bg-white);
	border: 1px solid var(--border-subtle);
	border-radius: var(--radius-xl);
	overflow: hidden;
	box-shadow: var(--shadow-card);
	transition: opacity 0.28s ease, transform 0.28s ease, box-shadow 0.28s ease;
}

.ba-card:hover {
	box-shadow: var(--shadow-card-hover);
}

.ba-card__slider {
	padding: 0.85rem;
}

.ba-card__frame {
	position: relative;
	border-radius: var(--radius-lg);
	overflow: hidden;
	aspect-ratio: 16 / 10;
	user-select: none;
	touch-action: none;
	cursor: ew-resize;
	box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.06);
}

.ba-card__img {
	display: block;
	pointer-events: none;
	user-select: none;
}

.ba-card__img--after {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.ba-card__before {
	position: absolute;
	inset: 0;
	overflow: hidden;
	width: 50%;
	z-index: 2;
}

.ba-card__img--before {
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	max-width: none;
	object-fit: cover;
}

.ba-card__handle {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 50%;
	transform: translateX(-50%);
	width: 40px;
	margin-left: -20px;
	z-index: 3;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: ew-resize;
}

.ba-card__handle-line {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 50%;
	width: 2px;
	margin-left: -1px;
	background: #fff;
	box-shadow: 0 0 8px rgba(0, 0, 0, 0.35);
}

.ba-card__handle-btn {
	position: relative;
	width: 40px;
	height: 40px;
	background: #fff;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--brand-primary);
	font-size: 14px;
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
	transition: transform 0.15s ease;
}

.ba-card__handle:hover .ba-card__handle-btn,
.ba-card__handle:focus-visible .ba-card__handle-btn {
	transform: scale(1.06);
}

.ba-card__label {
	position: absolute;
	top: 0.75rem;
	z-index: 4;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	padding: 0.35rem 0.7rem;
	border-radius: 999px;
}

.ba-card__label--before {
	left: 0.75rem;
	background: rgba(15, 27, 45, 0.8);
	color: #fff;
}

.ba-card__label--after {
	right: 0.75rem;
	background: rgba(58, 175, 169, 0.92);
	color: #fff;
}

@media (max-width: 991px) {
	.ba-grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 767px) {
	.ba-gallery {
		padding: 3rem 0;
	}

	.ba-card__slider {
		padding: 0.65rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	.ba-card {
		animation: none !important;
		transition: none !important;
	}

	.ba-card--extra.is-revealed {
		animation: none !important;
	}

	[data-reveal] {
		opacity: 1 !important;
		transform: none !important;
		transition: none !important;
		animation: none !important;
	}

	.hero__line,
	.hero__line-text,
	.about-page-hero__line,
	.about-page-hero__text {
		clip-path: none !important;
		transform: none !important;
		animation: none !important;
	}
}

/* ==========================================================================
   Work Gallery (homepage)
   ========================================================================== */
.work-gallery {
	padding: var(--section-padding-y) 0;
	background: var(--bg-white);
}

.work-gallery__header {
	text-align: center;
	max-width: 680px;
	margin: 0 auto 2.5rem;
	display: flex;
	flex-direction: column;
	align-items: center;
}

.work-gallery__title {
	font-family: var(--font-heading);
	font-size: clamp(1.85rem, 3.2vw, 2.5rem);
	font-weight: 800;
	color: var(--text-heading);
	line-height: 1.12;
	margin: 0 0 1rem;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: 0.35rem 0.55rem;
}

.work-gallery__star {
	display: inline-flex;
	color: var(--brand-secondary);
	line-height: 0;
	transform: translateY(-2px);
}

.work-gallery__star svg {
	display: block;
}

.work-gallery__subtitle {
	font-size: 16px;
	line-height: 1.7;
	color: var(--text-secondary);
	margin: 0;
}

.work-gallery__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	grid-auto-rows: 160px;
	grid-auto-flow: dense;
	gap: 0.85rem;
	position: relative;
}

.work-gallery__item[hidden],
.work-gallery__item.is-gallery-collapsed {
	display: none !important;
}

.work-gallery__more {
	display: flex;
	justify-content: center;
	margin-top: 2rem;
}

.work-gallery__more[hidden] {
	display: none !important;
}

.work-gallery__more-btn {
	min-width: 200px;
}

.work-gallery__more-btn[hidden] {
	display: none !important;
}

.work-gallery__item {
	position: relative;
	margin: 0;
	border-radius: var(--radius-lg);
	overflow: hidden;
	background: var(--bg-warm);
}

.work-gallery__trigger {
	display: block;
	width: 100%;
	height: 100%;
	padding: 0;
	border: 0;
	margin: 0;
	background: transparent;
	cursor: zoom-in;
	appearance: none;
	-webkit-appearance: none;
}

.work-gallery__trigger:focus-visible {
	outline: 3px solid var(--brand-secondary);
	outline-offset: -3px;
}

.work-gallery__item img {
	width: 100%;
	height: 100%;
	display: block;
	object-fit: cover;
	object-position: center;
	transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.work-gallery__item:hover img {
	transform: scale(1.04);
}

.work-gallery__item--wide {
	grid-column: span 2;
}

.work-gallery__item--tall {
	grid-row: span 2;
}

.work-gallery__item--featured {
	grid-column: span 2;
	grid-row: span 2;
}

.work-gallery__item--square {
	grid-column: span 1;
	grid-row: span 1;
}

@media (max-width: 991px) {
	.work-gallery__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		grid-auto-rows: 150px;
		gap: 0.7rem;
	}

	.work-gallery__item--featured {
		grid-column: span 2;
		grid-row: span 2;
	}
}

@media (max-width: 575px) {
	.work-gallery {
		padding: 3rem 0;
	}

	.work-gallery__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		grid-auto-rows: 120px;
		gap: 0.55rem;
	}

	.work-gallery__item--wide {
		grid-column: span 2;
	}

	.work-gallery__item--tall {
		grid-row: span 2;
	}

	.work-gallery__item {
		border-radius: var(--radius);
	}
}

@media (prefers-reduced-motion: reduce) {
	.work-gallery__item img {
		transition: none;
	}

	.work-gallery__item:hover img {
		transform: none;
	}

	.gallery-lightbox,
	.gallery-lightbox__img {
		transition: none !important;
		animation: none !important;
	}
}

/* Gallery lightbox */
.gallery-lightbox {
	position: fixed;
	inset: 0;
	z-index: 10000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 1.25rem;
}

.gallery-lightbox[hidden] {
	display: none !important;
}

.gallery-lightbox__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(8, 18, 28, 0.88);
	cursor: zoom-out;
}

.gallery-lightbox__dialog {
	position: relative;
	z-index: 1;
	width: min(96vw, 1200px);
	height: min(88vh, 900px);
	display: flex;
	align-items: center;
	justify-content: center;
}

.gallery-lightbox__figure {
	margin: 0;
	max-width: 100%;
	max-height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
}

.gallery-lightbox__img {
	display: block;
	max-width: min(92vw, 1100px);
	max-height: min(82vh, 860px);
	width: auto;
	height: auto;
	object-fit: contain;
	border-radius: var(--radius);
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
	background: #0b1520;
}

.gallery-lightbox__close,
.gallery-lightbox__nav {
	position: absolute;
	border: 0;
	background: rgba(255, 255, 255, 0.12);
	color: #fff;
	cursor: pointer;
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
	transition: background 0.2s ease, transform 0.2s ease;
}

.gallery-lightbox__close:hover,
.gallery-lightbox__nav:hover,
.gallery-lightbox__close:focus-visible,
.gallery-lightbox__nav:focus-visible {
	background: rgba(255, 255, 255, 0.22);
	outline: none;
}

.gallery-lightbox__close {
	top: -0.25rem;
	right: -0.25rem;
	width: 44px;
	height: 44px;
	border-radius: 999px;
	font-size: 1.75rem;
	line-height: 1;
	z-index: 2;
}

.gallery-lightbox__nav {
	top: 50%;
	transform: translateY(-50%);
	width: 46px;
	height: 46px;
	border-radius: 999px;
	font-size: 1.25rem;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	z-index: 2;
}

.gallery-lightbox__nav--prev {
	left: -0.35rem;
}

.gallery-lightbox__nav--next {
	right: -0.35rem;
}

.gallery-lightbox__counter {
	position: absolute;
	left: 50%;
	bottom: -2.25rem;
	transform: translateX(-50%);
	margin: 0;
	color: rgba(255, 255, 255, 0.85);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.04em;
	white-space: nowrap;
}

@media (max-width: 767px) {
	.gallery-lightbox {
		padding: 0.75rem;
	}

	.gallery-lightbox__dialog {
		width: 100%;
		height: 100%;
	}

	.gallery-lightbox__img {
		max-width: 100%;
		max-height: calc(100vh - 7rem);
		border-radius: var(--radius-sm, 8px);
	}

	.gallery-lightbox__close {
		top: 0.5rem;
		right: 0.5rem;
	}

	.gallery-lightbox__nav--prev {
		left: 0.35rem;
	}

	.gallery-lightbox__nav--next {
		right: 0.35rem;
	}

	.gallery-lightbox__counter {
		bottom: 1rem;
	}
}

/* ==========================================================================
   Features / Why Us (legacy — Über uns page)
   ========================================================================== */
.features-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
	gap: 2rem;
}

.feature-item {
	text-align: center;
	padding: 1.5rem;
}

.feature-item .feature-icon {
	font-size: 2.25rem;
	color: var(--color-secondary);
	margin-bottom: 1rem;
}

.feature-item h3 {
	font-size: 1.1rem;
	margin-bottom: 0.5rem;
}

.feature-item p {
	color: var(--color-text-light);
	font-size: 0.95rem;
}

/* ==========================================================================
   CTA Banner
   ========================================================================== */
.cta-banner {
	background: var(--color-primary);
	color: #fff;
	text-align: center;
	padding: 3.5rem 1.5rem;
}

.cta-banner h2 {
	color: #fff;
	margin-bottom: 0.75rem;
}

.cta-banner p {
	opacity: 0.9;
	margin-bottom: 1.5rem;
}

.cta-banner .btn-primary {
	background: var(--color-secondary);
	border-color: var(--color-secondary);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
	background: var(--color-primary-dark);
	color: rgba(255, 255, 255, 0.85);
	padding: 3rem 0 1.5rem;
}

.site-footer a {
	color: rgba(255, 255, 255, 0.85);
}

.site-footer a:hover {
	color: #fff;
}

.footer-grid {
	display: grid;
	grid-template-columns: 1.35fr repeat(3, 1fr);
	gap: 2rem;
	margin-bottom: 2rem;
}

.footer-policy--disabled {
	opacity: 0.7;
}

.footer-bottom-left p {
	margin: 0;
}

.footer-col h4 {
	color: #fff;
	font-size: 1rem;
	margin-bottom: 1rem;
}

.footer-logo {
	margin-bottom: 1rem;
}

.footer-logo img {
	max-height: 52px;
	width: auto;
	display: block;
}

.footer-col ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

.footer-col ul li {
	margin-bottom: 0.5rem;
}

.footer-col__contact {
	margin-top: 1.25rem;
	padding-top: 1rem;
	border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-bottom {
	border-top: 1px solid rgba(255, 255, 255, 0.15);
	padding-top: 1.5rem;
	display: flex;
	justify-content: space-between;
	align-items: center;
	text-align: left;
	gap: 1rem;
	font-size: 0.875rem;
	opacity: 0.7;
}

@media (max-width: 980px) {
	.footer-grid {
		grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	}
}

.footer-social {
	display: flex;
	gap: 1rem;
	margin-top: 0.75rem;
}

.footer-social a {
	font-size: 1.25rem;
}

/* ==========================================================================
   Page Templates (generic)
   ========================================================================== */
.page-header {
	background: var(--color-bg-alt);
	padding: 3rem 0;
	text-align: center;
}

.page-header h1 {
	margin-bottom: 0.5rem;
}

.page-content {
	padding: 3rem 0;
}

.page-content .entry-content {
	max-width: 800px;
	margin: 0 auto;
}

.legal-page__section {
	margin-bottom: 2.25rem;
}

.legal-page__section:last-child {
	margin-bottom: 0;
}

.legal-page__section h2 {
	font-size: 1.25rem;
	margin-bottom: 0.75rem;
}

.legal-page__section p {
	margin-bottom: 0.75rem;
	line-height: 1.7;
	color: var(--text-secondary, #5A6A7A);
}

.legal-page__section ul {
	margin: 0 0 0.75rem;
	padding-left: 1.25rem;
	color: var(--text-secondary, #5A6A7A);
	line-height: 1.7;
}

.legal-page__section li {
	margin-bottom: 0.35rem;
}

.legal-page__section a {
	color: var(--brand-secondary, #27706B);
	text-decoration: underline;
	text-underline-offset: 2px;
}

/* Contact form */
.contact-form .form-group {
	margin-bottom: 1.25rem;
}

.contact-form label {
	display: block;
	font-weight: 500;
	margin-bottom: 0.375rem;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
	width: 100%;
	padding: 0.75rem 1rem;
	border: 1px solid var(--color-border);
	border-radius: var(--radius);
	font-family: inherit;
	font-size: 1rem;
}

.contact-form textarea {
	min-height: 150px;
	resize: vertical;
}

.form-message {
	padding: 1rem;
	border-radius: var(--radius);
	margin-top: 1rem;
	display: none;
}

.form-message.is-success {
	display: block;
	background: #d4edda;
	color: #155724;
}

.form-message.is-error {
	display: block;
	background: #f8d7da;
	color: #721c24;
}

/* 404 */
.error-404 {
	text-align: center;
	padding: 5rem 1.5rem;
}

.error-404 h1 {
	font-size: 6rem;
	color: var(--color-primary);
	margin-bottom: 0;
}

/* Search */
.search-results .search-item {
	padding: 1.5rem 0;
	border-bottom: 1px solid var(--color-border);
}

.search-results .search-item h2 {
	font-size: 1.25rem;
	margin-bottom: 0.5rem;
}
