

.button-center {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.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;
}

.radius10-video video {
    border-radius: 10px;
}

.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;
}
*/
.mail-modal,
.team-modal {
    display: none;
}
.mail-modal.is-open,
.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 !important;
  }

.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: url("/files/emendo/Bilder/Headergrafik_Home_v2_mobile.png") !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;
      margin-top: 2.5rem !important;
  }
  
 .hero-overlay-custom img {
    width: 150px;
    margin-bottom: 1rem;
  }

 .hide-mobile {
     display: none;
 }
 
 .show-mobile {
     display: inline-block !important;
 }
 
   #article-639 figure {
    display: flex;
    justify-content: center;
  }

  .feature-header h1 {
      font-size: 3rem;
  }
  
    .button-center {
      display: block;
  }
}

@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;
}

.faq-question {
    margin: 0 !important;
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1.5;
}

.toggler {
    display: flex;
}

#article-660 .card h2,
#article-623 .card h2{
    font-size: 1.5rem;
    line-height: 1.3;
    margin-top: 0;
    margin-bottom: 1rem;
}

.open-modal .card-body h3{
    margin-top: 1rem !important;
}

#article-745 .card-body h2{
    margin-top: 1rem !important;
    margin-bottom: 1rem !important;
    font-size: 1.5rem;
}

/* Landingpage styles */
.key-points .card-body {
    height: 100%;
    justify-content: center;
    padding: 50px 15px 70px 15px;
}

/* Container stays the same */
.contact-container {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 9999;
  display: inline-block; /* NEW → ensures width expansion goes left */
}

/* Contact Bubble */
.contact-bubble.main {
  height: 60px;
  width: 60px;
  border-radius: 50%;
  background-color: #96be0d;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  transition: width 0.25s ease, border-radius 0.25s ease, transform 0.25s ease;
  cursor: pointer;
  font-size: 2rem;
  overflow: hidden;

  transform-origin: right center; /* NEW → expansion starts at right edge */
}

/* contact bubble with link to contact page */

.contact-bubble.main span {
  display: none;
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .2em;
  paddin: 0 30px
}


.contact-bubble.main:hover i {
  display: none;
}


.contact-bubble.main:hover span {
  display: block;
  white-space: nowrap;
}


.contact-bubble.main:hover {
  width: 260px;
  border-radius: 500px;
  transform: scale(1.05);
  box-shadow: 0 6px 14px rgba(0,0,0,0.3);
  padding: 0 1em;
}


/* keep the feature-item normal flow and center its content */
.key-points .feature-item {
  display: flex;
  align-items: center;      /* vertical centering */
  justify-content: center;  /* horizontal centering, optional */
  position: relative;
  overflow: hidden;
  padding: 1rem;            /* keep some breathing room; optional */
}
.key-points .feature-item p{
    margin: 0;
}

.key-points .feature-item .card{
    width: 100%;
}

/* text-swap stays in normal flow and defines the size */
.key-points .feature-item .card-body {
  display: grid;            /* stack children on top of each other */
  place-items: center;      /* center content inside the grid cell */
  width: 100%;
  /* optional: ensure minimum height so card doesn't become tiny */
  min-height: 3rem;
}

/* stack both elements in the same grid cell */
.key-points .feature-item .hide-hover,
.key-points .feature-item .show-hover {
  grid-area: 1 / 1;         /* same cell -> overlap */
  justify-self: center;
  align-self: center;
  transition: opacity 0.28s ease, transform 0.28s ease;
  pointer-events: none;
  /* keep them in flow (not absolute) so grid sizes to their content */
}

/* visible / hidden states */
.key-points .feature-item .hide-hover {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.key-points .feature-item .show-hover {
  opacity: 0;
  transform: translateY(8px);
}

/* on hover swap */
.key-points .feature-item:hover .hide-hover {
  opacity: 0;
  transform: translateY(-8px);
  pointer-events: none;
}

.key-points .feature-item:hover .show-hover {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}



.contact-btn a button{
    width: 100%;
    display: block;
    padding: 1.2em 1.2em;
    text-transform: none;
    background-color: var(--link-color);
    color: black;
}

.show-captcha {
    display: flex !important;
}

#demovideo:has(.form-confirmation) .form-img{
    display: none;
}

#demovideo:has(.form-confirmation) .ce_form{
    width: 100%;
}

#article-613 .card-body {
    height: 100%;
}

/* Contact Bubble - mit 4 Optionen */ 
/*
.contact-container { position: fixed; bottom: 30px; right: 30px; z-index: 9999; } 
.contact-bubble.main { height: 60px; width: 60px; border-radius: 50%; background-color: #96be0d; color: white; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 10px rgba(0,0,0,0.2); transition: all 0.25s ease; cursor: pointer; font-size: 2rem; } 
.hover-pad { position: absolute; right: 0; bottom: 55px; height: 30px; width: 55px; background: transparent; z-index: 99998; pointer-events: all; } 
.contact-options { display: flex; flex-direction: column; align-items: flex-end; position: absolute; bottom: 74px; right: 0; opacity: 0; pointer-events: none; transform: translateY(12px); transition: all 0.25s cubic-bezier(.2,.9,.2,1); gap: 10px; z-index: 99999; } 
.contact-container:hover
.contact-options, 
.contact-options:hover, 
.hover-pad:hover { opacity: 1; pointer-events: all; transform: translateY(0); }
.contact-button { display: flex; align-items: center; justify-content: flex-start; background-color: #96be0d; color: #fff; text-decoration: none; border-radius: 500px; padding: 1.2em 1.2em; min-width: 240px; line-height: 1; gap: 10px; font-family: sans-serif; font-size: 1rem; box-shadow: 0 4px 10px rgba(0,0,0,0.2); transition: all 0.25s ease; } 
.contact-button i { font-size: 20px; }  
.contact-button.whatsapp { background-color: #21c063; } 
.contact-button.email { background-color: #0078d4; } 
.contact-button.phone { background-color: #ff9800; } 
.contact-button.calendly { background-color: #e6007e; }  
.contact-button:hover { transform: scale(1.05); box-shadow: 0 6px 14px rgba(0,0,0,0.3); color: white; }
.contact-bubble.main:hover { transform: scale(1.1); box-shadow: 0 6px 14px rgba(0,0,0,0.3); }
*/