body {
  font-family: Arial, sans-serif;
  background: #e6f2e6;
  display: flex;
  padding-top: 70px; /* Hoehe des Headers */
  padding-bottom: 70px; /* Hoehe des Footers */
  /*justify-content: center;*/
  /*align-items: center;*/
  margin: 0;
}

.bodycontact {
  font-family: Arial, sans-serif;
  background: #e6f2e6;
  display: flex;
  padding-top: 70px; /* Hoehe des Headers */
  padding-bottom: 70px; /* Hoehe des Footers */
  justify-content: center;
  /*align-items: center;*/
  margin: 0;
}

.container {
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 400px;
  overflow: hidden;
  padding: center;
  margin: center;
}

.containercontact {
  background: #ffffff;
  /*place-content: center;*/
  border-radius: 15px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 400px;
  height: 100%;
  max-height: 450px;
  overflow: hidden;
  padding: 20px 20px 20px 20px;
  margin: center;
}

/* Nur f�r die Login-Seite: Container zentrieren */
.login-page-body {
  display: flex;
  justify-content: center;
  padding-top: 150px; /* Platz f�r Header */
  background: #e6f2e6;
}

/* Grundlayout f�r Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: #2e7d32;
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  z-index: 1000;
}

header h1 {
  margin: 0;
}

/* Logo */
header .logo h1 {
  margin: 0;
  font-size: 1.5rem;
}

/* Navigation */
nav ul {
  list-style: none;
  display: flex;
  gap: 15px;
  margin: 0;
  padding: 0;
}

nav a {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  padding: 8px 12px;
  border-radius: 4px;
  margin-right: 20px;
  transition: background 0.3s ease;
}

nav a:hover,
.login-btn:hover {
  background: #388e3c;
}

/* Hamburger-Button */
.hamburger {
  display: none;
  font-size: 24px;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  margin-right: 20px; /*Abstand*/
}

.hero {
  /*text-align: center;*/
  margin-top: 10px;
  margin-left: 10px;
  margin-right: 10px;
  padding: 10px 10px;
}

.herocontact {
  margin-top: 100px;
  padding: 10px 10px;
}

.cta-btn {
  display: inline-block;
  background: #4caf50;
  color: #fff;
  padding: 12px 20px;
  border-radius: 4px;
  text-decoration: none;
  font-size: 18px;
  transition: background 0.3s ease;
}

.cta-btn:hover {
  background: #45a049;
}

/* Footer-Styling */
footer {
  position: fixed; /* Footer bleibt unten */
  bottom: 0;
  left: 0;
  width: 100%;
  background: #2e7d32; /* Gr�nton passend zum Header */
  color: #fff;
  text-align: center;
  padding: 15px 10px;
  font-size: 14px;
  z-index: 1000;
}

/* Links im Footer */
footer a {
  color: #fff;
  text-decoration: underline;
  margin: 0 8px;
  font-size: 14px;
}

footer a:hover {
  text-decoration: none;
}

.tabs {
  display: flex;
  background: #2e7d32;
}

.tab {
  flex: 1;
  text-align: center;
  padding: 15px;
  color: #fff;
  cursor: pointer;
  font-weight: bold;
}

.tab.active {
  background: #388e3c;
}

.form-container {
  padding: 20px;
}

form {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
}

input {
  margin-bottom: 15px;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 16px;
}

button {
  background: #4caf50;
  color: #fff;
  border: none;
  padding: 12px;
  border-radius: 4px;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.3s ease;
}

button:hover {
  background: #45a049;
}

/* Kontaktformular: Responsive Eingabefelder */
.contact-form input[type="text"],
.contact-form input[type="email"] {
  width: 100%;
  max-width: 400px;
  min-width: 180px;
  padding: 10px;
  font-size: 1rem;
  box-sizing: border-box;
}

.contact-form textarea {
  width: 100%;
  max-width: 600px;
  min-width: 180px;
  min-height: 120px;
  font-size: 1rem;
  padding: 10px;
  resize: both; /* Benutzer kann Gr��e �ndern */
  box-sizing: border-box;
}

/* Mobile Ansicht */
@media (max-width: 768px) {
  .hamburger {
    display: block;
  }
  nav ul {
    display: none;
    flex-direction: column;
    gap: 10px;
    background: #2e7d32;
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    padding: 15px;
  }
  nav ul.show {
    display: flex;
  }
  nav a {
    display: block;
    width: 100%;
    text-align: left;
    padding: 12px;
  }
  footer {
    font-size: 10px;
    padding: 10px;
  }
  footer a {
    font-size: 12px;
    display: inline-block;
    margin: 5px;
  }
  button {
    background: #4caf50;
    color: #fff;
    border: none;
    padding: 12px;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s ease;
  }

  button:hover {
    background: #45a049;
  }

  .contact-form input[type="text"],
  .contact-form input[type="email"],
  .contact-form textarea {
    max-width: 100%;
    font-size: 0.95rem;
    padding: 8px;
  }
}
