/* ==========================================================================
   Template 2 – Editorial Left
   Magazin-Anmutung: linksbündige Typografie, nummerierte Kapitel,
   Haarlinien, asymmetrische Bildkompositionen, eckige Formen.
   ========================================================================== */

:root {
	--fs-display: clamp(2.875rem, 1.4rem + 5.4vw, 6.25rem);
	--fs-h2: clamp(2.25rem, 1.5rem + 3vw, 4.25rem);
	--fs-h3: clamp(1.375rem, 1.2rem + 0.6vw, 1.75rem);
}

h1,
h2,
h3 {
	line-height: 1.04;
}

/* Kapitelnummern in den Bereichen */
.site-main {
	counter-reset: chapter;
}

.bop-section:not(.bop-section--cta) {
	counter-increment: chapter;
}

.bop-section:not(.bop-section--cta) .section-head .eyebrow span::before {
	content: counter(chapter, decimal-leading-zero);
	width: auto;
	height: auto;
	padding-right: 3rem;
	background: linear-gradient(currentColor, currentColor) right center / 2.25rem 1px no-repeat;
	font-family: var(--font-heading);
	font-size: 0.9375rem;
	font-style: italic;
	letter-spacing: 0;
	text-transform: none;
	opacity: 1;
	color: var(--color-heading);
}

.section-head {
	max-width: 52rem;
}

.section-head .section-lead {
	max-width: 36em;
}

@media (min-width: 1100px) {
	.section-head:not(.section-head--left):not(.section-head--center):not(.section-head--cta) {
		display: grid;
		grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
		column-gap: clamp(40px, 6vw, 96px);
		align-items: end;
		max-width: none;
	}

	.section-head:not(.section-head--left):not(.section-head--center):not(.section-head--cta) .eyebrow {
		grid-column: 1 / -1;
	}

	.section-head:not(.section-head--left):not(.section-head--center):not(.section-head--cta) .section-lead {
		margin: 0;
		padding-bottom: 0.5rem;
	}
}

.section-actions {
	justify-content: flex-start;
}

/* Header: reduziert, Großbuchstaben */
.site-header:not(.is-transparent) {
	border-bottom: 1px solid color-mix(in srgb, var(--color-on-header) 10%, transparent);
}

.site-nav {
	margin-right: 0;
}

/* Hero 2: feine Linie zwischen Text und Bild */
.hero--layout-2 .hero__eyebrow span::before {
	width: 3rem;
}

@media (min-width: 960px) {
	.hero--layout-2 .hero__media::before {
		content: "";
		position: absolute;
		inset: clamp(20px, 2.5vw, 36px);
		z-index: 2;
		border: 1px solid color-mix(in srgb, var(--color-light) 45%, transparent);
		pointer-events: none;
	}
}

/* Über uns: Collage mit zweitem Bild */
.about__figure--second {
	display: block;
	position: absolute;
	width: 44%;
	aspect-ratio: 4 / 5;
	bottom: -12%;
	border: clamp(6px, 0.8vw, 12px) solid var(--section-bg);
	border-radius: var(--radius-card);
}

.about--image-right .about__figure--second {
	left: -12%;
}

.about--image-left .about__figure--second {
	right: -12%;
}

.about.has-second-image .about__media {
	margin-bottom: 12%;
}

@media (max-width: 959px) {
	.about--image-right .about__figure--second,
	.about--image-left .about__figure--second {
		left: auto;
		right: 0;
		width: 40%;
	}

	.about.has-second-image .about__media {
		margin-right: 8%;
	}
}

.stats {
	border-top: 0;
	padding-top: 0;
	gap: 0;
}

.stat {
	padding: 1.5rem 1.25rem 0 0;
	border-top: 1px solid var(--color-heading);
}

/* Leistungen: Bild neben Text, Haarlinien */
.service__inner {
	background: transparent;
	border: 1px solid var(--color-border);
}

.service.has-link .service__inner:hover {
	transform: none;
	box-shadow: none;
	border-color: var(--color-heading);
}

.services--split .service__body {
	padding: clamp(24px, 2.8vw, 40px);
}

.services--list .service__inner {
	border: 0;
	border-top: 1px solid var(--color-heading);
}

.service__title {
	font-style: normal;
}

/* Preise: zwei Spalten ohne Flächen */
.prices__panel {
	padding: 0;
	background: transparent;
}

.prices--tabs .prices__panel,
.prices--single .prices__panel {
	padding: clamp(24px, 4vw, 56px);
	background: var(--surface);
}

.prices__category {
	padding-bottom: 1.25rem;
	border-bottom: 1px solid var(--color-heading);
	font-style: italic;
}

.prices__footer {
	align-items: flex-start;
	text-align: left;
}

/* Team: Editorial-Bildunterschriften */
.member__name {
	font-style: italic;
}

.member__media img {
	filter: saturate(0.9);
	transition: transform 1.4s var(--ease-out), filter 1s var(--ease);
}

.member:hover .member__media img {
	filter: saturate(1.05);
}

/* Bewertungen: große Zitate mit Linie */
.testimonial__inner {
	padding: 0 0 0 clamp(20px, 2.4vw, 32px);
	background: transparent;
	border-left: 1px solid var(--color-heading);
	border-radius: 0;
}

.testimonial__author {
	border-top: 0;
	padding-top: 0;
}

.testimonial__text p {
	font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.625rem);
	line-height: 1.45;
}

/* Galerie: asymmetrisches Raster */
@media (min-width: 700px) {
	.gallery--grid .gallery__item:first-child {
		grid-column: span 2;
		grid-row: span 2;
	}

	.gallery--grid .gallery__item:first-child .gallery__link,
	.gallery--grid .gallery__item:first-child .gallery__figure {
		height: 100%;
	}

	.gallery--grid .gallery__item:last-child:not(:first-child) {
		grid-column: span var(--span3, 1);
	}

	.gallery--grid .gallery__item:last-child:not(:first-child) :is(.gallery__link, .gallery__figure) {
		aspect-ratio: var(--span3, 1) / 1;
	}
}

@media (min-width: 1100px) {
	.gallery--grid .gallery__item:last-child:not(:first-child) {
		grid-column: span var(--span4, 1);
	}

	.gallery--grid .gallery__item:last-child:not(:first-child) :is(.gallery__link, .gallery__figure) {
		aspect-ratio: var(--span4, 1) / 1;
	}
}

/* Termin-Banner: linksbündig */
.cta {
	text-align: left;
}

.cta .section-head,
.cta .section-lead {
	margin-inline: 0;
	text-align: left;
}

.cta .eyebrow,
.cta__actions {
	justify-content: flex-start;
}

/* Öffnungszeiten & Kontakt */
.hours-card,
.contact__form {
	background: transparent;
	border: 1px solid var(--color-border);
}

.contact-item {
	background: transparent;
	border: 1px solid var(--color-border);
}

.contact-item:hover {
	border-color: var(--color-heading);
	background: transparent;
}

/* Footer */
.site-footer .brand__name {
	font-style: italic;
}
