/* popup.css – SWPÖ Pop-up mit sanftem Fade-In/Fade-Out & Schließen-Button */
html, body {
  animation: popupFadeIn 0.6s ease forwards;
  background: rgba(240, 245, 255, 0.96); /* leicht bläulicher Hintergrund */
  min-height: 100%;
  overflow-x: hidden;
  transition: opacity 0.5s ease, transform 0.5s ease;
}

body.fade-out {
  opacity: 0;
  transform: scale(0.98);
}

@keyframes popupFadeIn {
  from { opacity: 0; transform: scale(0.98); }
  to   { opacity: 1; transform: scale(1); }
}

.popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.25);
  z-index: 9998;
  pointer-events: none;
  opacity: 0;
  animation: overlayFadeIn 0.6s ease forwards;
}

@keyframes overlayFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.popup-close {
  position: fixed;
  top: 14px;
  right: 18px;
  background: #002E8A;
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  font-size: 20px;
  font-weight: bold;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 3px 6px rgba(0,0,0,0.15);
  transition: background .3s ease, transform .2s ease;
  z-index: 9999;
}

.popup-close:hover {
  background: #001f63;
  transform: scale(1.05);
}
