/* Kuckuck im roten Abschluss, Testlabor Dev 14.10.2026 (Claude, Chat „Kuckuck-Animation“), Notiz bauplan/kuckuck/LIESMICH.md.
   Greift erst, wenn das Skript die Bühne gebaut hat (Klasse snf-kk am Abschnitt); bis dahin bleibt die Uhr aus dem Facelift. */
.sf-facelift.sf-geladen section.sf-cta-rot.snf-kk::before { background-image: none; }
.sf-facelift.sf-geladen.sf-muster-hoehen section.sf-cta-rot.snf-kk::before {
	background-image: url("/wp-content/themes/southvision-child/assets/facelift/motive/hoehen-rot.svg");
	background-size: 1100px auto;
	background-position: left -260px center;
}
.sf-facelift section.sf-cta-rot.snf-kk > .bgImgWrap::after { display: none !important; }
section.sf-cta-rot > svg.snf-kk-buehne {
	position: absolute !important; top: 0; left: 0; right: auto; bottom: auto; width: 100% !important; height: 100% !important;
	max-width: none; margin: 0; padding: 0; z-index: 3; pointer-events: none; overflow: hidden; opacity: 0; transition: opacity .8s ease;
}
section.snf-kk-an > svg.snf-kk-buehne { opacity: 1; }
.snf-kk-buehne .kk-pendel { transform-origin: 0 0; animation: snf-kk-pendel 1.5s ease-in-out infinite alternate; }
@keyframes snf-kk-pendel { from { transform: rotate(-3.5deg); } to { transform: rotate(3.5deg); } }
.snf-kk-ruht .kk-pendel { animation-play-state: paused; }
@media (max-width: 767px) {
	.sf-facelift.sf-geladen.sf-muster-hoehen section.sf-cta-rot.snf-kk::before { background-size: 900px auto; }
}
@media (prefers-reduced-motion: reduce) {
	.snf-kk-buehne .kk-pendel { animation: none; }
	.snf-kk-buehne { transition: none; }
}
/* I-33 Kuckuck lebt nach der Uhr (16.10.2026, Chat „Easter Eggs“): nachts steigen „Zzz“ aus der Tür; nur mit Klasse snf-kk-nacht */
.snf-kk-buehne .kk-zzz { display: none; }
.snf-kk-nacht:not(.snf-kk-wach) > .snf-kk-buehne .kk-zzz { display: inline; }
.snf-kk-buehne .kk-zzz text { opacity: 0; transform-box: fill-box; transform-origin: 50% 50%; animation: snf-kk-zzz 4.2s ease-out infinite; }
.snf-kk-buehne .kk-zzz text:nth-child(2) { animation-delay: 1.4s; }
.snf-kk-buehne .kk-zzz text:nth-child(3) { animation-delay: 2.8s; }
.snf-kk-ruht .kk-zzz text { animation-play-state: paused; }
@keyframes snf-kk-zzz { 0% { opacity: 0; transform: translate(0, 0) scale(.5); } 15% { opacity: 1; } 100% { opacity: 0; transform: translate(26px, -58px) scale(1.15); } }
@media (prefers-reduced-motion: reduce) {
	.snf-kk-buehne .kk-zzz text { animation: none; opacity: 1; }
	.snf-kk-buehne .kk-zzz text:nth-child(2) { transform: translate(10px, -15px); }
	.snf-kk-buehne .kk-zzz text:nth-child(3) { transform: translate(22px, -34px); }
}
