/* Blase unten rechts, uebernommen aus dem alten Theme. */
.bb-bubble { display: none; }

  @media screen and (max-width: 749px) {
    .bb-bubble {
      position: fixed;
      right: 16px;
      bottom: 16px;
      z-index: 950;
      display: flex;
      flex-direction: column;
      align-items: flex-end;
      gap: 10px;
    }

    .bb-bubble__btn {
      width: 58px;
      height: 58px;
      padding: 0;
      border: 2px solid #141216;
      border-radius: 50%;
      background: linear-gradient(135deg, #b478e8, #ff5fb2);
      box-shadow: 0 8px 20px rgba(91, 48, 150, .32);
      display: grid;
      place-items: center;
      cursor: pointer;
      /* leichtes Wabern, damit die Blase lebt statt zu kleben */
      animation: bbBubbleWobble 5.2s ease-in-out infinite;
    }

    .bb-bubble__bars {
      display: grid;
      gap: 5px;
    }
    .bb-bubble__bars i {
      display: block;
      width: 24px;
      height: 3px;
      border-radius: 2px;
      background: #fff;
      transition: transform .22s ease, opacity .18s ease;
    }

    /* drei Striche werden zum Kreuz, solange das Menue offen ist */
    .bb-bubble.is-open .bb-bubble__bars i:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .bb-bubble.is-open .bb-bubble__bars i:nth-child(2) { opacity: 0; }
    .bb-bubble.is-open .bb-bubble__bars i:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
    .bb-bubble.is-open .bb-bubble__btn { animation-play-state: paused; }

    .bb-bubble__sheet {
      display: flex;
      flex-direction: column;
      align-items: flex-end;
      gap: 8px;
      opacity: 0;
      visibility: hidden;
      transform: translateY(10px) scale(.96);
      transform-origin: bottom right;
      transition: opacity .2s ease, transform .22s cubic-bezier(0.34, 1.4, 0.64, 1), visibility .22s;
    }
    .bb-bubble.is-open .bb-bubble__sheet {
      opacity: 1;
      visibility: visible;
      transform: translateY(0) scale(1);
    }

    .bb-bubble__link {
      font-family: 'Unbounded', sans-serif;
      font-weight: 700;
      font-size: 14px;
      letter-spacing: .04em;
      text-decoration: none;
      color: #141216;
      background: rgba(255, 255, 255, .94);
      border: 2px solid #141216;
      border-radius: 999px;
      padding: 10px 20px;
      box-shadow: 0 6px 14px rgba(91, 48, 150, .18);
    }

    @keyframes bbBubbleWobble {
      0%, 100% { transform: translate(0, 0) rotate(0deg); }
      30%      { transform: translate(-3px, -4px) rotate(-5deg); }
      60%      { transform: translate(3px, 2px) rotate(4deg); }
    }
    @media (prefers-reduced-motion: reduce) {
      .bb-bubble__btn { animation: none; }
      .bb-bubble__sheet { transition: none; }
    }
  }
