/* Popup Styles - Weihnachts-Auslastung */
.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 20px;
  opacity: 0;
  animation: fadeIn 0.3s ease-out forwards;
}

.popup-overlay.hidden {
  display: none;
}

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

@keyframes popupSlideIn {
  from {
    transform: translateY(-20px) scale(0.95);
    opacity: 0;
  }
  to {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}

.popup-content {
  background: var(--card);
  border: 2px solid rgba(96,165,250,.4);
  border-radius: 20px;
  max-width: 550px;
  width: 100%;
  box-shadow: 0 20px 60px rgba(0,0,0,.6), 0 0 0 1px rgba(96,165,250,.2);
  animation: popupSlideIn 0.4s cubic-bezier(.2,.7,.2,1) 0.1s both;
  position: relative;
}

.popup-header {
  padding: 28px 28px 20px 28px;
  text-align: center;
  border-bottom: 1px solid var(--ring);
  background: linear-gradient(135deg, rgba(96,165,250,.08), rgba(110,231,183,.08));
}

.popup-icon {
  font-size: 48px;
  margin-bottom: 12px;
  display: block;
}

.popup-title {
  font-size: 24px;
  font-weight: 700;
  color: white;
  margin: 0 0 8px 0;
  line-height: 1.3;
}

.popup-subtitle {
  font-size: 15px;
  color: var(--accent-2);
  font-weight: 600;
  margin: 0;
}

.popup-body {
  padding: 24px 28px;
}

.popup-body p {
  color: var(--text);
  font-size: 15px;
  line-height: 1.7;
  margin: 0 0 16px 0;
}

.popup-body p:last-child {
  margin-bottom: 0;
}

.popup-highlight {
  background: rgba(96,165,250,.12);
  border: 1px solid rgba(96,165,250,.3);
  border-radius: 12px;
  padding: 16px;
  margin: 16px 0;
  text-align: center;
}

.popup-highlight strong {
  color: var(--accent-2);
  font-size: 16px;
  display: block;
  margin-bottom: 4px;
}

.popup-footer {
  padding: 20px 28px 28px 28px;
  display: flex;
  justify-content: center;
  gap: 12px;
}

.popup-btn {
  padding: 12px 28px;
  border-radius: 12px;
  border: 1px solid var(--ring);
  background: linear-gradient(135deg, rgba(110,231,183,.15), rgba(96,165,250,.15));
  border-color: rgba(110,231,183,.4);
  color: white;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: all .2s ease;
  font-family: inherit;
}

.popup-btn:hover {
  transform: translateY(-2px);
  border-color: var(--accent);
  background: linear-gradient(135deg, rgba(110,231,183,.25), rgba(96,165,250,.25));
  box-shadow: 0 8px 20px rgba(110,231,183,.3);
}

.popup-btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.popup-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(255,255,255,.05);
  border: 1px solid var(--ring);
  border-radius: 8px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all .2s ease;
  color: var(--muted);
}

.popup-close:hover {
  background: rgba(255,255,255,.1);
  border-color: rgba(110,231,183,.5);
  color: var(--accent);
  transform: scale(1.1);
}

@media (max-width: 600px) {
  .popup-content {
    margin: 0 16px;
  }

  .popup-header {
    padding: 24px 20px 16px 20px;
  }

  .popup-icon {
    font-size: 40px;
  }

  .popup-title {
    font-size: 20px;
  }

  .popup-subtitle {
    font-size: 14px;
  }

  .popup-body {
    padding: 20px;
  }

  .popup-body p {
    font-size: 14px;
  }

  .popup-footer {
    padding: 16px 20px 24px 20px;
  }

  .popup-btn {
    width: 100%;
  }
}
