/* Tageszeit-Hintergründe */
body.sunrise {
  background: linear-gradient(to bottom, #ffecd2, #fcb69f);
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: cover;
}

body.day {
  background: linear-gradient(to bottom, #87ceeb, #f0f8ff);
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: cover;
}

body.sunset {
  background: linear-gradient(to bottom, #ffcc70, #c850c0);
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: cover;
}

body.night {
  background: linear-gradient(to bottom, #0f2027, #203a43, #2c5364);
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: cover;
}

html, body {
  margin: 0;
  padding: 0;
  font-family: 'Nunito', sans-serif;
  overflow-x: hidden;
  text-align: center;
  transition: background 2s ease;
  min-height: 100vh;
}

h1 {
  margin: 2rem 0;
}

.mausi-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  padding: 1rem;
}

.mausi-card {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 1rem;
  width: 320px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  backdrop-filter: blur(6px);
  position: relative;
}

.mausi-img-wrapper {
  position: relative;
  width: 100%;
}

.mausi-img {
  width: 100%;
  border-radius: 10px;
  transition: filter 0.5s ease;
}

.mausi-img.blurry {
  filter: blur(4px) grayscale(80%);
}

.mausi-message {
  position: absolute;
  top: 30%;
  left: 50%;
  transform: translateX(-50%);
  color: white;
  font-size: 1.2rem;
  text-shadow: 0 0 5px black;
  opacity: 0;
  transition: opacity 1s ease;
  pointer-events: none;
}

.mausi-img.blurry + .mausi-message {
  opacity: 1;
}

.urlaubszeit {
  font-size: 0.85rem;
  margin-top: 0.5rem;
}

.urlaub-link {
  display: inline-block;
  margin: 2rem;
  padding: 0.8rem 1.5rem;
  background-color: #007bff;
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  border-radius: 8px;
  transition: background-color 0.3s ease;
}

.urlaub-link:hover {
  background-color: #0056b3;
}

#confetti-canvas {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  width: 100%;
  height: 100%;
  z-index: 10;
}

.countdown-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 1rem;
}

.status-text {
  font-size: 1rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
  color: #222;
  text-shadow: 0 0 4px rgba(255, 255, 255, 0.6);
}

.countdown {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.flip-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.flip-card {
  width: 60px;
  height: 50px;
  background: #000;
  border-radius: 6px;
  color: #fff;
  font-size: 1.8rem;
  font-family: monospace;
  display: flex;
  justify-content: center;
  align-items: center;
}

.label {
  font-size: 0.75rem;
  margin-top: 4px;
  color: #000;
}

.returned {
  font-weight: bold;
  font-size: 1.2rem;
  color: lightgreen;
}

#sky {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -3;
  overflow: hidden;
}

#sun, #moon {
  position: absolute;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  z-index: -2;
  pointer-events: none;
}

#sun {
  background: radial-gradient(circle at center, #fff700 40%, rgba(255, 255, 100, 0.3) 60%, transparent 100%);
  box-shadow: 0 0 60px 25px rgba(255, 255, 150, 0.4);
  opacity: 0;
  transition: opacity 1s ease;
}

#moon {
  background: radial-gradient(circle at center, #ccc, #888);
  box-shadow: 0 0 30px 10px rgba(200, 200, 255, 0.3);
  opacity: 0;
  transition: opacity 1s ease;
}

#stars-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  pointer-events: none;
}

.star {
  position: absolute;
  width: 4px;
  height: 4px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  animation: twinkle 2.5s infinite ease-in-out;
  box-shadow: 0 0 6px rgba(255, 255, 255, 0.8);
}

@keyframes twinkle {
  0%, 100% { opacity: 0.3; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.8); }
}

/* >>> NEU: Optik für weitere Urlaube <<< */
.weitere-urlaube {
  margin-top: 10px;
}

.weitere-urlaube h3 {
  font-size: 1rem;
  margin-bottom: 5px;
  font-weight: bold;
}

.urlaubsliste {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.urlaubsliste .urlaubszeit {
  background: rgba(255,255,255,0.7);
  border-radius: 6px;
  padding: 2px 6px;
  font-size: 0.9rem;
  margin: 0 auto;
}