/* Global Styles */
body, html {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: 'Arial', sans-serif;
    color: #e0e0e0;
    line-height: 1.6;
    box-sizing: border-box;
}

/* Hintergrund */
.background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('/media/placeholder.jpg') no-repeat center center;
    background-size: cover;
    z-index: -1; /* Hintergrund bleibt hinter allem */
}

/* Formularcontainer */
.form-container {
    position: absolute; /* Fixiere das Formular */
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* Zentriere das Formular */
    background: rgba(34, 34, 34, 0.85); /* Leicht durchscheinender grauer Hintergrund */
    padding: 40px 30px; /* Ausgewogener Platz innerhalb des Formulars */
    border-radius: 10px; /* Abgerundete Ecken */
    text-align: center;
    width: 90%;
    max-width: 450px; /* Moderate Größe des Formulars */
    z-index: 1;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2); /* Dezente Schattierung */
}

/* Formularfelder */
form input[type="email"],
form input[type="text"],
form input[type="submit"] {
    width: calc(100% - 20px); /* Breitere Felder */
    padding: 12px; /* Moderate Höhe der Felder */
    margin: 10px 0; /* Abstand zwischen Feldern */
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-family: 'Arial', sans-serif;
    background: #222;
    color: #fff;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.5); /* Dezente Einbettung */
}

form input[type="submit"] {
    background: #1a73e8;
    color: #fff;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
}

form input[type="submit"]:hover {
    background: #1359b5;
    transform: scale(1.02); /* Leichte Vergrößerung beim Hover */
}

/* Titel */
form h3 {
    margin-bottom: 20px; /* Reduzierter Abstand zum Inhalt */
    font-size: 1.6rem;
    font-weight: bold;
    color: #fff;
}

/* Datenschutz Checkbox */
.checkbox-container {
    text-align: left;
    margin-top: 10px;
    color: #ccc;
}

.checkbox-container input[type="checkbox"] {
    margin-right: 8px;
}

/* Footer allgemein */
footer {
    background-color: #222;
    padding: 10px;
    position: fixed; /* Footer fixieren */
    bottom: 0;
    width: 100%;
    text-align: center;
    font-size: 0.9rem;
    color: #888;
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.3);
}

/* Links im Footer */
footer a {
    color: inherit; /* Übernimmt die Farbe des umgebenden Textes */
    text-decoration: none; /* Entfernt die Unterstreichung */
    transition: text-decoration 0.3s ease; /* Sanfte Übergänge beim Hover */
}

footer a:hover {
    text-decoration: underline; /* Fügt beim Hover eine Unterstreichung hinzu */
}


/* Mobile Ansicht */
@media (max-width: 768px) {
    .form-container {
        padding: 30px 20px; /* Weniger Platz für mobile Ansicht */
        width: calc(100% - 40px); /* Mehr Platz links und rechts */
        max-width: 400px; /* Etwas schmaler für mobile Ansicht */
    }

    form input[type="email"],
    form input[type="text"],
    form input[type="submit"] {
        width: calc(100% - 20px); /* Breitere Felder für mobile Geräte */
        padding: 10px; /* Kleinere Felder */
    }

    form h3 {
        font-size: 1.4rem;
    }
}

/* Impressum- und Datenschutz-Seiten */
.impressum-page .content-container,
.datenschutz-page .content-container {
    position: relative; /* Ermöglicht, dass der Container mitscrollt */
    margin: 50px auto; /* Abstand oben und unten für Scrollbarkeit */
    background: rgba(34, 34, 34, 0.9); /* Dunkler, leicht durchscheinender Hintergrund */
    padding: 40px 30px;
    border-radius: 10px;
    color: #e0e0e0; /* Helle Textfarbe */
    text-align: left; /* Text linksbündig */
    width: 90%;
    max-width: 700px; /* Begrenzte Breite */
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3); /* Leichte Schattierung */
}

/* Hintergrundbild bleibt fixiert */
body.impressum-page,
body.datenschutz-page {
    margin: 0;
    padding: 0;
    background: url('/media/placeholder.jpg') no-repeat center center fixed; /* Fixiertes Hintergrundbild */
    background-size: cover; /* Hintergrund anpassen */
    color: #e0e0e0; /* Standard Textfarbe */
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
}

/* Titel */
.impressum-page .content-container h1,
.datenschutz-page .content-container h1 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #fff;
}

/* Text */
.impressum-page .content-container p,
.datenschutz-page .content-container p {
    margin-bottom: 15px;
    font-size: 1rem;
    line-height: 1.6;
}

/* Link-Stile */
.impressum-page a,
.datenschutz-page a {
    color: inherit; /* Übernimmt die Farbe des Textes */
    text-decoration: none; /* Entfernt die Unterstreichung */
    transition: text-decoration 0.3s ease; /* Sanfte Übergänge beim Hover */
}

.impressum-page a:hover,
.datenschutz-page a:hover {
    text-decoration: underline; /* Fügt beim Hover eine Unterstreichung hinzu */
}

/* Footer für Impressum- und Datenschutz-Seiten */
.impressum-page footer,
.datenschutz-page footer {
    position: relative; /* Footer wird relativ platziert */
    bottom: auto; /* Entfernt die feste Positionierung */
    width: 100%; /* Breite beibehalten */
    margin-top: 50px; /* Abstand über dem Footer */
    background-color: #222;
    padding: 10px;
    text-align: center;
    font-size: 0.9rem;
    color: #888;
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.3);
}

/* Link-Stile im Footer */
footer a {
    color: inherit; /* Übernimmt die Farbe des Textes */
    text-decoration: none; /* Entfernt die Unterstreichung */
    transition: text-decoration 0.3s ease; /* Sanfter Übergang beim Hover */
}

footer a:hover {
    text-decoration: underline; /* Unterstreicht beim Hover */
}

