﻿.contact-form-section {
    width: 100%
}

.contact-form-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.contact-form {
    width: 100%;
}

.contact-form .form-row {
    display: grid;
    grid-template-columns: 180px 1fr;
    column-gap: 20px;
    align-items: start;
    margin-bottom: 20px;
}

.contact-form label {
    display: block;
    font-weight: 600;
    line-height: 40px;
}

.contact-form .required {
    color: red;
}

.contact-form input[type="text"],
.contact-form input[type="tel"],
.contact-form input[type="email"],
.contact-form input[type="numeric"],
.contact-form select,
.contact-form textarea {
    box-sizing: border-box;
    width: 100%;
    min-height: 40px;

    padding: 8px 12px;
    border: 1px solid #999;
    border-radius: 3px;

    font-family: inherit;
    font-size: 16px;
    line-height: 1.4;
}

.contact-form textarea {
    min-height: 180px;
    resize: vertical;
}

.cpmtact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: 2px solid #005ea8;
    outline-offset: 1px;
}

-contact-form .privacy-row {
    grid-template-columns: 180px 1fr;
}

.contact-form .privacy-label {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    line-height: 1.5;
    font-weight: normal;
}

.contact-form .privacy-label input[type="checkbox"] {
    width: auto;
    margin-top: 4px;
}

.contact-form button[type="submit"] {
    padding: 10px 24px;
    border: none;
    border-radius: 10px;

    font-family: inherit;
    font-size: 16px;
    font-weight: 600;

    cursor: pointer;

	background-color: #62bb46;
	color: #ffffff;
}

/* ----------------------------
    Mobile Darstellung
   ---------------------------- */

@media (max-width: 600px) {
    .contact-form .form-row {
        display: block;
    }
    
    .contact-form .form-row label {
        line-height: 1.5;
        margin-bottom: 6px;
    }

    .contact-form .privacy-label {
        display: flex;
    }
}