/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500&family=Montserrat:wght@600&display=swap');

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Roboto', sans-serif;
    background-color: #f8f9fa;
    color: #333;
    line-height: 1.6;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 2rem;
    background-color: #212529;
    color: #fff;
}

header .logo {
    height: 60px;
    transition: transform 0.3s ease;
}

header .logo:hover {
    transform: scale(1.05);
}

header nav a {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    color: #fff;
    margin: 0 1rem;
    text-decoration: none;
    transition: color 0.3s ease;
}

header nav a:hover {
    color: #ffc107;
}

.main {
    padding: 2rem;
}

.impressum {
    max-width: 800px;
    margin: 2rem auto;
    padding: 2rem;
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    animation: fadeIn 1s ease-out;
}

.impressum h1 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    color: #333;
    font-size: 2rem;
    margin-bottom: 1rem;
    text-align: center;
}

.info-box {
    background-color: #f1f3f5;
    padding: 1.5rem;
    margin: 1rem 0;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.info-box h2 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    color: #495057;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.info-box p {
    font-weight: 400;
    color: #212529;
}

.info-box i {
    font-style: normal;
    color: #495057;
    margin-right: 10px;
}

.info-box a {
    color: #007bff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.info-box a:hover {
    color: #0056b3;
    text-decoration: underline;
}

.legal-info {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #dee2e6;
    font-size: 0.9rem;
    color: #495057;
}

.legal-info a {
    color: #007bff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.legal-info a:hover {
    color: #0056b3;
    text-decoration: underline;
}

footer {
    text-align: center;
    padding: 1.5rem;
    background-color: #212529;
    color: #ffffff;
    font-size: 0.9rem;
}

footer p {
    margin: 0;
}

/* Keyframes for fade-in animation */
@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Menü-Button oben rechts */
        .menu {
            position: absolute;
            top: 10px;
            right: 10px;
        }

        .menu label {
            font-size: 24px;
            cursor: pointer;
        }

        /* Dropdown-Menü */
        .dropdown-content {
            display: none;
            position: absolute;
            top: 40px;
            right: 10px;
            background-color: #0073e6;
            color: white;
            min-width: 120px;
            border-radius: 5px;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
            z-index: 1;
        }

        .dropdown-content a {
            color: white;
            padding: 10px;
            text-decoration: none;
            display: block;
        }

        .dropdown-content a:hover {
            background-color: #0056b3;
        }

        /* Toggle für Dropdown anzeigen */
        #toggle:checked + .dropdown-content {
            display: block;
        }