.container {
    width: 80%;
    margin: 2% auto;
    padding: 20px;
    text-align: center;
}

.box-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.image-container, .text-container {
    flex: 1;
}

.service-image {
    width: 100%;
    height: auto;
}

.text-container {
    text-align: left;
    font-size: 1.1em;
    background-color: transparent; /* Kein Hintergrund */
}

.box-container {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px; /* Abstand zwischen den Box-Containern */
}

.message-container, .form-container {
    flex: 1;
    padding: 20px;
}

.message-container {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.form-container form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 400px; /* Begrenzt die Breite des Formulars */
    margin: auto;
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.9); /* Leicht durchscheinend */
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Subtiler Schatten */
}

.form-container input, 
.form-container textarea {
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px; /* Angenehme Schriftgröße */
}

.form-container textarea {
    height: 120px; /* Größere Höhe für das Textfeld */
}

.form-container button {
    padding: 12px;
    border: none;
    border-radius: 5px;
    background-color: #007bff; /* Helle Blaufarbe */
    color: white;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease; /* Sanfter Übergang bei Hover */
}

.form-container button:hover {
    background-color: #0056b3; /* Dunklere Blaufarbe beim Hover */
}

/* Media Query für kleinere Bildschirme */
@media (max-width: 768px) {
    .image-container, .text-container, .message-container, .form-container {
        min-width: 100%; /* Volle Breite auf kleineren Bildschirmen */
    }
    h1 {
        position: static;
        text-align: center;
        margin-left: 0;
    }
    .form-container {
        justify-content: center;
    }
    .text-container {
        text-align: center;
    }
}