.hero {
  position: relative;
  width: 100%;
  height: 100svh;       /* iOS-safe Viewport-Höhe */
  min-height: 500px;     /* fallback für kleine Screens */
  overflow: hidden;
}

/* Hintergrundbild */
.hero img {
  position: absolute;
  inset: 0;               /* top:0; left:0; right:0; bottom:0 */
  width: 100%;
  height: 100%;
  object-fit: cover;      /* wie background-size: cover */
  object-position: center center; /* Positionierung des Bildes */
  z-index: 0;
}

/* Overlay */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4); /* grün-transparent 0 128 0 0.2 */
  z-index: 1;
}

/* Text & Buttons */
.hero-content {
  position: relative;
  z-index: 2;             /* liegt über Overlay */
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center; /* zentriert vertikal */
  align-items: flex-start; /* linksbündig */
  padding: 2rem 5vw;
  color: #fff;
  /* text-shadow: 0 2px 6px rgba(0,0,0,0.5); /* besser lesbar */ 
}

/* Mobile Anpassungen */
@media (max-width: 768px) {
  .hero-content {
    align-items: center;  /* Text zentrieren auf Handy */
    text-align: center;
    padding: 2rem;
  }

  .hero img {
    object-position: center top; /* wichtig für kleinere Bildschirme */
  }
}