/* =========================================================
   RSG Böblingen – statisches Redesign
   Farben/Fonts/Breite 1:1 aus dem echten Seiten-Quelltext
   (view-source, Kadence-Theme "Additional CSS") übernommen:
   --global-palette1..15, Google Fonts Karla/Prompt, 1170px.
   ========================================================= */

@import url('https://fonts.googleapis.com/css?family=Karla:regular,700,500|Prompt:700,500,regular&display=swap');

:root {
  --rsg-blue-dark: #1a3a8f;   /* --global-palette1: Header/Footer/Buttons */
  --rsg-blue: #1a3a8f;
  --rsg-blue-soft: #f4f6fb;   /* --global-palette7: helle Inhaltsflächen */
  --rsg-blue-alt: #e8eaf0;    /* --global-palette9: alternative helle Fläche */
  --rsg-yellow: #e8c619;      /* --global-palette2: Hover/Akzent/Buttons */
  --rsg-yellow-hover: #d4b30f;
  --rsg-red: #cc2222;         /* --global-palette10: RSG-Rot für Akzente */
  --rsg-orange: #f76a0c;      /* --global-palette14: Text-Highlight (mark) */
  --rsg-white: #ffffff;
  --rsg-text: #2d2d2d;        /* --global-palette4 */
  --rsg-text-muted: #555555;  /* --global-palette5 */
  --container-width: 1170px;  /* --global-content-width */
  --radius: 6px;
  --font-base: "Karla", "Segoe UI", Arial, sans-serif;   /* --global-body-font-family */
  --font-heading: "Prompt", "Segoe UI", Arial, sans-serif; /* --global-heading-font-family */
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-base);
  color: var(--rsg-text);
  line-height: 1.6;
  background: var(--rsg-white);
}

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

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

a { color: inherit; text-decoration: none; }

/* ---------- Utilities ---------- */
.text-center { text-align: center; }
.mt-8 { margin-top: 8px; }
.mt-12 { margin-top: 12px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-40 { margin-top: 40px; }
.mt-48 { margin-top: 48px; }
.hint-text { font-size: 0.85rem; color: var(--rsg-text-muted); }
.link-accent { color: var(--rsg-red); font-weight: 600; }
.link-accent-underline { color: var(--rsg-red); text-decoration: underline; }
.btn-outline.btn-outline-dark { color: var(--rsg-blue-dark); border-color: var(--rsg-blue-dark); }
.footer-logo { height: 56px; margin-bottom: 16px; }
.hp-field { position: absolute; left: -9999px; }

/* ---------- Header / Sticky Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--rsg-blue-dark);
  border-bottom: 1px solid rgba(255, 255, 255, 0.15); /* Original: Trennlinie beim Scrollen in blaue Flächen */
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);          /* Original: zusätzlicher Schatten am Sticky-Header */
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 10px;
  padding-bottom: 10px;
}

.site-header .logo img {
  height: 48px;
  filter: drop-shadow(0 0 4px rgba(255, 255, 255, 0.85)); /* Original-Fix: Logo geht im Blau unter */
}

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 28px;
  margin: 0;
  padding: 0;
}

.main-nav a {
  color: var(--rsg-white);
  font-weight: 500;
  font-size: 0.95rem;
}

.main-nav a:hover { color: var(--rsg-yellow); }

.nav-toggle {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}
.nav-toggle-bar {
  width: 24px;
  height: 2px;
  border-radius: 2px;
  background: var(--rsg-white);
  transition: transform 0.25s ease, opacity 0.2s ease;
}
.nav-toggle.active .nav-toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav-toggle.active .nav-toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--rsg-blue-dark); /* Original: #1a3a8f !important auf mobiler Drawer-Nav */
    display: none;
  }
  .main-nav.open { display: block; }
  .main-nav ul {
    flex-direction: column;
    padding: 16px 24px;
    gap: 16px;
  }
  .main-nav li + li { border-top: 1px solid rgba(255,255,255,.15); padding-top: 16px; }
  .main-nav a.active,
  .main-nav a[aria-current="page"] { color: #e8c518; } /* Original: aktueller Menüpunkt in Mobile-Nav */
}

/* ---------- Buttons (Feedback: überall gleich gestalten) ---------- */
.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-weight: bold; /* Original: .kb-button.kb-btn-global-fill { font-weight: bold !important; } */
  font-family: var(--font-heading);
  background: var(--rsg-yellow);
  color: var(--rsg-blue-dark);
  transition: background 0.2s ease, transform 0.15s ease;
  border: none;
  cursor: pointer;
}
.btn:hover { background: var(--rsg-yellow-hover); transform: translateY(-1px); }
.btn-outline {
  background: transparent;
  border: 2px solid var(--rsg-yellow);
  color: var(--rsg-white);
}
.btn-outline:hover { background: var(--rsg-yellow); color: var(--rsg-blue-dark); }
.btn-row { display: flex; gap: 16px; flex-wrap: wrap; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 640px;
  display: flex;
  align-items: center;
  color: var(--rsg-white);
  background: linear-gradient(180deg, rgba(20,38,63,.55), rgba(20,38,63,.75)),
              url("../assets/images/titelbild.jpg") center/cover no-repeat;
}
.hero .container { padding-top: 80px; padding-bottom: 80px; }
.hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  margin: 0 0 16px;
  font-weight: 700;
}
.hero p.lead {
  font-size: 1.15rem;
  max-width: 640px;
  margin: 0 0 32px;
}

/* ---------- Stats-Leiste ---------- */
.stats-strip { background: var(--rsg-blue-dark); padding: 32px 0; }
.stats-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 24px;
  text-align: center;
}
.stat {
  flex: 1;
  min-width: 140px;
  padding: 0 16px;
  border-left: 1px solid rgba(255,255,255,.15);
}
.stat:first-child { border-left: none; }
.stat-num {
  display: block;
  font-family: var(--font-heading);
  font-size: clamp(22px, 3.5vw, 32px);
  font-weight: 700;
  color: var(--rsg-yellow);
}
.stat-label {
  display: block;
  margin-top: 4px;
  font-size: 0.8rem;
  color: rgba(255,255,255,.75);
  text-transform: uppercase;
  letter-spacing: .04em;
}
@media (max-width: 560px) {
  .stat { border-left: none; border-top: 1px solid rgba(255,255,255,.15); padding-top: 16px; }
  .stat:first-child { border-top: none; padding-top: 0; }
}

/* ---------- Sections ---------- */
section { padding: 80px 0; }
.section-soft { background: var(--rsg-blue-soft); }
.section-white { background: var(--rsg-white); }

.eyebrow {
  color: var(--rsg-red);
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  font-size: 0.85rem;
  margin-bottom: 8px;
  display: block;
}

h1, h2, h3, h4, h5, h6 { font-family: var(--font-heading); text-align: left; }
h1 { font-size: clamp(28px, 6vw, 65px); font-weight: 700; }
h2 { font-size: clamp(22px, 5vw, 50px); margin: 0 0 16px; font-weight: 500; }
h3 { font-size: clamp(18px, 4vw, 30px); margin: 0 0 12px; font-weight: 500; }
p, li { font-size: clamp(15px, 2.5vw, 18px); }
.intro-text { max-width: 760px; color: var(--rsg-text-muted); }

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 40px;
}
@media (max-width: 760px) { .two-col { grid-template-columns: 1fr; } }
.two-col.cols-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 760px) { .two-col.cols-3 { grid-template-columns: 1fr; } }

.card {
  background: var(--rsg-white);
  border-radius: var(--radius);
  padding: 28px;
  border-top: 4px solid var(--rsg-blue);
  box-shadow: 0 2px 10px rgba(0,0,0,.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 28px rgba(0,0,0,.12);
}

/* ---------- Training Grid ---------- */
.discipline-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 40px;
}
@media (max-width: 960px) { .discipline-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .discipline-grid { grid-template-columns: 1fr; } }
.discipline-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 960px) { .discipline-grid.cols-3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .discipline-grid.cols-3 { grid-template-columns: 1fr; } }

/* Anklickbare Fotos, die den Lightbox-Overlay öffnen (z.B. Vereinsheim-Fotos) */
.lightbox-trigger {
  display: block;
  width: 100%;
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
  border-radius: var(--radius);
  overflow: hidden;
}
.lightbox-trigger img {
  display: block;
  width: 100%;
  border-radius: var(--radius);
  aspect-ratio: 4/3;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.lightbox-trigger:hover img { transform: scale(1.05); }

/* ---------- Lightbox-Overlay ---------- */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 10000;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(10,14,26,.92);
}
.lightbox.open { display: flex; }
.lightbox-img {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: var(--radius);
  box-shadow: 0 20px 60px rgba(0,0,0,.5);
}
.lightbox-close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: none;
  border: none;
  color: var(--rsg-white);
  font-size: 2.2rem;
  line-height: 1;
  cursor: pointer;
  padding: 4px 10px;
}
.lightbox-close:hover { color: var(--rsg-yellow); }
.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 50%;
  background: rgba(255,255,255,.12);
  color: var(--rsg-white);
  font-size: 2.4rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease;
}
.lightbox-nav:hover { background: rgba(255,255,255,.24); }
.lightbox-prev { left: 16px; }
.lightbox-next { right: 16px; }
@media (max-width: 560px) {
  .lightbox-nav { width: 40px; height: 40px; font-size: 1.8rem; }
  .lightbox-close { font-size: 1.8rem; }
}

.discipline-card {
  background: var(--rsg-white);
  border-radius: var(--radius);
  padding: 20px;
  border-top: 4px solid var(--rsg-blue);
  box-shadow: 0 2px 10px rgba(0,0,0,.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.discipline-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 28px rgba(0,0,0,.12);
}
/* Je Disziplin ein eigener Akzent aus der Marken-Palette */
.discipline-card:nth-child(1) { border-top-color: var(--rsg-blue); }
.discipline-card:nth-child(2) { border-top-color: var(--rsg-red); }
.discipline-card:nth-child(3) { border-top-color: var(--rsg-yellow); }
.discipline-card:nth-child(4) { border-top-color: var(--rsg-orange); }

.discipline-card .card-img {
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 16px;
}
.discipline-card img {
  aspect-ratio: 4/3;
  object-fit: cover;
  margin-bottom: 0;
  transition: transform 0.4s ease;
}
.discipline-card:hover img { transform: scale(1.06); }

/* ---------- Trainer Grid ---------- */
.trainer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  margin-top: 32px;
}
@media (max-width: 960px) { .trainer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .trainer-grid { grid-template-columns: 1fr; } }
.trainer-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 960px) { .trainer-grid.cols-3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .trainer-grid.cols-3 { grid-template-columns: 1fr; } }

.trainer-card {
  background: var(--rsg-white);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: 0 2px 10px rgba(0,0,0,.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.trainer-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 28px rgba(0,0,0,.12);
}
.trainer-card .card-img {
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 12px;
}
.trainer-card img {
  aspect-ratio: 3/4;
  object-fit: cover;
  margin-bottom: 0;
  transition: transform 0.4s ease;
}
.trainer-card:hover img { transform: scale(1.06); }
.trainer-card .role {
  font-size: 0.85rem;
  color: var(--rsg-red);
  font-weight: 600;
  margin-bottom: 8px;
}
.trainer-card p { font-size: 0.92rem; color: var(--rsg-text-muted); }

/* Coaches & Supporter als eigener, abgesetzter Block */
.coach-subsection {
  margin-top: 56px;
  padding: 40px;
  background: var(--rsg-blue-soft);
  border-radius: var(--radius);
}
@media (max-width: 560px) { .coach-subsection { padding: 28px 20px; } }
.subgroup-title { margin-bottom: 8px; }

/* ---------- Blindensport ---------- */
.blind-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 32px;
}
@media (max-width: 760px) { .blind-actions { grid-template-columns: 1fr; } }
/* Handlungsaufforderungen (mit Button) heben sich in Rot ab */
.blind-actions .card { border-top-color: var(--rsg-red); }

.timeline-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 32px;
}
@media (max-width: 760px) { .timeline-facts { grid-template-columns: 1fr; } }

/* ---------- Vereinsheim ---------- */
.vereinsheim { background: var(--rsg-blue-dark); color: var(--rsg-white); }
.vereinsheim .intro-text { color: rgba(255,255,255,.8); }
.vereinsheim .eyebrow { color: var(--rsg-yellow); }

/* ---------- Footer ---------- */
footer {
  background: var(--rsg-blue-dark);
  color: rgba(255,255,255,.85);
  padding: 56px 0 24px;
}
footer .footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 32px;
}
@media (max-width: 760px) { footer .footer-grid { grid-template-columns: 1fr; } }
footer h4 {
  color: var(--rsg-white);
  margin-bottom: 12px;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
footer ul { list-style: none; padding: 0; margin: 0; }
footer li { margin-bottom: 8px; }
footer a { text-decoration: underline; }
footer a:hover { color: var(--rsg-yellow); } /* Original: RSG-Gelb beim Hover auf Footer-Links */
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.15);
  padding-top: 20px;
  font-size: 0.85rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

/* ---------- Kontakt-Karte (1:1 aus dem echten Seiten-Quelltext /kontakt/) ---------- */
.rsg-k-wrap { max-width: 560px; margin: 0 auto; padding: 2rem 0 3rem; }
.rsg-k-card { border-radius: 12px; border: 1px solid rgba(0,0,0,0.08); padding: 1.8rem; background: #fff; }
.rsg-k-person { display: flex; align-items: center; gap: 14px; padding-bottom: 1.4rem; border-bottom: 1px solid rgba(0,0,0,0.07); margin-bottom: 1.4rem; }
.rsg-k-avatar { width: 52px; height: 52px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 17px; font-weight: 700; flex-shrink: 0; background: var(--rsg-blue-dark); color: #fff; }
.rsg-k-person-name { font-size: 17px; font-weight: 700; margin: 0; font-family: var(--font-heading); }
.rsg-k-person-role { font-size: 13px; opacity: 0.6; margin: 3px 0 0; }
.rsg-k-row { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 1.2rem; }
.rsg-k-row:last-child { margin-bottom: 0; }
.rsg-k-icon { width: 38px; height: 38px; border-radius: 9px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; background: var(--rsg-blue-soft); }
.rsg-k-icon svg { width: 17px; height: 17px; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; stroke: var(--rsg-blue-dark); }
.rsg-k-val { font-size: 14px; line-height: 1.6; }
.rsg-k-val a { color: var(--rsg-blue-dark); text-decoration: none; }
.rsg-k-val a:hover { text-decoration: underline; }
.rsg-k-hint { font-size: 11px; opacity: 0.5; margin-top: 2px; }
.rsg-k-divider { height: 1px; background: rgba(0,0,0,0.07); margin: 1.4rem 0; }

/* ---------- Impressum / Datenschutz (1:1 aus dem echten Seiten-Quelltext /impressum/) ---------- */
.rsg-legal { max-width: 860px; color: var(--rsg-text); line-height: 1.7; }
.rsg-legal h1 { font-size: 1.8em; color: var(--rsg-blue-dark); border-bottom: 3px solid var(--rsg-blue-dark); padding-bottom: 8px; margin-top: 2em; margin-bottom: 0.6em; }
.rsg-legal h1:first-child { margin-top: 0; }
.rsg-legal h2 { font-size: 1.2em; color: var(--rsg-text); margin-top: 1.8em; margin-bottom: 0.4em; font-weight: 700; }
.rsg-legal h3 { font-size: 1.05em; color: #374151; margin-top: 1.4em; margin-bottom: 0.3em; font-weight: 700; }
.rsg-legal p { margin: 0.5em 0 0.8em; }
.rsg-legal ul { margin: 0.4em 0 0.8em 1.4em; padding: 0; }
.rsg-legal ul li { margin-bottom: 0.3em; }
.rsg-legal a { color: #1d4ed8; }
.rsg-legal hr { border: none; border-top: 1px solid #d1d5db; margin: 2.5em 0; }
.rsg-legal .note { background: #fef9c3; border-left: 4px solid #f59e0b; padding: 10px 14px; margin: 1em 0; font-size: 0.88em; color: #78350f; border-radius: 0 4px 4px 0; }
.rsg-legal .note strong { color: #92400e; }
.rsg-legal .meta { font-size: 0.85em; color: #6b7280; margin-bottom: 1.5em; }

/* ---------- Buchungskalender (Vereinsheim mieten) ---------- */
.rsg-cal { max-width: 380px; margin: 0 auto; }
.rsg-cal-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.rsg-cal-header select { padding: 6px 10px; border-radius: var(--radius); border: 1px solid #ccd3d9; font-family: inherit; }
.rsg-cal-nav-btn { background: none; border: none; font-size: 1.2rem; cursor: pointer; color: var(--rsg-blue-dark); padding: 4px 10px; }
.rsg-cal table { width: 100%; border-collapse: collapse; text-align: center; }
.rsg-cal th { font-size: 0.8rem; color: var(--rsg-text-muted); padding: 6px 0; }
.rsg-cal td { padding: 3px; }
.rsg-cal-day { display: flex; align-items: center; justify-content: center; height: 36px; border-radius: 6px; font-size: 0.9rem; }
/* Frei bleibt grün (Ampel-Konvention), Vergeben/Angefragt aus der Marken-Palette (Rot/Gelb) abgeleitet */
.rsg-cal-frei { background: rgba(47,158,68,.16); color: #1e6e32; font-weight: 600; }
.rsg-cal-belegt { background: rgba(204,34,34,.14); color: #a81c1c; font-weight: 600; }
.rsg-cal-angefragt { background: rgba(232,198,25,.3); color: #6b5400; font-weight: 600; }
.rsg-cal-legend { display: flex; gap: 18px; justify-content: center; margin-top: 16px; font-size: 0.85rem; flex-wrap: wrap; }
.rsg-cal-legend span { display: inline-flex; align-items: center; gap: 6px; }
.rsg-cal-legend i { width: 14px; height: 14px; border-radius: 4px; display: inline-block; }
.rsg-cal-legend i.rsg-cal-frei { background: #2f9e44; }
.rsg-cal-legend i.rsg-cal-belegt { background: var(--rsg-red); }
.rsg-cal-legend i.rsg-cal-angefragt { background: var(--rsg-yellow); }
/* ---------- Schritt-Anzeige (Vereinsheim mieten) ---------- */
.steps-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 32px;
}
@media (max-width: 760px) { .steps-row { grid-template-columns: 1fr; } }
.step { display: flex; gap: 16px; align-items: flex-start; }
.step-num {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--rsg-blue-dark);
  color: var(--rsg-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
}
.step h3 { margin: 0 0 4px; font-size: 1.05rem; }
.step p { font-size: 0.9rem; color: var(--rsg-text-muted); margin: 0; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 32px; }
@media (max-width: 760px) { .form-grid { grid-template-columns: 1fr; } }
.form-grid label { display: block; font-weight: 600; margin-bottom: 6px; font-size: 0.9rem; }
.form-grid input, .form-grid textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #ccd3d9;
  border-radius: var(--radius);
  font-family: inherit;
}
.form-full { grid-column: 1 / -1; }
.form-grid input[type="checkbox"] {
  width: auto;
  display: inline-block;
  margin-right: 8px;
  vertical-align: middle;
}

/* ---------- Back to top ---------- */
.back-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 9999;
  width: 52px;
  height: 52px;
  border: 3px solid rgba(255,255,255,.85);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--rsg-blue-dark);
  color: var(--rsg-white);
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0,0,0,.35);
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease, transform .2s ease, background .2s ease, box-shadow .2s ease;
}
.back-to-top svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.back-to-top.visible { opacity: 1; pointer-events: auto; }
.back-to-top:hover {
  background: var(--rsg-yellow);
  color: var(--rsg-blue-dark);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0,0,0,.25);
}
