/* Startseite – Redesign nach Kundenvorlage (nur von index.html eingebunden) */

/* Zitat unter dem Titelbild */
.home-quote {
  margin: 0;
  padding: 0;
  border-left: 0;
  color: #fff;
  font-size: 24px;
  line-height: 1.45;
  font-style: italic;
  text-align: center;
}

/* Hero: lange Überschrift darf umbrechen */
.titelimg-start-1 .slogan3 {
  max-width: 900px;
  overflow-wrap: break-word;
}

/* Mittlerer Bereich: zweispaltig */
.home-intro .wrap-inhalt3 {
  align-items: stretch;
}

.home-intro-grid {
  display: flex;
  align-items: center;
  gap: 60px;
  width: 100%;
}

.home-intro-text {
  flex: 1 1 55%;
  min-width: 0;
  text-align: left;
}

.home-intro-text .heading-linksb-ndig3 {
  margin-top: 0;
  margin-bottom: 20px;
  color: var(--sea-green);
}

.home-intro-text p {
  font-size: 17px;
  line-height: 1.6;
  margin-bottom: 16px;
}

.home-intro-media {
  flex: 1 1 45%;
  min-width: 0;
}

.home-intro-image {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
}

/* Sechs runde Badges */
.badge-row {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 20px;
  width: 100%;
  margin: 70px 0 0;
  padding: 0;
  list-style: none;
}

.badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 160px;
  aspect-ratio: 1 / 1;
  margin: 0 auto;
  padding: 12px;
  box-sizing: border-box;
  border-radius: 50%;
  background-color: #207b43;
  color: #fff;
  text-align: center;
}

.badge:nth-child(3n + 2) {
  background-color: var(--saddle-brown);
}

.badge:nth-child(3n) {
  background-color: var(--dim-grey);
}

.badge-text {
  font-size: 16px;
  line-height: 1.25;
  hyphens: auto;
  overflow-wrap: break-word;
}

/* Unterer Bereich: Interesse an einem Platz? */
.home-interesse {
  padding: 80px 0;
  background-color: #f3eee7;
}

.home-interesse .wrap-inhalt3 {
  align-items: stretch;
}

.home-interesse-box {
  width: 60%;
  margin-left: auto;
  text-align: left;
}

.home-interesse-box .heading-linksb-ndig3 {
  margin-top: 0;
  color: var(--sea-green);
}

.home-interesse-row {
  display: flex;
  align-items: center;
  gap: 30px;
}

.home-interesse-row p {
  flex: 1 1 auto;
  min-width: 0;
  margin: 0;
  font-size: 17px;
  line-height: 1.6;
}

.terminbutton.highlights.home-interesse-button {
  flex: 0 0 auto;
  width: auto;
  height: auto;
  max-width: 100%;
  white-space: normal;
  text-align: center;
}

@media screen and (max-width: 991px) {
  .home-intro-grid {
    gap: 40px;
  }

  .badge-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 50px;
  }

  .home-interesse {
    padding: 60px;
  }

  .home-interesse-box {
    width: 100%;
  }
}

@media screen and (max-width: 767px) {
  .home-quote {
    font-size: 20px;
  }

  .home-intro-grid {
    flex-direction: column;
    align-items: stretch;
    gap: 30px;
  }

  .home-intro-text p,
  .home-interesse-row p {
    font-size: 16px;
  }

  .home-interesse {
    padding: 40px;
  }

  .home-interesse-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
}

@media screen and (max-width: 479px) {
  .home-quote {
    font-size: 18px;
  }

  .badge-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  .badge {
    max-width: 140px;
  }

  .badge-text {
    font-size: 15px;
  }

  .home-interesse {
    padding: 40px 20px;
  }
}
