//* === SP Price Cards v1.5.0-sp === */

.sp-card {
  position: relative;
  border: 1px solid #73B266;
  border-radius: 12px;
  background: #fff;
  color: #111;
  height: 100%;
  display: flex;
  overflow: visible;
  margin-bottom: 0;
  transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease, background-color .2s ease, color .2s ease;
  --sp-inc: #73B266;
  --sp-exc: #d9534f;
  --sp-sticker-border: #73B266;
}

.sp-card.sp-hover:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(0,0,0,.14);
  border-color: #5aa352;
}

.sp-card-inner { display: flex; flex-direction: column; gap: 0; width: 100%; padding: 24px; }
.sp-card-inner { padding-top: calc(var(--sp-pad-top,24px) + var(--sp-stamp-gap,0px)); }

/* === Sticker === */
.sp-sticker {
  position: absolute; z-index: 3;
  border-radius: 999px; display: flex; align-items: center; justify-content: center;
  background: #eaf6e7; box-shadow: 0 6px 18px rgba(0,0,0,.12);
  overflow: hidden;
}
.sp-sticker.no-bg { background: none !important; box-shadow: none !important; }
.sp-sticker img { width: 100%; height: 100%; object-fit: contain; }
.sp-sticker span { display: block; font-weight: 900; font-size: 12px; line-height: 1.1; text-align: center; padding: 8px; }
.sp-sticker.l { top:-16px; left:-16px; transform: rotate(-12deg); }
.sp-sticker.r { top:-16px; right:-16px; transform: rotate(12deg); }

/* === Ribbon === */
.sp-ribbon-wrap { display: block; width: 100%; }
.sp-ribbon {
  width: 100%; display: flex; align-items: center; justify-content: center; gap: 8px;
  background: #eaf6e7; padding: 10px 12px; border-radius: 0;
}
.sp-ribbon.edge {
  margin-left: calc(-1 * var(--sp-pad-l, 24px));
  margin-right: calc(-1 * var(--sp-pad-r, 24px));
  border-radius: 0;
}

.sp-ribbon-ico { display: block; height: auto; width: 36px; }
.sp-ribbon-text { font-weight: 700; font-size: 14px; line-height: 1.2; }

/* === Header === */
.sp-body { padding: 16px 0 0 0; display: flex; flex-direction: column; gap: 16px; }
.sp-head { text-align: center; }
.sp-badge { display: inline-block; padding: 6px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; background: #e8f5e9; color: inherit; }
.sp-title { margin: 8px 0 0 0; font-weight: 800; font-size: 22px; display: block; }
.sp-subtitle { opacity: .9; margin-top: 6px; display: block; }

/* === Preis === */
.sp-price-wrap { text-align: center; }
.sp-price { font-size: 32px; line-height: 1.1; font-weight: 900; }
.sp-price-note { font-size: 12px; opacity: .8; margin-top: 6px; }
.sp-brutto { font-size: 12px; opacity: .8; margin-top: 4px; font-weight: 600; }

/* === Listen === */
.sp-block-title { font-weight: 800; margin: 8px 0; }
.sp-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.sp-list li { display: flex; gap: 10px; align-items: flex-start; }
.sp-list .sp-ico { font-weight: 900; line-height: 1.2; width: 18px; min-width: 18px; }
.sp-list.inc .sp-ico { color: var(--sp-inc); }
.sp-list.exc .sp-ico { color: var(--sp-exc); }
.sp-ico-img { display: block; width: 18px; height: 18px; object-fit: contain; }

/* === CTA === */
.sp-cta-wrap { text-align: center; margin-top: 16px; position: relative; }
.sp-cta { display: inline-block; padding: 12px 22px; border-radius: 999px; text-decoration: none; background: #73B266; color: #fff; font-weight: 800; transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease; }
.sp-cta:hover { transform: translateY(-1px); box-shadow: 0 10px 20px rgba(0,0,0,.14); }
.sp-cta-wrap.outside { position: absolute; left: 0; right: 0; bottom: -24px; }
.sp-cta-wrap.outside .sp-cta { box-shadow: 0 10px 20px rgba(0,0,0,.08); }

.sp-flex-spacer { margin-top: auto; }

/* ===========================
   DARK THEME VARIANT
   =========================== */
.sp-card.sp-theme-dark {
  background: #111;
  color: #f3f3f3;
  border-color: #2a2a2a;
}
.sp-card.sp-theme-dark .sp-badge { background: #1a2a1a; color: #dff2e1; }
.sp-card.sp-theme-dark .sp-ribbon { background: #182218; }
.sp-card.sp-theme-dark .sp-ribbon-text { color: #dff2e1; }
.sp-card.sp-theme-dark .sp-subtitle { opacity: .95; }
.sp-card.sp-theme-dark .sp-list.inc .sp-ico { color: #91d08a; }
.sp-card.sp-theme-dark .sp-list.exc .sp-ico { color: #ff8a80; }
.sp-card.sp-theme-dark .sp-cta { background: #7bc46e; color: #071107; }
.sp-card.sp-theme-dark .sp-cta:hover { background: #6ab55c; }
.sp-card.sp-theme-dark .sp-sticker { background: #1a2a1a; box-shadow: 0 6px 18px rgba(0,0,0,.35); }
.sp-card.sp-theme-dark .sp-sticker.no-bg { background: none !important; box-shadow: none !important; }

.sp-card{
  --sp-border-w: 1px;
  --sp-border-col: #73B266;

  position:relative;
  border: var(--sp-border-w) solid var(--sp-border-col) !important; /* erzwingt Sichtbarkeit */
  border-radius:12px;
  background:#fff;
  color:#111;
  height:100%;
  display:flex;
  overflow:visible;
  margin-bottom:0;
  transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease, background-color .2s ease, color .2s ease;
  --sp-inc:#73B266;
  --sp-exc:#d9534f;
  --sp-sticker-border:#73B266;
}

