﻿/* Standardmäßig den Swiper und Kachel-Container unsichtbar machen */
.swiper-container {
    display: block;
}

.video-container {
    display: none;
}
/* Checkbox & Icon ausblenden */
.menu-toggle, .menu-icon, .side-menu {
    display: none;
}

header {
    justify-content: center;
    flex-direction: column;
    background-color: white;
    position: relative;
}

    header.shrink {
        flex-direction: unset;
        justify-content: unset;
        padding-left:50px;
        padding-right:50px;
    }

        header.shrink .menu {
            margin-right:50px;
        }

        header .language {
            display: inline-block;
            margin-left: 0px;
            color: black;
        }


    header .logo {
        color: black;
        padding-top: 20px;
        padding-left: 0px;
        text-transform: none;
    }

        header .logo .instrument {
            font-family: var(--font-logo);
            color: black;
            -webkit-text-size-adjust: 100%;
            -webkit-tap-highlight-color: transparent;
            margin-top: -10px;
            margin-bottom: 10px;
            text-align: center;
            text-transform: none;
        }

    header .menu {
        /*position: relative;*/
        right: 0px;
        top: 0px;
        color: black;
        /*margin-left: 0px;*/
        padding-bottom: 20px;
        text-transform: none;

        position: unset;
        margin-left: 0px;
        
    }

        header .menu a {
            color: black !important;
            text-decoration: none;
            margin-left: 10px;
        }

        header .menu.open .sandwich {
            top: 24px;
        }

.start {
    background-attachment:unset;
    background-position: top;
    background-repeat: no-repeat;
    background-size: cover;
}

@media screen and (max-width: 590px) {




    .sub-header {
        border-bottom: solid 5px var(--header-color);
        height: 145px;
        margin-bottom: 150px;
    }

    h3 {
        display: flex;
        align-items: center; /* Vertikale Zentrierung */
        justify-content: center; /* Horizontale Zentrierung */
        width: 280px;
        height: 280px;
        border-radius: 50%;
        background-color: var(--header-color);
        border: solid 30px white;
        color: white;
        text-align: center;
        font-size: 2rem;
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
    }

    /***************************************/
    .sub-header {
        text-transform: none;
        letter-spacing: 2px;
    }
    /***************************************/

}

@media only screen and (max-width: 810px) {

    header .menu a {
        margin-left: 0px;
        margin-right: 0px;
    }

    h3 {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 204px;
        height: 204px;
        border-radius: 50%;
        background-color: var(--header-color);
        border: solid 30px white;
        color: white;
        text-align: center;
        font-size: 1.5rem;
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
    }

    .sub-header {
        height: 105px;
        margin-bottom: 100px;
    }

    header.shrink {
        justify-content: normal;
        flex-direction: unset;
    }

    header .language {
        display: inline-block;
        margin-left: 0px;
    }
}

/****************************************************/

@media screen and (max-width: 810px) {


    header.shrink {
        padding-left:20px;
        padding-right:20px;
    }

    header .menu {
        margin-right: 0px;
        width: 100%;
        text-align: center;
    }
    header.shrink .menu {
        width: auto;
        margin-right:10px;
    }

    header.shrink .menu .language {
        padding-right: 60px;
    }
        /* ☰-Icon anzeigen */
        header .menu .sandwich {
            display: inline-block !important;
            width: 25px;
            height: 25px;
            cursor: pointer;
            position: absolute;
            top: -66px;
            margin-left: 15px;
            right: 20px;
        }
        header.shrink .menu .sandwich {
            top: 3px;
            right: 10px;
        }

    /* Hamburger-Balken-Styling */
    .sandwich span {
        position: relative;
        width: 25px;
        height: 2px;
        background: black;
        display: inline-block !important;
        transition: all 0.3s ease;
        top: 0px;
    }

        .sandwich span::before,
        .sandwich span::after {
            content: "";
            position: absolute;
            width: 25px;
            height: 2px;
            background: black;
            left: 0;
            transition: all 0.3s ease;
        }

        .sandwich span::before {
            top: -8px;
        }

        .sandwich span::after {
            top: 8px;
        }

    /* Menü-Links standardmäßig ausblenden */
    header .menu > a {
        display: none !important;
        margin-left: 0px !important;
    }

    /* Menü-Links sichtbar, wenn geöffnet */
    header .menu.open > a {
        display: inline-block !important;
        color: black !important;
        text-align: center;
        margin-top: 30px;
        font-size: 14px;
    }

    /* Optional: Sprache zentriert anzeigen im offenen Menü */
    header .menu.open .language {
        margin: 30px auto;
        display: block;
        text-align: center;
        color: black !important;
        padding-right: 0px;
    }

        header .menu.open .language > a {
            color: black !important;
        }

    /* Optional: Menüfläche im geöffneten Zustand */
    header .menu.open {
        display: flex !important;
        flex-direction: column;
        align-items: center;
        position: fixed;
        top: 0px;
        bottom: 0px;
        left: 0px;
        right: 0px;
        z-index: 100;
        background-color: rgba(220, 220, 220, 0.9);
        color: black;
    }

        /* X-Icon Animation (optional) */
        header .menu.open .sandwich span {
            background: transparent !important;
        }

            header .menu.open .sandwich span::before {
                transform: rotate(45deg);
                top: 0;
            }

            header .menu.open .sandwich span::after {
                transform: rotate(-45deg);
                top: 0;
            }
}

@media screen and (max-width: 400px) {
        header .menu .sandwich {
            right: 10px;
        }
}

@media screen and (max-width: 400px) {

    header.shrink .menu .language {
        display:none
    }
    header.shrink .menu.open .language {
        display:block
    }
}