/* .main.css */
/* General Styles */

body {
    margin: 0;
    font-family: Arial, sans-serif;
    line-height: 1.6;
    /* background-color: #f3f4f6; */
    background-color: #f3f4f6;
    /* Schönes, helles Blau */
}

html {
    scroll-behavior: smooth;
}

/* Header Styles */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;

    /* Primärfarbe der App */
    /* color: white; */
    padding: 1em 0;
    text-align: center;
    z-index: 1000;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Main Styles */
main {
    margin-top: 80px;
    padding: 20px;
}


/* Section Styles */
section {
    margin: 20px 0;
}

.content-block {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: center;
    margin-bottom: 20px;
}

.content-block img {
    flex: 1;
    max-width: 45%;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.content-block .text {
    flex: 1;
    max-width: 50%;
}

.content-block ul {
    list-style: none;
    padding: 0;
}

.content-block ul li {
    margin-bottom: 10px;
    font-size: 1.1em;
}

/* Call to Action Section */
.call-to-action {
    text-align: center;
    background-color: #eaf2fd;
    /* Helles Blau */
    padding: 40px 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.call-to-action h2 {
    font-size: 2em;
    margin-bottom: 20px;
}

.call-to-action button {
    background-color: #0057d8;
    color: white;
    border: none;
    padding: 0.8em 1.5em;
    font-size: 1.2em;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.call-to-action button:hover {
    background-color: #0041aa;
}

input::placeholder {
    color: red;
    /* Färbt den Placeholder-Text rot */
    font-weight: bold;
    /* Optional: Macht den Text fett */
}

input::-webkit-input-placeholder {
    /* Chrome, Safari, Edge */
    color: red;
}

input:-ms-input-placeholder {
    /* Internet Explorer 10-11 */
    color: red;
}

input::-ms-input-placeholder {
    /* Microsoft Edge */
    color: red;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.form-group.full-width {
    grid-column: span 2;
}

.required {
    color: red;


}

#user-icon {
    display: flex;
    /* Stellt sicher, dass die Kinder horizontal nebeneinander angeordnet sind */
    align-items: center;
    /* Zentriert Icon und Text vertikal */
    text-decoration: none;
    /* Entfernt Unterstrich für den Link */
    color: inherit;
    /* Vererbt die Textfarbe */
}

#user-icon i {
    margin-right: 10px;
    /* Abstand zwischen Icon und Text */
}

#loginLabel {

    /* Schriftgröße für Login-Label */
    margin-right: 0px;
    /* Optionaler Abstand zwischen Login und anderen Elementen */
}




.horizontal-center {
    display: flex;
    /* Aktiviert Flexbox */
    align-items: center;
    /* Vertikal zentrieren */
    justify-content: flex-start;
    /* Elemente nebeneinander ausrichten */
    /* Abstand zwischen Checkbox und Text */
}


.rterms-link {
    text-decoration: none;
    /* Standard-Unterstreichung entfernen */
    color: #0078d4;
    /* Link-Farbe */
    font-size: 14px;
    /* Schriftgröße anpassen */
}

.rterms-link:hover {
    text-decoration: underline;
    /* Unterstreichung beim Hover */
    color: #005a9e;
    /* Hover-Farbe */
}


/* Kompakte Hero Section */
.hero-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(135deg, #1E40AF, #2563EB);
    color: white;
    padding: 20px 10px;
    /* Noch kompakter für mobile Ansicht */
    border-radius: 12px;
    margin-bottom: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);

}

.hero-section h1 {
    font-size: 3rem;
    font-weight: bold;
    margin: 3px 0;
}

.hero-section h2 {
    font-size: 1.2rem;
    font-weight: 500;
    margin-top: 3px;
    opacity: 0.9;
}

.hero-section p {
    font-size: 0.9rem;
    max-width: 90%;
    margin-top: 5px;
    line-height: 1.3;
    opacity: 0.8;
}


/* Mobile Anpassungen für noch kompaktere Darstellung */
@media (max-width: 768px) {
    .hero-section {
        margin-top: 50px;
        padding: 10px 8px;
    }

    .hero-section h1 {
        font-size: 1.8rem;
        margin: 0;
    }

    .hero-section h2 {
        font-size: 1.1rem;
        margin: 0;
    }

    .hero-section p {
        font-size: 0.85rem;
        max-width: 95%;
        margin: 0;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 6px;
    }

    .hero-buttons button {
        font-size: 0.75rem;
        padding: 5px 10px;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }
}