/* =============================================
   A/B-Test – Variante B Overrides
   Alle Regeln sind unter .variant-b gescopet,
   damit sie nur bei Variante B greifen.
   ============================================= */

/* --- Hero Buttons: prominenter, größer --- */
.variant-b #hero-buttons .sht-btn--primary {
  font-size: 1.15rem;
  padding: 1rem 2.2rem;
  box-shadow:
    0 0.25rem 0.625rem rgba(0, 0, 0, 0.2),
    0 0 20px rgba(255, 130, 0, 0.4);
  animation:
    ab-btn-glow 2s ease-in-out infinite,
    sht-btn-fallback 0.6s ease 5s forwards;
}

.variant-b #hero-buttons .sht-btn--konfig {
  background: linear-gradient(135deg, #ff8200, #ff9a33);
  border: 2px solid #fff;
}

@keyframes ab-btn-glow {
  0%,
  100% {
    box-shadow:
      0 0.25rem 0.625rem rgba(0, 0, 0, 0.2),
      0 0 15px rgba(255, 130, 0, 0.4);
  }
  50% {
    box-shadow:
      0 0.25rem 0.625rem rgba(0, 0, 0, 0.2),
      0 0 30px rgba(255, 130, 0, 0.7);
  }
}

/* --- Kranbau-Karte: Highlight + Badge --- */
.variant-b #kranbau-card {
  border-color: #ff8200;
  box-shadow: 0 0 20px rgba(255, 130, 0, 0.3);
  transform: scale(1.03);
  transition:
    transform 0.4s ease,
    box-shadow 0.3s ease;
}

.variant-b #kranbau-card:hover {
  box-shadow: 0 0 30px rgba(255, 130, 0, 0.5);
  transform: scale(1.06) rotateZ(1deg);
}

.variant-b .konfig-badge {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  background: linear-gradient(135deg, #ff8200, #ff9a33);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.35rem 0.75rem;
  border-radius: 2rem;
  z-index: 5;
  box-shadow: 0 2px 8px rgba(255, 130, 0, 0.4);
  animation: ab-badge-pulse 2.5s ease-in-out infinite;
}

.variant-b .konfig-badge i {
  margin-left: 0.25rem;
}

@keyframes ab-badge-pulse {
  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 2px 8px rgba(255, 130, 0, 0.4);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 4px 16px rgba(255, 130, 0, 0.6);
  }
}

/* --- Sticky CTA-Bar am unteren Bildschirmrand --- */
.sticky-cta-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1050;
  background: linear-gradient(135deg, #014672, #036ea5);
  padding: 0.65rem 1rem;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.25);
  transform: translateY(0);
  transition:
    transform 0.4s ease,
    opacity 0.4s ease;
}

.sticky-cta-bar.hidden {
  transform: translateY(100%);
  opacity: 0;
  pointer-events: none;
}

.sticky-cta-inner {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  max-width: 600px;
  margin: 0 auto;
}

.sticky-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.6rem 1.5rem;
  border-radius: 2rem;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.sticky-cta-shop {
  background-color: #ff8200;
  color: #fff;
  border: 2px solid #ff8200;
}

.sticky-cta-shop:hover {
  background-color: #be6403;
  border-color: #be6403;
  color: #fff;
}

.sticky-cta-konfig {
  background-color: transparent;
  color: #fff;
  border: 2px solid #fff;
}

.sticky-cta-konfig:hover {
  background-color: #fff;
  color: #014672;
}

/* Sticky bar: Abstand für den Footer schaffen */
.variant-b footer {
  padding-bottom: 4rem;
}

/* --- Responsive --- */
@media (max-width: 576px) {
  .sticky-cta-inner {
    flex-direction: column;
    gap: 0.5rem;
  }

  .sticky-cta-btn {
    width: 100%;
    justify-content: center;
    font-size: 0.9rem;
    padding: 0.55rem 1rem;
  }

  .variant-b .konfig-badge {
    font-size: 0.65rem;
    padding: 0.25rem 0.6rem;
  }
}

@media (max-width: 768px) {
  .variant-b #hero-buttons .sht-btn--primary {
    font-size: 1rem;
    padding: 0.85rem 1.5rem;
  }
}
