/* ==========================================================
   Timeless – digitale Speisekarte (/menu)
   Mobile first, auf dem Desktop als zentrierte Spalte.
   ========================================================== */

html { scroll-padding-top: 60px; }

.menu-page {
  --col: 640px;
  background:
    radial-gradient(120% 50% at 50% 0%, rgba(62, 240, 165, 0.10), transparent 60%),
    var(--bg);
  padding-bottom: calc(110px + env(safe-area-inset-bottom));
}

/* ---------- Kopf ---------- */

.m-hero {
  position: relative;
  max-width: var(--col);
  margin: 0 auto;
  padding: calc(64px + env(safe-area-inset-top)) 16px 34px;
  text-align: center;
  overflow: hidden;
}
.m-back {
  position: absolute;
  top: calc(16px + env(safe-area-inset-top));
  left: 16px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px 8px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--text-soft);
}
.m-back svg { width: 16px; height: 16px; }
.m-hero__glow {
  position: absolute;
  left: 50%;
  top: 30px;
  width: 340px;
  height: 200px;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(62, 240, 165, 0.22), transparent);
  filter: blur(20px);
  pointer-events: none;
}
.m-hero__title { position: relative; margin: 0; }
.m-hero__mark { width: min(70vw, 300px); margin: 0 auto; }
.m-hero__mark path {
  stroke-dasharray: 320;
  stroke-dashoffset: 320;
  animation: mDraw 1.4s var(--ease-in-out) forwards;
}
.m-hero__mark path:nth-child(2) { animation-delay: 0.06s; }
.m-hero__mark path:nth-child(3) { animation-delay: 0.12s; }
.m-hero__mark path:nth-child(4) { animation-delay: 0.18s; }
.m-hero__mark path:nth-child(5) { animation-delay: 0.24s; }
.m-hero__mark path:nth-child(6) { animation-delay: 0.3s; }
.m-hero__mark path:nth-child(7) { animation-delay: 0.36s; }
.m-hero__mark path:nth-child(8) { animation-delay: 0.42s; }
@keyframes mDraw { to { stroke-dashoffset: 0; } }

.m-hero__sub {
  margin-top: 16px;
  font-size: 11px;
  letter-spacing: 0.36em;
  text-transform: uppercase;
  color: var(--muted);
  animation: mFade 0.8s 0.6s var(--ease-out) both;
}
.m-hero__label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 26px;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 30px;
  color: var(--gold);
  animation: mFade 0.8s 0.8s var(--ease-out) both;
}
.m-hero__label span { width: 36px; height: 1px; background: currentColor; opacity: 0.5; }
@keyframes mFade { from { opacity: 0; transform: translateY(10px); } }

.m-order {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  margin-top: 22px;
  padding: 0 20px;
  border-radius: 999px;
  background: var(--neon);
  color: #03140c;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  box-shadow: 0 0 24px rgba(62, 240, 165, 0.35);
  animation: mFade 0.8s 1s var(--ease-out) both;
}
.m-order svg { width: 18px; height: 18px; }
.m-order[hidden] { display: none; }

/* ---------- Tabs ---------- */

.m-tabs {
  position: sticky;
  top: 0;
  z-index: 20;
  max-width: var(--col);
  margin: 0 auto;
  padding: 10px 0;
  background: rgba(6, 9, 8, 0.82);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: border-color 0.4s;
}
.m-tabs.is-stuck { border-bottom-color: var(--line); }
.m-tabs__track {
  position: relative;
  display: flex;
  gap: 6px;
  padding: 0 16px;
  overflow-x: auto;
  scrollbar-width: none;
  scroll-behavior: smooth;
}
.m-tabs__track::-webkit-scrollbar { display: none; }
.m-tab {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--text-soft);
  white-space: nowrap;
  transition: color 0.35s;
}
.m-tab.is-active { color: #03140c; }
.m-tabs__pill {
  position: absolute;
  z-index: 0;
  top: 0;
  left: 0;
  height: 40px;
  width: 0;
  border-radius: 999px;
  background: var(--neon);
  box-shadow: 0 0 18px rgba(62, 240, 165, 0.45);
  transition: transform 0.45s var(--ease-out), width 0.45s var(--ease-out);
}

/* ---------- Abschnitte ---------- */

.m-main { max-width: var(--col); margin: 0 auto; padding: 0 16px; }
.m-noscript { padding: 40px 0; text-align: center; color: var(--muted); }

.m-section {
  padding: 46px 0 20px;
}
.m-section + .m-section { border-top: 1px solid var(--line); }
.m-section__head { margin-bottom: 22px; }
.m-kicker {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
}
.m-section__head h2 {
  margin-top: 8px;
  font-family: var(--font-serif);
  font-size: 40px;
  font-weight: 400;
  line-height: 1.05;
}
.m-intro { margin-top: 12px; font-size: 15px; line-height: 1.6; color: var(--text-soft); }

.m-feature {
  position: relative;
  margin: 0 0 22px;
  aspect-ratio: 16 / 10;
  border-radius: 20px;
  overflow: hidden;
  background: var(--surface);
}
.m-feature img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 58%; }
.m-feature::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(6, 9, 8, 0.75), transparent 55%);
}
.m-feature__badge {
  position: absolute;
  z-index: 1;
  left: 16px;
  bottom: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--neon);
}
.m-feature__badge::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--neon-glow);
  box-shadow: 0 0 10px var(--neon-glow);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse { 50% { opacity: 0.35; } }

.m-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 18px;
}
.m-strip img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 14px;
}

/* ---------- Liste ---------- */

.m-list li {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
}
.m-list li:last-child { border-bottom: 0; }
.m-item__name { font-size: 16px; font-weight: 600; line-height: 1.35; }
.m-item__note { display: block; margin-top: 2px; font-size: 13px; font-weight: 400; color: var(--muted); }
.m-item__star {
  display: inline-block;
  margin-left: 6px;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  vertical-align: 2px;
  color: var(--neon);
  border: 1px solid rgba(62, 240, 165, 0.4);
}
.m-dots {
  flex: 1;
  min-width: 16px;
  border-bottom: 1px dotted rgba(236, 230, 220, 0.22);
  transform: translateY(-4px);
}
.m-price {
  flex-shrink: 0;
  font-family: var(--font-serif);
  font-size: 19px;
  font-variant-numeric: tabular-nums;
  color: var(--gold);
}

.m-empty {
  padding: 18px 20px;
  border-radius: 16px;
  border: 1px dashed var(--line-strong);
  font-size: 15px;
  color: var(--text-soft);
}

/* ---------- Konfigurator ---------- */

.b-step {
  margin: 0 0 14px;
  padding: 16px 16px 8px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: linear-gradient(180deg, var(--surface) 0%, rgba(16, 23, 21, 0.5) 100%);
}
.b-step legend {
  display: flex;
  align-items: center;
  gap: 10px;
  float: left;
  width: 100%;
  margin-bottom: 8px;
  padding: 0;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.b-step legend + * { clear: both; }
.b-step__num {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1px solid rgba(216, 187, 140, 0.5);
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 14px;
  letter-spacing: 0;
  color: var(--gold);
}

.b-step__hint {
  margin-left: auto;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--muted);
}

.b-opt {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 52px;
  padding: 6px 0;
  border-top: 1px solid var(--line);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.b-opt:first-of-type { border-top: 0; }
.b-opt input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.b-opt__box {
  position: relative;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 8px;
  border: 1.5px solid var(--line-strong);
  transition: background 0.3s, border-color 0.3s, box-shadow 0.3s;
}
.b-opt__box--round { border-radius: 50%; }
.b-opt__box svg {
  width: 14px;
  height: 14px;
  color: #03140c;
  stroke-dasharray: 24;
  stroke-dashoffset: 24;
  transition: stroke-dashoffset 0.35s var(--ease-out);
}
.b-opt input:checked + .b-opt__box {
  background: var(--neon);
  border-color: var(--neon);
  box-shadow: 0 0 14px rgba(62, 240, 165, 0.5);
}
.b-opt input:checked + .b-opt__box svg { stroke-dashoffset: 0; }
.b-opt input:focus-visible + .b-opt__box { outline: 2px solid var(--neon-glow); outline-offset: 3px; }
.b-opt__name { flex: 1; font-size: 16px; font-weight: 500; transition: color 0.3s; }
.b-opt input:checked ~ .b-opt__name { color: var(--neon); }
.b-opt__price {
  font-family: var(--font-serif);
  font-size: 17px;
  font-variant-numeric: tabular-nums;
  color: var(--gold);
}
.b-opt__price--add { font-family: var(--font-sans); font-size: 14px; font-weight: 600; color: var(--text-soft); }
.b-opt__price--incl { font-family: var(--font-sans); font-size: 12px; color: var(--muted); }

/* ---------- Live-Preis ---------- */

.m-total {
  position: fixed;
  left: 50%;
  bottom: calc(14px + env(safe-area-inset-bottom));
  z-index: 30;
  display: flex;
  align-items: center;
  gap: 14px;
  width: calc(100% - 24px);
  max-width: calc(var(--col) - 24px);
  padding: 12px 12px 12px 20px;
  border-radius: 22px;
  border: 1px solid rgba(62, 240, 165, 0.35);
  background: rgba(11, 16, 14, 0.88);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.8), 0 0 30px -10px rgba(62, 240, 165, 0.4);
  transform: translate(-50%, 140%);
  transition: transform 0.6s var(--ease-out);
}
.m-total.is-visible { transform: translate(-50%, 0); }
.m-total__info { flex: 1; min-width: 0; }
.m-total__label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--neon);
}
.m-total__summary {
  display: block;
  overflow: hidden;
  margin-top: 2px;
  font-size: 13px;
  white-space: nowrap;
  text-overflow: ellipsis;
  color: var(--text-soft);
}
.m-total__price { display: flex; align-items: baseline; gap: 6px; }
.m-total__price small { font-size: 11px; font-weight: 700; letter-spacing: 0.1em; color: var(--muted); }
.m-total__price strong {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  color: var(--gold);
}
.m-total__price strong.is-bump { animation: bump 0.45s var(--ease-out); }
@keyframes bump { 40% { transform: scale(1.14); color: var(--neon); } }
.m-total__reset {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid var(--line-strong);
  color: var(--text-soft);
}
.m-total__reset svg { width: 18px; height: 18px; }
.m-total__reset:active svg { transform: rotate(-120deg); transition: transform 0.4s; }

/* ---------- Einblenden ---------- */

.m-section [data-fade] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.8s var(--ease-out), transform 0.9s var(--ease-out);
}
.m-section [data-fade].is-in { opacity: 1; transform: none; }

/* ---------- Footer ---------- */

.m-footer {
  max-width: var(--col);
  margin: 30px auto 0;
  padding: 36px 16px 24px;
  border-top: 1px solid var(--line);
  text-align: center;
  font-size: 13px;
  line-height: 1.7;
  color: var(--muted);
}
.m-footer__age { margin-top: 8px; font-size: 12px; }
.m-footer__address { margin-top: 18px; color: var(--text-soft); }
.m-footer__socials { justify-content: center; margin-top: 16px; }
.m-footer__logo { display: block; width: 130px; margin: 30px auto 0; opacity: 0.85; }
.m-footer__credit { margin-top: 22px; }

/* Vorschau im Telefon-Rahmen der Startseite: ohne Zurück-Link und ohne Scrollbar */
.is-preview [data-hide-in-preview] { display: none; }
html.is-preview { scrollbar-width: none; }
html.is-preview::-webkit-scrollbar { display: none; }

@media (min-width: 700px) {
  .m-section__head h2 { font-size: 48px; }
}
