body {
  font-family: "Trebuchet MS", sans-serif;
  background: linear-gradient(180deg, #0e2b1b 0%, #07140f 100%);
  color: #fdf6e3;
  margin: 0;
  min-height: 100vh;
}

header {
  text-align: center;
  padding: 1.2rem;
  background: #14401f;
  color: #e3c56a;
  box-shadow: 0 2px 6px rgba(0,0,0,0.4);
}

header h1 {
  margin: 0;
  font-family: "Georgia", serif;
  font-size: clamp(1.5rem, 8vw, 2rem);
  letter-spacing: 1px;
  color: #e9d08a;
  text-shadow: 0 0 8px #1a6b3c;
}

nav {
  margin-top: .5rem;
}
nav a {
  color: #c9a227;
  margin: 0 .8rem;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s;
}
nav a:hover { color: #ffffff; }
nav a.active { text-decoration: underline; }

main {
  max-width: 800px;
  margin: 1.5rem auto;
  padding: 1rem;
}

.info-box {
  background: rgba(26, 107, 60, 0.15);
  border: 1px solid #1a6b3c;
  border-radius: 10px;
  padding: 1rem;
  margin-bottom: 1.5rem;
  color: #e9f0e3;
}

form {
  background: rgba(10, 30, 20, 0.9);
  padding: 1.5rem;
  border-radius: 10px;
  box-shadow: 0 0 12px rgba(26, 107, 60, 0.4);
  display: grid;
  gap: 1rem;
}
input, select, textarea, button {
  font-size: 1rem;
  padding: .6rem;
  border-radius: 6px;
  border: 1px solid #2a8a52;
  background: #0f2a1b;
  color: #fdf6e3;
}
input::placeholder, textarea::placeholder { color: #8ab09b; }

button {
  background: #a6192e;
  border: none;
  color: white;
  font-weight: bold;
  cursor: pointer;
  transition: background .3s, transform .2s;
}
button:hover { background: #c73146; transform: scale(1.05); }

#status {
  color: #fff;
  font-style: italic;
}

#map {
  height: 50vh;
  border-radius: 12px;
  box-shadow: 0 0 12px rgba(26, 107, 60, 0.5);
}

.leaflet-marker-icon.marker-heute {
  filter: hue-rotate(150deg) saturate(1.6);
}

/* Schneeeffekt: liegt als fixer Layer über der gesamten Seite (auch über der Karte),
   fängt aber keine Klicks ab, damit die Seite darunter normal bedienbar bleibt. */
#schnee-layer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  overflow: hidden;
  z-index: 9999;
}

.schneeflocke {
  position: absolute;
  top: -5vh;
  color: #ffffff;
  text-shadow: 0 0 6px rgba(255,255,255,0.8);
  user-select: none;
  animation-name: schnee-fallen;
  animation-timing-function: linear;
  animation-iteration-count: 1;
  animation-fill-mode: forwards;
}

@keyframes schnee-fallen {
  0%   { transform: translateY(0) translateX(0) rotate(0deg); }
  100% { transform: translateY(110vh) translateX(var(--schnee-drift, 40px)) rotate(360deg); }
}

.schnee-fall-links { --schnee-drift: -40px; }
.schnee-fall-rechts { --schnee-drift: 40px; }

#schnee-toggle-btn {
  display: inline-block;
  margin: 1rem auto 1.5rem auto;
  background: #1a6b3c;
  color: #fff;
  border: none;
  padding: 0.6rem 1.4rem;
  border-radius: 8px;
  font-weight: bold;
  cursor: pointer;
  transition: background .3s, transform .2s;
}
#schnee-toggle-btn:hover { background: #2a8a52; transform: scale(1.05); }
