/*
 * Vilshofener Wasserratzn e. V. – Stylesheet
 * Ergänzt Bootstrap 5.3 (vendor/bootstrap). Farben aus dem Logo (Navy, Wasserblau, Hellblau)
 * plus Vereinsgelb (T-Shirts) als Akzent.
 */

/* ---------- Schriften (lokal, @fontsource) ---------- */
@font-face { font-family: "Baloo 2"; font-style: normal; font-weight: 600; font-display: swap; src: url(../fonts/baloo-2-latin-600-normal.woff2) format("woff2"); 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: "Baloo 2"; font-style: normal; font-weight: 600; font-display: swap; src: url(../fonts/baloo-2-latin-ext-600-normal.woff2) format("woff2"); 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; }
@font-face { font-family: "Baloo 2"; font-style: normal; font-weight: 700; font-display: swap; src: url(../fonts/baloo-2-latin-700-normal.woff2) format("woff2"); 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: "Baloo 2"; font-style: normal; font-weight: 700; font-display: swap; src: url(../fonts/baloo-2-latin-ext-700-normal.woff2) format("woff2"); 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; }
@font-face { font-family: "Baloo 2"; font-style: normal; font-weight: 800; font-display: swap; src: url(../fonts/baloo-2-latin-800-normal.woff2) format("woff2"); 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: "Baloo 2"; font-style: normal; font-weight: 800; font-display: swap; src: url(../fonts/baloo-2-latin-ext-800-normal.woff2) format("woff2"); 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; }
@font-face { font-family: "Nunito"; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/nunito-latin-400-normal.woff2) format("woff2"); 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: "Nunito"; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/nunito-latin-ext-400-normal.woff2) format("woff2"); 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; }
@font-face { font-family: "Nunito"; font-style: italic; font-weight: 400; font-display: swap; src: url(../fonts/nunito-latin-400-italic.woff2) format("woff2"); 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: "Nunito"; font-style: italic; font-weight: 400; font-display: swap; src: url(../fonts/nunito-latin-ext-400-italic.woff2) format("woff2"); 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; }
@font-face { font-family: "Nunito"; font-style: normal; font-weight: 700; font-display: swap; src: url(../fonts/nunito-latin-700-normal.woff2) format("woff2"); 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: "Nunito"; font-style: normal; font-weight: 700; font-display: swap; src: url(../fonts/nunito-latin-ext-700-normal.woff2) format("woff2"); 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; }
@font-face { font-family: "Nunito"; font-style: italic; font-weight: 700; font-display: swap; src: url(../fonts/nunito-latin-700-italic.woff2) format("woff2"); 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: "Nunito"; font-style: italic; font-weight: 700; font-display: swap; src: url(../fonts/nunito-latin-ext-700-italic.woff2) format("woff2"); 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; }

/* ---------- Farben und Grundwerte ---------- */
:root {
	--wr-navy: #192763;        /* Logo-Schrift */
	--wr-navy-dark: #10194a;
	--wr-blue: #16b5f6;        /* Wasser im Logo, nur für Flächen/Deko (zu wenig Kontrast für Text) */
	--wr-sky: #a3e1fc;         /* helles Wasser im Logo */
	--wr-tint: #eaf7fe;        /* Hintergrundflächen */
	--wr-yellow: #ffc72c;      /* Vereinsgelb */
	--wr-yellow-dark: #f0b400;
	--wr-yellow-light: #fff4d1;
	--wr-text: #1d2433;
	--wr-muted: #556074;
	--wr-radius: 1rem;
	--wr-shadow: 0 .25rem 1.25rem rgba(25, 39, 99, .09);
	--wr-shadow-hover: 0 .75rem 2rem rgba(25, 39, 99, .16);
	--wr-font-head: "Baloo 2", "Trebuchet MS", system-ui, sans-serif;
	--wr-font-body: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;

	--bs-body-font-family: var(--wr-font-body);
	--bs-body-font-size: 1.0625rem;
	--bs-body-line-height: 1.65;
	--bs-body-color: var(--wr-text);
	--bs-body-bg: #fff;
	--bs-primary: var(--wr-navy);
	--bs-primary-rgb: 25, 39, 99;
	--bs-warning: var(--wr-yellow);
	--bs-warning-rgb: 255, 199, 44;
	--bs-link-color: var(--wr-navy);
	--bs-link-color-rgb: 25, 39, 99;
	--bs-link-hover-color: var(--wr-navy-dark);
	--bs-link-hover-color-rgb: 16, 25, 74;
	--bs-secondary-color: var(--wr-muted);
	--bs-border-radius: .6rem;
	--bs-border-radius-lg: .8rem;
}

body { background: var(--bs-body-bg); text-rendering: optimizeLegibility; }
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
	font-family: var(--wr-font-head);
	font-weight: 700;
	color: var(--wr-navy);
	line-height: 1.15;
}
a { text-underline-offset: .18em; }
:focus-visible { outline: 3px solid var(--wr-blue); outline-offset: 2px; }
::selection { background: var(--wr-yellow); color: var(--wr-navy); }

/* Breite Spaltenabstände (g-5 = 3rem) ragen auf schmalen Bildschirmen über den Container-Innenabstand
   (.75rem) hinaus und erzeugen seitliches Scrollen; dort auf den Standardabstand reduzieren. */
@media (max-width: 575.98px) {
	.row.g-5, .row.gx-5 { --bs-gutter-x: 1.5rem; }
}

.skip-link { position: absolute; top: .5rem; left: .5rem; z-index: 2000; padding: .5rem 1rem; background: var(--wr-yellow); color: var(--wr-navy); font-weight: 700; border-radius: .5rem; }

/* ---------- Buttons ---------- */
.btn { font-weight: 700; border-radius: 999px; padding-inline: 1.25rem; }
.btn-lg { padding-inline: 1.75rem; }
.btn-primary {
	--bs-btn-bg: var(--wr-navy); --bs-btn-border-color: var(--wr-navy);
	--bs-btn-hover-bg: var(--wr-navy-dark); --bs-btn-hover-border-color: var(--wr-navy-dark);
	--bs-btn-active-bg: var(--wr-navy-dark); --bs-btn-active-border-color: var(--wr-navy-dark);
	--bs-btn-focus-shadow-rgb: 25, 39, 99;
}
.btn-outline-primary {
	--bs-btn-color: var(--wr-navy); --bs-btn-border-color: var(--wr-navy);
	--bs-btn-hover-bg: var(--wr-navy); --bs-btn-hover-border-color: var(--wr-navy); --bs-btn-hover-color: #fff;
	--bs-btn-active-bg: var(--wr-navy); --bs-btn-active-border-color: var(--wr-navy);
	border-width: 2px;
}
.btn-warning {
	--bs-btn-color: var(--wr-navy); --bs-btn-bg: var(--wr-yellow); --bs-btn-border-color: var(--wr-yellow);
	--bs-btn-hover-color: var(--wr-navy); --bs-btn-hover-bg: var(--wr-yellow-dark); --bs-btn-hover-border-color: var(--wr-yellow-dark);
	--bs-btn-active-color: var(--wr-navy); --bs-btn-active-bg: var(--wr-yellow-dark); --bs-btn-active-border-color: var(--wr-yellow-dark);
	--bs-btn-focus-shadow-rgb: 255, 199, 44;
}
.btn-outline-light { border-width: 2px; --bs-btn-hover-color: var(--wr-navy); }

/* ---------- Wellen ---------- */
.wave {
	position: absolute; left: 0; right: 0; height: 40px; pointer-events: none;
	background: var(--wave-color, #fff);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 40' preserveAspectRatio='none'%3E%3Cpath d='M0 20C150 40 350 0 600 20s450 0 600 0v20H0z'/%3E%3C/svg%3E") repeat-x 0 0 / 1200px 100%;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 40' preserveAspectRatio='none'%3E%3Cpath d='M0 20C150 40 350 0 600 20s450 0 600 0v20H0z'/%3E%3C/svg%3E") repeat-x 0 0 / 1200px 100%;
}
.wave-bottom { bottom: -1px; }
.wave-top { top: -1px; transform: rotate(180deg); }

/* ---------- Kopfbereich und Navigation ---------- */
.site-header { background: #fff; transition: box-shadow .2s; }
.site-header.is-scrolled { box-shadow: 0 .25rem 1rem rgba(25, 39, 99, .1); }
.navbar { padding-block: .5rem; }
.navbar-brand img { height: 60px; width: auto; }
.navbar .nav-link { font-weight: 700; color: var(--wr-navy); padding-inline: .75rem !important; position: relative; }
.navbar .nav-link:hover { color: var(--wr-navy-dark); }
.navbar .nav-link.active { color: var(--wr-navy); }
@media (min-width: 992px) {
	.navbar .nav-link::after { content: ""; position: absolute; left: .75rem; right: .75rem; bottom: .2rem; height: 3px; border-radius: 3px; background: var(--wr-yellow); transform: scaleX(0); transition: transform .2s; }
	.navbar .nav-link.dropdown-toggle::after { border: 0; margin: 0; vertical-align: 0; }
	.navbar .nav-link:hover::after, .navbar .nav-link.active::after { transform: scaleX(1); }
}
.dropdown-menu { border: 0; box-shadow: var(--wr-shadow-hover); border-radius: var(--wr-radius); padding: .5rem; }
.dropdown-item { border-radius: .5rem; font-weight: 600; color: var(--wr-navy); }
.dropdown-item.active, .dropdown-item:active { background: var(--wr-tint); color: var(--wr-navy); }
.navbar-toggler { border: 2px solid var(--wr-navy); }
.navbar-toggler-icon { background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23192763' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2.5' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e"); }
@media (max-width: 991.98px) {
	.navbar-collapse { padding-block: .75rem 1rem; }
	.navbar .nav-link.active { background: var(--wr-tint); border-radius: .5rem; }
}

/* ---------- Startseite: Hero ---------- */
.hero {
	position: relative; color: #fff; padding: 3.5rem 0 5.5rem;
	background: linear-gradient(160deg, rgba(25, 39, 99, .93), rgba(16, 25, 74, .97)), var(--hero-image, none) center / cover, var(--wr-navy);
}
.hero-title { color: #fff; font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800; margin-bottom: .25rem; }
.hero-claim { font-size: 1.3rem; color: var(--wr-sky); margin-bottom: 1.5rem; }
.hero-motivation { font-family: var(--wr-font-head); font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 700; line-height: 1.3; min-height: 2.6em; margin: 0; }
.rotator { color: var(--wr-yellow); display: inline; transition: opacity .35s; }
.rotator.is-hidden { opacity: 0; }
.hero-logo { width: min(100%, 420px); height: auto; filter: drop-shadow(0 1rem 2rem rgba(0, 0, 0, .35)); }
.hero .wave { --wave-color: #fff; }
@media (max-width: 991.98px) { .hero { padding-top: 2rem; } .hero-logo { width: min(80%, 300px); } }

/* ---------- Abschnitte ---------- */
.section { position: relative; padding: 4rem 0; }
.section-tint { background: var(--wr-tint); padding: 5rem 0; }
.section-tint .wave { --wave-color: #fff; }
.section-title { font-size: clamp(1.7rem, 3vw, 2.3rem); margin-bottom: 1.25rem; }
.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: .5rem 1rem; margin-bottom: 1.5rem; }
.section-head .section-title { margin-bottom: 0; }
.kicker { font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: .85rem; color: var(--wr-muted); margin-bottom: .25rem; }
.lead { font-size: 1.2rem; }

.stats { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: .75rem; }
.stats li { background: var(--wr-navy); color: #fff; border-radius: var(--wr-radius); padding: 1.5rem 1rem; text-align: center; }
.stat-value { display: block; font-family: var(--wr-font-head); font-size: 2.6rem; font-weight: 800; color: var(--wr-yellow); line-height: 1; }
.stat-label { display: block; margin-top: .4rem; font-weight: 600; }
@media (max-width: 575.98px) { .stats li { padding: 1rem .5rem; } .stat-value { font-size: 2rem; } .stat-label { font-size: .85rem; } }

.cta-band { background: var(--wr-yellow); color: var(--wr-navy); padding: 3.5rem 0 4.5rem; }

/* ---------- Seitenkopf der Unterseiten ---------- */
.page-header { position: relative; background: var(--wr-tint); padding: 1.5rem 0 4rem; }
.page-header h1 { font-size: clamp(2rem, 4.5vw, 3rem); font-weight: 800; margin-bottom: .5rem; }
.page-header .lead { color: var(--wr-muted); max-width: 48rem; margin-bottom: 0; }
.page-header .wave { --wave-color: #fff; }
.breadcrumb { font-size: .9rem; margin-bottom: 1.25rem; --bs-breadcrumb-divider-color: var(--wr-muted); --bs-breadcrumb-item-active-color: var(--wr-muted); }
.breadcrumb a { text-decoration: none; font-weight: 600; }
.breadcrumb a:hover { text-decoration: underline; }

/* ---------- Karten ---------- */
.card { border: 0; border-radius: var(--wr-radius); box-shadow: var(--wr-shadow); overflow: hidden; transition: transform .2s, box-shadow .2s; }
.card:has(.stretched-link):hover { transform: translateY(-4px); box-shadow: var(--wr-shadow-hover); }
.card-img-top { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; height: auto; }
.card-img-placeholder { display: grid; place-items: center; background: linear-gradient(135deg, var(--wr-sky), var(--wr-tint)); color: var(--wr-navy); font-size: 3rem; }
.card-title a { color: var(--wr-navy); text-decoration: none; }
.card-meta { font-size: .9rem; font-weight: 700; color: var(--wr-muted); margin-bottom: .4rem; }
.card-text { color: var(--wr-text); }
/* Gruppenlogos: Abzeichen überlappt Bild und Kartentext; ohne Bild steht es groß im Kopf der Karte */
.group-card .card-body.has-logo { position: relative; padding-top: 2.75rem; }
.group-card .card-body.has-logo > .group-logo { position: absolute; top: -40px; left: 1rem; width: 80px; height: 80px; filter: drop-shadow(0 .25rem .5rem rgba(25, 39, 99, .25)); transition: transform .3s; }
.group-card:hover .card-body.has-logo > .group-logo { transform: rotate(-8deg) scale(1.05); }
.group-logo-large { width: 150px; height: 150px; transition: transform .3s; }
.group-card:hover .group-logo-large { transform: rotate(-6deg) scale(1.04); }
.page-header-with-badge { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.group-logo-header { width: 140px; height: 140px; flex: 0 0 auto; filter: drop-shadow(0 .5rem 1rem rgba(25, 39, 99, .2)); }
@media (max-width: 575.98px) { .group-logo-header { width: 88px; height: 88px; } }
.time-chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .35rem; }
.time-chips li { background: var(--wr-tint); color: var(--wr-navy); font-size: .82rem; font-weight: 700; border-radius: 999px; padding: .15rem .65rem; }

.link-card { position: relative; display: block; height: 100%; padding: 1.5rem 3.5rem 1.5rem 1.5rem; background: var(--wr-tint); border-radius: var(--wr-radius); color: var(--wr-text); text-decoration: none; transition: background .2s; }
.link-card:hover { background: var(--wr-sky); color: var(--wr-text); }
.link-card-arrow { position: absolute; right: 1.5rem; top: 50%; transform: translateY(-50%); color: var(--wr-navy); font-size: 1.25rem; }

/* ---------- Inhalte aus dem Editor ---------- */
.content-body > :last-child { margin-bottom: 0; }
.content-body h2 { font-size: 1.6rem; margin-top: 2rem; }
.content-body h2:first-child, .content-body h3:first-child { margin-top: 0; }
.content-body h3 { font-size: 1.3rem; margin-top: 1.5rem; }
.content-body h4 { font-size: 1.1rem; margin-top: 1.25rem; }
.content-body ul { padding-left: 1.25rem; }
.content-body li::marker { color: var(--wr-blue); }
.content-body img { max-width: 100%; height: auto; border-radius: .75rem; }
.template-basic-page .content-body { overflow-wrap: anywhere; }

/* ---------- Hinweise und Infoboxen ---------- */
.admission-notice { display: flex; gap: 1rem; background: var(--wr-yellow-light); border-left: 6px solid var(--wr-yellow); border-radius: var(--wr-radius); padding: 1.25rem 1.5rem; margin-bottom: 2.5rem; }
.admission-icon { font-size: 1.6rem; color: var(--wr-navy); margin-top: .1rem; }
.fact-box { background: var(--wr-tint); border-radius: var(--wr-radius); padding: 1.5rem; }
.fact-box dt { color: var(--wr-navy); font-weight: 700; }
.fact-box dd { margin-bottom: 1rem; }
.fact-box dd:last-child { margin-bottom: 0; }
.fact-box .event-item { background: #fff; }
.empty-note { background: var(--wr-tint); border-radius: var(--wr-radius); padding: 1rem 1.25rem; }

/* ---------- Termine ---------- */
.event-item { display: flex; gap: 1rem; align-items: flex-start; padding: 1rem; border-radius: var(--wr-radius); background: #fff; box-shadow: var(--wr-shadow); margin-bottom: 1rem; }
.event-date { flex: 0 0 4.5rem; text-align: center; background: var(--wr-navy); color: #fff; border-radius: .75rem; padding: .5rem .25rem; line-height: 1.1; }
.event-day { display: block; font-family: var(--wr-font-head); font-size: 1.8rem; font-weight: 800; color: var(--wr-yellow); }
.event-month { display: block; font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .03em; }
.event-body { min-width: 0; }
.event-body h3 a { text-decoration: none; }
.event-body h3 a:hover { text-decoration: underline; }
.event-meta, .event-files { font-size: .92rem; color: var(--wr-muted); }
.event-files a { display: inline-block; margin-right: 1rem; font-weight: 700; }
.event-type { font-size: .72rem; margin-bottom: .35rem; }
.event-type-wettkampf { background: var(--wr-navy); }
.event-type-schnuppertraining { background: var(--wr-yellow); color: var(--wr-navy); }
.event-type-verein { background: var(--wr-sky); color: var(--wr-navy); }
.accordion { --bs-accordion-border-radius: var(--wr-radius); --bs-accordion-inner-border-radius: var(--wr-radius); --bs-accordion-active-bg: var(--wr-tint); --bs-accordion-active-color: var(--wr-navy); --bs-accordion-btn-focus-box-shadow: 0 0 0 .25rem rgba(22, 181, 246, .35); }
.accordion-button { font-family: var(--wr-font-head); font-weight: 700; font-size: 1.2rem; color: var(--wr-navy); }
.accordion-body .event-item { box-shadow: none; border: 1px solid #e3eaf3; }

/* ---------- Trainingsplan ---------- */
.season-tabs { gap: .5rem; }
.season-tabs .nav-link { border-radius: 999px; font-weight: 700; color: var(--wr-navy); background: var(--wr-tint); }
.season-tabs .nav-link.active { background: var(--wr-navy); color: #fff; }
.schedule-table { --bs-table-bg: transparent; margin-bottom: 1rem; }
.schedule-table thead th { background: var(--wr-navy); color: #fff; font-weight: 700; border: 0; }
.schedule-table thead th:first-child { border-top-left-radius: .6rem; }
.schedule-table thead th:last-child { border-top-right-radius: .6rem; }
.schedule-table tbody th { color: var(--wr-navy); white-space: nowrap; }
.schedule-table td:nth-child(2) { white-space: nowrap; }
.schedule-table tr.day-start > * { border-top: 2px solid var(--wr-sky); }
.schedule-table tbody tr:first-child > * { border-top: 0; }
.schedule-table a { font-weight: 700; }
.group-link { display: inline-flex; align-items: center; gap: .4rem; margin: .1rem .75rem .1rem 0; font-weight: 700; text-decoration: none; }
.group-link span { text-decoration: underline; text-underline-offset: .18em; }
.group-link .group-logo { flex: 0 0 auto; }
.trainer-chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .35rem; }
.trainer-chips li { display: inline-flex; align-items: center; gap: .4rem; background: var(--wr-tint); border-radius: 999px; padding: .15rem .7rem .15rem .15rem; font-size: .9rem; font-weight: 600; color: var(--wr-navy); white-space: nowrap; }
.trainer-chips img, .trainer-initials { width: 28px; height: 28px; border-radius: 50%; flex: 0 0 auto; }
.trainer-chips img { object-fit: cover; }
.trainer-initials { display: grid; place-items: center; background: var(--wr-navy); color: var(--wr-yellow); font-family: var(--wr-font-head); font-size: .75rem; font-weight: 800; line-height: 1; }
@media (max-width: 575.98px) {
	/* Auf schmalen Bildschirmen als Liste: Tag als Zwischenzeile, dann Uhrzeit + Gruppe, darunter Trainer */
	.schedule-table thead { display: none; }
	.schedule-table tbody tr { display: flex; flex-wrap: wrap; column-gap: .75rem; padding: .6rem .25rem; border-top: 1px solid var(--bs-border-color); }
	.schedule-table tbody tr.day-start { border-top: 2px solid var(--wr-sky); }
	.schedule-table tbody tr:first-child { border-top: 0; }
	.schedule-table tbody th, .schedule-table td { display: block; padding: 0; border: 0 !important; }
	.schedule-table tbody th { flex-basis: 100%; }
	.schedule-table tbody tr.day-start th { margin-bottom: .25rem; }
	.schedule-table td:nth-child(2) { font-weight: 700; }
	.schedule-table td:last-child { flex-basis: 100%; margin-top: .4rem; color: var(--wr-muted); font-size: .92rem; }
}
.season-note { display: flex; background: var(--wr-yellow-light); border-radius: .75rem; padding: .75rem 1rem; }
.season-note i { margin-top: .3rem; color: var(--wr-navy); }

/* ---------- Personen ---------- */
.person-card { text-align: center; height: 100%; padding: 1.5rem 1rem; background: #fff; border-radius: var(--wr-radius); box-shadow: var(--wr-shadow); }
.person-photo { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; margin: 0 auto 1rem; display: block; border: 4px solid var(--wr-sky); }
.person-initials { display: grid; place-items: center; background: var(--wr-navy); color: var(--wr-yellow); font-family: var(--wr-font-head); font-size: 2.4rem; font-weight: 800; }
.person-subline { color: var(--wr-muted); font-weight: 600; font-size: .95rem; margin-bottom: .5rem; }
.person-groups { display: flex; flex-wrap: wrap; justify-content: center; gap: .3rem; margin: .75rem 0 0; }
.person-groups a { display: inline-flex; align-items: center; gap: .3rem; background: var(--wr-tint); border-radius: 999px; padding: .1rem .6rem .1rem .1rem; font-size: .85rem; font-weight: 600; color: var(--wr-navy); text-decoration: none; white-space: nowrap; }
.person-groups a:hover span { text-decoration: underline; }
.person-groups .group-logo { flex: 0 0 auto; }
.person-contact { font-size: .9rem; margin: .75rem 0 0; }
.person-contact li { margin-bottom: .2rem; overflow-wrap: anywhere; }

/* ---------- Chronik ---------- */
.timeline { list-style: none; padding: 0 0 0 2rem; margin: 0; position: relative; max-width: 52rem; }
.timeline::before { content: ""; position: absolute; left: .55rem; top: .5rem; bottom: .5rem; width: 4px; border-radius: 4px; background: var(--wr-sky); }
.timeline-item { position: relative; padding-bottom: 2rem; }
.timeline-item::before { content: ""; position: absolute; left: -1.95rem; top: .35rem; width: 1.15rem; height: 1.15rem; border-radius: 50%; background: var(--wr-yellow); border: 3px solid var(--wr-navy); }
.timeline-date { display: block; font-family: var(--wr-font-head); font-weight: 700; color: var(--wr-navy); font-size: 1.15rem; margin-bottom: .5rem; }
.timeline-card { display: flex; gap: 1rem; align-items: center; padding: 1rem; border-radius: var(--wr-radius); background: #fff; box-shadow: var(--wr-shadow); color: var(--wr-text); text-decoration: none; transition: transform .2s, box-shadow .2s; }
.timeline-card:hover { transform: translateY(-3px); box-shadow: var(--wr-shadow-hover); color: var(--wr-text); }
.timeline-card img { width: 120px; height: 120px; object-fit: cover; border-radius: .75rem; flex: 0 0 auto; }
@media (max-width: 575.98px) { .timeline-card img { width: 72px; height: 72px; } }
.clipping { background: #fff; box-shadow: var(--wr-shadow); border-radius: var(--wr-radius); padding: 1rem; margin-bottom: 2rem; }
.clipping img { display: block; margin: 0 auto; }
.clipping figcaption { text-align: center; color: var(--wr-muted); font-size: .9rem; margin-top: .75rem; }

/* ---------- Galerie ---------- */
.gallery-item { display: block; border-radius: .75rem; overflow: hidden; }
.gallery-item img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .3s; }
.gallery-item:hover img { transform: scale(1.05); }

/* ---------- Vor/zurück ---------- */
.pager-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin: 3rem 0 1.5rem; }
.pager-nav a { display: block; padding: 1rem 1.25rem; border-radius: var(--wr-radius); background: var(--wr-tint); text-decoration: none; font-weight: 700; color: var(--wr-navy); }
.pager-nav a:hover { background: var(--wr-sky); }
.pager-nav span { display: block; font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; color: var(--wr-muted); }
.pager-next { grid-column: 2; text-align: right; }
@media (max-width: 575.98px) { .pager-nav { grid-template-columns: 1fr; } .pager-next { grid-column: 1; } }
.pagination { --bs-pagination-color: var(--wr-navy); --bs-pagination-active-bg: var(--wr-navy); --bs-pagination-active-border-color: var(--wr-navy); }

/* ---------- Seitenfuß ---------- */
.site-footer { position: relative; background: var(--wr-navy); color: #fff; padding: 4.5rem 0 1.5rem; margin-top: 40px; }
.site-footer .wave-top { top: -39px; transform: none; --wave-color: var(--wr-navy); }
.site-footer h2 { color: #fff; }
.site-footer a { color: var(--wr-sky); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.contact-list li { margin-bottom: .4rem; }
.sponsor-logos { display: flex; flex-wrap: wrap; gap: .75rem; }
.sponsor-logo { display: block; background: #fff; border-radius: .75rem; padding: .5rem; max-width: 180px; }
.sponsor-logo img { display: block; width: 100%; height: auto; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 1.5rem; border-top: 1px solid rgba(255, 255, 255, .2); margin-top: 3rem; padding-top: 1.5rem; font-size: .92rem; }
.footer-bottom nav { display: flex; gap: 1.5rem; }
body.template-home .site-footer { margin-top: 0; }

.edit-link { position: fixed; left: 1rem; bottom: 1rem; z-index: 1030; border-radius: 999px; }

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