body {
    background-color: white;
}
/*=============== CONTACT HERO SECTION ===============*/
.contact-hero {
    margin-top: 3.5rem;
    padding: 4rem 1rem;
    text-align: center;
    background: linear-gradient(135deg, #592131, #8b3a4b);
}

.contact-hero__title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1rem;
}

.contact-hero__text {
    font-size: 1.2rem;
    color: lightgray;
}

.contact-hero__text a {
    color: #fff;
    font-weight: 600;
    text-decoration: none;
}

.contact-hero__text a:hover {
    text-decoration: underline;
}

/*=============== CONTACT DETAILS SECTION ===============*/
.contact-details-section {
    padding: 3rem 1rem;
    background-color: #ffffff;
}

.contact-details__container {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-details__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    flex: 1;
    min-width: 280px;
    padding: 1.5rem;
    border: 1px solid white;
    border-radius: 8px;
    background: linear-gradient(135deg, #592131, #8b3a4b);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.contact-details__item i {
    font-size: 2.5rem;
    color: #fff;
    margin-bottom: 0.5rem;
}

.contact-details__item p,
.contact-details__item a {
    font-size: 1rem;
    color: #fff;
    line-height: 1.6;
    text-align: center;
    text-decoration: none;
    white-space: nowrap; /* Verhindert Zeilenumbruch */
}

.contact-details__item a:hover {
    color: #592131;
}

/*=============== GOOGLE MAP SECTION ===============*/
.contact-map-section {
    padding: 3rem 1rem;
    background-color: #fff;
    text-align: center;
}

.contact-map-section iframe {
    width: 100%;
    max-width: 1200px;
    height: 450px;
    border: 0;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    margin: 0 auto;
    display: block;
}

/*=============== CONTACT FORM STYLING ===============*/
.contact-form-section {
    background-color:#fff;
}
.contact-form {
    max-width: 600px;
    margin: 3rem auto;
    padding: 2.5rem;
    background-color: #fff;
    border-radius: 10px;
    border: 1px solid #592131;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    font-family: Arial, sans-serif;
}

.contact-form__title {
    font-size: 2rem;
    margin-bottom: 2.5rem; /* Mehr Abstand unter dem Titel */
    text-align: center;
    font-weight: bold;
    color: #333;
}

.contact-form__group {
    margin-bottom: 2.2rem; /* Mehr Abstand zwischen den Gruppen */
    display: flex;
    flex-direction: column;
}

.contact-form__group label {
    font-size: 1rem;
    font-weight: bold;
    margin-bottom: 0.8rem; /* Mehr Abstand unter dem Label */
    color: #555;
}

.contact-form__group input,
.contact-form__group textarea {
    padding: 1.2rem 1.5rem; /* Mehr Platz in den Feldern (oben & seitlich) */
    font-size: 1rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    background-color: #fff;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    width: 100%;
    box-sizing: border-box;
}

.contact-form__group input::placeholder,
.contact-form__group textarea::placeholder {
    color: #aaa;
    font-size: 0.95rem;
}

.contact-form__group input:focus,
.contact-form__group textarea:focus {
    border-color: #592131;
    box-shadow: 0 0 5px rgba(139, 0, 0, 0.3);
    outline: none;
}

.contact-form__group textarea {
    min-height: 180px; /* Größere Textarea */
    resize: vertical;
}

.contact-form__button {
    width: 100%;
    padding: 1.2rem; /* Größere Buttons */
    font-size: 1.2rem;
    font-weight: bold;
    color: #fff;
    background-color: #592131;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    text-align: center;
}

.contact-form__button:hover {
    background-color: #a30000;
    transform: translateY(-2px);
}

.contact-form__button:active {
    transform: translateY(0);
}

/* Verbesserter Abstand für die letzte Gruppe */
.contact-form__group:last-child {
    margin-bottom: 0;
}

/*=============== RESPONSIVE DESIGN ===============*/
@media screen and (max-width: 768px) {
    .contact-details__container {
        flex-direction: column;
        gap: 1rem;
    }

    .contact-details__item {
        text-align: center;
        align-items: center;
    }

    .contact-map-section iframe {
        height: 300px;
    }

    .contact-form {
        padding: 2rem;
    }

    .contact-form__button {
        font-size: 1rem;
    }
}

/* Grundlegendes Styling für die Notification */
.notification {
    padding: 15px 20px;
    font-size: 1rem;
    font-weight: bold;
    text-align: center;
    border-radius: 10px; /* Abgerundete Ecken */
    margin: 10px 0;
    display: block;
    width: 100%;
    max-width: 500px; /* Begrenzte Breite */
    margin-left: auto;
    margin-right: auto;
}

/* Erfolgreiche Nachricht (Grün) */
.notification.success {
    background-color: #4CAF50; /* Grüner Hintergrund */
    color: white;
    border: 1px solid #3e8e41;
}

/* Fehler-Nachricht (Rot) */
.notification.error {
    background-color: #F44336; /* Roter Hintergrund */
    color: white;
    border: 1px solid #d32f2f;
}

/* Animation für sanftes Einblenden */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.notification {
    animation: fadeIn 0.5s ease-in-out;
}

