body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  margin: 0;
  padding: 0;
  background: #f9f9f9;
  color: #222;
}
.hauptmenue {
  background-color: #318d5a;
  padding: 0.5em 1em;
}
.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
}
.nav-logo {
  height: 50px;
}
.nav-links {
  display: flex;
  gap: 1.5em;
}
.nav-links a {
  color: white;
  text-decoration: none;
  font-weight: bold;
}
.nav-links a:hover {
  text-decoration: underline;
}
main {
  padding: 2em;
  max-width: 800px;
  margin: auto;
  background: white;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
h1, h2 {
  color: #318d5a;
}
label {
  display: block;
  margin-top: 1em;
  font-weight: bold;
}
input, textarea {
  width: 100%;
  padding: 0.5em;
  margin-top: 0.3em;
  border: 1px solid #ccc;
  border-radius: 4px;
}
button {
  margin-top: 1em;
  padding: 0.6em 1.2em;
  background-color: #318d5a;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}
button:hover {
  background-color: #256f45;
}
footer {
  text-align: center;
  padding: 2em 1em;
  font-size: 0.9em;
  background-color: #f0f0f0;
  color: #666;
}
.checkbox-label {
  display: block;
  margin-top: 1.5em;
  font-size: 0.95em;
  color: #333;
}
.checkbox-label input[type="checkbox"] {
  margin-right: 0.5em;
  vertical-align: middle;
}
.checkbox-label a {
  color: #003366;
  text-decoration: underline;
}
.honeypot {
  display: none;
}
a {
  color: #1d5e3b;
  text-decoration: none;
  transition: all 0.2s ease-in-out;
}
a:hover {
  color: #256f45;
  text-decoration: underline;
}
a:focus {
  outline: 2px dashed #318d5a;
  outline-offset: 3px;
  background-color: #e8f5ef;
  color: #1b4730;
}
a:active {
  color: #14402b;
  background-color: #d3f0e0;
}
.hr-kontakt {
  margin: 30px 0 30px 0;
}
/* =====================================
  Responsive Navigation für kleine Bildschirme
   ===================================== */

/* Bis 768px: Mobile-Menü*/
@media (max-width: 768px) {
  .nav-toggle {
    display: block;
    margin-left: 1em;
  }
  .nav-links {
    display: none;
    flex-direction: column;
    width: 100%;
    margin-top: 1em;
  }
  .nav-links.active {
    display: flex;
  }
  .nav-links a {
    padding: 0.6em 1em;
    background: #256f45;
    border-top: 1px solid rgba(255,255,255,0.2);
  }
}
@media (min-width: 769px) {
  .nav-toggle {
    display: none;
  }
  .nav-links {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1.5em;
    margin-top: 0;
  }
}
.nav-toggle {
  font-size: 1.1em;
  background-color: transparent;
  color: white;
  border: 2px solid white;
  padding: 0.5em 1em;
  border-radius: 4px;
  cursor: pointer;
  align-self: center;  /* Wichtig für vertikale Zentrierung im Flex-Container */
  margin: 10px 20px 10px 20px;
}
/* Zusätzliche CSS-Regeln zur Anpassung des Headerbildes und der breakpoint */

.hero-container {
  width: 100%;
  margin: 0;
  padding: 0;
}

/* Korrektur des Hintergrundbild-Pfades */
.header-kontakt {
  background-image: url('../img/header_kontakt.webp');
  background-size: cover;
  background-position: center;
}

/* Zentrierung des Hero-Textes */
.hero-image {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 600px;
}

.hero-text {
  text-align: center;
  color: white;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.7);
  max-width: 90%;
}

/* Responsive Anpassungen */
@media (max-width: 768px) {
  .hero-image {
    height: 400px;
  }
}

@media (max-width: 480px) {
  .hero-image {
    height: 300px;
  }
  
  .hero-text {
    font-size: 0.9em;
  }
}



