/* Allgemeine Einstellungen */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background-color: #f7f7f7;
}

.contact-form {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
    width: 100%;
    max-width: 450px;
    box-sizing: border-box;
    margin: 20px;
}

.contact-form h2 {
    margin-bottom: 20px;
    font-size: 24px;
    color: #333;
    text-align: center;
    border-bottom: 2px solid #4CAF50;
    padding-bottom: 10px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #444;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group select {
    width: 100%;
    padding: 10px;
    box-sizing: border-box;
    border: 1px solid #ddd;
    border-radius: 4px;
    transition: border-color 0.3s ease;
}

.form-group input[type="text"]:focus,
.form-group input[type="email"]:focus,
.form-group select:focus {
    border-color: #4CAF50;
    outline: none;
}

.checkbox-group, .radio-group {
    margin-left: 10px;
}

.checkbox-group div {
    display: flex;
    align-items: center;
    margin-bottom: 5px;
}

.checkbox-group label {
    margin-left: 5px;
    font-weight: normal;
    color: #555;
}

.radio-inline-group {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 5px;
}

.radio-inline-group input[type="radio"] {
    margin-right: 5px;
    accent-color: #4CAF50;
    cursor: pointer;
}

.submit-button {
    display: block;
    width: 100%;
    background-color: #4CAF50;
    color: #fff;
    padding: 12px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.submit-button:hover {
    background-color: #45a049;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.submit-button:active {
    background-color: #388E3C;
}

@media (max-width: 500px) {
    .contact-form {
        padding: 20px;
    }

    .radio-inline-group {
        flex-direction: column;
        align-items: flex-start;
    }
}
