﻿/* Allgemeine Stilregelungen */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Grundeinstellungen für Text a (Links) */
a {
    color: yellow;
    text-decoration: none;
}
a:hover {
    color: red;
}

/* Header */
header {
    position: fixed;
    width: 100%;
    top: 0;
    background-color: #470000;
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #470000; /* ✔ korrigiert */
    padding: 10px 20px;
}

.desktop-nav {
    display: flex;
    gap: 15px;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.desktop-nav a {
    color: yellow;
    text-decoration: none;
    padding: 5px;
    font-size: 20px;
}
.desktop-nav a:hover {
    color: red;
}

/* Dropdown-Menü Desktop */
.dropdown {
    position: relative;
}
.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #470000;
    min-width: 160px;
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
    z-index: 999;
}
.dropdown:hover .dropdown-content {
    display: block;
}
.dropdown-content a {
    padding: 12px 16px;
    display: block;
}
.dropdown-content a:hover {
    background-color: transparent;
    color: red;
}

/* Hamburger für Mobile */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}
.hamburger div {
    width: 25px;
    height: 3px;
    background-color: yellow;
    margin: 4px;
}

/* Mobile Navigation */
.mobile-nav {
    display: none;
    flex-direction: column;
    background-color: #470000;
    width: 100%;
}
.mobile-nav a {
    padding: 15px;
    border-top: 1px solid #444;
    font-size: 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* test + und minus  test + und minus  test + und minus  test + und minus  test + und minus  test + und minus  test + und minus  test + und minus */
.mobile-nav a span {
    color: yellow !important;
    font-weight: bold;
    font-size: 20px;
    margin-left: 8px;
}




/* Mobile Submenu */
.submenu {
    display: none;
    flex-direction: column;
    background-color: #470000;
}
.submenu a {
    padding-left: 30px;
    font-size: 16px;
}
.show {
    display: flex;
}
.mobile-nav a span {
    margin-left: 8px;
}

/* Mobile Titel */
.mobile-title {
    display: none;
    color: yellow;
    font-size: 20px;
    font-weight: bold;
    margin-left: 10px;
}

/* Media Queries */
@media (max-width: 768px) {
    .desktop-nav {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .mobile-title {
        display: block;
    }

    .header-container {
        justify-content: flex-start;
        gap: 10px;
    }
}




@media (max-width: 600px) {
    body {
        font-size: 14px;
    }

    body.noscroll {
        overflow: hidden;
        position: fixed;
        width: 100%;
    }

    .mobile-nav {
        max-height: 100vh;
        overflow-y: auto;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        background-color: #470000;
        z-index: 1100;
        padding: 20px;
        -webkit-overflow-scrolling: touch;
    }
}


/* test + und minus  test + und minus  test + und minus  test + und minus  test + und minus  test + und minus  test + und minus  test + und minus */
@media (prefers-color-scheme: dark) {
    .mobile-nav a span {
      color: yellow !important;
    font-weight: bold;
    font-size: 20px;
    margin-left: 8px;
}
}

/* TEST HAMBURGER TEST HAMBURGER TEST HAMBURGER TEST HAMBURGER TEST HAMBURGER TEST HAMBURGER TEST HAMBURGER TEST HAMBURGER TEST HAMBURGER  */

@media (prefers-color-scheme: dark) {
    .hamburger div {
        background-color: yellow; /* Heller Balken im Dark Mode */
    }
}

/*

@media (prefers-color-scheme: dark) {
    .mobile-title {
        color: #fff;
    }
}
*/



/* TEST HAMBURGER TEST HAMBURGER TEST HAMBURGER TEST HAMBURGER TEST HAMBURGER TEST HAMBURGER TEST HAMBURGER TEST HAMBURGER TEST HAMBURGER  */

/* Footer */
footer {
    background-color: #470000;
    color: yellow;
    text-align: center;
    padding: 10px;
    position: fixed;
    bottom: 0;
    width: 100%;
    /* ✔ entfernt: margin-top: 50px; */
}
.footer-links {
    display: flex;
    justify-content: center;
    gap: 50px;
}
.footer-links a {
    text-decoration: none;
    color: yellow;
    font-size: 16px;
}



       