#hug-jubilaeum {
  display: table;
  width: 100%;
  position: relative;
  overflow: hidden;
}
#hug-jubilaeum .jubilaeum-oben {
  background: #126695;
  min-height: 755px;
}
#hug-jubilaeum .jubilaeum-oben .verlagswand {
  position: absolute;
  right: -10px;
  width: 50%;
  top: 20px;
  width: 600px;
  height: auto;
  transform: rotate(-4deg);
}
#hug-jubilaeum .jubilaeum-oben .klexx-jubelt {
  position: absolute;
  top: 30px;
  right: 50px;
  width: 450px;
}
#hug-jubilaeum .jubilaeum-oben .jubilaeum-oben-wrap {
  position: relative;
  left: clamp(2%, 0.25vw + 1.6%, 5%);
  width: 100%;
}
#hug-jubilaeum .jubilaeum-oben .jubilaeum-oben-wrap .wundertuete-wrap {
  position: absolute;
  display: inline-block;
  left: clamp(630px, 49vw, 1400px);
  top: 240px;
  width: 100px;
  --mouth-x: 52%;
  --mouth-y: 32%;
}
#hug-jubilaeum .jubilaeum-oben .jubilaeum-oben-wrap .wundertuete-wrap .wundertuete {
  display: block;
  height: 100px;
  transform-origin: var(--mouth-x) var(--mouth-y);
  animation: wundertuete-wiggle 2.4s ease-in-out infinite;
  filter: drop-shadow(0 0 0 rgba(255, 255, 255, 0));
}
#hug-jubilaeum .jubilaeum-oben .jubilaeum-oben-wrap .wundertuete-wrap {
  /* Partikel-Layer 1 (Sterne/Glitzer als CSS-Gradient) */
}
#hug-jubilaeum .jubilaeum-oben .jubilaeum-oben-wrap .wundertuete-wrap .wundertuete-wrap::before {
  content: "";
  position: absolute;
  left: var(--mouth-x);
  top: var(--mouth-y);
  width: 120px;
  height: 120px;
  transform: translate(-50%, -50%);
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.95) 0 2px, transparent 3px), radial-gradient(circle at 55% 20%, rgba(255, 255, 255, 0.9) 0 1.5px, transparent 3px), radial-gradient(circle at 75% 45%, rgba(255, 255, 255, 0.9) 0 2px, transparent 4px), radial-gradient(circle at 35% 70%, rgba(255, 255, 255, 0.85) 0 1.5px, transparent 3px), radial-gradient(circle at 70% 75%, rgba(255, 255, 255, 0.85) 0 1.2px, transparent 3px);
  filter: blur(0.2px);
  animation: wundertuete-spark 2.4s ease-in-out infinite;
}
#hug-jubilaeum .jubilaeum-oben .jubilaeum-oben-wrap .wundertuete-wrap {
  /* Partikel-Layer 2 (kleine "Strahlen") */
}
#hug-jubilaeum .jubilaeum-oben .jubilaeum-oben-wrap .wundertuete-wrap .wundertuete-wrap::after {
  content: "";
  position: absolute;
  left: var(--mouth-x);
  top: var(--mouth-y);
  width: 90px;
  height: 90px;
  transform: translate(-50%, -50%) rotate(-10deg);
  pointer-events: none;
  opacity: 0;
  background: conic-gradient(from 180deg, transparent 0 10deg, rgba(255, 255, 255, 0.85) 10deg 12deg, transparent 12deg 28deg, rgba(255, 255, 255, 0.7) 28deg 30deg, transparent 30deg 52deg, rgba(255, 255, 255, 0.8) 52deg 54deg, transparent 54deg 360deg);
  mask: radial-gradient(circle, transparent 0 28%, #000 29% 100%);
  animation: wundertuete-rays 2.4s ease-in-out infinite;
}
#hug-jubilaeum .jubilaeum-oben .jubilaeum-oben-wrap .wundertuete-wrap {
  /* Hover: mehr "Magie" */
}
#hug-jubilaeum .jubilaeum-oben .jubilaeum-oben-wrap .wundertuete-wrap .wundertuete-wrap:hover .wundertuete,
#hug-jubilaeum .jubilaeum-oben .jubilaeum-oben-wrap .wundertuete-wrap .wundertuete-wrap:focus-visible .wundertuete {
  animation-duration: 1.6s;
  filter: drop-shadow(0 6px 10px rgba(0, 0, 0, 0.15));
}
#hug-jubilaeum .jubilaeum-oben .jubilaeum-oben-wrap {
  /* Keyframes */
}
@keyframes wundertuete-wiggle {
  0%, 60%, 100% {
    transform: rotate(0deg) scale(1);
  }
  10% {
    transform: rotate(-6deg) scale(1.02, 0.98);
  }
  20% {
    transform: rotate(6deg) scale(0.99, 1.03);
  }
  30% {
    transform: rotate(-4deg) scale(1.01, 0.99);
  }
  40% {
    transform: rotate(3deg) scale(1);
  }
}
@keyframes wundertuete-spark {
  0%, 55%, 100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.6);
  }
  15% {
    opacity: 1;
    transform: translate(-50%, -65%) scale(1);
  }
  25% {
    opacity: 0.9;
    transform: translate(-50%, -85%) scale(1.1);
  }
  40% {
    opacity: 0;
    transform: translate(-50%, -110%) scale(1.2);
  }
}
@keyframes wundertuete-rays {
  0%, 55%, 100% {
    opacity: 0;
    transform: translate(-50%, -50%) rotate(-10deg) scale(0.7);
  }
  16% {
    opacity: 0.9;
    transform: translate(-50%, -62%) rotate(10deg) scale(1);
  }
  28% {
    opacity: 0.6;
    transform: translate(-50%, -85%) rotate(25deg) scale(1.05);
  }
  42% {
    opacity: 0;
    transform: translate(-50%, -110%) rotate(40deg) scale(1.15);
  }
}
#hug-jubilaeum .jubilaeum-oben .jubilaeum-oben-wrap {
  /* Reduced motion */
}
@media (prefers-reduced-motion: reduce) {
  #hug-jubilaeum .jubilaeum-oben .jubilaeum-oben-wrap .wundertuete,
  #hug-jubilaeum .jubilaeum-oben .jubilaeum-oben-wrap .wundertuete-wrap::before,
  #hug-jubilaeum .jubilaeum-oben .jubilaeum-oben-wrap .wundertuete-wrap::after {
    animation: none !important;
  }
}
#hug-jubilaeum .jubilaeum-oben .jubilaeum-oben-wrap .wundertuete-wrap {
  --mouth-x: 52%;
  --mouth-y: 32%;
}
#hug-jubilaeum .jubilaeum-oben .drei-striche {
  position: absolute;
  width: 40px;
  top: 180px;
  left: 7%;
}
#hug-jubilaeum .jubilaeum-oben .jubilaeum-strich {
  position: absolute;
  left: 15%;
  top: 330px;
  width: 34%;
  max-width: 400px;
}
#hug-jubilaeum .jubilaeum-oben .jubilaeum-head-text {
  font-family: "Fengardo Neue";
  position: absolute;
  left: 10%;
  top: 190px;
  text-transform: uppercase;
  font-size: 3em;
  color: white;
}
#hug-jubilaeum .jubilaeum-oben .jubilaeum-head-zeile-2 {
  font-family: "Fengardo Neue";
  position: absolute;
  left: 15%;
  top: 245px;
  text-transform: uppercase;
  font-size: 5em;
  color: white;
  text-shadow: 1px 0 0 #126695, -1px 0 0 #126695, 0 1px 0 #126695, 0 -1px 0 #126695;
}
#hug-jubilaeum .jubilaeum-oben .jubilaeum-subhead {
  font-family: "Fengardo Neue";
  position: absolute;
  left: 15%;
  top: 360px;
  width: 40%;
  font-size: 1.1em;
  color: white;
  text-shadow: 1px 0 0 #126695, -1px 0 0 #126695, 0 1px 0 #126695, 0 -1px 0 #126695;
}
#hug-jubilaeum .jubilaeum-oben .jubilaeum-button {
  margin-top: auto;
  align-self: center;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.25s ease, background-color 0.25s ease;
  background: #db8286;
  font-family: "Fengardo Neue";
  font-weight: 700;
  font-size: 1.1em;
  padding: 0.75em 2em;
  border: 0;
  color: white;
  cursor: pointer;
  position: absolute;
  left: 15%;
  top: 590px;
}
#hug-jubilaeum .jubilaeum-oben .jubilaeum-button:hover {
  animation: hug-wobble 0.35s ease-in-out;
  background: #f07b54;
  transform: translateY(-4px) scale(1.04);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
}
#hug-jubilaeum .jubilaeum-unten {
  position: relative;
  background: #db8286;
  min-height: 650px;
  display: table;
  width: 100%;
}
#hug-jubilaeum .jubilaeum-unten .jubi-blob {
  width: 100%;
  position: absolute;
  top: -80px;
  left: 0;
}
#hug-jubilaeum .jubilaeum-unten .jubi_unten_wrap {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
}
#hug-jubilaeum .jubilaeum-unten .jubi_unten_wrap .maedchen-springt-gruen {
  position: absolute;
  top: -100px;
  right: -25px;
  width: 400px;
}
#hug-jubilaeum .jubilaeum-unten .jubi_unten_wrap .fr_solo {
  top: 20px !important;
  right: -60px !important;
}
#hug-jubilaeum .jubilaeum-unten .jubi_unten_wrap .junior-hand-sennen {
  position: absolute;
  bottom: -58px;
  left: -5%;
  height: 100%;
  width: auto;
  transform-origin: 65% 100%;
  animation: junior-heft-winken 6s ease-in-out infinite;
}
#hug-jubilaeum .jubilaeum-unten .jubi_unten_wrap .blob-weiss {
  width: 95%;
  max-width: 900px;
}
#hug-jubilaeum .jubilaeum-unten .jubi_unten_wrap .jubilaeum-head-blob {
  font-family: "Fengardo Neue";
  text-transform: uppercase;
  position: absolute;
  font-size: 2.65em;
  left: 20%;
  width: 47%;
  max-width: 800px;
  top: clamp(40px, 30%, 110px);
  line-height: 1.25;
  text-align: center;
  color: #126695;
}
#hug-jubilaeum .jubilaeum-unten .jubi_unten_wrap .jubilaeum-head-blob .roteschrift {
  color: #db8286;
}
#hug-jubilaeum .jubilaeum-unten .jubi_unten_wrap .button-erfolgsgeschichte {
  margin-top: auto;
  align-self: center;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.25s ease, background-color 0.25s ease;
  background: #db8286;
  font-family: "Fengardo Neue";
  font-weight: 700;
  font-size: 20px;
  padding: 10px 30px;
  border: 0;
  color: white;
  cursor: pointer;
  position: absolute;
  left: 27%;
  top: 105%;
}
#hug-jubilaeum .jubilaeum-unten .jubi_unten_wrap .button-erfolgsgeschichte:hover {
  animation: hug-wobble 0.35s ease-in-out;
  background: #f07b54;
  transform: translateY(-4px) scale(1.04);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
}

/* ===============================
	   MOBILE
   =============================== */
@media (max-width: 980px) {
  .jubilaeum-oben {
    min-height: 1100px !important;
  }
  .jubilaeum-oben .klexx-jubelt {
    position: absolute;
    top: 30px;
    right: 50px;
    width: 60% !important;
  }
  .jubilaeum-oben .verlagswand {
    left: 15% !important;
    width: 90% !important;
  }
  .jubilaeum-oben .wundertuete-wrap {
    left: 75% !important;
    top: 250px !important;
    width: 35px !important;
  }
  .jubilaeum-oben .wundertuete-wrap .wundertuete {
    height: 60px !important;
  }
  .jubilaeum-oben .jubilaeum-strich {
    left: 15% !important;
    top: 437px !important;
    width: 75% !important;
  }
  .jubilaeum-oben .jubilaeum-head-text {
    left: 5% !important;
    top: 332px !important;
    font-size: 2.75em !important;
  }
  .jubilaeum-oben .jubilaeum-head-zeile-2 {
    left: 5% !important;
    top: 365px !important;
    font-size: 3.75em !important;
  }
  .jubilaeum-oben .jubilaeum-subhead {
    left: 15% !important;
    top: 520px !important;
    width: 75% !important;
  }
  .jubilaeum-oben .jubilaeum-button {
    left: 10% !important;
    top: 600px !important;
  }
  .jubilaeum-oben .jubilaeum-button:hover {
    animation: hug-wobble 0.35s ease-in-out;
    background: #f07b54;
    transform: translateY(-4px) scale(1.04);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
  }
  .jubilaeum-unten {
    min-height: 440px !important;
  }
  .jubilaeum-unten .maedchen-springt-gruen {
    top: -100px !important;
    right: 5% !important;
    width: 40% !important;
  }
  .jubilaeum-unten .junior-hand-sennen {
    height: 350px !important;
    bottom: -190px !important;
  }
  .jubilaeum-unten .jubi-blob {
    top: -28px !important;
  }
  .jubilaeum-unten .blob-weiss {
    width: 100% !important;
    left: 10% !important;
  }
  .jubilaeum-unten .jubilaeum-head-blob {
    font-size: 1.15em !important;
    left: 10% !important;
    width: 70% !important;
    line-height: 1 !important;
  }
  .jubilaeum-unten .button-erfolgsgeschichte {
    font-size: 15px !important;
    left: 20% !important;
    top: 85 !important;
    padding: 5px 10px !important;
  }
}
@keyframes junior-heft-winken {
  0%, 60%, 100% {
    transform: rotate(0deg);
  }
  10%, 30% {
    transform: rotate(-2deg);
  }
  20%, 40% {
    transform: rotate(2deg);
  }
  50% {
    transform: rotate(-2deg);
  }
}
@media (prefers-reduced-motion: reduce) {
  .junior-hand-sennen {
    animation: none;
  }
}
