/* === WINTERMODUS - NEU === */

/* Schneefall */
.snowflake {
  position: fixed;
  top: -10px;
  z-index: 9999;
  color: white;
  font-size: 1.5em;
  pointer-events: none;
  animation: snowfall linear infinite;
}

@keyframes snowfall {
  to {
    transform: translateY(100vh) rotate(360deg);
  }
}

/* Weihnachtsbäume - scrollen mit bis zum Ende der Seite */
.xmas-tree {
  position: fixed;
  width: 400px;
  height: 500px;
  pointer-events: none;
  background-image: url('christmas-tree.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center bottom;
  filter: drop-shadow(5px 5px 15px rgba(0,0,0,0.6));
  z-index: 5;
  bottom: 0;
}

.xmas-tree.left {
  left: 0;
}

.xmas-tree.right {
  right: 0;
}

/* Lichterketten-Container an Navigation */
.xmas-lights-container {
  position: absolute;
  bottom: -50px;
  left: 0;
  right: 0;
  height: 60px;
  pointer-events: none;
  z-index: 1001;
}

/* Lichter */
.xmas-light {
  position: absolute;
  width: 10px;
  height: 15px;
  border-radius: 50% 50% 40% 40%;
  animation: lightBlink 1.5s infinite;
}

.xmas-light::before {
  content: '';
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 8px;
  background: #000;
}

@keyframes lightBlink {
  0%, 100% { opacity: 1; box-shadow: 0 0 10px currentColor; }
  50% { opacity: 0.3; }
}

/* Christbaumkugeln */
.xmas-ornament {
  position: absolute;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  animation: ornamentSwing 3s ease-in-out infinite;
}

.xmas-ornament::before {
  content: '';
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 10px;
  background: #666;
}

@keyframes ornamentSwing {
  0%, 100% { transform: rotate(-5deg); }
  50% { transform: rotate(5deg); }
}

/* Banner im Header - keine extra Positionierung nötig */

/* Mobile */
@media (max-width: 768px) {
  .xmas-tree {
    width: 180px;
    height: 230px;
    bottom: 0;
  }
  
  .xmas-lights-container {
    height: 40px;
    bottom: -40px;
  }
  
  #xmas-banner {
    font-size: 0.85rem;
    padding: 0.6rem 1rem;
  }
}
