/*
 Theme Name: kurzboeden
 Template: idea-flow
 Author: Andreas
 Version:      1.0.0
*/

:root {
    --kurzboeden-color-featured: #0A284B;
    /* Featured */
    --kurzboeden-color-mono-one: #0D3C74;
    /* Mono1 */
    --kurzboeden-color-mono-two: #64748B;
    /* Mono2 */
    --kurzboeden-color-mono-three: #E2E8F0;
    /* Mono3 */
    --kurzboeden-color-mono-four: #F8FAFC;
    /* Mono4 */
}

.kurzboeden-section-intro,
.kurzboeden-section-leistungen,
.kurzboeden-section-beratung,
.kurzboeden-section-where,
.kurzboeden-section-contact {
    padding-top: 100px !important;
    padding-bottom: 100px !important;
}

.kurzboeden-section-intro {
    padding-top: 60px !important;

    @media(max-width: 767px) {
        padding-top: 25px !important;
    }

    .wp-block-group {
        gap: 0 !important;
    }
}



h2 {
    margin: 20px 0 20px 0 !important;
}

p {
    margin-top: 0 !important;
    margin-bottom: 15px !important;
    line-height: 1.5 !important;
}

.is-style-outline a {
    color: var(--kurzboeden-color-featured) !important;
    border-color: var(--kurzboeden-color-featured) !important;
}

.is-style-fill a:hover {
    background-color: var(--kurzboeden-color-mono-one) !important;
}

@media (max-width: 767px) {
    .kurzboeden-section-leistungen {
        padding-bottom: 80px !important;
    }
}

.kurzboeden-section-leistungen {
    h2 {
        margin: 0 auto 5px auto !important;
    }

    .show-more-column {
        margin-top: -10px !important;

        button {
            padding: 20px !important;
            font-size: 20px !important;
            cursor: pointer !important;
            color: var(--kurzboeden-color-mono-one) !important;
            text-decoration: underline !important;
        }
    }
}

.kurzboeden-section-beratung {
    h2 {
        margin: 0 auto 20px auto !important;
    }
}

.kurzboeden-section-contact {
    h2 {
        margin: 0 auto 20px auto !important;
    }
}

.kurzboeden-section-where {
    h2 {
        margin: 0 auto 20px auto !important;
    }
}

.swiper-pagination {
    bottom: -30px !important;
}

.swiper-pagination-bullet {
    background-color: var(--kurzboeden-color-mono-two) !important;
    width: 15px !important;
    height: 15px !important;
    margin-left: 5px !important;
    margin-right: 5px !important;
    margin-top: 10px !important;
}

.swiper-pagination-bullet-active {
    background-color: var(--kurzboeden-color-mono-one) !important;
}

.kurzboeden-section-beratung {
    h2 {
        margin: 0 auto 20px auto !important;
    }

    .wp-block-buttons {
        margin-top: 30px !important;
    }

    .cb-carousel-block {
        margin-bottom: 60px !important;
    }
}

.car {
    margin-bottom: 20px !important;
}







html,
body {
    overflow-x: hidden;
    max-width: 100%;
}

html .car {
    opacity: 0;
}

html .car.car-in-view {
    opacity: 1;
}


@media (min-width: 768px) {
    .kurzboeden-button {
        min-width: 200px;
    }
}

.kurzboeden-button {
    height: 50px !important;

    a {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    img {
        height: 26px;
        width: auto !important;
        margin-right: 5px !important;
        display: block;
    }
}

@media (max-width: 767px) {
    .wp-site-blocks {
        padding-top: 80px;
    }

    header {
        position: fixed;
        z-index: 1000;
        top: 0;
        margin: auto;
        width: 100%;

        >div:first-child {
            padding: 10px !important;

            >div:first-child {
                box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
            }
        }
    }
}

.kurzboeden-leistungen {

    margin-top: 60px !important;

    .wp-block-columns {
        display: grid !important;
        grid-template-columns: 1fr;
        gap: 30px !important;
    }

    @media (min-width: 600px) {
        .wp-block-columns {
            grid-template-columns: 1fr 1fr;
        }
    }

    @media (min-width: 900px) {
        .wp-block-columns {
            grid-template-columns: 1fr 1fr 1fr;
        }
    }

    .wp-block-columns>.wp-block-column {
        margin: 0 !important;
    }

    p {
        margin: 0 !important;
    }
}

@media (max-width: 599px) {
    .kurzboeden-leistungen .wp-block-columns {
        display: flex !important;
        flex-wrap: wrap !important;
        position: relative !important;
    }

    .kurzboeden-leistungen .wp-block-columns>.wp-block-column {
        display: none !important;
    }

    .kurzboeden-leistungen .wp-block-columns>.wp-block-column:nth-child(-n+3) {
        display: block !important;
    }

    .kurzboeden-leistungen .wp-block-columns>.show-more-column {
        display: block !important;
        cursor: pointer !important;
    }

    .kurzboeden-leistungen .wp-block-columns.show-all>.wp-block-column {
        display: block !important;
    }

    .kurzboeden-leistungen .wp-block-columns.show-all>.show-more-column {
        display: none !important;
    }
}

.cb-slide {
    img {
        border-radius: 25px;
    }
}

@media (max-width: 767px) {
    .car-row {
        display: flex;
        flex-direction: column-reverse;
    }

    .kurzboeden-slider-footer-row {
        padding: 0 !important;
        margin-bottom: -33px !important;

        img {
            border-radius: 0;
        }
    }
}

footer .wp-block-group {
    padding-top: 60px !important;
    padding-bottom: 60px !important;

    h2 {
        margin-bottom: 0px !important;
    }
}

@media (max-width: 767px) {
    footer .wp-block-group {
        padding-top: 80px !important;
    }

    .swiper-pagination {
        bottom: -30px !important;
    }

    .kurzboeden-logo-footer {
        display: block;
        margin-top: 20px !important;
    }

    .kurzboeden-section-gallery {

        .swiper-pagination-bullet {
            background-color: var(--kurzboeden-color-mono-three) !important;
            margin-top: 10px !important;
        }

        .swiper-pagination-bullet-active {
            background-color: var(--kurzboeden-color-mono-four) !important;
        }
    }
}

.kurzboeden-heading {
    margin: 0 !important;
    padding: 0 !important;
    line-height: 0 !important;
}

.kurzboeden-places {
    line-height: 1.33;
    text-align: center;
    margin-top: 30px !important;

    span {
        color: lightgrey;
        font-size: 12px;
        color: grey;
        position: relative;
    }

    span:not(:last-child)::after {
        content: "\2022";
        /* Unicode bullet/dot */
        color: grey;
        font-size: 14px;
        vertical-align: middle;
        margin-left: 4px;
        margin-right: 4px;
    }
}


/* Prevent links from breaking onto a new line globally */
a {
    white-space: nowrap;
}