.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: space-between;
}

/* Linke Sektion: Kontaktformular */
.contact-form {
    flex: 1 1 45%;
    background-color: #fefefe;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.contact-form h2 {
    margin-bottom: 20px;
    font-family: 'Poppins-Bold', sans-serif;
    color: #333;
}

.contact-form .form-group {
    margin-bottom: 15px;
}

.contact-form label {
    display: block;
    margin-bottom: 5px;
    font-family: 'Lato-Regular', sans-serif;
    color: #555;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    font-family: 'Lato-Regular', sans-serif;
    resize: vertical;
}

.contact-form button {
    background-color: #995860;
    color: white;
    padding: 10px 20px;
    font-size: 16px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.contact-form button:hover {
    transform: scale(1.05);
    background-color: #804750;
}

/* Rechte Sektion: Kontaktinformationen */
.contact-info {
    flex: 1 1 45%;
}

.contact-info h2 {
    margin-bottom: 20px;
    font-family: 'Poppins-Bold', sans-serif;
    color: #333;
}

.contact-info p {
    font-family: 'Lato-Regular', sans-serif;
    font-size: 16px;
    margin-bottom: 10px;
    line-height: 1.5;
    color: #555;
}

.contact-info a {
    color: #995860;
    text-decoration: none;
    font-weight: bold;
}

.contact-info a:hover {
    text-decoration: underline;
}

/* Karten-Frame */
.map-container iframe {
    width: 100%;
    height: 365px;
    border: none;
    border-radius: 10px;
}

@media (max-width: 645px) {
    /* Container der beiden Abschnitte */
    .contact-container {
        flex-direction: column; /* Ändert Richtung der Elemente zu vertikal */
        align-items: stretch; /* Die Elemente strecken sich über die volle Breite */
    }

    /* Linke Box (Formular) */
    .contact-form {
        width: 100%; /* Formular nimmt die gesamte Breite ein */
        margin-bottom: 20px; /* Abstand zum unteren Bereich */
    }

    /* Rechte Box (Kontaktinfos) */
    .contact-info {
        width: 100%; /* Kontaktinfos nehmen die gesamte Breite ein */
    }
}