.omsag-lp-vp {
  --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);
  --bga:  var(--omsag-lp-bg-alt, #f9faf8);
  --pill: var(--omsag-lp-pill, 999px);
  --r:    var(--omsag-lp-radius, 20px);
  --rl:   var(--omsag-lp-radius-lg, 28px);
  --rs:   var(--omsag-lp-radius-sm, 12px);
  --grad: var(--omsag-lp-brand-grad, linear-gradient(135deg,#50aa3c 0%,#a1d337 100%));
  --ez:   var(--omsag-lp-ease, cubic-bezier(.2,.7,.2,1));
  --font: var(--omsag-lp-font, 'Outfit', system-ui, sans-serif);
  --link: #c4cad4;
  background: #f1f2f5;
  font-family: var(--font);
  color: var(--ink);
  padding: 110px 0;
  overflow-x: clip;
}
.omsag-lp-vp,
.omsag-lp-vp *,
.omsag-lp-vp *::before,
.omsag-lp-vp *::after { box-sizing: border-box; }

.omsag-lp-vp__container { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 28px; }

/* ── Header ── */
.omsag-lp-vp__head { max-width: 980px; margin: 0 0 56px; }
.omsag-lp-vp__eyebrow { display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--b); margin-bottom: 14px; }
.omsag-lp-vp__h2 { margin: 0; font-size: clamp(34px, 4.4vw, 56px); font-weight: 700; letter-spacing: 0; line-height: 1.1; color: var(--ink); }
.omsag-lp-vp__h2 .omsag-lp-vp__grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ── Layout: diagram on top, "Die Folge" steps below ── */
.omsag-lp-vp__layout { display: block; }

/* ===== Diagram (hub & spoke) — centered ===== */
.omsag-lp-vp__diagram {
  position: relative;
  max-width: 1160px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr minmax(220px, .82fr) 1fr;
  grid-template-areas:
    "inhouse cmo experten"
    "agentur cmo sales"
    "gesch   gesch gesch";
  gap: 44px 84px;
  align-items: center;
}
/* Wrapper is invisible on desktop — its children act as direct grid items.
   On mobile it becomes a horizontal scroll-snap slider (see media query). */
.omsag-lp-vp__players { display: contents; }

/* Slider pagination dots (only shown on mobile) */
.omsag-lp-vp__dots { display: none; justify-content: center; gap: 9px; margin-top: 8px; }
.omsag-lp-vp__dot-btn {
  width: 8px; height: 8px; padding: 0; border: 0; cursor: pointer;
  border-radius: 999px;
  background: var(--ln);
  transition: background .25s var(--ez), width .25s var(--ez);
}
.omsag-lp-vp__dot-btn.is-active { background: var(--b); width: 22px; }
.omsag-lp-vp__links {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  overflow: visible;
  pointer-events: none;
  z-index: 1;
}
.omsag-lp-vp__link {
  fill: none;
  stroke: var(--link);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-dasharray: 1.6 7;
  opacity: 0;
  animation: omsag-vp-dash 1.5s linear infinite;
}
.omsag-lp-vp__diagram.is-inview .omsag-lp-vp__link {
  opacity: 1;
  transition: opacity .55s var(--ez);
  transition-delay: calc(var(--i, 0) * .09s);
}
.omsag-lp-vp__dot { fill: var(--b); opacity: 0; }
.omsag-lp-vp__diagram.is-inview .omsag-lp-vp__dot {
  opacity: .85;
  transition: opacity .55s var(--ez);
  transition-delay: calc(var(--i, 0) * .09s + .15s);
}
@keyframes omsag-vp-dash { to { stroke-dashoffset: -17.2; } }

/* Player cards */
.omsag-lp-vp__player {
  position: relative;
  z-index: 2;
  background: #fff;
  border: 1px solid var(--ln);
  border-radius: var(--r);
  padding: 22px 22px 20px;
  transition: transform .3s var(--ez), box-shadow .3s var(--ez), border-color .3s var(--ez);
}
.omsag-lp-vp__player[data-pos="inhouse"] { grid-area: inhouse; }
.omsag-lp-vp__player[data-pos="experten"] { grid-area: experten; }
.omsag-lp-vp__player[data-pos="agentur"] { grid-area: agentur; }
.omsag-lp-vp__player[data-pos="sales"] { grid-area: sales; }
.omsag-lp-vp__player[data-pos="gesch"] { grid-area: gesch; justify-self: center; width: 100%; max-width: 560px; }
.omsag-lp-vp__player:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 16px rgba(15,17,21,.06), 0 12px 38px rgba(15,17,21,.07);
  border-color: transparent;
}
.omsag-lp-vp__player-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.omsag-lp-vp__icon {
  width: 44px; height: 44px; flex-shrink: 0;
  border-radius: 12px;
  display: grid; place-items: center;
  background: #f3f4f6;
  color: var(--ts);
  transition: background .3s var(--ez), color .3s var(--ez);
}
.omsag-lp-vp__icon svg { width: 24px; height: 24px; }
.omsag-lp-vp__player:hover .omsag-lp-vp__icon { background: var(--bs); color: var(--b); }
.omsag-lp-vp__player-title { margin: 0; font-size: 18px; font-weight: 700; line-height: 1.2; letter-spacing: -.01em; color: var(--ink); }
.omsag-lp-vp__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.omsag-lp-vp__list li { position: relative; padding-left: 16px; font-size: 14px; line-height: 1.5; color: var(--ts); }
.omsag-lp-vp__list li::before { content: ""; position: absolute; left: 2px; top: .58em; width: 5px; height: 5px; border-radius: 50%; background: var(--b); }

/* Hub: CMO card */
.omsag-lp-vp__cmo {
  grid-area: cmo;
  position: relative;
  z-index: 3;
  align-self: center;
  justify-self: center;
  width: 100%;
  max-width: 290px;
  aspect-ratio: 5 / 6;
  border-radius: var(--rl);
  overflow: hidden;
  background: var(--ink);
  color: #fff;
  box-shadow: 0 12px 32px rgba(15,17,21,.20), 0 30px 70px -22px rgba(80,170,60,.30);
}
.omsag-lp-vp__cmo::before { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255,255,255,.14); z-index: 3; pointer-events: none; }
.omsag-lp-vp__cmo::after { content: ""; position: absolute; inset: 0; z-index: 2; background: linear-gradient(180deg, rgba(20,22,28,0) 38%, rgba(18,20,25,.55) 70%, rgba(16,18,22,.92) 100%); }
.omsag-lp-vp__cmo-img { position: absolute; inset: 0; z-index: 1; }
.omsag-lp-vp__cmo-img img { width: 100%; height: 100%; object-fit: cover; display: block; filter: grayscale(.18) contrast(1.02); }
.omsag-lp-vp__cmo-ph {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  background:
    radial-gradient(circle at 50% 30%, rgba(161,211,55,.18), transparent 60%),
    radial-gradient(circle at 50% 100%, rgba(80,170,60,.22), transparent 60%),
    linear-gradient(180deg, #2c313c 0%, #1c1f27 100%);
  color: rgba(255,255,255,.22);
}
.omsag-lp-vp__cmo-ph svg { width: 84px; height: 84px; stroke-width: 1.2; }
.omsag-lp-vp__cmo-meta { position: absolute; left: 0; right: 0; bottom: 0; z-index: 4; padding: 20px; }
.omsag-lp-vp__cmo-title { display: block; font-size: 20px; font-weight: 700; line-height: 1.15; }
.omsag-lp-vp__cmo-sub { display: block; margin-top: 6px; font-size: 12.5px; line-height: 1.4; color: rgba(255,255,255,.74); }

/* ===== "Die Folge" — horizontal step band below the diagram ===== */
.omsag-lp-vp__folge {
  margin-top: 76px;
  padding-top: 56px;
  border-top: 1px solid var(--ln);
}
.omsag-lp-vp__folge-head { text-align: center; margin-bottom: 40px; }
.omsag-lp-vp__folge-title { margin: 0 0 12px; font-size: 14px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink); }
.omsag-lp-vp__folge-rule { display: none; }
.omsag-lp-vp__folge-list {
  list-style: none; margin: 0 auto; padding: 0;
  max-width: 1040px;
  position: relative;
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 30px 14px;
}
.omsag-lp-vp__folge-list::before {
  content: ""; position: absolute; left: 10%; right: 10%; top: 27px; height: 2px; z-index: 0;
  background: repeating-linear-gradient(to right, var(--ln) 0 4px, transparent 4px 9px);
}
.omsag-lp-vp__folge-item {
  position: relative; z-index: 1;
  flex: 1 1 0; min-width: 150px;
  display: flex; flex-direction: column; align-items: center; gap: 14px;
  text-align: center;
}
.omsag-lp-vp__folge-icon {
  width: 54px; height: 54px; flex-shrink: 0;
  border-radius: 50%;
  display: grid; place-items: center;
  background: #fff;
  border: 1px solid var(--ln);
  color: var(--ts);
  transition: border-color .3s var(--ez), color .3s var(--ez), background .3s var(--ez), box-shadow .3s var(--ez);
}
.omsag-lp-vp__folge-icon svg { width: 24px; height: 24px; }
.omsag-lp-vp__folge-text { font-size: 14.5px; line-height: 1.4; color: var(--ink); font-weight: 500; max-width: 20ch; }
.omsag-lp-vp__folge-item:hover .omsag-lp-vp__folge-icon { color: var(--b); border-color: rgba(80,170,60,.4); box-shadow: 0 6px 16px -8px rgba(80,170,60,.4); }
.omsag-lp-vp__folge-item.is-accent .omsag-lp-vp__folge-icon { background: var(--grad); border-color: transparent; color: #fff; box-shadow: 0 8px 20px -8px rgba(80,170,60,.55); }
.omsag-lp-vp__folge-item.is-accent .omsag-lp-vp__folge-text { font-weight: 700; }
/* "Bad" variant — red highlight for negative consequences */
.omsag-lp-vp__folge-item.is-accent.is-accent--bad .omsag-lp-vp__folge-icon {
  background: linear-gradient(135deg, #e53935 0%, #ff6b6b 100%);
  box-shadow: 0 8px 20px -8px rgba(229,57,53,.55);
}
.omsag-lp-vp__folge-item.is-accent--bad:hover .omsag-lp-vp__folge-icon {
  color: #fff;
  border-color: transparent;
  box-shadow: 0 10px 26px -8px rgba(229,57,53,.6);
}

/* ===== Reassurance banner ===== */
.omsag-lp-vp__banner {
  margin-top: 40px;
  display: flex; align-items: center; gap: 18px;
  padding: 22px 28px;
  background: var(--bs);
  border: 1px solid rgba(80,170,60,.25);
  border-radius: var(--r);
}
.omsag-lp-vp__banner-icon {
  width: 46px; height: 46px; flex-shrink: 0;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--grad);
  color: #fff;
  box-shadow: 0 8px 18px -6px rgba(80,170,60,.5);
}
.omsag-lp-vp__banner-icon svg { width: 24px; height: 24px; }
.omsag-lp-vp__banner-text { font-size: 18px; font-weight: 600; color: var(--ink); }

/* ===== Fly-in from the centre (desktop / tablet hub layout only) ===== */
@media (min-width: 761px) {
  .omsag-lp-vp__player {
    opacity: 0;
    transition: opacity .6s var(--ez), transform .75s var(--ez), box-shadow .3s var(--ez), border-color .3s var(--ez);
  }
  .omsag-lp-vp__player[data-pos="inhouse"]  { transform: translate(26px, 16px);  transition-delay: .05s; }
  .omsag-lp-vp__player[data-pos="experten"] { transform: translate(-26px, 16px); transition-delay: .12s; }
  .omsag-lp-vp__player[data-pos="agentur"]  { transform: translate(34px, 0);     transition-delay: .19s; }
  .omsag-lp-vp__player[data-pos="sales"]    { transform: translate(-34px, 0);    transition-delay: .26s; }
  .omsag-lp-vp__player[data-pos="gesch"]    { transform: translate(0, -26px);    transition-delay: .30s; }
  .omsag-lp-vp__cmo {
    opacity: 0; transform: scale(.95);
    transition: opacity .55s var(--ez), transform .7s var(--ez);
  }

  .omsag-lp-vp__diagram.is-inview .omsag-lp-vp__player { opacity: 1; transform: translate(0, 0); }
  .omsag-lp-vp__diagram.is-inview .omsag-lp-vp__cmo    { opacity: 1; transform: scale(1); }
  /* keep the hover lift working after the cards have settled */
  .omsag-lp-vp__diagram.is-inview .omsag-lp-vp__player:hover { transform: translateY(-3px); }
}
@media (min-width: 761px) and (prefers-reduced-motion: reduce) {
  .omsag-lp-vp__player,
  .omsag-lp-vp__cmo { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* ===== Tablet ===== */
@media (max-width: 1100px) {
  /* Connector line only lines up cleanly when all 5 steps are in one row */
  .omsag-lp-vp__folge-list::before { display: none; }
}

/* ===== Mobile ===== */
@media (max-width: 760px) {
  .omsag-lp-vp { padding: 64px 0; }
  .omsag-lp-vp__container { padding: 0 20px; }
  .omsag-lp-vp__head { margin-bottom: 36px; }
  .omsag-lp-vp__h2 { font-size: 31px; }

  .omsag-lp-vp__diagram { display: flex; flex-direction: column; align-items: stretch; gap: 20px; max-width: 100%; min-width: 0; margin: 0; }
  .omsag-lp-vp__links { display: none; }
  /* no hover lift inside the slider — looks odd on touch */
  .omsag-lp-vp__player:hover { transform: none; box-shadow: none; border-color: var(--ln); }
  .omsag-lp-vp__player:hover .omsag-lp-vp__icon { background: #f3f4f6; color: var(--ts); }
  .omsag-lp-vp__cmo {
    order: -1;
    width: 100%;
    max-width: 100%;
    align-self: stretch;
    aspect-ratio: 4 / 3;
    margin: 0;
    box-shadow: 0 12px 30px -16px rgba(15,17,21,.4);
  }

  /* Player cards = swipeable carousel. It bleeds to both screen edges; the inner
     left padding insets the first card so it shows in full, while the next card
     is cut off exactly at the right screen edge. overflow-x:clip on the section
     guards against any sideways page scroll. */
  .omsag-lp-vp__players {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-left: 20px;
    -webkit-overflow-scrolling: touch;
    margin: 0 -20px;
    padding: 4px 20px 14px;
    scrollbar-width: none;
  }
  .omsag-lp-vp__players::-webkit-scrollbar { display: none; }
  .omsag-lp-vp__player,
  .omsag-lp-vp__player[data-pos="gesch"] {
    flex: 0 0 84%;
    min-width: 0;
    max-width: 360px;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    margin: 0;
  }
  .omsag-lp-vp__dots { display: flex; }

  .omsag-lp-vp__folge { margin-top: 48px; padding-top: 40px; }
  .omsag-lp-vp__folge-head { margin-bottom: 28px; }
  /* Vertical timeline on mobile (icon left, text right, connecting line) */
  .omsag-lp-vp__folge-list {
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: stretch;
    justify-content: flex-start;
    gap: 2px;
    max-width: 360px;
  }
  .omsag-lp-vp__folge-list::before {
    display: block;
    left: 27px; right: auto; top: 32px; bottom: 32px;
    width: 2px; height: auto;
    background: repeating-linear-gradient(to bottom, var(--ln) 0 4px, transparent 4px 9px);
  }
  .omsag-lp-vp__folge-item {
    flex: none;
    min-width: 0;
    flex-direction: row;
    align-items: center;
    text-align: left;
    gap: 14px;
    padding: 9px 0;
  }
  .omsag-lp-vp__folge-text { max-width: none; }

  .omsag-lp-vp__banner { gap: 14px; padding: 18px 20px; align-items: flex-start; }
  .omsag-lp-vp__banner-text { font-size: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  .omsag-lp-vp__link { animation: none; }
}
