/* OMSAG LP · 3er-Grid Kacheln + CTA */

.omsag-lp-grid3 {
  --b:   var(--omsag-lp-brand, #50aa3c);
  --bl:  var(--omsag-lp-lime, #aad337);
  --bd:  var(--omsag-lp-brand-deep, #50aa3c);
  --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);
  --bgc: var(--omsag-lp-bg-cream, #f0f4ee);
  --pill: var(--omsag-lp-pill, 999px);
  --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);
  padding: 88px 0;
  background: #fff;
  -webkit-font-smoothing: antialiased;
}
.omsag-lp-grid3,
.omsag-lp-grid3 *,
.omsag-lp-grid3 *::before,
.omsag-lp-grid3 *::after { box-sizing: border-box; }

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

/* --- Header --- */
.omsag-lp-grid3__head { max-width: 760px; margin: 0 auto 48px; text-align: center; }
.omsag-lp-grid3__eyebrow {
  display: inline-block;
  font-size: 13px; font-weight: 600; letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--b);
  margin-bottom: 14px;
}
.omsag-lp-grid3__headline {
  font-size: clamp(34px, 4.4vw, 46px);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.1;
  color: var(--ink);
  margin: 0;
}
.omsag-lp-grid3__intro {
  font-size: clamp(16px, 1.3vw, 18px);
  line-height: 1.6;
  color: var(--ts);
  margin: 16px auto 0;
  max-width: 640px;
}

/* --- Grid --- */
.omsag-lp-grid3__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* --- Card --- */
.omsag-lp-grid3__card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 30px;
  background: #fff;
  border: 1px solid var(--ln);
  border-radius: 20px;
  box-shadow: none;
  transition: transform .3s var(--ez), box-shadow .3s var(--ez), border-color .3s var(--ez);
  animation: omsag-lp-grid3-in .6s var(--ez) backwards;
  animation-delay: calc(var(--i, 0) * .08s);
}
@keyframes omsag-lp-grid3-in { from { opacity: 0; transform: translateY(16px); } }
/* shadow only on hover */
.omsag-lp-grid3__card:hover {
  transform: translateY(-4px);
  border-color: rgba(80,170,60,.35);
  box-shadow: 0 1px 0 rgba(255,255,255,.7) inset, 0 26px 60px -24px rgba(15,17,21,.22), 0 8px 22px -10px rgba(15,17,21,.10);
}
/* whole-card click target (stretched link) when a CTA URL is set */
.omsag-lp-grid3__card--link { cursor: pointer; }
.omsag-lp-grid3__stretch {
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
  text-indent: -9999px;
  overflow: hidden;
  white-space: nowrap;
}
.omsag-lp-grid3__stretch:focus { outline: none; }
/* keep visible content above the stretched layer where it matters (links remain non-interactive text) */
.omsag-lp-grid3__icon,
.omsag-lp-grid3__card-title,
.omsag-lp-grid3__card-text,
.omsag-lp-grid3__link { position: relative; z-index: 0; }

.omsag-lp-grid3__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px; height: 52px;
  border: 1px solid var(--ln);
  border-radius: 14px;
  color: var(--b);
  background: var(--bga);
  margin-bottom: 20px;
}
.omsag-lp-grid3__icon svg { width: 26px; height: 26px; display: block; }

.omsag-lp-grid3__card-title {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0 0 10px;
  line-height: 1.3;
}
.omsag-lp-grid3__card-text {
  font-size: 15px;
  line-height: 1.6;
  color: var(--ts);
  margin: 0 0 20px;
}

/* push the link to the bottom so cards align */
.omsag-lp-grid3__link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 600;
  color: var(--b);
  text-decoration: none;
  transition: color .25s var(--ez);
}
.omsag-lp-grid3__card:hover .omsag-lp-grid3__link { color: var(--bd); }
.omsag-lp-grid3__arrow {
  display: inline-flex; align-items: center; justify-content: center;
  transition: transform .35s cubic-bezier(.42,0,.58,1);
}
.omsag-lp-grid3__arrow svg { display: block; }
.omsag-lp-grid3__card:hover .omsag-lp-grid3__arrow { transform: translateX(5px); }

/* ============ RESPONSIVE ============ */
@media (max-width: 980px) {
  .omsag-lp-grid3 { padding: 72px 0; }
  .omsag-lp-grid3__grid { grid-template-columns: 1fr; gap: 18px; max-width: 620px; margin: 0 auto; }
  .omsag-lp-grid3__head { margin-bottom: 36px; }
}
@media (max-width: 760px) {
  .omsag-lp-grid3 { padding: 56px 0; }
  .omsag-lp-grid3__container { padding: 0 20px; }
  .omsag-lp-grid3__card { padding: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  .omsag-lp-grid3 *,
  .omsag-lp-grid3 *::before,
  .omsag-lp-grid3 *::after { animation: none !important; }
}
