/* Homepage-Baukasten – öffentliche Homepages (de.radioplan24.uhp) */

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background: var(--uhp-bg);
	color: var(--uhp-text);
	font-family: var(--uhp-font);
	font-size: 17px;
	line-height: 1.65;
}

img {
	max-width: 100%;
	height: auto;
	display: block;
}

a {
	color: var(--uhp-primary);
}

a:hover {
	color: var(--uhp-accent);
}

h1, h2, h3, h4 {
	line-height: 1.25;
	margin: 0 0 .6em;
}

h1 { font-size: 2.2rem; }
h2 { font-size: 1.65rem; }
h3 { font-size: 1.3rem; }

p {
	margin: 0 0 1em;
}

.uhp-skip {
	position: absolute;
	left: -9999px;
	top: 0;
	z-index: 100;
	background: var(--uhp-primary);
	color: var(--uhp-primary-contrast);
	padding: 8px 14px;
}

.uhp-skip:focus {
	left: 8px;
	top: 8px;
}

/* Vorschau-Leiste */
.uhp-previewbar {
	position: sticky;
	top: 0;
	z-index: 60;
	display: flex;
	flex-wrap: wrap;
	gap: 8px 16px;
	align-items: center;
	justify-content: center;
	background: #111827;
	color: #fff;
	font: 14px/1.4 system-ui, sans-serif;
	padding: 8px 16px;
	text-align: center;
}

.uhp-previewbar a {
	color: #fbbf24;
	font-weight: 600;
}

/* Grundgerüst */
.uhp-shell {
	min-height: 100vh;
	display: flex;
	flex-direction: column;
}

.uhp-header-inner,
.uhp-content,
.uhp-footer-inner,
.uhp-hero-inner {
	width: 100%;
	max-width: 1120px;
	margin: 0 auto;
	padding-left: 20px;
	padding-right: 20px;
}

.uhp-header {
	background: var(--uhp-primary);
	color: var(--uhp-primary-contrast);
}

.uhp-header-inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px 24px;
	padding-top: 18px;
	padding-bottom: 18px;
}

.uhp-brand {
	display: flex;
	align-items: center;
	gap: 14px;
	color: inherit;
	text-decoration: none;
	min-width: 0;
}

.uhp-brand:hover {
	color: inherit;
}

.uhp-logo {
	width: auto;
	height: 56px;
	max-width: 180px;
	object-fit: contain;
}

.uhp-brand-text {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.uhp-site-title {
	font-size: 1.6rem;
	font-weight: 700;
	line-height: 1.2;
	overflow-wrap: anywhere;
}

.uhp-slogan {
	font-size: .95rem;
	opacity: .85;
}

.uhp-nav ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 4px;
}

.uhp-nav a {
	display: block;
	padding: 8px 14px;
	border-radius: 6px;
	color: inherit;
	text-decoration: none;
	font-weight: 600;
}

.uhp-nav a:hover,
.uhp-nav a.active {
	background: rgba(255, 255, 255, .18);
	color: inherit;
}

.uhp-nav-toggle,
.uhp-nav-button {
	display: none;
}

.uhp-burger,
.uhp-burger::before,
.uhp-burger::after {
	display: inline-block;
	width: 20px;
	height: 2px;
	background: currentColor;
	position: relative;
	vertical-align: middle;
}

.uhp-burger {
	margin-right: 8px;
}

.uhp-burger::before,
.uhp-burger::after {
	content: "";
	position: absolute;
	left: 0;
}

.uhp-burger::before { top: -6px; }
.uhp-burger::after { top: 6px; }

/* Hero */
.uhp-hero {
	background-color: var(--uhp-primary);
	background-size: cover;
	background-position: center;
	color: var(--uhp-primary-contrast);
	position: relative;
}

.uhp-hero-image {
	color: #fff;
}

.uhp-hero-image::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(0, 0, 0, .15), rgba(0, 0, 0, .55));
}

.uhp-hero-inner {
	position: relative;
	padding-top: 110px;
	padding-bottom: 110px;
	text-align: center;
}

.uhp-hero-title {
	font-size: clamp(2rem, 5vw, 3.4rem);
	font-weight: 800;
	line-height: 1.15;
	margin: 0 0 .3em;
}

.uhp-hero-slogan {
	font-size: 1.25rem;
	margin: 0;
	opacity: .95;
}

.uhp-hero-banner {
	height: 180px;
}

.uhp-hero-notitle .uhp-hero-inner {
	min-height: 320px;
}

/* Titelbild vollständig anzeigen (ohne Zuschnitt) */
.uhp-hero-full {
	background: #000;
}

.uhp-hero-img {
	display: block;
	width: 100%;
	height: auto;
	max-width: none;
	margin: 0 auto;
}

.uhp-hero-full-title .uhp-hero-inner {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding-top: 20px;
	padding-bottom: 20px;
	max-width: none;
	color: #fff;
	background: linear-gradient(180deg, rgba(0, 0, 0, .1), rgba(0, 0, 0, .5));
	text-shadow: 0 2px 12px rgba(0, 0, 0, .6);
}

/* Inhalt */
.uhp-main {
	flex: 1 0 auto;
}

.uhp-content {
	padding-top: 40px;
	padding-bottom: 40px;
}

.uhp-block {
	margin: 0 0 32px;
}

.uhp-block:last-child {
	margin-bottom: 0;
}

.uhp-align-left { text-align: left; }
.uhp-align-center { text-align: center; }
.uhp-align-right { text-align: right; }

.uhp-text > :last-child {
	margin-bottom: 0;
}

.uhp-text blockquote {
	border-left: 4px solid var(--uhp-accent);
	margin: 0 0 1em;
	padding: 4px 0 4px 18px;
	font-style: italic;
}

.uhp-text ul,
.uhp-text ol {
	margin: 0 0 1em;
	padding-left: 1.4em;
}

.uhp-empty {
	opacity: .6;
	text-align: center;
}

/* Menü als Seitenleiste */
.uhp-body {
	width: 100%;
	max-width: 1120px;
	margin: 0 auto;
	padding: 40px 20px;
	display: grid;
	grid-template-columns: 230px minmax(0, 1fr);
	gap: 36px;
	align-items: start;
}

.uhp-body-nav-right {
	grid-template-columns: minmax(0, 1fr) 230px;
}

.uhp-body-nav-right .uhp-sidenav {
	order: 2;
}

.uhp-body .uhp-content {
	max-width: none;
	padding: 0;
	margin: 0;
}

.uhp-sidenav {
	position: sticky;
	top: 20px;
	border-radius: 10px;
	background: rgba(127, 127, 127, .08);
	border: 1px solid rgba(127, 127, 127, .2);
	padding: 10px;
}

.uhp-sidenav ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.uhp-sidenav a {
	display: block;
	padding: 9px 12px;
	border-radius: 6px;
	color: inherit;
	text-decoration: none;
	font-weight: 600;
}

.uhp-sidenav a:hover {
	background: rgba(127, 127, 127, .15);
	color: inherit;
}

.uhp-sidenav a.active {
	background: var(--uhp-primary);
	color: var(--uhp-primary-contrast);
}

/* Menü im Fußbereich */
.uhp-footer-nav ul {
	list-style: none;
	margin: 0 0 14px;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 6px 18px;
}

.uhp-footer .uhp-footer-nav a {
	font-weight: 600;
	text-decoration: none;
}

.uhp-footer .uhp-footer-nav a.active,
.uhp-footer .uhp-footer-nav a:hover {
	text-decoration: underline;
}

/* Bild */
.uhp-image {
	margin: 0;
}

.uhp-image img {
	border-radius: 8px;
}

.uhp-image.uhp-size-full img { width: 100%; }
.uhp-image.uhp-size-large { max-width: 900px; }
.uhp-image.uhp-size-medium { max-width: 560px; }
.uhp-image.uhp-size-small { max-width: 320px; }

.uhp-image.uhp-align-center { margin-left: auto; margin-right: auto; }
.uhp-image.uhp-align-right { margin-left: auto; }
.uhp-image.uhp-size-full { max-width: none; }

.uhp-image.uhp-align-center img { margin: 0 auto; }
.uhp-image.uhp-align-right img { margin-left: auto; }

figcaption {
	font-size: .9rem;
	opacity: .75;
	margin-top: 8px;
}

/* Bild + Text */
.uhp-imagetext {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 32px;
	align-items: center;
}

.uhp-imagetext-right .uhp-imagetext-image {
	order: 2;
}

.uhp-imagetext-noimage {
	grid-template-columns: minmax(0, 1fr);
}

.uhp-imagetext-image img {
	width: 100%;
	border-radius: 8px;
}

/* Galerie */
.uhp-gallery {
	display: grid;
	gap: 12px;
}

.uhp-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.uhp-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.uhp-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.uhp-gallery-item {
	margin: 0;
}

.uhp-gallery-item img {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	border-radius: 6px;
	transition: transform .2s ease;
}

.uhp-gallery-item a:hover img {
	transform: scale(1.02);
}

/* Buttons */
.uhp-btn {
	display: inline-block;
	padding: 12px 26px;
	border-radius: 999px;
	font-weight: 700;
	text-decoration: none;
	border: 2px solid transparent;
	cursor: pointer;
	font: inherit;
	font-weight: 700;
	line-height: 1.3;
	transition: filter .15s ease, background .15s ease;
}

.uhp-btn:hover {
	filter: brightness(1.08);
}

.uhp-btn-primary {
	background: var(--uhp-primary);
	color: var(--uhp-primary-contrast);
}

.uhp-btn-accent {
	background: var(--uhp-accent);
	color: var(--uhp-accent-contrast);
}

.uhp-btn-outline {
	background: transparent;
	color: var(--uhp-primary);
	border-color: var(--uhp-primary);
}

.uhp-btn-primary:hover { color: var(--uhp-primary-contrast); }
.uhp-btn-accent:hover { color: var(--uhp-accent-contrast); }
.uhp-btn-outline:hover { color: var(--uhp-primary); }

/* Spalten */
.uhp-columns {
	display: grid;
	gap: 32px;
}

.uhp-ratio-50-50 { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.uhp-ratio-33-67 { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); }
.uhp-ratio-67-33 { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); }

/* Karten */
.uhp-cards {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 20px;
}

.uhp-card {
	border-radius: 10px;
	overflow: hidden;
	background: rgba(127, 127, 127, .08);
	border: 1px solid rgba(127, 127, 127, .2);
	display: flex;
	flex-direction: column;
}

.uhp-card-image img {
	width: 100%;
	aspect-ratio: 16 / 10;
	object-fit: cover;
}

.uhp-card-body {
	padding: 18px 20px;
}

.uhp-card-body > :last-child {
	margin-bottom: 0;
}

.uhp-card-link {
	font-weight: 700;
}

/* Zitat */
.uhp-quote {
	margin: 0;
	padding: 24px 28px;
	border-left: 5px solid var(--uhp-accent);
	background: rgba(127, 127, 127, .08);
	border-radius: 0 10px 10px 0;
	font-size: 1.15rem;
	font-style: italic;
}

.uhp-quote p:last-of-type {
	margin-bottom: 0;
}

.uhp-quote cite {
	display: block;
	margin-top: 12px;
	font-size: .95rem;
	font-style: normal;
	font-weight: 700;
}

.uhp-quote cite::before {
	content: "— ";
}

/* Trenner */
.uhp-divider-s { margin: 8px 0; }
.uhp-divider-m { margin: 24px 0; }
.uhp-divider-l { margin: 48px 0; }

.uhp-divider-line {
	border-top: 2px solid rgba(127, 127, 127, .3);
}

.uhp-divider-dots {
	text-align: center;
	height: 1.5em;
}

.uhp-divider-dots::before {
	content: "• • •";
	letter-spacing: .6em;
	color: var(--uhp-accent);
	font-size: 1.2rem;
}

/* Einbettungen (Zwei-Klick-Lösung) */
.uhp-embed {
	position: relative;
	width: 100%;
	border-radius: 10px;
	overflow: hidden;
	background: #1f2937;
	color: #fff;
}

.uhp-embed-video {
	aspect-ratio: 16 / 9;
}

.uhp-embed iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

.uhp-embed-consent {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 20px;
	text-align: center;
}

.uhp-embed-consent p {
	font-size: .85rem;
	max-width: 520px;
	opacity: .85;
	margin: 0;
}

.uhp-embed-load {
	width: 72px;
	height: 72px;
	border-radius: 50%;
	border: 0;
	background: var(--uhp-primary);
	color: var(--uhp-primary-contrast);
	font-size: 28px;
	cursor: pointer;
}

.uhp-embed-load:hover {
	filter: brightness(1.1);
}

/* Audio */
.uhp-audio {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 16px 20px;
	border-radius: 10px;
	background: rgba(127, 127, 127, .08);
}

.uhp-audio audio {
	width: 100%;
}

/* laut.fm */
.uhp-lautfm {
	display: flex;
	align-items: center;
	gap: 18px;
	padding: 16px 20px;
	border-radius: 14px;
	background: linear-gradient(135deg, var(--uhp-primary), var(--uhp-accent));
	color: var(--uhp-primary-contrast);
}

.uhp-lautfm-cover {
	flex: 0 0 auto;
	display: block;
	width: 96px;
	height: 96px;
	border-radius: 10px;
	overflow: hidden;
	background: rgba(255, 255, 255, .2);
	box-shadow: 0 4px 14px rgba(0, 0, 0, .25);
}

.uhp-lautfm-cover img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.uhp-lautfm-cover-empty {
	display: flex;
	width: 100%;
	height: 100%;
	align-items: center;
	justify-content: center;
	font-size: 40px;
}

.uhp-lautfm-info {
	flex: 1 1 auto;
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}

.uhp-lautfm-name {
	font-size: 1.25rem;
	line-height: 1.3;
}

.uhp-lautfm-format {
	font-size: .9rem;
	opacity: .9;
}

.uhp-lautfm-now {
	font-size: .95rem;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.uhp-lautfm-now[hidden] {
	display: none;
}

.uhp-lautfm-onair {
	display: inline-block;
	padding: 1px 8px;
	margin-right: 4px;
	border-radius: 4px;
	background: #dc2626;
	color: #fff;
	font-size: .72rem;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
	vertical-align: middle;
}

.uhp-lautfm-play {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 12px 22px;
	border-radius: 999px;
	background: #fff;
	color: #111;
	font-weight: 700;
	text-decoration: none;
	box-shadow: 0 4px 14px rgba(0, 0, 0, .2);
	transition: transform .15s ease;
}

.uhp-lautfm-play:hover {
	color: #111;
	transform: scale(1.04);
}

.uhp-lautfm-icon {
	font-size: 1.1rem;
}

/* Formulare */
.uhp-contact {
	max-width: 720px;
}

.uhp-form {
	display: grid;
	gap: 14px;
}

.uhp-field label {
	display: block;
	font-weight: 600;
	margin-bottom: 4px;
}

.uhp-field input[type="text"],
.uhp-field input[type="email"],
.uhp-field textarea {
	width: 100%;
	padding: 11px 13px;
	border: 1px solid rgba(127, 127, 127, .45);
	border-radius: 8px;
	background: rgba(255, 255, 255, .9);
	color: #111;
	font: inherit;
}

.uhp-field input:focus,
.uhp-field textarea:focus {
	outline: 2px solid var(--uhp-primary);
	outline-offset: 1px;
}

.uhp-field-check label {
	font-weight: 400;
	display: flex;
	gap: 8px;
	align-items: flex-start;
}

.uhp-field-check input {
	margin-top: 6px;
}

.uhp-field-error input,
.uhp-field-error textarea {
	border-color: #dc2626;
}

.uhp-error {
	color: #dc2626;
	font-size: .9rem;
}

.uhp-hp {
	position: absolute !important;
	left: -10000px !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.uhp-notice {
	padding: 12px 16px;
	border-radius: 8px;
	font-weight: 600;
}

.uhp-notice-success {
	background: #dcfce7;
	color: #14532d;
}

.uhp-notice-error {
	background: #fee2e2;
	color: #7f1d1d;
}

/* HTML-Block */
.uhp-html table {
	border-collapse: collapse;
	width: 100%;
}

.uhp-html td,
.uhp-html th {
	border: 1px solid rgba(127, 127, 127, .3);
	padding: 8px;
}

.uhp-html iframe {
	max-width: 100%;
	border: 0;
}

/* Fußbereich */
.uhp-footer {
	background: rgba(127, 127, 127, .1);
	border-top: 1px solid rgba(127, 127, 127, .2);
	font-size: .92rem;
}

.uhp-footer-inner {
	padding-top: 28px;
	padding-bottom: 28px;
	text-align: center;
}

.uhp-footer-text p {
	margin-bottom: .5em;
}

.uhp-footer-links {
	margin: 0;
}

.uhp-footer a {
	color: inherit;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.uhp-credit {
	margin: 12px 0 0;
	font-size: .8rem;
	opacity: .7;
}

/* Lightbox */
.uhp-lightbox-overlay {
	position: fixed;
	inset: 0;
	z-index: 200;
	background: rgba(0, 0, 0, .9);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 40px 20px;
}

.uhp-lightbox-overlay[hidden] {
	display: none;
}

.uhp-lightbox-overlay figure {
	margin: 0;
	max-width: 100%;
	max-height: 100%;
	text-align: center;
	color: #fff;
}

.uhp-lightbox-overlay img {
	max-width: 100%;
	max-height: calc(100vh - 120px);
	margin: 0 auto;
	object-fit: contain;
}

.uhp-lightbox-close {
	position: absolute;
	top: 12px;
	right: 18px;
	background: none;
	border: 0;
	color: #fff;
	font-size: 42px;
	line-height: 1;
	cursor: pointer;
}

/* ========== Layout: Modern ========== */
.uhp-layout-modern .uhp-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: var(--uhp-bg);
	color: var(--uhp-text);
	box-shadow: 0 1px 0 rgba(127, 127, 127, .25);
}

.uhp-layout-modern.uhp-has-preview .uhp-header {
	top: 37px;
}

.uhp-layout-modern .uhp-nav a:hover,
.uhp-layout-modern .uhp-nav a.active {
	background: var(--uhp-primary);
	color: var(--uhp-primary-contrast);
}

.uhp-layout-modern .uhp-site-title {
	color: var(--uhp-primary);
}

.uhp-layout-modern .uhp-hero-inner {
	padding-top: 150px;
	padding-bottom: 150px;
}

/* ========== Layout: Seitenleiste ========== */
@media (min-width: 900px) {
	.uhp-layout-seitenleiste .uhp-shell {
		display: grid;
		grid-template-columns: 280px minmax(0, 1fr);
		grid-template-rows: auto 1fr auto;
		grid-template-areas: "header hero" "header main" "header footer";
	}

	.uhp-layout-seitenleiste .uhp-header {
		grid-area: header;
		position: sticky;
		top: 0;
		height: 100vh;
		overflow-y: auto;
	}

	.uhp-layout-seitenleiste .uhp-hero { grid-area: hero; }
	.uhp-layout-seitenleiste .uhp-main { grid-area: main; }
	.uhp-layout-seitenleiste .uhp-footer { grid-area: footer; }

	.uhp-layout-seitenleiste .uhp-header-inner {
		flex-direction: column;
		align-items: stretch;
		justify-content: flex-start;
		padding: 32px 22px;
		gap: 28px;
	}

	.uhp-layout-seitenleiste .uhp-brand {
		flex-direction: column;
		align-items: flex-start;
	}

	.uhp-layout-seitenleiste .uhp-nav ul {
		flex-direction: column;
	}

	.uhp-layout-seitenleiste .uhp-hero-inner {
		padding-top: 80px;
		padding-bottom: 80px;
	}
}

/* ========== Layout: Dunkel ========== */
.uhp-layout-dunkel {
	background: #0b0f17;
	color: #e5e7eb;
}

.uhp-layout-dunkel .uhp-header {
	background: #111827;
	color: #f9fafb;
	border-bottom: 3px solid var(--uhp-accent);
}

.uhp-layout-dunkel .uhp-site-title {
	color: var(--uhp-accent);
}

.uhp-layout-dunkel a {
	color: var(--uhp-accent);
}

.uhp-layout-dunkel .uhp-nav a {
	color: #f9fafb;
}

.uhp-layout-dunkel .uhp-nav a.active,
.uhp-layout-dunkel .uhp-nav a:hover {
	background: var(--uhp-accent);
	color: var(--uhp-accent-contrast);
}

.uhp-layout-dunkel .uhp-card,
.uhp-layout-dunkel .uhp-quote,
.uhp-layout-dunkel .uhp-audio {
	background: #111827;
	border-color: #1f2937;
}

.uhp-layout-dunkel .uhp-footer {
	background: #111827;
	border-color: #1f2937;
}

.uhp-layout-dunkel .uhp-btn-primary {
	background: var(--uhp-accent);
	color: var(--uhp-accent-contrast);
}

/* ========== Layout: Minimal ========== */
.uhp-layout-minimal .uhp-header {
	background: transparent;
	color: var(--uhp-text);
	border-bottom: 1px solid rgba(127, 127, 127, .25);
}

.uhp-layout-minimal .uhp-site-title {
	font-size: 1.3rem;
	letter-spacing: .02em;
}

.uhp-layout-minimal .uhp-nav a {
	font-weight: 500;
}

.uhp-layout-minimal .uhp-nav a:hover,
.uhp-layout-minimal .uhp-nav a.active {
	background: none;
	color: var(--uhp-primary);
	text-decoration: underline;
	text-underline-offset: 6px;
}

.uhp-layout-minimal .uhp-content {
	max-width: 820px;
}

.uhp-layout-minimal .uhp-footer {
	background: transparent;
}

/* ========== Layout: Radio ========== */
.uhp-layout-radio .uhp-header {
	background: linear-gradient(90deg, var(--uhp-primary), var(--uhp-accent));
}

.uhp-layout-radio .uhp-site-title {
	text-transform: uppercase;
	letter-spacing: .04em;
	font-weight: 900;
}

.uhp-layout-radio .uhp-hero {
	background-color: #0f172a;
	color: #fff;
}

.uhp-layout-radio .uhp-hero-title::before {
	content: "ON AIR";
	display: block;
	width: max-content;
	margin: 0 auto 18px;
	padding: 4px 14px;
	border-radius: 4px;
	background: #dc2626;
	color: #fff;
	font-size: .9rem;
	letter-spacing: .2em;
}

.uhp-layout-radio .uhp-btn-primary {
	background: var(--uhp-accent);
	color: var(--uhp-accent-contrast);
}

/* ========== Mobil ========== */
@media (max-width: 899px) {
	.uhp-nav-button {
		display: inline-flex;
		align-items: center;
		cursor: pointer;
		padding: 8px 12px;
		border: 1px solid currentColor;
		border-radius: 6px;
		font-weight: 600;
		font-size: .95rem;
	}

	.uhp-nav {
		display: none;
		width: 100%;
	}

	.uhp-nav ul {
		flex-direction: column;
	}

	.uhp-nav-toggle:checked ~ .uhp-nav {
		display: block;
	}
}

@media (max-width: 899px) {
	.uhp-body,
	.uhp-body-nav-right {
		grid-template-columns: minmax(0, 1fr);
		gap: 20px;
		padding-top: 24px;
	}

	.uhp-body-nav-right .uhp-sidenav {
		order: 0;
	}

	.uhp-sidenav {
		position: static;
	}

	.uhp-sidenav ul {
		flex-direction: row;
		flex-wrap: wrap;
	}
}

@media (max-width: 720px) {
	.uhp-hero-banner {
		height: 110px;
	}

	.uhp-hero-notitle .uhp-hero-inner {
		min-height: 180px;
	}

	.uhp-hero-full-title .uhp-hero-title {
		font-size: 1.6rem;
	}

	body {
		font-size: 16px;
	}

	h1 { font-size: 1.8rem; }
	h2 { font-size: 1.4rem; }

	.uhp-imagetext,
	.uhp-columns {
		grid-template-columns: minmax(0, 1fr);
		gap: 20px;
	}

	.uhp-imagetext-right .uhp-imagetext-image {
		order: 0;
	}

	.uhp-cols-3,
	.uhp-cols-4 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.uhp-hero-inner,
	.uhp-layout-modern .uhp-hero-inner {
		padding-top: 70px;
		padding-bottom: 70px;
	}

	.uhp-logo {
		height: 44px;
	}

	.uhp-lautfm {
		flex-wrap: wrap;
	}

	.uhp-lautfm-cover {
		width: 72px;
		height: 72px;
	}

	.uhp-lautfm-play {
		width: 100%;
		justify-content: center;
	}
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	.uhp-gallery-item img {
		transition: none;
	}
}

@media print {
	.uhp-nav,
	.uhp-nav-button,
	.uhp-previewbar,
	.uhp-embed,
	.uhp-lautfm {
		display: none !important;
	}
}

/* ---------- Sendeplan ---------- */
.uhp-sp {
	container-type: inline-size;
	--uhp-sp-grad: linear-gradient(120deg, color-mix(in srgb, var(--uhp-primary) 70%, #000), var(--uhp-primary));
	--uhp-sp-line: color-mix(in srgb, currentColor 16%, transparent);
	--uhp-sp-soft: color-mix(in srgb, currentColor 5%, transparent);
	--uhp-sp-card: color-mix(in srgb, currentColor 7%, transparent);
}

.uhp-sp-js .uhp-sp-week[data-inactive="1"],
.uhp-sp-js .uhp-sp-panel[data-inactive="1"] {
	display: none;
}

.uhp-sp:not(.uhp-sp-js) .uhp-sp-week + .uhp-sp-week {
	margin-top: 32px;
}

.uhp-sp:not(.uhp-sp-js) .uhp-sp-btn {
	visibility: hidden;
}

.uhp-sp:not(.uhp-sp-js) .uhp-sp-panel + .uhp-sp-panel {
	margin-top: 14px;
}

/* Kopf */
.uhp-sp-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 14px;
	padding: 22px 26px;
	border-radius: 16px;
	background: var(--uhp-sp-grad);
	color: #fff;
}

.uhp-sp-brand {
	display: flex;
	align-items: center;
	gap: 12px;
	min-width: 0;
}

.uhp-sp-icon {
	display: inline-flex;
	flex: 0 0 auto;
}

.uhp-sp-title {
	display: block;
	font-size: 1.35em;
	line-height: 1.2;
	overflow-wrap: break-word;
}

.uhp-sp-range {
	display: block;
	margin-top: 2px;
	opacity: .85;
	font-size: .9em;
}

.uhp-sp-nav {
	display: flex;
	align-items: center;
	gap: 8px;
}

.uhp-sp-btn {
	width: 40px;
	height: 40px;
	border: 0;
	border-radius: 10px;
	background: rgba(255, 255, 255, .2);
	color: #fff;
	font: inherit;
	font-size: 1.5em;
	line-height: 1;
	cursor: pointer;
}

.uhp-sp-btn:hover:not(:disabled) {
	background: rgba(255, 255, 255, .32);
}

.uhp-sp-btn:disabled {
	opacity: .35;
	cursor: default;
}

.uhp-sp-kw {
	padding: 6px 12px;
	border-radius: 8px;
	background: rgba(255, 255, 255, .2);
	font-weight: 700;
	white-space: nowrap;
}

/* Tageskacheln */
.uhp-sp-days {
	display: grid;
	grid-template-columns: repeat(7, minmax(0, 1fr));
	gap: 10px;
	margin: 20px 0;
}

.uhp-sp-day {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 2px;
	min-width: 0;
	padding: 14px 6px 12px;
	border: 1px solid var(--uhp-sp-line);
	border-radius: 14px;
	background: var(--uhp-sp-soft);
	color: inherit;
	font: inherit;
	cursor: pointer;
	transition: transform .15s ease, box-shadow .15s ease;
}

.uhp-sp-day:hover {
	transform: translateY(-2px);
}

.uhp-sp-day.is-past:not(.is-active) {
	opacity: .6;
}

.uhp-sp-day.is-active {
	border-color: transparent;
	background: linear-gradient(160deg, var(--uhp-primary), color-mix(in srgb, var(--uhp-primary) 70%, #000));
	color: #fff;
	box-shadow: 0 8px 20px color-mix(in srgb, var(--uhp-primary) 35%, transparent);
}

.uhp-sp-dow {
	font-size: .8em;
	font-weight: 700;
	text-transform: uppercase;
	opacity: .8;
}

.uhp-sp-num {
	font-size: 1.9em;
	font-weight: 800;
	line-height: 1.1;
}

.uhp-sp-mon {
	font-size: .8em;
	opacity: .75;
}

.uhp-sp-count {
	margin-top: 6px;
	padding: 2px 8px;
	border-radius: 999px;
	background: color-mix(in srgb, currentColor 12%, transparent);
	font-size: .72em;
	font-weight: 700;
	white-space: nowrap;
	max-width: 100%;
	overflow: hidden;
	text-overflow: ellipsis;
}

.uhp-sp-count-short {
	display: none;
}

.uhp-sp-count.is-empty {
	opacity: .6;
}

.uhp-sp-day.is-active .uhp-sp-count {
	background: rgba(255, 255, 255, .25);
}

/* Tagesansicht */
.uhp-sp-panel {
	overflow: hidden;
	border: 1px solid var(--uhp-sp-line);
	border-radius: 16px;
	background: var(--uhp-sp-soft);
}

.uhp-sp-panelhead {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 10px;
	padding: 16px 24px;
	background: var(--uhp-sp-grad);
	color: #fff;
}

.uhp-sp-panelhead strong {
	font-size: 1.1em;
}

.uhp-sp-panelicon {
	display: inline-flex;
}

.uhp-sp-todaytag {
	font-size: .75em;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: .04em;
	opacity: .9;
}

.uhp-sp-pcount {
	margin-left: auto;
	padding: 4px 12px;
	border-radius: 999px;
	background: rgba(255, 255, 255, .22);
	font-size: .8em;
	font-weight: 700;
	white-space: nowrap;
}

.uhp-sp-list {
	display: grid;
	gap: 12px;
	padding: 16px;
}

.uhp-sp-empty {
	margin: 0;
	padding: 18px 8px;
	text-align: center;
	opacity: .65;
}

.uhp-sp-item {
	display: flex;
	align-items: flex-start;
	gap: 20px;
	padding: 20px;
	border-radius: 12px;
	background: var(--uhp-sp-card);
}

.uhp-sp-item.is-onair {
	box-shadow: inset 0 0 0 2px var(--uhp-accent);
}

.uhp-sp-time {
	flex: 0 0 auto;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	min-width: 96px;
	padding: 12px 10px;
	border-radius: 10px;
	background: var(--uhp-primary);
	color: var(--uhp-primary-contrast);
	text-align: center;
}

.uhp-sp-item.is-own .uhp-sp-time {
	background: var(--uhp-accent);
	color: var(--uhp-accent-contrast);
}

.uhp-sp-time strong {
	font-size: 1.35em;
	line-height: 1.1;
}

.uhp-sp-time small {
	font-size: .85em;
	opacity: .9;
}

.uhp-sp-info {
	min-width: 0;
	flex: 1 1 auto;
}

.uhp-sp-show {
	margin: 0 0 4px;
	font-size: 1.15em;
	line-height: 1.35;
	overflow-wrap: break-word;
}

.uhp-sp-live,
.uhp-sp-onair {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-left: 4px;
	padding: 2px 9px;
	border-radius: 6px;
	font-size: .7em;
	font-weight: 700;
	vertical-align: middle;
	white-space: nowrap;
}

.uhp-sp-live {
	background: rgba(220, 38, 38, .15);
	color: #dc2626;
}

.uhp-sp-dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #dc2626;
}

.uhp-sp-onair {
	background: #dc2626;
	color: #fff;
}

.uhp-sp-host {
	margin: 0;
	color: color-mix(in srgb, var(--uhp-accent) 75%, currentColor);
	font-weight: 600;
}

.uhp-sp-where {
	margin: 2px 0 0;
	font-size: .9em;
	opacity: .8;
}

.uhp-sp-desc {
	margin: 6px 0 0;
	font-size: .9em;
	opacity: .8;
}

/* schmale Bereiche: Kacheln waagerecht wischbar */
@container (max-width: 640px) {
	.uhp-sp-head {
		padding: 18px;
	}

	.uhp-sp-days {
		display: flex;
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		padding-bottom: 4px;
	}

	.uhp-sp-day {
		flex: 0 0 76px;
		scroll-snap-align: start;
	}

	.uhp-sp-count {
		min-width: 24px;
		text-align: center;
	}

	.uhp-sp-count-long {
		display: none;
	}

	.uhp-sp-count-short {
		display: inline;
	}

	.uhp-sp-panelhead {
		padding: 14px 16px;
	}

	.uhp-sp-list {
		padding: 12px;
	}

	.uhp-sp-item {
		gap: 14px;
		padding: 14px;
	}

	.uhp-sp-time {
		min-width: 78px;
		padding: 10px 8px;
	}
}

@media print {
	.uhp-sp-btn {
		display: none !important;
	}

	.uhp-sp-week[data-inactive="1"],
	.uhp-sp-panel[data-inactive="1"] {
		display: block !important;
	}
}

/* ---------- Gästebuch ---------- */
.uhp-guestbook {
	--uhp-gb-line: color-mix(in srgb, currentColor 14%, transparent);
	--uhp-gb-soft: color-mix(in srgb, currentColor 5%, transparent);
}

.uhp-gb-write {
	margin: 0 0 24px;
}

.uhp-gb-write > summary {
	display: inline-flex;
	list-style: none;
	cursor: pointer;
}

.uhp-gb-write > summary::-webkit-details-marker {
	display: none;
}

.uhp-gb-write[open] > summary {
	display: none;
}

.uhp-gb-write .uhp-form {
	padding: 20px;
	border: 1px solid var(--uhp-gb-line);
	border-radius: 14px;
	background: var(--uhp-gb-soft);
}

.uhp-field-short input {
	max-width: 140px;
}

.uhp-gb-count {
	margin: 0 0 12px;
	font-weight: 700;
}

.uhp-gb-empty {
	opacity: .7;
}

.uhp-gb-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 14px;
}

.uhp-gb-entry {
	padding: 18px 20px;
	border: 1px solid var(--uhp-gb-line);
	border-radius: 14px;
	background: var(--uhp-gb-soft);
}

.uhp-gb-head {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 10px;
}

.uhp-gb-avatar {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	border-radius: 50%;
	background: var(--uhp-primary);
	color: var(--uhp-primary-contrast);
	font-weight: 700;
	font-size: 1.1em;
}

.uhp-gb-name {
	display: block;
	overflow-wrap: anywhere;
}

.uhp-gb-time {
	display: block;
	font-size: .85em;
	opacity: .7;
}

.uhp-gb-message {
	overflow-wrap: anywhere;
}

.uhp-gb-message p,
.uhp-gb-reply p {
	margin: 0 0 .6em;
}

.uhp-gb-message p:last-child,
.uhp-gb-reply p:last-child {
	margin-bottom: 0;
}

.uhp-gb-reply {
	margin-top: 12px;
	padding: 12px 14px;
	border-left: 4px solid var(--uhp-accent);
	border-radius: 8px;
	background: var(--uhp-gb-soft);
	overflow-wrap: anywhere;
}

.uhp-gb-reply strong {
	display: block;
	margin-bottom: 4px;
	font-size: .9em;
}

.uhp-gb-pages {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin-top: 18px;
}

.uhp-gb-page {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 38px;
	height: 38px;
	padding: 0 8px;
	border: 1px solid var(--uhp-gb-line);
	border-radius: 8px;
	color: inherit;
	text-decoration: none;
}

.uhp-gb-page.is-current {
	border-color: transparent;
	background: var(--uhp-primary);
	color: var(--uhp-primary-contrast);
	font-weight: 700;
}

@media print {
	.uhp-gb-write,
	.uhp-gb-pages {
		display: none !important;
	}
}
