/* ============================================================
   SILBERPFEILE – style.css
   Dark Marble Design (inspired by the Trikot)
   Farben: Deep Navy, Electric Blue, Silver/Metallic
   ============================================================ */

/* ── Custom Properties ───────────────────────────────────── */
:root {
  --bg-deep:    #04090f;
  --bg-dark:    #070f1c;
  --bg-mid:     #0b1929;
  --bg-card:    #0e2038;
  --blue-dark:  #0d2d52;
  --blue-mid:   #1557a0;
  --blue-elec:  #1e82d4;
  --blue-light: #4aadee;
  --silver:     #a8b8cc;
  --silver-br:  #dde8f0;
  --white:      #f0f6ff;
  --text:       #c8d8e8;
  --text-muted: #7090b0;
  --accent:     #1e82d4;
  --win:        #22a855;
  --draw:       #c8920a;
  --loss:       #cc2233;

    --font-display: 'Bebas Neue Local', sans-serif;
    --font-body:    'Rajdhani Local', sans-serif;
    --font-title:   'Exo2 Local', sans-serif;


  /* Local font-face declarations
     Place the following files in `website/assets/fonts/`:
     - BebasNeue-Regular.woff2
     - Rajdhani-Regular.woff2
     - Rajdhani-Medium.woff2
     - Rajdhani-Bold.woff2
     - Exo2-Regular.woff2
     - Exo2-Bold.woff2
     If you prefer other formats, add corresponding files and update src.
  */

  @font-face {
    font-family: 'Bebas Neue Local';
    src: url('assets/fonts/BebasNeue-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
  }

  @font-face {
    font-family: 'Rajdhani Local';
    src: url('assets/fonts/Rajdhani-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
  }

  @font-face {
    font-family: 'Rajdhani Local';
    src: url('assets/fonts/Rajdhani-Medium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
  }

  @font-face {
    font-family: 'Rajdhani Local';
    src: url('assets/fonts/Rajdhani-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
  }

  @font-face {
    font-family: 'Exo2 Local';
    src: url('assets/fonts/Exo2-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
  }

  @font-face {
    font-family: 'Exo2 Local';
    src: url('assets/fonts/Exo2-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
  }
  --radius: 8px;
  --radius-lg: 16px;
  --transition: 0.25s ease;
  --shadow-glow: 0 0 40px rgba(30,130,212,0.25);
  --shadow-card: 0 4px 24px rgba(0,0,0,0.5);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background: var(--bg-deep);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ── Scrollbar ───────────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-deep); }
::-webkit-scrollbar-thumb { background: var(--blue-mid); border-radius: 3px; }

/* ── Container ───────────────────────────────────────────── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Buttons ─────────────────────────────────────────────── */
.btn {
  display: inline-block;
  padding: 13px 32px;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: all var(--transition);
}

.btn-primary {
  background: linear-gradient(135deg, var(--blue-mid), var(--blue-elec));
  color: #fff;
  box-shadow: 0 4px 20px rgba(30,130,212,0.4);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(30,130,212,0.6);
}

.btn-outline {
  border: 2px solid var(--blue-elec);
  color: var(--blue-light);
}
.btn-outline:hover {
  background: rgba(30,130,212,0.15);
  transform: translateY(-2px);
}

.btn-full { width: 100%; text-align: center; }

/* ── Section Shared ──────────────────────────────────────── */
.section {
  padding: 96px 0;
  position: relative;
}

.section--dark {
  background: var(--bg-dark);
}

/* Subtle marble texture overlay */
.section--dark::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(ellipse at 20% 30%, rgba(30,82,180,0.08) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 70%, rgba(10,50,120,0.12) 0%, transparent 60%);
  pointer-events: none;
}

.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--blue-elec);
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.2rem);
  color: var(--silver-br);
  letter-spacing: 0.06em;
  line-height: 1;
  margin-bottom: 16px;
}

.title-line {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--blue-mid), var(--blue-elec));
  margin: 0 auto 20px;
  border-radius: 2px;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ── Hidden ──────────────────────────────────────────────── */
.hidden { display: none !important; }

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 900;
  padding: 0;
  transition: background var(--transition), backdrop-filter var(--transition);
}

.navbar.scrolled {
  background: rgba(4, 9, 15, 0.88);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(30,130,212,0.2);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 70px;
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.nav-logo-img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  filter: drop-shadow(0 0 8px rgba(30,130,212,0.6));
}

.nav-logo-text {
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: 0.12em;
  color: var(--silver-br);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

.nav-links a {
  padding: 8px 16px;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text);
  border-radius: var(--radius);
  transition: all var(--transition);
}

.nav-links a:hover { color: var(--blue-light); background: rgba(30,130,212,0.1); }

.nav-cta {
  background: linear-gradient(135deg, var(--blue-mid), var(--blue-elec)) !important;
  color: #fff !important;
  padding: 9px 20px !important;
}
.nav-cta:hover {
  box-shadow: 0 4px 16px rgba(30,130,212,0.5);
  transform: translateY(-1px);
}

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  margin-left: auto;
  padding: 8px;
}
.burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--silver-br);
  border-radius: 2px;
  transition: all var(--transition);
}
.burger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Dark blue marble background */
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 0%, #0d2d52 0%, transparent 70%),
    radial-gradient(ellipse at 20% 80%, #071426 0%, transparent 50%),
    radial-gradient(ellipse at 80% 60%, #0a1e38 0%, transparent 50%),
    var(--bg-deep);
}

/* Trikot-style marble texture */
.hero-texture {
  position: absolute;
  inset: 0;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='400'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='400' height='400' filter='url(%23n)' opacity='0.06'/%3E%3C/svg%3E");
  opacity: 0.4;
}

.hero-glow {
  position: absolute;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 600px;
  background: radial-gradient(ellipse, rgba(20,80,180,0.3) 0%, transparent 70%);
  animation: heroGlowPulse 4s ease-in-out infinite alternate;
}

@keyframes heroGlowPulse {
  from { opacity: 0.5; transform: translateX(-50%) scale(1); }
  to   { opacity: 0.8; transform: translateX(-50%) scale(1.1); }
}

.dart-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 120px 24px 80px;
}

.hero-logo-wrap {
  margin-bottom: 24px;
}

.hero-logo {
  width: 140px;
  height: 140px;
  object-fit: contain;
  margin: 0 auto;
  filter:
    drop-shadow(0 0 30px rgba(30,130,212,0.7))
    drop-shadow(0 0 80px rgba(30,130,212,0.3));
  animation: heroLogoFloat 3s ease-in-out infinite alternate;
}

@keyframes heroLogoFloat {
  from { transform: translateY(0); filter: drop-shadow(0 0 30px rgba(30,130,212,0.7)) drop-shadow(0 0 80px rgba(30,130,212,0.3)); }
  to   { transform: translateY(-10px); filter: drop-shadow(0 0 40px rgba(30,160,255,0.9)) drop-shadow(0 0 100px rgba(30,130,212,0.5)); }
}

.hero-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  margin-bottom: 12px;
}

.hero-title-main {
  font-family: var(--font-display);
  font-size: clamp(4rem, 12vw, 9rem);
  line-height: 0.9;
  letter-spacing: 0.08em;
  /* Metallic silver gradient */
  background: linear-gradient(
    180deg,
    #ffffff 0%,
    #dde8f8 20%,
    #8aafd0 50%,
    #c8daf0 75%,
    #ffffff 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 2px 12px rgba(30,130,212,0.4));
}

.hero-title-sub {
  font-family: var(--font-title);
  font-size: clamp(0.9rem, 2.5vw, 1.4rem);
  font-weight: 400;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--blue-light);
}

.hero-since {
  font-size: 0.95rem;
  letter-spacing: 0.2em;
  color: var(--text-muted);
  margin-bottom: 28px;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 36px;
}

.badge {
  padding: 6px 16px;
  border: 1px solid rgba(30,130,212,0.5);
  border-radius: 99px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue-light);
  background: rgba(30,130,212,0.08);
  backdrop-filter: blur(8px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.hero-scroll {
  /* scroll hint removed for mobile polish */
  display: none !important;
}

@keyframes scrollLine {
  0%   { transform: scaleY(0); transform-origin: top; opacity: 1; }
  50%  { transform: scaleY(1); transform-origin: top; opacity: 1; }
  100% { transform: scaleY(1); transform-origin: top; opacity: 0; }
}

/* ============================================================
   STATS STRIP
   ============================================================ */
.stats-strip {
  background: linear-gradient(90deg, var(--blue-dark), #0a1f3c, var(--blue-dark));
  border-top: 1px solid rgba(30,130,212,0.3);
  border-bottom: 1px solid rgba(30,130,212,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
  padding: 32px 24px;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 0 48px;
  min-width: 140px;
}

.stat-num {
  font-family: var(--font-display);
  font-size: 3.5rem;
  line-height: 1;
  background: linear-gradient(180deg, #fff 0%, var(--blue-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.stat-divider {
  width: 1px;
  height: 48px;
  background: rgba(30,130,212,0.3);
}

/* ============================================================
   NEWS
   ============================================================ */
.news-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 24px;
}

.news-card {
  background: var(--bg-card);
  border: 1px solid rgba(30,130,212,0.15);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}

.news-card:hover {
  transform: translateY(-4px);
  border-color: rgba(30,130,212,0.4);
  box-shadow: var(--shadow-glow);
}

.news-card-img {
  height: 200px;
  background-size: cover;
  background-position: center;
  position: relative;
}

.news-card--featured .news-card-img { height: 260px; }

/* Placeholder gradients for news images */
.news-card-img--1 {
  background:
    linear-gradient(135deg, rgba(13,45,82,0.9), rgba(30,82,180,0.7)),
    url('../Screenshot 2026-03-21 191430.png') center/cover;
}
.news-card-img--2 {
  background:
    linear-gradient(135deg, rgba(13,45,82,0.85), rgba(10,30,60,0.9)),
    url('../Screenshot 2026-03-21 191403.png') center/cover;
}
.news-card-img--3 {
  background: linear-gradient(135deg, #0d2d52, #071426);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
}
.news-card-img--3::after { content: '🎯'; }

.news-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 10px;
}

.news-date {
  font-size: 0.78rem;
  color: var(--text-muted);
  letter-spacing: 0.08em;
}

.news-tag {
  display: inline-block;
  padding: 3px 10px;
  background: rgba(30,130,212,0.18);
  border-radius: 4px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue-light);
  width: fit-content;
}

.news-card h3 {
  font-family: var(--font-title);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--silver-br);
  line-height: 1.3;
}

.news-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  flex: 1;
}

.news-link {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--blue-elec);
  letter-spacing: 0.06em;
  transition: color var(--transition);
  margin-top: auto;
}
.news-link:hover { color: var(--blue-light); }

/* ============================================================
   SPIELPLAN
   ============================================================ */
.liga-tabs {
  display: flex;
  gap: 4px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(30,130,212,0.2);
  border-radius: var(--radius-lg);
  padding: 4px;
  margin-bottom: 32px;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

.liga-tab {
  padding: 10px 24px;
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: all var(--transition);
}

.liga-tab.active {
  background: linear-gradient(135deg, var(--blue-mid), var(--blue-elec));
  color: #fff;
  box-shadow: 0 2px 12px rgba(30,130,212,0.4);
}

.liga-tab:hover:not(.active) { color: var(--blue-light); }

.spielplan-table {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(30,130,212,0.2);
  margin-bottom: 24px;
}

.spielplan-table table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}

.spielplan-table thead tr {
  background: rgba(30,82,180,0.2);
  border-bottom: 1px solid rgba(30,130,212,0.3);
}

.spielplan-table th {
  padding: 14px 16px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-align: left;
  white-space: nowrap;
}

.spielplan-table td {
  padding: 14px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  vertical-align: middle;
  white-space: nowrap;
}

.spielplan-table tbody tr { transition: background var(--transition); }
.spielplan-table tbody tr:hover { background: rgba(30,130,212,0.06); }
.spielplan-table tbody tr:last-child td { border-bottom: none; }

/* Result rows */
.result--win   { border-left: 3px solid var(--win); }
.result--draw  { border-left: 3px solid var(--draw); }
.result--loss  { border-left: 3px solid var(--loss); }

.team { font-weight: 600; color: var(--text); }
.team--us { color: var(--blue-light); font-weight: 700; }

.vs {
  color: var(--text-muted);
  font-size: 0.8rem;
  text-align: center;
  font-weight: 700;
}

.score { font-family: var(--font-display); font-size: 1.1rem; letter-spacing: 0.05em; }
.score-us   { color: var(--blue-light); }
.score-them { color: var(--silver); }

.upcoming { background: rgba(255,255,255,0.02); }
.upcoming-label {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.next-game { 
  background: rgba(34,168,85,0.12); 
  border-left: 4px solid var(--win) !important; 
  box-shadow: inset 0 0 16px rgba(34,168,85,0.05);
}
.next-label { color: var(--win) !important; font-weight: 800; text-transform: uppercase; letter-spacing: 0.05em; animation: pulseDot 2s ease-in-out infinite; }

@keyframes pulseDot {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.5; }
}

.spielplan-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.06em;
}

.legend-item::before {
  content: '';
  width: 12px;
  height: 3px;
  border-radius: 2px;
}
.legend-item--win::before  { background: var(--win); }
.legend-item--draw::before { background: var(--draw); }
.legend-item--loss::before { background: var(--loss); }
.legend-item--next::before { background: var(--blue-elec); }

/* ============================================================
   ÜBER UNS
   ============================================================ */
.about-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-lead {
  font-family: var(--font-title);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--silver-br);
  line-height: 1.4;
  margin-bottom: 20px;
}

.about-text p {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 16px;
}

.about-values {
  display: flex;
  gap: 24px;
  margin-top: 32px;
}

.value-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.value-icon {
  width: 56px;
  height: 56px;
  background: rgba(30,130,212,0.12);
  border: 1px solid rgba(30,130,212,0.3);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
}

.value-item span {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.about-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-shirt-wrap {
  position: relative;
  max-width: 400px;
  width: 100%;
}

.about-shirt {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  position: relative;
  z-index: 1;
  transition: transform var(--transition);
}
.about-shirt:hover { transform: scale(1.02) rotate(-1deg); }

.about-shirt-glow {
  position: absolute;
  inset: -20px;
  background: radial-gradient(ellipse, rgba(30,130,212,0.2) 0%, transparent 70%);
  z-index: 0;
  animation: heroGlowPulse 3s ease-in-out infinite alternate;
}

/* ============================================================
   SPONSOREN
   ============================================================ */
.sponsors-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 48px;
}

.sponsor-card {
  background: rgba(14,32,56,0.6);
  border: 1px solid rgba(30,130,212,0.15);
  border-radius: var(--radius-lg);
  padding: 28px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  transition: all var(--transition);
  text-align: center;
  backdrop-filter: blur(8px);
}

.sponsor-card:hover {
  transform: translateY(-4px);
  border-color: rgba(30,130,212,0.4);
  box-shadow: var(--shadow-glow);
  background: rgba(14,32,56,0.9);
}

.sponsor-logo-wrap {
  /* square box for logos — prefer a true aspect ratio so logos stay square */
  width: 160px;
  aspect-ratio: 1/1;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}

.sponsor-img {
  width: auto;
  height: auto;
  max-width: 88%;
  max-height: 88%;
  object-fit: contain;
  object-position: center;
  filter: grayscale(0.02) brightness(1.02);
  transition: filter var(--transition), transform var(--transition);
}
.sponsor-card:hover .sponsor-img { filter: none; }

/* Logos mit weißem Hintergrund: weißen Rahmen geben */
.sponsor-logo-wrap--white {
  background: #fff;
  border-radius: 10px;
  padding: 12px;
  width: 160px;
  aspect-ratio: 1/1;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Ensure dark logos visually match white ones in scale */
.sponsor-logo-wrap:not(.sponsor-logo-wrap--white) .sponsor-img { max-width: 86%; max-height: 86%; }
.sponsor-logo-wrap--white .sponsor-img { max-width: 88%; max-height: 88%; }

/* Slightly increase white logo card size for parity */
.sponsor-logo-wrap--white { padding: 10px; }

/* Dunkle Logos (CJP) – kein Filter nötig */
.sponsor-img--dark {
  filter: none !important;
}

/* Rundes Logo (Schott) */
.sponsor-img--round {
  border-radius: 50%;
  width: 120px;
  height: 120px;
  object-fit: cover;
}

/* Text-based sponsor logos */
.sponsor-logo-text {
  font-family: var(--font-display);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--silver-br);
  font-size: 1.8rem;
}

.sponsor-mayfix .sf-may { color: #4a9fd4; }
.sponsor-mayfix .sf-fix { color: var(--silver-br); }
.sponsor-designl { font-family: var(--font-title); font-weight: 900; font-style: italic; color: var(--silver-br); font-size: 1.6rem; }
.sponsor-schott  { font-size: 2rem; color: var(--silver); }

.sponsor-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.sponsor-info strong {
  font-size: 1rem;
  font-weight: 700;
  color: var(--silver-br);
  letter-spacing: 0.06em;
}

.sponsor-info span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ============================================================
   LEGAL / IMPRESSUM
   ============================================================ */
.legal-page { padding: 48px 0; }
.legal-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
  border: 1px solid rgba(255,255,255,0.04);
  border-radius: 12px;
  padding: 32px;
  box-shadow: var(--shadow-card);
}
.legal-card header h1 {
  font-family: var(--font-display);
  font-size: 2.4rem;
  margin-bottom: 6px;
  color: var(--silver-br);
}
.legal-card .lead { color: var(--text-muted); margin-bottom: 18px; }
.impressum-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: start; }
.impressum-left address { font-style: normal; line-height: 1.6; color: var(--text); }
.impressum-left h2, .impressum-right h3 { color: var(--silver-br); margin-bottom: 8px; }
.impressum-right p { color: var(--text-muted); line-height: 1.6; }
.legal-footer { margin-top: 18px; display:flex; justify-content:space-between; align-items:center; gap:16px; }
.legal-footer .muted { color: var(--text-muted); }

@media (max-width: 880px) {
  .impressum-grid { grid-template-columns: 1fr; }
  .legal-card { padding: 20px; }
  .legal-card header h1 { font-size: 1.8rem; }
}

.sponsor-cta {
  text-align: center;
  padding-top: 16px;
}

.sponsor-cta p {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

/* ============================================================
   KONTAKT
   ============================================================ */
.kontakt-layout {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 64px;
  align-items: start;
}

.kontakt-info {
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding-top: 8px;
}

.kontakt-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.kontakt-icon {
  font-size: 1.4rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.kontakt-item strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--silver-br);
  margin-bottom: 4px;
}

.kontakt-item span {
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* Form */
.kontakt-form {
  background: var(--bg-card);
  border: 1px solid rgba(30,130,212,0.2);
  border-radius: var(--radius-lg);
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.form-group input,
.form-group textarea {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(30,130,212,0.25);
  border-radius: var(--radius);
  padding: 12px 16px;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text);
  transition: border-color var(--transition), box-shadow var(--transition);
  resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--blue-elec);
  box-shadow: 0 0 0 3px rgba(30,130,212,0.15);
}

.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-muted); opacity: 0.5; }

.form-hint {
  font-size: 0.75rem;
  color: var(--text-muted);
  opacity: 0.6;
  text-align: center;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--bg-deep);
  border-top: 1px solid rgba(30,130,212,0.15);
  padding: 48px 0 0;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px 48px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 32px;
  justify-content: center;
  text-align: center;
  color: var(--white);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer-logo {
  width: 50px;
  height: 50px;
  object-fit: contain;
  filter: drop-shadow(0 0 8px rgba(30,130,212,0.5));
}

.footer-name {
  font-family: var(--font-display);
  font-size: 1.4rem;
  letter-spacing: 0.1em;
  color: var(--silver-br);
}

.footer-sub {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
}

.footer-links a {
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--blue-light); }

.footer-legal {
  display: flex;
  gap: 16px;
}

.footer-legal a {
  font-size: 0.8rem;
  color: var(--white);
  opacity: 0.85;
  transition: opacity var(--transition);
}
.footer-legal a:hover { opacity: 1; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.05);
  padding: 16px 24px;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.78rem;
  color: var(--white);
  opacity: 0.7;
}

/* ── Sponsors Trikot Showcase ────────────────────────────── */
.sponsors-trikot {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 56px auto 48px;
  max-width: 600px;
  background: rgba(14,32,56,0.5);
  border: 1px solid rgba(30,130,212,0.15);
  border-radius: var(--radius-lg);
  padding: 40px;
  backdrop-filter: blur(8px);
}

.sponsors-trikot-img-wrap {
  position: relative;
  width: 100%;
}

.sponsors-trikot-img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  transition: transform var(--transition);
}

.sponsors-trikot-img:hover { transform: scale(1.02) rotate(-1deg); }

/* ── Kontakt Logo ────────────────────────────────────────── */
.kontakt-logo-wrap {
  margin-top: 32px;
  padding-top: 32px;
  border-top: 1px solid rgba(30,130,212,0.1);
}

.kontakt-logo {
  width: 100px;
  filter: drop-shadow(0 0 16px rgba(30,130,212,0.5));
}

/* ── News card emoji placeholder ───────────────────────── */
.news-card-dart-emoji {
  height: 200px;
  background: linear-gradient(135deg, #0d2d52, #071426);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
}
.news-card-dart-emoji::after { content: '🎯'; }

/* ============================================================
   SCROLL ANIMATIONS
   ============================================================ */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .news-grid {
    grid-template-columns: 1fr 1fr;
  }
  .news-card--featured {
    grid-column: span 2;
  }
  .sponsors-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .section { padding: 64px 0; }

  /* Nav */
  .burger { display: flex; }
  /* Hide nav links by default on mobile; reveal when `.open` is set */
  .nav-links {
    position: fixed;
    top: 70px;
    left: 0; right: 0;
    background: rgba(4, 9, 15, 0.97);
    backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: stretch;
    padding: 16px 24px 32px;
    gap: 4px;
    border-bottom: 1px solid rgba(30,130,212,0.2);
    transform: translateY(-110%);
    transition: transform var(--transition);
    z-index: 800;
    display: none;
  }
  .nav-links.open { display: flex; transform: translateY(0); }
  .nav-links a { padding: 14px 16px; font-size: 1rem; }

  /* Hero */
  .hero-logo { width: 100px; height: 100px; }

  /* Stats */
  .stats-strip { gap: 16px; }
  .stat-item { padding: 0 20px; min-width: 100px; }
  .stat-divider { height: 32px; }

  /* News */
  .news-grid { grid-template-columns: 1fr; }
  .news-card--featured { grid-column: span 1; }

  /* Liga tabs */
  .liga-tabs { flex-direction: column; width: 100%; }

  /* About */
  .about-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .about-visual { order: -1; }
  .about-shirt-wrap { max-width: 300px; margin: 0 auto; }

  /* Sponsors */
  .sponsors-grid { grid-template-columns: 1fr 1fr; }
  .sponsor-logo-wrap { width: 120px; height: 120px; }
  .sponsor-logo-wrap--white { width: 120px; height: 120px; padding: 10px; }
  .sponsor-img--round { width: 90px; height: 90px; }

  /* Sponsor trikot */
  .sponsors-trikot { grid-template-columns: 1fr; padding: 28px; }
  .sponsors-trikot-img-wrap { order: -1; }

  /* Kontakt */
  .kontakt-layout { grid-template-columns: 1fr; gap: 40px; }
  .kontakt-form { padding: 24px; }

  /* Footer */
  .footer-inner { flex-direction: column; align-items: center; gap: 24px; }
}

/* Mobile enhancements: improved readability and touch targets */
@media (max-width: 600px) {
  /* Reduce hero space for faster access to content */
  .hero { min-height: 60vh; }
  .hero-content { padding: 64px 16px 40px; }
  .hero-title-main { font-size: clamp(2.2rem, 10vw, 4.2rem); }

  /* Buttons larger and easier to tap */
  .btn { padding: 14px 20px; font-size: 0.95rem; }

  /* Spielplan: card-like layout — two-row grid per match for mobile
     Top row: date (left) and time/score (right)
     Bottom row: home | vs | guest */
  .spielplan-table { border-radius: 10px; }
  .spielplan-table table { display: block; }
  .spielplan-table thead { display: none; }
  .spielplan-table tbody { display: block; }
  .spielplan-table tbody tr {
    display: grid;
    grid-template-columns: 1fr 60px 1fr;
    grid-template-rows: auto auto;
    gap: 8px 12px;
    background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.00));
    border: 1px solid rgba(255,255,255,0.04);
    margin: 0 8px 14px;
    padding: 12px 14px;
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.35);
    align-items: center;
  }

  /* Top row: date (col 1) and time/score (col 3) */
  .spielplan-table tbody tr td:nth-child(1) { grid-column: 1 / 2; grid-row: 1 / 2; font-size: 0.92rem; color: var(--text-muted); }
  .spielplan-table tbody tr td:nth-child(5) { grid-column: 3 / 4; grid-row: 1 / 2; text-align: right; font-weight: 700; color: var(--silver-br); }

  /* Bottom row: teams and vs */
  .spielplan-table tbody tr td:nth-child(2) { grid-column: 1 / 2; grid-row: 2 / 3; font-weight: 700; color: var(--text); }
  .spielplan-table tbody tr td:nth-child(3) { grid-column: 2 / 3; grid-row: 2 / 3; justify-self: center; color: var(--text-muted); font-weight: 800; }
  .spielplan-table tbody tr td:nth-child(4) { grid-column: 3 / 4; grid-row: 2 / 3; text-align: right; font-weight: 700; color: var(--text); }

  /* Ensure team names wrap nicely */
  .spielplan-table tbody tr td { white-space: normal; padding: 4px 0; }

  /* Next game stronger styling */
  .spielplan-table tbody tr.next-game {
    background: linear-gradient(180deg, rgba(34,168,85,0.06), rgba(34,168,85,0.02));
    border-color: rgba(34,168,85,0.15);
    box-shadow: 0 8px 24px rgba(34,168,85,0.06);
  }
  .spielplan-table tbody tr .next-label { display: inline-block; color: var(--win); padding: 6px 8px; border-radius: 8px; background: rgba(34,168,85,0.06); font-weight:700; }

  /* Sponsors full width and bigger logo boxes */
  .sponsors-grid { grid-template-columns: 1fr; gap: 18px; }
  .sponsor-card { padding: 20px; }
  .sponsor-logo-wrap { height: 140px; width: 100%; }

  /* Footer spacing */
  .footer-inner { padding: 18px 12px; }
}

@media (max-width: 480px) {
  .sponsors-grid { grid-template-columns: 1fr; }
  .about-values { flex-wrap: wrap; justify-content: center; }
  .hero-actions { flex-direction: column; align-items: center; }
  .hero-actions .btn { width: 100%; max-width: 280px; text-align: center; }

  /* Mobile: make logo boxes fluid while keeping good size */
  /* Enforce square sponsor boxes on very small screens */
  .sponsor-logo-wrap {
    width: 100%;
    max-width: 220px; /* cap width so boxes don't stretch full width */
    aspect-ratio: 1 / 1 !important; /* force square */
    height: auto !important;
    margin: 0 auto; /* center within card */
    padding: 12px;
  }
  .sponsor-logo-wrap--white {
    width: 100%;
    max-width: 220px;
    aspect-ratio: 1 / 1 !important;
    height: auto !important;
    padding: 12px;
    margin: 0 auto;
  }
  .sponsor-img--round { width: 120px; height: 120px; }

  .sponsor-img { max-width: 85%; max-height: 85%; }
}
