/* s'Badisch – Speisekarten-Anhänger + Popup
   Freigestellte Karte im Bereich "Liebe Gäste"; Klick öffnet das PDF als Overlay. */

/* ---------- Der Anhänger ---------- */
.sb-menucard { margin: 34px 0 4px; text-align: center; line-height: 0; }
.sb-menucard__link {
  display: inline-block;
  transform: rotate(-2.5deg);
  transition: transform .28s ease, filter .28s ease;
  filter: drop-shadow(0 6px 14px rgba(0, 0, 0, .18));
  border-radius: 6px;
}
.sb-menucard__link:hover,
.sb-menucard__link:focus-visible {
  transform: rotate(0deg) translateY(-5px) scale(1.03);
  filter: drop-shadow(0 14px 24px rgba(0, 0, 0, .26));
}
.sb-menucard__link:focus-visible { outline: 3px solid #A8A384; outline-offset: 6px; }
.sb-menucard__img { display: block; width: 210px; height: auto; }
@media (max-width: 767px) { .sb-menucard__img { width: 170px; } }

/* ---------- Popup mit Blätter-Buch ---------- */
.sb-pk[hidden] { display: none !important; }
.sb-pk {
  position: fixed; inset: 0; z-index: 100000;
  display: flex; flex-direction: column;
  padding: 0;
}
.sb-pk__backdrop { position: absolute; inset: 0; background: rgba(16, 12, 8, .88); }

.sb-pk__bar {
  position: relative; z-index: 2;
  display: flex; align-items: center; gap: 14px;
  padding: 11px 14px 11px 20px;
  background: #877a56; color: #fff;
  font-family: "Montserrat", Arial, sans-serif;
}
.sb-pk__title {
  font-size: 14px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 1.2px; margin-right: auto;
}
.sb-pk__open {
  color: #fff; font-size: 13px; font-weight: 700; text-decoration: underline;
  white-space: nowrap;
}
.sb-pk__open:hover { color: #f0ead8; }
.sb-pk__close {
  flex: none; width: 34px; height: 34px; cursor: pointer;
  border: 0; border-radius: 2px; background: rgba(255, 255, 255, .16);
  color: #fff; font-size: 22px; line-height: 1; transition: background .2s;
}
.sb-pk__close:hover { background: rgba(255, 255, 255, .3); }

/* Bühne: Buch mittig, Blättertasten links und rechts */
.sb-pk__buehne {
  position: relative; z-index: 2;
  flex: 1 1 auto; min-height: 0;
  display: flex; align-items: center; justify-content: center;
  gap: 10px; padding: 18px 14px 26px;
}
.sb-pk__buch { /* Maße setzt speisekarte.js aus der Bühnenhöhe */ }
.sb-pk__buch .stf__parent { margin: 0 auto; }

.sb-pk__nav {
  flex: none; width: 46px; height: 46px; cursor: pointer;
  border: 0; border-radius: 50%;
  background: rgba(255, 255, 255, .13); color: #fff;
  font-size: 22px; line-height: 1; transition: background .2s;
}
.sb-pk__nav:hover { background: rgba(255, 255, 255, .28); }

@media (max-width: 1023px) {
  .sb-pk__nav { width: 38px; height: 38px; font-size: 18px; }
  .sb-pk__buehne { padding: 12px 8px 18px; gap: 6px; }
  .sb-pk__title { font-size: 12px; }
}

/* Leere Seiten (z. B. Deckblatt-Rückseite) als Pergament statt weißer Fläche */
.sb-pk__buch .stf__item { background: #efe4cd; }
.sb-pk__buch .stf__item img { display: block; width: 100%; height: 100%; }
