/* ==========================================================================
   SBN Ballett – Theme-Styles
   Scroll-Effekte hängen an html.fx (setzt main.js, nicht bei
   „Bewegung reduzieren“). Ohne .fx ist alles statisch und vollständig lesbar.
   Scroll-Fortschritt kommt als --p (0…1) pro Abschnitt aus main.js.
   ========================================================================== */

@font-face { font-family: "Italiana"; src: url("../fonts/italiana.woff2") format("woff2"); font-weight: 400; font-display: swap; }
/* Great Vibes (Google Fonts, OFL) – lokal im Theme, keine Verbindung zu Google */
@font-face { font-family: "Great Vibes"; src: url("../fonts/great-vibes.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Cormorant Garamond"; src: url("../fonts/cormorant-garamond.woff2") format("woff2"); font-weight: 300 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Cormorant Garamond"; src: url("../fonts/cormorant-garamond-italic.woff2") format("woff2"); font-weight: 300 700; font-style: italic; font-display: swap; }
@font-face { font-family: "Jost"; src: url("../fonts/jost.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
	/* Farben (aus der Vorlage: Studio-Grau, Pfirsich-Tüll, Weiß) */
	--bg: #E7E5E2;
	--bg-2: #F1EFEC;
	--paper: #FBFAF8;
	--ink: #2E2422;
	--ink-2: #5E4E49;
	--line: rgba(46, 36, 34, .16);
	--line-strong: #8A7A75; /* Ränder von Eingabefeldern, 3,9:1 auf --paper */
	--peach: #F3A88E;
	--peach-2: #F8CDBD;
	--peach-3: #FCE6DC;
	--rose: #A0472F;        /* Akzent für Text/Links, 5:1 auf --bg */
	--letter: #FFFBF8;      /* große Display-Buchstaben */
	--night: #241C1A;
	--night-2: #3A2E2B;

	/* Schriften */
	--f-display: "Italiana", "Didot", "Bodoni MT", serif;
	--f-serif: "Cormorant Garamond", "Garamond", "Times New Roman", serif;
	--f-sans: "Jost", "Futura", "Century Gothic", system-ui, sans-serif;
	--f-script: "Great Vibes", "Snell Roundhand", cursive;

	/* Raster */
	--gutter: clamp(16px, 4vw, 56px);
	--max: 1320px;
	--measure: 680px; /* Fließtext: ca. 70 Zeichen pro Zeile */
	--header-h: 84px;
	--ease: cubic-bezier(.2, .7, .1, 1);
	--ease-io: cubic-bezier(.65, 0, .35, 1);
	--p: 0;
}

/* ---------- Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
	margin: 0;
	background: var(--bg);
	color: var(--ink);
	font-family: var(--f-sans);
	font-size: 17px;
	font-weight: 400;
	line-height: 1.65;
	overflow-x: clip;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
img, video, svg, iframe { max-width: 100%; }
img { height: auto; display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .2em; transition: color .25s var(--ease), opacity .25s var(--ease); }
a:hover { color: var(--rose); }
:focus-visible { outline: 2px solid var(--rose); outline-offset: 3px; border-radius: 2px; }
/* Auf dunklem Grund ist Rosé zu schwach (2,7:1) – dort Pfirsich (8,6:1) */
.cta :focus-visible, .site-footer :focus-visible { outline-color: var(--peach); }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--f-serif); font-weight: 400; line-height: 1.1; margin: 0 0 .5em; text-wrap: balance; }
p { margin: 0 0 1.1em; text-wrap: pretty; }
address { font-style: normal; }
::selection { background: var(--peach-2); color: var(--ink); }

.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;
}
.skip-link:focus {
	clip: auto; width: auto; height: auto; margin: 0; z-index: 1000;
	top: 12px; left: 12px; padding: 12px 18px; background: var(--ink); color: var(--paper);
}

.wrap { width: min(var(--max), 100% - 2 * var(--gutter)); margin-inline: auto; }
.section { padding-block: clamp(56px, 9vw, 128px); }
.muted { color: var(--ink-2); }
.lead { font-family: var(--f-serif); font-size: clamp(1.35rem, 2.2vw, 1.9rem); line-height: 1.35; max-width: 34ch; margin-bottom: 1.6em; }

.eyebrow {
	font-family: var(--f-sans);
	font-size: 12px;
	font-weight: 400;
	letter-spacing: .32em;
	text-transform: uppercase;
	color: var(--ink-2);
	margin: 0 0 1.2em;
}
.section-title { font-size: clamp(2.2rem, 5vw, 4.4rem); font-weight: 300; letter-spacing: -.01em; margin: 0; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: clamp(32px, 5vw, 64px); flex-wrap: wrap; }

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

.link-arrow {
	display: inline-flex; align-items: center; gap: .6em;
	font-size: 13px; letter-spacing: .24em; text-transform: uppercase; text-decoration: none;
	padding-block: 10px; min-height: 44px;
	border-bottom: 1px solid currentColor;
}
.link-arrow .icon { transition: transform .35s var(--ease); }
.link-arrow:hover .icon { transform: translateX(6px); }
.link-arrow--back:hover .icon { transform: translateX(-6px); }

.btn, .wpcf7-submit, .search-submit, input[type="submit"] {
	display: inline-flex; align-items: center; justify-content: center; gap: .7em;
	min-height: 52px; padding: 14px 30px;
	background: var(--ink); color: var(--paper);
	border: 1px solid var(--ink); border-radius: 999px;
	font-family: var(--f-sans); font-size: 13px; letter-spacing: .22em; text-transform: uppercase; text-decoration: none;
	cursor: pointer;
	transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease);
}
.btn:hover, .wpcf7-submit:hover, input[type="submit"]:hover { background: var(--rose); border-color: var(--rose); color: #fff; }
.btn:active { transform: scale(.98); }
.btn .icon { transition: transform .35s var(--ease); }
.btn:hover .icon { transform: translateX(4px); }
.btn--ghost { background: transparent; color: inherit; border-color: currentColor; }
.btn--ghost:hover { background: currentColor; }
.btn--ghost:hover > * { color: var(--paper); }

/* ---------- Header ---------- */
.site-header {
	position: fixed; inset: 0 0 auto; z-index: 60;
	transition: transform .5s var(--ease), background .4s var(--ease), box-shadow .4s var(--ease);
}
.site-header__bar {
	height: var(--header-h);
	display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px;
	padding-inline: var(--gutter);
}
.site-header.is-solid { background: rgba(231, 229, 226, .82); -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2); box-shadow: 0 1px 0 var(--line); }
.site-header.is-hidden { transform: translateY(-100%); }
.site-header.is-hidden:focus-within { transform: none; } /* Tastatur-Fokus nie verdecken */
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
body.menu-open .site-header { transform: none; background: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }

.menu-toggle {
	justify-self: start; display: inline-flex; align-items: center; gap: 14px;
	background: none; border: 0; padding: 10px 6px 10px 0; min-height: 44px;
	font-size: 12px; letter-spacing: .3em; text-transform: uppercase; color: var(--ink-2);
}
.menu-toggle__lines { position: relative; width: 26px; height: 14px; display: block; }
.menu-toggle__lines span { position: absolute; left: 0; height: 1px; background: currentColor; transition: transform .45s var(--ease), width .45s var(--ease), opacity .3s; }
.menu-toggle__lines span:nth-child(1) { top: 0; width: 26px; }
.menu-toggle__lines span:nth-child(2) { top: 6px; width: 18px; }
.menu-toggle__lines span:nth-child(3) { top: 12px; width: 22px; }
.menu-toggle:hover .menu-toggle__lines span { width: 26px; }
.menu-toggle[aria-expanded="true"] .menu-toggle__lines span:nth-child(1) { transform: translateY(6px) rotate(45deg); width: 22px; }
.menu-toggle[aria-expanded="true"] .menu-toggle__lines span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] .menu-toggle__lines span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); width: 22px; }
.menu-toggle .when-open, .menu-toggle[aria-expanded="true"] .when-closed { display: none; }
.menu-toggle[aria-expanded="true"] .when-open { display: inline; }

.site-header__logo { justify-self: center; }
.logo { text-decoration: none; display: block; padding: 8px; }
.logo__text { font-family: var(--f-serif); font-size: 26px; font-weight: 500; letter-spacing: .14em; color: var(--ink); }
.custom-logo { max-height: 56px; width: auto; }
.site-header__contact { justify-self: end; display: flex; align-items: center; gap: 28px; font-size: 12px; letter-spacing: .12em; }
.site-header__contact a { text-decoration: none; color: var(--ink-2); display: inline-flex; align-items: center; min-height: 44px; }
.site-header__contact a:hover { color: var(--rose); }
.show-sm { display: none; }

/* ---------- Overlay-Menü ---------- */
.site-menu {
	position: fixed; inset: 0; z-index: 55;
	background: var(--bg-2);
	overflow-y: auto;
	clip-path: circle(0% at 40px 40px);
	transition: clip-path .8s var(--ease-io), visibility 0s .8s;
	visibility: hidden;
}
.site-menu[hidden] { display: block; }
.site-menu.is-open { clip-path: circle(150% at 40px 40px); visibility: visible; transition: clip-path .9s var(--ease-io), visibility 0s; }
.site-menu__inner {
	min-height: 100%; display: grid; grid-template-columns: 1.6fr 1fr; gap: 48px; align-items: center;
	padding: calc(var(--header-h) + 32px) var(--gutter) 48px;
	max-width: var(--max); margin-inline: auto;
}
.menu-list { list-style: none; margin: 0; padding: 0; counter-reset: m; }
.menu-list > li { overflow: hidden; }
.menu-list > li > a {
	display: inline-flex; align-items: baseline; gap: .4em;
	font-family: var(--f-display); font-size: clamp(2rem, min(6vw, 7.4vh), 5rem); line-height: 1.12; text-transform: uppercase; letter-spacing: .04em;
	text-decoration: none; color: var(--ink);
	transform: translateY(105%); transition: transform .8s var(--ease), color .3s;
	transition-delay: calc(var(--d, 0) * 50ms + 150ms);
}
.menu-list > li > a::before { counter-increment: m; content: counter(m, decimal-leading-zero); font-family: var(--f-sans); font-size: 12px; letter-spacing: .2em; color: var(--ink-2); transform: translateY(-1.6em); }
.site-menu.is-open .menu-list > li > a { transform: none; }
.menu-list > li > a:hover, .menu-list .current-menu-item > a { color: var(--rose); }
.menu-list .sub-menu { list-style: none; margin: 0 0 .6em; padding: 0 0 0 3.2em; display: flex; flex-wrap: wrap; gap: 4px 22px; }
.menu-list .sub-menu a { font-size: 13px; letter-spacing: .18em; text-transform: uppercase; text-decoration: none; color: var(--ink-2); display: inline-flex; align-items: center; min-height: 44px; }
.menu-list .sub-menu a:hover { color: var(--rose); }
.site-menu__aside { border-left: 1px solid var(--line); padding-left: 40px; font-size: 15px; }
.site-menu__aside a { text-decoration: none; }
.site-menu__aside, .menu-list .sub-menu { opacity: 0; transition: opacity .6s var(--ease) .1s; }
.site-menu.is-open .site-menu__aside, .site-menu.is-open .menu-list .sub-menu { opacity: 1; transition-delay: .55s; }
body.menu-open { overflow: hidden; }

.social { list-style: none; margin: 1.4em 0 0; padding: 0; display: flex; gap: 22px; flex-wrap: wrap; }
.social a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; text-decoration: none; }
.social .icon { width: 18px; height: 18px; }
.social--menu { flex-direction: column; gap: 0; }
.site-footer .social { flex-direction: column; gap: 0; margin-top: .6em; }
.social--hero { gap: 18px; }
.social--hero span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); }
.social--hero a { color: var(--ink-2); }

/* ---------- Hero / Bühne ---------- */
.hero { position: relative; height: 100vh; height: 100svh; }
.hero__stage {
	position: relative; height: 100vh; height: 100svh; overflow: hidden;
	display: grid; place-items: center;
	background: radial-gradient(120% 90% at 50% 45%, color-mix(in srgb, var(--hero-bg, var(--bg)) 90%, #fff) 0%, var(--hero-bg, var(--bg)) 55%, color-mix(in srgb, var(--hero-bg, var(--bg)) 94%, #000) 100%);
}
.fx .hero { height: 210vh; }
.fx .hero__stage { position: sticky; top: 0; }

.hero__kicker {
	position: absolute; top: calc(var(--header-h) + 7vh); left: 0; right: 0; z-index: 3;
	text-align: center; margin: 0;
	color: var(--ink-2); font-size: clamp(12px, 1.25vw, 16px); letter-spacing: .38em;
}
/* Weiß auf Grau wäre kaum lesbar (1,6:1); nur auf dem abgedunkelten Vollbild weiß */
.hero--voll .hero__kicker { color: var(--letter); text-shadow: 0 1px 14px rgba(0, 0, 0, .45); }
.hero__visual {
	position: absolute; left: 50%; top: 52%; z-index: 1;
	width: min(70vh, 78vw); aspect-ratio: 1;
	translate: -50% -50%;
}
.hero__img { width: 100%; height: 100%; object-fit: contain; }
.hero--frei .hero__visual { width: min(122vh, 104vw); top: 50%; }
.hero--frei .hero__img {
	-webkit-mask: radial-gradient(closest-side, #000 70%, transparent 99%);
	mask: radial-gradient(closest-side, #000 70%, transparent 99%);
}
/* mitgeliefertes Bild: Rand schon im Bild → keine Maske, die bei jedem Scroll-Schritt neu gerechnet wird */
.hero--frei .hero__img--soft { -webkit-mask: none; mask: none; }
.hero--voll .hero__visual { inset: 0; width: auto; aspect-ratio: auto; translate: none; left: 0; top: 0; }
.hero--voll .hero__img { object-fit: cover; }
.hero--voll .hero__visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(36, 28, 26, .25), rgba(36, 28, 26, .1) 40%, rgba(36, 28, 26, .35)); }

.hero__title { position: relative; z-index: 2; width: 100%; margin: 0; font-family: var(--f-display); font-weight: 400; line-height: 1; pointer-events: none; }
.hero__lockup { position: relative; display: block; width: min(92vw, 1500px); margin-inline: auto; }
.hero__word {
	display: flex; justify-content: space-between;
	width: 100%;
	font-size: min(32vh, 19vw); line-height: .78;
	color: var(--letter);
	text-shadow: 0 2px 40px rgba(150, 90, 70, .18);
}
.ltr { display: inline-block; }
.hero__script {
	position: absolute;
	font-family: var(--f-script); font-size: min(14vh, 10vw); line-height: 1; white-space: nowrap;
	color: var(--letter);
	rotate: -7deg;
	text-shadow: 0 2px 18px rgba(160, 71, 47, .45), 0 0 2px rgba(160, 71, 47, .25);
}
/* „Sport &“ oben links über dem B, „Neumann“ unten rechts unter „ETT“ */
.hero__script--top { left: 1%; top: 0; translate: 0 -72%; }
.hero__script--bottom { right: 0; top: 72%; }
/* Schrift und Größe pro Zeile aus dem Customizer (inc/fonts.php) */
.hero__script--top { font-family: var(--f-script-top, var(--f-script)); font-size: calc(min(14vh, 10vw) * var(--script-top-size, 1)); }
.hero__script--bottom { font-family: var(--f-script-bottom, var(--f-script)); font-size: calc(min(14vh, 10vw) * var(--script-bottom-size, 1)); }

/* gezeichnetes Tutu (wenn kein Hero-Bild gesetzt ist) */
.tutu { position: relative; width: 100%; height: 100%; filter: drop-shadow(0 30px 40px rgba(170, 90, 60, .22)); }
.tutu__layer {
	position: absolute; border-radius: 50%;
	-webkit-mask: radial-gradient(circle, #000 56%, rgba(0, 0, 0, .7) 64%, transparent 70.7%);
	mask: radial-gradient(circle, #000 56%, rgba(0, 0, 0, .7) 64%, transparent 70.7%);
}
.tutu__layer--1 { inset: 0; background: radial-gradient(circle, rgba(255, 236, 228, .55), transparent 62%), repeating-conic-gradient(from 0deg, #F6B29A 0deg 2.4deg, #F9C6B3 2.4deg 4.6deg, #F3A68B 4.6deg 6.4deg); opacity: .78; }
.tutu__layer--2 { inset: 8%; background: radial-gradient(circle, rgba(255, 240, 233, .5), transparent 60%), repeating-conic-gradient(from 3deg, #F8C0AB 0deg 2.8deg, #FCD8CA 2.8deg 5deg, #F5B099 5deg 7deg); rotate: 8deg; opacity: .9; }
.tutu__layer--3 { inset: 19%; background: repeating-conic-gradient(from 1deg, #FBD3C4 0deg 3.2deg, #FFE6DC 3.2deg 5.6deg, #F7BDA8 5.6deg 7.6deg); rotate: -5deg; }
.tutu__bodice {
	position: absolute; inset: 37%; border-radius: 50%;
	background: radial-gradient(circle at 42% 38%, #FBE0D5, #F2B7A1 55%, #E39D85 100%);
	box-shadow: inset 0 -8px 20px rgba(170, 90, 60, .25), 0 6px 18px rgba(170, 90, 60, .25);
}

.scroll-cue {
	position: absolute; left: var(--gutter); bottom: 0; z-index: 3;
	display: flex; flex-direction: column; align-items: center; gap: 16px;
	font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: var(--ink-2);
}
.scroll-cue span { writing-mode: vertical-rl; rotate: 180deg; }
.scroll-cue::after { content: ""; width: 1px; height: 64px; background: linear-gradient(var(--ink-2) 50%, transparent 50%); background-size: 1px 200%; animation: cue 2.2s var(--ease-io) infinite; }
@keyframes cue { from { background-position: 0 100%; } to { background-position: 0 -100%; } }
.social--hero { position: absolute; right: var(--gutter); bottom: 28px; z-index: 3; margin: 0; }

/* Hero: Einstieg + Scroll */
.fx .hero .ltr {
	translate: calc(var(--i) * var(--p) * 11vw) calc(var(--p) * -6vh);
	opacity: calc(1 - var(--p) * 1.7);
	animation: ltr-in 1.4s var(--ease) both;
	animation-delay: calc(.15s + (var(--i) + 4) * 70ms);
}
@keyframes ltr-in { from { opacity: 0; transform: translateY(18%) scaleY(1.08); filter: blur(10px); } }
.fx .hero__visual { scale: calc(1 + var(--p) * .55); opacity: calc(1 - var(--p) * .9); animation: rise 1.6s var(--ease) both .05s; will-change: scale, opacity; }
/* Eigene Grafik-Ebenen: Bild, Buchstaben und Schreibschrift werden beim Scrollen nur
   verschoben/skaliert statt neu gezeichnet. Das Bild als eigene Ebene bleibt beim
   Vergrößern in voller Auflösung scharf. */
.fx .hero__img, .fx .hero .ltr, .fx .hero__script, .fx .hero__kicker { will-change: transform, opacity; }
.fx .hero--voll .hero__visual { scale: calc(1.06 + var(--p) * .2); opacity: 1; }
@keyframes rise { from { opacity: 0; transform: translateY(6%) scale(.92); } }
.fx .tutu__layer--1 { rotate: calc(var(--p) * 30deg); }
.fx .tutu__layer--2 { rotate: calc(8deg - var(--p) * 45deg); }
.fx .tutu__layer--3 { rotate: calc(-5deg + var(--p) * 60deg); }
.fx .hero__script { opacity: calc(1 - var(--p) * 2.2); animation: write 1.6s var(--ease-io) both .9s; }
.fx .hero__script--top { translate: calc(var(--p) * -8vw) calc(-72% - var(--p) * 12vh); }
.fx .hero__script--bottom { translate: calc(var(--p) * 8vw) calc(var(--p) * 12vh); animation-delay: 1.6s; }
@keyframes write { from { clip-path: inset(-20% 100% -20% -5%); } to { clip-path: inset(-20% -5% -20% -5%); } }
.fx .hero__kicker { opacity: calc(1 - var(--p) * 3); translate: 0 calc(var(--p) * -8vh); animation: fade 1.2s var(--ease) both .2s; }
.fx .hero .scroll-cue, .fx .social--hero { opacity: calc(1 - var(--p) * 4); }
@keyframes fade { from { opacity: 0; } }

/* ---------- Willkommen: Wort für Wort ---------- */
.intro { position: relative; }
.intro__stage { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding-block: 120px; }
.fx .intro { height: 260vh; }
.fx .intro__stage { position: sticky; top: 0; height: 100vh; height: 100svh; padding-block: 0; }
.intro__text {
	font-family: var(--f-serif); font-weight: 400;
	font-size: clamp(1.9rem, 4.4vw, 4.3rem); line-height: 1.13; letter-spacing: -.01em;
	max-width: 27ch; margin: 0 0 .8em;
}
.fx .intro .w { opacity: clamp(.14, calc(var(--p) * (var(--n) + 6) - var(--w)), 1); transition: opacity .15s linear; }
.fx .intro__link { opacity: clamp(0, calc((var(--p) - .82) * 8), 1); }

/* ---------- Kurse: horizontale Leiste ---------- */
.courses { position: relative; background: var(--bg-2); }
.courses__stage { padding-block: clamp(72px, 10vw, 120px); display: flex; flex-direction: column; justify-content: center; gap: clamp(28px, 4vw, 56px); overflow: hidden; overflow: clip; /* clip: Fokus darf die Leiste nicht seitlich verschieben */ }
.courses__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.courses__viewport { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.courses__viewport::-webkit-scrollbar { display: none; }
.courses__track { list-style: none; margin: 0; padding: 0 var(--gutter); display: flex; gap: clamp(18px, 2.4vw, 40px); width: max-content; }
.course { flex: 0 0 clamp(250px, 24vw, 380px); scroll-snap-align: start; }
.course__link { display: block; text-decoration: none; color: inherit; }
.course__num { display: block; font-family: var(--f-serif); font-style: italic; font-size: 20px; color: var(--rose); margin-bottom: 12px; }
.course__media { margin: 0 0 22px; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 999px 999px 4px 4px; background: var(--peach-3); }
.course__media img { width: 100%; height: 100%; object-fit: cover; transition: scale 1.1s var(--ease); }
.course__link:hover .course__media img { scale: 1.06; }
.course__placeholder, .card__placeholder {
	display: grid; place-items: center; width: 100%; height: 100%;
	background:
		radial-gradient(circle at 50% 120%, rgba(255, 255, 255, .55), transparent 60%),
		repeating-conic-gradient(from 0deg at 50% 115%, #F8CDBD 0deg 2deg, #FBDCCF 2deg 4deg);
}
.course__title { font-family: var(--f-display); font-size: clamp(1.8rem, 2.6vw, 2.6rem); text-transform: uppercase; letter-spacing: .04em; margin: 0 0 .3em; transition: color .3s; }
.course__link:hover .course__title { color: var(--rose); }
.course__text { color: var(--ink-2); font-size: 15.5px; max-width: 32ch; }
.courses__progress { display: none; }

@media (min-width: 900px) {
	.fx .courses { height: var(--h, auto); }
	.fx .courses__stage { position: sticky; top: 0; height: 100vh; height: 100svh; padding-block: calc(var(--header-h) + 8px) 40px; }
	.fx .courses__viewport { overflow: visible; }
	.fx .courses__track { translate: calc(var(--x, 0) * -1px) 0; will-change: translate; }
	.fx .courses__progress { display: block; height: 1px; background: var(--line); width: min(var(--max), 100% - 2 * var(--gutter)); margin-inline: auto; }
	.fx .courses__progress span { display: block; height: 100%; background: var(--ink); transform-origin: 0 50%; scale: var(--p) 1; }
	.fx .course { flex-basis: clamp(220px, 33vh, 360px); }
	.fx .course__title { font-size: clamp(1.6rem, 2.2vw, 2.3rem); }
	.fx .course__text { font-size: 15px; }
}

/* ---------- Laufband ---------- */
.marquee { overflow: hidden; padding-block: clamp(36px, 6vw, 80px); border-block: 1px solid var(--line); }
.marquee__row { display: flex; align-items: center; gap: .5em; width: max-content; font-family: var(--f-display); font-size: clamp(3.4rem, 10vw, 9rem); line-height: 1; text-transform: uppercase; letter-spacing: .02em; white-space: nowrap; will-change: transform; }
.marquee__row span:nth-of-type(even) { color: transparent; -webkit-text-stroke: 1px var(--ink); }
.marquee__row i { width: .16em; height: .16em; border-radius: 50%; background: var(--peach); flex: none; }

/* ---------- Über uns: Bild öffnet sich ---------- */
.about { position: relative; }
.about__stage { position: relative; display: grid; gap: 0; }
.about__media { margin: 0; aspect-ratio: 16 / 10; overflow: hidden; background: linear-gradient(140deg, var(--peach-2), var(--peach) 60%, #E98D72); }
.about__media img { width: 100%; height: 100%; object-fit: cover; }
.about__media.is-empty { display: grid; place-items: center; }
.about__year { font-family: var(--f-display); font-size: min(40vh, 30vw); line-height: 1; color: rgba(255, 255, 255, .6); }
.about__card { background: var(--paper); padding: clamp(28px, 4vw, 56px); margin: -12vw var(--gutter) 0 auto; width: min(560px, calc(100% - 2 * var(--gutter))); position: relative; box-shadow: 0 30px 80px rgba(46, 36, 34, .12); }
.about__title { font-size: clamp(1.9rem, 3.4vw, 3rem); font-weight: 400; }
.stat { display: flex; align-items: baseline; gap: 14px; margin: 1.4em 0; }
.stat__num { font-family: var(--f-display); font-size: clamp(3.6rem, 7vw, 6rem); line-height: .9; color: var(--rose); }
.stat__label { font-size: 12px; letter-spacing: .24em; text-transform: uppercase; color: var(--ink-2); max-width: 14ch; line-height: 1.5; }

.fx .about { height: 300vh; --a: clamp(0, calc(var(--p) / .55), 1); --b: clamp(0, calc((var(--p) - .5) / .3), 1); }
.fx .about__stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: block; }
.fx .about__media {
	position: absolute; inset: 0; aspect-ratio: auto;
	clip-path: inset(calc((1 - var(--a)) * 24%) calc((1 - var(--a)) * 33%) round calc((1 - var(--a)) * 320px));
}
.fx .about__media img { scale: calc(1.3 - var(--a) * .3); }
.fx .about__card {
	position: absolute; right: var(--gutter); bottom: var(--gutter); margin: 0;
	opacity: var(--b); translate: 0 calc((1 - var(--b)) * 40vh);
}

/* ---------- Bühne / Emotion Pur ---------- */
.stage { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 7vw, 120px); align-items: center; padding-block: clamp(80px, 12vw, 180px); }
.stage__title { font-family: var(--f-script); font-size: clamp(4rem, 9vw, 8.5rem); line-height: .9; color: var(--rose); margin: 0 0 .25em; font-weight: 400; }
.stage__copy p { max-width: 42ch; color: var(--ink-2); }
.stage__media { margin: 0; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 999px 999px 4px 4px; background: linear-gradient(160deg, var(--peach-3), var(--peach-2)); }
.stage__parallax { width: 100%; height: 100%; }
.stage__parallax img { width: 100%; height: 100%; object-fit: cover; }
.fx .stage__parallax { height: 120%; translate: 0 calc((var(--p) - .5) * -16%); }

/* ---------- Karten / Raster ---------- */
.grid { display: grid; gap: clamp(28px, 3vw, 48px) clamp(20px, 2.4vw, 36px); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.card { min-width: 0; }
.card[hidden] { display: none; }
.card__link { display: block; text-decoration: none; color: inherit; height: 100%; }
.card__media { margin: 0 0 20px; aspect-ratio: 4 / 3; overflow: hidden; background: var(--peach-3); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: scale 1s var(--ease); }
.card__link:hover .card__media img { scale: 1.05; }
.card__placeholder { font-family: var(--f-display); font-size: 5rem; color: rgba(255, 255, 255, .85); }
.card__meta { margin-bottom: .7em; }
.card__title { font-size: clamp(1.5rem, 2vw, 1.9rem); margin-bottom: .35em; transition: color .3s; hyphens: auto; overflow-wrap: break-word; }
.card__link:hover .card__title { color: var(--rose); }
.card__excerpt { color: var(--ink-2); font-size: 15.5px; }
.card__more { display: inline-flex; align-items: center; gap: .5em; font-size: 12px; letter-spacing: .24em; text-transform: uppercase; }
.card__more .icon { transition: transform .35s var(--ease); }
.card__link:hover .card__more .icon { transform: translateX(5px); }
.news { padding-block: clamp(72px, 10vw, 140px); }

.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; margin-bottom: clamp(32px, 4vw, 56px); }
.chip {
	display: inline-flex; align-items: center; min-height: 44px; padding: 8px 20px;
	border: 1px solid var(--line); border-radius: 999px; background: transparent;
	font-size: 12px; letter-spacing: .2em; text-transform: uppercase; text-decoration: none; color: var(--ink);
	transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip.is-active { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.card.is-filtering { animation: card-in .6s var(--ease) both; animation-delay: calc(var(--k, 0) * 60ms); }
@keyframes card-in { from { opacity: 0; transform: translateY(24px); } }

/* ---------- Kontakt-Abschnitt ---------- */
.cta { color: var(--paper); /* Hintergrund: .night */ padding-block: clamp(90px, 13vw, 200px) clamp(64px, 8vw, 120px); overflow: hidden; }
.cta a { color: var(--paper); }
.cta a:hover { color: var(--peach); }
.cta__title { font-family: var(--f-display); font-weight: 400; margin: 0 0 clamp(40px, 6vw, 80px); line-height: .85; }
.cta__word { display: flex; justify-content: space-between; font-size: clamp(2.6rem, 9.6vw, 11rem); color: var(--paper); }
.fx .cta { --c: clamp(0, calc(var(--p) * 2.4 - .2), 1); }
.fx .cta .ltr { translate: calc(var(--i) * (1 - var(--c)) * 1.6vw) 0; opacity: calc(.15 + var(--c) * .85); }
.cta__grid { display: grid; grid-template-columns: 1.2fr 1fr auto; gap: clamp(28px, 4vw, 64px); align-items: start; border-top: 1px solid rgba(251, 250, 248, .18); padding-top: clamp(28px, 4vw, 48px); }
.cta__text { font-family: var(--f-serif); font-size: clamp(1.3rem, 2vw, 1.75rem); line-height: 1.35; margin: 0; max-width: 30ch; }
.cta__facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; font-size: 16px; }
.cta__facts li { display: flex; gap: 14px; align-items: flex-start; }
.cta__facts .icon { color: var(--peach); margin-top: .2em; }
.cta__facts a { text-decoration: none; }
.cta__actions { display: flex; flex-direction: column; gap: 12px; }
.cta .btn { background: var(--peach); border-color: var(--peach); color: var(--night); }
.cta .btn:hover { background: var(--paper); border-color: var(--paper); color: var(--night); }
.cta .btn--ghost { background: transparent; color: var(--paper); border-color: rgba(251, 250, 248, .45); }
.cta .btn--ghost:hover { background: var(--paper); color: var(--night); }

/* ---------- Footer ---------- */
.site-footer { color: rgba(251, 250, 248, .78); font-size: 15px; padding-top: clamp(40px, 5vw, 72px); }
.site-footer a { color: rgba(251, 250, 248, .9); text-decoration: none; }
.site-footer a:hover { color: var(--peach); }
.site-footer .eyebrow { color: rgba(251, 250, 248, .6); }
.site-footer .muted { color: rgba(251, 250, 248, .6); }
.site-footer__top { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid rgba(251, 250, 248, .14); }
.site-footer__word { font-family: var(--f-serif); font-size: 34px; letter-spacing: .14em; color: var(--paper); margin-bottom: .4em; }
.site-footer__bottom { display: flex; flex-wrap: wrap; gap: 16px 32px; justify-content: space-between; align-items: center; padding-block: 24px 32px; font-size: 13px; }
.site-footer__bottom p { margin: 0; }
/* Karte im Hintergrund von „Komm vorbei“ + Footer (gemeinsame Fläche .night):
   eigenes SVG aus OpenStreetMap-Daten, kein Kartendienst. Ihre Mitte – der
   Standort – liegt auf dem Punkt der einen sichtbaren Adresse ([data-map-anchor],
   Position --mx/--my aus main.js); der Radialverlauf lässt sie dort durchscheinen
   und nach außen dunkler werden. Beim Scrollen läuft sie langsamer mit (--py)
   und sitzt am Seitenende genau auf dem Punkt. */
.night { position: relative; overflow: hidden; isolation: isolate; background: var(--night); }
.night--map address { text-shadow: 0 0 6px var(--night), 0 0 14px var(--night); } /* Straßenlinien hinter der Schrift dämpfen */
.site-footer__col--address.has-map { position: relative; padding-left: 26px; }
.night-map {
	position: absolute; z-index: -1; left: var(--mx, 50%); top: var(--my, 45%);
	display: block; width: max(3600px, 260vw); aspect-ratio: 3 / 2; translate: -50% -50%;
	pointer-events: none;
}
.fx .night-map { translate: -50% calc(-50% - var(--py, 0) * .3px); will-change: translate; }
.night-map img { width: 100%; height: 100%; opacity: .46; }
.night-map::after {
	content: ""; position: absolute; inset: 0;
	background: radial-gradient(circle at 50% 50%, rgba(36, 28, 26, .08) 0, rgba(36, 28, 26, .42) 300px, rgba(36, 28, 26, .66) 900px, rgba(36, 28, 26, .76) 100%);
}
.map-link { text-decoration: none; display: inline-block; }
.map-link__hint { display: flex; align-items: center; gap: 6px; margin-top: .6em; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--peach); }
.map-link__hint .icon { width: 14px; height: 14px; transition: transform .35s var(--ease); }
.map-link:hover .map-link__hint .icon { transform: translate(2px, -2px); }
.map-anchor { position: relative; flex: none; width: 18px; height: 18px; margin-top: .2em; }
.site-footer__col--address .map-anchor { position: absolute; left: -3px; top: 2px; margin: 0; }
.map-pin { position: absolute; left: 50%; top: 50%; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; background: var(--peach); box-shadow: 0 0 0 4px rgba(243, 168, 142, .22); }
.map-pin::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 1px solid var(--peach); animation: pin 2.8s var(--ease) 4 both; }
@keyframes pin { from { transform: scale(1); opacity: .8; } to { transform: scale(4); opacity: 0; } }
.site-footer__credit { font-size: 11px; color: rgba(251, 250, 248, .6); }
.site-footer__credit a { color: inherit; }
.wa-link { display: inline-flex; align-items: center; gap: 8px; }
.wa-link .icon { color: var(--peach); }

/* Schmaler Footer unter „Komm vorbei“: Kontaktdaten stehen dort schon. */
.site-footer--compact { padding-top: 0; }
.site-footer__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 32px; padding-block: 20px; border-top: 1px solid rgba(251, 250, 248, .14); }
.site-footer__brandline { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 16px; margin: 0; font-size: 13px; color: rgba(251, 250, 248, .6); }
.site-footer__mark { font-family: var(--f-serif); font-size: 22px; letter-spacing: .14em; color: var(--paper); }
.site-footer .social--compact { flex-direction: row; gap: 0; margin: 0 -10px 0 0; }
.social--compact a { justify-content: center; width: 44px; }
.social--compact span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); }
.site-footer--compact .site-footer__bottom { padding-block: 0 24px; }
.footer-links { list-style: none; margin: 0; padding: 0; display: flex; gap: 24px; }
.footer-links a, .to-top { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; letter-spacing: .14em; text-transform: uppercase; font-size: 12px; }

/* ---------- Unterseiten-Kopf ---------- */
.page-hero {
	position: relative; min-height: 72vh; min-height: 72svh;
	display: flex; align-items: flex-end;
	padding: calc(var(--header-h) + 48px) var(--gutter) clamp(48px, 7vw, 96px);
	overflow: hidden;
	background: radial-gradient(90% 80% at 70% 30%, #EEECE9, var(--bg) 60%);
}
.page-hero:not(.has-image)::before {
	content: ""; position: absolute; z-index: 0; right: -12vw; top: 50%;
	width: min(78vh, 60vw); aspect-ratio: 1; translate: 0 -50%; border-radius: 50%;
	background: radial-gradient(circle, rgba(255, 238, 230, .7), transparent 60%), repeating-conic-gradient(from 0deg, #F8C4B1 0deg 2.4deg, #FBD7C9 2.4deg 4.6deg, #F5B39C 4.6deg 6.4deg);
	-webkit-mask: radial-gradient(circle, #000 52%, transparent 70.7%);
	mask: radial-gradient(circle, #000 52%, transparent 70.7%);
	opacity: .55;
}
.fx .page-hero:not(.has-image)::before { rotate: calc(var(--p) * 50deg); scale: calc(1 + var(--p) * .2); }
.page-hero__inner { position: relative; z-index: 2; width: min(var(--max), 100%); margin-inline: auto; }
.page-hero__title {
	font-family: var(--f-display); font-weight: 400; text-transform: uppercase;
	font-size: clamp(3rem, 11vw, 10rem); line-height: .92; letter-spacing: .06em;
	margin: 0; max-width: 14ch; overflow-wrap: anywhere; hyphens: auto;
}
.page-hero.is-mid .page-hero__title { font-size: clamp(2.6rem, 8vw, 7.4rem); max-width: 16ch; }
.page-hero.is-long .page-hero__title { font-size: clamp(2.2rem, 5.6vw, 5.2rem); max-width: 20ch; letter-spacing: .03em; }
.page-hero__media {
	position: absolute; z-index: 1; right: var(--gutter); top: calc(var(--header-h) + 16px); bottom: 0;
	width: min(38vw, 520px); margin: 0; overflow: hidden; border-radius: 999px 999px 0 0;
}
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero.has-image .page-hero__title { color: var(--ink); text-shadow: 0 0 40px var(--bg); }
.page-hero .scroll-cue { bottom: 0; left: auto; right: var(--gutter); }
.page-hero.has-image .scroll-cue { display: none; }
.fx .page-hero__inner { translate: 0 calc(var(--p) * 18vh); opacity: calc(1 - var(--p) * 1.4); }
.fx .page-hero__media img { scale: calc(1.05 + var(--p) * .25); }

/* ---------- Fließtext ---------- */
.prose { max-width: var(--measure); margin-inline: auto; font-size: 18px; }
.prose--lead > p:first-child, .prose--about > p:first-of-type { font-family: var(--f-serif); font-size: clamp(1.35rem, 2.2vw, 1.8rem); line-height: 1.4; }
.prose h2 { font-size: clamp(1.9rem, 3.2vw, 2.7rem); margin-top: 1.6em; }
.prose h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); margin-top: 1.4em; }
.prose h4 { font-family: var(--f-sans); font-size: 13px; letter-spacing: .24em; text-transform: uppercase; margin-top: 2em; }
.prose a { color: var(--rose); }
.prose strong { font-weight: 600; }
.prose img { border-radius: 2px; }
.prose figure, .prose .wp-caption { margin: 2em 0; max-width: 100%; }
.prose figcaption, .prose .wp-caption-text { font-size: 13px; color: var(--ink-2); margin-top: .6em; }
.prose .alignleft { float: left; margin: .3em 1.6em 1em 0; max-width: 50%; }
.prose .alignright { float: right; margin: .3em 0 1em 1.6em; max-width: 50%; }
.prose .aligncenter { margin-inline: auto; }
.prose .alignwide { width: min(1100px, 100vw - 2 * var(--gutter)); max-width: none; margin-inline: calc(50% - min(1100px, 100vw - 2 * var(--gutter)) / 2); }
.prose .alignfull { width: 100vw; max-width: none; margin-inline: calc(50% - 50vw); }
.prose::after { content: ""; display: table; clear: both; }
.prose blockquote { margin: 2em 0; padding-left: 1.4em; border-left: 1px solid var(--peach); font-family: var(--f-serif); font-size: 1.5em; line-height: 1.35; font-style: italic; }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose li { margin-bottom: .4em; }
.prose li::marker { color: var(--rose); }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 3em 0; }
.prose table { width: 100%; border-collapse: collapse; font-size: 15.5px; margin: 2em 0; }
.prose th, .prose td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { font-weight: 500; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-2); }
.prose .wp-block-gallery, .prose .gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px; }
.prose .gallery-item, .prose .wp-block-gallery.has-nested-images figure.wp-block-image.wp-block-image:not(#individual-image) { width: 100%; margin: 0; }
.prose .gallery-item img, .prose .wp-block-gallery img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 1; }
.prose iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; }
.prose .wp-block-embed iframe { aspect-ratio: 16 / 9; }
.prose .is-style-lead { font-family: var(--f-serif); font-size: clamp(1.35rem, 2.2vw, 1.8rem); line-height: 1.4; }
.prose .wp-block-columns { gap: clamp(20px, 4vw, 48px); margin: 2em 0; }
.prose .wp-block-column > :first-child { margin-top: 0; }
.prose .wp-block-table { margin: 2em 0; overflow-x: auto; }
.prose .wp-block-table table { margin: 0; }
.prose .wp-block-table thead { border-bottom: 0; }
.prose blockquote cite { display: block; margin-top: .6em; font-family: var(--f-sans); font-style: normal; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-2); }
.prose .wp-block-buttons { margin: 2.4em 0; gap: 12px; }
.prose .wp-block-button__link {
	display: inline-flex; align-items: center; min-height: 52px; padding: 14px 30px;
	background: var(--ink); color: var(--paper); border: 1px solid var(--ink); border-radius: 999px;
	font-family: var(--f-sans); font-size: 13px; letter-spacing: .22em; text-transform: uppercase; text-decoration: none;
	transition: background .3s var(--ease), border-color .3s var(--ease);
}
.prose .wp-block-button__link:hover { background: var(--rose); border-color: var(--rose); color: #fff; }
.prose .is-style-outline .wp-block-button__link { background: transparent; color: var(--ink); }

/* Videos: Platzhalter bis zum Klick (keine Verbindung zu YouTube/Vimeo) */
.prose .wp-block-embed { margin: 2.4em 0; }
.wp-block-embed.is-provider-youtube .wp-block-embed__wrapper::before,
.wp-block-embed.is-provider-vimeo .wp-block-embed__wrapper::before { content: none; }
.video-consent {
	position: relative; display: grid; place-items: center; align-content: center; gap: 14px;
	aspect-ratio: 16 / 9; padding: 24px; text-align: center;
	background:
		radial-gradient(circle at 50% 120%, rgba(255, 255, 255, .5), transparent 62%),
		repeating-conic-gradient(from 0deg at 50% 118%, #F3D2C5 0deg 2deg, #F8E2D8 2deg 4deg);
	border-radius: 2px;
}
.video-consent__play {
	display: inline-flex; align-items: center; gap: 14px; min-height: 56px; padding: 10px 28px 10px 12px;
	background: var(--ink); color: var(--paper); border: 0; border-radius: 999px; cursor: pointer;
	font-family: var(--f-sans); font-size: 13px; letter-spacing: .22em; text-transform: uppercase;
	transition: background .3s var(--ease), scale .3s var(--ease);
}
.video-consent__play:hover { background: var(--rose); scale: 1.03; }
.video-consent__play:focus-visible { outline: 2px solid var(--rose); outline-offset: 3px; }
.video-consent__icon { width: 36px; height: 36px; border-radius: 50%; background: var(--paper); position: relative; flex: none; }
.video-consent__icon::after { content: ""; position: absolute; left: 14px; top: 11px; border-style: solid; border-width: 7px 0 7px 11px; border-color: transparent transparent transparent var(--ink); }
.video-consent__note { margin: 0; max-width: 46ch; font-size: 13px; line-height: 1.5; color: var(--ink-2); }
.video-consent__note a { color: var(--rose); }
.video-consent.is-loaded { padding: 0; background: #000; }
.video-consent__frame { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Neueste Beiträge (Block) */
.prose .wp-block-latest-posts { list-style: none; padding: 0; margin: 1.6em 0; }
.prose .wp-block-latest-posts li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 16px; padding: 14px 0; border-bottom: 1px solid var(--line); margin: 0; }
.prose .wp-block-latest-posts a { font-family: var(--f-serif); font-size: 1.25rem; color: var(--ink); text-decoration: none; }
.prose .wp-block-latest-posts a:hover { color: var(--rose); }
.prose .wp-block-latest-posts__post-date { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-2); }

/* Team (Seite „Über Uns“) */
.team { border-top: 1px solid var(--line); }
.team__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(36px, 4vw, 64px) clamp(20px, 2.4vw, 40px); }
.team-member__media { margin: 0 0 22px; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 999px 999px 4px 4px; background: var(--peach-3); }
.team-member__media img { width: 100%; height: 100%; object-fit: cover; }
.team-member__placeholder {
	display: grid; place-items: center; width: 100%; height: 100%;
	font-family: var(--f-display); font-size: clamp(3.2rem, 6vw, 5rem); letter-spacing: .08em; color: rgba(255, 255, 255, .92);
	background:
		radial-gradient(circle at 50% 120%, rgba(255, 255, 255, .55), transparent 60%),
		repeating-conic-gradient(from 0deg at 50% 115%, #F8CDBD 0deg 2deg, #FBDCCF 2deg 4deg);
}
.team-member__name { font-family: var(--f-display); font-size: clamp(1.6rem, 2.2vw, 2.1rem); text-transform: uppercase; letter-spacing: .04em; margin: 0 0 .5em; }
.team-member__text { color: var(--ink-2); font-size: 15.5px; }
.team-member__text p { margin: 0 0 .8em; }

/* „Bild tauschen“ – nur für angemeldete Redakteure sichtbar */
.course, .card, .team-member { position: relative; }
.swap-link {
	position: absolute; top: 12px; right: 12px; z-index: 3;
	display: inline-flex; align-items: center; min-height: 36px; padding: 6px 14px;
	background: rgba(36, 28, 26, .82); color: #fff; border-radius: 999px;
	font-size: 11px; letter-spacing: .18em; text-transform: uppercase; text-decoration: none;
	-webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
	transition: background .25s var(--ease);
}
.swap-link:hover, .swap-link:focus-visible { background: var(--rose); color: #fff; }
.course .swap-link { top: 44px; }

.entry-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; max-width: var(--measure); margin: 0 auto 2.4em; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); }
.entry-meta a { text-decoration: none; }
.entry-meta__sep { width: 24px; height: 1px; background: var(--line); }
.post-nav { max-width: var(--measure); margin: clamp(48px, 7vw, 96px) auto 0; padding-top: 32px; border-top: 1px solid var(--line); display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.post-nav div:last-child { text-align: right; }
.post-nav a { text-decoration: none; display: block; }
.post-nav .eyebrow { display: block; margin-bottom: .4em; }
.post-nav__title { font-family: var(--f-serif); font-size: 1.35rem; line-height: 1.25; }
.post-back { max-width: var(--measure); margin: 32px auto 0; }

.course-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(32px, 6vw, 96px); align-items: start; }
.course-layout .prose { margin: 0; }
.course-aside { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 24px; }
.course-aside__box { background: var(--paper); padding: 32px; display: grid; gap: 12px; }
.course-aside__box p { margin: 0; color: var(--ink-2); font-size: 15.5px; }
.course-aside__box .eyebrow { margin: 0; }
.course-aside__title { font-family: var(--f-serif); font-size: 1.7rem !important; line-height: 1.15; color: var(--ink) !important; }
.course-aside .btn { width: 100%; }
.course-aside .btn--ghost { color: var(--ink); }

/* Seitennummerierung */
.pagination { margin-top: clamp(48px, 6vw, 80px); }
.pagination .nav-links { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.pagination .page-numbers { display: inline-grid; place-items: center; min-width: 48px; height: 48px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line); text-decoration: none; font-size: 14px; }
.pagination .page-numbers.current { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.pagination a.page-numbers:hover { border-color: var(--ink); color: var(--ink); }

/* Formulare (Contact Form 7, Kommentare, Suche) */
input[type="text"], input[type="email"], input[type="tel"], input[type="url"], input[type="search"], input[type="number"], input[type="date"], select, textarea {
	width: 100%; min-height: 52px; padding: 14px 16px;
	background: var(--paper); color: var(--ink);
	border: 1px solid var(--line-strong); border-radius: 2px;
	font: inherit; font-size: 16px;
	transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
textarea { min-height: 180px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--rose); outline-offset: 1px; border-color: var(--rose); }
input[type="checkbox"], input[type="radio"] { width: 20px; height: 20px; accent-color: var(--rose); vertical-align: -4px; margin: 0 8px 0 0; }
label { font-size: 14px; color: var(--ink-2); }
.wpcf7 form p { margin-bottom: 1.2em; }
.wpcf7 form label { display: block; }
.wpcf7-not-valid-tip { color: #A3261B; font-size: 14px; margin-top: 6px; }
.wpcf7 form .wpcf7-response-output { margin: 1.5em 0 0; padding: 14px 18px; border-radius: 2px; }
.search-form { display: flex; gap: 8px; max-width: 520px; margin-bottom: 2em; }
.search-form label { flex: 1; }
.search-submit { padding-inline: 18px; }
.empty { text-align: left; }
.comments { max-width: var(--measure); }
.comment-list { list-style: none; padding: 0; }
.comment-list .comment { padding: 20px 0; border-bottom: 1px solid var(--line); }

/* ---------- Einblenden beim Scrollen ---------- */
.fx [data-reveal] { opacity: 0; translate: 0 40px; transition: opacity 1s var(--ease), translate 1s var(--ease); transition-delay: calc(var(--k, 0) * 80ms); }
.fx [data-reveal].is-in { opacity: 1; translate: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
	.grid--3, .team__grid { grid-template-columns: repeat(2, 1fr); }
	.cta__grid { grid-template-columns: 1fr 1fr; }
	.cta__actions { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; }
	.course-layout { grid-template-columns: 1fr; }
	.course-aside { position: static; }
}
@media (max-width: 899px) {
	:root { --header-h: 68px; }
	.hide-sm { display: none !important; }
	.show-sm { display: block; }
	.site-header__contact { gap: 8px; }
	.site-header__phone { width: 44px; justify-content: center; }
	.menu-toggle__label { display: none; }
	.logo__text { font-size: 22px; }
	.site-menu__inner { grid-template-columns: 1fr; align-items: start; gap: 32px; }
	.site-menu__aside { border-left: 0; border-top: 1px solid var(--line); padding: 24px 0 0; }
	.hero__word { font-size: min(26vh, 19vw); }
	.hero__visual { width: min(62vh, 92vw); }
	.hero--frei .hero__visual { width: min(110vh, 165vw); }
	.hero__script { font-size: 14vw; }
	.hero__script--top { font-size: calc(14vw * var(--script-top-size, 1)); }
	.hero__script--bottom { font-size: calc(14vw * var(--script-bottom-size, 1)); }
	.social--hero { display: none; }
	.stage { grid-template-columns: 1fr; }
	.stage__media { max-width: 480px; }
	.fx .about { height: 240vh; }
	.fx .about__card { left: var(--gutter); right: var(--gutter); width: auto; }
	.page-hero__media { position: relative; right: auto; top: auto; width: 100%; height: 46vh; margin-top: 32px; border-radius: 999px 999px 0 0; }
	.page-hero.has-image { flex-direction: column; align-items: stretch; padding-bottom: 0; }
	.page-hero.has-image .page-hero__title { text-shadow: none; }
	.site-footer__top { grid-template-columns: 1fr 1fr; }
	.site-footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
	body { font-size: 16px; }
	.grid--3, .team__grid { grid-template-columns: 1fr; }
	.cta__grid { grid-template-columns: 1fr; }
	.video-consent { aspect-ratio: 4 / 3; }
	.prose { font-size: 17px; }
	.prose .alignleft, .prose .alignright { float: none; margin: 1.5em 0; max-width: 100%; }
	.post-nav { grid-template-columns: 1fr; }
	.post-nav div:last-child { text-align: left; }
	.site-footer__top { grid-template-columns: 1fr; }
	/* Fußleiste: Rechtliches + „Nach oben“ in einer Zeile, Kartenhinweis darunter */
	.site-footer__bottom { display: grid; grid-template-columns: 1fr auto; gap: 0 16px; padding-bottom: 20px; }
	.site-footer__credit { grid-column: 1 / -1; grid-row: 2; }
	.footer-links { gap: 20px; }
	.site-footer .social--compact { margin: 0 0 0 -12px; }
	.site-footer__bar { padding-block: 24px 8px; }
	.site-footer__mark { font-size: 19px; }
	/* Karte: weniger stark vergrößert und ruhiger hinter dem Text */
	.night-map { width: max(2400px, 260vw); }
	.night-map img { opacity: .34; }
	.cta__actions .btn { width: 100%; }
	.course { flex-basis: 78vw; }
	.fx .intro { height: 220vh; }
	.about__card { margin-top: -18vw; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

@media print {
	.site-header, .site-menu, .scroll-cue, .cta, .site-footer__bottom .to-top, .night-map, .map-pin { display: none !important; }
	body { background: #fff; }
}
