/* Pensions-Garten (Pension für Anfänger): was sich bewegt und wo die Punkte sitzen.
   Positionen in % des Bildes garten.jpg (1536 × 1024). */

/* Wolken ziehen über die Berge */
.wolke { position: absolute; width: 9cqw; height: 2.6cqw; border-radius: 999px; background: rgba(255,255,255,.92); filter: blur(.15cqw);
  pointer-events: none; opacity: 0; animation: wolke 48s linear infinite; }
.wolke::before, .wolke::after { content: ""; position: absolute; background: inherit; border-radius: 50%; }
.wolke::before { left: 18%; top: -70%; width: 38%; height: 150%; }
.wolke::after  { left: 46%; top: -45%; width: 30%; height: 110%; }
.w1 { left: 56%; top: 4%; }
.w2 { left: 60%; top: 11%; width: 6.5cqw; height: 1.9cqw; animation-delay: -24s; animation-duration: 56s; }
@keyframes wolke {
  0%   { opacity: 0; transform: translateX(0); }
  10%  { opacity: .9; }
  80%  { opacity: .9; }
  100% { opacity: 0; transform: translateX(18cqw); }
}

/* Glitzern auf dem See */
.glitzer { position: absolute; left: 56%; top: 32%; width: 26%; height: 6%; pointer-events: none; }
.glitzer i { position: absolute; width: .9cqw; height: .9cqw; border-radius: 50%;
  background: radial-gradient(closest-side, #fff, rgba(255,255,255,.4) 40%, rgba(255,255,255,0)); opacity: 0; animation: glitzer 3.4s ease-in-out infinite; }
.glitzer i:nth-child(1) { left: 8%;  top: 30%; }
.glitzer i:nth-child(2) { left: 22%; top: 70%; animation-delay: -.8s; }
.glitzer i:nth-child(3) { left: 38%; top: 20%; animation-delay: -1.6s; animation-duration: 4s; }
.glitzer i:nth-child(4) { left: 55%; top: 60%; animation-delay: -2.3s; }
.glitzer i:nth-child(5) { left: 70%; top: 35%; animation-delay: -1.1s; animation-duration: 2.8s; }
.glitzer i:nth-child(6) { left: 88%; top: 75%; animation-delay: -2.9s; }
@keyframes glitzer { 0%, 100% { opacity: 0; transform: scale(.4); } 50% { opacity: 1; transform: scale(1.2); } }

/* Musiknoten aus dem Kofferradio */
.noten { position: absolute; left: 5%; top: 24%; width: 12%; height: 22%; pointer-events: none; }
.noten i { position: absolute; bottom: 0; font-style: normal; font-size: 2.4cqw; line-height: 1; color: #7a3b12; text-shadow: 0 0 .4cqw rgba(255,255,255,.9);
  opacity: 0; animation: note 6s ease-out infinite; }
.noten i:nth-child(1) { left: 20%; }
.noten i:nth-child(2) { left: 55%; animation-delay: 2s; font-size: 2cqw; }
.noten i:nth-child(3) { left: 35%; animation-delay: 4s; }
@keyframes note {
  0%   { opacity: 0; transform: translate(0, 0) rotate(-8deg); }
  15%  { opacity: 1; }
  50%  { transform: translate(1.2cqw, -6cqw) rotate(8deg); }
  100% { opacity: 0; transform: translate(-.6cqw, -13cqw) rotate(-6deg); }
}

/* Schmetterlinge: außen die Flugbahn, innen der Flügelschlag */
.falter { position: absolute; width: 3.2cqw; height: 2.6cqw; pointer-events: none;
  filter: drop-shadow(0 0 .08cqw #4a2a10) drop-shadow(0 0 .08cqw #4a2a10) drop-shadow(0 .2cqw .2cqw rgba(0,0,0,.25)); }
.falter i { position: absolute; inset: 0; animation: flattern .35s ease-in-out infinite alternate; }
.falter i::before { content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 25% 25%, #ffd36a 0 12%, transparent 13%), radial-gradient(circle at 75% 25%, #ffd36a 0 12%, transparent 13%), #f08a12;
  clip-path: polygon(50% 32%, 40% 6%, 18% 0%, 2% 12%, 5% 42%, 30% 54%, 10% 74%, 20% 98%, 44% 82%, 50% 62%, 56% 82%, 80% 98%, 90% 74%, 70% 54%, 95% 42%, 98% 12%, 82% 0%, 60% 6%); }
.falter i::after { content: ""; position: absolute; left: 46%; top: 22%; width: 8%; height: 62%; border-radius: 999px; background: #3a2210; }
.fa1 { left: 70%; top: 66%; animation: flug1 22s ease-in-out infinite; }
.fa2 { left: 20%; top: 82%; animation: flug2 27s ease-in-out infinite; }
.fa2 i::before { background: radial-gradient(circle at 25% 25%, #f2a91f 0 12%, transparent 13%), radial-gradient(circle at 75% 25%, #f2a91f 0 12%, transparent 13%), #fff4c2; }
@keyframes flattern { from { transform: scaleX(1); } to { transform: scaleX(.25); } }
@keyframes flug1 {
  0%, 100% { transform: translate(0, 0); }
  25% { transform: translate(-6cqw, -4cqw); }
  50% { transform: translate(4cqw, -9cqw); }
  75% { transform: translate(10cqw, -2cqw); }
}
@keyframes flug2 {
  0%, 100% { transform: translate(0, 0); }
  30% { transform: translate(5cqw, -5cqw); }
  60% { transform: translate(-3cqw, -11cqw); }
  85% { transform: translate(-6cqw, -3cqw); }
}

/* Dampf aus der Kaffeetasse */
.dampf-kaffee { left: 20.5%; top: 31%; }

/* Sprechblasen des Weckers */
.blase-wecker { left: 57%; top: 3%; transform-origin: 10% 100%; }

/* Punkte */
.p-wecker   { left: 47%;  top: 40%; }
.p-buch     { left: 18%;  top: 68%; }
.p-radio    { left: 11%;  top: 50%; }
.p-weg      { left: 89%;  top: 30%; }
.p-urkunde  { left: 16%;  top: 22%; }
.p-tasche   { left: 39%;  top: 86%; }
.p-krawatte { left: 76%;  top: 52%; }

/* Hochformat-Seite im Fenster */
.karte img.hochkant { display: block; width: min(360px, 100%); height: auto; margin-inline: auto; }

@media (prefers-reduced-motion: reduce) {
  .wolke, .glitzer i, .noten i, .falter, .falter i { animation: none; }
  .wolke, .glitzer, .noten, .falter { display: none; }
}
