/* ── Pricing Section ── */
.pricing-section {
  padding: 50px 20px; /* Reduced from 120px to fix the massive gap at the top */
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
  z-index: 10;
}

.pricing-header {
  text-align: center;
  margin-bottom: 60px;
}

/* ── Controls: Tabs & Toggle ── */
.pricing-controls {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  margin-bottom: 10px; /* Reduced to compensate for grid padding */
}

.pricing-tabs {
  display: inline-flex;
  background: rgba(255, 255, 255, 0.05);
  padding: 6px;
  border-radius: 40px;
  position: relative;
}

.tab-highlight {
  position: absolute;
  top: 6px; left: 0; bottom: 6px;
  background: #fff;
  border-radius: 30px;
  z-index: 1;
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), width 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.tab-btn {
  position: relative;
  z-index: 2;
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.5);
  padding: 10px 32px;
  border-radius: 30px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: color 0.3s ease;
}

.tab-btn:hover {
  color: rgba(255, 255, 255, 0.8);
}

.tab-btn.active {
  color: #000;
}

.billing-switch-wrap {
  display: flex;
  align-items: center;
  gap: 16px;
  cursor: pointer;
}

.save-badge {
  color: #F94D35;
  font-size: 12px;
  background: rgba(249, 77, 53, 0.1);
  padding: 4px 8px;
  border-radius: 12px;
  margin-left: 8px;
}

/* ── Minimal Switch for Billing ── */
.billing-switch-wrap {
  display: flex;
  align-items: center;
  gap: 16px;
  cursor: pointer;
}

.switch-label {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.4);
  font-weight: 600;
  transition: color 0.3s;
}

.switch-label.active {
  color: #fff;
}

.switch-track {
  width: 56px;
  height: 32px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 32px;
  position: relative;
  transition: background 0.3s;
}

.switch-track.yearly-active {
  background: var(--primary);
}

.switch-thumb {
  width: 24px;
  height: 24px;
  background: #fff;
  border-radius: 50%;
  position: absolute;
  top: 4px;
  left: 4px;
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.switch-track.yearly-active .switch-thumb {
  transform: translateX(24px);
}

/* ── Pill Tabs restored ── */
.pricing-tabs {
  display: inline-flex;
  background: rgba(20, 20, 20, 0.6);
  border: 1px solid rgba(249, 77, 53, 0.15);
  padding: 6px;
  border-radius: 40px;
  position: relative;
  box-shadow: inset 0 0 10px rgba(0,0,0,0.5);
}

.tab-btn {
  position: relative;
  z-index: 2;
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.5);
  padding: 10px 32px;
  border-radius: 30px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: color 0.3s ease;
}

.tab-btn:hover {
  color: rgba(255, 255, 255, 0.9);
}

.tab-btn.active {
  color: #fff;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.tab-highlight {
  position: absolute;
  top: 6px; left: 0; bottom: 6px;
  background: var(--primary);
  border-radius: 30px;
  z-index: 1;
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), width 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
  box-shadow: 0 4px 15px rgba(249, 77, 53, 0.4);
}

/* ── Pricing Grids ── */
.pricing-tab-content {
  display: none;
  animation: fadeIn 0.4s ease;
}

.pricing-tab-content.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1050px;
  margin: 0 auto;
  padding: 40px 10px; /* Room for scaling and hover effects */
}

/* Two-plan layout (e.g. CRM): centred pair instead of a 3-up row.
   Only overrides the desktop column count — the ≤1024px rule below still
   collapses it to a single centred column on tablet/mobile. */
@media (min-width: 1025px) {
  .pricing-grid.two-plans {
    grid-template-columns: repeat(2, 1fr);
    max-width: 940px;
    gap: 32px;
  }
}

/* In the two-plan layout both cards are the same size — the popular plan is not
   scaled up (it stays highlighted via its border, glow and badge). The grid
   already stretches both to equal height. */
.pricing-grid.two-plans .pricing-card.popular { transform: none; }
.pricing-grid.two-plans .pricing-card.popular:hover { transform: translateY(-10px); }

.pricing-card {
  background: linear-gradient(160deg, rgba(20, 20, 20, 0.8) 0%, rgba(5, 5, 5, 0.95) 100%);
  border: 1px solid rgba(255, 255, 255, 0.1); /* Deutlichere Border! */
  border-radius: 24px;
  padding: 32px;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
  backdrop-filter: blur(10px);
  text-align: center; /* Zentrierung */
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2); /* Scharfe, weiße Top-Kante! */
}

/* ── SPOTLIGHT EFFECT ── */
.pricing-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  border-radius: inherit;
  background: radial-gradient(600px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(249, 77, 53, 0.15), transparent 40%);
  opacity: 0;
  transition: opacity 0.5s ease;
  z-index: 0;
  pointer-events: none;
}

.pricing-card > * {
  position: relative;
  z-index: 2; /* Content über dem Spotlight */
}

.pricing-card:hover::before {
  opacity: 1;
}

.pricing-card:hover {
  transform: translateY(-10px);
  border-color: rgba(249, 77, 53, 0.4);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), 0 30px 60px rgba(0, 0, 0, 0.8), 0 0 40px rgba(249, 77, 53, 0.15);
}

.pricing-card.popular {
  transform: scale(1.06);
  z-index: 2;
  border-color: var(--primary);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), inset 0 0 20px rgba(249, 77, 53, 0.05), 0 20px 50px rgba(249, 77, 53, 0.2);
}

.pricing-card.popular:hover {
  transform: scale(1.08) translateY(-5px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), inset 0 0 20px rgba(249, 77, 53, 0.1), 0 30px 60px rgba(249, 77, 53, 0.3);
}

.popular-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: 20px;
  letter-spacing: 1px;
  text-transform: uppercase;
  box-shadow: 0 4px 15px rgba(249, 77, 53, 0.4);
  white-space: nowrap;
}

.plan-name {
  font-size: 20px;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 600;
  margin-bottom: 16px;
}

.plan-subtitle {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 500;
  margin-top: -12px;
  margin-bottom: 20px;
}

.main-feature-badge {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 8px 16px;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  margin: -12px 0 24px 0; /* Negative top margin to reduce the gap! */
  align-self: flex-start;
  color: #fff;
}

.red-dot {
  width: 6px;
  height: 6px;
  background: var(--primary);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--primary);
}

.limit-pill {
  margin-left: auto;
  background: rgba(249, 77, 53, 0.15);
  color: var(--primary);
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}

.plan-price {
  display: flex;
  align-items: baseline;
  justify-content: center; /* Zentrierung */
  gap: 6px;
  margin-bottom: 8px;
}

.price-val {
  font-size: 44px;
  font-weight: 700;
  color: #fff;
  line-height: 1;
}

.plan-currency {
  font-size: 24px;
  color: #fff;
  font-weight: 700;
}

.plan-period {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.4);
  font-weight: 500;
}

.plan-savings {
  font-size: 14px;
  color: var(--primary);
  font-weight: 600;
  min-height: 20px;
  margin-bottom: 30px;
}

.plan-features {
  list-style: none;
  margin-bottom: 40px;
  flex-grow: 1;
  text-align: left; /* Features bleiben linksbündig */
}

.plan-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  margin-bottom: 16px; /* Mehr Spacing für die Boxen */
}

/* Haken in einer Box */
.plan-features li svg {
  color: var(--primary);
  flex-shrink: 0;
  background: rgba(249, 77, 53, 0.1);
  padding: 4px;
  border-radius: 6px;
  width: 24px;
  height: 24px;
}

/* Fehlende Features (Kreuze) */
.plan-features li.missing-feature {
  color: rgba(255, 255, 255, 0.4);
}

.plan-features li.missing-feature svg {
  color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.05);
}

.plan-features li.limit-feature {
  color: #fff;
  font-weight: 700;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 16px;
  margin-top: 16px;
  justify-content: center; /* Limit zentriert */
  text-align: center;
}

.btn-plan {
  width: 100%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  padding: 16px;
  border-radius: 14px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  position: relative;
  overflow: hidden;
}

.pricing-card.popular .btn-plan {
  background: var(--primary);
  border-color: var(--primary);
}

.btn-plan:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}
.pricing-card.popular .btn-plan:hover {
  background: #E53E26;
  color: #fff;
  border-color: #E53E26;
}

/* Shine Hover Effect */
.btn-plan::after {
  content: '';
  position: absolute;
  top: 0;
  left: -50%;
  width: 30%;
  height: 100%;
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.3) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: skewX(-25deg);
  transition: left 0s;
  pointer-events: none;
}

.btn-plan:hover::after {
  left: 120%;
  transition: left 0.7s ease-in-out;
}

/* ── Sleek Translator ── */
.translator-centered-wrap {
  display: flex;
  justify-content: center;
}

.translator-sleek-card {
  width: 100%;
  max-width: 950px;
  padding: 48px;
}

.translator-inner-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 50px;
  align-items: center;
  text-align: left;
}

.trans-grid-left {
  display: flex;
  flex-direction: column;
}

.trans-grid-right {
  display: flex;
  flex-direction: column;
}

.t-words-display {
  text-align: left;
  font-size: 16px;
  color: rgba(255,255,255,0.5);
  margin-top: 8px;
  margin-bottom: 30px;
}

#trans-words {
  font-size: 32px;
  font-weight: 700;
  color: #fff;
  display: block;
}

#trans-price {
  font-size: 44px;
  font-weight: 700;
  color: #fff;
  line-height: 1;
  transition: all 0.2s ease;
}

#trans-price.contact-mode {
  font-size: 32px;
  color: var(--primary);
}

.range-wrap-sleek {
  width: 85.71%;
  margin: 10px auto 30px auto;
  padding: 0;
}

.range-labels-sleek {
  position: relative;
  height: 20px;
  margin-top: 16px;
  margin-left: 10px; /* aligns perfectly with the center of the 20px slider thumb */
  margin-right: 10px;
  font-size: 12px;
  color: rgba(255,255,255,0.3);
  font-weight: 600;
}

.range-labels-sleek span {
  position: absolute;
  transform: translateX(-50%);
  white-space: nowrap;
  transition: color 0.3s;
}

.range-labels-sleek span:nth-child(1) { left: 0%; }
.range-labels-sleek span:nth-child(2) { left: 16.667%; }
.range-labels-sleek span:nth-child(3) { left: 33.333%; }
.range-labels-sleek span:nth-child(4) { left: 50%; }
.range-labels-sleek span:nth-child(5) { left: 66.667%; }
.range-labels-sleek span:nth-child(6) { left: 83.333%; }
.range-labels-sleek span:nth-child(7) { left: 100%; }

.range-labels-sleek span.active {
  color: var(--primary);
}

input[type=range] {
  -webkit-appearance: none;
  width: 100%;
  background: transparent;
  margin: 0;
  padding: 0;
}
input[type=range]:focus {
  outline: none;
}
input[type=range]::-webkit-slider-runnable-track {
  width: 100%;
  height: 4px;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
}
input[type=range]::-webkit-slider-thumb {
  height: 20px;
  width: 20px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--primary);
  cursor: pointer;
  -webkit-appearance: none;
  margin-top: -8px;
  box-shadow: 0 0 15px rgba(249, 77, 53, 0.5);
  transition: transform 0.1s;
}
input[type=range]::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}

/* ── Translator Pricing Chart ── */
.trans-chart-container {
  margin-top: 35px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: 24px;
}

.trans-chart-title {
  font-size: 20px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.85);
  margin-top: 6px;
  margin-bottom: 30px;
  text-align: center;
}

/* Slider removed → the bar chart now owns the full height the container used to
   share with the slider (box height stays ~the same, bars just get taller, so the
   same price data reads with a much bigger height delta between bars). */
.trans-chart-bars {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  height: 185px;
  gap: 8px;
  padding-top: 20px;
  margin-bottom: 30px;
}

.trans-chart-bar-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  justify-content: flex-end;
  position: relative;
  cursor: pointer;
}

.trans-chart-bar-value {
  font-size: 10px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.3);
  transition: all 0.3s ease;
  position: absolute;
  top: -16px;
  white-space: nowrap;
}

.trans-chart-bar-fill {
  width: 100%;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 6px;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.trans-chart-bar-label {
  font-size: 11px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.3);
  margin-top: 0;
  transition: all 0.3s ease;
  position: absolute;
  bottom: -28px;
  left: 0;
  width: 100%;
  text-align: center;
}

/* Active Bar Styling */
.trans-chart-bar-col.active .trans-chart-bar-fill {
  background: linear-gradient(180deg, #F94D35 0%, #E62A10 100%);
  box-shadow: 0 0 15px rgba(249, 77, 53, 0.4);
}

.trans-chart-bar-col.active .trans-chart-bar-value {
  color: var(--primary);
  transform: translateY(-2px) scale(1.1);
}

.trans-chart-bar-col.active .trans-chart-bar-label {
  color: #fff;
  font-weight: 700;
}

@media (max-width: 1024px) {
  .pricing-grid {
    grid-template-columns: minmax(0, 1fr);
    max-width: 450px;
    margin: 0 auto;
    gap: 32px;
  }
  .pricing-card.popular {
    transform: none !important;
  }
  .pricing-card.popular:hover {
    transform: translateY(-5px) !important;
  }
}

@media (max-width: 768px) {
  .translator-inner-grid {
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: center;
  }
  
  .translator-sleek-card {
    padding: 32px 16px;
    max-width: 100%;
  }

  .t-words-display {
    text-align: center;
  }

  .range-wrap-sleek {
    width: 100%;
    margin-bottom: 20px;
  }

  .range-labels-sleek {
    font-size: 10px;
    margin-left: 5px;
    margin-right: 5px;
  }

  .pricing-tabs {
    flex-wrap: wrap;
    justify-content: center;
    border-radius: 20px;
  }

  .tab-btn {
    padding: 8px 16px;
    font-size: 14px;
  }

  .tab-highlight {
    display: none;
  }

  .tab-btn.active {
    background: var(--primary);
    box-shadow: 0 4px 15px rgba(249, 77, 53, 0.4);
    color: #fff;
  }

  .trans-chart-bars {
    gap: 4px;
  }

  .trans-chart-bar-value {
    font-size: 7.5px !important;
  }

  .trans-chart-bar-label {
    font-size: 9px !important;
  }

  .trans-chart-bar-col:last-child .trans-chart-bar-label {
    font-size: 16px !important;
  }
}





/* Make infinity signs larger for better readability */
.range-labels-sleek span:nth-child(7) {
  font-size: 20px !important;
  font-family: Arial, sans-serif !important;
  line-height: 1 !important;
  transform: translateX(-50%) translateY(-2px);
}
.trans-chart-bar-col:last-child .trans-chart-bar-label {
  font-size: 24px !important;
  font-family: Arial, sans-serif !important;
  line-height: 1 !important;
  margin-top: 4px;
}


/* Fix alignment of bottom labels so they don't push the bars up unevenly */
.trans-chart-bar-label {
  height: 24px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  position: absolute !important;
  bottom: -28px !important;
  left: 0 !important;
  width: 100% !important;
}

/* ===================================================================
   BETA PRICING  — every plan is free during the beta.
   Injected by initBetaPricing() in js/main.js on every pricing page.
   The normal price stays visible (struck through); a prominent "0 €"
   becomes the active price and a banner sits in the section header.
   =================================================================== */

/* Prominent beta banner under the pricing section title */
.beta-pricing-banner {
  width: fit-content;
  max-width: 92%;
  margin: 24px auto 0;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  border-radius: 16px;
  background: rgba(230, 42, 16, 0.10);
  border: 1px solid rgba(230, 42, 16, 0.35);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.beta-pricing-banner .bp-tag {
  flex-shrink: 0;
  background: var(--primary);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  padding: 4px 11px;
  border-radius: 100px;
}
.beta-pricing-banner .bp-text {
  font-size: 14.5px;
  font-weight: 600;
  color: #fff;
  text-align: left;
  line-height: 1.35;
}
.beta-pricing-banner .bp-text strong { font-weight: 800; }

/* Normal price kept visible but struck through + dimmed */
.pricing-card.is-beta .plan-price,
.pricing-card.is-beta .plan-price > span {
  text-decoration: line-through;
  text-decoration-color: rgba(255, 255, 255, 0.55);
  text-decoration-thickness: 2px;
}
.pricing-card.is-beta .plan-price { opacity: 0.42; margin-bottom: 6px; }
.pricing-card.is-beta .plan-savings { color: rgba(255, 255, 255, 0.4); opacity: 1; margin-bottom: 16px; }

/* The active "0 €" beta price */
.beta-free {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  margin: 0 0 26px;
}
.beta-free-amount {
  font-size: 40px;
  font-weight: 800;
  color: #fff;
  line-height: 1;
}
.beta-free-label {
  display: inline-flex;
  align-items: center;
  background: var(--primary);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 4px 11px;
  border-radius: 100px;
}

/* Translator card is left-aligned, so its beta price follows suit */
.translator-sleek-card.is-beta .plan-price,
.translator-sleek-card.is-beta .plan-savings { margin-left: 0; }
.translator-sleek-card .beta-free { align-items: flex-start; }

@media (max-width: 600px) {
  .beta-pricing-banner { flex-direction: column; gap: 8px; text-align: center; padding: 12px 16px; }
  .beta-pricing-banner .bp-text { text-align: center; font-size: 13px; }
  .beta-free-amount { font-size: 34px; }
}

/* ── Coming soon (Bot & Translator not live yet) ── */
.coming-soon-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: #2a2a2e;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.85);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 100px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.45);
  white-space: nowrap;
  z-index: 4;
}
/* A coming-soon plan can't be the "most popular" — drop that badge to avoid
   two clashing tags at the top of the card. */
.pricing-card.is-coming-soon .popular-badge { display: none; }
.btn-plan.is-disabled,
.pricing-card.popular .btn-plan.is-disabled {
  background: rgba(255, 255, 255, 0.05) !important;
  color: rgba(255, 255, 255, 0.4) !important;
  border-color: rgba(255, 255, 255, 0.1) !important;
  box-shadow: none !important;
  cursor: not-allowed !important;
  pointer-events: none;
}


/* ══════════════════════════════════════════════════════════════════════════
   VOLUME DISCOUNT (Mengenrabatt) — trigger button on the CRM Agentur card
   + explainer/calculator modal. Button + modal are injected by js/main.js;
   these rules style them. Discount tiers scale the per-account price down as
   the total account count across the selected platforms grows (capped).
   ══════════════════════════════════════════════════════════════════════════ */
.vd-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  margin: 16px 0 4px;
  padding: 11px 14px;
  border: 1px dashed rgba(230, 42, 16, 0.5);
  border-radius: 12px;
  background: rgba(230, 42, 16, 0.08);
  color: var(--primary);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease;
}
.vd-trigger:hover { background: rgba(230, 42, 16, 0.16); border-style: solid; }

.vd-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.72);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  animation: vdFade .2s ease;
}
.vd-overlay[hidden] { display: none; }
@keyframes vdFade { from { opacity: 0; } to { opacity: 1; } }

.vd-modal {
  position: relative;
  width: 100%;
  max-width: 720px;
  max-height: 90vh;
  overflow: auto;
  background: #0d0d0f;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 32px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
}
.vd-close {
  position: absolute;
  top: 16px;
  right: 18px;
  width: 34px;
  height: 34px;
  border: none;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}
.vd-close:hover { background: rgba(255, 255, 255, 0.14); }

.vd-head h3 { font-size: 24px; margin: 0 0 6px; }
.vd-head p { color: rgba(255, 255, 255, 0.6); font-size: 14px; margin: 0 0 22px; max-width: 54ch; }

.vd-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.vd-block-title {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 14px;
}

/* tier table */
.vd-tiers table { width: 100%; border-collapse: collapse; font-size: 14px; }
.vd-tiers th {
  text-align: left;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .5px;
  color: rgba(255, 255, 255, 0.45);
  padding: 0 8px 8px;
  font-weight: 600;
}
.vd-tiers th:last-child, .vd-tiers td:last-child { text-align: right; }
.vd-tiers td { padding: 9px 8px; border-top: 1px solid rgba(255, 255, 255, 0.07); }
.vd-tiers tr.active td { background: rgba(230, 42, 16, 0.14); font-weight: 700; }
.vd-tiers tr.active td:first-child { border-radius: 8px 0 0 8px; }
.vd-tiers tr.active td:last-child { border-radius: 0 8px 8px 0; }
.vd-max {
  font-size: 10px;
  background: rgba(255, 255, 255, 0.14);
  padding: 1px 6px;
  border-radius: 100px;
  margin-left: 4px;
  vertical-align: middle;
}

/* calculator */
.vd-pf-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.vd-pf-name { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; }
.vd-pf-name i { width: 10px; height: 10px; border-radius: 50%; display: inline-block; flex-shrink: 0; }
.vd-step { display: inline-flex; align-items: center; gap: 12px; }
.vd-step button {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  transition: border-color .2s ease, color .2s ease;
}
.vd-step button:hover { border-color: var(--primary); color: var(--primary); }
.vd-step b { min-width: 22px; text-align: center; font-size: 15px; }

.vd-result {
  margin-top: 20px;
  padding: 20px;
  border-radius: 14px;
  text-align: center;
  background: linear-gradient(160deg, rgba(230, 42, 16, 0.15), rgba(255, 255, 255, 0.03));
  border: 1px solid rgba(230, 42, 16, 0.25);
}
.vd-res-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 10px;
}
.vd-res-badge.is-off { background: var(--primary); color: #fff; }
.vd-res-price { font-size: 30px; font-weight: 800; line-height: 1.1; }
.vd-res-price small { font-size: 13px; font-weight: 500; color: rgba(255, 255, 255, 0.55); }
.vd-res-total { margin-top: 8px; font-size: 14px; color: rgba(255, 255, 255, 0.75); }
.vd-res-note { margin-top: 8px; font-size: 11px; color: rgba(255, 255, 255, 0.4); }

.vd-foot-note { margin: 22px 0 0; font-size: 12px; color: rgba(255, 255, 255, 0.45); line-height: 1.5; }

@media (max-width: 600px) {
  .vd-grid { grid-template-columns: 1fr; gap: 22px; }
  .vd-modal { padding: 22px; }
}

.vd-total-acc { margin-top: 14px; font-size: 13px; color: rgba(255, 255, 255, 0.6); text-align: right; }
.vd-total-acc strong { color: #fff; font-size: 15px; }

/* ══════════════════════════════════════════════════════════════════════════
   COMPACT BETA PRICE + INLINE VOLUME-DISCOUNT CALCULATOR (redesign)
   ══════════════════════════════════════════════════════════════════════════ */
/* Standard beta cards (CRM + Bot) hide the big struck price line — they show
   the regular price + yearly saving on the unified .plan-savings line below the
   "0 €" instead (js applyBetaRegular). The translator slider card is not
   .beta-std, so it keeps its own live price. */
.pricing-card.beta-std.is-beta .plan-price { display: none; }

/* Unified regular-price line: struck "would-be" price + the yearly saving. */
.plan-savings .beta-reg-was {
  text-decoration: line-through;
  text-decoration-thickness: 1.5px;
  text-decoration-color: rgba(255, 255, 255, 0.4);
  color: rgba(255, 255, 255, 0.5);
}
.plan-savings .beta-reg-save { color: var(--primary); font-weight: 700; }

/* One tight "sale" row: 0 €  (struck was-price)  · Beta */
.beta-free {
  flex-direction: row;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: center;
  gap: 8px 10px;
  margin: 4px 0 14px;
}
.beta-free-amount { font-size: 32px; }
.beta-free-was {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.4);
  text-decoration: line-through;
  text-decoration-thickness: 1.5px;
  align-self: center;
}
.pricing-card.is-beta .plan-savings { margin-bottom: 14px; font-size: 13px; }

/* ── Inline account picker on the CRM Agentur card — no box, just rows.
   The live total is pushed up into the headline price; here we only show the
   platform logos + steppers and a tiny discount note. ── */
.vd-inline { margin: 10px 0 18px; }
.vd-inline-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0;
}
.vd-inline .vd-pf-name { display: flex; align-items: center; }
.vd-inline .vd-pf-name img { height: 20px; max-width: 110px; object-fit: contain; display: block; }
.vd-inline .vd-step { display: inline-flex; align-items: center; gap: 12px; }
.vd-inline .vd-step button {
  width: 26px; height: 26px;
  border-radius: 7px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  font-size: 17px;
  line-height: 1;
  cursor: pointer;
  transition: border-color .2s ease, color .2s ease;
}
.vd-inline .vd-step button:hover { border-color: var(--primary); color: var(--primary); }
.vd-inline .vd-step b { min-width: 20px; text-align: center; font-size: 15px; }
.vd-inline-sub { font-size: 12px; color: rgba(255, 255, 255, 0.5); margin-top: 6px; text-align: center; }
.vd-inline-sub .vd-off { color: var(--primary); font-weight: 700; }

/* Agentur card during beta: the .plan-savings line is repurposed by the account
   picker to show the struck-through regular price under the big "0 €". */
.plan-savings.plan-savings-was {
  text-decoration: line-through;
  text-decoration-thickness: 1.5px;
  text-decoration-color: rgba(255, 255, 255, 0.4);
  color: rgba(255, 255, 255, 0.45);
  font-weight: 500;
}

/* "Mengenrabatt berechnen" trigger — a plain underlined orange text link (NOT a
   button), and the modal's beta note + platform logos. */
.vd-link {
  display: inline-block;
  margin: 4px auto 14px;
  padding: 0;
  background: none;
  border: none;
  color: var(--primary);
  font-size: 13px;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.vd-link:hover { text-decoration: none; }

.vd-beta-note {
  margin: 0 0 22px;
  padding: 11px 14px;
  border-radius: 10px;
  background: rgba(230, 42, 16, 0.1);
  border: 1px solid rgba(230, 42, 16, 0.25);
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
  line-height: 1.5;
}

.vd-pf-row .vd-pf-name img { height: 20px; max-width: 110px; object-fit: contain; display: block; }

/* CRM pricing cards use the standard `.pricing-card` design, identical to the
   Bot/Translator tabs — the experimental fire border AND the feature-list dropdown
   were both removed (features show in full again, exactly as before). */

/* ── Slim volume-discount popup: heading + tier table only ── */
.vd-modal-slim { max-width: 480px; }
.vd-modal-slim .vd-head h3 { margin: 0 0 20px; }
.vd-modal-slim .vd-tiers table { width: 100%; }
