/* =====================================================================
   RSG Saar – Gestaltung
   Farben zentral hier ändern (abgestimmt auf das Logo).
   ===================================================================== */
:root {
  --navy: #0B2239;
  --navy-2: #133A60;
  --blau: #2F7DD1;
  --blau-text: #1D5FA8;
  --orange: #E2572B;
  --orange-dunkel: #B83F14;
  --hell: #F2F5F9;
  --linie: #DCE3EC;
  --text: #0F1E2E;
  --text-2: #4A5B6D;
  --weiss: #FFFFFF;
  --radius: 18px;
  --radius-klein: 10px;
  --schatten: 0 1px 2px rgba(11, 34, 57, .06), 0 8px 24px rgba(11, 34, 57, .08);
  --breite: 1160px;
  --schrift: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
body {
  margin: 0;
  font-family: var(--schrift);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--weiss);
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blau-text); text-underline-offset: .18em; }
a:hover { color: var(--navy); }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -.02em; margin: 0 0 .5em; color: var(--navy); }
h1 { font-size: clamp(2.2rem, 5.5vw, 4rem); font-weight: 850; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); font-weight: 800; }
h3 { font-size: 1.25rem; font-weight: 750; }
p { margin: 0 0 1em; }
strong { font-weight: 700; }

.huelle { width: min(100% - 2.5rem, var(--breite)); margin-inline: auto; }
.abschnitt { padding-block: clamp(3.5rem, 8vw, 6rem); }
.abschnitt--hell { background: var(--hell); }
.abschnitt--navy { background: var(--navy); color: #E6EDF5; }
.abschnitt--navy h2, .abschnitt--navy h3 { color: var(--weiss); }
.kicker { display: inline-block; font-size: .8rem; font-weight: 750; letter-spacing: .14em; text-transform: uppercase; color: var(--orange-dunkel); margin-bottom: .75rem; }
.abschnitt--navy .kicker, .held .kicker { color: #FF9A73; }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: var(--text-2); max-width: 46rem; }

/* ---------- Sprunglink ---------- */
.sprunglink { position: absolute; left: 1rem; top: -100px; z-index: 100; background: var(--navy); color: #fff; padding: .75rem 1rem; border-radius: var(--radius-klein); }
.sprunglink:focus { top: 1rem; color: #fff; }

/* ---------- Kopfzeile ---------- */
.kopf { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.92); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--linie); }
.kopf__innen { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 72px; }
.marke { display: flex; align-items: center; gap: .75rem; text-decoration: none; color: var(--navy); }
.marke img { width: 52px; height: 52px; }
.marke__name { font-weight: 850; font-size: 1.25rem; letter-spacing: -.01em; line-height: 1.1; }
.marke__name small { display: block; font-size: .72rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--text-2); }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: .25rem; align-items: center; }
.nav a { display: block; padding: .6rem .9rem; border-radius: 999px; text-decoration: none; color: var(--navy); font-weight: 650; }
.nav a:hover { background: var(--hell); }
.nav a[aria-current="page"] { background: var(--navy); color: #fff; }
.nav .nav__cta a { background: var(--orange-dunkel); color: #fff; margin-left: .35rem; }
.nav .nav__cta a:hover { background: var(--navy); }
.menueknopf { display: none; align-items: center; justify-content: center; width: 48px; height: 48px; border: 1px solid var(--linie); border-radius: 12px; background: #fff; color: var(--navy); cursor: pointer; }
.menueknopf svg { width: 24px; height: 24px; }

@media (max-width: 1080px) {
  .menueknopf { display: inline-flex; }
  .nav { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--linie); box-shadow: var(--schatten); display: none; }
  .nav.offen { display: block; }
  .nav ul { flex-direction: column; align-items: stretch; padding: .75rem 1.25rem 1.25rem; gap: .25rem; }
  .nav a { padding: .9rem 1rem; border-radius: var(--radius-klein); font-size: 1.1rem; }
  .nav .nav__cta a { margin: .5rem 0 0; text-align: center; }
}

/* ---------- Knöpfe ---------- */
.knopf { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 50px; padding: .8rem 1.4rem; border-radius: 999px; font-weight: 750; text-decoration: none; border: 2px solid transparent; cursor: pointer; font-size: 1rem; transition: transform .15s ease, background .15s ease; }
.knopf:hover { transform: translateY(-1px); }
.knopf svg { width: 20px; height: 20px; flex: none; }
.knopf--primaer { background: var(--orange-dunkel); color: #fff; }
.knopf--primaer:hover { background: #9E3510; color: #fff; }
.knopf--rand { border-color: currentColor; color: var(--navy); background: transparent; }
.knopf--rand-hell { border-color: rgba(255,255,255,.7); color: #fff; }
.knopf--rand-hell:hover { background: rgba(255,255,255,.1); color: #fff; }
.knopfreihe { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }

/* ---------- Startseiten-Held ---------- */
.held { position: relative; overflow: hidden; background: var(--navy); color: #E6EDF5; }
.held::before { content: ""; position: absolute; inset: 0; background:
  radial-gradient(60rem 30rem at 85% 20%, rgba(47,125,209,.35), transparent 60%),
  radial-gradient(40rem 25rem at 10% 110%, rgba(226,87,43,.22), transparent 60%); }
.held__linien { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .09; }
.held__innen { position: relative; display: grid; grid-template-columns: 1.2fr .8fr; gap: 3rem; align-items: center; padding-block: clamp(3.5rem, 9vw, 7rem); }
.held h1 { color: #fff; }
.held .lead { color: #C9D6E4; }
.held__logo { justify-self: center; width: min(100%, 400px); filter: drop-shadow(0 20px 40px rgba(0,0,0,.35)); }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.75rem; padding: 0; list-style: none; }
.chip { display: inline-flex; align-items: center; gap: .5rem; padding: .5rem .9rem; border-radius: 999px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); font-size: .95rem; font-weight: 600; color: #fff; }
.chip svg { width: 18px; height: 18px; color: #FF9A73; }
@media (max-width: 820px) {
  .held__innen { grid-template-columns: 1fr; gap: 2rem; }
  .held__logo { width: 220px; order: -1; }
}

/* ---------- Sportarten-Karten ---------- */
.karten { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; margin-top: 2rem; }
@media (max-width: 760px) { .karten { grid-template-columns: 1fr; } }
.karte { position: relative; display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden; background: #fff; box-shadow: var(--schatten); text-decoration: none; color: inherit; transition: transform .2s ease, box-shadow .2s ease; }
.karte:hover { transform: translateY(-3px); box-shadow: 0 2px 4px rgba(11,34,57,.06), 0 16px 40px rgba(11,34,57,.14); color: inherit; }
.karte__bild { position: relative; aspect-ratio: 16 / 9; }
.karte__text { padding: 1.4rem 1.5rem 1.6rem; }
.karte__text h3 { font-size: 1.5rem; margin-bottom: .2rem; }
.karte__unter { font-size: .8rem; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; color: var(--orange-dunkel); }
.karte__mehr { display: inline-flex; align-items: center; gap: .4rem; margin-top: .5rem; font-weight: 750; color: var(--blau-text); }
.karte__mehr svg { width: 18px; height: 18px; transition: transform .2s ease; }
.karte:hover .karte__mehr svg { transform: translateX(4px); }

/* ---------- Bild mit Platzhalter ---------- */
.bildfeld { position: relative; overflow: hidden; background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 60%, #1E5A91 100%); }
.bildfeld img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.bildfeld__platzhalter { position: absolute; inset: 0; display: grid; place-items: center; color: rgba(255,255,255,.9); }
.bildfeld__platzhalter svg.muster { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .14; }
.bildfeld__platzhalter .symbol { position: relative; width: 72px; height: 72px; color: #FF9A73; }

/* ---------- Training ---------- */
.raster-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
@media (max-width: 760px) { .raster-2 { grid-template-columns: 1fr; } }
.box { background: #fff; border: 1px solid var(--linie); border-radius: var(--radius); padding: 1.5rem; }
.abschnitt--hell .box { border-color: transparent; box-shadow: var(--schatten); }
.zeiten { list-style: none; margin: 0; padding: 0; display: grid; gap: .75rem; }
.zeit { display: grid; grid-template-columns: auto 1fr; gap: 1rem; align-items: center; padding: .9rem 1rem; border-radius: var(--radius-klein); background: var(--hell); }
.abschnitt--hell .zeit { background: #F7F9FC; }
.zeit__icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--navy); color: #FF9A73; }
.zeit__icon svg { width: 24px; height: 24px; }
.zeit__sport { font-weight: 750; color: var(--navy); }
.zeit__wann { color: var(--text-2); }
.adresse { font-style: normal; font-size: 1.1rem; line-height: 1.5; }
.adresse strong { color: var(--navy); }
.hinweis { display: flex; gap: .6rem; align-items: flex-start; margin-top: 1rem; color: var(--text-2); font-size: .98rem; }
.hinweis svg { width: 22px; height: 22px; color: var(--blau-text); flex: none; margin-top: .1rem; }
.klein { font-size: .9rem; color: var(--text-2); }

/* ---------- Fakten ---------- */
.fakten { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; margin-top: 2rem; padding: 0; list-style: none; }
@media (max-width: 760px) { .fakten { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.fakt { padding: 1.25rem; border-radius: var(--radius); background: var(--hell); }
.fakt__zahl { display: block; font-size: 2rem; font-weight: 850; color: var(--navy); letter-spacing: -.02em; line-height: 1.1; }
.fakt__text { color: var(--text-2); font-weight: 600; }
.zweispaltig { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
@media (max-width: 860px) { .zweispaltig { grid-template-columns: 1fr; gap: 1.5rem; } }

/* ---------- Probetraining-Band ---------- */
.probe { position: relative; overflow: hidden; border-radius: calc(var(--radius) + 6px); background: var(--navy); color: #DCE6F1; padding: clamp(2rem, 5vw, 3.5rem); display: grid; grid-template-columns: 1.4fr .6fr; gap: 2rem; align-items: center; }
.probe::before { content: ""; position: absolute; inset: 0; background: radial-gradient(30rem 18rem at 100% 0%, rgba(226,87,43,.35), transparent 60%), radial-gradient(30rem 18rem at 0% 100%, rgba(47,125,209,.35), transparent 60%); }
.probe > * { position: relative; }
.probe h2 { color: #fff; }
.probe__mail { display: block; margin-top: .75rem; font-weight: 700; color: #fff; word-break: break-all; }
.probe__aktion { display: flex; flex-direction: column; gap: .75rem; align-items: stretch; }
@media (max-width: 820px) { .probe { grid-template-columns: 1fr; } }

/* ---------- Unterseiten-Held mit Titelbild ---------- */
.titel { position: relative; min-height: clamp(320px, 52vw, 560px); display: flex; align-items: flex-end; color: #fff; }
.titel .bildfeld { position: absolute; inset: 0; }
.titel::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,34,57,0) 30%, rgba(11,34,57,.85) 100%); pointer-events: none; }
.titel__text { position: relative; z-index: 1; padding-block: 2.5rem; }
.titel h1 { color: #fff; margin: 0; text-shadow: 0 2px 20px rgba(0,0,0,.25); }
.titel .kicker { color: #FFB394; }
.titel--schlicht { min-height: 0; background: var(--navy); }
.titel--schlicht::after { display: none; }
.titel--schlicht .titel__text { padding-block: clamp(3rem, 7vw, 5rem); }

.inhalt-raster { display: grid; grid-template-columns: 1.5fr 1fr; gap: 3rem; align-items: start; }
@media (max-width: 900px) { .inhalt-raster { grid-template-columns: 1fr; gap: 2rem; } }
.seitenleiste { display: grid; gap: 1.25rem; position: sticky; top: 96px; }
@media (max-width: 900px) { .seitenleiste { position: static; } }

/* ---------- Galerie ---------- */
.galerie { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: .9rem; margin-top: 1.5rem; padding: 0; list-style: none; }
.galerie button { display: block; width: 100%; padding: 0; border: 0; border-radius: var(--radius-klein); overflow: hidden; cursor: zoom-in; background: var(--hell); aspect-ratio: 4 / 3; }
.galerie img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.galerie button:hover img { transform: scale(1.04); }
.galerie-leer { margin-top: 1.25rem; padding: 2rem; border: 2px dashed var(--linie); border-radius: var(--radius); text-align: center; color: var(--text-2); }
.leuchtkasten { border: 0; padding: 0; background: transparent; max-width: min(96vw, 1200px); max-height: 96vh; width: 100%; }
.leuchtkasten::backdrop { background: rgba(5, 15, 26, .92); }
.leuchtkasten figure { margin: 0; display: grid; gap: .75rem; justify-items: center; }
.leuchtkasten img { max-height: 80vh; width: auto; border-radius: var(--radius-klein); }
.leuchtkasten figcaption { color: #E6EDF5; text-align: center; }
.leuchtkasten__leiste { display: flex; justify-content: center; gap: .75rem; }
.leuchtkasten__leiste button { width: 52px; height: 52px; border-radius: 999px; border: 1px solid rgba(255,255,255,.35); background: rgba(255,255,255,.08); color: #fff; cursor: pointer; display: grid; place-items: center; }
.leuchtkasten__leiste button svg { width: 24px; height: 24px; }

/* ---------- Erfolge ---------- */
.erfolg-gruppen { display: grid; gap: 1.5rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 860px) { .erfolg-gruppen { grid-template-columns: 1fr; } }
.erfolg-gruppe { background: #fff; border-radius: var(--radius); box-shadow: var(--schatten); padding: 1.5rem; }
.erfolg-gruppe__kopf { display: flex; align-items: center; gap: .9rem; margin-bottom: 1rem; }
.erfolg-gruppe__kopf h3 { margin: 0; }
.erfolg-gruppe__icon { width: 48px; height: 48px; border-radius: 14px; background: var(--navy); color: #FF9A73; display: grid; place-items: center; flex: none; }
.erfolg-gruppe__icon svg { width: 26px; height: 26px; }
.erfolge-liste { list-style: none; margin: 0; padding: 0; display: grid; gap: .9rem; }
.erfolg { display: grid; grid-template-columns: 4.2rem 1fr; gap: .9rem; padding-top: .9rem; border-top: 1px solid var(--linie); }
.erfolg:first-child { border-top: 0; padding-top: 0; }
.erfolg__jahr { font-weight: 850; color: var(--orange-dunkel); font-variant-numeric: tabular-nums; }
.erfolg__titel { display: block; font-weight: 750; color: var(--navy); }
.erfolg p { margin: .2rem 0 0; color: var(--text-2); font-size: .98rem; }
.zeitleiste { list-style: none; margin: 2rem 0 0; padding: 0; position: relative; }
.zeitleiste::before { content: ""; position: absolute; left: 4.6rem; top: .5rem; bottom: .5rem; width: 2px; background: rgba(255,255,255,.2); }
.zeitleiste li { display: grid; grid-template-columns: 4rem 1fr; gap: 2rem; padding-block: .9rem; position: relative; }
.zeitleiste li::before { content: ""; position: absolute; left: calc(4.6rem - 6px); top: 1.35rem; width: 14px; height: 14px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 4px var(--navy); }
.zeitleiste__jahr { font-weight: 850; color: #fff; font-size: 1.1rem; }
.zeitleiste p { margin: 0; color: #C9D6E4; }
.zeitleiste strong { color: #fff; }

/* ---------- Rechtstexte ---------- */
.rechtstext { max-width: 48rem; }
.rechtstext h2 { font-size: 1.5rem; margin-top: 2.25rem; }
.rechtstext h3 { font-size: 1.15rem; margin-top: 1.5rem; }
.rechtstext ul { padding-left: 1.2rem; }
.luecke { background: #FFF1E9; color: var(--orange-dunkel); border: 1px dashed #F4A584; border-radius: 6px; padding: 0 .35rem; font-weight: 650; }

/* ---------- Instagram-Band ---------- */
.insta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; }
.insta__titel { display: flex; align-items: center; gap: 1rem; }
.insta__titel svg { width: 44px; height: 44px; color: var(--orange-dunkel); flex: none; }
.insta h2 { margin: 0; font-size: clamp(1.4rem, 2.6vw, 2rem); }

/* ---------- Fußzeile ---------- */
.fuss { background: #07182A; color: #AFC0D2; padding-block: 3.5rem 2rem; font-size: .98rem; }
.fuss a { color: #E6EDF5; }
.fuss a:hover { color: #fff; }
.fuss__raster { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; }
@media (max-width: 820px) { .fuss__raster { grid-template-columns: 1fr; } }
.fuss__marke { display: flex; align-items: center; gap: .9rem; margin-bottom: 1rem; color: #fff; font-weight: 850; font-size: 1.2rem; }
.fuss__marke img { width: 56px; height: 56px; }
.fuss h2 { font-size: .85rem; letter-spacing: .14em; text-transform: uppercase; color: #fff; margin-bottom: 1rem; }
.fuss ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.fuss__unten { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.1); display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; font-size: .9rem; }

/* ---------- Hilfsklassen ---------- */
.nur-sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.ohne-js { padding: 2rem; background: #FFF1E9; text-align: center; }
.mt-0 { margin-top: 0; }
.titel .lead { color: #C9D6E4; }
.h3 { font-size: 1.25rem; font-weight: 750; }
.karte__bild .bildfeld { position: absolute; inset: 0; }
.fakten { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 0; }
.probe .kicker { color: #FF9A73; }
.erfolg--ohne-jahr { grid-template-columns: 1fr; }
.fakt__text { display: block; overflow-wrap: anywhere; hyphens: auto; }

/* ---------- Kontaktformular ---------- */
.formular { display: grid; gap: 1rem; }
.formular .klein { margin: 0; }
.feld { display: grid; gap: .35rem; }
.feld label { font-weight: 700; color: var(--navy); }
.feld label .klein { font-weight: 500; }
.feld-reihe { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 600px) { .feld-reihe { grid-template-columns: 1fr; } }
.feld input, .feld select, .feld textarea {
  width: 100%; min-height: 50px; padding: .7rem .9rem; font: inherit; color: var(--text);
  background: #fff; border: 1.5px solid #7C8EA1; border-radius: var(--radius-klein);
}
.feld textarea { resize: vertical; min-height: 150px; }
.feld input:focus, .feld select:focus, .feld textarea:focus { outline: 3px solid var(--orange); outline-offset: 1px; border-color: var(--navy); }
.feld input:user-invalid, .feld textarea:user-invalid { border-color: #B42318; }
.formular .knopf { justify-self: start; }
.formular .knopf:disabled { opacity: .7; cursor: wait; transform: none; }
.falle { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.formular__status { padding: 1rem 1.1rem; border-radius: var(--radius-klein); font-weight: 600; }
.formular__status--ok { background: #E7F6EC; color: #14532D; border: 1px solid #9BD3AE; }
.formular__status--fehler { background: #FDECEA; color: #8A1C12; border: 1px solid #F1A9A0; }
.seitenleiste--frei { position: static; }
.karten { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 980px) { .karten { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .karten { grid-template-columns: 1fr; } }
.titel .bildfeld img { object-position: center 50%; }
