/* ============================================
   Menu page styles
   ============================================ */

/* Page header */
.page-header {
  padding: clamp(8rem, 14vw, 11rem) var(--pad-page) clamp(3rem, 6vw, 5rem);
  background:
    radial-gradient(120% 130% at 50% 18%, rgba(11,10,9,0.32) 0%, rgba(11,10,9,0.66) 62%, rgba(11,10,9,0.88) 100%),
    linear-gradient(180deg, rgba(20,12,6,0.30) 0%, rgba(11,10,9,0.20) 55%, rgba(11,10,9,0.55) 100%),
    url('https://images.unsplash.com/photo-1513104890138-7c749659a591?w=1600&q=80&auto=format&fit=crop');
  background-size: cover;
  background-position: center;
  text-align: center;
  border-bottom: 1px solid var(--line);
}
.page-header-inner { max-width: 800px; margin: 0 auto; }
.page-header h1 {
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  color: #f6f2ec;
  margin: 0.9rem 0;
  line-height: 1.05;
  letter-spacing: -0.01em;
  text-shadow: 0 2px 28px rgba(0,0,0,0.45), 0 1px 3px rgba(0,0,0,0.3);
}
.page-header h1 em { color: #f0cf73; font-style: italic; }
.page-header p {
  color: rgba(245,240,232,0.92);
  font-size: 1.06rem;
  line-height: 1.6;
  text-shadow: 0 1px 14px rgba(0,0,0,0.35);
}
.page-header .eyebrow {
  color: #f0cf73;
  display: inline-flex;
  align-items: center;
  gap: 0.85em;
  text-shadow: 0 1px 12px rgba(0,0,0,0.45);
}
.page-header .eyebrow::before,
.page-header .eyebrow::after {
  content: "";
  display: inline-block;
  width: 30px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(240,207,115,0.85));
  vertical-align: middle;
}
.page-header .eyebrow::after { background: linear-gradient(90deg, rgba(240,207,115,0.85), transparent); }

/* Tabs */
.menu-tabs-wrap {
  position: sticky;
  top: 76px;
  z-index: 50;
  background: rgba(13, 11, 10, 0.85);
  backdrop-filter: blur(16px) saturate(130%);
  -webkit-backdrop-filter: blur(16px) saturate(130%);
  border-bottom: 1px solid var(--line);
  padding: 1rem 0;
}
.menu-tabs {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  padding: 0 var(--pad-page);
  scrollbar-width: thin;
  scrollbar-color: var(--ember-deep) transparent;
}
.menu-tabs::-webkit-scrollbar { height: 4px; }
.menu-tabs::-webkit-scrollbar-thumb { background: var(--ember-deep); border-radius: 2px; }

.menu-tab {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--ink-muted);
  padding: 0.6rem 1.25rem;
  font-family: var(--font-label);
  letter-spacing: 0.18em;
  font-size: 0.85rem;
  text-transform: uppercase;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.3s;
  border-radius: 100px;
}
.menu-tab:hover {
  color: var(--ember-bright);
  border-color: var(--ember-deep);
}
.menu-tab.active {
  background: linear-gradient(135deg, var(--ember), var(--ember-deep));
  color: #fff;
  border-color: transparent;
  box-shadow: 0 4px 18px var(--glow-warm);
}

/* Menu sections */
.menu-section {
  padding: clamp(3rem, 6vw, 5rem) var(--pad-page);
  border-bottom: 1px solid var(--line);
}
.menu-section:last-of-type { border-bottom: none; }

.menu-section .section-header h2 {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
}

/* Menu list */
.menu-list {
  max-width: 980px;
  margin: 0 auto;
  display: grid;
  gap: 0.4rem;
}
.m-item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1.2rem;
  align-items: baseline;
  padding: 0.9rem 0;
  border-bottom: 1px dashed var(--line);
  transition: background 0.3s, padding 0.3s;
}
.m-item:hover {
  background: var(--bg-card);
  padding-left: 1rem;
  padding-right: 1rem;
}
.m-no {
  font-family: var(--font-label);
  letter-spacing: 0.1em;
  color: var(--ember-bright);
  font-size: 0.95rem;
  min-width: 36px;
}
.m-body { min-width: 0; }
.m-name {
  font-size: 1.02rem;
  color: var(--ink-primary);
  line-height: 1.45;
}
.m-name sup {
  color: var(--ink-soft);
  font-size: 0.7rem;
  font-weight: 400;
  margin-left: 0.2rem;
}
.m-add {
  color: var(--ink-muted);
  font-style: italic;
  font-weight: 400;
}
.m-prices {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--ember-bright);
  font-size: 1rem;
  text-align: right;
  white-space: nowrap;
}

.m-sub {
  grid-column: 1 / -1;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.5rem;
  color: var(--ember-bright);
  margin: 2.5rem 0 0.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--line);
}

.ap-lp {
  display: flex;
  gap: 4rem;
  justify-content: center;
  font-family: var(--font-label);
  letter-spacing: 0.3em;
  color: var(--ember-bright);
  font-size: 0.85rem;
  margin-top: 1rem;
}

/* Offer cards */
.offer-section {
  background: var(--bg-soft);
}
.offers-grid {
  max-width: var(--max-w);
  margin: 0 auto 3rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}
.offer-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  padding: 2rem;
  transition: border-color 0.4s, transform 0.4s;
}
.offer-card:hover {
  border-color: var(--ember-deep);
  transform: translateY(-4px);
}
.offer-card h3 {
  font-size: 1.4rem;
  margin-bottom: 1.2rem;
  color: var(--ember-bright);
}
.offer-card h3 .m-add {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--ink-muted);
}
.offer-card ul { list-style: none; }
.offer-card li {
  display: flex;
  justify-content: space-between;
  padding: 0.7rem 0;
  border-bottom: 1px dashed var(--line);
  color: var(--ink-muted);
}
.offer-card li:last-child { border-bottom: none; }
.offer-card li strong {
  color: var(--ink-primary);
  font-family: var(--font-display);
  font-style: italic;
}

.offer-banner {
  max-width: var(--max-w);
  margin: 2rem auto 3rem;
  background:
    linear-gradient(135deg, var(--ember), var(--ember-deep));
  color: #fff;
  padding: 1.8rem 2rem;
  text-align: center;
  font-size: 1.15rem;
  border-radius: 16px;
  box-shadow: 0 10px 40px var(--glow-warm);
}
.offer-banner em {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 700;
}

.special-list {
  max-width: var(--max-w);
}
.special-list .m-item {
  grid-template-columns: 1fr;
  background: var(--bg-card);
  padding: 1.2rem 1.5rem;
  border: 1px solid var(--line);
  margin-bottom: 0.8rem;
}
.special-list .m-item:hover { background: var(--bg-elevated); padding: 1.2rem 1.5rem; }

/* Info section (Allergene & Zusatzstoffe) */
.info-section {
  background: var(--bg-soft);
  padding: 3rem var(--pad-page);
}
.info-grid {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
.info-box {
  background: var(--bg-card);
  border-left: 3px solid var(--ember-bright);
  padding: 1.8rem;
}
.info-box h3 {
  font-family: var(--font-label);
  letter-spacing: 0.25em;
  color: var(--ember-bright);
  font-size: 0.95rem;
  margin-bottom: 0.8rem;
  text-transform: uppercase;
}
.info-box p {
  color: var(--ink-muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* Responsive */
@media (max-width: 700px) {
  .m-item {
    grid-template-columns: auto 1fr;
    gap: 0.8rem;
  }
  .m-prices {
    grid-column: 2;
    text-align: left;
    font-size: 0.95rem;
    margin-top: 0.3rem;
  }
  .info-grid { grid-template-columns: 1fr; }
  .menu-tabs-wrap { top: 64px; }
}


/* ===== Category Banner Images ===== */
.cat-banner {
  width: 100%;
  height: 220px;
  border-radius: 14px;
  overflow: hidden;
  margin: 2.5rem 0 1.2rem;
  position: relative;
  box-shadow: 0 8px 24px rgba(0,0,0,0.18);
}
.cat-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}
.cat-banner:hover img {
  transform: scale(1.04);
}
.cat-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(10,9,8,0.45) 100%);
  pointer-events: none;
}
@media (max-width: 760px) {
  .cat-banner { height: 150px; margin: 1.8rem 0 1rem; border-radius: 10px; }
}


/* === MENU REFINE (interface upgrade) === */
.menu-section{ margin-bottom:64px; }
.section-header{ margin:0 0 26px; padding-bottom:14px; border-bottom:1px solid rgba(255,255,255,.08); }
.section-header h2,.section-header .m-cat-title{ letter-spacing:.3px; }
.eyebrow{ display:inline-block; font-size:.72rem; letter-spacing:.18em; text-transform:uppercase; color:#7d5a14; font-weight:700; margin-bottom:6px; }
/* item as a soft card */
.m-item{ position:relative; display:flex; align-items:center; gap:14px; padding:16px 18px; margin:10px 0; border-radius:16px; background:rgba(255,255,255,.025); border:1px solid rgba(255,255,255,.06); transition:transform .18s ease, background .18s ease, border-color .18s ease, box-shadow .18s ease; }
.m-item:hover{ transform:translateY(-2px); background:rgba(255,255,255,.05); border-color:rgba(255,122,24,.35); box-shadow:0 10px 28px -14px rgba(0,0,0,.6); }
.m-no{ flex:0 0 auto; min-width:34px; height:34px; display:inline-flex; align-items:center; justify-content:center; border-radius:9px; background:rgba(255,122,24,.12); color:#7d5a14; font-weight:700; font-size:.85rem; }
.m-body{ flex:1 1 auto; min-width:0; }
.m-name{ font-weight:600; font-size:1.02rem; line-height:1.35; display:flex; flex-wrap:wrap; align-items:baseline; gap:6px; }
.m-name .m-add{ font-weight:400; font-size:.86rem; color:rgba(36,26,19,.6); }
.m-name sup{ position:static; font-size:.8rem; font-weight:700; color:#7d5a14; margin-left:auto; }
/* prices line as subtle chips */
.m-prices{ margin-top:6px; font-size:.84rem; color:#241a13; letter-spacing:.2px; }
/* add button refine */
.m-addbtn{ flex:0 0 auto; width:40px; height:40px; border-radius:12px; border:none; cursor:pointer; font-size:1.4rem; line-height:1; font-weight:700; color:#fff; background:linear-gradient(135deg,#e8c860,#d4af37); box-shadow:0 6px 16px -6px rgba(255,94,26,.7); transition:transform .15s ease, box-shadow .15s ease, filter .15s ease; }
.m-addbtn:hover{ transform:scale(1.08); filter:brightness(1.07); box-shadow:0 8px 20px -6px rgba(255,94,26,.85); }
.m-addbtn:active{ transform:scale(.96); }
/* filter tabs refine */
.menu-tabs{ gap:8px; padding:6px 0; }
.menu-tab{ padding:8px 16px; border-radius:999px; border:1px solid rgba(255,255,255,.14); background:rgba(255,255,255,.03); color:rgba(255,255,255,.8); font-weight:600; font-size:.86rem; cursor:pointer; transition:all .16s ease; }
.menu-tab:hover{ border-color:rgba(255,122,24,.5); color:#fff; }
.menu-tab.active,.menu-tab[aria-selected="true"]{ background:linear-gradient(135deg,#e8c860,#d4af37); border-color:transparent; color:#fff; box-shadow:0 6px 16px -8px rgba(255,94,26,.8); }
@media (max-width:600px){
  .m-item{ padding:13px 14px; gap:10px; }
  .m-name{ font-size:.97rem; }
  .m-addbtn{ width:36px; height:36px; font-size:1.25rem; }
  .m-no{ min-width:30px; height:30px; }
}

/* MENU MOBILE FIX v24: prevent horizontal overflow of menu rows on phones */
@media(max-width:560px){
  .m-item{flex-wrap:wrap;padding-right:14px;row-gap:6px;align-items:center}
  .m-no{flex:0 0 auto;order:1}
  .m-body{flex:1 1 auto;min-width:0;order:2}
  .m-addbtn{flex:0 0 auto;order:3}
  .m-prices{flex:1 1 100%;white-space:normal;text-align:left;order:4;padding-left:42px}
}
