/* Styles für zentrierte Newsletter-Elemente */

/* Hauptcontainer für den Newsletter-Bereich */
main {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 30px auto;
    max-width: 800px;
}

/* Newsletter-Überschrift */
main h2 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 25px;
    text-align: center;
    font-family: 'Roboto', sans-serif;
    width: 100%;
}

/* Beschreibungstext */
main p {
    text-align: center;
    margin-bottom: 20px;
    max-width: 700px;
    font-family: 'Roboto', sans-serif;
}

/* Formular-Container */
.newsletter-form {
    background-color: #f0f6ff;
    padding: 25px;
    border-radius: 8px;
    margin: 20px auto;
    width: 100%;
    max-width: 600px;
    box-shadow: var(--shadow);
}

/* Formular-Gruppen */
.form-group {
    margin-bottom: 20px;
}

/* Labels im Formular */
.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-family: 'Roboto', sans-serif;
}

/* Eingabefelder */
.form-group input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    font-family: 'Roboto', sans-serif;
}

/* Button-Styling */
.button,
button[type="submit"] {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
    display: block;
    margin: 0 auto;
    font-family: 'Roboto', sans-serif;
}

.button:hover,
button[type="submit"]:hover {
    background-color: #003d7a;
}

/* Aktueller Newsletter Bereich */
.newsletter-current {
    margin: 30px auto;
    width: 100%;
    max-width: 700px;
}

.newsletter-current h3 {
    color: var(--primary-color);
    font-size: 1.4rem;
    margin-bottom: 15px;
    border-bottom: 2px solid var(--secondary-color);
    padding-bottom: 10px;
    text-align: center;
    font-family: 'Roboto', sans-serif;
}

.newsletter-preview {
    background-color: var(--light-bg);
    padding: 25px;
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
}

/* Archiv-Bereich */
.newsletter-archive {
    margin: 20px auto;
    width: 100%;
    max-width: 700px;
}

.newsletter-archive h3 {
    color: var(--primary-color);
    font-size: 1.4rem;
    margin-bottom: 15px;
    border-bottom: 2px solid var(--secondary-color);
    padding-bottom: 10px;
    text-align: center;
    font-family: 'Roboto', sans-serif;
}

/* Archiv-Button */
.archive-access {
    text-align: center;
    margin: 20px 0;
}

/* 1. Container zentrieren und Padding */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* 2. Bilder skalierbar machen */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* 3. Typografie und Fließtext */
body {
    line-height: 1.6;
    font-size: 1rem;
}

/* Responsive Anpassungen */
@media (max-width: 768px) {
    .newsletter-form {
        padding: 15px;
    }

    main h2 {
        font-size: 1.6rem;
    }
}

