/**
 * Unterstützer submission form.
 * Scoped under .unterstuetzer-form so it never bleeds into other forms.
 */

.unterstuetzer-form {
	max-width: 720px;
	margin: 64px auto 0;
	padding: 32px clamp(16px, 4vw, 32px);
	background: #FAF5EE;
	border-radius: 12px;
}

.unterstuetzer-form__header {
	margin-bottom: 24px;
}

.unterstuetzer-form__title {
	margin: 0 0 8px;
	font-size: clamp(1.5rem, 2.5vw, 2rem);
	color: #0B1B2D;
}

.unterstuetzer-form__lead {
	margin: 0;
	color: #0B1B2D;
	opacity: .82;
}

.unterstuetzer-form__errors {
	margin: 0 0 24px;
	padding: 16px 20px;
	border-left: 4px solid #d33;
	background: #fff;
	border-radius: 4px;
}

.unterstuetzer-form__errors-title {
	margin: 0 0 8px;
	font-weight: 600;
	color: #d33;
}

.unterstuetzer-form__errors-list {
	margin: 0;
	padding-left: 1.25em;
	color: #0B1B2D;
}

.unterstuetzer-form__form {
	display: grid;
	gap: 20px;
}

.unterstuetzer-form__field {
	display: grid;
	gap: 6px;
}

.unterstuetzer-form__field-group {
	display: grid;
	gap: 20px;
}

.unterstuetzer-form__field label {
	font-weight: 600;
	color: #0B1B2D;
}

.unterstuetzer-form__field .required {
	color: #F7931A;
	margin-left: 2px;
}

.unterstuetzer-form__field input[type="text"],
.unterstuetzer-form__field input[type="email"],
.unterstuetzer-form__field input[type="url"],
.unterstuetzer-form__field input[type="file"],
.unterstuetzer-form__field select,
.unterstuetzer-form__field textarea {
	width: 100%;
	padding: 10px 12px;
	border: 1px solid #cbd2dc;
	border-radius: 6px;
	background: #fff;
	font: inherit;
	color: #0B1B2D;
}

.unterstuetzer-form__field input:focus,
.unterstuetzer-form__field select:focus,
.unterstuetzer-form__field textarea:focus {
	outline: 2px solid #F7931A;
	outline-offset: 1px;
	border-color: #F7931A;
}

.unterstuetzer-form__field [aria-invalid="true"] {
	border-color: #d33;
}

.unterstuetzer-form__hint {
	margin: 0;
	font-size: 0.875rem;
	color: #56606e;
}

.unterstuetzer-form__error {
	margin: 0;
	font-size: 0.875rem;
	color: #d33;
	font-weight: 500;
}

.unterstuetzer-form__field--checkbox label {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	font-weight: 400;
	cursor: pointer;
}

.unterstuetzer-form__field--checkbox input[type="checkbox"] {
	margin-top: 0.25em;
	width: 18px;
	height: 18px;
	accent-color: #F7931A;
	flex-shrink: 0;
}

.unterstuetzer-form__field--checkbox a {
	color: #0B1B2D;
	text-decoration: underline;
}

.unterstuetzer-form__honeypot {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.unterstuetzer-form__submit {
	margin-top: 4px;
}

.unterstuetzer-form__submit button[disabled],
.unterstuetzer-form__submit button[aria-busy="true"] {
	opacity: 0.6;
	cursor: progress;
}

.unterstuetzer-form--success {
	text-align: center;
}

.unterstuetzer-form__success-card {
	padding: 32px 16px;
}
