/* Reset some default styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  background-color: #000000;
  color: #ffffff;
}

header {
  background-color: #111111;
  padding: 1rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-left: 2rem;
  padding-right: 2rem;
}

.logo-placeholder {
  width: auto; /* Dynamisch basierend auf Inhalt */
  height: auto;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 0; /* Kein unnötiger Leerraum */
  margin-right: 2rem;
  background: none; /* Kein Platzhalterrahmen mehr */
  border: none;
}

.logo-placeholder img {
  max-height: 100px;     /* Begrenzung nach oben */
  height: auto;         /* Automatische Höhe, wenn nur Breite gesetzt ist */
  max-width: 200px;     /* optional – verhindert überbreites Bild */
  width: auto;          /* Bild bleibt proportional */
  display: block;       /* verhindert ungewollten Abstand durch inline-img */
}

.nav-list {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-grow: 1;
}

.nav-list li a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  transition: background-color 0.3s ease;
}

.nav-list li a:hover,
.nav-list li a.active {
  background-color: #333333;
}

main {
  max-width: 960px;
  margin: 2rem auto;
  padding: 0 1rem;
}

.hero {
  background: linear-gradient(135deg, #222222, #111111);
  color: white;
  padding: 3rem 1rem;
  text-align: center;
  border-radius: 8px;
  margin-bottom: 2rem;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

.btn {
  background-color: #ffffff;
  color: #000000;
  padding: 0.75rem 1.5rem;
  text-decoration: none;
  font-weight: 700;
  border-radius: 4px;
  transition: background-color 0.3s ease;
}

.btn:hover {
  background-color: #cccccc;
}

.values {
  text-align: center;
  margin-bottom: 3rem;
}

.value-cards {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.card {
  background-color: #111111;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(255,255,255,0.1);
  width: 250px;
}

.card h3 {
  margin-bottom: 1rem;
  color: #ffffff;
}

.about-section,
.policies-section,
.contact-section {
  background-color: #111111;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(255,255,255,0.1);
}

.policies-section article {
  margin-bottom: 1.5rem;
}

.policies-section h2 {
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.contact-section form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-section label {
  font-weight: 600;
  color: #ffffff;
}

.contact-section input,
.contact-section textarea {
  padding: 0.75rem;
  border: 1px solid #555555;
  border-radius: 4px;
  font-size: 1rem;
  resize: vertical;
  background-color: #222222;
  color: #ffffff;
}

.contact-section input::placeholder,
.contact-section textarea::placeholder {
  color: #999999;
}

.contact-section button {
  background-color: #ffffff;
  color: #000000;
  border: none;
  padding: 0.75rem;
  font-size: 1.1rem;
  font-weight: 700;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.contact-section button:hover {
  background-color: #cccccc;
}

#form-status {
  margin-top: 1rem;
  font-weight: 600;
  color: #ffffff;
}

footer {
  text-align: center;
  padding: 1rem 0;
  background-color: #111111;
  color: white;
  margin-top: 3rem;
  font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
  .value-cards {
    flex-direction: column;
    align-items: center;
  }

  .card {
    width: 90%;
  }

  header {
    flex-direction: column;
    align-items: stretch;
  }

  .logo-placeholder {
    margin-bottom: 0;
    max-width: 50vw;
    flex-shrink: 1;
  }

  .logo-placeholder img {
    max-height: 40px;
    width: auto;
    height: auto;
    max-width: 100%;
  }

  .nav-list {
    flex-direction: column;
    gap: 1rem;
    width: 100%;
    display: none; /* Hide nav by default on small screens */
  }

  .nav-list.active {
    display: flex; /* Show nav when active */
  }

  .nav-list li {
    width: 100%;
  }

  .nav-list li a {
    display: block;
    width: 100%;
    padding: 0.75rem 1rem;
  }

  .menu-toggle {
    display: block;
    background: none;
    color: #fff;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    padding: 0.5rem 1rem;
    margin-left: 1rem;
  }
}

/* Show menu-toggle button only on small screens */

.menu-toggle {
  display: none;
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
    background: none;
    color: #fff;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    padding: 0.5rem 1rem;
    margin-left: 1rem;
  }
  .nav-list {
    display: none;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
  }
  .nav-list.active {
    display: flex;
  }
}
