

/* =========================
   Wedding Hero Banner
   ========================= */

.wedding-hero {
  position: relative;
  min-height: 70vh;
  background-image: url("https://www.benedictneugebauer.de/_Mappe/WED_8.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

/* dezente Abdunklung für bessere Lesbarkeit */
.wedding-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
}

/* Textblock */
.wedding-hero-content {
  position: relative;
  color: white;
  padding: 2rem 3rem;
  max-width: 800px;
}

.wedding-hero h2 {
  font-size: 2.2rem;
  margin-bottom: 0.5rem;
}

.wedding-hero p {
  font-size: 1.1rem;
  letter-spacing: 0.05em;
}

/* =========================
   Mobile
   ========================= */

@media (max-width: 768px) {
  .wedding-hero {
    min-height: 60vh;
  }

  .wedding-hero h2 {
    font-size: 1.8rem;
  }

  .wedding-hero p {
    font-size: 1rem;
  }
}


/* =========================
   Wedding Text Sections
   ========================= */

.wedding-text {
  max-width: 1080px;
  margin: 0 auto;
}

/* Titel immer zentriert, volle Breite */
.wedding-text h3 {
  text-align: center;
  margin-bottom: 2rem;
}

/* Inhalt: Bild + Text */
.wedding-content {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
}

/* Bild / Text Verhältnis */
.wedding-content img {
  width: 65%;
  height: 450px;
  object-fit: cover;
}

.wedding-content p {
  width: 45%;
  margin: 0;
}

/* =========================
   Abwechselnd links / rechts
   ========================= */

.wedding-text:nth-of-type(even) .wedding-content {
  flex-direction: row;
}

.wedding-text:nth-of-type(odd) .wedding-content {
  flex-direction: row-reverse;
}

/* =========================
   Überschriften
   ========================= */

.wedding-text h3 {
  width: 100%;
  flex-basis: 100%;
  margin-bottom: 1rem;
}

/* =========================
   Hero
   ========================= */

.wedding-hero {
  text-align: center;
  padding: 6rem 2rem;
}

.wedding-hero h2 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

/* =========================
   Mobile
   ========================= */

@media (max-width: 768px) {

  .wedding-content {
    flex-direction: column;
  }

  .wedding-content img,
  .wedding-content p {
    width: 100%;
  }

  .wedding-text h3 {
    text-align: left;
  }

}
