/* =========================
   Hero Image und Text
   ========================= */
.hero-image {
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  height: 80vh;
  background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)),
              url('../bilder/hero.jpeg') center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
  box-sizing: border-box;
}

.hero-text {
  width: 100vw;
  padding: 0;
  margin: 0;
  justify-content: center;
  text-align: center;
}

.hero-text h1 {
  font-family: 'Playfair Display', serif;
  font-size: 3.5rem;
  margin-bottom: 0.5rem;
  max-width: 100vw; 
  line-height: 1.5;
}

.hero-text p {
  font-size: 1.3rem;
  font-weight: 600;
  margin: 0;
  color: white;
}

.hero-text .btn {
  display: block;
  margin: 1rem auto 0 auto; /* aktuell: komplett zentriert */
  width: max-content;
  margin-bottom: 10rem;

}



/* =========================
   Buttons
   ========================= */
.btn {
  display: inline-block;
  background-color: var(--salbei);
  color: white;
  padding: 0.75rem 1.5rem;
  font-weight: bold;
  border-radius: 2rem;
  margin: 0.5rem;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  border: none;
  font-family: 'Lora', serif;
}

.btn.secondary {
  background-color: var(--salbei);
}

.btn:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

/* =========================
   Über mich Section mit Bild und Text nebeneinander
   ========================= */
.ueber-mich {
  display: flex;
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto 5rem auto;
  padding: 0 1rem;
  box-sizing: border-box;
  text-align: left;
  margin-bottom: 2rem; /* größerer Abstand unten */
  border-bottom: 1px solid black; /* dünne schwarze Linie */
  padding-bottom: 2rem; /* Abstand zwischen Text und Linie */
}

.ueber-mich .bild-container,
.ueber-mich .text-container {
  flex: 1;
}

.ueber-mich .bild-container img {
  width: 85%;
  height: 75%;
  object-fit: cover;
  display: block;
  box-shadow: 0 8px 12px rgba(0, 0, 0, 0.7); 
}
.ueber-mich .text-container .btn {
  display: block;
  margin: 1rem auto 0; /* oben 1rem Abstand, links/rechts auto = zentriert */
  width: max-content;  /* Button passt sich der Textbreite an */
}

.freebie {
  display: flex;
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto 5rem auto;
  padding: 0 1rem;
  box-sizing: border-box;
  text-align: left;
  align-items: center; /* Vertikale Zentrierung, optional */
  margin-bottom: 4rem; /* größerer Abstand unten */
  border-bottom: 1px solid black; /* dünne schwarze Linie */
  padding-bottom: 4rem; /* Abstand zwischen Text und Linie */
}

.freebie .bild-container,
.freebie .text-container {
  flex: 1;
}

.freebie .bild-container img {
  width: 70%;
  height: 70%;
  object-fit: cover;
  display: block;
  box-shadow: 0 8px 12px rgba(0, 0, 0, 0.5); 
}

.freebie .text-container .btn {
  display: block;
  margin: 1rem auto 0 auto;
  width: max-content;
}

/* Spotify Player responsive machen */
.spotify-player {
  margin-top: 2rem;
  text-align: center;
  max-width: 1000px; /* max Breite des Players */
  margin-left: auto;
  margin-right: auto;
  aspect-ratio: 300 / 152; /* Seitenverhältnis beibehalten */
  height: auto;
}

.spotify-player iframe {
  width: 100%;
  height: 100%;
  border: none;
}

#angebote {
  padding: 2rem 1rem;
}

.angebote-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
  margin-top: -150px;
}

.angebote-text {
  flex: 1 1 300px;
}

.angebote-text h2 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--dunkelgrau);
}

.angebote-text ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 1rem;
}

.angebote-text ul li {
  margin-bottom: 0.75rem;
  padding-left: 1.5rem;
  position: relative;
  color: var(--warmgrau-dunkel);
  font-size: 1.1rem;
}

.angebote-bild-container {
  flex: 1 1 300px;
  text-align: center;
}

.angebote-bild-container img {
  width: 350px; /* oder eine passende feste Breite/Höhe */
  height: 350px;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.cta {
  margin-top: 1rem;
}



/* Responsive für kleine Bildschirme */
@media (max-width: 600px) {
  .ueber-mich {
    flex-direction: column;
    text-align: center;
  }

  .freebie {
    display: flex;
    flex-direction: column; /* von Reihe zu Spalte */
    align-items: center;    /* zentriert den Inhalt */
    text-align: center;     /* Text zentriert */
    margin-top: 4rem;
  }

  .freebie .bild-container,
  .freebie .text-container {
    flex: none;
    width: 100%;
    margin-bottom: 1.5rem;
  }

  .freebie .bild-container img {
    width: 100%;
    height: auto;
    object-fit: cover;
  }
}

@media (max-width: 768px) {
  .hero-text {
    max-width: 90%;
    padding-right: 5vw;
  }

  .hero-text h1 {
    font-size: 2rem;
  }

  .hero-text p {
    font-size: 1.1rem;
  }
  @media (max-width: 600px) {
  .ueber-mich {
    flex-direction: column;
    text-align: center;
    padding: 0 1rem;
  }

  .ueber-mich .bild-container,
  .ueber-mich .text-container {
    width: 100%;
    flex: none;
    margin-bottom: 1.5rem;
  }

  .ueber-mich .bild-container img {
    width: 100%;
    height: auto;
    object-fit: cover;
  }

  .ueber-mich .text-container .btn {
    margin-left: auto;
    margin-right: auto;
  }
}

}
