
/* Ballon-Ebene */
#balloon-layer {
	position: fixed;
	inset: 0;
	overflow: hidden;
	pointer-events: none;
	z-index: 9999;
	display: block !important;
	opacity: 1;
	transition: opacity 1000ms ease-in-out;
	will-change: opacity;
}

/* Nur transparent machen, nicht entfernen */
#balloon-layer.hidden {
	display: block !important;
	opacity: 0;
}

/* Aufsteigender Ballon */
.balloon-wrap {
	position: absolute;
	bottom: -180px;
	will-change: transform;
}
.balloon {
	position: relative;
	border-radius: 50% 50% 46% 46%;
	box-shadow:
		inset -7px -6px 12px rgba(0, 0, 0, 0.10),
		inset 4px 4px 10px rgba(255, 255, 255, 0.16),
		0 3px 8px rgba(0, 0, 0, 0.05);
	transform-origin: 50% 100%;
}

/* Lichtreflex */
.balloon-shine {
	position: absolute;
	top: 13%;
	left: 18%;
	width: 18%;
	height: 30%;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.42);
	filter: blur(2px);
	transform: rotate(25deg);
	pointer-events: none;
	z-index: 2;
}

/* Kleiner Reflex */
.balloon-highlight {
	position: absolute;
	top: 12%;
	left: 35%;
	width: 7%;
	height: 9%;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.28);
	filter: blur(1.5px);
	transform: rotate(25deg);
	pointer-events: none;
	z-index: 2;
}

/* Dezenter Lichtsaum */
.balloon-rim {
	position: absolute;
	inset: 3px;
	border-radius: inherit;
	border-left: 1px solid rgba(255, 255, 255, 0.12);
	border-top: 1px solid rgba(255, 255, 255, 0.10);
	pointer-events: none;
	z-index: 1;
}

/* Ballonhals */
.balloon::after {
	content: "";
	position: absolute;
	left: 50%;
	bottom: -4px;
	transform: translateX(-50%);
	width: 6px;
	height: 8px;
	clip-path: polygon(10% 0, 90% 0, 50% 100%);
	background: var(--balloon-color);
	filter: brightness(0.84);
	z-index: 3;
}

/* Kleiner Knoten */
.balloon-knot {
	position: absolute;
	left: 50%;
	top: calc(100% + 1px);
	width: 5px;
	height: 4px;
	transform: translateX(-50%) rotate(-10deg);
	border-radius: 50%;
	background: var(--balloon-color);
	filter: brightness(0.8);
	z-index: 4;
}
.balloon-knot::before, .balloon-knot::after {
	content: "";
	position: absolute;
	top: 1px;
	width: 3px;
	height: 2px;
	border: 0.5px solid rgba(70, 35, 35, 0.2);
	border-radius: 50%;
	background: inherit;
}
.balloon-knot::before {
	left: -2px;
}
.balloon-knot::after {
	right: -2px;
}

/* Dünner, geschwungener Faden */
.balloon-string-svg {
	position: absolute;
	top: calc(100% - 1px);
	left: 50%;
	width: 18px;
	height: 66px;
	transform: translateX(-50%);
	overflow: visible;
	z-index: 1;
	display: block;
}
.balloon-string-svg path {
	fill: none;
	stroke: rgba(90, 80, 80, 0.48);
	stroke-width: 0.65;
	stroke-linecap: round;
}