body {
      margin: 0;
      font-family: Arial, sans-serif;
      background-color: #1c1f26;
      color: white;
      padding-top: 80px;
    }

    header {
      background: linear-gradient(90deg, #111, #1a1a1a);
      padding: 20px;
      text-align: center;
      border-bottom: 2px solid #1e90ff;
    }

    header h1 {
      margin: 0;
      color: #1e90ff;
      font-size: 28px;
      letter-spacing: 2px;
    }

.hero {
  position: relative;
  min-height: 600px;
  height: auto;
  background: url("../assets/images/venue/viadukt-hintergrund.png") center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

/* dunkler Overlay für bessere Lesbarkeit */
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    rgba(0, 0, 0, 0.7),
    rgba(0, 0, 0, 0.4)
  );
}

/* Inhalt */
.hero-wrapper {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1400px;
  padding: 20px;
  display: flex;
  gap: 30px;
  justify-content: center;
  align-items: stretch;
  flex-wrap: wrap;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  flex: 1;
  min-width: 320px;
  padding: 30px;
  border-radius: 20px;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(8px);
  text-align: center;
}

.news-box {
  width: 340px;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(30,144,255,0.25);
  border-radius: 20px;
  padding: 25px;
  text-align: left;
  box-shadow: 0 12px 40px rgba(0,0,0,0.35);
}

.news-box h3 {
  margin-top: 0;
  margin-bottom: 20px;
  color: #1e90ff;
}

.news-item {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 14px;
  padding: 14px;
  margin-bottom: 14px;
  transition: 0.3s;
}

.news-item:hover {
  transform: translateY(-3px);
  border-color: #1e90ff;
}

.news-item img {
  width: 100%;
  border-radius: 10px;
  margin-bottom: 12px;
}

.news-item h4 {
  margin-top: 0;
  margin-bottom: 10px;
  color: white;
}

.news-item a {
  color: #1e90ff;
  text-decoration: none;
  font-weight: bold;
}

.news-item a:hover {
  text-decoration: underline;
}

/* Logo */
.hero-logo {
  width: 140px;
  margin-bottom: 25px;
  opacity: 0.95;
  transition: 0.3s;
}

.hero-logo:hover {
  transform: scale(1.05);
}

.btn {
  background: #1e90ff;
  color: white;
  padding: 15px 30px;
  text-decoration: none;
  font-weight: bold;
  border-radius: 30px;
  transition: all 0.3s ease;
  display: inline-block;
}

.btn:hover {
  background: #0d6efd;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(30, 144, 255, 0.3);
}
    

.section {
  padding: 80px 20px;
  text-align: center;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.section.show {
  opacity: 1;
  transform: translateY(0);
}

.section h3 {
  position: relative;
  display: inline-block;
  margin: 0 0 42px;
  padding: 18px 28px;
  color: #ffffff;
  font-size: clamp(32px, 4vw, 42px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: 3px;
  text-transform: uppercase;
  text-shadow: 0 0 16px rgba(30, 144, 255, 0.28);
}

.section h3::before,
.section h3::after {
  content: "";
  position: absolute;
  left: 50%;
  width: 90px;
  height: 2px;
  transform: translateX(-50%);
  background: linear-gradient(
    to right,
    transparent,
    #1e90ff,
    transparent
  );
  box-shadow: 0 0 10px rgba(30, 144, 255, 0.45);
}

.section h3::before {
  top: 0;
}

.section h3::after {
  bottom: 0;
}

@media (max-width: 768px) {
  .section h3 {
    margin-bottom: 34px;
    padding: 15px 18px;
    letter-spacing: 2px;
  }

  .section h3::before,
  .section h3::after {
    width: 70px;
  }
}

.verein-text,
.vereinsheim-text,
.kontakt-box,
.map-section,
.slideshow-container {
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

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

    .feature-box {
      background: #111;
      padding: 25px;
      width: 250px;
      border-radius: 10px;
      border: 1px solid #222;
      transition: 0.3s;
    }

    .feature-box:hover {
      transform: translateY(-5px);
      border-color: #1e90ff;
    }

    .feature-box h4 {
      margin-bottom: 10px;
      color: white;
    }

    .feature-box p {
      color: #aaa;
      font-size: 14px;
    }

    .cta {
      background: linear-gradient(90deg, #111, #000);
      padding: 80px 20px;
    }

    footer {
      background: #000;
      padding: 20px;
      text-align: center;
      color: #666;
      font-size: 14px;
    }

 @media (max-width: 768px) {

  .hero h2 {
    font-size: 28px;
  }

  .features {
    flex-direction: column;
    align-items: center;
  }

  .hero-wrapper {
    flex-direction: column;
    align-items: center;
  }

  .news-box {
    width: 100%;
    max-width: 700px;
  }
}


 .team-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
  background: #111;
  border-radius: 10px;
  overflow: hidden;
  table-layout: fixed;
}

.team-table th {
  background: #1e90ff;
  color: white;
  padding: 12px;
  text-align: center;
}

.team-table td {
  padding: 12px;
  border-bottom: 1px solid #222;
  color: #ccc;
  vertical-align: top;
  word-break: break-word;
}

.team-table th:nth-child(1),
.team-table td:nth-child(1) {
  width: 34%;
}

.team-table th:nth-child(2),
.team-table td:nth-child(2) {
  width: 23%;
}

.team-table th:nth-child(3),
.team-table td:nth-child(3) {
  width: 18%;
}

.team-table th:nth-child(4),
.team-table td:nth-child(4) {
  width: 25%;
}

.team-table tr:hover {
  background: #1a1a1a;
}

.team-table a {
  color: #1e90ff;
  text-decoration: none;
  font-weight: bold;
}

.team-table a:hover {
  text-decoration: underline;
}

.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: #1c1f26;
  border-bottom: 2px solid #1e90ff;
  z-index: 1000;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 30px;
}

.logo {
  color: #1e90ff;
  font-weight: bold;
  font-size: 18px;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
}

.nav-links a {
  color: white;
  text-decoration: none;
  font-weight: bold;
  transition: 0.3s;
}

.nav-links a:hover,
.nav-links a.active {
  color: #1e90ff;
}

.verein-text {
  max-width: 900px;
  margin: auto;
  text-align: left;
}

.verein-text p {
  color: #ccc;
  line-height: 1.6;
  margin-bottom: 20px;
}

.vereinsheim-text {
  max-width: 900px;
  margin: 30px auto;
  text-align: left;
}

.vereinsheim-text p {
  color: #ccc;
  line-height: 1.6;
  margin-bottom: 20px;
}

.highlight {
  background: rgba(30, 144, 255, 0.1);
  border-left: 4px solid #1e90ff;
  padding: 15px;
  border-radius: 5px;
  color: white;
}

.slideshow-container {
  max-width: 800px;
  height: 450px;
  margin: auto;
  position: relative;
  overflow: hidden;
  border-radius: 10px;
}

.slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
  display: none;
}

.slide.active {
  display: block;
}

.vorstand {
  margin-top: 60px;
}

.vorstand-container {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.vorstand-card {
  background: #111;
  padding: 20px;
  border-radius: 10px;
  width: 200px;
  text-align: center;
  border: 1px solid #222;
  transition: 0.3s;
}

.vorstand-card:hover {
  transform: translateY(-5px);
  border-color: #1e90ff;
}

.vorstand-card img {
  width: 100%;
  border-radius: 10px;
  margin-bottom: 15px;
}

.vorstand-card h4 {
  margin: 10px 0 5px;
  color: white;
}

.vorstand-card p {
  color: #1e90ff;
  font-weight: bold;
}

.logo img {
  height: 50px;
  transition: 0.3s;
}

.logo img:hover {
  transform: scale(1.05);
}

.footer-links {
  margin-top: 10px;
}

.footer-links a {
  color: #1e90ff;
  text-decoration: none;
  margin: 0 5px;
}

.footer-links a:hover {
  text-decoration: underline;
}

.map-section {
  margin-top: 50px;
  text-align: center;
}

.map-section h4 {
  color: #1e90ff;
  margin-bottom: 10px;
}

.adresse {
  color: #ccc;
  margin-bottom: 20px;
}

.map-container {
  max-width: 800px;
  margin: auto;
  border-radius: 10px;
  overflow: hidden;
  border: 2px solid #1e90ff;
}

.team-row {
  cursor: pointer;
}

.team-row:hover {
  background: #1a1a1a;
}

.team-details {
  display: none;
  background: #15181e;
}

.spieler-box {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 15px;
}

.spieler-box span {
  background: rgba(30, 144, 255, 0.1);
  border: 1px solid #1e90ff;
  padding: 8px 12px;
  border-radius: 20px;
  color: #ccc;
  font-size: 14px;
}

.kontakt-box {
  max-width: 1000px;
  margin: auto;
}

.kontakt-intro {
  color: #ccc;
  max-width: 800px;
  margin: 0 auto 40px;
  line-height: 1.6;
}

.kontakt-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}

.kontakt-card {
  background: #111;
  border: 1px solid #222;
  border-radius: 12px;
  padding: 25px;
  text-align: left;
  transition: 0.3s;
}

.kontakt-card:hover {
  transform: translateY(-5px);
  border-color: #1e90ff;
}

.kontakt-card h4 {
  color: #1e90ff;
  margin-top: 0;
  margin-bottom: 15px;
}

.kontakt-card p {
  color: #ccc;
  line-height: 1.6;
  margin: 0;
}

.kontakt-card a {
  color: #1e90ff;
  text-decoration: none;
}

.kontakt-card a:hover {
  text-decoration: underline;
}

.kontakt-cta {
  margin-top: 20px;
}

.kontakt-cta p {
  color: #ccc;
  margin-bottom: 20px;
}

.menu-toggle {
  display: none;
  font-size: 30px;
  color: white;
  cursor: pointer;
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .nav-container {
    flex-wrap: wrap;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    width: 100%;
    background: #1c1f26;
    margin-top: 15px;
    padding: 10px 0;
    gap: 0;
  }

  .nav-links.show {
    display: flex;
  }

  .nav-links li {
    text-align: center;
    padding: 12px 0;
  }

  .nav-links a {
    display: block;
    width: 100%;
  }
}

html {
  scroll-behavior: smooth;
}

section {
  scroll-margin-top: 100px;
}

.hero h2 {
  font-size: 48px;
  color: white;
  margin-bottom: 15px;
  font-weight: 700;
  line-height: 1.2;
}
.hero p {
  color: #ccc;
  margin-top: 0;
  margin-bottom: 25px;
  font-size: 18px;
  line-height: 1.6;
}

.hero-btn {
  display: inline-block;
  margin-top: 10px;
}

.footer-credit {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,0.08);
  font-size: 12px;
  color: #777;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.footer-credit-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #d4af37;
  text-decoration: none;
  transition: 0.3s;
  opacity: 0.9;
}

.footer-credit-link:hover {
  opacity: 1;
  transform: translateY(-1px);
}

.mitglied-section {
  position: relative;
  background:
    linear-gradient(
      rgba(0, 0, 0, 0.82),
      rgba(0, 0, 0, 0.82)
    ),
    url("../assets/images/venue/viadukt-silber.png")
    center/cover no-repeat;

  overflow: hidden;
}

.footer-credit img {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

.calendar-box {
  position: relative;
  max-width: 1100px;
  margin: 40px auto 0;
  border-radius: 18px;
  overflow: hidden;

  border: 2px solid rgba(30,144,255,0.25);

  box-shadow:
    0 12px 40px rgba(0,0,0,0.35),
    0 0 30px rgba(30,144,255,0.15);

  background:
    linear-gradient(
      rgba(10,10,10,0.92),
      rgba(10,10,10,0.92)
    ),
    url("../assets/images/branding/bsf-logo.png")
    center center / 380px no-repeat;
}

.calendar-box::before {
  content: "";

  position: absolute;
  inset: 0;

  background:
    url("../assets/images/branding/bsf-logo.png")
    center center / 380px no-repeat;

  opacity: 0.06;

  pointer-events: none;

  z-index: 1;
}

.calendar-box iframe {
  position: relative;
  z-index: 2;

  width: 100%;
  height: 700px;

  border: none;

  background: transparent;
}

@media (max-width: 768px) {

  .calendar-box {
    background-size: 260px;
  }

  .calendar-box::before {
    background-size: 260px;
  }

  .calendar-box iframe {
    height: 500px;
  }

}

  
/* Abschnittstrenner */
.section-divider{position:relative;height:80px;display:flex;align-items:center;justify-content:center}
.section-divider::before{content:"";width:min(85%,900px);height:1px;background:linear-gradient(to right,transparent,#1e90ff,transparent)}
.section-divider::after{content:"";position:absolute;width:18px;height:18px;border:2px solid #1e90ff;border-radius:50%;background:#1c1f26;box-shadow:0 0 12px rgba(30,144,255,.45),inset 0 0 0 4px #1c1f26,inset 0 0 0 7px #1e90ff}
.section:nth-of-type(even){background:#181b22;}


/* Kompakte News-Galerie im Hero */
.news-mini-gallery {
  position: relative;
  width: 100%;
  height: 220px;
  margin-bottom: 12px;
  overflow: hidden;
  border-radius: 10px;
  background: #111820;
}

.news-mini-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}

.news-mini-slide.active {
  opacity: 1;
  pointer-events: auto;
}

.news-mini-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  margin: 0;
  border-radius: 10px;
}

.news-mini-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 50%;
  background: rgba(0,0,0,0.58);
  color: white;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  z-index: 3;
}

.news-mini-btn:hover {
  background: rgba(30,144,255,0.9);
}

.news-mini-btn.prev {
  left: 9px;
}

.news-mini-btn.next {
  right: 9px;
}

.news-mini-dots {
  position: absolute;
  left: 50%;
  bottom: 9px;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 3;
  padding: 5px 8px;
  border-radius: 999px;
  background: rgba(0,0,0,0.42);
}

.news-mini-dot {
  width: 7px;
  height: 7px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(255,255,255,0.55);
  cursor: pointer;
}

.news-mini-dot.active {
  background: #1e90ff;
  transform: scale(1.2);
}

.news-mini-counter {
  position: absolute;
  top: 9px;
  right: 9px;
  z-index: 3;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(0,0,0,0.58);
  color: white;
  font-size: 11px;
}
