/* Allgemeine Stile */
body {
  margin: 0;
  font-family: Arial, sans-serif;
  color: #333;
  background-color: #f9f9f9;
  line-height: 1.6;
  text-align: center;
}

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: #ff6600;
  z-index: 1000;
}

header nav ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
}

header nav ul li a {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s;
}

header nav ul li a.active {
  border-bottom: 2px solid #fff;
}

section {
  padding: 5rem 2rem;
  margin-top: 80px;
}

/* Modal-Container - Standardmäßig versteckt */
.modal {
  display: none; /* Modal ist unsichtbar beim Laden */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7); /* Halbtransparenter Hintergrund */
  justify-content: center;
  align-items: center;
  z-index: 1000; /* Stellt sicher, dass das Modal über anderen Elementen liegt */
}

.modal-content {
  background: #fff;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  width: 90%;
  max-width: 600px;
  position: relative;
}

.close-btn {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 1.5rem;
  cursor: pointer;
  color: #333;
}

.close-btn:hover {
  color: #ff6600;
}

.modal img {
  width: 100%;
  max-height: 300px;
  object-fit: cover;
  margin-top: 1rem;
  border-radius: 5px;
}

.modal h3 {
  margin-bottom: 1rem;
  color: #ff6600;
  text-align: center;
}

/* Logo-Styling */
.logo {
  width: 50px;
  height: auto;
}

/* Allgemeine Navigation */
header nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #ff6600;
  padding: 1rem 2rem;
}

header .logo img {
  height: 50px;
}

.nav-links {
  display: flex; /* Desktop-Ansicht: Links nebeneinander */
  list-style: none;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
}

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

.nav-links li a:hover {
  color: #333;
}

/* Hamburger Menü */
.hamburger-menu {
  display: none; /* Standardmäßig ausgeblendet */
  font-size: 2rem;
  color: white;
  cursor: pointer;
}

/* Mobile Navigation */
.nav-links.mobile {
  display: none; /* Standardmäßig ausgeblendet */
  flex-direction: column; /* Mobile Ansicht: Links untereinander */
  position: absolute;
  top: 100%; /* Direkt unter dem Header */
  right: 0;
  background-color: #ff6600;
  width: 100%; /* Vollbreite */
  padding: 1rem 0;
}

.nav-links.mobile li {
  text-align: center;
  padding: 1rem 0;
}

/* Media Queries für Mobilgeräte */
@media (max-width: 768px) {
  .nav-links {
      display: none; /* Desktop-Links ausblenden */
  }

  .hamburger-menu {
      display: block; /* Hamburger Menü anzeigen */
  }

  .nav-links.mobile.active {
      display: flex; /* Mobile Links sichtbar machen */
  }
}
