/* Winter overlay (Schreinerei Schwarzwälder) */
.winter-snow-canvas{
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 9998;
}

/* Popup */
.winter-popup-overlay{
  position: fixed;
  inset: 0;
  z-index: 1000001; /* above sticky buttons */
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background:
    radial-gradient(900px 520px at 20% 10%, rgba(29,223,3,.14) 0%, rgba(29,223,3,0) 62%),
    radial-gradient(900px 520px at 90% 15%, rgba(255,255,255,.12) 0%, rgba(255,255,255,0) 62%),
    rgba(0,0,0,.58);
  backdrop-filter: blur(3px) saturate(1.05);
}

.winter-popup{
  position: relative;
  width: 100%;
  max-width: 760px;
  border-radius: 26px;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(900px 520px at 15% 5%, rgba(255,255,255,.22) 0%, rgba(255,255,255,0) 60%),
    linear-gradient(135deg, #1ddf03 0%, #12c902 45%, #07b401 100%);
  box-shadow: 0 26px 90px rgba(0,0,0,.55);
  border: 1px solid rgba(255,255,255,.22);
  transform: translateY(8px) scale(.98);
  animation: winterPopIn .55s cubic-bezier(.2,.95,.2,1) both;
}

/* Make ALL popup text bold */
.winter-popup,
.winter-popup *{
  font-weight: 900;
}

/* Subtle snow-crystal pattern on the neon green */
.winter-popup::before{
  content: "";
  position: absolute;
  inset: -20px;
  pointer-events: none;
  opacity: .16;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240' viewBox='0 0 240 240'><g fill='none' stroke='white' stroke-opacity='0.9' stroke-width='4' stroke-linecap='round'><path d='M120 20v200'/><path d='M20 120h200'/><path d='M46 46l148 148'/><path d='M194 46L46 194'/><path d='M120 20l18 28M120 20l-18 28'/><path d='M120 220l18-28M120 220l-18-28'/><path d='M20 120l28 18M20 120l28-18'/><path d='M220 120l-28 18M220 120l-28-18'/></g></svg>");
  background-size: 210px 210px;
  background-repeat: repeat;
  filter: blur(.25px);
  mix-blend-mode: soft-light;
}

.winter-popup-header{
  position: relative;
  padding: 26px 28px 10px 28px;
  background: rgba(0,0,0,.08);
}

.winter-popup-header::after{
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(520px 220px at 15% 0%, rgba(255,255,255,.18), rgba(255,255,255,0) 70%);
  opacity: .9;
}

.winter-popup-x{
  position: absolute;
  top: 10px;
  right: 10px;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 999px;
  background: rgba(0,0,0,.18);
  box-shadow: 0 14px 28px rgba(0,0,0,.22);
  cursor: pointer;
}

.winter-popup-x:hover{ filter: brightness(.96); }
.winter-popup-x:focus{ outline: 3px solid rgba(29,223,3,.35); outline-offset: 2px; }

.winter-popup-x::before,
.winter-popup-x::after{
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 18px;
  height: 2px;
  background: rgba(255,255,255,.92);
  transform-origin: center;
}

.winter-popup-x::before{ transform: translate(-50%,-50%) rotate(45deg); }
.winter-popup-x::after{ transform: translate(-50%,-50%) rotate(-45deg); }

.winter-popup-brand{
  margin: 0 46px 10px 0;
  font-size: 13px;
  letter-spacing: .14em;
  text-transform: uppercase;
  opacity: .92;
}

.winter-popup-h1{
  margin: 0;
  font-size: 54px;
  line-height: 1;
  letter-spacing: .02em;
  text-transform: uppercase;
  text-shadow: 0 18px 28px rgba(0,0,0,.25);
}

.winter-popup-h2{
  margin: 10px 0 0 0;
  font-size: 26px;
  line-height: 1.1;
  letter-spacing: .08em;
  text-transform: uppercase;
  opacity: .95;
}

.winter-popup-body{
  position: relative;
  padding: 18px 28px 18px 28px;
}

.winter-popup-line{
  margin: 0 0 8px 0;
  font-size: 20px;
  line-height: 1.15;
  text-transform: uppercase;
  letter-spacing: .04em;
  text-shadow: 0 10px 22px rgba(0,0,0,.20);
}

.winter-popup-danke-big{
  margin: 14px 0 0 0;
  font-size: 44px;
  line-height: 1;
  letter-spacing: .06em;
  text-transform: uppercase;
  text-shadow: 0 18px 34px rgba(0,0,0,.25);
  animation: winterGlow 2.2s ease-in-out infinite;
}

.winter-popup-actions{
  padding: 0 28px 26px 28px;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.winter-popup-close{
  border: 2px solid rgba(255,255,255,.85);
  background: rgba(0,0,0,.18);
  color: #fff;
  border-radius: 999px;
  padding: 12px 18px;
  font-weight: 900;
  letter-spacing: .02em;
  box-shadow: 0 18px 34px rgba(0,0,0,.22);
  cursor: pointer;
}

.winter-popup-close:hover{
  filter: brightness(.96);
}

.winter-popup-close:focus{
  outline: 3px solid rgba(29,223,3,.35);
  outline-offset: 2px;
}

@keyframes winterPopIn{
  0%{ opacity: 0; transform: translateY(16px) scale(.96); }
  100%{ opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes winterTwinkle{
  0%, 100%{ opacity: .55; }
  50%{ opacity: .95; }
}

@keyframes winterGlow{
  0%, 100%{ transform: translateY(0); filter: saturate(1); }
  50%{ transform: translateY(-1px); filter: saturate(1.2); }
}

@media (max-width: 480px){
  .winter-popup-h1{ font-size: 36px; }
  .winter-popup-h2{ font-size: 20px; }
  .winter-popup-line{ font-size: 16px; }
  .winter-popup-danke-big{ font-size: 34px; }
}
