body { 
  margin: 0;
  font-family: Arial, sans-serif;
  overflow-x: hidden;
}

* {
  box-sizing: border-box;
}

nav {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 10px 20px;
  background: rgba(47,93,80,0.7);
  z-index: 10;
}

.menu {
  grid-column: 2;
  list-style: none;
  display: flex;
  gap: 30px;
  margin: 0;
  padding: 0;
  justify-content: center;
}

.menu a {
  color: white;
  text-decoration: none;
}

.lang-switch {
  grid-column: 3;
  justify-self: end;
}

.hero {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.hero img {
  width: 80%;
  height: auto;
  display: block;
  margin: 0 auto;
}

.hero .title {
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 4rem;
  font-weight: bold;
  text-shadow: 2px 2px 8px rgba(0,0,0,0.7);
  text-align: center;
}

main {
  padding: 20px;
}

footer {
  background: #eee;
  text-align: center;
  padding: 10px;
}

/* Vorteile auf der Startseite */
.advantages {
  max-width: 1000px;
  margin: 80px auto;
  padding: 0 20px;
  text-align: center;
}

.advantages h2 {
  font-size: 2rem;
  margin-bottom: 40px;
  color: #2f5d50;
}

.adv-list {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.adv-list li {
  background: #f5f7f6;
  padding: 24px 22px;
  border-radius: 14px;
  font-size: 1.05rem;
  line-height: 1.5;
  box-shadow: 0 8px 18px rgba(0,0,0,0.08);
}

.adv-list li::before {
  content: "✔";
  display: block;
  color: #2f5d50;
  font-weight: 700;
  font-size: 1.2rem;
  margin-bottom: 10px;
}
