/**
 * Vorlage „Modern — Bühne“: Vollbild-Header mit Text direkt im Bild,
 * darunter ruhige, moderne Karten auf hellem Grund.
 * Ergänzt public/assets/styles.css (Klassisch).
 */

body.theme-buehne {
	--bu-bg: #f6f4fb;
	--bu-surface: #ffffff;
	--bu-ink: #1d1730;
	--bu-muted: #5b5570;
	--bu-accent: #5b45b8;
	--bu-accent-soft: rgb(91 69 184 / 0.1);
	--bu-line: rgb(29 23 48 / 0.08);
	--bu-shadow: 0 18px 44px rgb(29 23 48 / 0.08);
	--bu-radius: 22px;
	--bu-sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
	--bg: var(--bu-bg);
	--ink: var(--bu-ink);
	--muted: var(--bu-muted);
	--accent: var(--bu-accent);
	--card: var(--bu-surface);
	--line: var(--bu-line);
	--cta: var(--bu-accent);
	--cta-hover: #47349a;
	overflow-x: hidden;
	background: var(--bu-bg);
	color: var(--bu-ink);
}

.page--buehne {
	max-width: 1080px;
	margin: 0 auto;
	padding: 0 clamp(1rem, 3vw, 1.75rem) 4.5rem;
}

/* Fliesstext in der im Admin gewählten Schrift; nur Buttons/Etiketten in Sans */
.page--buehne .page-content-flow {
	font-size: 1.05rem;
	line-height: 1.65;
}

/* ------------------------------------------------------------------ Hero */
.page--buehne .hero--buehne {
	position: relative;
	display: grid;
	width: 100vw;
	max-width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
	padding: 0;
	min-height: clamp(520px, 92svh, 900px);
	overflow: hidden;
	color: #ffffff;
	isolation: isolate;
}

.page--buehne .hero--buehne > * {
	grid-area: 1 / 1;
}

.page--buehne .hero--buehne .hero-parallax-wrap {
	position: relative;
	overflow: hidden;
	z-index: -2;
}

.page--buehne .hero-parallax--buehne {
	height: 100%;
	min-height: 100%;
	transform: scale(1.04);
	animation: bu-hero-zoom 14s ease-out forwards;
}

.page--buehne .hero-parallax--buehne.hero-parallax--placeholder {
	background-image:
		radial-gradient(circle at 75% 30%, #b9a6f0 0%, transparent 55%),
		linear-gradient(135deg, #2b1d5c 0%, #5b45b8 60%, #8b78d8 100%);
}

@keyframes bu-hero-zoom {
	to {
		transform: scale(1);
	}
}

.page--buehne .hero-buehne-scrim {
	z-index: -1;
	pointer-events: none;
	background:
		linear-gradient(90deg, rgb(20 12 42 / 0.78) 0%, rgb(20 12 42 / 0.45) 48%, rgb(20 12 42 / 0.05) 100%),
		linear-gradient(0deg, rgb(20 12 42 / 0.55) 0%, rgb(20 12 42 / 0) 45%);
}

.page--buehne .hero__inner--buehne {
	align-self: end;
	width: 100%;
	max-width: 1080px;
	margin: 0 auto;
	padding: clamp(5rem, 14vh, 9rem) clamp(1rem, 3vw, 1.75rem) clamp(2.5rem, 8vh, 4.5rem);
	box-sizing: border-box;
}

.page--buehne .hero-eyebrow {
	display: inline-block;
	margin: 0 0 1rem;
	padding: 0.4rem 0.85rem;
	border-radius: 999px;
	background: rgb(255 255 255 / 0.14);
	border: 1px solid rgb(255 255 255 / 0.28);
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
	font-family: var(--bu-sans);
	font-size: 0.82rem;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.page--buehne .hero--buehne h1 {
	margin: 0 0 0.5rem;
	max-width: 16ch;
	font-size: clamp(2.6rem, 7vw, 5rem);
	font-weight: 700;
	letter-spacing: -0.02em;
	line-height: 1.02;
	color: #ffffff;
	text-shadow: 0 2px 30px rgb(0 0 0 / 0.25);
}

.page--buehne .hero--buehne .hero-sub {
	margin: 0;
	max-width: 30ch;
	font-size: clamp(1.15rem, 2.4vw, 1.6rem);
	font-weight: 400;
	line-height: 1.35;
	color: rgb(255 255 255 / 0.9);
}

.page--buehne .hero--buehne .hero-cta {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin-top: 1.75rem;
}

.page--buehne .hero--buehne .hero-cta__btn {
	padding: 0.9rem 1.45rem;
	font-size: 1.02rem;
	background: #ffffff;
	color: var(--bu-ink);
	box-shadow: 0 12px 30px rgb(0 0 0 / 0.25);
}

.page--buehne .hero--buehne .hero-cta__btn:hover {
	background: #efeafd;
}

.page--buehne .hero--buehne .hero-cta__btn svg {
	color: var(--bu-accent);
}

.page--buehne .hero--buehne .hero-cta__btn--ghost {
	background: transparent;
	color: #ffffff;
	border: 1.5px solid rgb(255 255 255 / 0.7);
	box-shadow: none;
}

.page--buehne .hero--buehne .hero-cta__btn--ghost:hover {
	background: rgb(255 255 255 / 0.12);
}

.page--buehne .hero-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 1.25rem;
	margin: 1.75rem 0 0;
	padding: 0;
	list-style: none;
	font-family: var(--bu-sans);
	font-size: 0.92rem;
	color: rgb(255 255 255 / 0.88);
}

.page--buehne .hero-chips li {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
}

.page--buehne .hero-chips li::before {
	content: "";
	width: 0.5rem;
	height: 0.5rem;
	border-radius: 50%;
	background: #c9b8ff;
	box-shadow: 0 0 0 3px rgb(201 184 255 / 0.25);
}

/* ------------------------------------------------------------ Inhalte */
.page--buehne .page-content-flow > .content-block {
	margin-top: 1.5rem;
}

.page--buehne .page-content-flow > .content-block:first-child {
	margin-top: -3rem;
	position: relative;
	z-index: 2;
}

/* Textflächen als Karten */
.page--buehne .buehne-band,
.page--buehne .section--credentials,
.page--buehne .section--faq {
	background: var(--bu-surface);
	border: 1px solid var(--bu-line);
	border-radius: var(--bu-radius);
	box-shadow: var(--bu-shadow);
	padding: clamp(1.25rem, 3vw, 2rem);
}

.page--buehne .credentials-body p,
.page--buehne .lead p {
	margin: 0 0 0.45rem;
}

.page--buehne .credentials-body p:first-child strong {
	color: var(--bu-accent);
}

.page--buehne .section--credentials ul.list {
	margin: 0;
	padding-left: 1.2rem;
}

/* Hinweise: farbige Hervorhebung statt Linie */
.page--buehne .content-block.callout {
	border-left: none;
	background: linear-gradient(135deg, #5b45b8, #7d68d6);
	color: #ffffff;
	font-weight: 500;
	box-shadow: 0 16px 36px rgb(91 69 184 / 0.28);
}

.page--buehne .content-block.callout p {
	margin: 0.15rem 0;
}

/* Kontaktzeilen als ruhige Liste */
.page--buehne .content-block--contact-line {
	margin-top: 0.35rem !important;
	padding: 0.7rem 1.1rem;
	background: var(--bu-surface);
	border: 1px solid var(--bu-line);
	border-radius: 14px;
}

.page--buehne .content-block--contact-line p {
	margin: 0;
}

.page--buehne .content-block--contact-line a {
	color: var(--bu-accent);
	font-weight: 600;
	text-decoration: none;
}

.page--buehne .content-block--contact-line a:hover {
	text-decoration: underline;
}

/* Abschnittstitel */
.page--buehne h2.section__title-rich,
.page--buehne .section__title-rich {
	font-size: clamp(1.75rem, 3.6vw, 2.6rem);
	font-weight: 600;
	letter-spacing: -0.01em;
	line-height: 1.15;
	border-bottom: none;
	text-align: left;
	margin: 0 0 0.5rem;
}

.page--buehne .page-content-flow > h2.content-block.section__title-rich {
	margin-top: 3.5rem;
	padding: 0;
}

.page--buehne .page-content-flow > h2.content-block.section__title-rich::after {
	content: "";
	display: block;
	width: 3rem;
	height: 4px;
	margin-top: 0.75rem;
	border-radius: 4px;
	background: var(--bu-accent);
}

.page--buehne .section > .section__title-rich.rich {
	font-size: clamp(1.45rem, 3vw, 2rem);
	font-weight: 600;
	border-bottom: none;
	margin-bottom: 0.5rem;
}

/* Angebot */
.page--buehne .buehne-offer-grid.grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
	gap: 1.25rem;
	margin-top: 1.25rem;
}

.page--buehne .buehne-offer-grid--one.grid {
	grid-template-columns: minmax(0, 640px);
}

.page--buehne .content-block--product.card {
	position: relative;
	padding: clamp(1.5rem, 3vw, 2.25rem);
	background: var(--bu-surface);
	border: 1px solid var(--bu-line);
	border-radius: var(--bu-radius);
	box-shadow: var(--bu-shadow);
	text-align: left;
	overflow: hidden;
}

.page--buehne .content-block--product.card::before {
	content: "";
	position: absolute;
	inset: 0 0 auto 0;
	height: 5px;
	background: linear-gradient(90deg, #5b45b8, #b39cf2);
}

.page--buehne .content-block--product.card h3 {
	margin: 0 0 0.35rem;
	font-size: 1.5rem;
	font-weight: 600;
}

.page--buehne .content-block--product.card .price {
	display: flex;
	align-items: baseline;
	gap: 0.4rem;
	margin: 0 0 1.1rem;
	padding-bottom: 1rem;
	border-bottom: 1px solid var(--bu-line);
	justify-content: flex-start;
}

.page--buehne .content-block--product.card .price span {
	font-family: var(--bu-sans);
	font-size: 1rem;
	font-weight: 600;
	color: var(--bu-muted);
}

.page--buehne .content-block--product.card .price strong {
	font-size: clamp(2.5rem, 6vw, 3.25rem);
	line-height: 1;
	color: var(--bu-accent);
}

.page--buehne .content-block--product .desc {
	font-size: 1rem;
	text-align: left;
}

/* Aus Word/Webseiten eingefügte graue Hintergründe neutralisieren */
.page--buehne .content-block--product .desc span[style*="background-color"] {
	background-color: transparent !important;
	color: inherit !important;
}

.page--buehne .content-block--product .desc ul {
	margin: 0 0 0.9rem;
	padding: 0;
	list-style: none;
}

.page--buehne .content-block--product .desc li {
	position: relative;
	padding-left: 1.6rem;
	margin: 0.3rem 0;
}

.page--buehne .content-block--product .desc li::before {
	content: "";
	position: absolute;
	left: 0.1rem;
	top: 0.45em;
	width: 0.95rem;
	height: 0.95rem;
	border-radius: 50%;
	background: var(--bu-accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%235b45b8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 0.7rem no-repeat;
}

.page--buehne .content-block--product .desc p {
	margin: 0 0 0.6rem;
}

.page--buehne .content-block--extras.subnote {
	margin-top: 1rem;
	padding: 0.9rem 1.1rem;
	border-radius: 14px;
	background: var(--bu-accent-soft);
	font-size: 0.98rem;
	text-align: left;
	border: none;
}

.page--buehne .content-block--extras.subnote::before,
.page--buehne .content-block--extras.subnote::after {
	display: none;
}

/* FAQ in Karten-Optik ohne doppelte Rahmen */
.page--buehne .faq-item {
	background: var(--bu-bg);
	border-color: transparent;
}

/* Footer */
body.theme-buehne .site-footer {
	margin-top: 0;
	background: #1d1730;
	color: rgb(255 255 255 / 0.78);
	border-top: none;
	padding-top: 2.25rem;
}

body.theme-buehne .site-footer a,
body.theme-buehne .site-footer__copy {
	color: #ffffff;
}

body.theme-buehne .site-footer__sep {
	color: rgb(255 255 255 / 0.35);
}

@media (max-width: 720px) {
	.page--buehne .hero--buehne {
		min-height: clamp(520px, 88svh, 760px);
	}

	.page--buehne .hero-buehne-scrim {
		background: linear-gradient(0deg, rgb(20 12 42 / 0.85) 0%, rgb(20 12 42 / 0.45) 60%, rgb(20 12 42 / 0.15) 100%);
	}

	.page--buehne .hero--buehne .hero-cta__btn {
		flex: 1 1 100%;
		justify-content: center;
	}
}

@media (prefers-reduced-motion: reduce) {
	.page--buehne .hero-parallax--buehne {
		animation: none;
		transform: none;
	}
}
