/* Hervorgehobene Veranstaltung – siehe inc/featured-event.php */

:root { --bk-promo-h: 0px; }
body:has(.bk-promo-bar) { --bk-promo-h: 42px; }

body:has(.bk-promo-bar) .bk-hero--photo {
	min-height: max(520px, calc(100vh - var(--bk-topbar-h) - var(--bk-header-h) - var(--bk-promo-h)));
	min-height: max(520px, calc(100svh - var(--bk-topbar-h) - var(--bk-header-h) - var(--bk-promo-h)));
}

/* ---------- Hinweisleiste ---------- */
.bk-promo-bar {
	position: relative;
	display: flex;
	align-items: center;
	min-height: var(--bk-promo-h);
	background: linear-gradient(90deg, #b8943e, #e2c47a 50%, #b8943e);
	color: #1a0508;
	font-size: 0.9rem;
	line-height: 1.3;
}
.bk-promo-bar__link {
	flex: 1;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 0.25rem 0.9rem;
	padding: 0.55rem 2.75rem;
	color: inherit;
	text-decoration: none;
	text-align: center;
}
.bk-promo-bar__text { font-weight: 600; }
.bk-promo-bar__cta {
	font-weight: 700;
	text-decoration: underline;
	text-underline-offset: 3px;
	white-space: nowrap;
}
.bk-promo-bar__link:hover .bk-promo-bar__cta,
.bk-promo-bar__link:focus-visible .bk-promo-bar__cta { text-decoration-thickness: 2px; }
.bk-promo-bar__close {
	position: absolute;
	right: 0.5rem;
	top: 50%;
	transform: translateY(-50%);
	width: 2rem;
	height: 2rem;
	border: 0;
	border-radius: 50%;
	background: transparent;
	color: inherit;
	font-size: 1.35rem;
	line-height: 1;
	cursor: pointer;
}
.bk-promo-bar__close:hover,
.bk-promo-bar__close:focus-visible { background: rgba(26, 5, 8, 0.12); }

/* ---------- Teaser Startseite ---------- */
.bk-home-feature {
	padding: clamp(2.5rem, 6vw, 4.5rem) 0;
	background:
		radial-gradient(ellipse at 15% 0%, rgba(212, 168, 83, 0.18), transparent 60%),
		#1a0508;
	color: #fff;
	border-bottom: 1px solid rgba(212, 168, 83, 0.25);
}
.bk-home-feature__in {
	display: grid;
	grid-template-columns: minmax(0, 340px) minmax(0, 1fr);
	gap: clamp(1.5rem, 4vw, 3.5rem);
	align-items: center;
}
.bk-home-feature__media {
	display: block;
	border-radius: 10px;
	overflow: hidden;
	box-shadow: 0 18px 50px rgba(0, 0, 0, 0.55);
	border: 1px solid rgba(212, 168, 83, 0.35);
}
.bk-home-feature__media img {
	display: block;
	width: 100%;
	height: auto;
	transition: transform 0.4s ease;
}
.bk-home-feature__media:hover img { transform: scale(1.03); }
.bk-home-feature__kicker {
	margin: 0 0 0.6rem;
	color: #e2c47a;
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.18em;
	text-transform: uppercase;
}
.bk-home-feature__title {
	margin: 0 0 1rem;
	color: #fff;
	font-size: clamp(1.7rem, 3.6vw, 2.6rem);
	line-height: 1.15;
}
.bk-home-feature__text {
	margin: 0 0 1.6rem;
	max-width: 46rem;
	color: rgba(255, 255, 255, 0.82);
	font-size: 1.08rem;
	line-height: 1.65;
}
.bk-home-feature__ctas {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.75rem 1.5rem;
}
.bk-home-feature__more {
	color: #e2c47a;
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 4px;
}
.bk-home-feature__more:hover { color: #fff; }

@media (max-width: 760px) {
	.bk-home-feature__in { grid-template-columns: 1fr; }
	.bk-home-feature__media { max-width: 320px; margin: 0 auto; }
	.bk-home-feature__body { text-align: center; }
	.bk-home-feature__text { margin-left: auto; margin-right: auto; }
	.bk-home-feature__ctas { justify-content: center; }
}

/* ---------- Mitlaufende Leiste auf der Landingpage ---------- */
.bk-sticky-cta {
	position: fixed;
	left: 50%;
	bottom: max(1rem, env(safe-area-inset-bottom));
	z-index: 90;
	transform: translateX(-50%);
	display: flex;
	align-items: center;
	gap: 1rem;
	width: max-content;
	max-width: calc(100% - 1.5rem);
	padding: 0.55rem 0.6rem 0.55rem 1.25rem;
	border: 1px solid rgba(212, 168, 83, 0.45);
	border-radius: 999px;
	background: rgba(26, 5, 8, 0.94);
	backdrop-filter: blur(8px);
	box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
	color: #fff;
	animation: bk-sticky-in 0.3s ease;
}
.bk-sticky-cta[hidden] { display: none; }
.bk-sticky-cta__text {
	font-size: 0.92rem;
	font-weight: 600;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.bk-sticky-cta .bk-btn { flex: none; padding: 0.6rem 1.2rem; }

/* Auf dem Handy über Cookie-Knopf und Chat-Avatar (beide unten fixiert). */
@media (max-width: 560px) {
	.bk-sticky-cta {
		left: 0.75rem;
		right: 0.75rem;
		bottom: calc(5.5rem + env(safe-area-inset-bottom));
		width: auto;
		max-width: none;
		transform: none;
		gap: 0.6rem;
		padding: 0.5rem 0.5rem 0.5rem 0.9rem;
		border-radius: 14px;
	}
	.bk-sticky-cta__text { font-size: 0.8rem; white-space: normal; line-height: 1.25; }
	.bk-sticky-cta .bk-btn { padding: 0.55rem 0.9rem; font-size: 0.78rem; }
}

@keyframes bk-sticky-in {
	from { opacity: 0; translate: 0 12px; }
	to { opacity: 1; translate: 0 0; }
}
@media (prefers-reduced-motion: reduce) {
	.bk-sticky-cta { animation: none; }
	.bk-home-feature__media img { transition: none; }
}
