/* ========================================
   RESET
======================================== */

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
}


/* ========================================
   HEADER – MOBILE BASIS
======================================== */

.site-header {
    position: fixed;

    top: 0;
    left: 0;

    width: 100%;
    height: 80px;

    padding: 0 20px;

    display: flex;
    align-items: center;

    z-index: 10000;

    background: #fff;

    transition: background 0.2s ease;
}


/* ========================================
   LOGO
======================================== */

.logo {
    color: #000;

    text-decoration: none;

    font-size: 1.25rem;
    font-weight: 500;
}


/* ========================================
   DESKTOP NAVIGATION
   MOBILE: AUSGEBLENDET
======================================== */

.desktop-navigation {
    display: none;
}

.desktop-navigation a,
.work-link {
    color: #000;

    text-decoration: none;

    font-family: inherit;

    font-size: 1rem;
    font-weight: 400;

    line-height: 1;
}


/* ========================================
   WORK BUTTON
======================================== */

.work-link {
    border: 0;

    background: transparent;

    padding: 0;
    margin: 0;

    cursor: pointer;

    appearance: none;
    -webkit-appearance: none;
}


/* ========================================
   DESKTOP DROPDOWN
======================================== */

.nav-work {
    position: relative;
}


.work-submenu {
    position: absolute;

    top: 100%;
    left: 0;

    margin-top: 15px;

    min-width: 180px;

    display: flex;
    flex-direction: column;

    background: #fff;

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transition: opacity .2s ease;
}


/*
Unsichtbare Brücke zwischen Work
und Dropdown
*/

.nav-work::after {
    content: "";

    position: absolute;

    top: 100%;
    left: 0;

    width: 100%;
    height: 20px;
}


.nav-work:hover .work-submenu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}


.work-submenu a {
    display: block;

    padding: 12px 18px;

    color: #000;

    font-size: .875rem;

    white-space: nowrap;
}


.work-submenu a:hover {
    color: #888;
}


/* ========================================
   HAMBURGER – MOBILE BASIS
======================================== */

.menu-toggle {
    display: block;

    position: absolute;

    top: 50%;
    right: 15px;

    width: 50px;
    height: 50px;

    border: 0;

    background: transparent;

    cursor: pointer;

    transform: translateY(-50%);

    z-index: 10001;
}


.menu-toggle span {
    position: absolute;

    left: 10px;

    width: 30px;
    height: 2px;

    background: #000;

    transition: transform .25s ease;
}


.menu-toggle span:first-child {
    top: 20px;
}


.menu-toggle span:last-child {
    top: 28px;
}


/* ========================================
   HAMBURGER X
======================================== */

.menu-toggle.is-open span:first-child {
    transform: translateY(4px) rotate(45deg);
}


.menu-toggle.is-open span:last-child {
    transform: translateY(-4px) rotate(-45deg);
}


/* ========================================
   MOBILE MENU OPEN COLORS
======================================== */

body.menu-open .site-header {
    background: transparent;
}


body.menu-open .logo {
    color: #fff;
}


body.menu-open .menu-toggle span {
    background: #fff;
}


/* ========================================
   FULLSCREEN MOBILE MENU
======================================== */

.fullscreen-menu {
    position: fixed;

    inset: 0;

    width: 100%;
    height: 100dvh;

    background: #000;

    color: #fff;

    z-index: 9998;

    display: none;

    flex-direction: column;
}


.fullscreen-menu.is-open {
    display: flex;
}


/* ========================================
   MOBILE NAVIGATION
======================================== */

.menu-navigation {
    margin-left: 20px;
    margin-top: 16vh;

    display: flex;
    flex-direction: column;

    gap: 1rem;
}


.menu-navigation a,
.mobile-work-toggle {
    color: #fff;

    text-decoration: none;

    font-size: 1.4rem;
    font-weight: 400;

    line-height: 1.1;

    padding: 0;
    margin: 0;

    border: 0;

    background: transparent;

    cursor: pointer;

    text-align: left;
}


.menu-navigation a:hover,
.mobile-work-toggle:hover {
    color: rgba(255,255,255,0.7);
}


/* ========================================
   MOBILE WORK SUBMENU
======================================== */

.mobile-work-submenu {
    display: none;

    flex-direction: column;

    margin-left: 1rem;

    padding-top: 1rem;
    padding-bottom: 1rem;

    gap: 1.25rem;
}


.mobile-work-submenu.is-open {
    display: flex;
}


.mobile-work-submenu a {
    font-size: 1rem;
}


/* ========================================
   MOBILE FOOTER
======================================== */

.mobile-menu-footer {
    margin-top: auto;

    padding-left: 20px;
    padding-bottom: 35px;

    font-size: .8rem;
}


.mobile-menu-footer a {
    color: #fff;

    text-decoration: none;
}


.footer-social,
.footer-legal {
    display: flex;

    gap: 15px;
}


.footer-social {
    margin-bottom: 12px;
}


.footer-legal {
    margin-bottom: 25px;
}


.mobile-menu-footer p {
    margin: 0;

    color: #fff;
    opacity: .6;
}


/* ========================================
   DESKTOP
   AB 601 PX
======================================== */

@media (min-width: 601px) {

    /* HEADER */

    .site-header {
        padding: 0 40px;
    }


    /* DESKTOP NAVIGATION */

    .desktop-navigation {
        margin-left: auto;
        display: flex;
        align-items: center;
        gap: 30px;
    }
	
	/* HAMBURGER AUSBLENDEN */

    .menu-toggle {
        display: none;
    }


    /* MOBILE MENÜ AUSBLENDEN */

    .fullscreen-menu {
        display: none !important;
    }
    
	
}