/* SAM-PRO Business v42 */
/* FINAL: Hero CSS wird korrekt geladen. Graue Flächen/Overlays deaktiviert. */

.v7-hero{
  position: relative !important;
  overflow: hidden !important;
  background: transparent !important;
  background-color: transparent !important;
  border-bottom: 1px solid #d6dee8 !important;
}

.v7-hero > .container,
.v7-hero .container,
.v7-hero .container.v7-hero__grid{
  max-width: 100% !important;
  width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  transform: none !important;
}

/* Vollflächiges, bereinigtes Herobild */
.v7-hero__grid{
  position: relative !important;
  display: block !important;
  width: 100% !important;
  min-height: 620px !important;
  overflow: hidden !important;
  background-image: url('../img/hero-v40.webp') !important;
  background-repeat: no-repeat !important;
  background-position: center center !important;
  background-size: cover !important;
  background-color: transparent !important;
}

/* Alle alten Pseudo-Overlays vollständig entfernen */
.v7-hero::before,
.v7-hero::after,
.v7-hero > .container::before,
.v7-hero > .container::after,
.v7-hero__grid::before,
.v7-hero__grid::after,
.v7-hero__copy::before,
.v7-hero__copy::after,
.v7-hero__image::before,
.v7-hero__image::after{
  content: none !important;
  display: none !important;
  opacity: 0 !important;
  background: transparent !important;
}

/* Separates altes Bild ausblenden, damit nur das neue Full-Width-Hero wirkt */
.v7-hero__image,
.v7-hero__image-inner,
.v7-hero__image img{
  display: none !important;
}

/* Text/Buttons transparent über dem Hero, ohne Fläche */
.v7-hero__copy{
  position: absolute !important;
  left: 0 !important;
  top: 0 !important;
  bottom: 0 !important;
  z-index: 10 !important;
  width: min(47%, 760px) !important;
  max-width: 760px !important;
  min-height: 620px !important;
  padding: 84px 24px 64px clamp(48px, 4.8vw, 96px) !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  align-items: flex-start !important;
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
  border: 0 !important;
  opacity: 1 !important;
  backdrop-filter: none !important;
}

.v7-hero__copy h1{
  margin: 0 !important;
  max-width: 650px !important;
  font-family: Georgia, 'Times New Roman', serif !important;
  font-weight: 500 !important;
  font-size: clamp(38px, 3.2vw, 52px) !important;
  line-height: 1.14 !important;
  letter-spacing: -0.015em !important;
  color: #0a224e !important;
  text-shadow: none !important;
  background: transparent !important;
}

.v7-gold-line{
  display: block !important;
  width: 86px !important;
  height: 4px !important;
  margin: 24px 0 22px !important;
  background: #c9a23a !important;
  border-radius: 999px !important;
}

.v7-hero__copy p{
  max-width: 600px !important;
  margin: 0 !important;
  color: #24364f !important;
  font-size: 17px !important;
  line-height: 1.62 !important;
  text-shadow: none !important;
  background: transparent !important;
}

.v7-actions{
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 18px !important;
  align-items: center !important;
  margin-top: 34px !important;
  background: transparent !important;
}

.v7-actions .btn{
  min-height: 54px !important;
  padding: 14px 26px !important;
  font-size: 15px !important;
  font-weight: 750 !important;
  border-radius: 4px !important;
  box-shadow: 0 10px 22px rgba(0,40,86,.10) !important;
}

.v7-actions .btn-primary{
  background: #002856 !important;
  border: 1px solid #002856 !important;
  color: #fff !important;
}

.v7-actions .btn-ghost{
  background: rgba(255,255,255,.90) !important;
  border: 1px solid rgba(0,40,86,.38) !important;
  color: #002856 !important;
}

@media (max-width: 1400px){
  .v7-hero__grid{ min-height: 580px !important; }
  .v7-hero__copy{
    width: min(49%, 700px) !important;
    min-height: 580px !important;
    padding-left: 44px !important;
  }
  .v7-hero__copy h1{ font-size: clamp(34px, 3.0vw, 46px) !important; }
  .v7-hero__copy p{ font-size: 15px !important; }
}

@media (max-width: 1100px){
  .v7-hero__grid{
    min-height: 560px !important;
    background-position: 64% center !important;
  }
  .v7-hero__copy{
    width: min(56%, 640px) !important;
    min-height: 560px !important;
    padding: 58px 22px 36px 34px !important;
  }
}

@media (max-width: 900px){
  .v7-hero__grid{
    min-height: 720px !important;
    background-position: 68% center !important;
  }
  .v7-hero__copy{
    position: relative !important;
    width: min(100%, 720px) !important;
    min-height: auto !important;
    padding: 38px 22px 28px !important;
  }
  .v7-hero__copy h1{
    max-width: 100% !important;
    font-size: 31px !important;
  }
  .v7-hero__copy p{
    max-width: 100% !important;
    font-size: 14px !important;
  }
  .v7-actions{
    display: grid !important;
    grid-template-columns: 1fr !important;
  }
}
