/* css/vanta-hero.css */
.hero-section {
  position: relative;
  overflow: hidden;
}

.vanta-bg {
  position: relative;
  width: 100%;
  height: 50vh; /* anpassen: 60-80vh je nach Design */
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Vanta erzeugt ein canvas-Element als Kind, das z-index:0 erhält.
   Wir legen hero-content darüber. */
.vanta-bg canvas {
  position: absolute !important;
  top: 0;
  left: 0;
  width: 100% !important;
  height: 100% !important;
  z-index: 0;
}

/* Inhalt über dem Canvas */
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1100px;
  padding: 2rem;
  color: #ffffff;
  text-align: left;
}

/* halbtransparenter Overlay (optional) */
.vanta-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(5, 20, 30, 0.45); /* sorgt für Lesbarkeit */
  z-index: 1;
}

/* Buttons etc. */
.hero-ctas { margin-top: 1rem; }
.btn-vanta { display: inline-block; padding: .6rem 1rem; border-radius: 8px; text-decoration: none; }
.btn-vanta.primary { background:#1fb6a7; color:#fff; }


.hero-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.hero-image img {
  width: 220px;
  height: 260px;
  border-radius: 50%; /* kreisförmig */
  object-fit: cover;
  border: 2px solid rgba(255,255,255,0.2);
  box-shadow: 0 0 20px rgba(0,0,0,0.3);
  transition: transform 0.3s ease;
}

.hero-image img:hover {
  transform: scale(1.05);
}

.hero-text {
  max-width: 600px;
}

.hero-text h1 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.hero-text p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #e6f6f3;
}

/* mobile stack */
@media (max-width: 768px) {
  .hero-inner {
    flex-direction: column;
    text-align: center;
  }
  .hero-image img {
    width: 160px;
    height: 190px;
  }
}


