/* ==========================================================================
   WildVenture Pilates — Vorlage
   Design-Referenz: docs/WildVenture Homepage.pdf (Entwurfsbreite 1024 px)
   Alle Werte sind aus dem PDF gemessen und proportional umgerechnet.
   Bootstrap 5.3.8 liefert Reset, Grid und Utilities; hier steht nur das Theme.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Schriften (lokal, kein externer Aufruf)
   -------------------------------------------------------------------------- */

@font-face {
	font-family: 'Playfair Display';
	src: url('../fonts/PlayfairDisplay-Regular.woff2') format('woff2');
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'Playfair Display';
	src: url('../fonts/PlayfairDisplay-Italic.woff2') format('woff2');
	font-weight: 400;
	font-style: italic;
	font-display: swap;
}

@font-face {
	font-family: 'Playfair Display';
	src: url('../fonts/PlayfairDisplay-Bold.woff2') format('woff2');
	font-weight: 700;
	font-style: normal;
	font-display: swap;
}

/* Kapitälchen-Schnitt für die Kursüberschriften (PlayfairDisplaySC-Bold im PDF) */
@font-face {
	font-family: 'Playfair Display SC';
	src: url('../fonts/PlayfairDisplaySC-Bold-latin.woff2') format('woff2');
	font-weight: 700;
	font-style: normal;
	font-display: swap;
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
	font-family: 'Playfair Display SC';
	src: url('../fonts/PlayfairDisplaySC-Bold-latin-ext.woff2') format('woff2');
	font-weight: 700;
	font-style: normal;
	font-display: swap;
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
	font-family: 'Raleway';
	src: url('../fonts/Raleway-Light.woff2') format('woff2');
	font-weight: 300;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'Raleway';
	src: url('../fonts/Raleway-Regular.woff2') format('woff2');
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'Raleway';
	src: url('../fonts/Raleway-Medium.woff2') format('woff2');
	font-weight: 500;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'Raleway';
	src: url('../fonts/Raleway-Bold.woff2') format('woff2');
	font-weight: 700;
	font-style: normal;
	font-display: swap;
}

/* --------------------------------------------------------------------------
   2. Tokens

   Schriftgrößen: clamp(Mobil, PDF-Wert als vw, Deckel).
   Der vw-Wert ist PDF-Pixel / 1024 — bei 1024 px Viewport also exakt das PDF.
   Der Deckel greift ab ~1180 px, damit der Fließtext nicht mitwächst.
   -------------------------------------------------------------------------- */

:root {
	--wv-brown: #5f3f2e;
	--wv-cream: #f8f0dd;
	--wv-cream-transparent: rgba(248, 240, 221, 0.4);
	--wv-green: #28483e;
	--wv-sand: #f8ede4;

	--wv-font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
	--wv-font-caps: 'Playfair Display SC', 'Playfair Display', Georgia, serif;
	--wv-font-text: 'Raleway', 'Helvetica Neue', Arial, sans-serif;

	--wv-fs-h1: clamp(2.25rem, 5.273vw, 3.875rem);
	--wv-fs-h2: clamp(1.625rem, 2.734vw, 2.5rem);
	--wv-fs-lead: clamp(1.1875rem, 2.441vw, 1.75rem);
	--wv-fs-body: clamp(0.9375rem, 1.465vw, 1.0625rem);
	--wv-fs-body-dense: clamp(0.9375rem, 1.172vw, 1rem);
	--wv-fs-card-title: clamp(1rem, 1.563vw, 1.125rem);
	--wv-fs-card-text: clamp(0.875rem, 1.084vw, 0.9375rem);
	--wv-fs-nav: clamp(0.9375rem, 1.563vw, 1.0625rem);
	--wv-fs-footer: clamp(0.8125rem, 1.27vw, 0.9375rem);
	--wv-fs-btn-lg: clamp(1.0625rem, 2.148vw, 1.375rem);
	--wv-fs-btn: clamp(1rem, 1.758vw, 1.125rem);

	/* Vertikale Rhythmik der Abschnitte, aus den PDF-Abständen abgeleitet */
	--wv-section-y: clamp(3rem, 5.66vw, 5.5rem);
}

/* --------------------------------------------------------------------------
   3. Basis
   -------------------------------------------------------------------------- */

body {
	font-family: var(--wv-font-text);
	font-weight: 400;
	font-size: var(--wv-fs-body);
	line-height: 1.65;
	color: var(--wv-brown);
	background-color: var(--wv-cream);
	-webkit-font-smoothing: antialiased;
}

.wv-site {
	min-height: 100vh;
	display: flex;
	flex-direction: column;
}

#main-content {
	flex: 1 0 auto;
}

h1,
h2,
h3 {
	font-family: var(--wv-font-display);
	font-weight: 400;
	line-height: 1.15;
	margin: 0;
}

p {
	margin: 0 0 1.5em;
}

p:last-child {
	margin-bottom: 0;
}

a {
	color: inherit;
}

/* Sichtbarer Fokus, den Bootstrap sonst überfärbt */
a:focus-visible,
button:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 3px;
	box-shadow: none;
}

/* --------------------------------------------------------------------------
   4. Farbflächen und Textbausteine
   Band-Klassen (wv-band-*) bleiben als Alias; neu: morp_color.colname
   via Brick t1__farbe / t2__farbe (braun, creme, gruen, sand, bg-white, bg-black).
   -------------------------------------------------------------------------- */

.braun,
.bg-brown,
.wv-band-brown {
	background-color: var(--wv-brown);
	color: var(--wv-cream);
}

.creme,
.bg-cream,
.wv-band-cream {
	background-color: var(--wv-cream);
	color: var(--wv-brown);
}

.gruen,
.bg-green,
.wv-band-green {
	background-color: var(--wv-green);
	color: var(--wv-cream);
}

.sand,
.bg-sand {
	background-color: var(--wv-sand);
	color: var(--wv-brown);
}

.bg-white {
	background-color: #fff;
	color: var(--wv-brown);
}

.bg-black {
	background-color: #000;
	color: var(--wv-cream);
}

/* Brick t*__farbe (colname) schlägt Legacy wv-band-* im Feld „Klasse“ */
section.braun {
	background-color: var(--wv-brown);
	color: var(--wv-cream);
}
section.creme {
	background-color: var(--wv-cream);
	color: var(--wv-brown);
}
section.gruen {
	background-color: var(--wv-green);
	color: var(--wv-cream);
}
section.sand {
	background-color: var(--wv-sand);
	color: var(--wv-brown);
}
section.bg-white {
	background-color: #fff;
	color: var(--wv-brown);
}
section.bg-black {
	background-color: #000;
	color: var(--wv-cream);
}

/* Innenabstand bei Hintergrundfarbe (Brick t*__farbe → .inner-color;
   Legacy-Band-Klassen ebenfalls, bis Inhalte migriert sind) */
.inner-color,
section.braun,
section.bg-brown,
section.wv-band-brown,
section.creme,
section.bg-cream,
section.wv-band-cream,
section.gruen,
section.bg-green,
section.wv-band-green,
section.sand,
section.bg-sand,
section.bg-white,
section.bg-black {
	padding: 3rem 0;
}

.wv-h1 {
	font-size: var(--wv-fs-h1);
}

.wv-h2 {
	font-size: var(--wv-fs-h2);
}

/* Playfair Bold — H1 dezent größer als H2 (Über mich) */
.wv-h1--bold {
	font-weight: 700;
	font-size: clamp(1.25rem, 2.15vw, 2.25rem);
	line-height: 1.35;
}

.wv-h2--bold {
	font-weight: 700;
	font-size: clamp(1.35rem, 1.465vw, 1.75rem);
	line-height: 1.35;
}

.wv-lead {
	font-size: var(--wv-fs-lead);
	font-weight: 400;
	line-height: 1.3;
}

.wv-list {
	margin: 0 0 1.5em;
	padding-left: 1.25em;
}

.wv-list li {
	margin-bottom: 0.35em;
}
h1 {
	font-size: 2.15rem;
}

h2 {
	font-size: 1.75rem;
}

h3 {
	font-size: 1.35rem;
	margin-bottom: 0.5rem;
}
/* --------------------------------------------------------------------------
   5. Button — transparent mit Pill-Rahmen (PDF: 287x60 bzw. 243x46)
   -------------------------------------------------------------------------- */

.wv-btn {
	display: inline-block;
	border: 1px solid currentColor;
	border-radius: 999px;
	padding: 0.72em 1.9em;
	font-size: var(--wv-fs-btn);
	line-height: 1.3;
	text-decoration: none;
	background: rgba(0, 0, 0, 0.2);
	transition: background-color 0.2s ease, color 0.2s ease;
	color: #fff;;
}

.wv-btn:hover,
.wv-btn:focus {
	background-color: var(--wv-cream);
	color: var(--wv-brown);
}

.wv-btn--lg {
	font-size: var(--wv-fs-btn-lg);
	padding: 0.68em 2.5em;
}

/* Bootstrap-Klassen aus alten Bricks / TinyMCE → gleiches Look wie .wv-btn */
main a.btn,
main .btn.btn-info,
main .btn.btn-success,
main .btn.btn-primary,
main .btn.btn-secondary,
main .btn.btn-warning,
main button.btn-send {
	display: inline-block;
	border: 1px solid currentColor;
	border-radius: 999px;
	padding: 0.72em 1.9em;
	font-size: var(--wv-fs-btn);
	line-height: 1.3;
	text-decoration: none;
	background: rgba(0, 0, 0, 0.2);
	transition: background-color 0.2s ease, color 0.2s ease;
	color: #fff;
	box-shadow: none;
}

main a.btn:hover,
main a.btn:focus,
main .btn.btn-info:hover,
main .btn.btn-success:hover,
main .btn.btn-primary:hover,
main button.btn-send:hover {
	background-color: var(--wv-cream);
	color: var(--wv-brown);
}

/* Abstand CTA unter Fließtext */
.row-link-wrap {
	margin-top: 1.5rem;
	margin-bottom: 0.25rem;
}

.wv-sub .row-link-wrap {
	margin-top: 1.75rem;
}

/* --------------------------------------------------------------------------
   6. Kopfzeile — liegt über dem Hero (PDF: Logo 46/34, Navigation rechts)
   Blur/Frost nur auf .wv-nav-panel (Desktop), nicht auf dem Header.
   -------------------------------------------------------------------------- */

.wv-header {
	position: absolute;
	inset: 0 0 auto 0;
	z-index: 20;
	padding: clamp(0.85rem, 2.2vw, 1.35rem) 4.49vw;
	color: var(--wv-cream);
	background: transparent;
}

body:has(main > section:first-child.creme) .wv-header,
body:has(main > section:first-child.bg-cream) .wv-header,
body:has(main > section:first-child.sand) .wv-header,
body:has(main > section:first-child.bg-sand) .wv-header,
body:has(main > section:first-child.bg-white) .wv-header,
body:has(main > section:first-child.wv-band-cream) .wv-header,
body:has(main > section:first-child.wv-prose) .wv-header,
body:has(main > section:first-child.wv-titlebar) .wv-header {
	color: var(--wv-brown);
}

/* Ohne Hero und ohne Titlebar: Inhalt unter dem Logo */
body:not(:has(main > section:first-child.wv-hero)):not(:has(main > section:first-child.wv-titlebar)) #main-content > section:first-child {
	padding-top: clamp(9.5rem, 18vw, 11rem);
}

body:not(:has(main > section:first-child.wv-hero)):not(:has(main > section:first-child.wv-titlebar)) #main-content > section:first-child :is(
	.wv-prose > h1:first-child,
	.text-editor > h1:first-child,
	.wv-faq__title,
	h1.wv-h1,
	h1.wv-h1--bold
) {
	font-size: var(--wv-fs-h2);
	line-height: 1.25;
	margin-bottom: 0.85em;
	max-width: 36rem;
}

/* Seitentitel neben Logo (tid=15) — gleiche Zeile wie Header-Logo */
.wv-titlebar {
	background-color: var(--wv-cream);
	color: var(--wv-brown);
	padding: 3.32vw 4.49vw 1.75rem;
}

.wv-titlebar__inner {
	margin-left: calc(clamp(4.5rem, 9.28vw, 7.5rem) + clamp(0.85rem, 1.6vw, 1.5rem));
	min-height: clamp(4.5rem, 9.28vw, 7.5rem);
	display: flex;
	flex-direction: column;
	justify-content: center;
	max-width: min(38rem, calc(100% - clamp(7rem, 28vw, 18rem)));
}

.wv-titlebar .text-editor > h1:first-child,
.wv-titlebar h1 {
	font-family: "Playfair Display", Georgia, serif;
	font-size: clamp(1.05rem, 1.45vw, 1.25rem);
	font-weight: 700;
	line-height: 1.3;
	margin: 0;
	color: var(--wv-brown);
}

.wv-titlebar .text-editor > h1:first-child + p,
.wv-titlebar h1 + p {
	margin: 0.35em 0 0;
	font-family: "Playfair Display", Georgia, serif;
	font-size: clamp(0.9rem, 1.1vw, 1.05rem);
	font-style: italic;
	line-height: 1.4;
	color: var(--wv-brown);
}

.wv-titlebar + .wv-prose {
	padding-top: 0.5rem;
}

.wv-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
	position: relative;
	z-index: 42;
}

.wv-header__inner > a:first-child {
	position: relative;
	z-index: 43;
	flex-shrink: 0;
}

.wv-logo {
	display: block;
	width: clamp(4.5rem, 9.28vw, 7.5rem);
	height: auto;
}

.wv-nav {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
	align-items: center;
	gap: clamp(1rem, 2.15vw, 2rem);
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: var(--wv-fs-nav);
}

.wv-nav a {
	text-decoration: none;
	padding-bottom: 2px;
	border-bottom: 1px solid transparent;
}

.wv-nav li {
	margin: 0;
}

.wv-nav > li > a:hover,
.wv-nav > li > a[aria-current='page'],
.wv-nav > li.active > a {
	border-bottom-color: currentColor;
}

.wv-nav__item--has-sub {
	position: relative;
	padding-bottom: 0;
}

.wv-nav > li {
	display: flex;
	align-items: center;
}

.wv-nav__item--has-sub:hover,
.wv-nav__item--has-sub:focus-within {
	z-index: 22;
}

/* top: 100% + Innen-padding statt Lücke — sonst bricht Hover zum Dropdown ab */
.wv-nav__sub {
	position: absolute;
	top: 100%;
	left: 0;
	right: auto;
	min-width: 13.5rem;
	margin: 0;
	padding: 0.55rem 0 0.55rem;
	list-style: none;
	background: var(--wv-cream-transparent);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	color: var(--wv-brown);
	box-shadow: 0 0.6rem 1.4rem rgba(95, 63, 46, 0.16);
	z-index: 21;
	visibility: hidden;
	opacity: 0;
	pointer-events: none;
	text-align: left;
}

.wv-nav__item--has-sub:hover > .wv-nav__sub,
.wv-nav__item--has-sub:focus-within > .wv-nav__sub {
	visibility: visible;
	opacity: 1;
	pointer-events: auto;
}

.wv-nav__sub li {
	display: block;
	text-align: left;
}

.wv-nav__sub a {
	display: block;
	padding: 0.4rem 1.1rem;
	white-space: nowrap;
	border-bottom: none;
	color: var(--wv-brown);
	text-align: left;
	transition: background-color 0.15s ease;
}

.wv-nav .wv-nav__sub a:hover,
.wv-nav .wv-nav__sub a:focus-visible,
.wv-nav .wv-nav__sub li.active > a,
.wv-nav .wv-nav__sub a[aria-current='page'] {
	border-bottom: none;
	background: rgba(95, 63, 46, 0.08);
	color: var(--wv-brown);
}

.wv-nav .wv-nav__sub li.active > a,
.wv-nav .wv-nav__sub a[aria-current='page'] {
	font-weight: 500;
	background: rgba(95, 63, 46, 0.12);
}

/* Hamburger + Brief-Icon (Mobile) */
.wv-header__tools {
	display: none;
	align-items: center;
	gap: 0.5rem;
	flex-shrink: 0;
	position: relative;
	z-index: 43;
}

.wv-nav-mail {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.75rem;
	height: 2.75rem;
	margin: 0;
	padding: 0;
	border: 1px solid currentColor;
	border-radius: 0.35rem;
	background: transparent;
	color: inherit;
	cursor: pointer;
	flex-shrink: 0;
}

.wv-nav-mail__icon {
	display: block;
}

.wv-nav-cta {
	flex-shrink: 0;
	margin: 0;
	cursor: pointer;
	font: inherit;
}

.wv-nav-toggle {
	display: none;
	flex-direction: column;
	justify-content: center;
	gap: 0.35rem;
	width: 2.75rem;
	height: 2.75rem;
	margin: 0;
	padding: 0.55rem;
	border: 1px solid currentColor;
	border-radius: 0.35rem;
	background: transparent;
	color: inherit;
	cursor: pointer;
	flex-shrink: 0;
	position: relative;
	z-index: 43;
}

.wv-nav-toggle__bar {
	display: block;
	height: 2px;
	width: 100%;
	background: currentColor;
	transition: transform 0.2s ease, opacity 0.2s ease;
}

.wv-header.is-nav-open .wv-nav-toggle__bar:nth-child(1) {
	transform: translateY(0.45rem) rotate(45deg);
}

.wv-header.is-nav-open .wv-nav-toggle__bar:nth-child(2) {
	opacity: 0;
}

.wv-header.is-nav-open .wv-nav-toggle__bar:nth-child(3) {
	transform: translateY(-0.45rem) rotate(-45deg);
}

html.wv-nav-lock {
	overflow: hidden;
}

@media (max-width: 991.98px) {
	.wv-header {
		position: fixed;
		top: 0;
		left: 0;
		right: 0;
		z-index: 40;
		padding: 0.85rem 1.15rem;
		/* Blur am Pseudo — nicht am Header selbst, sonst wäre .wv-nav-panel
		   nur relativ zur Header-Box statt Viewport. */
	}

	.wv-header::before {
		content: '';
		position: absolute;
		inset: 0;
		z-index: 0;
		background: rgba(95, 63, 46, 0.32);
		backdrop-filter: blur(12px);
		-webkit-backdrop-filter: blur(12px);
		pointer-events: none;
	}

	body:has(main > section:first-child.creme) .wv-header::before,
	body:has(main > section:first-child.bg-cream) .wv-header::before,
	body:has(main > section:first-child.sand) .wv-header::before,
	body:has(main > section:first-child.bg-sand) .wv-header::before,
	body:has(main > section:first-child.bg-white) .wv-header::before,
	body:has(main > section:first-child.wv-band-cream) .wv-header::before,
	body:has(main > section:first-child.wv-prose) .wv-header::before,
	body:has(main > section:first-child.wv-titlebar) .wv-header::before {
		background: rgba(248, 240, 221, 0.55);
	}

	.wv-header__inner {
		z-index: 42;
	}

	.wv-header__tools {
		display: inline-flex;
	}

	.wv-nav-toggle {
		display: inline-flex;
	}

	/* Offen: Kontrast zu Creme-Overlay — Logo + Tools bleiben sichtbar */
	.wv-header.is-nav-open {
		color: var(--wv-brown);
	}

	.wv-header.is-nav-open .wv-nav-toggle,
	.wv-header.is-nav-open .wv-nav-mail {
		color: var(--wv-brown);
		border-color: var(--wv-brown);
		background: rgba(248, 240, 221, 0.95);
		box-shadow: 0 0 0 1px rgba(95, 63, 46, 0.2);
	}

	.wv-nav-panel {
		position: fixed;
		inset: 0;
		z-index: 30;
		display: flex;
		flex-direction: column;
		align-items: stretch;
		justify-content: flex-start;
		padding: calc(0.85rem + clamp(4.5rem, 18vw, 6rem) + 0.85rem) 1.25rem 2rem 0;
		background: rgba(248, 240, 221, 0.7);
		backdrop-filter: blur(16px);
		-webkit-backdrop-filter: blur(16px);
		color: var(--wv-brown);
		visibility: hidden;
		opacity: 0;
		pointer-events: none;
		transition: opacity 0.2s ease, visibility 0.2s ease;
		overflow-y: auto;
		-webkit-overflow-scrolling: touch;
	}

	.wv-header.is-nav-open .wv-nav-panel {
		visibility: visible;
		opacity: 1;
		pointer-events: auto;
	}

	.wv-nav {
		display: flex;
		flex-direction: column;
		flex-wrap: nowrap;
		align-items: stretch;
		justify-content: flex-start;
		gap: 0.65rem;
		width: 100%;
		max-width: none;
		padding-left: 30%;
		padding-right: 1.25rem;
		font-size: 1.125rem;
		text-align: left;
	}

	.wv-nav-cta {
		align-self: flex-start;
		margin-top: 1rem;
		margin-left: 30%;
		color: var(--wv-brown);
		background: transparent;
	}

	.wv-nav-cta:hover,
	.wv-nav-cta:focus {
		background: var(--wv-brown);
		color: var(--wv-cream);
	}

	.wv-nav > li {
		display: block;
		width: 100%;
		margin: 0;
		text-align: left;
	}

	.wv-nav > li > a {
		display: block;
		border-bottom-color: transparent;
		text-align: left;
	}

	.wv-nav__item--has-sub {
		display: block;
		padding-bottom: 0;
		width: 100%;
		text-align: left;
	}

	.wv-nav__sub {
		position: static !important;
		display: block;
		left: auto;
		right: auto;
		top: auto;
		min-width: 0;
		width: 100%;
		margin: 0.35rem 0 0.15rem;
		padding: 0 0 0 0.85rem;
		list-style: none;
		background: transparent;
		box-shadow: none;
		backdrop-filter: none;
		-webkit-backdrop-filter: none;
		visibility: visible !important;
		opacity: 1 !important;
		pointer-events: auto;
		color: inherit;
	}

	.wv-nav__sub li {
		display: block;
		width: 100%;
		margin: 0.35rem 0 0;
		text-align: left;
	}

	.wv-nav__sub a {
		display: block;
		padding: 0.2rem 0;
		font-size: 1rem;
		text-align: left;
		white-space: normal;
	}

	.wv-nav .wv-nav__sub a:hover,
	.wv-nav .wv-nav__sub a:focus-visible,
	.wv-nav .wv-nav__sub li.active > a,
	.wv-nav .wv-nav__sub a[aria-current='page'] {
		background: transparent;
		border-bottom: 1px solid currentColor;
	}

	/* Mobile: Bildspalte vor Text — oben knapper, unten mind. 2rem zum Text */
	.wv-section--auto .row > [class*='col-']:has(.wv-figure) {
		order: -1;
		margin-bottom: 2rem;
	}

	section.inner-color:has(.row > [class*='col-']:has(.wv-figure)),
	section.braun:has(.wv-figure),
	section.bg-brown:has(.wv-figure),
	section.wv-band-brown:has(.wv-figure),
	section.creme:has(.wv-figure),
	section.bg-cream:has(.wv-figure),
	section.wv-band-cream:has(.wv-figure),
	section.gruen:has(.wv-figure),
	section.bg-green:has(.wv-figure),
	section.wv-band-green:has(.wv-figure),
	section.sand:has(.wv-figure),
	section.bg-sand:has(.wv-figure),
	section.bg-white:has(.wv-figure),
	section.bg-black:has(.wv-figure) {
		padding-top: 1rem;
	}

	.wv-section--auto .row.align-items-center {
		align-items: flex-start;
	}
}

@media (min-width: 992px) {
	.wv-header__tools {
		display: none !important;
	}

	.wv-nav-toggle {
		display: none !important;
	}

	/* Desktop: Frost nur hinter der Nav, Verlauf oben → unten (Maske fadet Blur+Ton) */
	.wv-nav-panel {
		position: relative;
		inset: auto;
		display: flex;
		align-items: center;
		gap: clamp(1rem, 2vw, 1.75rem);
		padding: 0.65rem 1.15rem 1.35rem;
		visibility: visible;
		opacity: 1;
		pointer-events: auto;
		color: inherit;
		background: transparent;
		backdrop-filter: none;
		-webkit-backdrop-filter: none;
		isolation: isolate;
	}

	.wv-nav-cta {
		position: relative;
		z-index: 1;
		padding: 0.45em 1.35em;
		font-size: var(--wv-fs-nav);
		color: inherit;
		background: rgba(0, 0, 0, 0.18);
	}

	.wv-nav-cta:hover,
	.wv-nav-cta:focus {
		background-color: var(--wv-cream);
		color: var(--wv-brown);
	}

	.wv-nav-panel::before {
		content: '';
		position: absolute;
		inset: 0;
		z-index: -1;
		border-radius: 1rem;
		background: linear-gradient(
			to bottom,
			rgba(95, 63, 46, 0.42) 0%,
			rgba(95, 63, 46, 0) 100%
		);
		background: rgba(0, 0, 0, 0.5);
		backdrop-filter: blur(14px);
		-webkit-backdrop-filter: blur(14px);
		-webkit-mask-image: linear-gradient(to bottom, #000 0%, transparent 100%);
		mask-image: linear-gradient(to bottom, #000 0%, transparent 100%);
		pointer-events: none;
	}

	body:has(main > section:first-child.creme) .wv-nav-panel::before,
	body:has(main > section:first-child.bg-cream) .wv-nav-panel::before,
	body:has(main > section:first-child.sand) .wv-nav-panel::before,
	body:has(main > section:first-child.bg-sand) .wv-nav-panel::before,
	body:has(main > section:first-child.bg-white) .wv-nav-panel::before,
	body:has(main > section:first-child.wv-band-cream) .wv-nav-panel::before,
	body:has(main > section:first-child.wv-prose) .wv-nav-panel::before,
	body:has(main > section:first-child.wv-titlebar) .wv-nav-panel::before {
		background: linear-gradient(
			to bottom,
			rgba(248, 240, 221, 0.72) 0%,
			rgba(248, 240, 221, 0) 100%
		);
	}
}

/* --------------------------------------------------------------------------
   7. Abschnitts-Deckel + Hero
   max-height: 100vh gilt zunächst für alle main-Sections und den Hero.
   .wv-section--auto hebt den Deckel auf (lange Textabschnitte).
   -------------------------------------------------------------------------- */

main > section {
	max-height: 100vh;
}

.wv-section--auto {
	max-height: none;
	margin: 4rem 0;
}

.wv-hero {
	position: relative;
	max-height: 100vh;
	overflow: hidden;
	background-color: var(--wv-sand);
}

.wv-hero__media {
	display: block;
	width: 100%;
	/* height:auto ist nötig, sonst gewinnen die width/height-Attribute
	   des <img> gegen aspect-ratio */
	height: auto;
	max-height: 100vh;
	aspect-ratio: 16 / 9;
	object-fit: cover;
}

/* PDF Seite 2: der Banner ist auf 274 px Höhe beschnitten */
.wv-hero--flat .wv-hero__media {
	aspect-ratio: 1024 / 274;
}

/* Button sitzt im PDF auf 59 % der Herohöhe, 5,7 % vom linken Rand */
.wv-hero__cta {
	position: absolute;
	top: 59.2%;
	left: 5.66%;
}

.wv-hero__cta .row-link-wrap {
	display: contents;
}

@media (max-width: 575.98px) {
	.wv-hero__media {
		aspect-ratio: 4 / 5;
	}

	/* Der flache Banner wäre auf dem Handy nur rund 100 px hoch und läge
	   damit unter dem Logo. */
	.wv-hero--flat .wv-hero__media {
		aspect-ratio: 16 / 9;
	}

	.wv-hero__cta {
		top: auto;
		bottom: 8%;
	}
}

/* --------------------------------------------------------------------------
   8. Randlose Bilder — im PDF laufen mehrere Motive aus dem Satzspiegel heraus
   -------------------------------------------------------------------------- */

/* Die Fläche bestimmt die Figure (aspect-ratio oder Höhe), das Bild füllt
   sie absolut aus. Sonst setzt das <img> über seine Attribute die Höhe. */
.wv-figure {
	position: relative;
	margin: 0;
	overflow: hidden;
}
.wv-figure.shadow {
	box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}
.wv-figure__img {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* Der Anschnitt ragt absichtlich aus dem Satzspiegel heraus. Ohne clip
   würde daraus eine horizontale Bildlaufleiste. */
.braun,
.bg-brown,
.wv-band-brown,
.creme,
.bg-cream,
.wv-band-cream,
.gruen,
.bg-green,
.wv-band-green,
.sand,
.bg-sand,
.bg-white,
.bg-black,
section.wv-section--auto:has(.wv-bleed-end),
section.wv-section--auto:has(.wv-bleed-start) {
	overflow-x: clip;
}

@media (min-width: 992px) {
	/* bis zum linken Fensterrand — auch aus Bootstrap-.container / Spalte heraus */
	.wv-bleed-start {
		margin-left: calc(50% - 50vw);
		width: calc(50vw + 50%);
		max-width: none;
	}

	/* bis zum rechten Fensterrand */
	.wv-bleed-end {
		margin-right: calc(50% - 50vw);
		width: calc(50vw + 50%);
		max-width: none;
	}

	/* bleibt in der Spalte — Gegenstück zu wv-bleed-* */
	.wv-figure--contained {
		margin-left: 0;
		margin-right: 0;
		width: 100%;
		max-width: 100%;
	}
}

/* --------------------------------------------------------------------------
   9. Startseite — Intro (braunes Band, Bild links randlos)
   -------------------------------------------------------------------------- */

.wv-intro__media {
	aspect-ratio: 3 / 2;
}

.wv-intro__body {
	padding: var(--wv-section-y) 5.66vw;
}

/* PDF: Bild von links angeschnitten, der rechte Teil bleibt sichtbar */
.wv-intro__media .wv-figure__img {
	object-position: right center;
}

@media (min-width: 992px) {
	.wv-intro__media {
		/* PDF: Bild 457 px hoch, 58 px Luft nach oben und unten —
		   Deckel 100vh, damit der Abschnitt nicht über die Viewport-Höhe wächst */
		aspect-ratio: auto;
		height: min(44.63vw, calc(100vh - 11.32vw));
		margin-block: 5.66vw;
	}

	.wv-intro__body {
		/* PDF: Text beginnt 61 px nach der Bildkante, endet 76 px vor dem Rand */
		padding-left: 5.96vw;
		padding-right: 7.42vw;
		min-height: min(56.25vw, 100vh);
		display: flex;
		flex-direction: column;
		justify-content: center;
	}
}

.wv-intro__title {
	margin-bottom: 0.1em;
}

.wv-intro__lead {
	margin-bottom: 1.6em;
}

/* --------------------------------------------------------------------------
   10. Startseite — Kurse (3 Karten, Bild 2:3, Titel in Kapitälchen)
   -------------------------------------------------------------------------- */

/* PDF: Überschrift 34 px unter der Bandkante, Karten enden 33 px vor Schluss */
.wv-courses {
	padding-block: clamp(2rem, 3.32vw, 3rem);
}

main > section:has(.wv-course__media) {
	padding-bottom: clamp(2rem, 3.32vw, 3rem);
}

.wv-courses__title {
	margin-bottom: clamp(1.25rem, 2.25vw, 1.75rem);
}

.wv-course__media {
	aspect-ratio: 285 / 428;
	margin-bottom: 1.1rem;
}

.wv-course__media .wv-figure__img {
	transform: scale(1);
	transform-origin: center;
	transition: transform 0.55s ease;
}

.wv-course__media:hover .wv-figure__img,
.wv-course__media:focus-within .wv-figure__img,
.position-relative:has(.wv-course__media):hover .wv-course__media .wv-figure__img,
.position-relative:has(.wv-box-link:focus-visible) .wv-course__media .wv-figure__img {
	transform: scale(1.05);
}

@media (prefers-reduced-motion: reduce) {
	.wv-course__media .wv-figure__img {
		transition: none;
	}

	.wv-course__media:hover .wv-figure__img,
	.wv-course__media:focus-within .wv-figure__img,
	.position-relative:has(.wv-course__media):hover .wv-course__media .wv-figure__img,
	.position-relative:has(.wv-box-link:focus-visible) .wv-course__media .wv-figure__img {
		transform: none;
	}
}

/* Unsichtbarer Stretch-Link (nur wv-box-link, ohne Button-Look) */
.wv-box-link:not(.wv-btn) {
	font-size: 0;
	line-height: 0;
	color: transparent;
	text-decoration: none;
}

/* Sichtbarer CTA + Karte klickbar */
a.wv-box-link.wv-btn {
	position: relative;
	z-index: 3;
}

.wv-box-link::after {
	content: '';
	position: absolute;
	inset: 0;
	z-index: 2;
}

/* Kurskarten: auch ohne wv-box-link im Markup ganze Karte klickbar */
.position-relative:has(.wv-course__media) > .row-link-wrap > a.wv-btn::after {
	content: '';
	position: absolute;
	inset: 0;
	z-index: 2;
}

.wv-course__title {
	font-family: var(--wv-font-caps);
	font-weight: 700;
	font-size: var(--wv-fs-card-title);
	line-height: 1.2;
	margin: 0 0 0.45em;
}

.wv-course__text {
	font-size: var(--wv-fs-card-text);
	line-height: 1.5;
	margin: 0;
}

/* --------------------------------------------------------------------------
   11. Startseite — Kontakt (grün links, Bild rechts über die halbe Breite)
   -------------------------------------------------------------------------- */

/* Textblock vertikal zentriert zur Bildhöhe */
.wv-contact__body,
.wv-contact__body_cubic {
	padding: clamp(2.5rem, 4.88vw, 4rem) 5.66vw;
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: clamp(1.5rem, 3vw, 2.5rem);
}

@media (min-width: 992px) {
	.wv-contact__body {
		min-height: min(56.35vw, 100vh);
		height: 100%;
	}
	.wv-contact__body_cubic {		
		/* min-height: min(56.35vw, 100vh); */
		height: 100%;
	}
	/* Unterseite Kontakt: kein Hero-Vollhöhen-Zwang (sonst „verschoben“) */
	.wv-sub .wv-contact__body {
		min-height: 0;
		height: auto;
		justify-content: center;
		padding-block: clamp(2.5rem, 5vw, 4.5rem);
	}
}

.wv-contact__name {
	margin-top: 0.15em;
	margin-bottom: 0;
}

.wv-contact__cta .wv-btn {
	margin-top: 1.25rem;
}

.wv-contact__media {
	aspect-ratio: 2 / 3;
}

@media (min-width: 992px) {
	.wv-contact__media {
		aspect-ratio: auto;
		height: 100%;
		min-height: min(56.35vw, 100vh);
		max-height: 100vh;
	}
}

/* --------------------------------------------------------------------------
   12. Fußzeile — schmaler grüner Streifen unter dem Kontaktbereich
   -------------------------------------------------------------------------- */

.wv-footer {
	padding-top: clamp(1.5rem, 2.75vw, 2.25rem);
	padding-bottom: clamp(1rem, 1.95vw, 1.5rem);
}

.wv-footer__nav {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: clamp(1.5rem, 6.15vw, 4.5rem);
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: var(--wv-fs-footer);
}

.wv-footer__nav a {
	text-decoration: none;
}

.wv-footer__nav a:hover {
	text-decoration: underline;
}

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

/* Abstand nach Headline unabhängig von Abschnitt-Klasse wv-prose
   (global sind h1–h3 auf margin:0 — ohne diese Regeln klebt der Fließtext) */
.text-editor :is(h1, h2, h3),
.text-editor :is(.wv-h1, .wv-h2, .wv-h1--bold, .wv-h2--bold) {
	margin-top: 0;
	margin-bottom: 1em;
}

.text-editor :is(h1, .wv-h1, .wv-h1--bold) {
	margin-bottom: 0.85em;
}

.text-editor :is(h2, h3, .wv-h2, .wv-h2--bold) + :is(p, ul, ol) {
	margin-top: 0;
}

.wv-figure.img-hover-zoom .wv-figure__img {
	transform: scale(1);
	transform-origin: center;
	transition: transform 0.55s ease;
}

.wv-figure.img-hover-zoom:hover .wv-figure__img,
.wv-figure.img-hover-zoom:focus-within .wv-figure__img {
	transform: scale(1.05);
}

@media (prefers-reduced-motion: reduce) {
	.wv-figure.img-hover-zoom .wv-figure__img {
		transition: none;
	}

	.wv-figure.img-hover-zoom:hover .wv-figure__img,
	.wv-figure.img-hover-zoom:focus-within .wv-figure__img {
		transform: none;
	}
}

.wv-intro__body h1 {
	font-size: var(--wv-fs-h1);
}

/* --------------------------------------------------------------------------
   13. Über mich — Textabschnitte im Zweispalter
   -------------------------------------------------------------------------- */

.wv-prose {
	padding-block: var(--wv-section-y);
}

/* Fließtext-Stil hängt am Abschnitt — kein Extra-Wrapper um die <p> nötig */
.wv-prose p,
.wv-prose li {
	font-size: var(--wv-fs-body-dense);
	line-height: 1.7;
}

.wv-prose p {
	text-align: justify;
}

.wv-intro__body p {
	font-size: var(--wv-fs-body);
}

.wv-prose h1 {
	margin-bottom: 0.85em;
}
.wv-prose h2,
.wv-prose h3 {
	margin-bottom: 1em;
}

.wv-prose h1 + h2 {
	margin-top: -0.4em;
}

/* Abstand vor einer neuen Überschrift kommt vom Nachbarn, nicht von einer Extra-Klasse */
.wv-prose p:has(+ h1),
.wv-prose p:has(+ h2),
.wv-prose ul:has(+ h1),
.wv-prose ul:has(+ h2) {
	margin-bottom: 0;
}

.wv-prose p + h1,
.wv-prose p + h2,
.wv-prose ul + h1,
.wv-prose ul + h2 {
	margin-top: clamp(1.75rem, 2.73vw, 2.5rem);
}

/* Bildformate — später im Morpheus-Editor als Auswahl am Bildfeld.
   Klasse an die Figure (.wv-figure), nicht ans <img>. Thumb-Proportion
   muss zur Klasse passen, sonst schneidet thumb.php + object-fit doppelt. */
.wv-portrait {
	aspect-ratio: 1 / 2;
}

.wv-about-wide {
	aspect-ratio: 1770 / 1000;
}

.wv-about-landscape {
	aspect-ratio: 3 / 2;
}

.wv-about-portrait {
	aspect-ratio: 583 / 874;
}
.wv-cubic { aspect-ratio: 500 / 500; }
@media (min-width: 992px) {
	.wv-sticky-media {
		height: 100%;
	}
}

/* --------------------------------------------------------------------------
   FAQ-Liste (tid 54 / t54__modul_Faq_Liste)
   -------------------------------------------------------------------------- */

.wv-faq {
	padding-block: clamp(2rem, 4vw, 3.5rem);
}

.wv-faq__label {
	margin: 0 0 0.5rem;
	font-size: var(--wv-fs-nav);
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.wv-faq__title {
	margin: 0 0 0.75rem;
	font-size: var(--wv-fs-h1);
}

.wv-faq__lead {
	margin: 0 0 2rem;
	font-size: var(--wv-fs-lead);
	max-width: 42rem;
}

.faq-list {
	margin-top: 0.5rem;
	display: flex;
	flex-direction: column;
	gap: 2.5rem;
}

.faq-list__kat {
	margin: 0 0 1rem;
	font-family: var(--wv-font-display);
	font-size: var(--wv-fs-h2);
	color: var(--wv-brown);
}

.faq-list__dl {
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
}

.faq-list__item {
	padding-bottom: 1.15rem;
	border-bottom: 1px solid color-mix(in srgb, var(--wv-brown) 18%, transparent);
}

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

.faq-list__q {
	margin: 0 0 0.4rem;
	font-family: var(--wv-font-display);
	font-size: clamp(1.05rem, 1.4vw, 1.25rem);
	line-height: 1.35;
	color: var(--wv-brown);
}

.faq-list__a {
	margin: 0;
	font-size: var(--wv-fs-body);
	line-height: 1.6;
	max-width: 48rem;
}

.faq-list__empty {
	margin: 0;
	opacity: 0.7;
}

/* --------------------------------------------------------------------------
   Kursbuchung (t1__modul_Kursbuchung)
   -------------------------------------------------------------------------- */

.wv-kurs {
	padding-block: clamp(1.5rem, 3vw, 2.5rem);
}

.wv-kurs__grid {
	display: grid;
	gap: clamp(2rem, 4vw, 3.5rem);
}

@media (min-width: 992px) {
	.wv-kurs__grid {
		grid-template-columns: 1fr 1fr;
		gap: 3rem;
		align-items: start;
	}
}

.wv-kurs__title {
	margin: 0 0 0.75rem;
	font-family: var(--wv-font-display);
	font-size: var(--wv-fs-h2);
	color: var(--wv-brown);
}

.wv-kurs__lead {
	margin: 0 0 1.5rem;
	font-size: var(--wv-fs-body);
	line-height: 1.55;
	max-width: 32rem;
}

.wv-kurs__flash {
	margin: 0 0 1.25rem;
	padding: 0.85rem 1rem;
	background: color-mix(in srgb, var(--wv-green) 12%, transparent);
	border-left: 3px solid var(--wv-green);
	line-height: 1.45;
}

.wv-kurs__flash--err {
	background: color-mix(in srgb, #8b3a2a 12%, transparent);
	border-left-color: #8b3a2a;
}

.wv-kurs__termine {
	list-style: none;
	margin: 0 0 1.5rem;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.65rem;
	max-height: none;
	overflow: visible;
	border-top: 0;
}

@media (min-width: 520px) {
	.wv-kurs__termine {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 0.75rem;
	}
}

.wv-kurs__termin-item {
	margin: 0;
	min-width: 0;
}

.wv-kurs__termin {
	display: flex;
	flex-direction: column;
	height: 100%;
	margin: 0;
	padding: 0.85rem 0.75rem;
	cursor: pointer;
	background: #fff;
	border: 1px solid color-mix(in srgb, var(--wv-brown) 18%, transparent);
	transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.wv-kurs__termin:hover {
	border-color: color-mix(in srgb, var(--wv-green) 55%, transparent);
}

.wv-kurs__termin:has(input:checked) {
	border-color: var(--wv-green);
	background: color-mix(in srgb, var(--wv-green) 8%, #fff);
	box-shadow: inset 0 0 0 1px var(--wv-green);
}

.wv-kurs__termin:has(input:focus-visible) {
	outline: 2px solid color-mix(in srgb, var(--wv-green) 50%, transparent);
	outline-offset: 2px;
}

.wv-kurs__termin input {
	position: absolute;
	opacity: 0;
	width: 1px;
	height: 1px;
	margin: 0;
	pointer-events: none;
}

.wv-kurs__termin-body {
	display: flex;
	flex-direction: column;
	gap: 0.15rem;
	flex: 1;
	min-width: 0;
}

.wv-kurs__termin-date {
	font-family: var(--wv-font-text);
	font-size: clamp(0.95rem, 1.2vw, 1.05rem);
	line-height: 1.25;
	font-weight: 500;
	color: var(--wv-brown);
}

.wv-kurs__termin-label {
	font-family: var(--wv-font-text);
	font-size: clamp(0.9rem, 1.1vw, 0.98rem);
	line-height: 1.4;
	font-weight: 500;
	color: var(--wv-brown);
}

.wv-kurs__termin-time {
	font-size: 0.9rem;
	line-height: 1.3;
	opacity: 0.85;
}

.wv-kurs__termin-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: 0.25rem 0.5rem;
	margin-top: 0.45rem;
	padding-top: 0.45rem;
	border-top: 1px solid color-mix(in srgb, var(--wv-brown) 12%, transparent);
}

.wv-kurs__termin-preis {
	font-size: 0.9rem;
	font-weight: 500;
}

.wv-kurs__termin-status {
	font-size: 0.8rem;
	opacity: 0.75;
}

.wv-kurs__termin-status.is-full {
	color: var(--wv-brown);
	font-style: italic;
	opacity: 1;
}

.wv-kurs__termin.is-full:not(:has(input:checked)) {
	background: color-mix(in srgb, var(--wv-cream) 70%, #fff);
}

.wv-kurs__fields {
	display: flex;
	flex-direction: column;
	gap: 0.85rem;
	margin-bottom: 1.25rem;
}

.wv-kurs__fields label {
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
	font-size: 0.9rem;
}

.wv-kurs__fields input,
.wv-kurs__fields textarea {
	font: inherit;
	padding: 0.65rem 0.75rem;
	border: 1px solid color-mix(in srgb, var(--wv-brown) 25%, transparent);
	background: #fff;
	color: var(--wv-brown);
	border-radius: 0;
}

.wv-kurs__fields input:focus,
.wv-kurs__fields textarea:focus {
	outline: 2px solid color-mix(in srgb, var(--wv-green) 45%, transparent);
	outline-offset: 1px;
}

.wv-kurs__checks {
	display: flex;
	flex-direction: column;
	gap: 0.55rem;
	margin-bottom: 1.25rem;
}

.wv-kurs__check {
	display: flex;
	gap: 0.55rem;
	align-items: flex-start;
	font-size: 0.9rem;
	line-height: 1.4;
	cursor: pointer;
}

.wv-kurs__check input {
	margin-top: 0.2rem;
	accent-color: var(--wv-green);
}

.wv-kurs__check a {
	color: var(--wv-green);
}

.wv-kurs__btn {
	appearance: none;
	border: 0;
	background: var(--wv-green);
	color: var(--wv-cream);
	font: inherit;
	font-weight: 500;
	padding: 0.85rem 1.4rem;
	cursor: pointer;
	transition: background 0.2s ease;
}

.wv-kurs__btn:hover:not(:disabled) {
	background: color-mix(in srgb, var(--wv-green) 85%, #000);
}

.wv-kurs__btn:disabled {
	opacity: 0.5;
	cursor: not-allowed;
}

.wv-kurs__empty {
	margin: 0 0 1rem;
	opacity: 0.75;
}

/* --------------------------------------------------------------------------
   Kontakt-Popup (Brick kontakt_button)
   -------------------------------------------------------------------------- */

.wv-kontakt {
	padding: 0;
	border: none;
	background: transparent;
	max-width: calc(100vw - 1.5rem);
}

.wv-kontakt::backdrop {
	background: rgba(40, 72, 62, 0.55);
	backdrop-filter: blur(4px);
}

.wv-kontakt__panel {
	position: relative;
	width: min(26rem, 100%);
	margin: auto;
	padding: 1.75rem 1.5rem 1.5rem;
	background: var(--wv-cream);
	color: var(--wv-brown);
	border-radius: 0.5rem;
	box-shadow: 0 1rem 2.5rem rgba(40, 72, 62, 0.28);
}

.wv-kontakt__x {
	position: absolute;
	top: 0.65rem;
	right: 0.75rem;
	border: none;
	background: transparent;
	font-size: 1.75rem;
	line-height: 1;
	color: var(--wv-brown);
	cursor: pointer;
	opacity: 0.7;
}

.wv-kontakt__x:hover {
	opacity: 1;
}

.wv-kontakt__title {
	margin: 0 0 0.35rem;
	font-family: var(--wv-font-display);
	font-size: 1.5rem;
	font-weight: 700;
}

.wv-kontakt__lead {
	margin: 0 0 1.15rem;
	font-size: 0.95rem;
	opacity: 0.85;
}

.wv-kontakt__label {
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
	margin-bottom: 0.85rem;
	font-size: 0.9rem;
}

.wv-kontakt__label input,
.wv-kontakt__label textarea {
	font: inherit;
	padding: 0.65rem 0.75rem;
	border: 1px solid color-mix(in srgb, var(--wv-brown) 25%, transparent);
	background: #fff;
	color: var(--wv-brown);
	border-radius: 0.25rem;
}

.wv-kontakt__check {
	display: flex;
	gap: 0.55rem;
	align-items: flex-start;
	margin: 0.5rem 0 1rem;
	font-size: 0.875rem;
	line-height: 1.4;
}

.wv-kontakt__check a {
	color: inherit;
	text-decoration: underline;
}

.wv-kontakt__hp {
	position: absolute !important;
	left: -9999px !important;
	width: 1px !important;
	height: 1px !important;
	opacity: 0 !important;
	pointer-events: none !important;
}

.wv-kontakt__status {
	margin: 0 0 0.85rem;
	font-size: 0.9rem;
}

.wv-kontakt__status.is-ok {
	color: var(--wv-green);
}

.wv-kontakt__status.is-err {
	color: #8a2e1a;
}

.wv-kontakt__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	align-items: center;
}

.wv-kontakt__cancel {
	border: none;
	background: transparent;
	color: var(--wv-brown);
	text-decoration: underline;
	cursor: pointer;
	font: inherit;
	opacity: 0.75;
}

.wv-kontakt__cancel:hover {
	opacity: 1;
}

html.wv-kontakt-open {
	overflow: hidden;
}


@media (max-width: 767.98px) {
	.wv-section--auto {
		/* margin: 0 !important; */
	}

	/* Abstand kommt von Band-Padding (3rem), nicht vom Section-Margin */
	.inner-color,
	section.braun,
	section.bg-brown,
	section.wv-band-brown,
	section.creme,
	section.bg-cream,
	section.wv-band-cream,
	section.gruen,
	section.bg-green,
	section.wv-band-green,
	section.sand,
	section.bg-sand,
	section.bg-white,
	section.bg-black {
		padding-top: 2.5rem;
		padding-bottom: 2.5rem;
	}

	.wv-section--auto .row > [class*='col-']:has(.wv-figure) {
		margin-bottom: 2rem !important;
	}

	.wv-section--auto .row > [class*='col-']:has(.wv-figure) + [class*='col-'] > :first-child {
		margin-top: 0;
	}
	.wv-intro__body {
		padding-top: 1rem;
	}
}
