.elementor-kit-17{--e-global-color-primary:#F8F5F0;--e-global-color-secondary:#1E1E1E;--e-global-color-text:#6D6D6D;--e-global-color-accent:#C2A64E;--e-global-color-53bc836:#FF6F61;--e-global-color-a76ac18:#00BFA6;--e-global-typography-primary-font-family:"Roboto";--e-global-typography-primary-font-weight:600;--e-global-typography-secondary-font-family:"Roboto Slab";--e-global-typography-secondary-font-weight:400;--e-global-typography-text-font-family:"Roboto";--e-global-typography-text-font-weight:400;--e-global-typography-accent-font-family:"Roboto";--e-global-typography-accent-font-weight:500;}.elementor-kit-17 e-page-transition{background-color:#FFBC7D;}.elementor-section.elementor-section-boxed > .elementor-container{max-width:1140px;}.e-con{--container-max-width:1140px;}.elementor-widget:not(:last-child){margin-block-end:20px;}.elementor-element{--widgets-spacing:20px 20px;--widgets-spacing-row:20px;--widgets-spacing-column:20px;}{}h1.entry-title{display:var(--page-title-display);}@media(max-width:1024px){.elementor-section.elementor-section-boxed > .elementor-container{max-width:1024px;}.e-con{--container-max-width:1024px;}}@media(max-width:767px){.elementor-section.elementor-section-boxed > .elementor-container{max-width:767px;}.e-con{--container-max-width:767px;}}/* Start custom CSS */.hover-box {
  position: relative;
  padding: 2em 1em;
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  transition: all 0.5s ease-in-out;
  box-sizing: border-box;

  min-height: 400px; /* Einheitliche feste Höhe */
  overflow: hidden;
}

/* Überschrift */
.hover-title {
  transition: transform 0.5s ease;
  z-index: 2;
  position: relative;
  order: 1;
}

/* Text in der Mitte */
.hover-text {
  opacity: 0;
  height: 0;
  overflow: hidden;
  transition: all 0.5s ease;
  padding: 0;
  width: 100%;
  box-sizing: border-box;
  z-index: 1;
  order: 2;
  text-align: left;
}

/* Bild */
.hover-image {
  transition: transform 0.5s ease;
  z-index: 2;
  position: relative;
  order: 3;
}

/* Verhindert, dass sich alle Spalten gleich hoch verhalten */
.elementor-column {
  align-items: flex-start !important;
  display: flex !important;
}

.elementor-column > .elementor-widget-wrap {
  display: flex !important;
  flex-direction: column;
  justify-content: flex-start;
  height: auto !important;
}


/* Hover-Effekt (nur Desktop) */
@media (hover: hover) {
  .hover-box:hover {
    transform: scale(1.04);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    z-index: 2;
    background-color: rgba(255, 255, 255, 0.05); /* Optional */
  }

  .hover-box:hover .hover-title {
    transform: translateY(-10px);
  }

  .hover-box:hover .hover-image {
    transform: translateY(10px);
  }

  .hover-box:hover .hover-text {
    opacity: 1;
    height: auto;
    padding: 1em 0;
  }
}

/* Mobile: Text ist immer sichtbar */
@media (max-width: 767px), (hover: none) and (pointer: coarse) {
  .hover-text {
    opacity: 1;
    height: auto;
    padding: 1.5em 0;
  }
}

/* Tablet Portrait: Immer alle Texte sichtbar */
@media only screen and (min-width: 768px) and (max-width: 1024px) and (orientation: portrait) {
  .hover-box.open-all .hover-text {
    opacity: 1 !important;
    height: auto !important;
    padding: 1.5em 0 !important;
  }
}/* End custom CSS */