/* ===================  ID ========================= */

/*---------------------------- Haupt Masterpage ---------------------------------- */

/*---------------------------- Erstmal Mobile Gerät Format ----------------------------------------*/
@media screen and (max-width:1199.99999999999999999999px) {
    #Container {
            color: Black;
    }

    #Header {
        min-height: 110px;
        margin-bottom: 20px;
    }

    #Header-Top {
        background-color: var(--primary-color);
        height: 40px;
    }

    #Header-Top-Child-Container {
        display: flex;
        justify-content: center;
        align-items: center;
        height: 40px;
        gap: 25px;
        margin: 0 5px;
        color: white;
    }

        #Header-Top-Child-Container-Street {
            display: inline-flex;
            align-items: center;
            gap: 5px;
        }

        #Header-Top-Child-Container-Phone {
            display: inline-flex;
            align-items: center;
            gap: 5px;
        }

        @media  screen and (min-width:465px) {
            #Header-Top-Child-Container-Street::before {
            display: inline-block;
            content: "";
            width: 32px;
            height: 32px;
            background: url("../images/vecteezy_icon-of-simple-forms-of-point-of-location_46300549.png") no-repeat center / contain;
        }

            #Header-Top-Child-Container-Phone::before {
                display: inline-block;
                content: "";
                width: 32px;
                height: 32px;
                background: url("../images/vecteezy_phone-call-auricular-png-icon-on-transparent-background_14392004.png") no-repeat center / contain;
            }   
        }

    #Header-Main-Child-Container{
        margin:auto;
        display: grid;
        max-width: var(--Mobile-Width);
        grid-template-columns: 125px 1fr;
        grid-template-rows: auto auto;
        gap: 5px;
        align-items: left;
        padding-top: 10px;
    }

    #Header-Main-Child-Container #LogoContainer{
        margin-left: 10px;
    }

    #Header-Main-Child-Container #Praxis-Schild {
        margin-left: 10px;
        line-height: 1.5rem;
    }

        #Praxis-Schild-1 {
                font-size: 1.2rem;
            }

            #Praxis-Schild-2 {
                font-size: 1.2rem;
            }


    #Header-Main-Child-Container #LogoContainer {
        grid-column: 1; /* Erste Spalte */
        grid-row: 1;    /* Erste Zeile */
    }

    #Header-Main-Child-Container #Praxis-Schild {
        grid-column: 2; /* Zweite Spalte */
        grid-row: 1;    /* Erste Zeile */
    }

    #Header-Main-Child-Container #Nav {
            grid-column: 1 / span 2; /* Über beide Spalten */
            grid-row: 2;             /* Zweite Zeile */
            width: 100%;
            max-width: var(--Mobile-Width);
            margin-top: 5px;
            background-color: var(--primary-color);
            text-align: center; /* einfache Zentrierung für Inline-Elemente */
            min-height: 25px;
        }

        #Header-Main-Child-Container #Nav > nav > ul {
            display: flex;
            justify-content: center; /* Zentriert horizontal */
            align-items: center; /* Zentriert vertikal */
            gap: 10px; /* Abstand zwischen den Links */
            list-style: none;
            padding: 5px 0;
            margin: 0;
            list-style: none;
        }

        #Header-Main-Child-Container #Nav > nav > ul > li{
            display: inline-block;
            font-size: 1.1em;
            position: relative;
        }

        #Header-Main-Child-Container #Nav ul li a {
            color: white;
        }

        .Dropdown {
            position: absolute;
            top: 100%;
            left: 0;
            min-width: 180px;
            background: var(--primary-color);
            list-style: none;
            box-shadow: 0 6px 18px rgba(0,0,0,.08);
            z-index: 1000; /* über anderen Inhalten */
            color: white;
        }

        .Dropdown li a {
            display: block;
            padding: .5rem .75rem;
            text-decoration: none;
            white-space: nowrap;
            color: white;
        }

        .Dropdown li a:hover { 
            background: var(--secondary-color); 
            color: white;
        }

    #Main-Title {
        color: var(--secondary-color);
        margin: 1.5rem;
        display: flex;
        justify-content: center;
        line-height: 1.5rem;
    }

    /* ========================== Footer ============================== */

    #Footer {
        width: 100%;
        max-width: 100%;
        margin: 40px auto 0 auto;
        background-color: var(--primary-color);
        color: white;
        padding-top: 20px;
    }

    #Footer-Child-Container{
        width: 100%;
        max-width: var(--Mobile-Width);
        margin:auto;
        padding: 10px 10px 20px 10px;
    }

        #TelContainer {
            margin-top: 15px;
        }

        #PraxiszeitenContainer {
            margin-top: 30px;
        }

        #SprechzeitenContainer {
            margin-top: 30px;
        }

    #Footer-Child-Container2 {
        background-color: var(--secondary-color);
    }

    #HinweisLinkContainer{
        font-size: 10px;
        margin:auto;
        max-width: 200px;
    }

        #HinweisLinkContainer ul {
            list-style-type: none;
            display: flex;
            justify-content: right;
            align-items: center;
            height: 25px;
        }

            #HinweisLinkContainer ul li {
                padding-right: 10px;
            }

            #HinweisLinkContainer a {
                color: white;
            }


        #TerminReservationContainer {
            margin-top: 5px;
        }

    /* ==================== Klassen ===========================*/

    .Contact-Title {
        text-transform: uppercase;
        margin-bottom: 5px;
    }

    .Contact-Time-Container {
        display: flex;
    }

    .Kontakt-Tag {
        width: 125px;
    }

    .Kontakt-Zeit{
        padding-right: 25px;
        border-right: 1px solid white;
    }

    .Kontakt-Zeit2{
        padding-left: 25px;
    }

    .Disable {
        display: none !important;
    }

    @media screen and (min-width:700px){
        #Header-Main-Child-Container #Nav > nav > ul {
            gap: 50px; /* Abstand zwischen den Links */
        }
    }

    @media screen and (max-height:500px){
        #Header-Top-Child-Container {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            justify-content: center;
            align-items: center;
            height: 40px;
            gap: 5px;
            margin: 0 5px;
            color: white;
        }
        
        #Header-Main-Child-Container #Nav > nav > ul {
            gap: 5px; /* Abstand zwischen den Links */
        }
    }
} /* ==================== Ende Mobile Version =================================================================================== */