.whr-ma {
	--whr-accent: #DB6140;
	--whr-accent-2: #EFB600;
	--whr-ink: #1a1a1a;
	--whr-muted: #5f5f5f;
	--whr-line: #d8d8d8;
	--whr-bg: #ffffff;
	--whr-soft: #fff8e6;
	--whr-error: #b3261e;
	max-width: 760px;
	margin: 0 auto;
	font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	color: var(--whr-ink);
	font-size: 16px;
	line-height: 1.5;
}
.whr-ma *, .whr-ma *::before, .whr-ma *::after { box-sizing: border-box; }

.whr-ma-section {
	border: 0;
	border-top: 1px solid var(--whr-line);
	margin: 0 0 8px;
	padding: 24px 0 8px;
}
.whr-ma-section:first-of-type { border-top: 0; padding-top: 0; }
.whr-ma-section legend {
	color: var(--whr-accent);
	font-weight: 700;
	font-size: 1.15em;
	padding: 0;
	margin-bottom: 14px;
	float: left;
	width: 100%;
}
.whr-ma-section legend + * { clear: both; }

.whr-ma-row { display: flex; gap: 16px; flex-wrap: wrap; }
.whr-ma-field { margin: 0 0 16px; padding: 0; flex: 1 1 100%; }
.whr-ma-half { flex: 1 1 calc(50% - 8px); min-width: 200px; }
.whr-ma-third { flex: 0 1 calc(33% - 8px); min-width: 130px; }
.whr-ma-twothirds { flex: 1 1 calc(67% - 8px); min-width: 200px; }

.whr-ma-field label { display: block; font-weight: 600; font-size: .92em; margin-bottom: 4px; }
.whr-ma-req { color: var(--whr-accent); }
.whr-ma-opt { font-weight: 400; color: var(--whr-muted); }

.whr-ma input[type="text"], .whr-ma input[type="email"], .whr-ma input[type="tel"],
.whr-ma input[type="date"], .whr-ma input[type="number"], .whr-ma select {
	width: 100%;
	padding: 11px 12px;
	border: 1.5px solid var(--whr-line);
	border-radius: 6px;
	background: var(--whr-bg);
	font: inherit;
	color: inherit;
	min-height: 46px;
}
.whr-ma input:focus, .whr-ma select:focus {
	outline: none;
	border-color: var(--whr-accent);
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--whr-accent) 22%, transparent);
}
.whr-ma [aria-invalid="true"] { border-color: var(--whr-error) !important; }
.whr-ma-error { display: block; color: var(--whr-error); font-size: .88em; margin-top: 4px; }

.whr-ma-choices { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.whr-ma-choice { flex: 1 1 200px; cursor: pointer; margin: 0; }
.whr-ma-choice input { position: absolute; opacity: 0; pointer-events: none; }
.whr-ma-choice span {
	display: block;
	padding: 13px 16px;
	border: 1.5px solid var(--whr-ink);
	border-radius: 6px;
	font-weight: 600;
	text-align: center;
	transition: background .15s, border-color .15s;
}
.whr-ma-choice input:checked + span { background: var(--whr-accent-2); border-color: var(--whr-accent-2); }
.whr-ma-choice input:focus-visible + span { outline: 3px solid var(--whr-accent); outline-offset: 2px; }

.whr-ma-check { display: flex; gap: 10px; align-items: flex-start; margin: 0 0 12px; cursor: pointer; font-size: .95em; }
.whr-ma-check input { margin-top: 4px; width: 18px; height: 18px; flex: 0 0 18px; accent-color: var(--whr-accent); }
.whr-ma a { color: var(--whr-accent); }

.whr-ma-hint { color: var(--whr-muted); font-size: .92em; margin: 0 0 12px; }
.whr-ma-note, .whr-ma-mandat {
	background: var(--whr-soft);
	border-left: 4px solid var(--whr-accent-2);
	padding: 14px 16px;
	border-radius: 0 6px 6px 0;
	margin: 0 0 16px;
	font-size: .93em;
}
.whr-ma-mandat p { margin: 6px 0 12px; }
.whr-ma-minor { margin-bottom: 8px; }

.whr-ma-alert {
	border: 1.5px solid var(--whr-error);
	background: #fdf1f0;
	color: var(--whr-error);
	padding: 14px 16px;
	border-radius: 6px;
	margin-bottom: 20px;
}

.whr-ma-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

.whr-ma-legal { color: var(--whr-muted); font-size: .9em; margin: 16px 0 12px; }
.whr-ma-button {
	display: inline-block;
	width: 100%;
	padding: 16px 24px;
	border: 0;
	border-radius: 6px;
	background: linear-gradient(90deg, var(--whr-accent), var(--whr-accent-2));
	color: #000;
	font: inherit;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .08em;
	cursor: pointer;
	transition: filter .15s, transform .05s;
}
.whr-ma-button:hover { filter: brightness(1.05); }
.whr-ma-button:active { transform: translateY(1px); }
.whr-ma-button[disabled] { opacity: .6; cursor: wait; }

.whr-ma-done {
	border-top: 6px solid transparent;
	border-image: linear-gradient(90deg, var(--whr-accent), var(--whr-accent-2)) 1;
	background: var(--whr-soft);
	padding: 24px;
}
.whr-ma-done h3 { color: var(--whr-accent); margin-top: 0; }

.whr-ma [hidden] { display: none !important; }
.whr-ma-form[data-art="person"] .whr-ma-only-org { display: none; }
.whr-ma-form[data-art="organisation"] .whr-ma-only-person,
.whr-ma-form[data-art="organisation"] .whr-ma-minor { display: none !important; }
.whr-ma-form[data-zahlweise="ueberweisung"] .whr-ma-sepa { display: none; }

@media (max-width: 560px) {
	.whr-ma-half, .whr-ma-third, .whr-ma-twothirds { flex: 1 1 100%; }
	.whr-ma-row { gap: 0; }
}
