/* =========================================================
   Vita-Leben GmbH — Sektionen: Hero, Grid-Rhythmus, Breaks
   Sektionsabstaende bewusst variiert (64-160px statt Baukasten-Gleichmass)
   ========================================================= */

/* ---- Hero (kompakt) ---- */
.hero {
	padding-top: clamp(2.5rem, 5vw, 4rem);
}

.hero-inner {
	display: grid;
	grid-template-columns: 7fr 5fr;
	gap: clamp(2rem, 4vw, 3.5rem);
	align-items: center;
	padding-bottom: clamp(2rem, 4vw, 3rem);
}

.hero h1 {
	margin-bottom: 0.4em;
}

.hero-media img {
	width: 100%;
	aspect-ratio: 4 / 5;
	object-fit: cover;
	border-radius: var(--radius-feature);
	box-shadow: var(--shadow-md);
}

.contact-bar {
	background: var(--primary);
	color: #fff;
}

.contact-bar-inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.9rem 1.8rem;
	padding-block: 1rem;
	font-size: 0.92rem;
	font-weight: 600;
}

.contact-bar-inner a,
.contact-bar-inner span {
	display: inline-flex;
	align-items: center;
	gap: 0.55rem;
}

.contact-bar-inner .icon {
	color: var(--accent);
}

.contact-bar-sep {
	width: 1px;
	height: 16px;
	background: oklch(1 0 0 / 0.25);
}

/* ---- Generic section rhythm ---- */
.section {
	position: relative;
}

.section-intro {
	padding-block: clamp(4.5rem, 8vw, 6rem) clamp(4rem, 7vw, 5.5rem);
}

.section-services {
	padding-block: clamp(5rem, 9vw, 8.75rem);
}

.section-slider {
	padding-block: clamp(5.5rem, 9vw, 7.5rem);
}

.section-rechner {
	padding-block: clamp(4rem, 7vw, 6.25rem);
}

.section-trust {
	padding-block: clamp(3.5rem, 6vw, 5rem);
}

.section-cta {
	padding-block: clamp(5.5rem, 10vw, 9.5rem);
}

.section-head {
	max-width: 58ch;
	margin-bottom: 1rem;
}

.section-head-right {
	margin-left: auto;
	text-align: right;
}

.section-right .services-grid,
.section-right .section-head-right ~ .services-grid {
	direction: ltr;
}

/* ---- Asymmetrisches 7/5 Grid (statt mittiger Zweiteilung) ---- */
.asym-grid {
	display: grid;
	grid-template-columns: 7fr 5fr;
	gap: clamp(2rem, 5vw, 4rem);
	align-items: center;
}

.asym-aside img {
	width: 100%;
	aspect-ratio: 4 / 5;
	object-fit: cover;
	border-radius: var(--radius-feature);
	box-shadow: var(--shadow-md);
}

/* ---- Vollflaechiger Bruch (Demenz-Schwerpunkt) ---- */
.section-break {
	position: relative;
	padding-block: clamp(5.5rem, 11vw, 10rem);
	background: var(--primary-dark);
	background-image:
		linear-gradient(100deg, oklch(0.22 0.04 172 / 0.92) 0%, oklch(0.22 0.04 172 / 0.65) 52%, oklch(0.22 0.04 172 / 0.3) 100%),
		var(--break-image);
	background-size: cover;
	background-position: center;
	color: oklch(0.95 0.015 100);
	clip-path: polygon(0 0, 100% 2.5%, 100% 100%, 0 97.5%);
	margin-block: clamp(2rem, 4vw, 3rem);
}

.break-inner {
	max-width: 52ch;
}

.section-break h2 {
	color: #fff;
}

.section-break p {
	color: oklch(0.95 0.015 100 / 0.85);
}

/* ---- Slider ---- */
.slider {
	margin-top: 2.5rem;
	position: relative;
}

.slider-track {
	display: flex;
	gap: clamp(1rem, 2.5vw, 1.75rem);
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	padding-inline: clamp(1.25rem, 4vw, 2.5rem);
	padding-bottom: 0.5rem;
	scrollbar-width: none;
}

.slider-track::-webkit-scrollbar {
	display: none;
}

.slide {
	flex: 0 0 min(78vw, 560px);
	scroll-snap-align: start;
	margin: 0;
	border-radius: var(--radius-feature);
	overflow: hidden;
	position: relative;
	box-shadow: var(--shadow-md);
}

.slide img {
	width: 100%;
	aspect-ratio: 5 / 4;
	object-fit: cover;
}

.slide figcaption {
	position: absolute;
	inset: auto 0 0 0;
	padding: 2.5rem 1.8rem 1.6rem;
	background: linear-gradient(0deg, oklch(0.2 0.04 172 / 0.85) 0%, transparent 100%);
	color: #fff;
}

.slide figcaption h3 {
	color: #fff;
	margin-bottom: 0.3em;
	font-size: 1.25rem;
}

.slide figcaption p {
	margin: 0;
	font-size: 0.92rem;
	color: oklch(0.95 0.015 100 / 0.85);
	max-width: 46ch;
}

.slider-controls {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 1.2rem;
	margin-top: 1.6rem;
}

.slider-prev,
.slider-next {
	width: 44px;
	height: 44px;
	border-radius: 50%;
	border: 1.5px solid var(--border);
	display: flex;
	align-items: center;
	justify-content: center;
	transition: border-color var(--dur-fast) var(--ease-out), background var(--dur-fast) var(--ease-out);
}

.slider-prev:hover,
.slider-next:hover {
	border-color: var(--accent);
	background: var(--accent-soft);
}

.slider-dots {
	display: flex;
	gap: 0.5rem;
}

.slider-dots button {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--border);
	transition: background var(--dur-fast) var(--ease-out), transform var(--dur-fast) var(--ease-out);
}

.slider-dots button.is-active {
	background: var(--accent);
	transform: scale(1.3);
}

/* ---- Trust / Counter band ---- */
.trust-inner {
	display: grid;
	grid-template-columns: 5fr 7fr;
	gap: clamp(2rem, 4vw, 3rem);
	align-items: center;
	padding-block: clamp(2.25rem, 4vw, 3rem);
	border-top: 1px solid var(--border);
	border-bottom: 1px solid var(--border);
}

.trust-counter {
	display: flex;
	align-items: baseline;
	flex-wrap: wrap;
	gap: 0.2rem 0.3rem;
}

.trust-counter .counter,
.trust-counter .counter-suffix {
	font-family: var(--font-display);
	font-weight: 600;
	font-size: clamp(3rem, 3vw + 2rem, 4.5rem);
	color: var(--primary);
	line-height: 1;
}

.trust-counter p {
	flex-basis: 100%;
	margin: 0.4rem 0 0;
	color: var(--text-muted);
	max-width: 24ch;
}

.trust-badges {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.trust-badges li {
	display: flex;
	align-items: center;
	gap: 0.75rem;
}

.trust-badges .icon {
	color: var(--accent);
	flex-shrink: 0;
}

/* ---- Final CTA ---- */
.cta-inner {
	max-width: 62ch;
	margin-left: auto;
	text-align: right;
}

.cta-inner .hero-actions {
	justify-content: flex-end;
}

.cta-inner p.lead {
	margin-left: auto;
}
