.hero {
  text-align: center;
  padding: 4rem 1rem;
}

.hero h1 {
  font-size: 3rem;
}

.hero p {
  font-size: 1.3rem;
}

.center {
  text-align: center;
}

img.rounded {
  border-radius: 12px;
  max-width: 100%;
}


/* Hero-Bereich */
.hero-banner {
  width: 100%;
  height: 70vh;
  min-height: 400px;
  max-height: 800px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  isolation: isolate;
  background: #222;
}

/* Video füllt den gesamten Bereich */
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

/* Abdunklung für bessere Lesbarkeit */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: -1;
}

/* Text über dem Video */
.hero-content {
  position: relative;
  z-index: 1;
  color: white;
  text-align: center;
  padding: 2rem;
  max-width: 900px;
}

.hero-content h1 {
  font-size: clamp(2.2rem, 5vw, 4.5rem);
  font-weight: 700;
  margin-bottom: 1rem;
}

.hero-content p {
  font-size: clamp(1.1rem, 2vw, 1.5rem);
}

/* Call-to-Action */
.hero-button {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.8rem 1.5rem;
  border: 1px solid white;
  border-radius: 4px;
  color: white;
  text-decoration: none;
}

.hero-button:hover {
  background: white;
  color: #222;
}

/* Bei reduzierter Bewegung das Video ausblenden */
@media (prefers-reduced-motion: reduce) {
  .hero-video {
    visibility: hidden;
  }
}

.hero-content input{
  background-color: transparent;
}

.hero-content button {
  background-color: transparent;  
}


