body {
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: #121212;
    color: #ffffff;
    font-size: 14px; /* Reduziert von der Standardgröße (z. B. 16px) */
    background-image: url('img/background.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    background-attachment: fixed;
}

header {
    background-color: #00bcd47a;
    color: #f0f0f0;
    padding: 20px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.5);
    padding-top: 30px;
    box-shadow: 0px 4px 5px #00bcd4;
}

header .logo {
    height: 50px;
}

nav.menu {
    position: absolute;
    top: 60px;
    right: 20px;
    background-color: #333;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.5);
    display: none;
    flex-direction: column;
    padding: 10px;
    z-index: 1000;
}

nav.menu.open {
    display: flex;
}

nav.menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
    flex-direction: column;
    gap: 10px;
}

nav.menu ul li {
    text-align: left;
}

nav.menu ul li a {
    color: #f0f0f0;
    text-decoration: none;
    padding: 5px 10px;
    border-radius: 5px;
    display: block;
}

nav.menu ul li a:hover {
    background-color: #444;
}

.menu-toggle {
    background: none;
    border: none;
    color: #f0f0f0;
    font-size: 24px;
    cursor: pointer;
}

.menu-toggle:focus {
    outline: none;
}

@media (min-width: 768px) {
    nav.menu {
        position: static;
        display: flex !important;
        flex-direction: row;
        background: none;
        box-shadow: none;
        padding: 0;
    }

    nav.menu ul {
        flex-direction: row;
        gap: 15px;
    }

    nav.menu ul li a {
        padding: 0;
        background: none;
    }

    nav.menu ul li a:hover {
        background: none;
        color: #007BFF;
    }

    .menu-toggle {
        display: none;
    }
}

.logo {
    height: 40px;
    margin-right: 10px;
    vertical-align: middle;
}

.menu {
    display: none; /* Standardmäßig ausgeblendet */
    flex-direction: column;
    background-color: #fff;
    position: absolute;
    top: 60px;
    right: 0;
    width: 200px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.menu.open {
    display: flex; /* Sichtbar, wenn die Klasse 'open' hinzugefügt wird */
}

.menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.menu li {
    border-bottom: 1px solid #ddd;
}

.menu li a {
    display: block;
    padding: 10px;
    text-decoration: none;
    color: #333;
}

.menu li a:hover {
    background-color: #f0f0f0;
}

.menu a {
    color: #ffffff;
    text-decoration: none;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 8px;
}

.menu a i {
    font-size: 18px;
}

.menu a:hover {
    color: #00bcd4;
}

.menu-toggle {
    background: none;
    border: none;
    color: #ffffff;
    font-size: 24px;
    cursor: pointer;
}

.menu-toggle:focus {
    outline: none;
}

main {
    padding: 20px;
    flex: 1;
}

section {
    margin-bottom: 20px;
}

footer {
    text-align: center;
    padding: 10px 0;
    background-color: #00bcd47a;
    box-shadow: 0px -4px 5px #00bcd4;
    padding-bottom: 10px;
}

#intro {
    text-align: center;
    padding: 20px;
    background-color: #1f1f1fc4;
    color: #ffffff;
    border-bottom: 2px solid #00bcd4;
}

#intro h1 {
    font-size: 2em;
    margin-bottom: 10px;
}

#intro p {
    font-size: 1.2em;
    line-height: 1.6;
}

a {
    color: #00bcd4; /* Helle Türkisfarbe für bessere Sichtbarkeit */
    text-decoration: none;
}

a:hover {
    color: #ffffff; /* Weiß beim Hover für Kontrast */
    text-decoration: underline;
}

.bilder-container {
    display: flex;
    flex-wrap: wrap; 
    justify-content: center;
    gap: 20px; 
    padding: 100px;
}

.bilder-container img {
    flex: 0 0 calc(50% - 40px);
    max-width: calc(50% - 40px);
    max-height: 400px;
    width: auto;
    height: auto;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 0 10px #00bcd4;
    transition: transform 0.3s ease;
}

.bilder-container img:hover {
    transform: scale(1.05);
}

 section#gesetze {
            margin-top: 20px;
        }

        .accordion {
            border: none;
            background: none;
            padding: 0;
            margin: 0 0 20px 0;
        }
        .accordion-header {
            background: #222;
            color: #f0f0f0;
            cursor: pointer;
            padding: 15px;
            border-radius: 10px;
            font-size: 1.1em;
            font-weight: bold;
            margin-bottom: 5px;
            border: none;
            width: 100%;
            text-align: left;
            transition: background 0.2s;
            display: flex;
            align-items: center;
            gap: 10px;
        }
        .accordion-header:hover, .accordion-header.active {
            background: #444;
        }
        .accordion-content {
            display: none;
            animation: fadeIn 0.2s;
            background: #2a2a2a;
            border-radius: 10px;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.5);
            padding: 15px;
            margin-bottom: 20px;
            margin-top: 0;
        }
        .accordion-content.open {
            display: block;
        }
        @keyframes fadeIn {
            from { opacity: 0; }
            to { opacity: 1; }
        }

        #scrollToTop {
            position: fixed;
            bottom: 20px;
            right: 20px;
            background-color: #444;
            color: #f0f0f0;
            border: none;
            border-radius: 50%;
            width: 50px;
            height: 50px;
            font-size: 24px;
            cursor: pointer;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        }

        #scrollToTop:hover {
            background-color: #007BFF;
        }

        #gesetze h3 {
            margin-bottom: 10px;
            text-decoration: underline;
        }

.media-header {
    text-align: center;
    margin-bottom: 20px;
}

/* Footer immer unten fixieren */
html, body {
    height: 100%;
}
body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}
main {
    flex: 1;
}
/* Optional: Footer-Links optisch anpassen */
.footer-links {
    margin-top: 8px;
    font-size: 0.95em;
}
.footer-links a {
    color: #00bcd4;
    margin: 0 4px;
}
.footer-links a:hover {
    color: #fff;
    text-decoration: underline;
}

.info-box {
    max-width: 700px;
    margin: 40px auto 40px auto;
    background: rgba(31, 31, 31, 0.95);
    color: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.4);
    padding: 32px 28px;
    border-bottom: 3px solid #00bcd4;
}
.info-box h1 {
    text-align: center;
    margin-bottom: 24px;
}
.info-box .section {
    margin-bottom: 18px;
}
.info-box strong {
    color: #00bcd4;
}