/* OMSAG LP · Hero (Video) — video as soft-fading background on the right,
   copy in normal container flow on top. */

.omsag-lp-hero-video {
  --b:    var(--omsag-lp-brand, #50aa3c);
  --bl:   var(--omsag-lp-lime,  #a1d337);
  --bd:   var(--omsag-lp-brand-deep, #50aa3c);
  --bs:   var(--omsag-lp-brand-soft, rgba(80,170,60,.12));
  --ink:  var(--omsag-lp-ink, #232730);
  --ts:   var(--omsag-lp-text-soft, #5a6270);
  --mut:  var(--omsag-lp-muted, #8a93a3);
  --ln:   var(--omsag-lp-line, #e6e8ec);
  --wn:   var(--omsag-lp-warning, #f5b300);
  --pill: var(--omsag-lp-pill, 999px);
  --ez:   var(--omsag-lp-ease, cubic-bezier(.2,.7,.2,1));
  --grad: var(--omsag-lp-brand-grad, linear-gradient(135deg,#50aa3c 0%,#a1d337 100%));
  --font: var(--omsag-lp-font, 'Outfit', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif);

  position: relative;
  font-family: var(--font);
  color: var(--ink);
  overflow: hidden;
  isolation: isolate;
  background: linear-gradient(180deg, #f0f0f4 0%, #fafafc 100%);
  padding: 140px 0 80px;
  -webkit-font-smoothing: antialiased;
}
.omsag-lp-hero-video,
.omsag-lp-hero-video *,
.omsag-lp-hero-video *::before,
.omsag-lp-hero-video *::after { box-sizing: border-box; }

/* === Video as soft-fading background on the right === */
.omsag-lp-hero-video__visual {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: 62%;
  z-index: 1;
  pointer-events: none;
  /* Soft fade so the video has no hard edge on the left, blends into the bg */
  -webkit-mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,0.15) 12%, rgba(0,0,0,0.6) 28%, black 50%);
          mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,0.15) 12%, rgba(0,0,0,0.6) 28%, black 50%);
}
.omsag-lp-hero-video__media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left center;
  mix-blend-mode: inherit;
  filter: contrast(1.05);
}

/* === Container in normal flow on top of the video === */
.omsag-lp-hero-video__container {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1450px;
  margin: 0 auto;
  padding: 0 28px;
}
.omsag-lp-hero-video__copy {
  max-width: 640px;
}

/* === Eyebrow / headline / sub === */
/* Base eyebrow — standard style: matches all other LP sections (lp-stats, lp-team, ...) */
.omsag-lp-hero-video__eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--b);
  margin-bottom: 14px;
}
/* Pill style — old hero-specific look: glass pill + green pulse dot */
.omsag-lp-hero-video__eyebrow--pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,.7);
  border: 1px solid var(--ln);
  padding: 8px 16px;
  border-radius: var(--pill);
  color: var(--ink);
  margin-bottom: 26px;
  box-shadow: 0 1px 2px rgba(15,17,21,.04), 0 2px 6px rgba(15,17,21,.04);
}
.omsag-lp-hero-video__pulse {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--b);
  box-shadow: 0 0 0 0 rgba(80,170,60,.5);
  animation: omsag-lp-hv-pulse 2s infinite;
}
@keyframes omsag-lp-hv-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(80,170,60,.5); }
  70%  { box-shadow: 0 0 0 12px rgba(80,170,60,0); }
  100% { box-shadow: 0 0 0 0 rgba(80,170,60,0); }
}
.omsag-lp-hero-video__headline {
  font-size: clamp(34px, 4.4vw, 63px);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.12;
  color: var(--ink);
  margin: 0 0 28px;
}
.omsag-lp-hero-video__headline br.d { display: none; }
@media (min-width: 900px) { .omsag-lp-hero-video__headline br.d { display: inline; } }
.omsag-lp-hero-video__grad {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.omsag-lp-hero-video__sub {
  font-size: clamp(17px, 1.4vw, 20px);
  line-height: 1.55;
  color: var(--ts);
  max-width: 596px;
  margin: 0 0 36px;
}

/* === CTAs === */
.omsag-lp-hero-video__cta { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 44px; }
.omsag-lp-hero-video .omsag-lp-btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 20px;
  font-size: 16px; font-weight: 600;
  font-family: var(--font);
  border: 1px solid transparent;
  border-radius: var(--pill);
  text-decoration: none;
  transition: transform .25s var(--ez), background .25s var(--ez), color .25s var(--ez), border-color .25s var(--ez), box-shadow .25s var(--ez);
  white-space: nowrap;
  cursor: pointer;
}
/* Brand (primary) button — dark ink default, no color change on hover.
   Consistent with lp-strategie-cards CTA: only lift + shadow on hover, no shadow at rest. */
.omsag-lp-hero-video .omsag-lp-btn--brand,
.omsag-lp-hero-video a.omsag-lp-btn--brand:link,
.omsag-lp-hero-video a.omsag-lp-btn--brand:visited {
  background: var(--ink);
  color: #fff;
  border-color: transparent;
  box-shadow: none;
}
.omsag-lp-hero-video a.omsag-lp-btn--brand:hover,
.omsag-lp-hero-video a.omsag-lp-btn--brand:focus,
.omsag-lp-hero-video a.omsag-lp-btn--brand:active {
  transform: translateY(-2px);
  background: var(--ink);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 20px 40px -14px rgba(15,17,21,.55);
}

/* Ghost (secondary) button — light glass default, lift + shadow on hover, no color change */
.omsag-lp-hero-video .omsag-lp-btn--ghost,
.omsag-lp-hero-video a.omsag-lp-btn--ghost:link,
.omsag-lp-hero-video a.omsag-lp-btn--ghost:visited {
  background: rgba(255,255,255,.7);
  color: var(--ink);
  border-color: var(--ln);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  box-shadow: none;
}
.omsag-lp-hero-video a.omsag-lp-btn--ghost:hover,
.omsag-lp-hero-video a.omsag-lp-btn--ghost:focus,
.omsag-lp-hero-video a.omsag-lp-btn--ghost:active {
  transform: translateY(-2px);
  background: rgba(255,255,255,.7);
  color: var(--ink);
  border-color: var(--ln);
  box-shadow: 0 20px 40px -14px rgba(15,17,21,.30), 0 4px 14px rgba(15,17,21,.08);
}
.omsag-lp-hero-video .omsag-lp-btn__arrow {
  display: inline-flex; align-items: center; justify-content: center;
  width: 25px; height: 24px;
  transition: transform .35s cubic-bezier(.42, 0, .58, 1);
}
.omsag-lp-hero-video .omsag-lp-btn__arrow svg { width: 25px; height: 24px; display: block; }
.omsag-lp-hero-video .omsag-lp-btn:hover .omsag-lp-btn__arrow { transform: translateX(8px) rotate(45deg); }

/* === Trust line === */
.omsag-lp-hero-video__trust { display: inline-flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.omsag-lp-hero-video__trust-top { display: inline-flex; align-items: center; gap: 14px; }
.omsag-lp-hero-video__stars { display: inline-flex; gap: 3px; font-size: 22px; color: var(--wn); line-height: 1; }
.omsag-lp-hero-video__stars .s { display: inline-block; line-height: 1; }
.omsag-lp-hero-video__stars .s.half { position: relative; color: rgba(245,179,0,.25); }
.omsag-lp-hero-video__stars .s.half::before { content: "★"; position: absolute; inset: 0; width: 50%; overflow: hidden; color: var(--wn); }
.omsag-lp-hero-video__avatars { display: inline-flex; isolation: isolate; }
.omsag-lp-hero-video__avatars img {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 2px solid #fff;
  object-fit: cover;
  box-shadow: 0 2px 6px rgba(15,17,21,.12);
  margin-left: -14px;
  position: relative;
}
.omsag-lp-hero-video__avatars img:first-child   { margin-left: 0; z-index: 3; }
.omsag-lp-hero-video__avatars img:nth-child(2)  { z-index: 2; }
.omsag-lp-hero-video__avatars img:nth-child(3)  { z-index: 1; }
.omsag-lp-hero-video__trust-copy { font-size: 15px; font-weight: 500; color: var(--ts); }

/* === Trust badges (alternative variant) === */
.omsag-lp-hero-video__badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 22px 28px;
  margin-top: 4px;
}
.omsag-lp-hero-video__badge {
  display: inline-flex;
  align-items: center;
  opacity: .9;
  filter: saturate(.95);
  transition: opacity .25s var(--ez), transform .25s var(--ez), filter .25s var(--ez);
}
.omsag-lp-hero-video__badge:hover { opacity: 1; transform: translateY(-1px); filter: saturate(1); }
.omsag-lp-hero-video__badge img {
  display: block;
  height: 100%;
  max-width: 240px;
  width: auto;
  object-fit: contain;
}

/* ============ RESPONSIVE ============ */
/* Polish layer for smaller desktops (1001 – 1280px) — the 2-column layout
   still applies, but with reduced padding and slightly tighter typography
   so it doesn't feel cramped. */
@media (max-width: 1280px) and (min-width: 1001px) {
  .omsag-lp-hero-video { padding: 110px 0 70px; }
  .omsag-lp-hero-video__headline { font-size: clamp(30px, 4vw, 50px); }
  .omsag-lp-hero-video__sub { font-size: clamp(15px, 1.25vw, 18px); }
  .omsag-lp-hero-video__container { padding: 0 24px; }
}
@media (max-width: 1140px) and (min-width: 1001px) {
  .omsag-lp-hero-video { padding: 90px 0 56px; }
  .omsag-lp-hero-video__headline { font-size: clamp(28px, 3.6vw, 42px); margin: 0 0 22px; }
  .omsag-lp-hero-video__sub { font-size: clamp(14.5px, 1.15vw, 16.5px); margin: 0 0 28px; }
  .omsag-lp-hero-video__cta { margin-bottom: 32px; }
  /* Bump the mask end further right so the soft fade reaches the copy column —
     visually crops the video harder. The user-set values still win via inline CSS
     when configured; this is the static fallback. */
  .omsag-lp-hero-video__visual { width: 56%; }
}

@media (max-width: 1000px) {
  .omsag-lp-hero-video { padding: 100px 0 60px; }
  /* Background mode (default): video covers the section, text floats on top. */
  .omsag-lp-hero-video--mobile-background .omsag-lp-hero-video__visual {
    width: 100%;
    -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,0.12) 0%, rgba(0,0,0,0.35) 60%, black 100%);
            mask-image: linear-gradient(180deg, rgba(0,0,0,0.12) 0%, rgba(0,0,0,0.35) 60%, black 100%);
  }
  .omsag-lp-hero-video__copy {
    max-width: 640px;
    margin: 0 auto;
  }

  /* Top mode: video sits as a hero block at the top of the section, text follows below.
     The bottom of the video fades smoothly (to bottom) into the section background — no overlap. */
  .omsag-lp-hero-video--mobile-top { padding: 0 0 60px; }
  .omsag-lp-hero-video--mobile-top .omsag-lp-hero-video__visual {
    position: relative;
    inset: auto;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 11;
    margin: 0;
    -webkit-mask-image: linear-gradient(to bottom, black 0%, black 72%, transparent 100%);
            mask-image: linear-gradient(to bottom, black 0%, black 72%, transparent 100%);
  }
  .omsag-lp-hero-video--mobile-top .omsag-lp-hero-video__container {
    padding-top: 56px;
  }
}
@media (max-width: 760px) {
  .omsag-lp-hero-video--mobile-top .omsag-lp-hero-video__container {
    padding-top: 40px;
  }
}
@media (max-width: 760px) {
  .omsag-lp-hero-video { padding: 80px 0 48px; }
  .omsag-lp-hero-video--mobile-top { padding: 0 0 48px; }
  .omsag-lp-hero-video__container { padding: 0 20px; }
  .omsag-lp-hero-video__stars { font-size: 18px; }
  .omsag-lp-hero-video__avatars img { width: 38px; height: 38px; margin-left: -12px; }
  .omsag-lp-hero-video__avatars img:first-child { margin-left: 0; }
  .omsag-lp-hero-video__trust-copy { font-size: 13px; }
  .omsag-lp-hero-video__badges { gap: 16px 20px; }
  .omsag-lp-hero-video__badge img { max-width: 180px; }
  .omsag-lp-hero-video__badge--hide-mobile { display: none !important; }
  .omsag-lp-hero-video .omsag-lp-btn { padding: 13px 18px; font-size: 14px; }
  .omsag-lp-hero-video .omsag-lp-btn--hide-mobile { display: none !important; }
}
@media (prefers-reduced-motion: reduce) {
  .omsag-lp-hero-video *,
  .omsag-lp-hero-video *::before,
  .omsag-lp-hero-video *::after { animation: none !important; }
}
