
/* =======================
   Basis
======================= */

html {
	box-sizing: border-box;
	scroll-behavior: auto;
}

*,
*::before,
*::after {
	box-sizing: inherit;
}

body {
	margin: 0px;
	font-family: Arial, sans-serif;
}

a {
	text-decoration: none;
}

.container {
	width: 1200px;
	max-width: 100%;
	margin: 0px auto;
	padding-left: 0px;
	padding-right: 0px;
}



/* =======================
   Anker
======================= */

#anker, 
#anker1, 
#anker2,
#anker3,
#anker4,
#anker5,
#faq-verkehrsleitung,
#faq-eu-lizenz,
#faq-unternehmensberatung {
	scroll-margin-top: 114px;
}

@media only screen and (max-width: 1023px) {
	#anker, 
	#anker1, 
	#anker2,
	#anker3,
	#anker4,
	#anker5,
	#faq-verkehrsleitung,
    #faq-eu-lizenz,
	#faq-unternehmensberatung {
		scroll-margin-top: 90px;
	}
}




/* =======================
   Scroll to top
======================= */

.scroll-top-button {
    position: fixed;
    right: 20px;
    bottom: 20px;
    width: 62px;
    height: 62px;
    border: 0px;
    padding: 0px;
    background-color: transparent;
    background-image: url("../images/scroll-to-top.webp");
    background-repeat: no-repeat;
    background-position: center center;
    background-size: contain;
    cursor: pointer;
    z-index: 999;

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease;
}

.scroll-top-button.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.scroll-top-button:hover {
    transform: scale(1.05);
}

.scroll-top-button:active {
    transform: scale(0.96);
}


/* Mobile <=1023 */
@media only screen and (max-width: 1023px) {
    .scroll-top-button {
        right: 16px;
        bottom: 16px;
        width: 56px;
        height: 56px;
    }
}


/* Mobile <=560 */
@media only screen and (max-width: 560px) {
    .scroll-top-button {
        right: 14px;
        bottom: 14px;
        width: 48px;
        height: 48px;
    }
}



/* =======================
   CTA Schubladen Desktop
======================= */

.cta-drawer-wrap {
    position: fixed;
    top: 355px;
    right: 0px;
    z-index: 950;
    display: flex;
    flex-direction: column;
    gap: 30px;
	align-items: flex-end;
	
	opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.site-header.is-scrolled ~ .cta-drawer-wrap {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.cta-drawer {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 60px;
    height: 56px;
    padding: 0px 16px 0px 14px;
    background: #E0A700;
    color: #000000;
    text-decoration: none;
    border-radius: 12px 0px 0px 12px;
    overflow: hidden;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.22);
    flex: 0 0 auto;

    transform: translateX(0px);
    transition:
        width 0.35s ease,
        transform 0.35s ease,
        box-shadow 0.25s ease;
}

.cta-drawer:hover {
    width: 170px;
    transform: translateX(0px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.28);
}

.cta-drawer-icon {
    display: inline-block;
    width: 30px;
    height: 35px;
    flex: 0 0 30px;
    background-image: url("../images/icons6.png");
    background-repeat: no-repeat;
    background-size: auto;
}

.cta-drawer-text {
    margin-left: 16px;
    font-size: 17px;
    line-height: 1.2;
    font-weight: bold;
    color: #000000;
    white-space: nowrap;

    opacity: 0;
    transform: translateX(8px);
    transition:
        opacity 0.18s ease,
        transform 0.25s ease;
}

.cta-drawer:hover .cta-drawer-text {
    opacity: 1;
    transform: translateX(0px);
    transition-delay: 0.1s;
}

.cta-drawer:hover .cta-drawer-text {
    opacity: 1;
    transition-delay: 0.12s;
}

.icon-cta-phone {
    background-position: 0px -5px;
}

.icon-cta-mail {
    background-position: 0px -69px;
}

.icon-cta-location {
    background-position: 0px -142px;
}


/* =======================
   Desktop 1024-1199
======================= */

@media only screen and (min-width: 1024px) and (max-width: 1199px) {

    .cta-drawer-wrap {
        top: 320px;
        gap: 24px;
    }

    .cta-drawer {
        width: 60px;
        height: 54px;
        padding: 0px 18px 0px 15px;
    }

    .cta-drawer:hover {
        width: 190px;
    }

    .cta-drawer-text {
        margin-left: 16px;
        font-size: 16px;
    }
}


/* =======================
   Mobile <=1023
======================= */

@media (max-width: 1023px) {
    .cta-drawer-wrap {
        display: none;
    }
}




/* =======================
   Mobile CTA Buttons
======================= */

.mobile-cta-wrap {
    display: none;
}


/* =======================
   Mobile <=1023
======================= */

@media (max-width: 1023px) {

    .mobile-cta-wrap {
        position: fixed;
        right: 14px;
        bottom: 14px;
        z-index: 999;
        display: flex;
        flex-direction: column;
        gap: 14px;
        align-items: center;
    }

    .mobile-cta-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 50px;
        height: 50px;
        border: 0px;
        border-radius: 50%;
        padding: 0px;
        background: transparent;
        cursor: pointer;
        text-decoration: none;
        transition: transform 0.25s ease, box-shadow 0.25s ease;
    }

    .mobile-cta-btn:hover {
        transform: scale(1.06);
    }

    .mobile-cta-btn:active {
        transform: scale(0.96);
    }

    .mobile-cta-icon {
        display: block;
        width: 50px;
        height: 50px;
        background-image: url("../images/icons7.png");
        background-repeat: no-repeat;
        background-size: 50px auto;
    }

	.icon-mobile-scroll-top {
        background-position: 0px 0px;
    }
	
    .icon-mobile-phone {
        background-position: 0px -73px;
    }

    .icon-mobile-mail {
        background-position: 0px -142px;
    }

    .icon-mobile-location {
        background-position: 0px -210px;
    }

    /* Desktop-Scrollbutton mobil ausblenden */
    .scroll-top-button {
        display: none !important;
    }
}


/* =======================
   Mobile <=560
======================= */

@media (max-width: 560px) {

    .mobile-cta-wrap {
        right: 10px;
        bottom: 10px;
        gap: 12px;
    }

    .mobile-cta-btn {
        width: 50px;
        height: 50px;
    }

    .mobile-cta-icon {
        width: 50px;
        height: 50px;
        background-size: 50px auto;
    }
}



