.mhb-bt-container {
    width: 220px;
    height: 55px;
    display: inline-block;
    cursor: pointer;
    background-color: #D71423;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 20px 100%);
    pointer-events: auto;

}

.mhb-bt-container-shape {
    width: 220px;
    height: 55px;
    display: inline-block;
    cursor: pointer;
    background-color: #D71423;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 20px 100%);
    pointer-events: auto;
}
.mhb-bt-container-shape:before {
    width: 218px;
    height: 53px;
    display: inline-block;
    cursor: pointer;
    background-color: #D71423;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 20px 100%);
    pointer-events: auto;
}
.mhb-button-text {
    color: #fff;
    font-family: 'Montserrat';
    font-size: 18px;
    font-weight: 800;
    margin: 16px 50px;
    display: inline-block;
    text-decoration: none;
}

/* MHB FlipBox  */

.mhb_flipbox {
    text-align: right;
    font-family: 'Montserrat';
    transition: transform 0.3s ease;
}

.mhb_flipbox:hover {
  transform: scale(1.01);
}
.elementor-flip-box__layer__overlay .mhb-flipbox-front {
  padding: 0;
}

.mhb-flex-end {
    display: flex;
    justify-content: flex-end;
}

.mhb-flipboxtitle-container {
    width: 240px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin: 0 0 30px;
    background-color: #D71423;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 20px 100%);
    pointer-events: auto;

}
.elementor-flip-box__front {
    background-color: #fff;
}

.mhb_flipbox .elementor-flip-box__back {
    display: none;
}
.mhb_flipbox .elementor-flip-box__layer__title a {
    text-decoration: none;
}
.elementor-flip-box__back a{
    text-decoration: none;
}
.page-content .elementor-flip-box__back a{
    text-decoration: none;
}
.elementor-flip-box__back a:hover,.elementor-flip-box__back a:active{
    text-decoration: none;
    color:#fff;
}

.mhb-flipboxtitle-text {
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    width: fit-content;
    margin: 12px;
    display: inline-block;
    text-decoration: none;
}
.mhb-arrow-container {
  height: 10px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}
.mhb-arrow {
    content: "";
    display: flex;
    width: 16px;
    height: 16px;
    margin: 0 15px 0 0;
    vertical-align: middle;
    background-image: url("/wp-content/uploads/2024/09/mhb-arrow-white.svg");
    background-size: contain;
    background-repeat: no-repeat;
}
.mhb-arrow-back {
    content: "";
    display: flex;
    width: 17px;
    height: 17px;
    margin: 0;
    vertical-align: middle;
    background-image: url("/wp-content/uploads/2024/09/mhb-arrow-white.svg");
    background-size: contain;
    background-repeat: no-repeat;
}
.mhb-overlay-back {
    padding: 25px;
}
.mhb-flipbox-back {
    margin: 0 0 10px 0;
}

@media screen and (max-width: 767px) {
    .mhb-flipboxtitle-container {
        width: 170px;
        height: 35px;
    }
    .mhb-flipboxtitle-text {
        font-size: 10px;
        width: fit-content;
        margin: 0 6px 0 0;
    }
    .mhb-overlay-back {
        padding: 12px;
    }
    .mhb-overlay-back .elementor-flip-box__layer__description {
        font-size: 11px;
    }
}

/* Button MHB Outline */

.mhb-angled-button {
    font-family: 'Montserrat';
    overflow: hidden;
    position: relative;
    z-index: 1;
    padding: 14px 30px 14px 40px;
    border: none;
    background: transparent;
    text-align: center;
    line-height: 1;
    font-size: 16px;
    font-weight: 700;
    color: #D71423;
    display: inline-block;
    text-decoration: none!important;
    transition: background-color 0.4s ease;

}
.mhb-angled-button:before {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    right: 8px;
    bottom: 8px;
    left: 0;
    border-left: 0;
}
.mhb-angled-button:after {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 15px;
    border-right: 3px solid #D71423;
}
.mhb-angled-button span {
    width: 100%;
    height: 100%;
    display: block;
    position: absolute;
    z-index: -1;
    top: 0;
    left: 0;
}
.mhb-angled-button span:after,
.mhb-angled-button span:before {
    content: '';
    width: 100%;
    height: 100%;
    display: block;
    position: absolute;
    -webkit-transform: skew(20deg);
    transform: skew(20deg);
}
.mhb-angled-button span:before {
    left: 19px;
    bottom: 0;
    border-bottom: 3px solid #D71423;
    border-left: 3px solid #D71423;
    -webkit-transform-origin: bottom left;
    transform-origin: bottom left;
}
.mhb-angled-button span:after {
    top: 0;
    right: -4px;
    border-top: 3px solid #D71423;
    border-right: 3px solid #D71423;
    -webkit-transform-origin: top right;
    transform-origin: top right;
}
.mhb-angled-button:hover {
    color: #ffffff;
    transition: background-color 0.4s ease;
}
.mhb-angled-button:hover span:after,
.mhb-angled-button:hover span:before {
    background-color: #D71423;
    transition: background-color 0.4s ease;
}
@media screen and (max-width: 767px) {
    .mhb-angled-button {
        font-size: 14px;    
    }
}
/* Swiper Edit */
.mhb-swiper-pagination .swiper-pagination-bullet {
    width: 100px;
    height: 9px;
    transform: skew(15deg, 0deg);
    display: inline-block;
    border-radius: 0;
    background: #D0B9A0;
    opacity: 1;
}
.mhb-swiper-pagination .swiper-pagination-bullet-active {
    background: #D71523;
}

/* Post Grid Widget */

.mhb-bt-grid-container {
    width: 220px;
    height: 45px;
    display: inline-block;
    cursor: pointer;
    background-color: #D71423;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 20px 100%);
    pointer-events: auto;
    position: absolute;
    right: 0;
    bottom: 30px;

}

.mhb-bt-grid-container-shape {
    width: 220px;
    height: 45px;
    display: flex;           /* Flexbox aktivieren */
    align-items: center;     /* Vertikale Zentrierung */
    justify-content: center; /* Horizontale Zentrierung */
    cursor: pointer;
    background-color: #D71423;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 20px 100%);
    pointer-events: auto;
}
.mhb-bt-grid-container-shape:before {
    width: 218px;
    height: 53px;
    display: inline-block;
    cursor: pointer;
    background-color: #D71423;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 20px 100%);
    pointer-events: auto;
}
.mhb-button-grid-text {
    color: #fff;
    font-family: 'Montserrat';
    font-size: 13px;
    font-weight: 800;
    text-align: center;      /* Optional für mehrzeiligen Text */
    padding: 0 30px;         /* Seitenabstand statt margin */
    text-decoration: none;
}
@media screen and (max-width: 767px) {
    .mhb-bt-grid-container {
        width: 170px;
        height: 45px;
        bottom: 10px;
    }
    
    .mhb-bt-grid-container-shape {
        width: 170px;
        height: 45px;
    }
    .mhb-button-grid-text {
        font-size: 11px;
        font-weight: 700;
        line-height: 15px;
    }
}

/* Swiper Widget Style*/

.mhb-swiper-container-wrapper .mhb-swiper-container {
    background-color: rgb(245, 245, 245);
    padding: 30px;
}

.mhb-swiper-slide-wrapper {
    display: flex;
    flex-wrap: nowrap;
    font-family: "Montserrat", Sans-serif;
    /*height: 100%; /* Ensure full height */
    flex-direction: row; /* Default to row for desktop */
    margin: 20px;
    gap: 20px;
}

.mhb-swiper-slide-image-wrapper {
    flex: 0 0 40%;
    max-width: 40%;
    height: 100%; /* Ensure full height */
    position: relative; /* For absolute positioning of image */
}

.mhb-swiper-slide-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.mhb-swiper-slide-image img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensure image covers the entire container */
}

.mhb-swiper-slide-content-wrapper {
    flex: 0 0 60%;
    align-content: center;
    max-width: 60%;
    /* padding: 15px 30px;*/
    padding: 0;
    box-sizing: border-box;
    height: 100%; /* Ensure full height */
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.mhb-swiper-slide-content p {
        line-height: 28px;
}

.mhb-swiper-slide-title {
    font-weight: 700;
    font-size: 21px;
}

.mhb-swiper-pagination {
    display: flex;
    flex-direction: row;
    justify-content: center;
    margin: 35px 0 0 35px;
}
.mhb-swiper-controls {
    position: absolute;
    width: 100%;
    bottom: 10px;
}
.mhb-swiper-controls .swiper-button-next,
.mhb-swiper-controls .swiper-button-prev {
    width: 50px;
    height: 50px;
    top: 85%;
}
.mhb-swiper-controls .swiper-button-next::after,
.mhb-swiper-controls .swiper-button-prev::after {
    content: '';
    width: 35px;
    height: 35px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

/* Verwendung von SVG */
.mhb-swiper-controls .swiper-button-next::after {
    background-image: url(/wp-content/uploads/2024/09/mhb-arrow.svg);
}

.mhb-swiper-controls .swiper-button-prev::after {
    background-image: url(/wp-content/uploads/2024/09/mhb-arrow.svg);
    transform: rotate(180deg);
}

@media screen and (max-width: 430px) {

    .mhb-swiper-pagination .swiper-pagination-bullet {
        width: 85px;
    }
    .mhb-swiper-controls {
        bottom: 7px;
    }

    .mhb-swiper-controls .swiper-button-next,
    .mhb-swiper-controls .swiper-button-prev {
        width: 20px;
        height: 20px;
    }
    .mhb-swiper-controls .swiper-button-next {
        right: 35px;
    }
    .mhb-swiper-controls .swiper-button-prev {
        left: -25px;
    }

}

@media screen and (min-width: 431px) and (max-width: 767px) {
    .mhb-swiper-controls {
        bottom: 22px;
    }
    .mhb-swiper-controls .swiper-button-next {
        right: 25px;
    }
    .mhb-swiper-controls .swiper-button-prev {
        left: -35px;
    }
}

/* Responsive styles for mobile devices */
@media (max-width: 767px) {
    .mhb-swiper-slide-wrapper {
        flex-direction: column; /* Stack items vertically on mobile */
    }

    .mhb-swiper-slide-image-wrapper,
    .mhb-swiper-slide-content-wrapper {
        flex: 0 0 40%;
        max-width: 100%;
    }

    .mhb-swiper-slide-image-wrapper {
        height: 300px; /* Set a fixed height for the image on mobile */
    }

    .mhb-swiper-slide-content-wrapper {
        height: auto; /* Allow content to determine its own height */
    }
    .mhb-swiper-slide-content p {
        line-height: 24px;
    }
    .mhb-swiper-slide-title {
        font-weight: 700;
        font-size: 20px;
    }
    .swiper-button-next,
    .swiper-button-prev {
        top: auto; /* Reset top positioning */
        bottom: 10px; /* Position at the bottom */
    }

    .mhb-swiper-pagination {
        margin: 15px 0; /* Adjust margin for mobile */
    }
}
/* Swiper only Text */

.mhb-swiper-slide-text-content-wrapper {
    flex: 0 0 100%;
    align-content: center;
    max-width: 100%;
    padding: 15px 30px;
    box-sizing: border-box;
    background-color: #F5F5F5;
    height: 100%; /* Ensure full height */
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* grundriss Widget Style*/
.mhb-grundriss-slide-wrapper {
    display: flex;
    flex-wrap: nowrap;
    font-family: "Montserrat", Sans-serif;
    height: 100%; /* Ensure full height */
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.mhb-grundriss-slide-image-wrapper {
    flex: 0 0 80%;
    max-width: 100%;
    height: 80%; /* Ensure full height */
    position: relative; /* For absolute positioning of image */
    overflow: hidden; /* Verhindert, dass das Bild über den Container hinausragt */
}
.mhb-grundriss-slide-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* Passt das Bild an, behält dabei das Seitenverhältnis bei */
    object-position: center; /* Zentriert das Bild im Container */
}
.mhb-grundriss-slide-title-wrapper {
    flex: 0 0 10%;
    max-width: 100%;
    height: 10%; /* Ensure full height */
    position: relative; /* For absolute positioning of image */
}
.mhb-grundriss-slide-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.mhb-grundriss-slide-image img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensure image covers the entire container */
}

.mhb-grundriss-slide-content-wrapper {
    flex: 0 0 60%;
    align-content: center;
    max-width: 60%;
    padding: 15px 30px;
    box-sizing: border-box;
    background-color: #F5F5F5;
    height: 100%; /* Ensure full height */
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.mhb-grundriss-slide-title {
    font-weight: 700;
}

.mhb-grundriss-container-wrapper .swiper-button-prev, 
.mhb-grundriss-container-wrapper .swiper-button-next {
    color: transparent; /* Versteckt die Standard-Pfeile */
    z-index: 100;
}

.mhb-grundriss-container-wrapper .swiper-button-prev::after, 
.mhb-grundriss-container-wrapper .swiper-button-next::after {
    background-repeat: no-repeat;
}



/* Verwendung von SVG */
.mhb-swiper .swiper-button-next::after {
    background-image: url(/wp-content/uploads/2024/09/mhb-arrow.svg);
}

.mhb-swiper .swiper-button-prev::after {
    background-image: url(/wp-content/uploads/2024/09/mhb-arrow.svg);
    transform: rotate(180deg);
}

/* Responsive styles for mobile devices */
@media (max-width: 767px) {
    .mhb-grundriss-slide-wrapper {
        flex-direction: column; /* Stack items vertically on mobile */
    }

    .mhb-grundriss-slide-image-wrapper,
    .mhb-grundriss-slide-content-wrapper {
        flex: 0 0 40%;
        max-width: 100%;
    }

    .mhb-grundriss-slide-image-wrapper {
        height: 300px; /* Set a fixed height for the image on mobile */
    }

    .mhb-grundriss-slide-content-wrapper {
        height: auto; /* Allow content to determine its own height */
    }

    .swiper-button-next,
    .swiper-button-prev {
        top: auto; /* Reset top positioning */
        bottom: 10px; /* Position at the bottom */
    }

    .mhb-swiper-pagination {
        margin: 15px 0; /* Adjust margin for mobile */
    }
}

/* Info List */
.mhb-info-list {
    width: 100%;
    margin: 0;
    padding: 25px;
    font-family: "Montserrat", Sans-serif;
}

.mhb-info-list .info-item {
    display: flex;
    padding: 10px 0;
    min-height: 80px;
    align-items: center;
}

.mhb-info-list .left-column,
.mhb-info-list .right-column {
    flex-grow: 0;
    flex-shrink: 0;
}
.mhb-info-list .left-column {
    font-weight: 700;
}

.mhb-info-list .info-item-separator {
    height: 1px;
    width: 100%;
}
@media screen and (max-width: 1024px) {}
@media screen and (max-width: 767px) {
    .mhb-info-list {
        padding: 10px;
    }
    
    .mhb-info-list .info-item {
        display: flex;
        padding: 10px 0;
        min-height: 80px;
        align-items: center;
    }
    
    .mhb-info-list .left-column,
    .mhb-info-list .right-column {
        flex-grow: 0;
        flex-shrink: 0;
    }
    .mhb-info-list .left-column {
        font-weight: 700;
        font-size: 12px;
    }
    .mhb-info-list .right-column {
        font-size: 12px;
    }
    
    .mhb-info-list .info-item-separator {
        height: 1px;
        width: 100%;
    }
}

/* MHB Grid Gallery */

.mhb-grid-gallery {
    display: grid;
    gap: 10px;
    width: 100%;
    height: 100%;
    grid-template-columns: 40% 60%;
    overflow: hidden;
}

.mhb-grid-gallery-item {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 100%;
    transition: transform 0.3s ease;
}

.mhb-grid-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    transition: transform 0.3s ease;
}

.mhb-grid-gallery-item:hover {
    transform: scale(1.01);
}
/* Post Image Button Widget */

.mhb-post-grid-container {
    display: grid;
    gap: 10px;
}

.mhb-post-grid-1 {
    grid-template-columns: 1fr;
}

.mhb-post-grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

.mhb-post-grid-3,
.mhb-post-grid-4 {
    grid-template-columns: repeat(3, 1fr);
}

.mhb-post-grid-item {
    position: relative;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    transition: transform 0.3s ease;
}

.mhb-post-grid-item:before {
    content: '';
    display: block;
    padding-top: 75%; /* Seitenverhältnis 4:3, anpassen nach Bedarf */
}

.mhb-post-grid-item:hover {
    transform: scale(1.01);
}

.mhb-post-link {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    text-decoration: none;
}


/* Mobile styles */
@media (max-width: 767px) {
    .mhb-post-grid-2,
    .mhb-post-grid-3,
    .mhb-post-grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .mhb-post-grid-3 .mhb-post-grid-item-full-mobile {
        grid-column: 1 / -1;
    }
}

/* --- Post Filter Widget  --- */

.flt-mhb-post-link {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    text-decoration: none;
}
.flt-mhb-bt-container {
    position: absolute;
    bottom: 20px;
    right: 0;
    width: 270px;
    height: 60px;
    display: flex;
    justify-content: flex-end;
    cursor: pointer;
    background-color: #D71423;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 20px 100%);
    pointer-events: auto;
    align-items: center;
}



.flt-mhb-bt-container-shape {
    width: 240px;
    height: 55px;
    display: flex;           /* Flexbox aktivieren */
    align-items: center;     /* Vertikale Zentrierung */
    justify-content: center; /* Horizontale Zentrierung */
    cursor: pointer;
    background-color: #D71423;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 20px 100%);
    pointer-events: auto;
}

.flt-mhb-bt-container-shape:before {
    content: '';
    position: absolute;
    top: 1px;
    left: 1px;
    right: 1px;
    bottom: 1px;
    background-color: #D71423;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 20px 100%);
}

.flt-mhb-button-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    font-weight: 700;
    width: fit-content;
    min-width: 200px;
    color: #fff;
    text-align: center;      /* Optional für mehrzeiligen Text */
    padding: 0 30px;         /* Seitenabstand statt margin */
    text-decoration: none;
    z-index: 1;
}

@media screen and (max-width: 767px) {
    .flt-mhb-bt-container {
        width: 160px;
        height: 35px;
    }
    .flt-mhb-bt-container-shape {
        width: 160px;
        height: 35px;
    }
    .flt-mhb-button-text {
        font-size: 10px;

    }
}
@media screen and (max-width: 1024px) {
    .flt-mhb-bt-container {
        width: 155px;
        height: 65px;
    }
    .flt-mhb-bt-container-shape {
        width: 155px;
        height: 65px;
    }
    .flt-mhb-button-text {
        font-size: 10px;
    }
}

.flt-mhb-posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}
/* Für mobile Geräte */
@media screen and (max-width: 767px) {
    .flt-mhb-posts-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}


.flt-mhb-post {
    transition: transform 0.3s ease-out;
}

.flt-mhb-post:hover {
    transform: scale(1.01);
}

.flt-mhb-post-image {
    height: 500px;
    background-size: cover;
    background-position: center;
    position: relative;
}

@media screen and (max-width: 767px) {
    .flt-mhb-post-image {
        height: 350px;
    }
}
@media screen and (max-width: 1024px) {
    .flt-mhb-post-image {
        height: 250px;
    }
}

.flt-mhb-filter {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 10px;
    margin-bottom: 10px;
}

.flt-mhb-filter-select {
    position: relative;
    width: 100%;
}
.flt-mhb-filter-select option:not(:first-child) {
    font-size:13px;
}

.flt-mhb-filter-select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background: url(/wp-content/uploads/2024/10/Arrow-down.svg) no-repeat right 10px center / 20px;
    background-color: #EFEEF0;
    border: none;
    border-radius: 0;
    padding: 10px 30px 10px 10px;
    width: 100%;
    font-family: 'Montserrat', sans-serif;
    font-size: inherit;
    cursor: pointer;
    line-height: inherit;
}
.flt-mhb-filter-select:hover {
    
    background-color: #f3f3f3;
}
.flt-mhb-filter-select option:hover {
    
    background-color: #f3f3f3;
    color:red;
}

/* Entfernen des Fokus-Rahmens */
.flt-mhb-filter select:focus {
    outline: none;
    box-shadow: none;
}

/* Für Firefox */
.flt-mhb-filter select:-moz-focusring {
    color: transparent;
    text-shadow: 0 0 0 #000;
}

/* Für IE 10+ */
.flt-mhb-filter select::-ms-expand {
    display: none;
}
.flt-mhb-post-counter {
    font-family: 'Montserrat';
    font-size: 11px;
    text-align: center;
    margin: 30px 0 0 0;
}

.flt-mhb-load-more {
    text-align: center;
    margin: 5px 0 40px 0;
}

.flt-mhb-load-more .flt-mhb-bt-container-shape {
    display: inline-block;
}

/* Button für Post Filter Widget */

.flt-mhb-load-more-btn {
    font-family: 'Montserrat';
    overflow: hidden;
    position: relative;
    z-index: 1;
    padding: 11px 20px 11px 29px;
    border: none;
    background: transparent;
    text-align: center;
    line-height: 1;
    font-size: 12px;
    font-weight: 700;
    color: #D71423;
    display: inline-block;
    text-decoration: none!important;
    transition: background-color 0.4s ease;
}
.flt-mhb-load-more-btn:before {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    right: 8px;
    bottom: 8px;
    left: 0;
    border-left: 0;
}
.flt-mhb-load-more-btn:after {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 15px;
    border-right: 3px solid #D71423;
}
.flt-mhb-load-more-btn span {
    width: 100%;
    height: 100%;
    display: block;
    position: absolute;
    z-index: -1;
    top: 0;
    left: 0;
}
.flt-mhb-load-more-btn span:after,
.flt-mhb-load-more-btn span:before {
    content: '';
    width: 100%;
    height: 100%;
    display: block;
    position: absolute;
    -webkit-transform: skew(20deg);
    transform: skew(20deg);
}
.flt-mhb-load-more-btn span:before {
    left: 19px;
    bottom: 0;
    border-bottom: 3px solid #D71423;
    border-left: 3px solid #D71423;
    -webkit-transform-origin: bottom left;
    transform-origin: bottom left;
}
.flt-mhb-load-more-btn span:after {
    top: 0;
    right: -7px;
    border-top: 3px solid #D71423;
    border-right: 3px solid #D71423;
    -webkit-transform-origin: top right;
    transform-origin: top right;
}
.flt-mhb-load-more-btn:hover {
    color: #ffffff;
    transition: background-color 0.4s ease;
}
.flt-mhb-load-more-btn:hover span:after,
.flt-mhb-load-more-btn:hover span:before {
    background-color: #D71423;
    transition: background-color 0.4s ease;
}

/* Step by Step Widget */
.mhb-stepbystep {
    position: relative;
    font-family: 'Montserrat';
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-start; 
    align-items: flex-start;
    padding: 40px 70px 20px 0;
    overflow: hidden;
    width: 95%;
    margin-left: auto; 
    margin-right: 0; 
}

.mhb-stepbystep::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    background-color: #d71423;
    transform: skewX(10deg);
    transform-origin: 0 -5%;
    z-index: -1;
    width: 100%;
}

.mhb-step {
    flex: 1 1 200px;
    padding: 20px;
    z-index: 1;
}
.mhb-step:first-child {
    margin: 0 0 0 100px;
  }

.mhb-step-number {
    font-size: 110px;
    font-weight: bold;
    line-height: 1;
    margin-bottom: 10px;
    color: #ffffff;
}

.mhb-step-title {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #ffffff;
}

.mhb-step-description {
    font-size: 14px;
    color: #ffffff;
    line-height: 28px;
}
@media screen and (max-width: 1024px) {
    .mhb-stepbystep {
        position: relative;
        display: flex;
        flex-wrap: wrap;
        justify-content: flex-start;
        padding: 0;
        overflow: hidden;
        width: 100%;
        margin-left: auto;
        margin-right: 0;
        flex-direction: row;
        align-items: flex-start;
    }
    
    .mhb-stepbystep::before {
        content: '';
        position: absolute;
        top: 0;
        bottom: 0;
        background-color: #d71423;
        transform: skewX(0deg);
        transform-origin: 0;
        z-index: -1;
        width: 100%;
    }
    
    .mhb-step {
        flex: 1 1 200px;
        padding: 20px;
        z-index: 1;
    }
    .mhb-step:first-child {
        margin: 0;
      }
    
    .mhb-step-number {
        font-size: clamp(16px, 6vw, 110px);
        font-weight: bold;
        line-height: 1;
        margin-bottom: 10px;
        color: #ffffff;
    }
    
    .mhb-step-title {
        font-size: 12px;
        font-weight: 700;
        margin-bottom: 10px;
        color: #ffffff;
    }
    
    .mhb-step-description {
        font-size: 12px;
        color: #ffffff;
        line-height: 24px;
    }
}
@media screen and (max-width: 767px) {
    .mhb-stepbystep {
        position: relative;
        display: flex;
        flex-wrap: wrap;
        justify-content: flex-start;
        padding: 0;
        overflow: hidden;
        width: 100%;
        margin-left: auto;
        margin-right: 0;
        flex-direction: row;
        align-items: flex-start;
    }
    
    .mhb-stepbystep::before {
        content: '';
        position: absolute;
        top: 0;
        bottom: 0;
        background-color: #d71423;
        transform: skewX(0deg);
        transform-origin: 0;
        z-index: -1;
        width: 100%;
    }
    
    .mhb-step {
        flex: 1 1 180px;
        padding: 20px;
        z-index: 1;
    }
    .mhb-step:first-child {
        margin: 0;
      }
    
    .mhb-step-number {
        font-size: 60px;
        font-weight: bold;
        line-height: 1;
        margin-bottom: 10px;
        color: #ffffff;
    }
    
    .mhb-step-title {
        font-size: 12px;
        font-weight: 700;
        margin-bottom: 10px;
        color: #ffffff;
    }
    
    .mhb-step-description {
        font-size: 12px;
        color: #ffffff;
        line-height: 24px;
    }
}

/* MHB Accordion */
.mhb-accordion {
    text-align: start;
    font-family: "Montserrat";
    margin:20px 0 20px 0;
}

.mhb-accordion .mhb-accordion-item {
    border: 0;
}

.mhb-accordion .mhb-accordion-item+.mhb-accordion-item {
    border-top: none
}

.mhb-accordion .mhb-tab-title {
    margin: 0;
    padding: 15px 20px;
    margin: 0 0 0 41.5%;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    outline: none;
    border-bottom: 1px solid #ccc;
}
.mhb-accordion-text {
    padding: 10px 0 0 0;
}
.mhb-accordion .mhb-accordion-title {
    text-decoration: none;
}

.mhb-accordion .mhb-tab-title .mhb-accordion-icon {
    display: inline-block;
    width: 1.5em
}

.mhb-accordion .mhb-tab-title .mhb-accordion-icon svg {
    width: 1em;
    height: 1em
}

.mhb-accordion .mhb-tab-title .mhb-accordion-icon.mhb-accordion-icon-right {
    float: right;
    text-align: right
}

.mhb-accordion .mhb-tab-title .mhb-accordion-icon.mhb-accordion-icon-left {
    float: right;
    text-align: left
}

.mhb-accordion .mhb-tab-title .mhb-accordion-icon .mhb-accordion-icon-closed {
    display: block
}

.mhb-accordion .mhb-tab-title .mhb-accordion-icon .mhb-accordion-icon-opened,
.mhb-accordion .mhb-tab-title.mhb-active .mhb-accordion-icon-closed {
    display: none
}

.mhb-accordion .mhb-tab-title.mhb-active .mhb-accordion-icon-opened {
    display: block
}

.mhb-accordion .mhb-tab-content {
    display: none;
    padding: 10px 20px;
    
}

@media (max-width: 767px) {
    .mhb-accordion .mhb-tab-title {
        padding: 12px 15px
    }

    .mhb-accordion .mhb-tab-title .mhb-accordion-icon {
        width: 1.2em
    }

    .mhb-accordion .mhb-tab-content {
        padding: 7px 15px
    }
}

.e-con-inner>.mhb-widget-accordion,
.e-con>.mhb-widget-accordion {
    width: var(--container-widget-width);
    --flex-grow: var(--container-widget-flex-grow)
}
.mhb-accordion-content-grid {
    display: grid;
    grid-template-columns: minmax(200px, 33em) 2fr;
    gap: 20px;
    align-items: start;
}

.mhb-accordion-image img {
    width: 100%;
    height: auto;
    display: block;
}

@media (max-width: 767px) {
    .mhb-accordion-content-grid {
        grid-template-columns: 1fr;
    }
}
.joboffer-button-container {
    position: fixed;
    top: 200px;
    right: 0 !important;
    z-index: 9999 !important;
    pointer-events: auto !important;
    transition: all 0.3s ease !important;
}



.joboffer-button-container:hover {
    transform: scale(1.05);
}

.joboffer-button-shape {
    width: 300px;
    height: 65px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    background-color: #D71423;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 20px 100%);
    pointer-events: auto;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.joboffer-button-shape:hover {
    background-color: #ffffff;
    width: 350px; /* Vergrößerung um 20px (gleich wie Text-Verschiebung) */
   
}

.joboffer-button-shape::after {
    content: '';
    background-image: url(/wp-content/uploads/2024/09/mhb-arrow.svg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    width: 30px;
    height: 30px;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.joboffer-button-shape:hover::after {
    opacity: 1;
}

.joboffer-button-text-top,
.joboffer-button-text-bottom {
    color: #fff;
    font-family: 'Montserrat';
    text-align: center;
    padding: 0 20px;
    text-decoration: none;
    transition: all 0.3s ease;
    transform: translateX(0);
}

.joboffer-button-text-top {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 2px;
}

.joboffer-button-text-bottom {
    font-size: 16px;
    font-weight: 800;
}

.joboffer-button-shape:hover .joboffer-button-text-top,
.joboffer-button-shape:hover .joboffer-button-text-bottom {
    color: #D71423;
    transform: translateX(-20px);
}

@media screen and (max-width: 767px) {
    .joboffer-button-container {
        top: 128px;
    }
    
    .joboffer-button-shape {
        width: 230px;
        height: 45px;
    }

    .joboffer-button-shape:hover {
        width: 255px; /* Angepasste Vergrößerung für Mobile */
        padding-right: 15px;
    }

    .joboffer-button-text-top {
        font-size: 10px;
        line-height: 14px;
    }

    .joboffer-button-text-bottom {
        font-size: 12px;
        line-height: 16px;
    }

    .joboffer-button-shape::after {
        width: 24px;
        height: 24px;
        right: 15px;
    }

    .joboffer-button-shape:hover .joboffer-button-text-top,
    .joboffer-button-shape:hover .joboffer-button-text-bottom {
        transform: translateX(-15px);
    }
}