/* V090 – ausschließlich Startseite. V088 bleibt erhalten, V090 korrigiert
   Slider-Beschriftung, Abschnittsrhythmus, Vorteilsraster und Kontaktaufruf. */

/* Alle nach dem Hero folgenden Inhaltsabschnitte einheitlich staffeln. */
.home-v012 .v12-section,
.home-v012 .v12-company.v12-section {
  padding-block: clamp(60px, 5.5vw, 80px);
}
.home-v012 .v12-contact {
  padding-block: clamp(60px, 5.5vw, 80px);
}
.home-v012 .v12-section-top {
  margin-bottom: clamp(26px, 2.8vw, 36px);
}

/* Der Slider erhält eine feste, von den Motiven unabhängige Beschriftungsebene.
   Die vorhandenen Bildunterschriften selbst bleiben im JSON unverändert. */
.home-v012 #referenz-bildbuehne::after {
  height: clamp(130px, 18%, 200px);
  background: linear-gradient(to top, rgba(0,0,0,.74), rgba(0,0,0,.25) 60%, transparent);
}
.home-v012 #referenz-bildbuehne .v088-gallery-footer {
  z-index: 7;
  left: 24px;
  right: 162px;
  bottom: 24px;
  display: flex;
  align-items: flex-end;
  gap: 12px 22px;
  flex-wrap: wrap;
  pointer-events: none;
}
.home-v012 #referenz-bildbuehne .v088-gallery-current-caption {
  position: static;
  flex: 0 1 auto;
  max-width: 380px;
  min-width: 0;
  font-size: 14px;
  line-height: 1.4;
  letter-spacing: 0;
  overflow-wrap: anywhere;
  text-shadow: 0 2px 7px rgba(0,0,0,.95);
}
.home-v012 #referenz-bildbuehne .v088-gallery-reference {
  position: relative;
  flex: 0 1 auto;
  max-width: 100%;
  pointer-events: auto;
  color: #fff;
  font-size: 12px;
  line-height: 1.5;
  text-decoration: none;
  text-shadow: 0 2px 7px rgba(0,0,0,.95);
  padding: 3px 0;
  border-bottom: 1px solid rgba(255,255,255,.9);
}
.home-v012 #referenz-bildbuehne .v088-gallery-reference:focus-visible {
  outline: 2px solid white;
  outline-offset: 4px;
}

/* Vorteile: ruhiger, kompakter und auf allen Karten gleiche Textausrichtung. */
.home-v012 .v12-full-benefits .benefits-grid {
  gap: 16px;
}
.home-v012 .v12-full-benefits .benefit {
  grid-template-columns: 84px minmax(0,1fr);
  column-gap: 16px;
  padding: 18px 18px 20px;
}
.home-v012 .v12-full-benefits .benefit-icon {
  width: 84px;
  height: 90px;
  object-position: center top;
}
.home-v012 .v12-full-benefits .benefit h3 {
  margin: 1px 0 8px;
  line-height: 1.26;
}

/* Auf der Startseite nur ein Kontaktaufruf; das Formular bleibt auf kontakt.html. */
.home-v012 .v12-contact-layout {
  gap: 32px;
}
.home-v012 .v12-contact-links {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-width: 0;
  flex-shrink: 0;
}
.home-v012 .v12-contact-links .v12-button {
  justify-content: center;
}

@media (max-width: 760px) {
  .home-v012 .v12-section,
  .home-v012 .v12-company.v12-section,
  .home-v012 .v12-contact {
    padding-block: clamp(44px, 6vw, 56px);
  }
  .home-v012 .v12-section-top { margin-bottom: 25px; }
  .home-v012 #referenz-bildbuehne::after { height: 75%; }
  .home-v012 #referenz-bildbuehne .v088-gallery-footer {
    left: 16px;
    right: 16px;
    bottom: 72px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
  .home-v012 #referenz-bildbuehne .v088-gallery-current-caption {
    max-width: 100%;
    font-size: 13px;
    line-height: 1.35;
  }
  .home-v012 #referenz-bildbuehne .v088-gallery-reference {
    font-size: 12px;
    line-height: 1.4;
  }
  .home-v012 .v12-full-benefits .benefits-grid { gap: 12px; }
  .home-v012 .v12-full-benefits .benefit {
    grid-template-columns: 80px minmax(0,1fr);
    column-gap: 14px;
    padding: 17px 16px 19px;
  }
  .home-v012 .v12-full-benefits .benefit-icon {
    width: 80px;
    height: 88px;
  }
  .home-v012 .v12-contact-layout {
    gap: 24px;
    align-items: flex-start;
  }
}
@media (max-width: 360px) {
  .home-v012 #referenz-bildbuehne .v088-gallery-footer {
    left: 12px;
    right: 12px;
    bottom: 65px;
  }
  .home-v012 #referenz-bildbuehne .v088-gallery-current-caption { font-size: 12px; }
  .home-v012 .v12-full-benefits .benefit {
    grid-template-columns: 72px minmax(0,1fr);
    column-gap: 12px;
  }
  .home-v012 .v12-full-benefits .benefit-icon { width: 72px; height: 80px; }
}
