/* LV Winterzauber */
.lvw-root {
	position: fixed;
	inset: 0;
	z-index: 99990;
	overflow: hidden;
	pointer-events: none;
	contain: strict;
}
.lvw-root *,
.lvw-root img {
	pointer-events: none;
	user-select: none;
	max-width: none;
	margin: 0;
	padding: 0;
	border: 0;
	box-shadow: none;
	border-radius: 0;
	background: none;
}
.lvw-root img { display: block; height: auto; }

.lvw-canvas { position: absolute; left: 0; top: 0; }

/* Wolken */
.lvw-clouds {
	position: absolute;
	left: 0; right: 0; top: 0;
	animation: lvw-fade 2.5s ease-out both;
}
.lvw-cloud {
	position: absolute;
	left: 0;
	background-repeat: repeat-x;
	background-position: 0 0;
	will-change: transform;
}
@keyframes lvw-fade { from { opacity: 0; transform: translateY(-30%); } to { opacity: 1; transform: none; } }

/* Bienen */
.lvw-bee, .lvw-sleigh { position: absolute; left: 0; top: 0; will-change: transform; }
.lvw-bee img { animation: lvw-bob 1.5s ease-in-out infinite alternate; filter: drop-shadow(0 3px 4px rgba(0, 0, 0, .18)); }
@keyframes lvw-bob {
	from { transform: translateY(-14px) rotate(-5deg); }
	to   { transform: translateY(14px) rotate(5deg); }
}
.lvw-sleigh img { filter: drop-shadow(0 8px 10px rgba(0, 0, 0, .22)); }

/* Weihnachtsmann */
.lvw-santa {
	position: absolute;
	right: max(3vw, 12px);
	bottom: -6px;
	transform: translateY(112%);
	transition: transform 1.1s cubic-bezier(.2, 1.25, .4, 1);
}
.lvw-santa.lvw-in { transform: translateY(0); }
.lvw-santa-in { transform-origin: 50% 100%; animation: lvw-sway 1.3s ease-in-out infinite alternate; }
.lvw-santa img { height: min(46vh, 390px); width: auto; filter: drop-shadow(0 6px 12px rgba(0, 0, 0, .3)); }
@keyframes lvw-sway { from { transform: rotate(-2.5deg); } to { transform: rotate(2.5deg); } }
.lvw-root .lvw-bubble {
	position: absolute;
	right: 78%;
	top: 2%;
	padding: .45em .9em;
	background: #fff;
	color: #b3121d;
	font: 700 clamp(18px, 2.4vw, 30px)/1.15 Georgia, "Times New Roman", serif;
	white-space: nowrap;
	border: 3px solid #b3121d;
	border-radius: 1.2em;
	box-shadow: 0 6px 18px rgba(0, 0, 0, .25);
	transform: scale(0) rotate(-12deg);
	transform-origin: 100% 100%;
	transition: transform .45s cubic-bezier(.3, 1.6, .5, 1);
}
.lvw-root .lvw-bubble::after {
	content: "";
	position: absolute;
	right: -14px;
	bottom: 8px;
	border: 9px solid transparent;
	border-left-color: #b3121d;
	border-right: 0;
}
.lvw-root .lvw-bubble.lvw-in { transform: scale(1) rotate(-4deg); }

/* Baum, Geschenke, Elf */
.lvw-ground { position: absolute; left: 0; right: 0; bottom: 0; height: 0; }
.lvw-tree {
	position: absolute;
	left: 8px;
	bottom: 0;
	animation: lvw-rise 1.4s cubic-bezier(.2, 1.2, .4, 1) both;
	filter: drop-shadow(0 4px 8px rgba(0, 0, 0, .28));
}
.lvw-tree img { width: 100%; height: 100%; }
@keyframes lvw-rise { from { transform: translateY(105%); } to { transform: none; } }
.lvw-root .lvw-light {
	position: absolute;
	width: 6px;
	height: 6px;
	margin: -3px 0 0 -3px;
	border-radius: 50%;
	color: #ff3b3b;
	background: currentColor;
	box-shadow: 0 0 7px 3px currentColor, 0 0 2px 1px #fff inset;
	animation: lvw-twinkle 4s linear infinite;
}
@keyframes lvw-twinkle {
	0%   { color: #ff3b3b; opacity: 1; }
	18%  { color: #ff3b3b; opacity: .35; }
	20%  { color: #ffd23b; opacity: 1; }
	38%  { color: #ffd23b; opacity: .35; }
	40%  { color: #3bff6e; opacity: 1; }
	58%  { color: #3bff6e; opacity: .35; }
	60%  { color: #3bb4ff; opacity: 1; }
	78%  { color: #3bb4ff; opacity: .35; }
	80%  { color: #ff5bf0; opacity: 1; }
	98%  { color: #ff5bf0; opacity: .35; }
	100% { color: #ff3b3b; opacity: 1; }
}
.lvw-gifts { position: absolute; left: 0; bottom: 0; }
.lvw-root .lvw-gift {
	position: absolute;
	transform-origin: 50% 100%;
	filter: drop-shadow(0 3px 4px rgba(0, 0, 0, .3));
}
.lvw-elf { position: absolute; left: 0; bottom: 0; z-index: 40; will-change: transform; }
.lvw-elf-in { position: relative; transform-origin: 50% 100%; }
.lvw-elf-in.lvw-walk { animation: lvw-waddle .42s ease-in-out infinite alternate; }
.lvw-elf-flip { position: absolute; inset: 0; }
.lvw-elf-flip > img:first-child { width: 100%; height: 100%; filter: drop-shadow(0 3px 4px rgba(0, 0, 0, .28)); }
.lvw-root .lvw-carry { position: absolute; }
@keyframes lvw-waddle {
	from { transform: translateY(0) rotate(-4deg); }
	to   { transform: translateY(-5px) rotate(4deg); }
}

/* Ein-/Aus-Schalter */
.lvw-toggle {
	position: fixed;
	left: 6px;
	bottom: 6px;
	z-index: 99991;
	width: 30px;
	height: 30px;
	padding: 0;
	border: 1px solid rgba(0, 60, 120, .35);
	border-radius: 50%;
	background: rgba(255, 255, 255, .9);
	color: #1b6fb5;
	font: 400 17px/28px Arial, sans-serif;
	text-align: center;
	cursor: pointer;
	opacity: .7;
	box-shadow: 0 1px 4px rgba(0, 0, 0, .25);
	transition: opacity .2s;
}
.lvw-toggle:hover, .lvw-toggle:focus-visible { opacity: 1; }
.lvw-toggle.lvw-off { width: auto; padding: 0 12px; border-radius: 15px; font-size: 14px; opacity: .95; }

@media print {
	.lvw-root, .lvw-toggle { display: none !important; }
}
