/**
 * Buchungsportal BSA – Frontend-Styling (modern, mobil-optimiert).
 */

.bsa-fe {
	--bsa-primary: #0a7d5a;
	--bsa-primary-dark: color-mix(in srgb, var(--bsa-primary), #000 16%);
	--bsa-btn-text: #ffffff;
	--bsa-surface: #ffffff;
	--bsa-radius: 12px;
	--bsa-shadow: none;
	--bsa-danger: #d63638;
	--bsa-border: #e2e6ea;
	--bsa-muted: #6b7280;
	--bsa-bg: #f6f8fa;
	max-width: 640px;
	margin: 0 auto;
	color: #1d2327;
	font-size: 16px;
	line-height: 1.5;
	border-radius: var(--bsa-radius);
	box-shadow: var(--bsa-shadow);
}

.bsa-fe * {
	box-sizing: border-box;
}

.bsa-fe-form {
	display: flex;
	flex-direction: column;
	gap: 22px;
}

.bsa-fe-step {
	animation: bsa-fade 0.25s ease;
}

.is-hidden {
	display: none !important;
}

@keyframes bsa-fade {
	from { opacity: 0; transform: translateY(6px); }
	to { opacity: 1; transform: none; }
}

.bsa-fe-label {
	display: flex;
	align-items: center;
	gap: 10px;
	font-weight: 700;
	font-size: 1.05em;
	margin-bottom: 12px;
}

.bsa-fe-num {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 26px;
	height: 26px;
	border-radius: 50%;
	background: var(--bsa-primary);
	color: var(--bsa-btn-text);
	font-size: 14px;
	flex: none;
}

/* Felder als Karten */
.bsa-fe-courts {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.bsa-fe-court {
	flex: 1 1 140px;
	padding: 16px;
	border: 2px solid var(--bsa-border);
	border-radius: var(--bsa-radius);
	background: var(--bsa-surface);
	font-size: 1em;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.15s ease;
}

.bsa-fe-court:hover {
	border-color: var(--bsa-primary);
}

.bsa-fe-court.is-active {
	border-color: var(--bsa-primary);
	background: var(--bsa-primary);
	color: var(--bsa-btn-text);
}

/* Eingaben */
.bsa-fe-select,
.bsa-fe-input {
	width: 100%;
	padding: 13px 14px;
	border: 1px solid var(--bsa-border);
	border-radius: var(--bsa-radius);
	font-size: 1em;
	background: var(--bsa-surface);
	color: inherit;
	font-family: inherit;
}

.bsa-fe-select:focus,
.bsa-fe-input:focus {
	border-color: var(--bsa-primary);
	outline: none;
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--bsa-primary) 18%, transparent);
}

.bsa-fe-select:disabled {
	background: var(--bsa-bg);
	color: var(--bsa-muted);
}

.bsa-fe-grid2 {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
}

.bsa-fe-slots-msg {
	margin: 8px 0 0;
	color: var(--bsa-muted);
	font-size: 14px;
}

/* Extras */
.bsa-fe-extras {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.bsa-fe-extra {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 12px 14px;
	border: 1px solid var(--bsa-border);
	border-radius: 12px;
	background: #fff;
}

.bsa-fe-extra__img {
	width: 54px;
	height: 54px;
	border-radius: 10px;
	object-fit: cover;
	flex: none;
}

.bsa-fe-extra__info {
	flex: 1;
	min-width: 0;
}

.bsa-fe-extra__name {
	font-weight: 600;
}

.bsa-fe-extra__price {
	color: var(--bsa-primary-dark);
	font-weight: 600;
	font-size: 14px;
}

.bsa-fe-extra__desc {
	color: var(--bsa-muted);
	font-size: 13px;
	margin-top: 2px;
}

.bsa-fe-qty {
	display: flex;
	align-items: center;
	gap: 4px;
	flex: none;
}

.bsa-fe-qty__btn {
	width: 36px;
	height: 36px;
	border: 1px solid var(--bsa-border);
	background: #fff;
	border-radius: 8px;
	font-size: 20px;
	line-height: 1;
	cursor: pointer;
	color: var(--bsa-primary-dark);
}

.bsa-fe-qty__btn:hover {
	border-color: var(--bsa-primary);
}

.bsa-fe-qty__val {
	width: 44px;
	height: 36px;
	text-align: center;
	border: 1px solid var(--bsa-border);
	border-radius: 8px;
	font-size: 16px;
	font-weight: 600;
	background: #fff;
}

/* Zusätzliche Formularfelder */
.bsa-fe-customfield {
	margin-top: 12px;
}

.bsa-fe-sublabel {
	display: block;
	font-weight: 600;
	font-size: 0.9em;
	margin-bottom: 6px;
}

.bsa-req {
	color: var(--bsa-danger);
	font-weight: 700;
}

.bsa-fe-fielderror {
	margin: 6px 0 0;
	color: var(--bsa-danger);
	font-size: 0.85em;
	font-weight: 600;
}

/* Einwilligung + Honeypot */
.bsa-fe-consent {
	display: flex;
	gap: 10px;
	align-items: flex-start;
	margin-top: 14px;
	font-size: 14px;
	color: #374151;
}

.bsa-fe-consent a {
	color: var(--bsa-primary);
	text-decoration: underline;
}

.bsa-fe-consent input {
	margin-top: 3px;
	flex: none;
}

.bsa-fe-hp {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

/* Zusammenfassung */
.bsa-fe-summary {
	background: var(--bsa-bg);
	border-radius: var(--bsa-radius);
	padding: 16px 18px;
}

.bsa-fe-sumrow {
	display: flex;
	justify-content: space-between;
	padding: 6px 0;
	color: #374151;
}

.bsa-fe-sumrow--total {
	border-top: 1px solid var(--bsa-border);
	margin-top: 6px;
	padding-top: 12px;
	font-weight: 700;
	font-size: 18px;
	color: #111827;
}

/* Buttons */
.bsa-fe-btn {
	width: 100%;
	padding: 15px 20px;
	border: none;
	border-radius: var(--bsa-radius);
	background: var(--bsa-primary);
	color: var(--bsa-btn-text);
	font-size: 1.05em;
	font-weight: 700;
	cursor: pointer;
	transition: background 0.15s ease;
	font-family: inherit;
}

.bsa-fe-btn:hover:not(:disabled) {
	background: var(--bsa-primary-dark);
}

.bsa-fe-btn:disabled {
	opacity: 0.5;
	cursor: not-allowed;
}

.bsa-fe-btn--danger {
	background: var(--bsa-danger);
}

/* Freitext aus dem Backend (Links, Bilder, Formatierung) */
.bsa-fe-freetext {
	margin: 18px 0;
	padding: 14px 16px;
	background: var(--bsa-bg);
	border-radius: var(--bsa-radius);
	line-height: 1.6;
}

.bsa-fe-freetext > *:first-child {
	margin-top: 0;
}

.bsa-fe-freetext > *:last-child {
	margin-bottom: 0;
}

.bsa-fe-freetext img {
	max-width: 100%;
	height: auto;
	border-radius: 8px;
}

.bsa-fe-freetext a {
	color: var(--bsa-primary);
	text-decoration: underline;
}

.bsa-fe-hint {
	margin: 6px 0 0;
	font-size: 0.85em;
	color: var(--bsa-muted);
}

/* Formular der Storno-Bestätigung darf volle Breite nutzen */
.bsa-fe-cancelconfirm {
	max-width: none;
}

/* Sekundär-Button (z. B. „Weitere Buchung", „Abbrechen") */
.bsa-fe-btn--ghost {
	background: transparent;
	color: var(--bsa-primary);
	border: 2px solid var(--bsa-primary);
	display: inline-block;
	width: auto;
	text-align: center;
	text-decoration: none;
}

.bsa-fe-btn--ghost:hover {
	background: var(--bsa-primary);
	color: var(--bsa-btn-text);
}

.bsa-fe-again-wrap {
	margin-top: 20px;
	text-align: center;
}

/* Zwei Buttons nebeneinander (Storno-Bestätigung) */
.bsa-fe-btnrow {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	align-items: center;
	margin-top: 16px;
}

.bsa-fe-btnrow .bsa-fe-btn {
	flex: 1 1 200px;
	margin: 0;
}

.bsa-fe-error {
	background: #fdecec;
	color: #a10e0e;
	border-radius: 10px;
	padding: 12px 14px;
	margin: 0;
}

/* Erfolg / Hinweise */
.bsa-fe-done {
	text-align: center;
	padding: 10px 0;
}

.bsa-fe-done-icon {
	width: 64px;
	height: 64px;
	margin: 0 auto 12px;
	border-radius: 50%;
	background: var(--bsa-primary);
	color: var(--bsa-btn-text);
	font-size: 36px;
	line-height: 64px;
}

.bsa-fe-done h3 {
	margin: 0 0 6px;
}

.bsa-fe-done table {
	margin: 16px auto;
	text-align: left;
}

.bsa-fe-code {
	font-size: 18px;
	margin-top: 14px;
}

.bsa-fe-code strong {
	letter-spacing: 2px;
	color: var(--bsa-primary-dark);
}

.bsa-fe-notice {
	border-radius: 10px;
	padding: 14px 16px;
	font-weight: 600;
}

.bsa-fe-notice--success {
	background: #e3f6ee;
	color: var(--bsa-primary-dark);
}

.bsa-fe-notice--error {
	background: #fdecec;
	color: #a10e0e;
}

.bsa-fe-notice--info {
	background: var(--bsa-bg);
	color: #374151;
}

.bsa-fe-cancelform {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin-top: 16px;
	max-width: 320px;
}

.bsa-fe-code-input {
	text-transform: uppercase;
	letter-spacing: 2px;
	font-weight: 600;
}

.bsa-fe-recover {
	margin-top: 20px;
	padding-top: 16px;
	border-top: 1px solid #e3e5e8;
	max-width: 360px;
}

.bsa-fe-recover > summary {
	cursor: pointer;
	color: var(--bsa-primary);
	font-weight: 600;
	font-size: 14px;
	list-style: revert;
}

.bsa-fe-recover > summary:hover {
	text-decoration: underline;
}

.bsa-fe-recover p {
	margin: 12px 0 4px;
	font-size: 14px;
	color: #475569;
}

.bsa-fe-cancel-link {
	margin-top: 20px;
	padding-top: 16px;
	border-top: 1px solid #e3e5e8;
	text-align: center;
	font-size: 14px;
}

.bsa-fe-cancel-link a {
	color: #64748b;
	text-decoration: underline;
}

.bsa-fe-cancel-link a:hover {
	color: #1d2327;
}

/* Belegungsanzeige (anonymisiert) */
.bsa-bel {
	--bsa-primary: #0a7d5a;
	--bsa-border: #e2e6ea;
	max-width: 900px;
	margin: 0 auto;
	color: #1d2327;
	font-size: 15px;
}

.bsa-bel * {
	box-sizing: border-box;
}

.bsa-bel__nav {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 10px;
}

.bsa-bel__btn {
	padding: 8px 12px;
	border: 1px solid #e2e6ea;
	border-radius: 8px;
	text-decoration: none;
	color: #1d2327;
	font-weight: 600;
}

.bsa-bel__btn:hover {
	border-color: var(--bsa-primary);
}

.bsa-bel__date {
	margin-left: auto;
	font-weight: 700;
}

.bsa-bel__legend {
	display: flex;
	gap: 16px;
	font-size: 13px;
	color: #6b7280;
	margin-bottom: 12px;
}

.bsa-bel__key {
	display: inline-block;
	width: 14px;
	height: 14px;
	border-radius: 3px;
	vertical-align: middle;
}

.bsa-bel__key--busy {
	background: var(--bsa-primary);
}

.bsa-bel__key--block {
	background: repeating-linear-gradient( 45deg, #e5e7eb, #e5e7eb 4px, #f0f2f4 4px, #f0f2f4 8px );
}

.bsa-bel__grid {
	display: flex;
	gap: 2px;
	overflow-x: auto;
}

.bsa-bel__axis {
	width: 46px;
	flex: none;
}

.bsa-bel__lane {
	flex: 1 1 0;
	min-width: 110px;
}

.bsa-bel__head {
	height: 26px;
	line-height: 26px;
	text-align: center;
	font-weight: 700;
	font-size: 13px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.bsa-bel__axisbody {
	position: relative;
}

.bsa-bel__hour {
	position: absolute;
	right: 5px;
	font-size: 11px;
	color: #6b7280;
	transform: translateY(-7px);
}

.bsa-bel__col {
	position: relative;
	border-left: 1px solid #e2e6ea;
	background: #fff;
}

.bsa-bel__event {
	position: absolute;
	left: 2px;
	right: 2px;
	background: var(--bsa-primary);
	color: #fff;
	border-radius: 5px;
	padding: 2px 5px;
	font-size: 11px;
	line-height: 1.25;
	overflow: hidden;
	z-index: 2;
}

.bsa-bel__time {
	display: block;
	font-weight: 700;
}

.bsa-bel__word {
	display: block;
	opacity: 0.9;
}

.bsa-bel__block {
	position: absolute;
	left: 1px;
	right: 1px;
	background: repeating-linear-gradient( 45deg, #e5e7eb, #e5e7eb 6px, #f0f2f4 6px, #f0f2f4 12px );
	color: #4b5563;
	font-size: 10px;
	border-radius: 4px;
	padding: 2px 4px;
	overflow: hidden;
	z-index: 1;
}

/* Belegungsanzeige als Tabelle */
.bsa-belt {
	max-width: 760px;
	margin: 0 auto;
}

.bsa-belt__table {
	width: 100%;
	border-collapse: collapse;
	font-size: 15px;
}

.bsa-belt__table th,
.bsa-belt__table td {
	text-align: left;
	padding: 10px 12px;
	border-bottom: 1px solid #e2e6ea;
}

.bsa-belt__table th {
	font-weight: 700;
	color: #374151;
}

.bsa-belt__badge {
	display: inline-block;
	padding: 2px 10px;
	border-radius: 999px;
	font-size: 13px;
	font-weight: 600;
}

.bsa-belt__badge--busy {
	background: #fdecec;
	color: #a00000;
}

.bsa-belt__badge--block {
	background: #eef0f2;
	color: #4b5563;
}

@media (max-width: 560px) {
	.bsa-belt__table thead {
		display: none;
	}
	.bsa-belt__table,
	.bsa-belt__table tbody,
	.bsa-belt__table tr,
	.bsa-belt__table td {
		display: block;
		width: 100%;
	}
	.bsa-belt__table tr {
		border: 1px solid #e2e6ea;
		border-radius: 10px;
		margin-bottom: 10px;
		padding: 6px 10px;
	}
	.bsa-belt__table td {
		border: none;
		padding: 4px 0;
		display: flex;
		justify-content: space-between;
		gap: 12px;
	}
	.bsa-belt__table td::before {
		content: attr(data-label);
		font-weight: 700;
		color: #374151;
	}
}

/* Mobil */
@media (max-width: 560px) {
	.bsa-fe-grid2 {
		grid-template-columns: 1fr;
	}
	.bsa-fe-court {
		flex: 1 1 100%;
	}
}

/* „Weiter"-Button unter den Extras (Schritt 4) */
.bsa-fe-nextwrap {
	margin: 16px 0 0;
	text-align: center;
}

.bsa-fe-nextwrap .bsa-fe-btn {
	width: auto;
	min-width: 220px;
}

/* Titel innerhalb einer Meldung */
.bsa-fe-notice__title {
	display: block;
	margin-bottom: 4px;
	font-size: 1.05em;
}

/* Hinweis über dem Buchen-Button: was noch fehlt / falsch ist */
.bsa-fe-submithint {
	background: #fff7e6;
	border: 1px solid #f3d38a;
	color: #6b4e00;
	border-radius: var(--bsa-radius);
	padding: 12px 16px;
	margin: 0 0 6px;
	font-size: 0.95em;
}
.bsa-fe-submithint__title {
	margin: 0 0 6px;
	font-weight: 600;
}
.bsa-fe-submithint ul {
	margin: 0;
	padding-left: 20px;
	list-style: disc;
}
.bsa-fe-submithint li {
	margin: 2px 0;
}

/* Sperrzeiten-Übersicht: zweite Zeile „nächster Termin" (dezent) */
.bsa-belt__next {
	display: inline-block;
	margin-top: 2px;
	font-size: 0.85em;
	opacity: 0.7;
}

/* Hinweis „keine freien Zeiten" / Fehler markant hervorheben (nicht beim Laden) */
.bsa-fe-slots-msg--warn {
	color: #c0261f;
	font-weight: 600;
}

/* ==========================================================================
   Saisonpause-Hinweis (statt Buchungsformular)
   ========================================================================== */
.bsa-pause {
	--bsa-pause-bg: linear-gradient(160deg, #eaf5ff 0%, #f8fcff 55%, #e3f0fb 100%);
	--bsa-pause-border: #cfe4f6;
	--bsa-pause-accent: #0b5d9e;
	--bsa-pause-title: #0a3a63;
	--bsa-pause-text: #24425e;
	--bsa-pause-icon-bg: #ffffff;
	position: relative;
	overflow: hidden;
	padding: 48px 32px 40px;
	border: 1px solid var(--bsa-pause-border);
	border-radius: calc(var(--bsa-radius, 12px) + 6px);
	background: var(--bsa-pause-bg);
	color: var(--bsa-pause-text);
	text-align: center;
	box-shadow: 0 18px 40px -24px rgba(10, 58, 99, 0.35);
}

.bsa-pause--summer {
	--bsa-pause-bg: linear-gradient(160deg, #fff6e0 0%, #fffbf2 55%, #fdeccb 100%);
	--bsa-pause-border: #f3dca8;
	--bsa-pause-accent: #b86a00;
	--bsa-pause-title: #6b3d00;
	--bsa-pause-text: #5a4325;
	box-shadow: 0 18px 40px -24px rgba(120, 72, 0, 0.35);
}

.bsa-pause--brand {
	--bsa-pause-bg: linear-gradient(160deg, color-mix(in srgb, var(--bsa-primary, #0a7d5a) 10%, #fff) 0%, #fff 55%, color-mix(in srgb, var(--bsa-primary, #0a7d5a) 16%, #fff) 100%);
	--bsa-pause-border: color-mix(in srgb, var(--bsa-primary, #0a7d5a) 28%, #fff);
	--bsa-pause-accent: var(--bsa-primary, #0a7d5a);
	--bsa-pause-title: color-mix(in srgb, var(--bsa-primary, #0a7d5a), #000 35%);
	--bsa-pause-text: #2b2f33;
	box-shadow: 0 18px 40px -24px color-mix(in srgb, var(--bsa-primary, #0a7d5a) 60%, transparent);
}

.bsa-pause--neutral {
	--bsa-pause-bg: linear-gradient(160deg, #f4f5f7 0%, #fbfbfc 100%);
	--bsa-pause-border: #e2e6ea;
	--bsa-pause-accent: #4b5563;
	--bsa-pause-title: #1f2937;
	--bsa-pause-text: #374151;
	box-shadow: none;
}

.bsa-pause__icon {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 76px;
	height: 76px;
	margin: 0 auto 18px;
	border-radius: 50%;
	background: var(--bsa-pause-icon-bg);
	box-shadow: 0 8px 22px -10px rgba(0, 0, 0, 0.25), inset 0 0 0 1px var(--bsa-pause-border);
	font-size: 38px;
	line-height: 1;
}

.bsa-pause__badge {
	position: relative;
	display: inline-block;
	margin: 0 0 12px;
	padding: 4px 14px;
	border-radius: 999px;
	background: var(--bsa-pause-accent);
	color: #fff;
	font-size: 0.75em;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.bsa-pause__title {
	position: relative;
	margin: 0 auto 16px;
	max-width: 30ch;
	color: var(--bsa-pause-title);
	font-size: clamp(1.4em, 3.2vw, 2em);
	line-height: 1.25;
}

.bsa-pause__text {
	position: relative;
	max-width: 62ch;
	margin: 0 auto;
	font-size: 1.05em;
	line-height: 1.65;
}

.bsa-pause__text p {
	margin: 0 0 12px;
}

.bsa-pause__text p:last-child {
	margin-bottom: 0;
}

/* Listen als hübsche „Karten"-Punkte statt Standard-Bullets */
.bsa-pause__text ul {
	list-style: none;
	margin: 0 0 18px;
	padding: 0;
	text-align: left;
}

.bsa-pause__text li {
	position: relative;
	margin: 0 0 10px;
	padding: 12px 16px 12px 44px;
	border-radius: var(--bsa-radius, 12px);
	background: rgba(255, 255, 255, 0.7);
	box-shadow: inset 0 0 0 1px var(--bsa-pause-border);
}

.bsa-pause__text li::before {
	content: "";
	position: absolute;
	left: 18px;
	top: 1.15em;
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: var(--bsa-pause-accent);
	opacity: 0.85;
}

.bsa-pause__text a {
	color: var(--bsa-pause-accent);
}

.bsa-pause__until {
	position: relative;
	display: inline-block;
	margin: 22px 0 0;
	padding: 8px 18px;
	border-radius: 999px;
	background: #fff;
	box-shadow: inset 0 0 0 1px var(--bsa-pause-border);
	color: var(--bsa-pause-title);
	font-weight: 600;
}

/* Schneeflocken (nur Design „Winter"), sanft fallend */
.bsa-pause__flakes {
	position: absolute;
	inset: 0;
	pointer-events: none;
}

.bsa-pause__flakes span {
	position: absolute;
	top: -10%;
	color: #9cc9ee;
	opacity: 0.55;
	animation: bsa-snow 14s linear infinite;
}

.bsa-pause__flakes span:nth-child(1) { left: 6%;  font-size: 22px; animation-delay: 0s; }
.bsa-pause__flakes span:nth-child(2) { left: 22%; font-size: 14px; animation-delay: -4s;  animation-duration: 18s; }
.bsa-pause__flakes span:nth-child(3) { left: 41%; font-size: 18px; animation-delay: -9s;  animation-duration: 16s; }
.bsa-pause__flakes span:nth-child(4) { left: 63%; font-size: 12px; animation-delay: -2s;  animation-duration: 20s; }
.bsa-pause__flakes span:nth-child(5) { left: 80%; font-size: 20px; animation-delay: -7s; }
.bsa-pause__flakes span:nth-child(6) { left: 93%; font-size: 15px; animation-delay: -11s; animation-duration: 17s; }

@keyframes bsa-snow {
	0%   { transform: translate(0, 0) rotate(0deg); }
	50%  { transform: translate(14px, 320px) rotate(180deg); }
	100% { transform: translate(-6px, 640px) rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
	.bsa-pause__flakes span {
		animation: none;
		top: auto;
	}
	.bsa-pause__flakes span:nth-child(odd)  { top: 12%; }
	.bsa-pause__flakes span:nth-child(even) { top: 70%; }
}

@media (max-width: 560px) {
	.bsa-pause {
		padding: 36px 18px 28px;
	}
	.bsa-pause__icon {
		width: 60px;
		height: 60px;
		font-size: 30px;
	}
}

/* ==========================================================================
   Spielerkonten: Mein Konto, Anmelden, Registrieren
   ========================================================================== */
.bsa-acc {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.bsa-acc-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 20px;
	align-items: start;
}

.bsa-acc-card {
	padding: 24px;
	border: 1px solid var(--bsa-border, #e2e6ea);
	border-radius: var(--bsa-radius, 12px);
	background: var(--bsa-surface, #fff);
}

.bsa-acc-card--accent {
	border-color: color-mix(in srgb, var(--bsa-primary, #0a7d5a) 35%, #fff);
	box-shadow: 0 16px 36px -26px color-mix(in srgb, var(--bsa-primary, #0a7d5a) 70%, transparent);
}

.bsa-acc-card--muted {
	background: var(--bsa-bg, #f6f8fa);
}

.bsa-acc-h {
	margin: 0 0 6px;
	font-size: 1.35em;
	line-height: 1.25;
}

.bsa-acc-h3 {
	margin: 0 0 12px;
	font-size: 1.1em;
}

.bsa-acc-sub {
	margin: 0 0 16px;
	color: var(--bsa-muted, #6b7280);
}

.bsa-acc-form {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.bsa-acc-form--inline {
	flex-direction: row;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
}

.bsa-acc-form--inline .bsa-fe-input {
	flex: 1 1 200px;
	width: auto;
}

.bsa-acc-field {
	display: flex;
	flex-direction: column;
	gap: 6px;
	margin: 0;
}

.bsa-acc-field > span {
	font-weight: 600;
	font-size: 0.95em;
}

.bsa-acc-field small {
	color: var(--bsa-muted, #6b7280);
	font-size: 0.85em;
}

.bsa-acc-check {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin: 0;
	cursor: pointer;
}

.bsa-acc-check input {
	margin-top: 4px;
	flex: 0 0 auto;
}

.bsa-acc-check--privacy {
	padding: 12px 14px;
	border-radius: var(--bsa-radius, 12px);
	background: var(--bsa-bg, #f6f8fa);
	font-size: 0.93em;
}

.bsa-acc-links,
.bsa-acc-fineprint {
	margin: 0;
	font-size: 0.9em;
	color: var(--bsa-muted, #6b7280);
	text-align: center;
}

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

/* Anleitung „So funktioniert's" */
.bsa-acc-steps {
	counter-reset: bsa-step;
	list-style: none;
	margin: 0 0 20px;
	padding: 14px 16px;
	border-radius: var(--bsa-radius, 12px);
	background: color-mix(in srgb, var(--bsa-primary, #0a7d5a) 7%, #fff);
}

.bsa-acc-steps li {
	counter-increment: bsa-step;
	position: relative;
	display: flex;
	flex-direction: column;
	margin: 0;
	padding: 6px 0 6px 42px;
}

.bsa-acc-steps li::before {
	content: counter(bsa-step);
	position: absolute;
	left: 0;
	top: 6px;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: var(--bsa-primary, #0a7d5a);
	color: var(--bsa-btn-text, #fff);
	font-weight: 700;
	line-height: 28px;
	text-align: center;
}

.bsa-acc-steps li span {
	color: var(--bsa-muted, #6b7280);
	font-size: 0.92em;
}

/* Meldungen */
.bsa-acc-notice {
	margin: 0;
	padding: 14px 16px;
	border-radius: var(--bsa-radius, 12px);
	border: 1px solid #b7e1c8;
	background: #ecf9f1;
	color: #145a32;
	font-weight: 500;
}

.bsa-acc-notice--error {
	border-color: #f3c0bd;
	background: #fdf0ef;
	color: #8a1c14;
}

.bsa-acc-notice--info {
	border-color: #b9d8f3;
	background: #eaf4fd;
	color: #0b4a7a;
}

/* Klappbereiche */
.bsa-acc-resend,
.bsa-acc-past,
.bsa-acc-delete {
	margin-top: 16px;
	padding-top: 14px;
	border-top: 1px solid var(--bsa-border, #e2e6ea);
}

.bsa-acc-resend summary,
.bsa-acc-past summary,
.bsa-acc-delete summary {
	cursor: pointer;
	font-weight: 600;
	color: var(--bsa-primary, #0a7d5a);
}

.bsa-acc-delete summary {
	color: var(--bsa-danger, #d63638);
}

/* Kopf „Hallo …" */
.bsa-acc-head {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
}

.bsa-acc-head .bsa-acc-sub {
	margin: 0;
}

.bsa-acc-head__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.bsa-acc-btn-inline {
	display: inline-flex;
	align-self: flex-start;
	justify-content: center;
	align-items: center;
	width: auto;
	padding-left: 22px;
	padding-right: 22px;
	text-decoration: none;
}

/* Buchungsliste */
.bsa-acc-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.bsa-acc-item {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 14px 16px;
	border: 1px solid var(--bsa-border, #e2e6ea);
	border-left: 4px solid var(--bsa-primary, #0a7d5a);
	border-radius: var(--bsa-radius, 12px);
	background: var(--bsa-surface, #fff);
}

.bsa-acc-list--past .bsa-acc-item {
	border-left-color: var(--bsa-border, #e2e6ea);
	opacity: 0.85;
}

.bsa-acc-item__main {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}

.bsa-acc-item__main span {
	color: var(--bsa-muted, #6b7280);
	font-size: 0.93em;
}

.bsa-acc-item__meta {
	font-size: 0.82em !important;
}

.bsa-acc-cancel {
	padding: 8px 16px;
	border: 1px solid var(--bsa-danger, #d63638);
	border-radius: 999px;
	background: #fff;
	color: var(--bsa-danger, #d63638);
	font-weight: 600;
	cursor: pointer;
}

.bsa-acc-cancel:hover,
.bsa-acc-cancel:focus-visible {
	background: var(--bsa-danger, #d63638);
	color: #fff;
}

.bsa-acc-badge {
	display: inline-block;
	padding: 3px 10px;
	border-radius: 999px;
	background: #eef0f2;
	color: #4b5563;
	font-size: 0.82em;
	font-weight: 600;
}

.bsa-acc-badge--cancel {
	background: #fdecec;
	color: #a00000;
}

.bsa-acc-empty {
	margin: 0;
	color: var(--bsa-muted, #6b7280);
}

/* Hinweis über dem Buchungsformular */
.bsa-acc-banner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 8px 14px;
	margin: 0 0 22px;
	padding: 12px 16px;
	border-radius: var(--bsa-radius, 12px);
	border: 1px dashed color-mix(in srgb, var(--bsa-primary, #0a7d5a) 45%, #fff);
	background: color-mix(in srgb, var(--bsa-primary, #0a7d5a) 6%, #fff);
	font-size: 0.95em;
}

.bsa-acc-banner a {
	font-weight: 700;
	color: var(--bsa-primary, #0a7d5a);
}

.bsa-acc-banner--in {
	border-style: solid;
}

.bsa-fe-input.is-readonly,
.bsa-fe-input[readonly] {
	background: var(--bsa-bg, #f6f8fa);
	color: var(--bsa-muted, #6b7280);
}

@media (max-width: 560px) {
	.bsa-acc-card {
		padding: 18px;
	}
	.bsa-acc-item__act,
	.bsa-acc-item__act form,
	.bsa-acc-cancel {
		width: 100%;
	}
}

.bsa-acc-card--narrow {
	max-width: 620px;
	margin: 0 auto;
	width: 100%;
}

.bsa-acc-pw summary {
	cursor: pointer;
	font-weight: 600;
	color: var(--bsa-primary, #0a7d5a);
}

.bsa-acc-pw[open] summary {
	margin-bottom: 14px;
}

/* Gegen Theme-Vorgaben (z. B. Avada): gut lesbarer Text in Eingabefeldern,
   keine Unterstreichung bei Buttons, die als Link umgesetzt sind. */
.bsa-fe .bsa-fe-input,
.bsa-fe .bsa-fe-select {
	color: var(--bsa-text, #1d2327);
}
.bsa-fe .bsa-fe-input[readonly] {
	color: var(--bsa-muted, #6b7280);
}
.bsa-fe a.bsa-fe-btn,
.bsa-fe a.bsa-fe-btn:hover,
.bsa-fe a.bsa-fe-btn:focus {
	text-decoration: none !important;
}
.bsa-fe a.bsa-fe-btn:not(.bsa-fe-btn--ghost) {
	color: var(--bsa-btn-text, #fff);
}

/* „Mein Konto": Leiste mit Link zur Buchungsseite (für Besucher ohne Login) */
.bsa-acc-bookbar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 10px 16px;
	padding: 14px 18px;
	border-radius: var(--bsa-radius, 12px);
	background: var(--bsa-bg, #f6f8fa);
	border: 1px solid var(--bsa-border, #e2e6ea);
}
.bsa-acc-bookbar span {
	font-weight: 600;
}

/* Mengenfeld bei Extras: feste Breite – manche Themes (z. B. Avada) setzen
   Textfelder sonst auf 100 % und quetschen Name/Preis zusammen. */
.bsa-fe .bsa-fe-qty__val {
	width: 44px !important;
	min-width: 0 !important;
	max-width: 44px !important;
	flex: none !important;
	padding: 0 !important;
	margin: 0 !important;
}
.bsa-fe .bsa-fe-qty__btn {
	flex: none;
	padding: 0;
}

/* Extras mit Mindest-Vorlauf (z. B. Schlüsselübergabe) */
.bsa-fe-extra.has-lead {
	flex-wrap: wrap;
}
.bsa-fe-extra__lead {
	flex: 1 1 100%;
	margin-top: -4px;
	font-size: 0.85em;
	color: var(--bsa-muted, #6b7280);
}
.bsa-fe-extra__lead::before {
	content: "⏱ ";
}
.bsa-fe-extra__lead-title {
	display: none;
}

/* Termin zu kurzfristig: deutlich als Warnung hervorheben */
.bsa-fe .bsa-fe-extra.is-blocked {
	border-color: #f1b8b8;
	border-left: 5px solid #a00000;
	background: #fff5f5;
}
.bsa-fe-extra.is-blocked .bsa-fe-extra__name,
.bsa-fe-extra.is-blocked .bsa-fe-extra__price,
.bsa-fe-extra.is-blocked .bsa-fe-extra__desc,
.bsa-fe-extra.is-blocked .bsa-fe-extra__img,
.bsa-fe-extra.is-blocked .bsa-fe-qty {
	opacity: 0.4;
}
.bsa-fe-extra__lead.is-warn {
	display: block;
	position: relative;
	margin-top: 0;
	padding: 10px 12px 10px 38px;
	border-radius: 8px;
	background: #fde8e8;
	border: 1px solid #f1b8b8;
	color: #8a0000;
	font-size: 0.92em;
	line-height: 1.45;
}
.bsa-fe-extra__lead.is-warn::before {
	content: "⚠";
	position: absolute;
	left: 12px;
	top: 9px;
	font-size: 1.2em;
}
.bsa-fe-extra__lead.is-warn .bsa-fe-extra__lead-title {
	display: block;
	margin-bottom: 2px;
	font-weight: 700;
}

.bsa-fe-qty__btn:disabled {
	cursor: not-allowed;
}

/* Vorschlag „nächster freier Termin" im Warnkasten */
.bsa-fe-extra__lead-next {
	display: none;
}
.bsa-fe-extra__lead.is-warn .bsa-fe-extra__lead-next:not(:empty) {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 10px;
	margin-top: 8px;
	padding-top: 8px;
	border-top: 1px dashed #f1b8b8;
	color: #1d2327;
	font-weight: 400;
}
.bsa-fe .bsa-fe-lead-take {
	padding: 6px 14px;
	border: 2px solid var(--bsa-primary, #0a7d5a);
	border-radius: 999px;
	background: #fff;
	color: var(--bsa-primary, #0a7d5a);
	font: inherit;
	font-size: 0.92em;
	font-weight: 700;
	cursor: pointer;
}
.bsa-fe .bsa-fe-lead-take:hover,
.bsa-fe .bsa-fe-lead-take:focus-visible {
	background: var(--bsa-primary, #0a7d5a);
	color: var(--bsa-btn-text, #fff);
}
.bsa-fe-extra__lead-choose {
	flex: 1 1 100%;
	font-weight: 700;
	color: #8a0000;
}

/* Sperrzeiten-Tabelle während der Saisonpause */
.bsa-belt__next--pause {
	display: inline-block;
	margin-top: 3px;
	padding: 1px 8px;
	border-radius: 999px;
	background: #eaf4fd;
	color: #0b4a7a;
	font-size: 0.8em;
	font-weight: 600;
	opacity: 1;
}
