/* ============================================================
   aboboxx — /mitarbeiterbenefits/  ·  Warm / People & Culture theme
   Layers on top of styles.css + sachbezug.css.
   Goal: differentiate from the technical /sachbezug/ page —
   lighter, warmer, more human; green becomes an accent, not the
   dominant ground. Everything scoped under .mb-page.
   ============================================================ */

/* ---------- Warm tokens ---------- */
.mb-page {
  --mb-cream: #f6f0e6;
  --mb-card: #ffffff;
  --mb-warm-line: rgba(176, 137, 104, 0.22);
  background: var(--off-white);
}

/* ---------- Nav: this page has a LIGHT hero, so the top (un-scrolled)
   state must use dark logo + dark links instead of the white-on-dark
   treatment that styles.css assumes for the green hero. ---------- */
.mb-page .nav:not(.scrolled) .logo-light { display: none; }
.mb-page .nav:not(.scrolled) .logo-dark { display: block; }
.mb-page .nav:not(.scrolled) .nav-links a { color: var(--ink-2); }
.mb-page .nav:not(.scrolled) .nav-links a:hover { background: rgba(25, 92, 82, 0.08); color: var(--green-700); }
.mb-page .nav:not(.scrolled) .nav-burger span { background: var(--ink); }

/* ---------- Discreet section number ---------- */
.mb-num {
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange-600);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px;
  opacity: 0.9;
}
.mb-num::before {
  content: "";
  width: 22px;
  height: 1.5px;
  background: var(--orange-500);
}

/* ============================================================
   HERO — light, two-column, human image
   ============================================================ */
.mb-hero {
  position: relative;
  background:
    radial-gradient(120% 120% at 100% 0%, rgba(232, 113, 60, 0.10) 0%, transparent 46%),
    radial-gradient(90% 90% at 0% 100%, rgba(25, 92, 82, 0.07) 0%, transparent 50%),
    var(--off-white);
  padding-top: 96px;
  overflow: hidden;
}
.mb-hero-grid {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: clamp(36px, 5vw, 76px);
  align-items: center;
  padding-block: clamp(48px, 6vw, 96px);
}
.mb-hero-copy { min-width: 0; }
.mb-hero h1 {
  font-size: clamp(36px, 4.8vw, 62px);
  line-height: 1.03;
  letter-spacing: -0.035em;
  color: var(--ink);
  margin: 18px 0 0;
  max-width: 16ch;
  text-wrap: balance;
}
.mb-hero h1 .hl { color: var(--orange-600); }
.mb-hero .mb-sub {
  font-size: clamp(18px, 1.7vw, 23px);
  line-height: 1.5;
  color: var(--ink-2);
  max-width: 46ch;
  margin: 24px 0 0;
  text-wrap: pretty;
}
.mb-hero .cta-row { margin-top: 34px; }
.mb-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 34px;
}
.mb-chip {
  font-family: "JetBrains Mono", monospace;
  font-size: 11.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--green-700);
  background: rgba(25, 92, 82, 0.07);
  border: 1px solid rgba(25, 92, 82, 0.14);
  border-radius: 999px;
  padding: 9px 15px;
}

/* hero image card */
.mb-hero-media {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  aspect-ratio: 3 / 2;
  background: var(--beige);
  box-shadow: var(--shadow-lg);
}
.mb-hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}
.mb-hero-media .tag {
  position: absolute;
  left: 16px;
  bottom: 16px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: var(--green-700);
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 9px 15px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
}
.mb-hero-media .tag::before {
  content: "";
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--orange-500);
}

/* light breadcrumb (override sachbezug.css dark variant) */
.mb-page .breadcrumb a { color: var(--ink-3); }
.mb-page .breadcrumb a:hover { color: var(--green-700); }
.mb-page .breadcrumb li + li::before { color: var(--warm-gray); }
.mb-page .breadcrumb [aria-current] { color: var(--orange-600); }

/* ============================================================
   Section rhythm — mostly light; cream is the secondary ground
   ============================================================ */
.mb-page .bg-cream { background: var(--mb-cream); }
.mb-sec { padding-block: clamp(52px, 7vw, 92px); scroll-margin-top: 110px; }
.mb-sec h2 {
  font-size: clamp(27px, 3.4vw, 42px);
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--ink);
  max-width: 20ch;
}
.mb-page .prose p { color: var(--ink-2); }

/* ============================================================
   CARD GRID — "Was macht einen guten Benefit aus"
   ============================================================ */
.mb-cardgrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: clamp(28px, 3.5vw, 44px);
}
.mb-feat-card {
  background: var(--mb-card);
  border: 1px solid rgba(26, 31, 29, 0.07);
  border-radius: var(--r-lg);
  padding: 28px 26px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s;
}
.mb-feat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(232, 113, 60, 0.3);
}
.mb-feat-card .ic {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--orange-100);
  color: var(--orange-600);
  display: flex; align-items: center; justify-content: center;
}
.mb-feat-card:nth-child(even) .ic { background: rgba(25, 92, 82, 0.10); color: var(--green-700); }
.mb-feat-card .ic svg { width: 22px; height: 22px; }
.mb-feat-card h3 {
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.22;
  color: var(--ink);
  margin: 0;
}
.mb-feat-card p {
  font-size: 15.5px;
  line-height: 1.5;
  color: var(--ink-2);
  margin: 0;
}

/* ============================================================
   PREMIUM FEATURE SPLIT — "Warum physische Boxen anders wirken"
   ============================================================ */
.mb-feature {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: clamp(36px, 5vw, 72px);
  align-items: center;
}
.mb-feature.flip { grid-template-columns: 1.08fr 0.92fr; }
.mb-feature.flip .mb-feature-media { order: -1; }
.mb-feature-media {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--beige);
  box-shadow: var(--shadow-lg);
}
.mb-feature-media img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.mb-feature-media::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(217, 103, 4, 0.16) 0%, transparent 38%);
  pointer-events: none;
}
.mb-feature-media .tag {
  position: absolute;
  left: 16px; bottom: 16px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--orange-600);
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 9px 15px;
  border-radius: 999px;
}
.mb-feature h2 { max-width: 16ch; }

/* ============================================================
   HAUSTÜR HIGHLIGHT — distinct delivery moment band
   ============================================================ */
.mb-haustuer {
  position: relative;
  overflow: hidden;
  min-height: min(72vh, 660px);
  display: flex;
  align-items: center;
  background: var(--green-900);
}
.mb-haustuer > img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 42%;
}
.mb-haustuer::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(20, 70, 61, 0.92) 0%, rgba(20, 70, 61, 0.64) 34%, rgba(20, 70, 61, 0.18) 60%, transparent 78%),
    linear-gradient(0deg, rgba(217, 103, 4, 0.22) 0%, transparent 40%);
  pointer-events: none;
}
.mb-haustuer .wrap { position: relative; z-index: 2; }
.mb-haustuer-card { max-width: 30ch; }
.mb-haustuer .ey {
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange-300);
  display: inline-flex; align-items: center; gap: 12px;
  margin: 0 0 22px;
}
.mb-haustuer .ey::before { content: ""; width: 26px; height: 1.5px; background: var(--orange-300); }
.mb-haustuer .big {
  font-size: clamp(30px, 4vw, 50px);
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: -0.035em;
  color: #fff;
  margin: 0;
  text-wrap: balance;
}
.mb-haustuer .big .hl { color: var(--orange-300); }

/* ============================================================
   MANIFESTO — emotional green pull block (the one strong green)
   ============================================================ */
.mb-manifesto {
  background:
    radial-gradient(120% 140% at 100% 0%, rgba(232, 113, 60, 0.20) 0%, transparent 50%),
    var(--green-700);
  color: #fff;
  text-align: center;
}
.mb-manifesto .wrap-narrow { text-align: center; }
.mb-manifesto .ey {
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--orange-300);
  margin: 0 0 24px;
}
.mb-manifesto h2 {
  font-size: clamp(28px, 4vw, 50px);
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -0.035em;
  color: #fff;
  max-width: 20ch;
  margin: 0 auto;
  text-wrap: balance;
}
.mb-manifesto p {
  font-size: clamp(18px, 1.7vw, 22px);
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.86);
  max-width: 52ch;
  margin: 24px auto 0;
  text-wrap: pretty;
}

/* ============================================================
   FÜR WEN — soft chip cards
   ============================================================ */
.mb-audience {
  list-style: none;
  margin: clamp(28px, 3.5vw, 40px) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.mb-audience li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: var(--mb-card);
  border: 1px solid rgba(26, 31, 29, 0.07);
  border-radius: var(--r-md);
  padding: 20px 22px;
  font-size: 16.5px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}
.mb-audience li .dot {
  flex: none;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--orange-100);
  color: var(--orange-600);
  display: flex; align-items: center; justify-content: center;
  margin-top: 1px;
}
.mb-audience li:nth-child(even) .dot { background: rgba(25, 92, 82, 0.10); color: var(--green-700); }
.mb-audience li .dot svg { width: 13px; height: 13px; }

/* ============================================================
   CALLOUT (Sachbezug link) — warm variant
   ============================================================ */
.mb-page .callout {
  background: #fff;
  border: 1px solid var(--mb-warm-line);
  border-left: 4px solid var(--orange-500);
}
.mb-page .callout a { border-bottom-color: rgba(25, 92, 82, 0.3); }

/* ============================================================
   FAQ — lighter, warmer accordion
   ============================================================ */
.mb-page .faq-item { border-color: rgba(176, 137, 104, 0.28); }
.mb-page .faq-item:hover { border-color: rgba(232, 113, 60, 0.4); }
.mb-page .faq-item.open { border-color: rgba(232, 113, 60, 0.5); }
.mb-page .faq-q .pm { border-color: rgba(232, 113, 60, 0.4); }
.mb-page .faq-q .pm::before, .mb-page .faq-q .pm::after { background: var(--orange-600); }
.mb-page .faq-item.open .faq-q .pm { background: var(--orange-500); border-color: var(--orange-500); }

/* ============================================================
   FINAL CTA — warm cream, prominent orange primary
   ============================================================ */
.mb-final {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(90% 120% at 50% 0%, rgba(232, 113, 60, 0.12) 0%, transparent 55%),
    var(--mb-cream);
  text-align: center;
}
.mb-final-inner { position: relative; z-index: 1; max-width: 880px; margin-inline: auto; }
.mb-final .ey {
  font-family: "JetBrains Mono", monospace;
  font-size: 12.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--orange-600);
  margin: 0 0 22px;
}
.mb-final h2 {
  font-size: clamp(34px, 5vw, 64px);
  line-height: 1.04;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--green-800);
  max-width: 18ch;
  margin: 0 auto;
}
.mb-final p {
  font-size: clamp(18px, 1.8vw, 23px);
  line-height: 1.5;
  color: var(--ink-2);
  max-width: 50ch;
  margin: 26px auto 0;
  text-wrap: pretty;
}
.mb-final .cta-row { justify-content: center; margin-top: 40px; }
.mb-final .btn-primary { box-shadow: 0 14px 34px -12px rgba(217, 103, 4, 0.7); }
.mb-final-contact {
  margin-top: 44px;
  padding-top: 34px;
  border-top: 1px solid var(--mb-warm-line);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: clamp(18px, 3vw, 44px);
  font-family: "JetBrains Mono", monospace;
  font-size: 13px;
  letter-spacing: 0.05em;
  color: var(--ink-3);
}
.mb-final-contact a { color: var(--orange-600); }
.mb-final-contact .social-row { width: auto; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 880px) {
  .mb-hero { padding-top: 78px; }
  .mb-hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .mb-hero-media { order: -1; aspect-ratio: 16 / 11; }
  .mb-cardgrid { grid-template-columns: repeat(2, 1fr); }
  .mb-feature, .mb-feature.flip { grid-template-columns: 1fr; gap: 32px; }
  .mb-feature.flip .mb-feature-media { order: 0; }
  .mb-feature-media { aspect-ratio: 5 / 4; max-height: 440px; }
  .mb-haustuer::after {
    background:
      linear-gradient(0deg, rgba(20,70,61,0.95) 0%, rgba(20,70,61,0.6) 40%, transparent 78%),
      linear-gradient(90deg, rgba(20,70,61,0.5) 0%, transparent 60%);
  }
  .mb-haustuer { align-items: flex-end; min-height: 64vh; }
  .mb-haustuer .wrap { padding-block: clamp(36px, 7vw, 64px); }
  .mb-audience { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .mb-cardgrid { grid-template-columns: 1fr; }
  .mb-final .cta-row .btn { width: 100%; justify-content: center; }
}

/* ---------- Print ---------- */
@media print {
  .mb-hero, .mb-final { background: #fff !important; }
  .mb-haustuer { min-height: 0 !important; }
  .mb-manifesto { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}
