body {
  margin: 0;
  font-family: 'Montserrat', sans-serif;
  background-color: #f9f9f9;
  color: #333;
}

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

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
}

.logo img {
  height: 40px;
  margin-right: 0.5rem;
}

.logo span {
  font-weight: bold;
  font-size: 1.5rem;
}

/* Menüleiste */
.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links li {
  position: relative;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: color 0.3s;
  padding: 0.5rem 0.75rem;
  display: block;
}

.nav-links a:hover {
  color: red;
}

/* Dropdown-Menü */
.dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border-radius: 4px;
  min-width: 180px;
  padding: 0.5rem 0;
  z-index: 1100;
}

.dropdown-content li {
  list-style: none;
}

.dropdown-content li a {
  padding: 0.5rem 1rem;
  color: #333;
  transition: color 0.3s;
}

.dropdown-content li a:hover {
  color: red;
}

/* Hover (Desktop) */
.dropdown:hover .dropdown-content {
  display: block;
}

/* Toggle-Button */
.menu-toggle {
  display: none;
  font-size: 1.5rem;
  background: none;
  border: none;
  cursor: pointer;
}

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

  .nav-links {
    display: none;
    flex-direction: column;
    background: white;
    position: absolute;
    top: 100%;
    right: 0;
   width: 35%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
      border-bottom-left-radius: 15px;
  }

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

  .nav-links li {
    width: 100%;
  }

  .dropdown-content {
    position: static;
    display: none;
    background: none;
    box-shadow: none;
    padding-left: 1rem;
  }

  .dropdown.show .dropdown-content {
    display: block;
  }
}

/* Cursor für Dropdown */
.dropdown-toggle {
  cursor: pointer;
}



/* Allgemeine Navigation */
.navbar {
    position: fixed;
  background-color: #fff;
  padding: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid #eee;
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: bold;
  font-size: 1.2rem;
}

.logo img {
  height: 50px;
}

.menu-toggle {
  display: none;
  font-size: 1.5rem;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1rem;
}

.nav-links li a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
    font-size: 1.5rem;
    background: none;
    border: none;
    cursor: pointer;
    color: #333;
  }

  .nav-links {
    position: absolute;
    top: 70px;
    right: 0;
    background-color: #fff;
    flex-direction: column;
    width: 220px;
    display: none;
    padding: 1rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    border-radius: 0 0 12px 12px;
    transition: all 0.3s ease;
  }

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

  .nav-links li {
    padding: 12px 0;
    border-bottom: 1px solid #eee;
  }

  .nav-links li a {
    color: #1d1d1f;
    font-weight: 500;
    text-decoration: none;
  }

  .nav-links li a:hover {
    color: #e63946;
  }
}
/* Burger-Menü nur auf kleinen Bildschirmen anzeigen */
.menu-toggle {
  display: none;
}

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

/* Hero-Bereich */
.hero-header {
  position: relative;
  width: 100%;
  height: 60vh;
  overflow: hidden;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  background-color: rgba(0, 0, 0, 0.45);
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-content {
  text-align: center;
  color: white;
  padding: 20px;
  max-width: 800px;
}

.hero-content h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 0.5em;
}

.hero-content p {
  font-size: 1.2rem;
  font-weight: 300;
}


/* --- FAQ-Sektion für Verein (Turnen & Fußball) --- */
.faq-section {
  max-width: 900px;
  margin: 4rem auto;
  padding: 0 1rem;
  text-align: center;
}

.haeufige-fragen-title {
  font-size: 2.4rem;
  font-weight: 700;
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
  padding-bottom: 0.4rem;
  color: #000;
}

.haeufige-fragen-title::after {
  content: '';
  position: absolute;
  width: 50px;
  height: 4px;
  background-color: #cc0000; /* Vereinsrot */
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 2px;
}

.faq-container {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2rem;
}
.faq-section {
  max-width: 900px;
  margin: 4rem auto;
  padding: 0 1rem;
  text-align: center;
}

.haeufige-fragen-title {
  font-size: 2.4rem;
  font-weight: 700;
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
  padding-bottom: 0.4rem;
  color: #000;
}

.haeufige-fragen-title::after {
  content: '';
  position: absolute;
  width: 50px;
  height: 4px;
  background-color:  #e63946; /* Blau passend zu Fußball */
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 2px;
}

.faq-container {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2rem;
}

.faq {
  border: 1px solid #ddd;
  border-radius: 0.8rem;
  padding: 0.8rem 1.2rem;
  background-color: #fff;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.05);
  text-align: left;
  transition: box-shadow 0.3s ease;
}

.faq[open] {
  box-shadow: 0 4px 16px rgba(0, 85, 165, 0.15); /* Blau statt Rot */
}

.faq summary {
  font-weight: 700;
  font-size: 1.2rem;
  cursor: pointer;
  outline: none;
  list-style: none;
  padding: 0.4rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.faq summary span {
  display: inline-block;
  flex: 1;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::before {
  content: '+';
  font-weight: 700;
  font-size: 1.4rem;
  margin-right: 1rem;
  color: #0055a5; /* Blaues Plus */
  transition: transform 0.3s ease;
}

.faq[open] summary::before {
  content: '−';
  transform: rotate(180deg);
}

.faq p {
  margin-top: 0.5rem;
  font-size: 1rem;
  line-height: 1.5;
  color: #333;
}


/* Team-Boxen etc. bleiben unverändert */
.section-title {
  text-align: center;
  font-size: 2.8rem;
  color: #1a3d5d;
  margin-bottom: 3rem;
  position: relative;
}
.section-title::after {
  content: "";
  display: block;
  width: 70px;
  height: 4px;
  background-color: #e63946;
  border-radius: 2px;
  margin: 1rem auto 0;
}
.team-box {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  margin-bottom: 80px;
  padding: 2rem;
  border-radius: 20px;
  background: #ffffff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}
@media (min-width: 992px) {
  .team-box {
    flex-direction: row;
    align-items: center;
  }
  .team-box:nth-child(even) {
    flex-direction: row-reverse;
  }
}
.team-content {
  flex: 1;
  padding: 1rem;
}
.team-content h3 {
  font-size: 2rem;
  color: #0055a5;
  margin-bottom: 1rem;
}
.team-content p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #333;
  margin-bottom: 1rem;
}
.team-content p strong {
  color: #e63946;
}
.team-image {
  flex: 1;
  padding: 1rem;
}
.team-image img {
  width: 100%;
  border-radius: 16px;
  object-fit: cover;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  max-height: 320px;
}


.site-footer {
  background-color: black; /* Hellblau-grauer Footer-Hintergrund */
  color: white;
  padding: 60px 20px 20px;
  font-family: 'Arial', sans-serif;
}

.footer-column h3,
.footer-column h4 {
  color: #4A90E2; /* Hellblau für Überschriften */
  margin-bottom: 12px;
}

.footer-column a {
  color: white;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-column a:hover {
  color: #cc4c4c; /* Sanftes Rot beim Hover */
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}



.footer-column ul {
  list-style: none;
  padding: 0;
}

.footer-column ul li {
  margin: 8px 0;
}

.footer-logo {
  width: 80px;
  margin-bottom: 12px;
}

.contact-section p,
.nav-section ul,
.legal-section ul {
  font-size: 14px;
  line-height: 1.6;
}

.social-media a img {
  width: 24px;
  margin-right: 10px;
  transition: transform 0.3s;
}

.social-media a:hover img {
  transform: scale(1.1);
}

.footer-bottom {
  text-align: center;
  margin-top: 40px;
  border-top: 1px solid #ffffff33;
  padding-top: 20px;
  font-size: 13px;
  color: #cccccc;
}

@media (max-width: 768px) {
  .team-box {
    flex-direction: column !important;
  }

  .team-image {
    order: -1;
    padding-bottom: 1rem;
  }

  .team-content {
    order: 0;
  }

  .team-image img {
  width: 100%;
  height: auto;
  max-height: 400px;     /* größer erlaubt */
  object-fit: contain;
}

}
.leiter-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  text-align: center;
}

.leiter-card {
  background: #fff;
  padding: 1.5rem;
  border-radius: 16px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  width: 260px;
  transition: transform 0.3s ease;
}

.leiter-card:hover {
  transform: translateY(-6px);
}

.leiter-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 1rem;
}

.leiter-card h3 {
  font-size: 1.2rem;
  color: #1a3d5d;
  margin-bottom: 0.5rem;
}

.leiter-card p {
  font-size: 0.95rem;
  color: #555;
}

/* Responsiv */
@media (max-width: 768px) {
  .leiter-card {
    width: 100%;
    max-width: 300px;
  }
}
.fussball-link {
  display: inline-block;
  margin-top: 0.5rem;
  color: #0055a5;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.3s ease;
}

.fussball-link:hover {
  color: #e63946;
  text-decoration: underline;
}

.hidden {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
    will-change: opacity, transform;
}

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




..spielplan-section {
  max-width: 1200px;
  margin: 4rem auto;
  padding: 0 1rem;
}

.widget-card {
  background: #ffffff;
  border-radius: 1.2rem;
  box-shadow: 0 10px 30px rgba(0, 85, 165, 0.08);
  padding: 2rem;
  overflow: hidden;
  transition: box-shadow 0.3s ease;
  border: 1px solid #e2e8f0;
  max-width: 900px;
  margin: 0 auto;
}

/* Frame selbst anpassen */
.fussballde_widget iframe {
  width: 100% !important;
  border-radius: 1rem !important;
  border: none;
  overflow: hidden;
}

/* Optional: Hover-Optik */
.widget-card:hover {
  box-shadow: 0 14px 40px rgba(0, 85, 165, 0.12);
}

.section-title {
  font-size: 2.4rem;
  font-weight: 800;
  color: #0055a5;
  margin-bottom: 2rem;
  position: relative;
  display: inline-block;
  text-align: center;
  width: 100%;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background-color: #0055a5;
  border-radius: 2px;
}
