
/* latin */
@font-face {
    font-family: 'Poppins';
    font-style: italic;
    font-weight: 300;
    font-display: swap;
    src: url("../fonts/pxiDyp8kv8JHgFVrJJLm21lVF9eOYktMqg.woff2 ") format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
    font-family: 'Poppins';
    font-style: italic;
    font-weight: 400;
    font-display: swap;
    src: url("../fonts/pxiGyp8kv8JHgFVrJJLufntAOvWDSHFF.woff2") format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* latin */
@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 300;
    font-display: swap;
    src: url(../fonts/pxiByp8kv8JHgFVrLDz8Z1xlFd2JQEk.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* latin */
@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url(../fonts/pxiEyp8kv8JHgFVrJJfecnFHGPc.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* latin */
@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url(../fonts/pxiByp8kv8JHgFVrLEj6Z1xlFd2JQEk.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* latin */
@font-face {
    font-family: 'Mulish';
    font-style: italic;
    font-weight: 200 1000;
    font-display: swap;
    src: url(../fonts/1Pttg83HX_SGhgqk2jovaqRFB_ie.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* latin */
@font-face {
    font-family: 'Mulish';
    font-style: normal;
    font-weight: 200 1000;
    font-display: swap;
    src: url(../fonts/1Ptvg83HX_SGhgqk3wotYKNnBQ.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* latin-ext */
@font-face {
    font-family: 'Poppins';
    font-style: italic;
    font-weight: 400;
    font-display: swap;
    src: url(../fonts/pxiGyp8kv8JHgFVrJJLufntAOvWDSHFF.woff2) format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* latin */
@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url(../fonts/pxiByp8kv8JHgFVrLGT9Z1xlFd2JQEk.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* latin */
@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url(../fonts/pxiByp8kv8JHgFVrLCz7Z1xlFd2JQEk.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
.checkmark {
    font-family: "Segoe UI Symbol", "Segoe UI Emoji", "Apple Color Emoji",
    "Arial Unicode MS", "Noto Sans Symbols", sans-serif;
}


:root {
    --color-black: #3c3c3c;
    --color-black-lighter: rgba(51, 51, 51, 0.71);
    --color-black-lightest: rgba(51, 51, 51, 0.55);
    --color-violet-darker: #006543;
    --color-violet: #00A36C;
    --color-violet-lighter: rgb(225, 250, 227);
    --color-violet-lightest: rgb(233, 252, 237);
    --color-violet-lightest-more: rgba(234, 252, 233, 0.5);
}


html, body {
    padding: 0;
    margin: 0 !important;
    font-family: "Poppins", serif;
    color: var(--color-black);
    font-size: 16px;
}

p {
    white-space: preserve;
}

p, ul, li {
    font-size: 0.9rem;
}

img {
    height: auto;
    max-width: 100%;
}

header {
    background: white;
    position: sticky;
    top: 0;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    width: 100%;
    margin: 0 auto;
    height: 56px;
    padding: 0 20px;
    border-bottom: 1px solid rgb(240, 240, 240);

    &.small {
        height: 32px;
        ul {
            margin-top: 0px !important;
            margin-bottom: 0px !important;
            padding-left: 0;
            li {
                list-style: none;

                a {
                    font-size: 0.675rem;
                    color: #666;
                    padding-right: 16px;
                    transition: all 200ms;
                    &:hover, &.current-menu-item {
                        color: var(--color-violet);
                    }

                }
            }
        }

    }

    #headerContent {
        height: 56px;
        background: white;
        box-sizing: border-box;

    }

    #headerContent.scrolled {
        position: fixed;
        top: 12px;
        max-width: 1240px;
        left: 24px;
        right: 24px;
        width: calc(100vw - 48px);
        backdrop-filter: blur(10px);
        padding-left: 24px;
        padding-right: 24px;
        background: rgb(255, 255, 255, 0.9);
        border-radius: 12px;
        transition: top 200ms ease;
        box-shadow: 0 0 10px -8px var(--color-black-lightest);
    }

    .button.primary {
        padding: 4px 12px;
    }
    .feature-subtitle {

    }
    .mobile-nav {
        .feature-subtitle {
            display: none;
        }
        .mobile-burger {
            position: relative;
            max-width: 30px;
            width: 100%;
            display: flex;
            justify-content: flex-end;
            > div {
                width: 100%;
                height: 2px;
                background: var(--color-black);
                transition: all 200ms;

                &.mobile-burger__middle {
                    width: 85%;
                }
                &.mobile-burger__bottom {
                    width: 95%;
                }
            }
            .mobile-burger__top {
                position: absolute;
                top: -8px;
            }

            .mobile-burger__bottom {
                position: absolute;
                bottom: -8px;
            }
            &.open {
                .mobile-burger__top {
                    top: 0;
                    transform: rotate(45deg);
                }

                .mobile-burger__middle {
                    width: 0;
                    opacity: 0;
                }

                .mobile-burger__bottom {
                    top: 0;
                    transform: rotate(-45deg);
                }
            }
        }
    }
}

a {
    color: var(--color-violet);
    text-decoration: none;

    &:hover {
        color: var(--color-violet-darker);
    }
}
.login-button {
    font-size: 0.85rem;
}
.menu-main-container {
    font-size: 0.85rem;

    ul, li, p {
        white-space: unset;
    }

    #menu-main {
        margin: 0;
        display: flex;
        flex-direction: row;
        gap: 40px;
        padding: 0;
    }

    .menu-item {
        position: relative;

        a {
            padding: 12px 0;
            color: var(--color-black);
            text-decoration: none;

            &:hover {
                color: var(--color-violet);
            }
        }
    }

    .current-menu-parent a, .current-menu-item a, .current-menu-ancestor a {
        color: var(--color-violet) !important;
    }

    .menu-item-has-children {
        padding-right: 18px;
        position: relative; /* needed so ::after positions correctly */

        &::after {
            content: "";
            position: absolute;
            left: calc(100% - 10px);
            width: 12px;
            height: 12px;
            top: 50%;
            transform: translateY(-50%) rotate(0deg);
            transition: transform 200ms ease;
            background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23333' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='lucide lucide-chevron-right'%3E%3Cpath d='m9 18 6-6-6-6'/%3E%3C/svg%3E");
            background-repeat: no-repeat;
        }

        /* Rotate when LI is hovered */
        &:hover::after {
            transform: translateY(-50%) rotate(90deg);
        }
    }

    ul {
        list-style-type: none;
    }

    .submenu-wrapper::after {
        content: "";
        height: 40px;
        position: absolute;
        left: 0;
        width: 100%;
        top: 0;
    }

    .sub-menu {
        z-index: 1000;
        box-sizing: border-box;
        position: absolute;
        display: grid;
        grid-template-columns: 1fr; /* Single column by default */
        gap: 16px; /* row-gap, column-gap */
        top: 28px;
        left: -120px;
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        width: fit-content;
        background: white;
        transition: visibility 200ms, opacity 200ms, transform 200ms;
        visibility: hidden;
        opacity: 0;
        height: 0;
        overflow: hidden;
        transform: translateY(10px);
        box-shadow: 0 0 10px -8px var(--color-black-lightest);
        border-radius: 8px;
        border: 1px solid transparent;
        font-size: 16px;
        padding: 14px;

        .feature-subtitle {
            font-size: 12px;
            color: #666;
            font-weight: 400;
        }

        .submenu-title {
            margin-bottom: 2px;
        }

        .menu-item {
            box-sizing: border-box;
            border-radius: 3px;
            padding: 8px 12px;
            text-wrap: nowrap;
            width: 100%;
            font-size: 13px;
            font-weight: 500;
            transition: all 200ms;

            a {
                display: flex;
                padding: 0;
                align-items: center;
                gap: 12px;
                color: var(--color-black) !important;

                > div {
                    padding: 4px;
                    background: var(--color-violet-lighter);
                    color: var(--color-violet);
                    width: 32px;
                    height: 32px;
                    min-width: 32px;
                    position: relative;
                    border-radius: 8px;
                    transition: all 200ms;

                    svg {
                        position: absolute;
                        height: 24px;
                        width: 24px;
                        top: 50%;
                        left: 50%;
                        transform: translate(-50%, -50%);
                    }
                }
            }

            &:hover {
                background: var(--color-violet-lightest-more);
                a {
                    color: var(--color-violet) !important;
                    > div {
                        transform: rotate(5deg);
                    }
                }
            }
        }
    }

    .menu-item:hover > .sub-menu {
        border: 1px solid #ebebeb;
        visibility: visible;
        height: auto;
        opacity: 1;
        transform: translateY(10px);
        z-index: 1000;
    }
    
    /* Multi-column layout when more than 3 items */
    .sub-menu.sub-menu-multi-col {
        grid-template-columns: repeat(2, auto);
    }
}

footer {
    border-top: 3px solid var(--color-violet);
    background: black;
    width: 100%;
    min-height: 80px;
    margin-top: 80px;
    color: white;
    padding: 48px 0;
    box-sizing: border-box;

    hr {
        border: none;
        border-top: 1px solid rgba(255, 255, 255, 0.25);
    }

    span {
        font-size: 0.7rem;
        font-weight: 300;
    }

    .footer-nav-title {
        font-size: 1rem;
        margin-bottom: 4px;
    }

    a {
        color: white;
        text-decoration: none;
        font-size: 0.8rem;
        font-weight: 300;
        transition: all 200ms;

        &:hover {
            color: #AEAEAE;
        }
    }
}

.hero {
    border-radius: 20px;
    min-height: 550px;
    height: fit-content;
    box-sizing: border-box;
    max-width: 1400px;
    margin: 40px auto;
    padding: 72px 24px;


    .w-1100 {
        max-width: 1220px;
    }

    h1 {
        font-weight: 500 !important;
        font-size: 52px;
        line-height: 1.2;
        margin-top: 12px;
        margin-bottom: 36px;
    }

    p {
        font-size: 19px;
        color: #666;
        margin-bottom: 36px;
        margin-top: 0;
    }

    .white {
        position: absolute;
        bottom: 0;
        background: rgb(255, 255, 255);
        background: linear-gradient(0deg, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
        height: 300px;
        width: 100%;
    }

    .image {
        border: 1px solid #0c0c0c14;
        border-radius: 20px;
        background-color: white;
        background: linear-gradient(
                150deg,
                rgba(234, 233, 252, 0.3),
                rgba(255, 255, 255, 0.1)
        );
        max-width: 50%;
        padding-top: 1.875rem;
        padding-left: 3.75rem;
        padding-right: 3.75rem;
        overflow: hidden;
        min-height: 450px;

        img {
            height: 100%;
            width: auto;
            object-fit: contain;
        }
    }

    &.center {
        min-height: 80vh;
        border-top-right-radius: 20px;
        border-top-left-radius: 20px;
        margin: 40px auto;
        padding: 100px 0 0 0;
        box-sizing: border-box;
        height: 100%;

        .subtitle {
            margin: 0 auto 18px auto;
        }

        .w-1100 {
            padding-top:0;
            gap: 0;
        }

        > .py-72 {
            padding-bottom: 32px !important;
        }

        .image {
            overflow: clip;
            position: relative;
            height: fit-content;
            min-height: 30vh;
            padding: 20px;
            box-sizing: border-box;
            background: transparent;
            border: none;
            max-width: 70%;

            img {
                width: calc(100% - 40px);
                height: auto;
                margin-bottom: -100px;
            }
        }
    }
}
.home {
    .hero {
        max-width: 100%;
        margin: -60px 0;
        padding-top: 160px;
        border-radius: 0;

        .w-1100 {
        }
        h1 {
            margin-bottom: 32px;
        }
        p {
            font-size: 16px;
            color: var(--color-black);
        }
    }
}
.treuhand-single {
    .additional-info {
        color: #666;
    }
}
.archive {
    .card {
        padding: 0;
        justify-content: space-between;
        overflow: clip;
        .image {
            width: 100%;
            box-sizing: border-box;

            img {
                width: 100%;
                height: 200px;
                object-fit: cover;
            }
        }

        h2 {
            font-size: 1.1rem;
        }

        .card-content {
            box-sizing: border-box;
            width: 100%;
            padding-left: 24px;
            padding-right: 24px;
            padding-bottom: 24px;
            text-align: left;

        }
    }
}

.testimonial {
    .image {
        max-width: 170px;

        img {
            width: 100%;
            border-radius: 30px;
        }
    }

    .icon {
        height: 40px;
        width: 40px;
        border-radius: 18px;
        background: var(--color-violet-lighter);
        color: var(--color-violet);
    }
}

.nav-links {
    display: flex;
    gap: 4px;
    font-size: 0.9rem;

    .current, .page-numbers {
        text-decoration: none;
        display: flex;
        align-items: center;
        justify-content: center;
        min-width: 30px;
        height: 30px;
        background: var(--color-violet-lighter);
        color: var(--color-violet);
        border-radius: 3px;
        padding: 4px;
        box-sizing: border-box;


    }

    .next, .prev {
        padding: 4px 12px;
        background: transparent !important;
    }

    .page-numbers:not(.current) {
        background: var(--color-violet-lightest-more);
        transition: all 200ms;
        &:hover {
            background: var(--color-violet-lighter);
        }
    }
}

.faq {
    font-size: 0.9rem;

    .faq-item {
        border: 1px solid rgba(12, 12, 12, 0.44);
        gap: 0;
        padding: 12px 12px 12px 12px;
        border-radius: 8px;

        &:hover {
            cursor: pointer;
        }

        .faq-item__title {
            font-weight: 500;
            outline: none;

            &:focus.keyboard-focus {
                outline: 1px solid var(--color-violet);
            }

            .icon {
                height: 10px;
                width: 10px;
                position: relative;
                background: transparent;
                padding: 0;
                margin-bottom: 0;

                .left {
                    display: block;
                    content: '';
                    height: 10px;
                    width: 2px;
                    background: var(--color-black);
                    position: absolute;
                    transition: all 500ms;
                }

                .right {
                    display: block;
                    content: '';
                    height: 10px;
                    width: 2px;
                    background: var(--color-black);
                    transform: rotate(90deg);
                }
            }

            &.open {
                .icon {
                    .left {
                        transform: rotate(90deg);
                    }
                }
            }
        }

        .faq-item__content {
            max-height: 0;
            overflow: hidden;
            padding-left: 0;
            padding-right: 0;
            padding-top: 0;
            padding-bottom: 0;
            font-size: 0.85rem;
            font-weight: 300;
            opacity: 0;
            transition: none;

            &.open {
                max-height: 2000px;
                padding-top: 12px;
                padding-bottom: 0;
                padding-right: 48px;
                opacity: 1;
                transition: max-height 200ms ease-out, 
                            padding-bottom 200ms ease-out,
                            opacity 150ms ease-out;
            }
        }

        .faq-item__plus {
            min-width: 30px;
        }
    }

}

.icon-row {
    svg {
        margin-top: 3px;
        color: var(--color-violet);
        height: 18px;
        width: 18px;
    }
}

/* Base element */
h1.title {
    font-size: 45px;
    font-weight: 600;
    line-height: 60px;
    text-align: center;
    margin: 0;
}

h2 {
    font-size: 1.7rem;
    font-weight: 600;
    margin: 0;
}

h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0;
}
button, .button {
    font-family: Poppins;
    border: none;
    padding: 8px 24px;
    color: white;
    border-radius: 6px;
    transition: all 200ms;
    font-weight: 500;
    text-transform: uppercase;
    text-decoration: none;
    font-size: 14px;
    min-width: fit-content;

    &:hover {
        cursor: pointer;
    }
}

button.primary, .button.primary {
    background: var(--color-violet);
    border: 2px solid var(--color-violet);

    &:hover {
        background: transparent;
        color: var(--color-violet);
    }
}

button.primary, .button.primary {
    background: var(--color-violet);
    border: 2px solid var(--color-violet);

    &:hover {
        background: transparent;
        color: var(--color-violet);
    }
}

button.white, .button.white {
    background: white;
    border: 2px solid white;
    color: var(--color-violet);

    &:hover {
        background: transparent;
        color: white;
    }
}

button.secondary, .button.secondary {
    background: transparent;
    border: 2px solid var(--color-violet);
    color: var(--color-violet);

    &:hover {
        background: var(--color-violet);
        color: white;
    }
}

button.small, .button.small {
    font-size: 0.75rem;
    padding: 6px 12px;
}

button.smaller, .button.smaller {
    font-size: 0.65rem;
    padding: 4px 12px;
}

input[type=text], input[type=email] {
    background-color: #ffffff;
    border-width: 0px 0px 0px 0px;
    border-radius: 4px;
    margin-top: 1px;
    height: 38px;
    box-shadow: 0 0 10px -5px #00000029;
    padding: 4px 12px;
    box-sizing: border-box;

    &.big {
        min-width: 200px;
    }

    &:focus {
        outline-color: var(--color-violet);
    }
}

.wp-element-caption {
    font-size: 0.8rem;
    line-height: 0.8rem;
}

/* General styling classes */
.sticky-top {
    position: sticky;
    top: 0;
}
.grid-col-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Exactly 3 columns */
}
.grid-col-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Exactly 3 columns */
}

.row {
    display: flex;
    flex-direction: row;
}

.row-reverse {
    display: flex;
    flex-direction: row-reverse;
}

.col {
    display: flex;
    flex-direction: column;
}

.justify-center {
    justify-content: center;
}

.justify-between {
    justify-content: space-between;
}

.justify-end {
    justify-content: flex-end;
}

.justify-start {
    justify-content: flex-start;
}

.items-start {
    align-items: flex-start;
}

.items-center {
    align-items: center;
}

.items-end {
    align-items: flex-end;
}

.gap4 {
    gap: 4px;
}

.gap8 {
    gap: 8px;
}

.gap12 {
    gap: 12px;
}

.gap18 {
    gap: 18px;
}

.gap24 {
    gap: 24px;
}

.gap32 {
    gap: 32px;
}

.gap48 {
    gap: 48px;
}

.gap72 {
    gap: 72px;
}

.gap140 {
    gap: 140px;
}

.gap200 {
    gap: 200px;
}

.no-margin {
    margin: 0;
}
.mt-48 {
   margin-top: 48px;
}

.mt-32 {
   margin-top: 32px;
}
.no-margin-all {
    > * {
        margin: 0;
    }
}

.w-content {
    max-width: 1280px;
    width: 100%;
    margin: 0 auto;
}

.w-200 {
    max-width: 200px;
    width: 100%;
}

.w-300 {
    max-width: 300px;
    width: 100%;
}

.w-400 {
    max-width: 400px;
    width: 100%;
}

.w-500 {
    max-width: 500px;
    width: 100%;
}

.w-600 {
    max-width: 600px;
    width: 100%;
}

.w-800 {
    max-width: 800px;
    width: 100%;
}

.w-1100 {
    max-width: 1100px;
    width: 100%;
}
.w-30 {
    width: 30%;
}

.w-33 {
    width: 33.333%;
}

.w-50 {
    width: 50%;
}
.w-70 {
    width: 70%;
}

.w-90 {
    width: 90%;
}
.w-100 {
    width: 100%;
}

.h-100 {
    height: 100%;
}

.radius-24 {
    border-radius: 24px;
}

.p-24 {
    padding: 24px;
}

.p-32 {
    padding: 32px;
}

.p-48 {
    padding: 48px;
}

.p-72 {
    padding: 72px;
}

.p-120 {
    padding: 120px;
}

.py-0 {
    padding-top: 0;
    padding-bottom: 0;
}

.py-24 {
    padding-top: 24px;
    padding-bottom: 24px;
}

.py-32 {
    padding-top: 32px;
    padding-bottom: 32px;
}

.py-48 {
    padding-top: 48px;
    padding-bottom: 48px;
}

.py-72 {
    padding-top: 72px;
    padding-bottom: 72px;
}

.py-120 {
    padding-top: 120px;
    padding-bottom: 120px;
}

.border-box {
    box-sizing: border-box;
}

.relative {
    position: relative;
}

.cover {
    object-fit: cover;
}

.whitespace-pre {
    white-space: pre;
}
.whitespace-preserve {
    white-space: preserve;
}

.text-transform-none {
    text-transform: none;
}

.text-left {
    text-align: left;
}

.text-center {
    text-align: center;
}

.text-right {
    text-align: right;
}

.text-bigger {
    font-size: 1.3rem;
}

.text-big {
    font-size: 1.2rem;
}

.text-normal {
    font-size: 1rem;
}

.text-small {
    font-size: 0.9rem;
}

.text-smaller {
    font-size: 0.8rem;
    font-weight: 300;
}

.text-smallest {
    font-size: 0.75rem;
    font-weight: 300;
}

.text-black {
    color: var(--color-black);

    &:hover {
        color: var(--color-black);
    }
}

.text-violet {
    color: var(--color-violet);
}

.font-thin {
    font-weight: 300;
}

.font-normal {
    font-weight: 400;
}

.font-bold {
    font-weight: 500;
}

.font-bolder {
    font-weight: 600;
}

.font-boldest {
    font-weight: 700;
}

.text-violet {
    color: var(--color-violet);
}

.italic {
    font-style: italic;
}

.shadow {
    box-shadow: 0 0 10px -5px #00000029;
}

.shadower {
    box-shadow: 0 3px 6px 0 rgb(0 0 0 / 16%) !important;
}

.bg-white {
    background: white;
}

.bg-violet {
    background: var(--color-violet);
}

.bg-violet-lighter {
    background: var(--color-violet-lighter);
}

.rounded-s {
    border-radius: 12px;
}
.rounded-m {
    border-radius: 24px;
}

.rounded-l {
    border-radius: 32px;
}

/** Custom elements */
.subtitle {
    color: var(--color-violet);
    font-weight: 500;
    width: fit-content;
    font-size: 0.85rem !important;
    background: var(--color-violet-lightest); /* semi-transparent white */
    backdrop-filter: blur(8px);           /* apply background blur */
    -webkit-backdrop-filter: blur(8px);   /* Safari support */
    border-radius: 9px;                   /* optional: smooth edges */
    padding: 4px 24px;                /* optional: add spacing */

}

.card {
    background: white;
    padding: 24px;
    border-radius: 20px;
    border: 1px solid #0c0c0c14;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 18px;
    text-align: center;
    box-sizing: border-box;

    .icon {
        display: flex;
        align-items: center;
        justify-content: center;
        box-sizing: border-box;
        border-radius: 4px;
        padding: 8px;
        height: 40px;
        width: 40px;
        background: var(--color-violet-lightest);
        color: var(--color-violet);
        svg {
            height: 100%;
        }
    }

    h3 {
        font-size: 1.2rem;
        color: var(--color-violet);
    }

    p, .text-smaller {
        margin: 0;
        font-size: 14px;
        font-weight: 400;
    }
}
.element-video {
    max-width: 100% !important;

    iframe {
      max-width: 100%;
        @media screen and (max-width: 550px) {
            height: 250px;
        }
    }
}
.feature-highlight {
    .icon {
        height: 24px;
        width: 24px;
        padding: 12px;
        border-radius: 4px;
        background: var(--color-violet-lighter);
        color: var(--color-violet);
        margin-bottom: 12px;
    }
    h4 {
        margin: 0;
    }
    p {
        margin: 0;
    }
}
.testimonial-card {
    padding: 16px;
    gap: 12px;
    font-size: 0.85rem;
    box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.07);
    border: 1px solid hsla(0, 0%, 90%, 1);
    border-radius: 12px;
    justify-content: flex-start;
    align-self: stretch;

    .testimonial-card__header {
        .testimonial-card__header_image {
            img {
                height: 36px;
                width: 36px;
                object-fit: cover;
                border-radius: 50px;
            }
        }
        .testimonial-card__header_image_mock {
            height: 36px;
            width: 36px;
            border-radius: 50px;
            background: var(--color-violet-lightest);
            align-content: center;
            color: var(--color-violet);
            font-weight: 600;
        }
        .testimonial-card__header_google {
            height: 20px;
            width: 20px;
        }
    }
    .testimonial-card__rating {
        gap: 5px;
        .icon {
            background: transparent;
            padding: 0;
            height: 20px;
            width: 20px;
            svg {
                width: 20px;
                height: 20px;
            }
        }
    }

}

strong {
    font-weight: 600;
}
/** Animations */
.hidden {
    opacity: 0;
    transition: opacity 200ms ease-out, transform 0.5s ease-out;
    transform: translateY(20px);
}

.visible {
    opacity: 1;
    transition: opacity 200ms ease-out, transform 0.5s ease-out;
    transform: translateX(0px);
}

.feature-tooltip {
    text-decoration: underline dashed;
    text-decoration-thickness: 1px;
    text-underline-offset: 3.5px; /* adjust spacing between text and underline (optional) */
    text-decoration-color: oklch(70.8% 0 0);
    transition: all 200ms;
    cursor: default;
    padding-right: 8px;
}
.feature-tooltip:hover {
    text-decoration-color: oklch(43.9% 0 0);
}

.tooltip-box {
    position: fixed;
    background: rgba(51, 51, 51, 0.97);
    color: white;
    padding: 8px 12px;
    font-size: 12px;
    border-radius:8px;
    box-shadow:0 2px 6px rgba(0,0,0,0.15);
    z-index:9999;     /* make sure it's above everything */
    max-width:250px;
    pointer-events:none;

    /* animation */
    opacity:0;
    transform: translateY(6px);
    transition: opacity .15s ease, transform .15s ease;
}

.tooltip-box.is-visible {
    opacity:1;
    transform: translateY(0);
}


/** Partnerships */
.tag {
    background: var(--color-violet-lighter);
    color: var(--color-violet);
    font-size: 12px;
    padding: 2px 8px;
    border-radius: 4px;
}

.tag.tag-canton {
    background: #f5f5f5;
    color: #666;
}
.partner {
    border: 1px solid;
    transition: all 200ms;
    border-radius: 4px;
    &:hover {
        box-shadow: 0 1px 3px rgb(0 0 0 / 16%);

    }

    >.col>div:not(.image) {
        padding: 16px ;
    }
    > div:last-of-type {
        padding: 16px;
    }

    .image {
        height: 200px;
        img {
            height: 100%;
            width: auto;
            display: block;
            object-fit: contain;
        }
    }

    .pb {
        flex: 0 0 50px;
        width: 50px;
        height: 50px;
        border-radius: 50%;
        background-size: cover;
        background-position: center;
    }

    .label {
        color: #6b7280;
        font-size: 12px;
    }



    .text {
        font-size: 14px;
        max-height: 200px;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .button {
        font-weight: 400;
        padding: 3px 8px;
        text-transform: unset;
        border: 1px solid transparent;

        &:hover {
            border: 1px solid var(--color-violet);
        }
    }

}
.subfeatures {
    > div {
        box-sizing: border-box;
        .icon {
            margin-top: 5px;
        }

        h2 {
            font-weight: 500;
            margin-bottom: 16px;
        }

        padding: 36px;
        border-radius: 20px;
        border: 1px solid #0c0c0c14;
        background: linear-gradient(
                150deg,
                rgba(234, 233, 252, 0.3),
                rgba(255, 255, 255, 0.1)
        );

        .text-small, p {
            font-size: 16px;
            color: #666;
            margin-top: 0;
            margin-bottom: 16px;
        }

        &.row-reverse {
            background: linear-gradient(
                    -150deg,
                    rgba(234, 233, 252, 0.3),
                    rgba(255, 255, 255, 0.1)
            );
        }
    }

    img {
        max-width: 70%;
        width: 100%;
    }
}


@keyframes moveLightGradient {
    0% {
        background-size: 200%;
        background-position: left top;
    }
    50% {
        background-size: 200%;
        background-position: right center;
    }
    100% {
        background-size: 200%;
        background-position: left bottom;
    }
}

/* Disable cookie banner branding */
.biskoui-cookie-banner-signature {
    background: white !important;
    a {
        display: none !important;
    }
}

@media screen and (max-width: 1470px) {
    .hero {
        margin-left: 40px !important;
        margin-right: 40px !important;
    }
}
@media screen and (max-width: 1280px) {
    footer {
        padding-left: 20px;
        padding-right: 20px;
    }
}

@media screen and (max-width: 1120px) {
    .t-p24 {
        padding: 24px;
    }
    .t-p32 {
        padding: 32px;
    }
    .t-p40 {
        padding: 40px;
    }
    .t-p64 {
        padding: 64px;
    }
}
@media screen and (min-width: 1024px) {
    .tablet {
        display: none;
    }
    .desktop {
        display: unset;
    }
}

@media screen and (max-width: 1024px) {
    #headerContent {
        > * {
            width: 33%;
        }
        .header-button {
            display: flex;
            flex-direction: column;
            align-items: center;
        }
        .mobile-nav {
            display: flex;
            flex-direction: column;
            align-items: flex-end;
            padding: 24px 0 24px 24px;
        }
    }
    .desktop {
        display: none;
    }

    .tablet {
        display: unset;
    }
    header {
        &.small {
            display: none !important;
        }
    }

    header#small {
        display: none;
    }
    header {

        overflow: hidden;
        #mobileNav {
            position: fixed;
            width: fit-content;
            max-width: 100vw;
            min-width: 100vw;
            background: white;
            top: 56px;
            right: 0;
            transform: translateX(400px);
            transition: all 200ms;
            padding: 20px 32px;
            box-sizing: border-box;
            opacity: 0;
            min-height: 100vh;


            a {
                font-size: 1.1rem;
                font-weight: 600;
            }

            ul {
                padding-left: 0;
            }

            .buttons-mobile-nav {
                margin-bottom: 24px;

                .button {
                    padding: 4px 12px ;
                    font-size: 14px;
                }
            }

            .mobile-menu-section {
                margin-top: 32px;

                .mobile-menu-heading {
                    font-size: 1.1rem;
                    font-weight: 600;
                    margin-bottom: 12px;
                    color: var(--color-black);
                }
            }

            .menu-main-container {
                & .menu-item-has-children {
                    &::after {
                        content: "";
                        position: absolute;
                        left: calc(100% - 24px);
                        width: 24px;
                        height: 24px;
                        top: 15px;
                        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23333' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='lucide lucide-chevron-right'%3E%3Cpath d='m9 18 6-6-6-6'/%3E%3C/svg%3E");
                        transform: rotate(90deg);
                        background-repeat: no-repeat;
                    }
                }
                li {
                    padding-top: 12px;
                    padding-bottom: 12px;
                    border-bottom: 0.5px solid #666;
                }
                .sub-menu {
                    grid-template-columns: repeat(1, auto);
                    gap: 6px;
                    position: relative;
                    border: 0;
                    box-shadow: none;
                    top: 0;
                    left: 0;
                    visibility: visible;
                    opacity: 1;
                    transform: translateY(0);
                    height: 0;
                    padding: 0;

                    li {
                        padding-bottom: 4px;
                        border-bottom: none;;
                    }

                    a {
                        font-size: 18px;
                        font-weight: 400;

                    }

                }
            }
            &.tablet {
                transform: translateX(5000px);
            }
            &.open {
                opacity: 1;
                transform: translateX(0);
            }

        }
    }

    #block-content {
        > div, > section {
            padding-left: 20px;
            padding-right: 20px;
            max-width: 100%;
            box-sizing: border-box;
        }
    }

    .hero {
        border-radius: 0 !important;
        padding-top: 120px;
        margin-top: -60px !important;
        margin-left: 0px !important;
        margin-right: 0px !important;

        h1 {
            font-size: 38px !important;
        }
        > .w-1100 {
            padding: 20px;
        }

        .center {
            margin: 0 auto !important;
        }

        .img-wrapper, .image {
            max-width: 100% !important;
            box-sizing: border-box;
            width: 100%;
            padding: 20px 0 !important;
            background: transparent !important;
            border: 0 !important;
            min-height: unset !important;
        }
    }

    .m-col {
        flex-direction: column;

        &.m-col-reverse {
            flex-direction: column-reverse;
        }

        .w-50 {
            width: 100%;
        }

        .w-33 {
            width: 100%;
        }
    }

    .m-items-start {
        align-items: flex-start;
    }
    .m-items-center {
        align-items: center;
    }
    .grid-col-3 {
        grid-template-columns: repeat(2, 1fr); /* Exactly 3 columns */
    }

    .t-justify-center {
        justify-content: center;
    }
    .two-col-feature {
        .w-70 {
            width: 50%;
        }
    }
    .advantage {
        &:nth-of-type(2) {
            border-left: 0px solid transparent !important;
            border-right: 0px solid transparent !important;
            border-top: 2px solid #f0f0f0;
            border-bottom: 2px solid #f0f0f0;
        }
    }
    .one-col {
        padding-left: 20px;
        padding-right: 20px;
        box-sizing: border-box;
    }
}

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

    .hero {
        padding-top: 100px !important;
    }

    .header-button {
        display: none !important;
    }
    .xs-col {
        flex-direction: column;
    }
    .xs-items-start {
        align-items: flex-start;
    }
    .xs-items-center {
        align-items: center;
    }
    .xs-text-center {
        text-align: center;
    }
    .t-p24 {
        padding: 16px;
    }
    .t-p32 {
        padding: 20px;
    }
    .t-p40 {
        padding: 24px;
    }
    .t-p64 {
        padding: 32px;
    }
}

@media screen and (max-width: 576px) {
    .hero {
        &.center {
            padding: 50px 0;
            margin: 0 auto;
        }

        h1 {
            font-size: 32px !important;
            line-height: 46px !important;
            &.subtitle {
                font-size: 0.9rem !important;
                line-height: unset !important;
            }
        }

        p {
            font-size: 1rem;
        }
        form.row {
            flex-direction: column;
            width: 100%;

            .button, button {
                width: 100%;
            }
        }
    }
    .two-col-feature {
        .w-50 {
            width: 100%;

            img {
                width: 100%;
            }
        }
    }
    .p-72 {
        padding: 36px;
    }
    .py-72 {
        padding-top: 36px;
        padding-bottom: 36px;
    }
    .py-120 {
        padding-top: 60px;
        padding-bottom: 60px;
    }
    .grid-col-3 {
        grid-template-columns: repeat(1, 1fr); /* Exactly 3 columns */
    }
    .grid-col-2 {
        grid-template-columns: repeat(1, 1fr); /* Exactly 3 columns */
    }

    .two-col-feature {
        .w-70 {
            width: 100%;
        }
    }
}
.one-col {
    h1 {
        margin-bottom: 0;
    }
}

/* Page Icon Styles */
.page-icon {
    margin: 16px 0 24px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    
    svg {
        width: 48px;
        height: 48px;
        color: var(--color-violet);
        stroke: currentColor;
    }
}
/** Team Section */
.team-section {
    padding-top: 32px;
    padding-bottom: 32px;
    .team-grid {
        max-width: 800px;
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 24px;
        box-sizing: border-box;
        
        @media (max-width: 768px) {
            grid-template-columns: 1fr;
        }
    }
    
    .team-member {
        text-align: left;
        background: var(--color-violet-lightest-more);
        
        .team-member__image-wrapper {
            position: relative;
            width: 100%;
            overflow: hidden;

            .team-member__image-primary,
            .team-member__image-secondary {
                width: 100%;
                height: auto;
                transition: opacity 0.3s ease;

                img {
                    width: 100%;
                    height: auto;
                    display: block;
                }
            }
            
            .team-member__image-primary {
                position: relative;
                z-index: 1;
            }
            
            .team-member__image-secondary {
                position: absolute;
                top: 0;
                left: 0;
                opacity: 0;
                z-index: 2;
            }
        }
        
        &.has-secondary-image:hover {
            .team-member__image-wrapper {
                .team-member__image-primary {
                    opacity: 0;
                }
                
                .team-member__image-secondary {
                    opacity: 1;
                }
            }
        }
        
        h3 {
            padding: 12px 12px 0 12px;
            text-align: left;
            margin-top: 0;
            margin-bottom: 4px;
            font-size: 18px;
            font-weight: 500;
        }
        
        p {
            padding: 0 12px 18px 12px;

            margin: 0;
        }
    }
}

.canton-filter-select {
    padding: 8px 32px 8px 12px !important;
    border: 1px solid #ddd !important;
    border-radius: 4px !important;
    background-color: #fff !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23333' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 10px center !important;
    background-size: 16px 16px !important;
    cursor: pointer !important;
    transition: border-color 0.2s ease !important;
}

.canton-filter-select:hover {
    border-color: var(--color-violet) !important;
}

.canton-filter-select:focus {
    outline: none !important;
    border-color: var(--color-violet) !important;
    box-shadow: 0 0 0 2px rgba(var(--color-violet-rgb, 139, 92, 246), 0.2) !important;
}

.partners-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 160px;
    background: #f9f9f9;
    padding: 24px;
    box-sizing: border-box;
}

.partners-logo img,
.partners-logo-img {
    max-height: 120px !important;
    width: auto !important;
    object-fit: contain !important;
}

.partners-offer {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 12px;
    background-color: var(--color-violet-lighter);
    color: var(--color-violet);
    border-radius: 4px;
    width: 100%;
}

.partners-offer svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.partners-offer span {
    font-size: 0.85rem;
}

.treuhaender-card .image {
    min-height: 200px;
    max-height: 200px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.treuhaender-card .image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.treuhaender-card .image.partners-logo {
    min-height: 200px;
    max-height: 200px;
}

.treuhaender-card .image.partners-logo img {
    object-fit: contain;
}

.treuhand-single h1,
.integrationen-single h1 {
    font-size: 20px;
}

@media screen and (min-width: 1024px) {
    .treuhand-single h1,
    .integrationen-single h1 {
        font-size: 24px !important;
    }
}

.table-wrapper {
    overflow-x: auto;
    width: 100%;
}

.content-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
    
    th {
        text-align: left;
        font-weight: 600;
        padding: 12px;
        border-bottom: 2px solid var(--color-violet);
        background-color: rgba(234, 233, 252, 0.3);
    }
    
    td {
        padding: 12px;
        border-bottom: 1px solid rgba(12, 12, 12, 0.1);
    }
    
    tr:last-child {
        td {
            border-bottom: none;
        }
    }
    
    tr:hover {
        background-color: rgba(234, 233, 252, 0.1);
    }
}