/* SAM-PRO Business v44 */
/* Hero mit fixer Desktop-Bühne:
   - Bildgröße bleibt auf Desktop stabil
   - Text läuft nicht ins Notebook
   - weißer Schleier verbessert Lesbarkeit */

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

/* Standard-Container im Hero neutralisieren */
.v7-hero > .container,
.v7-hero .container,
.v7-hero .container.v7-hero__grid{
  padding: 0 !important;
}

/* Desktop: feste Bühne, damit sich Bild + Text nicht gegeneinander verschieben */
.v7-hero__grid{
  position: relative !important;
  display: block !important;
  width: 1660px !important;
  min-width: 1660px !important;
  max-width: 1660px !important;
  min-height: 670px !important;
  margin: 0 auto !important;
  overflow: hidden !important;
  background-image: url('../img/hero-v40.webp') !important;
  background-repeat: no-repeat !important;
  background-position: center center !important;
  background-size: 1660px 670px !important;
  isolation: isolate !important;
}

/* altes Bild-Element abschalten */
.v7-hero::before,
.v7-hero::after,
.v7-hero > .container::before,
.v7-hero > .container::after,
.v7-hero__grid::before,
.v7-hero__grid::after,
.v7-hero__image,
.v7-hero__image-inner,
.v7-hero__image img{
  content: none !important;
  display: none !important;
}

.v7-hero__copy{
  position: absolute !important;
  left: 78px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  z-index: 10 !important;
  width: 580px !important;
  max-width: 580px !important;
  min-width: 580px !important;
  padding: 40px 24px 40px 8px !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  align-items: flex-start !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

/* Weißer Schleier wie im Entwurf */
.v7-hero__copy::before{
  content: '' !important;
  position: absolute !important;
  inset: -54px -110px -54px -36px !important;
  z-index: -1 !important;
  pointer-events: none !important;
  background: linear-gradient(90deg,
    rgba(255,255,255,.96) 0%,
    rgba(255,255,255,.93) 26%,
    rgba(255,255,255,.88) 48%,
    rgba(255,255,255,.74) 65%,
    rgba(255,255,255,.42) 82%,
    rgba(255,255,255,.10) 92%,
    rgba(255,255,255,0) 100%) !important;
  filter: blur(8px) !important;
  border-radius: 20px !important;
}

.v7-hero__copy h1{
  margin: 0 !important;
  max-width: 540px !important;
  font-family: Georgia, 'Times New Roman', serif !important;
  font-weight: 500 !important;
  font-size: 37px !important;
  line-height: 1.16 !important;
  letter-spacing: -0.012em !important;
  color: #0b2149 !important;
}

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

.v7-hero__copy p{
  max-width: 510px !important;
  margin: 0 !important;
  color: #2b3c52 !important;
  font-size: 15px !important;
  line-height: 1.68 !important;
}

.v7-actions{
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 16px !important;
  align-items: center !important;
  margin-top: 28px !important;
}

.v7-actions .btn{
  min-height: 52px !important;
  padding: 13px 22px !important;
  font-size: 15px !important;
  font-weight: 750 !important;
  border-radius: 4px !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,.92) !important;
  border: 1px solid rgba(0,40,86,.42) !important;
  color: #002856 !important;
}

/* Wenn der Browser schmaler wird, bleibt die Bühne stabil und wird nur beschnitten */
@media (max-width: 1660px){
  .v7-hero{
    overflow-x: hidden !important;
  }
  .v7-hero__grid{
    margin-left: calc(50% - 830px) !important;
    margin-right: 0 !important;
  }
}

/* Unterhalb dieser Breite auf sicheres responsives Layout umschalten */
@media (max-width: 1180px){
  .v7-hero__grid{
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    min-height: 760px !important;
    margin: 0 !important;
    background-size: cover !important;
    background-position: 72% center !important;
  }
  .v7-hero__copy{
    left: 24px !important;
    right: 24px !important;
    top: 36px !important;
    transform: none !important;
    width: calc(100% - 48px) !important;
    max-width: 560px !important;
    min-width: 0 !important;
    padding: 24px 16px 24px 10px !important;
  }
  .v7-hero__copy::before{
    inset: -24px -40px -24px -20px !important;
    filter: blur(6px) !important;
  }
  .v7-hero__copy h1{
    font-size: 32px !important;
    max-width: 100% !important;
  }
  .v7-hero__copy p{
    max-width: 100% !important;
    font-size: 14px !important;
  }
  .v7-actions .btn{
    min-height: 48px !important;
    padding: 12px 18px !important;
    font-size: 14px !important;
  }
}

@media (max-width: 720px){
  .v7-hero__grid{
    min-height: 700px !important;
    background-position: 73% center !important;
  }
  .v7-hero__copy{
    left: 16px !important;
    right: 16px !important;
    width: calc(100% - 32px) !important;
  }
  .v7-hero__copy h1{ font-size: 28px !important; }
  .v7-gold-line{ margin: 18px 0 16px !important; }
  .v7-actions{
    display: grid !important;
    grid-template-columns: 1fr !important;
    width: 100% !important;
    gap: 12px !important;
  }
  .v7-actions .btn{ width: 100% !important; justify-content: center !important; }
}
