@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap");

:root {
  --primary-color: #111317;
  --primary-color-light: #1f2125;
  --primary-color-extra-light: #35373b;
  --secondary-color: #ffc107;
  --secondary-color-dark: #ffa000;
  --text-light: #d1d5db;
  --white: #ffffff;
  --max-width: 1200px;
}

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

body {
  font-family: "Poppins", sans-serif;
  background-color: var(--primary-color);
  color: var(--text-light);
  line-height: 1.6;
}

.section__container {
  max-width: var(--max-width);
  margin: auto;
  padding: 5rem 1rem;
}

.section__header {
  margin-bottom: 1rem;
  font-size: 2.25rem;
  font-weight: 600;
  text-align: center;
  color: var(--white);
}

.btn {
  padding: 1rem 2rem;
  outline: none;
  border: none;
  font-size: 1rem;
  color: var(--primary-color);
  background-color: var(--secondary-color);
  border-radius: 5px;
  cursor: pointer;
  transition: 0.3s;
}

.btn a {
  color: black;
  text-decoration: none;
}

.btn:hover, .btn a:hover {
  background-color: var(--secondary-color-dark);
  color: var(--white);
}

img {
  max-width: 100%;
  height: auto;
}

a {
  text-decoration: none;
  color: var(--text-light);
  transition: 0.3s;
}

a:hover {
  color: var(--secondary-color);
}

.bg__blur {
  position: absolute;
  box-shadow: 0 0 1000px 50px var(--secondary-color);
  z-index: -1;
}

nav {
  max-width: var(--max-width);
  margin: auto;
  padding: 1.5rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  position: relative;
  z-index: 1000;
}
#map {
    width: 100%;
    height: 400px; /* Höhe anpassen */
    margin-top: 20px;
}
.nav__logo {
  max-width:250px;
}


.address-container {
  background-color: #35373b;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 400px;
  margin: 50px auto;
  text-align: center;
}

.address-container p {
  font-size: 18px;
  margin: 10px 0;
  color: #ffffff;
}

.address-container h2 {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 15px;
  color: #007BFF;
}

.address-container .location {
  font-size: 16px;
  color: #ffffff;
  margin-top: 5px;
}

.address-container .address-line {
  font-weight: bold;
  color: #fafafa;
}

.nav__toggle {
  display: none;
  font-size: 1.5rem;
  color: var(--white);
  cursor: pointer;
}

.nav__links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.link {
  position: relative;
}

.link a {
  position: relative;
  padding-bottom: 0.75rem;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.link a::after {
  content: "";
  position: absolute;
  height: 2px;
  width: 0;
  left: 0;
  bottom: 0;
  background-color: var(--secondary-color);
  transition: 0.3s;
}

.link a:hover::after {
  width: 50%;
}

.dropdown {
  position: relative;
}

.dropdown-content {
  display: none;
  list-style: none;
  position: absolute;
  background-color: var(--primary-color-light);
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
  border-radius: 5px;
  top: 100%;
  left: 0;
}

.dropdown-content li {
  padding: 12px 16px;
}

.dropdown-content a {
  color: var(--text-light);
  text-decoration: none;
  display: block;
}

.dropdown-content a:hover {
  background-color: var(--primary-color-extra-light);
}

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

.header__container {
  position: relative;
  padding-top: 2rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  align-items: center;
  gap: 2rem;
}

.header__blur {
  bottom: 5rem;
  right: 0;
}

.header__content h4 {
  margin-bottom: 1rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--secondary-color);
}

.header__content h1 {
  margin-bottom: 1rem;
  font-size: 5rem;
  font-weight: 700;
  line-height: 6rem;
  color: var(--white);
}

.header__content h1 span {
  -webkit-text-fill-color: transparent;
  -webkit-text-stroke: 1px var(--white);
}

.header__content p {
  margin-bottom: 2rem;
  color: var(--text-light);
}

/* Das Modal */
.modal {
  display: none; /* Modal ist standardmäßig unsichtbar */
  position: fixed;
  z-index: 1; /* Überlagert andere Inhalte */
  padding-top: 100px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgb(0,0,0); /* Hintergrund schwarz */
  background-color: rgba(0,0,0,0.9); /* Dunkel mit Transparenz */
}

/* Das Bild im Modal */
.modal-content {
  margin: auto;
  display: block;
  max-width: 80%;
  max-height: 80%;
}

/* Bildbeschriftung */
#caption {
  text-align: center;
  color: #ccc;
  padding: 10px;
  font-size: 20px;
}

/* Schließen Button */
.close {
  position: absolute;
  top: 15px;
  right: 35px;
  color: #f1f1f1;
  font-size: 40px;
  font-weight: bold;
  transition: 0.3s;
}

.close:hover,
.close:focus {
  color: #bbb;
  text-decoration: none;
  cursor: pointer;
}




.footer__container {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.footer__blur {
  bottom: 0;
  right: 0;
}

.footer__logo {
  max-width: 150px;
  margin-bottom: 2rem;
}

.footer__col p {
  margin-bottom: 2rem;
  color: var(--text-light);
}

.footer__socials {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.footer__socials a {
  padding: 5px 10px;
  font-size: 1.25rem;
  color: var(--secondary-color);
  background-color: var(--primary-color-extra-light);
  border-radius: 100%;
  transition: 0.3s;
}

.footer__socials a:hover {
  color: var(--primary-color);
  background-color: var(--secondary-color);
}

.footer__col h4 {
  margin-bottom: 1.5rem;
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--white);
}

.footer__col > a {
  display: block;
  margin-bottom: 1rem;
  color: var(--text-light);
  transition: 0.3s;
}

.footer__col > a:hover {
  color: var(--secondary-color);
}

.footer__bar {
  max-width: var(--max-width);
  margin: auto;
  padding: 1rem;
  font-size: 0.8rem;
  color: var(--text-light);
  text-align: center;
}

@media (max-width: 1024px) {
  .header__content h1 {
    font-size: 4rem;
    line-height: 5rem;
  }

}

@media (max-width: 768px) {
  nav {
    position: static;
  }
  .nav__toggle {
    display: block;
  }
  
    .footer__logo {
    display: flex;            /* Flexbox aktivieren */
    justify-content: center;  /* Inhalt zentrieren */
    align-items: center;      /* Vertikal zentrieren */
    margin: 0 auto;  
    margin-bottom: 30px;  
    margin-top: -40px;       /* Automatische horizontale Zentrierung */
}
.footer__logo img {
  max-width: 160px; /* Verkleinere das Logo */
  height: auto;     /* Seitenverhältnis beibehalten */
}
  
  .nav__links {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--primary-color);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    padding: 2rem 0;
    display: none;
    z-index: 1000;
  }
  .nav__links.show {
    display: flex;
  }
  .dropdown-content {
    position: static;
    background-color: transparent;
    box-shadow: none;
    display: none;
  }
  .dropdown:hover .dropdown-content {
    display: none;
  }
  .nav__links.show .dropdown-content {
    display: block;
  }
  .header__container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .header__image {
    grid-area: 1/1/2/2;
  }
  .header__content h1 {
    font-size: 3rem;
    line-height: 4rem;
  }


  .footer__container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .footer__socials {
    justify-content: center;
  }
  .footer__col {
    margin-bottom: 2rem;
  }
}

@media (max-width: 576px) {
  .header__content h1 {
    font-size: 2.5rem;
    line-height: 3rem;
  }

}

/* Stil für die Trainingszeiten-Tabelle */
.trainingszeiten-container {
  padding: 5rem 1rem;
}

.trainingszeiten-table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
}

.trainingszeiten-table th,
.trainingszeiten-table td {
  border: 1px solid var(--secondary-color);
  padding: 1rem;
  text-align: center;
}

.trainingszeiten-table th {
  background-color: var(--primary-color-light);
  color: var(--white);
}

.trainingszeiten-table td {
  background-color: var(--primary-color-extra-light);
  color: var(--text-light);
}

/* Stil für die Trainer-Karten */
.trainer-container {
  padding: 5rem 1rem;
}

.trainer-cards {
  display: flex;
  gap: 2rem; /* Abstand zwischen den Karten */
  justify-content: center; /* Zentriert die Karten horizontal */
  flex-wrap: wrap; /* Karten umbrechen, falls nicht genug Platz vorhanden ist */
}

.trainer-card {
  background-color: var(--primary-color-light);
  border-radius: 10px;
  padding: 1.5rem; /* Etwas kleinerer Innenabstand */
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  width: 300px; /* Feste Breite für die Karten */
}

.trainer-card img {
  width: 120px; /* Kleinere Bildgröße */
  height: 120px; /* Höhe entsprechend der Breite */
  border-radius: 50%;
  margin-bottom: 1rem;
  object-fit: cover; /* Stellt sicher, dass das Bild zentriert und zugeschnitten wird */
}

.trainer-card h3 {
  font-size: 1.2rem;
  color: var(--secondary-color);
  margin-bottom: 0.8rem;
}

.trainer-card p {
  color: var(--text-light);
  font-size: 0.9rem; /* Etwas kleinere Schriftgröße */
}


/* Stil für den Image Slider */
.image-slider-container {
  padding: 5rem 1rem;
}

.image-slider {
  display: flex;
  overflow-x: auto;
  gap: 1rem;
}

.slider-item {
  min-width: 300px;
  flex: 1;
}

.slider-item img {
  width: 100%;
  height: auto;
  border-radius: 10px;
}
