﻿/* ================= PROMO OVERLAY ================= */

#promo {
  position: fixed;
  inset: 0;

  display: none;
  justify-content: center;
  align-items: center;

  background: rgba(0,0,0,0.45);
  backdrop-filter: blur(10px);

  z-index: 9999;

  opacity: 0;
  transition: opacity 0.8s cubic-bezier(0.22,1,0.36,1);
}

#promo.show {
  display: flex;
  opacity: 1;
}

#promo.hide {
  opacity: 0;
}

/* ================= CONTENT ================= */

.promo-content {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* ================= VIDEO ================= */

.promo-content video {
  width: 100%;
  max-width: 480px;
  max-height: 50vh;

  object-fit: contain;

  border-radius: 18px;
  box-shadow: 0 25px 60px rgba(0,0,0,0.5);
}

/* ================= CTA BUTTON ================= */

.promo-btn {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);

  padding: 12px 26px;
  background: linear-gradient(135deg, #00a86b, #005c47);
  color: #fff;

  border-radius: 999px;
  font-size: 13px;
  text-transform: uppercase;

  opacity: 0;
  transition: all 0.5s ease;
}

/* sichtbar */
.promo-btn.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* Pulse Effekt */
.promo-btn.show {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: translateX(-50%) scale(1); }
  50% { transform: translateX(-50%) scale(1.05); }
  100% { transform: translateX(-50%) scale(1); }
}

/* ================= MOBILE ================= */

@media (max-width: 768px) {
  .promo-content video {
    max-width: 90%;
    max-height: 40vh;
  }

  .promo-btn {
    font-size: 12px;
    padding: 10px 20px;
  }
}