/* OMSAG LP · B2B Growth · 04 Einstieg — Pfad-Selektor
   Default = final/visible (no-JS: erster Pfad aktiv). JS adds `.bgi-anim` then `.is-in`. */

.omsag-lp-bgi {
  --b:   var(--omsag-lp-brand, #50aa3c);
  --bl:  var(--omsag-lp-lime, #aad337);
  --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);
  --bg-alt: var(--omsag-lp-bg-alt, #f9faf8);
  --ez:  var(--omsag-lp-ease, cubic-bezier(.2,.7,.2,1));
  --font: var(--omsag-lp-font, 'Outfit', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif);

  position: relative; font-family: var(--font); color: var(--ink); background: #fff;
  padding: 104px 0; -webkit-font-smoothing: antialiased;
}
.omsag-lp-bgi, .omsag-lp-bgi *, .omsag-lp-bgi *::before, .omsag-lp-bgi *::after { box-sizing: border-box; }
.omsag-lp-bgi__container { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 28px; }

/* Head */
.omsag-lp-bgi__head { margin-bottom: 40px; max-width: 960px; }
.omsag-lp-bgi__eyebrow { font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--b); margin: 0 0 16px; }
/* manueller Umbruch aus dem Editor: erst ab Tablet wirksam */
.omsag-lp-bgi__br { display: none; }
@media (min-width: 861px) { .omsag-lp-bgi__br { display: inline; } }
.omsag-lp-bgi__headline { font-size: clamp(30px, 4vw, 46px); font-weight: 700; letter-spacing: -0.026em; line-height: 1.07; color: var(--ink); margin: 0 0 18px; max-width: 100%; }
.omsag-lp-bgi__lead { font-size: clamp(15px, 1.15vw, 17px); line-height: 1.6; color: var(--ts); margin: 0; }

/* Selector cards */
.omsag-lp-bgi__paths { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin-bottom: 30px; }
.omsag-lp-bgi__path {
  position: relative; cursor: pointer; text-align: center; font-family: inherit;
  display: flex; flex-direction: column; align-items: center; gap: 16px;
  background: #fff; border: 1.5px solid var(--ln); border-radius: var(--omsag-lp-radius, 20px);
  padding: 24px 20px 26px; color: var(--ink); outline: none; -webkit-tap-highlight-color: transparent;
  transition: border-color .3s var(--ez), box-shadow .3s var(--ez), transform .3s var(--ez);
}
.omsag-lp-bgi__path:hover { border-color: var(--mut); transform: translateY(-2px); }
.omsag-lp-bgi__path:focus-visible { outline:none; }
.omsag-lp-bgi__path-num {
  position: absolute; top: 14px; left: 14px; width: 26px; height: 26px; border-radius: 50%;
  border: 1px solid var(--ln); display: grid; place-items: center; font-size: 12px; font-weight: 700; color: var(--ts);
}
.omsag-lp-bgi__path-check { position: absolute; top: 12px; right: 12px; width: 24px; height: 24px; color: var(--ink); opacity: 0; transform: scale(.6); transition: opacity .3s var(--ez), transform .3s var(--ez); }
.omsag-lp-bgi__path-check svg { width: 24px; height: 24px; }
.omsag-lp-bgi__path-ico { width: 62px; height: 62px; border-radius: 50%; display: grid; place-items: center; color: var(--b); background: var(--bg-alt); border: 1px solid var(--ln); transition: background .3s var(--ez); }
.omsag-lp-bgi__path-ico svg { width: 30px; height: 30px; }
.omsag-lp-bgi__path-title { font-size: 15px; font-weight: 600; line-height: 1.3; letter-spacing: -0.01em; max-width: 18ch; }
.omsag-lp-bgi__path-toggle { display: none; }
.omsag-lp-bgi__path.is-active { border-color: var(--ink); box-shadow: 0 24px 50px -30px rgba(35,39,48,.55); }
.omsag-lp-bgi__path.is-active .omsag-lp-bgi__path-num { border-color: var(--ink); background: var(--ink); color: #fff; }
.omsag-lp-bgi__path.is-active .omsag-lp-bgi__path-check { opacity: 1; transform: scale(1); }
.omsag-lp-bgi__path.is-active .omsag-lp-bgi__path-ico { background: #fff; }
/* pointer tail to detail */
.omsag-lp-bgi__path.is-active::after {
  content: ""; position: absolute; left: 50%; bottom: -9px; width: 16px; height: 16px; background: #fff;
  border-right: 1.5px solid var(--ink); border-bottom: 1.5px solid var(--ink);
  transform: translateX(-50%) rotate(45deg); border-radius: 0 0 3px 0;
}

/* Detail box */
.omsag-lp-bgi__detail {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr);
  border: 1px solid var(--ln); border-radius: var(--omsag-lp-radius-lg, 28px); overflow: hidden;
  background: #fff; box-shadow: 0 30px 60px -40px rgba(35,39,48,.3);
}
.omsag-lp-bgi__panes { position: relative; display: grid; padding: 34px 34px; }
.omsag-lp-bgi__pane { grid-column: 1; grid-row: 1; display: flex; flex-direction: column; gap: 20px; opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .4s var(--ez), transform .4s var(--ez); }
.omsag-lp-bgi__pane.is-active { opacity: 1; visibility: visible; transform: none; position: relative; }
.omsag-lp-bgi__pane[hidden] { display: none; }
.omsag-lp-bgi__pane-divider { height: 1px; background: var(--ln); }
.omsag-lp-bgi__result { display: flex; align-items: flex-start; gap: 16px; }
.omsag-lp-bgi__result-ico { flex-shrink: 0; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; color: var(--b); background: var(--bg-alt); border: 1px solid var(--ln); }
.omsag-lp-bgi__result-ico svg { width: 22px; height: 22px; }
.omsag-lp-bgi__result-body { flex: 1; min-width: 0; }
.omsag-lp-bgi__result-title { font-size: 16px; font-weight: 700; color: var(--ink); margin: 4px 0 12px; letter-spacing: -0.01em; }
.omsag-lp-bgi__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.omsag-lp-bgi__list li { position: relative; padding-left: 20px; font-size: 14px; line-height: 1.5; color: var(--ts); }
.omsag-lp-bgi__list li::before { content: ""; position: absolute; left: 2px; top: 8px; width: 7px; height: 7px; border-radius: 50%; background: linear-gradient(135deg, var(--b), var(--bl)); }

/* Roles (static) */
.omsag-lp-bgi__roles { padding: 34px 34px; background: var(--bg-alt); border-left: 1px solid var(--ln); }
.omsag-lp-bgi__roles-label { font-size: 13px; font-weight: 700; color: var(--ink); margin: 0 0 20px; }
.omsag-lp-bgi__roles-row { display: flex; align-items: stretch; gap: 10px; }
.omsag-lp-bgi__role { flex: 1; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--ln); border-radius: var(--omsag-lp-radius-sm, 12px); padding: 20px 12px; }
.omsag-lp-bgi__role-ico { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; color: var(--b); background: var(--bg-alt); border: 1px solid var(--ln); }
.omsag-lp-bgi__role-ico svg { width: 22px; height: 22px; }
/* Die Rollen-Karten stehen auf Weiss. Neben der Farbe wird auch die Fuellfarbe
   der Schrift ausdruecklich gesetzt: so kann keine geerbte Sonderregel und kein
   alter Stand aus dem Browser-Zwischenspeicher die Texte unsichtbar machen. */
.omsag-lp-bgi__role-title { font-size: 14.5px; font-weight: 700; color: var(--ink); -webkit-text-fill-color: currentColor; letter-spacing: -0.01em; }
.omsag-lp-bgi__role-desc { font-size: 12.5px; line-height: 1.45; color: var(--ts); -webkit-text-fill-color: currentColor; }
.omsag-lp-bgi__roles-arrow { flex-shrink: 0; align-self: center; width: 20px; height: 20px; color: var(--mut); display: grid; place-items: center; }
.omsag-lp-bgi__roles-arrow svg { width: 20px; height: 20px; }

/* Banner */
.omsag-lp-bgi__banner {
  display: flex; align-items: center; gap: 18px; margin-top: 24px;
  border: 1.5px dashed var(--ln); border-radius: var(--omsag-lp-radius, 20px); padding: 20px 26px; background: var(--bg-alt);
}
.omsag-lp-bgi__banner-ico { flex-shrink: 0; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; color: var(--b); background: #fff; border: 1px solid var(--ln); }
.omsag-lp-bgi__banner-ico svg { width: 22px; height: 22px; }
.omsag-lp-bgi__banner-txt { margin: 0; font-size: 14px; line-height: 1.55; color: var(--ts); }

/* CTA */
.omsag-lp-bgi__cta { display: flex; justify-content: center; margin-top: 40px; }
.omsag-lp-bgi__btn {
  display: inline-flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 600; line-height: 1.2; text-decoration: none; color: #fff;
  background: var(--ink); border: 0; cursor: pointer; padding: 16px 30px; border-radius: var(--omsag-lp-pill, 999px);
  box-shadow: none; transition: transform .25s var(--ez), box-shadow .25s var(--ez), color .2s var(--ez);
}
.omsag-lp-bgi__btn svg { width: 18px; height: 18px; transition: transform .25s var(--ez); }
.omsag-lp-bgi__btn:hover, .omsag-lp-bgi__btn:focus { color: #fff; transform: translateY(-2px); box-shadow: 0 16px 34px -14px rgba(35,39,48,.45); }
.omsag-lp-bgi__btn:hover svg { transform: translateX(4px); }

/* Reveal */
.omsag-lp-bgi.bgi-anim .omsag-lp-bgi__eyebrow,
.omsag-lp-bgi.bgi-anim .omsag-lp-bgi__headline,
.omsag-lp-bgi.bgi-anim .omsag-lp-bgi__lead,
.omsag-lp-bgi.bgi-anim .omsag-lp-bgi__path,
.omsag-lp-bgi.bgi-anim .omsag-lp-bgi__detail,
.omsag-lp-bgi.bgi-anim .omsag-lp-bgi__banner,
.omsag-lp-bgi.bgi-anim .omsag-lp-bgi__cta { opacity: 0; transform: translateY(16px); }
.omsag-lp-bgi.bgi-anim.is-in .omsag-lp-bgi__eyebrow  { animation: bgi-up .6s var(--ez) .02s forwards; }
.omsag-lp-bgi.bgi-anim.is-in .omsag-lp-bgi__headline { animation: bgi-up .7s var(--ez) .08s forwards; }
.omsag-lp-bgi.bgi-anim.is-in .omsag-lp-bgi__lead     { animation: bgi-up .7s var(--ez) .16s forwards; }
.omsag-lp-bgi.bgi-anim.is-in .omsag-lp-bgi__path     { animation: bgi-up .6s var(--ez) forwards; }
.omsag-lp-bgi.bgi-anim.is-in .omsag-lp-bgi__path:nth-child(1) { animation-delay: .24s; }
.omsag-lp-bgi.bgi-anim.is-in .omsag-lp-bgi__path:nth-child(2) { animation-delay: .32s; }
.omsag-lp-bgi.bgi-anim.is-in .omsag-lp-bgi__path:nth-child(3) { animation-delay: .40s; }
.omsag-lp-bgi.bgi-anim.is-in .omsag-lp-bgi__path:nth-child(4) { animation-delay: .48s; }
.omsag-lp-bgi.bgi-anim.is-in .omsag-lp-bgi__detail   { animation: bgi-up .7s var(--ez) .5s forwards; }
.omsag-lp-bgi.bgi-anim.is-in .omsag-lp-bgi__banner   { animation: bgi-up .7s var(--ez) .6s forwards; }
.omsag-lp-bgi.bgi-anim.is-in .omsag-lp-bgi__cta      { animation: bgi-up .7s var(--ez) .68s forwards; }
@keyframes bgi-up { to { opacity: 1; transform: none; } }

/* Responsive */
@media (max-width: 1000px) {
  .omsag-lp-bgi { padding: 80px 0; }
  .omsag-lp-bgi__paths { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .omsag-lp-bgi__detail { grid-template-columns: minmax(0, 1fr); }
  .omsag-lp-bgi__roles { border-left: 0; border-top: 1px solid var(--ln); }
  .omsag-lp-bgi__path.is-active::after { display: none; }
}
/* ---------- Akkordeon auf schmalen Schirmen ----------
   Vier gestapelte Auswahlkarten mit weit entferntem Inhalt sind nicht
   bedienbar. Deshalb wandert der Inhalt (per JS) direkt unter die offene
   Karte; Karte und Inhalt bilden optisch einen Block.                     */
@media (max-width: 760px) {
  .omsag-lp-bgi__paths { grid-template-columns: minmax(0, 1fr); gap: 10px; margin-bottom: 22px; }

  .omsag-lp-bgi__path {
    flex-direction: row; align-items: center; text-align: left;
    gap: 12px; padding: 13px 14px; border-radius: 16px;
  }
  .omsag-lp-bgi__path:hover { transform: none; }
  .omsag-lp-bgi__path-num { position: static; flex: none; width: 26px; height: 26px; }
  .omsag-lp-bgi__path-check { display: none; }
  .omsag-lp-bgi__path-ico { width: 38px; height: 38px; flex: none; }
  .omsag-lp-bgi__path-ico svg { width: 20px; height: 20px; }
  .omsag-lp-bgi__path-title { max-width: none; flex: 1 1 auto; min-width: 0; font-size: 14.5px; }
  .omsag-lp-bgi__path-toggle {
    display: grid; place-items: center; flex: none;
    width: 24px; height: 24px; color: var(--ts);
    transition: transform .3s var(--ez), color .3s var(--ez);
  }
  .omsag-lp-bgi__path-toggle svg { width: 18px; height: 18px; }
  .omsag-lp-bgi__path.is-active .omsag-lp-bgi__path-toggle { transform: rotate(180deg); color: var(--ink); }

  /* Offene Karte + Inhalt als ein Block. Bewusst mit der normalen hellen
     Linie statt der harten dunklen Kontur der Desktop-Auswahl; die untere
     Kante der Kopfzeile entfaellt, damit zwischen Kopf und Inhalt keine
     Trennlinie stehen bleibt. Offen erkennt man am getoenten Kopf, der
     dunklen Nummer und dem gedrehten Pfeil. */
  .omsag-lp-bgi.is-accordion .omsag-lp-bgi__path.is-active {
    border-color: var(--ln);
    border-bottom-color: transparent;
    border-bottom-left-radius: 0; border-bottom-right-radius: 0;
    background: var(--bg-alt);
    box-shadow: none;
  }
  .omsag-lp-bgi.is-accordion .omsag-lp-bgi__panes {
    display: block;
    margin: -1.5px 0 0;
    padding: 2px 16px 18px;
    background: #fff;
    border: 1.5px solid var(--ln);
    border-top: 0;
    border-radius: 0 0 16px 16px;
    box-shadow: none;
  }
  .omsag-lp-bgi.is-accordion .omsag-lp-bgi__pane { grid-column: auto; grid-row: auto; }
  .omsag-lp-bgi.is-accordion .omsag-lp-bgi__pane:not(.is-active) { display: none; }
  /* Ohne den Inhaltsblock bliebe im Rollen-Kasten eine Linie am oberen Rand. */
  .omsag-lp-bgi.is-accordion .omsag-lp-bgi__roles { border-top: 0; }
}
@media (max-width: 600px) {
  .omsag-lp-bgi { padding: 60px 0; }
  .omsag-lp-bgi__container { padding: 0 20px; }
  .omsag-lp-bgi__panes, .omsag-lp-bgi__roles { padding: 24px 22px; }
  .omsag-lp-bgi.is-accordion .omsag-lp-bgi__panes { padding: 2px 16px 18px; }
  .omsag-lp-bgi__roles-row { flex-direction: column; }
  .omsag-lp-bgi__roles-arrow { transform: rotate(90deg); }
  .omsag-lp-bgi__btn { width: 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  .omsag-lp-bgi.bgi-anim .omsag-lp-bgi__eyebrow,
  .omsag-lp-bgi.bgi-anim .omsag-lp-bgi__headline,
  .omsag-lp-bgi.bgi-anim .omsag-lp-bgi__lead,
  .omsag-lp-bgi.bgi-anim .omsag-lp-bgi__path,
  .omsag-lp-bgi.bgi-anim .omsag-lp-bgi__detail,
  .omsag-lp-bgi.bgi-anim .omsag-lp-bgi__banner,
  .omsag-lp-bgi.bgi-anim .omsag-lp-bgi__cta { opacity: 1; transform: none; }
  .omsag-lp-bgi__pane { transition: none; }
  .omsag-lp-bgi * { animation: none !important; }
}

/* Lange Komposita duerfen die Spalte nie sprengen */
.omsag-lp-bgi :is(h1,h2,h3,h4,h5,p,li,span,strong,b,em,dt,dd){overflow-wrap:break-word;hyphens: manual}
