/* ═══════════════════════════════════════════════════
   HVV Social-Proof Box (Variante A) – CSS
   Stand: April 2026
   ═══════════════════════════════════════════════════ */

.hvv-sp-box {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 360px;
  max-width: calc(100vw - 48px);
  background: #f9f9f9;
  border-radius: 8px;
  box-shadow: 0 6px 30px rgba(0, 0, 0, 0.18);
  overflow: hidden;
  z-index: 9999;
  transform: translateX(400px);
  opacity: 0;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s;
  font-size: 14px;
  color: #333;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
.hvv-sp-box.visible {
  transform: translateX(0);
  opacity: 1;
}

/* Top green stripe */
.hvv-sp-topbar {
  height: 5px;
  background: #51a319;
}

/* Close button */
.hvv-sp-close {
  position: absolute;
  top: 10px;
  right: 12px;
  width: 22px;
  height: 22px;
  border: none;
  background: transparent;
  cursor: pointer;
  color: #999;
  font-size: 18px;
  line-height: 1;
  padding: 0;
  z-index: 2;
}
.hvv-sp-close:hover {
  color: #333;
}

/* Header (Zahl + Titel) */
.hvv-sp-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 18px 12px 14px;
}
.hvv-sp-count {
  font-size: 38px;
  font-weight: 800;
  color: #51a319;
  line-height: 1;
  letter-spacing: -0.02em;
  flex-shrink: 0;
}
.hvv-sp-title-group {
  flex: 1;
  min-width: 0;
}
.hvv-sp-title {
  font-size: 15px;
  font-weight: 700;
  color: #222;
  line-height: 1.2;
  margin: 0;
}
.hvv-sp-subtitle {
  font-size: 12px;
  color: #888;
  margin: 4px 0 0;
  line-height: 1.3;
}

/* Divider */
.hvv-sp-divider {
  height: 1px;
  background: #ddd;
  margin: 0 18px;
}

/* Content area (Lead + Button) */
.hvv-sp-content {
  padding: 14px 18px 16px;
  text-align: center;
}
.hvv-sp-lead {
  font-size: 13px;
  color: #444;
  line-height: 1.5;
  margin: 0 0 4px;
}
.hvv-sp-lead strong {
  color: #222;
  font-weight: 600;
}
.hvv-sp-lead-sub {
  font-size: 12px;
  color: #888;
  line-height: 1.4;
  margin: 0 0 14px;
}

/* Button */
.hvv-sp-btn {
  display: inline-block;
  background: #51a319;
  color: #fff !important;
  text-decoration: none;
  padding: 10px 20px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
  box-shadow: 0 2px 6px rgba(81, 163, 25, 0.22);
  transition: background 0.15s, transform 0.1s, box-shadow 0.15s;
}
.hvv-sp-btn:hover {
  background: #3d7a0a;
  box-shadow: 0 3px 10px rgba(81, 163, 25, 0.32);
  transform: translateY(-1px);
  color: #fff !important;
}
.hvv-sp-btn:active {
  transform: translateY(0);
}
.hvv-sp-btn .arrow {
  margin-left: 4px;
}

/* Trust footer */
.hvv-sp-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f2f9ed;
  padding: 10px 14px;
  border-top: 1px solid #e4efd6;
  font-size: 12px;
  font-weight: 600;
  color: #3d7a0a;
}
.hvv-sp-trust-item {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 0 7px;
  white-space: nowrap;
}
.hvv-sp-trust-item .check {
  color: #51a319;
  font-size: 12px;
}
.hvv-sp-trust-sep {
  color: #b8d4a0;
  font-weight: 400;
}

/* Mobile: Box komplett verstecken (kein Slide) */
@media (max-width: 768px) {
  .hvv-sp-box {
    display: none !important;
  }
}
