header{
    width: 100%;
    background-color: var(--bg-color);
    box-shadow: 1px 5px 5px 1px rgba(0,0,0,0.17);
    -webkit-box-shadow: 1px 5px 5px 1px rgba(0,0,0,0.17);
    -moz-box-shadow: 1px 5px 5px 1px rgba(0,0,0,0.17);
    z-index: 3;
    position: fixed;
    top: 0;
}
#block-erny-wewer-site-branding{
    display: flex;
    justify-content: space-between;
}
#block-erny-wewer-site-branding .expand{
    margin: var(--padding);
}
#block-erny-wewer-site-branding a{
    width: 182px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: var(--padding);
}
#block-erny-wewer-site-branding a img{
    width: 182px;
    height: 52px;
}
.region-header{
    /*height: 142px;*/
    display: flex;
    flex-direction: column-reverse;
}
@media only screen and (max-width : 1280px) {
    .region-header.inside{
        padding: 0;
    }
}
@media only screen and (min-width : 1280px) {
    .region-header{
        flex-direction: row;
        height: 188px;
        align-items: center;
    }
    #block-erny-wewer-site-branding{
        width: 362px;
        min-width: 362px;
        max-width: 362px;
        height: 85px;/*103px;*/
        position: relative;
    }
    #block-erny-wewer-site-branding a{
        width: 100%;
        margin: 0;
    }
    #block-erny-wewer-site-branding a img{
        width: 100%;
        height: 100%;
        object-fit: contain;
    }
    #block-erny-wewer-site-branding .expand{
        display: none;
    }
}

/* HEADLINE */

.block-headline{
    height: 720px;
    /*max-height: 30vh;*/
    overflow: hidden;
    position: relative;
}
.block-headline .field--name-field-title{
    /*position: absolute;*/
    color: var(--color2);
    font-size: var(--font-size-h1);
    font-weight: bold;
    position: relative;
}
.block-headline .field--name-field-title h1{
    margin: 0;
    padding: 0;
    /*padding-top: 4rem;*/
}
.block-headline .field--name-field-title h1, .block-headline .field--name-field-title div{
    color: var(--color2);
    font-size: var(--font-size-h1);
    font-weight: bold;
    /*padding-bottom: 1rem;
    padding-top: 1rem;*/
}
.block-headline .box{
    position: absolute;
    margin-left: var(--padding);
    padding: var(--padding);
    padding-top: 6rem;
    /*padding-bottom: 2rem;*/
    /*padding-top: 4rem;*/
}
@media only screen and (min-width: 1280px) {
    .block-headline .box{
        margin-left: var(--padding-medium);
    }
}
@media only screen and (min-width: 1920px) {
    .block-headline .box{
        margin-left: var(--padding-wide);
    }
}
@media only screen and (min-width: 360px) {
    .block-headline .box{
        margin-right: 4rem;
    }
}
.block-headline .field--name-field-title .wrapper{
    opacity: var(--opacity-box);
    background-color: var(--red);
}
.block-headline .field--name-field-title .wrapper .field__item{
    visibility: hidden;
}
.block-headline .field--name-field-image{
    height: 100%;
}
.block-headline .field--name-field-image .field__item{
    height: 100%;
}
.block-headline img{
    object-fit: cover;
    width: 100%;
    height: 100%;
}

.path-webform .block-headline{
    background-color: red;
    position: absolute;
    width: 100%;
}
.path-webform .block-headline .field--name-field-title {
    display: none;
}