/*!
 * Ultimate Button — Frontend Styles
 * Smart Floating CTA & Tracking Suite
 * License: GPL-2.0-or-later
 */

#ubtn-root { position: fixed; inset: 0; pointer-events: none; z-index: 99998; }
#ubtn-root .ubtn-stack { pointer-events: auto; }

/* ─── Stack-Container ─────────────────────────────────────────────────── */
.ubtn-stack {
	position: fixed;
	display: flex;
	flex-direction: column-reverse;
	align-items: flex-end;
	gap: 12px;
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
}
/* Gleicher Abstand: Children-Gap = Stack-Gap */
.ubtn-children { gap: 12px; }
.ubtn-stack[data-anchor="bottom-left"] { align-items: flex-start; }
.ubtn-stack[data-anchor="top-left"]    { align-items: flex-start; flex-direction: column; }
.ubtn-stack[data-anchor="top-right"]   { align-items: flex-end;   flex-direction: column; }

/* ─── Master + Child FAB ──────────────────────────────────────────────── */
.ubtn-fab {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: none;
	cursor: pointer;
	font-size: 22px;
	color: #fff;
	transition: transform .18s ease, box-shadow .18s ease, filter .15s;
	position: relative;
	font-family: inherit;
	-webkit-tap-highlight-color: transparent;
	border: 2px solid #fff;
}
.ubtn-fab:focus-visible { outline: 3px solid #0a4d8f; outline-offset: 3px; }
.ubtn-fab:hover {
	transform: translateY(-2px) scale(1.04);
	filter: brightness(1.06);
}
/* v2.8.0: Hover-Farben per Custom-Property pro Sub-Button */
.ubtn-fab--child:hover {
	background: var(--ubtn-ch-hbg, var(--ubtn-ch-bg)) !important;
	color:      var(--ubtn-ch-hco, var(--ubtn-ch-co)) !important;
}
.ubtn-fab.has-shadow { box-shadow: 0 8px 22px rgba(0, 35, 64, .22); }
.ubtn-fab.has-shadow:hover { box-shadow: 0 12px 32px rgba(0, 35, 64, .3); }

/* Pulse-Ring um Master */
.ubtn-fab.has-pulse::after {
	content: '';
	position: absolute;
	inset: -4px;
	border-radius: inherit;
	border: 2px solid currentColor;
	opacity: 0;
	animation: ubtn-pulse 2.4s infinite;
	pointer-events: none;
}
@keyframes ubtn-pulse {
	0%   { opacity: .55; transform: scale(1); }
	70%  { opacity: 0;   transform: scale(1.35); }
	100% { opacity: 0;   transform: scale(1.35); }
}

/* FAB ist immer ECHTES Grid mit zentriertem Icon */
.ubtn-fab {
	display: grid !important;
	place-items: center !important;
	line-height: 1 !important;
	padding: 0 !important;
	overflow: hidden !important;
}
/* Icon inside FAB — IMMER zentriert + erbt Button-Color */
.ubtn-fab .ubtn-icon {
	display: grid !important;
	place-items: center !important;
	line-height: 1 !important;
	font-size: 24px !important;
	color: inherit !important;
	width: auto !important;
	height: auto !important;
}
.ubtn-fab .ubtn-icon[style*="color"] { color: inherit !important; }
.ubtn-fab svg.ubtn-icon {
	display: block !important;
	width: 24px !important;
	height: 24px !important;
	color: inherit !important;
	fill: currentColor;
}
.ubtn-fab svg.ubtn-icon * { fill: currentColor !important; }
.ubtn-fab .ubtn-icon--glyph {
	font-size: 24px !important;
	line-height: 1 !important;
}
.ubtn-fab .ubtn-icon--glyph {
	font-family: 'Apple Color Emoji', 'Segoe UI Emoji', 'Noto Color Emoji', 'EmojiOne Color', 'Twemoji Mozilla', 'Android Emoji', emoji, sans-serif !important;
	font-size: 24px;
	font-weight: normal !important;
}
/* v2.1.0: Emoji-Icon (emoji:📞 Pfad) — gleiche Font-Stack für echte Emojis */
.ubtn-fab .ubtn-icon--emoji {
	font-family: 'Apple Color Emoji', 'Segoe UI Emoji', 'Noto Color Emoji', 'EmojiOne Color', 'Twemoji Mozilla', 'Android Emoji', emoji, sans-serif !important;
	font-size: 24px;
	line-height: 1 !important;
	font-weight: normal !important;
	font-style: normal !important;
}

/* ─── Children-Reveal ─────────────────────────────────────────────────── */
.ubtn-children {
	display: none;
	flex-direction: column-reverse;
	transform-origin: bottom right;
}
.ubtn-stack[data-anchor="bottom-left"]  .ubtn-children { transform-origin: bottom left;  align-items: flex-start; }
.ubtn-stack[data-anchor="top-right"]    .ubtn-children { transform-origin: top right;    flex-direction: column; }
.ubtn-stack[data-anchor="top-left"]     .ubtn-children { transform-origin: top left;     flex-direction: column; align-items: flex-start; }

.ubtn-children.is-open { display: flex; }

/* Top-Anchor: Subs klappen nach unten */
.ubtn-stack[data-anchor="top-right"] .ubtn-children,
.ubtn-stack[data-anchor="top-left"]  .ubtn-children {
	flex-direction: column;
	bottom: auto;
	top: calc(100% + 8px);
}

/* Animation pro Child (mit Stagger) — default: slide */
.ubtn-children.is-open .ubtn-fab--child {
	animation: ubtn-anim-slide .35s cubic-bezier(.34, 1.56, .64, 1) both;
}
.ubtn-children.is-open .ubtn-fab--child:nth-child(1) { animation-delay: .04s; }
.ubtn-children.is-open .ubtn-fab--child:nth-child(2) { animation-delay: .09s; }
.ubtn-children.is-open .ubtn-fab--child:nth-child(3) { animation-delay: .14s; }
.ubtn-children.is-open .ubtn-fab--child:nth-child(4) { animation-delay: .19s; }
.ubtn-children.is-open .ubtn-fab--child:nth-child(5) { animation-delay: .24s; }
.ubtn-children.is-open .ubtn-fab--child:nth-child(6) { animation-delay: .29s; }
.ubtn-children.is-open .ubtn-fab--child:nth-child(7) { animation-delay: .34s; }
.ubtn-children.is-open .ubtn-fab--child:nth-child(8) { animation-delay: .39s; }

/* Slide: Sub-Buttons gleiten von der Seite rein */
@keyframes ubtn-anim-slide {
	0%   { opacity: 0; transform: translateX(40px) scale(.6); }
	60%  { opacity: 1; transform: translateX(-3px) scale(1.03); }
	100% { opacity: 1; transform: translateX(0)    scale(1); }
}
/* Drop: Sub-Buttons fallen von oben herab */
[data-anim-entrance="drop"] .ubtn-children.is-open .ubtn-fab--child {
	animation-name: ubtn-anim-drop;
}
@keyframes ubtn-anim-drop {
	0%   { opacity: 0; transform: translateY(20px) scale(.4); }
	60%  { opacity: 1; transform: translateY(-3px) scale(1.05); }
	100% { opacity: 1; transform: translateY(0)    scale(1); }
}
/* Fan: 3 Sonnenstrahlen vom Master — oben, diagonal, seitlich
   Alle ersten Sub-Buttons haben den gleichen Abstand zum Master (R=68px Mitte-zu-Mitte).
   Folge-Buttons: +54px Schritt. Diagonal-Schritt: 38px je Achse.

         ○                Strahl oben (3)
         ○                Strahl oben (2)
         ○    ○           Strahl oben (1) + diagonal (3)
           ○    ○  ○      diagonal (2+1) + links (2)
             ●    ○       Master + links (1)
*/
[data-anim-entrance="fan"] .ubtn-children {
	position: relative;
	gap: 0 !important;
	height: 0;
	overflow: visible;
}
[data-anim-entrance="fan"] .ubtn-children.is-open .ubtn-fab--child {
	position: absolute;
	bottom: 0;
	right: 0;
	animation: ubtn-anim-fan .4s cubic-bezier(.34, 1.56, .64, 1) both;
}
/* bottom-right: Strahl oben ↑, diagonal ↖, links ← */
[data-anim-entrance="fan"] .ubtn-children.is-open .ubtn-fab--child:nth-child(1) { --ubtn-fan-x: -7px;   --ubtn-fan-y: -75px;  animation-delay: .03s; } /* oben 1 */
[data-anim-entrance="fan"] .ubtn-children.is-open .ubtn-fab--child:nth-child(2) { --ubtn-fan-x: -7px;   --ubtn-fan-y: -129px; animation-delay: .06s; } /* oben 2 */
[data-anim-entrance="fan"] .ubtn-children.is-open .ubtn-fab--child:nth-child(3) { --ubtn-fan-x: -55px;  --ubtn-fan-y: -55px;  animation-delay: .04s; } /* diag 1 */
[data-anim-entrance="fan"] .ubtn-children.is-open .ubtn-fab--child:nth-child(4) { --ubtn-fan-x: -93px;  --ubtn-fan-y: -93px;  animation-delay: .08s; } /* diag 2 */
[data-anim-entrance="fan"] .ubtn-children.is-open .ubtn-fab--child:nth-child(5) { --ubtn-fan-x: -75px;  --ubtn-fan-y: -7px;   animation-delay: .05s; } /* links 1 */
[data-anim-entrance="fan"] .ubtn-children.is-open .ubtn-fab--child:nth-child(6) { --ubtn-fan-x: -129px; --ubtn-fan-y: -7px;   animation-delay: .10s; } /* links 2 */
@keyframes ubtn-anim-fan {
	0%   { opacity: 0; transform: translate(0, 0) scale(0); }
	60%  { opacity: 1; transform: translate(var(--ubtn-fan-x, -50px), var(--ubtn-fan-y, -50px)) scale(1.05); }
	100% { opacity: 1; transform: translate(var(--ubtn-fan-x, -50px), var(--ubtn-fan-y, -50px)) scale(1); }
}
/* Fade: Sub-Buttons blenden sanft ein */
[data-anim-entrance="fade"] .ubtn-children.is-open .ubtn-fab--child {
	animation-name: ubtn-anim-fade;
	animation-duration: .5s;
	animation-timing-function: ease;
}
@keyframes ubtn-anim-fade {
	0%   { opacity: 0; transform: translateY(8px); }
	100% { opacity: 1; transform: translateY(0); }
}
/* Left-anchor: Slide kommt von links statt rechts */
[data-anchor="bottom-left"][data-anim-entrance="slide"] .ubtn-children.is-open .ubtn-fab--child,
[data-anchor="top-left"][data-anim-entrance="slide"] .ubtn-children.is-open .ubtn-fab--child {
	animation-name: ubtn-anim-slide-left;
}
@keyframes ubtn-anim-slide-left {
	0%   { opacity: 0; transform: translateX(-40px) scale(.6); }
	60%  { opacity: 1; transform: translateX(3px) scale(1.03); }
	100% { opacity: 1; transform: translateX(0)    scale(1); }
}
/* Left-anchor Fan: gespiegelt — Strahlen nach oben ↑, diagonal ↗, rechts → */
[data-anchor="bottom-left"][data-anim-entrance="fan"] .ubtn-children.is-open .ubtn-fab--child { right: auto; left: 0; }
[data-anchor="bottom-left"][data-anim-entrance="fan"] .ubtn-children.is-open .ubtn-fab--child:nth-child(1) { --ubtn-fan-x: 7px;   --ubtn-fan-y: -75px; }
[data-anchor="bottom-left"][data-anim-entrance="fan"] .ubtn-children.is-open .ubtn-fab--child:nth-child(2) { --ubtn-fan-x: 7px;   --ubtn-fan-y: -129px; }
[data-anchor="bottom-left"][data-anim-entrance="fan"] .ubtn-children.is-open .ubtn-fab--child:nth-child(3) { --ubtn-fan-x: 55px;  --ubtn-fan-y: -55px; }
[data-anchor="bottom-left"][data-anim-entrance="fan"] .ubtn-children.is-open .ubtn-fab--child:nth-child(4) { --ubtn-fan-x: 93px;  --ubtn-fan-y: -93px; }
[data-anchor="bottom-left"][data-anim-entrance="fan"] .ubtn-children.is-open .ubtn-fab--child:nth-child(5) { --ubtn-fan-x: 75px;  --ubtn-fan-y: -7px; }
[data-anchor="bottom-left"][data-anim-entrance="fan"] .ubtn-children.is-open .ubtn-fab--child:nth-child(6) { --ubtn-fan-x: 129px; --ubtn-fan-y: -7px; }

/* v2.8.0: Label-Styling mit Custom-Properties pro Button */
.ubtn-fab-label {
	position: absolute;
	right: calc(100% + 10px);
	top: 50%;
	transform: translateY(-50%);
	background: var(--ubtn-ch-lbg, rgba(0,0,0,.72));
	color:      var(--ubtn-ch-lco, #fff);
	font-size: 12px;
	font-weight: 600;
	padding: 4px 10px;
	border-radius: 6px;
	white-space: nowrap;
	pointer-events: none;
	opacity: 0;
	transition: opacity .18s;
}
[data-ubtn-label-vis="always"] .ubtn-fab-label { opacity: 1; }
[data-ubtn-label-vis="hover"] .ubtn-fab-label  { opacity: 0; }
.ubtn-fab--child:hover .ubtn-fab-label         { opacity: 1; }
[data-ubtn-label-vis="none"] .ubtn-fab-label   { display: none; }

/* Master-Icon rotiert beim Öffnen (× / + Effekt) */
.ubtn-fab--master { transition: transform .25s cubic-bezier(.4, 0, .2, 1); }
.ubtn-stack:has(.ubtn-children.is-open) .ubtn-fab--master { transform: rotate(135deg); }
/* Fallback ohne :has() — JS setzt .is-open auch auf .ubtn-stack */
.ubtn-stack.is-open .ubtn-fab--master { transform: rotate(135deg); }
/* Rotation auch im Hover-Zustand (verhindert Überschreibung durch :hover-Lift) */
.ubtn-stack.is-open .ubtn-fab--master:hover { transform: rotate(135deg) translateY(-2px); }

/* ─── Tooltip ────────────────────────────────────────────────────────── */
.ubtn-tooltip {
	position: absolute;
	right: calc(100% + 12px);
	top: 50%;
	transform: translateY(-50%);
	background: #002340;
	color: #fff;
	font-size: 12px;
	font-weight: 600;
	padding: 5px 10px;
	border-radius: 6px;
	white-space: nowrap;
	opacity: 0;
	pointer-events: none;
	transition: opacity .15s, transform .15s;
	box-shadow: 0 4px 12px rgba(0,0,0,.15);
}
.ubtn-stack[data-anchor*="left"] .ubtn-tooltip {
	right: auto;
	left: calc(100% + 12px);
}
.ubtn-fab:hover .ubtn-tooltip,
.ubtn-fab:focus-visible .ubtn-tooltip { opacity: 1; }

/* ─── Reduced Motion (WCAG) ──────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
	.ubtn-fab,
	.ubtn-fab.has-pulse::after,
	.ubtn-children.is-open .ubtn-fab--child {
		animation: none !important;
		transition: none !important;
	}
}

/* ─── Mobile-Anpassungen ─────────────────────────────────────────────── */
@media (max-width: 600px) {
	.ubtn-stack { bottom: 16px !important; right: 16px !important; gap: 8px; }
	.ubtn-tooltip { display: none; }
}

/* ═════════════════════════════════════════════════════════════════════
 * WHATSAPP MINI-CHAT (öffnet bei Klick auf WA-Button, wie delta-web-solution.de)
 * ═════════════════════════════════════════════════════════════════════ */

/* ─── WhatsApp Mini-Chat (Screenshot-exact, v2.1.0) ─────────────── */
.ubtn-wa-chat {
	position: fixed !important;
	bottom: 96px !important;
	right: 20px !important;
	width: 400px !important;
	max-width: calc(100vw - 32px) !important;
	background: #ffffff !important;
	border-radius: 20px !important;
	box-shadow: 0 30px 80px rgba(15, 23, 42, .30) !important;
	overflow: hidden !important;
	z-index: 99999 !important;
	pointer-events: auto !important;
	display: flex !important;
	flex-direction: column !important;
	animation: ubtn-wa-in .3s ease both !important;
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, sans-serif !important;
	color: #0a0a0a !important;
	line-height: 1.5 !important;
}
@keyframes ubtn-wa-in {
	from { opacity: 0; transform: translateY(20px) scale(.96); }
	to   { opacity: 1; transform: translateY(0)   scale(1); }
}
.ubtn-wa-chat[hidden] { display: none !important; }

.ubtn-wa-head {
	background: linear-gradient(135deg, #075E54 0%, #128C7E 100%) !important;
	color: #ffffff !important;
	padding: 18px 18px !important;
	display: flex !important;
	align-items: center !important;
	gap: 14px !important;
	border: none !important;
}
.ubtn-wa-avatar {
	width: 56px !important;
	height: 56px !important;
	border-radius: 50% !important;
	background: #22c55e !important;
	color: #ffffff !important;
	font-weight: 800 !important;
	display: grid !important;
	place-items: center !important;
	font-size: 22px !important;
	line-height: 1 !important;
	flex-shrink: 0 !important;
	position: relative !important;
	background-size: cover !important;
	background-position: center !important;
	border: none !important;
	padding: 0 !important;
	box-shadow: 0 2px 8px rgba(0, 0, 0, .15) !important;
}
.ubtn-wa-avatar::after {
	content: '' !important;
	position: absolute !important;
	bottom: -2px !important;
	right: -2px !important;
	width: 14px !important;
	height: 14px !important;
	border-radius: 50% !important;
	background: #16a34a !important;
	border: 2px solid #ffffff !important;
}
.ubtn-wa-meta { flex: 1 !important; line-height: 1.25 !important; min-width: 0 !important; }
.ubtn-wa-meta strong {
	display: block !important;
	font-size: 17px !important;
	font-weight: 700 !important;
	color: #ffffff !important;
	margin: 0 !important;
	letter-spacing: -.01em !important;
}
.ubtn-wa-meta span {
	font-size: 12.5px !important;
	opacity: 1 !important;
	color: rgba(255, 255, 255, .85) !important;
}
.ubtn-wa-close {
	background: transparent !important;
	border: none !important;
	color: #ffffff !important;
	width: 28px !important;
	height: 28px !important;
	border-radius: 50% !important;
	cursor: pointer !important;
	font-size: 20px !important;
	display: grid !important;
	place-items: center !important;
	line-height: 1 !important;
	font-family: inherit !important;
	flex-shrink: 0 !important;
	padding: 0 !important;
	box-shadow: none !important;
	text-shadow: none !important;
	opacity: .85 !important;
}
.ubtn-wa-close:hover { opacity: 1 !important; background: rgba(255, 255, 255, .12) !important; }

.ubtn-wa-body {
	background: #E5DDD5 !important;
	padding: 22px 18px !important;
	min-height: 120px !important;
	background-image: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 40 40'%3E%3Ccircle cx='20' cy='20' r='1.5' fill='rgba(0,0,0,.04)'/%3E%3C/svg%3E") !important;
}
.ubtn-wa-bubble {
	background: #ffffff !important;
	padding: 12px 14px !important;
	border-radius: 12px !important;
	border-top-left-radius: 4px !important;
	font-size: 14px !important;
	color: #0a0a0a !important;
	line-height: 1.5 !important;
	box-shadow: 0 1px 1px rgba(0, 0, 0, .08) !important;
	max-width: 92% !important;
	display: inline-block !important;
}
.ubtn-wa-bubble small {
	display: block !important;
	font-size: 11px !important;
	color: #888 !important;
	text-align: right !important;
	margin-top: 4px !important;
	font-weight: 400 !important;
}

.ubtn-wa-form {
	display: flex !important;
	align-items: center !important;
	gap: 10px !important;
	padding: 14px !important;
	background: #F0F0F0 !important;
	border-top: 1px solid rgba(0, 0, 0, .04) !important;
}
.ubtn-wa-input {
	flex: 1 !important;
	background: #ffffff !important;
	border: 1.5px solid rgba(34, 197, 94, .35) !important;
	border-radius: 22px !important;
	padding: 12px 18px !important;
	font-size: 14px !important;
	color: #0a0a0a !important;
	outline: none !important;
	font-family: inherit !important;
	resize: none !important;
	min-height: 44px !important;
	max-height: 88px !important;
	line-height: 1.4 !important;
	box-shadow: none !important;
}
.ubtn-wa-input:focus {
	border-color: #22c55e !important;
	box-shadow: 0 0 0 3px rgba(34, 197, 94, .12) !important;
}
/* Check-Button (blau) — bestätigt Eingabe, neben Send-Button */
.ubtn-wa-check {
	background: #3b82f6 !important;
	color: #ffffff !important;
	border: none !important;
	width: 36px !important;
	height: 36px !important;
	border-radius: 50% !important;
	cursor: pointer !important;
	display: grid !important;
	place-items: center !important;
	font-size: 14px !important;
	flex-shrink: 0 !important;
	font-family: inherit !important;
	padding: 0 !important;
	box-shadow: 0 2px 6px rgba(59, 130, 246, .35) !important;
	transition: filter .12s, transform .1s !important;
}
.ubtn-wa-check:hover { filter: brightness(1.08) !important; transform: translateY(-1px) !important; }
.ubtn-wa-send {
	background: #25D366 !important;
	color: #ffffff !important;
	border: none !important;
	width: 42px !important;
	height: 42px !important;
	border-radius: 50% !important;
	cursor: pointer !important;
	display: grid !important;
	place-items: center !important;
	font-size: 16px !important;
	flex-shrink: 0 !important;
	font-family: inherit !important;
	padding: 0 !important;
	box-shadow: 0 2px 8px rgba(37, 211, 102, .40) !important;
	transition: filter .12s, transform .1s !important;
}
.ubtn-wa-send:hover { filter: brightness(1.08) !important; transform: translateY(-1px) !important; }

.ubtn-wa-foot {
	background: #F0F0F0 !important;
	font-size: 11px !important;
	color: #888 !important;
	text-align: center !important;
	padding: 10px !important;
	border-top: 1px solid rgba(0, 0, 0, .04) !important;
}

@media (max-width: 600px) {
	.ubtn-wa-chat {
		bottom: 86px !important;
		right: 12px !important;
		left: 12px !important;
		width: auto !important;
		max-width: none !important;
	}
}

/* ═════════════════════════════════════════════════════════════════════
 * BOOKING POPUP (4 Steps: Kalender → Slots → Form → Success)
 * ═════════════════════════════════════════════════════════════════════ */

/* ─── Booking-Popup (Screenshot-exact, v2.1.0) ──────────────────── */
.ubtn-bk-popup {
	position: fixed !important;
	bottom: 96px !important;
	right: 20px !important;
	width: 460px !important;
	max-width: calc(100vw - 32px) !important;
	max-height: calc(100vh - 130px) !important;
	background: #ffffff !important;
	border-radius: 20px !important;
	box-shadow: 0 30px 80px rgba(15, 23, 42, .30) !important;
	overflow: hidden !important;
	z-index: 99999 !important;
	pointer-events: auto !important;
	display: flex !important;
	flex-direction: column !important;
	animation: ubtn-wa-in .3s ease both !important;
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
	color: #0a0a0a !important;
	line-height: 1.5 !important;
}
.ubtn-bk-popup[hidden] { display: none !important; }

.ubtn-bk-head {
	background: linear-gradient(135deg, #002340 0%, #0a4d8f 100%) !important;
	color: #ffffff !important;
	padding: 22px 24px !important;
	display: flex !important;
	align-items: center !important;
	gap: 14px !important;
	flex-shrink: 0 !important;
	border: none !important;
}
.ubtn-bk-head > div:first-child { flex: 1 !important; line-height: 1.3 !important; }
.ubtn-bk-head strong {
	display: block !important;
	font-size: 18px !important;
	font-weight: 700 !important;
	color: #ffffff !important;
	margin: 0 !important;
	letter-spacing: -.01em !important;
}
.ubtn-bk-head span {
	font-size: 13px !important;
	opacity: 1 !important;
	color: rgba(255, 255, 255, .85) !important;
	margin-top: 2px !important;
}
.ubtn-bk-back-top {
	background: rgba(255, 255, 255, .15) !important;
	border: none !important;
	color: #ffffff !important;
	width: 32px !important;
	height: 32px !important;
	border-radius: 50% !important;
	cursor: pointer !important;
	font-size: 16px !important;
	display: grid !important;
	place-items: center !important;
	margin-right: 6px !important;
	flex-shrink: 0 !important;
	padding: 0 !important;
}
.ubtn-bk-back-top:hover { background: rgba(255, 255, 255, .25) !important; }
.ubtn-bk-back-top[hidden] { display: none !important; }
.ubtn-bk-close {
	background: rgba(255, 255, 255, .15) !important;
	border: none !important;
	color: #ffffff !important;
	width: 40px !important;
	height: 40px !important;
	border-radius: 50% !important;
	cursor: pointer !important;
	font-size: 20px !important;
	display: grid !important;
	place-items: center !important;
	flex-shrink: 0 !important;
	font-family: inherit !important;
	padding: 0 !important;
	box-shadow: none !important;
	text-shadow: none !important;
}
.ubtn-bk-close:hover { background: rgba(255, 255, 255, .25) !important; }

.ubtn-bk-step {
	display: none;
	padding: 24px 28px !important;
	overflow-y: auto;
	flex: 1;
}
.ubtn-bk-step.is-active { display: block !important; }

/* Kalender — größere Zellen, klare Navigation */
.ubtn-bk-month-nav {
	display: flex !important;
	align-items: center !important;
	gap: 16px !important;
	margin-bottom: 16px !important;
	padding-bottom: 16px !important;
	border-bottom: 1px solid #e5e7eb !important;
}
.ubtn-bk-month {
	flex: 1 !important;
	text-align: left !important;
	font-size: 22px !important;
	font-weight: 700 !important;
	color: #0a0a0a !important;
	letter-spacing: -.01em !important;
}
.ubtn-bk-arr {
	background: #f6f7f9 !important;
	border: 1px solid #e5e7eb !important;
	width: 44px !important;
	height: 44px !important;
	border-radius: 10px !important;
	cursor: pointer !important;
	font-size: 18px !important;
	color: #0a0a0a !important;
	font-weight: 700 !important;
	font-family: inherit !important;
	display: grid !important;
	place-items: center !important;
	padding: 0 !important;
	transition: background .12s, border-color .12s !important;
}
.ubtn-bk-arr:hover:not(:disabled) {
	background: rgba(0, 35, 64, .06) !important;
	border-color: #0a4d8f !important;
	color: #002340 !important;
}
.ubtn-bk-arr:disabled { opacity: .4 !important; cursor: not-allowed !important; }

.ubtn-bk-cal {
	display: grid !important;
	grid-template-columns: repeat(7, 1fr) !important;
	gap: 4px !important;
}
.ubtn-bk-cal-h {
	font-size: 11px !important;
	font-weight: 700 !important;
	color: #9ca3af !important;
	text-transform: uppercase !important;
	text-align: center !important;
	padding: 8px 0 !important;
	letter-spacing: .04em !important;
}
.ubtn-bk-cal-c {
	font-size: 15px !important;
	font-weight: 600 !important;
	text-align: center !important;
	padding: 14px 0 !important;
	border-radius: 8px !important;
	color: #0a0a0a !important;
	transition: background .12s, border-color .12s !important;
	cursor: pointer !important;
	background: transparent !important;
	border: 2px solid transparent !important;
	font-family: inherit !important;
	aspect-ratio: 1 / 1.05 !important;
	display: grid !important;
	place-items: center !important;
}
.ubtn-bk-cal-c.is-pad,
.ubtn-bk-cal-c.is-past,
.ubtn-bk-cal-c.is-disabled {
	color: #d1d5db !important;
	cursor: not-allowed !important;
	background: transparent !important;
}
.ubtn-bk-cal-c.is-blocked {
	color: #d1d5db !important;
	cursor: not-allowed !important;
}
.ubtn-bk-cal-c.is-partial { background: #fef9c3 !important; }
.ubtn-bk-cal-c.is-full {
	background: #fee2e2 !important;
	color: #dc2626 !important;
	cursor: not-allowed !important;
}
.ubtn-bk-cal-c.is-available:hover { background: #dbeafe !important; border-color: #bfdbfe !important; }
.ubtn-bk-cal-c.is-today { border-color: #0a4d8f !important; }
.ubtn-bk-cal-c.is-selected {
	background: transparent !important;
	color: #002340 !important;
	font-weight: 800 !important;
	border: 2px solid #002340 !important;
}

/* Slots */
.ubtn-bk-slots-wrap {
	border-top: 1px solid #e5e7eb;
	margin-top: 12px;
	padding-top: 12px;
}
.ubtn-bk-slots-h {
	font-size: 10px;
	font-weight: 700;
	letter-spacing: .08em;
	color: #64748b;
	text-transform: uppercase;
	margin-bottom: 8px;
}
.ubtn-bk-slots {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 5px;
}
.ubtn-bk-slot {
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	padding: 8px 4px;
	font-size: 12px;
	font-weight: 600;
	text-align: center;
	border-radius: 6px;
	cursor: pointer;
	color: #002340;
	transition: .15s;
	font-family: inherit;
}
.ubtn-bk-slot:hover:not(:disabled) {
	background: rgba(0, 35, 64, .08);
	border-color: #002340;
}
.ubtn-bk-slot:disabled {
	opacity: .35;
	cursor: not-allowed;
	text-decoration: line-through;
}
.ubtn-bk-slot.is-selected {
	background: #002340;
	border-color: #002340;
	color: #fff;
}

/* Form */
.ubtn-bk-summary {
	background: linear-gradient(135deg, rgba(0, 35, 64, .08), rgba(10, 77, 143, .04));
	border: 1px solid rgba(0, 35, 64, .15);
	border-radius: 8px;
	padding: 10px 12px;
	margin-bottom: 14px;
	font-size: 12.5px;
	text-align: center;
	font-weight: 700;
	color: #002340;
}
.ubtn-bk-field { margin-bottom: 10px; }
.ubtn-bk-field label {
	display: block;
	font-size: 10.5px;
	font-weight: 700;
	letter-spacing: .04em;
	color: #64748b;
	text-transform: uppercase;
	margin-bottom: 4px;
}
.ubtn-bk-field input {
	width: 100%;
	padding: 9px 11px;
	border: 1px solid #e5e7eb;
	border-radius: 7px;
	font-size: 13px;
	font-family: inherit;
	outline: none;
	color: #0a0a0a;
	background: #fff;
	box-sizing: border-box;
}
.ubtn-bk-field input:focus {
	border-color: #002340;
	box-shadow: 0 0 0 3px rgba(0, 35, 64, .08);
}
.ubtn-bk-form-foot {
	display: flex;
	gap: 6px;
	margin-top: 14px;
}
.ubtn-bk-btn {
	flex: 1;
	padding: 9px 12px;
	font-size: 12.5px;
	font-weight: 700;
	border-radius: 8px;
	cursor: pointer;
	font-family: inherit;
	border: 1px solid transparent;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 4px;
}
.ubtn-bk-btn-primary {
	background: linear-gradient(135deg, #002340, #0a4d8f);
	color: #fff;
}
.ubtn-bk-btn-primary:hover { filter: brightness(1.1); }
.ubtn-bk-btn-primary:disabled { opacity: .6; cursor: not-allowed; }
.ubtn-bk-btn-ghost {
	background: #fff;
	color: #475569;
	border-color: #e5e7eb;
	flex: 0;
	padding: 9px 14px;
}
.ubtn-bk-err {
	margin-top: 10px;
	padding: 8px 12px;
	background: rgba(239, 68, 68, .08);
	border: 1px solid rgba(239, 68, 68, .25);
	border-radius: 6px;
	color: #dc2626;
	font-size: 12px;
}

/* Success */
.ubtn-bk-success {
	text-align: center;
	padding: 24px 14px;
}
.ubtn-bk-success-ic {
	width: 64px;
	height: 64px;
	background: #22c55e;
	color: #fff;
	border-radius: 50%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 30px;
	margin-bottom: 14px;
}
.ubtn-bk-success h3 {
	font-size: 17px;
	font-weight: 800;
	color: #002340;
	margin: 0 0 8px;
}
.ubtn-bk-success p {
	font-size: 12.5px;
	color: #64748b;
	line-height: 1.6;
	margin: 0 0 4px;
}
.ubtn-bk-success-when {
	font-family: monospace;
	color: #002340;
	font-weight: 700;
	font-size: 13px;
	margin-top: 12px !important;
}

.ubtn-bk-foot {
	background: #f8fafc !important;
	font-size: 11px !important;
	color: #9ca3af !important;
	text-align: center !important;
	padding: 14px !important;
	border-top: 1px solid #e5e7eb !important;
	flex-shrink: 0 !important;
}

@media (max-width: 600px) {
	.ubtn-bk-popup {
		bottom: 80px !important;
		right: 12px !important;
		left: 12px !important;
		width: auto !important;
		max-width: none;
		max-height: calc(100vh - 100px);
	}
}

/* ════════════════════════════════════════════════════════════════════
   v2.0 — Event-Type-Picker (Step 0) + Custom-Questions + UTC-Slots
   ════════════════════════════════════════════════════════════════════ */

/* Step 0: Event-Type-Picker */
.ubtn-bk-et-hint {
	font-size: 13px;
	color: #6b7280;
	margin: 0 0 12px;
	font-weight: 500;
}
.ubtn-bk-et-list {
	display: flex;
	flex-direction: column;
	gap: 10px;
}
.ubtn-bk-et-card {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 14px;
	border: 1px solid #e5e7eb;
	border-radius: 10px;
	background: #fff;
	cursor: pointer;
	text-align: left;
	font-family: inherit;
	transition: border-color .15s, transform .12s, box-shadow .15s;
	width: 100%;
}
.ubtn-bk-et-card:hover {
	border-color: #0a4d8f;
	transform: translateY(-1px);
	box-shadow: 0 4px 14px rgba(0, 35, 64, .08);
}
.ubtn-bk-et-color {
	width: 6px;
	height: 44px;
	border-radius: 3px;
	flex-shrink: 0;
}
.ubtn-bk-et-info { flex: 1; }
.ubtn-bk-et-name {
	font-weight: 600;
	font-size: 14px;
	color: #0a0a0a;
}
.ubtn-bk-et-meta {
	font-size: 12px;
	color: #6b7280;
	margin-top: 2px;
}
.ubtn-bk-et-arrow {
	font-size: 18px;
	color: #9ca3af;
}

/* Back-Pfeil im Header */
.ubtn-bk-back-top {
	background: rgba(255, 255, 255, .15);
	border: none;
	color: #fff;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	cursor: pointer;
	font-size: 16px;
	margin-right: 8px;
	display: grid;
	place-items: center;
}
.ubtn-bk-back-top:hover { background: rgba(255, 255, 255, .25); }
.ubtn-bk-back-top[hidden] { display: none !important; }

/* Custom-Questions */
.ubtn-bk-form [data-ubtn-bk-questions] {
	margin-top: 8px;
	padding-top: 14px;
	border-top: 1px dashed #e5e7eb;
}
.ubtn-bk-check {
	display: flex;
	align-items: center;
	gap: 8px;
	font-weight: 400;
	font-size: 13px;
	color: #0a0a0a;
	margin: 4px 0;
}

/* Slot v2 (Local-Time anzeigen, Buttons gleicher Stil) */
.ubtn-bk-loading,
.ubtn-bk-no-slots {
	grid-column: span 3;
	text-align: center;
	color: #6b7280;
	padding: 14px;
	font-size: 12px;
}

/* Timezone-Hinweis im Calendar */
.ubtn-bk-tz-line {
	font-size: 11px;
	color: #9ca3af;
	text-align: center;
	margin-top: 10px;
	padding: 6px 0;
	border-top: 1px solid #f0f0f0;
}
.ubtn-bk-tz-line:empty { display: none; }

/* ════════════════════════════════════════════════════════════════════
   v2.2.1 — Chat-Widget-Panel (Mini-Chat / Form / Iframe / Telegram-Messenger)
   ════════════════════════════════════════════════════════════════════ */
.ubtn-widget-panel {
	position: fixed;
	right: 24px;
	bottom: 96px;
	width: 360px;
	max-width: calc(100vw - 24px);
	max-height: 620px;
	background: #fff;
	border-radius: 16px;
	box-shadow: 0 20px 60px rgba(0, 35, 64, .25);
	z-index: 999998;
	display: flex;
	flex-direction: column;
	overflow: hidden;
	animation: ubtn-widget-in .22s cubic-bezier(.2, .8, .2, 1);
}
.ubtn-widget-panel[hidden] { display: none !important; }
@keyframes ubtn-widget-in {
	from { opacity: 0; transform: translateY(12px) scale(.96); }
	to   { opacity: 1; transform: none; }
}
@media (max-width: 480px) {
	.ubtn-widget-panel {
		left: 12px;
		right: 12px;
		bottom: 80px;
		width: auto;
		max-height: calc(100vh - 100px);
	}
}

.ubtn-widget-panel__head {
	background: linear-gradient(135deg, #002340 0%, #0a4d8f 100%);
	color: #fff;
	padding: 14px 16px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
}
.ubtn-widget-panel__head-inner {
	display: flex;
	align-items: center;
	gap: 10px;
	min-width: 0;
}
.ubtn-widget-panel__avatar {
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: rgba(255, 255, 255, .9);
	display: grid;
	place-items: center;
	font-size: 18px;
	background-size: cover;
	background-position: center;
	flex-shrink: 0;
	color: #002340;
}
.ubtn-widget-panel__meta {
	display: flex;
	flex-direction: column;
	gap: 1px;
	min-width: 0;
}
.ubtn-widget-panel__meta strong {
	font-size: 14px;
	font-weight: 600;
	color: #fff;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.ubtn-widget-panel__meta span {
	font-size: 11.5px;
	color: rgba(255, 255, 255, .8);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.ubtn-widget-panel__meta span:empty { display: none; }
.ubtn-widget-panel__close {
	background: transparent;
	border: none;
	color: #fff;
	font-size: 24px;
	line-height: 1;
	cursor: pointer;
	width: 30px;
	height: 30px;
	border-radius: 6px;
	display: grid;
	place-items: center;
	transition: background .12s;
	flex-shrink: 0;
}
.ubtn-widget-panel__close:hover { background: rgba(255, 255, 255, .15); }

.ubtn-widget-panel__body {
	flex: 1;
	display: flex;
	flex-direction: column;
	min-height: 0;
	overflow: hidden;
}
.ubtn-widget-body {
	flex: 1;
	display: flex;
	flex-direction: column;
	min-height: 0;
}
.ubtn-widget-body[hidden] { display: none !important; }

/* Mini-Chat-Variante */
.ubtn-widget-bubble {
	background: #f0f6ff;
	border-radius: 12px;
	padding: 10px 12px;
	margin: 14px;
	font-size: 13px;
	color: #0a0a0a;
	line-height: 1.45;
	max-width: 80%;
	align-self: flex-start;
}
.ubtn-widget-bubble small {
	display: block;
	margin-top: 4px;
	font-size: 10px;
	color: #6b7280;
}
.ubtn-widget-form-mc {
	margin-top: auto;
	padding: 10px 12px;
	border-top: 1px solid #f0f1f3;
	display: flex;
	gap: 8px;
	align-items: flex-end;
}
.ubtn-widget-textarea {
	flex: 1;
	border: 1px solid #e5e7eb;
	border-radius: 18px;
	padding: 10px 14px;
	font-family: inherit;
	font-size: 13px;
	resize: none;
	background: #f8f9fa;
}
.ubtn-widget-textarea:focus { outline: none; border-color: #25D366; background: #fff; }
.ubtn-widget-send {
	width: 38px;
	height: 38px;
	border-radius: 50%;
	border: none;
	background: #25D366;
	color: #fff;
	cursor: pointer;
	font-size: 16px;
	display: grid;
	place-items: center;
	flex-shrink: 0;
	transition: transform .12s;
}
.ubtn-widget-send:hover { transform: scale(1.08); }
.ubtn-widget-foot {
	padding: 8px 14px;
	font-size: 10.5px;
	color: #9ca3af;
	text-align: center;
	background: #fafbfc;
}

/* Form-Variante */
.ubtn-widget-form {
	padding: 16px;
	display: flex;
	flex-direction: column;
	gap: 10px;
	overflow-y: auto;
}
.ubtn-widget-field {
	display: flex;
	flex-direction: column;
	gap: 4px;
}
.ubtn-widget-field[hidden] { display: none !important; }
.ubtn-widget-field label {
	font-size: 12px;
	font-weight: 600;
	color: #6b7280;
}
.ubtn-widget-field input,
.ubtn-widget-field textarea {
	width: 100%;
	border: 1px solid #e5e7eb;
	border-radius: 8px;
	padding: 9px 11px;
	font-family: inherit;
	font-size: 13.5px;
	color: #0a0a0a;
	background: #fff;
}
.ubtn-widget-field input:focus,
.ubtn-widget-field textarea:focus {
	outline: none;
	border-color: #0a4d8f;
	box-shadow: 0 0 0 3px rgba(10, 77, 143, .12);
}
.ubtn-widget-submit {
	width: 100%;
	padding: 11px 16px;
	background: linear-gradient(135deg, #002340 0%, #0a4d8f 100%);
	color: #fff;
	border: none;
	border-radius: 8px;
	font-family: inherit;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
	transition: opacity .12s;
}
.ubtn-widget-submit:hover { opacity: .92; }
.ubtn-widget-submit:disabled { opacity: .5; cursor: wait; }
.ubtn-widget-err {
	padding: 8px 12px;
	background: #fee2e2;
	border-radius: 6px;
	color: #b91c1c;
	font-size: 12px;
}
.ubtn-widget-err[hidden] { display: none !important; }
.ubtn-widget-success {
	flex: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 12px;
	padding: 32px 20px;
	text-align: center;
}
.ubtn-widget-success[hidden] { display: none !important; }
.ubtn-widget-success__ic {
	width: 56px;
	height: 56px;
	border-radius: 50%;
	background: #10b981;
	color: #fff;
	font-size: 28px;
	display: grid;
	place-items: center;
}
.ubtn-widget-success p {
	font-size: 14px;
	color: #0a0a0a;
	margin: 0;
	line-height: 1.45;
}

/* Iframe-Variante */
.ubtn-widget-body[data-ubtn-widget-body="iframe"] {
	overflow: hidden;
}
.ubtn-widget-body[data-ubtn-widget-body="iframe"] iframe {
	flex: 1;
	width: 100%;
	border: none;
	background: #fff;
	min-height: 320px;
}

/* Telegram/Messenger-Variante */
.ubtn-widget-tm-link {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin: 14px;
	padding: 14px 18px;
	background: linear-gradient(135deg, #229ED9 0%, #0088CC 100%);
	color: #fff;
	text-decoration: none;
	border-radius: 12px;
	font-weight: 600;
	font-size: 14px;
	transition: transform .12s, box-shadow .12s;
}
.ubtn-widget-tm-link:hover {
	transform: translateY(-1px);
	box-shadow: 0 8px 20px rgba(34, 158, 217, .35);
}
