body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
}

.top-navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 95px;
    background: white;
    display: flex;
    align-items: center;
    padding: 0 40px;
    box-sizing: border-box;
    box-shadow: 0 10px 25px rgba(0,0,0,.18);
    z-index: 9999;
}

.logo {
    height: 70px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 50px;
    background: #222;
    padding: 28px 55px;
    border-radius: 12px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.nav-links a {
    text-decoration: none;
    color: white;
    font-weight: bold;
    font-size: 17.5px;
}

.nav-links a:hover {
    color: #2e8b56c2;
    text-shadow: 0 0 10px rgba(46, 139, 87, 0.35);
}

.nav-contact {
    position: absolute;
    right: 90px;
    top: 50%;
    transform: translateY(-50%);

    display: flex;
    gap: 14px;
}

.contact-icon {
    width: 54px;
    height: 54px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #242424;
    border-radius: 50%;

    text-decoration: none;

    transition: 0.25s ease;
}

.contact-icon svg {
    width: 30px;
    height: 30px;

    fill: white;
}

.contact-icon:hover {
    transform: scale(1.08);
    background: #157201;
}

/* ==========================================
   HAMBURGER-MENÜ & LOGOS (MOBILE OPTIMIERUNG)
   ========================================== */

/* Auf dem PC (große Bildschirme) bleiben die 3 Striche ausgeblendet */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 22px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 10001;
}

.menu-toggle span {
    width: 100%;
    height: 3px;
    background-color: #222;
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* NUR FÜR MOBILGERÄTE */
@media (max-width: 900px) {
    .top-navbar {
        height: 75px !important;
        padding: 0 15px !important;
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    /* 1. Praxis Logo oben links sichern */
    .logo {
        height: 38px !important;
        width: auto !important;
        display: block !important;
        position: static !important;
    }

    /* 2. Hamburger Button anzeigen */
    .menu-toggle {
        display: flex !important;
    }

    /* 3. Mail & WhatsApp Logos oben rechts fixieren */
    .nav-contact {
        position: static !important;
        transform: none !important;
        display: flex !important;
        gap: 8px !important;
        right: auto !important;
        top: auto !important;
    }

    .contact-icon {
        width: 36px !important;
        height: 36px !important;
        display: flex !important;
    }

    .contact-icon svg {
        width: 18px !important;
        height: 18px !important;
    }

    /* 4. Ausklappbares Menü unter dem Header */
    .nav-links {
        display: none !important; /* Standardmäßig unsichtbar */
        position: absolute !important;
        top: 75px !important;
        left: 0 !important;
        width: 100% !important;
        background: #222 !important;
        flex-direction: column !important;
        padding: 20px 0 !important;
        gap: 15px !important;
        border-radius: 0 0 16px 16px !important;
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2) !important;
        transform: none !important;
        align-items: center !important;
    }

    /* Wird durch Klick auf die 3 Striche aktiviert */
    .nav-links.active {
        display: flex !important;
    }

    .nav-links a {
        font-size: 16px !important;
        padding: 6px 0 !important;
        color: #ffffff !important;
    }
}