/* ===========================
   Grundstil
=========================== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Segoe UI', sans-serif;
}

body {
  background-color: #111;
  color: #eee;
  line-height: 1.6;
}

/* ===========================
   Navigation
=========================== */
nav {
  background-color: #222;
  padding: 12px 0;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
}

nav a {
  color: #eee;
  text-decoration: none;
  font-weight: bold;
  padding: 6px 12px;
  transition: 0.3s;
  border-radius: 5px;
}

nav a:hover {
  background-color: #ff0000;
  color: #fff;
}

/* ===========================
   Countdown
=========================== */
.countdown-container {
  text-align: center;
  padding: 20px;
  background-color: #1a1a1a;
  border-bottom: 3px solid #ff0000;
}

.countdown-container h2 {
  color: #ff0000;
  font-size: 1.8rem;
  margin-bottom: 15px;
}

.countdown-boxes {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

.countdown-box {
  background-color: #222;
  padding: 10px 15px;
  border-radius: 10px;
  min-width: 60px;
  box-shadow: 0 4px 10px rgba(255,0,0,0.3);
}

.countdown-box span {
  display: block;
  font-size: 1.5rem;
  font-weight: bold;
  color: #fff;
}

.countdown-box small {
  display: block;
  font-size: 0.8rem;
  color: #ff0000;
}

/* ===========================
   Hero-Bereich
=========================== */
.hero {
  background: url('image3.png') no-repeat center center;
  background-size: cover;
  height: 65vh;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-color: rgba(0,0,0,0.3);
  z-index: 1;
}

/* ===========================
   Sections
=========================== */
section {
  padding: clamp(30px, 5vw, 50px) 20px;
  max-width: 1000px;
  margin: 40px auto;
  border-radius: 15px;
}

/* ===========================
   Team
=========================== */
.team {
  background-color: #1a1a1a;
  color: #ddd;
  padding: 40px 20px;
  border-radius: 15px;
  max-width: 1200px;
  margin: 40px auto;
}

.team h2 {
  text-align: center;
  font-size: 2.5rem;
  color: #ff0000;
  margin-bottom: 40px;
}

.team-members {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
}

.member {
  background-color: #222;
  border-radius: 15px;
  overflow: hidden;
  width: 280px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.5);
  transition: transform 0.3s, box-shadow 0.3s;
}

.member:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 25px rgba(255,0,0,0.5);
}

.member img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.member-info {
  padding: 15px;
}

.member-info h3 {
  color: #ff0000;
  margin-bottom: 10px;
}

.member-info p {
  margin-bottom: 5px;
  font-size: 0.95rem;
  line-height: 1.4;
  color: #ddd;
}

.team-ready-text {
  text-align: center;
  margin-top: 20px;
  font-size: 1rem;
  line-height: 1.5;
  color: #ddd;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* ===========================
   Galerie
=========================== */
.gallery-section {
  background-color: #1a1a1a;
  padding: 30px;
  border-radius: 15px;
  max-width: 1200px;
  margin: 40px auto;
  color: #ddd;
}

.gallery-section h2 {
  text-align: center;
  color: #ff0000;
  margin-bottom: 20px;
}

.gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.gallery img {
  width: calc(50% - 10px);
  max-width: 300px;
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.gallery img:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(255, 0, 0, 0.5);
}

/* ===========================
   Kontakt
=========================== */
.contact {
  background-color: #1a1a1a;
  padding: 30px;
  border-radius: 15px;
}

.contact a {
  color: #ff0000;
  text-decoration: none;
  transition: 0.3s;
}

.contact a:hover {
  color: #ff6666;
  text-shadow: 0 0 5px #ff0000;
}

/* ===========================
   Footer
=========================== */
footer {
  text-align: center;
  padding: 20px;
  background-color: #000;
  color: #888;
  font-size: 0.9em;
}

footer a {
  color: #ff0000;
  text-decoration: none;
}

footer a:hover {
  color: #ff6666;
}

/* ===========================
   Responsive Anpassungen
=========================== */
@media (max-width: 768px) {
  nav {
    flex-direction: column;
    gap: 10px;
  }

  .gallery img {
    width: calc(50% - 5px);
    height: 120px;
  }

  .countdown-container h2 {
    font-size: 1.4rem;
  }
}

@media (max-width: 480px) {
  .gallery img {
    width: 100%;
    height: 160px;
  }

  .countdown-container h2 {
    font-size: 1.2rem;
  }

  .countdown-box span {
    font-size: 1.2rem;
  }
}



/* ===========================
   Impressum & Datenschutz
=========================== */
.impressum, .datenschutz {
  background-color: #1a1a1a;
  padding: 25px 20px;
  border-radius: 15px;
  max-width: 700px; /* schmaler für besseren Lesefluss */
  margin: 30px auto;
  color: #ddd;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.impressum h2, .datenschutz h2 {
  text-align: center;
  color: #ff0000;
  font-size: 1.8rem;
  margin-bottom: 20px;
  border-bottom: 2px solid #ff0000;
  padding-bottom: 10px;
}

.impressum p, .datenschutz p {
  background-color: #222;
  padding: 10px 15px;
  border-radius: 10px;
  margin-bottom: 15px;
  line-height: 1.5;
  font-size: 1rem;
}

.impressum a, .datenschutz a {
  color: #ff0000;
  font-weight: bold;
  text-decoration: none;
  transition: 0.3s;
}

.impressum a:hover, .datenschutz a:hover {
  color: #ff6666;
  text-shadow: 0 0 5px #ff0000;
}

.footer-link {
  color: #ff0000;
  text-decoration: none;
  margin: 0 5px;
}

.footer-link:hover {
  color: #ff6666;
  text-shadow: 0 0 5px #ff0000;
}

/* ===========================
   Mobile Anpassungen
=========================== */
@media (max-width: 768px) {
  .impressum, .datenschutz {
    padding: 20px 15px;
  }

  .impressum h2, .datenschutz h2 {
    font-size: 1.6rem;
  }

  .impressum p, .datenschutz p {
    font-size: 0.95rem;
  }
}

@media (max-width: 480px) {
  .impressum h2, .datenschutz h2 {
    font-size: 1.4rem;
  }

  .impressum p, .datenschutz p {
    font-size: 0.9rem;
  }
}
/* ===========================
   Mobile Optimierungen
=========================== */
@media (max-width: 768px) {
  /* Navigation: Links nebeneinander */
  nav {
    flex-wrap: nowrap;
    overflow-x: auto;
    justify-content: flex-start;
    padding: 10px;
  }

  nav a {
    flex: 0 0 auto;
    margin-right: 15px;
  }

  /* Countdown etwas kleiner */
  .countdown-container h2 {
    font-size: 1.4rem;
  }
  
  .countdown-box span {
    font-size: 1.2rem;
  }

  .countdown-box small {
    font-size: 0.7rem;
  }

  /* Galerie-Bilder anpassen */
  .gallery img {
    width: calc(50% - 5px);
    height: 120px;
  }

  /* Hero-Bild Höhe etwas kleiner */
  .hero {
    height: 50vh;
    background-position: top center;
  }
}

@media (max-width: 480px) {
  /* Navigation scrollt, Links bleiben nebeneinander */
  nav {
    flex-wrap: nowrap;
    overflow-x: auto;
    justify-content: flex-start;
  }

  nav a {
    flex: 0 0 auto;
    margin-right: 10px;
    font-size: 0.9rem;
    padding: 5px 10px;
  }

  /* Countdown noch kompakter */
  .countdown-container h2 {
    font-size: 1.2rem;
  }

  .countdown-box {
    min-width: 50px;
    padding: 5px 8px;
  }

  .countdown-box span {
    font-size: 1rem;
  }

  .countdown-box small {
    font-size: 0.6rem;
  }

  /* Hero-Bild kleiner und korrekt positioniert */
  .hero {
    height: 40vh;
    background-position: top center;
  }

  /* Galerie-Bilder volle Breite */
  .gallery img {
    width: 100%;
    height: auto;
  }
}
/* ===========================
   Navigation auf mobilen Geräten
=========================== */
@media (max-width: 768px) {
  nav {
    display: flex;
    flex-direction: row;      /* Nebeneinander statt untereinander */
    flex-wrap: nowrap;        /* Keine Umbrüche */
    gap: 10px;
    overflow-x: auto;         /* horizontal scrollen falls zu eng */
    justify-content: center;  /* Zentriert die Navigation */
    padding: 10px;
  }

  nav a {
    flex: 0 0 auto;           /* Links bleiben nebeneinander */
    margin-right: 10px;
    font-size: 0.95rem;       /* eventuell kleinere Schrift für Handy */
    padding: 5px 10px;
  }

  /* Optional: scrollbar nur sichtbar bei Bedarf */
  nav::-webkit-scrollbar {
    height: 6px;
  }
  nav::-webkit-scrollbar-thumb {
    background-color: #ff0000;
    border-radius: 3px;
  }
}
.hero {
  background: url('image3.png') no-repeat center center;
  background-size: cover;
  height: 65vh; /* vorheriger Wert für Desktop */
  position: relative;
}


@media (max-width: 480px) {
  .gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px; /* Abstand zwischen Bildern */
  }

  .gallery img {
    width: calc(50% - 4px); /* zwei Bilder pro Reihe */
    height: auto;
    border-radius: 10px;
  }
}
@media (max-width: 480px) {
  .hero {
    background-position: 28% center; /* horizontal leicht nach rechts, vertikal zentriert */
    height: 44vh; /* Höhe nur auf Handys reduziert */
  }
}


