/*
 * Bild „laptop“ für die Seite Online-Abenteuer (4,2 s, einmal beim Erscheinen): Blick über die Schultern einer roten und
 * einer blauen Figur auf einen Laptop. Auf dem Bildschirm ein dunkler Hotelflur mit einem Koffer; die rote klickt mit
 * der Maus, der Koffer hüpft und leuchtet, die blaue zeigt aufgeregt darauf. Bei „Bewegung reduzieren“ gleich das
 * Schlussbild. Arme der Rückenfiguren in Bild-Koordinaten.
 */
.sz-laptop { overflow: hidden; }
.sz-laptop .f-arm { transform-origin: 24px 135px; transform: rotate(180deg); }
.sz-laptop .b-arm { transform-origin: 166px 131px; transform: rotate(20deg); }
.sz-laptop .b-rueck { transform-origin: 188px 184px; }
.sz-laptop .b-lid { animation-delay: -2.2s; }
.sz-laptop .maus { transform-origin: 24px 120px; }
.sz-laptop .aufgeregt { transform-origin: 210px 118px; transform: scale(.3); opacity: 0; }
.sz-laptop.spielt .f-arm { animation: laptop-klick 4.2s forwards; }
.sz-laptop.spielt .maus { animation: laptop-klick-maus 4.2s forwards; }
.sz-laptop.spielt .b-arm { animation: laptop-zeigen 4.2s forwards; }
.sz-laptop.spielt .b-rueck { animation: laptop-b-hupf 4.2s forwards; }
.sz-laptop.spielt .aufgeregt { animation: laptop-aufgeregt 4.2s forwards; }

@keyframes laptop-klick { 0%, 38% { transform: rotate(180deg) translateY(0); } 41% { transform: rotate(180deg) translateY(1.2px); } 45%, 100% { transform: rotate(180deg) translateY(0); } }
@keyframes laptop-zeigen {
    0%, 22% { transform: rotate(20deg); animation-timing-function: cubic-bezier(.3, 0, .2, 1.4); }
    34% { transform: rotate(132deg); animation-timing-function: ease-in-out; }
    58% { transform: rotate(132deg); animation-timing-function: ease-in-out; }
    63% { transform: rotate(122deg); animation-timing-function: ease-in-out; }
    68% { transform: rotate(138deg); animation-timing-function: ease-in-out; }
    73% { transform: rotate(124deg); animation-timing-function: ease-in-out; }
    79%, 100% { transform: rotate(132deg); }
}
@keyframes laptop-b-hupf {
    0%, 24% { transform: translateY(0) rotate(0) scale(1, 1); animation-timing-function: cubic-bezier(.3, 0, .2, 1.3); }
    36%, 56% { transform: translateY(0) rotate(-7deg) scale(1, 1); animation-timing-function: ease-in-out; }
    59% { transform: translateY(0) rotate(-7deg) scale(1.04, .95); animation-timing-function: cubic-bezier(.2, .6, .4, 1); }
    64% { transform: translateY(-5px) rotate(-7deg) scale(.98, 1.03); animation-timing-function: cubic-bezier(.6, 0, .8, .4); }
    69% { transform: translateY(0) rotate(-7deg) scale(1.03, .96); animation-timing-function: ease-out; }
    74%, 100% { transform: translateY(0) rotate(-7deg) scale(1, 1); }
}
@keyframes laptop-aufgeregt {
    0%, 56% { transform: scale(.3); opacity: 0; animation-timing-function: cubic-bezier(.3, 0, .2, 1.6); }
    63%, 100% { transform: scale(1); opacity: 1; }
}

.sz-laptop .zeiger { transform: translate(92px, 20px); }
.sz-laptop .klickring { transform-origin: 58px 47.5px; transform: scale(0); opacity: 0; }
.sz-laptop .koffer { transform-origin: 57px 69px; }
.sz-laptop .koffer-schein { transform-origin: 57px 58px; transform: scale(.6); opacity: 0; }
.sz-laptop .kf { transform-origin: 0 0; transform: scale(0); opacity: 0; }
.sz-laptop.spielt .zeiger { animation: laptop-zeiger 4.2s forwards; }
.sz-laptop.spielt .klickring { animation: laptop-klickring 4.2s ease-out forwards; }
.sz-laptop.spielt .koffer { animation: laptop-koffer 4.2s forwards; }
.sz-laptop.spielt .koffer-schein { animation: laptop-schein 4.2s ease-out forwards, laptop-pulsieren 2.4s 4.2s ease-in-out infinite; }
.sz-laptop.spielt .kf1 { animation: laptop-kf1 4.2s forwards, laptop-funkeln 1.6s 4.2s ease-in-out infinite; }
.sz-laptop.spielt .kf2 { animation: laptop-kf2 4.2s forwards, laptop-funkeln 1.6s 4.6s ease-in-out infinite; }
.sz-laptop.spielt .kf3 { animation: laptop-kf3 4.2s forwards, laptop-funkeln 1.6s 5s ease-in-out infinite; }

/* Bildschirm: der Mauszeiger gleitet zum Koffer, Klick, der Koffer hüpft und leuchtet. */
@keyframes laptop-zeiger {
    0%, 8% { transform: translate(92px, 20px); animation-timing-function: cubic-bezier(.45, 0, .25, 1); }
    36% { transform: translate(57px, 46px); animation-timing-function: ease-out; }
    40%, 100% { transform: translate(58px, 47.5px); }
}
@keyframes laptop-klickring {
    0%, 41% { transform: scale(0); opacity: 0; }
    42% { transform: scale(.6); opacity: 1; }
    56%, 100% { transform: scale(2.6); opacity: 0; }
}
@keyframes laptop-koffer {
    0%, 43% { transform: translateY(0) scale(1, 1); animation-timing-function: ease-out; }
    45% { transform: translateY(0) scale(1.06, .9); animation-timing-function: cubic-bezier(.2, .6, .4, 1); }
    51% { transform: translateY(-5px) scale(.96, 1.06); animation-timing-function: cubic-bezier(.6, 0, .8, .4); }
    57% { transform: translateY(0) scale(1.05, .93); animation-timing-function: ease-out; }
    62%, 100% { transform: translateY(0) scale(1, 1); }
}
@keyframes laptop-schein {
    0%, 44% { transform: scale(.6); opacity: 0; }
    54% { transform: scale(1.15); opacity: 1; }
    66%, 100% { transform: scale(1); opacity: .85; }
}
@keyframes laptop-pulsieren { 0%, 100% { opacity: .85; } 50% { opacity: .6; } }
@keyframes laptop-kf1 { 0%, 50% { transform: scale(0); opacity: 0; animation-timing-function: cubic-bezier(.3, 0, .2, 1.6); } 57%, 100% { transform: scale(1); opacity: 1; } }
@keyframes laptop-kf2 { 0%, 54% { transform: scale(0); opacity: 0; animation-timing-function: cubic-bezier(.3, 0, .2, 1.6); } 61%, 100% { transform: scale(1); opacity: 1; } }
@keyframes laptop-kf3 { 0%, 58% { transform: scale(0); opacity: 0; animation-timing-function: cubic-bezier(.3, 0, .2, 1.6); } 65%, 100% { transform: scale(1); opacity: 1; } }
@keyframes laptop-funkeln { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(.7); opacity: .7; } }
@keyframes laptop-klick-maus { 0%, 39% { transform: scale(1, 1); } 41% { transform: scale(1.04, .86); } 45%, 100% { transform: scale(1, 1); } }
