:root {
  --bg-color: #ffffff;
  --text-color: #000000;
  --header-bg: #f8f8f8;
  --accent-color: #00796b;
  --footer-bg: #222;
  --footer-text: #ffffff;
  --link-color: #00796b;
  --button-bg: #00796b;
  --button-text: #ffffff;
  --input-border: #ccc;
}

body.dark {
  --bg-color: linear-gradient(to bottom right, #0f2027, #203a43, #2c5364);
  --text-color: #ffffff;
  --header-bg: #01141e;
  --accent-color: #00f5ff;
  --footer-bg: #000000;
  --footer-text: #ffffff;
  --link-color: #00f5ff;
  --button-bg: #00f5ff;
  --button-text: #000000;
  --input-border: #555;
}
body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background: var(--bg-color);
  color: var(--text-color);
  scroll-behavior: smooth;
}
.text-section {
  scroll-margin-top: 100px;
}


h2 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  text-align: center;
}
img {
  max-width: 100%;
  height: auto;
  border-radius: 6px;
  object-fit: cover;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  display: block;
  margin: 0 auto;
}
.navbar {
  position: sticky;
  top: 0;
  background-color: var(--header-bg);
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
.nav-logo {
  height: 40px;
}
.navbar ul {
  list-style: none;
  display: flex;
  gap: 1rem;
  margin: 0;
  padding: 0;
}
.navbar ul li a {
  text-decoration: none;
  color: var(--link-color);
  font-weight: bold;
}
.hero {
  height: 100vh;
  background-size: cover;
  background-position: center;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
}
.hero-text {
  background: rgba(0, 0, 0, 0.6);
  padding: 2rem;
  border-radius: 1rem;
}
.cta-button {
  background-color: var(--button-bg);
  color: var(--button-text);
  padding: 0.8rem 1.5rem;
  text-decoration: none;
  border-radius: 5px;
  margin-top: 1rem;
  display: inline-block;
}

main {
  padding: 2rem;
}
section {
  margin-bottom: 3rem;
}
.text-section {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}
.slogan {
  font-style: italic;
  font-size: 1.2em;
  margin-bottom: 1rem;
}
.image-block {
  text-align: center;
}
.image-block .row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-top: 1rem;
}
.image-block .column {
  flex: 1 1 45%;
  min-width: 280px;
  padding: 0.5rem;
}
.gallery-row {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}
.gallery-row img {
  max-width: 30%;
}
.text-content p, .text-content ul li {
  text-align: center;
  font-size: 1rem;
  margin-bottom: 0.8rem;
}
.counters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 2rem;
}
.counter-box {
  text-align: center;
  min-width: 100px;
}
.counter {
  font-size: 2rem;
  font-weight: bold;
  color: #00796b;
}
form {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin-top: 1rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
form input,
form textarea {
  padding: 0.6rem;
  font-size: 1rem;
  border: 1px solid var(--input-border);
  background: var(--bg-color);
  color: var(--text-color);
  border-radius: 5px;
}
form button {
  background-color: #00796b;
  color: white;
  padding: 0.8rem;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}
footer {
  text-align: center;
  background: var(--footer-bg);
  color: var(--footer-text);
  padding: 1rem;
}
footer a {
  color: var(--accent-color);
  margin: 0 0.5rem;
  text-decoration: none;
}

/* === Responsive === */
@media (max-width: 768px) {
  .navbar ul {
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
  }

  .hero {
    height: auto;
    padding: 3rem 1rem;
  }

  .gallery-row img {
    max-width: 90% !important;
  }

  .image-block .column {
    flex: 1 1 100%;
  }
}
/* === Mobile Navigation Erweiterung === */
.menu-toggle {
  display: none;
  font-size: 1.8rem;
  background: none;
  border: none;
  color: var(--link-color);
  cursor: pointer;
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    gap: 0.5rem;
    background-color: var(--header-bg);
    padding: 1rem;
    width: 100%;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links li {
    width: 100%;
    text-align: center;
  }

  .nav-links a,
  .nav-links button {
    display: block;
    width: 100%;
    padding: 0.6rem;
    background: none;
    border: none;
    color: var(--link-color);
    font-size: 1rem;
    font-weight: bold;
    text-decoration: none;
  }
}
body.dark .menu-toggle {
  color: var(--link-color);
}
body.dark .nav-links {
  background-color: var(--header-bg);
}
@media (max-width: 768px) {
  .navbar ul {
    display: none;
  }
}
