/* ----------------------------------------------------------------
	Custom CSS

	Add all your Custom Styled CSS here for New Styles or
	Overwriting Default Theme Styles for Better Handling Updates
-----------------------------------------------------------------*/

:root {
    --cnvs-themecolor: #4f39f6;
    --cnvs-themecolor-rgb: 79, 57, 246;
    --cnvs-gradient-color: linear-gradient(to right, #c216cd, #439719);
    --cnvs-header-bg: rgba(0, 0, 0, 0);
}

/* --- DM SANS (als Variable Font) --- */
@font-face {
    font-family: 'DM Sans';
    src: url('../fonts/DMSans-VariableFont_opsz-wght.ttf') format('truetype-variations');
    font-weight: 100 1000; /* Deckt alle Stärken ab */
    font-style: normal;
    font-display: swap;
}

#slider {
    background-image: linear-gradient(225deg, #4f39f6 30%, #7f71ec 100%);
}

#header {
    position: absolute;
    --cnvs-primary-menu-color: #fff;
    --cnvs-primary-menu-hover-color: #000;
    --cnvs-primary-menu-submenu-top-border: 0px;
    width: 100%;
}

.device-up-lg .menu-link:hover,
.device-up-lg .menu-item:hover > .menu-link {
    color: #000 !important;
}

#header-wrap {
    border-bottom: 0;
}

#header.transparent-header:not(.sticky-header) .button {
    color: #fff;
    border-color: #fff;
}

#header.transparent-header:not(.sticky-header) .button:hover {
    color: #000!important;
    border-color: #fff;
    background-color: rgb(250, 225, 129);

}

#header.button:hover {
    color: #000!important;
    background-color: rgb(250, 225, 129);
}


.cnvs-hamburger-box span {
    background-color: #fff!important;
}
.cnvs-hamburger-box span:before {
    background-color: #fff!important;
}
.cnvs-hamburger-box span:after {
    background-color: #fff!important;
}

.primary-menu {
    background-color: white;
    border-radius: 5px;
}

.menu-link {
    color: #000;
    text-align: center;
}

.device-up-lg #header.sticky-header .menu-link {
    color: #000!important;
    text-align: center;
}

.device-up-lg .primary-menu {
    background-color: rgba(0,0,0,0);
    border-radius: 5px;
}

.device-up-lg .menu-link {
    color: #fff;
    text-align: center;
}




#header.sticky-header {
    --cnvs-header-sticky-bg: #fff;
    --cnvs-primary-menu-color: #000;
}

.device-up-lg .header-misc {
    display: block;
}

.header-misc {
    display: none;
}

.logo-default {
    object-fit: contain;
    max-width: 170px !important;
}

.logo-sticky {
    object-fit: contain;
    max-width: 170px !important;
}

.button:hover {
    background-color: rgb(250, 225, 129);
    color: #000;
}

#slider {
    --cnvs-heading-color: #fff;
    color: #fff;
}

.device-down-lg #hero-text {
margin-top: 30px;
}

.badge {
    background-color: var(--cnvs-themecolor) !important;
    color: #fff !important;
}

/* Impressum page - opaque header */
.page-static-header #header {
    position: relative;
    background-color: #fff;
    --cnvs-primary-menu-color: #000;
}

.page-static-header #header .logo-default {
    display: none !important;
}

.page-static-header #header .logo-sticky {
    display: block !important;
}

.page-static-header #header.transparent-header:not(.sticky-header) .button {
    color: #000;
    border-color: #000;
}

/* Prevent flash of mobile menu on desktop before JS initializes is-expanded-menu/device-up-lg */
@media (min-width: 992px) {
    .primary-menu-trigger {
        display: none !important;
        opacity: 0;
        pointer-events: none;
    }

    .menu-container:not(.mobile-primary-menu) {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
    }

    .header-misc {
        display: block;
        order: 6;
    }

    .primary-menu {
        flex: 0 0 auto;
        flex-grow: 0;
        background-color: transparent !important;
    }

    .menu-link {
        color: #fff;
    }

    .menu-item:not(:first-child) {
        border-top: 0;
    }
}

@media (min-width: 992px) {
    #pricing-switch {
        width: 50%;
        flex-shrink: 0;
        padding-left: 3rem;
    }
}

