/* KB Media · Luminous Dark · Basis, Typografie, Buttons, Licht */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--lx-header-h-scrolled) + 16px); }
body {
	margin: 0;
	background: var(--lx-base);
	color: var(--lx-text-2);
	font-family: var(--lx-font-text);
	font-size: var(--lx-fs-body);
	line-height: 1.65;
	font-weight: 400;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
	overflow-x: clip;
}
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--lx-accent); outline-offset: 3px; border-radius: 6px; }
::selection { background: rgba(0, 221, 245, 0.32); color: var(--lx-text); }

.lx-skip {
	position: absolute; left: 16px; top: -60px; z-index: 300;
	background: var(--lx-accent); color: var(--lx-accent-ink);
	padding: 12px 18px; border-radius: var(--lx-r-pill); font-weight: 600;
	transition: top var(--lx-d2) var(--lx-ease);
}
.lx-skip:focus { top: 12px; }
.lx-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.lx-wrap { width: 100%; max-width: var(--lx-max); margin-inline: auto; padding-inline: var(--lx-gutter); }
.lx-section { position: relative; padding-block: var(--lx-section); }

/* Typografie */
.lx-display, .lx-h2, .lx-h3, .lx-h4 {
	font-family: var(--lx-font-display);
	font-weight: 400;
	color: var(--lx-text);
	text-transform: uppercase;
	letter-spacing: var(--lx-track-display);
	margin: 0;
	font-kerning: normal;
}
.lx-display { font-size: var(--lx-fs-display); line-height: var(--lx-lh-display); }
.lx-h2 { font-size: var(--lx-fs-h2); line-height: 0.92; }
.lx-h3 { font-size: var(--lx-fs-h3); line-height: 0.94; }
.lx-h4 { font-size: var(--lx-fs-h4); line-height: 1; letter-spacing: 0.02em; }
.lx-lead { font-size: var(--lx-fs-lead); line-height: 1.55; color: var(--lx-text-2); margin: 0; max-width: 34em; }
.lx-lead strong, .lx-text strong { color: var(--lx-text); font-weight: 600; }
.lx-eyebrow {
	display: inline-flex; align-items: center; gap: 10px;
	font-size: var(--lx-fs-label); font-weight: 600; letter-spacing: 0.02em;
	color: var(--lx-text-2); margin: 0;
}
.lx-eyebrow::before {
	content: ""; width: 6px; height: 6px; border-radius: 50%;
	background: var(--lx-accent); box-shadow: 0 0 12px rgba(0, 221, 245, 0.7);
}
.lx-theme-warm .lx-eyebrow::before { background: var(--lx-warm); box-shadow: 0 0 12px rgba(244, 190, 132, 0.6); }
.lx-meta { font-size: var(--lx-fs-small); color: var(--lx-text-3); font-variant-numeric: tabular-nums; }
.lx-line { display: block; overflow: hidden; padding: 0.16em 0 0.04em; margin: -0.16em 0 -0.04em; } /* Platz für Umlaut-Punkte über Versalien */
.lx-line > span { display: block; will-change: transform; }

/* Buttons */
.lx-btn {
	position: relative; isolation: isolate; overflow: hidden;
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	min-height: 48px; padding: 0 22px; border-radius: var(--lx-r-pill);
	font-size: 0.9375rem; font-weight: 600; letter-spacing: 0.005em; line-height: 1;
	transition: background-color var(--lx-d2) var(--lx-ease), color var(--lx-d2) var(--lx-ease), border-color var(--lx-d2) var(--lx-ease), transform var(--lx-d1) var(--lx-ease);
	-webkit-tap-highlight-color: transparent;
	white-space: nowrap;
}
.lx-btn:active { transform: scale(0.98); }
.lx-btn svg { width: 16px; height: 16px; flex: none; transition: transform var(--lx-d2) var(--lx-ease); }
.lx-btn:hover svg { transform: translateX(3px); }
.lx-btn--primary { background: var(--lx-accent); color: var(--lx-accent-ink); }
.lx-btn--primary::after {
	/* Lichtkante, die beim Hover einmal über den Button läuft */
	content: ""; position: absolute; inset: 0; z-index: -1;
	background: linear-gradient(100deg, transparent 20%, rgba(255, 255, 255, 0.55) 50%, transparent 80%);
	transform: translateX(-120%);
	transition: transform 0s;
}
.lx-btn--primary:hover { background: var(--lx-accent-hover); }
.lx-btn--primary:hover::after { transform: translateX(120%); transition: transform 900ms var(--lx-ease); }
.lx-btn--glass {
	background: rgba(241, 245, 249, 0.06); color: var(--lx-text);
	border: 1px solid var(--lx-glass-border);
	-webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
}
.lx-btn--glass:hover { background: rgba(241, 245, 249, 0.12); border-color: var(--lx-line-strong); }
.lx-btn--warm { background: var(--lx-warm); color: var(--lx-warm-ink); }
.lx-btn--warm:hover { background: #F8D0A5; }
.lx-btn--sm { min-height: 40px; padding: 0 18px; font-size: 0.875rem; }

.lx-link {
	display: inline-flex; align-items: center; gap: 8px;
	color: var(--lx-text); font-weight: 600; font-size: var(--lx-fs-small);
	background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
	padding-bottom: 3px;
	transition: background-size var(--lx-d2) var(--lx-ease);
}
.lx-link:hover { background-size: 100% 1px; }
.lx-link svg { width: 14px; height: 14px; transition: transform var(--lx-d2) var(--lx-ease); }
.lx-link:hover svg { transform: translateX(3px); }

/* Ambient Light: weiche, große Lichtflächen. Pro Section höchstens eine. */
.lx-light {
	position: absolute; pointer-events: none; z-index: 0;
	width: var(--w, 70vw); aspect-ratio: 1.4; border-radius: 50%;
	/* weicher Abfall ohne sichtbare Kante (mehrere Stufen statt linearem Verlauf) */
	background: radial-gradient(closest-side, var(--c, var(--lx-light-cyan)) 0%, color-mix(in srgb, var(--c, var(--lx-light-cyan)) 62%, transparent) 30%, color-mix(in srgb, var(--c, var(--lx-light-cyan)) 28%, transparent) 58%, color-mix(in srgb, var(--c, var(--lx-light-cyan)) 8%, transparent) 82%, transparent 100%);
	filter: blur(28px);
	transform: translate3d(0, 0, 0);
}

/* Rundgesteuerte Medien: kein Zuschnitt ohne Absicht */
.lx-media { position: relative; overflow: hidden; border-radius: var(--lx-r-l); background: var(--lx-surface); }
.lx-media > img, .lx-media > video { width: 100%; height: 100%; object-fit: cover; }

/* Pause-Schalter für automatisch bewegte Inhalte */
.lx-toggle {
	display: inline-flex; align-items: center; gap: 8px;
	min-height: 40px; padding: 0 14px 0 12px; border-radius: var(--lx-r-pill);
	background: rgba(7, 9, 13, 0.55); border: 1px solid var(--lx-glass-border);
	-webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
	color: var(--lx-text); font-size: var(--lx-fs-label); font-weight: 600;
	transition: background-color var(--lx-d2) var(--lx-ease);
}
.lx-toggle:hover { background: rgba(16, 23, 34, 0.85); }
.lx-toggle svg { width: 14px; height: 14px; }
.lx-toggle .i-play { display: none; }
.lx-toggle[aria-pressed="true"] .i-pause { display: none; }
.lx-toggle[aria-pressed="true"] .i-play { display: block; }
