/* Fuss & Style Buchung – Aussehen wie das bisherige SimplyBook-Widget.
   Farben lassen sich im Theme über die Variablen auf .fsb überschreiben. */
.fsb:not(#fsb-x) {
	--fsb-brand: #d4967d;       /* Terracotta: Buttons, Schrittleiste, Preise */
	--fsb-brand-dark: #c4836a;  /* Hover */
	--fsb-blue: #d3e7fb;        /* verfügbare Zeiten / gewählter Tag */
	--fsb-blue-dark: #b9d8f7;
	--fsb-text: #222;
	--fsb-muted: #888;
	--fsb-line: #dcdcdc;
	--fsb-weekend: #c0645a;
	--fsb-error: #c62828;
	--fsb-shadow: 0 1px 4px rgba(0, 0, 0, .14), 0 3px 10px rgba(0, 0, 0, .06);

	position: relative;
	max-width: 1100px;
	margin: 0 auto;
	color: var(--fsb-text);
	font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	font-size: 15px;
	line-height: 1.45;
	text-align: left;
	background: #fff;
}
/* ---------- Schutz vor Theme-/Elementor-Stilen ----------
   Elementor setzt globale Stile auf alle Buttons, Labels und Titel (Farbe, Grossbuchstaben, Schrift).
   Innerhalb der Buchung wird alles zurückgesetzt; die Regeln unten haben bewusst hohe Spezifität. */
.fsb:not(#fsb-x) :where(button, input, select, textarea, label, h1, h2, h3, h4, h5, h6, p, span, a, dt, dd, dl, b, strong, em, i, small, li, ul, ol, div) {
	font-family: inherit; text-transform: none; letter-spacing: normal; text-shadow: none; word-spacing: normal;
}
.fsb:not(#fsb-x) :where(h1, h2, h3, h4, h5, h6) { font-size: inherit; font-weight: 600; line-height: 1.3; margin: 0; padding: 0; color: inherit; }
.fsb:not(#fsb-x) :where(label) { font-size: inherit; font-weight: inherit; line-height: inherit; color: inherit; margin: 0; padding: 0; }
.fsb:not(#fsb-x) :where(button, [type=button], [type=submit]) {
	background: none; background-image: none; border: 0; border-radius: 0; box-shadow: none; color: inherit;
	padding: 0; margin: 0; min-height: 0; min-width: 0; width: auto; height: auto;
	font-size: inherit; font-weight: inherit; line-height: 1.2; text-decoration: none; text-align: inherit; transition: none;
}
.fsb:not(#fsb-x) :where(button, [type=button], [type=submit]):where(:hover, :focus, :active) { background: none; color: inherit; box-shadow: none; border-color: transparent; }
.fsb:not(#fsb-x) :where(a, a:hover) { color: inherit; background: none; box-shadow: none; }
.fsb:not(#fsb-x) :where(input, textarea, select) { box-shadow: none; text-transform: none; letter-spacing: normal; }
.fsb:not(#fsb-x) :where(ul, ol) { margin: 0; }

.fsb:not(#fsb-x) *, .fsb:not(#fsb-x) *::before, .fsb:not(#fsb-x) *::after { box-sizing: border-box; }
.fsb:not(#fsb-x) button { font-family: inherit; color: inherit; cursor: pointer; margin: 0; letter-spacing: normal; text-transform: none; line-height: 1.2; }
.fsb:not(#fsb-x) button:disabled { cursor: default; }
.fsb:not(#fsb-x) img { display: block; max-width: 100%; }
.fsb:not(#fsb-x) p { margin: 0; }
.fsb:not(#fsb-x) :focus-visible { outline: 2px solid #4a90d9; outline-offset: 2px; }
.fsb:not(#fsb-x) .fsb-loading { padding: 80px 20px; text-align: center; color: var(--fsb-muted); }

/* ---------- Schrittleiste mit Pfeilen ---------- */
.fsb:not(#fsb-x) .fsb-steps { display: flex; list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--fsb-line); border-bottom: 1px solid var(--fsb-line); background: #fff; overflow: hidden; }
.fsb:not(#fsb-x) .fsb-steps li { position: relative; flex: 1 1 0; min-width: 0; margin: 0; padding: 0; outline: none; }
.fsb:not(#fsb-x) .fsb-steps li:nth-child(1) { z-index: 5; } .fsb:not(#fsb-x) .fsb-steps li:nth-child(2) { z-index: 4; } .fsb:not(#fsb-x) .fsb-steps li:nth-child(3) { z-index: 3; }
.fsb:not(#fsb-x) .fsb-steps li:nth-child(4) { z-index: 2; } .fsb:not(#fsb-x) .fsb-steps li:nth-child(5) { z-index: 1; }
.fsb:not(#fsb-x) .fsb-steps li > button, .fsb:not(#fsb-x) .fsb-steps .fsb-step-in {
	position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
	width: 100%; height: 88px; padding: 0 26px 0 36px; border: 0; background: transparent; text-align: center; color: var(--fsb-text);
}
.fsb:not(#fsb-x) .fsb-steps li:first-child > button, .fsb:not(#fsb-x) .fsb-steps li:first-child .fsb-step-in { padding-left: 16px; }
/* Terracotta-Pfeil für erledigte und aktuelle Schritte, Spitze ragt in den nächsten Schritt */
.fsb:not(#fsb-x) .fsb-steps li.is-done::before, .fsb:not(#fsb-x) .fsb-steps li.is-current::before {
	content: ""; position: absolute; top: 0; bottom: 0; left: 0; right: -20px; z-index: -1; background: var(--fsb-brand);
	clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 50%, calc(100% - 20px) 100%, 0 100%);
}
.fsb:not(#fsb-x) .fsb-steps li:last-child::before { right: 0 !important; clip-path: none !important; }
.fsb:not(#fsb-x) .fsb-steps li.is-done > button, .fsb:not(#fsb-x) .fsb-steps li.is-done .fsb-step-in, .fsb:not(#fsb-x) .fsb-steps li.is-current .fsb-step-in { color: #fff; }
/* Feine Pfeil-Linie als Trenner */
.fsb:not(#fsb-x) .fsb-steps li:not(:last-child)::after {
	content: ""; position: absolute; top: 50%; right: -2px; width: 34px; height: 34px; margin-top: -17px; z-index: 2; pointer-events: none;
	border-top: 1px solid #c9c9c9; border-right: 1px solid #c9c9c9; transform: rotate(45deg) scale(.72, .72) skew(-8deg, -8deg);
}
.fsb:not(#fsb-x) .fsb-steps li.is-done:not(:last-child)::after { border-color: rgba(120, 60, 40, .35); right: -20px; }
.fsb:not(#fsb-x) .fsb-steps li.is-current:not(:last-child)::after { display: none; }
.fsb:not(#fsb-x) .fsb-steps li.is-done > button:hover { opacity: .88; }
.fsb:not(#fsb-x) .fsb-step-l { font-size: 12px; }
.fsb:not(#fsb-x) .fsb-step-v { font-size: 13px; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---------- Zurück / Unsere Zeit ---------- */
.fsb:not(#fsb-x) .fsb-nav-empty { padding: 6px 0 0 !important; }
.fsb:not(#fsb-x) .fsb-nav { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 22px 12px 10px; }
.fsb:not(#fsb-x) .fsb-back { display: inline-flex; align-items: center; gap: 6px; padding: 18px 0 0; border: 0; background: none; font-size: 16px; color: var(--fsb-text); }
.fsb:not(#fsb-x) .fsb-back:hover { color: var(--fsb-brand); }
.fsb:not(#fsb-x) .fsb-clock { font-size: 15px; color: var(--fsb-text); margin-left: auto; }

.fsb:not(#fsb-x) .fsb-wrap { padding: 12px 10px 28px; }

/* ---------- Karten ---------- */
.fsb:not(#fsb-x) .fsb-cards { display: grid; gap: 20px; }
.fsb:not(#fsb-x) .fsb-card { background: #fff; box-shadow: var(--fsb-shadow); border-radius: 2px; }
.fsb:not(#fsb-x) .fsb-card-row { display: grid; grid-template-columns: 160px minmax(0, 1fr) auto; min-height: 150px; }
.fsb:not(#fsb-x) .fsb-card-img { background: #f3ece8; overflow: hidden; }
.fsb:not(#fsb-x) .fsb-card-img img { width: 100%; height: 100%; object-fit: cover; }
.fsb:not(#fsb-x) .fsb-card-body { display: flex; flex-direction: column; gap: 10px; padding: 22px 20px 18px; min-width: 0; }
.fsb:not(#fsb-x) .fsb-card-title { font-size: 16px; color: var(--fsb-text); }
.fsb:not(#fsb-x) .fsb-card-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 22px; margin-top: auto; font-size: 15px; }
.fsb:not(#fsb-x) .fsb-card-meta span, .fsb:not(#fsb-x) .fsb-side-meta span { display: inline-flex; align-items: center; gap: 6px; }
.fsb:not(#fsb-x) .fsb-card-meta svg, .fsb:not(#fsb-x) .fsb-side-meta svg { color: #555; flex: none; }
.fsb:not(#fsb-x) .fsb-meta-price b { color: var(--fsb-brand); font-weight: 700; }
.fsb:not(#fsb-x) .fsb-card-note { font-size: 13px; color: var(--fsb-muted); }
.fsb:not(#fsb-x) .fsb-card-btns { display: flex; flex-direction: column; justify-content: center; gap: 8px; padding: 20px 24px 20px 0; }
.fsb:not(#fsb-x) .fsb-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 6px;
	min-width: 160px; height: 36px; padding: 0 18px; border: 0; border-radius: 3px; text-decoration: none;
	background: var(--fsb-brand); color: #fff; font-size: 15px; font-weight: 700;
	transition: background .15s;
}
.fsb:not(#fsb-x) .fsb-btn:hover { background: var(--fsb-brand-dark); color: #fff; }
.fsb:not(#fsb-x) .fsb-btn:disabled { opacity: .55; }
.fsb:not(#fsb-x) .fsb-btn[aria-expanded="true"] svg { transform: rotate(180deg); }
.fsb:not(#fsb-x) .fsb-btn-lg { min-width: 180px; height: 42px; }
.fsb:not(#fsb-x) .fsb-card-desc { padding: 16px 24px 18px 180px; border-top: 1px solid #ddd; font-size: 14px; color: #333; line-height: 1.6; }
.fsb:not(#fsb-x) .fsb-card-desc.has-img { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 0 60px; padding: 20px 26px 34px 20px; }
.fsb:not(#fsb-x) .fsb-card-desc-img { width: 300px; height: 300px; object-fit: cover; }
.fsb:not(#fsb-x) .fsb-card-desc-text { padding-top: 6px; }
.fsb:not(#fsb-x) .fsb-card-desc p + p, .fsb:not(#fsb-x) .fsb-card-desc ul, .fsb:not(#fsb-x) .fsb-card-desc ol { margin-top: 8px; }
.fsb:not(#fsb-x) .fsb-card-desc ul, .fsb:not(#fsb-x) .fsb-card-desc ol { padding-left: 20px; }
.fsb:not(#fsb-x) .fsb-card-desc h4 { margin: 8px 0 4px; font-size: 15px; }
.fsb:not(#fsb-x) .fsb-card-desc a { color: var(--fsb-brand); }

/* Extra-Checkbox «Dieses Extra dazu buchen!» */
.fsb:not(#fsb-x) .fsb-extra-check, .fsb:not(#fsb-x) .fsb-consent { position: relative; display: inline-flex; align-items: flex-start; gap: 10px; margin: 0; cursor: pointer; }
.fsb:not(#fsb-x) .fsb-extra-check { align-items: center; font-size: 15px; }
.fsb:not(#fsb-x) .fsb-extra-check input, .fsb:not(#fsb-x) .fsb-consent input { position: absolute; left: 0; top: 0; width: 18px; height: 18px; margin: 0; opacity: 0; }
.fsb:not(#fsb-x) .fsb-box { display: grid; place-items: center; flex: none; width: 18px; height: 18px; border: 1px solid #c4c4c4; border-radius: 2px; background: #fff; color: #fff; }
.fsb:not(#fsb-x) .fsb-box svg { opacity: 0; }
.fsb:not(#fsb-x) .fsb-extra-check input:checked + .fsb-box, .fsb:not(#fsb-x) .fsb-consent input:checked + .fsb-box { background: var(--fsb-brand); border-color: var(--fsb-brand); }
.fsb:not(#fsb-x) .fsb-extra-check input:checked + .fsb-box svg, .fsb:not(#fsb-x) .fsb-consent input:checked + .fsb-box svg { opacity: 1; }
.fsb:not(#fsb-x) .fsb-extra-check input:focus-visible + .fsb-box, .fsb:not(#fsb-x) .fsb-consent input:focus-visible + .fsb-box { outline: 2px solid #4a90d9; outline-offset: 2px; }
.fsb:not(#fsb-x) .fsb-card.is-on { box-shadow: 0 0 0 2px var(--fsb-brand), var(--fsb-shadow); }

/* ---------- Seitenleiste + Inhalt (Extras, Termin) ---------- */
.fsb:not(#fsb-x) .fsb-split { display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: 0 18px; align-items: start; }
.fsb:not(#fsb-x) .fsb-side { display: grid; gap: 20px; }
.fsb:not(#fsb-x) .fsb-side-card { background: #fff; box-shadow: var(--fsb-shadow); padding: 16px 18px; }
.fsb:not(#fsb-x) .fsb-side-title { font-size: 15px; font-weight: 700; margin-bottom: 10px; }
.fsb:not(#fsb-x) .fsb-side-row { display: flex; align-items: center; gap: 14px; }
.fsb:not(#fsb-x) .fsb-side-img { width: 60px; height: 60px; border-radius: 50%; object-fit: cover; flex: none; background: #f3ece8; }
.fsb:not(#fsb-x) .fsb-side-meta { display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.fsb:not(#fsb-x) .fsb-staff-icon { display: block; color: var(--fsb-brand); }
.fsb:not(#fsb-x) .fsb-side-addons { display: grid; gap: 6px; margin-top: 14px; padding-top: 12px; border-top: 1px solid #eee; }
.fsb:not(#fsb-x) .fsb-side-add { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 10px; align-items: baseline; font-size: 12px; white-space: nowrap; }
.fsb:not(#fsb-x) .fsb-side-add-n { overflow: hidden; text-overflow: ellipsis; }
.fsb:not(#fsb-x) .fsb-side-add .fsb-meta-price b { font-weight: 700; }
.fsb:not(#fsb-x) .fsb-panel { background: #fff; padding: 0 0 0 4px; min-width: 0; }
.fsb:not(#fsb-x) .fsb-split > .fsb-panel { box-shadow: -1px 0 0 #eee; padding: 18px 0 0 22px; }
.fsb:not(#fsb-x) .fsb-panel-title { margin: 6px 0 20px; font-size: 18px; font-weight: 600; }
.fsb:not(#fsb-x) .fsb-totalbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 12px 28px; margin-top: 24px; padding: 18px 24px; background: #eee; font-size: 15px; }
.fsb:not(#fsb-x) .fsb-totalbar .fsb-btn { min-width: 82px; height: 44px; }

/* ---------- Kalender (6 Wochen) ---------- */
.fsb:not(#fsb-x) .fsb-cal { background: #fff; box-shadow: var(--fsb-shadow); padding: 18px 22px 22px; margin-bottom: 20px; }
.fsb:not(#fsb-x) .fsb-cal.is-loading .fsb-cal-grid { opacity: .5; }
.fsb:not(#fsb-x) .fsb-cal-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 26px; }
.fsb:not(#fsb-x) .fsb-cal-nav { display: inline-flex; align-items: center; gap: 6px; padding: 4px 0; border: 0; background: none; font-size: 15px; color: var(--fsb-brand); }
.fsb:not(#fsb-x) .fsb-cal-nav:disabled { opacity: .45; }
.fsb:not(#fsb-x) .fsb-cal-title { font-weight: 700; font-size: 15px; }
.fsb:not(#fsb-x) .fsb-cal-grid { display: grid; grid-template-columns: repeat(21, minmax(0, 1fr)); gap: 0 8px; text-align: center; }
.fsb:not(#fsb-x) .fsb-wd { font-size: 14px; font-weight: 700; padding-bottom: 10px; margin-bottom: 14px; border-bottom: 1px solid #999; }
.fsb:not(#fsb-x) .fsb-wd.is-weekend { color: var(--fsb-weekend); }
.fsb:not(#fsb-x) .fsb-day { display: grid; place-items: center; height: 40px; margin: 0 auto 6px; width: 40px; font-size: 15px; color: #c0c0c0; border: 0; background: none; padding: 0; border-radius: 2px; }
.fsb:not(#fsb-x) .fsb-day.is-other { color: #d4d4d4; }
.fsb:not(#fsb-x) .fsb-day.is-today { font-weight: 700; color: #999; }
.fsb:not(#fsb-x) .fsb-day.is-free { color: var(--fsb-text); }
.fsb:not(#fsb-x) .fsb-day.is-free:hover { background: var(--fsb-blue); }
.fsb:not(#fsb-x) .fsb-day.is-on, .fsb:not(#fsb-x) .fsb-day.is-on:hover { background: var(--fsb-blue); color: var(--fsb-text); }

/* ---------- Startzeiten ---------- */
.fsb:not(#fsb-x) .fsb-split-termin > .fsb-panel { box-shadow: none; padding: 0 0 0 22px; }
.fsb:not(#fsb-x) .fsb-times-title { margin: 14px 0 14px; font-size: 22px; font-weight: 600; }
.fsb:not(#fsb-x) .fsb-slots { display: flex; flex-wrap: wrap; gap: 10px; }
.fsb:not(#fsb-x) .fsb-slot { display: grid; place-items: center; text-align: center; width: 110px; height: 46px; padding: 0; border: 0; border-radius: 2px; background: var(--fsb-blue); color: var(--fsb-text); font-size: 15px; transition: background .15s; }
.fsb:not(#fsb-x) .fsb-slot:hover, .fsb:not(#fsb-x) .fsb-slot:focus-visible, .fsb:not(#fsb-x) .fsb-slot.is-on { background: var(--fsb-brand); color: #fff; }
.fsb:not(#fsb-x) .fsb-legend { display: flex; align-items: center; justify-content: flex-end; gap: 6px; margin-top: 22px !important; font-size: 15px; }
.fsb:not(#fsb-x) .fsb-dot { width: 14px; height: 14px; border-radius: 50%; background: var(--fsb-blue); }
.fsb:not(#fsb-x) .fsb-hint { margin-top: 18px !important; font-size: 14px; color: #666; }

/* ---------- Kontakt ---------- */
.fsb:not(#fsb-x) .fsb-kontakt-title { margin: 10px 0 24px; font-size: 18px; font-weight: 600; text-align: center; }
.fsb:not(#fsb-x) .fsb-form { margin: 0; }
.fsb:not(#fsb-x) .fsb-kontakt { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); background: #fff; box-shadow: var(--fsb-shadow); padding: 28px 0; }
.fsb:not(#fsb-x) .fsb-kontakt-left { padding: 0 40px 0 20px; display: grid; gap: 18px; align-content: start; }
.fsb:not(#fsb-x) .fsb-kontakt-right { padding: 0 30px 0 40px; border-left: 1px solid #e5e5e5; display: grid; gap: 14px; align-content: start; }
.fsb:not(#fsb-x) .fsb-frow { display: grid; grid-template-columns: 160px minmax(0, 1fr); align-items: center; gap: 8px; margin: 0; }
.fsb:not(#fsb-x) .fsb-frow-top { margin-top: 18px; }
.fsb:not(#fsb-x) .fsb-flabel { font-size: 15px; font-weight: 700; }
.fsb:not(#fsb-x) .fsb-flabel i, .fsb:not(#fsb-x) .fsb-consent i { color: var(--fsb-error); font-style: normal; margin-left: 2px; }
.fsb:not(#fsb-x) .fsb-form input[type=text], .fsb:not(#fsb-x) .fsb-form input[type=email], .fsb:not(#fsb-x) .fsb-form input[type=tel], .fsb:not(#fsb-x) .fsb-form textarea {
	width: 100%; height: 38px; margin: 0; padding: 6px 12px; font: inherit; font-size: 15px; color: var(--fsb-text);
	background: #fff; border: 1px solid #ccc; border-radius: 0; box-shadow: none; outline: none;
}
.fsb:not(#fsb-x) .fsb-form textarea { height: auto; min-height: 150px; padding: 12px; resize: vertical; }
.fsb:not(#fsb-x) .fsb-form input::placeholder, .fsb:not(#fsb-x) .fsb-form textarea::placeholder { color: #aaa; }
.fsb:not(#fsb-x) .fsb-form input:focus, .fsb:not(#fsb-x) .fsb-form textarea:focus { border-color: var(--fsb-brand); }
.fsb:not(#fsb-x) .is-invalid input, .fsb:not(#fsb-x) input.is-invalid { border-color: var(--fsb-error) !important; }
.fsb:not(#fsb-x) .is-invalid .fsb-flabel { color: var(--fsb-error); }
.fsb:not(#fsb-x) .fsb-phone { display: flex; }
.fsb:not(#fsb-x) .fsb-cc { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 4px; flex: none; width: 52px; height: 38px; background: var(--fsb-brand); color: #fff; font-size: 12px; }
.fsb:not(#fsb-x) .fsb-cc select { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.fsb:not(#fsb-x) .fsb-phone input { flex: 1; border-left: 0 !important; }
.fsb:not(#fsb-x) .fsb-zipcity { display: grid; grid-template-columns: 90px 1fr; gap: 8px; }

.fsb:not(#fsb-x) .fsb-sum-title { font-size: 18px; font-weight: 600; margin-bottom: 4px; }
.fsb:not(#fsb-x) .fsb-sum { display: grid; grid-template-columns: 170px 1fr; gap: 8px 12px; margin: 0; font-size: 15px; }
.fsb:not(#fsb-x) .fsb-sum dt { margin: 0; }
.fsb:not(#fsb-x) .fsb-sum dd { margin: 0; font-weight: 700; }
.fsb:not(#fsb-x) .fsb-details { border: 1px solid #ddd; margin-top: 10px; }
.fsb:not(#fsb-x) .fsb-details > button { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 16px 20px; border: 0; background: #fff; color: var(--fsb-brand); font-size: 15px; text-align: left; }
.fsb:not(#fsb-x) .fsb-details.is-open > button svg { transform: rotate(180deg); }
.fsb:not(#fsb-x) .fsb-details-body { padding: 0 20px 16px; display: grid; gap: 6px; }
.fsb:not(#fsb-x) .fsb-line { display: flex; justify-content: space-between; gap: 14px; font-size: 14px; }
.fsb:not(#fsb-x) .fsb-line span:last-child { white-space: nowrap; }
.fsb:not(#fsb-x) .fsb-line.is-muted { color: #777; }
.fsb:not(#fsb-x) .fsb-line.is-total { margin-top: 6px; padding-top: 8px; border-top: 1px solid #ddd; font-weight: 700; font-size: 15px; }
.fsb:not(#fsb-x) .fsb-voucher { display: grid; gap: 8px; margin-top: 6px; }
.fsb:not(#fsb-x) .fsb-voucher-row { display: flex; gap: 8px; }
.fsb:not(#fsb-x) .fsb-voucher-row input { flex: 1; }
.fsb:not(#fsb-x) .fsb-voucher-row input:not(:placeholder-shown) { text-transform: uppercase; }
.fsb:not(#fsb-x) .fsb-voucher-row .fsb-btn { min-width: 100px; height: 38px; }
.fsb:not(#fsb-x) .fsb-voucher-err { color: var(--fsb-error); font-size: 13px; }
.fsb:not(#fsb-x) .fsb-voucher.is-ok { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 14px; background: #f3f9f1; border: 1px solid #cfe5c8; font-size: 14px; }
.fsb:not(#fsb-x) .fsb-voucher.is-ok small { color: #666; }
.fsb:not(#fsb-x) .fsb-subline { display: flex; justify-content: space-between; font-size: 14px; margin-top: 4px; }
.fsb:not(#fsb-x) .fsb-subline.is-voucher { color: #2e7d32; }
.fsb:not(#fsb-x) .fsb-grand { display: flex; justify-content: flex-end; align-items: baseline; gap: 10px; margin-top: 14px; font-size: 16px; font-weight: 700; }
.fsb:not(#fsb-x) .fsb-grand b { font-size: 17px; }
.fsb:not(#fsb-x) .fsb-consent { font-size: 13px; font-weight: 700; }
.fsb:not(#fsb-x) .fsb-consent-req { margin-top: 10px; }
.fsb:not(#fsb-x) .fsb-link { display: inline; padding: 0; border: 0; background: none; color: var(--fsb-brand); font-size: inherit; font-weight: 700; text-align: left; }
.fsb:not(#fsb-x) .fsb-link:hover { text-decoration: underline; }
.fsb:not(#fsb-x) .fsb-policy { margin-left: 28px; padding: 10px 12px; font-size: 13px; color: #555; background: #f7f7f7; border-left: 3px solid var(--fsb-brand); }
.fsb:not(#fsb-x) .fsb-center { display: flex; justify-content: center; margin-top: 14px; }
.fsb:not(#fsb-x) .fsb-center-text { text-align: center; margin-top: 12px !important; }
.fsb:not(#fsb-x) .fsb-small { font-size: 13px; color: #777; }
.fsb:not(#fsb-x) .fsb-small a { color: inherit; }
.fsb:not(#fsb-x) .fsb-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* Übersicht vor dem Buchen */
.fsb:not(#fsb-x) .fsb-review { display: grid; grid-template-columns: 1fr 1fr; background: #fff; box-shadow: var(--fsb-shadow); padding: 28px 0; margin-bottom: 8px; }
.fsb:not(#fsb-x) .fsb-review-col { padding: 0 34px; display: grid; gap: 12px; align-content: start; }
.fsb:not(#fsb-x) .fsb-review-col + .fsb-review-col { border-left: 1px solid #e5e5e5; }
.fsb:not(#fsb-x) .fsb-review-col .fsb-sum { grid-template-columns: 120px 1fr; }
.fsb:not(#fsb-x) .fsb-review-lines { display: grid; gap: 6px; margin-top: 6px; padding-top: 12px; border-top: 1px solid #eee; }
.fsb:not(#fsb-x) .fsb-edit { justify-self: start; margin-top: 6px; }

/* ---------- Meldungen, Abschluss ---------- */
.fsb:not(#fsb-x) .fsb-muted { color: #777; }
.fsb:not(#fsb-x) .fsb-error { margin-top: 10px !important; padding: 10px 14px; background: #fdecea; color: var(--fsb-error); font-size: 14px; }
.fsb:not(#fsb-x) .fsb-notice { padding: 12px 16px; background: #f7f7f7; }
.fsb:not(#fsb-x) .fsb-cancel-card { max-width: 620px; margin: 30px auto; padding: 30px 24px; text-align: center; box-shadow: var(--fsb-shadow); }
.fsb:not(#fsb-x) .fsb-cancel-card .fsb-summary { display: grid; grid-template-columns: max-content 1fr; gap: 6px 16px; max-width: 420px; margin: 0 auto 16px; text-align: left; }
.fsb:not(#fsb-x) .fsb-cancel-card .fsb-summary dt { margin: 0; }
.fsb:not(#fsb-x) .fsb-cancel-card .fsb-summary dd { margin: 0; font-weight: 700; }
.fsb:not(#fsb-x) .fsb-cancel-card h3 { margin: 0 0 14px; }
.fsb:not(#fsb-x) .fsb-cancel-card .fsb-btn, .fsb:not(#fsb-x) .fsb-cancel .fsb-btn { margin-top: 8px; }

/* ---------- Tablet & Handy ---------- */
@media (max-width: 900px) {
	.fsb:not(#fsb-x) .fsb-split { grid-template-columns: 1fr; gap: 16px; }
	.fsb:not(#fsb-x) .fsb-card-desc.has-img { grid-template-columns: 220px minmax(0, 1fr); gap: 0 28px; }
	.fsb:not(#fsb-x) .fsb-card-desc-img { width: 220px; height: 220px; }
	.fsb:not(#fsb-x) .fsb-split > .fsb-panel, .fsb:not(#fsb-x) .fsb-split-termin > .fsb-panel { box-shadow: none; padding: 0; }
	.fsb:not(#fsb-x) .fsb-side { grid-template-columns: 1fr 1fr; gap: 12px; }
	.fsb:not(#fsb-x) .fsb-kontakt, .fsb:not(#fsb-x) .fsb-review { grid-template-columns: 1fr; gap: 24px; }
	.fsb:not(#fsb-x) .fsb-kontakt-right, .fsb:not(#fsb-x) .fsb-review-col + .fsb-review-col { border-left: 0; border-top: 1px solid #e5e5e5; padding-top: 22px; }
	.fsb:not(#fsb-x) .fsb-kontakt-left { padding: 0 20px; }
	.fsb:not(#fsb-x) .fsb-kontakt-right { padding-left: 20px; padding-right: 20px; }
	.fsb:not(#fsb-x) .fsb-review-col { padding: 0 20px; }
	.fsb:not(#fsb-x) .fsb-cal-grid { grid-template-columns: repeat(7, minmax(0, 1fr)); }
	.fsb:not(#fsb-x) .fsb-wd.is-wide { display: none; }
}
@media (max-width: 640px) {
	.fsb:not(#fsb-x) .fsb-card-desc.has-img { grid-template-columns: 1fr; gap: 14px; padding: 14px; }
	.fsb:not(#fsb-x) .fsb-card-desc-img { width: 100%; height: auto; aspect-ratio: 1; }
	.fsb:not(#fsb-x) .fsb-steps { overflow-x: auto; scrollbar-width: none; }
	.fsb:not(#fsb-x) .fsb-steps::-webkit-scrollbar { display: none; }
	.fsb:not(#fsb-x) .fsb-steps li { flex: 0 0 auto; min-width: 104px; }
	.fsb:not(#fsb-x) .fsb-steps li.is-current { min-width: 132px; }
	.fsb:not(#fsb-x) .fsb-steps li > button, .fsb:not(#fsb-x) .fsb-steps .fsb-step-in { height: 64px; padding: 0 22px 0 26px; }
	.fsb:not(#fsb-x) .fsb-step-v { font-size: 12px; max-width: 110px; }
	.fsb:not(#fsb-x) .fsb-nav { padding: 12px 6px 6px; }
	.fsb:not(#fsb-x) .fsb-back { padding-top: 10px; }
	.fsb:not(#fsb-x) .fsb-clock { font-size: 13px; }
	.fsb:not(#fsb-x) .fsb-wrap { padding: 8px 6px 22px; }
	.fsb:not(#fsb-x) .fsb-cards { gap: 14px; }
	.fsb:not(#fsb-x) .fsb-card-row { grid-template-columns: 110px minmax(0, 1fr); min-height: 0; }
	.fsb:not(#fsb-x) .fsb-card-img { grid-row: span 2; min-height: 130px; }
	.fsb:not(#fsb-x) .fsb-card-body { padding: 14px 14px 6px; gap: 6px; }
	.fsb:not(#fsb-x) .fsb-card-meta { gap: 4px 14px; font-size: 14px; }
	.fsb:not(#fsb-x) .fsb-card-btns { flex-direction: row; flex-wrap: wrap; padding: 6px 14px 14px; }
	.fsb:not(#fsb-x) .fsb-btn { min-width: 0; flex: 1; height: 36px; padding: 0 12px; font-size: 14px; }
	.fsb:not(#fsb-x) .fsb-card-desc { padding: 14px; }
	.fsb:not(#fsb-x) .fsb-side { grid-template-columns: 1fr; }
	.fsb:not(#fsb-x) .fsb-staff { display: none; }
	.fsb:not(#fsb-x) .fsb-totalbar { justify-content: space-between; padding: 14px; gap: 8px 16px; }
	.fsb:not(#fsb-x) .fsb-totalbar .fsb-btn { flex: 0 0 auto; min-width: 90px; }
	.fsb:not(#fsb-x) .fsb-cal { padding: 14px 10px 16px; }
	.fsb:not(#fsb-x) .fsb-cal-head { margin-bottom: 14px; }
	.fsb:not(#fsb-x) .fsb-cal-nav { font-size: 13px; }
	.fsb:not(#fsb-x) .fsb-cal-grid { gap: 0 2px; }
	.fsb:not(#fsb-x) .fsb-day { width: 38px; height: 38px; }
	.fsb:not(#fsb-x) .fsb-times-title { font-size: 19px; }
	.fsb:not(#fsb-x) .fsb-slots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
	.fsb:not(#fsb-x) .fsb-slot { width: auto; }
	.fsb:not(#fsb-x) .fsb-frow { grid-template-columns: 1fr; gap: 6px; }
	.fsb:not(#fsb-x) .fsb-sum { grid-template-columns: 110px 1fr; }
	.fsb:not(#fsb-x) .fsb-kontakt { padding: 20px 0; }
	.fsb:not(#fsb-x) .fsb-btn-lg { flex: 0 0 auto; min-width: 220px; height: 44px; }
}

/* ---------- Buchungsfenster (Popup) ---------- */
html.fsb-lock, html.fsb-lock body { overflow: hidden !important; }
#fsb-modal { position: fixed; inset: 0; z-index: 2147483000; display: flex; align-items: center; justify-content: center; padding: 20px; }
#fsb-modal[hidden] { display: none; }
#fsb-modal .fsb-modal-backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, .55); opacity: 0; transition: opacity .2s ease; }
#fsb-modal .fsb-modal-dialog {
	position: relative; display: flex; flex-direction: column;
	width: 100%; max-width: 1140px; height: calc(100vh - 40px); height: calc(100dvh - 40px);
	background: #fff; box-shadow: 0 10px 40px rgba(0, 0, 0, .3); overflow: hidden;
	opacity: 0; transform: translateY(14px); transition: opacity .2s ease, transform .2s ease;
}
#fsb-modal.is-open .fsb-modal-backdrop { opacity: 1; }
#fsb-modal.is-open .fsb-modal-dialog { opacity: 1; transform: none; }
#fsb-modal .fsb-modal-close {
	display: grid; place-items: center; flex: none; align-self: flex-end;
	width: 64px; height: 60px; padding: 0; margin: 0; border: 0; border-radius: 0; box-shadow: none; background: #fff; color: #444; cursor: pointer; min-width: 0; min-height: 0;
}
#fsb-modal .fsb-modal-close svg { width: 30px; height: 30px; stroke-width: 3; }
#fsb-modal .fsb-modal-close:hover, #fsb-modal .fsb-modal-close:focus, #fsb-modal .fsb-modal-close:active { color: #000; background: #fff; box-shadow: none; border: 0; }
#fsb-modal .fsb-modal-close:focus-visible { outline: 2px solid #4a90d9; outline-offset: -4px; }
#fsb-modal .fsb-modal-scroll { flex: 1; overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; }
#fsb-modal .fsb-modal-host { max-width: none; }
@media (max-width: 640px) {
	#fsb-modal { padding: 0; }
	#fsb-modal .fsb-modal-dialog { height: 100%; }
	#fsb-modal .fsb-modal-close { height: 52px; width: 56px; }
}
@media (prefers-reduced-motion: reduce) {
	#fsb-modal .fsb-modal-backdrop, #fsb-modal .fsb-modal-dialog { transition: none; }
}

/* ---------- Harte Absicherung gegen Theme-Regeln mit !important ----------
   Das Theme setzt Hintergrund und Füllfarbe für Buttons, Links und Icons mit !important.
   Hier werden nur diese Eigenschaften für die Bedienelemente der Buchung festgelegt. */
.fsb:not(#fsb-x) :where(button, [type=button], [type=submit], a),
.fsb:not(#fsb-x) :where(button, [type=button], [type=submit], a):where(:hover, :focus, :active, :visited) {
	background-color: transparent !important; background-image: none !important; box-shadow: none !important;
	text-transform: none !important; letter-spacing: normal !important;
}
.fsb:not(#fsb-x) :where(button, [type=button], [type=submit]) { color: inherit !important; border-color: transparent !important; }

/* Icons: nur Linien, keine Füllung (ausser Flagge und Dreieck) */
.fsb:not(#fsb-x) svg:not(.fsb-fill), .fsb:not(#fsb-x) svg:not(.fsb-fill) * { fill: none !important; }
.fsb:not(#fsb-x) svg:not(.fsb-fill) * { stroke: currentColor !important; }
.fsb:not(#fsb-x) svg.fsb-fill path { fill: currentColor !important; stroke: none !important; }
.fsb:not(#fsb-x) svg.fsb-flag rect { fill: #d52b1e !important; stroke: none !important; }
.fsb:not(#fsb-x) svg.fsb-flag path { fill: #fff !important; stroke: none !important; }

/* Terracotta-Buttons */
.fsb:not(#fsb-x) .fsb-btn { background-color: var(--fsb-brand) !important; color: #fff !important; }
.fsb:not(#fsb-x) .fsb-btn:hover, .fsb:not(#fsb-x) .fsb-btn:focus-visible { background-color: var(--fsb-brand-dark) !important; color: #fff !important; }
.fsb:not(#fsb-x) .fsb-btn:disabled { background-color: var(--fsb-brand) !important; opacity: .55; }

/* Schrittleiste: Hintergrund kommt vom Pfeil dahinter */
.fsb:not(#fsb-x) .fsb-steps li > button { background-color: transparent !important; color: #fff !important; }

/* Textlinks */
.fsb:not(#fsb-x) .fsb-back { color: var(--fsb-text) !important; }
.fsb:not(#fsb-x) .fsb-back:hover { color: var(--fsb-brand) !important; }
.fsb:not(#fsb-x) .fsb-cal-nav, .fsb:not(#fsb-x) .fsb-link, .fsb:not(#fsb-x) .fsb-details > button { color: var(--fsb-brand) !important; }
.fsb:not(#fsb-x) .fsb-details > button { background-color: #fff !important; }
.fsb:not(#fsb-x) .fsb-small a, .fsb:not(#fsb-x) .fsb-card-desc a { color: inherit !important; }
.fsb:not(#fsb-x) .fsb-card-desc a { color: var(--fsb-brand) !important; }

/* Kalender */
.fsb:not(#fsb-x) .fsb-day { background-color: transparent !important; }
.fsb:not(#fsb-x) .fsb-day.is-free { color: var(--fsb-text) !important; }
.fsb:not(#fsb-x) .fsb-day.is-free:hover, .fsb:not(#fsb-x) .fsb-day.is-on, .fsb:not(#fsb-x) .fsb-day.is-on:hover { background-color: var(--fsb-blue) !important; color: var(--fsb-text) !important; }

/* Startzeiten */
.fsb:not(#fsb-x) .fsb-slot { background-color: var(--fsb-blue) !important; color: var(--fsb-text) !important; }
.fsb:not(#fsb-x) .fsb-slot:hover, .fsb:not(#fsb-x) .fsb-slot:focus-visible, .fsb:not(#fsb-x) .fsb-slot.is-on { background-color: var(--fsb-brand) !important; color: #fff !important; }

/* Schliessen-Kreuz */
#fsb-modal .fsb-modal-close, #fsb-modal .fsb-modal-close:hover, #fsb-modal .fsb-modal-close:focus, #fsb-modal .fsb-modal-close:active {
	background-color: #fff !important; background-image: none !important; box-shadow: none !important; border: 0 !important;
}
#fsb-modal .fsb-modal-close { color: #444 !important; }
#fsb-modal .fsb-modal-close:hover { color: #000 !important; }
#fsb-modal .fsb-modal-close svg, #fsb-modal .fsb-modal-close svg * { fill: none !important; stroke: currentColor !important; }

/* ---------- Farbflächen des Themes über Buttons entfernen ----------
   Das Theme legt für einen Hover-Effekt eine Farbfläche (::before/::after) über jeden Button und Link.
   Im Buchungsfenster werden diese Flächen ausgeschaltet. */
.fsb:not(#fsb-x) button::before, .fsb:not(#fsb-x) button::after,
.fsb:not(#fsb-x) a::before, .fsb:not(#fsb-x) a::after,
.fsb:not(#fsb-x) [type=button]::before, .fsb:not(#fsb-x) [type=button]::after,
.fsb:not(#fsb-x) [type=submit]::before, .fsb:not(#fsb-x) [type=submit]::after,
.fsb:not(#fsb-x) button *::before, .fsb:not(#fsb-x) button *::after,
#fsb-modal .fsb-modal-close::before, #fsb-modal .fsb-modal-close::after {
	content: none !important; display: none !important; background: none !important; opacity: 0 !important; transform: none !important;
}
.fsb:not(#fsb-x) button, .fsb:not(#fsb-x) a, #fsb-modal .fsb-modal-close { overflow: visible; isolation: auto; }

/* Extras: Button «Dazubuchen» / «Dazugebucht» */
.fsb:not(#fsb-x) .fsb-btn.is-added { background-color: #fff !important; color: var(--fsb-brand) !important; box-shadow: inset 0 0 0 2px var(--fsb-brand) !important; }
.fsb:not(#fsb-x) .fsb-btn.is-added:hover { background-color: #fbf1ec !important; color: var(--fsb-brand-dark) !important; }
.fsb:not(#fsb-x) .fsb-btn.is-added svg { width: 15px; height: 15px; }

/* «Nur auf Anfrage» */
.fsb:not(#fsb-x) .fsb-request { margin-top: 14px; padding: 14px 16px; background: #f7f3f1; }
.fsb:not(#fsb-x) .fsb-request-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }
.fsb:not(#fsb-x) .fsb-request-links .fsb-btn { color: #fff !important; }
.fsb:not(#fsb-x) .fsb-btn.fsb-btn-light { background-color: #fff !important; color: var(--fsb-brand) !important; box-shadow: inset 0 0 0 2px var(--fsb-brand) !important; }

/* Seitenkarte links scrollt mit (nur breite Ansicht) */
@media (min-width: 901px) {
	.fsb:not(#fsb-x) .fsb-side { position: sticky; top: 16px; align-self: start; z-index: 2; }
}

/* ---------- Bestätigung am Schluss ---------- */
.fsb:not(#fsb-x) .fsb-done { max-width: 560px; margin: 26px auto 10px; padding: 36px 36px 30px; background: #fff; box-shadow: var(--fsb-shadow); text-align: center; }
.fsb:not(#fsb-x) .fsb-done-logo { display: block; width: 220px; max-width: 70%; height: auto; margin: 0 auto 26px; }
.fsb:not(#fsb-x) .fsb-done-icon { display: grid; place-items: center; width: 56px; height: 56px; margin: 0 auto 12px; border-radius: 50%; background: var(--fsb-brand); color: #fff; }
.fsb:not(#fsb-x) .fsb-done-title { margin: 0 0 22px; font-size: 19px; font-weight: 600; line-height: 1.35; }
.fsb:not(#fsb-x) .fsb-done-box { text-align: left; border: 1px solid #ece6e2; background: #fcfaf9; padding: 20px 22px; }
.fsb:not(#fsb-x) .fsb-done-when { display: flex; flex-direction: column; gap: 2px; }
.fsb:not(#fsb-x) .fsb-done-date { font-size: 18px; font-weight: 700; line-height: 1.3; }
.fsb:not(#fsb-x) .fsb-done-time { font-size: 16px; color: var(--fsb-brand); font-weight: 600; }
.fsb:not(#fsb-x) .fsb-done-meta, .fsb:not(#fsb-x) .fsb-done-where { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 20px; margin-top: 12px; font-size: 14px; color: #555; }
.fsb:not(#fsb-x) .fsb-done-meta span, .fsb:not(#fsb-x) .fsb-done-where { display: inline-flex; align-items: flex-start; gap: 7px; }
.fsb:not(#fsb-x) .fsb-done-meta svg, .fsb:not(#fsb-x) .fsb-done-where svg { flex: none; color: var(--fsb-brand); margin-top: 1px; }
.fsb:not(#fsb-x) .fsb-done-lines { margin-top: 16px; padding-top: 14px; border-top: 1px solid #ece6e2; display: grid; gap: 8px; }
.fsb:not(#fsb-x) .fsb-dl { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; font-size: 15px; line-height: 1.35; }
.fsb:not(#fsb-x) .fsb-dl span:last-child { white-space: nowrap; font-variant-numeric: tabular-nums; }
.fsb:not(#fsb-x) .fsb-dl.is-extra { font-size: 14px; color: #555; padding-left: 4px; }
.fsb:not(#fsb-x) .fsb-dl.is-voucher { font-size: 14px; color: #2e7d32; }
.fsb:not(#fsb-x) .fsb-dl.is-total { margin-top: 6px; padding-top: 10px; border-top: 1px solid #ece6e2; font-size: 17px; font-weight: 700; }
.fsb:not(#fsb-x) .fsb-dl.is-total small { font-size: 12px; font-weight: 400; color: #777; }
.fsb:not(#fsb-x) .fsb-done-pay { margin-top: 8px; font-size: 13px; color: #777; text-align: right; }
.fsb:not(#fsb-x) .fsb-done-mail { margin: 20px 0 18px; font-size: 14px; line-height: 1.6; color: #444; }
@media (max-width: 640px) {
	.fsb:not(#fsb-x) .fsb-done { padding: 26px 18px 22px; margin-top: 14px; }
	.fsb:not(#fsb-x) .fsb-done-box { padding: 16px; }
}
