* { box-sizing: border-box; }

html, body { height: 100%; margin: 0; }

body {
  font-family: Georgia, "Times New Roman", serif;
  color: #fff;
  background: linear-gradient(180deg, #0b2a1f 0%, #14532d 55%, #7f1d1d 100%);
  background-attachment: fixed;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  overflow-x: hidden;
}

.karte {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 480px;
  background: #fffaf0;
  color: #3b1d1d;
  border: 6px solid #b91c1c;
  border-radius: 20px;
  padding: 32px 26px 28px;
  text-align: center;
  box-shadow: 0 12px 40px rgba(0, 0, 0, .5);
}

.karte::before {
  content: "";
  position: absolute;
  inset: 8px;
  border: 2px dashed #15803d;
  border-radius: 12px;
  pointer-events: none;
}

.emoji { font-size: 3rem; line-height: 1; margin-bottom: 8px; }

h1 {
  margin: 0 0 6px;
  font-size: 1.9rem;
  color: #b91c1c;
}

.untertitel { margin: 0 0 22px; color: #15803d; font-style: italic; }

label {
  display: block;
  font-size: 1.15rem;
  font-weight: bold;
  margin-bottom: 10px;
}

input[type="text"] {
  width: 100%;
  padding: 14px 16px;
  font-size: 1.1rem;
  font-family: inherit;
  border: 2px solid #15803d;
  border-radius: 10px;
  background: #fff;
  color: #3b1d1d;
}

input[type="text"]:focus {
  outline: none;
  border-color: #b91c1c;
  box-shadow: 0 0 0 4px rgba(185, 28, 28, .2);
}

button, .knopf {
  display: inline-block;
  margin-top: 18px;
  padding: 14px 28px;
  font-size: 1.1rem;
  font-family: inherit;
  font-weight: bold;
  color: #fff;
  background: #b91c1c;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 4px 0 #7f1d1d;
}

button:hover, .knopf:hover { background: #dc2626; }
button:active, .knopf:active { transform: translateY(3px); box-shadow: 0 1px 0 #7f1d1d; }

.hinweis { margin-top: 16px; font-size: .85rem; color: #6b7280; }
.fehler { color: #b91c1c; font-weight: bold; margin-bottom: 14px; }

/* Honeypot gegen Spam-Bots: für Menschen unsichtbar */
.falle { position: absolute; left: -9999px; height: 0; overflow: hidden; }

/* Schneefall (nur CSS) */
.schnee { position: fixed; inset: 0; z-index: 1; pointer-events: none; overflow: hidden; }
.schnee span {
  position: absolute;
  top: -10%;
  color: #fff;
  opacity: .85;
  animation: fall linear infinite;
}
@keyframes fall {
  to { transform: translateY(115vh) rotate(360deg); }
}
.schnee span:nth-child(1)  { left: 5%;  font-size: 14px; animation-duration: 9s;  animation-delay: 0s; }
.schnee span:nth-child(2)  { left: 15%; font-size: 22px; animation-duration: 12s; animation-delay: 2s; }
.schnee span:nth-child(3)  { left: 25%; font-size: 12px; animation-duration: 8s;  animation-delay: 4s; }
.schnee span:nth-child(4)  { left: 35%; font-size: 18px; animation-duration: 11s; animation-delay: 1s; }
.schnee span:nth-child(5)  { left: 45%; font-size: 26px; animation-duration: 14s; animation-delay: 3s; }
.schnee span:nth-child(6)  { left: 55%; font-size: 13px; animation-duration: 9s;  animation-delay: 5s; }
.schnee span:nth-child(7)  { left: 65%; font-size: 20px; animation-duration: 12s; animation-delay: 0s; }
.schnee span:nth-child(8)  { left: 75%; font-size: 15px; animation-duration: 10s; animation-delay: 6s; }
.schnee span:nth-child(9)  { left: 85%; font-size: 24px; animation-duration: 13s; animation-delay: 2s; }
.schnee span:nth-child(10) { left: 95%; font-size: 16px; animation-duration: 9s;  animation-delay: 4s; }
.schnee span:nth-child(11) { left: 10%; font-size: 19px; animation-duration: 15s; animation-delay: 7s; }
.schnee span:nth-child(12) { left: 50%; font-size: 17px; animation-duration: 11s; animation-delay: 8s; }

@media (prefers-reduced-motion: reduce) {
  .schnee { display: none; }
}
