/* ==========================================================================
   Beauty OnePage – Basis-Styles
   --------------------------------------------------------------------------
   Alle Farben, Schriften und Radien kommen aus CSS-Variablen, die das Theme
   aus den Customizer-Einstellungen erzeugt (inc/theme-setup.php).
   Die drei Website-Stile ergänzen diese Datei (style-1.css, style-2.css, style-3.css).

   Inhalt
   01 Tokens            08 Über uns          15 Kontakt & Formulare
   02 Reset & Basis     09 Leistungen        16 Footer
   03 Typografie        10 Preise            17 Mobile Kontaktleiste
   04 Layout            11 Team              18 Seiten, Blog, 404
   05 Buttons           12 Bewertungen       19 Animationen
   06 Header & Menü     13 Galerie & Lightbox 20 Barrierefreiheit & Hilfsklassen
   07 Hero              14 Banner, Standort, Öffnungszeiten
   ========================================================================== */

/* 01 Tokens ---------------------------------------------------------------- */
:root {
	/* Fallbacks – werden vom Theme überschrieben. */
	--color-primary: #8c6a5d;
	--color-secondary: #2e2724;
	--color-accent: #c8a27c;
	--color-background: #fbf8f5;
	--color-background-alt: #f3ece5;
	--color-text: #4d4541;
	--color-heading: #2a2320;
	--color-button: #2e2724;
	--color-button-hover: #8c6a5d;
	--color-header: #fbf8f5;
	--color-footer: #2a2320;
	--color-border: #e5dbd2;
	--color-muted: #8a7f79;
	--color-on-primary: #fff;
	--color-on-secondary: #fff;
	--color-on-accent: #2a2320;
	--color-on-button: #fff;
	--color-on-button-hover: #fff;
	--color-on-header: #2a2320;
	--color-on-footer: #fff;

	/* Feste Systemfarben (keine Markenfarben). */
	--color-light: #fff;
	--color-success: #4b8a68;
	--color-error: #b4442f;

	--font-heading: Georgia, serif;
	--font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	--font-button: var(--font-body);
	--heading-weight: 400;
	--heading-tracking: -0.01em;
	--body-size: 17px;
	--radius-button: 999px;
	--radius-card: 6px;

	--fs-display: clamp(2.75rem, 1.55rem + 4.8vw, 5.75rem);
	--fs-h2: clamp(2.125rem, 1.45rem + 2.6vw, 3.625rem);
	--fs-h3: clamp(1.25rem, 1.12rem + 0.5vw, 1.5rem);
	--fs-lead: clamp(1.0625rem, 1rem + 0.3vw, 1.25rem);
	--fs-small: 0.875rem;

	--container: 1240px;
	--container-narrow: 760px;
	--gutter: clamp(20px, 4.2vw, 48px);
	--section-space: clamp(80px, 9.5vw, 148px);
	--header-height: 84px;
	--gutter-offset: max(var(--gutter), calc((100vw - var(--container)) / 2));

	--ease: cubic-bezier(0.4, 0, 0.2, 1);
	--ease-out: cubic-bezier(0.16, 1, 0.3, 1);
	--shadow-soft: 0 1px 2px color-mix(in srgb, var(--color-heading) 5%, transparent), 0 18px 40px -22px color-mix(in srgb, var(--color-heading) 28%, transparent);
	--shadow-lift: 0 2px 6px color-mix(in srgb, var(--color-heading) 5%, transparent), 0 34px 70px -34px color-mix(in srgb, var(--color-heading) 38%, transparent);

	--surface: color-mix(in srgb, var(--color-background-alt) 62%, var(--color-background));
	--section-bg: var(--color-background);
}

/* 02 Reset & Basis --------------------------------------------------------- */
*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
	scroll-behavior: smooth;
	scroll-padding-top: calc(var(--header-height) + 12px);
}

body {
	margin: 0;
	background: var(--color-background);
	color: var(--color-text);
	font-family: var(--font-body);
	font-size: var(--body-size);
	line-height: 1.7;
	font-weight: 400;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
	overflow-x: hidden;
	-webkit-tap-highlight-color: transparent;
}

body.is-locked {
	overflow: hidden;
}

img,
video,
svg,
iframe {
	display: block;
	max-width: 100%;
}

img,
video {
	height: auto;
}

a {
	color: var(--color-primary);
	text-decoration-thickness: 1px;
	text-underline-offset: 0.2em;
	transition: color 0.3s var(--ease);
}

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

p,
ul,
ol,
figure,
blockquote,
dl {
	margin-top: 0;
}

button {
	font: inherit;
}

hr {
	border: 0;
	border-top: 1px solid var(--color-border);
	margin: 3rem 0;
}

::selection {
	background: color-mix(in srgb, var(--color-primary) 22%, transparent);
	color: var(--color-heading);
}

.icon {
	width: 1.25em;
	height: 1.25em;
	flex: none;
}

/* 03 Typografie ------------------------------------------------------------ */
h1,
h2,
h3,
h4,
h5,
h6 {
	font-family: var(--font-heading);
	font-weight: var(--heading-weight);
	letter-spacing: var(--heading-tracking);
	line-height: 1.12;
	color: var(--color-heading);
	margin: 0 0 0.6em;
	text-wrap: balance;
}

h1 em,
h2 em,
h3 em,
.hero__title em {
	font-style: italic;
	font-weight: inherit;
}

.section-title {
	font-size: var(--fs-h2);
	margin: 0;
	line-height: 1.06;
}

.section-title em {
	color: var(--color-primary);
}

.eyebrow {
	display: flex;
	align-items: center;
	gap: 0.875rem;
	margin: 0 0 1.25rem;
	font-family: var(--font-button);
	font-size: 0.75rem;
	font-weight: 500;
	letter-spacing: 0.2em;
	line-height: 1.4;
	text-transform: uppercase;
	color: var(--color-primary);
}

.eyebrow span {
	display: inline-flex;
	align-items: center;
	gap: 0.875rem;
}

.eyebrow span::before {
	content: "";
	width: 2rem;
	height: 1px;
	background: currentColor;
	opacity: 0.6;
}

.section-lead {
	margin: 1.25rem 0 0;
	font-size: var(--fs-lead);
	line-height: 1.65;
	max-width: 40em;
}

.prose > :last-child {
	margin-bottom: 0;
}

.prose p {
	margin-bottom: 1.15em;
}

/* 04 Layout ---------------------------------------------------------------- */
.container {
	width: 100%;
	max-width: calc(var(--container) + var(--gutter) * 2);
	margin-inline: auto;
	padding-inline: var(--gutter);
}

.container--narrow {
	max-width: calc(var(--container-narrow) + var(--gutter) * 2);
}

.site-main {
	display: block;
	outline: none;
}

.bop-section {
	position: relative;
	padding-block: var(--section-space);
	background: var(--section-bg);
}

.tone-a {
	--section-bg: var(--color-background);
	--surface: color-mix(in srgb, var(--color-background-alt) 62%, var(--color-background));
}

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

.tone-dark {
	--section-bg: var(--color-secondary);
	color: var(--color-on-secondary);
}

.section-head {
	max-width: 46rem;
	margin-bottom: clamp(44px, 5.5vw, 80px);
}

.section-head--center {
	text-align: center;
	margin-inline: auto;
}

.section-head--center .eyebrow {
	justify-content: center;
}

.section-head--center .section-lead {
	margin-inline: auto;
}

.section-actions {
	display: flex;
	justify-content: center;
	margin-top: clamp(44px, 5vw, 72px);
}

.media-frame {
	position: relative;
	overflow: hidden;
	border-radius: var(--radius-card);
	background: color-mix(in srgb, var(--color-background-alt) 70%, var(--color-border));
	margin: 0;
}

.media-frame img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 1.4s var(--ease-out);
}

/* 05 Buttons --------------------------------------------------------------- */
.btn,
.bop-form input[type="submit"],
.bop-form button[type="submit"],
.comment-form input[type="submit"],
.search-form button,
.wp-block-button__link {
	--btn-bg: var(--color-button);
	--btn-fg: var(--color-on-button);
	--btn-border: var(--btn-bg);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.7em;
	min-height: 54px;
	padding: 0.85rem 1.9rem;
	border: 1px solid var(--btn-border);
	border-radius: var(--radius-button);
	background: var(--btn-bg);
	color: var(--btn-fg);
	font-family: var(--font-button);
	font-size: 0.8125rem;
	font-weight: 500;
	letter-spacing: 0.14em;
	line-height: 1.25;
	text-transform: uppercase;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
	-webkit-appearance: none;
	appearance: none;
	transition: background-color 0.45s var(--ease), color 0.45s var(--ease), border-color 0.45s var(--ease), box-shadow 0.45s var(--ease), transform 0.45s var(--ease-out);
}

.btn:hover,
.bop-form input[type="submit"]:hover,
.bop-form button[type="submit"]:hover,
.comment-form input[type="submit"]:hover,
.search-form button:hover,
.wp-block-button__link:hover {
	--btn-bg: var(--color-button-hover);
	--btn-fg: var(--color-on-button-hover);
	color: var(--btn-fg);
}

.btn:active {
	transform: translateY(1px);
}

.btn__icon {
	width: 1.15em;
	height: 1.15em;
	transition: transform 0.5s var(--ease-out);
}

.btn:hover .btn__icon--arrow {
	transform: translateX(4px);
}

.btn--secondary {
	--btn-bg: var(--color-accent);
	--btn-fg: var(--color-on-accent);
}

.btn--outline {
	--btn-bg: transparent;
	--btn-fg: var(--color-heading);
	--btn-border: color-mix(in srgb, var(--color-heading) 30%, transparent);
}

.btn--outline:hover {
	--btn-bg: var(--color-heading);
	--btn-fg: var(--color-background);
	--btn-border: var(--color-heading);
}

.btn--ghost {
	--btn-bg: transparent;
	--btn-fg: var(--color-light);
	--btn-border: color-mix(in srgb, var(--color-light) 55%, transparent);
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
}

.btn--ghost:hover {
	--btn-bg: var(--color-light);
	--btn-fg: var(--color-heading);
	--btn-border: var(--color-light);
}

.btn--light {
	--btn-bg: var(--color-light);
	--btn-fg: var(--color-heading);
}

.btn--light:hover {
	--btn-bg: var(--color-accent);
	--btn-fg: var(--color-on-accent);
	--btn-border: var(--color-accent);
}

.btn--text {
	--btn-bg: transparent;
	--btn-border: transparent;
	--btn-fg: var(--color-heading);
	min-height: 44px;
	padding: 0.5rem 0;
	border-radius: 0;
}

.btn--text .btn__label {
	background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
	padding-bottom: 0.2em;
	transition: background-size 0.5s var(--ease-out);
}

.btn--text:hover {
	--btn-bg: transparent;
	--btn-fg: var(--color-primary);
}

.btn--text:hover .btn__label {
	background-size: 35% 1px;
}

.btn--small {
	min-height: 46px;
	padding: 0.65rem 1.4rem;
	font-size: 0.75rem;
}

.btn--block {
	width: 100%;
}

.btn-group {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.875rem 1rem;
}

.btn-group--center {
	justify-content: center;
}

/* 06 Header & Menü --------------------------------------------------------- */
.skip-link {
	position: absolute;
	left: 12px;
	top: -100px;
	z-index: 3000;
	padding: 0.75rem 1.25rem;
	background: var(--color-heading);
	color: var(--color-background);
	border-radius: 6px;
	text-decoration: none;
}

.skip-link:focus {
	top: 12px;
}

.site-header {
	position: relative;
	z-index: 100;
	background: var(--color-header);
	color: var(--color-on-header);
	transition: background-color 0.5s var(--ease), color 0.5s var(--ease), box-shadow 0.5s var(--ease), transform 0.5s var(--ease-out);
}

.site-header.is-sticky {
	position: sticky;
	top: 0;
}

.site-header.is-transparent {
	position: absolute;
	inset: 0 0 auto;
	background: transparent;
}

.site-header.is-transparent.is-sticky {
	position: fixed;
}

.site-header.is-transparent.is-on-dark:not(.is-scrolled) {
	color: var(--color-light);
}

.site-header.is-transparent.is-on-light:not(.is-scrolled) {
	color: var(--color-heading);
}

.site-header.is-scrolled {
	background: color-mix(in srgb, var(--color-header) 94%, transparent);
	-webkit-backdrop-filter: blur(14px) saturate(1.2);
	backdrop-filter: blur(14px) saturate(1.2);
	color: var(--color-on-header);
	box-shadow: 0 1px 0 color-mix(in srgb, var(--color-on-header) 10%, transparent);
}

@media (min-width: 601px) {
	.admin-bar .site-header.is-sticky,
	.admin-bar .site-header.is-transparent {
		top: 32px;
	}
}

@media (min-width: 601px) and (max-width: 782px) {
	.admin-bar .site-header.is-sticky,
	.admin-bar .site-header.is-transparent {
		top: 46px;
	}
}

.site-header__inner {
	display: flex;
	align-items: center;
	gap: clamp(1rem, 2.5vw, 2.5rem);
	min-height: var(--header-height);
	transition: min-height 0.5s var(--ease-out);
}

.site-header.is-scrolled .site-header__inner {
	min-height: calc(var(--header-height) - 14px);
}

.site-header__brand {
	flex: none;
	min-width: 0;
}

.brand {
	display: inline-flex;
	align-items: center;
	color: inherit;
	text-decoration: none;
}

.brand:hover {
	color: inherit;
}

.brand__logo {
	width: auto;
	max-width: min(220px, 52vw);
	max-height: 52px;
	object-fit: contain;
	transition: max-height 0.5s var(--ease-out);
}

.site-header.is-scrolled .brand__logo {
	max-height: 44px;
}

.brand__logo--light {
	display: none;
}

.site-header.is-transparent.is-on-dark:not(.is-scrolled) .brand.has-light-logo > :not(.brand__logo--light) {
	display: none;
}

.site-header.is-transparent.is-on-dark:not(.is-scrolled) .brand.has-light-logo .brand__logo--light {
	display: block;
}

.brand__name {
	font-family: var(--font-heading);
	font-size: clamp(1.375rem, 1.2rem + 0.6vw, 1.75rem);
	font-weight: var(--heading-weight);
	letter-spacing: 0.01em;
	line-height: 1.1;
	white-space: nowrap;
}

.site-nav {
	display: none;
	margin-inline: auto;
}

.site-nav__list {
	display: flex;
	align-items: center;
	gap: clamp(1.25rem, 2.2vw, 2.4rem);
	margin: 0;
	padding: 0;
	list-style: none;
}

.site-nav__list > li {
	position: relative;
}

.site-nav a {
	white-space: nowrap;
	position: relative;
	display: inline-block;
	padding-block: 0.6rem;
	color: inherit;
	font-family: var(--font-button);
	font-size: 0.8125rem;
	font-weight: 500;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	text-decoration: none;
}

.site-nav__list > li > a::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0.3rem;
	height: 1px;
	background: currentColor;
	transform: scaleX(0);
	transform-origin: right;
	transition: transform 0.6s var(--ease-out);
}

.site-nav__list > li > a:hover::after,
.site-nav__list > li > a.is-active::after,
.site-nav__list > .current-menu-item > a::after {
	transform: scaleX(1);
	transform-origin: left;
}

.site-nav .sub-menu {
	position: absolute;
	top: 100%;
	left: -1.25rem;
	min-width: 220px;
	margin: 0;
	padding: 0.75rem 0;
	list-style: none;
	background: var(--color-background);
	color: var(--color-heading);
	border-radius: min(var(--radius-card), 14px);
	box-shadow: var(--shadow-lift);
	opacity: 0;
	visibility: hidden;
	transform: translateY(8px);
	transition: opacity 0.35s var(--ease), transform 0.35s var(--ease-out), visibility 0s linear 0.35s;
}

.site-nav li:hover > .sub-menu,
.site-nav li:focus-within > .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: none;
	transition-delay: 0s;
}

.site-nav .sub-menu a {
	display: block;
	padding: 0.5rem 1.25rem;
	letter-spacing: 0.08em;
}

.site-header__meta {
	display: none;
	align-items: center;
	gap: 1.25rem;
}

.site-header__phone {
	display: inline-flex;
	align-items: center;
	gap: 0.55rem;
	color: inherit;
	font-size: 0.875rem;
	font-weight: 500;
	text-decoration: none;
	white-space: nowrap;
}

.site-header__phone .icon {
	width: 1.05rem;
	height: 1.05rem;
}

.site-header__phone:hover {
	color: inherit;
	opacity: 0.7;
}

.site-header__actions .btn {
	white-space: nowrap;
}

.site-header__actions {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	margin-left: auto;
}

.site-header.is-transparent.is-on-dark:not(.is-scrolled) .site-header__cta {
	--btn-bg: var(--color-light);
	--btn-fg: var(--color-heading);
	--btn-border: var(--color-light);
}

.site-header.is-transparent.is-on-dark:not(.is-scrolled) .site-header__cta:hover {
	--btn-bg: var(--color-accent);
	--btn-fg: var(--color-on-accent);
	--btn-border: var(--color-accent);
}

.menu-toggle {
	display: inline-flex;
	align-items: center;
	gap: 0.6rem;
	min-height: 46px;
	min-width: 46px;
	padding: 0 0.25rem 0 0.5rem;
	border: 0;
	background: transparent;
	color: inherit;
	cursor: pointer;
	font-family: var(--font-button);
	font-size: 0.75rem;
	font-weight: 500;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}

.menu-toggle .icon {
	width: 1.6rem;
	height: 1.6rem;
}

.social {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.social__link {
	display: grid;
	place-items: center;
	width: 42px;
	height: 42px;
	border: 1px solid color-mix(in srgb, currentColor 24%, transparent);
	border-radius: 50%;
	color: inherit;
	transition: border-color 0.4s var(--ease), transform 0.4s var(--ease-out), background-color 0.4s var(--ease);
}

.social__link:hover {
	color: inherit;
	border-color: currentColor;
	transform: translateY(-2px);
}

.social__link .icon {
	width: 18px;
	height: 18px;
}

.social--header .social__link {
	width: 36px;
	height: 36px;
	border-color: transparent;
}

@media (min-width: 1100px) {
	.site-nav {
		display: block;
	}

	.site-header__meta {
		display: flex;
	}

	.menu-toggle {
		display: none;
	}
}

@media (min-width: 1100px) and (max-width: 1299px) {
	.site-header__phone span {
		position: absolute;
		width: 1px;
		height: 1px;
		overflow: hidden;
		clip: rect(0 0 0 0);
	}
}

@media (max-width: 599px) {
	.has-mobilebar .site-header__cta {
		display: none;
	}

	.menu-toggle__label {
		display: none;
	}
}

/* Off-Canvas-Menü */
.offcanvas {
	position: fixed;
	inset: 0;
	z-index: 1000;
	display: flex;
	justify-content: flex-end;
}

.offcanvas[hidden] {
	display: none;
}

.offcanvas__backdrop {
	position: absolute;
	inset: 0;
	background: color-mix(in srgb, var(--color-secondary) 55%, transparent);
	opacity: 0;
	transition: opacity 0.5s var(--ease);
}

.offcanvas__panel {
	position: relative;
	display: flex;
	flex-direction: column;
	width: min(460px, 100%);
	height: 100%;
	overflow-y: auto;
	overscroll-behavior: contain;
	padding: 1rem var(--gutter) calc(1.75rem + env(safe-area-inset-bottom));
	background: var(--color-background);
	color: var(--color-text);
	transform: translateX(100%);
	transition: transform 0.6s var(--ease-out);
}

.offcanvas.is-open .offcanvas__backdrop {
	opacity: 1;
}

.offcanvas.is-open .offcanvas__panel {
	transform: none;
}

.offcanvas__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 64px;
	margin-bottom: 1.5rem;
	color: var(--color-heading);
}

.offcanvas__head .brand__logo {
	max-height: 44px;
}

.offcanvas__close {
	display: grid;
	place-items: center;
	width: 48px;
	height: 48px;
	margin-right: -8px;
	border: 0;
	border-radius: 50%;
	background: transparent;
	color: var(--color-heading);
	cursor: pointer;
}

.offcanvas__close .icon {
	width: 1.6rem;
	height: 1.6rem;
}

.offcanvas__list,
.offcanvas__list .sub-menu {
	margin: 0;
	padding: 0;
	list-style: none;
}

.offcanvas__list > li {
	border-bottom: 1px solid var(--color-border);
}

.offcanvas__list a {
	display: block;
	padding: 0.85rem 0;
	color: var(--color-heading);
	font-family: var(--font-heading);
	font-size: clamp(1.625rem, 1.3rem + 1.4vw, 2.125rem);
	font-weight: var(--heading-weight);
	letter-spacing: var(--heading-tracking);
	line-height: 1.2;
	text-decoration: none;
}

.offcanvas__list .sub-menu a {
	padding: 0.4rem 0 0.4rem 1rem;
	font-size: 1.125rem;
}

.offcanvas__list a:hover,
.offcanvas__list a.is-active {
	color: var(--color-primary);
}

.has-reveal .offcanvas__list > li {
	opacity: 0;
	transform: translateX(24px);
	transition: opacity 0.6s var(--ease), transform 0.8s var(--ease-out);
}

.has-reveal .offcanvas.is-open .offcanvas__list > li {
	opacity: 1;
	transform: none;
}

.offcanvas.is-open .offcanvas__list > li:nth-child(2) { transition-delay: 0.05s; }
.offcanvas.is-open .offcanvas__list > li:nth-child(3) { transition-delay: 0.1s; }
.offcanvas.is-open .offcanvas__list > li:nth-child(4) { transition-delay: 0.15s; }
.offcanvas.is-open .offcanvas__list > li:nth-child(5) { transition-delay: 0.2s; }
.offcanvas.is-open .offcanvas__list > li:nth-child(6) { transition-delay: 0.25s; }
.offcanvas.is-open .offcanvas__list > li:nth-child(7) { transition-delay: 0.3s; }
.offcanvas.is-open .offcanvas__list > li:nth-child(n+8) { transition-delay: 0.35s; }

.offcanvas__foot {
	display: grid;
	gap: 1rem;
	margin-top: auto;
	padding-top: 2.5rem;
}

.offcanvas__contact {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	margin: 0;
	color: var(--color-text);
	font-size: 0.9375rem;
	text-decoration: none;
}

.offcanvas__contact .icon {
	width: 1.1rem;
	height: 1.1rem;
	color: var(--color-primary);
}

.social--offcanvas {
	margin-top: 0.5rem;
	color: var(--color-heading);
}

/* 07 Hero ------------------------------------------------------------------ */
.hero {
	--hero-h: 100vh;
	--hero-ov-color: var(--color-secondary);
	position: relative;
	isolation: isolate;
	display: flex;
	align-items: center;
	min-height: max(var(--hero-h), 560px);
	background: var(--color-secondary);
	color: var(--color-light);
}

.hero--h-large { --hero-h: 85vh; }
.hero--h-medium { --hero-h: 70vh; }
.hero--h-compact { --hero-h: 56vh; }

@supports (height: 100svh) {
	.hero { --hero-h: 100svh; }
	.hero--h-large { --hero-h: 85svh; }
	.hero--h-medium { --hero-h: 70svh; }
	.hero--h-compact { --hero-h: 56svh; }
}

.hero--text-dark {
	--hero-ov-color: var(--color-background);
	background: var(--color-background-alt);
	color: var(--color-heading);
}

.hero.no-media {
	background: var(--color-background-alt);
	color: var(--color-heading);
}

.hero__media {
	position: absolute;
	inset: 0;
	z-index: -1;
	overflow: hidden;
}

.hero__image,
.hero__video {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

.hero--focus-top :is(.hero__image, .hero__video) { object-position: center 20%; }
.hero--focus-bottom :is(.hero__image, .hero__video) { object-position: center 80%; }
.hero--focus-left :is(.hero__image, .hero__video) { object-position: 25% center; }
.hero--focus-right :is(.hero__image, .hero__video) { object-position: 75% center; }

.hero__video {
	opacity: 0;
	transition: opacity 1.6s var(--ease);
}

.hero__video.is-playing {
	opacity: 1;
}

.hero__overlay {
	position: absolute;
	inset: 0;
	background:
		linear-gradient(180deg,
			color-mix(in srgb, var(--hero-ov-color) calc(var(--hero-overlay) * 85%), transparent) 0%,
			color-mix(in srgb, var(--hero-ov-color) calc(var(--hero-overlay) * 60%), transparent) 45%,
			color-mix(in srgb, var(--hero-ov-color) calc(var(--hero-overlay) * 100%), transparent) 100%);
}

.hero__inner {
	position: relative;
	padding-block: calc(var(--header-height) + clamp(40px, 7vw, 96px)) clamp(72px, 10vw, 128px);
}

.hero__content {
	max-width: 46rem;
}

.hero__eyebrow {
	color: inherit;
}

.hero--text-light .hero__eyebrow span::before {
	opacity: 0.8;
}

.hero__title {
	margin: 0;
	font-size: var(--fs-display);
	line-height: 1.02;
	color: inherit;
	text-wrap: balance;
}

.hero--text-light .hero__title em {
	color: color-mix(in srgb, var(--color-accent) 70%, var(--color-light));
}

.hero--text-dark .hero__title em,
.hero.no-media .hero__title em {
	color: var(--color-primary);
}

.hero__subtitle {
	max-width: 34em;
	margin: 1.75rem 0 0;
	font-size: var(--fs-lead);
	line-height: 1.65;
	opacity: 0.92;
}

.hero__actions {
	margin-top: 2.5rem;
}

.hero--text-dark .hero__actions .btn--ghost {
	--btn-fg: var(--color-heading);
	--btn-border: color-mix(in srgb, var(--color-heading) 30%, transparent);
}

.hero__scroll {
	position: absolute;
	left: 50%;
	bottom: 24px;
	display: block;
	width: 44px;
	height: 64px;
	margin-left: -22px;
	color: inherit;
}

.hero__scroll-line {
	position: absolute;
	left: 50%;
	top: 6px;
	bottom: 6px;
	width: 1px;
	background: color-mix(in srgb, currentColor 30%, transparent);
	overflow: hidden;
}

.hero__scroll-line::after {
	content: "";
	position: absolute;
	left: 0;
	top: 0;
	width: 1px;
	height: 40%;
	background: currentColor;
	animation: bop-scroll 2.6s var(--ease) infinite;
}

/* Layout 1 – zentriert */
.hero--layout-1 {
	text-align: center;
}

.hero--layout-1 .hero__content {
	max-width: 58rem;
	margin-inline: auto;
}

.hero--layout-1 .hero__eyebrow {
	justify-content: center;
}

.hero--layout-1 .hero__eyebrow span::after {
	content: "";
	width: 2rem;
	height: 1px;
	background: currentColor;
	opacity: 0.6;
}

.hero--layout-1 .hero__subtitle {
	margin-inline: auto;
}

.hero--layout-1 .hero__actions {
	justify-content: center;
}

/* Layout 2 – Text links, Bild rechts */
.hero--layout-2 {
	align-items: stretch;
	flex-direction: column;
	background: var(--color-background-alt);
	color: var(--color-heading);
}

.hero--layout-2 .hero__media {
	position: relative;
	order: 2;
	z-index: 0;
	height: 62vh;
	min-height: 360px;
	margin-inline: var(--gutter);
	margin-bottom: var(--gutter);
	border-radius: var(--radius-card);
}

.hero--layout-2 .hero__inner {
	padding-block: clamp(48px, 9vw, 96px) clamp(40px, 7vw, 72px);
}

.hero--layout-2 .hero__title em {
	color: var(--color-primary);
}

.hero--layout-2 .hero__scroll {
	display: none;
}

@media (min-width: 960px) {
	.hero--layout-2 {
		flex-direction: row;
		align-items: center;
	}

	.hero--layout-2 .hero__media {
		position: absolute;
		inset: 0 0 0 auto;
		width: 48%;
		height: auto;
		min-height: 0;
		margin: 0;
		border-radius: 0;
	}

	.hero--layout-2 .hero__inner {
		padding-block: clamp(72px, 9vw, 128px);
	}

	.hero--layout-2 .hero__content {
		max-width: none;
		width: 48%;
		padding-right: clamp(24px, 4vw, 72px);
	}

	.hero--layout-2 .hero__scroll {
		display: block;
		left: var(--gutter-offset);
		margin-left: 0;
	}
}

/* Layout 3 – Textkarte rechts */
.hero--layout-3 .hero__inner {
	display: flex;
	justify-content: flex-end;
}

.hero--layout-3 .hero__content {
	max-width: 36rem;
	padding: clamp(28px, 4vw, 56px);
	border-radius: var(--radius-card);
	background: color-mix(in srgb, var(--color-secondary) 58%, transparent);
	-webkit-backdrop-filter: blur(18px) saturate(1.15);
	backdrop-filter: blur(18px) saturate(1.15);
	border: 1px solid color-mix(in srgb, var(--color-light) 16%, transparent);
}

.hero--layout-3.hero--text-dark .hero__content,
.hero--layout-3.no-media .hero__content {
	background: color-mix(in srgb, var(--color-background) 82%, transparent);
	border-color: color-mix(in srgb, var(--color-light) 50%, transparent);
	box-shadow: var(--shadow-soft);
}

.hero--layout-3 .hero__title {
	font-size: clamp(2.5rem, 1.6rem + 3.4vw, 4.5rem);
}

.hero--layout-3.has-infobar .hero__inner {
	padding-bottom: clamp(72px, 9vw, 140px);
}

.hero__infobar {
	position: relative;
	z-index: 2;
}

.infobar {
	display: grid;
	gap: 1.25rem;
	margin: 0;
	padding: 1.5rem;
	list-style: none;
	background: var(--color-background);
	color: var(--color-text);
	border-radius: var(--radius-card);
	box-shadow: var(--shadow-lift);
}

.infobar__item {
	display: flex;
	align-items: flex-start;
	gap: 0.9rem;
	font-size: 0.9375rem;
	line-height: 1.45;
}

.infobar__item > .icon {
	width: 40px;
	height: 40px;
	padding: 10px;
	border-radius: 50%;
	background: color-mix(in srgb, var(--color-primary) 12%, transparent);
	color: var(--color-primary);
}

.infobar__label {
	display: block;
	margin-bottom: 0.15rem;
	font-family: var(--font-button);
	font-size: 0.6875rem;
	font-weight: 600;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--color-muted);
}

.infobar a {
	color: var(--color-heading);
	font-weight: 500;
	text-decoration: none;
}

.infobar a:hover {
	color: var(--color-primary);
}

@media (max-width: 759px) {
	.hero--layout-3 {
		flex-direction: column;
		justify-content: flex-end;
	}

	.hero--layout-3 .hero__inner {
		padding-top: calc(var(--header-height) + 160px);
	}

	.hero__infobar {
		padding-bottom: var(--gutter);
	}
}

@media (min-width: 760px) {
	.hero.has-infobar {
		z-index: 3;
		margin-bottom: 0;
	}

	.hero__infobar {
		position: absolute;
		left: 0;
		right: 0;
		bottom: 0;
		transform: translateY(50%);
	}

	.infobar {
		grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
		padding: 1.5rem 2rem;
	}

	.infobar__item + .infobar__item {
		padding-left: 1.25rem;
		border-left: 1px solid var(--color-border);
	}

	.hero.has-infobar + .bop-section {
		padding-top: calc(var(--section-space) + 64px);
	}
}

@media (max-width: 479px) {
	.hero__actions .btn {
		flex: 1 1 100%;
	}
}

/* 08 Über uns --------------------------------------------------------------- */
.about {
	display: grid;
	gap: clamp(44px, 6vw, 104px);
	align-items: center;
}

.about__media {
	position: relative;
}

.about__figure {
	aspect-ratio: 4 / 5;
}

.about__figure--second {
	display: none;
}

.about__text {
	font-size: 1.0625rem;
}

.about--no-image .about__content,
.about--centered .about__content {
	max-width: var(--container-narrow);
	margin-inline: auto;
}

.about--centered {
	text-align: center;
}

.about--centered .about__media {
	order: 2;
}

.about--centered .about__figure {
	aspect-ratio: 21 / 9;
}

.about--centered .stats {
	text-align: center;
}

@media (min-width: 960px) {
	.about--image-left.has-image {
		grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
	}

	.about--image-right.has-image {
		grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
	}

	.about--image-right .about__media {
		order: 2;
	}
}

.stats {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1.5rem;
	margin: 2.75rem 0 0;
	padding: 2rem 0 0;
	list-style: none;
	border-top: 1px solid var(--color-border);
}

.stats[data-count="1"] { grid-template-columns: 1fr; }
.stats[data-count="2"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.stats[data-count="4"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }

@media (min-width: 600px) {
	.stats[data-count="4"] { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

.stat__value {
	display: block;
	font-family: var(--font-heading);
	font-size: clamp(1.875rem, 1.5rem + 1.4vw, 2.75rem);
	font-weight: var(--heading-weight);
	letter-spacing: var(--heading-tracking);
	line-height: 1;
	color: var(--color-heading);
}

.stat__label {
	display: block;
	margin-top: 0.6rem;
	font-size: 0.8125rem;
	line-height: 1.4;
	color: var(--color-muted);
}

.about__actions {
	margin-top: 2.5rem;
}

/* 09 Leistungen ------------------------------------------------------------- */
.services {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: clamp(20px, 2.6vw, 36px);
	margin: 0;
	padding: 0;
	list-style: none;
}

@media (min-width: 700px) {
	.services.cols-2,
	.services.cols-3,
	.services.cols-4 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 1100px) {
	.services.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.services.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

.service__inner {
	position: relative;
	display: flex;
	flex-direction: column;
	height: 100%;
	background: var(--surface);
	border-radius: var(--radius-card);
	overflow: hidden;
	transition: transform 0.7s var(--ease-out), box-shadow 0.7s var(--ease-out), background-color 0.5s var(--ease);
}

.service.has-link .service__inner:hover {
	transform: translateY(-4px);
	box-shadow: var(--shadow-soft);
}

.service__media {
	aspect-ratio: 4 / 3;
	border-radius: 0;
}

.service:hover .service__media img {
	transform: scale(1.045);
}

.service__icon {
	display: grid;
	place-items: center;
	width: 60px;
	height: 60px;
	margin: clamp(24px, 2.6vw, 34px) clamp(24px, 2.6vw, 34px) 0;
	border-radius: 50%;
	background: color-mix(in srgb, var(--color-primary) 12%, transparent);
	color: var(--color-primary);
}

.service__icon .icon {
	width: 26px;
	height: 26px;
}

.service__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	padding: clamp(24px, 2.6vw, 34px);
}

.service__title {
	margin: 0 0 0.75rem;
	font-size: var(--fs-h3);
}

.service__link {
	color: inherit;
	text-decoration: none;
}

.service__link:hover {
	color: inherit;
}

.service__link::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
}

.service__link:focus-visible {
	outline: none;
}

.service__link:focus-visible::after {
	outline: 2px solid var(--color-primary);
	outline-offset: -2px;
	border-radius: var(--radius-card);
}

.service__text {
	margin: 0 0 1.5rem;
	font-size: 0.96em;
	line-height: 1.65;
}

.service__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0.5rem 1.25rem;
	margin: auto 0 0;
	padding-top: 1.1rem;
	border-top: 1px solid var(--color-border);
	font-size: 0.875rem;
	color: var(--color-muted);
}

.service__duration {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
}

.service__duration .icon {
	width: 1rem;
	height: 1rem;
}

.service__price {
	font-family: var(--font-heading);
	font-size: 1.1875rem;
	color: var(--color-heading);
	white-space: nowrap;
}

.service__arrow {
	position: absolute;
	top: 16px;
	right: 16px;
	z-index: 2;
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: var(--color-background);
	color: var(--color-heading);
	pointer-events: none;
	opacity: 0;
	transform: translate(-6px, 6px);
	transition: opacity 0.5s var(--ease), transform 0.6s var(--ease-out);
}

.service__arrow .icon {
	width: 18px;
	height: 18px;
}

.service:hover .service__arrow,
.service:focus-within .service__arrow {
	opacity: 1;
	transform: none;
}

@media (hover: none) {
	.service__arrow {
		opacity: 1;
		transform: none;
	}
}

/* Darstellung: Bild neben Text */
@media (min-width: 640px) {
	.services--split .service__inner {
		flex-direction: row;
	}

	.services--split .service__media {
		flex: 0 0 42%;
		aspect-ratio: auto;
		min-height: 280px;
	}
}

/* Darstellung: Liste */
.services--list {
	gap: 0;
}

@media (min-width: 960px) {
	.services--list.cols-2,
	.services--list.cols-3,
	.services--list.cols-4 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		column-gap: clamp(40px, 5vw, 88px);
	}
}

@media (min-width: 700px) and (max-width: 959px) {
	.services--list.cols-2,
	.services--list.cols-3,
	.services--list.cols-4 {
		grid-template-columns: minmax(0, 1fr);
	}
}

.services--list .service__inner {
	flex-direction: row;
	align-items: flex-start;
	gap: 1.25rem;
	padding: 1.75rem 0;
	background: transparent;
	border-top: 1px solid var(--color-border);
	border-radius: 0;
	overflow: visible;
}

.services--list .service.has-link .service__inner:hover {
	transform: none;
	box-shadow: none;
}

.services--list .service__body {
	padding: 0;
}

.services--list .service__index {
	flex: 0 0 2.25rem;
	padding-top: 0.25rem;
	font-family: var(--font-heading);
	font-size: 1rem;
	font-style: italic;
	color: var(--color-primary);
}

.services--list .service__title {
	padding-right: 3rem;
	transition: color 0.4s var(--ease);
}

.services--list .service:hover .service__title {
	color: var(--color-primary);
}

.services--list .service__text {
	margin-bottom: 0.75rem;
}

.services--list .service__meta {
	justify-content: flex-start;
	padding-top: 0;
	border-top: 0;
}

.services--list .service__arrow {
	top: 1.5rem;
	right: 0;
	background: transparent;
	border: 1px solid var(--color-border);
}

/* 10 Preise ----------------------------------------------------------------- */
.prices {
	max-width: 62rem;
	margin-inline: auto;
}

.prices--columns {
	max-width: none;
}

.prices__tabs {
	display: flex;
	gap: 0.5rem;
	margin: 0 calc(var(--gutter) * -1) 2.25rem;
	padding: 0 var(--gutter) 0.25rem;
	overflow-x: auto;
	scrollbar-width: none;
	-webkit-overflow-scrolling: touch;
}

.prices__tabs::-webkit-scrollbar {
	display: none;
}

.prices__tabs[hidden] {
	display: none;
}

@media (min-width: 700px) {
	.prices__tabs {
		flex-wrap: wrap;
		justify-content: center;
		margin-inline: 0;
		padding-inline: 0;
		overflow: visible;
	}
}

.prices__tab {
	flex: none;
	min-height: 46px;
	padding: 0.6rem 1.35rem;
	border: 1px solid var(--color-border);
	border-radius: var(--radius-button);
	background: transparent;
	color: var(--color-text);
	font-family: var(--font-button);
	font-size: 0.75rem;
	font-weight: 500;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	cursor: pointer;
	transition: background-color 0.4s var(--ease), color 0.4s var(--ease), border-color 0.4s var(--ease);
}

.prices__tab:hover {
	border-color: var(--color-heading);
	color: var(--color-heading);
}

.prices__tab[aria-selected="true"] {
	background: var(--color-heading);
	border-color: var(--color-heading);
	color: var(--color-background);
}

.prices__panel {
	padding: clamp(24px, 4.5vw, 60px);
	background: var(--surface);
	border-radius: var(--radius-card);
}

.prices__panel[hidden] {
	display: none;
}

.prices.is-tabbed .prices__panel {
	animation: bop-fade 0.6s var(--ease) both;
}

.prices.is-tabbed .prices__category {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

.prices:not(.is-tabbed):not(.prices--single):not(.prices--columns) .prices__panel + .prices__panel {
	margin-top: 1.5rem;
}

.prices--columns .prices__panels {
	display: grid;
	gap: clamp(40px, 4vw, 56px) clamp(20px, 3.5vw, 56px);
	align-items: start;
}

@media (min-width: 960px) {
	.prices--columns .prices__panels {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

.prices__category {
	margin: 0 0 0.5rem;
	padding-bottom: 1rem;
	font-size: clamp(1.375rem, 1.2rem + 0.6vw, 1.75rem);
	border-bottom: 1px solid var(--color-border);
}

.price-list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.price-item {
	padding: 1.15rem 0;
	border-bottom: 1px solid color-mix(in srgb, var(--color-border) 75%, transparent);
}

.price-item:last-child {
	border-bottom: 0;
	padding-bottom: 0;
}

.price-item__main {
	display: flex;
	align-items: baseline;
	gap: 0.75rem;
}

.price-item__name {
	color: var(--color-heading);
	font-size: 1.0625rem;
	font-weight: 500;
	line-height: 1.4;
}

.price-item__leader {
	flex: 1 1 1rem;
	min-width: 1rem;
	border-bottom: 1px dotted color-mix(in srgb, var(--color-muted) 55%, transparent);
	transform: translateY(-0.3em);
}

.price-item__price {
	flex: none;
	font-family: var(--font-heading);
	font-size: 1.3125rem;
	line-height: 1.2;
	color: var(--color-heading);
	white-space: nowrap;
	font-variant-numeric: lining-nums tabular-nums;
}

.price-item__from {
	margin-right: 0.2rem;
	font-family: var(--font-body);
	font-size: 0.6875rem;
	font-weight: 500;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--color-muted);
}

.price-item__sub {
	display: flex;
	justify-content: space-between;
	gap: 0.25rem 1rem;
	margin-top: 0.25rem;
	font-size: 0.875rem;
	line-height: 1.5;
	color: var(--color-muted);
}

.price-item__duration {
	flex: none;
	margin-left: auto;
}

.prices__footer {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 1.75rem;
	margin-top: clamp(32px, 4vw, 52px);
	text-align: center;
}

.prices__note {
	max-width: 42em;
	margin: 0;
	font-size: 0.875rem;
	color: var(--color-muted);
}

/* 11 Team ------------------------------------------------------------------- */
.team {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: clamp(36px, 4vw, 56px) clamp(20px, 2.6vw, 36px);
	margin: 0 auto;
	padding: 0;
	list-style: none;
}

.team.cols-1 { max-width: 420px; }
.team.cols-2 { max-width: 880px; }

@media (min-width: 600px) {
	.team.cols-2,
	.team.cols-3,
	.team.cols-4 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 1000px) {
	.team.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.team.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

.member__media {
	aspect-ratio: 4 / 5;
}

.member:hover .member__media img {
	transform: scale(1.035);
}

.member__monogram {
	display: grid;
	place-items: center;
	height: 100%;
	font-family: var(--font-heading);
	font-size: clamp(3.5rem, 3rem + 2vw, 5rem);
	color: var(--color-primary);
	background: color-mix(in srgb, var(--color-primary) 8%, var(--color-background-alt));
}

.member__body {
	padding-top: 1.35rem;
}

.member__name {
	margin: 0;
	font-size: clamp(1.25rem, 1.15rem + 0.4vw, 1.5rem);
}

.member__role {
	margin: 0.4rem 0 0;
	font-family: var(--font-button);
	font-size: 0.6875rem;
	font-weight: 600;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--color-primary);
}

.member__text {
	margin: 0.85rem 0 0;
	font-size: 0.9375rem;
	line-height: 1.6;
}

.member__extra {
	margin: 0.5rem 0 0;
	font-size: 0.875rem;
	color: var(--color-muted);
}

.member__social {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	margin-top: 0.85rem;
	color: var(--color-heading);
	font-size: 0.875rem;
	text-decoration: none;
}

.member__social .icon {
	width: 1rem;
	height: 1rem;
}

/* 12 Bewertungen ------------------------------------------------------------ */
.testimonials {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: min(86%, 380px);
	gap: 16px;
	margin: 0 calc(var(--gutter) * -1);
	padding: 0 var(--gutter) 8px;
	list-style: none;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-padding-inline: var(--gutter);
	scrollbar-width: none;
}

.testimonials::-webkit-scrollbar {
	display: none;
}

.testimonial {
	scroll-snap-align: start;
}

@media (min-width: 900px) {
	.testimonials {
		grid-auto-flow: row;
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: clamp(20px, 2.6vw, 36px);
		margin: 0;
		padding: 0;
		overflow: visible;
	}

	.testimonials[data-count="1"] {
		grid-template-columns: minmax(0, 1fr);
		max-width: 52rem;
		margin-inline: auto;
	}

	.testimonials[data-count="2"],
	.testimonials[data-count="4"] {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

.testimonial__inner {
	display: flex;
	flex-direction: column;
	height: 100%;
	margin: 0;
	padding: clamp(28px, 3vw, 44px);
	background: var(--surface);
	border-radius: var(--radius-card);
}

.stars {
	display: flex;
	gap: 3px;
	margin: 0 0 1.4rem;
	color: var(--color-accent);
}

.stars .icon {
	width: 16px;
	height: 16px;
}

.testimonial__mark {
	display: block;
	margin-bottom: 1.25rem;
	color: var(--color-accent);
}

.testimonial__mark .icon {
	width: 30px;
	height: 30px;
}

.testimonial__text {
	flex: 1;
	margin: 0;
}

.testimonial__text p {
	margin: 0;
	font-family: var(--font-heading);
	font-size: clamp(1.125rem, 1.02rem + 0.4vw, 1.3125rem);
	line-height: 1.55;
	color: var(--color-heading);
}

.testimonial__author {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 0.25rem 0.6rem;
	margin-top: 1.75rem;
	padding-top: 1.25rem;
	border-top: 1px solid var(--color-border);
	font-size: 0.875rem;
}

.testimonial__name {
	font-weight: 600;
	color: var(--color-heading);
}

.testimonial__source {
	color: var(--color-muted);
}

/* 13 Galerie & Lightbox ------------------------------------------------------- */
.gallery__list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.gallery__link,
.gallery__figure {
	display: block;
	height: 100%;
	color: var(--color-heading);
}

.gallery__link img,
.gallery__figure img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.gallery__link:hover img {
	transform: scale(1.05);
}

.gallery__zoom {
	position: absolute;
	right: 14px;
	bottom: 14px;
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: color-mix(in srgb, var(--color-background) 88%, transparent);
	opacity: 0;
	transform: scale(0.85);
	transition: opacity 0.4s var(--ease), transform 0.5s var(--ease-out);
}

.gallery__zoom .icon {
	width: 20px;
	height: 20px;
}

.gallery__link:hover .gallery__zoom,
.gallery__link:focus-visible .gallery__zoom {
	opacity: 1;
	transform: none;
}

.gallery--grid .gallery__list {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: clamp(8px, 1.3vw, 18px);
}

.gallery--grid .gallery__link,
.gallery--grid .gallery__figure {
	aspect-ratio: 1;
}

@media (min-width: 700px) {
	.gallery--grid .gallery__list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (min-width: 1100px) {
	.gallery--grid .gallery__list { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

.gallery--masonry .gallery__list {
	columns: 2;
	column-gap: clamp(8px, 1.3vw, 18px);
}

.gallery--masonry .gallery__item {
	break-inside: avoid;
	margin-bottom: clamp(8px, 1.3vw, 18px);
}

.gallery--masonry img {
	height: auto;
}

@media (min-width: 900px) {
	.gallery--masonry .gallery__list { columns: 3; }
}

.gallery--slider .gallery__list {
	display: flex;
	gap: clamp(12px, 1.6vw, 20px);
	padding-inline: var(--gutter-offset);
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-padding-inline: var(--gutter-offset);
	scrollbar-width: none;
	overscroll-behavior-x: contain;
}

.gallery--slider .gallery__list::-webkit-scrollbar {
	display: none;
}

.gallery--slider .gallery__item {
	flex: 0 0 clamp(250px, 36vw, 500px);
	scroll-snap-align: start;
}

.gallery--slider .gallery__link,
.gallery--slider .gallery__figure {
	aspect-ratio: 4 / 5;
}

.gallery__controls {
	display: flex;
	justify-content: flex-end;
	gap: 0.75rem;
	margin-top: 1.75rem;
}

.slider-btn {
	display: grid;
	place-items: center;
	width: 52px;
	height: 52px;
	border: 1px solid var(--color-border);
	border-radius: 50%;
	background: transparent;
	color: var(--color-heading);
	cursor: pointer;
	transition: background-color 0.4s var(--ease), color 0.4s var(--ease), border-color 0.4s var(--ease), opacity 0.4s var(--ease);
}

.slider-btn:hover:not(:disabled) {
	background: var(--color-heading);
	border-color: var(--color-heading);
	color: var(--color-background);
}

.slider-btn:disabled {
	opacity: 0.35;
	cursor: default;
}

.lightbox {
	position: fixed;
	inset: 0;
	z-index: 2000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 72px 16px;
	background: color-mix(in srgb, var(--color-secondary) 95%, transparent);
	color: var(--color-light);
	opacity: 0;
	transition: opacity 0.4s var(--ease);
}

.lightbox.is-open {
	opacity: 1;
}

.lightbox__figure {
	display: flex;
	flex-direction: column;
	align-items: center;
	max-width: min(1240px, 100%);
	margin: 0;
}

.lightbox__image {
	width: auto;
	max-width: 100%;
	max-height: calc(100vh - 180px);
	border-radius: 4px;
	object-fit: contain;
	transition: opacity 0.35s var(--ease);
}

.lightbox__image.is-loading {
	opacity: 0;
}

.lightbox__caption {
	margin-top: 1rem;
	font-size: 0.875rem;
	text-align: center;
	opacity: 0.85;
}

.lightbox__counter {
	position: absolute;
	left: 50%;
	bottom: 24px;
	transform: translateX(-50%);
	font-size: 0.75rem;
	letter-spacing: 0.16em;
	opacity: 0.75;
}

.lightbox__btn {
	position: absolute;
	display: grid;
	place-items: center;
	width: 52px;
	height: 52px;
	border: 1px solid color-mix(in srgb, var(--color-light) 30%, transparent);
	border-radius: 50%;
	background: color-mix(in srgb, var(--color-secondary) 50%, transparent);
	color: var(--color-light);
	cursor: pointer;
	transition: background-color 0.3s var(--ease), border-color 0.3s var(--ease);
}

.lightbox__btn:hover {
	background: color-mix(in srgb, var(--color-light) 14%, transparent);
	border-color: var(--color-light);
}

.lightbox__close { top: 16px; right: 16px; }
.lightbox__prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 16px; top: 50%; transform: translateY(-50%); }

@media (max-width: 699px) {
	.lightbox__prev,
	.lightbox__next {
		top: auto;
		bottom: 12px;
		transform: none;
	}
}

/* 14 Banner, Standort, Öffnungszeiten ------------------------------------------ */
.bop-section--cta {
	padding: 0;
}

.cta {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	padding-block: clamp(96px, 12vw, 180px);
	background: var(--color-secondary);
	color: var(--color-on-secondary);
	text-align: center;
}

.cta.has-image {
	color: var(--color-light);
}

.cta__media {
	position: absolute;
	inset: 0;
	z-index: -1;
}

.cta__media::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, color-mix(in srgb, var(--color-secondary) 55%, transparent), color-mix(in srgb, var(--color-secondary) 78%, transparent));
}

.cta__image {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.cta .section-head {
	margin-inline: auto;
	margin-bottom: 2.5rem;
	text-align: center;
}

.cta .eyebrow {
	justify-content: center;
	color: var(--color-accent);
}

.cta .section-title {
	color: inherit;
	font-size: clamp(2.375rem, 1.5rem + 3.4vw, 4.5rem);
}

.cta .section-title em {
	color: var(--color-accent);
}

.cta .section-lead {
	margin-inline: auto;
	opacity: 0.88;
}

.cta__actions {
	justify-content: center;
}

.cta .btn--ghost {
	--btn-fg: currentColor;
}

.location {
	display: grid;
	gap: clamp(40px, 5.5vw, 88px);
	align-items: center;
}

@media (min-width: 960px) {
	.location:not(.location--map-none) {
		grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
	}
}

.location--map-none .location__info {
	max-width: var(--container-narrow);
}

.location__address {
	display: flex;
	align-items: flex-start;
	gap: 1rem;
	margin: 0 0 1.5rem;
	font-style: normal;
	font-size: 1.0625rem;
	line-height: 1.6;
	color: var(--color-heading);
}

.location__address strong {
	font-weight: 600;
}

.location__icon {
	display: grid;
	place-items: center;
	flex: none;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	background: color-mix(in srgb, var(--color-primary) 12%, transparent);
	color: var(--color-primary);
}

.location__icon .icon {
	width: 22px;
	height: 22px;
}

.location__text {
	margin-bottom: 2rem;
}

.location__map {
	position: relative;
	aspect-ratio: 4 / 3;
	background: var(--surface);
}

.map-consent__art {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	color: color-mix(in srgb, var(--color-border) 85%, var(--section-bg));
	opacity: 0.9;
}

.map-consent__park {
	fill: color-mix(in srgb, var(--color-primary) 10%, transparent);
}

.map-consent__pin {
	position: absolute;
	left: 50%;
	top: 34%;
	display: grid;
	place-items: center;
	width: 64px;
	height: 64px;
	margin: -32px 0 0 -32px;
	border-radius: 50%;
	background: var(--color-primary);
	color: var(--color-on-primary);
	box-shadow: 0 0 0 10px color-mix(in srgb, var(--color-primary) 16%, transparent), var(--shadow-soft);
}

.map-consent__pin .icon {
	width: 28px;
	height: 28px;
}

.map-consent__box {
	position: absolute;
	left: 50%;
	bottom: clamp(16px, 3vw, 28px);
	width: min(440px, calc(100% - 32px));
	padding: 1.5rem;
	transform: translateX(-50%);
	background: var(--color-background);
	border-radius: min(var(--radius-card), 16px);
	box-shadow: var(--shadow-soft);
	text-align: center;
}

.map-consent__title {
	margin: 0 0 0.4rem;
	font-family: var(--font-heading);
	font-size: 1.25rem;
	color: var(--color-heading);
}

.map-consent__text {
	margin: 0 0 1rem;
	font-size: 0.8125rem;
	line-height: 1.55;
	color: var(--color-muted);
}

.location__map iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

@media (max-width: 479px) {
	.location__map {
		aspect-ratio: 3 / 4;
	}
}

.hours-section {
	display: grid;
	gap: clamp(40px, 5.5vw, 88px);
	align-items: center;
}

@media (min-width: 960px) {
	.hours-section.has-image {
		grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
	}
}

.hours-section:not(.has-image) .hours-section__content {
	max-width: 46rem;
}

.hours-card {
	padding: clamp(24px, 3.6vw, 48px);
	background: var(--surface);
	border-radius: var(--radius-card);
}

.hours-section__media {
	aspect-ratio: 4 / 5;
	max-height: 640px;
}

.hours {
	margin: 0;
	padding: 0;
	list-style: none;
}

.hours__row {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 1rem;
	padding: 0.9rem 0;
	border-bottom: 1px solid var(--color-border);
}

.hours__row:first-child {
	padding-top: 0;
}

.hours__row:last-child {
	border-bottom: 0;
	padding-bottom: 0;
}

.hours__day {
	color: var(--color-heading);
	font-weight: 500;
}

.hours__time {
	text-align: right;
	font-variant-numeric: tabular-nums;
}

.hours__row.is-closed .hours__time {
	color: var(--color-muted);
}

.hours__row.is-today .hours__day,
.hours__row.is-today .hours__time {
	color: var(--color-primary);
	font-weight: 600;
}

.hours__today {
	display: inline-block;
	margin-left: 0.6rem;
	padding: 0.1rem 0.55rem;
	border-radius: 999px;
	background: color-mix(in srgb, var(--color-primary) 12%, transparent);
	font-size: 0.6875rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	vertical-align: 0.15em;
}

.hours-status {
	display: inline-flex;
	align-items: center;
	gap: 0.6rem;
	margin: 0 0 1.75rem;
	padding: 0.45rem 1rem 0.45rem 0.85rem;
	border-radius: 999px;
	background: var(--section-bg);
	color: var(--color-heading);
	font-size: 0.8125rem;
	font-weight: 500;
}

.hours-status[hidden] {
	display: none;
}

.hours-status::before {
	content: "";
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--color-muted);
}

.hours-status.is-open::before {
	background: var(--color-success);
	box-shadow: 0 0 0 4px color-mix(in srgb, var(--color-success) 20%, transparent);
}

.hours-card__note {
	margin: 1.5rem 0 0;
	padding-top: 1.25rem;
	border-top: 1px solid var(--color-border);
	font-size: 0.875rem;
	color: var(--color-muted);
}

/* 15 Kontakt & Formulare ------------------------------------------------------- */
.contact {
	display: grid;
	gap: clamp(40px, 5.5vw, 88px);
}

@media (min-width: 960px) {
	.contact.has-form,
	.contact.has-admin-hint {
		grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
		align-items: start;
	}
}

.contact-list {
	display: grid;
	gap: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
}

@media (min-width: 700px) {
	.contact.no-form:not(.has-admin-hint) .contact-list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 1100px) {
	.contact.no-form:not(.has-admin-hint) .contact-list {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

.contact-item {
	display: flex;
	align-items: center;
	gap: 1rem;
	height: 100%;
	padding: 1rem 1.25rem;
	border-radius: var(--radius-card);
	background: var(--surface);
	color: inherit;
	text-decoration: none;
	transition: transform 0.5s var(--ease-out), background-color 0.4s var(--ease);
}

.contact-item:hover {
	color: inherit;
	transform: translateX(4px);
	background: color-mix(in srgb, var(--color-primary) 7%, var(--surface));
}

.contact-item__icon {
	display: grid;
	place-items: center;
	flex: 0 0 46px;
	height: 46px;
	border-radius: 50%;
	background: var(--section-bg);
	color: var(--color-primary);
}

.contact-item__icon .icon {
	width: 20px;
	height: 20px;
}

.contact-item__body {
	min-width: 0;
}

.contact-item__label {
	display: block;
	font-family: var(--font-button);
	font-size: 0.6875rem;
	font-weight: 600;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--color-muted);
}

.contact-item__value {
	display: block;
	color: var(--color-heading);
	font-weight: 500;
	line-height: 1.45;
	overflow-wrap: anywhere;
}

.contact__hours {
	margin-top: 2.25rem;
	max-width: 30rem;
}

.contact__subtitle {
	margin: 0 0 0.75rem;
	font-size: 1.375rem;
}

.contact__hours .hours__row {
	padding: 0.6rem 0;
}

.contact__form {
	padding: clamp(24px, 4.2vw, 56px);
	background: var(--surface);
	border-radius: var(--radius-card);
}

.contact__form--hint {
	background: transparent;
	padding: 0;
}

.contact__form-title {
	margin: 0 0 1.5rem;
	font-size: clamp(1.5rem, 1.3rem + 0.7vw, 2rem);
}

.admin-hint {
	display: flex;
	gap: 0.75rem;
	padding: 1rem 1.25rem;
	border: 1px dashed color-mix(in srgb, var(--color-primary) 60%, transparent);
	border-radius: 10px;
	background: color-mix(in srgb, var(--color-primary) 6%, transparent);
	color: var(--color-heading);
	font-size: 0.875rem;
	line-height: 1.55;
}

.admin-hint .icon {
	width: 20px;
	height: 20px;
	color: var(--color-primary);
}

.admin-hint p,
p.admin-hint {
	margin: 0;
}

/* Formularfelder (Contact Form 7, WPForms, Fluent Forms, Kommentare, Suche) */
:where(.bop-form, .comment-form, .search-form, .entry-content) :is(input[type="text"], input[type="email"], input[type="tel"], input[type="url"], input[type="number"], input[type="date"], input[type="time"], input[type="search"], input[type="password"], select, textarea),
.bop-form .ff-el-form-control {
	display: block;
	width: 100%;
	min-height: 54px;
	padding: 0.85rem 1.1rem;
	border: 1px solid var(--color-border);
	border-radius: min(var(--radius-card), 12px);
	background: var(--color-background);
	color: var(--color-heading);
	font-family: var(--font-body);
	font-size: 1rem;
	line-height: 1.5;
	box-shadow: none;
	-webkit-appearance: none;
	appearance: none;
	transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease), background-color 0.3s var(--ease);
}

:where(.bop-form, .comment-form, .search-form, .entry-content) :is(input, select, textarea)::placeholder {
	color: var(--color-muted);
	opacity: 1;
}

:where(.bop-form, .comment-form, .search-form, .entry-content) :is(input, select, textarea):hover {
	border-color: color-mix(in srgb, var(--color-heading) 30%, var(--color-border));
}

:where(.bop-form, .comment-form, .search-form, .entry-content) :is(input, select, textarea):focus {
	outline: none;
	border-color: var(--color-primary);
	box-shadow: 0 0 0 4px color-mix(in srgb, var(--color-primary) 16%, transparent);
}

:where(.bop-form, .comment-form, .entry-content) textarea {
	min-height: 150px;
	resize: vertical;
}

:where(.bop-form, .comment-form, .entry-content) select {
	padding-right: 2.75rem;
	background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%);
	background-position: calc(100% - 22px) 52%, calc(100% - 16px) 52%;
	background-size: 6px 6px, 6px 6px;
	background-repeat: no-repeat;
}

:where(.bop-form, .comment-form, .entry-content) label {
	display: block;
	margin-bottom: 0.45rem;
	color: var(--color-heading);
	font-size: 0.875rem;
	font-weight: 500;
}

:where(.bop-form, .comment-form, .entry-content) :is(input[type="checkbox"], input[type="radio"]) {
	width: 18px;
	height: 18px;
	margin: 0 0.5rem 0 0;
	vertical-align: -0.2em;
	accent-color: var(--color-primary);
}

.bop-form p,
.bop-form .wpcf7-form > div,
.bop-form .ff-el-group {
	margin: 0 0 1.25rem;
}

.bop-form .wpcf7-list-item {
	margin: 0 1rem 0 0;
}

.bop-form .wpcf7-acceptance label,
.bop-form .wpcf7-list-item label {
	display: inline-flex;
	align-items: flex-start;
	font-weight: 400;
	font-size: 0.875rem;
	color: var(--color-text);
}

.bop-form .wpcf7-not-valid-tip,
.bop-form .ff-el-is-error .text-danger {
	margin-top: 0.4rem;
	color: var(--color-error);
	font-size: 0.8125rem;
}

.bop-form .wpcf7-not-valid {
	border-color: var(--color-error);
}

.bop-form .wpcf7 form .wpcf7-response-output {
	margin: 1.25rem 0 0;
	padding: 0.9rem 1.1rem;
	border-width: 1px;
	border-radius: 10px;
	font-size: 0.875rem;
}

.bop-form .wpcf7 form.sent .wpcf7-response-output {
	border-color: var(--color-success);
}

.bop-form .wpcf7-spinner {
	margin: 0 0 0 1rem;
}

.bop-form .ff-btn-submit {
	min-height: 54px;
	padding: 0.85rem 1.9rem !important;
	border-radius: var(--radius-button) !important;
	background: var(--color-button) !important;
	color: var(--color-on-button) !important;
	font-family: var(--font-button);
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.bop-form .wpforms-container {
	--wpforms-field-border-radius: min(var(--radius-card), 12px);
	--wpforms-field-border-color: var(--color-border);
	--wpforms-field-background-color: var(--color-background);
	--wpforms-field-text-color: var(--color-heading);
	--wpforms-label-color: var(--color-heading);
	--wpforms-button-border-radius: var(--radius-button);
	--wpforms-button-background-color: var(--color-button);
	--wpforms-button-text-color: var(--color-on-button);
	--wpforms-field-size-input-height: 54px;
}

.search-form {
	display: flex;
	gap: 0.5rem;
	max-width: 32rem;
	margin-inline: auto;
}

.search-form label {
	flex: 1;
	margin: 0;
}

/* 16 Footer ----------------------------------------------------------------- */
.site-footer {
	padding-top: clamp(64px, 8vw, 116px);
	background: var(--color-footer);
	color: color-mix(in srgb, var(--color-on-footer) 74%, var(--color-footer));
	font-size: 0.9375rem;
	line-height: 1.7;
}

.site-footer a {
	color: inherit;
	text-decoration: none;
}

.site-footer a:hover {
	color: var(--color-on-footer);
}

.site-footer__top {
	display: grid;
	gap: 48px 32px;
	padding-bottom: clamp(48px, 6vw, 88px);
}

@media (min-width: 700px) {
	.site-footer__top {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 1100px) {
	.site-footer[data-columns="4"] .site-footer__top { grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); }
	.site-footer[data-columns="3"] .site-footer__top { grid-template-columns: minmax(0, 1.6fr) repeat(2, minmax(0, 1fr)); }
	.site-footer[data-columns="2"] .site-footer__top { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); }
	.site-footer[data-columns="1"] .site-footer__top { grid-template-columns: minmax(0, 1fr); }
}

.site-footer .brand {
	color: var(--color-on-footer);
}

.site-footer .brand__logo {
	max-height: 60px;
}

.site-footer .brand__name {
	font-size: clamp(1.625rem, 1.4rem + 0.8vw, 2.125rem);
	white-space: normal;
}

.site-footer__text {
	max-width: 34ch;
	margin: 1.25rem 0 0;
}

.social--footer {
	margin-top: 1.75rem;
	color: var(--color-on-footer);
}

.footer-title {
	margin: 0 0 1.25rem;
	font-family: var(--font-button);
	font-size: 0.6875rem;
	font-weight: 600;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--color-on-footer);
}

.footer-contact,
.footer-nav,
.legal-links {
	margin: 0;
	padding: 0;
	list-style: none;
}

.footer-contact li,
.footer-nav li {
	margin-bottom: 0.55rem;
}

.footer-nav a.is-active {
	color: var(--color-on-footer);
}

.hours--footer .hours__row {
	padding: 0.4rem 0;
	border-color: color-mix(in srgb, var(--color-on-footer) 12%, transparent);
}

.hours--footer .hours__row:first-child {
	padding-top: 0;
}

.hours--footer .hours__day {
	color: var(--color-on-footer);
	font-weight: 400;
}

.hours--footer .hours__row.is-closed .hours__time {
	color: inherit;
	opacity: 0.7;
}

.site-footer__note {
	margin: 1rem 0 0;
	font-size: 0.8125rem;
	opacity: 0.8;
}

.site-footer__bottom {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 1rem 2rem;
	padding-block: 1.75rem;
	border-top: 1px solid color-mix(in srgb, var(--color-on-footer) 14%, transparent);
	font-size: 0.8125rem;
}

.site-footer__copyright {
	margin: 0;
}

.legal-links {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 1.75rem;
}

.site-footer .admin-hint {
	color: var(--color-on-footer);
	border-color: color-mix(in srgb, var(--color-on-footer) 35%, transparent);
	background: transparent;
}

.site-footer .admin-hint a {
	text-decoration: underline;
}

.to-top {
	display: inline-flex;
	align-items: center;
	gap: 0.6rem;
}

.to-top .icon {
	width: 30px;
	height: 30px;
	padding: 7px;
	border: 1px solid color-mix(in srgb, var(--color-on-footer) 25%, transparent);
	border-radius: 50%;
	transition: transform 0.5s var(--ease-out);
}

.to-top:hover .icon {
	transform: translateY(-3px);
}

@media (max-width: 699px) {
	.site-footer__bottom {
		flex-direction: column;
		align-items: flex-start;
	}
}

/* 17 Mobile Kontaktleiste ------------------------------------------------------ */
.mobilebar {
	display: none;
}

@media (max-width: 767px) {
	.mobilebar {
		position: fixed;
		left: 10px;
		right: 10px;
		bottom: calc(10px + env(safe-area-inset-bottom));
		z-index: 900;
		display: grid;
		grid-auto-columns: minmax(0, 1fr);
		grid-auto-flow: column;
		gap: 6px;
		padding: 6px;
		background: color-mix(in srgb, var(--color-background) 92%, transparent);
		-webkit-backdrop-filter: blur(16px) saturate(1.2);
		backdrop-filter: blur(16px) saturate(1.2);
		border: 1px solid color-mix(in srgb, var(--color-border) 80%, transparent);
		border-radius: 20px;
		box-shadow: var(--shadow-lift);
		transition: transform 0.6s var(--ease-out), opacity 0.4s var(--ease);
	}

	.js .mobilebar:not(.is-visible) {
		transform: translateY(calc(100% + 24px));
		opacity: 0;
		pointer-events: none;
	}

	.mobilebar__item {
		display: flex;
		align-items: center;
		justify-content: center;
		gap: 0.45rem;
		min-height: 52px;
		padding: 0 0.5rem;
		border-radius: 14px;
		color: var(--color-heading);
		font-size: 0.8125rem;
		font-weight: 600;
		text-decoration: none;
		white-space: nowrap;
	}

	.mobilebar__item .icon {
		width: 1.15rem;
		height: 1.15rem;
	}

	.mobilebar__item.is-primary {
		background: var(--color-button);
		color: var(--color-on-button);
	}

	.has-mobilebar .site-footer__bottom {
		padding-bottom: calc(1.75rem + 84px + env(safe-area-inset-bottom));
	}
}

/* 18 Seiten, Blog, 404 ----------------------------------------------------------- */
.page-hero {
	padding-block: clamp(64px, 9vw, 128px) clamp(36px, 4vw, 56px);
	background: var(--color-background-alt);
}

.page-title {
	margin: 0;
	font-size: clamp(2.25rem, 1.55rem + 2.8vw, 3.875rem);
	line-height: 1.08;
}

.page-thumbnail {
	margin: clamp(32px, 4vw, 56px) auto 0;
}

.page-thumbnail img {
	width: 100%;
	border-radius: var(--radius-card);
}

.entry-content.prose {
	padding-block: clamp(48px, 6vw, 96px);
}

.prose {
	font-size: 1.0625rem;
	line-height: 1.75;
}

.prose :is(h2, h3, h4) {
	margin: 2.2em 0 0.65em;
}

.prose h2 { font-size: clamp(1.625rem, 1.4rem + 0.9vw, 2.125rem); }
.prose h3 { font-size: clamp(1.25rem, 1.15rem + 0.5vw, 1.5rem); }
.prose h4 { font-size: 1.125rem; }

.prose > :first-child {
	margin-top: 0;
}

.prose a {
	color: var(--color-primary);
	text-decoration: underline;
}

.prose ul,
.prose ol {
	margin-bottom: 1.15em;
	padding-left: 1.25em;
}

.prose li {
	margin-bottom: 0.4em;
}

.prose li::marker {
	color: var(--color-primary);
}

.prose blockquote {
	margin: 2em 0;
	padding-left: 1.5rem;
	border-left: 2px solid var(--color-primary);
	font-family: var(--font-heading);
	font-size: 1.25rem;
	color: var(--color-heading);
}

.prose img {
	height: auto;
	border-radius: var(--radius-card);
}

.prose figure {
	margin: 2em 0;
}

.prose figcaption {
	margin-top: 0.6rem;
	font-size: 0.8125rem;
	color: var(--color-muted);
}

.prose table {
	width: 100%;
	margin: 2em 0;
	border-collapse: collapse;
	font-size: 0.9375rem;
}

.prose th,
.prose td {
	padding: 0.75rem 0.5rem;
	border-bottom: 1px solid var(--color-border);
	text-align: left;
}

.prose th {
	color: var(--color-heading);
}

.prose .alignwide {
	width: min(1100px, calc(100vw - var(--gutter) * 2));
	max-width: none;
	margin-left: 50%;
	transform: translateX(-50%);
}

.prose .alignfull {
	width: 100vw;
	max-width: none;
	margin-left: 50%;
	transform: translateX(-50%);
	border-radius: 0;
}

.prose .alignleft {
	float: left;
	margin: 0.4em 1.5em 1em 0;
}

.prose .alignright {
	float: right;
	margin: 0.4em 0 1em 1.5em;
}

.prose .aligncenter {
	margin-inline: auto;
}

.wp-block-button__link {
	text-decoration: none !important;
}

.wp-block-button.is-style-outline .wp-block-button__link {
	--btn-bg: transparent;
	--btn-fg: var(--color-heading);
	--btn-border: var(--color-heading);
}

.entry-content--full > * {
	max-width: none;
}

.page-links {
	margin-top: 2rem;
}

.post-list-wrap {
	padding-block: clamp(48px, 6vw, 96px);
}

.post-list {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(320px, 100%), 1fr));
	gap: clamp(28px, 3vw, 44px);
}

.post-card__media {
	display: block;
	aspect-ratio: 3 / 2;
	overflow: hidden;
	border-radius: var(--radius-card);
}

.post-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 1.2s var(--ease-out);
}

.post-card:hover .post-card__media img {
	transform: scale(1.04);
}

.post-card__body {
	padding-top: 1.25rem;
}

.post-card__date {
	margin: 0 0 0.4rem;
	font-size: 0.8125rem;
	color: var(--color-muted);
}

.post-card__title {
	margin: 0 0 0.6rem;
	font-size: 1.5rem;
}

.post-card__title a {
	color: inherit;
	text-decoration: none;
}

.post-card__excerpt p {
	margin: 0;
	font-size: 0.9375rem;
}

.nav-links {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.5rem;
	margin-top: 3rem;
}

.nav-links .page-numbers {
	display: grid;
	place-items: center;
	min-width: 46px;
	height: 46px;
	padding: 0 0.85rem;
	border: 1px solid var(--color-border);
	border-radius: var(--radius-button);
	color: var(--color-heading);
	text-decoration: none;
}

.nav-links .page-numbers.current {
	background: var(--color-heading);
	border-color: var(--color-heading);
	color: var(--color-background);
}

.empty-state {
	text-align: center;
}

.error-404 {
	padding-block: clamp(96px, 14vw, 184px);
	text-align: center;
}

.error-404__code {
	margin: 0 0 1rem;
	font-family: var(--font-heading);
	font-size: clamp(6rem, 3.5rem + 11vw, 12rem);
	line-height: 0.9;
	letter-spacing: -0.04em;
	color: color-mix(in srgb, var(--color-primary) 28%, transparent);
}

.error-404 .section-lead {
	margin-inline: auto;
	margin-bottom: 2.5rem;
}

.comments {
	padding-bottom: clamp(48px, 6vw, 96px);
}

.comment-list {
	margin: 0 0 3rem;
	padding: 0;
	list-style: none;
}

.comment-list .comment {
	padding: 1.5rem 0;
	border-bottom: 1px solid var(--color-border);
}

.comment-list .avatar {
	float: left;
	margin-right: 1rem;
	border-radius: 50%;
}

.comment-form p {
	margin: 0 0 1.25rem;
}

.is-elementor-page .site-main {
	overflow: hidden;
}

/* 19 Animationen ------------------------------------------------------------ */
@keyframes bop-rise {
	from {
		opacity: 0;
		transform: translate3d(0, 26px, 0);
	}
	to {
		opacity: 1;
		transform: none;
	}
}

@keyframes bop-fade {
	from { opacity: 0; }
	to { opacity: 1; }
}

@keyframes bop-zoom {
	from { transform: scale(1.08); }
	to { transform: scale(1); }
}

@keyframes bop-scroll {
	0% { transform: translateY(-100%); }
	60%, 100% { transform: translateY(260%); }
}

.has-reveal [data-reveal] {
	opacity: 0;
	transform: translate3d(0, 30px, 0);
	transition: opacity 1.1s var(--ease-out), transform 1.3s var(--ease-out);
	transition-delay: var(--reveal-delay, 0s);
}

.has-reveal [data-reveal="fade"] {
	transform: scale(0.985);
	transition-duration: 1.6s, 1.8s;
}

.has-reveal [data-reveal].is-revealed {
	opacity: 1;
	transform: none;
}

.has-reveal .hero__content > * {
	animation: bop-rise 1.3s var(--ease-out) both;
}

.has-reveal .hero__content > :nth-child(1) { animation-delay: 0.15s; }
.has-reveal .hero__content > :nth-child(2) { animation-delay: 0.28s; }
.has-reveal .hero__content > :nth-child(3) { animation-delay: 0.42s; }
.has-reveal .hero__content > :nth-child(4) { animation-delay: 0.56s; }

.has-reveal .hero--layout-3 .hero__content {
	animation: bop-rise 1.3s var(--ease-out) 0.1s both;
}

.has-reveal .hero__image {
	animation: bop-zoom 3.2s var(--ease-out) both;
}

.has-reveal .hero__scroll {
	animation: bop-fade 1s var(--ease) 1.2s both;
}

@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;
		scroll-behavior: auto !important;
	}
}

/* 20 Barrierefreiheit & Hilfsklassen ------------------------------------------- */
:focus-visible {
	outline: 2px solid var(--color-primary);
	outline-offset: 3px;
}

.hero--text-light :focus-visible,
.tone-dark :focus-visible,
.site-footer :focus-visible,
.site-header.is-transparent.is-on-dark:not(.is-scrolled) :focus-visible,
.lightbox :focus-visible {
	outline-color: var(--color-accent);
}

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.screen-reader-text:focus {
	clip: auto !important;
	width: auto;
	height: auto;
	margin: 0;
	padding: 0.75rem 1rem;
	background: var(--color-background);
	color: var(--color-heading);
	z-index: 100000;
}

.wp-caption,
.gallery-caption,
.sticky,
.bypostauthor {
	max-width: 100%;
}

/* Customizer-Vorschau: Animationen aus, damit Änderungen sofort sichtbar sind. */
.customize-partial-edit-shortcuts-shown [data-reveal] {
	opacity: 1;
	transform: none;
}

@media print {
	.site-header,
	.mobilebar,
	.offcanvas,
	.hero__scroll,
	.map-consent__box {
		display: none !important;
	}

	.bop-section {
		padding-block: 32px;
	}
}

/* Feinschliff --------------------------------------------------------------- */
.stat__value,
.price-item__price,
.service__price,
.error-404__code,
.hours__time,
.infobar,
.contact-item__value {
	font-variant-numeric: lining-nums tabular-nums;
	font-feature-settings: "lnum" 1;
}

.section-head--left {
	margin-bottom: clamp(28px, 3.2vw, 44px);
}

.price-list > .price-item:first-child {
	padding-top: 0;
}

.contact.no-form .contact__hours {
	padding: clamp(22px, 2.6vw, 32px);
	border-radius: var(--radius-card);
	background: var(--surface);
}

@media (min-width: 1100px) {
	.contact.no-form:not(.has-admin-hint) .contact__info {
		display: grid;
		grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
		column-gap: clamp(20px, 2.6vw, 36px);
		align-items: start;
	}

	.contact.no-form:not(.has-admin-hint) .contact__info > .section-head {
		grid-column: 1 / -1;
	}

	.contact.no-form:not(.has-admin-hint) .contact-list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.contact.no-form:not(.has-admin-hint) .contact__hours {
		margin-top: 0;
		max-width: none;
	}
}

@media (max-width: 479px) {
	.price-item__name {
		flex: 1;
	}

	.price-item__leader {
		display: none;
	}
}

/* Heller Hauptbutton auf dunkler Glaskarte (Hero-Layout 3) */
.hero--layout-3.hero--text-light.has-media .hero__actions .btn--primary {
	--btn-bg: var(--color-light);
	--btn-fg: var(--color-heading);
	--btn-border: var(--color-light);
}

.hero--layout-3.hero--text-light.has-media .hero__actions .btn--primary:hover {
	--btn-bg: var(--color-accent);
	--btn-fg: var(--color-on-accent);
	--btn-border: var(--color-accent);
}
