@charset "utf-8";
/* Grundlegendes CSS für Landingpages Schadensanierung */



/*Hero-Section (Header-Bereich)*/

h1 {

    margin-bottom: 10px;
}

#header-text .subheadline {
    font-size: clamp(18px, 2vw, 26px);
    font-weight: 500;
    text-transform: none !important;
    letter-spacing: 0;
    margin-top: 5px;
    display: block;
}

#header {
    height: 70vh;
    overflow: hidden;
    position: relative;
    display: grid;
}


/*Headerhintergrundbild Ausrichtung/Bildausschnitt*/
#header .ngpluginparagraphpanorama img{
    object-position: 0 70%;
    filter: brightness(0.9);
    height: 100vh !important;
    object-fit: cover;
    object-position: 0 70%;
}


[data-sqranchor="header"] {
    position: fixed;
    top: 0;
    z-index: -1;
    width: 100%;
}

[data-sqranchor="header"] video{
    height: 95vh !important;
    width: 100vw !important;
    object-fit: cover;
    object-position: center;
}

#header:after {
        content: '';
        background: linear-gradient(to bottom, var(--profis-blau) 20%, rgb(255 255 255 / 0%));
        width: 100%;
        height: 75vh;
        z-index: -1;
        position: absolute;
        top: 0;
        mix-blend-mode: multiply;
}
    

@media (max-width: 767px){
    #header {
        height: calc(100vh - 140px);
        /*background: linear-gradient(to top, rgb(255 255 255 / 0%) 19vh, var(--profis-blau) 19vh);*/
    }
    }


@media (min-width: 1024px){
    #header .ngpluginparagraphpanorama img{
        position: fixed;
        z-index: -1;
        bottom: 0;
    }
}


/*Headerbild 2. Spalte*/
#header-img{
    width: 100%;
    height: 70vh;
    object-fit: cover;
    object-position: left 20%;
}

@media (orientation: portrait){
    #header-img,
    #header{
        max-height: 700px;
    }
}



/*Header-Text-Bereich*/

#header-text{
    display: flex;
    align-items: center;
    position: absolute;
    left: 0;
    right: 0;
    margin: 0 auto !important;
    padding: 0 25px !important;
    height: 100%;
    width: 100%;
    z-index: 4;
    top: 0;
}


/*Call-to-Action auf Hederbild*/
.facts-box{
    display: grid;
    align-items: center;
    background: white;
    color: var(--profis-dark);
    box-shadow: var(--blue-shadow);
    border-radius: 5px;
    padding: 5px 15px;
    max-width: max-content;
    box-sizing: border-box;
    min-width: min(450px, 100%);
    margin-top: 30px;
}

.facts-box > ul{
    margin-bottom: 10px;
    padding-inline-start: 20px;
    border-bottom: 2px solid #e9eff5;
    padding-bottom: 20px;
    font-weight: 500;
}

.facts-box ::marker {
    color: var(--profis-blau);
}





@media (min-width: 768px){
    .cta-box{
    grid-template-columns: repeat(2, max-content);
    grid-gap: 30px;
    display: grid;}
}

.cta-box strong {
    color: var(--profis-blau);
    font-weight: 600;
}

.cta-box .sqwpluginbuttons{
    margin: 0 !important;
}

@media (hover: hover){
    .cta-box .sqwpluginbuttons a:hover {
        transform: translateY(0) !important;
    }
}


/*Animationen*/
@keyframes fade-in{
    0%{
        opacity: 0;
        transform: translateY(60px);
    }

    100%{
        opacity: 1;
        transform: translateY(0);
    }
}



/*Bullet-Points mit Leistungen*/
.leistungen-header{
    padding-left: 10px;
}

.header-leistungen ul {
     padding: 0;
     display: grid;
     justify-content: space-between;
}

 .header-leistungen li {
        color: var(--profis-dark);
        font-size: 18px;
        list-style: none;
        line-height: 1.6;
        display: grid;
        grid-template-columns: max-content auto;
        align-items: baseline;
        grid-gap: 15px;
        padding: 20px 0;
        border-radius: 5px;
        letter-spacing: 1px;
        background: white;
        font-weight: 500;
        opacity: 0;
}

    .animation.header-leistungen ul > li{
        animation: fade-in 1.2s forwards;
    }

    .animation.header-leistungen ul > li:nth-child(2) {
        animation-delay: 0.15s;
    }

    .animation.header-leistungen ul > li:nth-child(3) {
        animation-delay: 0.3s;
    }

    .animation.header-leistungen ul > li:nth-child(4) {
        animation-delay: 0.45s;
    }

    .header-leistungen li:before {
        content: '';
        width: 30px;
        height: 20px;
        background: url(/svg/haken.svg);
        background-size: contain;
        display: block;
        background-repeat: no-repeat;
        background-position: bottom;
    }


@media (min-width: 1024px){
    .header-leistungen ul {
        grid-template-columns: repeat(3, max-content);
        padding: 0 20px;}
}


@media (min-width: 1024px) and (max-width: 1240px){
    .header-leistungen ul > li {
        font-size: clamp(14px, 1vw, 16px);}
}



/*Mobile Anpassung Header*/
@media (max-width: 1023px){
    #header > div:nth-child(1){
        padding: 0;
    }


    .sqwpluginbuttons a {
        padding: 15px;
        text-align: center;
        font-size: clamp(17px, 2vw, 18px);
    }

    #header .ngpluginparagraphpanorama img {
        object-position: 40% 0 !important;
        top: 0;
        height: 90vh !important;
    }
}