:root {
  --main-green: #459f37cc;
  --text-dark: #333;
  --bg-light: #ffffff;
  --bg-section: #f8f8f8;
  --max-content-width: 830px;
}

/* Reset & Basis */
*, *::before, *::after { 
  box-sizing: border-box; 
}

body {
  margin: 0;
  font-family: Arial, sans-serif;
  line-height: 1.6;
  background: var(--bg-light);
  color: var(--text-dark);
}

/* Header */
header {
  background: var(--main-green);
  color: white;
  text-align: center;
  padding: 30px 20px 20px;
}

header h1 {
  margin: 0 0 15px;
  font-size: 2.2em;
}

/* Navigation */
header .nav-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  margin-bottom: 10px;
}

header .nav-buttons a {
  flex: 1 1 auto;
  min-width: 140px;
  max-width: 220px;
  padding: 12px 25px;
  text-decoration: none;
  font-weight: bold;
  border-radius: 8px;
  background: white;
  color: var(--main-green);
  transition: all 0.3s;
}

header .nav-buttons a:hover {
  background: #357a2a;
  color: white;
  box-shadow: 0 6px 12px rgba(0,0,0,0.25);
  transform: translateY(-3px);
}

/* HERO: Bild + Willkommen = Einheit */
.hero {
  max-width: var(--max-content-width);
  margin: 15px auto 0;
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 12px 25px rgba(0,0,0,0.25);
}

.hero img {
  width: 100%;
  display: block;
}

/* Bildrechte */
.image-credits {
  position: absolute;
  top: 0;
  right: 0;
  padding: 5px 9px;
  font-size: 0.7em;
  color: rgba(255,255,255,0.85);
  background: rgba(0,0,0,0.12);
  backdrop-filter: blur(3px);
  border-bottom-left-radius: 8px;
}

/* Willkommen */
.welcome {
  background: var(--main-green);
  color: white;
  position: relative;
}

.welcome-content {
  padding: 25px 20px 20px;
}

.welcome h2 {
  margin: 0 0 10px;
  font-size: 2em;
}

.welcome .subtitle {
  font-weight: bold;
  margin-bottom: 15px;
}

.welcome p {
  margin-bottom: 10px;
}

/* Sanfter Übergang Hero → Section */
.welcome::after {
  content: '';
  display: block;
  height: 25px;
  background: linear-gradient(to bottom, var(--main-green) 0%, rgba(69,159,55,0) 100%);
}

/* Sections */
section {
  max-width: var(--max-content-width);
  margin: auto;
  padding: 20px;
  border-radius: 8px;
}

section:nth-of-type(even) {
  background: var(--bg-section);
}

section h2 {
  color: var(--main-green);
}

/* Kontakt */
.contact-info {
  background: #f8f8f8;
  padding: 15px;
  border-radius: 8px;
}

/* Footer */
footer {
  background: var(--main-green);
  color: white;
  text-align: center;
  padding: 20px;
  border-radius: 10px;
  margin: 40px auto 20px;
  max-width: var(--max-content-width);
  box-shadow: 0 12px 25px rgba(0,0,0,0.25);
}

footer a {
  color: white;
  text-decoration: underline;
  margin: 0 5px;
}

/* Responsive */
@media (max-width: 600px) {
  header .nav-buttons {
    flex-direction: column;
    gap: 10px;
  }

  header .nav-buttons a {
    max-width: 100%;
    font-size: 1.05em;
    padding: 12px 0;
  }

  .hero {
    margin-top: 0;
    border-radius: 6px;
    box-shadow: 0 8px 18px rgba(0,0,0,0.2);
  }

  .welcome-content {
    padding: 18px 15px 15px;
  }

  .welcome h2 {
    font-size: 1.5em;
  }

  .welcome .subtitle {
    font-size: 0.95em;
    margin-bottom: 12px;
  }

  .welcome p {
    font-size: 0.9em;
    margin-bottom: 8px;
  }

  .image-credits {
    font-size: 0.65em;
    padding: 4px 7px;
  }

  .welcome::after {
    height: 18px;
  }

  footer {
    border-radius: 6px;
    box-shadow: 0 8px 18px rgba(0,0,0,0.2);
  }
}

/* Very Small Screens <400px */
@media (max-width: 400px) {
  .hero {
    border-radius: 4px;
    box-shadow: 0 6px 15px rgba(0,0,0,0.18);
  }

  .welcome-content {
    padding: 12px 10px 10px;
  }

  .welcome h2 {
    font-size: 1.35em;
  }

  .welcome .subtitle {
    font-size: 0.9em;
    margin-bottom: 10px;
  }

  .welcome p {
    font-size: 0.85em;
    margin-bottom: 6px;
  }

  .image-credits {
    font-size: 0.6em;
    padding: 3px 5px;
  }

  header .nav-buttons a {
    font-size: 0.95em;
    padding: 10px 0;
  }

  .welcome::after {
    height: 14px;
  }

  footer {
    border-radius: 4px;
    box-shadow: 0 6px 15px rgba(0,0,0,0.18);
  }
}
