/* Saisonpaket Styles */

/* Störer Container */
.sp__stoerer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.sp__stoerer.sp__show {
  opacity: 1;
  visibility: visible;
}

/* Content Container */
.sp__content {
  background: #fff;
  padding: 40px;
  max-width: 600px;
  border-radius: 4px;
  width: 90%;
  max-height: 80vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  text-align: left;
}

/* Weihnachts-spezifische Styles */
.sp__stoerer.weihnachten .sp__content {
  background: url("../images/christmas.jpg");
  background-size: cover;
  background-position: bottom;
}

.sp__stoerer.weihnachten .headline {
  color: #fefefe;
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 20px;
  display: block;
  opacity: 0;
  transform: translateY(-20px);
  transition: all 0.5s ease;
}

.sp__stoerer.weihnachten .headline.sp__show {
  opacity: 1;
  transform: translateY(0);
}

.sp__stoerer.weihnachten p {
  hyphens: auto;
  color: #fefefe;
  font-size: 16px;
  line-height: 1.6;
  margin: 20px 0;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.5s ease;
}

.sp__stoerer.weihnachten p.sp__show {
  opacity: 1;
  transform: translateY(0);
}

.sp__stoerer.weihnachten .signature {
  color: #2d2d2d;
  font-weight: bold;
  font-size: 1.3rem;
}

/* Close Button */
.close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 30px;
  height: 30px;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.close.closable {
  opacity: 1;
}

.close::before,
.close::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 2px;
  background: #fefefe;
  transform: translate(-50%, -50%) rotate(45deg);
}

.close::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.close:hover::before,
.close:hover::after {
  background: #c41e3a;
}

/* Schneeflocken Styling */
.snowflake {
  filter: drop-shadow(0 0 1px rgb(212, 212, 212));
}

/* Body Modifier */
body.stoerer__shown {
  overflow: hidden;
}

/* Responsive */
@media (max-width: 768px) {
  .sp__content {
    padding: 30px 20px;
    margin: 20px;
    width: calc(100% - 40px);
  }

  .sp__stoerer.weihnachten .headline {
    font-size: 20px;
  }

  .sp__stoerer.weihnachten p {
    font-size: 14px;
  }
}
