html{
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
}


.hero {
  position: relative;
  min-height: 75vh;
  background-image: url("https://viennasalsastudio.at/wp-content/uploads/2026/01/headerbackground.webp");
  background-size: cover;
  background-position: center;
  display: flex;
  justify-content: center;
  padding: 2rem;
  color: white;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,0.7), rgba(0,0,0,0.4));
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1100px;
  width: 100%;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

/* 🔥 Desktop-Layout */
.hero-main {
  flex: 1;
  display: flex;
  flex-direction: row;         /* nebeneinander */
  align-items: center;         /* vertikal zentriert */
  justify-content: center;     /* Block zentriert */
  gap: 3rem;
  text-align: left;
}

.hero-main h1 {
  flex: 1;
  font-size: clamp(2.4rem, 4vw, 3.8rem);
  line-height: 1.1;
  text-align: center;
}

.hero-main p {
  flex: 1;
  max-width: 520px;
  line-height: 1.6;
  font-size: 1.1rem;
}

/* 🔽 Button */
.hero-btn {
  display: inline-block;
  margin-top: auto;
  align-self: center;
  margin-bottom: 1.5rem;
  padding: 0.9rem 1.8rem;
  border-radius: 999px;
  border-color: white;
  border-style: solid;
  color: white;
  background-color: transparent;
  font-family: Zen Dots;
  font-weight: 600;
  transition: transform 0.2s ease, background 0.2s ease;
  text-decoration: none;
}

.hero-btn:hover {
  background: white;
  color: black;
  transform: translateY(-2px);
}

/* 📱 Mobile: untereinander */
@media (max-width: 768px) {
  .hero-main {
    flex-direction: column;     /* 👈 h1 über p */
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 1.5rem;
  }

  .hero-main p {
    max-width: 90%;
  }
}
