/* ═══════════════════════════════════════════════════════════════════
   SG Rothenkirchen – main.css
   Shared styles for all pages
   ═══════════════════════════════════════════════════════════════════ */

/* ─── RESET & ROOT ─────────────────────────────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --bg:        #060d07;
  --bg-2:      #0a150c;
  --bg-card:   #0e1c12;
  --gold:      #c9a84c;
  --gold-lt:   #e8d5a3;
  --gold-dk:   #9a7c32;
  --steel:     #1a3d20;
  --red:       #dc2626;
  --text:      #e2e8f0;
  --muted:     #64748b;
  --border:    rgba(201,168,76,0.18);
  --glow:      0 0 40px rgba(201,168,76,0.25);
  --r:         12px;
}

html { scroll-behavior: auto; } /* Lenis takes over */

body {
  font-family: 'Space Grotesk', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* ─── LOADING SCREEN ─────────────────────────────────────────────── */
#loader {
  position: fixed; inset: 0; z-index: 9000;
  background: #000;
  pointer-events: none;
}

/* ─── NAVBAR ─────────────────────────────────────────────────────── */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 800;
  padding: 1.2rem 2rem;
  display: flex; justify-content: space-between; align-items: center;
  transition: background .4s, backdrop-filter .4s, padding .3s, border-bottom .3s;
}
.navbar.scrolled {
  background: rgba(6,13,7,0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  padding: .8rem 2rem;
}
.nav-logo {
  display: flex; align-items: center;
}
.nav-logo img {
  height: 46px; width: auto;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,.6));
  transition: transform .25s;
}
.nav-logo img:hover { transform: scale(1.06); }
.nav-links {
  display: flex; gap: 1.8rem; align-items: center;
}
.nav-links a, .nav-item > .nav-label {
  font-size: .85rem; font-weight: 500; text-transform: uppercase;
  letter-spacing: .1em; color: var(--text);
  transition: color .25s;
  position: relative;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -3px; left: 0; right: 100%;
  height: 1px; background: var(--gold);
  transition: right .25s;
}
.nav-links a:hover,
.nav-links a.active { color: var(--gold); }
.nav-links a:hover::after,
.nav-links a.active::after { right: 0; }

/* ─── NAV DROPDOWNS ─────────────────────────────────────────────── */
.nav-item { position: relative; display: flex; align-items: center; }
.nav-item > a, .nav-item > .nav-label { display: flex; align-items: center; gap: .25rem; }
.nav-item > .nav-label { cursor: default; color: inherit; }
.nav-arrow { font-size: .6rem; opacity: .55; line-height: 1; transition: transform .2s, opacity .2s; }
.nav-item:hover > a > .nav-arrow,
.nav-item:hover > .nav-label > .nav-arrow { opacity: 1; transform: rotate(180deg); }
.nav-sub-item > a > .nav-arrow { transform: rotate(-90deg) !important; }
.nav-sub-item:hover > a > .nav-arrow { transform: rotate(-90deg) !important; }
.nav-sub-item > .nav-label { display: flex; align-items: center; justify-content: space-between;
  padding: .55rem 1.1rem; font-size: .75rem; font-weight: 600;
  letter-spacing: .07em; text-transform: uppercase;
  color: var(--muted); white-space: nowrap; cursor: default; }
.nav-sub-item > .nav-label > .nav-arrow { transform: rotate(-90deg); opacity: .55; }
.nav-sub-item:hover > .nav-label > .nav-arrow { transform: rotate(-90deg) !important; opacity: 1; }

.nav-dropdown {
  position: absolute; top: 100%; left: 50%;
  transform: translateX(-50%) translateY(-6px);
  min-width: 220px;
  background: rgba(7,12,8,.97); border: 1px solid var(--border);
  border-radius: 8px; padding: .5rem 0; padding-top: 1.3rem;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .18s, transform .18s, visibility .18s;
  backdrop-filter: blur(18px); z-index: 900;
}
.nav-item:hover > .nav-dropdown {
  opacity: 1; visibility: visible; pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
/* invisible bridge so mouse travel from link → dropdown stays within :hover */
.nav-item::before {
  content: ''; position: absolute; top: 100%; left: -20%; width: 140%; height: 1.3rem;
}
.nav-dropdown > a, .nav-sub-dropdown > a {
  display: flex; align-items: center; justify-content: space-between;
  padding: .55rem 1.1rem; font-size: .75rem; font-weight: 600;
  letter-spacing: .07em; text-transform: uppercase;
  color: var(--muted); white-space: nowrap;
  transition: color .18s, background .18s;
}
.nav-dropdown > a::after, .nav-sub-dropdown > a::after { display: none; }
.nav-dropdown > a:hover, .nav-sub-dropdown > a:hover { color: var(--gold); background: rgba(201,168,76,.06); }
.nav-dropdown > a.active, .nav-sub-dropdown > a.active { color: var(--gold); }

.nav-sub-item { position: relative; }
.nav-sub-item > a {
  display: flex; align-items: center; justify-content: space-between;
  padding: .55rem 1.1rem; font-size: .75rem; font-weight: 600;
  letter-spacing: .07em; text-transform: uppercase;
  color: var(--muted); white-space: nowrap;
  transition: color .18s, background .18s; cursor: default;
}
.nav-sub-item > a::after { display: none; }
.nav-sub-item:hover > a { color: var(--gold); background: rgba(201,168,76,.06); }
.nav-sub-dropdown {
  position: absolute; left: 100%; top: -.5rem; min-width: 200px;
  background: rgba(7,12,8,.97); border: 1px solid var(--border);
  border-radius: 8px; padding: .5rem 0; padding-left: 6px;
  opacity: 0; visibility: hidden; pointer-events: none;
  transform: translateX(-4px);
  transition: opacity .18s, transform .18s, visibility .18s;
  backdrop-filter: blur(18px); z-index: 901;
}
.nav-sub-item:hover > .nav-sub-dropdown {
  opacity: 1; visibility: visible; pointer-events: auto;
  transform: translateX(0);
}
/* 3rd-level sub-dropdowns (team menus inside RWK) open to the LEFT to avoid overflow */
.nav-sub-dropdown .nav-sub-item > .nav-sub-dropdown {
  left: auto; right: 100%;
  transform: translateX(4px);
  padding-left: 0; padding-right: 6px;
}
.nav-sub-dropdown .nav-sub-item:hover > .nav-sub-dropdown {
  transform: translateX(0);
}
/* bridge gap between sub-item and sub-dropdown */
.nav-sub-item::before {
  content: ''; position: absolute; left: 100%; top: 0; width: 10px; height: 100%;
}
/* bridge gap left-side for 3rd-level */
.nav-sub-dropdown .nav-sub-item::before {
  left: auto; right: 100%; width: 10px;
}

.nav-hamburger {
  display: none;
  flex-direction: column; gap: 5px; cursor: pointer;
}
.nav-hamburger span {
  display: block; width: 24px; height: 2px; background: var(--text);
  transition: background .25s;
}
.nav-hamburger:hover span { background: var(--gold); }

/* ─── PAGE HERO (sub-pages) ──────────────────────────────────────── */
.page-hero {
  position: relative; width: 100%; height: 38vh; min-height: 280px;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.page-hero .hero-bg-photo {
  position: absolute; inset: 0; z-index: 0;
  background: url('../img/Background.jpg') center 38% / cover no-repeat;
}
.page-hero .hero-bg {
  position: absolute; inset: 0; z-index: 1;
  background:
    radial-gradient(ellipse 80% 60% at 50% 50%, rgba(20,65,28,.35) 0%, transparent 70%),
    linear-gradient(160deg, rgba(6,13,7,0.72) 0%, rgba(10,21,16,0.68) 50%, rgba(6,13,7,0.72) 100%);
}
.page-hero-content {
  position: relative; z-index: 10;
  text-align: center; padding: 6rem 2rem 2rem;
}
.page-hero-wappen {
  width: 80px; height: auto; margin: 0 auto 1rem;
  filter: drop-shadow(0 8px 24px rgba(0,0,0,.7)) drop-shadow(0 0 16px rgba(201,168,76,.3));
}
.page-hero-title {
  font-family: 'Cinzel', sans-serif; font-weight: 700;
  font-size: clamp(2rem, 6vw, 3.8rem); letter-spacing: .02em;
  color: var(--text); margin-bottom: .5rem;
}
.page-hero-title em { color: var(--gold); font-style: normal; }
.breadcrumb {
  display: flex; align-items: center; justify-content: center; gap: .5rem;
  font-size: .75rem; letter-spacing: .15em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 1rem;
}
.breadcrumb a { color: var(--gold); transition: opacity .2s; }
.breadcrumb a:hover { opacity: .7; }

/* ─── HERO (index only) ──────────────────────────────────────────── */
.hero {
  position: relative; width: 100%; height: 100vh; min-height: 600px;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.hero-bg-photo {
  position: absolute; inset: 0; z-index: 0;
  background: url('../img/Background.jpg') center 38% / cover no-repeat;
}
.hero-bg {
  position: absolute; inset: 0; z-index: 1;
  background:
    radial-gradient(ellipse 80% 60% at 50% 50%, rgba(20,65,28,.35) 0%, transparent 70%),
    linear-gradient(160deg, rgba(6,13,7,0.58) 0%, rgba(10,21,16,0.52) 50%, rgba(6,13,7,0.58) 100%);
  overflow: hidden;
}
.hero-grid {
  position: absolute; inset: -20%; width: 140%; height: 140%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='52' height='60'%3E%3Cpath fill='none' stroke='rgba(201,168,76,0.07)' stroke-width='1' d='M26,0 L52,15 L52,45 L26,60 L0,45 L0,15 Z M26,30 L52,15 M26,30 L26,60 M26,30 L0,15'/%3E%3C/svg%3E");
  background-size: 52px 60px;
  transform-origin: center;
}
.hero-content {
  position: relative; z-index: 10;
  text-align: center; max-width: 800px; padding: 0 2rem;
}
.hero-wappen {
  width: clamp(280px, 38vw, 480px); height: auto;
  display: block; margin: 0 auto 1.8rem;
  filter: drop-shadow(0 16px 60px rgba(0,0,0,.80)) drop-shadow(0 0 36px rgba(201,168,76,.35));
  opacity: 0; transform: translateY(24px);
}
.hero-eyebrow {
  font-family: 'Cinzel', sans-serif; font-weight: 700;
  font-size: clamp(1.8rem, 5.5vw, 3.2rem); letter-spacing: .02em;
  color: var(--text); margin-bottom: 1rem; opacity: 0;
}
.hero-subtitle {
  font-size: clamp(1rem, 3vw, 1.4rem); font-weight: 300;
  color: var(--muted); margin-top: 1.2rem; opacity: 0;
}
.hero-cta-wrap {
  margin-top: 2.5rem; display: flex; gap: 1rem; justify-content: center;
  flex-wrap: wrap; opacity: 0;
}
.hero-scroll-hint {
  position: absolute; bottom: 2.5rem; left: 50%; transform: translateX(-50%);
  z-index: 10; display: flex; flex-direction: column; align-items: center; gap: .5rem;
  opacity: 0;
}
.hero-scroll-hint span {
  font-size: .7rem; letter-spacing: .25em; text-transform: uppercase; color: var(--muted);
}
.scroll-line {
  width: 1px; height: 50px; background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: .3; transform: scaleY(.6); transform-origin: top; }
  50%       { opacity: 1; transform: scaleY(1);   transform-origin: top; }
}

/* ─── BUTTONS ────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .85rem 2rem; border-radius: 4px;
  font-size: .9rem; font-weight: 600; letter-spacing: .05em;
  text-transform: uppercase; cursor: pointer;
  border: none; transition: all .25s;
}
.btn-gold {
  background: var(--gold); color: #080c12;
  box-shadow: 0 4px 24px rgba(201,168,76,.35);
}
.btn-gold:hover {
  background: var(--gold-lt);
  box-shadow: 0 6px 32px rgba(201,168,76,.5);
  transform: translateY(-2px);
}
.btn-outline {
  background: transparent; color: var(--text);
  border: 1px solid var(--border);
}
.btn-outline:hover {
  border-color: var(--gold); color: var(--gold);
  transform: translateY(-2px);
}
.btn-sm { padding: .55rem 1.4rem; font-size: .8rem; }

/* ─── PARALLAX WRAPPER ───────────────────────────────────────────── */
.parallax-section { position: relative; overflow: hidden; }
.parallax-bg-layer { position: absolute; inset: -20%; z-index: 0; will-change: transform; }

/* ─── STATS BAR ──────────────────────────────────────────────────── */
.stats-bar {
  position: relative; z-index: 10;
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.stats-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 2rem;
  display: grid; grid-template-columns: 1fr 1fr;
  align-items: stretch;
}

/* ── Announcements panel ────────────────────────────────── */
.stats-announce {
  padding: 1rem 2rem;
  border-left: 1px solid var(--border);
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  min-width: 0;
}
.stats-announce-label {
  font-size: .68rem; text-transform: uppercase; letter-spacing: .18em;
  color: var(--gold); margin-bottom: .5rem; align-self: flex-start;
}
.stats-announce-list {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: .35rem; width: 100%; max-width: 340px;
}
.stats-announce-list li {
  display: flex; align-items: baseline; gap: .5rem;
  font-size: .8rem; color: var(--text); line-height: 1.3;
}
.stats-announce-list .ann-date {
  font-size: .7rem; color: var(--gold); white-space: nowrap; flex: none;
}
.stats-announce-list .ann-dot {
  width: 6px; height: 6px; border-radius: 2px; flex: none; margin-top: 3px;
}
.stats-announce-empty {
  font-size: .8rem; color: var(--muted); font-style: italic;
}

/* ── Mini calendar inside stats bar ────────────────────── */
.stats-cal-wrap {
  padding: .7rem 2rem;
  display: flex; align-items: center; justify-content: center;
  min-width: 0;
}
.stats-cal { width: 100%; max-width: 280px; }
.scal-header {
  text-align: center;
  font-family: 'Cinzel', sans-serif; font-size: .72rem;
  text-transform: uppercase; letter-spacing: .12em;
  color: var(--gold); margin-bottom: .3rem;
}
.scal-grid {
  display: grid; grid-template-columns: repeat(7, 1fr); gap: 1px;
}
.scal-wd {
  font-size: .55rem; text-transform: uppercase; letter-spacing: .04em;
  color: var(--muted); text-align: center; padding-bottom: 2px;
}
.scal-day {
  display: flex; align-items: center; justify-content: center;
  height: 16px;
  font-size: .64rem; border-radius: 2px; color: var(--text);
  position: relative; cursor: default;
}
.scal-day.other-month { color: var(--muted); opacity: .25; }
.scal-day.today { outline: 1px solid var(--gold); color: var(--gold); font-weight: 700; }
.scal-day.weekend:not(.has-termin):not(.today) { color: var(--muted); }
.scal-day.training::before {
  content: ''; flex: none;
  width: 5px; height: 5px; border-radius: 50%;
  background: #4a9eff; margin-right: 2px;
}
.scal-day.has-termin { border-radius: 4px; }
.scal-legend {
  display: flex; gap: .4rem; flex-wrap: wrap;
  margin-top: .3rem; justify-content: center;
}
.scal-legend-item {
  display: flex; align-items: center; gap: .3rem;
  font-size: .58rem; text-transform: uppercase;
  letter-spacing: .07em; color: var(--muted);
}
.scal-legend-dot {
  width: 7px; height: 7px; border-radius: 2px; flex: none;
}

/* ─── SECTION COMMON ─────────────────────────────────────────────── */
section { position: relative; }
.section-wrap { max-width: 1200px; margin: 0 auto; padding: 7rem 2rem; }
.section-wrap--tight { padding-top: 4rem; padding-bottom: 4rem; }

.section-label {
  font-size: .9rem; letter-spacing: .35em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 1rem;
  display: flex; align-items: center; gap: .75rem;
}
.section-label::before {
  content: ''; flex: none; width: 30px; height: 1px; background: var(--gold);
}
.section-title {
  font-family: 'Cinzel', sans-serif; font-weight: 700;
  font-size: clamp(2.2rem, 6vw, 4.5rem);
  letter-spacing: .01em; line-height: 1.05;
  color: var(--text); margin-bottom: .5rem;
}
.section-title em { color: var(--gold); font-style: normal; }
.section-desc {
  color: var(--muted); font-size: 1rem; line-height: 1.7;
  max-width: 560px; margin-top: 1rem;
}

/* ─── RING DIVIDER ───────────────────────────────────────────────── */
.ring-divider {
  display: flex; align-items: center; justify-content: center;
  padding: 1.5rem 0; gap: 1.2rem;
}
.ring-divider::before,
.ring-divider::after {
  content: ''; flex: 1; height: 1px; background: var(--border);
}
.divider-wappen {
  width: 40px; height: 40px; flex: none;
  object-fit: contain;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,.55));
  opacity: .88;
}

/* ─── NEWS ───────────────────────────────────────────────────────── */
.news-section { background: var(--bg-2); }
.news-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem; margin-top: 3rem;
}
.news-card {
  display: block; text-decoration: none; color: inherit;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r);
  overflow: hidden;
  transform: translateY(50px); opacity: 0;
  transition: border-color .3s, box-shadow .3s;
  transform-style: preserve-3d;
  cursor: pointer;
}
.news-card:hover { border-color: var(--gold); box-shadow: var(--glow); }
.news-img { position: relative; height: 200px; overflow: hidden; }
.news-img-inner { position: absolute; inset: 0; background: #0d1117 center/cover no-repeat; transition: transform .5s ease; }
.news-card:hover .news-img-inner { transform: scale(1.06); }
.news-img-badge {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  background: var(--gold); color: #080c12;
  font-size: .7rem; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; padding: .25rem .65rem; border-radius: 3px;
}
.news-body { padding: 1.5rem; }
.news-meta {
  font-size: .75rem; color: var(--muted); margin-bottom: .6rem;
  display: flex; align-items: center; gap: .5rem;
}
.news-meta::before { content: ''; width: 4px; height: 4px; background: var(--gold); border-radius: 50%; flex: none; }
.news-card h3 { font-size: 1.1rem; font-weight: 600; line-height: 1.4; color: var(--text); margin-bottom: .75rem; }
.news-card p  { font-size: .88rem; color: var(--muted); line-height: 1.65; }
.news-read-more {
  display: inline-flex; align-items: center; gap: .4rem;
  font-size: .8rem; font-weight: 600; color: var(--gold);
  text-transform: uppercase; letter-spacing: .05em;
  margin-top: 1.2rem; transition: gap .2s;
}
.news-read-more:hover { gap: .7rem; }
.news-section-link {
  display: flex; justify-content: center; margin-top: 3rem;
}

/* ─── OVERVIEW CARDS (section landing pages) ─────────────────────── */
.overview-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem; margin-top: 3rem;
}
.overview-card {
  display: flex; flex-direction: column;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--r); padding: 2rem 2rem 1.75rem;
  text-decoration: none; color: inherit;
  transition: border-color .25s, transform .25s, box-shadow .25s;
}
.overview-card:hover {
  border-color: var(--gold); transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(0,0,0,.45);
}
.overview-card::after { display: none !important; }
.overview-card-icon {
  font-size: 2.2rem; margin-bottom: 1.1rem;
  width: 60px; height: 60px;
  border: 1.5px solid var(--border); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: border-color .25s, box-shadow .25s;
}
.overview-card:hover .overview-card-icon {
  border-color: var(--gold); box-shadow: 0 0 18px rgba(201,168,76,.28);
}
.overview-card-title {
  font-family: 'Cinzel', sans-serif; font-weight: 700;
  font-size: 1rem; letter-spacing: .05em; text-transform: uppercase;
  color: var(--text); margin-bottom: .6rem;
}
.overview-card-title::after { display: none !important; }
.overview-card-desc {
  font-size: .86rem; color: var(--muted); line-height: 1.65; flex: 1;
}
.overview-card-sub {
  margin-top: 1.1rem; display: flex; flex-wrap: wrap; gap: .5rem;
}
.overview-card-tag {
  font-size: .72rem; font-weight: 600; letter-spacing: .07em;
  text-transform: uppercase; color: var(--gold-lt, #e6c97a);
  border: 1px solid rgba(201,168,76,.35); border-radius: 4px;
  padding: .2rem .6rem; white-space: nowrap;
}

/* ─── DISCIPLINES ────────────────────────────────────────────────── */
.disciplines-section { background: var(--bg); overflow: hidden; }
.disciplines-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1px; margin-top: 3rem;
  border: 1px solid var(--border); border-radius: var(--r);
  overflow: hidden;
}
.disc-card {
  display: block; color: inherit;
  background: var(--bg-card);
  padding: 2.5rem 2rem; text-align: center;
  border-right: 1px solid var(--border);
  transition: background .3s;
  transform: translateY(30px); opacity: 0;
}
.disc-card:last-child { border-right: none; }
.disc-card:hover { background: var(--steel); }
.disc-icon {
  width: 64px; height: 64px; margin: 0 auto 1.2rem;
  border: 1.5px solid var(--border); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem; transition: border-color .3s, box-shadow .3s;
}
.disc-card:hover .disc-icon { border-color: var(--gold); box-shadow: 0 0 20px rgba(201,168,76,.3); }
.disc-name {
  font-family: 'Cinzel', sans-serif; font-weight: 700;
  font-size: 1.4rem; letter-spacing: .03em;
  color: var(--text); margin-bottom: .5rem;
}
.disc-desc { font-size: .82rem; color: var(--muted); line-height: 1.55; }

/* ─── GALLERY ────────────────────────────────────────────────────── */
.gallery-section { background: var(--bg-2); }
.gallery-filter { display: flex; gap: .75rem; flex-wrap: wrap; margin-top: 2rem; }
.filter-btn {
  padding: .45rem 1.25rem; border-radius: 999px;
  font-size: .8rem; font-weight: 600; letter-spacing: .07em;
  text-transform: uppercase; cursor: pointer;
  border: 1px solid var(--border); background: transparent; color: var(--muted);
  transition: all .25s;
}
.filter-btn:hover, .filter-btn.active {
  background: var(--gold); color: #080c12; border-color: var(--gold);
}
.gallery-masonry { column-count: 3; column-gap: 1rem; margin-top: 2rem; }
.gallery-item {
  break-inside: avoid; margin-bottom: 1rem; position: relative;
  border-radius: var(--r); overflow: hidden; cursor: pointer;
  opacity: 0; transform: scale(.95);
}
.gallery-item-inner { width: 100%; display: block; transition: transform .5s cubic-bezier(.25,.46,.45,.94); }
.gallery-item:hover .gallery-item-inner { transform: scale(1.05); }
.gallery-caption {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(8,12,18,.85) 0%, transparent 50%);
  display: flex; align-items: flex-end; padding: 1rem;
  opacity: 0; transition: opacity .3s;
}
.gallery-item:hover .gallery-caption { opacity: 1; }
.gallery-caption span { font-size: .82rem; font-weight: 500; color: var(--text); }
.gph { width: 100%; display: block; }

/* ─── GALLERY CARD GRID (index + main page teaser) ──────────────────────── */
.gal-index-grid,
.gal-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 2rem;
}
.gal-card {
  position: relative; border-radius: var(--r);
  overflow: hidden; display: block; text-decoration: none;
  height: 260px; cursor: pointer;
}
.gal-card-bg { position: absolute; inset: 0; }
.gal-slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0; transition: opacity 1s ease;
}
.gal-slide.active { opacity: 1; }
.gal-slide--empty { background: var(--bg-card); }
.gal-card-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(8,12,18,.85) 0%, rgba(8,12,18,.15) 60%, transparent 100%);
  z-index: 1;
}
.gal-card-body {
  position: absolute; bottom: 0; left: 0; right: 0;
  z-index: 2; padding: 1rem 1.1rem .9rem;
}
.gal-card-date {
  font-size: .72rem; color: var(--gold); letter-spacing: .07em;
  text-transform: uppercase; margin: 0 0 .2rem;
}
.gal-card-title {
  font-size: 1rem; font-weight: 700; color: var(--text);
  margin: 0 0 .3rem; line-height: 1.25;
}
.gal-card-desc {
  font-size: .78rem; color: var(--muted); margin: 0 0 .35rem;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden;
}
.gal-card-count {
  display: inline-block; font-size: .72rem; color: var(--muted);
  border: 1px solid var(--border); border-radius: 999px;
  padding: .15rem .6rem;
}

/* ─── GALLERY DETAIL PAGE ─────────────────────────────────────────────────── */
.gal-detail-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 1.5rem;
}
.gal-detail-item {
  display: block; text-decoration: none;
  border-radius: var(--r); overflow: hidden;
  border: 1px solid var(--border);
  transition: transform .25s, border-color .25s;
}
.gal-detail-item:hover { transform: scale(1.02); border-color: var(--gold); }
.gal-detail-img {
  width: 100%; height: 200px;
  background-size: cover; background-position: center;
}
.gal-detail-caption {
  padding: .65rem .8rem;
  display: flex; flex-direction: column; gap: .15rem;
}
.gal-detail-caption strong { font-size: .85rem; color: var(--text); }
.gal-detail-caption span  { font-size: .78rem; color: var(--muted); }

/* ─── ACHIEVEMENTS ───────────────────────────────────────────────── */
.achievements-section { background: var(--bg); overflow: hidden; }
.achievements-bg {
  position: absolute; inset: 0; z-index: 0;
  background: radial-gradient(ellipse 60% 80% at 80% 50%, rgba(20,65,28,.4), transparent);
}
.achievements-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.achievement-list { display: flex; flex-direction: column; gap: 1.5rem; margin-top: 2rem; }
.achievement-item {
  display: flex; align-items: center; gap: 1.5rem;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--r); padding: 1.2rem 1.5rem;
  transform: translateX(-40px); opacity: 0;
  transition: border-color .3s;
}
.achievement-item:hover { border-color: var(--gold); }
.achievement-medal { font-size: 2rem; flex: none; }
.achievement-item h4 { font-weight: 600; font-size: .95rem; color: var(--text); }
.achievement-item p  { font-size: .8rem; color: var(--muted); margin-top: .2rem; }
.achievement-year {
  margin-left: auto; font-family: 'Cinzel', sans-serif; font-weight: 700;
  font-size: 1.6rem; color: var(--gold); flex: none;
}
.achievements-visual { position: relative; text-align: center; transform: translateX(40px); opacity: 0; }
.big-target { position: relative; width: 320px; height: 320px; margin: 0 auto; }
.big-target svg { width: 100%; height: 100%; }

/* ─── TEAMS GRID ─────────────────────────────────────────────────── */
.teams-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.5rem; margin-top: 3rem;
}
.team-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--r); overflow: hidden;
  text-decoration: none; color: inherit; display: block;
  transition: border-color .3s, transform .3s, box-shadow .3s;
  transform: translateY(30px); opacity: 0;
}
.team-card:hover {
  border-color: var(--gold); transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,.4);
}
.team-img-placeholder {
  width: 100%; aspect-ratio: 4 / 3;
  background: url('/assets/img/rwk_temp.jpg') center/cover no-repeat;
  display: flex; align-items: center; justify-content: center;
  font-size: 3rem; color: transparent;
  border-bottom: 1px solid var(--border);
}
.team-card-body { padding: 1.25rem 1.5rem; }
.team-label {
  font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--muted); margin-bottom: .35rem;
}
.team-card-name {
  font-family: 'Cinzel', sans-serif; font-weight: 700;
  font-size: 1rem; color: var(--text); margin-bottom: .35rem; line-height: 1.3;
}
.team-league { font-size: .78rem; color: var(--muted); margin-bottom: .8rem; }
.team-season-info {
  display: inline-flex; align-items: center; gap: .4rem;
  background: rgba(201,168,76,.1); border: 1px solid rgba(201,168,76,.25);
  border-radius: 999px; padding: .28rem .7rem;
  font-size: .75rem; color: var(--gold); line-height: 1.4;
  min-height: 1.6rem;
}

/* ─── SAAL SUBSECTION ────────────────────────────────────────────── */
.saal-subsection { margin-top: 4.5rem; }
.subsection-title {
  font-family: 'Cinzel', sans-serif; font-size: 1.3rem; font-weight: 700;
  color: var(--text); letter-spacing: .06em;
  padding-bottom: .75rem; margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}
.saal-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1px; border: 1px solid var(--border); border-radius: var(--r); overflow: hidden;
  margin-top: 0;
}

/* ─── ABOUT ──────────────────────────────────────────────────────── */
.about-section { background: var(--bg-2); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.about-visual { position: relative; transform: translateX(-40px); opacity: 0; }
.about-img-mock {
  width: 100%; aspect-ratio: 4/3; border-radius: var(--r);
  background: url('/assets/img/chronik_title.jpg') center/cover no-repeat;
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 5rem; color: transparent;
  position: relative; overflow: hidden;
}
.about-img-mock::after {
  content: ''; position: absolute; top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: repeating-linear-gradient(
    45deg, transparent, transparent 20px,
    rgba(201,168,76,.025) 20px, rgba(201,168,76,.025) 21px
  );
}
.about-year-badge {
  position: absolute; bottom: -1rem; right: -1rem;
  background: var(--gold); color: #080c12;
  border-radius: var(--r); padding: 1.2rem 1.5rem; text-align: center;
  box-shadow: 0 8px 32px rgba(201,168,76,.4);
}
.about-year-badge .year { font-family: 'Cinzel', sans-serif; font-weight: 700; font-size: 2.8rem; line-height: 1; }
.about-year-badge .label { font-size: .7rem; text-transform: uppercase; letter-spacing: .1em; }
.about-text { transform: translateX(40px); opacity: 0; }
.about-text h2 { margin-bottom: 1.5rem; }
.about-text p  { color: var(--muted); line-height: 1.8; margin-bottom: 1.2rem; }

/* ─── TIMELINE ───────────────────────────────────────────────────── */
.timeline { margin-top: 2.5rem; display: flex; flex-direction: column; gap: 0; }
.tl-item { display: flex; gap: 1.5rem; padding-bottom: 1.8rem; position: relative; }
.tl-item::before {
  content: ''; position: absolute; left: 19px; top: 28px; bottom: 0;
  width: 1px; background: var(--border);
}
.tl-item:last-child::before { display: none; }
.tl-dot {
  flex: none; width: 40px; height: 40px;
  border: 1.5px solid var(--gold); border-radius: 50%;
  background: var(--bg-card);
  display: flex; align-items: center; justify-content: center;
  font-size: .75rem; font-weight: 700; color: var(--gold);
}
.tl-content h4 { font-size: .95rem; font-weight: 600; color: var(--text); }
.tl-content p  { font-size: .82rem; color: var(--muted); margin-top: .2rem; }

/* ─── TEAMS ──────────────────────────────────────────────────────── */
.teams-section { background: var(--bg); }
.teams-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem; margin-top: 3rem;
}
.team-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--r); overflow: hidden;
  transform: translateY(40px); opacity: 0;
  transition: border-color .3s, box-shadow .3s;
}
.team-card:hover { border-color: var(--gold); box-shadow: var(--glow); }
.team-card-header {
  background: linear-gradient(135deg, var(--steel), #091510);
  padding: 2rem; text-align: center; position: relative;
}
.team-icon { font-size: 3rem; margin-bottom: .75rem; }
.team-name {
  font-family: 'Cinzel', sans-serif; font-weight: 700;
  font-size: 1.4rem; letter-spacing: .03em; color: var(--text);
}
.team-league {
  font-size: .75rem; letter-spacing: .15em; text-transform: uppercase;
  color: var(--gold); margin-top: .3rem;
}
.team-card-body { padding: 1.5rem; }
.team-members { margin-top: 1rem; }
.team-member {
  display: flex; align-items: center; justify-content: space-between;
  padding: .6rem 0; border-bottom: 1px solid var(--border);
  font-size: .88rem;
}
.team-member:last-child { border-bottom: none; }
.team-member-name { color: var(--text); font-weight: 500; }
.team-member-role { color: var(--muted); font-size: .78rem; }

/* ─── CONTACT ────────────────────────────────────────────────────── */
.contact-section { background: var(--bg); }
.contact-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 3rem; margin-top: 3rem; align-items: start;
}
.contact-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--r); padding: 2rem;
  backdrop-filter: blur(12px);
  transform: translateY(30px); opacity: 0;
}
.contact-item {
  display: flex; align-items: flex-start; gap: 1rem;
  padding: 1.2rem 0; border-bottom: 1px solid var(--border);
}
.contact-item:last-child { border-bottom: none; }
.contact-item-icon {
  width: 44px; height: 44px; flex: none;
  background: rgba(201,168,76,.08);
  border: 1px solid var(--border); border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; color: var(--gold);
}
.contact-item-label {
  font-size: .72rem; text-transform: uppercase; letter-spacing: .12em;
  color: var(--muted); margin-bottom: .2rem;
}
.contact-item-value { font-size: .9rem; color: var(--text); }
.contact-map-mock {
  border-radius: var(--r); overflow: hidden;
  background: linear-gradient(135deg, var(--steel), #091510);
  border: 1px solid var(--border);
  height: 300px;
  display: flex; align-items: center; justify-content: center;
  font-size: .9rem; color: var(--muted); flex-direction: column; gap: 1rem;
  transform: translateY(30px); opacity: 0;
}
.contact-map-mock iframe {
  width: 100%; height: 100%; border: none; border-radius: var(--r);
}

/* ─── CONTACT FORM ───────────────────────────────────────────────── */
.contact-form { margin-top: 2rem; }
.form-group { margin-bottom: 1.25rem; }
.form-group label {
  display: block; font-size: .75rem; text-transform: uppercase;
  letter-spacing: .12em; color: var(--muted); margin-bottom: .4rem;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%; background: var(--bg); border: 1px solid var(--border);
  border-radius: 6px; padding: .75rem 1rem;
  color: var(--text); font-family: inherit; font-size: .9rem;
  transition: border-color .25s, box-shadow .25s;
  resize: vertical;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none; border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,168,76,.12);
}
.form-group textarea { min-height: 120px; }

/* ─── FOOTER ─────────────────────────────────────────────────────── */
footer {
  background: #060d07 url('../img/footer.jpg') center 30% / cover no-repeat;
  border-top: 1px solid var(--border);
  position: relative;
}
footer::before {
  content: ''; position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(to bottom,
    rgba(6,13,7,0.91) 0%, rgba(10,21,16,0.94) 55%, rgba(6,13,7,0.97) 100%);
}
.footer-inner, .footer-bottom { position: relative; z-index: 1; }
.footer-inner {
  max-width: 1200px; margin: 0 auto; padding: 3.5rem 2rem 2rem;
  display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 3rem;
}
.footer-brand .logo-text {
  font-family: 'Cinzel', sans-serif; font-weight: 700;
  font-size: 2rem; letter-spacing: .04em; color: var(--gold);
}
.footer-brand p { font-size: .85rem; color: var(--muted); line-height: 1.7; margin-top: .75rem; }
.footer-col h4 {
  font-size: .8rem; text-transform: uppercase; letter-spacing: .15em;
  color: var(--text); margin-bottom: 1rem;
}
.footer-col a {
  display: block; font-size: .85rem; color: var(--muted);
  padding: .3rem 0; transition: color .2s;
}
.footer-col a:hover { color: var(--gold); }
.footer-bottom {
  max-width: 1200px; margin: 0 auto; padding: 1.5rem 2rem;
  border-top: 1px solid var(--border);
  display: flex; justify-content: space-between; align-items: center;
  font-size: .78rem; color: var(--muted);
}
.footer-watermark {
  position: absolute; bottom: 0; right: 0; z-index: 1;
  width: 200px; height: 200px; opacity: .04; pointer-events: none;
}

/* ─── MOBILE NAV ─────────────────────────────────────────────────── */
.mobile-nav {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 850;
  width: min(320px, 88vw);
  background: rgba(6,11,7,.98); backdrop-filter: blur(20px);
  border-left: 1px solid var(--border);
  display: flex; flex-direction: column;
  padding: 4.5rem 0 2rem; overflow-y: auto;
  transform: translateX(100%); transition: transform .35s cubic-bezier(.7,0,.3,1);
}
.mobile-nav.open { transform: translateX(0); }
summary { list-style: none; }
summary::-webkit-details-marker { display: none; }
.mobile-nav > a.mobile-link,
.mobile-group > summary.mobile-link {
  font-family: 'Cinzel', sans-serif; font-weight: 700; font-size: .88rem;
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--text); padding: .85rem 1.6rem;
  border-bottom: 1px solid rgba(255,255,255,.05);
  display: flex; justify-content: space-between; align-items: center;
  cursor: pointer; transition: color .2s;
}
.mobile-nav > a.mobile-link:hover,
.mobile-group > summary.mobile-link:hover { color: var(--gold); }
.mobile-nav > a.mobile-link.active { color: var(--gold); }
.mobile-group[open] > summary.mobile-link { color: var(--gold); }
.mobile-group > summary.mobile-link::after { content: '›'; opacity: .5; transition: transform .2s, opacity .2s; }
.mobile-group[open] > summary.mobile-link::after { transform: rotate(90deg); opacity: 1; }
.mobile-sub {
  background: rgba(0,0,0,.18);
  border-bottom: 1px solid rgba(255,255,255,.05);
}
.mobile-sub > a.mobile-link,
.mobile-sub > .mobile-group > summary.mobile-link {
  font-family: inherit; font-weight: 500; font-size: .8rem;
  letter-spacing: .06em; text-transform: uppercase;
  color: var(--muted); padding: .7rem 1.6rem .7rem 2.4rem;
  border-bottom: 1px solid rgba(255,255,255,.03);
  display: flex; justify-content: space-between; align-items: center;
  cursor: pointer; transition: color .2s;
}
.mobile-sub > a.mobile-link:hover,
.mobile-sub > .mobile-group > summary.mobile-link:hover { color: var(--gold); }
.mobile-sub > a.mobile-link.active { color: var(--gold); }
.mobile-sub > .mobile-group[open] > summary.mobile-link { color: var(--gold); }
.mobile-sub .mobile-sub {
  background: rgba(0,0,0,.12);
}
.mobile-sub .mobile-sub > a.mobile-link { padding-left: 3.4rem; }
.mobile-nav-close {
  position: absolute; top: 1.2rem; right: 1.4rem;
  background: none; border: none; color: var(--muted);
  font-size: 1.3rem; cursor: pointer; transition: color .2s; line-height: 1;
}
.mobile-nav-close:hover { color: var(--gold); }

/* ─── IMPRESSUM / DATENSCHUTZ ────────────────────────────────────── */
.legal-section { background: var(--bg-2); }
.legal-content {
  max-width: 760px;
}
.legal-content h2 {
  font-family: 'Cinzel', sans-serif; font-weight: 700;
  font-size: 1.5rem; color: var(--gold); margin: 2.5rem 0 .75rem;
  letter-spacing: .02em;
}
.legal-content h2:first-child { margin-top: 0; }
.legal-content p, .legal-content li {
  color: var(--muted); line-height: 1.8; font-size: .95rem; margin-bottom: .75rem;
}
.legal-content a { color: var(--gold); }
.legal-content a:hover { text-decoration: underline; }

/* ─── RESPONSIVE ─────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .gallery-masonry { column-count: 2; }
  .gal-index-grid, .gal-cards-grid, .gal-detail-grid { grid-template-columns: repeat(2, 1fr); }
  .achievements-grid { grid-template-columns: 1fr; }
  .achievements-visual { display: none; }
  .about-grid { grid-template-columns: 1fr; }
  .about-visual { transform: translateY(-30px); }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .stats-inner { grid-template-columns: 1fr; }
  .stats-cal-wrap { padding: .6rem 2rem; border-bottom: 1px solid var(--border); }
  .stats-cal { max-width: 340px; }
  .stats-announce { border-left: none; padding: .8rem 2rem 1rem; }
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .gallery-masonry { column-count: 1; }
  .gal-index-grid, .gal-cards-grid, .gal-detail-grid { grid-template-columns: 1fr; }
  .news-grid { grid-template-columns: 1fr; }
  .disciplines-grid { grid-template-columns: repeat(2,1fr); }
  .saal-grid { grid-template-columns: repeat(2,1fr); }
  .teams-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
}
@media (max-width: 480px) {
  .stats-inner { grid-template-columns: 1fr; }
  .disciplines-grid { grid-template-columns: 1fr; }
  .saal-grid { grid-template-columns: 1fr; }
  .teams-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
}

/* ═══════════════════════════════════════════════════════════
   ARTICLE PAGES  (aktuelles/, sportliches/, …)
   ═══════════════════════════════════════════════════════════ */

/* ─── Article page hero ──────────────────────────────────── */
.article-page-hero {
  position: relative;
  padding: 9rem 2rem 4rem;
  background: var(--bg);
  overflow: hidden;
}
.article-page-hero::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(6,13,7,.55) 0%, rgba(6,13,7,1) 100%);
  pointer-events: none;
}
.article-page-hero .hero-bg-photo {
  position: absolute; inset: 0;
  background: url('../img/Background.jpg') center/cover no-repeat;
  opacity: .18;
}
.article-page-hero-inner {
  position: relative; z-index: 2;
  max-width: 1100px; margin: 0 auto;
}
.article-tag-badge {
  display: inline-block;
  background: var(--gold); color: #080c12;
  font-size: .7rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; padding: .3rem .75rem;
  border-radius: 3px; margin-bottom: 1.2rem;
}
.article-page-title {
  font-family: 'Cinzel', serif;
  font-size: clamp(1.8rem, 4.5vw, 3rem);
  font-weight: 700; line-height: 1.2;
  color: var(--text); margin-bottom: 1rem;
}
.article-page-meta {
  display: flex; align-items: center; gap: 1rem;
  font-size: .82rem; color: var(--muted);
  flex-wrap: wrap;
}
.article-page-meta .sep { opacity: .35; }

/* ─── Article layout ─────────────────────────────────────── */
.article-layout {
  max-width: 1100px; margin: 0 auto;
  padding: 3.5rem 2rem 5rem;
}

/* ─── Article featured image ─────────────────────────────── */
.article-featured-img {
  width: 100%; border-radius: var(--r);
  overflow: hidden; margin-bottom: 2.5rem;
  border: 1px solid var(--border);
}
.article-featured-img img {
  width: 100%; height: auto; display: block;
}
.article-featured-placeholder {
  width: 100%; height: 360px;
  display: flex; align-items: center; justify-content: center;
  font-size: 5rem;
  border-radius: var(--r);
  overflow: hidden; margin-bottom: 2.5rem;
  border: 1px solid var(--border);
}
/* In hero: sits between title and meta */
.article-page-hero-inner .article-featured-placeholder {
  margin: 1.5rem 0;
}

/* ─── Article body prose ─────────────────────────────────── */
.article-body { color: var(--text); line-height: 1.85; font-size: 1.02rem; }
.article-body p  { margin-bottom: 1.4rem; color: #c8d4c9; }
.article-body h2 {
  font-family: 'Cinzel', serif; font-weight: 700;
  font-size: 1.45rem; color: var(--text);
  margin: 2.5rem 0 1rem; padding-bottom: .5rem;
  border-bottom: 1px solid var(--border);
}
.article-body h3 {
  font-family: 'Cinzel', serif; font-weight: 600;
  font-size: 1.15rem; color: var(--gold-lt);
  margin: 2rem 0 .75rem;
}
.article-body ul, .article-body ol {
  padding-left: 1.5rem; margin-bottom: 1.4rem; color: #c8d4c9;
}
.article-body li { margin-bottom: .45rem; }
.article-body strong { color: var(--text); font-weight: 600; }
.article-body em { color: var(--gold-lt); font-style: italic; }
.article-body blockquote {
  border-left: 3px solid var(--gold);
  padding: 1rem 1.5rem;
  margin: 2rem 0;
  background: var(--bg-card);
  border-radius: 0 var(--r) var(--r) 0;
  font-style: italic; color: var(--gold-lt);
}
.article-body a { color: var(--gold); text-decoration: underline; }
.article-body a:hover { color: var(--gold-lt); }

/* ─── Article result table (for competition results) ────── */
.result-table {
  width: 100%; border-collapse: collapse;
  margin: 1.5rem 0 2rem; font-size: .9rem;
}
.result-table th {
  background: var(--steel); color: var(--gold);
  font-family: 'Cinzel', serif; font-weight: 700;
  font-size: .75rem; letter-spacing: .06em;
  text-transform: uppercase; padding: .8rem 1rem;
  text-align: left; border-bottom: 1px solid var(--border);
}
.result-table td {
  padding: .75rem 1rem; color: #c8d4c9;
  border-bottom: 1px solid rgba(255,255,255,.05);
}
.result-table tr:hover td { background: var(--bg-card); }
.result-table .rank-gold   { color: #ffd700; font-weight: 700; }
.result-table .rank-silver { color: #c0c0c0; font-weight: 700; }
.result-table .rank-bronze { color: #cd7f32; font-weight: 700; }
.result-table tr.rank-1 td { background: rgba(255,215,0, .07); }
.result-table tr.rank-1 td:first-child { border-left: 3px solid rgba(255,215,0, .45); }
.result-table tr.rank-2 td { background: rgba(192,192,192, .05); }
.result-table tr.rank-2 td:first-child { border-left: 3px solid rgba(192,192,192, .35); }
.result-table tr.rank-3 td { background: rgba(205,127,50, .05); }
.result-table tr.rank-3 td:first-child { border-left: 3px solid rgba(205,127,50, .35); }

/* ─── Back link ──────────────────────────────────────────── */
.article-back {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .82rem; font-weight: 600; color: var(--muted);
  text-transform: uppercase; letter-spacing: .06em;
  margin-bottom: 2rem; transition: color .2s, gap .2s;
}
.article-back:hover { color: var(--gold); gap: .8rem; }
.article-back::before { content: '←'; }
/* In hero: block-level so tag badge sits below it on its own line */
.article-page-hero-inner .article-back { display: flex; margin-bottom: 1rem; }

/* ─── Article footer divider & share row ─────────────────── */
.article-footer-row {
  margin-top: 3rem; padding-top: 2rem;
  border-top: 1px solid var(--border);
  display: flex; align-items: center;
  justify-content: space-between; flex-wrap: wrap; gap: 1rem;
}
.article-category-link {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .82rem; font-weight: 600; color: var(--gold);
  text-transform: uppercase; letter-spacing: .06em;
  transition: gap .2s;
}
.article-category-link:hover { gap: .8rem; }
.article-category-link::after { content: '→'; }

/* ─── News card empty state ──────────────────────────────── */
.news-empty {
  text-align: center; padding: 4rem 2rem;
  color: var(--muted); font-size: .95rem;
  grid-column: 1 / -1;
}

/* ══════════════════════════════════════════════════════════
   SEASON PAGE  (sport/rwk/saison-YYYY.html)
   ══════════════════════════════════════════════════════════ */

/* ─── Team KPI strip ────────────────────────────────────── */
.stat-strip {
  display: flex; flex-wrap: wrap; gap: 1px;
  background: var(--border);
  border: 1px solid var(--border); border-radius: var(--r);
  overflow: hidden; margin-bottom: 3rem;
}
.stat-strip-item {
  flex: 1 1 140px; background: var(--bg-card);
  padding: 1.4rem 1.5rem; display: flex;
  flex-direction: column; gap: .3rem;
}
.stat-strip-value {
  font-family: 'Cinzel', serif; font-size: 1.7rem;
  font-weight: 700; color: var(--text); line-height: 1;
}
.stat-strip-value.gold { color: var(--gold); }
.stat-strip-label {
  font-size: .72rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: .08em; color: var(--muted);
}
.stat-strip-sub {
  font-size: .7rem; color: var(--muted); margin-top: .1rem;
}

/* ─── Trend badge ────────────────────────────────────────── */
.trend-badge {
  display: inline-flex; align-items: center; gap: .25rem;
  font-size: .7rem; font-weight: 700; padding: .15rem .5rem;
  border-radius: 3px; letter-spacing: .04em;
}
.trend-badge.up   { background: rgba(106,191,105,.15); color: #6abf69; }
.trend-badge.down { background: rgba(220, 80, 60,.15); color: #f87171; }
.trend-badge.flat { background: rgba(136,153,166,.12); color: #8899a6; }

/* ─── Shooter career card ────────────────────────────────── */
.shooter-career-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--r); padding: 1.25rem 1.5rem;
  display: flex; flex-wrap: wrap;
  align-items: center; gap: 1rem 2rem;
  position: relative; overflow: hidden;
  transition: border-color .25s;
}
.shooter-career-card::before {
  content: ''; position: absolute; top: 0; left: 0;
  width: 3px; height: 100%; background: var(--border);
  transition: background .25s;
}
.shooter-career-card:hover { border-color: var(--gold); }
.shooter-career-card:hover::before { background: var(--gold); }

/* clickable card wrapper */
.shooter-career-link, .shooter-stat-card-link { display: block; color: inherit; text-decoration: none; }
.shooter-career-link:hover .shooter-career-card,
.shooter-stat-card-link:hover .shooter-stat-card { border-color: var(--gold); }
.shooter-career-link:hover .shooter-career-card::before,
.shooter-stat-card-link:hover .shooter-stat-card::before { background: var(--gold); }
.shooter-career-name {
  font-size: .95rem; font-weight: 700; color: var(--text);
  min-width: 160px; flex: 0 0 160px;
}
.shooter-career-stats {
  display: flex; flex-wrap: wrap; gap: .5rem 1.75rem; flex: 1;
}
.shooter-career-stat { display: flex; flex-direction: column; gap: .1rem; }
.shooter-career-stat .lbl { font-size: .67rem; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); }
.shooter-career-stat .val { font-size: .9rem; font-weight: 600; color: var(--text); }
.shooter-career-stat .val.gold { color: var(--gold); }
.shooter-career-card .trend-badge { margin-left: auto; align-self: center; }
.shooter-past-row {
  display: flex; flex-wrap: wrap; gap: .4rem .6rem;
  padding: .5rem 0; margin-top: .25rem;
}
.shooter-past-chip {
  font-size: .75rem; color: var(--muted); opacity: .6;
  background: var(--bg-2); border: 1px solid var(--border);
  border-radius: 3px; padding: .15rem .55rem;
  cursor: default; transition: opacity .2s;
}
.shooter-past-chip:hover { opacity: 1; }
.shooter-past-avg { color: var(--gold); font-weight: 700; }
.shooter-past-best { color: var(--muted); font-weight: 400; }
.shooter-past-best::before { content: '· '; }

/* ─── Season hero badge ─────────────────────────────────── */
.season-badge {
  display: inline-flex; align-items: center; gap: .5rem;
  background: rgba(201,168,76,.12); border: 1px solid rgba(201,168,76,.35);
  color: var(--gold); font-size: .72rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  padding: .35rem .9rem; border-radius: 3px; margin-bottom: 1.2rem;
}

/* ─── Section navigation (Saisons list) ─────────────────── */
.season-nav {
  display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: 2.5rem;
}
.season-nav-btn {
  padding: .45rem 1.1rem; border-radius: 3px;
  font-size: .78rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: .06em; cursor: pointer;
  border: 1px solid var(--border); background: var(--bg-card);
  color: var(--muted); transition: border-color .2s, color .2s, background .2s;
  text-decoration: none;
}
.season-nav-btn:hover,
.season-nav-btn.active {
  border-color: var(--gold); color: var(--gold); background: rgba(201,168,76,.08);
}

/* ─── Shooter statistics ─────────────────────────────────── */
.shooter-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .75rem; margin-bottom: 3rem;
}
.shooter-stat-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--r); padding: .9rem 1.1rem;
  transition: border-color .25s, transform .25s;
  position: relative; overflow: hidden;
}
.shooter-stat-card::before {
  content: ''; position: absolute; top: 0; left: 0;
  width: 3px; height: 100%; background: var(--border);
  transition: background .25s;
}
.shooter-stat-card:hover { border-color: var(--gold); transform: translateY(-3px); }
.shooter-stat-card:hover::before { background: var(--gold); }
.shooter-stat-name {
  font-size: .8rem; font-weight: 700; color: var(--text);
  margin-bottom: .55rem; padding-left: .4rem;
}
.shooter-stat-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: .15rem .4rem; font-size: .74rem;
}
.shooter-stat-row .lbl { color: var(--muted); }
.shooter-stat-row .val { color: var(--text); font-weight: 600; }
.shooter-stat-row .val.highlight { color: var(--gold); }
.shooter-rounds {
  display: flex; flex-wrap: wrap; gap: .25rem;
  padding: .4rem .4rem 0; margin-top: .35rem;
}
.shooter-round-pip {
  font-size: .68rem; font-weight: 600;
  background: var(--bg-2); border: 1px solid var(--border);
  color: var(--text); padding: .15rem .38rem; border-radius: 3px;
  min-width: 2.4rem; text-align: center;
}
.shooter-round-pip.best { border-color: var(--gold); color: var(--gold); }
.shooter-round-pip.absent { opacity: .35; }
/* thrown-away shooters – still counted in career stats but excluded from team score */
.shooter-round-pip.discard { text-decoration: line-through; opacity: .6; }
@media (max-width: 900px) {
  .shooter-stats-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .shooter-stats-grid { grid-template-columns: 1fr; }
}

/* ─── Season table wrapper ───────────────────────────────── */
.season-table-wrap {
  overflow-x: auto; margin-bottom: 3rem;
  border-radius: var(--r); border: 1px solid var(--border);
}
.season-table-wrap .result-table { margin: 0; }
.season-table-wrap .result-table tr.own-team td {
  background: rgba(201,168,76,.07);
}
.season-table-wrap .result-table tr.own-team td:first-child {
  border-left: 3px solid var(--gold);
}

/* ─── Match result cards ─────────────────────────────────── */
.match-round-header {
  display: flex; align-items: center; gap: 1rem;
  margin: 2.5rem 0 1rem;
}
.match-round-header h3 {
  font-family: 'Cinzel', serif; font-size: 1rem;
  font-weight: 700; color: var(--text); margin: 0;
}
.match-round-date {
  font-size: .78rem; color: var(--muted);
  background: var(--bg-card); border: 1px solid var(--border);
  padding: .2rem .65rem; border-radius: 3px;
}
.match-cards {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.match-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--r); overflow: hidden;
  transition: border-color .25s;
}
.match-card.own { border-color: rgba(201,168,76,.4); }
.match-card.own.won  { border-color: rgba(106,191,105,.5); border-left: 3px solid rgba(106,191,105,.65); }
.match-card.own.lost { border-color: rgba(248,113,113,.4); border-left: 3px solid rgba(248,113,113,.55); }
.match-card.own.draw { border-color: rgba(136,153,166,.4); }
.match-card:hover { border-color: var(--gold); }
.match-card-header {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center; gap: .75rem;
  padding: 1rem 1.25rem .75rem;
  border-bottom: 1px solid var(--border);
}
.match-team {
  font-size: .82rem; font-weight: 600; color: var(--text);
  line-height: 1.3;
  display: flex; align-items: center; gap: 8px;
}
.match-team.right { justify-content: flex-end; text-align: right; }
.match-team.own-team { color: var(--gold); }
.match-score {
  display: flex; flex-direction: column; align-items: center; gap: 2px;
}
.match-score-mp {
  font-family: 'Cinzel', serif; font-size: 1.1rem;
  font-weight: 700; color: var(--text);
  white-space: nowrap;
}
.match-score-rings {
  font-size: .72rem; color: var(--muted); white-space: nowrap;
}
.match-card-body { padding: .6rem 1.25rem 1rem; }
.match-individual {
  width: 100%; border-collapse: collapse; font-size: .78rem;
}
.match-individual tr { border-bottom: 1px solid rgba(255,255,255,.04); }
.match-individual tr:last-child { border-bottom: none; }
.match-individual td {
  padding: .32rem .25rem; color: var(--muted);
  vertical-align: middle;
}
.match-individual td.name { color: var(--text); font-weight: 500; }
.match-individual td.name.own { color: var(--gold-lt); }
.match-individual td.rings { font-weight: 600; color: var(--text); }
.match-individual td.sep { color: var(--border); text-align: center; padding: 0 .15rem; }
.match-individual td.rings-gast { color: var(--muted); font-weight: 500; }

/* ─── Season charts ─────────────────────────────────────── */
.season-charts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 1.5rem; margin-top: 1.5rem;
}
.season-chart-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--r); padding: 1.5rem 1.75rem 1.25rem;
}
.season-chart-title {
  font-size: .8rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .08em; color: var(--muted); margin: 0 0 1.25rem;
}

/* ─── Season loading / error state ──────────────────────── */
.season-loading {
  text-align: center; padding: 5rem 2rem;
  color: var(--muted); font-size: .95rem;
}
.season-error {
  background: rgba(220,38,38,.08); border: 1px solid rgba(220,38,38,.25);
  border-radius: var(--r); padding: 1.5rem 2rem;
  color: #f87171; font-size: .9rem;
}

/* ─── Responsive overrides for article pages ─────────────── */
@media (max-width: 640px) {
  .article-featured-placeholder { height: 200px; font-size: 3rem; }
  .article-layout { padding: 2.5rem 1.25rem 4rem; }
  .article-page-hero { padding: 8rem 1.25rem 3rem; }
}

/* ─── Ignored shooter ──────────────────────────────────── */
.match-individual tr.ignored td,
.match-individual td.ignored {
  text-decoration: line-through;
  opacity: 0.45;
}

/* ─── Results round (no head-to-head) ────────────────────── */
.results-list {
  display: flex;
  flex-direction: column;
  gap: .4rem;
  margin: .75rem 0 1.5rem;
}
.results-list-item {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .55rem 1rem;
  background: var(--bg-2, #111a25);
  border: 1px solid var(--border, rgba(255,255,255,.07));
  border-radius: 6px;
  font-size: .9rem;
}
.results-list-item.own {
  border-color: var(--gold, #c9a84c);
  background: rgba(201,168,76,.06);
}
.results-list-item.rank-1 { border-color: rgba(255,215,0,.5);  background: rgba(255,215,0,.06);  border-left: 3px solid rgba(255,215,0,.5); }
.results-list-item.rank-2 { border-color: rgba(192,192,192,.4); background: rgba(192,192,192,.04); border-left: 3px solid rgba(192,192,192,.4); }
.results-list-item.rank-3 { border-color: rgba(205,127,50,.4);  background: rgba(205,127,50,.04);  border-left: 3px solid rgba(205,127,50,.4); }
.results-rank {
  width: 1.5rem;
  text-align: right;
  color: var(--muted, #8899a6);
  font-variant-numeric: tabular-nums;
  flex-shrink: 0;
}
.results-team { flex: 1; }
.results-rings {
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: var(--text, #e8edf0);
}
.results-individual {
  margin: .4rem 1rem .6rem 3.25rem;
  font-size: .82rem;
  color: var(--muted, #8899a6);
}
.results-individual table { border-collapse: collapse; width: 100%; }
.results-individual td { padding: .15rem .5rem; }
.results-individual td.ignored { text-decoration: line-through; opacity: .45; }
.results-individual td.discard { text-decoration: line-through; opacity: .6; }
.match-individual td.discard,
.match-individual tr.discard td { text-decoration: line-through; opacity: .6; }

/* shooter overview hero: make last name gold */
.hero-lastname { color: var(--gold); }

/* ─── Club crests ─────────────────────────────────────────── */
.club-crest {
  width: 32px;
  height: 32px;
  object-fit: contain;
  vertical-align: middle;
  flex-shrink: 0;
}
.result-table .club-crest { width: 22px; height: 22px; }
.result-table td:has(.club-crest) { display: flex; align-items: center; gap: 8px; }
