/**
 * Frontend-Styles: SlotPress
 * Design: clean, warm, modern
 * Author: herzigkev.in
 */

/* ── Custom Properties ────────────────────────────────────────────────────── */
.termin-booking-wrap {
	--termin-accent:      #7c3aed;   /* Violett – Spiritualität / Energie */
	--termin-accent-light:#f5f3ff;
	--termin-accent-mid:  #ddd6fe;
	--termin-btn-bg:      var(--termin-accent); /* überschreibbar per Backend */
	--termin-btn-text:    #ffffff;
	--termin-success:     #059669;
	--termin-success-bg:  #ecfdf5;
	--termin-error:       #dc2626;
	--termin-error-bg:    #fef2f2;
	--termin-text:        #1c1917;
	--termin-muted:       #78716c;
	--termin-border:      #e7e5e4;
	--termin-radius:      12px;
	--termin-shadow:      0 1px 3px rgba(0,0,0,.08), 0 4px 16px rgba(0,0,0,.06);
}

/* ── Reset ────────────────────────────────────────────────────────────────── */
.termin-booking-wrap *,
.termin-booking-wrap *::before,
.termin-booking-wrap *::after {
	box-sizing: border-box;
}


.termin-booking-wrap {
	width: 100%;
	max-width: var(--termin-max-width, none); /* nimmt die volle Breite des Containers ein */
	margin: 0 auto;
	font-family: inherit;
	color: var(--termin-text);
}

.termin-main-title {
	text-align: center;
	margin-bottom: 28px;
}

/* ── Fortschritts-Indikator ───────────────────────────────────────────────── */
.termin-progress {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0;
	margin-bottom: 32px;
}

.termin-progress-step {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 4px;
	position: relative;
}

.termin-progress-step:not(:last-child)::after {
	content: '';
	position: absolute;
	top: 14px;
	left: calc(50% + 14px);
	width: calc(100% - 4px);
	height: 2px;
	background: var(--termin-border);
	z-index: 0;
}

.termin-progress-step.is-done:not(:last-child)::after,
.termin-progress-step.is-active:not(:last-child)::after {
	background: var(--termin-accent-mid);
}

.termin-progress-dot {
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: #fff;
	border: 2px solid var(--termin-border);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: .75rem;
	font-weight: 700;
	color: var(--termin-muted);
	position: relative;
	z-index: 1;
	transition: background .2s, border-color .2s, color .2s;
}

.termin-progress-step.is-done .termin-progress-dot {
	background: var(--termin-accent);
	border-color: var(--termin-accent);
	color: #fff;
}

.termin-progress-step.is-active .termin-progress-dot {
	background: var(--termin-accent-light);
	border-color: var(--termin-accent);
	color: var(--termin-accent);
	box-shadow: 0 0 0 4px var(--termin-accent-mid);
}

.termin-progress-label {
	font-size: .7rem;
	color: var(--termin-muted);
	white-space: nowrap;
	font-weight: 500;
}

.termin-progress-step.is-active .termin-progress-label {
	color: var(--termin-accent);
	font-weight: 700;
}

.termin-progress-wrap {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: 1fr;
	gap: 0;
	margin-bottom: 32px;
}

/* ── Schritte ─────────────────────────────────────────────────────────────── */
.termin-step {
	animation: termin-fadein .25s ease both;
}

.termin-step-hidden {
	display: none !important;
}

@keyframes termin-fadein {
	from { opacity: 0; transform: translateY(8px); }
	to   { opacity: 1; transform: translateY(0); }
}

.termin-step-title {
	display: flex;
	flex-direction: column;
	gap: 3px;
	margin: 0 0 24px;
	padding-bottom: 14px;
	border-bottom: 1px solid var(--termin-border);
	position: relative;
}

.termin-step-title::after {
	content: '';
	position: absolute;
	bottom: -1px;
	left: 0;
	width: 2.5rem;
	height: 2px;
	background: var(--termin-accent);
	border-radius: 1px;
}

.termin-step-number {
	font-size: .68rem;
	font-weight: 700;
	letter-spacing: .18em;
	text-transform: uppercase;
	color: var(--termin-accent);
	line-height: 1;
}

.termin-step-number::before {
	content: attr(data-label) ' ';
}

.termin-step-label {
	font-size: 1.15rem;
	font-weight: 800;
	color: var(--termin-text);
	line-height: 1.2;
	letter-spacing: -.015em;
}

/* ── Sitzungs-Karten ──────────────────────────────────────────────────────── */
.termin-sessions {
	display: grid;
	gap: 12px;
	width: 100%;
	min-width: 0;
}

.termin-booking .termin-session-btn {
	display: grid;
	grid-template-columns: 1fr auto;
	grid-template-rows: auto auto;
	align-items: start;
	gap: 4px 12px;
	width: 100%;
	min-width: 0;
	white-space: normal;
	padding: 16px 18px;
	background: #fff !important;
	border: 2px solid var(--termin-border) !important;
	border-radius: var(--termin-radius) !important;
	cursor: pointer;
	text-align: left;
	transition: border-color .18s, box-shadow .18s, background .18s;
	box-shadow: var(--termin-shadow) !important;
}

.termin-booking .termin-session-btn:hover {
	border-color: var(--termin-accent) !important;
	background: var(--termin-accent-light) !important;
	box-shadow: 0 2px 8px rgba(0,0,0,.12) !important;
}

.termin-booking .termin-session-btn.termin-selected {
	border-color: var(--termin-accent) !important;
	background: var(--termin-accent-light) !important;
	box-shadow: 0 0 0 4px var(--termin-accent-mid) !important;
}

.termin-session-name {
	font-weight: 700;
	font-size: .95rem;
	grid-column: 1;
	grid-row: 1;
	color: var(--termin-text);
}

.termin-session-desc {
	font-size: .82rem;
	color: var(--termin-muted);
	line-height: 1.5;
	grid-column: 1;
	grid-row: 2;
}

.termin-session-price {
	grid-column: 2;
	grid-row: 1 / 3;
	align-self: center;
	background: var(--termin-accent);
	color: #fff;
	font-weight: 700;
	font-size: .85rem;
	padding: 4px 12px;
	border-radius: 20px;
	white-space: nowrap;
	flex-shrink: 0;
}

/* ── Info-Banner (Vorselektion / Datum) ───────────────────────────────────── */
.termin-selected-info {
	display: flex;
	align-items: center;
	gap: 8px;
	background: var(--termin-accent-light);
	border: 1px solid var(--termin-accent-mid);
	border-radius: var(--termin-radius);
	padding: 10px 14px;
	font-size: .9rem;
	font-weight: 600;
	color: var(--termin-accent);
	margin-bottom: 20px;
}

.termin-selected-info::before {
	content: '✓';
	width: 20px;
	height: 20px;
	background: var(--termin-accent);
	color: #fff;
	border-radius: 50%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: .7rem;
	flex-shrink: 0;
}

/* ── Vorselektion-Badge ───────────────────────────────────────────────────── */
.termin-preselect-badge {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: var(--termin-accent-light);
	border: 2px solid var(--termin-accent);
	border-radius: var(--termin-radius);
	padding: 10px 16px;
	font-weight: 700;
	color: var(--termin-accent);
	margin-bottom: 20px;
}

.termin-preselect-badge::before {
	content: '✓';
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 20px;
	height: 20px;
	background: var(--termin-accent);
	color: #fff;
	border-radius: 50%;
	font-size: .7rem;
	flex-shrink: 0;
}

/* ── Kalender ─────────────────────────────────────────────────────────────── */
.termin-calendar-wrap {
	margin-bottom: 20px;
}

.termin-date-input-row {
	position: relative;
}

.termin-date-input-row::before {
	content: '📅';
	position: absolute;
	left: 14px;
	top: 50%;
	transform: translateY(-50%);
	font-size: .95rem;
	pointer-events: none;
	z-index: 1;
	line-height: 1;
}

.termin-datepicker,
.termin-calendar-wrap input,
.termin-calendar-wrap input.flatpickr-input {
	width: 100%;
	padding: 13px 16px 13px 42px !important;
	border: 2px solid var(--termin-border);
	border-radius: var(--termin-radius);
	font-size: 1rem;
	background: #fff;
	color: var(--termin-text);
	cursor: pointer;
	font-family: inherit;
	-webkit-appearance: none;
	transition: border-color .18s, box-shadow .18s;
	box-shadow: var(--termin-shadow);
}

.termin-datepicker:focus,
.termin-calendar-wrap input.flatpickr-input:focus {
	outline: none;
	border-color: var(--termin-accent);
	box-shadow: 0 0 0 4px var(--termin-accent-mid);
}

.termin-calendar-wrap input.flatpickr-input::placeholder {
	color: var(--termin-muted);
}

/* ── Flatpickr popup ──────────────────────────────────────────────────────── */
.termin-booking .flatpickr-calendar {
	border-radius: var(--termin-radius) !important;
	box-shadow: 0 12px 40px rgba(0,0,0,.16), 0 2px 8px rgba(0,0,0,.08) !important;
	border: 1px solid var(--termin-border) !important;
	overflow: hidden;
	font-family: inherit !important;
}

.termin-booking .flatpickr-months {
	background: var(--termin-accent) !important;
}

.termin-booking .flatpickr-month {
	color: #fff !important;
	height: 44px !important;
}

.termin-booking .flatpickr-current-month {
	font-size: .95rem !important;
	font-weight: 700 !important;
	color: #fff !important;
	padding-top: 9px !important;
}

.termin-booking .flatpickr-current-month .cur-month {
	font-weight: 700 !important;
}

.termin-booking .flatpickr-current-month input.cur-year {
	color: #fff !important;
	font-weight: 700 !important;
}

.termin-booking .flatpickr-months .flatpickr-prev-month,
.termin-booking .flatpickr-months .flatpickr-next-month {
	color: rgba(255,255,255,.85) !important;
	padding: 10px 12px !important;
}

.termin-booking .flatpickr-months .flatpickr-prev-month svg,
.termin-booking .flatpickr-months .flatpickr-next-month svg {
	fill: rgba(255,255,255,.85) !important;
}

.termin-booking .flatpickr-months .flatpickr-prev-month:hover,
.termin-booking .flatpickr-months .flatpickr-next-month:hover {
	background: rgba(255,255,255,.18) !important;
	border-radius: 4px !important;
}

.termin-booking .flatpickr-months .flatpickr-prev-month:hover svg,
.termin-booking .flatpickr-months .flatpickr-next-month:hover svg {
	fill: #fff !important;
}

.termin-booking .flatpickr-weekdays {
	background: var(--termin-accent-light) !important;
	padding: 3px 0 !important;
}

.termin-booking span.flatpickr-weekday {
	font-size: .68rem !important;
	font-weight: 700 !important;
	letter-spacing: .08em !important;
	text-transform: uppercase !important;
	color: var(--termin-accent) !important;
	background: transparent !important;
}

.termin-booking .dayContainer {
	padding: 6px 8px 10px !important;
}

.termin-booking .flatpickr-day {
	border-radius: 8px !important;
	color: var(--termin-text) !important;
	font-size: .875rem !important;
	font-weight: 500 !important;
	border: 1px solid transparent !important;
	transition: background .12s, color .12s, border-color .12s !important;
}

.termin-booking .flatpickr-day:hover:not(.selected):not(.flatpickr-disabled) {
	background: var(--termin-accent-light) !important;
	border-color: var(--termin-accent-mid) !important;
	color: var(--termin-accent) !important;
}

.termin-booking .flatpickr-day.today:not(.selected) {
	border-color: var(--termin-accent-mid) !important;
	color: var(--termin-accent) !important;
	font-weight: 700 !important;
	background: transparent !important;
}

.termin-booking .flatpickr-day.selected,
.termin-booking .flatpickr-day.selected:hover {
	background: var(--termin-accent) !important;
	border-color: var(--termin-accent) !important;
	color: #fff !important;
	font-weight: 700 !important;
	box-shadow: 0 2px 8px rgba(0,0,0,.18) !important;
}

.termin-booking .flatpickr-day.flatpickr-disabled,
.termin-booking .flatpickr-day.flatpickr-disabled:hover,
.termin-booking .flatpickr-day.prevMonthDay,
.termin-booking .flatpickr-day.nextMonthDay {
	color: #d1d5db !important;
	background: transparent !important;
}

/* ── Zeitslots ────────────────────────────────────────────────────────────── */
.termin-slots-wrap {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
	gap: 10px;
	margin-bottom: 20px;
}

.termin-booking .termin-slot-btn {
	padding: 11px 16px;
	background: #fff !important;
	border: 2px solid var(--termin-border) !important;
	border-radius: var(--termin-radius) !important;
	font-size: .9rem;
	font-weight: 700;
	cursor: pointer;
	transition: border-color .18s, background .18s, box-shadow .18s;
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
	color: var(--termin-text) !important;
	box-shadow: var(--termin-shadow) !important;
}

.termin-booking .termin-slot-btn:hover {
	border-color: var(--termin-accent) !important;
	background: var(--termin-accent-light) !important;
}

.termin-booking .termin-slot-btn.termin-selected {
	border-color: var(--termin-accent) !important;
	background: var(--termin-accent-light) !important;
	color: var(--termin-accent) !important;
	box-shadow: 0 0 0 3px var(--termin-accent-mid) !important;
}

/* ── Buchungs-Zusammenfassung ─────────────────────────────────────────────── */
.termin-booking-summary {
	background: var(--termin-accent-light);
	border: 1px solid var(--termin-accent-mid);
	border-radius: 10px;
	padding: 14px 18px;
	margin-bottom: 22px;
	font-size: .9rem;
	color: var(--termin-accent);
}

.termin-booking-summary p {
	margin: 0;
	font-weight: 600;
}

/* ── Formular ─────────────────────────────────────────────────────────────── */
.termin-form-group {
	margin-bottom: 18px;
}

.termin-form-group label {
	display: block;
	font-weight: 700;
	margin-bottom: 6px;
	font-size: .9rem;
	color: var(--termin-text);
}

.termin-form-group abbr {
	text-decoration: none;
	color: var(--termin-error);
}

.termin-form-group input,
.termin-form-group textarea {
	width: 100%;
	padding: 12px 16px;
	border: 2px solid var(--termin-border);
	border-radius: var(--termin-radius);
	font-size: 1rem;
	background: #fff;
	color: var(--termin-text);
	transition: border-color .18s, box-shadow .18s;
	-webkit-appearance: none;
	font-family: inherit;
}

.termin-form-group textarea {
	resize: vertical;
	min-height: 90px;
}

.termin-form-group input:focus,
.termin-form-group textarea:focus {
	outline: none;
	border-color: var(--termin-accent);
	box-shadow: 0 0 0 4px var(--termin-accent-mid);
}

/* ── Fehler ───────────────────────────────────────────────────────────────── */
.termin-form-error[hidden] { display: none !important; }

.termin-form-error {
	display: flex;
	align-items: center;
	gap: 8px;
	background: var(--termin-error-bg);
	border: 1px solid #fca5a5;
	border-radius: 8px;
	padding: 12px 16px;
	color: var(--termin-error);
	font-size: .9rem;
	margin-bottom: 16px;
}

.termin-form-error::before {
	content: '!';
	width: 20px;
	height: 20px;
	background: var(--termin-error);
	color: #fff;
	border-radius: 50%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-weight: 900;
	font-size: .75rem;
	flex-shrink: 0;
}

/* ── Absenden-Button ──────────────────────────────────────────────────────── */
.termin-booking .termin-submit-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	width: 100%;
	padding: 14px 24px;
	background: var(--termin-btn-bg) !important;
	color: var(--termin-btn-text) !important;
	border: none !important;
	border-radius: var(--termin-radius) !important;
	box-shadow: 0 2px 8px rgba(0,0,0,.2) !important;
	font-size: 1rem;
	font-weight: 700;
	cursor: pointer;
	transition: background .18s, transform .1s, box-shadow .18s, filter .18s;
	letter-spacing: .01em;
}

.termin-booking .termin-submit-btn:hover:not(:disabled) {
	filter: brightness(.9);
	box-shadow: 0 4px 16px rgba(0,0,0,.28) !important;
}

.termin-booking .termin-submit-btn:active:not(:disabled) {
	transform: scale(.98);
}

.termin-booking .termin-submit-btn:disabled {
	opacity: .6;
	cursor: not-allowed;
}

.termin-btn-spinner[hidden] { display: none !important; }

/* ── Inline-SVG-Icons ────────────────────────────────────────────────────── */
.termin-icon {
	fill:            currentColor;
	display:         inline-block;
	vertical-align:  -0.125em;
	flex-shrink:     0;
	pointer-events:  none;
}

.termin-btn-spinner {
	display: inline-block;
	width: 17px;
	height: 17px;
	border: 2px solid rgba(255,255,255,.35);
	border-top-color: #fff;
	border-radius: 50%;
	animation: termin-spin .7s linear infinite;
}

@keyframes termin-spin { to { transform: rotate(360deg); } }

/* ── Zurück-Button ────────────────────────────────────────────────────────── */
.termin-booking .termin-back-btn {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	margin-top: 12px;
	padding: 6px 0;
	background: none !important;
	border: none !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	color: var(--termin-muted) !important;
	font-size: .87rem;
	cursor: pointer;
	transition: color .15s;
}

.termin-booking .termin-back-btn:hover {
	color: var(--termin-accent) !important;
}

/* ── DOI-Ausstehend-Screen (Schritt 5 pending) ────────────────────────────── */
.termin-doi-pending {
	padding: 28px;
	background: #fff;
	border: 1px solid var(--termin-border, #e5e7eb);
	border-top: 4px solid var(--termin-accent, #7c3aed);
	border-radius: var(--termin-radius, 12px);
}

.termin-doi-pending-header {
	display: flex;
	align-items: center;
	gap: 16px;
	margin-bottom: 18px;
	padding-bottom: 18px;
	border-bottom: 1px solid var(--termin-border, #e5e7eb);
}

.termin-doi-pending-icon-wrap {
	width: 50px;
	height: 50px;
	background: var(--termin-accent-light, #f5f3ff);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	color: var(--termin-accent, #7c3aed);
}

.termin-doi-pending-icon-wrap .termin-icon {
	width: 1.3rem;
	height: 1.3rem;
}

.termin-doi-pending-eyebrow {
	display: block;
	font-size: .63rem;
	font-weight: 700;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: var(--termin-accent, #7c3aed);
	margin-bottom: 3px;
}

.termin-doi-pending-title {
	font-size: 1.1rem;
	font-weight: 800;
	color: var(--termin-text, #1d2327);
	margin: 0;
	letter-spacing: -.02em;
	line-height: 1.2;
}

.termin-doi-pending-msg {
	font-size: .9rem;
	color: var(--termin-muted, #6b7280);
	line-height: 1.65;
	margin: 0 0 18px;
}

.termin-doi-pending-msg strong {
	color: var(--termin-text, #1d2327);
	font-weight: 700;
}

.termin-doi-steps {
	display: grid;
	gap: 0;
	border: 1px solid var(--termin-accent-mid, #ddd6fe);
	border-radius: 10px;
	margin-bottom: 16px;
	overflow: hidden;
}

.termin-doi-step {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	padding: 13px 16px;
	font-size: .875rem;
	color: var(--termin-text, #1d2327);
	line-height: 1.5;
	border-bottom: 1px solid var(--termin-accent-mid, #ddd6fe);
}

.termin-doi-step:last-child {
	border-bottom: none;
}

.termin-doi-step-num {
	width: 24px;
	height: 24px;
	background: var(--termin-accent, #7c3aed);
	color: #fff;
	border-radius: 50%;
	font-size: .7rem;
	font-weight: 800;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	margin-top: 1px;
}

.termin-payment-notice {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 10px 14px;
	border-radius: 8px;
	font-size: .83rem;
	font-weight: 500;
	color: var(--termin-text, #374151);
	background: var(--termin-accent-light, #f5f3ff);
	border: 1px solid var(--termin-accent-mid, #ddd6fe);
}

.termin-payment-notice .termin-icon {
	width: .85rem;
	height: .85rem;
	flex-shrink: 0;
	color: var(--termin-accent, #7c3aed);
}

/* ── Hilfstexte ───────────────────────────────────────────────────────────── */
.termin-loading {
	color: var(--termin-muted);
	font-style: italic;
	font-size: .9rem;
}

.termin-notice {
	padding: 12px 16px;
	background: #fef3c7;
	border: 1px solid #fcd34d;
	border-radius: var(--termin-radius);
	color: #92400e;
	font-size: .9rem;
}

/* ── DOI-Bestätigungsseite [termin_doi_result] ────────────────────────────── */
.termin-doi-result-wrap {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 40vh;
	padding: 48px 20px;
}

.termin-doi-result-card {
	max-width: 520px;
	width: 100%;
	border-radius: 18px;
	padding: 0 44px 48px;
	background: #fff;
	text-align: center;
	box-shadow: 0 6px 40px rgba(0,0,0,.10), 0 1px 4px rgba(0,0,0,.04);
	border-top: 4px solid transparent;
	overflow: hidden;
}

.termin-doi-result-success { border-top-color: #16a34a; }
.termin-doi-result-already { border-top-color: var(--termin-accent, #7c3aed); }
.termin-doi-result-error   { border-top-color: #dc2626; }

.termin-doi-result-icon {
	width: 72px;
	height: 72px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 44px auto 24px;
}

.termin-doi-result-icon .termin-icon {
	width: 1.65rem;
	height: 1.65rem;
}

.termin-doi-result-card h2 {
	font-size: 1.45rem;
	font-weight: 800;
	letter-spacing: -.02em;
	margin: 0 0 12px;
}

.termin-doi-result-card p {
	margin: 0 0 10px;
	line-height: 1.65;
	color: #4b5563;
	font-size: .92rem;
}

.termin-doi-result-table {
	width: 100%;
	border-collapse: collapse;
	margin: 20px 0;
	text-align: left;
	border-radius: 10px;
	overflow: hidden;
}

.termin-doi-result-table tr:nth-child(odd) td {
	background: #f9fafb;
}

.termin-doi-result-table td {
	padding: 10px 14px;
	font-size: .88rem;
	border: none;
}

.termin-doi-result-table td:first-child {
	font-weight: 700;
	color: #374151;
	width: 38%;
}

.termin-doi-result-payment {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 7px 16px;
	border-radius: 100px;
	font-size: .83rem;
	font-weight: 600;
	color: #374151;
	background: #f3f4f6;
	border: 1px solid #e5e7eb;
	margin-bottom: 20px;
}

.termin-doi-result-payment .termin-icon {
	width: .8rem;
	height: .8rem;
	color: #6b7280;
}

.termin-doi-result-btn {
	display: inline-block;
	margin-top: 12px;
	padding: 12px 32px;
	background: var(--termin-btn-bg, var(--termin-accent, #7c3aed));
	color: var(--termin-btn-text, #fff) !important;
	border-radius: 100px;
	text-decoration: none;
	font-weight: 700;
	font-size: .9rem;
	letter-spacing: .01em;
	transition: opacity .15s;
}

.termin-doi-result-btn:hover {
	opacity: .8;
	color: var(--termin-btn-text, #fff) !important;
}

.termin-doi-result-success .termin-doi-result-icon {
	background: #dcfce7;
	color: #16a34a;
}

.termin-doi-result-success h2 { color: #166534; }

.termin-doi-result-already .termin-doi-result-icon {
	background: var(--termin-accent-light, #f5f3ff);
	color: var(--termin-accent, #7c3aed);
}

.termin-doi-result-already h2 { color: var(--termin-accent, #7c3aed); }

.termin-doi-result-error .termin-doi-result-icon {
	background: #fee2e2;
	color: #dc2626;
}

.termin-doi-result-error h2 { color: #991b1b; }

/* ── [termin_session_desc] Shortcode ─────────────────────────────────────── */
.termin-session-description {
	line-height: 1.7;
	color: var(--termin-text, #1c1917);
}

.termin-session-description p {
	margin: 0 0 1em;
}

.termin-session-description p:last-child {
	margin-bottom: 0;
}

.termin-session-description h2,
.termin-session-description h3,
.termin-session-description h4 {
	font-weight: 700;
	line-height: 1.25;
	margin: 1.5em 0 .5em;
}

.termin-session-description ul,
.termin-session-description ol {
	padding-left: 1.4em;
	margin: 0 0 1em;
}

.termin-session-description li {
	margin-bottom: .35em;
}

.termin-session-description strong {
	font-weight: 700;
}

.termin-session-description a {
	color: var(--termin-accent, #7c3aed);
	text-decoration: underline;
}

/* ── Zahlungsart-Auswahl ──────────────────────────────────────────────────── */
.termin-payment-method-group {
	margin: 0 0 20px;
}

.termin-payment-method-label {
	font-size: 14px;
	font-weight: 600;
	color: var(--termin-text, #1d2327);
	margin: 0 0 10px;
}

.termin-payment-method-option {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	padding: 12px 14px;
	border: 2px solid #e5e7eb;
	border-radius: var(--termin-radius, 12px);
	margin-bottom: 8px;
	cursor: pointer;
	transition: border-color .15s, background .15s;
}

.termin-payment-method-option:hover {
	border-color: var(--termin-accent, #7c3aed);
	background: var(--termin-accent-light, #f5f3ff);
}

.termin-payment-method-option input[type="radio"] {
	margin-top: 3px;
	flex-shrink: 0;
	accent-color: var(--termin-accent, #7c3aed);
}

.termin-payment-method-option span {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.termin-payment-method-option strong {
	font-size: 13px;
	color: #1d2327;
}

.termin-payment-method-option small {
	font-size: 12px;
	color: #6b7280;
}

/* ── Vorauskasse-Details-Tabelle ─────────────────────────────────────────── */
.termin-vk-details {
	margin-bottom: 18px;
}

.termin-vk-table {
	width: 100%;
	border-collapse: collapse;
	margin: 14px 0 0;
	font-size: .88rem;
	border: 1px solid var(--termin-accent-mid, #ddd6fe);
	border-radius: 10px;
	overflow: hidden;
}

.termin-vk-table td {
	padding: 11px 14px;
	border-bottom: 1px solid var(--termin-accent-mid, #ddd6fe);
}

.termin-vk-table td:first-child {
	font-size: .75rem;
	font-weight: 700;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: var(--termin-muted, #6b7280);
	white-space: nowrap;
	width: 160px;
	background: var(--termin-accent-light, #f5f3ff);
}

.termin-vk-table tr:last-child td {
	border-bottom: none;
}

/* ════════════════════════════════════════════════════════════════════════════
   PRO SKIN: BOLD
   Starke Typografie, Akzentstreifen — nutzt var(--termin-radius) aus Einstellungen
   ════════════════════════════════════════════════════════════════════════════ */

.termin-booking[data-skin="bold"] .termin-step-title {
	border-bottom: none;
	padding-bottom: 0;
	gap: 4px;
}
.termin-booking[data-skin="bold"] .termin-step-title::after {
	display: none;
}
.termin-booking[data-skin="bold"] .termin-step-number {
	font-size: .65rem;
	letter-spacing: .2em;
	font-weight: 800;
}
.termin-booking[data-skin="bold"] .termin-step-label {
	font-size: 1.55rem;
	font-weight: 900;
	letter-spacing: -.03em;
	line-height: 1.1;
}
.termin-booking[data-skin="bold"] .termin-session-btn {
	border-top: none !important;
	border-right: none !important;
	border-bottom: none !important;
	border-left: 4px solid var(--termin-accent) !important;
	border-radius: 0 var(--termin-radius) var(--termin-radius) 0 !important;
	box-shadow: none !important;
	background: #fff !important;
	padding: 18px 22px !important;
}
.termin-booking[data-skin="bold"] .termin-session-btn:hover {
	background: var(--termin-accent-light) !important;
}
.termin-booking[data-skin="bold"] .termin-session-btn.termin-selected {
	background: var(--termin-accent-light) !important;
	border-left-width: 5px !important;
	box-shadow: none !important;
}
.termin-booking[data-skin="bold"] .termin-sessions {
	gap: 8px;
}
.termin-booking[data-skin="bold"] .termin-progress-dot {
	width: 32px !important;
	height: 32px !important;
	font-size: .8rem !important;
}
.termin-booking[data-skin="bold"] .termin-submit-btn {
	font-size: 1.05rem !important;
	letter-spacing: .02em !important;
	padding: 16px 32px !important;
}

/* ════════════════════════════════════════════════════════════════════════════
   PRO SKIN: DARK
   Dunkle Oberfläche, heller Text
   ════════════════════════════════════════════════════════════════════════════ */

.termin-booking[data-skin="dark"] {
	--termin-text:   #f5f5f4;
	--termin-muted:  #a8a29e;
	--termin-border: #44403c;
	--termin-shadow: 0 1px 4px rgba(0,0,0,.5), 0 6px 20px rgba(0,0,0,.35);
	background:      #1c1917;
	padding:         28px 24px;
	border-radius:   calc(var(--termin-radius) + 8px);
}
.termin-booking[data-skin="dark"] .termin-session-btn {
	background:   #292524 !important;
	border-color: #44403c !important;
	color:        #f5f5f4 !important;
}
.termin-booking[data-skin="dark"] .termin-session-btn:hover {
	background:   #3c3836 !important;
	border-color: var(--termin-accent) !important;
}
.termin-booking[data-skin="dark"] .termin-session-btn.termin-selected {
	background:   #3c3836 !important;
	border-color: var(--termin-accent) !important;
	box-shadow:   0 0 0 3px color-mix(in srgb, var(--termin-accent) 30%, transparent) !important;
}
.termin-booking[data-skin="dark"] .termin-session-name { color: #f5f5f4; }
.termin-booking[data-skin="dark"] .termin-slot-btn {
	background:   #292524 !important;
	border-color: #44403c !important;
	color:        #f5f5f4 !important;
}
.termin-booking[data-skin="dark"] .termin-slot-btn:hover {
	background:   #3c3836 !important;
	border-color: var(--termin-accent) !important;
}
.termin-booking[data-skin="dark"] .termin-slot-btn.termin-selected {
	background:   var(--termin-accent) !important;
	border-color: var(--termin-accent) !important;
	color:        #fff !important;
}
.termin-booking[data-skin="dark"] .termin-date-input-row input,
.termin-booking[data-skin="dark"] .termin-date-input-row input.flatpickr-input,
.termin-booking[data-skin="dark"] .termin-calendar-wrap input {
	background:   #292524 !important;
	border-color: #44403c !important;
	color:        #f5f5f4 !important;
}
.termin-booking[data-skin="dark"] .termin-date-input-row::before {
	filter: brightness(0) invert(1) opacity(.6);
}
.termin-booking[data-skin="dark"] .flatpickr-calendar {
	background:   #292524 !important;
	border-color: #44403c !important;
}
.termin-booking[data-skin="dark"] .flatpickr-day                                           { color: #d6d3d1 !important; }
.termin-booking[data-skin="dark"] .flatpickr-day:hover:not(.selected):not(.flatpickr-disabled) {
	background:   #3c3836 !important;
	border-color: #57534e !important;
	color:        #f5f5f4 !important;
}
.termin-booking[data-skin="dark"] .flatpickr-day.flatpickr-disabled,
.termin-booking[data-skin="dark"] .flatpickr-day.prevMonthDay,
.termin-booking[data-skin="dark"] .flatpickr-day.nextMonthDay     { color: #44403c !important; }
.termin-booking[data-skin="dark"] .termin-step-title              { border-bottom-color: #44403c; }
.termin-booking[data-skin="dark"] .termin-step-title::after       { background: var(--termin-accent); }
.termin-booking[data-skin="dark"] .termin-back-btn                { color: #a8a29e !important; }
.termin-booking[data-skin="dark"] .termin-form-group input,
.termin-booking[data-skin="dark"] .termin-form-group select,
.termin-booking[data-skin="dark"] .termin-form-group textarea     {
	background:   #292524 !important;
	border-color: #44403c !important;
	color:        #f5f5f4 !important;
}
.termin-booking[data-skin="dark"] .termin-form-group label        { color: #d6d3d1 !important; }
.termin-booking[data-skin="dark"] .termin-booking-summary         { background: #292524 !important; border-color: #44403c !important; }
.termin-booking[data-skin="dark"] .termin-progress-dot            { background: #292524; }
.termin-booking[data-skin="dark"] .termin-progress-line           { background: #44403c; }
.termin-booking[data-skin="dark"] .termin-selected-info           {
	background:   color-mix(in srgb, var(--termin-accent) 12%, #292524) !important;
	border-color: color-mix(in srgb, var(--termin-accent) 35%, transparent) !important;
}
.termin-booking[data-skin="dark"] .termin-doi-pending {
	background:   #292524 !important;
	border-color: #44403c !important;
	border-top-color: var(--termin-accent) !important;
}
.termin-booking[data-skin="dark"] .termin-doi-pending-header      { border-bottom-color: #44403c !important; }
.termin-booking[data-skin="dark"] .termin-doi-pending-icon-wrap   {
	background: color-mix(in srgb, var(--termin-accent) 18%, #44403c) !important;
}
.termin-booking[data-skin="dark"] .termin-doi-steps               {
	border-color: #44403c !important;
}
.termin-booking[data-skin="dark"] .termin-doi-step                {
	border-bottom-color: #44403c !important;
}
.termin-booking[data-skin="dark"] .termin-payment-notice          {
	background:   #1c1917 !important;
	border-color: #44403c !important;
	color:        #a8a29e !important;
}

/* ════════════════════════════════════════════════════════════════════════════
   PRO SKIN: SOFT
   Warme Akzent-Tints als Grundfläche, weiche farbige Schatten
   ════════════════════════════════════════════════════════════════════════════ */

.termin-booking[data-skin="soft"] .termin-step-title {
	border-bottom-color: var(--termin-accent-mid);
}
.termin-booking[data-skin="soft"] .termin-session-btn {
	background:   var(--termin-accent-light) !important;
	border-color: var(--termin-accent-mid) !important;
	box-shadow:   0 4px 20px color-mix(in srgb, var(--termin-accent) 10%, transparent) !important;
}
.termin-booking[data-skin="soft"] .termin-session-btn:hover {
	border-color: var(--termin-accent) !important;
	box-shadow:   0 6px 28px color-mix(in srgb, var(--termin-accent) 20%, transparent) !important;
}
.termin-booking[data-skin="soft"] .termin-session-btn.termin-selected {
	background:   var(--termin-accent) !important;
	border-color: var(--termin-accent) !important;
	box-shadow:   0 6px 28px color-mix(in srgb, var(--termin-accent) 32%, transparent) !important;
}
.termin-booking[data-skin="soft"] .termin-session-btn.termin-selected .termin-session-name,
.termin-booking[data-skin="soft"] .termin-session-btn.termin-selected .termin-session-desc {
	color: rgba(255,255,255,.95);
}
.termin-booking[data-skin="soft"] .termin-session-btn.termin-selected .termin-session-price {
	background: rgba(255,255,255,.25);
	color: #fff;
}
.termin-booking[data-skin="soft"] .termin-slot-btn {
	background:   var(--termin-accent-light) !important;
	border-color: var(--termin-accent-mid) !important;
	color:        var(--termin-accent) !important;
}
.termin-booking[data-skin="soft"] .termin-slot-btn:hover {
	background:   var(--termin-accent-mid) !important;
	border-color: var(--termin-accent) !important;
}
.termin-booking[data-skin="soft"] .termin-slot-btn.termin-selected {
	background:   var(--termin-accent) !important;
	border-color: var(--termin-accent) !important;
	color:        #fff !important;
	box-shadow:   0 4px 16px color-mix(in srgb, var(--termin-accent) 35%, transparent) !important;
}
.termin-booking[data-skin="soft"] .termin-date-input-row input,
.termin-booking[data-skin="soft"] .termin-date-input-row input.flatpickr-input,
.termin-booking[data-skin="soft"] .termin-calendar-wrap input {
	background:   var(--termin-accent-light) !important;
	border-color: var(--termin-accent-mid) !important;
}
.termin-booking[data-skin="soft"] .termin-form-group input,
.termin-booking[data-skin="soft"] .termin-form-group select,
.termin-booking[data-skin="soft"] .termin-form-group textarea {
	background:   var(--termin-accent-light) !important;
	border-color: var(--termin-accent-mid) !important;
}
.termin-booking[data-skin="soft"] .termin-form-group input:focus,
.termin-booking[data-skin="soft"] .termin-form-group select:focus,
.termin-booking[data-skin="soft"] .termin-form-group textarea:focus {
	border-color: var(--termin-accent) !important;
	box-shadow:   0 0 0 4px color-mix(in srgb, var(--termin-accent) 15%, transparent) !important;
}
.termin-booking[data-skin="soft"] .termin-selected-info {
	background:   var(--termin-accent-light) !important;
	border-color: var(--termin-accent-mid) !important;
}

/* ════════════════════════════════════════════════════════════════════════════
   PRO SKIN: GLASS
   Frost-Panels über Farbverlauf — Backdrop-Filter Glasmorphismus
   ════════════════════════════════════════════════════════════════════════════ */

.termin-booking[data-skin="glass"] {
	background: linear-gradient(
		145deg,
		color-mix(in srgb, var(--termin-accent) 9%, #fff),
		color-mix(in srgb, var(--termin-accent) 4%, #fff) 50%,
		color-mix(in srgb, var(--termin-accent) 12%, #fff)
	);
	padding:       32px 28px;
	border-radius: calc(var(--termin-radius) + 10px);
}
.termin-booking[data-skin="glass"] .termin-session-btn {
	background:    rgba(255,255,255,.55) !important;
	backdrop-filter: blur(14px) !important;
	-webkit-backdrop-filter: blur(14px) !important;
	border:        1px solid rgba(255,255,255,.85) !important;
	box-shadow:    0 2px 20px rgba(0,0,0,.07), inset 0 1px 0 rgba(255,255,255,.9) !important;
}
.termin-booking[data-skin="glass"] .termin-session-btn:hover {
	background:    rgba(255,255,255,.75) !important;
	box-shadow:    0 4px 28px rgba(0,0,0,.1), inset 0 1px 0 #fff !important;
}
.termin-booking[data-skin="glass"] .termin-session-btn.termin-selected {
	background:    rgba(255,255,255,.9) !important;
	border:        1.5px solid var(--termin-accent) !important;
	box-shadow:    0 4px 24px color-mix(in srgb, var(--termin-accent) 22%, transparent), inset 0 1px 0 #fff !important;
}
.termin-booking[data-skin="glass"] .termin-slot-btn {
	background:    rgba(255,255,255,.5) !important;
	backdrop-filter: blur(8px) !important;
	-webkit-backdrop-filter: blur(8px) !important;
	border:        1px solid rgba(255,255,255,.8) !important;
	box-shadow:    0 1px 8px rgba(0,0,0,.06) !important;
}
.termin-booking[data-skin="glass"] .termin-slot-btn:hover {
	background:    rgba(255,255,255,.8) !important;
	border-color:  var(--termin-accent) !important;
}
.termin-booking[data-skin="glass"] .termin-slot-btn.termin-selected {
	background:    var(--termin-accent) !important;
	border-color:  var(--termin-accent) !important;
	color:         #fff !important;
	box-shadow:    0 4px 20px color-mix(in srgb, var(--termin-accent) 40%, transparent) !important;
}
.termin-booking[data-skin="glass"] .termin-date-input-row input,
.termin-booking[data-skin="glass"] .termin-date-input-row input.flatpickr-input,
.termin-booking[data-skin="glass"] .termin-calendar-wrap input {
	background:    rgba(255,255,255,.55) !important;
	backdrop-filter: blur(14px) !important;
	-webkit-backdrop-filter: blur(14px) !important;
	border:        1px solid rgba(255,255,255,.85) !important;
	box-shadow:    0 2px 12px rgba(0,0,0,.06), inset 0 1px 0 rgba(255,255,255,.9) !important;
}
.termin-booking[data-skin="glass"] .termin-form-group input,
.termin-booking[data-skin="glass"] .termin-form-group select,
.termin-booking[data-skin="glass"] .termin-form-group textarea {
	background:    rgba(255,255,255,.55) !important;
	backdrop-filter: blur(8px) !important;
	-webkit-backdrop-filter: blur(8px) !important;
	border:        1px solid rgba(255,255,255,.85) !important;
}
.termin-booking[data-skin="glass"] .termin-step-title       { border-bottom-color: rgba(0,0,0,.1); }
.termin-booking[data-skin="glass"] .termin-booking-summary  {
	background:    rgba(255,255,255,.55) !important;
	backdrop-filter: blur(14px) !important;
	border-color:  rgba(255,255,255,.85) !important;
}
.termin-booking[data-skin="glass"] .flatpickr-calendar {
	background:    rgba(255,255,255,.9) !important;
	backdrop-filter: blur(20px) !important;
	-webkit-backdrop-filter: blur(20px) !important;
}
.termin-booking[data-skin="glass"] .termin-selected-info {
	background:    rgba(255,255,255,.6) !important;
	border-color:  var(--termin-accent-mid) !important;
	backdrop-filter: blur(8px) !important;
}

/* ════════════════════════════════════════════════════════════════════════════
   PRO SKIN: NEON  ✦ Kreativ-Skin
   Dunkles Terminal-UI · Elektrisches Leuchten · Pulsierende Dots
   ════════════════════════════════════════════════════════════════════════════ */

.termin-booking[data-skin="neon"] {
	--termin-text:   #c9d1d9;
	--termin-muted:  #8b949e;
	--termin-border: #21262d;
	--termin-shadow: none;
	background:      #0d1117;
	padding:         32px 28px;
	border-radius:   calc(var(--termin-radius) + 4px);
	background-image:
		repeating-linear-gradient(0deg, transparent, transparent 39px, rgba(255,255,255,.018) 39px, rgba(255,255,255,.018) 40px),
		radial-gradient(ellipse 70% 45% at 18% 0%, color-mix(in srgb, var(--termin-accent) 14%, transparent), transparent);
	position: relative;
	overflow: hidden;
}
.termin-booking[data-skin="neon"]::before {
	content: '';
	position: absolute;
	top: 0; left: 5%; right: 5%;
	height: 1px;
	background: linear-gradient(90deg, transparent, var(--termin-accent), color-mix(in srgb, var(--termin-accent) 50%, transparent), transparent);
	opacity: .75;
	pointer-events: none;
}
.termin-booking[data-skin="neon"] .termin-step-title     { border-bottom-color: #21262d; }
.termin-booking[data-skin="neon"] .termin-step-title::after {
	background:  var(--termin-accent);
	box-shadow:  0 0 8px var(--termin-accent);
}
.termin-booking[data-skin="neon"] .termin-step-number    {
	color:        var(--termin-accent);
	text-shadow:  0 0 10px var(--termin-accent);
}
.termin-booking[data-skin="neon"] .termin-step-label     { color: #e6edf3; }

@keyframes termin-neon-pulse {
	0%, 100% { box-shadow: 0 0 6px var(--termin-accent); }
	50%       { box-shadow: 0 0 18px var(--termin-accent), 0 0 36px color-mix(in srgb, var(--termin-accent) 35%, transparent); }
}
.termin-booking[data-skin="neon"] .termin-progress-step.is-active .termin-progress-dot {
	animation:   termin-neon-pulse 2s ease-in-out infinite;
	border-color: var(--termin-accent) !important;
}
.termin-booking[data-skin="neon"] .termin-progress-step.is-done .termin-progress-dot   { background: color-mix(in srgb, var(--termin-accent) 20%, #161b22) !important; }
.termin-booking[data-skin="neon"] .termin-progress-line  { background: #21262d; }
.termin-booking[data-skin="neon"] .termin-progress-step.is-active .termin-progress-label { color: var(--termin-accent); }
.termin-booking[data-skin="neon"] .termin-progress-label { color: #8b949e; }

.termin-booking[data-skin="neon"] .termin-session-btn {
	background:  #161b22 !important;
	border:      1px solid #30363d !important;
	box-shadow:  none !important;
	position:    relative;
	overflow:    hidden;
	transition:  border-color .2s, box-shadow .2s !important;
}
.termin-booking[data-skin="neon"] .termin-session-btn::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(135deg, color-mix(in srgb, var(--termin-accent) 7%, transparent), transparent 55%);
	opacity: 0;
	transition: opacity .3s;
	pointer-events: none;
}
.termin-booking[data-skin="neon"] .termin-session-btn:hover {
	border-color: color-mix(in srgb, var(--termin-accent) 60%, transparent) !important;
	box-shadow:   0 0 18px color-mix(in srgb, var(--termin-accent) 15%, transparent) !important;
}
.termin-booking[data-skin="neon"] .termin-session-btn:hover::after { opacity: 1; }
.termin-booking[data-skin="neon"] .termin-session-btn.termin-selected {
	border-color: var(--termin-accent) !important;
	box-shadow:   0 0 24px color-mix(in srgb, var(--termin-accent) 28%, transparent),
	              inset 0 0 24px color-mix(in srgb, var(--termin-accent) 6%, transparent) !important;
	background:   color-mix(in srgb, var(--termin-accent) 9%, #161b22) !important;
}
.termin-booking[data-skin="neon"] .termin-session-btn.termin-selected::after { opacity: 1; }
.termin-booking[data-skin="neon"] .termin-session-name   { color: #e6edf3; }
.termin-booking[data-skin="neon"] .termin-session-btn.termin-selected .termin-session-name { color: #fff; }
.termin-booking[data-skin="neon"] .termin-session-price  {
	background: color-mix(in srgb, var(--termin-accent) 20%, transparent);
	color: var(--termin-accent);
}

.termin-booking[data-skin="neon"] .termin-slot-btn {
	background:  #161b22 !important;
	border:      1px solid #30363d !important;
	color:       #8b949e !important;
	transition:  border-color .15s, box-shadow .15s, color .15s !important;
}
.termin-booking[data-skin="neon"] .termin-slot-btn:hover {
	border-color: var(--termin-accent) !important;
	color:        var(--termin-accent) !important;
	box-shadow:   0 0 12px color-mix(in srgb, var(--termin-accent) 22%, transparent) !important;
	background:   color-mix(in srgb, var(--termin-accent) 6%, #161b22) !important;
}
.termin-booking[data-skin="neon"] .termin-slot-btn.termin-selected {
	background:  var(--termin-accent) !important;
	border-color: var(--termin-accent) !important;
	color:       #fff !important;
	text-shadow: 0 0 8px rgba(255,255,255,.35);
	box-shadow:  0 0 22px color-mix(in srgb, var(--termin-accent) 52%, transparent),
	             0 0 44px color-mix(in srgb, var(--termin-accent) 22%, transparent) !important;
}

.termin-booking[data-skin="neon"] .termin-date-input-row input,
.termin-booking[data-skin="neon"] .termin-date-input-row input.flatpickr-input,
.termin-booking[data-skin="neon"] .termin-calendar-wrap input {
	background:  #161b22 !important;
	border:      1px solid #30363d !important;
	color:       #c9d1d9 !important;
}
.termin-booking[data-skin="neon"] .termin-date-input-row::before {
	filter: brightness(0) invert(1) opacity(.45);
}
.termin-booking[data-skin="neon"] .flatpickr-calendar   { background: #161b22 !important; border-color: #30363d !important; }
.termin-booking[data-skin="neon"] .flatpickr-months     { background: #0d1117 !important; }
.termin-booking[data-skin="neon"] .flatpickr-weekdays   { background: #0d1117 !important; }
.termin-booking[data-skin="neon"] span.flatpickr-weekday { color: #8b949e !important; }
.termin-booking[data-skin="neon"] .flatpickr-day        { color: #c9d1d9 !important; }
.termin-booking[data-skin="neon"] .flatpickr-day:hover:not(.selected):not(.flatpickr-disabled) {
	background:  #21262d !important;
	border-color: var(--termin-accent) !important;
	color:       var(--termin-accent) !important;
}
.termin-booking[data-skin="neon"] .flatpickr-day.selected,
.termin-booking[data-skin="neon"] .flatpickr-day.selected:hover {
	background:  var(--termin-accent) !important;
	border-color: var(--termin-accent) !important;
	color:       #fff !important;
	box-shadow:  0 0 16px color-mix(in srgb, var(--termin-accent) 55%, transparent) !important;
}
.termin-booking[data-skin="neon"] .flatpickr-day.flatpickr-disabled,
.termin-booking[data-skin="neon"] .flatpickr-day.prevMonthDay,
.termin-booking[data-skin="neon"] .flatpickr-day.nextMonthDay { color: #21262d !important; }

.termin-booking[data-skin="neon"] .termin-form-group input,
.termin-booking[data-skin="neon"] .termin-form-group select,
.termin-booking[data-skin="neon"] .termin-form-group textarea {
	background:  #161b22 !important;
	border:      1px solid #30363d !important;
	color:       #c9d1d9 !important;
}
.termin-booking[data-skin="neon"] .termin-form-group input:focus,
.termin-booking[data-skin="neon"] .termin-form-group select:focus,
.termin-booking[data-skin="neon"] .termin-form-group textarea:focus {
	border-color: var(--termin-accent) !important;
	box-shadow:   0 0 0 3px color-mix(in srgb, var(--termin-accent) 20%, transparent) !important;
}
.termin-booking[data-skin="neon"] .termin-form-group label   { color: #8b949e !important; }
.termin-booking[data-skin="neon"] .termin-booking-summary    { background: #161b22 !important; border-color: #30363d !important; }
.termin-booking[data-skin="neon"] .termin-back-btn           { color: #8b949e !important; }
.termin-booking[data-skin="neon"] .termin-selected-info      {
	background:  color-mix(in srgb, var(--termin-accent) 10%, #161b22) !important;
	border-color: color-mix(in srgb, var(--termin-accent) 35%, transparent) !important;
	color:       var(--termin-accent);
}
.termin-booking[data-skin="neon"] .termin-doi-pending {
	background:   #161b22 !important;
	border-color: #30363d !important;
	border-top-color: var(--termin-accent) !important;
}
.termin-booking[data-skin="neon"] .termin-doi-pending-header      { border-bottom-color: #30363d !important; }
.termin-booking[data-skin="neon"] .termin-doi-pending-icon-wrap   {
	background: color-mix(in srgb, var(--termin-accent) 15%, #21262d) !important;
}
.termin-booking[data-skin="neon"] .termin-doi-pending-title       { color: #c9d1d9 !important; }
.termin-booking[data-skin="neon"] .termin-doi-pending-msg         { color: #8b949e !important; }
.termin-booking[data-skin="neon"] .termin-doi-steps               { border-color: #30363d !important; }
.termin-booking[data-skin="neon"] .termin-doi-step                {
	border-bottom-color: #30363d !important;
	color:               #c9d1d9 !important;
}
.termin-booking[data-skin="neon"] .termin-payment-notice          {
	background:   #0d1117 !important;
	border-color: #30363d !important;
	color:        #8b949e !important;
}

button.termin-doi-result-btn {
	border: 0;
	cursor: pointer;
	font-family: inherit;
}

/* ════════════════════════════════════════════════════════════════════════════
   v3 – Instanzbasierte Buchungs-App, Ansichten, Barrierefreiheit (WCAG 2.2 AA)
   ════════════════════════════════════════════════════════════════════════════ */

.termin-booking [hidden] { display: none !important; }

.termin-booking {
	--termin-accent-ink: var(--termin-accent);
	--termin-on-accent:  #ffffff;
	--termin-focus:      #1c1917;
	position: relative;
	margin-bottom: 24px;
}
.termin-booking.termin-view-calendar,


/* Nur für Screenreader */
.termin-sr-only {
	position: absolute !important;
	width: 1px; height: 1px;
	padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0, 0, 0, 0);
	white-space: nowrap; border: 0;
}

/* Kontrast: Akzent als Schriftfarbe → --termin-accent-ink (in PHP auf ≥ 4.5:1 geprüft) */
.termin-booking .termin-step-number,
.termin-booking .termin-progress-step.is-active .termin-progress-label,
.termin-booking .termin-selected-info,
.termin-booking .termin-booking-summary,
.termin-booking .termin-preselect-badge,
.termin-booking .termin-slot-btn.termin-selected,
.termin-booking .termin-card-link,
.termin-booking .termin-link-btn,
.termin-booking .termin-back-btn:hover { color: var(--termin-accent-ink) !important; }
.termin-booking .termin-session-price,
.termin-booking .termin-progress-step.is-done .termin-progress-dot { color: var(--termin-on-accent); }

/* Sichtbarer Fokus für alle interaktiven Elemente */
.termin-booking a:focus-visible,
.termin-booking button:focus-visible,
.termin-booking input:focus-visible,
.termin-booking select:focus-visible,
.termin-booking textarea:focus-visible,
.termin-booking [tabindex]:focus-visible {
	outline: 3px solid var(--termin-focus) !important;
	outline-offset: 2px !important;
	box-shadow: 0 0 0 5px #fff !important;
}
.termin-booking .termin-step-title:focus { outline: none; }
.termin-booking .termin-step-title:focus-visible { outline: 2px dashed var(--termin-accent-ink) !important; box-shadow: none !important; }
.termin-booking[data-skin="dark"],
.termin-booking[data-skin="neon"] { --termin-focus: #ffffff; }

/* Mindest-Zielgröße 24 × 24 px (WCAG 2.5.8), Buttons meist 44 px */
.termin-booking button,
.termin-booking .termin-choice,
.termin-booking a.termin-submit-btn { min-height: 44px; }
.termin-booking .termin-cal-day,
.termin-booking .termin-cal-nav { min-width: 40px; min-height: 40px; }
.termin-booking input[type="radio"],
.termin-booking input[type="checkbox"] { width: 24px; height: 24px; flex-shrink: 0; accent-color: var(--termin-accent); margin: 0; }

/* Fortschritt als Liste */
.termin-progress-nav { margin-bottom: 28px; }
.termin-booking ol.termin-progress-wrap { list-style: none; padding: 0; margin: 0; }
.termin-booking ol.termin-progress-wrap li { margin: 0; }

/* Schritte */
.termin-step-body { min-width: 0; }
.termin-step-nav {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-top: 20px;
}
.termin-booking .termin-step-nav .termin-next-btn { width: auto; min-width: 180px; margin-left: auto; }
.termin-booking .termin-step-nav .termin-back-btn { margin-top: 0; }
.termin-step-nav:empty { display: none; }

/* Karten (Kategorie, Leistung, Mitarbeiter, Standort) */
.termin-cards { margin: 0; padding: 0; }
.termin-card { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.termin-booking .termin-session-btn { color: var(--termin-text); font: inherit; }
.termin-session-meta {
	grid-column: 1;
	font-size: .8rem;
	color: var(--termin-muted);
	display: flex;
	flex-wrap: wrap;
	gap: 4px;
}
.termin-card-link {
	align-self: flex-start;
	font-size: .85rem;
	font-weight: 600;
	padding: 2px 4px;
	text-decoration: underline;
	text-underline-offset: 2px;
	min-height: 24px;
	display: inline-flex;
	align-items: center;
}
.termin-staff-cards .termin-staff-btn {
	grid-template-columns: auto 1fr auto;
	align-items: center;
}
.termin-staff-btn .termin-staff-photo { grid-column: 1; grid-row: 1 / 3; }
.termin-staff-btn .termin-session-name { grid-column: 2; grid-row: 1; }
.termin-staff-btn .termin-session-desc { grid-column: 2; grid-row: 2; }
.termin-staff-btn .termin-session-price { grid-column: 3; grid-row: 1 / 3; }
.termin-staff-photo {
	width: 56px;
	height: 56px;
	border-radius: 50%;
	object-fit: cover;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: var(--termin-accent-light);
	color: var(--termin-accent-ink);
	font-weight: 800;
	font-size: 1.3rem;
}
/* Auswahl nicht nur über Farbe: Haken bei ausgewählten Karten/Zeiten */
.termin-booking .termin-session-btn.termin-selected,
.termin-booking .termin-slot-btn.termin-selected { position: relative; }
.termin-booking .termin-session-btn.termin-selected::before,
.termin-booking .termin-slot-btn.termin-selected::before {
	content: '✓';
	position: absolute;
	top: -8px;
	right: -8px;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: var(--termin-accent);
	color: var(--termin-on-accent);
	font-size: .75rem;
	font-weight: 800;
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 2;
}

/* Auswahllisten (Variante, Zusatzleistungen, Zahlungsart) */
.termin-fieldset { border: 0; padding: 0; margin: 0 0 22px; min-width: 0; }
.termin-fieldset legend { font-weight: 800; font-size: .95rem; margin-bottom: 10px; padding: 0; color: var(--termin-text); }
.termin-choice-list { display: grid; gap: 10px; }
.termin-booking .termin-choice {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	padding: 12px 16px;
	border: 2px solid var(--termin-border);
	border-radius: var(--termin-radius);
	background: #fff;
	cursor: pointer;
	transition: border-color .15s, background .15s;
}
.termin-booking .termin-choice:hover { border-color: var(--termin-accent); }
.termin-booking .termin-choice:has(input:checked) {
	border-color: var(--termin-accent);
	background: var(--termin-accent-light);
}
.termin-choice-text { display: flex; flex-direction: column; gap: 2px; }
.termin-choice-text small { color: var(--termin-muted); font-size: .82rem; }
.termin-persons input { max-width: 140px; }

.termin-help { font-size: .82rem; color: var(--termin-muted); margin: 6px 0 0; }
.termin-required-hint { margin: 0 0 14px; }
.termin-loading { color: var(--termin-muted); font-size: .9rem; }
.termin-notice { margin: 8px 0 16px; padding: 12px 16px; border-radius: 8px; background: #f5f5f4; border: 1px solid var(--termin-border); color: var(--termin-text); }
.termin-notice p { margin: 0; }
.termin-notice p + p { margin-top: 8px; }
.termin-notice-error { background: var(--termin-error-bg); border-color: #fca5a5; color: #991b1b; }
.termin-notice-error::before { content: '⚠ '; }
.termin-notice-success { background: var(--termin-success-bg); border-color: #6ee7b7; color: #065f46; }
.termin-notice-success::before { content: '✓ '; font-weight: 800; }

.termin-booking .termin-link-btn {
	background: none !important;
	border: 0 !important;
	box-shadow: none !important;
	padding: 4px 0;
	font: inherit;
	font-weight: 700;
	text-decoration: underline;
	text-underline-offset: 3px;
	cursor: pointer;
	min-height: 24px;
}

/* Datum & Uhrzeit */
.termin-dt-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-bottom: 16px; }
.termin-dt-toolbar:empty { display: none; }
.termin-booking .termin-next-slot-btn,
.termin-booking .termin-waitlist-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 10px 18px;
	border: 2px solid var(--termin-accent) !important;
	background: var(--termin-accent-light) !important;
	color: var(--termin-accent-ink) !important;
	border-radius: 999px !important;
	font: inherit;
	font-weight: 700;
	cursor: pointer;
	box-shadow: none !important;
}
.termin-booking .termin-next-slot-btn:hover,
.termin-booking .termin-waitlist-btn:hover { filter: brightness(.97); }
.termin-tz-note { margin: 0; font-size: .85rem; color: var(--termin-muted); }

.termin-dt-main { display: grid; gap: 20px; }
.termin-dt-calendar { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); align-items: start; }
@media (max-width: 720px) {
	.termin-dt-calendar { grid-template-columns: 1fr; }
}

.termin-cal { background: #fff; border: 1px solid var(--termin-border); border-radius: var(--termin-radius); padding: 14px; box-shadow: var(--termin-shadow); }
.termin-cal.is-loading .termin-cal-grid { opacity: .55; }
.termin-cal-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 10px; }
.termin-cal-title { margin: 0; font-size: 1rem; font-weight: 800; text-transform: capitalize; text-align: center; flex: 1; }
.termin-booking .termin-cal-nav {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 1px solid var(--termin-border) !important;
	background: #fff !important;
	color: var(--termin-text) !important;
	border-radius: 50% !important;
	font-size: 1.3rem;
	line-height: 1;
	cursor: pointer;
	padding: 0;
	box-shadow: none !important;
}
.termin-booking .termin-cal-nav:disabled { opacity: .35; cursor: not-allowed; }
.termin-cal-grid { width: 100%; border-collapse: separate; border-spacing: 3px; table-layout: fixed; margin: 0; border: 0; }
.termin-cal-grid th { font-size: .72rem; font-weight: 700; color: var(--termin-muted); text-align: center; padding: 4px 0; border: 0; background: none; }
.termin-cal-grid th abbr { text-decoration: none; border: 0; }
.termin-cal-grid td { padding: 0; text-align: center; border: 0; background: none; }
.termin-booking .termin-cal-day {
	position: relative;
	width: 100%;
	aspect-ratio: 1 / 1;
	max-height: 64px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 2px;
	padding: 0;
	border: 2px solid transparent !important;
	border-radius: 10px !important;
	background: transparent !important;
	color: var(--termin-muted) !important;
	font: inherit;
	font-size: .9rem;
	cursor: pointer;
	box-shadow: none !important;
}
.termin-booking .termin-cal-day.is-available {
	color: var(--termin-text) !important;
	font-weight: 800;
	background: var(--termin-accent-light) !important;
}
.termin-booking .termin-cal-day.is-available:hover { border-color: var(--termin-accent) !important; }
.termin-booking .termin-cal-day.is-unavailable .termin-cal-num { text-decoration: line-through; text-decoration-color: rgba(0,0,0,.25); }
.termin-booking .termin-cal-day.is-today { border-color: var(--termin-border) !important; }
.termin-booking .termin-cal-day.is-selected {
	background: var(--termin-accent) !important;
	border-color: var(--termin-accent) !important;
	color: var(--termin-on-accent) !important;
}
.termin-booking .termin-cal-day.is-selected .termin-cal-dot { background: var(--termin-on-accent); }
.termin-cal-dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--termin-accent); vertical-align: middle; }
.termin-cal-legend { font-size: .78rem; color: var(--termin-muted); margin: 10px 0 0; display: flex; align-items: center; gap: 6px; }
.termin-cal-empty { margin-top: 10px; font-size: .88rem; }
.termin-view-steps .termin-cal { width: 100%; }

.termin-times-title { margin: 0 0 12px; font-size: .95rem; font-weight: 800; }
.termin-times .termin-slots-wrap { grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); }
.termin-booking .termin-slot-btn { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; font-family: inherit; }
.termin-slot-cap { font-size: .7rem; font-weight: 600; color: var(--termin-muted); }

/* Wochenansicht */
.termin-week-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; }
@media (max-width: 720px) {
	.termin-week-grid { grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); }
	.termin-week-col.is-empty { display: none; }
}
.termin-week-col { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.termin-week-day { margin: 0; padding: 6px 4px; font-size: .78rem; font-weight: 800; text-align: center; border-bottom: 2px solid var(--termin-border); }
.termin-week-slots { display: flex; flex-direction: column; gap: 6px; }
.termin-booking .termin-week-slots .termin-slot-btn { padding: 8px 4px; font-size: .82rem; }
.termin-week-none { text-align: center; color: var(--termin-muted); margin: 6px 0; }

/* Liste „Nächste freie Termine“ */
.termin-list-day { margin-bottom: 16px; }
.termin-list-date { margin: 0 0 8px; font-size: .92rem; font-weight: 800; }
.termin-list-more { margin-top: 4px; }

/* Warteliste */
.termin-waitlist { margin-top: 16px; }
.termin-waitlist:empty { display: none; }
.termin-waitlist-form { margin-top: 14px; padding: 16px; border: 1px dashed var(--termin-accent-mid); border-radius: var(--termin-radius); background: #fff; }
.termin-waitlist-title { margin: 0 0 12px; font-size: .9rem; }

/* Formular */
.termin-form-group select {
	width: 100%;
	padding: 12px 16px;
	border: 2px solid var(--termin-border);
	border-radius: var(--termin-radius);
	font: inherit;
	background: #fff;
	color: var(--termin-text);
}
.termin-form-group input[aria-invalid="true"],
.termin-form-group textarea[aria-invalid="true"],
.termin-form-group select[aria-invalid="true"],
.termin-booking [aria-invalid="true"] { border-color: var(--termin-error) !important; border-width: 2px; }
.termin-field-error { color: #b91c1c; font-size: .84rem; font-weight: 600; margin: 6px 0 0; }
.termin-login-info,
.termin-login-optional { font-size: .88rem; margin: 0 0 14px; }
.termin-login-optional a { font-weight: 700; color: var(--termin-accent-ink); }
.termin-booking a.termin-login-btn { display: inline-flex; width: auto; text-decoration: none; }
.termin-pay-single,
.termin-deposit-info { font-size: .9rem; margin: 0 0 12px; }
.termin-captcha { margin: 6px 0 16px; min-height: 0; }
.termin-final:empty { display: none; }

/* Preis-Zusammenfassung */
.termin-price-summary {
	margin-top: 24px;
	padding: 16px 18px;
	border: 1px solid var(--termin-accent-mid);
	border-radius: var(--termin-radius);
	background: var(--termin-accent-light);
	color: var(--termin-text);
}
.termin-summary-title { margin: 0 0 10px; font-size: .8rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--termin-accent-ink); }
.termin-summary-list { margin: 0; display: grid; gap: 6px; }
.termin-summary-row { display: flex; justify-content: space-between; gap: 12px; font-size: .88rem; }
.termin-summary-row dt { color: var(--termin-muted); margin: 0; font-weight: 600; }
.termin-summary-row dd { margin: 0; text-align: right; font-weight: 600; }
.termin-summary-line dd { font-variant-numeric: tabular-nums; }
.termin-summary-total { border-top: 1px solid var(--termin-accent-mid); padding-top: 8px; margin-top: 4px; font-size: 1rem; }
.termin-summary-total dt, .termin-summary-total dd { color: var(--termin-text); font-weight: 800; }
.termin-summary-deposit { margin: 8px 0 0; font-size: .85rem; font-weight: 700; }

/* Ergebnis */
.termin-result .termin-doi-pending-title:focus { outline: none; }
.termin-result-icon { font-size: 1.4rem; line-height: 1; margin: auto; color: var(--termin-accent-ink); }
.termin-result .termin-doi-steps { list-style: none; padding: 0; }
.termin-result-recap { margin-top: 16px; }
.termin-result-recap th { text-align: left; font-weight: 600; color: var(--termin-muted); padding-right: 12px; }
.termin-result-actions { margin: 18px 0 6px; }
.termin-vk-table th { text-align: left; font-weight: 600; padding-right: 12px; }

/* Ladezustand */
.termin-booking.is-loading .termin-app { min-height: 120px; }

/* Bewegung reduzieren */
@media (prefers-reduced-motion: reduce) {
	.termin-booking *,
	.termin-booking *::before,
	.termin-booking *::after {
		animation-duration: .001ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: .001ms !important;
		scroll-behavior: auto !important;
	}
}

/* Hoher Kontrast / erzwungene Farben */
@media (forced-colors: active) {
	.termin-booking .termin-session-btn.termin-selected,
	.termin-booking .termin-slot-btn.termin-selected,
	.termin-booking .termin-cal-day.is-selected { outline: 3px solid Highlight; }
	.termin-cal-dot { background: CanvasText; forced-color-adjust: none; }
}

/* Skins für neue Elemente */
.termin-booking[data-skin="dark"] .termin-cal,
.termin-booking[data-skin="dark"] .termin-choice,
.termin-booking[data-skin="dark"] .termin-waitlist-form,
.termin-booking[data-skin="neon"] .termin-cal,
.termin-booking[data-skin="neon"] .termin-choice,
.termin-booking[data-skin="neon"] .termin-waitlist-form { background: #161b22 !important; border-color: #30363d !important; }
.termin-booking[data-skin="dark"] .termin-cal-nav,
.termin-booking[data-skin="neon"] .termin-cal-nav { background: #21262d !important; color: #e6edf3 !important; border-color: #30363d !important; }
.termin-booking[data-skin="dark"] .termin-cal-day.is-available,
.termin-booking[data-skin="neon"] .termin-cal-day.is-available { background: #21262d !important; color: #f5f5f4 !important; }
.termin-booking[data-skin="dark"] .termin-price-summary,
.termin-booking[data-skin="neon"] .termin-price-summary { background: #161b22; border-color: #30363d; color: #e6edf3; }
.termin-booking[data-skin="dark"] .termin-summary-total dt,
.termin-booking[data-skin="dark"] .termin-summary-total dd,
.termin-booking[data-skin="neon"] .termin-summary-total dt,
.termin-booking[data-skin="neon"] .termin-summary-total dd,
.termin-booking[data-skin="dark"] .termin-fieldset legend,
.termin-booking[data-skin="neon"] .termin-fieldset legend { color: #e6edf3; }
.termin-booking[data-skin="dark"] .termin-notice,
.termin-booking[data-skin="neon"] .termin-notice { background: #21262d; border-color: #30363d; color: #e6edf3; }
.termin-booking[data-skin="glass"] .termin-cal,
.termin-booking[data-skin="glass"] .termin-choice,
.termin-booking[data-skin="glass"] .termin-price-summary {
	background: rgba(255,255,255,.55) !important;
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
	border-color: rgba(255,255,255,.85) !important;
}

/* Embed (iframe): Seite ohne Theme */
body.termin-embed-body { margin: 0; padding: 16px; background: transparent; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; color: #1c1917; line-height: 1.5; }
body.termin-embed-body .termin-booking { margin-bottom: 0; }
.termin-share-main { padding: 32px 16px; }
