/* Anmeldeformular 40-Jahre-Feier -- eigenständiges, schlankes Stylesheet,
   nur auf der Anmeldeseite geladen. CI-Farben aus project-foundation.md. */

.gsw-jub-form {
	max-width: 640px;
	margin: 0 auto;
}

.gsw-jub-notice {
	padding: 12px 16px;
	border-radius: 6px;
	margin: 0 0 16px;
	font-weight: 600;
}

.gsw-jub-notice--error {
	background: #fbe4e4;
	border: 1px solid #bc181a;
	color: #7a1012;
}

.gsw-jub-success {
	background: #f9f9cf;
	border: 1px solid #ecdb53;
	border-radius: 8px;
	padding: 24px;
}

.gsw-jub-success-eyebrow {
	text-transform: uppercase;
	letter-spacing: 0.05em;
	font-size: 0.8rem;
	font-weight: 700;
	color: #7a1012;
	margin: 0 0 4px;
}

.gsw-jub-success h2 {
	margin: 0 0 8px;
}

.gsw-jub-honeypot {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.gsw-jub-field {
	display: block;
	margin: 0 0 18px;
	font-weight: 600;
}

.gsw-jub-field input[type="text"],
.gsw-jub-field input[type="email"],
.gsw-jub-field input[type="number"],
.gsw-jub-field textarea {
	display: block;
	width: 100%;
	margin-top: 6px;
	padding: 10px 12px;
	min-height: 44px;
	border: 1px solid #999;
	border-radius: 6px;
	font: inherit;
	box-sizing: border-box;
}

.gsw-jub-field textarea {
	min-height: 88px;
}

.gsw-jub-optional {
	font-weight: 400;
	font-size: 0.85em;
	color: #555;
}

.gsw-jub-required {
	color: #bc181a;
}

.gsw-jub-required-legend {
	font-size: 0.85em;
	color: #555;
	margin: 0 0 18px;
}

.gsw-jub-checkgroup {
	border: none;
	padding: 0;
	margin: 0 0 18px;
}

.gsw-jub-checkgroup legend {
	font-weight: 600;
	padding: 0 0 6px;
}

.gsw-jub-check {
	display: flex;
	align-items: center;
	gap: 10px;
	font-weight: 400;
	min-height: 44px;
}

.gsw-jub-check input[type="checkbox"],
.gsw-jub-check input[type="radio"] {
	width: 22px;
	height: 22px;
	flex: 0 0 auto;
}

.gsw-jub-year-row {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	margin: 4px 0 18px;
}

.gsw-jub-field--year {
	flex: 1 1 140px;
	margin: 0;
}

.gsw-jub-field--year input[type="number"] {
	width: 100%;
}

.gsw-jub-privacy {
	background: #f6f6f6;
	border-radius: 8px;
	padding: 16px;
	margin: 0 0 20px;
	font-size: 0.92rem;
}

.gsw-jub-privacy p {
	margin: 0 0 12px;
}

.gsw-jub-privacy--newsletter {
	background: #f9f9cf;
	border: 1px solid #ecdb53;
}

.gsw-jub-submit {
	display: inline-block;
	min-height: 44px;
	padding: 12px 28px;
	background: #bc181a;
	color: #fff;
	border: none;
	border-radius: 6px;
	font-weight: 700;
	font-size: 1rem;
	cursor: pointer;
}

.gsw-jub-submit:hover {
	background: #9c1315;
}

.gsw-jub-form :focus-visible,
.gsw-jub-form a:focus-visible {
	outline: 3px solid #bc181a;
	outline-offset: 2px;
}
