/* LichtKlang – Übergangsseite und Rechtstexte im Übergangsmodus */

.lk-transition-view {
	--lk-aubergine: var(--wp--preset--color--aubergine, #210b2b);
	--lk-plum: var(--wp--preset--color--plum, #3a123f);
	--lk-night: var(--wp--preset--color--night, #26184f);
	--lk-magenta: var(--wp--preset--color--magenta, #e21a83);
	--lk-coral: var(--wp--preset--color--coral, #ff6b5e);
	--lk-cobalt: var(--wp--preset--color--cobalt, #5149e8);
	--lk-light: var(--wp--preset--color--warm-light, #f4eff3);
	--lk-muted: var(--wp--preset--color--muted-light, #cfc4d2);
	--lk-font: var(--wp--preset--font-family--manrope, "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif);

	--lk-bg: var(--lk-light);
	--lk-fg: var(--lk-aubergine);
	--lk-soft: #5a4660;
	--lk-rule: rgba(33, 11, 43, 0.22);
	--lk-btn-bg: var(--lk-aubergine);
	--lk-btn-fg: var(--lk-light);
	--lk-focus: var(--lk-magenta);

	margin: 0;
	background: var(--lk-bg);
	color: var(--lk-fg);
	font-family: var(--lk-font);
	font-size: 1.0625rem;
	line-height: 1.55;
	-webkit-font-smoothing: antialiased;
}

.lk-transition-view.lk-scheme-dark {
	--lk-bg: var(--lk-aubergine);
	--lk-fg: var(--lk-light);
	--lk-soft: var(--lk-muted);
	--lk-rule: rgba(244, 239, 243, 0.28);
	--lk-btn-bg: var(--lk-coral);
	--lk-btn-fg: var(--lk-aubergine);
	--lk-focus: var(--lk-coral);
}

.lk-transition-view *,
.lk-transition-view *::before,
.lk-transition-view *::after {
	box-sizing: border-box;
}

.lk-transition-view a {
	color: inherit;
}

.lk-transition-view :focus-visible {
	outline: 3px solid var(--lk-focus);
	outline-offset: 3px;
}

.lk-skip-link {
	position: absolute;
	left: 1rem;
	top: -4rem;
	z-index: 100;
	padding: 0.75rem 1.25rem;
	background: var(--lk-btn-bg);
	color: var(--lk-btn-fg) !important;
	font-weight: 700;
	text-decoration: none;
}

.lk-skip-link:focus {
	top: 1rem;
}

/* ---------- Raster ---------- */

.lk-t {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	grid-template-areas: "media" "content";
	min-height: 100vh;
	min-height: 100svh;
}

.lk-t__content {
	grid-area: content;
	position: relative;
	z-index: 2;
	display: flex;
	flex-direction: column;
	gap: clamp(1.5rem, 4vh, 3rem);
	padding: 2rem 1.25rem 1.5rem;
}

.lk-t__media {
	grid-area: media;
	position: relative;
	min-height: 46svh;
}

.lk-t__frame {
	position: absolute;
	inset: 0;
	overflow: hidden;
	background:
		radial-gradient(60% 50% at 55% 55%, rgba(255, 107, 94, 0.85), transparent 70%),
		linear-gradient(135deg, var(--lk-magenta), var(--lk-cobalt));
	clip-path: polygon(0 0, 100% 0, 100% 86%, 0 100%);
}

.lk-t__image {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 50% 45%;
}

.lk-t__lines {
	display: none;
}

.lk-t__insta {
	position: absolute;
	top: 1.25rem;
	right: 1.25rem;
	z-index: 3;
	color: #fff !important;
	font-size: 0.9375rem;
	font-weight: 600;
	text-decoration: none;
	padding-bottom: 0.2rem;
	border-bottom: 1.5px solid currentColor;
	text-shadow: 0 1px 8px rgba(0, 0, 0, 0.45);
}

@media (min-width: 900px) {
	.lk-t {
		grid-template-columns: minmax(0, 46fr) minmax(0, 54fr);
		grid-template-areas: "content media";
	}

	.lk-t__content {
		padding: clamp(2rem, 5vh, 3.5rem) 0 clamp(1.5rem, 4vh, 2.5rem) clamp(2rem, 4.5vw, 5rem);
		margin-right: -6vw;
	}

	.lk-t__media {
		min-height: 100vh;
		min-height: 100svh;
	}

	.lk-t__frame {
		clip-path: polygon(24% 0, 100% 0, 100% 100%, 0 100%);
	}

	.lk-t__lines {
		display: block;
		position: absolute;
		inset: 0;
		width: 100%;
		height: 100%;
		overflow: visible;
		z-index: 1;
		pointer-events: none;
	}

	.lk-t__insta {
		top: 2.75rem;
		right: clamp(1.5rem, 3vw, 3rem);
	}
}

.lk-t__line {
	stroke-width: 2.5px;
	stroke-linecap: round;
}

.lk-t__line--a {
	stroke: var(--lk-magenta);
}

.lk-t__line--b {
	stroke: var(--lk-cobalt);
}

/* ---------- Wortmarke ---------- */

.lk-logo {
	display: inline-flex;
	flex-direction: column;
	line-height: 1;
	text-decoration: none;
	color: inherit;
}

.lk-logo__main {
	font-weight: 800;
	font-size: clamp(1.6rem, 2.6vw, 2.6rem);
	letter-spacing: 0.02em;
	text-transform: uppercase;
}

.lk-logo__sub {
	margin-top: 0.35em;
	font-weight: 400;
	font-size: clamp(0.85rem, 1.25vw, 1.3rem);
	letter-spacing: 0.46em;
	text-transform: uppercase;
}

.lk-logo img {
	display: block;
	width: auto;
	max-width: 260px;
	max-height: 80px;
}

/* ---------- Inhalt ---------- */

.lk-t__main {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	margin-block: auto;
}

.lk-transition-view h1,
.lk-transition-view h2,
.lk-transition-view h3 {
	color: var(--lk-fg);
	font-family: var(--lk-font);
}

.lk-t__headline {
	margin: 0;
	font-weight: 800;
	font-size: clamp(3rem, 6.6vw, 7rem);
	line-height: 0.95;
	letter-spacing: -0.035em;
	text-wrap: balance;
	max-width: 7.2em;
}

.lk-t__beam {
	display: block;
	width: min(32rem, 82%);
	height: 3px;
	margin: clamp(1.3rem, 3vh, 2rem) 0 clamp(0.75rem, 2vh, 1.25rem);
	background: linear-gradient(90deg, var(--lk-magenta), var(--lk-cobalt));
	border-radius: 2px;
}

.lk-t__subline {
	margin: 0;
	font-size: clamp(1.15rem, 1.75vw, 1.85rem);
	font-weight: 500;
	line-height: 1.3;
}

.lk-t__date {
	margin: clamp(0.9rem, 2.4vh, 1.5rem) 0 0;
	font-weight: 800;
	font-size: clamp(2rem, 4.4vw, 4.6rem);
	line-height: 1;
	letter-spacing: -0.02em;
	text-transform: uppercase;
}

.lk-countdown {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	width: min(100%, 38rem);
	margin: clamp(1rem, 2.6vh, 1.75rem) 0 0;
}

.lk-countdown__unit {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.35rem;
	padding: 0.25rem 0.5rem;
	border-left: 1px solid var(--lk-rule);
}

.lk-countdown__unit:first-child {
	border-left: 0;
	padding-left: 0;
	align-items: flex-start;
}

.lk-countdown__value {
	font-weight: 800;
	font-size: clamp(1.75rem, 2.8vw, 2.75rem);
	line-height: 1;
	font-variant-numeric: tabular-nums;
	letter-spacing: -0.01em;
}

.lk-countdown__unit:first-child .lk-countdown__label {
	padding-left: 0.1em;
}

.lk-countdown__label {
	font-size: clamp(0.62rem, 0.8vw, 0.8rem);
	font-weight: 600;
	letter-spacing: 0.24em;
	text-transform: uppercase;
	color: var(--lk-soft);
}

.lk-t__closing {
	margin: clamp(1.25rem, 3.4vh, 2.25rem) 0 0;
	font-size: clamp(1.05rem, 1.35vw, 1.4rem);
	font-weight: 500;
}

.lk-t__cta {
	margin: clamp(0.9rem, 2.2vh, 1.4rem) 0 0;
}

.lk-t__button {
	display: inline-flex;
	align-items: center;
	gap: 1.1rem;
	padding: 1.05rem 2.1rem;
	background: var(--lk-btn-bg);
	color: var(--lk-btn-fg) !important;
	font-weight: 600;
	font-size: clamp(1rem, 1.25vw, 1.3rem);
	text-decoration: none;
	transition: background-color 0.2s ease, color 0.2s ease;
}

.lk-t__button:hover {
	background: var(--lk-magenta);
	color: #fff !important;
}

.lk-arrow {
	flex: none;
	transition: transform 0.2s ease;
}

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

.lk-t__footer nav {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	font-size: 0.875rem;
	color: var(--lk-soft);
}

.lk-t__footer a {
	color: var(--lk-soft) !important;
	text-decoration: none;
}

.lk-t__footer a:hover {
	text-decoration: underline;
	text-underline-offset: 0.2em;
}

/* ---------- Hintergrund-Loop (Vimeo) ---------- */

.lk-bgvideo {
	position: absolute;
	inset: 0;
	container-type: size;
}

.lk-bgvideo__frame {
	position: absolute;
	top: 50%;
	left: 50%;
	width: max(100cqw, calc(100cqh * 16 / 9));
	height: max(100cqh, calc(100cqw * 9 / 16));
	transform: translate(-50%, -50%);
	border: 0;
	pointer-events: none;
	opacity: 0;
	transition: opacity 0.8s ease;
}

.lk-bgvideo.is-playing .lk-bgvideo__frame {
	opacity: 1;
}

.lk-bgvideo__load,
.lk-bgvideo__toggle {
	position: absolute;
	right: 1.25rem;
	bottom: 1.25rem;
	z-index: 2;
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.6rem 1rem;
	border: 1px solid rgba(244, 239, 243, 0.6);
	border-radius: 999px;
	background: rgba(33, 11, 43, 0.82);
	color: #f4eff3;
	font: 600 0.875rem/1.2 var(--lk-font, sans-serif);
	cursor: pointer;
}

.lk-bgvideo__load:hover,
.lk-bgvideo__toggle:hover {
	background: #210b2b;
}

.lk-bgvideo__load[hidden],
.lk-bgvideo__toggle[hidden] {
	display: none;
}

.lk-bgvideo__via {
	font-weight: 400;
	opacity: 0.85;
}

.lk-bgvideo__icon {
	width: 10px;
	height: 12px;
	border-left: 3px solid currentColor;
	border-right: 3px solid currentColor;
}

.lk-bgvideo__toggle[aria-pressed="true"] .lk-bgvideo__icon {
	border: 0;
	width: 0;
	height: 0;
	border-left: 10px solid currentColor;
	border-top: 6px solid transparent;
	border-bottom: 6px solid transparent;
}

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

@media (prefers-reduced-motion: reduce) {
	.lk-t__button,
	.lk-arrow,
	.lk-bgvideo__frame {
		transition: none;
	}
}

/* ---------- Rechtstexte im Übergangsmodus ---------- */

.lk-legal-wrap {
	max-width: 52rem;
	margin: 0 auto;
	padding: 2rem 1.25rem 3rem;
}

.lk-legal-head {
	padding-bottom: 2rem;
	margin-bottom: 2.5rem;
	border-bottom: 1px solid var(--lk-rule);
}

.lk-legal h1 {
	margin: 0 0 1.5rem;
	font-size: clamp(2.25rem, 5vw, 3.5rem);
	font-weight: 800;
	line-height: 1.05;
	letter-spacing: -0.025em;
}

.lk-legal h2 {
	margin: 2.25rem 0 0.75rem;
	font-size: 1.375rem;
	font-weight: 700;
}

.lk-legal h3 {
	margin: 1.75rem 0 0.5rem;
	font-size: 1.125rem;
	font-weight: 700;
}

.lk-legal a {
	text-underline-offset: 0.18em;
}

.lk-legal-foot {
	margin-top: 3rem;
	padding-top: 1.5rem;
	border-top: 1px solid var(--lk-rule);
}

/* ==========================================================================
   Variante „Vollbild-Foto“ (lk-scheme-photo) – aktueller Entwurf
   ========================================================================== */

.lk-transition-view.lk-scheme-photo {
	--lk-bg: var(--lk-aubergine);
	--lk-fg: #fff;
	--lk-soft: rgba(244, 239, 243, 0.78);
	--lk-rule: rgba(244, 239, 243, 0.38);
	--lk-focus: var(--lk-coral);
	--lk-beam-photo: linear-gradient(90deg, var(--lk-magenta) 0%, #a23bd6 60%, rgba(120, 60, 220, 0) 100%);
}

.lk-scheme-photo .lk-t {
	position: relative;
	display: block;
	min-height: 100vh;
	min-height: 100svh;
	overflow: hidden;
	background: var(--lk-aubergine);
}

.lk-scheme-photo .lk-t__media {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 64svh;
	min-height: 0;
}

.lk-scheme-photo .lk-t__frame {
	clip-path: none;
	background: var(--lk-plum);
}

.lk-scheme-photo .lk-t__picture {
	display: contents;
}

.lk-scheme-photo .lk-t__image {
	object-position: 50% 40%;
}

.lk-scheme-photo .lk-t__shade {
	position: absolute;
	inset: 0;
	z-index: 1;
	pointer-events: none;
	background: linear-gradient(180deg, rgba(33, 11, 43, 0.45) 0%, rgba(33, 11, 43, 0) 22%, rgba(33, 11, 43, 0) 42%, rgba(33, 11, 43, 0.82) 80%, #210b2b 100%);
}

.lk-scheme-photo .lk-t__lines,
.lk-scheme-photo .lk-t__beam:not(.lk-t__beam--after),
.lk-scheme-photo .lk-t__closing {
	display: none;
}

.lk-scheme-photo .lk-t__content {
	position: relative;
	z-index: 2;
	min-height: 100vh;
	min-height: 100svh;
	padding: 2.5rem 1.5rem 2rem;
	gap: 1.5rem;
}

.lk-scheme-photo .lk-t__main {
	margin-top: auto;
	margin-bottom: 0;
}

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

.lk-scheme-photo .lk-t__headline {
	font-size: clamp(2.6rem, 12vw, 4.5rem);
	color: #fbf7fa;
	text-shadow: 0 2px 24px rgba(33, 11, 43, 0.35);
}

.lk-scheme-photo .lk-t__subline {
	margin-top: 0.75rem;
	font-weight: 400;
	font-size: clamp(1.15rem, 4.9vw, 1.6rem);
}

.lk-scheme-photo .lk-t__beam--after {
	display: block;
	width: 55%;
	height: 3px;
	margin: 1.5rem 0 0;
	background: var(--lk-beam-photo);
}

.lk-scheme-photo .lk-t__date {
	margin-top: 1.25rem;
	font-size: clamp(1.9rem, 9vw, 3rem);
}

.lk-scheme-photo .lk-countdown {
	width: 100%;
	margin-top: 1.25rem;
}

.lk-scheme-photo .lk-countdown__unit,
.lk-scheme-photo .lk-countdown__unit:first-child {
	align-items: center;
	padding: 0.2rem 0.25rem;
}

.lk-scheme-photo .lk-countdown__unit:first-child .lk-countdown__label {
	padding-left: 0;
}

.lk-scheme-photo .lk-countdown__label {
	color: var(--lk-soft);
}

.lk-scheme-photo .lk-t__cta {
	margin-top: 2rem;
}

.lk-scheme-photo .lk-t__button {
	position: relative;
	gap: 2rem;
	padding: 0;
	background: none;
	color: #fff !important;
	font-weight: 500;
	font-size: clamp(1.05rem, 4.4vw, 1.3rem);
}

.lk-scheme-photo .lk-t__button span {
	padding-bottom: 0.45rem;
	border-bottom: 2px solid transparent;
	border-image: linear-gradient(90deg, var(--lk-magenta), #8b3fd6) 1;
}

.lk-scheme-photo .lk-t__button:hover {
	background: none;
	color: var(--lk-coral) !important;
}

.lk-scheme-photo .lk-t__insta {
	top: 2.5rem;
	right: 1.5rem;
	display: inline-flex;
	align-items: center;
	gap: 0.75rem;
	padding: 0;
	border: 0;
	color: #fff !important;
}

.lk-scheme-photo .lk-t__insta-text {
	display: none;
}

.lk-scheme-photo .lk-t__insta-icon {
	width: 34px;
	height: 34px;
	filter: drop-shadow(0 1px 8px rgba(33, 11, 43, 0.45));
}

.lk-scheme-photo .lk-t__footer a {
	color: var(--lk-soft) !important;
}

/* Desktop: Foto vollflächig, Text links auf Verlauf */
@media (min-width: 900px) {
	.lk-scheme-photo .lk-t__media {
		height: auto;
		bottom: 0;
	}

	.lk-scheme-photo .lk-t__image {
		object-position: 65% 45%;
	}

	.lk-scheme-photo .lk-t__shade {
		background:
			linear-gradient(90deg, rgba(33, 11, 43, 0.84) 0%, rgba(33, 11, 43, 0.58) 24%, rgba(33, 11, 43, 0.14) 46%, rgba(33, 11, 43, 0) 62%),
			linear-gradient(0deg, rgba(33, 11, 43, 0.6) 0%, rgba(33, 11, 43, 0) 30%),
			linear-gradient(180deg, rgba(33, 11, 43, 0.35) 0%, rgba(33, 11, 43, 0) 18%);
	}

	.lk-scheme-photo .lk-t__content {
		max-width: min(56rem, 62vw);
		margin: 0;
		padding: clamp(2rem, 5vh, 3.5rem) 0 clamp(1.5rem, 4vh, 2.5rem) clamp(2rem, 4.5vw, 4.5rem);
	}

	.lk-scheme-photo .lk-t__main {
		margin-block: auto;
	}

	.lk-scheme-photo .lk-t__headline {
		font-size: clamp(3.25rem, 6.6vw, 7.25rem);
	}

	.lk-scheme-photo .lk-t__beam:not(.lk-t__beam--after) {
		display: block;
		width: clamp(4rem, 6vw, 6rem);
		height: 3px;
		margin: clamp(1rem, 2.4vh, 1.5rem) 0 clamp(1rem, 2.4vh, 1.5rem);
		background: linear-gradient(90deg, var(--lk-magenta), #a23bd6);
	}

	.lk-scheme-photo .lk-t__beam--after {
		display: none;
	}

	.lk-scheme-photo .lk-t__subline {
		margin-top: 0;
		font-size: clamp(1.2rem, 1.85vw, 1.9rem);
	}

	.lk-scheme-photo .lk-t__date {
		font-size: clamp(2.2rem, 4.5vw, 4.75rem);
	}

	.lk-scheme-photo .lk-countdown {
		width: min(100%, 40rem);
	}

	.lk-scheme-photo .lk-countdown__unit:first-child {
		align-items: flex-start;
		padding-left: 0.6rem;
	}

	.lk-scheme-photo .lk-t__closing {
		display: block;
		margin-top: clamp(1.5rem, 4vh, 2.5rem);
	}

	.lk-scheme-photo .lk-t__cta {
		margin-top: clamp(1rem, 2.6vh, 1.5rem);
	}

	.lk-scheme-photo .lk-t__insta {
		top: 3rem;
		right: clamp(1.5rem, 3.5vw, 4rem);
	}

	.lk-scheme-photo .lk-t__insta-icon {
		width: 28px;
		height: 28px;
	}

	.lk-scheme-photo .lk-t__insta-text {
		display: inline;
		padding-bottom: 0.3rem;
		border-bottom: 1.5px solid currentColor;
		font-size: 0.9375rem;
		font-weight: 600;
	}
}
