/* ==========================================================================
   FHG Sticky Button v1.0.5
   Desktop/Tablet: rechts fixiert, vertikal zentriert
   Mobile: Bottom Bar mit Leaf-Cutout
   ========================================================================== */

/* ---------- Gemeinsame Basis ---------- */

.fhg-sticky__btn {
	display: flex;
	align-items: center;
	justify-content: center;
	background-color: #5DB77E;
	border: 1px solid #5DB77E;
	color: #0D2102;
	text-decoration: none;
	cursor: pointer;
	transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

.fhg-sticky__btn:hover {
	background-color: #0D2102;
	border-color: #0D2102;
	color: #5DB77E;
}

.fhg-sticky__text {
	font-family: 'Poppins', sans-serif;
	font-weight: 500;
	font-size: 16px;
	line-height: 28px;
	letter-spacing: -0.16px;
	white-space: nowrap;
}

/* ---------- Desktop / Tablet (>= 768px) ---------- */

.fhg-sticky__desktop {
	position: fixed;
	right: 0;
	top: 50%;
	transform: translateY(-50%);
	z-index: 1000;
	display: flex;
	flex-direction: column;
}

.fhg-sticky__desktop .fhg-sticky__btn {
	writing-mode: vertical-rl;
	transform: rotate(180deg);
	width: 45px;
	height: 160px;
	padding: 0;
	margin: 0;
	box-sizing: border-box;
}

/*
   Nach writing-mode:vertical-rl + rotate(180deg):
   CSS border-radius → Visuell:
   TL → VBR,  TR → VBL,  BR → VTL,  BL → VTR

   Top-Button (Reservierung) visuell:
   VTL=25 VTR=0 VBR=25 VBL=0  →  CSS: TL=25 TR=0 BR=25 BL=0
   (oben-links rund, unten-rechts rund = Leaf-Seite an Kante)
*/
.fhg-sticky__btn--top {
	border-radius: 25px 0 25px 0;
}

/*
   Bottom-Button (Events) visuell:
   VTL=0 VTR=25 VBR=0 VBL=25  →  CSS: TL=0 TR=25 BR=0 BL=25
*/
.fhg-sticky__btn--bottom {
	border-radius: 0 25px 0 25px;
}

/* Mobile: versteckt auf Desktop */
.fhg-sticky__mobile {
	display: none;
}

/* ---------- Mobile (< 768px) ---------- */

@media (max-width: 767px) {

	.fhg-sticky__desktop {
		display: none;
	}

	.fhg-sticky__mobile {
		display: flex;
		position: fixed;
		bottom: 0;
		left: 0;
		right: 0;
		z-index: 1000;
	}

	.fhg-sticky__btn--mobile {
		flex: 1;
		height: 40px;
		padding: 0 20px;
		padding-bottom: env(safe-area-inset-bottom, 0px);
		border: 1px solid #5DB77E;
		background-color: #5DB77E;
	}

	.fhg-sticky__btn--mobile:first-child {
		border-radius: 0 20px 0 0;
	}

	.fhg-sticky__btn--mobile:last-child {
		border-radius: 20px 0 0 0;
	}

	.fhg-sticky__btn--mobile:hover {
		background-color: #0D2102;
		border-color: #0D2102;
		color: #5DB77E;
	}
}
