/* Allgemeine Stile */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #e8f5e9;
    color: #333;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Container für das gesamte Formular */
.container {
    background-color: #fff;
    padding: 20px; /* Reduziertes Padding */
    border-radius: 12px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
    max-width: 600px;
    width: 80%;
    display: flex;
    flex-direction: column;
    align-items: center; /* Zentriert den Inhalt horizontal */
    margin: 20px;
}

/* Überschrift */
h1 {
    color: #4CAF50;
    text-align: center;
    margin-top: 10px; /* Reduzierter Abstand zum oberen Rand */
    margin-bottom: 10px; /* Reduzierter Abstand zum unteren Rand */
    font-size: 2.5em;
    letter-spacing: 1px;
    width: 100%;
}

/* Formular-Stile */
form {
    display: flex;
    flex-direction: column;
    align-items: center; /* Zentriert den Inhalt des Formulars */
    margin-top: 10px; /* Reduzierter Abstand zum oberen Rand des Formulars */
    width: 100%; /* Angepasste Breite */
}

label {
    font-weight: bold;
    margin-top: 10px; /* Reduzierter Abstand über dem Label */
    font-size: 1.1em;
    color: #555;
    text-align: center; /* Zentriert die Labels */
}

textarea {
    width: 100%;
    max-width: 550px; /* Maximalbreite für die Textarea */
    padding: 10px; /* Reduziertes Padding innerhalb der Textarea */
    margin-top: 5px;
    border: 2px solid #ccc;
    border-radius: 8px;
    font-family: inherit;
    font-size: 16px;
    resize: none;
    transition: border-color 0.3s ease;
}

textarea:focus {
    border-color: #4CAF50;
    outline: none;
}

/* Flexbox für die Auswahlfelder */
.flex-container {
    display: flex;
    justify-content: center; /* Zentriert die Flex-Items */
    gap: 10px; /* Reduzierter Abstand zwischen den Flex-Items */
    margin-top: 10px; /* Reduzierter Abstand nach oben */
    width: 100%;
    max-width: 550px; /* Maximalbreite für die Flexbox */
}

.flex-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center; /* Zentriert jedes Flex-Item */
}

select, button {
    width: 100%;
    max-width: 250px; /* Maximalbreite für die Dropdowns und den Button */
    padding: 8px; /* Reduziertes Padding innerhalb von select und button */
    margin-top: 5px;
    border-radius: 8px;
    border: 2px solid #ccc;
    font-family: inherit;
    font-size: 16px;
    background-color: #fff;
    transition: border-color 0.3s ease, background-color 0.3s ease;
}

select:focus, button:focus {
    border-color: #4CAF50;
    outline: none;
}

button {
    background-color: #4CAF50;
    color: white;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-size: 1.1em;
    font-weight: bold;
    margin-top: 15px; /* Reduzierter Abstand nach oben */
}

button:hover {
    background-color: #45a049;
}

button:active {
    background-color: #388E3C;
}

#downloadLink {
    margin-top: 15px; /* Reduzierter Abstand nach oben */
    text-align: center;
}

#downloadLink a {
    color: #4CAF50;
    font-weight: bold;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 1.1em;
}

#downloadLink a:hover {
    color: #388E3C;
}

/* Medienabfragen für responsives Design */

/* Tablets und kleinere Bildschirme */
@media (max-width: 768px) {
    .container {
        padding: 15px; /* Angepasstes Padding */
        max-width: 90%;
    }

    h1 {
        font-size: 2em;
    }

    label, button {
        font-size: 1em;
    }

    textarea {
        font-size: 14px;
    }

    #downloadLink a {
        font-size: 1em;
    }
}

/* Smartphones und sehr kleine Bildschirme */
@media (max-width: 480px) {
    .container {
        padding: 10px; /* Angepasstes Padding */
        max-width: 95%;
    }

    h1 {
        font-size: 1.8em;
    }

    label, button {
        font-size: 0.9em;
    }

    textarea {
        font-size: 13px;
    }

    #downloadLink a {
        font-size: 0.9em;
    }

    .flex-container {
        flex-direction: column;
        align-items: center; /* Zentriert die Flexbox auf kleinen Bildschirmen */
    }

    .flex-item {
        width: 100%;
    }
}
#sticky-footer {
    background-color: #4CAF50;
    text-align: center;
    padding: 10px 0;
    position: fixed; /* Fixiert den Footer am unteren Rand */
    bottom: 0;
    left: 0;
    width: 100%; /* Sorgt dafür, dass der Footer die gesamte Breite einnimmt */
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.2);
}

#sticky-footer .container {
    max-width: 1200px; /* Optional: Breite des Inhalts innerhalb des Footers */
    margin: 0 auto;
}

#sticky-footer small {
    font-size: 0.9em;
    letter-spacing: 0.5px;
}

#consent-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #333;
    color: #fff;
    padding: 15px;
    text-align: center;
    z-index: 1000;
}
#consent-banner button {
    background-color: #4CAF50;
    color: white;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    margin-left: 10px;
    
}