/* Layoutstruktur für alle Geräte */
html, body {
  height: 100%;
  margin: 0;
  padding: 0;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  font-family: var(--font-sans);
  background-color: var(--beige);
  color: var(--green-dark);
  line-height: 1.7;
}
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: var(--beige);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1rem;
  z-index: 1000;
  box-shadow: 0 2px 6px var(--shadow);
}

.logo-container {
  width: 100%;
  text-align: center;
}

.logo {
  width: 100%;
  max-width: 1000px;
  height: auto;
  display: block;
  margin: 0 auto;
}

.nav {
  display: flex;
  justify-content: center;
  padding: 0.8rem 0;
  background-color: var(--beige);
  width: 100%;
  z-index: 1000;
}

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

.nav a {
  font-size: 1rem;
  font-weight: 500;
  color: var(--green-dark);
  text-decoration: none;
}

.nav a:hover {
  color: var(--green-medium);
}

.divider {
  width: 100%;
  height: 4px;
  background-color: var(--green-dark);
  margin: 1rem 0 0 0;
}

main,
.content {
  max-width: 800px;
  margin: 0 auto;
  padding: 2.5rem 1.2rem 2rem 1.2rem;
  padding-top: 350px;
}

section,
.content-section {
  border-bottom: 1.5px solid var(--green-light);
  margin-bottom: 2.5rem;
  padding: 0 0 1.2rem 0;
}

footer {
  background-color: var(--green-dark);
  color: var(--white);
  text-align: center;
  padding: 1rem;
  margin-top: 3rem;
}

footer a {
  color: var(--white) !important;
  text-decoration: underline;
}

footer a:hover {
  color: var(--green-light) !important;
}

footer p {
  color: var(--white) !important;
}

/* === Burger-Menü === */

.burger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  background: none;
  border: none;
  cursor: pointer;
  margin-top: 1rem;
  z-index: 1100;
}

.burger span {
  height: 3px;
  width: 100%;
  background-color: var(--green-dark);
  border-radius: 2px;
}

@media (max-width: 768px) {
  .burger {
    display: flex;
    align-self: center;
    position: static;
  }

  .nav {
    display: none;
    flex-direction: column;
    align-items: center;
    background-color: var(--beige);
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    padding: 1.5rem 0;
  }

  .nav.open {
    display: flex;
  }

  .nav ul {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .nav li {
    margin: 0;
  }

  .nav a {
    font-size: 1.1rem;
  }

  footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 999;
  }

  body {
    padding-bottom: 100px; /* Platz für fixierten Footer */
  }
}
