/* Sticky Header für Astra Theme */
.main-header-bar,
.site-header {
  position: fixed;
  top: 0px;
	width:100%;
  z-index: 9999; /* Damit der Header über allem bleibt */
  background: #ffffff; /* Hintergrundfarbe, damit Inhalte nicht durchscheinen */
  transition: all 0.3s ease;
}

/* Optional: Sticky für Mobile-Menü (Toggle &amp; Dropdown) */
.ast-mobile-header-wrap {
  position: fixed;
  top: 80px;
	width:100%;
  z-index: 9999;
  background: #ffffff;
}

/* Wenn man den Off-Canvas / Dropdown Bereich auch fixieren möchte */
.ast-mobile-popup-drawer {
  position: fixed !important;
  top: 0 !important;
  left: 0;
  right: 0;
  z-index: 9998;
}

/*Content aufklappen*/
.container {
    background-color: #FFFFFF;
    transition: all 0.3s ease-in-out;
}

.container:hover {
    background-color: #FFFFFF;
}

.reveal {
    transform: scale(0);
    opacity: 0;
    transition: all 0.3s ease-in-out;
    width: 0;
}

.container:hover .reveal {
    opacity: 1;
    transform: scale(1);
    width: 14%;
}

.visible {
    transition: all 0.3s ease-in-out;
    width: 100% !important;
}

.container:hover .visible {
    width: 86% !important;
}

/* Adjust the horizontal reveal effect on mobile */
@media only screen and (max-width: 767px) {
   .container:hover .reveal {
     width: 40% !important;
  }
   .container:hover .visible {
     width: 60% !important;
  }
}

/* Disable the horizontal reveal effect on mobile */
@media only screen and (max-width: 767px) {
  .container:hover {
  background-color: #FFFFFF;
  }
   .container:hover .reveal {
     opacity: 0;
     width: 0;
  }
}

/* Adjust the horizontal reveal effect for tablets */
@media only screen and (min-width: 767px) and (max-width: 1024px) {
.container:hover .reveal {
    width: 25%;
  }
.container:hover .visible {
    width: 75% !important;
  }
}


/* The vertical reveal effect 👇 */

.revealvertical {
    transition: all 0.4s ease-in-out;
    max-height: 0 !important;
}

.container:hover .revealvertical {
    max-height: 230px !important;
}

@media only screen and (max-width: 767px) {
  .container:hover {
  transition: none !important;
  }
}

/* Adjust the vertical reveal effect on mobile */
@media only screen and (max-width: 767px) {
  .container:hover .revealvertical {
     max-height: 330px !important;
  }
}

/* Disable the vertical reveal effect on mobile by hiding the class getting revealed */
@media only screen and (max-width: 767px) {
  .container {
  background-color: #FFFFFF;
  }
  .container:hover .revealvertical {
     max-height: 0 !important;
  }
}

/* Disable the vertical reveal effect on mobile by making it always revealed */
@media only screen and (max-width: 767px) {
  .container:hover {
  background-color: #FFFFFF;
  }
  .revealvertical {
     max-height: 330px !important;
  }
}

/* Adjust the vertical reveal effect for tablets */
@media only screen and (min-width: 767px) and (max-width: 1024px) {
  .container:hover {
  background-color: #FFFFFF;
  }
  .container:hover .revealvertical {
    max-height: 330px !important;
  }
}