/* =========================================================
   Speisekarten-Seite – gleiche Farbwelt wie die Startseite
   ========================================================= */
html { scroll-behavior: smooth; }
.page-menu { background: var(--cream); }
[hidden] { display: none !important; }

/* ---------- Kopf ---------- */
.page-hero {
  position: relative; overflow: hidden; color: var(--cream);
  background: radial-gradient(ellipse at 80% 20%, #3d4f2f 0%, var(--olive-900) 65%);
  padding: 130px 0 56px;
}
.page-hero::before {
  content: ""; position: absolute; inset: 0; opacity: .07; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cg fill='none' stroke='%23e2c46a' stroke-width='1.2'%3E%3Cpath d='M40 4 50 30 76 40 50 50 40 76 30 50 4 40 30 30Z'/%3E%3Ccircle cx='40' cy='40' r='9'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 80px;
}
.page-hero .container { position: relative; }
.page-hero h1 { font-size: clamp(3rem, 9vw, 6rem); font-weight: 700; letter-spacing: -.03em; line-height: 1; margin: 0 0 .4rem; }
.page-hero__sub { font-family: var(--font-display); font-style: italic; font-size: clamp(1.2rem, 3vw, 1.6rem); color: var(--gold-light); margin-bottom: 2rem; }

.search {
  display: flex; align-items: center; gap: .7rem; max-width: 520px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(226,196,106,.3); border-radius: 999px;
  padding: .2rem 1.2rem; transition: border-color .25s, background .25s;
}
.search:focus-within { border-color: var(--gold); background: rgba(255,255,255,.12); }
.search svg { width: 20px; height: 20px; flex: none; fill: none; stroke: var(--gold-light); stroke-width: 2; stroke-linecap: round; }
.search input {
  flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; color: var(--white);
  font: inherit; font-size: 1rem; padding: .85rem 0;
}
.search input::placeholder { color: rgba(247,241,229,.55); }

/* ---------- Klebende Kategorie-Leiste ---------- */
.chips {
  position: sticky; top: 64px; z-index: 40;
  background: rgba(247, 241, 229, .94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s;
}
.chips.is-stuck { border-bottom-color: var(--cream-dark); box-shadow: 0 10px 24px -18px rgba(31,42,28,.45); }
.chips__inner { display: flex; align-items: center; gap: .6rem; padding: .8rem 0; }
.chips__list { display: flex; gap: .5rem; overflow-x: auto; flex: 1; scrollbar-width: none; }
.chips__list::-webkit-scrollbar { display: none; }
.chip {
  flex: none; display: inline-flex; align-items: center; gap: .45rem;
  padding: .55rem 1.1rem; border-radius: 999px; border: 1.5px solid var(--cream-dark);
  background: var(--white); color: var(--olive-800); font: inherit; font-size: .92rem; font-weight: 600;
  text-decoration: none; white-space: nowrap; cursor: pointer; transition: background .25s, color .25s, border-color .25s, opacity .25s;
}
.chip:hover { border-color: var(--olive-500); }
.chip.is-active { background: var(--olive-800); border-color: var(--olive-800); color: var(--cream); }
.chip.is-empty { opacity: .4; }
.chip__dot { width: 10px; height: 10px; border-radius: 50%; border: 2px solid var(--olive-500); transition: background .25s; }
.diet-filter { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1rem; }
.diet-filter .chip--toggle { margin-top: 0 !important; }
.chip--vegan.is-active, .page-hero .chip--vegan.is-active { background: #cfe8c4; border-color: #cfe8c4; color: #1f5a2a; }
.chip--vegan.is-active .chip__dot { background: #2f7a3d; border-color: #2f7a3d; }
.menu__badge--vegan { background: #dcefd3 !important; color: #1f5a2a !important; white-space: nowrap; }
.page-hero .chip--toggle { margin-top: 1rem; background: transparent; color: var(--cream); border-color: rgba(247,241,229,.3); }
.page-hero .chip--toggle .chip__dot { border-color: var(--gold-light); }
.chip--toggle.is-active, .page-hero .chip--toggle.is-active { background: #e3ebd2; border-color: #e3ebd2; color: var(--olive-800); }
.chip--toggle.is-active .chip__dot { background: var(--olive-500); }

/* ---------- Kategorien ---------- */
.menu-page { padding: 2.5rem 0 1rem; }
.menu-cat { scroll-margin-top: 140px; margin-bottom: 3.5rem; }
.menu-cat__head { display: flex; align-items: center; gap: 1.2rem; margin-bottom: 1.4rem; }
.menu-cat__ar {
  flex: none; width: 76px; height: 76px; border-radius: 22px; display: grid; place-items: center;
  background: var(--olive-800); color: var(--gold-light); font-size: 1.35rem; line-height: 1;
}
.menu-cat__head h2 { font-size: clamp(1.9rem, 4vw, 2.6rem); margin: 0 0 .15rem; }
.menu-cat__head p { margin: 0; color: var(--muted); }
.menu-cat__from { display: inline-block; margin-left: .3rem; color: var(--sumac); font-weight: 600; white-space: nowrap; }

.menu-cat__list { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; }
.dish-row {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem;
  background: var(--white); border-radius: 16px; padding: 1.15rem 1.3rem;
  border: 1px solid var(--cream-dark); transition: transform .25s var(--ease), box-shadow .25s;
}
.dish-row:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -20px rgba(31,42,28,.45); }
.dish-row.is-star { border-color: rgba(201,162,39,.55); background: linear-gradient(180deg, #fffaf0, var(--white)); }
.dish-row h3 { font-size: 1.1rem; margin: 0 0 .25rem; display: flex; align-items: center; flex-wrap: wrap; gap: .4rem; }
.dish-row p { margin: 0; color: var(--muted); font-size: .92rem; line-height: 1.5; }
.dish-row__price {
  flex: none; font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; color: var(--sumac);
  background: #fbf1e6; padding: .3rem .7rem; border-radius: 10px;
}
.dish-row__side { flex: none; display: flex; flex-direction: column; align-items: flex-end; gap: .35rem; }
.dish-row__ar { font-family: var(--font-ar); font-size: .95rem; color: var(--gold); line-height: 1.3; text-align: right; direction: rtl; max-width: 9.5rem; }
.menu-empty { text-align: center; color: var(--muted); padding: 2rem 0; }
.menu-count {
  display: inline-block; margin: 1.6rem 0 0; padding: .45rem 1rem; border-radius: 999px;
  background: #e3ebd2; color: var(--olive-800); font-weight: 600; font-size: .9rem;
}
.page-menu .menu__note { text-align: center; color: var(--muted); font-size: .85rem; margin: 0 0 3rem; }

/* ---------- Handy ---------- */
@media (max-width: 860px) {
  .page-hero { padding: 104px 0 36px; }
  .chips { top: 58px; }
  .menu-cat { scroll-margin-top: 124px; margin-bottom: 2.6rem; }
  .menu-cat__list { grid-template-columns: 1fr; gap: .7rem; }
  .menu-cat__ar { width: 60px; height: 60px; border-radius: 18px; font-size: 1.1rem; }
  .dish-row { padding: 1rem 1.05rem; }
  .dish-row h3 { font-size: 1.02rem; }
  .dish-row p { font-size: .88rem; }
  .dish-row__price { font-size: 1rem; }
  .chip { padding: .5rem .95rem; font-size: .88rem; }
}
