/* ================================================
   Mitarbeiterbindung — Zusatz-Styles
   (ergänzt startseite-v1.css mit mb-* Klassen)
   ================================================ */

/* ------- Vergleich (Gehaltserhöhung vs. Benefit) ------- */
.mb-compare {
  display: grid; gap: 20px; grid-template-columns: 1fr;
}
@media (min-width: 760px) {
  .mb-compare { grid-template-columns: 1fr 1fr; gap: 24px; }
}
.mb-compare__col {
  padding: 32px 28px;
  background: #fff;
  border: 1px solid var(--rule); border-radius: 16px;
  position: relative;
  box-shadow: 0 4px 12px rgba(26,26,46,0.04);
}
.mb-compare__col--good {
  background: linear-gradient(160deg, #fffaeb, #fff);
  border-color: var(--rule-strong);
  box-shadow: 0 12px 30px rgba(201,152,2,0.14);
}
.mb-compare__tag {
  display: inline-block; padding: 5px 12px; border-radius: 999px;
  background: rgba(26,26,46,0.06); color: var(--text-2);
  font-size: 11px; font-weight: 900; letter-spacing: 1.5px; text-transform: uppercase;
  margin-bottom: 14px;
}
.mb-compare__tag--good {
  background: linear-gradient(135deg, var(--gold), var(--gold-3));
  color: #fff;
}
.mb-compare__h {
  font-weight: 900; font-size: 22px; color: var(--text);
  margin: 0 0 16px; letter-spacing: -0.01em;
}
.mb-compare__val {
  font-weight: 900; font-size: clamp(42px, 6vw, 64px);
  color: var(--text); letter-spacing: -0.02em; line-height: 1;
  font-variant-numeric: tabular-nums;
}
.mb-compare__val--good { color: var(--gold-deep); }
.mb-compare__label {
  display: block; font-size: 13px; color: var(--text-2);
  margin: 8px 0 22px; font-weight: 700;
}
.mb-compare__list {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 10px;
  padding-top: 18px; border-top: 1px dashed var(--rule);
}
.mb-compare__list li {
  font-size: 14px; color: var(--text); font-weight: 600;
  padding-left: 22px; position: relative; line-height: 1.5;
}
.mb-compare__list li::before {
  content: '•'; color: var(--gold); font-weight: 900;
  position: absolute; left: 6px; top: 0;
}

/* ------- Doppelter Gewinn ------- */
.mb-double {
  display: grid; gap: 22px; grid-template-columns: 1fr;
}
@media (min-width: 760px) {
  .mb-double { grid-template-columns: 1fr 1fr; gap: 28px; }
}
.mb-double__card {
  padding: 34px 30px;
  background: #fff;
  border: 1px solid var(--rule); border-radius: 16px;
  box-shadow: 0 4px 12px rgba(26,26,46,0.04);
  height: 100%;
}
.mb-double__h {
  font-weight: 900; font-size: 22px; color: var(--text);
  margin: 0 0 20px; letter-spacing: -0.01em;
  padding-bottom: 14px; border-bottom: 1px solid var(--rule);
}

/* ------- Rechnung / Calculator ------- */
.mb-calc {
  display: flex; flex-direction: column; gap: 12px;
  margin-top: 24px;
}
.mb-calc__block {
  padding: 22px 20px;
  background: #fff;
  border: 1px solid var(--rule); border-radius: 14px;
}
.mb-calc__block--bad { border-left: 3px solid #CC0000; }
.mb-calc__block--good {
  border-left: 3px solid var(--gold);
  background: linear-gradient(160deg, #fffaeb, #fff);
}
.mb-calc__h {
  font-weight: 900; font-size: 14px; color: var(--text);
  margin-bottom: 14px; letter-spacing: 0.2px;
}
.mb-calc__row {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 6px 0; font-size: 14px; color: var(--text-2);
  gap: 12px;
}
.mb-calc__row b { color: var(--text); font-weight: 800; flex-shrink: 0; }
.mb-calc__total {
  display: flex; justify-content: space-between; align-items: baseline;
  padding-top: 12px; margin-top: 10px; border-top: 1px dashed var(--rule);
  font-weight: 900; font-size: 16px; color: var(--text);
  gap: 12px;
}
.mb-calc__total b { color: var(--gold-deep); font-size: 20px; flex-shrink: 0; }
.mb-calc__block--bad .mb-calc__total b { color: #CC0000; }
.mb-calc__vs {
  text-align: center; font-family: 'Cormorant Garamond', Georgia, serif;
  font-style: italic; font-weight: 500; font-size: 22px; color: var(--gold);
  margin: -2px 0;
}

.mb-calc__visual {
  aspect-ratio: 4/5;
  flex-direction: column;
  gap: 20px;
  padding: 28px;
}
.mb-calc__big {
  text-align: center;
  color: var(--cream);
  padding: 24px;
}
.mb-calc__big-num {
  font-weight: 900;
  font-size: clamp(80px, 12vw, 140px);
  color: var(--gold-2);
  line-height: 1;
  letter-spacing: -0.04em;
}
.mb-calc__big-lbl {
  font-size: 15px; color: var(--cream-dim);
  margin-top: 12px; font-weight: 700;
  letter-spacing: 0.2px; line-height: 1.4;
}

/* ------- Booking Modal (iframe Calendly/BotScaler) ------- */
.mb-book-overlay {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(14,14,26,0.82); backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  animation: mb-book-fade 0.22s ease;
}
@keyframes mb-book-fade { from { opacity: 0; } to { opacity: 1; } }
.mb-book-modal {
  position: relative;
  width: min(920px, 100%);
  height: min(90vh, 820px);
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 40px 80px rgba(0,0,0,0.5);
  animation: mb-book-pop 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}
@keyframes mb-book-pop {
  from { transform: translateY(20px) scale(0.97); opacity: 0; }
  to { transform: none; opacity: 1; }
}
.mb-book-close {
  position: absolute; top: 14px; right: 14px; z-index: 3;
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(14,14,26,0.85); color: #fff;
  border: 1px solid rgba(255,255,255,0.18);
  font-size: 22px; cursor: pointer; font-family: inherit;
  display: inline-flex; align-items: center; justify-content: center;
  transition: background 0.2s ease, transform 0.2s ease;
}
.mb-book-close:hover { background: var(--gold); transform: scale(1.05); }
.mb-book-iframe {
  width: 100%; height: 100%;
  border: 0; display: block;
  background: #fff;
}

/* Mobile optimizations */
@media (max-width: 640px) {
  .mb-book-overlay { padding: 0; }
  .mb-book-modal {
    width: 100%; height: 100%;
    border-radius: 0; max-width: none;
  }

  /* Calc-Rows: Label + Wert untereinander (vorher lief es rechts raus) */
  .mb-calc__row,
  .mb-calc__total {
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    padding: 8px 0;
  }
  .mb-calc__row b,
  .mb-calc__total b {
    font-size: 16px;
    align-self: flex-end;
  }
  .mb-calc__total {
    padding-top: 14px;
  }
  .mb-calc__total b { font-size: 22px; }
  .mb-calc__h { font-size: 13px; }
  .mb-calc__block { padding: 18px 16px; border-radius: 12px; }

  /* Compare-Spalten etwas kompakter */
  .mb-compare__col { padding: 26px 22px; }
  .mb-compare__val { font-size: clamp(38px, 11vw, 56px); }

  /* 2x-Visual kompakter */
  .mb-calc__visual {
    aspect-ratio: auto; padding: 24px 18px;
    min-height: auto;
  }
  .mb-calc__big { padding: 18px 0; }
  .mb-calc__big-num {
    font-size: clamp(64px, 20vw, 100px);
  }
  .mb-calc__big-lbl { font-size: 14px; }

  /* Button mit langem Text soll nicht aus Container rauslaufen */
  .na-btn--lg {
    padding: 14px 22px;
    font-size: 14px;
    white-space: normal;
    line-height: 1.25;
    max-width: 100%;
  }
  .na-fewo .na-btn {
    width: 100%;
    justify-content: center;
  }

  /* Double-Gewinn-Karten kompakter */
  .mb-double__card { padding: 26px 22px; }
}
