#stylish-popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

#stylish-popup {
  background: #fff;
  padding: 30px;
  max-width: 500px;
  width: 90%;
  border-radius: 12px;
  box-shadow: 0 0 25px rgba(0, 0, 0, 0.2);
  position: relative;
  animation: fadeIn 0.4s ease-out;
}

#popup-close {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 24px;
  cursor: pointer;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}



/* Top Bar Styles */
.sf-top-bar {
  text-align: center;
  padding: 0.6em 0;
  background: #000;
  color: white;
  z-index: 999;
  position: relative;
  width: 100%;
  font-size: 0.8em;
  display: block;
}

.sf-top-bar > .col-full {
  max-width: 70%;
  margin: auto;
}

@media screen and (min-width: 960px) {
  .sf-top-bar {
    position: fixed;
  }

  body.has-top-bar #masthead {
    margin-top: 35px; /* Beispiel: Header nach unten verschieben */
  }
  body.has-top-bar.page-template-template-legal #content {
    padding-top: 120px;
}

}

@media (max-width: 768px) {
  .sf-top-bar {
    font-size: 0.75em;
    padding: 0.5em 0;
  }
  
  .sf-top-bar > .col-full {
    max-width: 90%;
    padding: 0 1em;
  }
}