/* ============================================================
   css/promo.css — MemoriaMoment
   Promotion-Banner, Countdown, Badges, Ankerpreise
============================================================ */

/* ── Promo-Banner — scrollt weg, Menü sticky bleibt ─────── */
.promo-banner {
  background: var(--bg-soft);
  color: var(--text);
  border-bottom: 1px solid var(--border);
  text-align: center;
  padding: 7px 16px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  width: 100%;
  box-sizing: border-box;
}
.promo-banner strong {
  color: var(--primary);
  font-weight: 700;
}

/* ── Countdown ──────────────────────────────────────────── */
.countdown-wrap {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-left: 8px;
  border: 1px solid var(--border-active);
  border-radius: 6px;
  padding: 2px 8px;
  vertical-align: middle;
}
.cd-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 20px;
}
.cd-num {
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
  color: var(--primary);
}
.cd-lbl {
  font-size: 0.48rem;
  opacity: 0.55;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.cd-sep {
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--primary);
  opacity: 0.5;
}

/* ── pkg-slide: Flex-Spalte ─────────────────────────────── */
.pkg-slide {
  display: flex;
  flex-direction: column;
}

/* ── Badge-Wrap oben: Launch-Badge, zentriert ───────────── */
.pkg-promo-badge-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 28px;
  width: 100%;
  margin-bottom: 4px;
}

/* ── Launch-Badge ────────────────────────────────────────── */
.pricing-badge-promo {
  display: inline-block;
  background: transparent;
  color: var(--primary);
  border: 1px solid var(--border-active);
  font-size: 0.6rem;
  font-weight: 600;
  border-radius: 4px;
  padding: 2px 7px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}

/* ── Preis-Wrap: Streichpreis + Badge über Aktionspreis ─── */
.pricing-price-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  margin-bottom: 16px;
  margin-top: 4px;
}

/* ── Streichpreis + Prozent-Badge nebeneinander ──────────── */
.pricing-normal-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 20px;
}

.pricing-normal {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-decoration: line-through;
  opacity: 0.65;
  line-height: 1.4;
}

/* ── Prozent-Badge ───────────────────────────────────────── */
.pricing-prozent-badge {
  display: inline-block;
  background: var(--primary);
  color: var(--btn-primary-text);
  font-size: 0.62rem;
  font-weight: 700;
  border-radius: 4px;
  padding: 2px 7px;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.pricing-price.is-aktion {
  color: var(--primary);
}

/* ── pkg-bottom: Button immer unten, zentriert ───────────── */
.pkg-bottom {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}
.pkg-bottom .btn-pricing {
  width: 100%;
  max-width: 220px;
}

/* ── Durchstreichpreis im Showcase-Button ────────────────── */
.btn-normal-price {
  font-size: 0.85em;
  opacity: 0.5;
  text-decoration: line-through;
  font-style: normal;
  margin-right: 3px;
}

/* ── Highlight-Karte bei Promo ───────────────────────────── */
.pkg-slide.is-highlight {
  border-color: var(--border-active);
  box-shadow: 0 0 0 2px rgba(196,144,106,0.15),
              0 4px 24px rgba(196,144,106,0.1);
}

/* ── Bestellen.html: Paket-Karte ─────────────────────────── */
.package-price-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
}
.package-normal {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-decoration: line-through;
  opacity: 0.65;
  line-height: 1.2;
}
.package-price {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary);
}
.package-price.is-aktion {
  color: var(--primary);
}
.package-card.is-highlight {
  border-color: var(--border-active);
  box-shadow: 0 0 0 2px rgba(196,144,106,0.15);
}

/* ── Dark Mode ───────────────────────────────────────────── */
@media (prefers-color-scheme: dark) {
  .pricing-normal,
  .package-normal {
    opacity: 0.4;
  }
  .pricing-prozent-badge {
    background: var(--primary);
    color: var(--btn-primary-text);
  }
}

/* ── Mobile: Banner stapeln ──────────────────────────────── */
@media (max-width: 480px) {
  .promo-banner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    padding: 8px 16px;
    font-size: 0.78rem;
  }
  .countdown-wrap {
    margin-left: 0;
  }
}

@media (min-width: 768px) {
  .promo-banner {
    font-size: 0.85rem;
  }
}