/*
 * Template: Kontaktformular (template-parts/kontakt-form.php) - Kontaktdaten
 * und Formular auf der Kontaktseite (page-kontakt.php).
 */

.kontakt-form {
	padding-top: 6rem;
	padding-bottom: 6rem;
}

.kontakt-form__wrapper {
	max-width: 80rem;
	margin: 0 auto;
	padding: 0 1rem;
	display: flex;
	flex-wrap: wrap;
	gap: 3rem;
}

.kontakt-form__info,
.kontakt-form__form {
	flex-basis: 20rem;
	flex-grow: 1;
}

.kontakt-form__info address {
	font-style: normal;
	line-height: 1.6;
}

.form-group {
	margin-bottom: 1.25rem;
}

.form-group label {
	display: block;
	margin-bottom: 0.35rem;
	font-weight: 500;
}

.label-optional {
	font-weight: 400;
	font-size: 0.9rem;
	color: #4f535b99;
}

.form-group input,
.form-group textarea {
	width: 100%;
	padding: 0.6rem 0.8rem;
	border: 1px solid #4f535b55;
	border-radius: 4px;
	font-family: inherit;
	font-size: 1rem;
	background: #fff;
	color: #4f535b;
}

.form-group input:focus,
.form-group textarea:focus {
	outline: 2px solid #d40f14;
	outline-offset: 1px;
}

.form-group textarea {
	min-height: 8rem;
	resize: vertical;
}

.form-hint {
	font-size: 0.85rem;
	color: #4f535b99;
	margin-bottom: 1.5rem;
	padding: 0;
}

.form-notice {
	padding: 0.8rem 1rem;
	border-radius: 4px;
	margin-bottom: 1.5rem;
}

.form-notice--success {
	background: #e3f3e6;
	color: #1e5e2c;
	border: 1px solid #1e5e2c33;
}

.form-notice--error {
	background: #fbe4e4;
	color: #8f1c1c;
	border: 1px solid #8f1c1c33;
}
