/* =========================
   STICKY NOTICE BAR
   ========================= */

.site-notice-bar {
  position: fixed;
  top: calc(var(--header-height-desktop) + 0.45rem);
  left: 0;
  right: 0;
  z-index: 980;
  opacity: 0;
  transform: translateY(-100%);
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.admin-bar .site-notice-bar {
  top: calc(32px + var(--header-height-desktop) + 0.45rem);
}

.site-notice-bar.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.site-notice-bar__inner {
  width: 100%;

  /* HIER DIE HÖHE / INNENABSTÄNDE DES BALKENS STEUERN */
  padding: 0.7rem 1.5rem;

  border-bottom: 1px solid rgba(17, 17, 17, 0.08);
  background: rgb(250, 250, 250);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.site-notice-bar__content {
  width: min(100%, 1200px);
  margin: 0 auto;
  color: #111111;
  text-align: center;
  font-family: "Montserrat-Medium", Arial, sans-serif;

  /* HIER DIE SCHRIFTGRÖSSE STEUERN */
  font-size: clamp(0.9rem, 0.95vw, 1rem);

  line-height: 1.45;
}

.site-notice-bar__content p {
  margin: 0;
}

.site-notice-bar__content p + p {
  margin-top: 0.1rem;
}

.site-notice-bar__content strong {
  font-family: "Montserrat-Bold", Arial, sans-serif;
  font-weight: 700;
}

@media (max-width: 991px) {
  .site-notice-bar {
    top: calc(var(--header-height-mobile) + 0.4rem);
  }

  .admin-bar .site-notice-bar {
    top: calc(32px + var(--header-height-mobile) + 0.4rem);
  }

  .site-notice-bar__inner {
    padding: 0.7rem 1rem;
  }

  .site-notice-bar__content {
    font-size: 0.92rem;
    line-height: 1.42;
  }
}

@media (max-width: 767px) {
  .site-notice-bar {
    top: calc(var(--header-height-mobile) + 0.35rem);
  }

  .site-notice-bar__inner {
    /* HIER DIE HÖHE AUF HANDY STEUERN */
    padding: 0.65rem 0.9rem;
  }

  .site-notice-bar__content {
    font-size: 0.86rem;
    line-height: 1.38;
  }

  .site-notice-bar__content p + p {
    margin-top: 0.12rem;
  }
}

@media (max-width: 782px) {
  .admin-bar .site-notice-bar {
    top: calc(46px + var(--header-height-mobile) + 0.35rem);
  }
}