/* =============================================
   ROT-GELB WESSELING 1992 e.V.
   Main Stylesheet — v1.0
   Design: Anthrazit / Rot / Amber
   ============================================= */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --bg:      #111111;
  --bg2:     #1c1c1c;
  --bg3:     #262626;
  --red:     #c0160c;
  --red2:    #a01009;
  --amber:   #d4a843;
  --amber2:  #f0c050;
  --light:   #f5f3ef;
  --light2:  #e8e4dc;
  --muted:   #8a8680;
  --text:    #1a1a1a;
  --border:  #2e2e2e;
  --borderl: #e0ddd8;
}

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--light);
  color: var(--text);
  line-height: 1.5;
}

img { max-width: 100%; height: auto; }
a { text-decoration: none; }

/* ---- STRIPE ---- */
.rgw-stripe {
  height: 4px;
  background: linear-gradient(90deg, var(--red) 55%, var(--amber) 55%);
}

/* ---- NAVIGATION ---- */
.rgw-nav {
  background: var(--bg);
  height: 64px;
  display: flex;
  align-items: center;
  padding: 0 max(1.5rem, calc((100vw - 1400px) / 2 + 1.5rem));
  gap: 1rem;
  position: sticky;
  top: 0;
  z-index: 200;
  border-bottom: 1px solid var(--border);
}

.rgw-nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.rgw-nav-logo img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--amber);
}

.rgw-nav-logo-name {
  font-family: 'Bebas Neue', cursive;
  font-size: 1.1rem;
  color: #fff;
  letter-spacing: 1px;
  line-height: 1.1;
}

.rgw-nav-logo-sub {
  font-size: 9px;
  color: var(--amber);
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* WordPress nav menu */
/* Nav styles moved to header.php */
/* Dropdown */


/* Hamburger */
.rgw-nav-menu-btn {
  display: none;
  align-items: center;
  justify-content: center;
  margin-left: auto;
  background: rgba(255,255,255,.08);
  border: .5px solid rgba(255,255,255,.15);
  border-radius: 6px;
  width: 38px;
  height: 38px;
  cursor: pointer;
  flex-shrink: 0;
}

.rgw-nav-menu-btn span {
  display: block;
  width: 18px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  position: relative;
}

.rgw-nav-menu-btn span::before,
.rgw-nav-menu-btn span::after {
  content: '';
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
}

.rgw-nav-menu-btn span::before { top: -5px; }
.rgw-nav-menu-btn span::after  { top: 5px; }

/* Mobile menu */
.rgw-mobile-menu {
  display: none;
  position: fixed;
  inset: 64px 0 0 0;
  background: var(--bg2);
  z-index: 150;
  padding: 1rem 1.5rem;
  overflow-y: auto;
  border-top: 2px solid var(--red);
}

.rgw-mobile-menu.open { display: block; }

.rgw-mobile-menu ul { list-style: none; padding: 0; margin: 0; }

.rgw-mobile-menu ul li a {
  display: block;
  padding: 13px 0;
  font-size: 15px;
  font-weight: 600;
  color: rgba(255,255,255,.75);
  text-decoration: none;
  border-bottom: .5px solid var(--border);
}

.rgw-mobile-menu ul li a:hover { color: #fff; }
.rgw-mobile-menu ul li.menu-item-altherren > a { color: var(--amber); }

.rgw-mobile-menu ul ul {
  padding-left: 1rem;
}

.rgw-mobile-menu ul ul li a {
  font-size: 13px;
  color: rgba(255,255,255,.5);
  padding: 8px 0;
}

/* ---- HERO ---- */
.rgw-hero {
  background: var(--bg);
  padding: 4.5rem max(2rem, calc((100vw - 1400px) / 2 + 2rem));
  position: relative;
  overflow: hidden;
}

.rgw-hero-deco1 {
  position: absolute; top: -70px; right: -70px;
  width: 320px; height: 320px; border-radius: 50%;
  border: 50px solid rgba(192,22,12,.07);
  pointer-events: none;
}

.rgw-hero-deco2 {
  position: absolute; bottom: -50px; left: 25%;
  width: 200px; height: 200px; border-radius: 50%;
  border: 32px solid rgba(212,168,67,.06);
  pointer-events: none;
}

.rgw-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 960px;
  display: flex;
  align-items: center;
  gap: 3.5rem;
}

.rgw-hero-text { flex: 1; }

.rgw-hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 1.1rem;
}

.rgw-badge {
  background: var(--red);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  padding: 3px 9px;
  border-radius: 2px;
  text-transform: uppercase;
}

.rgw-season {
  font-size: 11px;
  color: rgba(255,255,255,.35);
  letter-spacing: 1px;
}

.rgw-hero h1 {
  font-family: 'Bebas Neue', cursive;
  font-size: clamp(2.8rem, 6vw, 4.8rem);
  line-height: .92;
  letter-spacing: 2px;
  color: #fff;
  margin-bottom: 1.3rem;
}

.rgw-hero h1 em   { color: var(--amber); font-style: normal; }
.rgw-hero h1 span { color: rgba(255,255,255,.2); }

.rgw-hero-sub {
  font-size: 14px;
  color: rgba(255,255,255,.5);
  max-width: 400px;
  line-height: 1.7;
  margin-bottom: 1.8rem;
}

/* Hero logo ring */
.rgw-hero-logo-wrap {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.rgw-hero-logo-ring {
  width: 230px;
  height: 230px;
  border-radius: 50%;
  border: 3px solid rgba(212,168,67,.25);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow: 0 0 60px rgba(192,22,12,.15), 0 0 120px rgba(192,22,12,.07);
}

.rgw-hero-logo-ring::before {
  content: '';
  position: absolute;
  inset: -14px;
  border-radius: 50%;
  border: 1.5px dashed rgba(212,168,67,.2);
  animation: rgw-spin 30s linear infinite;
}

.rgw-hero-logo-ring::after {
  content: '';
  position: absolute;
  inset: -7px;
  border-radius: 50%;
  border: 1px solid rgba(212,168,67,.1);
}

@keyframes rgw-spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

.rgw-hero-logo-img {
  width: 190px;
  height: 190px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid rgba(212,168,67,.4);
  position: relative;
  z-index: 1;
}

/* ---- STATS BAR ---- */
.rgw-stats {
  background: var(--red);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.rgw-stat {
  padding: 1.1rem 1rem;
  text-align: center;
  border-right: 1px solid rgba(0,0,0,.15);
}

.rgw-stat:last-child { border-right: none; }

.rgw-stat-num {
  font-family: 'Bebas Neue', cursive;
  font-size: 1.9rem;
  color: #fff;
  line-height: 1;
}

.rgw-stat-label {
  font-size: 10px;
  font-weight: 700;
  color: rgba(255,255,255,.55);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-top: 2px;
}

/* ---- BUTTONS ---- */
.rgw-btn-red {
  background: var(--red);
  color: #fff;
  border: none;
  padding: 11px 20px;
  font-size: 13px;
  font-weight: 700;
  border-radius: 5px;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: background .2s;
}

.rgw-btn-red:hover { background: var(--red2); color: #fff; }

.rgw-btn-ghost {
  background: transparent;
  color: rgba(255,255,255,.75);
  border: 1.5px solid rgba(255,255,255,.18);
  padding: 11px 20px;
  font-size: 13px;
  font-weight: 600;
  border-radius: 5px;
  text-decoration: none;
  display: inline-block;
}

.rgw-btn-outline {
  background: transparent;
  color: var(--red);
  border: 1.5px solid var(--red);
  padding: 9px 18px;
  font-size: 13px;
  font-weight: 600;
  border-radius: 5px;
  text-decoration: none;
  display: inline-block;
  transition: all .2s;
}

.rgw-btn-outline:hover { background: var(--red); color: #fff; }

.rgw-btns { display: flex; gap: 10px; flex-wrap: wrap; }

/* ---- SECTIONS ---- */
.rgw-section {
  padding: 2.5rem max(1.5rem, calc((100vw - 1400px) / 2 + 1.5rem));
}

.rgw-section.light  { background: var(--light); }
.rgw-section.white  { background: #fff; }
.rgw-section.dark   { background: var(--bg2); }

.rgw-section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
  gap: .5rem;
}

.rgw-section-title {
  font-family: 'Bebas Neue', cursive;
  font-size: 1.6rem;
  letter-spacing: 1px;
  color: var(--text);
}

.rgw-section-title.white { color: #fff; }
.rgw-section-link { font-size: 12px; font-weight: 700; color: var(--red); text-decoration: none; }
.rgw-section-link.amber { color: var(--amber); }

/* ---- PAGE HEADER ---- */
.page-header {
  background: var(--bg);
  padding: 3rem max(1.5rem, calc((100vw - 1400px) / 2 + 1.5rem)) 2.5rem;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute; top: -50px; right: -50px;
  width: 280px; height: 280px; border-radius: 50%;
  border: 45px solid rgba(192,22,12,.07);
  pointer-events: none;
}

.page-header-inner { position: relative; z-index: 1; }

.breadcrumb { font-size: 11px; color: rgba(255,255,255,.35); margin-bottom: .6rem; }
.breadcrumb a { color: rgba(255,255,255,.35); text-decoration: none; }
.breadcrumb a:hover { color: rgba(255,255,255,.6); }
.breadcrumb span { color: var(--amber); }

.page-header h1 {
  font-family: 'Bebas Neue', cursive;
  font-size: clamp(2rem, 5vw, 2.8rem);
  letter-spacing: 2px;
  color: #fff;
  line-height: 1;
  margin-bottom: .5rem;
}

.page-header-meta {
  display: flex;
  align-items: center;
  gap: .75rem;
  flex-wrap: wrap;
  margin-top: .75rem;
}

.meta-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(255,255,255,.07);
  color: rgba(255,255,255,.6);
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 20px;
  border: .5px solid rgba(255,255,255,.1);
}

.meta-pill.red { background: rgba(192,22,12,.2); color: #ff8a84; border-color: rgba(192,22,12,.3); }

/* ---- NEWS ---- */
.rgw-news-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 1.1rem;
}

.rgw-news-card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  border: .5px solid var(--borderl);
  text-decoration: none;
  display: block;
  transition: transform .15s;
}

.rgw-news-card:hover { transform: translateY(-3px); }

.rgw-news-thumb {
  height: 200px;
  background: var(--bg2);
  position: relative;
  overflow: hidden;
  display: block;
}

.rgw-news-thumb.main { height: 265px; }

/* Beitragsbild — füllt den gesamten Thumb-Bereich */
.rgw-news-thumb img,
.rgw-news-thumb > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

/* WordPress generiert ein <img> direkt — kein umschließendes div */
.rgw-news-thumb .wp-post-image {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
  object-position: center top;
}

.rgw-news-thumb-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.75) 0%, transparent 55%);
}

.rgw-news-tag {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  z-index: 1;
  background: var(--red);
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.5px;
  padding: 3px 9px;
  border-radius: 2px;
  text-transform: uppercase;
}

.rgw-news-tag.amber { background: var(--amber); color: var(--bg); }

.rgw-news-body { padding: 1rem 1.1rem; }
.rgw-news-date { font-size: 10px; color: var(--muted); font-weight: 600; margin-bottom: 4px; }

.rgw-news-title {
  font-family: 'Bebas Neue', cursive;
  font-size: 1.1rem;
  letter-spacing: .5px;
  line-height: 1.2;
  color: var(--text);
  margin-bottom: 5px;
}

.rgw-news-title.small { font-size: .95rem; }
.rgw-news-excerpt { font-size: 12px; color: var(--muted); line-height: 1.6; }
.rgw-news-sidebar { display: flex; flex-direction: column; gap: .9rem; }
.rgw-news-sidebar .rgw-news-thumb { height: 105px; }

/* Post list (archive) */
.rgw-posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.25rem;
}

/* Single post */
.rgw-single-post { max-width: 780px; }

.rgw-single-post .post-content {
  background: #fff;
  border-radius: 8px;
  padding: 2rem;
  border: .5px solid var(--borderl);
  line-height: 1.8;
  font-size: 15px;
}

.rgw-single-post .post-content h2,
.rgw-single-post .post-content h3 {
  font-family: 'Bebas Neue', cursive;
  letter-spacing: 1px;
  margin: 1.5rem 0 .75rem;
  color: var(--text);
}

.rgw-single-post .post-content p { margin-bottom: 1rem; }
.rgw-single-post .post-content ul, .rgw-single-post .post-content ol { padding-left: 1.5rem; margin-bottom: 1rem; }
.rgw-single-post .post-content img { border-radius: 8px; margin: 1rem 0; }

/* ---- ERGEBNISSE ---- */
.rgw-results-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .9rem;
}

.rgw-match-card {
  border: .5px solid var(--borderl);
  border-radius: 8px;
  padding: .9rem;
  display: flex;
  flex-direction: column;
  gap: 7px;
  background: #fff;
}

.rgw-match-card.next { border: 1.5px solid var(--red); }

.rgw-match-meta { display: flex; justify-content: space-between; align-items: center; }
.rgw-match-league { font-size: 9px; font-weight: 700; letter-spacing: 1.5px; color: var(--muted); text-transform: uppercase; }
.rgw-match-date { font-size: 9px; color: var(--muted); }

.rgw-match-teams {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 5px;
}

.rgw-team { display: flex; align-items: center; gap: 6px; }

.rgw-team-badge {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Bebas Neue', cursive;
  font-size: 11px;
  color: #fff;
  flex-shrink: 0;
  overflow: hidden;
}

.rgw-team-badge img { width: 26px; height: 26px; object-fit: cover; }
.rgw-team-badge.opp { background: var(--light2); color: var(--text); }
.rgw-team-name { font-size: 12px; font-weight: 700; }

.rgw-score {
  font-family: 'Bebas Neue', cursive;
  font-size: 1.2rem;
  letter-spacing: 2px;
  padding: 5px 11px;
  border-radius: 4px;
  background: var(--bg2);
  color: #fff;
  white-space: nowrap;
}

.rgw-score.win  { background: #14532d; }
.rgw-score.draw { background: #78350f; }
.rgw-score.next { background: var(--red); font-size: .8rem; letter-spacing: 0; }
.rgw-score.away { background: #374151; font-size: .75rem; letter-spacing: 0; padding: 5px 7px; }

.rgw-match-foot { font-size: 10px; font-weight: 600; letter-spacing: .5px; }
.rgw-match-foot.win  { color: #14532d; }
.rgw-match-foot.draw { color: #92400e; }
.rgw-match-foot.next { color: var(--red); }

/* ---- TERMINE ---- */
.rgw-termine { display: flex; flex-direction: column; gap: 9px; }

.rgw-termin {
  background: #fff;
  border: .5px solid var(--borderl);
  border-radius: 8px;
  padding: .85rem 1.1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.rgw-termin-date {
  min-width: 46px;
  height: 46px;
  background: var(--red);
  color: #fff;
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.rgw-termin-date.amber { background: var(--amber); color: var(--bg); }

.rgw-termin-day { font-family: 'Bebas Neue', cursive; font-size: 1.25rem; line-height: 1; }
.rgw-termin-mon { font-size: 9px; text-transform: uppercase; letter-spacing: 1px; opacity: .8; }
.rgw-termin-info { flex: 1; }
.rgw-termin-title { font-size: 13px; font-weight: 700; color: var(--text); margin-bottom: 2px; }
.rgw-termin-sub { font-size: 11px; color: var(--muted); }

.rgw-termin-cat {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 2px 7px;
  border-radius: 3px;
  text-transform: uppercase;
  flex-shrink: 0;
}

.rgw-termin-cat.spiel    { background: #fee2e2; color: #991b1b; }
.rgw-termin-cat.training { background: #dcfce7; color: #166534; }
.rgw-termin-cat.event    { background: #fef9c3; color: #854d0e; }

/* ---- MANNSCHAFT / TEAM CARDS ---- */
.rgw-teams-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .9rem;
}

.rgw-team-card {
  border-radius: 8px;
  overflow: hidden;
  border: .5px solid var(--border);
  background: var(--bg3);
  text-decoration: none;
  display: block;
  transition: transform .15s;
}

.rgw-team-card:hover { transform: translateY(-3px); }

.rgw-team-card-top {
  height: 80px;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.rgw-team-card-num {
  font-family: 'Bebas Neue', cursive;
  font-size: 3rem;
  color: rgba(212,168,67,.1);
}

.rgw-team-card-badge {
  position: absolute;
  top: 7px;
  right: 7px;
  background: var(--red);
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 2px;
}

.rgw-team-card-badge.amber { background: var(--amber); color: var(--bg); }
.rgw-team-card-body { padding: .8rem .9rem; }
.rgw-team-card-name { font-family: 'Bebas Neue', cursive; font-size: 1rem; color: #fff; letter-spacing: .5px; margin-bottom: 2px; }
.rgw-team-card-info { font-size: 11px; color: rgba(255,255,255,.4); }

/* ---- PLAYER CARDS ---- */
.players-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 1rem;
}

.player-card {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  border: .5px solid var(--borderl);
  transition: transform .15s, box-shadow .15s;
}

.player-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,.1); }

.player-photo {
  height: 200px;
  background: var(--bg2);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.player-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.player-photo-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  background: linear-gradient(160deg, var(--bg3) 0%, var(--bg) 100%);
  gap: 8px;
}

.player-number-bg {
  position: absolute;
  bottom: -8px;
  right: 6px;
  font-family: 'Bebas Neue', cursive;
  font-size: 5.5rem;
  color: rgba(255,255,255,.05);
  line-height: 1;
  pointer-events: none;
}

.player-pos-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  background: var(--red);
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 3px 7px;
  border-radius: 2px;
  text-transform: uppercase;
  z-index: 1;
}

.player-num-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  background: rgba(0,0,0,.55);
  color: var(--amber);
  font-family: 'Bebas Neue', cursive;
  font-size: 1.1rem;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid rgba(212,168,67,.35);
  z-index: 1;
}

.player-info { padding: .85rem 1rem; }
.player-name { font-size: 14px; font-weight: 700; color: var(--text); margin-bottom: 2px; }
.player-position { font-size: 11px; color: var(--muted); }
.player-chips { display: flex; gap: .4rem; margin-top: 6px; flex-wrap: wrap; }
.chip { font-size: 10px; color: var(--muted); background: var(--light2); padding: 2px 7px; border-radius: 10px; }
.chip.captain { background: #fef9c3; color: #854d0e; }
.chip.new { background: #dcfce7; color: #166534; }

/* ---- STAFF ---- */
.staff-section {
  background: var(--bg2);
  padding: 2rem max(1.5rem, calc((100vw - 1400px) / 2 + 1.5rem));
  border-bottom: 1px solid var(--border);
}

.staff-section h2 {
  font-family: 'Bebas Neue', cursive;
  font-size: 1.1rem;
  letter-spacing: 1px;
  color: var(--amber);
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.staff-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: .75rem; }

.staff-card {
  background: var(--bg3);
  border-radius: 8px;
  padding: 1rem;
  display: flex;
  align-items: center;
  gap: 10px;
  border: .5px solid var(--border);
}

.staff-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Bebas Neue', cursive;
  font-size: 15px;
  color: var(--amber);
  flex-shrink: 0;
  overflow: hidden;
}

.staff-avatar img { width: 42px; height: 42px; object-fit: cover; border-radius: 50%; }
.staff-name { font-size: 13px; font-weight: 700; color: #fff; line-height: 1.2; }
.staff-role { font-size: 10px; color: rgba(255,255,255,.4); margin-top: 2px; }

/* ---- FILTER BAR ---- */
.filter-bar {
  background: #fff;
  padding: .75rem max(1.5rem, calc((100vw - 1400px) / 2 + 1.5rem));
  border-bottom: .5px solid var(--borderl);
  display: flex;
  gap: .5rem;
  flex-wrap: wrap;
  align-items: center;
  position: sticky;
  top: 64px;
  z-index: 100;
}

.filter-label { font-size: 11px; font-weight: 700; color: var(--muted); letter-spacing: 1px; text-transform: uppercase; margin-right: .25rem; }

.filter-btn {
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 600;
  border-radius: 20px;
  border: .5px solid var(--borderl);
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  transition: all .15s;
  font-family: 'DM Sans', sans-serif;
}

.filter-btn:hover { border-color: var(--red); color: var(--red); }
.filter-btn.active { background: var(--red); color: #fff; border-color: var(--red); }

/* ---- ROSTER ---- */
.roster-section { padding: 2rem max(1.5rem, calc((100vw - 1400px) / 2 + 1.5rem)) 3rem; }
.position-group { margin-bottom: 2.5rem; }

.position-label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 1rem;
}

.position-label-text { font-family: 'Bebas Neue', cursive; font-size: 1.3rem; letter-spacing: 1px; color: var(--text); }
.position-label-line { flex: 1; height: 1px; background: var(--borderl); }
.position-count { font-size: 11px; font-weight: 700; color: var(--muted); }

/* ---- ALTHERREN TEASER ---- */
.rgw-altherren {
  background: var(--bg2);
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 2rem max(1.5rem, calc((100vw - 1400px) / 2 + 1.5rem));
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.rgw-altherren img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  border: 2.5px solid var(--amber);
  flex-shrink: 0;
}

.rgw-altherren h3 { font-family: 'Bebas Neue', cursive; font-size: 1.4rem; letter-spacing: 1px; color: #fff; margin-bottom: 3px; }
.rgw-altherren p { font-size: 12px; color: rgba(255,255,255,.5); line-height: 1.6; max-width: 400px; }
.rgw-altherren-btn { margin-left: auto; flex-shrink: 0; }

/* ---- SPONSOREN ---- */
.rgw-sponsors-intro { font-size: 13px; color: var(--muted); margin-bottom: 1.5rem; line-height: 1.6; max-width: 540px; }

.rgw-sponsors-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: .9rem;
  margin-bottom: 1.2rem;
}

.rgw-sponsor-card {
  border: .5px solid var(--borderl);
  border-radius: 8px;
  padding: 1.1rem .9rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 85px;
  text-align: center;
  text-decoration: none;
  transition: border-color .2s;
  background: #fff;
}

.rgw-sponsor-card:hover { border-color: var(--amber); }

.rgw-sponsor-card.main {
  grid-column: span 2;
  background: linear-gradient(135deg, var(--bg2), var(--bg3));
  border-color: var(--amber);
}

.rgw-sponsor-logo {
  max-width: 80px;
  max-height: 44px;
  object-fit: contain;
}

.rgw-sponsor-name { font-size: 11px; font-weight: 700; color: var(--text); }
.rgw-sponsor-card.main .rgw-sponsor-name { color: #fff; font-size: 12px; }
.rgw-sponsor-type { font-size: 9px; color: var(--muted); letter-spacing: .5px; text-transform: uppercase; }
.rgw-sponsor-card.main .rgw-sponsor-type { color: var(--amber); }

.rgw-sponsor-cta {
  background: var(--light2);
  border-radius: 8px;
  padding: 1.1rem 1.3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border: .5px solid var(--borderl);
}

.rgw-sponsor-cta-title { font-size: 13px; font-weight: 700; color: var(--text); }
.rgw-sponsor-cta-sub { font-size: 11px; color: var(--muted); margin-top: 2px; }

/* ---- VEREINSHEIM ---- */
.info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }

.info-card { background: #fff; border-radius: 10px; border: .5px solid var(--borderl); overflow: hidden; }

.info-card-header { background: var(--bg2); padding: 1rem 1.25rem; display: flex; align-items: center; gap: 8px; }
.info-card-title { font-family: 'Bebas Neue', cursive; font-size: 1.05rem; color: #fff; letter-spacing: 1px; }

.info-row { display: flex; align-items: flex-start; gap: .75rem; padding: .65rem 1.25rem; border-bottom: .5px solid var(--borderl); }
.info-row:last-child { border-bottom: none; }
.info-icon { font-size: 14px; flex-shrink: 0; margin-top: 2px; }
.info-label { font-size: 10px; font-weight: 700; color: var(--muted); letter-spacing: .5px; text-transform: uppercase; margin-bottom: 2px; }
.info-value { font-size: 13px; font-weight: 600; color: var(--text); }
.info-value.red { color: var(--red); }

.features-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 1rem; }

.feature-card { background: var(--bg3); border-radius: 8px; padding: 1.1rem; border: .5px solid var(--border); display: flex; flex-direction: column; gap: 8px; }
.feature-icon { font-size: 1.5rem; }
.feature-name { font-size: 13px; font-weight: 700; color: #fff; }
.feature-desc { font-size: 11px; color: rgba(255,255,255,.4); line-height: 1.5; }

.preise-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }

.preis-card { background: #fff; border-radius: 10px; border: .5px solid var(--borderl); overflow: hidden; }
.preis-card.featured { border: 2px solid var(--amber); }

.preis-top { background: var(--bg2); padding: 1.1rem 1.25rem; position: relative; }
.preis-badge { position: absolute; top: 10px; right: 10px; background: var(--amber); color: var(--bg); font-size: 9px; font-weight: 700; letter-spacing: 1px; padding: 2px 7px; border-radius: 2px; text-transform: uppercase; }
.preis-name { font-family: 'Bebas Neue', cursive; font-size: 1.15rem; color: #fff; letter-spacing: 1px; margin-bottom: 2px; }
.preis-sub { font-size: 11px; color: rgba(255,255,255,.4); }
.preis-body { padding: 1.25rem; }
.preis-amount { font-family: 'Bebas Neue', cursive; font-size: 2.2rem; color: var(--red); line-height: 1; margin-bottom: 4px; }
.preis-unit { font-size: 11px; color: var(--muted); margin-bottom: 1.1rem; }
.preis-features { list-style: none; display: flex; flex-direction: column; gap: 6px; margin-bottom: 1.25rem; }
.preis-features li { font-size: 12px; color: var(--text); display: flex; align-items: flex-start; gap: 7px; }
.preis-features li::before { content: '✓'; color: var(--red); font-weight: 700; font-size: 11px; flex-shrink: 0; margin-top: 1px; }

.rules-list { display: flex; flex-direction: column; gap: .75rem; }
.rule-item { background: #fff; border-radius: 8px; border: .5px solid var(--borderl); padding: 1rem 1.25rem; display: flex; gap: 12px; align-items: flex-start; }
.rule-num { min-width: 26px; height: 26px; border-radius: 50%; background: var(--red); color: #fff; font-family: 'Bebas Neue', cursive; font-size: .95rem; display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 1px; }
.rule-text { font-size: 13px; color: var(--text); line-height: 1.6; }
.rule-item.warning { border-color: #fca5a5; background: #fff5f5; }
.rule-item.warning .rule-num { background: #991b1b; }

.booking-wrap { background: #fff; border-radius: 12px; border: .5px solid var(--borderl); overflow: hidden; }
.booking-header { background: var(--bg); padding: 1.5rem 1.75rem; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }
.booking-header h2 { font-family: 'Bebas Neue', cursive; font-size: 1.5rem; letter-spacing: 1px; color: #fff; margin-bottom: 3px; }
.booking-header p { font-size: 12px; color: rgba(255,255,255,.45); }
.booking-body { padding: 1.75rem; }

/* Getränketabelle */
.getraenke-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.getraenke-table { background: #fff; border-radius: 10px; border: .5px solid var(--borderl); overflow: hidden; }
.getraenke-table-header { background: var(--bg2); padding: .9rem 1.25rem; display: flex; align-items: center; gap: 8px; }
.getraenke-table-title { font-family: 'Bebas Neue', cursive; font-size: 1.05rem; color: #fff; letter-spacing: 1px; }
.getraenke-row { display: flex; justify-content: space-between; align-items: center; padding: .65rem 1.25rem; border-bottom: .5px solid var(--borderl); }
.getraenke-row:last-child { border-bottom: none; }
.getraenke-row:hover { background: var(--light); }
.getraenke-name { font-size: 13px; color: var(--text); font-weight: 500; }
.getraenke-size { font-size: 11px; color: var(--muted); margin-top: 1px; }
.getraenke-price { font-family: 'Bebas Neue', cursive; font-size: 1.1rem; color: var(--red); letter-spacing: .5px; flex-shrink: 0; }

/* ---- JUNIOREN ---- */
.jugend-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.25rem; }

.jugend-card {
  background: #fff;
  border-radius: 10px;
  border: .5px solid var(--borderl);
  overflow: hidden;
  text-decoration: none;
  display: block;
  transition: transform .15s;
}

.jugend-card:hover { transform: translateY(-3px); }

.jugend-card-top {
  height: 120px;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.jugend-card-num {
  font-family: 'Bebas Neue', cursive;
  font-size: 5rem;
  color: rgba(212,168,67,.08);
  line-height: 1;
}

.jugend-card-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: var(--amber);
  color: var(--bg);
  font-size: 9px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 2px;
  letter-spacing: .5px;
}

.jugend-card-body { padding: 1.1rem 1.25rem; }
.jugend-card-name { font-family: 'Bebas Neue', cursive; font-size: 1.2rem; color: var(--text); letter-spacing: .5px; margin-bottom: 4px; }
.jugend-card-info { font-size: 12px; color: var(--muted); margin-bottom: .75rem; line-height: 1.5; }
.jugend-card-meta { display: flex; gap: .5rem; flex-wrap: wrap; }
.jugend-meta-chip { font-size: 10px; background: var(--light2); color: var(--muted); padding: 2px 8px; border-radius: 10px; font-weight: 600; }

/* ---- KONTAKT CTA ---- */
.kontakt-cta {
  background: var(--bg);
  border-radius: 10px;
  padding: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.kontakt-cta h3 { font-family: 'Bebas Neue', cursive; font-size: 1.4rem; letter-spacing: 1px; color: #fff; margin-bottom: 4px; }
.kontakt-cta p { font-size: 13px; color: rgba(255,255,255,.5); }
.kontakt-btns { display: flex; gap: .75rem; flex-wrap: wrap; flex-shrink: 0; }

/* ---- FOOTER ---- */
.rgw-footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 2rem max(1.5rem, calc((100vw - 1400px) / 2 + 1.5rem));
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1.5rem;
}

.rgw-footer-brand img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; margin-bottom: 9px; display: block; }
.rgw-footer-brand-name { font-family: 'Bebas Neue', cursive; font-size: 1rem; color: #fff; letter-spacing: 1px; }
.rgw-footer-brand-info { font-size: 11px; color: rgba(255,255,255,.3); line-height: 1.6; margin-top: 4px; }

.rgw-footer-col h4 { font-size: 10px; font-weight: 700; letter-spacing: 2px; color: var(--amber); text-transform: uppercase; margin-bottom: 9px; }
.rgw-footer-col a { display: block; font-size: 12px; color: rgba(255,255,255,.45); text-decoration: none; padding: 3px 0; transition: color .15s; }
.rgw-footer-col a:hover { color: #fff; }

.rgw-footer-bottom {
  background: #0a0a0a;
  padding: .7rem max(1.5rem, calc((100vw - 1400px) / 2 + 1.5rem));
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.rgw-footer-copy { font-size: 11px; color: rgba(255,255,255,.25); }

.rgw-footer-stripe {
  width: 50px;
  height: 3px;
  background: linear-gradient(90deg, var(--red) 50%, var(--amber) 50%);
  border-radius: 2px;
}

/* ---- ALERT ---- */
.alert { border-radius: 8px; padding: 1rem 1.25rem; display: flex; gap: 10px; align-items: flex-start; margin-bottom: 1.5rem; }
.alert.warning { background: #fef9c3; border: .5px solid #fde047; }
.alert.danger  { background: #fee2e2; border: .5px solid #fca5a5; }
.alert-icon { font-size: 1.1rem; flex-shrink: 0; }
.alert-text { font-size: 13px; color: var(--text); line-height: 1.6; }

/* ---- WORDPRESS SPECIFICS ---- */
.wp-block-image img { border-radius: 8px; }
.aligncenter { text-align: center; }
.alignright { float: right; margin-left: 1rem; }
.alignleft { float: left; margin-right: 1rem; }

/* =============================================
   RESPONSIVE
   ============================================= */

/* Widescreen 1536px+ */
@media (min-width: 1536px) {
  .rgw-hero h1 { font-size: 6.5rem; }
  .rgw-hero-inner { gap: 5rem; }
  .rgw-hero-logo-ring { width: 320px; height: 320px; }
  .rgw-hero-logo-img  { width: 275px; height: 275px; }
  .players-grid { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
  .player-photo { height: 240px; }
  .rgw-sponsors-grid { grid-template-columns: repeat(4, 1fr); }
}

/* Large Desktop 1280px+ */
@media (min-width: 1280px) {
  .rgw-hero-logo-ring { width: 280px; height: 280px; }
  .rgw-hero-logo-img  { width: 240px; height: 240px; }
  .rgw-news-grid { grid-template-columns: 2.2fr 1fr; }
  .rgw-news-thumb.main { height: 320px; }
}

/* Tablet 768–1023px */
@media (max-width: 1023px) {
  /* Mobile nav handled by header.php */
  .rgw-hero-inner { gap: 2rem; }
  .rgw-hero-logo-ring { width: 180px; height: 180px; }
  .rgw-hero-logo-img  { width: 148px; height: 148px; }
  .rgw-hero h1 { font-size: 3rem; }
  .rgw-results-grid { grid-template-columns: 1fr 1fr; }
  .rgw-sponsors-grid { grid-template-columns: repeat(2, 1fr); }
  .rgw-sponsor-card.main { grid-column: span 2; }
  .rgw-footer { grid-template-columns: 1fr 1fr; }
  .info-grid { grid-template-columns: 1fr; }
  .preise-grid { grid-template-columns: 1fr 1fr; }
  .getraenke-grid { grid-template-columns: 1fr; }
  .staff-grid { grid-template-columns: 1fr 1fr; }
}

/* Mobile 480–767px */
@media (max-width: 767px) {
  .rgw-hero { padding-top: 3rem; padding-bottom: 3rem; }
  .rgw-hero-inner { flex-direction: column-reverse; align-items: center; text-align: center; gap: 1.75rem; }
  .rgw-hero-eyebrow { justify-content: center; }
  .rgw-hero h1 { font-size: clamp(2.4rem, 9vw, 3.5rem); }
  .rgw-hero-sub { max-width: 100%; }
  .rgw-btns { justify-content: center; }
  .rgw-hero-logo-ring { width: 160px; height: 160px; }
  .rgw-hero-logo-img  { width: 130px; height: 130px; }
  .rgw-stats { grid-template-columns: repeat(2, 1fr); }
  .rgw-news-grid { grid-template-columns: 1fr; }
  .rgw-news-sidebar { flex-direction: row; gap: .75rem; }
  .rgw-news-sidebar .rgw-news-card { flex: 1; }
  .rgw-news-sidebar .rgw-news-thumb { height: 90px; }
  .rgw-results-grid { grid-template-columns: 1fr; }
  .rgw-teams-grid { grid-template-columns: 1fr 1fr; }
  .rgw-sponsors-grid { grid-template-columns: 1fr 1fr; }
  .rgw-altherren { flex-direction: column; text-align: center; gap: 1rem; }
  .rgw-altherren-btn { margin-left: 0; }
  .rgw-footer { grid-template-columns: 1fr; }
  .rgw-footer-bottom { flex-direction: column; gap: .5rem; text-align: center; }
  .rgw-sponsor-cta { flex-direction: column; align-items: flex-start; }
  .preise-grid { grid-template-columns: 1fr; }
  .players-grid { grid-template-columns: repeat(2, 1fr); gap: .75rem; }
  .player-photo { height: 170px; }
  .booking-body { padding: 1rem; }
  .kontakt-cta { flex-direction: column; }
  .staff-grid { grid-template-columns: 1fr 1fr; }
}

/* Small phone < 480px */
@media (max-width: 479px) {
  .rgw-hero h1 { font-size: 2.2rem; }
  .rgw-hero-logo-ring { width: 130px; height: 130px; }
  .rgw-hero-logo-img  { width: 105px; height: 105px; }
  .players-grid { grid-template-columns: repeat(2, 1fr); gap: .6rem; }
  .player-photo { height: 150px; }
  .rgw-teams-grid { grid-template-columns: 1fr; }
  .staff-grid { grid-template-columns: 1fr; }
  .jugend-grid { grid-template-columns: 1fr; }
}
