/*
 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;
}

/* ── Contact Form 7 ──────────────────────────────────────────── */
.kurzboeden-section-contact .wpcf7-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.kurzboeden-section-contact .wpcf7-form-control-wrap {
    display: block;
    width: 100%;
}

.kurzboeden-section-contact .wpcf7-text,
.kurzboeden-section-contact .wpcf7-email,
.kurzboeden-section-contact .wpcf7-tel,
.kurzboeden-section-contact .wpcf7-textarea {
    width: 100% !important;
    padding: 12px 16px !important;
    border: 1.5px solid var(--kurzboeden-color-mono-three) !important;
    border-radius: 8px !important;
    background-color: var(--kurzboeden-color-mono-four) !important;
    color: var(--kurzboeden-color-featured) !important;
    font-size: 16px !important;
    line-height: 1.5 !important;
    transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
    box-sizing: border-box !important;
    outline: none !important;
}

.kurzboeden-section-contact .wpcf7-textarea {
    min-height: 140px !important;
    resize: vertical !important;
}

.kurzboeden-section-contact .wpcf7-text:focus,
.kurzboeden-section-contact .wpcf7-email:focus,
.kurzboeden-section-contact .wpcf7-tel:focus,
.kurzboeden-section-contact .wpcf7-textarea:focus {
    border-color: var(--kurzboeden-color-mono-one) !important;
    box-shadow: 0 0 0 3px rgba(13, 60, 116, 0.12) !important;
}

.kurzboeden-section-contact .wpcf7-text::placeholder,
.kurzboeden-section-contact .wpcf7-email::placeholder,
.kurzboeden-section-contact .wpcf7-tel::placeholder,
.kurzboeden-section-contact .wpcf7-textarea::placeholder {
    color: var(--kurzboeden-color-mono-two) !important;
}

.kurzboeden-section-contact .wpcf7-submit {
    align-self: flex-start;
    padding: 13px 32px !important;
    background-color: var(--kurzboeden-color-featured) !important;
    color: #fff !important;
    border: none !important;
    border-radius: 8px !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: background-color 0.2s ease !important;
    white-space: nowrap;
}

.kurzboeden-section-contact .wpcf7-submit:hover {
    background-color: var(--kurzboeden-color-mono-one) !important;
}

.kurzboeden-section-contact .wpcf7-not-valid-tip {
    color: #c0392b !important;
    font-size: 13px !important;
    margin-top: 4px !important;
    display: block;
}

.kurzboeden-section-contact .wpcf7-response-output {
    margin-top: 8px !important;
    padding: 12px 16px !important;
    border-radius: 8px !important;
    font-size: 15px !important;
    border: none !important;
}

.kurzboeden-section-contact .wpcf7-mail-sent-ok {
    background-color: #e8f5e9 !important;
    color: #2e7d32 !important;
}

.kurzboeden-section-contact .wpcf7-validation-errors,
.kurzboeden-section-contact .wpcf7-mail-sent-ng,
.kurzboeden-section-contact .wpcf7-spam-blocked {
    background-color: #fdecea !important;
    color: #c0392b !important;
}