:root {
  --red: #9a1e1e;
  --red-dark: #7a1414;
  --cream: #f1e7d6;
  --cream-soft: #f7f0e3;
  --ink: #2a2320;
  --ink-soft: #5c5149;
  --gold: #c1a062;
  --maxw: 1180px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: clip; }
body { overflow-x: clip; }
body {
  font-family: "Jost", system-ui, sans-serif;
  color: var(--ink);
  background: #e6dccb;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { line-height: 1.12; }
a { color: inherit; text-decoration: none; }
img { display: block; }

/* ---------- Divider ---------- */
.divider { display: inline-flex; align-items: center; gap: 12px; color: var(--red); }
.divider::before,
.divider::after { content: ""; width: 38px; height: 1px; background: currentColor; opacity: .55; }
.divider__icon { width: 30px; height: auto; flex: none; }

/* ---------- Kopfbereich ---------- */
.menu-head {
  text-align: center;
  padding: clamp(34px, 5vw, 60px) 24px clamp(24px, 3vw, 38px);
  background: var(--cream);
}
.menu-head__brand { display: inline-block; }
.menu-head__brand img { width: clamp(190px, 26vw, 250px); height: auto; }
.menu-head h1 {
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
  font-size: clamp(2.4rem, 6vw, 3.8rem);
  color: var(--ink);
  margin-top: 6px;
}
.menu-head .divider { margin: 14px 0 12px; }
.menu-head p { color: var(--ink-soft); font-size: 1.02rem; }

/* ---------- Kategorie-Tabs ---------- */
.menu-tabs {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(247, 240, 227, .94);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border-top: 1px solid rgba(154, 30, 30, .12);
  border-bottom: 1px solid rgba(154, 30, 30, .12);
}
.menu-tabs__row {
  display: flex;
  justify-content: center;
  gap: clamp(2px, .6vw, 14px);
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 8px 12px;
  overflow-x: auto;
  scrollbar-width: none;
}
.menu-tabs__row::-webkit-scrollbar { display: none; }
.menu-tab {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  padding: 14px 16px 12px;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  color: var(--ink-soft);
  font-family: "Jost", sans-serif;
  font-size: .76rem;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  transition: color .3s var(--ease), border-color .3s var(--ease);
}
.menu-tab:hover { color: var(--ink); }
.menu-tab.is-active { color: var(--red); border-bottom-color: var(--gold); }

/* ---------- Menü-Seiten ---------- */
.menu-pages { padding: clamp(28px, 4vw, 56px) 16px clamp(50px, 7vw, 90px); }
.menu-page { display: none; }
.menu-page.is-active { display: block; animation: fade .5s var(--ease); }
@keyframes fade { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

.menu-sheet {
  max-width: 860px;
  margin: 0 auto;
  background: var(--cream);
  box-shadow: 0 34px 80px -44px rgba(42, 35, 32, .6);
}
.menu-sheet__head,
.menu-sheet__foot {
  display: block;
  width: 100%;
  height: auto;
  position: relative;
  z-index: 2;
}
.menu-sheet__head {
  margin-bottom: -12%;
  -webkit-mask-image: linear-gradient(to bottom, #000 75%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 75%, transparent 100%);
}
.menu-sheet__foot {
  margin-top: -12%;
  -webkit-mask-image: linear-gradient(to top, #000 75%, transparent 100%);
  mask-image: linear-gradient(to top, #000 75%, transparent 100%);
}
.menu-sheet__body {
  position: relative;
  z-index: 1;
  background: url("Speisekarte%20Mitte.png") center / 100% 100% no-repeat;
  padding: clamp(78px, 16vw, 130px) clamp(34px, 8vw, 92px);
}

.menu-cat + .menu-cat { margin-top: clamp(46px, 6vw, 76px); }
.menu-cat__title {
  font-family: "Cinzel", serif;
  font-weight: 600;
  font-size: clamp(1.9rem, 4.2vw, 2.9rem);
  color: var(--ink);
  text-align: center;
}
.menu-cat__sub {
  text-align: center;
  letter-spacing: .22em;
  text-transform: uppercase;
  font-size: .76rem;
  color: var(--red);
  margin-top: 8px;
}
.menu-cat__divider { text-align: center; margin: 14px 0 6px; }
.menu-cat__note {
  text-align: center;
  font-style: italic;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.15rem;
  color: var(--ink-soft);
  max-width: 46ch;
  margin: 14px auto 0;
}

.dishes { list-style: none; margin-top: 26px; }
.dish { padding: 15px 0; border-bottom: 1px solid rgba(154, 30, 30, .1); }
.dish:last-child { border-bottom: none; }
.dish__top { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.dish__name { font-family: "Cormorant Garamond", serif; font-weight: 600; font-size: 1.45rem; color: var(--ink); }
.dish__no {
  font-family: "Jost", sans-serif;
  font-size: .66rem;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--gold);
  margin-right: 11px;
  vertical-align: middle;
}
.dish__price { font-family: "Cormorant Garamond", serif; font-weight: 600; font-size: 1.32rem; color: var(--red); white-space: nowrap; }
.dish__desc { color: var(--ink-soft); font-size: .98rem; margin-top: 1px; max-width: 56ch; }

/* ---------- Fußzeile ---------- */
.menu-foot { text-align: center; padding: clamp(24px, 4vw, 44px) 24px clamp(46px, 6vw, 80px); }
.menu-foot__title {
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
  font-size: clamp(1.7rem, 3.6vw, 2.4rem);
  color: var(--ink);
  margin-bottom: 8px;
}
.menu-foot p { color: var(--ink-soft); font-size: .96rem; margin-bottom: 24px; }
.call-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--red);
  color: var(--cream-soft);
  font-family: "Jost", sans-serif;
  font-size: .92rem;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: 18px 38px;
  border: 1.5px solid var(--red);
  transition: background-color .35s var(--ease), border-color .35s var(--ease), transform .35s var(--ease);
}
.call-btn svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.call-btn:hover { background: var(--red-dark); border-color: var(--red-dark); transform: translateY(-2px); }
.menu-foot__back {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 30px;
  font-size: .8rem;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--red);
  transition: gap .3s var(--ease);
}
.menu-foot__back:hover { gap: 16px; }
.menu-foot__legal { margin-top: 24px; font-size: .8rem; color: var(--ink-soft); }
.menu-foot__legal a { color: var(--ink-soft); text-decoration: underline; text-underline-offset: 3px; }
.menu-foot__legal a:hover { color: var(--red); }

@media (max-width: 620px) {
  .menu-tabs__row { justify-content: flex-start; }
  .dish__name { font-size: 1.3rem; }
  .menu-sheet__body { padding: clamp(56px, 16vw, 90px) clamp(24px, 7vw, 40px); }
}
