.hiro-plz-search {
    max-width: 700px;
    margin-top: 35px;
}

.hiro-plz-search__title {
  font-size: 24px;
  font-weight: 900;
  margin-bottom: 15px;
  line-height: 6rem;
}

.hiro-plz-search__form {
    display: flex;
    gap: 10px;
    align-items: stretch;
}

.hiro-plz-search__input {
    flex: 1;
    min-width: 0;
    height: 58px;
    min-height: 50px !important;
    box-sizing: border-box;
    padding: 4px 9px 5px !important;
    border: 1px solid #0a2c50;
    border-radius: 0;
    background: #fff !important;
    color: #002c50;
    font-size: 18px;
    outline: none;
    max-width: 272px;
}

.hiro-plz-search__input::placeholder {
    color: #002c50;
    opacity: .65;
}

.hiro-plz-search__input:focus {
    border-width: 2px;
}

.hiro-plz-search__button {
    height: 49px;
    min-height: 49px;
    box-sizing: border-box;
    padding: 0 28px;
    border: 0;
    border-radius: 0;
    background: #ff6f61;
    border: 1px solid #ff6f61;
    color: #fff;
    font-size: 17px;
    font-weight: 700;
    line-height: 42px;
    cursor: pointer;
}

.hiro-plz-search__button:hover {
    opacity: .9;
}

.hiro-plz-search__button:disabled {
    opacity: .6;
    cursor: wait;
}

.hiro-plz-search__message {
    min-height: 24px;
    margin-top: 10px;
    font-size: 15px;
}


/* Modal */

.hiro-berater-modal {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: none;
}

.hiro-berater-modal.is-open {
    display: block;
}

.hiro-berater-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 27, 50, .72);
}

.hiro-berater-modal__dialog {
    position: absolute;
    top: 50%;
    left: 50%;
    width: calc(100% - 60px);
    max-width: 1500px;
    max-height: calc(100vh - 60px);
    overflow-y: auto;
    transform: translate(-50%, -50%);
    background: #fff;
    padding: 55px 65px 60px;
}

.hiro-berater-modal__close {
    position: absolute;
    top: 15px;
    right: 22px;
    border: 0;
    background: transparent;
    font-size: 42px;
    line-height: 1;
    cursor: pointer;
}

.hiro-berater-modal h2 {
    margin: 0;
    text-align: center;
    font-size: 36px;
}

.hiro-berater-modal__subtitle {
    margin-top: 8px;
    margin-bottom: 35px;
    text-align: center;
    font-size: 18px;
}


/* Slider */

.hiro-berater-slider {
    position: relative;
    display: flex;
    align-items: center;
    gap: 18px;
}

.hiro-berater-slider__viewport {
    flex: 1;
    overflow: hidden;
}

.hiro-berater-slider__track {
    display: flex;
    transition: transform .35s ease;
}

.hiro-berater-card {
    flex: 0 0 20%;
    box-sizing: border-box;
    padding: 0 10px;
    text-align: center;
}

.hiro-berater-card__image-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #f7d4c1;
}

.hiro-berater-card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hiro-berater-card__name {
    margin: 15px 0 18px;
    min-height: 28px;
    color: #002c50;
    font-size: 20px;
    font-weight: 700;
}

.hiro-berater-card__button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    min-height: 52px;
    box-sizing: border-box;
    padding: 10px 15px;
    background: #ff6f61;
    color: #fff !important;
    text-decoration: none !important;
    font-weight: 700;
    line-height: 1.25;
}

.hiro-berater-slider__arrow {
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
    border: 0;
    border-radius: 50%;
    background:  #ff6f61;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
}

.hiro-berater-slider__arrow:disabled {
    opacity: .25;
    cursor: default;
}


/* Tablet */

@media (max-width: 1100px) {

    .hiro-berater-card {
        flex-basis: 33.3333%;
    }

}


/* Mobil */

@media (max-width: 767px) {

    .hiro-plz-search__form {
        display: block;
    }

    .hiro-plz-search__input,
    .hiro-plz-search__button {
        width: 100%;
    }

    .hiro-plz-search__button {
        margin-top: 10px;
    }

    .hiro-berater-modal__dialog {
        width: calc(100% - 24px);
        max-height: calc(100vh - 24px);
        padding: 50px 20px 35px;
    }

    .hiro-berater-modal h2 {
        font-size: 27px;
    }

    .hiro-berater-slider {
        gap: 7px;
    }

    .hiro-berater-slider__arrow {
        flex-basis: 40px;
        width: 40px;
        height: 40px;
    }

    .hiro-berater-card {
        flex-basis: 100%;
        padding: 0 5px;
    }

    .hiro-berater-card__name {
        font-size: 19px;
    }

}
/* Formular-Popup standardmäßig vollständig ausblenden */
#hiro-form-modal {
    display: none !important;
    position: fixed !important;
    inset: 0 !important;
    z-index: 1000000 !important;
}

/* Nur anzeigen, wenn JavaScript is-open setzt */
#hiro-form-modal.is-open {
    display: block !important;
}


/* Hintergrund */
#hiro-form-modal .hiro-form-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 27, 50, 0.72);
}


/* Popup-Fenster */
#hiro-form-modal .hiro-form-modal__dialog {
    position: absolute;
    top: 50%;
    left: 50%;

    width: calc(100% - 40px);
    max-width: 700px;
    max-height: calc(100vh - 40px);

    overflow-y: auto;

    transform: translate(-50%, -50%);

    background: #fff;

    padding: 45px 45px 40px;

    box-sizing: border-box;
}


/* Schließen-Button */
#hiro-form-modal .hiro-form-modal__close {
    position: absolute;
    top: 12px;
    right: 18px;

    border: 0;
    background: transparent;

    color: #002c50;

    font-size: 40px;
    line-height: 1;

    cursor: pointer;
}


/* Überschrift */
#hiro-form-modal h2 {
    margin: 0 0 15px;

    color: #002c50;

    text-align: center;

    font-size: 32px;
}


/* Ausgewählter Berater */
#hiro-form-modal .hiro-selected-adviser {
    margin-bottom: 20px;

    text-align: center;

    color: #002c50;

    font-size: 18px;
    font-weight: 700;
}


/* Mobil */
@media (max-width: 767px) {

    #hiro-form-modal .hiro-form-modal__dialog {
        width: calc(100% - 20px);
        max-height: calc(100vh - 20px);

        padding: 45px 20px 30px;
    }

    #hiro-form-modal h2 {
        font-size: 26px;
    }

}