/* =========================================================
   Secret Fields Radio
   Lila als Grundton, Orange für alles was „live“ ist und Aktion,
   Blau als zweite Lichtfarbe. Wie Bühnenlicht auf einer Party.
   ========================================================= */

@font-face {
	font-family: "Archivo";
	src: url("../fonts/archivo.woff2") format("woff2");
	font-weight: 100 900;
	font-stretch: 62% 125%;
	font-display: swap;
}

:root {
	--bg: #1a0933;        /* tiefes Lila – Grundfläche */
	--bg-2: #24104a;      /* Flächen */
	--bg-3: #301563;      /* Hover/aktiv */
	--ink: #f6f0ff;       /* Text */
	--muted: #bba8e0;     /* Nebentext */
	--line: rgba(214, 196, 255, 0.16);
	--violet: #9b4dff;
	--orange: #ff7a2e;
	--blue: #3f74ff;

	--font: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;

	--wrap: 1320px;
	--gutter: clamp(16px, 4vw, 40px);
	--header-h: 72px;
	--player-h: 72px;
	--ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }

body {
	margin: 0;
	background: var(--bg);
	color: var(--ink);
	font-family: var(--font);
	font-size: 1.0625rem;
	line-height: 1.55;
	font-stretch: 100%;
	padding-bottom: var(--player-h);
	-webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
[hidden] { display: none !important; }

:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }

.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px;
	overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap;
}
.skip-link {
	position: absolute; left: 16px; top: -60px; z-index: 100;
	background: var(--orange); color: #1a0933; padding: 10px 16px; font-weight: 700;
}
.skip-link:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.icon { width: 1.25em; height: 1.25em; flex: none; }

/* Überschriften: breit und fett wie auf einem Flyer */
.display, .hero__title, .section__title, .page-head__title, .poster__title, .brand__word {
	font-stretch: 125%;
	font-weight: 850;
	letter-spacing: -0.02em;
	line-height: 0.95;
}

/* ---------- Header ---------- */

.site-header {
	position: sticky; top: 0; z-index: 50;
	height: var(--header-h);
	background: rgba(26, 9, 51, 0.9);
	-webkit-backdrop-filter: blur(14px);
	backdrop-filter: blur(14px);
	border-bottom: 1px solid var(--line);
}
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }

.site-header__inner {
	height: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter);
	display: flex; align-items: center; gap: 32px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; flex: none; }
.brand__mark { width: 34px; height: 34px; }
.brand__logo { height: 46px; width: auto; display: block; }
.brand__word { font-size: 1.25rem; white-space: nowrap; }

.nav { flex: 1; }
.nav__list { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.nav__list a {
	display: block; text-decoration: none; font-weight: 500;
	padding: 8px 14px; border-radius: 999px; color: var(--muted);
	transition: color .15s, background-color .15s;
}
.nav__list a:hover { color: var(--ink); background: var(--bg-2); }
.nav__list .current-menu-item > a,
.nav__list .current_page_item > a { color: var(--ink); background: var(--bg-3); }

.onair-chip {
	display: inline-flex; align-items: center; gap: 10px; flex: none;
	background: var(--orange); color: #1a0933; border: 0; cursor: pointer;
	font-weight: 700; padding: 10px 18px; border-radius: 999px;
}
.onair-chip:hover { background: #ff8f4f; }
.onair-chip__dot { width: 8px; height: 8px; border-radius: 50%; background: #1a0933; }
.is-playing .onair-chip__dot { animation: blink 1s steps(2, start) infinite; }
@keyframes blink { to { visibility: hidden; } }
.is-offline .onair-chip { background: var(--bg-3); color: var(--muted); }
.is-offline .onair-chip__dot { background: var(--muted); }

.nav-toggle { display: none; background: none; border: 0; padding: 8px; margin-right: -8px; cursor: pointer; }
.nav-toggle .icon { width: 26px; height: 26px; }
.nav-toggle__close { display: none; }

@media (max-width: 900px) {
	.site-header__inner { gap: 12px; }
	.nav-toggle { display: block; }
	.onair-chip { margin-left: auto; padding: 8px 14px; font-size: .92rem; }
	.nav {
		position: fixed; left: 0; right: 0; top: var(--header-h);
		background: var(--bg); border-bottom: 1px solid var(--line);
		padding: 16px var(--gutter) 28px;
		opacity: 0; visibility: hidden; transform: translateY(-6px);
		transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s;
	}
	.admin-bar .nav { top: calc(var(--header-h) + 46px); }
	.nav.is-open { opacity: 1; visibility: visible; transform: none; }
	.nav__list { flex-direction: column; }
	.nav__list a { font-size: 1.6rem; font-stretch: 125%; font-weight: 800; color: var(--ink); padding: 10px 0; background: none !important; }
	.nav-toggle[aria-expanded="true"] .nav-toggle__open { display: none; }
	.nav-toggle[aria-expanded="true"] .nav-toggle__close { display: block; }
}
@media (max-width: 420px) { .brand__word { font-size: 1.05rem; } }

/* ---------- Tags ---------- */

.tag {
	display: inline-flex; align-items: center; gap: 6px;
	font-weight: 700; font-size: .82rem;
	padding: 4px 10px; border-radius: 4px;
	line-height: 1.2;
}
.tag--live { background: var(--orange); color: #1a0933; }
.tag--live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.tag--soon { background: var(--blue); color: #fff; }

/* ---------- Hero ---------- */

.hero {
	position: relative;
	min-height: min(860px, calc(100svh - var(--header-h)));
	display: flex; align-items: flex-end;
	overflow: hidden; isolation: isolate;
	background:
		radial-gradient(90% 70% at 50% 110%, #5a1fb0 0%, transparent 65%),
		radial-gradient(60% 50% at 85% 100%, rgba(63, 116, 255, .45), transparent 70%),
		radial-gradient(50% 45% at 15% 100%, rgba(255, 122, 46, .35), transparent 70%),
		var(--bg);
}
.hero__media { position: absolute; inset: 0; z-index: -1; }
.hero__img { width: 100%; height: 100%; object-fit: cover; }
.hero--photo .hero__media::after {
	content: ""; position: absolute; inset: 0;
	background: linear-gradient(to top, rgba(26, 9, 51, .95) 5%, rgba(26, 9, 51, .35) 55%, rgba(26, 9, 51, .5));
}

/* Laser-Fächer */
.lights { position: absolute; inset: 0; width: 100%; height: 100%; mix-blend-mode: screen; --pulse: 0; }
.lights polygon { filter: url(#sf-glow); }
.lights__fan { transform-origin: 50% 108.9%; transform-box: view-box; opacity: calc(.55 + var(--pulse) * .45); }
.lights__fan--violet { fill: var(--violet); animation: sweep 14s ease-in-out infinite alternate; }
.lights__fan--blue { fill: var(--blue); animation: sweep 11s ease-in-out -4s infinite alternate-reverse; }
.lights__fan--orange { fill: var(--orange); opacity: calc(.4 + var(--pulse) * .6); animation: sweep 17s ease-in-out -8s infinite alternate; }
.hero--photo .lights { opacity: .45; }
@keyframes sweep { from { transform: rotate(-7deg); } to { transform: rotate(7deg); } }

.hero__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 340px;
	gap: 40px;
	align-items: end;
	padding-block: 120px 56px;
}
@media (max-width: 960px) { .hero__grid { grid-template-columns: 1fr; padding-top: 96px; } }

.hero__status { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin: 0 0 18px; color: var(--muted); font-size: .95rem; }
.hero__listeners { color: var(--ink); }
.hero__title { font-size: clamp(2.8rem, 8vw, 7.2rem); margin: 0; max-width: 14ch; text-wrap: balance; }
.hero__host { margin: 12px 0 0; font-size: 1.2rem; color: var(--muted); }

.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 28px; margin-top: 36px; }
.bigplay {
	display: inline-flex; align-items: center; gap: 14px;
	background: var(--orange); color: #1a0933; border: 0; cursor: pointer;
	padding: 10px 26px 10px 10px; border-radius: 999px;
	font-weight: 800; font-size: 1.1rem;
	transition: transform .15s var(--ease), background-color .15s;
}
.bigplay:hover { background: #ff8f4f; }
.bigplay:active { transform: scale(.98); }
.bigplay__icon {
	width: 52px; height: 52px; border-radius: 50%;
	background: #1a0933; color: var(--orange);
	display: grid; place-items: center;
}
.bigplay__icon .icon { width: 24px; height: 24px; }
.is-offline .bigplay { background: var(--bg-3); color: var(--muted); }
.is-offline .bigplay__icon { color: var(--muted); }

.hero__track { margin: 0; display: flex; flex-direction: column; min-width: 0; }
.hero__track-label { font-size: .85rem; color: var(--muted); }
.hero__track [data-sf-track] { font-weight: 600; font-size: 1.1rem; }

.hero__side { display: grid; gap: 12px; }
.panel {
	background: rgba(26, 9, 51, .72);
	-webkit-backdrop-filter: blur(12px);
	backdrop-filter: blur(12px);
	border: 1px solid var(--line);
	border-radius: 10px;
	padding: 18px 20px;
}
.panel__title { font-size: .95rem; font-weight: 700; margin: 0 0 10px; }
.panel__list { list-style: none; margin: 0; padding: 0; }
.panel__list li { display: grid; grid-template-columns: 72px 1fr; gap: 10px; padding: 7px 0; border-top: 1px solid var(--line); font-size: .95rem; }
.panel__list li:first-child { border-top: 0; }
.panel__list time { color: var(--muted); font-variant-numeric: tabular-nums; }
.panel__list a { text-decoration: none; font-weight: 600; }
.panel__list a:hover { color: var(--orange); }
.panel__empty { margin: 0; color: var(--muted); font-size: .95rem; }

/* Play/Pause/Laden – für alle Play-Buttons */
.play-icon { display: grid; place-items: center; }
.play-icon--pause, .play-icon--load { display: none; }
.is-playing .play-icon--play { display: none; }
.is-playing .play-icon--pause { display: grid; }
.is-loading .play-icon--play, .is-loading .play-icon--pause { display: none; }
.is-loading .play-icon--load {
	display: block; width: 20px; height: 20px;
	border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%;
	animation: spin .8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Abschnitte ---------- */

.section { padding-block: clamp(56px, 8vw, 104px); }
.section + .section { border-top: 1px solid var(--line); }
.section__head { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; margin-bottom: 32px; }
.section__title { font-size: clamp(2rem, 4.4vw, 3.4rem); margin: 0; }
.more {
	color: var(--ink); font-weight: 600; white-space: nowrap;
	text-decoration: underline; text-decoration-color: var(--orange);
	text-decoration-thickness: 2px; text-underline-offset: 5px;
}
.more:hover { color: var(--orange); }
.text-link { color: var(--orange); text-underline-offset: 4px; }

.empty { color: var(--muted); margin: 0; padding: 20px 22px; background: var(--bg-2); border-radius: 10px; max-width: 60ch; }

.btn {
	display: inline-flex; align-items: center; gap: 10px;
	font-weight: 700; text-decoration: none; cursor: pointer;
	padding: 12px 20px; border-radius: 999px; border: 0;
}
.btn--ghost { background: var(--bg-2); color: var(--ink); border: 1px solid var(--line); }
.btn--ghost:hover { border-color: var(--violet); background: var(--bg-3); }
.btn--solid { background: var(--orange); color: #1a0933; }

/* ---------- Heute: Programmleiste ---------- */

.strip {
	list-style: none; margin: 0; padding: 0 0 8px;
	display: grid; grid-auto-flow: column; grid-auto-columns: minmax(230px, 1fr);
	gap: 12px;
	overflow-x: auto; scroll-snap-type: x mandatory;
	scrollbar-width: thin; scrollbar-color: var(--bg-3) transparent;
}
.strip__item { scroll-snap-align: start; }
.strip__item > * {
	position: relative; display: flex; flex-direction: column; gap: 4px; height: 100%;
	text-decoration: none; padding: 18px 20px 20px;
	background: var(--bg-2); border-radius: 10px;
	border-top: 4px solid var(--violet);
	transition: background-color .15s;
}
.strip__item > *:hover { background: var(--bg-3); }
.strip__item:nth-child(3n+2) > * { border-top-color: var(--blue); }
.strip__item:nth-child(3n+3) > * { border-top-color: #c86bff; }
.strip__item.is-live > * { background: var(--orange); color: #1a0933; border-top-color: #1a0933; }
.strip__item.is-live .strip__genre { color: #3a1a10; }
.strip__item.is-past { opacity: .5; }
.strip__time { font-variant-numeric: tabular-nums; font-weight: 600; }
.strip__title { font-weight: 800; font-stretch: 112%; font-size: 1.35rem; line-height: 1.1; }
.strip__genre { color: var(--muted); font-size: .92rem; }
.strip__tag { position: absolute; top: 16px; right: 16px; background: #1a0933; color: var(--orange); }

/* ---------- Sendungen als Plakate ---------- */

.posters { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 16px; }
.poster {
	position: relative; isolation: isolate; overflow: hidden;
	aspect-ratio: 1; padding: 22px;
	display: flex; flex-direction: column; justify-content: space-between;
	text-decoration: none; border-radius: 6px;
}
.poster--violet { background: var(--violet); color: #fff; }
.poster--orange { background: var(--orange); color: #1a0933; }
.poster--blue { background: var(--blue); color: #fff; }
.poster__img { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; object-fit: cover; transition: transform .4s var(--ease); }
.poster--img { color: #fff; }
.poster--img::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(26, 9, 51, .85), transparent 55%); }
.poster:hover .poster__img { transform: scale(1.04); }
.poster__title { font-size: clamp(1.7rem, 2.5vw, 2.4rem); max-width: 10ch; hyphens: auto; -webkit-hyphens: auto; }
.poster__foot { display: flex; flex-direction: column; gap: 2px; font-weight: 600; }
.poster__genre { font-weight: 400; opacity: .85; }
.poster:not(.poster--img):hover { filter: brightness(1.06); }

/* Mit Bild: Titel unten über dem Verlauf */
.poster--img { justify-content: flex-end; }
.poster--img .poster__title { font-size: clamp(1.6rem, 2.6vw, 2.2rem); margin-bottom: 10px; }

/* ---------- DJs ---------- */

.dj-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); gap: 28px 18px; }
.dj-card { text-decoration: none; display: block; }
.dj-card__img { display: block; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 6px; background: var(--bg-2); margin-bottom: 12px; }
.dj-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s var(--ease); }
.dj-card:hover .dj-card__img img { transform: scale(1.04); }
.dj-card__initial { display: grid; place-items: center; height: 100%; font-size: 5rem; font-weight: 900; font-stretch: 125%; color: var(--bg-3); }
.dj-card__name { display: block; font-weight: 800; font-stretch: 112%; font-size: 1.3rem; }
.dj-card__genre { display: block; color: var(--muted); font-size: .95rem; }

.dj-profile { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.dj-profile__img { margin: 0; border-radius: 6px; overflow: hidden; }
.dj-profile__links { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 20px; }
@media (max-width: 760px) { .dj-profile { grid-template-columns: 1fr; } }

/* ---------- News ---------- */

.news-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 32px 24px; }
.news-item__link { display: flex; flex-direction: column; gap: 14px; text-decoration: none; }
.news-item__img { display: block; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 6px; }
.news-item__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s var(--ease); }
.news-item__link:hover .news-item__img img { transform: scale(1.03); }
.news-item__img--none { background-image: radial-gradient(circle at 30% 120%, rgba(255,255,255,.25), transparent 60%); }
.news-item__img--none.poster--violet { background-color: var(--violet); }
.news-item__img--none.poster--orange { background-color: var(--orange); }
.news-item__img--none.poster--blue { background-color: var(--blue); }
.news-item__date { color: var(--muted); font-size: .9rem; }
.news-item__title { margin: 2px 0 6px; font-size: 1.45rem; font-weight: 800; font-stretch: 112%; line-height: 1.12; }
.news-item__link:hover .news-item__title { color: var(--orange); }
.news-item__excerpt { color: var(--muted); }
.pagination { margin-top: 48px; }
.pagination .nav-links { display: flex; gap: 14px; flex-wrap: wrap; }
.pagination a, .pagination span { text-decoration: none; }
.pagination .current { color: var(--orange); }

/* ---------- Externe Player ---------- */

.listen__grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px 48px; align-items: center; }
.listen__text { color: var(--muted); max-width: 52ch; margin: 14px 0 0; }
.listen__links { display: flex; flex-wrap: wrap; gap: 10px; }
@media (max-width: 860px) { .listen__grid { grid-template-columns: 1fr; } }

/* ---------- Programm-Woche ---------- */

.week__tabs {
	display: flex; gap: 6px; overflow-x: auto; margin-bottom: 28px; padding-bottom: 4px;
	scrollbar-width: none;
}
.week__tabs button {
	flex: none; background: var(--bg-2); border: 0; cursor: pointer;
	padding: 10px 18px; border-radius: 999px; color: var(--muted); font-weight: 600;
}
.week__tabs button:hover { color: var(--ink); }
.week__tabs button[aria-selected="true"] { background: var(--ink); color: var(--bg); }
.week__short { display: none; }
@media (max-width: 600px) { .week__short { display: inline; } .week__long { display: none; } }

.timeline { list-style: none; margin: 0; padding: 0; }
.timeline__item {
	display: grid; grid-template-columns: 110px 1fr auto; gap: 20px; align-items: baseline;
	padding: 20px 0; border-top: 1px solid var(--line);
}
.timeline__item:last-child { border-bottom: 1px solid var(--line); }
.timeline__time { font-weight: 700; font-size: 1.2rem; font-variant-numeric: tabular-nums; }
.timeline__time span { display: block; color: var(--muted); font-weight: 400; font-size: .9rem; }
.timeline__title { font-size: 1.5rem; font-weight: 800; font-stretch: 112%; text-decoration: none; line-height: 1.1; }
.timeline__title:hover { color: var(--orange); }
.timeline__meta, .timeline__desc { margin: 4px 0 0; color: var(--muted); }
.timeline__desc { max-width: 62ch; }
.timeline__badge { background: var(--orange); color: #1a0933; font-weight: 700; font-size: .82rem; padding: 4px 10px; border-radius: 4px; white-space: nowrap; }
.timeline__item.is-live .timeline__time { color: var(--orange); }
@media (max-width: 560px) {
	.timeline__item { grid-template-columns: 70px 1fr; }
	.timeline__badge { grid-column: 2; justify-self: start; }
}

/* ---------- Unterseiten ---------- */

.page-head {
	padding-block: clamp(56px, 9vw, 112px) clamp(36px, 5vw, 64px);
	background:
		radial-gradient(60% 120% at 100% 100%, rgba(63, 116, 255, .35), transparent 60%),
		radial-gradient(40% 100% at 85% 120%, rgba(255, 122, 46, .3), transparent 60%),
		var(--bg-2);
	border-bottom: 1px solid var(--line);
}
.page-head__kicker { color: var(--orange); font-weight: 600; margin: 0 0 12px; }
.page-head__title { font-size: clamp(2.6rem, 7vw, 5.6rem); margin: 0; max-width: 16ch; text-wrap: balance; }
.page-head__lead { color: var(--muted); max-width: 56ch; margin: 18px 0 0; font-size: 1.15rem; }

.prose { max-width: 70ch; }
.prose > * + * { margin-top: 1.1em; }
.prose h2, .prose h3 { font-weight: 800; font-stretch: 112%; line-height: 1.1; margin-top: 1.8em; }
.prose h2 { font-size: 2rem; }
.prose h3 { font-size: 1.5rem; }
.prose a { color: var(--orange); text-underline-offset: 3px; }
.prose img, .prose figure img { border-radius: 6px; }
.prose figure { margin-inline: 0; }
.prose blockquote { margin-inline: 0; padding-left: 20px; border-left: 3px solid var(--violet); font-size: 1.3rem; }
.prose__hero { margin: 0 0 32px; }
.rotation-list { list-style: none; padding: 0; }
.rotation-list li { padding: 10px 0 10px 16px; border-left: 3px solid var(--violet); margin: 0 0 6px; background: var(--bg-2); border-radius: 0 8px 8px 0; padding-right: 14px; }
.rotation-list__meta { color: var(--muted); font-size: .92rem; }
.show-times { list-style: none; padding: 0; }
.show-times li { padding: 6px 0; border-top: 1px solid var(--line); }
.show-times strong { display: inline-block; min-width: 7.5em; }
.back { margin-top: 48px !important; }

/* ---------- Footer ---------- */

.site-footer { background: #13062a; padding-block: 56px 40px; color: var(--muted); }
.site-footer__inner { display: grid; grid-template-columns: minmax(0, 2fr) auto minmax(0, 1fr); gap: 32px; align-items: start; }
.site-footer__brand .brand__word { color: var(--ink); font-size: 1.5rem; }
.site-footer__brand p { margin: 10px 0 0; }
.social { list-style: none; margin: 0; padding: 0; display: flex; gap: 8px; }
.social a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--bg-2); transition: background-color .15s, color .15s; }
.social a:hover { background: var(--violet); color: #fff; }
.site-footer__legal { justify-self: end; text-align: right; }
.legal-list { list-style: none; margin: 0; padding: 0; display: flex; gap: 20px; justify-content: flex-end; }
.legal-list a { text-decoration: none; }
.legal-list a:hover { color: var(--ink); }
.site-footer__copy { margin: 10px 0 0; font-size: .9rem; }
@media (max-width: 760px) {
	.site-footer__inner { grid-template-columns: 1fr; }
	.site-footer__legal { justify-self: start; text-align: left; }
	.legal-list { justify-content: flex-start; }
}

/* ---------- Player-Leiste ---------- */

.player {
	position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
	height: var(--player-h);
	display: flex; align-items: center; gap: 16px;
	padding: 0 var(--gutter);
	background: #13062a;
	border-top: 1px solid var(--line);
}
.player::before {
	content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 2px;
	background: linear-gradient(90deg, var(--violet), var(--blue), var(--orange));
	opacity: 0; transition: opacity .3s;
}
.is-playing .player::before { opacity: 1; }
.player__btn {
	width: 46px; height: 46px; flex: none; border-radius: 50%; border: 0; cursor: pointer;
	background: var(--orange); color: #1a0933; display: grid; place-items: center;
}
.player__btn .icon { width: 22px; height: 22px; }
.is-offline .player__btn { background: var(--bg-3); color: var(--muted); }
.player__meta { min-width: 0; flex: 1; display: flex; flex-direction: column; line-height: 1.3; }
.player__track { font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.player__show { color: var(--muted); font-size: .9rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.player__eq { display: flex; align-items: flex-end; gap: 3px; height: 22px; }
.player__eq i { display: block; width: 4px; height: 4px; border-radius: 1px; background: var(--violet); }
.player__eq i:nth-child(2n) { background: var(--blue); }
.player__eq i:nth-child(3) { background: var(--orange); }
.player__volume { display: flex; align-items: center; gap: 10px; color: var(--muted); }
.player__volume input { width: 110px; accent-color: var(--orange); }
@media (max-width: 640px) { .player__volume { display: none; } }

/* ---------- Bewegung reduzieren ---------- */

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition-duration: .001ms !important; }
}

.site-main { transition: opacity .15s var(--ease); }
.site-main.is-leaving { opacity: 0; }
.site-main:focus { outline: none; }

/* Hinweis nach dem Kopieren */
.toast {
	position: fixed; left: 50%; bottom: calc(var(--player-h) + 16px); z-index: 70;
	transform: translateX(-50%);
	background: var(--ink); color: var(--bg); font-weight: 600;
	padding: 10px 18px; border-radius: 999px;
}

/* Kleine Bildschirme: Player unten reicht, Kopfzeile entlasten */
.section__head { flex-wrap: wrap; }
@media (max-width: 520px) {
	.onair-chip { display: none; }
	.nav-toggle { margin-left: auto; }
}

/* Fließtext bündig mit der Seitenüberschrift, Zeilen trotzdem gut lesbar */
.wrap.prose { max-width: var(--wrap); }
.wrap.prose > * { max-width: 70ch; }
.wrap.prose > .prose__hero { max-width: 100%; }
.prose h2 { font-size: 1.6rem; }

/* laut.fm-Modus: Musik läuft im laut.fm-Fenster, Lautstärke und Pegel gibt es hier nicht */
.is-external .player__volume,
.is-external .player__eq { display: none; }

/* Rave-Logo */
.site-footer__logo { display: block; width: 260px; max-width: 100%; height: auto; margin-bottom: 14px; }
@media (max-width: 520px) { .brand__logo { height: 36px; } }

/* Szene-News: Ticker und Wochenliste */
.scene-ticker { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 380px), 1fr)); gap: 12px 24px; }
.scene-ticker__item a { display: flex; flex-direction: column; gap: 6px; height: 100%; padding: 16px 18px; background: var(--bg-2); border-radius: 10px; border-left: 3px solid var(--blue); text-decoration: none; transition: background-color .15s; }
.scene-ticker__item:nth-child(3n+2) a { border-left-color: var(--violet); }
.scene-ticker__item:nth-child(3n+3) a { border-left-color: var(--orange); }
.scene-ticker__item a:hover { background: var(--bg-3); }
.scene-ticker__meta { color: var(--muted); font-size: .85rem; }
.scene-ticker__source { color: var(--orange); font-weight: 700; text-transform: uppercase; letter-spacing: .04em; margin-right: 6px; }
.scene-ticker__title { font-weight: 700; line-height: 1.3; }
.scene-ticker__note { color: var(--muted); font-size: .85rem; margin: 14px 0 0; }
.scene-box { margin: 0 0 48px; }
.scene-box__title { font-size: 1.5rem; font-weight: 800; font-stretch: 112%; margin: 0 0 16px; }
.scene-list { list-style: none; padding: 0; }
.scene-list li { padding: 12px 16px; margin: 0 0 8px; background: var(--bg-2); border-left: 3px solid var(--blue); border-radius: 0 8px 8px 0; }
.scene-list a { font-weight: 700; }
.scene-list__meta { display: block; color: var(--muted); font-size: .88rem; margin-top: 2px; }

/* =========================================================
   Programm: Wochen-Sendeplan (Raster) und Tagesliste
   ========================================================= */
.section--tight { padding-top: clamp(32px, 5vw, 56px); }

/* Farben je Sendung: Fläche, Text, Akzent */
.epg__block--sunrise, .legend__item--sunrise, .sc--sunrise { --c-bg: linear-gradient(160deg, #ffc46b, #ff7a2e); --c-ink: #2a0f05; --c-acc: #ff9a3c; }
.epg__block--pink,    .legend__item--pink, .sc--pink    { --c-bg: linear-gradient(160deg, #e2559c, #b8327a); --c-ink: #fff; --c-acc: #e2559c; }
.epg__block--teal,    .legend__item--teal, .sc--teal    { --c-bg: linear-gradient(160deg, #2fd1b5, #129c86); --c-ink: #04241f; --c-acc: #2fd1b5; }
.epg__block--blue,    .legend__item--blue, .sc--blue    { --c-bg: linear-gradient(160deg, #5b8cff, #2f56d8); --c-ink: #fff; --c-acc: #5b8cff; }
.epg__block--violet,  .legend__item--violet, .sc--violet  { --c-bg: linear-gradient(160deg, #b06bff, #6d24d6); --c-ink: #fff; --c-acc: #b06bff; }
.epg__block--night,   .legend__item--night, .sc--night   { --c-bg: linear-gradient(160deg, #3a3196, #1f1a5c); --c-ink: #e9e4ff; --c-acc: #7d70ff; }
.epg__block--rotation { --c-bg: var(--bg-2); --c-ink: var(--muted); --c-acc: var(--line); }

.epg {
	display: grid;
	grid-template-columns: 64px repeat(7, minmax(0, 1fr));
	grid-template-rows: auto repeat(8, minmax(92px, auto));
	gap: 6px;
	position: relative;
}
.epg__corner { grid-column: 1; grid-row: 1; }
.epg__day {
	grid-column: var(--col); grid-row: 1;
	position: sticky; top: calc(var(--header-h) + 8px); z-index: 3;
	display: flex; align-items: center; justify-content: center; gap: 8px;
	padding: 12px 6px; border-radius: 10px;
	background: var(--bg-2); font-weight: 800; font-stretch: 112%; text-transform: uppercase; letter-spacing: .04em; font-size: .9rem;
}
.epg__day.is-weekend { color: #ffb37a; }
.epg__day.is-today { background: var(--orange); color: #1a0933; }
.epg__today { font-size: .7rem; padding: 2px 7px; border-radius: 999px; background: #1a0933; color: var(--orange); letter-spacing: .06em; }

.epg__hour {
	grid-column: 1; grid-row: var(--row);
	font-weight: 800; font-size: 1.05rem; font-variant-numeric: tabular-nums;
	padding-top: 10px; color: var(--ink); line-height: 1;
}
.epg__hour small { display: block; font-size: .72rem; font-weight: 500; color: var(--muted); margin-top: 3px; }
.epg__hour.is-night { color: #a99bff; }
.epg__night { display: inline-block; margin-top: 8px; font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: #a99bff; }

/* Nacht-Band hinter den Zeilen 0–6 Uhr, heutige Spalte leicht hervorgehoben */
.epg__nightband { grid-column: 1 / -1; grid-row: 8 / span 2; margin: -3px -8px; border-radius: 12px; background: rgba(20, 10, 60, .55); border-top: 1px dashed rgba(169, 155, 255, .35); z-index: 0; }
.epg__todaycol { grid-column: var(--col); grid-row: 1 / -1; margin: -4px; border-radius: 14px; box-shadow: 0 0 0 2px var(--orange); z-index: 0; pointer-events: none; }

.epg__col { display: contents; }
.epg__block { grid-column: var(--col); grid-row: var(--row) / span var(--span); position: relative; z-index: 1; min-width: 0; }
.epg__link {
	display: flex; flex-direction: column; gap: 3px; height: 100%;
	padding: 12px 12px 14px; border-radius: 10px;
	background: var(--c-bg); color: var(--c-ink); text-decoration: none;
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08);
	transition: transform .15s var(--ease), box-shadow .15s;
	overflow: hidden;
}
a.epg__link:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0, 0, 0, .35), inset 0 0 0 1px rgba(255, 255, 255, .2); }
.epg__time { font-size: .78rem; font-weight: 700; font-variant-numeric: tabular-nums; opacity: .85; }
.epg__name { font-weight: 800; font-stretch: 108%; font-size: 1.02rem; line-height: 1.15; overflow-wrap: anywhere; }
.epg__genre { font-size: .78rem; opacity: .8; line-height: 1.25; }
.epg__block:not(.is-long) .epg__genre { display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.epg__flag { align-self: flex-start; margin-top: auto; font-size: .68rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; padding: 3px 8px; border-radius: 999px; background: rgba(0, 0, 0, .28); }
.epg__live {
	align-self: flex-start; margin-top: auto;
	display: inline-flex; align-items: center; gap: 6px;
	font-size: .7rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em;
	padding: 4px 9px; border-radius: 999px; background: #1a0933; color: var(--orange);
}
.epg__live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--orange); animation: epg-pulse 1.6s ease-in-out infinite; }
.epg__flag + .epg__live { margin-top: 4px; }
.epg__block.is-live .epg__link { box-shadow: 0 0 0 3px var(--orange), 0 12px 30px rgba(255, 122, 46, .35); }
@keyframes epg-pulse { 50% { opacity: .3; } }

.epg__note { color: var(--muted); font-size: .9rem; margin: 18px 0 0; }

/* Tagesliste (Handy) */
.week--mobile { display: none; }
.daylist { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.daylist .epg__block { grid-column: auto; grid-row: auto; }
.daylist .epg__link { flex-direction: row; flex-wrap: wrap; align-items: baseline; column-gap: 12px; padding: 14px 16px; min-height: calc(var(--span) * 40px + 24px); }
.daylist .epg__time { flex: 0 0 96px; font-size: .9rem; }
.daylist .epg__name { flex: 1 1 auto; font-size: 1.15rem; }
.daylist .epg__genre { flex-basis: 100%; padding-left: 108px; }
.daylist .epg__flag, .daylist .epg__live { margin: 6px 0 0 108px; }
.daylist .epg__flag + .epg__live { margin-left: 8px; }

@media (max-width: 1000px) {
	.epg, .epg__note { display: none; }
	.week--mobile { display: block; }
}
@media (max-width: 420px) {
	.daylist .epg__time { flex-basis: 100%; }
	.daylist .epg__genre { padding-left: 0; }
	.daylist .epg__flag, .daylist .epg__live { margin-left: 0; }
}

/* Legende: die Sendungen */
.legend__head { margin-top: clamp(48px, 7vw, 88px); }
.legend { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 16px; }
.legend__item { display: flex; gap: 16px; padding: 18px; background: var(--bg-2); border-radius: 12px; }
.legend__swatch { flex: 0 0 14px; border-radius: 8px; background: var(--c-bg); }
.legend__name { margin: 0; font-size: 1.3rem; font-weight: 800; font-stretch: 112%; line-height: 1.1; }
.legend__name a { text-decoration: none; }
.legend__name a:hover { color: var(--c-acc); }
.legend__genre { margin: 4px 0 0; color: var(--c-acc); font-weight: 700; font-size: .92rem; }
.legend__desc { margin: 8px 0 0; color: var(--ink); font-size: .95rem; }
.legend__when { margin: 10px 0 0; color: var(--muted); font-size: .85rem; }

/* =========================================================
   Startseite
   ========================================================= */
.hero__desc { margin: 16px 0 0; max-width: 46ch; font-size: 1.12rem; line-height: 1.5; color: var(--ink); text-shadow: 0 2px 18px rgba(26, 9, 51, .8); }
.hero__genre { display: inline-block; margin: 0 8px 6px 0; padding: 3px 10px; border-radius: 999px; background: var(--c-bg); color: var(--c-ink); font-size: .82rem; font-weight: 800; letter-spacing: .02em; vertical-align: 2px; text-shadow: none; }

/* Tagesleiste: ein Sendetag von 6 bis 6 Uhr */
.dayline { position: relative; padding-top: 30px; }
.dayline__list { list-style: none; margin: 0; padding: 0; display: flex; gap: 6px; }
.dayline__item { flex: var(--span) 1 0; min-width: 0; }
.dayline__link {
	display: flex; flex-direction: column; gap: 3px; height: 100%; min-height: 128px;
	padding: 14px 12px; border-radius: 10px; text-decoration: none;
	background: var(--c-bg); color: var(--c-ink);
	transition: transform .15s var(--ease), opacity .2s;
}
a.dayline__link:hover { transform: translateY(-3px); }
.dayline__item.is-past .dayline__link { opacity: .38; }
.dayline__item.is-past .dayline__link:hover { opacity: .8; }
.dayline__item.is-live .dayline__link { box-shadow: 0 0 0 3px var(--orange), 0 14px 34px rgba(255, 122, 46, .35); }
.dayline__item .epg__genre { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.dayline__now { position: absolute; top: 0; height: 36px; left: var(--now); width: 2px; background: var(--orange); border-radius: 2px; pointer-events: none; z-index: 2; }
.dayline__now span { position: absolute; top: 0; left: 50%; transform: translateX(-50%); padding: 2px 8px; border-radius: 999px; background: var(--orange); color: #1a0933; font-size: .75rem; font-weight: 800; font-variant-numeric: tabular-nums; white-space: nowrap; }
@media (max-width: 900px) {
	.dayline { padding-top: 0; }
	.dayline__now { display: none; }
	.dayline__list { flex-direction: column; }
	.dayline__link { min-height: 0; flex-direction: row; flex-wrap: wrap; align-items: baseline; column-gap: 12px; }
	.dayline__link .epg__time { flex: 0 0 96px; }
	.dayline__link .epg__genre { flex-basis: 100%; padding-left: 108px; }
	.dayline__link .epg__live { margin-left: 108px; }
}

/* Neues: eigene News und Szene nebeneinander */
.feed { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); align-items: start; }
.feed--single { grid-template-columns: 1fr; }
.feed__title { margin: 0 0 16px; font-size: .85rem; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.news-list--compact { grid-template-columns: 1fr; gap: 16px; }
.news-list--compact .news-item__link { display: grid; grid-template-columns: minmax(0, 42%) 1fr; gap: 18px; align-items: center; }
.news-list--compact .news-item__img { aspect-ratio: 16 / 10; }
.feed__scene .scene-ticker { grid-template-columns: 1fr; gap: 10px; }
.feed__scene .scene-ticker__item a { padding: 13px 16px; }
@media (max-width: 900px) { .feed { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .news-list--compact .news-item__link { grid-template-columns: 1fr; } }

/* Sendungen: 3 x 2 mit Farbstreifen */
@media (min-width: 900px) { .posters--grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.posters--grid .poster { border-top: 5px solid; border-image: var(--c-bg) 1; }
.posters--grid .poster__title { max-width: none; font-size: clamp(1.6rem, 2.3vw, 2.2rem); overflow-wrap: anywhere; }
.dayline__item .epg__name { overflow-wrap: normal; word-break: normal; hyphens: auto; font-size: clamp(.85rem, 1.15vw, 1.05rem); }
.dayline__now::after { content: ""; position: absolute; bottom: -5px; left: 50%; transform: translateX(-50%); border: 5px solid transparent; border-top-color: var(--orange); border-bottom: 0; }

/* =========================================================
   Wochen-Rubriken: Charts, Release-Radar, Künstler der Woche
   ========================================================= */
.charts-list { list-style: none; padding: 0; counter-reset: chart; }
.charts-list li { counter-increment: chart; display: grid; grid-template-columns: 2.6rem 3.4rem 1fr; align-items: baseline; column-gap: 10px; padding: 11px 14px; margin: 0 0 6px; background: var(--bg-2); border-radius: 8px; }
.charts-list li::before { content: counter(chart); grid-row: 1 / span 2; font-weight: 900; font-stretch: 120%; font-size: 1.5rem; line-height: 1; color: var(--orange); font-variant-numeric: tabular-nums; }
.charts-list li:nth-child(-n+3) { background: linear-gradient(90deg, rgba(255, 122, 46, .16), var(--bg-2) 60%); }
.charts-list__move { grid-row: 1 / span 2; font-size: .78rem; font-weight: 800; letter-spacing: .03em; white-space: nowrap; }
.charts-list__move--up { color: #4ade80; }
.charts-list__move--down { color: #f87171; }
.charts-list__move--same { color: var(--muted); }
.charts-list__move--new { color: #1a0933; background: var(--orange); padding: 1px 7px; border-radius: 999px; text-transform: uppercase; justify-self: start; }
.charts-list__meta { grid-column: 3; display: block; color: var(--muted); font-size: .88rem; }
.release-list { list-style: none; padding: 0; }
.release-list li { padding: 10px 14px 10px 16px; margin: 0 0 6px; background: var(--bg-2); border-left: 3px solid var(--orange); border-radius: 0 8px 8px 0; }
.release-list__meta { display: block; color: var(--muted); font-size: .88rem; margin-top: 2px; }
.fact-list { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 8px; }
.fact-list li { padding: 12px 14px; background: var(--bg-2); border-radius: 8px; font-weight: 700; }
.fact-list__key { display: block; color: var(--muted); font-size: .78rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 2px; }
.link-row a { font-weight: 700; }
.post-source { color: var(--muted); font-size: .88rem; }
.charts-list__track { grid-column: 3; }
