/* LichtKlang – Übergangsseite „Termin & Verein“ (baut auf transition.css auf) */

/*
 * Gemeinsames, mittig begrenztes Seitenraster (ab Core 1.3.1).
 * Hintergründe bleiben vollflächig; Header, Inhalt und Footer rücken über
 * denselben Innenabstand in einen zentrierten Container von max. 1400 px.
 *   --lk-gutter: Mindestabstand zum Fensterrand (Smartphone 24 px … Desktop 72 px)
 *   --lk-frame : Abstand zum Fensterrand inkl. Zentrierung auf großen Monitoren
 */
:root {
	--lk-container: 1400px;
	--lk-gutter: clamp(24px, 4vw, 72px);
	--lk-frame: max(var(--lk-gutter), calc((100% - var(--lk-container)) / 2 + var(--lk-gutter)));
}


.lk-transition-view.lk-announcement,
.lk-transition-view.lk-public {
	--lk-fg: #fdf9fb;
	--lk-soft: rgba(244, 239, 243, 0.82);
	--lk-focus: var(--lk-coral);
	--lk-pad: var(--lk-frame);
	--lk-measure: 38.75rem; /* ca. 620 px */
	--lk-accent: linear-gradient(90deg, var(--lk-magenta) 0%, #a23bd6 100%);
	background: var(--lk-aubergine);
	color: var(--lk-fg);
}

.lk-announcement .lk-sr {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

/* ---------- Feste Bildebene (statt background-attachment: fixed) ---------- */

.lk-a__bg {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100vh;
	height: 100lvh;
	z-index: 0;
	overflow: hidden;
	background: var(--lk-plum);
	pointer-events: none;
}

.lk-a__bg .lk-t__picture {
	display: contents;
}

.lk-a__bg .lk-t__image {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 50% 35%; /* Mobil: Lichtzentrum/Bühne */
}

.lk-a__shade {
	position: absolute;
	inset: 0;
	background:
		linear-gradient(180deg, rgba(33, 11, 43, 0.5) 0%, rgba(33, 11, 43, 0.05) 18%, rgba(33, 11, 43, 0.1) 38%, rgba(58, 18, 63, 0.72) 68%, rgba(33, 11, 43, 0.9) 100%),
		radial-gradient(120% 70% at 0% 100%, rgba(120, 16, 80, 0.35), transparent 60%);
}

/* ---------- Grundgerüst ---------- */

.lk-a {
	position: relative;
	z-index: 1;
	isolation: isolate;
}

.lk-a__club,
.lk-a__footer {
	isolation: isolate;
}

.lk-a__top {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	z-index: 3;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding: max(1.5rem, env(safe-area-inset-top)) var(--lk-pad) 0;
}

.lk-announcement .lk-logo {
	color: #fff;
	text-shadow: 0 1px 14px rgba(33, 11, 43, 0.5);
}

.lk-a__insta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.7rem;
	min-width: 44px;
	min-height: 44px;
	color: #fff !important;
	text-decoration: none;
}

.lk-a__insta-icon {
	width: 30px;
	height: 30px;
	filter: drop-shadow(0 1px 8px rgba(33, 11, 43, 0.5));
}

.lk-a__insta-text {
	display: none;
	padding-bottom: 0.25rem;
	border-bottom: 1.5px solid currentColor;
	font-size: 0.9375rem;
	font-weight: 600;
}

/* ---------- Abschnitt 1: Termin ---------- */

.lk-a__hero {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	min-height: 100vh;
	min-height: 100svh;
	padding: 7rem var(--lk-pad) clamp(4rem, 10vh, 6rem);
	box-sizing: border-box;
}

.lk-a__date {
	margin: 0;
	font-weight: 800;
	font-size: clamp(2.3rem, 11.6vw, 8.75rem);
	line-height: 0.98;
	letter-spacing: -0.03em;
	text-transform: uppercase;
	color: #fff;
	text-shadow: 0 2px 30px rgba(33, 11, 43, 0.45);
}

.lk-a__date time {
	display: block;
}

.lk-a__date-line {
	display: block;
	white-space: nowrap;
}

.lk-a__beam {
	display: block;
	width: clamp(4rem, 14vw, 7rem);
	height: 3px;
	margin: clamp(1.1rem, 2.6vh, 1.75rem) 0;
	background: var(--lk-accent);
	border-radius: 2px;
}

.lk-a__headline {
	margin: 0;
	font-weight: 800;
	font-size: clamp(1.35rem, 5.4vw, 2.75rem);
	line-height: 1.1;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: #fff;
}

.lk-a__save {
	margin: clamp(1.5rem, 4vh, 2.5rem) 0 0;
}

.lk-a__save-link,
.lk-a__save-text {
	display: inline-flex;
	align-items: center;
	gap: 0.75rem;
	min-height: 44px;
	font-size: clamp(0.875rem, 3.4vw, 1rem);
	font-weight: 700;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: #fff !important;
}

.lk-a__save-link {
	padding: 0.85rem 1.6rem;
	border: 1.5px solid rgba(255, 255, 255, 0.85);
	border-radius: 999px;
	text-decoration: none;
	transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.lk-a__save-link:hover {
	background: #fff;
	color: var(--lk-aubergine) !important;
	border-color: #fff;
}

.lk-a__save-text {
	color: var(--lk-soft) !important;
}

.lk-a__scroll {
	position: absolute;
	left: 50%;
	bottom: 1.5rem;
	width: 1px;
	height: 2.75rem;
	background: linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.75));
	transform: translateX(-50%);
}

/* ---------- Abschnitt 2: Verein ---------- */

.lk-a__club {
	position: relative;
	padding: clamp(2.5rem, 7vh, 5rem) var(--lk-pad) clamp(2.5rem, 6vh, 4rem);
}

/* Lesbarkeit über weiche Verläufe ohne sichtbare Kanten (kein Kasten). */
.lk-a__club::before {
	content: "";
	position: absolute;
	inset: -12vh 0 0;
	z-index: -1;
	background: rgba(33, 11, 43, 0.62);
	-webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 22%, #000 100%);
	mask-image: linear-gradient(180deg, transparent 0%, #000 22%, #000 100%);
	pointer-events: none;
}

.lk-a__club > * {
	max-width: var(--lk-measure);
}

.lk-a__club-title {
	margin: 0 0 1.75rem;
	font-weight: 800;
	font-size: clamp(1.75rem, 6.4vw, 3.25rem);
	line-height: 1.08;
	letter-spacing: -0.01em;
	text-transform: uppercase;
	max-width: 46rem;
}

.lk-a__club-title span {
	display: block;
}

.lk-a__lead {
	margin: 0 0 1rem;
	font-size: clamp(1.15rem, 4.4vw, 1.4rem);
	font-weight: 700;
	line-height: 1.4;
}

.lk-a__text {
	margin: 0 0 1.5rem;
	font-size: clamp(1.0625rem, 4vw, 1.2rem);
	line-height: 1.6;
	color: var(--lk-soft);
}

.lk-a__points {
	margin: 0 0 1.75rem;
	padding: 0;
	list-style: none;
}

.lk-a__points li {
	position: relative;
	padding: 0.3rem 0 0.3rem 1.6rem;
	font-size: clamp(1.0625rem, 4vw, 1.25rem);
	font-weight: 600;
}

.lk-a__points li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 50%;
	width: 0.85rem;
	height: 2px;
	background: var(--lk-accent);
}

.lk-a__question {
	margin: 0 0 1.75rem;
	font-size: clamp(1.0625rem, 4vw, 1.2rem);
	line-height: 1.5;
	color: var(--lk-soft);
}

.lk-a__question span {
	display: block;
}

.lk-a__closing {
	margin: 0 0 1rem;
	font-weight: 800;
	font-size: clamp(1.5rem, 6vw, 2.5rem);
	line-height: 1.1;
	letter-spacing: 0.02em;
	text-transform: uppercase;
}

.lk-a__follow {
	margin: 0;
	font-size: clamp(0.9375rem, 3.6vw, 1.0625rem);
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}

.lk-a__follow-link {
	display: inline-flex;
	align-items: center;
	gap: 1.25rem;
	min-height: 44px;
	color: #fff !important;
	text-decoration: none;
}

.lk-a__follow-link span {
	padding-bottom: 0.4rem;
	border-bottom: 2px solid transparent;
	border-image: var(--lk-accent) 1;
}

.lk-a__follow-link:hover {
	color: var(--lk-coral) !important;
}

.lk-a__follow-link:hover .lk-arrow {
	transform: translateX(4px);
}

/* ---------- Fußzeile ---------- */

.lk-a__footer {
	position: relative;
	padding: 1.5rem var(--lk-pad) max(1.75rem, env(safe-area-inset-bottom));
}

.lk-a__footer nav {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0 0.75rem;
	font-size: 0.875rem;
	color: var(--lk-soft);
}

.lk-a__footer a {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	color: var(--lk-soft) !important;
	text-decoration: none;
}

.lk-a__footer a:hover {
	color: #fff !important;
	text-decoration: underline;
	text-underline-offset: 0.2em;
}

/* ---------- Dezente Einblendung (nur mit JS und ohne reduzierte Bewegung) ---------- */

@media (prefers-reduced-motion: no-preference) {
	.lk-js .lk-reveal {
		opacity: 0;
		transform: translateY(14px);
		transition: opacity 0.7s ease, transform 0.7s ease;
	}

	.lk-js .lk-reveal.is-visible {
		opacity: 1;
		transform: none;
	}
}

/* ---------- Tablet & Desktop ---------- */

@media (min-width: 768px) {
	.lk-a__insta-text {
		display: inline;
	}

	.lk-a__insta-icon {
		width: 26px;
		height: 26px;
	}

	.lk-a__top {
		padding-top: 2.75rem;
	}

	.lk-a__date {
		font-size: clamp(4rem, 9.2vw, 9rem);
	}

	.lk-a__headline {
		font-size: clamp(1.6rem, 2.9vw, 2.9rem);
	}
}

@media (min-width: 1024px) {
	.lk-a__bg .lk-t__image {
		object-position: 68% 45%; /* Desktop: Lichtzentrum rechts, Text links */
	}

	.lk-a__shade {
		background:
			linear-gradient(90deg, rgba(33, 11, 43, 0.86) 0%, rgba(33, 11, 43, 0.6) 26%, rgba(58, 18, 63, 0.18) 50%, rgba(33, 11, 43, 0) 66%),
			linear-gradient(0deg, rgba(33, 11, 43, 0.75) 0%, rgba(33, 11, 43, 0) 36%),
			linear-gradient(180deg, rgba(33, 11, 43, 0.4) 0%, rgba(33, 11, 43, 0) 16%);
	}

	.lk-a__hero {
		justify-content: center;
		min-height: 92vh;
		min-height: 92svh;
		padding-top: 9rem;
		padding-bottom: 5rem;
	}

	.lk-a__club {
		padding-top: clamp(2rem, 5vh, 4rem);
	}

	.lk-a__club::before {
		inset: -18vh 0 -6rem;
		background: linear-gradient(90deg, rgba(33, 11, 43, 0.82) 0%, rgba(33, 11, 43, 0.6) 34%, rgba(33, 11, 43, 0.15) 62%, rgba(33, 11, 43, 0) 80%);
		-webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 25%, #000 75%, transparent 100%);
		mask-image: linear-gradient(180deg, transparent 0%, #000 25%, #000 75%, transparent 100%);
	}
}
