/* =========================================================
   Speisekarte als Blätter-Heft (StPageFlip)
   Weiherhütte Langenbach
   ========================================================= */

#speisekarte {
	padding: 110px 0 90px;
	background: #f6f4ef;
}
#speisekarte .sk-title {
	margin-bottom: 10px;
}
#speisekarte hr {
	margin: 0 auto 18px;
}
#speisekarte .sk-hint {
	font-size: 15px;
	color: #777;
	margin: 0 0 34px;
}

/* ---------- Kleine Ansicht ---------- */
.sk-inline {
	max-width: 680px;
	margin: 0 auto;
}
.sk-stage {
	position: relative;
	max-width: 640px;
	margin: 0 auto;
	cursor: zoom-in;
	/* Schatten unter dem Heft */
	filter: drop-shadow(0 18px 22px rgba(0, 0, 0, 0.28));
}
.sk-shift {
	transition: transform 0.6s ease;
}
/* Geschlossenes Heft (Titel- bzw. Rückseite) mittig rücken */
.sk-shift.is-front {
	transform: translateX(-25%);
}
.sk-shift.is-back {
	transform: translateX(25%);
}

.sk-page {
	background: #fff;
	overflow: hidden;
}
.sk-page img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	-webkit-user-drag: none;
	user-select: none;
	pointer-events: none;
}

/* Lupen-Badge: zeigt, dass ein Klick vergrößert */
.sk-zoom-badge {
	position: absolute;
	right: 10px;
	bottom: 10px;
	z-index: 20;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: rgba(38, 38, 38, 0.78);
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 17px;
	pointer-events: none;
	transition: background 0.3s;
}
.sk-stage:hover .sk-zoom-badge {
	background: #72a411;
}

/* Steuerleiste */
.sk-controls {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 14px;
	margin-top: 26px;
	flex-wrap: wrap;
}
.sk-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-width: 46px;
	height: 46px;
	padding: 0 14px;
	border: 0;
	border-radius: 0;
	background: #72a411;
	color: #fff;
	font-family: 'Raleway', sans-serif;
	font-size: 15px;
	font-weight: 500;
	letter-spacing: 0.3px;
	cursor: pointer;
	transition: background 0.3s, opacity 0.3s;
}
.sk-btn:hover,
.sk-btn:focus-visible {
	background: #628d0f;
	color: #fff;
}
.sk-btn:focus-visible {
	outline: 3px solid #a7c44c;
	outline-offset: 2px;
}
.sk-btn[disabled] {
	opacity: 0.35;
	cursor: default;
	background: #72a411;
}
.sk-btn .fa {
	font-size: 16px;
}
.sk-counter {
	min-width: 130px;
	text-align: center;
	font-size: 15px;
	font-weight: 500;
	color: #555;
}

/* ---------- Vollbild ---------- */
.sk-overlay {
	position: fixed;
	inset: 0;
	top: 0; right: 0; bottom: 0; left: 0;
	z-index: 10000;
	background: rgba(24, 28, 20, 0.96);
	display: flex;
	flex-direction: column;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.35s ease, visibility 0s linear 0.35s;
}
.sk-overlay.is-open {
	opacity: 1;
	visibility: visible;
	transition: opacity 0.35s ease;
}
.sk-overlay-bar {
	flex: 0 0 auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 10px 14px;
	color: #ddd;
}
.sk-overlay-title {
	font-family: 'Dancing Script', cursive;
	font-size: 28px;
	font-weight: 700;
	color: #a7c44c;
	line-height: 1;
}
.sk-overlay .sk-counter {
	color: #ddd;
}
.sk-overlay-main {
	flex: 1 1 auto;
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 0;
}
.sk-overlay-stage {
	position: relative;
}
.sk-overlay-stage .sk-page img {
	pointer-events: none;
}
.sk-overlay-bottom {
	flex: 0 0 auto;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 14px;
	padding: 10px 14px 16px;
}

/* Seitliche Pfeile im Vollbild (Desktop) */
.sk-side {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 30;
	width: 52px;
	height: 72px;
	font-size: 22px;
	background: rgba(114, 164, 17, 0.85);
}
.sk-side.sk-prev { left: 12px; }
.sk-side.sk-next { right: 12px; }

.sk-close {
	background: transparent;
	font-size: 22px;
	color: #fff;
}
.sk-close:hover,
.sk-close:focus-visible {
	background: rgba(255, 255, 255, 0.12);
}

.sk-loading {
	position: absolute;
	color: #ccc;
	font-size: 15px;
}

body.sk-no-scroll {
	overflow: hidden;
}

@media (max-width: 767px) {
	#speisekarte {
		padding: 80px 0 60px;
	}
	.sk-side {
		display: none;
	}
	.sk-btn-label {
		display: none;
	}
	.sk-overlay-title {
		font-size: 22px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.sk-shift,
	.sk-overlay,
	.sk-overlay.is-open {
		transition: none;
	}
}
