/* ===================================================
   SG Blau-Weiß Wetzlar e.V. – Globales Stylesheet
   =================================================== */

/* ── Self-hosted Inter (DSGVO-konform, kein Google-CDN) ── */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url('../fonts/inter-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
                 U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF,
                 U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url('../fonts/inter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
                 U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122,
                 U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary:         #00008e;
  --primary-medium:  #0000a8;
  --primary-light:   #0000c4;
  --primary-lighter: #1a1ae0;
  --primary-pale:    #eaeaff;
  --primary-subtle:  #f4f4ff;
  --white:           #ffffff;
  --light-bg:        #f7f8fc;
  --text-dark:       #1a1a2e;
  --text-mid:        #3a3a5e;
  --text-gray:       #666688;
  --border:          rgba(0, 0, 142, 0.1);
  --shadow-sm:       0 2px 8px rgba(0, 0, 142, 0.08);
  --shadow-md:       0 6px 24px rgba(0, 0, 142, 0.14);
  --shadow-lg:       0 12px 48px rgba(0, 0, 142, 0.18);
  --radius:          14px;
  --radius-sm:       8px;
  --radius-lg:       20px;
  --transition:      all 0.28s ease;
  --diag:            48px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text-dark);
  background: white;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}


a {
  color: inherit;
}

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

/* ─── INTRO ANIMATIONS ───────────────────────────── */

@keyframes navIn {
  from { transform: translateY(-100%); opacity: 0; }
  to   { transform: translateY(0);     opacity: 1; }
}

@keyframes heroLogoIn {
  from { transform: scale(0.7) translateY(20px); opacity: 0; filter: blur(6px); }
  to   { transform: scale(1)   translateY(0);    opacity: 1; filter: blur(0);   }
}

@keyframes heroElemIn {
  from { transform: translateY(30px); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}

@keyframes heroDividerIn {
  from { transform: scaleX(0); opacity: 0; }
  to   { transform: scaleX(1); opacity: 1; }
}

@keyframes heroFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* ─── NAVIGATION ─────────────────────────────────── */

nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: 58px;          /* schlanke, feste Höhe */
  padding: 0 2.5rem;
  display: flex;
  align-items: center;   /* Links & Hamburger vertikal zentrieren */
  justify-content: flex-start;
  transition: var(--transition);
  background: linear-gradient(to bottom, #eeeeff 0%, #ffffff 55%);
  box-shadow:
    0 6px 28px rgba(0, 0, 142, 0.14);
  overflow: visible;     /* Logo darf unten herausragen */
  animation: navIn 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
}

/* Schimmer-Glanzstreifen oben */
nav::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(255,255,255,0.6) 20%,
    white 50%,
    rgba(255,255,255,0.6) 80%,
    transparent 100%);
  pointer-events: none;
}

/* Blauer Gradient-Streifen unten */
nav::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg,
    transparent 0%,
    #00006e 10%,
    #4444ff 50%,
    #00006e 90%,
    transparent 100%);
  pointer-events: none;
}

nav.scrolled {
  background: linear-gradient(to bottom, #e8e8ff 0%, #ffffff 55%);
  box-shadow: 0 8px 36px rgba(0, 0, 142, 0.18);
}

.nav-logo {
  display: flex;
  align-items: flex-start; /* Logo oben in der Leiste verankern */
  align-self: stretch;     /* div dehnt sich auf volle Navhöhe */
  gap: 14px;
  text-decoration: none;
  position: relative;
  z-index: 2;              /* Logo vor den nav::before/::after Pseudo-Elementen */
}

.nav-logo img {
  height: 108px;           /* 50 px ragen unten heraus (108 - 58) */
  width: auto;
  margin-top: 4px;
  filter:
    drop-shadow( 1px  0   0 white)
    drop-shadow(-1px  0   0 white)
    drop-shadow( 0    1px 0 white)
    drop-shadow( 0   -1px 0 white)
    drop-shadow(0 6px 14px rgba(0, 0, 142, 0.22));
}

.nav-logo .nav-title {
  color: var(--primary);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.25;
  align-self: center;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  gap: 2.25rem;
  list-style: none;
  margin-left: auto;
}

.nav-links a {
  color: var(--text-dark);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.3rem 0.75rem;
  border-radius: 6px;
  position: relative;
  transition: var(--transition);
}

/* Animierter Unterstrich */
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  right: 50%;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transition: left 0.25s ease, right 0.25s ease;
}

.nav-links a:hover {
  color: var(--primary);
  background: rgba(0, 0, 142, 0.06);
}

.nav-links a:hover::after {
  left: 0.75rem;
  right: 0.75rem;
}

.nav-links a.active {
  color: var(--primary);
  background: rgba(0, 0, 142, 0.08);
}

.nav-links a.active::after {
  left: 0.75rem;
  right: 0.75rem;
}

/* Social Icons */
.nav-social {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.nav-social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  color: var(--primary);
  transition: background 0.2s, color 0.2s;
}
.nav-social-link:hover {
  background: var(--primary-pale);
  color: var(--primary-medium);
}
.nav-social-link svg {
  width: 1.1rem;
  height: 1.1rem;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 6px;
}

.hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transition: var(--transition);
}

/* Mobile Menu Overlay */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--primary);
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.mobile-menu.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.mobile-menu a {
  color: white;
  text-decoration: none;
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: -0.5px;
  transition: var(--transition);
  transform: translateY(12px);
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease, color 0.2s;
}

.mobile-menu.open a {
  transform: translateY(0);
  opacity: 1;
}
.mobile-menu.open a:nth-child(2) { transition-delay: 0.05s; }
.mobile-menu.open a:nth-child(3) { transition-delay: 0.10s; }
.mobile-menu.open a:nth-child(4) { transition-delay: 0.15s; }
.mobile-menu.open a:nth-child(5) { transition-delay: 0.20s; }

.mobile-menu a:hover {
  color: var(--primary-pale);
}

.mobile-close {
  position: absolute;
  top: 1.5rem;
  right: 1.75rem;
  background: none;
  border: none;
  color: white;
  font-size: 2rem;
  cursor: pointer;
  line-height: 1;
}

/* Hamburger → X Animation */
.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}
.hamburger span {
  transition: transform 0.25s ease, opacity 0.2s ease;
}

/* ─── HERO ───────────────────────────────────────── */

.hero {
  min-height: 100vh;
  background:
    linear-gradient(160deg, rgba(230,238,255,0.92) 0%, rgba(220,232,255,0.88) 50%, rgba(230,238,255,0.92) 100%),
    url('../images/football-or-soceer-field-with-border-lines-top-vi-2026-01-09-06-45-05-utc.jpg') center/cover no-repeat;
  background-attachment: fixed;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem 2rem 10rem;
  position: relative;
  overflow: hidden;
}


/* Links/Rechts-Verlauf über dem Hintergrundbild */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right,
    white 0%,
    transparent 25%,
    transparent 75%,
    white 100%
  );
  z-index: 1;
  pointer-events: none;
}

/* Blauer Farbakzent unten links */
.hero::after {
  content: '';
  position: absolute;
  bottom: -120px;
  left: -120px;
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(0,0,142,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 820px;
}

.hero-logo {
  width: 160px;
  height: auto;
  margin: 0 auto 2rem;
  filter: drop-shadow(0 10px 32px rgba(0,0,0,0.35));
  animation:
    heroLogoIn 1s   cubic-bezier(0.22, 1, 0.36, 1) 0.15s both,
    floatLogo  3.6s cubic-bezier(0.45, 0, 0.55, 1) 1.35s infinite;
}

@keyframes floatLogo {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-7px); }
}

.hero h1 {
  color: var(--primary);
  font-size: clamp(2rem, 5.5vw, 3.75rem);
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1.1;
  margin-bottom: 0.5rem;
  animation: heroElemIn 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.55s both;
}

.hero .subtitle {
  color: var(--text-mid);
  font-size: clamp(1rem, 2.5vw, 1.3rem);
  font-weight: 400;
  margin-bottom: 0.6rem;
  letter-spacing: 0.3px;
  animation: heroElemIn 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.72s both;
}

.hero .tagline {
  color: var(--text-gray);
  font-size: 0.95rem;
  font-weight: 400;
  margin-bottom: 2.75rem;
  letter-spacing: 1px;
  animation: heroFadeIn 0.8s ease 1.05s both;
}

.hero-divider {
  width: 60px;
  height: 3px;
  background: var(--primary);
  opacity: 0.25;
  border-radius: 2px;
  margin: 0 auto 2.75rem;
  transform-origin: center;
  animation: heroDividerIn 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.88s both;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  animation: heroElemIn 0.8s cubic-bezier(0.22, 1, 0.36, 1) 1.15s both;
}

/* ─── HERO SCROLL ARROW ──────────────────────────── */
.hero-scroll-hint {
  position: absolute;
  bottom: calc(60px + 7rem);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  z-index: 1000;
  animation:
    heroFadeIn    0.8s ease                            1.5s both,
    heroArrowBounce 3.6s cubic-bezier(0.45, 0, 0.55, 1) 2.4s infinite;
}
.hero-scroll-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
  opacity: 0.85;
}
.hero-scroll-arrow {
  position: static;
  transform: none;
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border: 2px solid var(--primary);
  border-radius: 50%;
  text-decoration: none;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
  background: rgba(255,255,255,0.85);
}
.hero-scroll-arrow:hover {
  color: #fff;
  background: var(--primary);
  border-color: var(--primary);
}
.hero-scroll-arrow svg {
  width: 1.2rem;
  height: 1.2rem;
}
@keyframes heroArrowBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(7px); }
}


/* ─── BUTTONS ────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.875rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
  font-family: inherit;
  white-space: nowrap;
}

.btn-primary {
  background: white;
  color: var(--primary);
  border-color: white;
}

.btn-primary:hover {
  background: var(--primary-pale);
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(255,255,255,0.25);
}

.btn-outline-white {
  background: transparent;
  color: white;
  border-color: rgba(255,255,255,0.55);
}

.btn-outline-white:hover {
  background: rgba(255,255,255,0.12);
  border-color: white;
  transform: translateY(-3px);
}

.btn-blue {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

.btn-blue:hover {
  background: var(--primary-medium);
  border-color: var(--primary-medium);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline-blue {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}

.btn-outline-blue:hover {
  background: var(--primary-pale);
  transform: translateY(-2px);
}

.btn-sm {
  font-size: 0.82rem;
  padding: 0.6rem 1.25rem;
}

/* ─── LAYOUT UTILITIES ───────────────────────────── */

section {
  padding: 5.5rem 2rem;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.badge {
  display: inline-block;
  background: var(--primary-pale);
  color: var(--primary);
  padding: 0.3rem 1rem;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 0.875rem;
}

.section-header h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.6rem);
  color: var(--primary);
  font-weight: 800;
  letter-spacing: -0.5px;
  line-height: 1.15;
  margin-bottom: 0.75rem;
}

.section-header p {
  color: var(--text-gray);
  font-size: 1.05rem;
  max-width: 580px;
  margin: 0 auto;
}

/* ─── TEAM CARDS ────────────────────────────────── */

.team-section {
  padding: 5rem 0;
  background: var(--white);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 960px;
  margin: 0 auto;
}

.team-grid:has(.team-card:only-child) {
  grid-template-columns: minmax(280px, 480px);
  justify-content: center;
}

.team-card {
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,142,0.08);
  border: 1px solid rgba(0,0,142,0.07);
  transition: transform 0.2s, box-shadow 0.2s;
}
.team-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0,0,142,0.14);
}

.team-card-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: linear-gradient(135deg, #d8dcff 0%, #e8eaf8 100%);
}
.team-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.team-card-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(0,0,142,0.25);
}
.team-card-placeholder svg {
  width: 64px;
  height: 64px;
}

.team-card-body {
  padding: 1.25rem 1.5rem 1.5rem;
  text-align: center;
}
.team-card-body h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
  margin: 0 0 0.25rem;
}
.team-liga {
  margin: 0;
  font-size: 0.88rem;
  color: var(--text-gray);
  font-weight: 500;
}

/* ─── CONTACT CARDS ──────────────────────────────── */

.contact-section {
  background: linear-gradient(135deg, #d8dcff 0%, #e8eaf8 100%);
  border-top: 3px solid rgba(0, 0, 142, 0.12);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.contact-card {
  background: white;
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: 0 4px 20px rgba(0, 0, 142, 0.10), 0 1px 4px rgba(0,0,0,0.04);
  border: 1px solid rgba(0, 0, 142, 0.08);
  transition: var(--transition);
}

.contact-card:hover {
  box-shadow: 0 12px 40px rgba(0, 0, 142, 0.18), 0 2px 8px rgba(0,0,0,0.06);
  transform: translateY(-7px);
  border-color: rgba(0,0,142,0.18);
}

.contact-icon {
  width: 56px;
  height: 56px;
  background: var(--primary-pale);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 1.25rem;
}

.contact-photo {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  margin: 0 auto 1.25rem;
  border: 3px solid var(--primary-pale);
  box-shadow: 0 2px 10px rgba(0,0,142,0.12);
}

.contact-card h3 {
  color: var(--primary);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.2rem;
}

.contact-role {
  color: var(--text-gray);
  font-size: 0.85rem;
  margin-bottom: 1.25rem;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.contact-info a {
  color: var(--text-mid);
  text-decoration: none;
  font-size: 0.88rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition);
}

.contact-info a:hover {
  color: var(--primary);
}

.contact-info .info-icon {
  font-size: 1rem;
  width: 20px;
  flex-shrink: 0;
}

.btn-group {
  display: flex;
  gap: 0.75rem;
  flex-wrap: nowrap;
}

/* ─── TRAINING TIMES ─────────────────────────────── */

.training-section {
  background: linear-gradient(180deg, #f0f0ff 0%, #ffffff 70%);
  border-top: 3px solid rgba(0, 0, 142, 0.08);
}

.training-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.training-card {
  background: white;
  border-radius: var(--radius);
  padding: 1.875rem;
  border-left: 4px solid var(--primary);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 142, 0.10), 0 1px 4px rgba(0,0,0,0.04);
}

.training-card::after {
  content: '⚽';
  position: absolute;
  right: 1rem;
  bottom: 0.5rem;
  font-size: 4rem;
  opacity: 0.04;
}

.training-card:hover {
  box-shadow: 0 14px 44px rgba(0, 0, 142, 0.18), 0 2px 8px rgba(0,0,0,0.06);
  transform: translateY(-6px);
}

.training-day {
  font-weight: 700;
  color: var(--primary);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 0.3rem;
}

.training-time {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text-dark);
  letter-spacing: -0.5px;
  margin-bottom: 0.4rem;
}

.training-team {
  color: var(--text-mid);
  font-size: 0.92rem;
  font-weight: 500;
  margin-bottom: 0.875rem;
}

.training-location {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--text-gray);
  font-size: 0.82rem;
}

.training-note {
  text-align: center;
  margin-top: 2rem;
  color: var(--text-gray);
  font-size: 0.85rem;
  background: var(--primary-pale);
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  display: inline-block;
}

.training-note-wrap {
  text-align: center;
  margin-top: 2rem;
}

/* ─── NEWS CARDS ─────────────────────────────────── */

.news-section {
  background: linear-gradient(135deg, #d8dcff 0%, #e8eaf8 100%);
  border-top: 3px solid rgba(0, 0, 142, 0.12);
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.news-card {
  background: white;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 142, 0.10), 0 1px 4px rgba(0,0,0,0.04);
  border: 1px solid rgba(0, 0, 142, 0.08);
  transition: var(--transition);
}

.news-card:hover {
  box-shadow: 0 12px 40px rgba(0, 0, 142, 0.18), 0 2px 8px rgba(0,0,0,0.06);
  transform: translateY(-7px);
}

.news-card-image {
  height: 176px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
  position: relative;
  overflow: hidden;
}

.news-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}

.news-card-body {
  padding: 1.5rem;
}

.news-tag {
  display: inline-block;
  background: var(--primary-pale);
  color: var(--primary);
  padding: 0.2rem 0.75rem;
  border-radius: 50px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.75rem;
}

.news-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.4;
  margin-bottom: 0.5rem;
}

.news-card p {
  color: var(--text-gray);
  font-size: 0.88rem;
  line-height: 1.65;
  margin-bottom: 0.75rem;
}

.news-meta {
  color: var(--text-gray);
  font-size: 0.78rem;
  font-weight: 500;
}

.section-cta {
  text-align: center;
}

/* ─── FULL NEWS PAGE ─────────────────────────────── */

.news-list-section {
  background: linear-gradient(135deg, #d8dcff 0%, #e8eaf8 100%);
  min-height: 60vh;
  border-top: 3px solid rgba(0, 0, 142, 0.12);
}

.season-filter {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.season-btn {
  padding: 0.5rem 1.25rem;
  border-radius: 50px;
  border: 2px solid var(--primary);
  background: transparent;
  color: var(--primary);
  font-weight: 600;
  font-size: 0.875rem;
  cursor: pointer;
  transition: var(--transition);
  font-family: inherit;
}

.season-btn.active,
.season-btn:hover {
  background: var(--primary);
  color: white;
}

.news-article {
  background: white;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 142, 0.10), 0 1px 4px rgba(0,0,0,0.04);
  border: 1px solid rgba(0, 0, 142, 0.08);
  margin-bottom: 1.5rem;
  display: grid;
  grid-template-columns: 200px 1fr;
  transition: var(--transition);
}

.news-article:hover {
  box-shadow: 0 12px 40px rgba(0, 0, 142, 0.18), 0 2px 8px rgba(0,0,0,0.06);
  transform: translateY(-4px);
}

.news-article .article-img {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  min-height: 160px;
}

.news-article .article-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-article .article-body {
  padding: 1.875rem;
}

.article-date {
  color: var(--text-gray);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.4rem;
}

.news-article h2 {
  font-size: 1.2rem;
  color: var(--text-dark);
  margin-bottom: 0.6rem;
  line-height: 1.35;
}

.news-article p {
  color: var(--text-gray);
  font-size: 0.9rem;
  line-height: 1.7;
}

.article-season {
  display: none;
}

/* ─── GALLERY ────────────────────────────────────── */

.gallery-section {
  background: linear-gradient(135deg, #d8dcff 0%, #e8eaf8 100%);
  min-height: 60vh;
  border-top: 3px solid rgba(0, 0, 142, 0.12);
}

.gallery-categories {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

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

.gallery-item {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-sm);
  overflow: hidden;
  cursor: pointer;
  position: relative;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.gallery-item:hover {
  box-shadow: var(--shadow-md);
  transform: scale(1.02);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery-item:hover img {
  transform: scale(1.06);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 142, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
  font-size: 2.5rem;
  color: white;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

/* Caption bar – always visible at bottom of photo */
.gallery-caption-bar {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.68));
  padding: 1.8rem 0.75rem 0.55rem;
  pointer-events: none;
  z-index: 1;
}

.gallery-caption-bar .cap-title {
  display: block;
  color: white;
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.gallery-caption-bar .cap-date {
  display: block;
  color: rgba(255,255,255,0.75);
  font-size: 0.7rem;
  margin-top: 0.1rem;
}

/* Season sections */
.gallery-season-section {
  margin-bottom: 2.5rem;
}

.gallery-season-heading {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
  border-bottom: 2px solid rgba(0,0,142,0.15);
  padding-bottom: 0.5rem;
  margin-bottom: 1.25rem;
}

/* Gallery placeholder blocks */
.gallery-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-lighter) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;
  padding: 1rem;
}

.gallery-placeholder .ph-emoji {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
  opacity: 0.6;
}

.gallery-placeholder .ph-label {
  font-size: 0.78rem;
  font-weight: 600;
  opacity: 0.75;
}

/* Add photo hint */
.gallery-add-hint {
  background: var(--primary-pale);
  border: 2px dashed rgba(0,0,142,0.25);
  border-radius: var(--radius);
  padding: 2.5rem;
  text-align: center;
  margin-top: 2.5rem;
  color: var(--text-gray);
}

.gallery-add-hint h3 {
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.gallery-add-hint p {
  font-size: 0.9rem;
  line-height: 1.6;
}

.gallery-add-hint code {
  background: white;
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  font-size: 0.85rem;
  color: var(--primary);
  border: 1px solid var(--border);
}

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  z-index: 9999;
  align-items: center;
  justify-content: center;
}

.lightbox.active {
  display: flex;
}

.lightbox img {
  max-width: 90vw;
  max-height: 88vh;
  border-radius: var(--radius-sm);
  box-shadow: 0 20px 80px rgba(0,0,0,0.5);
}

.lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 1.75rem;
  color: white;
  font-size: 2.25rem;
  cursor: pointer;
  background: none;
  border: none;
  line-height: 1;
  opacity: 0.8;
  transition: var(--transition);
}

.lightbox-close:hover {
  opacity: 1;
  transform: scale(1.1);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.15);
  border: none;
  color: white;
  font-size: 2rem;
  cursor: pointer;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  line-height: 1;
}

.lightbox-nav:hover {
  background: rgba(255,255,255,0.25);
}

.lightbox-prev { left: 1.5rem; }
.lightbox-next { right: 1.5rem; }

.lightbox-caption {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.7);
  font-size: 0.85rem;
  background: rgba(0,0,0,0.4);
  padding: 0.4rem 1.25rem;
  border-radius: 50px;
}

/* ─── VORSTAND ───────────────────────────────────── */

.board-section {
  background: var(--light-bg);
  min-height: 60vh;
}

.board-intro {
  background: white;
  border-radius: var(--radius);
  padding: 2rem 2.5rem;
  margin-bottom: 3rem;
  border-left: 4px solid var(--primary);
  box-shadow: var(--shadow-sm);
}

.board-intro p {
  color: var(--text-mid);
  line-height: 1.75;
}

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

.board-card {
  background: white;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  text-align: center;
  transition: var(--transition);
}

.board-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-5px);
}

.board-avatar {
  height: 196px;
  background: linear-gradient(145deg, var(--primary) 0%, var(--primary-lighter) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.board-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.board-avatar .avatar-initials {
  font-size: 3.25rem;
  color: rgba(255,255,255,0.85);
  font-weight: 800;
  letter-spacing: -1px;
  user-select: none;
}

.board-card-body {
  padding: 1.5rem 1.5rem 1.75rem;
}

.board-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.2rem;
}

.board-position {
  color: var(--primary);
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 1.25rem;
}

.board-contacts {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.board-contacts a {
  color: var(--text-gray);
  font-size: 0.84rem;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  transition: var(--transition);
  padding: 0.2rem 0;
}

.board-contacts a:hover {
  color: var(--primary);
}

.board-card.placeholder {
  opacity: 0.55;
}

/* ─── ADDRESS SECTION (Kontakt-Seite) ───────────── */

.address-section {
  background: linear-gradient(180deg, #f0f0ff 0%, #ffffff 70%);
  padding: 5rem 2rem;
  position: relative;
  z-index: 6;
  border-top: 3px solid rgba(0, 0, 142, 0.08);
}

/* ─── PAGE HEADER ────────────────────────────────── */

.page-header {
  background: linear-gradient(135deg, #00006e 0%, #00008e 50%, #0000aa 100%);
  padding: 7.5rem 2rem 4rem;
  text-align: center;
  color: white;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 70%, rgba(255,255,255,0.05) 0%, transparent 55%);
}

.page-header h1 {
  position: relative;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 0.5rem;
}

.page-header p {
  position: relative;
  color: rgba(255,255,255,0.72);
  font-size: 1.05rem;
  max-width: 520px;
  margin: 0 auto;
}

/* ─── FOOTER ─────────────────────────────────────── */

footer {
  background: white;
  color: var(--text-dark);
  padding: 4rem 2rem 1.75rem;
  position: relative;
  z-index: 2;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand img {
  height: 72px;
  margin-bottom: 1.25rem;
}

.footer-brand p {
  color: var(--text-gray);
  font-size: 0.875rem;
  line-height: 1.75;
}

.footer-col h4 {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--primary);
  margin-bottom: 1.25rem;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-col ul li a {
  color: var(--text-gray);
  text-decoration: none;
  font-size: 0.9rem;
  transition: var(--transition);
}

.footer-col ul li a:hover {
  color: var(--primary);
}

.footer-address {
  color: var(--text-gray);
  font-size: 0.9rem;
  line-height: 1.8;
}

.footer-address a {
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition);
}

.footer-address a:hover {
  color: var(--primary-medium);
}

.bank-details {
  color: var(--text-gray);
  font-size: 0.82rem;
  line-height: 1.9;
  font-family: inherit;
}

.footer-divider {
  border: none;
  border-top: 1px solid #eef0f8;
  margin-bottom: 1.5rem;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.footer-bottom p,
.footer-bottom a {
  color: var(--text-gray);
  font-size: 0.82rem;
  text-decoration: none;
  transition: var(--transition);
}

.footer-bottom a:hover {
  color: var(--primary);
}

/* ─── BACK TO TOP ────────────────────────────────── */

.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 44px;
  height: 44px;
  background: var(--primary);
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.1rem;
  box-shadow: var(--shadow-md);
  opacity: 0;
  transform: translateY(12px);
  transition: var(--transition);
  z-index: 500;
}

.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--primary-medium);
  transform: translateY(-2px);
}

/* ─── RESPONSIVE ─────────────────────────────────── */

@media (max-width: 1100px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Navbar → Hamburger ab 1119px */
@media (max-width: 1119px) {
  .nav-links { display: none; }
  .hamburger { display: flex; margin-left: auto; }
  .nav-social { display: none; }

  nav { height: 50px; padding: 0 1.25rem; }
  .nav-logo img { height: 90px; }
  .nav-logo .nav-title { font-size: 0.8rem; }
  .hero-scroll-hint { display: none; }
}

@media (max-width: 768px) {

  .hero { padding: 5.5rem 1.25rem 4rem; background-attachment: scroll; }
  .hero-logo { width: 120px; }

  .hero-buttons {
    flex-direction: column;
    align-items: stretch;
    max-width: 320px;
    margin: 0 auto;
  }

  section { padding: 3.5rem 1.25rem; }

  /* Grids auf 2 Spalten oder 1fr reduzieren */
  .contact-grid    { grid-template-columns: repeat(2, 1fr); }
  .training-grid   { grid-template-columns: repeat(2, 1fr); }
  .news-grid       { grid-template-columns: 1fr; }
  .board-grid      { grid-template-columns: repeat(2, 1fr); }
  .team-grid       { grid-template-columns: repeat(2, 1fr); }

  .news-article    { grid-template-columns: 1fr; }
  .news-article .article-img { min-height: 120px; }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .lightbox-nav { display: none; }

  .hero-scroll-hint { display: none; }

  /* Sponsor-Banner kompakter */
  .sponsor-slideshow-wrap { max-width: 100%; }
  .sponsor-slide-name     { font-size: 0.9rem; }
  .sponsor-nav-btn        { display: none; }
}

@media (max-width: 480px) {
  section { padding: 2.5rem 1rem; }

  .contact-grid,
  .training-grid,
  .board-grid,
  .team-grid {
    grid-template-columns: 1fr;
  }

  .news-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-logo { width: 100px; }

  .hero-buttons {
    max-width: 100%;
  }

  /* Sponsor-Banner: nur Name, kein Bild-Overflow */
  .sponsor-slide img  { max-width: 120px; max-height: 36px; }
  .sponsors-section   { padding: 0.35rem 1rem 0.45rem; }
  .sponsor-slides     { min-height: 44px; }
}

@media (prefers-reduced-motion: reduce) {
  nav,
  .hero-logo,
  .hero h1, .hero .subtitle, .hero .tagline,
  .hero-divider, .hero-buttons, .hero-scroll-hint {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }
}

/* ===================================================
   SPONSOREN-BANNER (fixed bottom)
   =================================================== */

.sponsors-section {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: white;
  border-top: 1.5px solid #eaeaff;
  box-shadow: 0 -4px 24px rgba(0,0,142,0.1);
  z-index: 999;
  padding: 0.45rem 1.25rem 0.55rem;
  transition: transform 0.35s ease;
}

.sponsors-label {
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-gray);
  text-align: center;
  margin-bottom: 0.3rem;
}

.sponsor-slideshow-wrap {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  max-width: 640px;
  margin: 0 auto;
}

.sponsor-slides {
  flex: 1;
  overflow: hidden;
  min-height: 52px;
}

.sponsor-slide {
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: row;
  gap: 0.75rem;
  padding: 0.3rem 0.5rem;
  text-decoration: none;
  min-height: 52px;
}
.sponsor-slide.active { display: flex; }

.sponsor-slide img {
  max-height: 42px;
  max-width: 160px;
  object-fit: contain;
}

.sponsor-slide-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary);
}

.sponsor-slide-url {
  font-size: 0.7rem;
  color: var(--text-gray);
  text-decoration: none;
}

.sponsor-nav-btn {
  background: none;
  border: 1.5px solid #dde0ef;
  color: var(--primary);
  width: 28px; height: 28px;
  border-radius: 50%;
  font-size: 1rem;
  cursor: pointer;
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.15s;
}
.sponsor-nav-btn:hover { background: var(--primary-pale); }

.sponsor-dots {
  display: flex;
  gap: 0.35rem;
  justify-content: center;
  margin-top: 0.25rem;
}

.sponsor-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: #c8cadf;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}
.sponsor-dot.active {
  background: var(--primary);
  transform: scale(1.3);
}
