/* ======================================================
   Kontaktformular
   ====================================================== */

.kontakt-box {
    width: 100%;
    max-width: 650px;
    margin: 40px auto;
    padding: 30px;
    background: rgba(255,255,255,.88);
    border: 1px solid #c9c9c9;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0,0,0,.08);
}

.form-group {
    display: grid;
    grid-template-columns: 170px 1fr;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.form-group label {
    margin: 10px 0 0;
    font-weight: bold;
    color: #2e2e2e;
}

.form-control {
    width: 100%;
    padding: 10px 12px;
    font: inherit;
    color: #2e2e2e;
    background: #fff;
    border: 1px solid #c9c9c9;
    border-radius: 4px;
    box-sizing: border-box;
    transition:
        border-color .2s ease,
        box-shadow .2s ease;
}

.form-control:focus {
    outline: none;
    border: 1px solid #355e2c;
    box-shadow: 0 0 5px rgba(46,125,50,.25);
}

textarea.form-control {
    min-height: 220px;
    resize: vertical;
}

.form-submit {
    display: grid;
    justify-items: center;
    margin-top: 25px;
}

.form-button {
    padding: 10px 26px;
    font: inherit;
    font-weight: bold;
    background: #355e2c;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: opacity 0.2s ease, transform 0.1s ease;
}

.form-button:hover {
    background: #4a7a3f;
    color: #000;
}

.form-button:active {
    transform: scale(.98);
}

.form-hinweis {
    margin-top: 20px;
    font-size: .9rem;
    color: #666;
}

.form-fehler {
    margin-bottom: 20px;
    padding: 12px;
    color: #842029;
    background: #f8d7da;
    border: 1px solid #f5c2c7;
    border-radius: 5px;
}

.form-erfolg {
    margin-bottom: 20px;
    padding: 12px;
    color: #0f5132;
    background: #d1e7dd;
    border: 1px solid #badbcc;
    border-radius: 5px;
}