body {
    color: white;
    font-family: Arial, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

header {
    padding: 1rem;
    text-align: center;
    z-index: 2;
}

.container {
    display: flex;
    flex: 1;
    justify-content: center;
    padding: 2rem;
    z-index: 2;
}

main {
    max-width: 900px;
    width: 100%;
}

.impressum-content {
    background-color: rgba(0, 0, 0, 0.7);
    padding: 2rem;
    border-radius: 10px;
}

.impressum-content h1 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #ff6600;
    border-bottom: 2px solid #ff6600;
    padding-bottom: 0.5rem;
}

.impressum-content h2 {
    font-size: 1.5rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: #ff6600;
}

.impressum-content h3 {
    font-size: 1.2rem;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    color: #ffaa66;
}

.impressum-content section {
    margin-bottom: 2rem;
}

.impressum-content p {
    margin-bottom: 1rem;
    text-align: justify;
}

.impressum-content a {
    color: #ff6600;
    text-decoration: none;
}

.impressum-content a:hover {
    text-decoration: underline;
}

.back-link {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
}

.back-link a {
    color: white;
    text-decoration: none;
    font-size: 1.1rem;
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: rgba(255, 102, 0, 0.8);
    border-radius: 5px;
    transition: background-color 0.3s;
}

.back-link a:hover {
    background-color: rgba(255, 102, 0, 1);
    text-decoration: none;
}

footer {
    color: white;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 2;
}

.footer-img {
    height: 50px;
    width: auto;
}

.footer-center {
    display: flex;
    align-items: center;
    gap: 20px;
}

.footer-center a {
    color: white;
    text-decoration: none;
    font-size: 14px;
}

.footer-center a:hover {
    text-decoration: underline;
}

.footer-icons {
    display: flex;
    gap: 15px;
}

.footer-icons a {
    color: white;
    font-size: 32px;
    text-decoration: none;
}

.footer-icons a:hover {
    color: #ddd;
}

.opac {
    background-color: rgba(255, 255, 255, 0.25);
}

.header-logo-text-container {
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-logo {
    max-width: 200px;
    height: auto;
    margin-right: 15px;
}

.header-text {
    font-size: 32px;
    font-weight: bold;
}

.content-no-opacity {
    z-index: 1;
}

.backgroundImage {
    background-image: url("../background.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 100vh;
    position: relative;
}

.overlay-container {
    position: absolute;
    top: 50px;
    right: 50px;
}

.overlayImage {
    transform: scaleX(-1);
    width: auto;
    height: calc(100vh - 50px);
    z-index: 1;
}

/* Mobile responsive styles */
@media (max-width: 768px) {
    body {
        min-height: auto;
    }

    .backgroundImage {
        height: auto;
        min-height: 100vh;
    }

    .container {
        padding: 1rem;
    }

    .impressum-content {
        padding: 1.5rem;
    }

    .impressum-content h1 {
        font-size: 1.8rem;
    }

    .impressum-content h2 {
        font-size: 1.3rem;
    }

    .impressum-content h3 {
        font-size: 1.1rem;
    }

    .header-logo-text-container {
        flex-direction: column;
        text-align: center;
    }

    .header-logo {
        margin-right: 0;
        margin-bottom: 10px;
        max-width: 150px;
    }

    .header-text {
        font-size: 20px;
    }

    .overlayImage {
        height: 50vh;
        right: 0;
    }

    .overlay-container {
        top: 20px;
        right: 20px;
    }

    footer {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .footer-icons {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .header-text {
        font-size: 16px;
    }

    .header-logo {
        max-width: 100px;
    }

    .impressum-content {
        padding: 1rem;
    }

    .impressum-content h1 {
        font-size: 1.5rem;
    }

    .footer-icons a {
        font-size: 24px;
    }

    .overlayImage {
        display: none;
    }
}
