#theme-logo {
    z-index: 100;
    width: 20vw;
    max-width: 268px;
    min-width: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: all;
    margin-left: auto;
}

header#header {
    pointer-events: none;
}

.home header#header {
    position: absolute;
    width: 100%;
    top: 0;
    z-index: 9;
}

.header-wrapper {
    display: flex;
    align-items: center;
    padding: 31px calc((var(--windowWith) - 1478px) / 2) 60px 0;
}

.header-wrapper.not-home {
    background-color: var(--ast-global-color-1);
    background-size: var(--bg-size);
    background-image: url(/wp-content/themes/astra-impuls-child/img/grafik-bg);
}

/*----------------- HEADER ICONS -------------*/

#header-icons {
    left: calc(var(--nav-icon-padding-X) + var(--nav-icon-wrapper-height) + clamp(30px, 5vw, 65px));
}

#header-icons,
#nav-icons {
    z-index: 100;
    display: flex;
    pointer-events: all;
    position: absolute;
    --icon-size: 20px;
    --icon-gap: clamp(20px, 5vw, 48px);
    gap: var(--icon-gap);
}

#nav-icons {
    top: calc(var(--nav-icon-wrapper-height));
    right: 5vw;
}

#header-icons *,
#nav-icons * {
    font-size: var(--btn-font-size);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.167rem;
    font-family: var(--mainfont);
    color: var(--ast-global-color-2);
}

#header-icons img,
#nav-icons img {
    height: var(--icon-size) !important;
    display: block;
    width: auto;
}

.icon {
    display: flex;
    text-align: center;
    vertical-align: top;
    transition: all 0.3s ease 0s;
}

.icon a {
    display: flex;
    height: 100%;
    align-items: center;
    justify-content: center;
    width: 100%;
    gap: 10px;

}

#header-icons .icon:nth-child(1) a::after {
    content: 'Anfragen';
}

#header-icons .icon:nth-child(2) a::after {
    content: 'Buchen';
}

#nav-icons .icon:nth-child(1) a::after {
    content: 'Anrufen';
}

#nav-icons .icon:nth-child(2) a::after {
    content: 'E-Mail Senden';
}

#nav-icons .icon:nth-child(3) a::after {
    content: 'Facebook';
}

/*---------------- GTRANSLATE -------------*/

html:lang(auto) .icon a[title="German"],
html:lang(en) .icon a[title="English"],
html:lang(de) .icon a[title="German"],
html:lang(de-DE) .icon a[title="German"] {
    display: none;
    opacity: 0;
}

.glink.nturl.notranslate {
    flex-direction: row-reverse;
}

a.glink:after {
    height: var(--icon-size);
    width: var(--icon-size);
    background-image: url(/wp-content/themes/astra-impuls-child/img/icon-lang.svg);
    content: '';
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

/**------------------------ SLIDESHOW -------------------------*/

#slider-wrapper.postthumb {
    max-width: 1170px;
    margin: 0 auto;
}


/*---------------- WPML SPRACHENSWITCH -------------*/

.wpml-ls-legacy-list-horizontal a {
    padding-top: 13px !important;
    line-height: 1;
    color: #fff;
    font-family: var(--mainfont);
    font-weight: bold;
    font-size: 19px;
}

.wpml-ls-legacy-list-horizontal {
    border: 0;
    padding: 0;
}

.schatten {
    text-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}




/*----------------- HEADERBILD -------------*/

#slider-wrapper.postthumb.desktop {
    max-height: 580px;
    overflow: hidden;
    position: relative;
}

#slider-wrapper.postthumb.mobile {
    max-height: 580px;
    overflow: hidden;
    line-height: 0;
    position: relative;
}

#slider-wrapper.postthumb.desktop img {
    width: 100%;
    height: auto;
}

#slider-wrapper.postthumb.mobile img {
    width: 100%;
    height: auto;
}

#slider-wrapper.postthumb::before {
    display: block;
    position: absolute;
    background: -moz-linear-gradient(top, rgba(7, 1, 1, 0.3) 0%, rgba(7, 1, 1, 0.3) 1%, rgba(0, 0, 0, 0) 100%);
    background: -webkit-linear-gradient(top, rgba(7, 1, 1, 0.3) 0%, rgba(7, 1, 1, 0.3) 1%, rgba(0, 0, 0, 0) 100%);
    background: linear-gradient(to bottom, rgba(7, 1, 1, 0.3) 0%, rgba(7, 1, 1, 0.3) 1%, rgba(0, 0, 0, 0) 100%);
    filter: progid: DXImageTransform.Microsoft.gradient(startColorstr='#4d070101', endColorstr='#00000000', GradientType=0);
    height: 100%;
    width: 100%;
    content: '';
}

#slider-wrapper.postthumb.desktop img.fallback {
    margin-top: -10vw;
}

@media (min-width: 1920px) {
    /*----------------- ELEMENT -------------*/
    /*----------------- END ELEMENT ---------*/
}

@media (max-width: 1500px) {
    .header-wrapper {
        display: flex;
        align-items: center;
        padding: 31px 5vw 60px 5vw;
    }
}

@media (max-width: 1200px) {
    /*----------------- ELEMENT -------------*/
    /*----------------- END ELEMENT ---------*/
}

@media (max-width: 1024px) {
    /*----------------- ELEMENT -------------*/
    /*----------------- END ELEMENT ---------*/
}

@media (max-width: 990px) {
    #nav-icons .icon a::after {
        display: none;
    }

    .header-wrapper>#header-icons {
        position: fixed;
        bottom: 0;
        top: unset;
        left: 0;
        width: 100%;
        justify-content: center;
        transform: unset;
        right: unset !important;
        background-color: var(--ast-global-color-1);
        padding: 1em;
        z-index: 99;
    }
}

@media (max-width: 768px) {
    /*----------------- ELEMENT -------------*/
    /*----------------- END ELEMENT ---------*/
}

@media (max-width: 576px) {
    .header-wrapper {
        padding: 30px 5vw 40px 5vw;
    }

    .header-wrapper>#header-icons {
        padding: 1em 5vw;
        justify-content: space-between;
    }
}

@media (max-width: 420px) {
    /*----------------- ELEMENT -------------*/
    /*----------------- END ELEMENT ---------*/
}

@media (max-width: 320px) {
    /*----------------- ELEMENT -------------*/
    /*----------------- END ELEMENT ---------*/
}