/* L17 OV Geldern – Theme-Stylesheet (Front-End + Editor) */

:root {
	--l17-ink: #102A43;
	--l17-text: #243B53;
	--l17-muted: #52667A;
	--l17-line: #D9E4F0;
	--l17-sky: #EEF5FF;
	--l17-paper: #FBF8F3;
	--l17-blue: #0B5CD5;
	--l17-blue-dark: #0A4FB8;
	--l17-orange: #FF8A3D;
	--l17-sun: #FFC94D;
	--l17-green: #12805A;
	--l17-lcd: #0E1B2C;
	--l17-glow: #7CFFB2;
	--l17-r-s: 8px;
	--l17-r-m: 16px;
	--l17-r-l: 28px;
	--l17-shadow: 0 1px 2px rgba(16, 42, 67, .06), 0 14px 34px -14px rgba(16, 42, 67, .22);
	--l17-wide: 1200px;
	--l17-gutter: clamp(1rem, 4vw, 2rem);
	--l17-mono: "JetBrains Mono", ui-monospace, monospace;
	--l17-display: "Bricolage Grotesque", "Segoe UI", sans-serif;
}

/* ---------- Grundlagen ---------- */
html { scroll-behavior: smooth; }
body { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
.wp-site-blocks > * + *,
.l17-main > * + * { margin-block-start: 0 !important; }
.wp-site-blocks { padding: 0 !important; }
:where(a) { text-underline-offset: .18em; text-decoration-thickness: 1px; }
:focus-visible { outline: 3px solid var(--l17-orange); outline-offset: 3px; border-radius: 4px; }
img { max-width: 100%; height: auto; }
.l17-mono { font-family: var(--l17-mono); }
.l17-main section,
.l17-pagehead { position: relative; }

.l17-eyebrow {
	margin: 0 0 .75rem;
	font-family: var(--l17-mono);
	font-size: .8125rem;
	font-weight: 600;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--l17-blue);
	display: inline-flex;
	align-items: center;
	gap: .55rem;
}
.l17-eyebrow a { color: inherit; text-decoration: none; }
.l17-eyebrow--light { color: var(--l17-sun); }
.l17-h2 {
	font-family: var(--l17-display);
	font-size: clamp(1.75rem, 1.2rem + 2vw, 2.6rem);
	line-height: 1.12;
	letter-spacing: -.02em;
	color: var(--l17-ink);
	margin: 0 0 1rem;
	text-wrap: balance;
}
.l17-h2 mark {
	background: linear-gradient(transparent 62%, rgba(255, 201, 77, .75) 62%);
	color: inherit;
	padding: 0 .1em;
}

/* Signal-Punkt („on air“) */
.l17-dot {
	width: .6rem;
	height: .6rem;
	border-radius: 50%;
	background: #2BD47F;
	box-shadow: 0 0 0 0 rgba(43, 212, 127, .6);
	animation: l17-pulse 2.2s infinite;
	display: inline-block;
	flex: none;
}
@keyframes l17-pulse {
	0% { box-shadow: 0 0 0 0 rgba(43, 212, 127, .55); }
	70% { box-shadow: 0 0 0 .55rem rgba(43, 212, 127, 0); }
	100% { box-shadow: 0 0 0 0 rgba(43, 212, 127, 0); }
}

/* Buttons */
.l17-btn {
	display: inline-flex;
	align-items: center;
	gap: .5rem;
	min-height: 48px;
	padding: .75rem 1.35rem;
	border-radius: 999px;
	background: var(--l17-blue);
	color: #fff;
	font-weight: 700;
	text-decoration: none;
	border: 2px solid transparent;
	transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease;
	box-shadow: 0 8px 18px -10px rgba(11, 92, 213, .7);
}
.l17-btn:hover { background: var(--l17-blue-dark); color: #fff; transform: translateY(-2px); }
.l17-btn--sun { background: var(--l17-orange); color: var(--l17-ink); box-shadow: 0 8px 18px -10px rgba(255, 138, 61, .9); }
.l17-btn--sun:hover { background: #FF7A1A; color: var(--l17-ink); }
.l17-btn--ghost { background: #fff; color: var(--l17-ink); border-color: var(--l17-line); box-shadow: none; }
.l17-btn--ghost:hover { background: #fff; color: var(--l17-blue); border-color: var(--l17-blue); }
.l17-more {
	font-weight: 700;
	color: var(--l17-blue);
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	gap: .4rem;
}
.l17-more::after { content: "→"; transition: transform .15s ease; }
.l17-more:hover::after { transform: translateX(4px); }

/* ---------- Infoleiste ---------- */
.l17-topbar { background: var(--l17-ink); color: #C9D6E3; font-size: .875rem; }
.l17-topbar__inner {
	max-width: var(--l17-wide);
	margin: 0 auto;
	padding: .5rem var(--l17-gutter);
	display: flex;
	gap: 1.5rem;
	align-items: center;
	justify-content: space-between;
}
.l17-topbar__item { margin: 0; display: flex; align-items: center; gap: .35rem; white-space: nowrap; }
.l17-topbar strong { color: #fff; font-weight: 700; }
.l17-topbar__rel { color: var(--l17-sun); }
.l17-topbar__morse { font-family: var(--l17-mono); letter-spacing: .1em; color: #6F87A0; white-space: pre; }
@media (max-width: 1199.98px) { .l17-topbar__morse { display: none; } }
@media (max-width: 760px) {
	.l17-topbar__inner { justify-content: center; }
	.l17-topbar__item:not(.l17-topbar__freq) { display: none; }
}

/* ---------- Kopfbereich ---------- */
.l17-site-header { position: sticky; top: 0; z-index: 50; }
.admin-bar .l17-site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .l17-site-header { top: 0; position: relative; } }
.l17-header {
	background: #fff;
	border-bottom: 1px solid transparent;
	transition: border-color .2s ease, box-shadow .2s ease;
	padding-block: .85rem;
}
.is-scrolled .l17-header { border-bottom-color: var(--l17-line); box-shadow: 0 8px 24px -18px rgba(16, 42, 67, .5); }
.l17-header__row { gap: 1.5rem; }
.l17-brand { gap: .8rem !important; }
.l17-logo img { display: block; width: 52px; height: 52px; }
.l17-brand__text { gap: 0 !important; }
.l17-brand__kicker {
	margin: 0 !important;
	font-family: var(--l17-mono);
	font-size: .6875rem;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--l17-blue);
	font-weight: 600;
}
.l17-brand__title {
	margin: 0 !important;
	font-family: var(--l17-display);
	font-size: 1.3rem;
	font-weight: 800;
	letter-spacing: -.02em;
	line-height: 1.1;
}
.l17-brand__title a { color: var(--l17-ink); text-decoration: none; }

/* Navigation */
.l17-nav { font-weight: 600; font-size: 1rem; }
.l17-nav .wp-block-navigation__container { gap: .2rem; }
.l17-nav .wp-block-navigation-item__content {
	padding: .5rem .8rem !important;
	border-radius: 999px;
	color: var(--l17-ink);
	text-decoration: none;
	transition: background-color .15s ease, color .15s ease;
}
.l17-nav .wp-block-navigation-item__content:hover { background: var(--l17-sky); color: var(--l17-blue); }
.l17-nav .current-menu-item > .wp-block-navigation-item__content,
.l17-nav .wp-block-navigation-item__content[aria-current="page"] { background: var(--l17-sky); color: var(--l17-blue); }
.l17-nav .l17-nav__cta > .wp-block-navigation-item__content { background: var(--l17-orange); color: var(--l17-ink); margin-left: .4rem; }
.l17-nav .l17-nav__cta > .wp-block-navigation-item__content:hover { background: #FF7A1A; color: var(--l17-ink); }
.l17-nav .wp-block-navigation__responsive-container-open {
	width: 48px; height: 48px; border-radius: 12px; background: var(--l17-sky); color: var(--l17-ink);
	align-items: center; justify-content: center;
}
/* Hamburger bis 1099 px (8 Menüpunkte) */
@media (min-width: 600px) and (max-width: 1099.98px) {
	.l17-nav .wp-block-navigation__responsive-container-open:not(.always-shown) { display: flex !important; }
	.l17-nav .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) { display: none !important; }
}
.l17-nav .wp-block-navigation__responsive-container.is-menu-open {
	padding: 1.25rem var(--l17-gutter) 2rem !important;
	background: #fff !important;
}
.l17-nav .is-menu-open .wp-block-navigation__responsive-container-content { align-items: stretch !important; padding-top: 3.5rem; }
.l17-nav .is-menu-open .wp-block-navigation__container { gap: .35rem !important; align-items: stretch !important; width: 100%; }
.l17-nav .is-menu-open .wp-block-navigation-item { width: 100%; align-items: stretch !important; }
.l17-nav .is-menu-open .wp-block-navigation-item__content {
	width: 100%; box-sizing: border-box; font-size: 1.25rem; font-family: var(--l17-display); padding: .8rem 1rem !important; border-radius: 14px;
}
.l17-nav .is-menu-open .l17-nav__cta > .wp-block-navigation-item__content { margin: .75rem 0 0; justify-content: center; }
.l17-nav .wp-block-navigation__responsive-container-close { width: 48px; height: 48px; border-radius: 12px; background: var(--l17-sky); display: flex; align-items: center; justify-content: center; }

/* ---------- Hero ---------- */
.l17-hero {
	background:
		radial-gradient(1200px 500px at 85% -10%, rgba(255, 201, 77, .28), transparent 60%),
		linear-gradient(180deg, var(--l17-sky) 0%, #F7FAFF 70%, #fff 100%);
	overflow: hidden;
	padding: clamp(2.5rem, 6vw, 5rem) var(--l17-gutter) clamp(4rem, 8vw, 6.5rem);
}
.l17-hero__waves {
	position: absolute;
	inset: 0;
	background: repeating-radial-gradient(circle at 76% 34%, transparent 0 46px, rgba(11, 92, 213, .075) 46px 48px);
	-webkit-mask-image: radial-gradient(circle at 76% 34%, #000 0, transparent 62%);
	mask-image: radial-gradient(circle at 76% 34%, #000 0, transparent 62%);
	pointer-events: none;
}
.l17-hero__inner {
	position: relative;
	max-width: var(--l17-wide);
	margin: 0 auto;
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
	gap: clamp(2rem, 5vw, 4.5rem);
	align-items: center;
}
.l17-hero__title {
	font-family: var(--l17-display);
	font-size: clamp(2.7rem, 1.6rem + 4.4vw, 5rem);
	font-weight: 800;
	line-height: .98;
	letter-spacing: -.035em;
	color: var(--l17-ink);
	margin: 0 0 1.4rem;
}
.l17-hero__title-sub {
	display: block;
	margin-top: .9rem;
	font-size: .42em;
	line-height: 1.2;
	font-weight: 700;
	letter-spacing: -.015em;
	color: var(--l17-blue);
	text-wrap: balance;
}
.l17-squiggle {
	position: relative;
	white-space: nowrap;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 12' preserveAspectRatio='none'%3E%3Cpath d='M2 7 Q 9 1 16 7 T 30 7 T 44 7 T 58 7 T 72 7 T 86 7 T 100 7 T 118 7' fill='none' stroke='%23FF8A3D' stroke-width='3.2' stroke-linecap='round'/%3E%3C/svg%3E") left 100% / 100% .28em no-repeat;
	padding-bottom: .12em;
}
.l17-hero__lead { font-size: clamp(1.075rem, 1rem + .35vw, 1.25rem); color: var(--l17-text); max-width: 36rem; margin: 0 0 1.8rem; }
.l17-hero__actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-bottom: 1.6rem; }
.l17-hero__chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.l17-hero__chips li {
	font-family: var(--l17-mono);
	font-size: .8125rem;
	font-weight: 600;
	padding: .35rem .75rem;
	border-radius: 999px;
	background: #fff;
	border: 1px dashed #A9BFD8;
	color: var(--l17-ink);
}
.l17-hero__media { position: relative; padding: 1rem 0 2.2rem; }
.l17-hero__photo {
	margin: 0;
	border-radius: var(--l17-r-l);
	overflow: hidden;
	border: 10px solid #fff;
	box-shadow: 0 30px 60px -30px rgba(16, 42, 67, .55);
	transform: rotate(1.6deg);
	background: #fff;
}
.l17-hero__photo img { display: block; width: 100%; aspect-ratio: 4 / 3.2; object-fit: cover; object-position: 70% 60%; }
.l17-ticket {
	position: absolute;
	left: -1.5rem;
	bottom: 0;
	display: grid;
	gap: .15rem;
	padding: 1rem 1.3rem 1rem 1.6rem;
	background: #fff;
	border-radius: 14px;
	box-shadow: var(--l17-shadow);
	transform: rotate(-3deg);
	text-decoration: none;
	color: var(--l17-ink);
	border-left: 0;
	transition: transform .2s ease;
}
.l17-ticket::before {
	content: "";
	position: absolute;
	left: .55rem; top: .7rem; bottom: .7rem;
	border-left: 2px dashed var(--l17-orange);
}
.l17-ticket:hover { transform: rotate(-1deg) translateY(-3px); color: var(--l17-ink); }
.l17-ticket__label { font-family: var(--l17-mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: #C2510F; font-weight: 700; }
.l17-ticket__date { font-family: var(--l17-display); font-weight: 800; font-size: 1.6rem; line-height: 1.1; }
.l17-ticket__meta { font-size: .9rem; color: var(--l17-muted); }
.l17-hero__qsl {
	position: absolute;
	top: -.6rem;
	right: -.6rem;
	width: 96px;
	height: 96px;
	border-radius: 50%;
	border: 3px dashed var(--l17-orange);
	background: rgba(255, 255, 255, .92);
	color: var(--l17-ink);
	display: grid;
	place-content: center;
	text-align: center;
	font-family: var(--l17-display);
	font-weight: 800;
	font-size: 2.1rem;
	line-height: .95;
	transform: rotate(12deg);
	margin: 0;
	box-shadow: var(--l17-shadow);
}
.l17-hero__qsl span { font-family: var(--l17-mono); font-size: .62rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #C2510F; }

@media (max-width: 900px) {
	.l17-hero__inner { grid-template-columns: 1fr; }
	.l17-hero__media { max-width: 560px; margin: 0 auto; width: 100%; }
	.l17-ticket { left: .5rem; }
}
@media (max-width: 480px) {
	.l17-hero__qsl { width: 76px; height: 76px; font-size: 1.6rem; right: 0; }
	.l17-ticket__date { font-size: 1.3rem; }
}

/* ---------- Auf einen Blick ---------- */
.l17-glance { padding: 0 var(--l17-gutter) clamp(3rem, 6vw, 5rem); margin-top: clamp(-3.5rem, -5vw, -2rem) !important; z-index: 2; }
.l17-glance__inner {
	max-width: var(--l17-wide);
	margin: 0 auto;
	display: grid;
	grid-template-columns: 1.15fr 1fr 1fr;
	gap: 1.25rem;
	align-items: stretch;
}
.l17-card {
	background: #fff;
	border: 1px solid var(--l17-line);
	border-radius: var(--l17-r-m);
	padding: 1.5rem;
	box-shadow: var(--l17-shadow);
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
}
.l17-card p { margin: 0 0 1rem; }
.l17-card .l17-more { margin-top: auto; }
.l17-card__kicker { font-family: var(--l17-mono); font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--l17-blue); font-weight: 700; margin: 0 0 .4rem !important; }
.l17-card__title { font-family: var(--l17-display); font-size: 1.3rem; line-height: 1.2; margin: 0 0 1rem; color: var(--l17-ink); }
.l17-mini-dates { list-style: none; margin: 0 0 1.1rem; padding: 0; display: grid; gap: .35rem; }
.l17-mini-dates li { display: flex; justify-content: space-between; gap: 1rem; padding: .5rem .75rem; border-radius: 10px; background: #F6F9FD; font-size: .95rem; }
.l17-mini-dates li span:last-child { font-family: var(--l17-mono); color: var(--l17-muted); font-size: .85rem; }
.l17-mini-dates li.is-next { background: #FFF1E4; color: var(--l17-ink); font-weight: 700; box-shadow: inset 0 0 0 1px #FFD2B1; }
@media (max-width: 1000px) {
	.l17-glance__inner { grid-template-columns: 1fr 1fr; }
	.l17-glance__radio { grid-column: 1 / -1; }
}
@media (max-width: 640px) { .l17-glance__inner { grid-template-columns: 1fr; } }

/* Funkgeräte-Display */
.l17-radio {
	height: 100%;
	box-sizing: border-box;
	border-radius: 22px;
	padding: 1.3rem 1.5rem 1.4rem;
	color: #CFE0F2;
	background:
		repeating-linear-gradient(0deg, rgba(255, 255, 255, .025) 0 2px, transparent 2px 4px),
		linear-gradient(160deg, #17304D 0%, var(--l17-lcd) 70%);
	box-shadow: 0 0 0 6px #2A3E55, 0 0 0 7px #3B5370, 0 26px 48px -24px rgba(16, 42, 67, .8);
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: .6rem;
	min-height: 220px;
}
.l17-radio__top { display: flex; gap: .5rem; flex-wrap: wrap; align-items: center; font-family: var(--l17-mono); font-size: .72rem; letter-spacing: .08em; }
.l17-radio__vfo, .l17-radio__mode { padding: .15rem .45rem; border-radius: 4px; background: rgba(124, 255, 178, .12); color: var(--l17-glow); }
.l17-radio__onair { margin-left: auto; display: inline-flex; align-items: center; gap: .4rem; color: #fff; }
.l17-radio__freq {
	font-family: var(--l17-mono);
	font-weight: 700;
	font-size: clamp(2.4rem, 1.6rem + 2.6vw, 3.4rem);
	line-height: 1;
	color: var(--l17-glow);
	text-shadow: 0 0 18px rgba(124, 255, 178, .45);
	letter-spacing: -.02em;
	white-space: nowrap;
}
.l17-radio__freq small { font-size: .45em; opacity: .7; }
.l17-radio__freq em { font-style: normal; font-size: .32em; color: #CFE0F2; letter-spacing: .08em; vertical-align: .9em; }
.l17-radio__meter { display: flex; align-items: flex-end; gap: 4px; height: 26px; font-family: var(--l17-mono); font-size: .72rem; color: #8FA6BD; }
.l17-radio__meter span { margin-right: .3rem; align-self: center; }
.l17-radio__meter i { width: 9px; border-radius: 2px; background: var(--l17-glow); height: 30%; opacity: .85; animation: l17-meter 1.6s ease-in-out infinite; }
.l17-radio__meter i:nth-child(n+7) { background: var(--l17-orange); }
.l17-radio__meter i:nth-child(2) { animation-delay: .1s; } .l17-radio__meter i:nth-child(3) { animation-delay: .2s; }
.l17-radio__meter i:nth-child(4) { animation-delay: .3s; } .l17-radio__meter i:nth-child(5) { animation-delay: .4s; }
.l17-radio__meter i:nth-child(6) { animation-delay: .5s; } .l17-radio__meter i:nth-child(7) { animation-delay: .6s; }
.l17-radio__meter i:nth-child(8) { animation-delay: .7s; } .l17-radio__meter i:nth-child(9) { animation-delay: .8s; }
@keyframes l17-meter { 0%, 100% { height: 25%; } 40% { height: 100%; } 70% { height: 55%; } }
.l17-radio__label { margin: 0; font-family: var(--l17-display); font-size: 1.35rem; font-weight: 700; color: #fff; }

/* ---------- Willkommen ---------- */
.l17-welcome { background: var(--l17-paper); padding: clamp(3.5rem, 7vw, 6rem) var(--l17-gutter); }
.l17-welcome__inner {
	max-width: var(--l17-wide);
	margin: 0 auto;
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
	gap: clamp(2rem, 5vw, 5rem);
	align-items: center;
}
.l17-welcome__text p { font-size: 1.1rem; }
.l17-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; position: relative; }
.l17-steps::before { content: ""; position: absolute; left: 2.15rem; top: 1.5rem; bottom: 1.5rem; border-left: 2px dashed #F2C9A8; }
.l17-step {
	position: relative;
	display: grid;
	grid-template-columns: 4.3rem 1fr;
	gap: 1rem;
	align-items: start;
	background: #fff;
	border: 1px solid #EFE6DA;
	border-radius: var(--l17-r-m);
	padding: 1.15rem 1.25rem 1.15rem 1rem;
	box-shadow: 0 10px 26px -20px rgba(16, 42, 67, .45);
}
.l17-step:nth-child(2) { margin-left: 1.25rem; }
.l17-step:nth-child(3) { margin-left: 2.5rem; }
.l17-step__no {
	width: 2.6rem; height: 2.6rem; margin: .1rem auto 0;
	border-radius: 50%;
	background: var(--l17-orange);
	color: var(--l17-ink);
	display: grid; place-items: center;
	font-family: var(--l17-mono); font-weight: 800; font-size: .95rem;
	box-shadow: 0 0 0 6px #FFF1E4;
}
.l17-step h3 { margin: 0 0 .2rem; font-size: 1.2rem; }
.l17-step p { margin: 0; color: var(--l17-muted); }
@media (max-width: 900px) {
	.l17-welcome__inner { grid-template-columns: 1fr; }
	.l17-step:nth-child(n) { margin-left: 0; }
}

/* ---------- Aktivitäten / QSL-Karten ---------- */
.l17-acts { background: #fff; padding: clamp(3.5rem, 7vw, 6rem) var(--l17-gutter); }
.l17-acts__inner { max-width: var(--l17-wide); margin: 0 auto; }
.l17-acts__head { max-width: 44rem; margin-bottom: 2.25rem; }
.l17-acts__head p { font-size: 1.1rem; color: var(--l17-muted); margin: 0; }
.l17-qsl-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.4rem; }
.l17-qsl {
	--tone: var(--l17-blue);
	--tone-ink: #fff;
	position: relative;
	display: flex;
	flex-direction: column;
	background:
		radial-gradient(circle at 100% 0, color-mix(in srgb, var(--tone) 12%, transparent) 0 90px, transparent 91px),
		#fff;
	border: 1px solid var(--l17-line);
	border-top: 10px solid var(--tone);
	border-radius: 14px;
	padding: 1.1rem 1.3rem 1rem;
	box-shadow: 0 16px 30px -24px rgba(16, 42, 67, .55);
	transition: transform .2s ease, box-shadow .2s ease;
	box-sizing: border-box;
	min-height: 100%;
}
.l17-qsl:nth-child(odd) { transform: rotate(-.6deg); }
.l17-qsl:nth-child(even) { transform: rotate(.5deg); }
.l17-qsl:hover { transform: rotate(0) translateY(-6px); box-shadow: 0 26px 40px -24px rgba(16, 42, 67, .6); }
.l17-qsl--green { --tone: var(--l17-green); }
.l17-qsl--sun { --tone: var(--l17-sun); --tone-ink: var(--l17-ink); }
.l17-qsl--orange { --tone: var(--l17-orange); --tone-ink: var(--l17-ink); }
.l17-qsl--ink { --tone: var(--l17-ink); }
.l17-qsl--sky { --tone: #5AA9FF; --tone-ink: var(--l17-ink); }
.l17-qsl__head { display: flex; justify-content: space-between; align-items: center; gap: .6rem; font-family: var(--l17-mono); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--l17-muted); margin-bottom: .9rem; }
.l17-qsl__mode { background: var(--tone); color: var(--tone-ink); padding: .2rem .5rem; border-radius: 5px; font-weight: 700; }
.l17-qsl__title { font-family: var(--l17-display); font-size: 1.35rem; margin: 0 0 .45rem; color: var(--l17-ink); }
.l17-qsl__text { margin: 0 0 1.1rem; color: var(--l17-text); }
.l17-qsl__foot { margin-top: auto; display: flex; gap: .75rem; padding-top: .7rem; border-top: 1px dashed var(--l17-line); font-family: var(--l17-mono); font-size: .68rem; letter-spacing: .08em; color: #7B8EA3; }
.l17-qsl__no { margin-left: auto; color: var(--tone); font-weight: 800; filter: saturate(1.2); }
.l17-qsl--sun .l17-qsl__no, .l17-qsl--sky .l17-qsl__no { color: #9A6A00; }
@media (max-width: 1000px) { .l17-qsl-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .l17-qsl-grid { grid-template-columns: 1fr; } .l17-qsl:nth-child(n) { transform: none; } }

/* ---------- Wasserfall-Streifen ---------- */
.l17-waterfall {
	height: 12px;
	background:
		linear-gradient(90deg, transparent 0 8%, rgba(255, 201, 77, .95) 8.4%, transparent 9% 23%, rgba(124, 255, 178, .9) 23.2%, transparent 23.8% 46%, rgba(255, 138, 61, .9) 46.3%, rgba(255, 201, 77, .9) 46.9%, transparent 47.4% 71%, rgba(124, 255, 178, .8) 71.2%, transparent 71.6% 88%, rgba(255, 201, 77, .9) 88.2%, transparent 88.8%),
		linear-gradient(90deg, #0E1B2C, #0B3E8F 18%, #0B5CD5 30%, #0E1B2C 42%, #0A4FB8 60%, #0E1B2C 74%, #0B5CD5 86%, #0E1B2C);
	background-size: 60% 100%, 100% 100%;
	animation: l17-fall 14s linear infinite;
}
@keyframes l17-fall { from { background-position: 0 0, 0 0; } to { background-position: 250% 0, 0 0; } }

/* ---------- OV-Heim-Band ---------- */
.l17-band { background: var(--l17-sky); }
.l17-band__inner {
	max-width: var(--l17-wide);
	margin: 0 auto;
	padding: clamp(3.5rem, 7vw, 6rem) var(--l17-gutter);
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
	gap: clamp(2rem, 5vw, 4.5rem);
	align-items: center;
}
.l17-band__photo { position: relative; margin: 0; border-radius: var(--l17-r-l); overflow: hidden; border: 10px solid #fff; box-shadow: 0 30px 60px -30px rgba(16, 42, 67, .5); transform: rotate(-1.4deg); background: #fff; }
.l17-band__photo img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.l17-band__photo figcaption { position: absolute; right: .7rem; bottom: .7rem; font-size: .72rem; font-family: var(--l17-mono); background: rgba(16, 42, 67, .7); color: #fff; padding: .15rem .45rem; border-radius: 4px; }
.l17-band__text p { font-size: 1.075rem; }
.l17-band__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }
.l17-checks { list-style: none; padding: 0; margin: 1.2rem 0 0; display: grid; gap: .6rem; }
.l17-checks li { position: relative; padding-left: 2.1rem; }
.l17-checks li::before {
	content: "";
	position: absolute; left: 0; top: .15rem;
	width: 1.4rem; height: 1.4rem; border-radius: 50%;
	background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3.2 3.2L15 7' fill='none' stroke='%2312805A' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 70% no-repeat;
	box-shadow: inset 0 0 0 2px #BFE6D4;
}
@media (max-width: 900px) { .l17-band__inner { grid-template-columns: 1fr; } }

/* ---------- Neuigkeiten ---------- */
.l17-news { background: #fff; padding: clamp(3.5rem, 7vw, 6rem) var(--l17-gutter); }
.l17-news--list { padding-top: clamp(2rem, 4vw, 3rem); }
.l17-news__head { margin-bottom: 1.75rem; gap: 1rem; }
.l17-news__head .l17-h2 { margin-bottom: 0; }
.l17-more-wrap { margin: 0; }
.l17-posts .wp-block-post-template { gap: 1.4rem; }
.l17-post-card {
	height: 100%;
	box-sizing: border-box;
	background: #fff;
	border: 1px solid var(--l17-line);
	border-radius: var(--l17-r-m);
	overflow: hidden;
	display: flex;
	flex-direction: column;
	transition: transform .2s ease, box-shadow .2s ease;
}
.l17-post-card:hover { transform: translateY(-4px); box-shadow: var(--l17-shadow); }
.l17-post-card__img { margin: 0 !important; }
.l17-post-card__img img { display: block; width: 100%; }
.l17-post-card:not(:has(.wp-block-post-featured-image))::before {
	content: "";
	display: block;
	aspect-ratio: 16 / 10;
	background:
		url("../images/l17-mark.svg") center / 64px no-repeat,
		repeating-radial-gradient(circle at 50% 50%, transparent 0 22px, rgba(255, 255, 255, .14) 22px 24px),
		linear-gradient(135deg, var(--l17-blue), #4F9BFF);
}
.l17-posts li:nth-child(3n+2) .l17-post-card:not(:has(.wp-block-post-featured-image))::before { background: url("../images/l17-mark.svg") center / 64px no-repeat, repeating-radial-gradient(circle at 50% 50%, transparent 0 22px, rgba(255, 255, 255, .18) 22px 24px), linear-gradient(135deg, #FF8A3D, #FFC94D); }
.l17-posts li:nth-child(3n) .l17-post-card:not(:has(.wp-block-post-featured-image))::before { background: url("../images/l17-mark.svg") center / 64px no-repeat, repeating-radial-gradient(circle at 50% 50%, transparent 0 22px, rgba(255, 255, 255, .14) 22px 24px), linear-gradient(135deg, #12805A, #3CC48A); }
.l17-post-card__body { padding: 1.2rem 1.35rem 1.4rem; }
.l17-post-card__date { font-family: var(--l17-mono); font-size: .78rem; letter-spacing: .06em; color: var(--l17-muted); }
.l17-post-card__title { font-size: 1.3rem; margin: .35rem 0 .5rem; }
.l17-post-card__title a { color: var(--l17-ink); text-decoration: none; }
.l17-post-card__title a:hover { color: var(--l17-blue); }
.l17-post-card__excerpt { color: var(--l17-muted); margin: 0; }
.l17-post-card__excerpt p { margin: 0; }
.l17-post-card__excerpt .wp-block-post-excerpt__more-link { display: none; }
@media (max-width: 1000px) { .l17-posts .wp-block-post-template.is-layout-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .l17-posts .wp-block-post-template.is-layout-grid { grid-template-columns: 1fr; } }

/* ---------- Aufruf ---------- */
.l17-cta {
	background:
		repeating-radial-gradient(circle at 88% 50%, transparent 0 40px, rgba(255, 255, 255, .07) 40px 42px),
		linear-gradient(120deg, var(--l17-blue-dark), var(--l17-blue) 55%, #2F7BEA);
	color: #E6EEF8;
	padding: clamp(3rem, 6vw, 4.5rem) var(--l17-gutter) clamp(4.5rem, 8vw, 6rem);
}
.l17-cta__inner { max-width: var(--l17-wide); margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1.3fr) auto; gap: 2rem; align-items: center; }
.l17-cta__title { font-family: var(--l17-display); font-size: clamp(2rem, 1.4rem + 2.5vw, 3.2rem); color: #fff; margin: 0 0 .6rem; letter-spacing: -.02em; }
.l17-cta__text { font-size: 1.1rem; max-width: 40rem; margin: 0; }
.l17-cta__side { display: grid; justify-items: start; gap: 1rem; }
.l17-cta__freq { margin: 0; font-family: var(--l17-mono); font-weight: 700; color: #fff; font-size: 1.1rem; background: rgba(14, 27, 44, .55); padding: .6rem 1rem; border-radius: 14px; }
.l17-cta__freq span { font-size: 2.4rem; color: var(--l17-glow); text-shadow: 0 0 16px rgba(124, 255, 178, .5); }
@media (max-width: 800px) { .l17-cta__inner { grid-template-columns: 1fr; } }

/* ---------- Fußbereich ---------- */
.l17-footer { position: relative; background: #0B1F33; color: #B9C9DA; font-size: .95rem; }
.l17-footer__wave {
	position: absolute; left: 0; right: 0; top: -38px; height: 40px;
	background: #0B1F33;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 40' preserveAspectRatio='none'%3E%3Cpath d='M0 40 V22 C 120 4 240 4 360 22 S 600 40 720 22 S 960 4 1080 22 S 1320 40 1440 22 V40 Z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 40' preserveAspectRatio='none'%3E%3Cpath d='M0 40 V22 C 120 4 240 4 360 22 S 600 40 720 22 S 960 4 1080 22 S 1320 40 1440 22 V40 Z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
}
.l17-footer__inner {
	max-width: var(--l17-wide);
	margin: 0 auto;
	padding: 3rem var(--l17-gutter) 2rem;
	display: grid;
	grid-template-columns: 1.4fr 1fr 1.2fr 1fr;
	gap: 2rem;
}
.l17-footer a { color: #fff; text-decoration-color: rgba(255, 255, 255, .35); }
.l17-footer a:hover { color: var(--l17-sun); }
.l17-footer__name { font-family: var(--l17-display); font-size: 1.3rem; font-weight: 800; color: #fff; margin: .8rem 0 .3rem; line-height: 1.15; }
.l17-footer__name span { color: var(--l17-sun); }
.l17-footer__sub { margin: 0; font-size: .875rem; }
.l17-footer__title { font-family: var(--l17-mono); font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--l17-sun); margin: 0 0 .75rem; font-weight: 700; }
.l17-footer__col p { margin: 0 0 .75rem; }
.l17-footer__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.l17-footer__next { color: #fff; }
.l17-footer__legal {
	max-width: var(--l17-wide);
	margin: 0 auto;
	padding: 1.2rem var(--l17-gutter) 1.6rem;
	background: linear-gradient(rgba(255, 255, 255, .12), rgba(255, 255, 255, .12)) var(--l17-gutter) 0 / calc(100% - 2 * var(--l17-gutter)) 1px no-repeat;
	display: flex;
	justify-content: space-between;
	gap: 1rem;
	flex-wrap: wrap;
	font-size: .85rem;
}
.l17-footer__legal p { margin: 0; }
@media (max-width: 1000px) { .l17-footer__inner { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .l17-footer__inner { grid-template-columns: 1fr; } }

/* ---------- Seitenkopf + Inhalte ---------- */
.l17-pagehead {
	background:
		repeating-radial-gradient(circle at 92% 20%, transparent 0 46px, rgba(11, 92, 213, .07) 46px 48px),
		linear-gradient(180deg, var(--l17-sky), #F7FAFF);
	padding: clamp(2.5rem, 6vw, 4.5rem) var(--l17-gutter) clamp(2rem, 5vw, 3.5rem);
	border-bottom: 1px solid var(--l17-line);
}
.l17-pagehead__title { font-family: var(--l17-display); font-size: clamp(2.2rem, 1.5rem + 3vw, 3.6rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.04; margin: 0; color: var(--l17-ink); text-wrap: balance; }
.l17-pagehead__meta { gap: .75rem !important; align-items: center; margin-bottom: .5rem; }
.l17-pagehead__meta .l17-eyebrow { margin: 0; }
.l17-chip, .l17-pagehead .wp-block-post-date { font-family: var(--l17-mono); font-size: .8rem; background: #fff; border: 1px solid var(--l17-line); padding: .2rem .6rem; border-radius: 999px; color: var(--l17-muted); }
.l17-page { padding: clamp(2.5rem, 5vw, 4rem) var(--l17-gutter) clamp(4rem, 8vw, 6rem); }
.l17-single-img { margin-bottom: 2rem; }
.l17-single-img img { border-radius: var(--l17-r-m); }
.l17-content { font-size: 1.0625rem; }
.l17-content > h2 { margin-top: 2.6rem; }
.l17-content > h2::after { content: ""; display: block; width: 2.5rem; height: 4px; border-radius: 2px; background: var(--l17-orange); margin-top: .6rem; }
.l17-content ul:not([class]) { padding-left: 0; list-style: none; }
.l17-content ul:not([class]) > li { position: relative; padding-left: 1.6rem; margin-bottom: .4rem; }
.l17-content ul:not([class]) > li::before { content: ""; position: absolute; left: .25rem; top: .62em; width: .55rem; height: .55rem; border-radius: 50%; background: var(--l17-orange); box-shadow: 0 0 0 3px #FFE3CF; }
.l17-content .wp-block-image img { border-radius: var(--l17-r-m); }
.l17-lead { font-size: 1.25rem; color: var(--l17-ink); }
.l17-box { background: var(--l17-sky); border-radius: var(--l17-r-m); padding: 1.4rem 1.6rem; }
.l17-box--sun { background: #FFF6E0; }
.l17-box--paper { background: var(--l17-paper); }
.l17-box > :first-child { margin-top: 0; }
.l17-box > :last-child { margin-bottom: 0; }
.l17-tool { background: #fff; border: 1px solid var(--l17-line); border-radius: var(--l17-r-m); padding: 1.3rem 1.4rem; box-shadow: 0 12px 26px -22px rgba(16, 42, 67, .5); }
.l17-tool h3, .l17-tool h4 { margin-top: 0; }
.l17-tool > :last-child { margin-bottom: 0; }
.l17-content .wp-block-columns { gap: 1.25rem; }

/* Terminliste */
.l17-dates { list-style: none; margin: 1.5rem 0; padding: 0; display: grid; gap: .7rem; }
.l17-dates__item { display: grid; grid-template-columns: auto 1fr auto; gap: 1rem; align-items: center; background: #fff; border: 1px solid var(--l17-line); border-radius: 14px; padding: .8rem 1rem; }
.l17-dates__item.is-next { border-color: #FFC9A3; background: #FFF8F2; box-shadow: 0 12px 26px -22px rgba(255, 138, 61, .9); }
.l17-dates__cal { width: 3.6rem; border-radius: 10px; overflow: hidden; text-align: center; background: #fff; box-shadow: 0 0 0 1px var(--l17-line); }
.l17-dates__mon { display: block; background: var(--l17-blue); color: #fff; font-family: var(--l17-mono); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; padding: .15rem 0; }
.is-next .l17-dates__mon { background: var(--l17-orange); color: var(--l17-ink); }
.l17-dates__day { display: block; font-family: var(--l17-display); font-weight: 800; font-size: 1.5rem; line-height: 1.5; color: var(--l17-ink); }
.l17-dates__body { display: grid; }
.l17-dates__body strong { font-family: var(--l17-display); font-size: 1.1rem; color: var(--l17-ink); }
.l17-dates__body span { color: var(--l17-muted); font-size: .95rem; }
.l17-dates__rel { font-family: var(--l17-mono); font-size: .78rem; color: var(--l17-muted); white-space: nowrap; }
.is-next .l17-dates__rel { color: #C2510F; font-weight: 700; }
@media (max-width: 520px) { .l17-dates__item { grid-template-columns: auto 1fr; } .l17-dates__rel { grid-column: 2; } }

/* Ansprechpartner */
.l17-people { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 1.1rem; margin: 1.5rem 0; }
.l17-person { background: #fff; border: 1px solid var(--l17-line); border-radius: 16px; padding: 1.3rem; box-shadow: 0 14px 28px -24px rgba(16, 42, 67, .6); position: relative; overflow: hidden; }
.l17-person::after { content: ""; position: absolute; right: -30px; top: -30px; width: 110px; height: 110px; border-radius: 50%; background: repeating-radial-gradient(circle, transparent 0 10px, rgba(11, 92, 213, .08) 10px 12px); }
.l17-person__call { margin: 0 0 .6rem; display: inline-block; font-family: var(--l17-mono); font-weight: 800; font-size: 1.2rem; letter-spacing: .06em; background: var(--l17-ink); color: var(--l17-glow); padding: .2rem .6rem; border-radius: 6px; }
.l17-person__name { margin: 0 0 .1rem !important; font-size: 1.2rem; }
.l17-person__role { margin: 0 0 .7rem; color: var(--l17-muted); font-size: .95rem; }
.l17-person__mail { font-weight: 600; word-break: break-all; }

/* 404 */
.l17-404 { padding-bottom: clamp(4rem, 8vw, 7rem); }

/* Bewegung reduzieren */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
