/**
 * ANCHOR Customising
 *
 */
html {
    background-color: var(--clx-color-muted);

    .clx-text-hero {
        font-weight: 600;
        font-size: clamp(50px, 6vw, 80px);
        line-height: 1.0;
        margin-top: 0;
        margin-bottom: 12px;
        text-wrap: balance;
    }

    h1,
    .h1,
    .clx-h1 {
        font-size: clamp(36px, 4.5vw, 55px);
        line-height: 1.1;
        margin-top: 0;
        margin-bottom: clamp(12px, 3vw, 20px);
    }

    h2,
    .h2,
    .clx-h2 {
        font-size: clamp(26px, 3vw, 32px);
        line-height: 1.1;
        margin-top: 0;
        margin-bottom: clamp(10px, 2.5vw, 16px);
    }

    h3,
    .h3,
    .clx-h3 {
        font-size: 26px;
        line-height: 1.1;
        margin-top: 0;
        margin-bottom: clamp(12px, 3vw, 20px);
    }

    h4,
    .h4,
    .clx-h4 {
        font-size: 26px;
        line-height: 1.1;
        margin-top: 0;
        margin-bottom: clamp(12px, 3vw, 20px);
        color: var(--clx-color-secondary);
    }

    h5,
    .h5,
    .clx-h5 {
        font-size: 18px;
        line-height: 1.4;
        margin: 0;
    }

    a.clx-icon::before,
    a[href$=".pdf" i]:not(:has(> img))::before,
    a[href$=".xls" i]:not(:has(> img))::before,
    a[href$=".xlsx" i]:not(:has(> img))::before,
    a[href$=".doc" i]:not(:has(> img))::before,
    a[href$=".docx" i]:not(:has(> img))::before,
    a[href$=".rtf" i]:not(:has(> img))::before,
    a[href$=".txt" i]:not(:has(> img))::before,
    a[href$=".ppt" i]:not(:has(> img))::before,
    a[href$=".jpg" i]:not(:has(> img))::before,
    a[href$=".jpeg" i]:not(:has(> img))::before,
    a[href$=".webp" i]:not(:has(> img))::before,
    a[href$=".png" i]:not(:has(> img))::before,
    a[href$=".gif" i]:not(:has(> img))::before,
    a[href$=".mp4" i]:not(:has(> img))::before,
    a[href$=".zip" i]:not(:has(> img))::before {
        content: none;
        /*transform: translateY(1px);*/
    }

    hr {
        height: 1px;
        margin: 20px 0;
        background: transparent;
        border-top: 1px dotted var(--clx-color-primary);
    }
}

.clx-button {
    align-content: center;
    min-height: inherit;
    height: 40px;
    min-width: 160px;
    margin-top: 10px;
    padding-left: 20px;
    padding-right: 20px;
    border-width: 2px !important;

    &.light {
        background-color: transparent;
    }
}

.home {
    .clx-button {
        min-width: fit-content;
    }
}

header {
    height: 140px;
    background-image: url(../images/wood_2.jpg);
    box-shadow: 0 4px 4px rgba(0, 0, 0, 0.5);

    section {
        height: 100%;

        .clx-container {
            height: 100%;

            .clx-grid {
                height: 100%;

                .logo {
                    padding-top: 25px;
                    height: 100px;
                }

                .navigation {
                    padding-top: 20px;
                }
            }
        }
    }

    .clx-navigation {
        ul {
            li {
                a.clx-button {
                    margin-left: 20px;
                    color: var(--clx-color-black);
                }

                ul {
                    background-image: url(../images/wood_2.jpg);
                    box-shadow: 0 4px 4px rgba(0, 0, 0, 0.5);

                }
            }
        }
    }

    .clx-navigation-contact {
        ul {
            li {
                a {
                    font-size: 18px;
                    color: var(--clx-color-secondary);

                    &:hover {
                        color: var(--clx-color-white);
                    }
                }
            }
        }
    }

    .clx-navigation-language {
        ul {
            li {
                a {
                    font-size: 18px;
                    color: var(--clx-color-white);

                    &:hover,
                    &.active {
                        color: var(--clx-color-secondary);
                    }
                }
            }
        }
    }

}

main {

    section {
        scroll-margin-top: 140px;
    }

    .clx-fullscreen {

        .clx-fullscreen-content {
            padding-bottom: 15px;
            align-items: flex-end;
            justify-content: start;
            background-image: linear-gradient(to top, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0) 50dvh);

        }
    }

    .clx-fullscreen-content,
    .clx-section-dark {

        h1,
        h2,
        h3,
        h4,
        p {
            color: var(--clx-color-white);

            mark {
                color: var(--clx-color-secondary);
                background-color: transparent;
            }
        }

        .clx-text-lead {
            font-size: 120%;
        }

        .clx-button {
            &.light {
                color: var(--clx-color-secondary);

                &:hover {
                    color: var(--clx-color);
                }
            }

        }
    }

    .clx-section-dark {
        background-image: url(../images/wood_2.jpg);
    }


    .clx-todown {
        bottom: 5px;
        width: 40px;
        height: 40px;
        border: none;
        border-radius: 100vw;
        background: no-repeat center;
        background-color: var(--clx-color-secondary);
        background-size: 21px auto;
        background-image: url(../images/arrow-down-solid-full.svg);

        &::before {
            display: none;
        }
    }

    .clx-card-color.winter {
        background-image: url(../images/wood_2.jpg);
        background-size: 500px auto;

        h1,
        h2,
        h3,
        h4,
        p:not(.clx-text-lead) {
            color: var(--clx-color-white);
        }

        hr {
            border-top: 1px dotted var(--clx-color-secondary);
        }

    }

    .clx-canvas {
        margin-bottom: 20px;
    }


    .package {
        display: grid;
        gap: 30px;
        grid-template-columns: 1fr 1fr 1fr 1fr;
        padding-top: 20px;
        padding-bottom: 100px;

        .card {
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            padding: 30px 30px 10px 30px;
            background-color: white;

            h4 {
                margin-bottom: 10px !important;
            }

            &.saison-2 {
                background-image: url(../images/wood_2.jpg);
                background-size: 500px auto;

                h1,
                h2,
                h3,
                h4,
                p:not(.clx-text-lead) {
                    color: var(--clx-color-white);
                }

                hr {
                    border-top: 1px dotted var(--clx-color-secondary);
                }
            }
        }
    }

    .package-season {
        article {
            display: flex;
            flex-direction: column;
            height: 100%;

            .clx-canvas {
                margin-bottom: 0;
            }

            .content {
                display: flex;
                flex-direction: column;
                flex: 1 1 auto;
                justify-content: space-between;
                padding: 30px;
                background-color: var(--clx-color-white);
            }
        }
    }

    .package-detail {

        h2,
        h3,
        h4,
        h5 {
            margin-top: clamp(25px, 4vw, 40px);
        }
    }

    #clx-form-id-20,
    #clx-form-id-18 {
        width: 100%;
    }

    .preisliste {
        margin-top: 50px;

        tbody {
            border-top: 1px dotted var(--clx-color-primary);
        }

        th {
            font-size: 80%;
        }

        th,
        td {
            border: none;

            &:nth-child(1) {
                padding: 5px 20px 3px 0;
                font-weight: 600;
                color: var(--clx-color-primary);
            }

            &:nth-child(2) {
                padding: 5px 0 3px 0;
            }

            &:nth-child(3) {
                padding: 5px 0 3px 0;
                width: 40px;
                text-align: end;
            }

            &:nth-child(4),
            &:nth-child(5) {
                padding: 5px 0 3px 0;
                width: 120px;
                text-align: end;
            }

            p {
                margin-top: 2px;
            }
        }

    }
}

footer {
    background-image: url(../images/wood_2.jpg);

    h2,
    h3,
    h4,
    h5 {
        color: var(--clx-color-secondary);
    }

    img {
        display: flex;
        width: clamp(150px, 100%, 320px);
    }

    section:nth-child(2) {
        border-top: 1px solid var(--clx-color-secondary);
        background-color: rgba(0 0 0 / 0.25);
    }

    .clx-socialmedia {
        ul {
            display: flex;
            gap: 10px;
            margin: 0;
            padding: 0;

            li {
                width: 30px;

                a {
                    display: block;
                    padding: 0 0 0 30px;
                    background-size: 30px auto;
                }
            }
        }
    }
}

.gutschein {
    position: fixed;
    bottom: 100px;
    right: 10px;
    transform-origin: bottom right;
    transform: rotate(-90deg) translateX(100%);

    a {
        margin: 0;
        height: 50px;
        border-radius: 100vw;
        background-color: var(--clx-color-white);
        border-color: var(--clx-color-black);

        &::before {
            content: '';
            margin-right: 5px;
            width: 20px;
            height: 20px;
            background-image: url(../images/gift-solid-full.svg);
            background-size: 21px auto;
            background-repeat: no-repeat;
            background-position: center;
        }
    }
}

/**
 * ANCHOR Media Queries
 *
 */
@media (max-width: 1200px) {

    header {
        height: 120px;

        section {
            .clx-container {
                .clx-grid {
                    .logo {
                        padding-top: 20px;
                        height: 85px;
                    }

                    .navigation {
                        padding-top: 12px;
                    }
                }
            }
        }
    }

}

@media (max-width: 1060px) {

    .clx-navigation {
        display: none;
    }

    .clx-navigation-burger {
        display: block;
        top: 40%;
        height: auto;
        width: auto;
    }

    .clx-navigation-language {
        position: absolute;
        top: 40%;
        margin-right: 80px;
        margin-left: 0;
        margin-bottom: 5px;
    }

    header {
        height: 90px;

        section {
            .clx-container {
                .clx-grid {
                    .logo {
                        padding-top: 12px;
                        height: 70px;
                    }
                }
            }
        }
    }

    h1,
    .h1,
    h2,
    .h2,
    h3,
    .h3,
    h4,
    .h4 {
        hyphens: auto;
    }

    main {
        .package {
            grid-template-columns: 1fr 1fr;

            &.season {
                grid-template-columns: 1fr 1fr;
            }

        }
    }
}

@media (max-width: 640px) {

    header {
        .clx-navigation-language {
            margin-right: 60px;


            ul {
                padding: 0;

                li {

                    a {
                        padding: 5px;
                    }
                }
            }
        }
    }

    main {
        .package {
            grid-template-columns: 1fr;

            &.season {
                grid-template-columns: 1fr;
            }

        }

        .preisliste {
            tr {
                display: flex;
                flex-wrap: wrap;

                th,
                td {

                    &:nth-child(1) {
                        width: 100%;
                    }

                    &:nth-child(2) {
                        width: 80%;
                    }

                    &:nth-child(3) {
                        width: 20%;
                    }

                    &:nth-child(4),
                    &:nth-child(5),
                    &[colspan="4"] {
                        width: 100%;
                    }
                }
            }
        }
    }

    .gutschein {
        display: none;
    }

}

@media only screen and (orientation: portrait) {}

@media print {

    html {
        font-size: 60%;
    }

    header,
    footer,
    nav,
    .clx-navigation-burger,
    .clx-totop,
    .clx-button,
    .clx-hero,
    .clx-parallax,
    .clx-video,
    .clx-bubble,
    .splide__arrow,
    .splide__pagination,
    #captcha {
        display: none !important;
    }

}