/*
 * Schriftfamilie gemaess CD-Manual SHG (Abschnitt 2.3 Typografie): fuer
 * Web/Homepage ist "Fira Sans" vorgesehen. Die Schriftdatei wird NICHT von
 * Google Fonts nachgeladen (Server-Standort ausserhalb der EU / DSGVO-
 * Thematik, vgl. Rechtsprechung zu Google Fonts), sondern erwartet als
 * selbst gehostete Datei unter assets/fonts/. Solange keine Font-Datei
 * hinterlegt ist, greift automatisch die Fallback-Kette (system-ui/sans-serif).
 */
@font-face {
	font-family: 'Fira Sans';
	src: url( '../fonts/FiraSans-Regular.woff2' ) format( 'woff2' ),
	     url( '../fonts/FiraSans-Regular.woff' ) format( 'woff' );
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: 'Fira Sans';
	src: url( '../fonts/FiraSans-Bold.woff2' ) format( 'woff2' ),
	     url( '../fonts/FiraSans-Bold.woff' ) format( 'woff' );
	font-weight: 700;
	font-style: normal;
	font-display: swap;
}

:root {
	/* SHG Corporate-Design-Farben (CD-Manual Abschnitt 2.2 Farben) */
	--sbf-color-red: #C10524;      /* Primaerfarbe Rot */
	--sbf-color-dovegray: #4E6B7D; /* Primaerfarbe Taubenblau */
	--sbf-color-gray: #6F6F6E;     /* Primaerfarbe Grau */
	--sbf-color-black: #000000;    /* Primaerfarbe Schwarz */
}

.sbf-form {
	max-width: 560px;
	margin: 0 auto;
	font-family: 'Fira Sans', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
	color: var( --sbf-color-black );
}
.sbf-field {
	margin-bottom: 18px;
}
.sbf-field label,
.sbf-field .sbf-label {
	display: block;
	font-weight: 700;
	margin-bottom: 6px;
}
.sbf-field input[type="text"],
.sbf-field input[type="email"],
.sbf-field input[type="number"],
.sbf-field textarea {
	width: 100%;
	max-width: 100%;
	padding: 8px 10px;
	border: 1px solid #ccc;
	border-radius: 4px;
	box-sizing: border-box;
	font-family: inherit;
}
.sbf-field input:focus,
.sbf-field textarea:focus {
	outline: none;
	border-color: var( --sbf-color-dovegray );
	box-shadow: 0 0 0 2px rgba( 78, 107, 125, 0.2 );
}
.sbf-radio-inline {
	display: inline-block;
	font-weight: normal;
	margin-right: 20px;
}
.sbf-zeilen .sbf-zeile-row {
	display: flex;
	gap: 8px;
	margin-bottom: 8px;
}
.sbf-zeilen .sbf-zeile-row input {
	flex: 1;
}
.sbf-zeile-remove {
	background: none;
	border: 1px solid #ccc;
	border-radius: 4px;
	cursor: pointer;
	padding: 0 10px;
}
.sbf-button-secondary {
	background: #f1f1f1;
	border: 1px solid #ccc;
	border-radius: 4px;
	padding: 6px 12px;
	cursor: pointer;
	font-family: inherit;
}
.sbf-hint {
	font-size: 0.85em;
	color: var( --sbf-color-gray );
	margin-top: 6px;
}
.sbf-logo-choices {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
}
.sbf-logo-choice {
	display: flex;
	flex-direction: column;
	align-items: center;
	font-weight: normal;
	border: 1px solid #ddd;
	border-radius: 6px;
	padding: 10px;
	cursor: pointer;
	width: 170px;
	text-align: center;
}
.sbf-logo-choice img {
	max-width: 150px;
	max-height: 50px;
	margin: 6px 0;
}
.sbf-button-primary {
	background: var( --sbf-color-red );
	color: #fff;
	border: none;
	border-radius: 4px;
	padding: 10px 22px;
	font-size: 1em;
	font-family: inherit;
	cursor: pointer;
}
.sbf-button-primary:hover {
	background: #9c041d;
}
.sbf-notice {
	padding: 12px 16px;
	border-radius: 4px;
	margin-bottom: 18px;
	max-width: 560px;
	margin-left: auto;
	margin-right: auto;
	font-family: 'Fira Sans', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
}
.sbf-notice-success {
	background: #e6f4ea;
	border: 1px solid #2e7d32;
	color: #1e4620;
}
.sbf-notice-error {
	background: #fbe3e6;
	border: 1px solid var( --sbf-color-red );
	color: #7a0313;
}

.sbf-section-title {
	margin: 28px 0 14px;
	padding-bottom: 6px;
	border-bottom: 2px solid var( --sbf-color-red );
	font-size: 1.1em;
}
.sbf-phone-inputs {
	display: flex;
	align-items: center;
	gap: 6px;
}
.sbf-phone-inputs input {
	flex: 1;
	padding: 8px 10px;
	border: 1px solid #ccc;
	border-radius: 4px;
	box-sizing: border-box;
	font-family: inherit;
}
.sbf-phone-sep {
	color: var( --sbf-color-gray );
	font-weight: 700;
}
