/*** CSS IMPORT **/
@import url(../../predefined/design_tile_1/design_tile_1.css);
@import url(../../predefined/grid_tile_2-3x/grid_tile_2-3x.css);
@import url(../../predefined/text_image_tile_1/text_image_tile_1.css);
@import url(../../predefined/timeline_1/timeline_1.css);
@import url(../landing/landing.css);



/* hero */

.seo_hero article {
    grid-column: 1 / 9;
}

.seo_hero figure {
    grid-column: 9 / 13;    
}

.seo_hero section li::before {
    background-image: url("../../images/icons/checkmark.png");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    content: "";
    margin-right: var(--vertical_xxxs);
    min-width: var(--horizontal_m);
}

.seo_hero section ul {
    flex-direction: column;
    row-gap: var(--vertical_xxs);
    color: var(--blue_dark);
}


/* services */

#seo_services.text_centered h3 {
    order: 2;
}

#seo_services.text_centered p {
    order: 3;
}

#seo_services .grid_tile_2-3x {
    grid-column: 1 / 13; 
    margin-top: var(--vertical_s);
    row-gap: var(--vertical_s);
}

#seo_services .grid_tile_2-3x section {
    flex-direction: column;
    row-gap: var(--vertical_xxs);
    padding: var(--vertical_xxs) var(--horizontal_m);
}

#seo_services .grid_tile_2-3x header {
    flex-direction: row;
    align-items: center;
    column-gap: var(--horizontal_m);
    row-gap: var(--vertical_xs);
}

#seo_services .grid_tile_2-3x h4 {
    max-width: 20rem;
}

#seo_services .grid_tile_2-3x figure {
    height: var(--column);
    min-height: 2.5rem;
    max-height: 4rem;
}


/* social proof */

#landing_socialproof.socialproof_seo article {
    row-gap: var(--vertical_xxs);
}

#landing_socialproof.socialproof_seo article h2 {
    color: var(--blue_dark);
}

#landing_socialproof.socialproof_seo article .h6_style {
    color: var(--grey_dark);
}

#landing_socialproof.socialproof_seo aside {
    justify-content: center;
}

#landing_socialproof.socialproof_seo aside section {
    box-shadow: 10px 24px 24px 0px var(--shadow);
}


/* process */

#seo_process {
    grid-gap: var(--vertical_xxs);
}

#seo_process article.textfeld {
    margin-bottom: var(--vertical_m);
}

#seo_process .timeline_1 h3 {
    color: var(--blue_dark);
}

#seo_process .timeline_1 h5 {
    color: var(--white);
}

#seo_process .timeline_1 p {
    color: var(--grey_dark);
}

#seo_process .timeline_1 section,
#seo_process .timeline_1 figure {
    margin-bottom: var(--vertical_m);
}

#seo_process .timeline_1:last-of-type section,
#seo_process .timeline_1:last-of-type figure {
    margin-bottom: initial;
}


/* faq */

#seo_faq {
    row-gap: var(--vertical_xxs);
}

#seo_faq h5,
#seo_faq p {
    color: var(--grey_dark);
}

#seo_faq h2,
#seo_faq h6 {
    color: var(--blue_dark);
}

#seo_faq article:first-of-type {
    grid-column: 1 / 5;
    grid-row: span 2;
}

#seo_faq article:first-of-type h2 {
    order: 2;
}

#seo_faq .design_tile_1 {
    grid-column: 6 / 12;
    display: flex;
    flex-direction: column;
    padding: var(--vertical_xxs) var(--horizontal_m);
    row-gap: var(--vertical_xxs);
    cursor: pointer;
}

#seo_faq .design_tile_1 label {
    cursor: pointer;
}

#seo_faq .design_tile_1 label:last-of-type {
    flex-direction: column;
    row-gap: var(--vertical_xxs);
}

#seo_faq input,
#seo_faq input:not(:checked)+.design_tile_1 label:last-of-type {
    display: none;
}

#seo_faq input:not(:checked)+.design_tile_1:hover {
    background-color: var(--hover_white);
}

#seo_faq input:checked+.design_tile_1 label:last-of-type {
    display: flex;
}



/* media */

@media only screen and (max-width: 1023px) and (min-width: 769px) {

    #seo_services .grid_tile_2-3x header {
        flex-direction: column;
        text-align: center;
        row-gap: var(--vertical_xxs);
    }
    
    #seo_services .grid_tile_2-3x section:nth-of-type(n+1):nth-of-type(-n+3) header {
        height: 8rem;
    }

    #seo_faq .design_tile_1 {
        grid-column: 6 / 13;
    }
    
}

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

    .subpage_hero.seo_hero article {
        grid-column: 1 / 13;
    }

    .subpage_hero.seo_hero article a.button {
        align-self: center;
    }
    
    .subpage_hero.seo_hero figure {
        grid-column: 4 / 10;   
        grid-row: 1;
    }
    
    #seo_services {
        row-gap: var(--vertical_xxs);
    }
   
    #seo_services .grid_tile_2-3x h4 {
        max-width: unset;
    }

    #seo_local.text_image_tile_1 figure:first-of-type {
        display: none;
    }

    #seo_faq {
        row-gap: var(--vertical_xs);
        margin-bottom: calc(var(--abstand_zwischen_abschnitten)/2);
    }

    #seo_faq article:first-of-type {
        grid-column: 1 / 13;
        grid-row: initial;
    }

    #seo_faq .design_tile_1 {
        grid-column: 2 / 12;
    }
}

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

    #seo_services {
        row-gap: unset;
    }   

    #seo_process article.textfeld {
        margin-bottom: unset;
    }

    #seo_faq .design_tile_1 {
        grid-column: 1 / 13;
    }
}