/* =========================================================================
   Schnarchen behandeln – Theme-Stylesheet
   Kühle, klinisch-seriöse Gestaltung in Stahlblau.
   ========================================================================= */

/* -------------------------------------------------------------------------
   1. Grundlagen
   ---------------------------------------------------------------------- */

:root {
	--sb-primary: #577a8a;
	--sb-primary-dark: #456474;
	--sb-secondary: #3d5163;
	--sb-ink: #2b2b2b;
	--sb-ink-deep: #15202b;
	--sb-body: #585a51;
	--sb-surface: #ffffff;
	--sb-muted: #ededed;
	--sb-blue: #eef2f6;
	--sb-border: #dfdddd;
	--sb-footer: #292424;
	--sb-accent: #ffca58;
	--sb-header-height: 82px;
	--sb-shadow: 0 18px 48px rgba(21, 32, 43, 0.12);
	--sb-shadow-soft: 0 6px 20px rgba(21, 32, 43, 0.08);
}

* {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
	scroll-padding-top: calc(var(--sb-header-height) + 16px);
}

body {
	margin: 0;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

/* Cross-Browser-Reset: verhindert den WordPress-Standard-Block-Gap
   und damit unterschiedliche Abstände in Firefox und Chrome. */
.wp-site-blocks > * {
	margin-block-start: 0;
	margin-block-end: 0;
}

img {
	max-width: 100%;
	height: auto;
}

/* -------------------------------------------------------------------------
   2. Layout-Bausteine
   ---------------------------------------------------------------------- */

.sb-section {
	padding-block: clamp(3.5rem, 3rem + 2.5vw, 6rem);
	padding-inline: 1.5rem;
}

.sb-section--muted {
	background: var(--sb-muted);
}

.sb-section--blue {
	background: var(--sb-blue);
}

.sb-section--tight {
	padding-block: clamp(2.5rem, 2rem + 1.5vw, 3.5rem);
}

.sb-container {
	max-width: 1140px;
	margin-inline: auto;
	width: 100%;
}

.sb-container--narrow {
	max-width: 820px;
}

.sb-grid {
	display: grid;
	gap: clamp(2rem, 1.5rem + 2vw, 4rem);
	align-items: center;
}

.sb-grid--split {
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.sb-grid--thirds {
	grid-template-columns: repeat(3, minmax(0, 1fr));
	align-items: start;
}

.sb-grid--reverse > :first-child {
	order: 2;
}

/* -------------------------------------------------------------------------
   3. Typografie
   ---------------------------------------------------------------------- */

.sb-eyebrow {
	display: block;
	font-size: 0.8125rem;
	font-weight: 700;
	letter-spacing: 0.11em;
	text-transform: uppercase;
	color: var(--sb-primary);
	margin-bottom: 0.875rem;
}

.sb-h1,
.sb-h2,
.sb-h3 {
	color: var(--sb-ink);
	font-weight: 700;
	line-height: 1.18;
	letter-spacing: -0.015em;
	margin: 0 0 1.125rem;
}

.sb-h1 {
	font-size: clamp(2.125rem, 1.5rem + 2.6vw, 3rem);
}

.sb-h2 {
	font-size: clamp(1.75rem, 1.3rem + 2vw, 2.25rem);
}

.sb-h3 {
	font-size: clamp(1.25rem, 1.1rem + 0.7vw, 1.5rem);
}

.sb-lead {
	font-size: clamp(1.0625rem, 1rem + 0.4vw, 1.25rem);
	line-height: 1.65;
	color: var(--sb-body);
	margin: 0 0 1.5rem;
}

.sb-text {
	color: var(--sb-body);
	line-height: 1.75;
	margin: 0 0 1.125rem;
}

.sb-text:last-child {
	margin-bottom: 0;
}

.sb-text strong {
	color: var(--sb-ink);
}

.sb-center {
	text-align: center;
}

.sb-center .sb-lead {
	margin-inline: auto;
	max-width: 720px;
}

/* -------------------------------------------------------------------------
   4. Buttons
   ---------------------------------------------------------------------- */

.sb-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	padding: 1rem 1.75rem;
	border: 2px solid var(--sb-primary);
	border-radius: 8px;
	background: var(--sb-primary);
	color: #fff;
	font-size: 1.0625rem;
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none;
	cursor: pointer;
	transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.sb-btn:hover,
.sb-btn:focus-visible {
	background: var(--sb-primary-dark);
	border-color: var(--sb-primary-dark);
	color: #fff;
	transform: translateY(-1px);
}

.sb-btn--ghost {
	background: transparent;
	color: var(--sb-primary);
}

.sb-btn--ghost:hover,
.sb-btn--ghost:focus-visible {
	background: var(--sb-primary);
	color: #fff;
}

.sb-btn--light {
	background: #fff;
	border-color: #fff;
	color: var(--sb-ink-deep);
}

.sb-btn--light:hover,
.sb-btn--light:focus-visible {
	background: rgba(255, 255, 255, 0.86);
	border-color: rgba(255, 255, 255, 0.86);
	color: var(--sb-ink-deep);
}

.sb-btn--small {
	padding: 0.6875rem 1.25rem;
	font-size: 0.9375rem;
}

.sb-btn-row {
	display: flex;
	flex-wrap: wrap;
	gap: 0.875rem;
	margin-top: 1.75rem;
}

.sb-center .sb-btn-row {
	justify-content: center;
}

/* -------------------------------------------------------------------------
   5. Kopfbereich
   ---------------------------------------------------------------------- */

.sb-header {
	position: sticky;
	top: 0;
	z-index: 90;
	background: #fff;
	border-bottom: 1px solid var(--sb-border);
	padding-inline: 1.5rem;
}

.sb-header__inner {
	max-width: 1140px;
	margin-inline: auto;
	min-height: var(--sb-header-height);
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
}

.sb-logo {
	display: inline-flex;
	align-items: center;
	flex: 0 0 auto;
	text-decoration: none;
}

.sb-logo img {
	display: block;
	width: 210px;
	height: auto;
}

.sb-nav {
	display: flex;
	align-items: center;
	gap: 1.75rem;
	margin-left: auto;
}

.sb-nav a {
	color: var(--sb-ink);
	font-size: 1rem;
	font-weight: 500;
	text-decoration: none;
	white-space: nowrap;
	transition: color 0.2s ease;
}

.sb-nav a:hover,
.sb-nav a:focus-visible {
	color: var(--sb-primary);
}

.sb-header .sb-btn {
	flex: 0 0 auto;
}

.sb-nav-toggle {
	display: none;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 1px solid var(--sb-border);
	border-radius: 8px;
	background: #fff;
	cursor: pointer;
	position: relative;
}

.sb-nav-toggle span,
.sb-nav-toggle span::before,
.sb-nav-toggle span::after {
	position: absolute;
	left: 50%;
	width: 20px;
	height: 2px;
	background: var(--sb-ink);
	transform: translateX(-50%);
	content: "";
}

.sb-nav-toggle span {
	top: 50%;
	transform: translate(-50%, -50%);
}

.sb-nav-toggle span::before {
	top: -6px;
}

.sb-nav-toggle span::after {
	top: 6px;
}

/* -------------------------------------------------------------------------
   6. Hero
   ---------------------------------------------------------------------- */

.sb-hero {
	position: relative;
	overflow: hidden;
	background: var(--sb-ink-deep);
}

.sb-hero__media {
	position: absolute;
	inset: 0;
	z-index: 0;
}

.sb-hero__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 70% 50%;
	border-radius: 0;
}

.sb-hero__media::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(
		100deg,
		rgba(12, 22, 31, 0.9) 0%,
		rgba(12, 22, 31, 0.75) 38%,
		rgba(12, 22, 31, 0.35) 68%,
		rgba(12, 22, 31, 0.28) 100%
	);
}

.sb-hero__inner {
	position: relative;
	z-index: 1;
	max-width: 1140px;
	margin-inline: auto;
	padding-block: clamp(3.5rem, 3rem + 3vw, 6rem);
	padding-inline: 1.5rem;
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
	gap: clamp(2rem, 1.5rem + 2vw, 3.5rem);
	align-items: center;
}

.sb-hero__content {
	color: #fff;
}

.sb-hero__content .sb-eyebrow {
	color: #a9c4d0;
}

.sb-hero h1 {
	color: #fff;
	font-size: clamp(2rem, 1.4rem + 2.6vw, 2.875rem);
	line-height: 1.15;
	letter-spacing: -0.02em;
	margin: 0 0 1rem;
}

.sb-hero__sub {
	font-size: clamp(1.0625rem, 1rem + 0.4vw, 1.25rem);
	line-height: 1.6;
	color: rgba(255, 255, 255, 0.9);
	margin: 0 0 1.75rem;
	max-width: 34rem;
}

.sb-checklist {
	list-style: none;
	margin: 0 0 2rem;
	padding: 0;
	display: grid;
	gap: 0.75rem;
}

.sb-checklist li {
	position: relative;
	padding-left: 2.125rem;
	color: rgba(255, 255, 255, 0.95);
	font-size: 1.0625rem;
	line-height: 1.5;
}

.sb-checklist li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.1875rem;
	width: 1.375rem;
	height: 1.375rem;
	border-radius: 50%;
	background: var(--sb-primary) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E")
		center / 0.8125rem no-repeat;
}

/* Checkliste auf hellem Grund */
.sb-checklist--dark li {
	color: var(--sb-body);
}

/* -------------------------------------------------------------------------
   7. Eignungs-Check (interaktiv)
   ---------------------------------------------------------------------- */

.sb-quiz {
	background: #fff;
	border-radius: 16px;
	box-shadow: var(--sb-shadow);
	padding: clamp(1.5rem, 1.25rem + 1vw, 2.25rem);
}

.sb-quiz__head {
	margin-bottom: 1.5rem;
}

.sb-quiz__title {
	font-size: 1.25rem;
	font-weight: 700;
	color: var(--sb-ink);
	margin: 0 0 0.5rem;
	line-height: 1.3;
}

.sb-quiz__intro {
	font-size: 0.9375rem;
	color: var(--sb-body);
	margin: 0;
	line-height: 1.6;
}

.sb-quiz__progress {
	height: 5px;
	border-radius: 999px;
	background: var(--sb-muted);
	overflow: hidden;
	margin-bottom: 1.5rem;
}

.sb-quiz__bar {
	display: block;
	height: 100%;
	width: 20%;
	background: var(--sb-primary);
	border-radius: 999px;
	transition: width 0.3s ease;
}

.sb-quiz__step {
	display: none;
}

.sb-quiz__step.is-active {
	display: block;
}

.sb-quiz__count {
	font-size: 0.8125rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--sb-primary);
	margin: 0 0 0.625rem;
}

.sb-quiz__question {
	font-size: 1.0625rem;
	font-weight: 700;
	color: var(--sb-ink);
	line-height: 1.45;
	margin: 0 0 1.125rem;
}

.sb-quiz__options {
	display: grid;
	gap: 0.625rem;
	margin-bottom: 1.5rem;
}

.sb-quiz__option {
	display: block;
	width: 100%;
	text-align: left;
	padding: 0.875rem 1.0625rem;
	border: 1px solid var(--sb-border);
	border-radius: 10px;
	background: #fff;
	color: var(--sb-ink);
	font-family: inherit;
	font-size: 1rem;
	line-height: 1.4;
	cursor: pointer;
	transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.sb-quiz__option:hover,
.sb-quiz__option:focus-visible {
	border-color: var(--sb-primary);
	background: var(--sb-blue);
}

.sb-quiz__option.is-selected {
	border-color: var(--sb-primary);
	background: var(--sb-primary);
	color: #fff;
}

.sb-quiz__nav {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
}

.sb-quiz__back {
	border: 0;
	background: none;
	padding: 0.5rem 0;
	color: var(--sb-body);
	font-family: inherit;
	font-size: 0.9375rem;
	cursor: pointer;
	text-decoration: underline;
}

.sb-quiz__back[hidden] {
	visibility: hidden;
}

.sb-quiz__result {
	display: none;
}

.sb-quiz__result.is-active {
	display: block;
}

.sb-quiz__result-title {
	font-size: 1.1875rem;
	font-weight: 700;
	color: var(--sb-ink);
	margin: 0 0 0.75rem;
	line-height: 1.35;
}

.sb-quiz__result-text {
	color: var(--sb-body);
	line-height: 1.7;
	margin: 0 0 1.5rem;
	font-size: 1rem;
}

.sb-quiz__note {
	font-size: 0.8125rem;
	color: #7c7e78;
	line-height: 1.55;
	margin: 1.25rem 0 0;
	padding-top: 1rem;
	border-top: 1px solid var(--sb-border);
}

.sb-quiz__restart {
	border: 0;
	background: none;
	padding: 0;
	margin-top: 1rem;
	color: var(--sb-primary);
	font-family: inherit;
	font-size: 0.9375rem;
	cursor: pointer;
	text-decoration: underline;
}

/* -------------------------------------------------------------------------
   8. Trust-Leiste und Hinweisbanner
   ---------------------------------------------------------------------- */

.sb-trust {
	background: #fff;
	border-bottom: 1px solid var(--sb-border);
	padding-block: 1.375rem;
	padding-inline: 1.5rem;
}

.sb-trust__inner {
	max-width: 1140px;
	margin-inline: auto;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 1rem 2.5rem;
}

.sb-trust__item {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	font-size: 0.9375rem;
	font-weight: 500;
	color: var(--sb-body);
}

.sb-trust__item svg {
	flex: 0 0 auto;
	width: 1.125rem;
	height: 1.125rem;
	color: var(--sb-primary);
}

.sb-notice {
	background: var(--sb-muted);
	padding-block: 1.25rem;
	padding-inline: 1.5rem;
	text-align: center;
}

.sb-notice p {
	max-width: 900px;
	margin: 0 auto;
	font-size: 1rem;
	font-weight: 600;
	line-height: 1.6;
	color: var(--sb-ink-deep);
}

/* -------------------------------------------------------------------------
   9. Karten und Listen
   ---------------------------------------------------------------------- */

.sb-card {
	background: #fff;
	border: 1px solid var(--sb-border);
	border-radius: 12px;
	padding: clamp(1.5rem, 1.25rem + 0.6vw, 2rem);
	height: 100%;
}

.sb-card__num {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.5rem;
	height: 2.5rem;
	border-radius: 50%;
	background: var(--sb-blue);
	color: var(--sb-primary);
	font-size: 1.0625rem;
	font-weight: 700;
	margin-bottom: 1.125rem;
}

.sb-card__title {
	font-size: 1.125rem;
	font-weight: 700;
	color: var(--sb-ink);
	line-height: 1.35;
	margin: 0 0 0.75rem;
}

.sb-card__text {
	color: var(--sb-body);
	font-size: 1rem;
	line-height: 1.7;
	margin: 0;
}

.sb-card__media {
	margin: -0.5rem -0.5rem 1.25rem;
	border-radius: 10px;
	overflow: hidden;
	aspect-ratio: 3 / 2;
}

.sb-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 0;
}

.sb-figure img {
	width: 100%;
	border-radius: 12px;
	box-shadow: var(--sb-shadow-soft);
}

.sb-figure--square img {
	aspect-ratio: 1 / 1;
	object-fit: cover;
}

.sb-figure--portrait img {
	aspect-ratio: 3 / 4;
	object-fit: cover;
}

/* Zitat-/Studienbox */
.sb-quote {
	margin: 1.75rem 0;
	padding: 1.25rem 1.5rem;
	border-left: 4px solid var(--sb-primary);
	background: var(--sb-blue);
	border-radius: 0 10px 10px 0;
}

.sb-quote p {
	margin: 0;
	color: var(--sb-ink-deep);
	font-size: 1rem;
	line-height: 1.7;
	font-weight: 500;
}

.sb-quote cite {
	display: block;
	margin-top: 0.625rem;
	font-size: 0.8125rem;
	font-style: normal;
	color: #6f7169;
}

/* Ablauf-Schritte */
.sb-steps {
	list-style: none;
	counter-reset: sbstep;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 1.25rem;
}

.sb-steps li {
	counter-increment: sbstep;
	position: relative;
	padding: 1.5rem 1.75rem 1.5rem 4.5rem;
	background: #fff;
	border: 1px solid var(--sb-border);
	border-radius: 12px;
}

.sb-steps li::before {
	content: counter(sbstep);
	position: absolute;
	left: 1.5rem;
	top: 1.5rem;
	width: 2.125rem;
	height: 2.125rem;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: var(--sb-primary);
	color: #fff;
	font-size: 0.9375rem;
	font-weight: 700;
}

.sb-steps h3 {
	font-size: 1.0625rem;
	font-weight: 700;
	color: var(--sb-ink);
	margin: 0 0 0.5rem;
	line-height: 1.35;
}

.sb-steps p {
	margin: 0;
	color: var(--sb-body);
	font-size: 1rem;
	line-height: 1.7;
}

.sb-steps__meta {
	display: inline-block;
	margin-top: 0.625rem;
	font-size: 0.8125rem;
	font-weight: 600;
	color: var(--sb-primary);
}

/* Vorteilsliste mit Häkchen auf hellem Grund */
.sb-benefits {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1rem 2rem;
}

.sb-benefits li {
	position: relative;
	padding-left: 2.125rem;
	color: var(--sb-body);
	font-size: 1.0625rem;
	line-height: 1.55;
}

.sb-benefits li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.1875rem;
	width: 1.375rem;
	height: 1.375rem;
	border-radius: 50%;
	background: var(--sb-primary) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E")
		center / 0.8125rem no-repeat;
}

/* -------------------------------------------------------------------------
   10. Tabellen
   ---------------------------------------------------------------------- */

.sb-table-wrap {
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	margin: 1.75rem 0 0;
}

.sb-table {
	width: 100%;
	border-collapse: collapse;
	background: #fff;
	font-size: 1rem;
	min-width: 640px;
}

.sb-table th,
.sb-table td {
	padding: 0.9375rem 1.125rem;
	text-align: left;
	border-bottom: 1px solid var(--sb-border);
	vertical-align: top;
	line-height: 1.6;
}

.sb-table thead th {
	background: var(--sb-secondary);
	color: #fff;
	font-size: 0.9375rem;
	font-weight: 700;
	border-bottom: 0;
}

.sb-table tbody th {
	font-weight: 700;
	color: var(--sb-ink);
	white-space: nowrap;
}

.sb-table td {
	color: var(--sb-body);
}

.sb-table tbody tr:last-child th,
.sb-table tbody tr:last-child td {
	border-bottom: 0;
}

.sb-table tbody tr:nth-child(even) {
	background: #fafafa;
}

/* -------------------------------------------------------------------------
   11. FAQ-Akkordeon
   ---------------------------------------------------------------------- */

.sb-faq {
	display: grid;
	gap: 0.75rem;
}

.sb-faq details {
	background: #fff;
	border: 1px solid var(--sb-border);
	border-radius: 10px;
	overflow: hidden;
}

.sb-faq summary {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 1rem;
	padding: 1.125rem 1.375rem;
	cursor: pointer;
	list-style: none;
	font-size: 1.0625rem;
	font-weight: 600;
	color: var(--sb-ink);
	line-height: 1.5;
	transition: color 0.2s ease;
}

.sb-faq summary::-webkit-details-marker {
	display: none;
}

.sb-faq summary::after {
	content: "";
	flex: 0 0 auto;
	width: 1.25rem;
	height: 1.25rem;
	margin-top: 0.1875rem;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23577A8A' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E")
		center / contain no-repeat;
	transition: transform 0.25s ease;
}

.sb-faq details[open] summary {
	color: var(--sb-primary);
}

.sb-faq details[open] summary::after {
	transform: rotate(180deg);
}

.sb-faq__answer {
	padding: 0 1.375rem 1.375rem;
	color: var(--sb-body);
	line-height: 1.75;
	font-size: 1rem;
}

.sb-faq__answer p {
	margin: 0 0 0.875rem;
}

.sb-faq__answer p:last-child {
	margin-bottom: 0;
}

/* -------------------------------------------------------------------------
   12. Abschluss-CTA
   ---------------------------------------------------------------------- */

.sb-cta {
	background: var(--sb-secondary);
	color: #fff;
	text-align: center;
	padding-block: clamp(3.5rem, 3rem + 2vw, 5.5rem);
	padding-inline: 1.5rem;
}

.sb-cta h2 {
	color: #fff;
	margin: 0 0 1rem;
	font-size: clamp(1.75rem, 1.3rem + 2vw, 2.25rem);
	line-height: 1.2;
}

.sb-cta p {
	max-width: 660px;
	margin: 0 auto 2rem;
	color: rgba(255, 255, 255, 0.88);
	font-size: 1.0625rem;
	line-height: 1.7;
}

/* -------------------------------------------------------------------------
   13. Seiten-Kopfbereich (Unterseiten)
   ---------------------------------------------------------------------- */

.sb-pagehead {
	background: var(--sb-blue);
	border-bottom: 1px solid var(--sb-border);
	padding-block: clamp(2.75rem, 2.25rem + 2vw, 4.5rem);
	padding-inline: 1.5rem;
}

.sb-pagehead__inner {
	max-width: 820px;
	margin-inline: auto;
}

.sb-pagehead h1 {
	margin: 0;
	color: var(--sb-ink);
}

.sb-pagehead .sb-lead {
	margin: 1rem 0 0;
}

.sb-breadcrumb {
	font-size: 0.875rem;
	color: #7c7e78;
	margin: 0 0 1rem;
}

.sb-breadcrumb a {
	color: var(--sb-primary);
	text-decoration: none;
}

.sb-breadcrumb a:hover {
	text-decoration: underline;
}

/* Inhaltsbereich der WordPress-Seiten */
.sb-page-content {
	max-width: 820px;
	margin-inline: auto;
	padding-block: clamp(2.5rem, 2rem + 2vw, 4rem);
	padding-inline: 1.5rem;
}

.sb-page-content h2 {
	font-size: clamp(1.5rem, 1.2rem + 1.2vw, 1.875rem);
	color: var(--sb-ink);
	margin: 2.5rem 0 1rem;
	line-height: 1.25;
}

.sb-page-content h2:first-child {
	margin-top: 0;
}

.sb-page-content h3 {
	font-size: 1.1875rem;
	color: var(--sb-ink);
	margin: 2rem 0 0.75rem;
}

.sb-page-content p,
.sb-page-content li {
	color: var(--sb-body);
	line-height: 1.75;
}

.sb-page-content p {
	margin: 0 0 1.25rem;
}

.sb-page-content p:last-child {
	margin-bottom: 0;
}

.sb-page-content > .sb-lead {
	margin-bottom: 1.75rem;
}

.sb-page-content ul,
.sb-page-content ol {
	margin: 0 0 1.5rem;
	padding-left: 1.25rem;
}

.sb-page-content ul.sb-benefits {
	padding-left: 0;
}

.sb-page-content li {
	margin-bottom: 0.5rem;
}

.sb-page-content .sb-table-wrap {
	margin: 0 0 1.75rem;
}

.sb-page-content .sb-faq {
	margin-top: 1.5rem;
}

.sb-page-content strong {
	color: var(--sb-ink);
}

/* -------------------------------------------------------------------------
   14. Fußbereich
   ---------------------------------------------------------------------- */

.sb-footer {
	background: var(--sb-footer);
	color: rgba(255, 255, 255, 0.72);
	padding-block: clamp(3rem, 2.5rem + 1.5vw, 4.5rem) 2rem;
	padding-inline: 1.5rem;
	font-size: 0.9375rem;
}

.sb-footer__inner {
	max-width: 1140px;
	margin-inline: auto;
}

.sb-footer__grid {
	display: grid;
	grid-template-columns: 1.4fr repeat(3, 1fr);
	gap: 2.5rem;
	padding-bottom: 2.5rem;
	border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.sb-footer__logo img {
	width: 200px;
	height: auto;
	margin-bottom: 1.125rem;
}

.sb-footer__about {
	line-height: 1.7;
	margin: 0;
	max-width: 30ch;
}

.sb-footer h3 {
	color: #fff;
	font-size: 0.9375rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	margin: 0 0 1.125rem;
}

.sb-footer ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 0.6875rem;
}

.sb-footer__address {
	margin: 0.9375rem 0 0;
	font-style: normal;
	line-height: 1.7;
	color: rgba(255, 255, 255, 0.62);
}

.sb-footer a {
	color: rgba(255, 255, 255, 0.72);
	text-decoration: none;
	transition: color 0.2s ease;
}

.sb-footer a:hover,
.sb-footer a:focus-visible {
	color: #fff;
	text-decoration: underline;
}

.sb-footer__bottom {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding-top: 1.75rem;
	font-size: 0.875rem;
	color: rgba(255, 255, 255, 0.55);
}

.sb-footer__bottom p {
	margin: 0;
}

.sb-footer__legal {
	display: flex;
	flex-wrap: wrap;
	gap: 1.5rem;
}

.sb-footer__disclaimer {
	margin: 1.5rem 0 0;
	font-size: 0.8125rem;
	line-height: 1.65;
	color: rgba(255, 255, 255, 0.45);
	max-width: 70ch;
}

/* -------------------------------------------------------------------------
   15. Barrierefreiheit
   ---------------------------------------------------------------------- */

.sb-skip-link {
	position: absolute;
	left: -9999px;
	top: 0;
	z-index: 999;
	padding: 0.75rem 1.25rem;
	background: #fff;
	color: var(--sb-ink);
	font-weight: 600;
}

.sb-skip-link:focus {
	left: 1rem;
	top: 1rem;
}

:focus-visible {
	outline: 3px solid var(--sb-primary);
	outline-offset: 2px;
}

/* -------------------------------------------------------------------------
   16. Responsive
   ---------------------------------------------------------------------- */

@media (max-width: 1023px) {
	.sb-hero__inner {
		grid-template-columns: minmax(0, 1fr);
	}

	.sb-hero__media img {
		object-position: 62% 50%;
	}

	.sb-footer__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 2rem;
	}
}

@media (max-width: 900px) {
	.sb-nav {
		display: none;
	}

	.sb-nav.is-open {
		display: flex;
		position: absolute;
		left: 0;
		right: 0;
		top: 100%;
		flex-direction: column;
		align-items: stretch;
		gap: 0;
		margin: 0;
		padding: 0.5rem 1.5rem 1.25rem;
		background: #fff;
		border-bottom: 1px solid var(--sb-border);
		box-shadow: var(--sb-shadow-soft);
	}

	.sb-nav.is-open a {
		padding: 0.875rem 0;
		border-bottom: 1px solid var(--sb-border);
	}

	.sb-nav.is-open a:last-child {
		border-bottom: 0;
	}

	.sb-nav-toggle {
		display: block;
		order: 3;
	}

	.sb-header {
		position: relative;
	}

	.sb-header__inner {
		position: relative;
	}
}

@media (max-width: 782px) {
	:root {
		--sb-header-height: 66px;
	}

	.sb-grid--split,
	.sb-grid--thirds {
		grid-template-columns: minmax(0, 1fr);
	}

	.sb-grid--reverse > :first-child {
		order: 0;
	}

	.sb-logo img {
		width: 150px;
	}

	.sb-header .sb-btn {
		padding: 0.625rem 1rem;
		font-size: 0.9375rem;
	}

	.sb-benefits {
		grid-template-columns: minmax(0, 1fr);
	}

	.sb-steps li {
		padding: 1.25rem 1.25rem 1.25rem 3.875rem;
	}

	.sb-steps li::before {
		left: 1.125rem;
		top: 1.25rem;
	}

	.sb-hero__inner {
		padding-block: 2.75rem;
	}
}

@media (max-width: 600px) {
	.sb-footer__grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.sb-btn-row .sb-btn {
		width: 100%;
	}

	.sb-trust__inner {
		gap: 0.75rem 1.5rem;
	}

	.sb-trust__item {
		font-size: 0.875rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	* {
		transition-duration: 0.01ms !important;
		animation-duration: 0.01ms !important;
	}
}

/* -------------------------------------------------------------------------
   17. Druckausgabe
   ---------------------------------------------------------------------- */

@media print {
	.sb-header,
	.sb-footer,
	.sb-cta,
	.sb-quiz,
	.sb-btn {
		display: none !important;
	}

	.sb-hero__media {
		display: none;
	}
}

/* -------------------------------------------------------------------------
   18. Terminanfrage: Sprechzeiten, Formular, Bestätigung
   ---------------------------------------------------------------------- */

.sb-hours-box {
	margin: 2.5rem 0;
	padding: 1.75rem 1.75rem 1.5rem;
	background: var(--sb-blue);
	border-left: 4px solid var(--sb-primary);
	border-radius: 8px;
}

.sb-hours-box h3 {
	margin: 0 0 1rem;
	font-size: 0.9375rem;
	font-weight: 700;
	letter-spacing: 0.09em;
	text-transform: uppercase;
	color: var(--sb-secondary);
}

.sb-hours {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
	gap: 1rem 2rem;
	margin: 0;
}

.sb-hours dt {
	font-weight: 700;
	color: var(--sb-ink);
}

.sb-hours dd {
	margin: 0.125rem 0 0;
	color: var(--sb-body);
}

.sb-hours__note {
	margin: 1.25rem 0 0;
	font-size: 0.9375rem;
	line-height: 1.65;
	color: var(--sb-body);
}

/* Formular */
.sb-form {
	margin: 2.5rem 0 0;
}

.sb-form__block {
	margin: 0 0 2rem;
	padding: 0;
	border: 0;
}

.sb-form__block legend {
	padding: 0;
	margin: 0 0 1.125rem;
	font-size: 1.125rem;
	font-weight: 700;
	color: var(--sb-ink);
}

.sb-form__row {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
	gap: 1.25rem;
}

.sb-form__field {
	display: flex;
	flex-direction: column;
	margin: 0 0 1.25rem;
}

.sb-form__field label {
	margin: 0 0 0.375rem;
	font-size: 0.9375rem;
	font-weight: 600;
	color: var(--sb-ink);
}

.sb-form__field input,
.sb-form__field select,
.sb-form__field textarea {
	width: 100%;
	padding: 0.8125rem 0.9375rem;
	font-family: inherit;
	font-size: 1rem;
	color: var(--sb-ink);
	background: #fff;
	border: 1px solid var(--sb-border);
	border-radius: 8px;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.sb-form__field textarea {
	min-height: 7.5rem;
	line-height: 1.65;
	resize: vertical;
}

.sb-form__field input:focus,
.sb-form__field select:focus,
.sb-form__field textarea:focus {
	outline: none;
	border-color: var(--sb-primary);
	box-shadow: 0 0 0 3px rgba(87, 122, 138, 0.18);
}

.sb-form__field input[aria-invalid="true"],
.sb-form__field select[aria-invalid="true"] {
	border-color: #b3261e;
}

.sb-form__req {
	color: #b3261e;
}

.sb-form__help {
	margin: 0.375rem 0 0;
	font-size: 0.875rem;
	color: #7c7e77;
}

.sb-form__error {
	margin: 0.375rem 0 0;
	font-size: 0.875rem;
	font-weight: 600;
	color: #b3261e;
}

/* Dynamischer Hinweis unter der Datumsauswahl */
.sb-form__hint {
	display: none;
	margin: -0.375rem 0 1.5rem;
	padding: 0.8125rem 1rem;
	font-size: 0.9375rem;
	line-height: 1.6;
	background: var(--sb-muted);
	border-left: 3px solid var(--sb-primary);
	border-radius: 6px;
	color: var(--sb-body);
}

.sb-form__hint.is-visible {
	display: block;
}

.sb-form__hint.is-weekend {
	background: #fdf4e3;
	border-left-color: #c08b1f;
}

/* Spam-Falle: außerhalb des sichtbaren Bereichs */
.sb-form__trap {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

/* Einwilligung */
.sb-form__consent {
	margin: 0 0 1.75rem;
	padding: 1.25rem;
	background: var(--sb-muted);
	border-radius: 8px;
}

.sb-form__consent label {
	display: flex;
	gap: 0.75rem;
	align-items: flex-start;
	margin: 0;
	font-size: 0.9375rem;
	font-weight: 400;
	line-height: 1.65;
	color: var(--sb-body);
	cursor: pointer;
}

.sb-form__consent input[type="checkbox"] {
	flex: 0 0 auto;
	width: 1.125rem;
	height: 1.125rem;
	margin-top: 0.1875rem;
	accent-color: var(--sb-primary);
}

.sb-form__consent a {
	color: var(--sb-secondary);
	font-weight: 600;
}

/* Absenden */
.sb-form__actions {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0.875rem;
}

.sb-form__legal {
	margin: 0;
	font-size: 0.875rem;
	color: #7c7e77;
}

.sb-form__alt {
	margin: 1.75rem 0 0;
	font-size: 0.9375rem;
	color: var(--sb-body);
}

.sb-form__alt a {
	color: var(--sb-secondary);
	font-weight: 600;
}

/* Sammelhinweis bei Eingabefehlern */
.sb-form-alert {
	margin: 2rem 0 0;
	padding: 1rem 1.25rem;
	background: #fdeceb;
	border-left: 4px solid #b3261e;
	border-radius: 6px;
}

.sb-form-alert p {
	margin: 0;
	font-size: 0.9375rem;
	color: #7f1d17;
}

/* Bestätigung nach dem Versand */
.sb-form-success {
	margin: 1rem 0 2rem;
	padding: clamp(1.5rem, 1.25rem + 1vw, 2.5rem);
	background: var(--sb-blue);
	border-left: 4px solid var(--sb-primary);
	border-radius: 8px;
}

.sb-form-success h2 {
	margin: 0 0 1rem;
	font-size: clamp(1.5rem, 1.2rem + 1.5vw, 2rem);
	color: var(--sb-ink);
}

.sb-form-success p {
	margin: 0 0 1.125rem;
	line-height: 1.75;
	color: var(--sb-body);
}

.sb-form-success__note {
	font-size: 0.9375rem;
	color: #7c7e77;
}

/* Kontaktbox unter dem Formular */
.sb-contact-box {
	margin: 3rem 0 0;
	padding: 1.75rem;
	border: 1px solid var(--sb-border);
	border-radius: 8px;
}

.sb-contact-box h3 {
	margin: 0 0 0.875rem;
	font-size: 1.0625rem;
	font-weight: 700;
	color: var(--sb-ink);
}

.sb-contact-box p {
	margin: 0 0 0.625rem;
	line-height: 1.75;
	color: var(--sb-body);
}

.sb-contact-box a {
	color: var(--sb-secondary);
	font-weight: 600;
}

/* Sprechzeiten im Fußbereich und Abschluss-Aufruf */
.sb-footer__hours {
	margin: 0.75rem 0 0;
	font-size: 0.875rem;
	line-height: 1.65;
	color: rgba(255, 255, 255, 0.7);
}

.sb-cta__hours {
	margin: 1.25rem 0 0;
	font-size: 0.9375rem;
	color: rgba(255, 255, 255, 0.78);
}

@media (max-width: 599px) {
	.sb-hours-box,
	.sb-contact-box {
		padding: 1.25rem;
	}

	.sb-form__actions .sb-btn {
		width: 100%;
	}
}

/* -------------------------------------------------------------------------
 * 19. Verfügbarkeitsprüfung im Terminformular
 * ---------------------------------------------------------------------- */

/* Hinweis bei ausgebuchten Tagen. */
.sb-form__hint.is-busy {
	border-left-color: #b45309;
	background: #fef6ec;
	color: #7c4a10;
}

/* Hinweis während der Abfrage. */
.sb-form__hint.is-loading {
	border-left-color: var(--sb-border);
	background: var(--sb-surface);
	color: var(--sb-text-muted);
}

/* Erläuterung unter der Zeitauswahl. */
.sb-form__help--slots {
	display: block;
	margin-top: 0.5rem;
}

/* Auswahlliste während der Abfrage. */
.sb-form select.is-loading {
	background-image: linear-gradient(
		90deg,
		var(--sb-surface) 0%,
		#e9eef1 50%,
		var(--sb-surface) 100%
	);
	background-size: 200% 100%;
	animation: sb-slot-loading 1.2s ease-in-out infinite;
	cursor: progress;
}

@keyframes sb-slot-loading {
	0% {
		background-position: 100% 0;
	}
	100% {
		background-position: -100% 0;
	}
}

@media (prefers-reduced-motion: reduce) {
	.sb-form select.is-loading {
		animation: none;
	}
}

/* Belegte Zeitfenster bleiben erkennbar, falls der Browser sie anzeigt. */
.sb-form select option:disabled {
	color: #9aa5ac;
}
