/* ═══════════════════════════════════════════════════════
   Njoy Boxmeer — Design System v3
   方向：紫色竹纹品牌侧栏 + 深色主体 + 食品摄影 + 暖橙强调
   对齐旧站视觉，精修升级
   ═══════════════════════════════════════════════════════ */

:root {
  /* 品牌色 */
  --purple-deep: #421f4a;
  --purple-dark: #361a3e;
  --purple-darker: #2a1430;
  --bg-main: #1c1c1c;
  --bg-surface: #242124;
  --bg-surface-hi: #2c282c;
  --orange-accent: #f19533;
  --orange-dim: #c48129;
  --red-cta: #ba3643;
  --text-primary: #f5f2ed;
  --text-secondary: #c8c4bd;
  --text-muted: #8a857e;
  --line: rgba(255,255,255,0.08);
  --line-strong: rgba(255,255,255,0.14);

  /* 布局 */
  --nav-w: 256px;
  --nav-w-min: 248px;
  --nav-w-max: 264px;
  --content-max: 1120px;
  --gutter: 32px;
  --gutter-sm: 20px;

  /* 间距 */
  --gap-section: 44px;
  --gap-card: 16px;
  --pad-card: 20px;
  --radius: 10px;
  --radius-sm: 8px;

  /* 字体 */
  --font-h: 'Quicksand', 'Segoe UI', sans-serif;
  --font-b: 'Lato', 'Segoe UI', sans-serif;

  /* 动效 */
  --t: 180ms;
  --ease: cubic-bezier(0.2, 0.6, 0.3, 1);

  /* 字体系统（对齐旧站） */
  --nav-fs: 16px;
  --nav-fs-mobile: 14px;
  --nav-ls: 3.5px;
  --nav-ls-mobile: 1.5px;
  --h-section-fs: 32px;
  --h-section-fs-mobile: 26px;
  --body-fs: 17px;
  --body-fs-mobile: 16px;
}

/* ═══ 基础 ═══ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scrollbar-gutter: stable;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-b);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text-primary);
  background: var(--bg-main);
  min-height: 100vh;
  min-height: 100dvh;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

a { color: var(--orange-accent); text-decoration: none; }
a:hover { text-decoration: underline; }

img { max-width: 100%; height: auto; }

/* ═══ 布局 ═══ */
.layout {
  display: grid;
  grid-template-columns: var(--nav-w) minmax(0,1fr);
  min-height: 100vh;
  min-height: 100dvh;
}

.main-content {
  min-width: 0;
  padding: 36px var(--gutter) 56px;
  max-width: var(--content-max);
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  flex: 1;
}

/* ═══ 品牌侧栏（竹纹 + 紫色） ═══ */
.navbar {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100dvh;
  background: var(--purple-deep);
  background-image:
    linear-gradient(170deg, rgba(66,31,74,0.3) 0%, rgba(54,26,62,0.45) 50%, rgba(42,20,48,0.6) 100%),
    url('../img/bg-bamboo.jpg');
  background-size: cover, cover;
  background-position: center, center;
  background-blend-mode: normal, normal;
  box-shadow: 2px 0 12px rgba(0,0,0,0.5);
  display: flex;
  flex-direction: column;
  padding: 28px 20px;
  z-index: 100;
  overflow-y: auto;
}

.navbar .logo {
  margin-bottom: 32px;
  text-align: center;
  flex-shrink: 0;
  display: block;
}

.navbar .logo img {
  width: 100%;
  max-width: 160px;
  height: auto;
  opacity: 0.92;
}

.navbar nav ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.navbar nav a {
  display: flex;
  align-items: center;
  justify-content: center;  /* 居中 */
  text-align: center;
  min-height: 46px;
  padding: 10px 14px;
  font-family: var(--font-h);
  font-size: var(--nav-fs);
  font-weight: 400;
  letter-spacing: var(--nav-ls);
  text-transform: uppercase;  /* 旧站大写 */
  color: var(--text-secondary);
  text-decoration: none;
  border-radius: var(--radius-sm);
  transition: color var(--t) var(--ease), background var(--t) var(--ease);
  position: relative;
}

@media (max-width: 979px) {
  .navbar nav a {
    font-size: var(--nav-fs-mobile);
    letter-spacing: var(--nav-ls-mobile);
  }
}

/* 防止长导航项换行（如 ONLINE BESTELLEN） */
.navbar nav a {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

/* 长项（含连字符的外链）缩小字距 */
.navbar nav a[href*="bestellen"] {
  letter-spacing: 1px;
  font-size: 13px;
}
@media (min-width: 980px) {
  .navbar nav a[href*="bestellen"] {
    letter-spacing: 2px;
    font-size: 14px;
  }
}

.navbar nav a::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 0;
  background: var(--orange-accent);
  border-radius: 2px;
  transition: height var(--t) var(--ease);
}

.navbar nav a:hover,
.navbar nav a:focus-visible,
.navbar nav a[aria-current="page"] {
  color: var(--orange-accent);
  background: rgba(255,255,255,0.05);
  outline: none;
  text-decoration: none;
}

.navbar nav a:hover::before,
.navbar nav a[aria-current="page"]::before {
  height: 55%;
}

.nav-footer {
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 13px;
  color: var(--text-muted);
  text-align: center;
  flex-shrink: 0;
}

.nav-footer a { color: var(--orange-accent); }
.nav-footer a:hover { text-decoration: underline; }

/* ═══ 移动端顶栏 ═══ */
.mobile-bar {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 60px;
  background: var(--purple-deep);
  background-image: linear-gradient(175deg, var(--purple-deep), var(--purple-dark));
  box-shadow: 0 1px 8px rgba(0,0,0,0.4);
  z-index: 180;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
}

.mobile-bar .m-logo {
  height: 36px;
  width: auto;
}

.mobile-bar .burger {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px; height: 48px; min-width: 48px; min-height: 48px;
  background: transparent;
  color: var(--text-primary);
  border: none;
  font-size: 22px;
  cursor: pointer;
  border-radius: var(--radius-sm);
}

.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 150;
}

.nav-overlay.active { display: block; }

@media (max-width: 979px) {
  .layout { grid-template-columns: 1fr; }
  .mobile-bar { display: flex; }
  .navbar {
    position: fixed;
    top: 0;
    left: -100%;
    width: min(280px, 82vw);
    height: 100vh;
    height: 100dvh;
    z-index: 200;              /* 高于 overlay(150) 和 mobile-bar(180) */
    transition: left 200ms var(--ease);
    overflow-y: auto;
    overscroll-behavior: contain;  /* 防止滚动穿透 */
    padding-top: 76px;            /* 给顶栏留空间 */
  }
  .navbar.open { left: 0; }
  .main-content {
  min-width: 0;
    padding: 76px var(--gutter-sm) 40px;
  }
}

/* nav 打开时锁定 body 滚动 */
body.nav-open {
  overflow: hidden;
  touch-action: none;
}

/* ═══ 通用组件 ═══ */

/* 页面标题 */
.page-header { margin-bottom: var(--gap-section); }

.page-title {
  font-family: var(--font-h);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: var(--h-ls, -0.02em);
  color: var(--text-primary);
}

.page-subtitle {
  font-size: 15px;
  color: var(--text-muted);
  margin-top: 4px;
}

/* 卡片 — 克制 */
.card {
  min-width: 0;
  background: var(--bg-surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: var(--pad-card);
  transition: background var(--t);
}

.card:hover { background: var(--bg-surface-hi); }

/* 按钮 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 46px;
  padding: 0 24px;
  font-family: var(--font-h);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--orange-accent);
  color: var(--orange-accent);
  background: transparent;
  cursor: pointer;
  transition: all var(--t) var(--ease);
  -webkit-tap-highlight-color: transparent;
}

.btn:hover, .btn:focus-visible {
  background: var(--orange-accent);
  color: #1a1420;
  outline: none;
}

.btn-primary {
  background: var(--red-cta);
  border-color: var(--red-cta);
  color: #fff;
}

.btn-primary:hover, .btn-primary:focus-visible {
  background: #d05058;
  border-color: #d05058;
  color: #fff;
}

/* ═══ 首页 ═══ */

/* Hero — 食物摄影 + 暗遮罩 */
.hero {
  position: relative;
  min-height: 380px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 48px 24px;
  margin-bottom: var(--gap-section);
  border-radius: var(--radius);
  overflow: hidden;
}

.hero .bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
}

.hero .bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(20, 12, 24, 0.62);
}

.hero > *:not(.bg) { position: relative; z-index: 1; }

.hero h1 {
  font-family: var(--font-h);
  font-size: clamp(30px, 4.5vw, 46px);
  font-weight: 300;
  letter-spacing: 0.01em;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.hero h1 em {
  font-style: normal;
  color: var(--orange-accent);
}

.hero p {
  font-size: 16px;
  color: var(--text-secondary);
  max-width: 480px;
  margin: 0 auto 20px;
  line-height: 1.55;
}

.hero .cta-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

/* 三项食物照片卡片 */
.food-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: var(--gap-card);
  margin-bottom: var(--gap-section);
}

@media (max-width: 767px) {
  .food-cards { grid-template-columns: 1fr; }
}

.food-card {
  position: relative;
  aspect-ratio: 4/3;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-surface);
}

.food-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 220ms var(--ease);
}

.food-card:hover img { transform: scale(1.03); }

.food-card .label {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 12px 16px;
  background: linear-gradient(transparent, rgba(15,10,18,0.85));
  font-family: var(--font-h);
  font-size: 18px;
  font-weight: 400;
  color: var(--text-primary);
  letter-spacing: 0.02em;
}

/* 信息区块 — 留白+细线，不包卡片 */
.info-section {
  padding: 24px 0;
  border-top: 1px solid var(--line);
}

.info-section h2 {
  font-family: var(--font-h);
  font-size: var(--h-section-fs);
  font-weight: 400;
  line-height: 1.2;
  color: var(--orange-accent);
  margin-bottom: 14px;
  letter-spacing: -0.01em;
}

@media (max-width: 979px) {
  .info-section h2 { font-size: var(--h-section-fs-mobile); }
}

.info-section p { color: var(--text-secondary); }

/* 表格 */
.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}

.data-table td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
}

.data-table td:last-child {
  text-align: right;
  white-space: nowrap;
  color: var(--text-secondary);
}

.data-table .closed { color: #e07070; }

/* 两栏 */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap-card);
}

@media (max-width: 639px) { .grid-2 { grid-template-columns: 1fr; } }

/* 联系 */
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.contact-item:last-child { border-bottom: none; }

.contact-item .icon { font-size: 20px; min-width: 32px; text-align: center; flex-shrink: 0; }

.contact-item .label {
  font-family: var(--font-h);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--orange-accent);
  margin-bottom: 2px;
}

.contact-item .value { color: var(--text-secondary); font-size: 15px; }

.contact-item a { color: var(--text-primary); }
.contact-item a:hover { color: var(--orange-accent); }

/* 画廊 — 2×2 */
.gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: var(--gap-card);
}

@media (max-width: 639px) { .gallery { grid-template-columns: 1fr; } }

/* ═══ Impressie 画廊 ═══ */
.gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--gap-card);
}

@media (max-width: 639px) { .gallery { grid-template-columns: 1fr; } }

/* 主图（轮播） */
.impr-hero {
  position: relative;
  width: 100%;
  aspect-ratio: 3/2;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-surface);
  margin-bottom: 12px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.45);
}

.impr-hero img {
  width: 100%; height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  background: #14100a;
  transition: opacity 220ms var(--ease);
}

.impr-hero:hover img { opacity: 0.97; }

/* 缩略图 */
.impr-thumbs {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
}

@media (max-width: 639px) { .impr-thumbs { grid-template-columns: repeat(5, 1fr); gap: 6px; } }

.impr-thumb {
  aspect-ratio: 3/2;
  border-radius: var(--radius-sm);
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color 180ms, transform 180ms;
  background: var(--bg-surface);
  padding: 0;
  position: relative;
}

.impr-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(0.85) brightness(0.9);
  transition: filter 180ms;
}

.impr-thumb:hover img,
.impr-thumb.active img {
  filter: saturate(1.05) brightness(1);
}

.impr-thumb:hover, .impr-thumb.active {
  border-color: var(--orange-accent);
  transform: translateY(-2px);
}

/* 门面横幅 */
.impr-banner {
  width: 100%;
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: var(--gap-section);
  position: relative;
  box-shadow: 0 8px 32px rgba(0,0,0,0.45);
}

.impr-banner img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  max-height: 300px;
  filter: saturate(1.05) contrast(1.02);
}

.impr-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(20, 12, 24, 0.15) 0%,
    transparent 40%,
    rgba(20, 12, 24, 0.35) 100%
  );
  pointer-events: none;
}

@media (max-width: 639px) {
  .impr-banner img { max-height: 180px; object-position: center; }
}

/* 轮播导航按钮 */
.impr-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px; height: 48px;
  min-width: 48px; min-height: 48px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(20,12,24,0.7);
  color: var(--text-primary);
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  transition: background 180ms, transform 180ms;
  -webkit-tap-highlight-color: transparent;
  z-index: 5;
  backdrop-filter: blur(4px);
}

.impr-nav:hover {
  background: rgba(186,54,67,0.9);
  transform: translateY(-50%) scale(1.05);
}

.impr-nav.prev { left: 12px; }
.impr-nav.next { right: 12px; }

.impr-counter {
  position: absolute;
  bottom: 12px; right: 14px;
  background: rgba(0,0,0,0.75);
  padding: 5px 14px;
  border-radius: 14px;
  font-size: 13px;
  font-family: var(--font-h);
  color: var(--text-secondary);
  z-index: 5;
  backdrop-filter: blur(4px);
  letter-spacing: 0.5px;
}

/* 页脚 */
.site-footer {
  margin-top: auto;
  padding-top: 36px;
  border-top: 1px solid var(--line);
  text-align: center;
  font-size: 13px;
  color: var(--text-muted);
}

/* ═══ 菜单页 ═══ */
.menu-toolbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--bg-main);
  padding: 8px 0 10px;
  margin-bottom: 12px;
}

@media (max-width: 979px) {
  .menu-toolbar { top: 60px; }
}

.menu-search { position: relative; margin-bottom: 8px; }

.menu-search input {
  width: 100%; height: 46px;
  padding: 0 14px 0 40px;
  font-size: 16px;
  font-family: var(--font-b);
  background: var(--bg-surface);
  color: var(--text-primary);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  outline: none;
  transition: border-color var(--t);
}

.menu-search input:focus { border-color: var(--orange-accent); }
.menu-search input::placeholder { color: var(--text-muted); }
.menu-search .si {
  position: absolute; left: 12px; top: 50%;
  transform: translateY(-50%);
  font-size: 15px; color: var(--text-muted);
  pointer-events: none;
}

.menu-tabs {
  display: flex; gap: 6px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding: 4px 0;
  scrollbar-width: none;
}

.menu-tabs::-webkit-scrollbar { display: none; }

.menu-tab {
  flex-shrink: 0;
  padding: 8px 14px;
  min-height: 40px;
  display: inline-flex; align-items: center;
  font-family: var(--font-h);
  font-size: 13px; font-weight: 600;
  background: var(--bg-surface);
  color: var(--text-secondary);
  border: 1px solid var(--line);
  border-radius: 18px;
  cursor: pointer;
  white-space: nowrap;
  transition: all var(--t);
  -webkit-tap-highlight-color: transparent;
}

.menu-tab.active {
  background: var(--orange-accent);
  color: #1a1420;
  border-color: var(--orange-accent);
}

/* 菜品网格 — 手机两列紧凑 */
.menu-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 10px;
}

@media (min-width: 640px) {
  .menu-grid { grid-template-columns: repeat(3, minmax(0,1fr)); gap: 14px; }
}

@media (min-width: 1024px) {
  .menu-grid { grid-template-columns: repeat(4, minmax(0,1fr)); gap: 16px; }
}

.mi-card {
  background: var(--bg-surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: background var(--t);
}

.mi-card:hover { background: var(--bg-surface-hi); }

.mi-img {
  position: relative;
  width: 100%;
  aspect-ratio: 4/3;
  background: #2a2a2e;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mi-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}

.mi-img .ph {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; color: var(--text-muted);
  background: #2a2a2e;
  z-index: 0;
  pointer-events: none;
}

.mi-img img + .ph { display: none; }
.mi-img .ph.only { display: flex; }
.mi-img .ph.err { display: flex; }

.mi-info {
  padding: 8px 10px 10px;
  flex: 1;
  display: flex; flex-direction: column; gap: 1px;
}

.mi-id {
  font-family: var(--font-h);
  font-size: 12px; font-weight: 600;
  color: var(--orange-accent);
  letter-spacing: 0.03em;
}

.mi-name {
  font-size: 14px; font-weight: 600;
  line-height: 1.35;
  color: var(--text-primary);
  word-break: break-word;
  overflow-wrap: break-word;
}

.mi-allergy {
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1.2;
}

.cat-header {
  font-family: var(--font-h);
  font-size: 16px; font-weight: 400;
  color: var(--orange-accent);
  margin-bottom: 10px;
  padding-left: 10px;
  border-left: 2px solid var(--orange-accent);
  letter-spacing: 0.02em;
}

/* 状态 */
.menu-loading { text-align: center; padding: 48px 20px; color: var(--text-muted); }
.menu-loading .spin {
  display: inline-block; width: 32px; height: 32px;
  border: 2.5px solid var(--line-strong); border-top-color: var(--orange-accent);
  border-radius: 50%; animation: mspin 1s linear infinite; margin-bottom: 10px;
}
@keyframes mspin { to { transform: rotate(360deg); } }

.menu-error { text-align: center; padding: 36px 20px; color: var(--text-muted); }
.menu-empty { text-align: center; padding: 36px 20px; color: var(--text-muted); }
.menu-meta { margin-top: 16px; text-align: center; font-size: 12px; color: var(--text-muted); }

/* ═══ 工具 ═══ */
.text-center { text-align: center; }
.text-orange { color: var(--orange-accent); }
.text-muted { color: var(--text-muted); }
.mt-2 { margin-top: 14px; }
.mt-3 { margin-top: 20px; }
.mt-4 { margin-top: 32px; }
.section { margin-bottom: var(--gap-section); }

/* 动效 — 仅轻微淡入，内容默认可见 */
.reveal { opacity: 1; transform: none; }

/* ═══ Tarieven 价格表 ═══ */
.tarief-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-bottom: 24px;
}

@media (max-width: 639px) {
  .tarief-grid { grid-template-columns: 1fr; }
}

.tarief-block {
  background: var(--bg-surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 18px 20px;
}

.tarief-title {
  font-family: var(--font-h);
  font-size: 17px;
  font-weight: 600;
  color: var(--orange-accent);
  margin-bottom: 10px;
  line-height: 1.3;
}

.tarief-time {
  font-weight: 400;
  font-size: 14px;
  color: var(--text-muted);
  display: block;
  margin-top: 2px;
}

.tarief-rules {
  margin-bottom: 24px;
  padding: 18px 20px;
  background: var(--bg-surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}

.tarief-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.tarief-list li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 10px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.tarief-list li::before {
  content: '•';
  position: absolute;
  left: 4px;
  color: var(--orange-accent);
  font-weight: 700;
}

.tarief-list li:last-child { margin-bottom: 0; }

.tarief-allergie {
  padding: 18px 20px;
  background: var(--bg-surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}

.allergie-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 10px 20px;
  margin: 12px 0;
}

.allergie-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--text-secondary);
}

.allergie-icon {
  font-size: 18px;
  min-width: 24px;
  text-align: center;
}

.allergie-icon.all-d {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border: 2px solid #e91e8c;
  border-radius: 50%;
  color: #e91e8c;
  font-weight: 700;
  font-size: 13px;
}

.tarief-disclaimer {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}


/* ═══ 语言选择器 ═══ */
.lang-switcher {
  display: flex;
  gap: 4px;
  justify-content: center;
  padding: 10px 0 4px;
  margin-bottom: 8px;
}

.lang-switcher button {
  flex: 1;
  padding: 5px 8px;
  font-family: var(--font-h);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 180ms var(--ease);
  min-height: 30px;
}

.lang-switcher button:hover {
  border-color: var(--orange-accent);
  color: var(--orange-accent);
}

.lang-switcher button.active {
  background: var(--orange-accent);
  border-color: var(--orange-accent);
  color: #1a1420;
}

/* 移动端顶栏的语言选择器 */
@media (max-width: 979px) {
  .lang-switcher {
    padding: 8px 0 2px;
  }
  .lang-switcher button {
    font-size: 11px;
    min-height: 28px;
  }
}


/* ═══ 菜单类型选择中间层 ═══ */
.menu-choice {
  padding: 8px 0 24px;
}

.choice-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 24px;
}

.choice-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  padding: 32px 24px;
  background: var(--bg-surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 220ms var(--ease);
  min-height: 220px;
  justify-content: center;
  color: var(--text-primary);
  font-family: var(--font-b);
}

.choice-card:hover,
.choice-card:focus-visible {
  border-color: var(--orange-accent);
  background: var(--bg-surface-hi);
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
  outline: none;
}

.choice-icon {
  font-size: 48px;
  line-height: 1;
  margin-bottom: 4px;
}

.choice-card h2 {
  font-family: var(--font-h);
  font-size: 20px;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0;
}

.choice-card p {
  font-size: 14px;
  color: var(--text-muted);
  margin: 0;
  max-width: 240px;
  line-height: 1.5;
}

.choice-cta {
  margin-top: 8px;
  font-family: var(--font-h);
  font-size: 13px;
  font-weight: 600;
  color: var(--orange-accent);
  letter-spacing: 0.3px;
}

/* 返回按钮 */
.back-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  margin-bottom: 12px;
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  font-family: var(--font-h);
  font-size: 13px;
  cursor: pointer;
  transition: all 180ms var(--ease);
  min-height: 36px;
}

.back-btn:hover {
  border-color: var(--orange-accent);
  color: var(--orange-accent);
}

/* 外带菜单图片 */
.afhaal-wrap {
  margin-top: 12px;
  background: var(--bg-surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 12px;
  overflow-x: auto;
}

.afhaal-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 4px;
}

@media (max-width: 639px) {
  .choice-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .choice-card {
    padding: 24px 18px;
    min-height: 180px;
  }
  .choice-icon { font-size: 40px; }
  .choice-card h2 { font-size: 18px; }
}


/* ═══ 寿司拼盘 ═══ */
.box-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 16px;
  margin-top: 12px;
}

.box-card {
  background: var(--bg-surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: border-color 180ms;
}

.box-card:hover {
  border-color: rgba(241, 149, 51, 0.4);
}

.box-head {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
  padding: 14px 16px;
  background: rgba(241, 149, 51, 0.08);
  border-bottom: 1px solid var(--line);
}

.box-head h3 {
  font-family: var(--font-h);
  font-size: 16px;
  font-weight: 600;
  color: var(--orange-accent);
  margin: 0;
  flex: 1;
  min-width: 120px;
}

.box-count {
  font-size: 12px;
  color: var(--text-muted);
  background: rgba(255,255,255,0.06);
  padding: 2px 8px;
  border-radius: 10px;
}

.box-price {
  font-family: var(--font-h);
  font-size: 17px;
  font-weight: 600;
  color: var(--text-primary);
}

.box-inhoud {
  list-style: none;
  padding: 8px 16px 14px;
  margin: 0;
}

.box-inhoud li {
  display: flex;
  justify-content: space-between;
  padding: 5px 0;
  font-size: 13px;
  color: var(--text-secondary);
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

.box-inhoud li:last-child {
  border-bottom: none;
}

.box-inhoud .st {
  color: var(--text-muted);
  font-size: 12px;
}

/* ═══ Poke Bowl ═══ */
.poke-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 8px;
  margin-top: 8px;
}

.poke-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: var(--bg-surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-size: 14px;
}

.poke-id {
  color: var(--text-muted);
  font-size: 12px;
  min-width: 24px;
}

.poke-naam {
  flex: 1;
  color: var(--text-primary);
}

.poke-price {
  font-family: var(--font-h);
  font-weight: 600;
  color: var(--orange-accent);
  white-space: nowrap;
}

@media (max-width: 639px) {
  .box-grid, .poke-grid {
    grid-template-columns: 1fr;
  }
}


/* ═══ 外带菜单浏览 ═══ */
.afhaal-controls {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 20px;
  flex-wrap: wrap;
  position: sticky;
  top: 0;
  background: var(--bg-main);
  padding: 10px 0 12px;
  z-index: 20;
  border-bottom: 1px solid transparent;
  transition: border-color 200ms, box-shadow 200ms;
}

/* 滚动后出现分隔线（JS 添加 .is-stuck） */
.afhaal-controls.is-stuck {
  border-bottom-color: var(--line);
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
}

.afhaal-tabs {
  display: flex;
  gap: 6px;
}

.afhaal-tab {
  padding: 8px 16px;
  min-height: 40px;
  font-family: var(--font-h);
  font-size: 13px;
  font-weight: 600;
  background: var(--bg-surface);
  color: var(--text-secondary);
  border: 1px solid var(--line);
  border-radius: 18px;
  cursor: pointer;
  white-space: nowrap;
  transition: all 180ms var(--ease);
}

.afhaal-tab.active {
  background: var(--orange-accent);
  color: #1a1420;
  border-color: var(--orange-accent);
}

.afhaal-search {
  flex: 1;
  min-width: 180px;
}

.afhaal-search input {
  width: 100%;
  height: 40px;
  padding: 0 14px;
  font-size: 14px;
  background: var(--bg-surface);
  color: var(--text-primary);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  outline: none;
}

.afhaal-search input:focus {
  border-color: var(--orange-accent);
}

/* 菜单列表 */
.afhaal-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 4px 20px;
}

.afhaal-item {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 7px 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  font-size: 14px;
}

.afhaal-id {
  color: var(--text-muted);
  font-size: 12px;
  min-width: 28px;
}

.afhaal-naam {
  flex: 1;
  color: var(--text-primary);
  line-height: 1.4;
}

.afhaal-price {
  font-family: var(--font-h);
  font-weight: 600;
  color: var(--orange-accent);
  white-space: nowrap;
}

.afhaal-desc {
  font-size: 12px;
  color: var(--text-muted);
  padding: 0 0 8px 36px;
  line-height: 1.5;
  margin: 0;
}

/* 盒子描述 */
.box-desc {
  padding: 10px 16px 14px;
  font-size: 12.5px;
  color: var(--text-secondary);
  line-height: 1.55;
  margin: 0;
}

/* Catering 信息 */
.catering-info {
  margin-top: 16px;
  padding: 14px 18px;
  background: rgba(241, 149, 51, 0.08);
  border: 1px solid rgba(241, 149, 51, 0.25);
  border-radius: var(--radius-sm);
}

.catering-info p {
  margin: 4px 0;
  font-size: 13.5px;
  color: var(--text-secondary);
}

/* 原图折叠 */
.afhaal-original {
  margin-top: 32px;
  border-top: 1px solid var(--line);
  padding-top: 20px;
}

.afhaal-original summary {
  cursor: pointer;
  font-family: var(--font-h);
  font-size: 14px;
  color: var(--text-muted);
  padding: 8px 0;
  user-select: none;
}

.afhaal-original summary:hover {
  color: var(--orange-accent);
}

.afhaal-original .afhaal-wrap {
  margin-top: 12px;
}

@media (max-width: 979px) {
  /* 移动端：让 Tab + 搜索吸附在 60px 顶栏之下 */
  .afhaal-controls {
    position: sticky;
    top: 60px;
    z-index: 30;
    margin-left: calc(var(--gutter-sm) * -1);
    margin-right: calc(var(--gutter-sm) * -1);
    padding: 10px var(--gutter-sm) 12px;
    background: var(--bg-main);
  }
}

@media (max-width: 639px) {
  .afhaal-controls {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }
  .afhaal-tabs {
    justify-content: center;
    gap: 8px;
  }
  .afhaal-tab {
    flex: 1;
    justify-content: center;
    min-height: 44px;
    font-size: 14px;
  }
  .afhaal-list {
    grid-template-columns: 1fr;
  }
}


/* ═══════════════════════════════════════════════════
   背景特效 — 菜品图片模糊叠层
   用于暗色区块增加视觉层次，不影响文字阅读
   ═══════════════════════════════════════════════════ */

.fx-bg {
  position: relative;
  isolation: isolate;
}

.fx-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: var(--fx-image);
  background-size: cover;
  background-position: center;
  filter: blur(48px) saturate(1.4) brightness(0.7);
  opacity: 0.18;
  z-index: -1;
  pointer-events: none;
  /* 边缘渐隐，避免硬边 */
  mask-image: radial-gradient(ellipse 90% 90% at 50% 50%, black 40%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 90% 90% at 50% 50%, black 40%, transparent 100%);
}

/* 更强烈的版本（用于 hero/CTA 区） */
.fx-bg-strong::before {
  filter: blur(28px) saturate(1.6) brightness(0.55);
  opacity: 0.35;
}

/* 移动端降低强度（性能） */
@media (max-width: 979px) {
  .fx-bg::before {
    filter: blur(36px) saturate(1.3) brightness(0.65);
    opacity: 0.14;
  }
  .fx-bg-strong::before {
    filter: blur(24px) saturate(1.4) brightness(0.5);
    opacity: 0.28;
  }
}

/* reduced-motion 用户关闭特效 */
@media (prefers-reduced-motion: reduce) {
  .fx-bg::before { display: none; }
}
