/* SAM-PRO Business v43 */
/* Responsive Hero-Feinschliff: Text darf nicht ins Notebook laufen,
   leichte weiße Lesbarkeitsfläche wie im Entwurf */

.v7-hero{
  position: relative !important;
  overflow: hidden !important;
  background: 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;
  margin: 0 !important;
  padding: 0 !important;
}

.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;
  isolation: isolate !important;
}

/* altes separates Bild vollständig deaktivieren */
.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;
}

/* Textblock bewusst innerhalb eines festen, harmonischen Bereichs */
.v7-hero__copy{
  position: absolute !important;
  left: clamp(36px, 4.4vw, 86px) !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  z-index: 10 !important;
  width: min(44vw, 690px) !important;
  max-width: 690px !important;
  min-width: 480px !important;
  padding: 40px 28px 40px 28px !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  align-items: flex-start !important;
  background: transparent !important;
  box-shadow: none !important;
  border: 0 !important;
}

/* sanfter weißer Schleier hinter Text/Buttons für bessere Lesbarkeit */
.v7-hero__copy::before{
  content: '' !important;
  position: absolute !important;
  inset: -44px -90px -44px -42px !important;
  z-index: -1 !important;
  pointer-events: none !important;
  background: linear-gradient(90deg,
    rgba(255,255,255,.94) 0%,
    rgba(255,255,255,.90) 28%,
    rgba(255,255,255,.82) 52%,
    rgba(255,255,255,.62) 72%,
    rgba(255,255,255,.26) 88%,
    rgba(255,255,255,0) 100%) !important;
  filter: blur(4px) !important;
  border-radius: 18px !important;
}

.v7-hero__copy h1{
  margin: 0 !important;
  max-width: 620px !important;
  font-family: Georgia, 'Times New Roman', serif !important;
  font-weight: 500 !important;
  font-size: clamp(34px, 3.15vw, 50px) !important;
  line-height: 1.14 !important;
  letter-spacing: -0.015em !important;
  color: #0b2149 !important;
}

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

.v7-hero__copy p{
  max-width: 560px !important;
  margin: 0 !important;
  color: #2a3950 !important;
  font-size: 16px !important;
  line-height: 1.66 !important;
}

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

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

/* Desktop/Notebook: fixiert das Zusammenspiel besser */
@media (max-width: 1540px){
  .v7-hero__grid{
    min-height: 600px !important;
    background-position: 56% center !important;
  }
  .v7-hero__copy{
    width: min(43vw, 650px) !important;
    max-width: 650px !important;
    min-width: 450px !important;
  }
}

@media (max-width: 1360px){
  .v7-hero__grid{
    min-height: 580px !important;
    background-position: 61% center !important;
  }
  .v7-hero__copy{
    left: 30px !important;
    width: min(42vw, 590px) !important;
    max-width: 590px !important;
    min-width: 400px !important;
    padding: 28px 20px 28px 20px !important;
  }
  .v7-hero__copy::before{
    inset: -34px -72px -34px -30px !important;
  }
  .v7-hero__copy h1{
    font-size: clamp(30px, 2.9vw, 44px) !important;
    max-width: 520px !important;
  }
  .v7-hero__copy p{
    max-width: 500px !important;
    font-size: 15px !important;
  }
}

/* Bevor Text ins Notebook läuft: Umschalten auf kompaktere Darstellung */
@media (max-width: 1180px){
  .v7-hero__grid{
    min-height: 540px !important;
    background-position: 68% center !important;
  }
  .v7-hero__copy{
    width: min(41vw, 500px) !important;
    max-width: 500px !important;
    min-width: 360px !important;
    left: 24px !important;
    padding: 22px 18px 22px 18px !important;
  }
  .v7-hero__copy::before{
    inset: -28px -58px -28px -24px !important;
    background: linear-gradient(90deg,
      rgba(255,255,255,.95) 0%,
      rgba(255,255,255,.91) 34%,
      rgba(255,255,255,.83) 58%,
      rgba(255,255,255,.57) 78%,
      rgba(255,255,255,.18) 92%,
      rgba(255,255,255,0) 100%) !important;
  }
  .v7-hero__copy h1{
    font-size: clamp(28px, 2.7vw, 38px) !important;
    line-height: 1.15 !important;
  }
  .v7-hero__copy p{
    font-size: 14px !important;
    line-height: 1.6 !important;
  }
  .v7-actions .btn{
    min-height: 48px !important;
    padding: 12px 18px !important;
    font-size: 14px !important;
  }
}

/* Tablet: sauber untereinander statt ins Notebook zu laufen */
@media (max-width: 980px){
  .v7-hero__grid{
    min-height: 760px !important;
    background-position: 72% center !important;
  }
  .v7-hero__copy{
    top: 34px !important;
    transform: none !important;
    width: calc(100% - 48px) !important;
    max-width: 620px !important;
    min-width: 0 !important;
    left: 24px !important;
    right: 24px !important;
    padding: 24px 18px 24px 18px !important;
  }
  .v7-hero__copy::before{
    inset: -20px -20px -20px -20px !important;
    background: linear-gradient(90deg,
      rgba(255,255,255,.95) 0%,
      rgba(255,255,255,.91) 42%,
      rgba(255,255,255,.75) 72%,
      rgba(255,255,255,.25) 100%) !important;
  }
  .v7-hero__copy h1{ font-size: 32px !important; max-width: 100% !important; }
  .v7-hero__copy p{ font-size: 14px !important; max-width: 100% !important; }
  .v7-actions{ width: 100% !important; }
}

@media (max-width: 640px){
  .v7-hero__grid{
    min-height: 700px !important;
    background-position: 74% 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; gap: 12px !important; }
  .v7-actions .btn{ width: 100% !important; justify-content: center !important; }
}
