.feature-overlay {
    position: absolute;
    top: 0;
    left: -100%; /* Start hidden off-screen to the left */
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8); /* Dark semi-transparent background */
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
    box-sizing: border-box;
    transition: left 0.5s ease-in-out; /* Smooth sliding animation */
}

.ce_text.overlay-r2l .feature-overlay {
    opacity: 0;
    right: 0;
    left: unset;
    width: 50%;
    transition: right 0.5s ease-in-out, opacity 0.5s ease-in-out;
}
.ce_text.overlay-r2l:hover .feature-overlay {
    right: 50%;
    opacity: 1;
}
.ce_text.overlay-l2r .feature-overlay {
    opacity: 0;
    left: 0;
    width: 50%;
}
.ce_text.overlay-l2r:hover .feature-overlay {
    left: 50%;
    opacity: 1;
}

.button-center {
    display: flex;
    align-items: center;
    justify-content: center;
}

.no-scroll {
    overflow: hidden;
}

.no-scroll-inside .inside {
    overflow: hidden !important;
}

.no-pad {
    padding: 0;
}

.margin-auto {
    margin: auto;
}

.hover-zoom-in {
    transition: transform 0.3s ease-in-out;
}

.hover-zoom-in:hover {
    transform: scale(1.05);
}

.cursor:hover {
    cursor: pointer;
}

.space-top100 {
    padding-top: 100px !important;
}

.space-bottom100 {
    padding-top: 100px !important;
}

.feature-item-small {
	text-align: center!important;
	text-align-last: center!important;
	padding-top: 1rem;

	margin-bottom: 0 !important;
}

.feature-item-small:before {
	font-size: 2.5em;
	color:#96BE0D;
	padding-bottom: .5rem;
}

.feature-item-medium {
	text-align: center!important;
	text-align-last: center!important;
	padding-top: 1rem;

	margin-bottom: 0 !important;
}

.feature-item-medium:before {
	font-size: 4em;
	color:#96BE0D;
	padding-bottom: .5rem;
}

footer {
    background-color: var(tint-7);
}

/* CSS für Modals */
/*
.modal {
  display: flex;
  position: fixed;
  z-index: 2;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
}
.modal:not(:target) {
  display: none;
}
.modal-content {
  background: white;
  padding: 20px;
  width: 50%;
  margin: 10% auto;
  position: relative;
  border-radius: 10px;
}
.close {
  position: absolute;
  top: 10px;
  right: 15px;
  text-decoration: none;
  font-size: 24px;
}
*/
.team-modal {
    display: none;
}
.team-modal.is-open {
    display: block;
    position: fixed;
    z-index: 2;
    left: calc(50% - 400px);
    top: 25%;
    width: 800px;
    height: 480px;
    background-color: rgba(255, 255, 255, 0.8);
}
div:where(.swal2-container) button:where(.swal2-close):focus-visible {
    box-shadow: none !important;
}

/*wird in der nav verwendet*/
.push-right{
    margin-left:auto;
}

.portal-btn {
    border-radius: 20px;
    background-color: #e6007e;
    padding: 5px;
    padding-right: 10px;
    padding-left: 10px;
    line-height: 1.5;
}

.portal-btn:hover {
    cursor: pointer;
}

.switch-pic {
    position: absolute;
    /* display:none; */
    opacity: 1;
    transform: translateX(100%);
    transition: opacity 0.5s ease, transform 0.5s ease;
    align-self: center;
}

.switch-pic.show {
  opacity: 1;
  transform: translateX(0);
  z-index: 1;
}

.switch-pic.hide {
  opacity: 0;
  transform: translateX(100%);
  transition: opacity 0.5s ease, transform 0.5s ease;
  z-index: 0;
}

.slider-bg {
    background-color: #eeeeee;
    border: 1px solid #e6007e;
    border-radius: 20px;
    padding: 15px !important;
}

.icon-calendar {
    z-index: 19999999999;
    top: -60px;
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: var(--link-color);
    height: 1.5rem;
    width: 1.5rem;
    margin-right: 0.8rem;
    padding: 0.6rem;
    font-size: 1.5rem;
    color: #fff;
    line-height: 1;
    -webkit-transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
}

.icon-calendar:hover {
    background-color: var(--link-color-hover);
}

.no-p-margin p {
    margin: 0;
}

.ce_text.card-flip {
    padding: 5px 15px;
}

.ce_text.card-flip a,
.ce_text.card-flip a.btn {
    height: unset;
    text-align: left;
    width: 85%;
}
.ce_text.card-flip a.btn:before {
    color: var(--link-color);
}

.flip-card-container {
    height: auto;
    perspective: 1000px;
}

.flip-card {
    perspective: 1000px;
    width: 100%;
    height: 90%;
    position: relative;
    min-height: 500px;
}

.flip-card-inner {
    width: 80%;
    height: 90%;
    margin-top: 10%;
    margin-left: 10%;
    transition: transform 0.8s ease-in-out;
    transform-style: preserve-3d;
    position: relative;
    display: flex;
    align-items: center;
}

.flip-card-face {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    background: #fff;
    box-sizing: border-box;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 14px 0 rgb(0 0 0 / 10%);
    align-content: center;
}

.flip-card-face:has(figure) {
    padding: 0;
    overflow: hidden;
}

.front {
    z-index: 2;
}

.back {
    transform: rotateY(180deg);
}

.card-flip.sink {
    display: none;
}

#linkedin-slider .inside {
width: 100%;
    height: fit-content;
    display: flex;
    justify-content: center;

    /**used to scroll text
    white-space: nowrap; 
    overflow-x: scroll !important; 
    overflow-y: hidden !important; */
    /**keep scrolling when
      *finger or cursor scrolling*/
    --webkit-overflow-scrolling: touch;
}

#linkedin-slider .inside div {
   float: none;
    display: inline-block;
}

#img-grid img,
#img-grid .image_container {
    height: 100%;
    width: 100%;
}

html {
  scroll-behavior: smooth;
}

/* FAQ Styling */
.ce_accordion .ce_text {
    padding: 6px 10px;
    margin-left: 4rem;
    width: auto;
}

/* Hide forward/backwrds button on slider on homepage */
#main-page-slider nav a {
    display: none;
}

#img-grid .inner {
    justify-content: center; 
}

.button-height a {
    height: unset !important;
}

/* Mobile friendly */
.show-mobile {
      display: none;
  }

.feature-blocks img,
.feature-blocks video {
    display: flex;
    justify-self: center;
}

@media screen and (max-width: 1200px) {
 
 .hero-overlay-custom > h1 {
      font-size: 3.5rem;
  }
  
  .show-mobile {
      display: none;
  }

    
}

@media screen and (max-width: 992px) {
 #header-bar .btn {
     font-size: 0.8rem;
     margin-left: 15px;
     margin-right: 15px;
 }
 
 #article-700 .ce_image .hero_bg {
     background-image: none !important;
 }
 
 .hero-overlay-custom {
     padding: 10px !important;
     margin: 0;
 }
 
  .hero-overlay-custom > * {
      padding-left: 10px;
      padding-right: 10px;
  }
  
  #article-631 figure {
    display: flex;
    justify-content: center;  
  }
 
  #article-582 h4 {
      font-size: 1.2rem;
  }
  
  #article-582 a {
      padding: 1.2em 2.5em;
  }
    
}

@media screen and (max-width: 576px) {
 #header-bar .btn {
     font-size: 0.5rem;
     margin-left: 15px;
     margin-right: 15px;
 }
 
 .hero-overlay-custom > h1 {
      font-size: 2.5rem;
  }

 .hide-mobile {
     display: none;
 }
 
 .show-mobile {
     display: inline-block;
 }
 
   #article-639 figure {
    display: flex;
    justify-content: center;
  }

  .feature-header h1 {
      font-size: 3rem;
  }
}

@media screen and (max-width: 380px) {
 #header-bar .btn {
     display: none;
 }
 
 .hero-overlay-custom > h1 {
      font-size: 2rem;
  }


}

.card img {
    object-fit: cover;
}
.card-landscape .image_container,
.card-landscape .image_container img{
    height: 100%;
}

/* SEO h-Tag styling */
.style-h1 {
    font-family: var(--font-family-1);
    font-weight: 900;
    text-transform: none;
    font-size: 4.209rem;
    line-height: 1.2;
}

.style-h3 {
    font-family: var(--font-family-1);
    font-weight: 100;
    text-transform: none;
    font-size: 2.369rem;
    line-height: 1.3;
    margin-bottom: 2rem;
}

.style-h4 {
    font-family: var(--font-family-1);
    font-weight: 400;
    font-size: 1.777rem;
    line-height: 1.35;
    text-transform: none;
}

.style-h5 {
    font-family: var(--font-family-1);
    font-weight: 400;
    font-size: 1.333rem;
    line-height: 1.5;
    text-transform: none;
}

.style-h6 {
    font-family: var(--font-family-1);
    font-weight: 400;
    font-size: 1.2rem;
    line-height: 1.6;
    text-transform: none;
}

.style-no-h {
    font-family: inherit;
    font-weight: inherit;
    font-size: inherit;
    line-height: inherit;
    margin: 0;
    text-transform: none;
}

#article-660 .card h2,
#article-623 .card h2{
    font-size: 1.5rem;
    line-height: 1.3;
    margin-top: 0;
    margin-bottom: 1rem;
}

/* Landingpage styles */
.key-points .card-body {
    height: 100%;
    justify-content: center;
    padding: 50px 15px 70px 15px;
}