/* ==========================================================================
   TCN – Tennisclub Niederstotzingen e.V.
   Stylesheet Redesign 2026
   CI: Dunkelblau #1874CD · Hellblau #87CEFA · Tennisball-Gelb #D9DD43 · Weiß
   Schrift: Jost (freie Alternative zu Futura PT), lokal eingebunden
   ========================================================================== */

@font-face {
	font-family: "Jost";
	src: url("../fonts/jost-latin.woff2") format("woff2");
	font-weight: 100 900;
	font-style: normal;
	font-display: swap;
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: "Jost";
	src: url("../fonts/jost-latin-ext.woff2") format("woff2");
	font-weight: 100 900;
	font-style: normal;
	font-display: swap;
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
	--blue: #1874CD;
	--blue-dark: #0F4C8A;
	--navy: #0B2E52;
	--sky: #87CEFA;
	--ice: #DCEFFD;
	--tint: #F3F8FD;
	--yellow: #D9DD43;
	--yellow-hover: #E6EA5C;
	--yellow-tint: #F4FADB;
	--ink: #1A2B3C;
	--text: #3D4B57;
	--muted: #5B6770;
	--line: #E3ECF5;
	--grey: #F1F3F5;
	--radius: 18px;
	--radius-sm: 12px;
	--shadow: 0 14px 30px rgba(15, 76, 138, .14);
	--shadow-lg: 0 20px 50px rgba(15, 76, 138, .18);
	--font: "Jost", "Futura PT", Futura, "Trebuchet MS", system-ui, sans-serif;
	--wrap: 1200px;
}

/* ---------- Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	font-family: var(--font);
	font-size: 18px;
	line-height: 1.6;
	color: var(--ink);
	background: #fff;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-dark); }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3, h4 { font-weight: 700; line-height: 1.15; margin: 0; color: var(--blue-dark); }
p { margin: 0; }
button { font: inherit; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: 32px; padding-right: 32px; }
.narrow { max-width: 820px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.mt-xl { margin-top: 48px; }
.h3 { font-size: 24px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--yellow); color: var(--navy); padding: 12px 18px; border-radius: 10px; font-weight: 600; }
.skip-link:focus { top: 12px; }

.eyebrow { font-size: 15px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); }
.eyebrow--light { color: var(--ice); }

/* ---------- Buttons ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 48px; padding: 12px 24px; border-radius: 999px; border: 2px solid transparent;
	font-weight: 600; font-size: 16px; line-height: 1.2; cursor: pointer; text-align: center;
	transition: background .15s, color .15s, border-color .15s;
}
.btn--lg { font-size: 17px; padding: 15px 28px; }
.btn--yellow { background: var(--yellow); color: var(--navy); }
.btn--yellow:hover { background: var(--yellow-hover); color: var(--navy); }
.btn--blue { background: var(--blue); color: #fff; }
.btn--blue:hover { background: var(--blue-dark); color: #fff; }
.btn--ghost { border-color: #fff; color: #fff; }
.btn--ghost:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.btn--outline { border-color: var(--blue); color: var(--blue); background: transparent; }
.btn--outline:hover { background: var(--ice); color: var(--blue-dark); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.more { font-weight: 600; }

/* ---------- Topbar ---------- */
.topbar { background: var(--blue-dark); color: var(--ice); font-size: 15px; }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; min-height: 40px; gap: 16px; }
.topbar a { color: var(--ice); }
.topbar a:hover { color: #fff; }
.topbar__status { display: flex; align-items: center; gap: 10px; }
.topbar__status strong { color: #fff; font-weight: 600; }
.topbar__links { display: flex; gap: 24px; }
.dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; flex: 0 0 auto; }
.dot--open { background: var(--yellow); }
.dot--closed { background: #fff; opacity: .55; }

/* ---------- Header + Navigation ---------- */
.site-header { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; min-height: 84px; gap: 24px; }
.brand { display: flex; align-items: center; gap: 14px; color: var(--ink); flex: 0 0 auto; }
.brand:hover { color: var(--ink); }
.brand img { height: 40px; width: auto; }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__name { font-weight: 700; font-size: 17px; }
.brand__sub { font-weight: 500; font-size: 15px; color: var(--muted); }

.main-nav { display: flex; align-items: center; gap: 20px; }
.nav-list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px; }
.nav-list > li { position: relative; display: flex; align-items: center; }
.nav-list > li > a { color: var(--ink); font-weight: 500; font-size: 16px; padding: 10px 10px; border-radius: 10px; }
.nav-list > li > a:hover, .nav-list > li.is-active > a { color: var(--blue); }
.nav-list > li.is-active > a { font-weight: 600; }
.sub-toggle { border: 0; background: transparent; color: var(--muted); width: 28px; height: 36px; margin-left: -6px; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; border-radius: 8px; }
.sub-toggle:hover { color: var(--blue); }
.sub {
	list-style: none; margin: 0; padding: 10px; position: absolute; top: 100%; left: 0; min-width: 230px;
	background: #fff; border-radius: 14px; box-shadow: var(--shadow-lg); border: 1px solid var(--line);
	opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .15s, transform .15s, visibility .15s;
}
.sub a { display: block; padding: 10px 14px; border-radius: 10px; color: var(--ink); font-size: 16px; font-weight: 500; }
.sub a:hover, .sub a.is-active { background: var(--ice); color: var(--blue-dark); }
.has-sub:hover > .sub, .has-sub:focus-within > .sub, .has-sub.is-open > .sub { opacity: 1; visibility: visible; transform: none; }
.nav-cta { white-space: nowrap; }
.nav-toggle { display: none; width: 48px; height: 48px; border: 0; border-radius: 12px; background: var(--blue); color: #fff; align-items: center; justify-content: center; cursor: pointer; }
.nav-toggle .i-close { display: none; }
.nav-toggle[aria-expanded="true"] .i-open { display: none; }
.nav-toggle[aria-expanded="true"] .i-close { display: block; }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--blue); color: #fff; overflow: hidden; }
.hero__wedge { position: absolute; inset: 0; background: var(--sky); clip-path: polygon(0 0, 46% 0, 0 30%); }
.hero__photo { position: absolute; top: 0; right: 0; bottom: 0; width: 52%; background-size: cover; background-position: center; clip-path: polygon(22% 0, 100% 0, 100% 100%, 0 100%); }
.hero__slide { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; transition: opacity 1.4s ease; }
.hero__slide.is-active { opacity: 1; animation: tcn-zoom 9s ease-out both; }
@keyframes tcn-zoom { from { transform: scale(1); } to { transform: scale(1.06); } }
.hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1s ease; }
.hero__photo.is-video .hero__video { opacity: 1; }
.hero__photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(24, 116, 205, .55), rgba(24, 116, 205, 0) 45%); }
.hero__bottom { position: absolute; left: 0; right: 0; bottom: 0; height: 90px; background: var(--sky); clip-path: polygon(0 100%, 100% 30%, 100% 100%); }
.hero__inner { position: relative; padding-top: 104px; padding-bottom: 172px; }
.hero__text { max-width: 540px; display: flex; flex-direction: column; gap: 22px; }
.hero h1 { color: #fff; font-size: 64px; line-height: 1.02; letter-spacing: -.01em; }
.hero__lead { font-size: 20px; line-height: 1.5; }

/* ---------- Platzstatus ---------- */
.courts-wrap { position: relative; z-index: 3; margin-top: -110px; }
.courts-card { position: relative; background: #fff; border-radius: 20px; box-shadow: var(--shadow-lg); padding: 28px 32px; display: flex; flex-direction: column; gap: 20px; }
.courts-card__badge { position: absolute; right: 32px; top: -96px; width: 170px; height: auto; filter: drop-shadow(0 8px 16px rgba(0, 0, 0, .25)); }
.courts-card__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 24px; padding-right: 180px; }
.courts-card__head h2 { font-size: 26px; }
.courts-card__head .muted { font-size: 15px; }
.courts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.court { border-radius: 14px; padding: 16px; display: flex; flex-direction: column; gap: 6px; border: 2px solid; }
.court__name { font-size: 15px; color: var(--muted); font-weight: 500; }
.court__state { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 18px; }
.court--open { background: var(--yellow-tint); border-color: var(--yellow); color: var(--navy); }
.court--closed { background: var(--grey); border-color: var(--grey); color: var(--muted); }

/* ---------- Abschnitte ---------- */
.section { padding: 64px 0; }
.section--tight { padding: 40px 0 16px; }
.section--content { padding: 32px 0 88px; }
.section--tint { background: var(--tint); }
.section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
.section-head h2 { font-size: 38px; }
.section-head--center { flex-direction: column; align-items: center; text-align: center; gap: 6px; }
.section-head--center h2 { font-size: 32px; }

.grid { display: grid; gap: 20px; }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.stack { display: flex; flex-direction: column; gap: 14px; }

.card { transition: transform .2s, box-shadow .2s; }
a.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }

/* Schnellzugriff */
.quick { background: var(--ice); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 10px; color: var(--ink); }
.quick:hover { color: var(--ink); }
.quick strong { font-size: 20px; }
.quick > span:last-child { font-size: 15px; color: var(--text); line-height: 1.45; }
.quick__icon { width: 48px; height: 48px; border-radius: 12px; background: var(--blue); color: #fff; display: flex; align-items: center; justify-content: center; }


/* News + Termine */
.news-events { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 48px; }
.news-card { border-radius: var(--radius); overflow: hidden; background: #fff; border: 1px solid var(--line); color: var(--ink); display: flex; flex-direction: column; }
.news-card:hover { color: var(--ink); }
.news-card__img { width: 100%; height: 170px; object-fit: cover; }
.news-card__img--ci { display: flex; align-items: center; justify-content: center; background: var(--blue); position: relative; overflow: hidden; }
.news-card__img--ci::before { content: ""; position: absolute; inset: 0; background: var(--sky); clip-path: polygon(0 0, 55% 0, 0 45%); }
.news-card__img--ci img { position: relative; width: 88px; height: auto; }
.news-card__body { padding: 20px; display: flex; flex-direction: column; gap: 8px; }
.news-card__body strong { font-size: 20px; line-height: 1.25; }
.news-card__body .muted { font-size: 15px; line-height: 1.45; }
.news-card__meta { font-size: 14px; font-weight: 600; color: var(--blue); }

.event-row { display: flex; gap: 18px; align-items: center; padding: 16px; border-radius: 16px; background: #fff; border: 1px solid var(--line); color: var(--ink); }
.event-row:hover { color: var(--ink); }
.event-row__text { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.event-row__text strong { font-size: 18px; line-height: 1.3; }
.event-row__text .muted { font-size: 15px; }
.event-row--lg { padding: 20px; }
.cal { flex: 0 0 auto; width: 72px; height: 76px; border-radius: 12px; background: var(--blue); color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1; }
.cal__day { font-size: 30px; font-weight: 700; }
.cal__mon { font-size: 13px; font-weight: 600; letter-spacing: .08em; margin-top: 5px; text-transform: uppercase; }
.cal--lg { width: 88px; height: 92px; }
.cal--lg .cal__day { font-size: 36px; }
.wtb-link { display: flex; justify-content: space-between; align-items: center; padding: 18px 20px; border-radius: 16px; background: var(--blue-dark); color: #fff; font-weight: 600; }
.wtb-link:hover { background: var(--navy); color: #fff; }

/* Jubiläumsband */
.band { position: relative; background: var(--blue); color: #fff; padding: 120px 0 110px; clip-path: polygon(0 60px, 100% 0, 100% calc(100% - 60px), 0 100%); margin: 24px 0; }
.band__wedge { position: absolute; top: 0; right: 0; width: 46%; height: 100%; background: var(--sky); clip-path: polygon(40% 0, 100% 0, 100% 34%); }
.band__inner { position: relative; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: center; }
.band__text { display: flex; flex-direction: column; gap: 16px; }
.band__big { font-size: 72px; font-weight: 700; line-height: 1; color: var(--yellow); }
.band h2 { color: #fff; font-size: 40px; line-height: 1.1; }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.stat { background: rgba(255, 255, 255, .12); border-radius: var(--radius); padding: 28px 20px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.stat .dot { width: 14px; height: 14px; }
.stat strong { font-size: 44px; line-height: 1.1; }
.stat span:last-child { font-size: 15px; color: var(--ice); }

/* Mannschaften */
.team-card { position: relative; display: block; height: 320px; border-radius: 20px; overflow: hidden; color: #fff; background: var(--blue); }
.team-card img { width: 100%; height: 100%; object-fit: cover; }
.team-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(11, 46, 82, .85), rgba(11, 46, 82, 0) 55%); }
.team-card__label { position: absolute; left: 28px; bottom: 24px; z-index: 1; }
.team-card__label strong { font-size: 30px; color: #fff; }
.chips { list-style: none; margin: 24px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chips a { display: inline-block; padding: 10px 18px; border-radius: 999px; border: 1.5px solid #B9D9F5; color: var(--blue-dark); font-weight: 500; font-size: 15px; }
.chips a:hover { background: var(--ice); }

/* Bild + Text */
.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px; align-items: center; }
.split__img { width: 100%; height: 420px; object-fit: cover; border-radius: 24px; }
.split__img--angled { clip-path: polygon(0 0, 100% 8%, 100% 100%, 0 100%); }
.split__text { display: flex; flex-direction: column; gap: 16px; }
.split__text h2 { font-size: 38px; }
.split__text p { color: var(--text); }


/* ---------- Unterseiten ---------- */
.page-head { position: relative; background: var(--blue); color: #fff; padding: 56px 0 100px; overflow: hidden; }
.page-head::before { content: ""; position: absolute; inset: 0; background: var(--sky); clip-path: polygon(0 0, 38% 0, 0 46%); }
.page-head::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 70px; background: #fff; clip-path: polygon(0 100%, 100% 20%, 100% 100%); }
.page-head .wrap { position: relative; display: flex; flex-direction: column; gap: 12px; }
.page-head h1 { color: #fff; font-size: 52px; line-height: 1.05; }
.page-head__lead { font-size: 18px; color: var(--ice); }
.crumbs { font-size: 15px; color: var(--ice); display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs a { color: var(--ice); }
.crumbs a:hover { color: #fff; }
.crumbs > span:last-child { color: #fff; }

.with-sidebar { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; }
.with-sidebar__side { flex: 1 1 240px; max-width: 300px; display: flex; flex-direction: column; gap: 20px; }
.with-sidebar__side:empty { display: none; }
.with-sidebar__main { flex: 999 1 560px; min-width: 0; }

.side-nav { background: var(--tint); border-radius: var(--radius); padding: 16px; }
.side-nav__title { display: block; font-size: 14px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); padding: 8px 14px; }
.side-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.side-nav a { display: block; padding: 11px 14px; border-radius: 10px; color: var(--ink); font-weight: 500; font-size: 16px; line-height: 1.35; }
.side-nav a:hover { background: var(--ice); }
.side-nav a.is-active { background: var(--blue); color: #fff; font-weight: 600; }

.info-box, .card-box { background: var(--ice); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.card-box { background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); padding: 32px; }
.info-box strong { font-size: 19px; color: var(--blue-dark); }
.info-box p { font-size: 16px; }

.event-facts { display: flex; gap: 16px; align-items: center; background: var(--ice); border-radius: var(--radius); padding: 18px; }
.event-facts div { display: flex; flex-direction: column; font-size: 16px; }
.event-list { list-style: none; margin: 24px 0 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.link-list { list-style: none; margin: 16px 0 0; padding: 0; }
.link-list li { border-bottom: 1px solid var(--line); }
.link-list a { display: block; padding: 12px 0; color: var(--ink); }
.link-list a:hover { color: var(--blue); }

/* Galerie + Kacheln */
.tile { display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: #fff; color: var(--ink); }
.tile:hover { color: var(--ink); }
.tile__img { width: 100%; aspect-ratio: 16 / 10; height: auto; object-fit: cover; }
.tile__body { padding: 18px 20px; display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.tile__body strong { font-size: 19px; }
.tile__body .muted { font-size: 14px; white-space: nowrap; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; margin: 28px 0; }
.gallery__item { display: block; border-radius: var(--radius-sm); overflow: hidden; background: var(--ice); }
.gallery__item img { width: 100%; aspect-ratio: 4 / 3; height: auto; object-fit: cover; transition: transform .3s; }
.gallery__item:hover img { transform: scale(1.04); }
.hero-img { display: block; border-radius: 20px; overflow: hidden; margin-bottom: 24px; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(11, 46, 82, .94); display: flex; align-items: center; justify-content: center; padding: 64px 72px; }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 100%; max-height: 100%; border-radius: 10px; box-shadow: 0 20px 60px rgba(0, 0, 0, .4); }
.lightbox button { position: absolute; width: 52px; height: 52px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .14); color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.lightbox button:hover { background: rgba(255, 255, 255, .28); }
.lightbox__close { top: 16px; right: 16px; }
.lightbox__prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 12px; top: 50%; transform: translateY(-50%); }
.lightbox__count { position: absolute; bottom: 18px; left: 0; right: 0; text-align: center; color: var(--ice); font-size: 15px; }

/* ---------- Fließtext aus dem Editor (body) ---------- */
.prose { color: var(--text); }
.prose > * + * { margin-top: 1em; }
.prose h2 { font-size: 30px; margin-top: 1.6em; }
.prose h3 { font-size: 24px; margin-top: 1.4em; }
.prose h4 { font-size: 20px; margin-top: 1.2em; color: var(--ink); }
.prose h2:first-child, .prose h3:first-child { margin-top: 0; }
.prose a { text-decoration: underline; text-decoration-color: rgba(24, 116, 205, .35); text-underline-offset: 3px; }
.prose a:hover { text-decoration-color: currentColor; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .35em; }
.prose li::marker { color: var(--blue); }
.prose strong { color: var(--ink); }
.prose img { border-radius: var(--radius-sm); }
.prose img.align_left { float: left; margin: .3em 1.5em 1em 0; max-width: 50%; }
.prose img.align_right { float: right; margin: .3em 0 1em 1.5em; max-width: 50%; }
.prose img.align_center { margin-left: auto; margin-right: auto; }
.prose::after { content: ""; display: table; clear: both; }
.prose blockquote { margin: 1.5em 0; padding: 4px 0 4px 20px; border-left: 4px solid var(--yellow); font-size: 1.1em; color: var(--ink); }
.prose hr { border: 0; height: 2px; background: var(--line); margin: 2em 0; }
.prose table { width: 100%; border-collapse: collapse; font-size: 16px; display: block; overflow-x: auto; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { background: var(--tint); color: var(--blue-dark); font-weight: 600; }
.prose iframe { max-width: 100%; border: 0; border-radius: var(--radius-sm); }
.prose--center { text-align: center; }
.lead { font-size: 22px; line-height: 1.5; color: var(--ink); font-weight: 500; }

.file-list { list-style: none !important; padding: 0 !important; display: flex; flex-direction: column; gap: 10px; margin-top: 24px !important; }
.file-list a { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: var(--radius-sm); background: var(--tint); color: var(--ink); text-decoration: none; font-weight: 500; }
.file-list a:hover { background: var(--ice); }
.file-list__ext { flex: 0 0 auto; font-size: 12px; font-weight: 700; letter-spacing: .06em; background: var(--blue); color: #fff; padding: 6px 8px; border-radius: 6px; }

/* Kontakt */
.contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 48px; align-items: start; }
.contact h2 { font-size: 28px; margin-bottom: 16px; }
.contact__info { background: var(--ice); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.form-wrap iframe { width: 100%; border: 0; }

/* Formulare (Suche, Platzwart) */
.pw-form { gap: 10px; }
.pw-form h2 { font-size: 28px; }
.pw-form label { font-weight: 600; font-size: 16px; margin-top: 8px; }
.pw-form input[type=text], .pw-form input[type=password], .search-form input {
	width: 100%; min-height: 50px; padding: 12px 16px; font: inherit; font-size: 17px;
	border: 2px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink);
}
.pw-form input:focus, .search-form input:focus { border-color: var(--blue); outline: none; box-shadow: 0 0 0 4px rgba(24, 116, 205, .15); }
.pw-form .btn { margin-top: 12px; }
.search-form { display: flex; gap: 12px; margin-bottom: 24px; }
.search-form input { flex: 1; }
.notice { padding: 14px 18px; border-radius: 12px; margin-bottom: 20px; font-weight: 500; }
.notice--ok { background: var(--yellow-tint); border: 2px solid var(--yellow); color: var(--navy); }
.notice--error { background: #FDECEC; border: 2px solid #E8A3A3; color: #7A1F1F; }

.court-switches { list-style: none; margin: 8px 0 0; padding: 0; width: 100%; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.court-switch { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 14px; border: 2px solid var(--yellow); background: var(--yellow-tint); cursor: pointer; margin: 0 !important; }
.court-switch input { width: 24px; height: 24px; accent-color: var(--blue-dark); flex: 0 0 auto; }
.court-switch__name { flex: 1; font-weight: 600; color: var(--ink); }
.court-switch__state { font-weight: 700; font-size: 15px; }
.court-switch .is-closed { display: none; color: var(--muted); }
.court-switch .is-open { color: var(--navy); }
.court-switch:has(input:checked) { background: var(--grey); border-color: #D5DADF; }
.court-switch:has(input:checked) .is-closed { display: inline; }
.court-switch:has(input:checked) .is-open { display: none; }

.sitemap ul { list-style: none; padding-left: 0; }
.sitemap ul ul { padding-left: 1.4em; border-left: 2px solid var(--line); margin: .4em 0 .6em .3em; }

/* ---------- Footer ---------- */
.site-footer { position: relative; background: var(--blue-dark); color: var(--ice); padding: 96px 0 28px; margin-top: 24px; font-size: 16px; }
.site-footer::before { content: ""; position: absolute; top: -1px; left: 0; right: 0; height: 64px; background: #fff; clip-path: polygon(0 0, 100% 0, 0 100%); }
.section--tint + .site-footer::before, main:has(> .section--tint:last-child) + .site-footer::before { background: var(--tint); }
.site-footer::after { content: ""; position: absolute; top: -40px; right: 0; width: 50%; height: 104px; background: var(--sky); clip-path: polygon(0 69.2%, 100% 38.5%, 100% 0); pointer-events: none; }
.site-footer a { color: var(--ice); }
.site-footer a:hover { color: #fff; }
.site-footer__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.site-footer__col { display: flex; flex-direction: column; gap: 14px; }
.site-footer__col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.site-footer__title { color: #fff; font-size: 17px; }
.site-footer__logo { width: 88px; height: auto; }
.site-footer__address, .site-footer__address p { color: var(--ice); line-height: 1.6; }
.site-footer__address p + p { margin-top: .6em; }
.site-footer__bottom { border-top: 1px solid rgba(220, 239, 253, .25); margin-top: 48px; padding-top: 20px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 14px; }
.site-footer__legal { display: flex; gap: 20px; }

.to-top { position: fixed; right: 20px; bottom: 20px; z-index: 40; width: 48px; height: 48px; border-radius: 50%; background: var(--blue); color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow); opacity: 0; visibility: hidden; transition: opacity .2s, visibility .2s; }
.to-top:hover { background: var(--blue-dark); color: #fff; }
.to-top.is-visible { opacity: 1; visibility: visible; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
	.nav-list > li > a { padding: 10px 7px; font-size: 15px; }
	.main-nav { gap: 12px; }
}
@media (max-width: 1060px) {
	.nav-toggle { display: inline-flex; }
	.main-nav {
		position: absolute; top: 100%; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line);
		box-shadow: var(--shadow-lg); flex-direction: column; align-items: stretch; gap: 16px; padding: 16px 20px 24px;
		max-height: calc(100vh - 84px); overflow-y: auto; display: none;
	}
	.main-nav.is-open { display: flex; }
	.nav-list { flex-direction: column; align-items: stretch; gap: 0; }
	.nav-list > li { flex-wrap: wrap; border-bottom: 1px solid var(--line); }
	.nav-list > li > a { flex: 1; padding: 14px 4px; font-size: 18px; }
	.sub-toggle { width: 48px; height: 48px; }
	.sub { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 10px 8px; min-width: 0; width: 100%; display: none; }
	.has-sub:hover > .sub, .has-sub:focus-within > .sub { display: none; }
	.has-sub.is-open > .sub { display: block; }
	.has-sub.is-open > .sub-toggle svg { transform: rotate(180deg); }
	.nav-cta { align-self: flex-start; }
}
@media (max-width: 960px) {
	body { font-size: 17px; }
	.wrap { padding-left: 24px; padding-right: 24px; }
	.hero__photo { width: 100%; clip-path: none; opacity: .25; }
	.hero__photo::after { background: none; }
	.hero h1 { font-size: 46px; }
	.hero__inner { padding-top: 72px; padding-bottom: 150px; }
	.courts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.courts-card__badge { width: 120px; top: -70px; right: 16px; }
	.courts-card__head { padding-right: 110px; }
	.grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.news-events, .band__inner, .split, .contact { grid-template-columns: 1fr; }
	.news-events .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.site-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.section-head h2, .split__text h2 { font-size: 32px; }
	.page-head h1 { font-size: 40px; }
	.with-sidebar__side { max-width: none; order: 2; }
	.split__img { height: 300px; }
}
@media (max-width: 600px) {
	.wrap { padding-left: 18px; padding-right: 18px; }
	.topbar__links { display: none; }
	.brand__sub { display: none; }
	.brand img { height: 34px; }
	.site-header__inner { min-height: 72px; }
	.main-nav { max-height: calc(100vh - 72px); }
	.hero h1 { font-size: 40px; }
	.hero__lead { font-size: 18px; }
	.courts-card { padding: 22px 18px; }
	.courts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.court__state { font-size: 16px; }
	.grid--2, .grid--3, .grid--4, .news-events .grid--3, .stats, .court-switches { grid-template-columns: 1fr; }
	.site-footer__grid { grid-template-columns: 1fr; }
	.band { padding: 90px 0 80px; }
	.team-card { height: 240px; }
	.prose img.align_left, .prose img.align_right { float: none; max-width: 100%; margin: 1em 0; }
	.lightbox { padding: 56px 8px; }
	.lightbox__prev, .lightbox__next { top: auto; bottom: 8px; transform: none; }
	.search-form { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
	.hero__slide.is-active { animation: none; }
}
@media print {
	.topbar, .site-header, .site-footer, .to-top, .hero__photo { display: none !important; }
	.page-head, .hero { background: none; color: #000; padding: 0; }
	.page-head h1, .hero h1 { color: #000; }
}
@media (max-width: 600px) {
	.hero__inner { padding-top: 48px; padding-bottom: 140px; }
	.courts-wrap { margin-top: -96px; }
	.courts-card__badge { width: 96px; top: -58px; right: 12px; }
	.courts-card__head { padding-right: 84px; }
	.hero .btn--lg { width: 100%; }
}

/* ==========================================================================
   Highlights-Reihe (über dem Hero-Rand) – Ergänzung Nov. 2026
   ========================================================================== */
.hero--slider .hero__inner { padding-top: 36px; padding-bottom: 128px; }
.hero--slider .hero__text { gap: 12px; max-width: 580px; }
.hero--slider h1 { font-size: 46px; }
.hero--slider .hero__lead { font-size: 17px; }
.hero--slider .btn-row { margin-top: 4px; }
.hero--slider .hero__wedge { clip-path: polygon(0 0, 40% 0, 0 38%); }
.hero--slider ~ .hl-wrap { margin-top: -96px; }
.hl-wrap { position: relative; z-index: 3; margin-top: -120px; }
.hl { position: relative; }
.hl__badge { position: absolute; right: 40px; top: -128px; width: 150px; height: auto; z-index: 4; filter: drop-shadow(0 8px 16px rgba(0, 0, 0, .25)); }
.hl__track {
	display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
	padding: 6px 20px 30px; margin: -6px -20px -30px; scroll-padding-left: 20px; scrollbar-width: none; -ms-overflow-style: none;
	/* seitlich genau an der Inhaltskante abschneiden, unten Platz für den Schatten */
	clip-path: inset(-20px 14px -40px 14px);
}
.hl__track::-webkit-scrollbar { display: none; }
.hl__track:focus-visible { outline-offset: 4px; }
.hl__item { flex: 0 0 calc(50% - 8px); scroll-snap-align: start; border-radius: 18px; overflow: hidden; background: var(--navy); box-shadow: 0 6px 14px rgba(15, 76, 138, .16); display: block; transition: transform .2s, box-shadow .2s; }
.hl__item:only-child { flex-basis: 100%; }
a.hl__item:hover { transform: translateY(-3px); box-shadow: 0 9px 16px rgba(15, 76, 138, .2); }
.hl__item img { width: 100%; height: auto; aspect-ratio: 930 / 342; object-fit: cover; }
.hl__bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 18px; }
.hl__dots { display: flex; align-items: center; gap: 2px; flex-wrap: wrap; }
.hl__dots button { border: 0; background: transparent; padding: 12px 3px; cursor: pointer; display: flex; }
.hl__dots span { display: block; width: 18px; height: 5px; border-radius: 3px; background: var(--ice); transition: width .3s, background .3s; }
.hl__dots button.is-past span { background: var(--sky); }
.hl__dots button[aria-current="true"] span { width: 44px; background: var(--blue); }
.hl__controls { display: flex; gap: 8px; }
.hl__btn { width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--blue); color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background .15s; }
.hl__btn:hover { background: var(--blue-dark); }
.hl__btn--light { background: var(--ice); color: var(--blue-dark); }
.hl__btn--light:hover { background: #C9E4FB; }
.hl .i-play { display: none; }
.hl.is-paused .i-play { display: block; }
.hl.is-paused .i-pause { display: none; }

/* Platzstatus unter dem Schnellzugriff, wenn die Highlights oben sitzen */
.courts-wrap--inline { margin-top: 0; padding: 24px 0 8px; }
.courts-wrap--inline .courts-card { box-shadow: none; border: 1px solid var(--line); }
.courts-wrap--inline .courts-card__head { padding-right: 0; }

@media (max-width: 960px) {
	.hl__badge { width: 120px; top: -112px; right: 24px; }
}
@media (max-width: 600px) {
	.hero--slider .hero__inner { padding-top: 32px; padding-bottom: 120px; }
	.hero--slider h1 { font-size: 36px; }
	.hero--slider .hero__lead { font-size: 16px; }
	.hero--slider ~ .hl-wrap { margin-top: -88px; }
	.hl-wrap { margin-top: -92px; }
	.hl__badge { width: 76px; top: -42px; right: 10px; }
	.hl.wrap { padding-left: 0; padding-right: 0; }
	.hl__track { gap: 12px; padding: 6px 18px 26px; margin: -6px 0 -26px; scroll-padding-left: 18px; clip-path: none; }
	.hl__item { flex-basis: 88%; border-radius: 16px; }
	.hl__bar { padding: 0 18px; margin-top: 12px; }
	.hl__dots span { width: 10px; }
	.hl__dots button[aria-current="true"] span { width: 26px; }
	.hl__btn--light { display: none; }
}
@media (prefers-reduced-motion: reduce) {
	.hl__track { scroll-behavior: auto; }
}

/* ==========================================================================
   Social-Links und Cookie-Hinweis – Ergänzung Nov. 2026
   ========================================================================== */
.social-link { display: inline-flex; align-items: center; gap: 8px; }
.social-link svg { flex: 0 0 auto; }
.topbar .social-link svg { width: 16px; height: 16px; }

.cookie-note { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 90; display: flex; justify-content: center; pointer-events: none; }
.cookie-note[hidden] { display: none; }
.cookie-note__inner {
	pointer-events: auto; max-width: 760px; width: 100%; background: var(--blue-dark); color: #fff;
	border-radius: 18px; box-shadow: var(--shadow-lg); padding: 18px 22px; display: flex; align-items: center; gap: 20px;
	animation: tcn-up .4s ease both;
}
.cookie-note p { font-size: 15px; line-height: 1.5; color: var(--ice); }
.cookie-note strong { color: #fff; }
.cookie-note a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.cookie-note .btn { flex: 0 0 auto; }
@keyframes tcn-up { from { transform: translateY(20px); opacity: 0; } to { transform: none; opacity: 1; } }
body.has-cookie-note .to-top { bottom: 120px; }
@media (max-width: 600px) {
	.cookie-note { left: 10px; right: 10px; bottom: 10px; }
	.cookie-note__inner { flex-direction: column; align-items: stretch; gap: 12px; padding: 16px; }
	.cookie-note .btn { width: 100%; }
	body.has-cookie-note .to-top { bottom: 190px; }
}
@media (prefers-reduced-motion: reduce) { .cookie-note__inner { animation: none; } }
@media print { .cookie-note { display: none !important; } }

/* ==========================================================================
   Partner-Laufband, Tennisball-Mauszeiger – Ergänzung Nov. 2026
   ========================================================================== */
.partners-wrap { padding: 24px 0 8px; }
.partners { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 28px 0; display: flex; flex-direction: column; gap: 20px; overflow: hidden; }
.partners__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; padding: 0 32px; }
.partners__title { display: flex; align-items: baseline; gap: 8px 24px; flex-wrap: wrap; }
.partners__title h2 { font-size: 26px; }
.partners__title .muted { font-size: 15px; }
.marquee { position: relative; display: flex; overflow: hidden; }
.marquee::before, .marquee::after { content: ""; position: absolute; top: 0; bottom: 0; width: 56px; z-index: 1; pointer-events: none; }
.marquee::before { left: 0; background: linear-gradient(90deg, #fff, rgba(255, 255, 255, 0)); }
.marquee::after { right: 0; background: linear-gradient(270deg, #fff, rgba(255, 255, 255, 0)); }
.marquee__track { list-style: none; margin: 0; padding: 0 12px 0 0; display: flex; gap: 12px; flex: 0 0 auto; animation: tcn-marquee var(--marquee-dur, 45s) linear infinite; }
.marquee:hover .marquee__track, .marquee:focus-within .marquee__track { animation-play-state: paused; }
.marquee__track a { width: 190px; height: 84px; border-radius: 14px; background: var(--tint); display: flex; align-items: center; justify-content: center; text-align: center; padding: 10px 16px; color: var(--muted); font-weight: 600; font-size: 15px; line-height: 1.3; transition: background .2s, color .2s; }
.marquee__track a:hover { background: var(--ice); color: var(--blue-dark); }
.marquee__track img { max-height: 56px; max-width: 100%; width: auto; object-fit: contain; }
@keyframes tcn-marquee { from { transform: translateX(0); } to { transform: translateX(-100%); } }
.courts-wrap--bottom { padding: 8px 0 72px; }
@media (max-width: 600px) {
	.partners { padding: 22px 0; }
	.partners__head { padding: 0 18px; }
	.partners__title h2 { font-size: 24px; }
	.marquee__track a { width: 150px; height: 72px; font-size: 14px; }
	.marquee::before, .marquee::after { width: 28px; }
}
@media (prefers-reduced-motion: reduce) {
	.marquee { flex-wrap: wrap; padding: 0 32px; }
	.marquee__track { animation: none; flex-wrap: wrap; flex: 1 1 100%; padding: 0; }
	.marquee__track--clone { display: none; }
	.marquee::before, .marquee::after { display: none; }
}

/* Tennisball als Mauszeiger (nur bei Maus/Touchpad) */
@media (hover: hover) and (pointer: fine) {
	html { cursor: url("../images/cursor-ball.svg") 12 12, url("../images/cursor-ball.png") 12 12, auto; }
	a, button, label, summary, [role="button"], .hl__item, .court-switch {
		cursor: url("../images/cursor-ball-link.svg") 14 14, url("../images/cursor-ball-link.png") 14 14, pointer;
	}
	input[type="text"], input[type="search"], input[type="password"], input[type="email"], textarea { cursor: text; }
}

/* Partner-Laufband direkt unter den Highlights; Logos und Platzhalter */
.partners-wrap--top { padding-top: 36px; }
.marquee__track .marquee__item { width: 190px; height: 84px; border-radius: 14px; background: var(--tint); display: flex; align-items: center; justify-content: center; padding: 10px 16px; }
.marquee__track img { max-height: 60px; max-width: 100%; width: auto; height: auto; object-fit: contain; }
.marquee__track a.is-placeholder { flex-direction: column; gap: 6px; border: 1.5px dashed #C9DCEC; background: #fff; color: var(--muted); font-size: 14px; }
.marquee__track a.is-placeholder svg { color: #9DB8CF; }
.marquee__track a.is-placeholder:hover { border-color: var(--sky); background: var(--tint); }
@media (max-width: 600px) {
	.hero--slider .hero__inner { padding-top: 24px; padding-bottom: 108px; }
	.hero--slider h1 { font-size: 34px; }
	.marquee__track .marquee__item { width: 150px; height: 72px; }
	.partners-wrap--top { padding-top: 28px; }
}

/* Logo-Kacheln: breite Logos bekommen etwas mehr Platz */
.marquee__track a:not(.is-placeholder), .marquee__track .marquee__item { width: auto; min-width: 190px; max-width: 320px; padding: 12px 24px; }
.marquee__track a:not(.is-placeholder) img, .marquee__track .marquee__item img { max-height: 54px; max-width: 272px; }
@media (max-width: 600px) {
	.marquee__track a:not(.is-placeholder), .marquee__track .marquee__item { min-width: 150px; max-width: 240px; padding: 10px 16px; }
	.marquee__track a:not(.is-placeholder) img, .marquee__track .marquee__item img { max-height: 44px; max-width: 208px; }
}

/* Höhere (eher quadratische) Logos im Laufband */
.marquee__track img.is-tall { max-height: 64px !important; }
.marquee__track a:not(.is-placeholder), .marquee__track .marquee__item { padding: 10px 24px; }

/* Gesamtübersicht "Alle Sponsoren" */
.sponsor-dialog { width: min(1100px, calc(100% - 32px)); max-height: calc(100% - 48px); padding: 0; border: 0; border-radius: 24px; background: var(--tint); box-shadow: 0 30px 80px rgba(11, 46, 82, .35); overflow: auto; }
.sponsor-dialog::backdrop { background: rgba(11, 46, 82, .6); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.sponsor-dialog[open] { animation: tcn-up .3s ease both; }
.sponsor-dialog__head { position: sticky; top: 0; z-index: 1; display: flex; align-items: center; gap: 24px; padding: 28px 32px; background: var(--blue); color: #fff; overflow: hidden; }
.sponsor-dialog__head::before { content: ""; position: absolute; inset: 0; background: var(--sky); clip-path: polygon(0 0, 30% 0, 0 80%); }
.sponsor-dialog__head > * { position: relative; }
.sponsor-dialog__head img { width: 70px; height: auto; flex: 0 0 auto; }
.sponsor-dialog__head h2 { color: #fff; font-size: 32px; }
.sponsor-dialog__head p { color: var(--ice); font-size: 16px; }
.sponsor-dialog__close { margin-left: auto; flex: 0 0 auto; width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .16); color: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.sponsor-dialog__close:hover { background: rgba(255, 255, 255, .3); }
.sponsor-grid { list-style: none; margin: 0; padding: 28px 32px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.sponsor-grid li > a, .sponsor-grid li > span { height: 130px; background: #fff; border: 1px solid var(--line); border-radius: 18px; display: flex; align-items: center; justify-content: center; padding: 18px 22px; transition: box-shadow .2s, transform .2s; }
.sponsor-grid li > a:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.sponsor-grid img { max-width: 100%; max-height: 64px; width: auto; height: auto; object-fit: contain; }
.sponsor-grid img.is-tall { max-height: 96px; }
.sponsor-grid a.is-placeholder { border-style: dashed; color: var(--muted); font-weight: 600; text-align: center; }
.sponsor-dialog__more { padding: 0 32px 28px; text-align: center; }
body.has-dialog { overflow: hidden; }
@media (max-width: 900px) { .sponsor-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 600px) {
	.sponsor-dialog { width: calc(100% - 16px); max-height: calc(100% - 16px); border-radius: 18px; }
	.sponsor-dialog__head { padding: 18px; gap: 14px; }
	.sponsor-dialog__head img { width: 50px; }
	.sponsor-dialog__head h2 { font-size: 24px; }
	.sponsor-dialog__head p { font-size: 14px; }
	.sponsor-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 18px; gap: 10px; }
	.sponsor-grid li > a, .sponsor-grid li > span { height: 100px; padding: 12px; }
	.sponsor-grid img { max-height: 48px; }
	.sponsor-grid img.is-tall { max-height: 72px; }
}

/* Top-Sponsoren in der Gesamtübersicht */
.sponsor-dialog__label { padding: 24px 32px 0; font-size: 14px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); }
.sponsor-dialog__label + .sponsor-grid { padding-top: 12px; }
.sponsor-grid--top { grid-template-columns: repeat(2, minmax(0, 1fr)); padding-bottom: 4px; }
.sponsor-grid--top li > a, .sponsor-grid--top li > span { height: 170px; padding: 24px 36px; border: 2px solid #CFE3F5; }
.sponsor-grid--top img { max-height: 90px; }
.sponsor-grid--top img.is-tall { max-height: 120px; }
@media (max-width: 600px) {
	.sponsor-dialog__label { padding: 16px 18px 0; }
	.sponsor-grid--top { grid-template-columns: 1fr; }
	.sponsor-grid--top li > a, .sponsor-grid--top li > span { height: 120px; padding: 16px; }
	.sponsor-grid--top img { max-height: 64px; }
}

/* Obere Leiste: bei mittlerer Breite nicht umbrechen */
.topbar__status, .topbar__links a { white-space: nowrap; }
.prose h2[id], .prose h3[id] { scroll-margin-top: 110px; }
.prose ul.index { columns: 2; column-gap: 32px; }
.prose ul.index li { break-inside: avoid; }
@media (max-width: 1060px) { .topbar__links a[href^="mailto:"] { display: none; } }
@media (max-width: 700px) { .prose ul.index { columns: 1; } }

/* ---------- Jubiläumspartner-Seite (jubilaeumspartner.php) ---------- */
.jp-intro { margin-bottom: 36px; }
.jp-label { display: flex; align-items: center; gap: 16px; margin: 0 0 18px; font-size: 15px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--blue-dark); }
.jp-label::after { content: ""; flex: 1; height: 2px; background: var(--ice); }
.jp-grid { list-style: none; margin: 0 0 48px; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.jp-grid li > a, .jp-grid li > span { height: 160px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 10px 24px rgba(15, 76, 138, .07); display: flex; align-items: center; justify-content: center; padding: 24px 32px; transition: box-shadow .2s, transform .2s; }
.jp-grid li > a:hover, .jp-grid li > a:focus-visible { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.jp-grid img { max-width: 100%; max-height: 80px; width: auto; height: auto; object-fit: contain; }
.jp-grid img.is-tall { max-height: 112px; }
.jp-grid--top { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-bottom: 20px; }
.jp-grid--top li > a, .jp-grid--top li > span { height: 210px; border-top: 6px solid var(--yellow); padding: 32px 48px; }
.jp-grid--top img { max-height: 110px; }
.jp-grid--top img.is-tall { max-height: 150px; }
.jp-thanks { text-align: center; font-size: 20px; font-weight: 500; color: var(--blue-dark); margin: 8px 0 0; }
@media (max-width: 900px) { .jp-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) {
	.jp-grid { gap: 12px; }
	.jp-grid--top { grid-template-columns: minmax(0, 1fr); }
	.jp-grid li > a, .jp-grid li > span { height: 104px; padding: 14px 16px; border-radius: var(--radius-sm); }
	.jp-grid img { max-height: 54px; }
	.jp-grid img.is-tall { max-height: 76px; }
	.jp-grid--top li > a, .jp-grid--top li > span { height: 150px; padding: 24px 28px; }
	.jp-grid--top img { max-height: 90px; }
}

/* ---------- Personen-Karten (Vorstand) – erzeugt aus Tabellen mit Spalten "Amt" und "Name" ---------- */
.prose ul.people { list-style: none; margin: 8px 0 32px; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.prose ul.people li { margin: 0; }
.prose ul.people li::before { display: none; }
.prose ul.people .person { display: flex; align-items: center; gap: 18px; padding: 20px 22px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 8px 20px rgba(15, 76, 138, .06); }
.person__avatar { flex: 0 0 auto; width: 60px; height: 60px; border-radius: 50%; display: flex; align-items: center; justify-content: center; overflow: hidden; background: var(--ice); color: var(--blue-dark); font-weight: 700; font-size: 21px; letter-spacing: .02em; }
.person__avatar img { width: 100%; height: 100%; object-fit: cover; margin: 0; border-radius: 0; }
.person__body { display: flex; flex-direction: column; min-width: 0; }
.person__role { font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--blue); line-height: 1.3; }
.person__name { font-size: 20px; font-weight: 600; color: var(--ink); line-height: 1.3; margin-top: 2px; }
.prose .person__link { font-size: 15px; color: var(--muted); text-decoration: none; margin-top: 4px; overflow-wrap: anywhere; }
.prose .person__link:hover { color: var(--blue); text-decoration: underline; }
.prose ul.people .person--lead { background: linear-gradient(150deg, var(--blue) 0%, var(--blue-dark) 100%); border-color: transparent; box-shadow: var(--shadow); }
.person--lead .person__avatar { background: var(--yellow); color: var(--navy); width: 72px; height: 72px; font-size: 24px; }
.person--lead .person__role { color: var(--yellow); }
.person--lead .person__name { color: #fff; font-size: 22px; }
.prose .person--lead .person__link { color: var(--ice); }
.prose .person--lead .person__link:hover { color: #fff; }
.prose ul.people .person--open { background: var(--tint); border-style: dashed; box-shadow: none; }
.person--open .person__avatar { background: #fff; color: var(--muted); }
.person--open .person__name { color: var(--muted); font-weight: 500; font-style: italic; font-size: 17px; }
@media (max-width: 640px) {
	.prose ul.people { grid-template-columns: minmax(0, 1fr); gap: 12px; }
	.prose ul.people .person { padding: 16px 18px; gap: 14px; }
	.person__avatar { width: 52px; height: 52px; font-size: 18px; }
	.person--lead .person__avatar { width: 60px; height: 60px; }
}
