/* ===== HEADER ===== */

header {
    background-color: #000;
    color: white;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

/* Obere Zeile: Logo + Menü + Login */
.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    flex-wrap: wrap;
}

/* LOGO */
.logo {
    display: flex;
    align-items: center;
    font-size: 26px;
    font-weight: bold;
}

.logo i {
    color: #aaa;
    margin-right: 10px;
}

/* NAVIGATION */
nav ul {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 25px;
    margin: 0;
    padding: 0;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    font-size: 17px;
}

nav ul li a:hover {
    color: #aaa;
}

/* LOGIN ICON */
.login-icon a {
    color: white;
    font-size: 22px;
    transition: color 0.3s ease;
}

.login-icon a:hover {
    color: #aaa;
}

/* UNTERE ZEILE: Auto Reparatur Link */
.header-tagline {
    background: #000;
    text-align: center;
    padding: 8px 0;
    border-top: 1px solid #222;
}

.header-tagline a {
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s ease;
}

.header-tagline a:hover {
    color: #aaa;
}

/* BURGER MENU (nur Mobile sichtbar) */
.menu-toggle {
    display: none;
    font-size: 24px;
    color: white;
    cursor: pointer;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {

    .menu-toggle {
        display: block;
    }

    #mainNav {
        display: none;
        width: 100%;
        background: #111;
        position: absolute;
        top: 60px;
        left: 0;
        padding: 10px 0;
        border-top: 2px solid #ff0050;
    }

    #mainNav.active {
        display: block;
        animation: slideDown 0.3s ease forwards;
    }

    nav ul {
        flex-direction: column;
        align-items: flex-start;
        padding-left: 20px;
    }

    .login-icon {
        position: absolute;
        right: 20px;
        top: 15px;
    }

    @keyframes slideDown {
        from { opacity: 0; transform: translateY(-10px); }
        to { opacity: 1; transform: translateY(0); }
    }
}



