/* =========================================================================
   Rod Osha Thai Street Food – Stylesheet
   Aufbau: Tokens · Basis · Bausteine · Header · Hero · Sektionen ·
           Speisekarte · Dialoge · Warenkorb · Footer · Animationen
   ========================================================================= */

/* ---------- Tokens ---------- */
:root {
  --black: #0b0d0b;
  --ink: #06301a;
  --ink-2: #0a3a20;
  --green-900: #010e06;
  --green-800: #072a17;
  --green-700: #0a3520;
  --green-600: #155c33;
  --gold: #c9a24a;
  --gold-light: #e6cb80;
  --gold-dark: #8f6f2a;
  --on-gold: #1a1405;
  --cream: #f3ebd8;
  --muted: #b3ad9c;
  --faint: #8f8a7b;
  --line: rgba(201, 162, 74, 0.22);
  --line-soft: rgba(201, 162, 74, 0.14);
  --line-strong: rgba(201, 162, 74, 0.5);
  --ok: #5fd08a;
  --closed: #e2765f;
  --danger: #f08a73;
  --chili: #e0442e;

  --font-display: "Cormorant Garamond", "Noto Serif Thai", Georgia, "Times New Roman", serif;
  --font-body: "Jost", "Noto Serif Thai", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-caps: "Cinzel", "Cormorant Garamond", Georgia, serif;
  --font-thai: "Noto Serif Thai", Thonburi, "Leelawadee UI", Tahoma, serif;

  --radius: 18px;
  --radius-sm: 12px;
  --container: 1200px;
  --header-h: 72px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.7);
  --glow: 0 0 0 1px rgba(201, 162, 74, 0.35), 0 18px 40px -18px rgba(201, 162, 74, 0.35);
  --gold-gradient: linear-gradient(135deg, var(--gold-light), var(--gold) 55%, var(--gold-dark));

  /* Thai-Seidenmuster (eigener Entwurf) – grün für grüne, gold für schwarze Flächen */
  --pattern-silk: url("../assets/pattern-green.svg");
  --pattern-silk-gold: url("../assets/pattern-gold.svg");
  /* Ornamentband */
  --pattern-border: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='16' viewBox='0 0 28 16'%3E%3Cpath d='M14 2C15.2 5.4 16.6 6.8 20 8C16.6 9.2 15.2 10.6 14 14C12.8 10.6 11.4 9.2 8 8C11.4 6.8 12.8 5.4 14 2Z' fill='none' stroke='%23c9a24a' stroke-width='.9'/%3E%3Ccircle cx='14' cy='8' r='1.3' fill='%23c9a24a'/%3E%3Cpath d='M0 8H6M22 8H28' stroke='%23c9a24a' stroke-width='.9'/%3E%3C/svg%3E");
  --chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23c9a24a' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");

  color-scheme: dark;
}

/* ---------- Basis ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--black);
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

body:has(dialog[open]) {
  overflow: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-weight: 600;
  line-height: 1.15;
}

p {
  margin: 0;
}

[lang="th"],
.thai {
  font-family: var(--font-thai);
}

:focus-visible {
  outline: 2px solid var(--gold-light);
  outline-offset: 3px;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 200;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--gold);
  color: var(--on-gold);
  font-weight: 700;
  text-decoration: none;
  transition: top 0.2s;
}

.skip-link:focus {
  top: 12px;
}

.container {
  width: min(100% - 32px, var(--container));
  margin-inline: auto;
}

.icon {
  width: 1.25em;
  height: 1.25em;
  flex: none;
}

/* ---------- Bausteine ---------- */
.btn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55em;
  min-height: 48px;
  padding: 0.75em 1.6em;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s var(--ease), box-shadow 0.2s, background-color 0.2s, border-color 0.2s, color 0.2s;
}

.btn--gold {
  background: var(--gold-gradient) border-box;
  color: var(--on-gold);
  box-shadow: 0 10px 30px -12px rgba(201, 162, 74, 0.6);
}

.btn--gold::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.45) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 0.7s var(--ease);
}

.btn--gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px -12px rgba(201, 162, 74, 0.75);
}

.btn--gold:hover::after {
  transform: translateX(120%);
}

.btn--ghost {
  border-color: var(--line-strong);
  background: rgba(201, 162, 74, 0.04);
  color: var(--gold-light);
}

.btn--ghost:hover {
  border-color: var(--gold);
  background: rgba(201, 162, 74, 0.1);
}

.btn--block {
  width: 100%;
}

.btn--text {
  min-height: 44px;
  padding: 0 12px;
  background: none;
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.btn--text:hover {
  color: var(--gold-light);
}

.btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.icon-btn {
  flex: none;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(2, 26, 12, 0.65);
  color: var(--cream);
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
}

.icon-btn:hover {
  border-color: var(--gold);
  color: var(--gold-light);
}

.link {
  color: var(--gold-light);
  text-decoration: underline;
  text-decoration-color: rgba(230, 203, 128, 0.4);
  text-underline-offset: 3px;
}

.link:hover {
  text-decoration-color: currentColor;
}

.orn {
  width: 300px;
  max-width: 80%;
  height: 19px;
  margin: 20px auto;
  color: var(--gold);
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-body);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--muted);
  white-space: nowrap;
}

.status:empty {
  display: none;
}

.status::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--closed);
  box-shadow: 0 0 0 3px rgba(226, 118, 95, 0.18);
}

.status.is-open {
  color: var(--cream);
}

.status.is-open::before {
  background: var(--ok);
  animation: pulse 2.4s infinite;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 9px;
  border: 1px solid rgba(95, 208, 138, 0.25);
  border-radius: 999px;
  background: rgba(11, 106, 44, 0.35);
  color: #cfe9da;
  font-size: 0.72rem;
  font-weight: 700;
}

.tag .icon {
  width: 13px;
  height: 13px;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.notice {
  margin: 12px 20px 0;
  padding: 10px 14px;
  border: 1px solid rgba(95, 208, 138, 0.25);
  border-radius: 10px;
  background: rgba(11, 106, 44, 0.25);
  color: #cfe9da;
  font-size: 0.85rem;
}

.notice--warn {
  border-color: rgba(226, 118, 95, 0.35);
  background: rgba(226, 118, 95, 0.12);
  color: #f6c9bd;
}

.notice code {
  font-size: 0.9em;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  border-bottom: 1px solid transparent;
  transition: background-color 0.3s, border-color 0.3s;
}

.site-header.is-scrolled,
.site-header:has(.nav.is-open) {
  border-bottom-color: var(--line);
  background: rgba(1, 36, 13, 0.85);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
}

.site-header__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 100%;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--cream);
  text-decoration: none;
}

.brand__logo {
  width: auto;
  height: 54px;
}

.site-footer .brand__logo {
  height: 80px;
}

.nav {
  display: flex;
  gap: 28px;
  margin-left: auto;
}

.nav a {
  position: relative;
  padding: 6px 0;
  color: var(--cream);
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  opacity: 0.85;
  transition: opacity 0.2s;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform 0.25s var(--ease);
}

.nav a:hover {
  opacity: 1;
}

.nav a:hover::after {
  transform: scaleX(1);
}

.site-header__actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.cart-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(201, 162, 74, 0.06);
  color: var(--gold-light);
  font-weight: 700;
  cursor: pointer;
  transition: border-color 0.2s, background-color 0.2s;
}

.cart-btn:hover {
  border-color: var(--gold);
  background: rgba(201, 162, 74, 0.12);
}

.cart-btn.is-bump {
  animation: bump 0.45s var(--ease);
}

.cart-count {
  display: inline-grid;
  place-items: center;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--gold);
  color: var(--on-gold);
  font-size: 0.75rem;
  font-weight: 800;
}

.nav-toggle {
  display: none;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: none;
  color: var(--cream);
  cursor: pointer;
}

@media (max-width: 1100px) {
  .status--header {
    display: none;
  }
}

@media (max-width: 1100px) {
  .nav-toggle {
    display: grid;
  }

  .nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    padding: 8px 16px 20px;
    border-bottom: 1px solid var(--line);
    background: rgba(2, 26, 12, 0.97);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.25s, transform 0.25s var(--ease), visibility 0.25s;
  }

  .nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .nav a {
    padding: 14px 4px;
    border-bottom: 1px solid var(--line-soft);
    font-size: 1.05rem;
  }

  .nav a::after {
    display: none;
  }

  .site-header__actions {
    margin-left: auto;
    gap: 10px;
  }

  .cart-btn {
    padding: 0 12px;
  }

  .cart-btn__label {
    display: none;
  }

  .brand__logo {
    height: 46px;
  }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: min(100svh, 980px);
  margin-top: calc(-1 * var(--header-h));
  padding: calc(var(--header-h) + 28px) 0 clamp(96px, 14vw, 160px);
  text-align: center;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(55% 40% at 50% 34%, rgba(230, 203, 128, 0.09), transparent 70%),
    linear-gradient(180deg, #022a10 0%, #011c0a 55%, #010e06 100%);
}

.hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--pattern-silk);
  -webkit-mask-image: linear-gradient(90deg, #000 6%, rgba(0, 0, 0, 0.5) 14%, transparent 26%, transparent 74%, rgba(0, 0, 0, 0.5) 86%, #000 94%);
  mask-image: linear-gradient(90deg, #000 6%, rgba(0, 0, 0, 0.5) 14%, transparent 26%, transparent 74%, rgba(0, 0, 0, 0.5) 86%, #000 94%);
}

.hero__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: clamp(32px, 7vh, 88px);
}

.hero__logo {
  width: min(660px, 92vw);
  margin: 0 0 22px;
}

.hero__logo img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 12px 40px rgba(0, 0, 0, 0.45));
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.eyebrow > span {
  display: block;
  line-height: 1;
}

.eyebrow__thai {
  font-size: 1rem;
  letter-spacing: 0.04em;
  text-transform: none;
  /* Thai-Schrift hat oben Platz für Vokalzeichen – optisch auf die Mittellinie setzen */
  transform: translateY(-0.18em);
}

.eyebrow__dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.7;
}

.eyebrow__latin {
  margin-right: -0.28em; /* Laufweite am Ende ausgleichen, damit alles mittig steht */
}

.hero__lead {
  max-width: 36ch;
  color: var(--muted);
  font-size: clamp(1rem, 2.4vw, 1.15rem);
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  width: min(100%, 440px);
  margin-top: 30px;
}

.hero__cta .btn {
  flex: 1 1 180px;
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 22px;
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 0.88rem;
}

.hero__meta li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero__meta .icon {
  color: var(--gold);
}

.hero__thai {
  position: absolute;
  z-index: -1;
  left: 50%;
  bottom: -0.3em;
  transform: translateX(-50%);
  color: transparent;
  font-size: clamp(6rem, 26vw, 19rem);
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  -webkit-text-stroke: 1px rgba(201, 162, 74, 0.2);
  pointer-events: none;
  user-select: none;
}

/* ---------- Vorteile ---------- */
.features {
  position: relative;
  border-block: 1px solid var(--line);
  background: linear-gradient(180deg, var(--green-900), #010f05);
}

.features::before,
.features::after,
.pattern-bg::before,
.pattern-bg::after,
.site-footer::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 16px;
  background: var(--pattern-border) repeat-x center / 28px 16px;
  opacity: 0.5;
  pointer-events: none;
}

.features::before,
.pattern-bg::before {
  top: 10px;
}

.features::after,
.pattern-bg::after {
  bottom: 10px;
}

.features__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  padding-block: 60px;
}

.feature {
  display: flex;
  align-items: flex-start;
  gap: 18px;
}

.feature__icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin: 4px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: radial-gradient(circle, rgba(201, 162, 74, 0.16), transparent 70%);
  color: var(--gold-light);
  transform: rotate(45deg);
}

.feature__icon .icon {
  transform: rotate(-45deg);
}

.feature__title {
  margin-bottom: 4px;
  font-family: var(--font-display);
  font-size: 1.3rem;
}

.feature p {
  color: var(--muted);
  font-size: 0.9rem;
}

@media (max-width: 1000px) {
  .features__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .features__grid {
    grid-template-columns: 1fr;
    gap: 22px;
    padding-block: 52px;
  }
}

/* ---------- Sektionen ---------- */
.section {
  position: relative;
  padding-block: clamp(72px, 10vw, 128px);
}

.pattern-bg {
  background-color: var(--green-800);
  background-image: radial-gradient(80% 60% at 50% 0%, rgba(11, 106, 44, 0.5), transparent 70%);
}

.pattern-bg > * {
  position: relative;
  z-index: 1;
}

/* Ornamentband oben und unten in einer Ebene, Muster nur an den Seiten */
.pattern-bg::before {
  bottom: 10px;
  height: auto;
  background:
    var(--pattern-border) repeat-x top / 28px 16px,
    var(--pattern-border) repeat-x bottom / 28px 16px;
}

.pattern-bg::after {
  top: 0;
  bottom: 0;
  height: auto;
  background: var(--pattern-silk);
  opacity: 1;
  -webkit-mask-image: linear-gradient(90deg, #000 6%, rgba(0, 0, 0, 0.5) 14%, transparent 26%, transparent 74%, rgba(0, 0, 0, 0.5) 86%, #000 94%);
  mask-image: linear-gradient(90deg, #000 6%, rgba(0, 0, 0, 0.5) 14%, transparent 26%, transparent 74%, rgba(0, 0, 0, 0.5) 86%, #000 94%);
}

.section-head {
  max-width: 680px;
  margin: 0 auto clamp(40px, 6vw, 60px);
  text-align: center;
}

.section-head__thai {
  margin-bottom: 6px;
  color: var(--gold);
  font-size: 1.1rem;
  letter-spacing: 0.06em;
}

.section-head__title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.4rem);
}

.section-head .orn {
  margin: 18px auto;
}

.section-head__lead {
  color: var(--muted);
  font-size: 1.05rem;
}

.section-head--left {
  margin-inline: 0;
  text-align: left;
}

.section-head--left .orn {
  margin-left: 0;
}

/* ---------- Goldene Thai-Akzente auf schwarzen Flächen ---------- */
.thai-accents {
  --corner: clamp(40px, 4vw, 62px);
  isolation: isolate;
}

.thai-accents > * {
  position: relative;
  z-index: 1;
}

/* Prajam-Yam-Gitter (nur an den Rändern) – unterhalb der Ecken */
.thai-accents::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: var(--pattern-silk-gold);
  pointer-events: none;
  -webkit-mask-image: linear-gradient(90deg, #000 6%, rgba(0, 0, 0, 0.5) 14%, transparent 26%, transparent 74%, rgba(0, 0, 0, 0.5) 86%, #000 94%);
  mask-image: linear-gradient(90deg, #000 6%, rgba(0, 0, 0, 0.5) 14%, transparent 26%, transparent 74%, rgba(0, 0, 0, 0.5) 86%, #000 94%);
}

/* Ornamentbänder an den Seiten wie Tempelsäulen (breite Bildschirme) */
@media (min-width: 1360px) {
  .thai-accents::before {
    background:
      url("../assets/thai-column.svg") left 30px top calc(var(--corner) + 48px) / 16px auto no-repeat,
      url("../assets/thai-column.svg") right 30px top calc(var(--corner) + 48px) / 16px auto no-repeat,
      var(--pattern-silk-gold);
  }
}

/* Abgestufte Rahmenecken oben */
.thai-accents::after {
  content: "";
  position: absolute;
  inset: 16px 16px auto;
  z-index: 0;
  height: var(--corner);
  background:
    url("../assets/thai-corner.webp") left top / contain no-repeat,
    url("../assets/thai-corner-r.webp") right top / contain no-repeat;
  opacity: 0.6;
  pointer-events: none;
}

/* ---------- Speisekarte ---------- */
.menu__controls {
  display: grid;
  gap: 16px;
  margin-bottom: 20px;
}

.search {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 540px;
  margin-inline: auto;
}

.search .icon {
  position: absolute;
  left: 18px;
  color: var(--gold);
  pointer-events: none;
}

.search input {
  width: 100%;
  min-height: 52px;
  padding: 0 20px 0 50px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--ink);
  font-size: 1rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.search input::placeholder {
  color: var(--faint);
}

.search input:focus {
  border-color: var(--gold);
  outline: none;
  box-shadow: 0 0 0 4px rgba(201, 162, 74, 0.15);
}

.tabs {
  display: flex;
  gap: 8px;
  padding: 4px 2px;
  overflow-x: auto;
  scrollbar-width: none;
}

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

.tabs > :first-child {
  margin-left: auto;
}

.tabs > :last-child {
  margin-right: auto;
}

.tab {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: none;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.2s, background-color 0.2s, color 0.2s;
}

.tab:hover {
  border-color: var(--line-strong);
}

.tab .thai {
  color: var(--gold);
  font-size: 0.78rem;
}

.tab[aria-pressed="true"] {
  border-color: transparent;
  background: var(--gold-gradient) border-box;
  color: var(--on-gold);
}

.tab[aria-pressed="true"] .thai {
  color: #3d2f0b;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 38px;
  padding: 0 14px;
  border: 1px dashed var(--line-strong);
  border-radius: 999px;
  background: none;
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.2s, background-color 0.2s, color 0.2s;
}

.chip .icon {
  width: 16px;
  height: 16px;
  color: var(--gold);
}

.chip[aria-pressed="true"] {
  border-style: solid;
  border-color: var(--gold);
  background: rgba(201, 162, 74, 0.12);
  color: var(--gold-light);
}

.menu__count {
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 0.85rem;
  text-align: center;
}

.menu-cat {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin: 56px 0 22px;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.1rem);
}

.menu-cat:first-child {
  margin-top: 0;
}

.menu-cat .thai {
  color: var(--gold);
  font-size: 1rem;
  font-weight: 400;
}

.menu-cat::after {
  content: "";
  flex: 1;
  align-self: center;
  height: 1px;
  background: linear-gradient(90deg, var(--line-strong), transparent);
}

.dish-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 290px), 1fr));
  gap: 22px;
}

.dish {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--ink-2), var(--ink));
  transition: transform 0.35s var(--ease), border-color 0.35s, box-shadow 0.35s;
}

.dish:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
  box-shadow: var(--glow);
}

.dish__media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  cursor: pointer;
}

.dish__media img,
.modal__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.dish:hover .dish__media img,
.dish:hover .ph {
  transform: scale(1.04);
}

/* Gestalteter Bild-Platzhalter */
.ph {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 50% 45%, var(--green-600), var(--green-900) 72%);
  transition: transform 0.6s var(--ease);
}

.ph::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--pattern-silk);
}

.ph::after {
  content: "";
  position: absolute;
  width: min(62%, 220px);
  aspect-ratio: 1;
  border: 1px solid rgba(230, 203, 128, 0.35);
  border-radius: 50%;
  box-shadow: inset 0 0 0 8px rgba(230, 203, 128, 0.05);
}

.ph__thai {
  position: relative;
  z-index: 1;
  padding: 0 14%;
  color: var(--gold-light);
  font-size: clamp(1.4rem, 4.5vw, 1.9rem);
  line-height: 1.4;
  text-align: center;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.45);
}

.dish__badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  padding: 4px 10px;
  border: 1px solid var(--gold);
  border-radius: 999px;
  background: rgba(2, 26, 12, 0.75);
  color: var(--gold-light);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.dish__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 12px;
  padding: 20px 20px 18px;
}

.dish__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.dish__name {
  font-family: var(--font-display);
  font-size: 1.55rem;
  line-height: 1.1;
}

.dish__sub {
  display: block;
  margin-top: 4px;
  color: var(--gold);
  font-size: 0.8rem;
}

.spice {
  flex: none;
  display: inline-flex;
  margin-top: 6px;
  color: var(--gold);
}

.spice .icon {
  width: 16px;
  height: 16px;
}

.dish__desc {
  color: var(--muted);
  font-size: 0.92rem;
}

.dish__ingredients {
  color: #d8d0bc;
  font-size: 0.82rem;
  line-height: 1.55;
}

.label-caps {
  display: block;
  margin-bottom: 4px;
  color: var(--gold);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.dish__allergens {
  color: var(--faint);
  font-size: 0.74rem;
}

.dish__foot {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--line-soft);
}

.price {
  margin-right: auto;
  color: var(--gold-light);
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1;
}

/* Pfand-Hinweis (Dosen, Flaschen) – laut PAngV neben dem Preis */
.price__deposit {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 400;
}

.price small {
  margin-right: 4px;
  color: var(--muted);
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
}

.dish__foot .btn {
  min-height: 44px;
  padding: 0 16px;
  font-size: 0.85rem;
}

.add-btn {
  flex: none;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: var(--gold-gradient);
  color: var(--on-gold);
  cursor: pointer;
  transition: transform 0.25s var(--ease);
}

.add-btn:hover {
  transform: scale(1.08) rotate(90deg);
}

.menu-empty {
  display: grid;
  justify-items: center;
  gap: 12px;
  padding: 48px 16px;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  color: var(--muted);
  text-align: center;
}

.allergen-legend {
  margin-top: 56px;
  padding: 0 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--ink);
}

.allergen-legend summary {
  display: flex;
  align-items: center;
  min-height: 56px;
  color: var(--gold-light);
  font-weight: 700;
  list-style: none;
  cursor: pointer;
}

.allergen-legend summary::-webkit-details-marker {
  display: none;
}

.allergen-legend summary::after {
  content: "+";
  margin-left: auto;
  color: var(--gold);
  font-size: 1.4rem;
}

.allergen-legend[open] summary::after {
  content: "–";
}

.allergen-legend__list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 6px 20px;
  margin: 0 0 16px;
  font-size: 0.88rem;
}

.allergen-legend__list div {
  display: flex;
  gap: 10px;
}

.allergen-legend__list dt {
  width: 1.2em;
  color: var(--gold);
  font-weight: 800;
}

.allergen-legend__list dd {
  margin: 0;
  color: var(--muted);
}

.allergen-legend > p {
  padding-bottom: 20px;
  color: var(--muted);
  font-size: 0.85rem;
}

/* ---------- Speisekarte kompakter ab Tablet/Desktop ---------- */
@media (min-width: 641px) {
  .menu .section-head {
    margin-bottom: 32px;
  }

  .menu-cat {
    margin: 40px 0 16px;
    font-size: clamp(1.4rem, 2.2vw, 1.75rem);
  }

  .dish-grid {
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 235px), 1fr));
    gap: 16px;
  }

  .dish__media {
    aspect-ratio: 16 / 8;
  }

  .ph::after {
    width: min(46%, 120px);
  }

  .ph__thai {
    font-size: 1.2rem;
  }

  .dish__badge {
    top: 8px;
    left: 8px;
    padding: 3px 8px;
    font-size: 0.6rem;
  }

  .dish__body {
    gap: 8px;
    padding: 14px 14px 12px;
  }

  .dish__name {
    font-size: 1.25rem;
  }

  .dish__sub {
    font-size: 0.72rem;
  }

  .spice .icon {
    width: 13px;
    height: 13px;
  }

  .dish__desc,
  .dish__ingredients {
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
  }

  .dish__desc {
    font-size: 0.82rem;
    line-height: 1.45;
  }

  .dish__ingredients {
    font-size: 0.74rem;
    line-height: 1.5;
  }

  .label-caps {
    display: inline;
    margin: 0 6px 0 0;
    font-size: 0.6rem;
  }

  .tag {
    padding: 2px 7px;
    font-size: 0.66rem;
  }

  .dish__allergens {
    font-size: 0.68rem;
  }

  .dish__foot {
    padding-top: 10px;
  }

  .price {
    font-size: 1.3rem;
  }

  .dish__foot .btn {
    min-height: 36px;
    padding: 0 12px;
    font-size: 0.68rem;
  }

  .add-btn {
    width: 36px;
    height: 36px;
  }
}

/* ---------- Speisekarte kompakt auf dem Handy ---------- */
@media (max-width: 640px) {
  .menu .section-head {
    margin-bottom: 24px;
  }

  .menu .section-head__lead {
    font-size: 0.92rem;
  }

  /* Suche, Kategorien und Filter lösen sich aus ihrer Box, damit die Kategorien anheften können */
  .menu__controls {
    display: contents;
  }

  .search {
    margin-bottom: 10px;
  }

  .search input {
    min-height: 44px;
    font-size: 16px;
  }

  .tabs {
    position: sticky;
    top: var(--header-h);
    z-index: 20;
    margin: 0 -16px 10px;
    padding: 8px 16px;
    background: rgba(11, 13, 11, 0.94);
    border-bottom: 1px solid var(--line-soft);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
  }

  .tab {
    min-height: 36px;
    padding: 0 14px;
    font-size: 0.7rem;
  }

  .chips {
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    scrollbar-width: none;
    margin: 0 -16px 6px;
    padding: 0 16px;
  }

  .chips::-webkit-scrollbar {
    display: none;
  }

  .chip {
    flex: none;
    min-height: 32px;
    padding: 0 12px;
    font-size: 0.78rem;
  }

  .menu__count {
    margin-bottom: 8px;
    text-align: left;
    font-size: 0.78rem;
  }

  #menu-list {
    scroll-margin-top: calc(var(--header-h) + 60px);
  }

  .menu-cat {
    margin: 26px 0 10px;
    font-size: 1.35rem;
  }

  .menu-cat .thai {
    font-size: 0.8rem;
  }

  .dish-grid {
    gap: 10px;
  }

  /* Gericht als kompakte Zeile */
  .dish {
    flex-direction: row;
    align-items: stretch;
    border-radius: 14px;
    cursor: pointer;
  }

  .dish:hover {
    transform: none;
  }

  .dish__media {
    flex: none;
    width: 92px;
    aspect-ratio: auto;
    min-height: 100%;
  }

  .ph::after {
    display: none;
  }

  .ph__thai {
    padding: 0 6px;
    font-size: 0.95rem;
    line-height: 1.3;
  }

  .dish__badge {
    top: 6px;
    left: 6px;
    padding: 2px 6px;
    font-size: 0.52rem;
    letter-spacing: 0.08em;
  }

  .dish__body {
    min-width: 0;
    gap: 4px;
    padding: 10px 10px 10px 12px;
  }

  .dish__head {
    gap: 8px;
  }

  .dish__name {
    font-size: 1.15rem;
  }

  .dish__sub {
    margin-top: 1px;
    overflow: hidden;
    font-size: 0.7rem;
    white-space: nowrap;
    text-overflow: ellipsis;
  }

  .spice {
    margin-top: 2px;
  }

  .spice .icon {
    width: 12px;
    height: 12px;
  }

  .dish__desc {
    display: -webkit-box;
    overflow: hidden;
    font-size: 0.8rem;
    line-height: 1.4;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
  }

  /* Zutaten, Allergene und Hinweise stehen vollständig im Anpassen-Fenster */
  .dish__ingredients,
  .dish__allergens,
  .dish .tags,
  .dish__foot .btn {
    display: none;
  }

  .dish__foot {
    margin-top: 2px;
    padding-top: 6px;
    border-top: 0;
  }

  .price {
    font-size: 1.2rem;
  }

  .price small {
    font-size: 0.65rem;
  }

  .add-btn {
    width: 36px;
    height: 36px;
  }

  .allergen-legend {
    margin-top: 32px;
  }
}

/* ---------- So geht's ---------- */
.steps__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.step {
  position: relative;
  padding: 40px 26px 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(1, 32, 11, 0.72);
  text-align: center;
}

.step__num {
  position: relative;
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  margin: 0 auto 20px;
  color: var(--gold-light);
  font-size: 2.1rem;
  line-height: 1;
}

.step__num::before,
.step__num::after {
  content: "";
  position: absolute;
  border: 1px solid var(--gold);
  transform: rotate(45deg);
}

.step__num::before {
  inset: 8px;
  border-radius: 10px;
}

.step__num::after {
  inset: 0;
  border-color: var(--line);
  border-radius: 14px;
}

.step__title {
  margin-bottom: 8px;
  font-family: var(--font-display);
  font-size: 1.6rem;
}

.step p {
  color: #cfc8b5;
  font-size: 0.95rem;
}

.steps__cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 44px;
}

@media (max-width: 860px) {
  .steps__list {
    grid-template-columns: 1fr;
    max-width: 520px;
    margin-inline: auto;
  }
}

/* ---------- Über uns ---------- */
.about__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: clamp(40px, 6vw, 88px);
}

.about__text p {
  max-width: 58ch;
  margin-bottom: 16px;
  color: var(--muted);
  font-size: 1.05rem;
}

.about__text strong {
  color: var(--gold-light);
  font-weight: 600;
}

.about__frame {
  justify-self: center;
  width: 100%;
  max-width: 540px;
  margin: 0;
}

.about__frame img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 18px 50px rgba(201, 162, 74, 0.18));
}

.about__facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: clamp(48px, 7vw, 80px);
  padding: 0;
  list-style: none;
}

.about__facts li {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 24px 4px;
  border-top: 1px solid var(--line-strong);
}

.about__facts strong {
  color: var(--gold-light);
  font-family: var(--font-display);
  font-size: 2.6rem;
  line-height: 1;
}

.about__facts span {
  color: var(--muted);
  font-size: 0.92rem;
}

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

  .about__frame {
    max-width: 420px;
  }

  .about__facts {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

/* ---------- Fotos ---------- */
.gallery__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: clamp(140px, 17vw, 230px);
  grid-auto-flow: dense;
  gap: 14px;
}

.gallery__item {
  position: relative;
  overflow: hidden;
  margin: 0;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--ink);
  cursor: zoom-in;
}

/* Mosaik: je 5 Fotos ein großes – füllt die Reihen lückenlos */
.gallery__item.is-big {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease), filter 0.4s;
}

.gallery__item:hover img {
  transform: scale(1.05);
}

.gallery__item::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(230, 203, 128, 0);
  transition: box-shadow 0.3s;
  pointer-events: none;
}

.gallery__item:hover::after,
.gallery__item:focus-visible::after {
  box-shadow: inset 0 0 0 2px var(--gold);
}

.gallery__empty {
  grid-column: 1 / -1;
  padding: 44px 16px;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  background: rgba(2, 26, 12, 0.5);
  color: var(--muted);
  text-align: center;
}

@media (max-width: 860px) {
  .gallery__grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 38vw;
    gap: 8px;
  }
}

/* Großansicht */
.lightbox {
  width: 100%;
  height: 100dvh;
  max-height: 100dvh;
  margin: 0;
  background: rgba(3, 8, 6, 0.94);
}

.lightbox::backdrop {
  background: transparent;
}

.lightbox[open] {
  display: grid;
  place-items: center;
  animation: fade-in 0.25s;
}

.lightbox__figure {
  display: grid;
  justify-items: center;
  gap: 12px;
  max-width: min(1200px, 100% - 32px);
  margin: 0;
}

.lightbox__figure img {
  max-width: 100%;
  max-height: calc(100dvh - 140px);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  object-fit: contain;
}

.lightbox__caption {
  color: var(--muted);
  font-size: 0.9rem;
  text-align: center;
}

.lightbox__close {
  position: fixed;
  top: 16px;
  right: 16px;
}

.lightbox__nav {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox__nav--prev {
  left: 16px;
}

.lightbox__nav--next {
  right: 16px;
}

@media (max-width: 640px) {
  .lightbox__nav {
    top: auto;
    bottom: calc(20px + env(safe-area-inset-bottom));
    transform: none;
  }
}

/* ---------- Hinweis-Leiste, Hinweise, Ausverkauft ---------- */
.site-banner {
  position: relative;
  z-index: 60;
  padding: 9px 16px;
  background: var(--gold-gradient);
  color: var(--on-gold);
  font-size: 0.88rem;
  font-weight: 600;
  text-align: center;
}

.menu-notice {
  max-width: 640px;
  margin: 0 auto 24px;
  padding: 12px 18px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: rgba(201, 162, 74, 0.08);
  color: var(--gold-light);
  text-align: center;
}

.dish.is-soldout .dish__media {
  filter: grayscale(0.85) brightness(0.7);
}

.dish.is-soldout .price {
  color: var(--faint);
  text-decoration: line-through;
}

.dish__badge--soldout {
  border-color: var(--closed);
  color: #f6c9bd;
}

.modal__foot--info {
  justify-content: space-between;
}

.modal__foot--info p {
  color: var(--gold-light);
  font-weight: 600;
}

.hours-closures {
  margin-top: 14px;
  padding: 10px 14px;
  border: 1px solid rgba(226, 118, 95, 0.35);
  border-radius: var(--radius-sm);
  background: rgba(226, 118, 95, 0.08);
  color: #f6c9bd;
  font-size: 0.85rem;
}

/* ---------- Bestellstatus ---------- */
.track-form {
  position: relative;
  display: flex;
  gap: 10px;
  max-width: 560px;
  margin: 0 auto;
}

.track-form__icon {
  position: absolute;
  top: 26px;
  left: 18px;
  color: var(--gold);
  transform: translateY(-50%);
  pointer-events: none;
}

.track-form input {
  flex: 1;
  min-width: 0;
  min-height: 52px;
  padding: 0 18px 0 50px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--ink);
  font-size: 1.05rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.track-form input::placeholder {
  color: var(--faint);
  letter-spacing: 0.02em;
  text-transform: none;
}

.track-form input:focus {
  border-color: var(--gold);
  outline: none;
  box-shadow: 0 0 0 4px rgba(201, 162, 74, 0.15);
}

.track-msg {
  max-width: 560px;
  margin: 14px auto 0;
  color: var(--muted);
  text-align: center;
}

.track-msg:empty {
  display: none;
}

.track {
  max-width: 760px;
  margin: 28px auto 0;
  padding: clamp(20px, 4vw, 32px);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--ink-2), var(--ink));
  box-shadow: var(--glow);
  animation: modal-in 0.4s var(--ease);
}

.track__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
  margin-bottom: 26px;
}

.track__ref {
  color: var(--gold-light);
  font-family: var(--font-display);
  font-size: 2rem;
  letter-spacing: 0.04em;
}

.track__meta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
}

.track__meta .icon {
  color: var(--gold);
}

.track__demo {
  margin-left: auto;
  padding: 3px 10px;
  border: 1px dashed var(--line-strong);
  border-radius: 999px;
  color: var(--faint);
  font-size: 0.72rem;
}

.track__steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: none;
}

.track__step {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 10px;
  text-align: center;
}

/* Verbindungslinie zum vorherigen Schritt */
.track__step + .track__step::before {
  content: "";
  position: absolute;
  top: 23px;
  right: 50%;
  width: 100%;
  height: 2px;
  background: var(--line);
}

.track__step.is-done::before,
.track__step.is-current::before {
  background: var(--gold);
}

.track__dot {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: var(--black);
  color: var(--faint);
  transition: background-color 0.3s, color 0.3s;
}

.track__label {
  color: var(--faint);
  font-size: 0.85rem;
  font-weight: 600;
}

.track__step.is-done .track__dot {
  border-color: var(--gold);
  background: linear-gradient(rgba(201, 162, 74, 0.18), rgba(201, 162, 74, 0.18)), var(--black);
  color: var(--gold-light);
}

.track__step.is-done .track__label {
  color: var(--muted);
}

.track__step.is-current .track__dot {
  border-color: transparent;
  background: var(--gold-gradient) border-box;
  color: var(--on-gold);
  box-shadow: 0 0 0 6px rgba(201, 162, 74, 0.15);
  animation: track-pulse 2s infinite;
}

.track__step.is-current .track__label {
  color: var(--gold-light);
}

.track__text {
  margin-top: 26px;
  font-size: 1.05rem;
  text-align: center;
}

.track__text.is-cancelled {
  color: var(--danger);
}

.track__updated {
  margin-top: 8px;
  color: var(--faint);
  font-size: 0.78rem;
  text-align: center;
}

@keyframes track-pulse {
  50% {
    box-shadow: 0 0 0 11px rgba(201, 162, 74, 0.05);
  }
}

@media (max-width: 560px) {
  .track-form {
    flex-direction: column;
  }

  .track__dot {
    width: 40px;
    height: 40px;
  }

  .track__step + .track__step::before {
    top: 19px;
  }

  .track__label {
    font-size: 0.66rem;
    line-height: 1.25;
  }

  .track__dot .icon {
    width: 18px;
    height: 18px;
  }
}

/* ---------- Events ---------- */
.events {
  background: linear-gradient(180deg, var(--black), var(--green-900));
  border-top: 1px solid var(--line-soft);
}

.events__list {
  display: grid;
  gap: 16px;
  max-width: 900px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.event {
  display: grid;
  grid-template-columns: 96px 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(2, 26, 12, 0.7);
  transition: border-color 0.3s, box-shadow 0.3s;
}

.event:hover {
  border-color: var(--line-strong);
  box-shadow: var(--glow);
}

.event.is-next {
  border-color: var(--line-strong);
}

.event__date {
  display: grid;
  place-items: center;
  align-content: center;
  aspect-ratio: 1;
  border: 1px solid var(--gold);
  border-radius: 14px;
  background:
    radial-gradient(circle at 50% 40%, rgba(11, 106, 44, 0.6), transparent 75%),
    var(--green-900);
  text-align: center;
}

.event__day {
  color: var(--gold-light);
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1;
}

.event__month {
  margin-top: 4px;
  color: var(--cream);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.event__badge {
  display: inline-block;
  margin-bottom: 6px;
  padding: 2px 10px;
  border-radius: 999px;
  background: var(--gold-gradient);
  color: var(--on-gold);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.event__title {
  font-family: var(--font-display);
  font-size: 1.6rem;
}

.event__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 18px;
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 0.9rem;
}

.event__meta li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.event__meta .icon {
  color: var(--gold);
}

.event__note {
  margin-top: 6px;
  color: #d8d0bc;
  font-size: 0.9rem;
}

.event .btn {
  min-height: 44px;
  padding: 0 18px;
  font-size: 0.85rem;
}

.events__empty {
  padding: 36px 16px;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  color: var(--muted);
  text-align: center;
}

.events__more {
  padding: 6px 16px 0;
  color: var(--muted);
  font-style: italic;
  text-align: center;
}

.events__follow {
  display: grid;
  justify-items: center;
  gap: 14px;
  margin-top: 44px;
  color: var(--muted);
  text-align: center;
}

.events__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

@media (max-width: 640px) {
  .event {
    grid-template-columns: 72px 1fr;
    align-items: start;
    gap: 16px;
    padding: 18px;
  }

  .event__day {
    font-size: 1.9rem;
  }

  .event .btn {
    grid-column: 1 / -1;
  }
}

/* ---------- Kontakt ---------- */
.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.card {
  padding: clamp(24px, 4vw, 36px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(2, 26, 12, 0.75);
}

.card__title {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 22px;
  font-family: var(--font-display);
  font-size: 1.7rem;
}

.contact__list {
  display: grid;
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.contact__list li {
  display: flex;
  gap: 14px;
}

.contact__list .icon {
  width: 22px;
  height: 22px;
  margin-top: 2px;
  color: var(--gold);
}

.contact__list div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.contact__list strong {
  color: var(--gold);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.contact__list span {
  color: var(--cream);
}

.hours {
  width: 100%;
  border-collapse: collapse;
}

.hours th,
.hours td {
  padding: 11px 0;
  border-bottom: 1px solid var(--line-soft);
  font-weight: 500;
  text-align: left;
  vertical-align: top;
}

.hours td {
  color: var(--muted);
  text-align: right;
}

.hours .is-today th,
.hours .is-today td {
  color: var(--gold-light);
  font-weight: 700;
}

.hours .is-today th::after {
  content: var(--today-label, "Heute");
  margin-left: 10px;
  padding: 2px 8px;
  border: 1px solid var(--gold);
  border-radius: 999px;
  font-size: 0.64rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  vertical-align: middle;
}

.hours .is-closed {
  color: var(--faint);
  font-style: italic;
}

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

/* ---------- Footer ---------- */
.site-footer {
  position: relative;
  padding: 56px 0 40px;
  border-top: 1px solid var(--line);
  background: var(--black);
}

.site-footer::before {
  top: 14px;
  opacity: 0.4;
}

.site-footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 16px;
}

.site-footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
}

.site-footer__nav a {
  color: var(--muted);
  font-size: 0.9rem;
  text-decoration: none;
}

.site-footer__nav a:hover {
  color: var(--gold-light);
}

.site-footer__copy {
  width: 100%;
  padding-top: 20px;
  border-top: 1px solid var(--line-soft);
  color: var(--muted);
  font-size: 0.85rem;
  text-align: center;
}

/* ---------- Warenkorb-Leiste (Handy) ---------- */
.cart-bar {
  position: fixed;
  z-index: 40;
  left: 16px;
  right: 16px;
  bottom: calc(16px + env(safe-area-inset-bottom));
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 58px;
  padding: 0 20px 0 10px;
  border: 0;
  border-radius: 999px;
  background: var(--gold-gradient);
  color: var(--on-gold);
  font-weight: 800;
  box-shadow: 0 18px 40px -12px rgba(0, 0, 0, 0.85), inset 0 0 0 1px rgba(255, 255, 255, 0.15);
  cursor: pointer;
  animation: rise 0.4s var(--ease);
}

.cart-bar__count {
  display: grid;
  place-items: center;
  min-width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--on-gold);
  color: var(--gold-light);
  font-size: 0.9rem;
}

.cart-bar__label {
  margin-right: auto;
}

@media (min-width: 861px) {
  .cart-bar {
    display: none;
  }
}

@media (max-width: 860px) {
  body.has-cart-bar .site-footer {
    padding-bottom: 120px;
  }
}

/* ---------- Dialoge (allgemein) ---------- */
dialog {
  max-width: none;
  max-height: none;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--cream);
}

dialog::backdrop {
  background: rgba(3, 8, 6, 0.72);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}

dialog[open]::backdrop {
  animation: fade-in 0.3s;
}

/* ---------- Dialog: Gericht anpassen ---------- */
.modal {
  --modal-h: min(92dvh, 900px);
  width: min(720px, 100% - 32px);
  max-height: var(--modal-h);
  margin: auto;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 22px;
  background: var(--ink);
  box-shadow: 0 40px 100px -30px rgba(0, 0, 0, 0.9);
}

/* Hinweis „Testversion“ beim Öffnen */
.test-notice {
  width: min(460px, 100% - 32px);
}

.test-notice__inner {
  display: grid;
  justify-items: center;
  gap: 12px;
  padding: 34px 26px 28px;
  text-align: center;
}

.test-notice__star {
  color: var(--gold);
  font-size: 1.4rem;
}

.test-notice__eyebrow {
  margin: 0;
  color: var(--gold-light);
  font-family: var(--font-caps);
  font-size: 0.75rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.test-notice__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 600;
  line-height: 1.15;
}

.test-notice__text {
  margin: 0 0 8px;
  color: var(--muted);
  line-height: 1.55;
}

.modal[open] {
  animation: modal-in 0.35s var(--ease);
}

.modal__inner {
  position: relative;
  display: flex;
  flex-direction: column;
  max-height: var(--modal-h);
}

.modal__scroll {
  flex: 1;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.modal__media {
  position: relative;
  height: clamp(150px, 28vw, 220px);
  overflow: hidden;
}

.modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 3;
}

.modal__body {
  padding: 24px clamp(20px, 4vw, 32px) 8px;
}

.modal__thai {
  color: var(--gold);
  font-size: 1rem;
}

.modal__title {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4vw, 2.4rem);
}

.modal__roman {
  color: var(--gold-light);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
}

.modal__desc {
  margin: 10px 0 12px;
  color: var(--muted);
}

.modal__deposit {
  margin: -6px 0 12px;
  color: var(--gold-light);
  font-size: 0.85rem;
}

.opt-group {
  min-width: 0;
  margin: 20px 0 0;
  padding: 20px 0 0;
  border: 0;
  border-top: 1px solid var(--line-soft);
}

.opt-group legend,
.opt-group__legend {
  float: left;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 10px;
  width: 100%;
  margin-bottom: 12px;
  padding: 0;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.opt-group legend + *,
.opt-group__legend + * {
  clear: both;
}

.opt-group__hint {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
}

.opt-list {
  display: grid;
  gap: 8px;
}

.opt-list--cols {
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr));
}

.opt {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  padding: 10px 14px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.015);
  cursor: pointer;
  transition: border-color 0.2s, background-color 0.2s;
}

.opt:hover {
  border-color: var(--line-strong);
}

.opt:has(input:checked) {
  border-color: rgba(201, 162, 74, 0.55);
  background: rgba(201, 162, 74, 0.07);
}

.opt__name {
  flex: 1;
  font-size: 0.95rem;
  line-height: 1.35;
}

/* Hinweis an einer Auswahl, z. B. "nicht glutenfrei" bei Knusper-Varianten */
.opt__note {
  display: inline-block;
  margin-left: 6px;
  color: var(--muted);
  font-size: 0.75rem;
  font-style: italic;
}

/* Empfehlungs-Sticker an einer Auswahl */
.opt__badge {
  display: inline-block;
  margin-left: 6px;
  padding: 2px 8px;
  border-radius: 99px;
  background: var(--gold-gradient);
  color: var(--on-gold);
  font-family: var(--font-caps);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  vertical-align: 2px;
}

/* Mengen-Auswahl je Füllung */
.opt--mix {
  cursor: default;
}

.opt--mix .qty {
  flex: none;
}

.opt__price {
  color: var(--gold-light);
  font-size: 0.85rem;
  font-weight: 700;
  white-space: nowrap;
}

.opt--fixed {
  border-style: dashed;
  cursor: default;
}

.opt--fixed:hover {
  border-color: var(--line-soft);
}

.opt--fixed .opt__name {
  color: var(--muted);
}

.opt__lock {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  color: var(--gold);
  opacity: 0.8;
}

.opt__lock .icon {
  width: 17px;
  height: 17px;
}

.opt__state {
  color: var(--closed);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.opt--ing:has(input:checked) .opt__state {
  display: none;
}

.opt--ing:has(input:not(:checked)) {
  border-color: rgba(226, 118, 95, 0.35);
  background: rgba(226, 118, 95, 0.05);
}

.opt--ing:has(input:not(:checked)) .opt__name {
  color: var(--muted);
  text-decoration: line-through;
  text-decoration-color: var(--closed);
}

/* Eigene Checkboxen & Radios */
.opt input,
.consent input {
  -webkit-appearance: none;
  appearance: none;
  flex: none;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  margin: 0;
  border: 1.5px solid var(--gold);
  border-radius: 6px;
  background: transparent;
  cursor: pointer;
  transition: background-color 0.15s;
}

.opt input[type="radio"] {
  border-radius: 50%;
}

.opt input::before,
.consent input::before {
  content: "";
  width: 12px;
  height: 12px;
  background: var(--on-gold);
  clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0, 43% 62%);
  transform: scale(0);
  transition: transform 0.15s var(--ease);
}

.opt input[type="radio"]::before {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  clip-path: none;
}

.opt input:checked,
.consent input:checked {
  background: var(--gold);
}

.opt input:checked::before,
.consent input:checked::before {
  transform: scale(1);
}

.opt input:focus-visible,
.consent input:focus-visible {
  outline: 2px solid var(--gold-light);
  outline-offset: 2px;
}

/* Schärfegrad */
.spice-picker {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
}

.spice-opt {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 12px 4px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-sm);
  text-align: center;
  cursor: pointer;
  transition: border-color 0.2s, background-color 0.2s;
}

.spice-opt:hover {
  border-color: var(--line-strong);
}

.spice-opt input {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}

.spice-opt__chilis {
  display: flex;
  height: 16px;
  color: var(--gold);
}

.spice-opt__chilis .icon {
  width: 16px;
  height: 16px;
}

.spice-opt__chilis .is-off {
  opacity: 0.25;
}

.spice-opt__label {
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.2;
}

.spice-opt:has(input:checked) {
  border-color: var(--gold);
  background: rgba(201, 162, 74, 0.12);
}

.spice-opt:has(input:checked) .spice-opt__label {
  color: var(--gold-light);
}

.spice-opt:has(input:focus-visible) {
  outline: 2px solid var(--gold-light);
  outline-offset: 2px;
}

.modal textarea,
.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid rgba(201, 162, 74, 0.28);
  border-radius: var(--radius-sm);
  background: var(--black);
  font-size: 1rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.modal textarea,
.field textarea {
  resize: vertical;
}

.modal textarea:focus,
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--gold);
  outline: none;
  box-shadow: 0 0 0 4px rgba(201, 162, 74, 0.15);
}

.modal textarea::placeholder,
.field ::placeholder {
  color: var(--faint);
}

.modal__allergens {
  margin: 20px 0 16px;
  padding: 14px 16px;
  border: 1px solid rgba(95, 208, 138, 0.18);
  border-radius: var(--radius-sm);
  background: rgba(11, 106, 44, 0.18);
  color: #cfe9da;
  font-size: 0.85rem;
}

.modal__allergens strong {
  color: var(--cream);
}

.modal__foot {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px clamp(20px, 4vw, 32px) calc(16px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  background: rgba(2, 26, 12, 0.97);
}

.modal__submit {
  flex: 1;
  white-space: nowrap;
  justify-content: space-between;
  padding-inline: 22px;
}

.qty {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
}

.qty__btn {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: none;
  color: var(--gold-light);
  cursor: pointer;
}

.qty__btn:hover {
  background: rgba(201, 162, 74, 0.12);
}

.qty__btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.qty__val {
  min-width: 26px;
  font-weight: 800;
  text-align: center;
}

.qty--sm .qty__btn {
  width: 34px;
  height: 34px;
}

@media (max-width: 640px) {
  .modal {
    --modal-h: 94dvh;
    width: 100%;
    margin: auto 0 0;
    border-bottom: 0;
    border-radius: 22px 22px 0 0;
  }

  .modal[open] {
    animation: sheet-in 0.35s var(--ease);
  }

  .modal__foot {
    gap: 10px;
  }

  .modal__submit {
    padding-inline: 16px;
    font-size: 0.88rem;
  }

  .modal__foot .qty__btn {
    width: 36px;
    height: 36px;
  }

  .spice-picker {
    gap: 6px;
  }

  .spice-opt__chilis .icon {
    width: 11px;
    height: 11px;
  }

  .spice-opt__label {
    font-size: 0.68rem;
  }
}

/* ---------- Dialog: Warenkorb ---------- */
.drawer {
  width: min(460px, 100%);
  height: 100dvh;
  max-height: 100dvh;
  margin: 0 0 0 auto;
  border-left: 1px solid var(--line-strong);
  background: var(--ink);
  box-shadow: -30px 0 80px -30px rgba(0, 0, 0, 0.9);
}

.drawer[open] {
  animation: drawer-in 0.38s var(--ease);
}

.drawer__inner {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.drawer__head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--line);
}

.drawer__title {
  margin-right: auto;
  font-family: var(--font-display);
  font-size: 1.7rem;
}

.drawer__view {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-height: 0;
}

.drawer__body {
  flex: 1;
  padding: 18px 20px;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.drawer__foot {
  display: grid;
  gap: 12px;
  padding: 16px 20px calc(16px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  background: rgba(2, 26, 12, 0.6);
}

.drawer__hint {
  color: #f0b9a9;
  font-size: 0.82rem;
  text-align: center;
}

.drawer__error {
  margin: 0;
}

.drawer__fine {
  color: var(--faint);
  font-size: 0.75rem;
  text-align: center;
}

.mode-switch {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  margin: 16px 20px 0;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--black);
}

.mode-switch__opt {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s;
}

.mode-switch__opt input {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}

.mode-switch__opt:has(input:checked) {
  background: var(--gold-gradient);
  color: var(--on-gold);
}

.mode-switch__opt:has(input:focus-visible) {
  outline: 2px solid var(--gold-light);
  outline-offset: 2px;
}

.mode-info {
  margin: 10px 20px 0;
  color: var(--muted);
  font-size: 0.82rem;
  text-align: center;
}

.mode-info:empty {
  display: none;
}

.cart-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.cart-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 6px 12px;
  padding: 16px;
  border: 1px solid var(--line-soft);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.02);
}

.cart-item__name {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  line-height: 1.15;
}

.cart-item__thai {
  margin-left: 6px;
  color: var(--gold);
  font-family: var(--font-thai);
  font-size: 0.78rem;
  font-weight: 400;
}

.cart-item__price {
  color: var(--gold-light);
  font-weight: 800;
  white-space: nowrap;
}

.cart-item__details {
  grid-column: 1 / -1;
  display: grid;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 0.82rem;
}

.cart-item__details .is-removed {
  color: #f0a593;
}

.cart-item__actions {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 8px;
}

.cart-item__actions .qty {
  margin-right: auto;
}

.text-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 38px;
  padding: 0 10px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: none;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
}

.drawer__clear {
  justify-self: center;
  align-self: center;
  margin: 2px auto 0;
}

.text-btn:hover {
  border-color: var(--line);
  color: var(--gold-light);
}

.text-btn .icon {
  width: 16px;
  height: 16px;
}

.cart-empty {
  display: grid;
  justify-items: center;
  gap: 8px;
  padding: 48px 12px;
  color: var(--muted);
  text-align: center;
}

.cart-empty__logo {
  width: 200px;
  height: auto;
  margin-bottom: 12px;
}

.cart-empty strong {
  color: var(--cream);
}

.cart-empty .btn {
  margin-top: 14px;
}

.totals {
  display: grid;
  gap: 6px;
  margin: 0;
  font-size: 0.92rem;
}

.totals div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.totals dt {
  color: var(--muted);
}

.totals dd {
  margin: 0;
  font-weight: 700;
}

.totals .is-total {
  margin-top: 4px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
  font-size: 1.05rem;
}

.totals .is-total dt {
  color: var(--cream);
  font-weight: 700;
}

.totals .is-total dd {
  color: var(--gold-light);
  font-family: var(--font-display);
  font-size: 1.6rem;
  line-height: 1;
}

/* Bestellformular */
.form-group {
  display: grid;
  gap: 14px;
  min-width: 0;
  margin: 0 0 26px;
  padding: 0;
  border: 0;
}

.form-group legend {
  float: left;
  width: 100%;
  padding: 0;
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.field {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.field label,
.field__label {
  font-size: 0.88rem;
  font-weight: 600;
}

.req {
  color: var(--gold);
}

.field select {
  -webkit-appearance: none;
  appearance: none;
  padding-right: 40px;
  background: var(--black) var(--chevron) no-repeat right 14px center;
}

.field [aria-invalid="true"] {
  border-color: var(--danger);
  box-shadow: 0 0 0 3px rgba(240, 138, 115, 0.15);
}

.field__error {
  color: var(--danger);
  font-size: 0.8rem;
}

.field__error:empty {
  display: none;
}

.field-row {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 12px;
}

.pay-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

/* Zahlungsart als Kachel mit Symbol */
.pay-opt {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 96px;
  padding: 14px 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.02);
  text-align: center;
  cursor: pointer;
  transition: border-color 0.2s, background-color 0.2s, box-shadow 0.2s;
}

.pay-opt:hover {
  border-color: var(--line-strong);
}

.field .pay-opt input {
  position: absolute;
  inset: 0;
  width: 100%;
  min-height: 0;
  margin: 0;
  padding: 0;
  border: 0;
  opacity: 0;
  cursor: pointer;
}

.pay-opt__icon {
  width: 30px;
  height: 30px;
  color: var(--gold);
}

.pay-opt__name {
  font-size: 0.85rem;
  font-weight: 600;
  line-height: 1.3;
}

.pay-opt__hint {
  margin-top: -4px;
  color: var(--muted);
  font-size: 0.72rem;
}

.done__pay {
  display: grid;
  justify-items: center;
  gap: 10px;
  width: 100%;
  padding: 16px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: rgba(201, 162, 74, 0.06);
}

.done__pay--info {
  color: var(--cream);
  font-size: 0.9rem;
}

.done .done__hint {
  color: var(--muted);
  font-size: 0.8rem;
}

.done__pay .btn {
  font-size: 0.74rem;
  letter-spacing: 0.08em;
}

.pay-opt__check {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 18px;
  height: 18px;
  padding: 3px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--on-gold);
  opacity: 0;
  transform: scale(0.6);
  transition: opacity 0.2s, transform 0.2s var(--ease);
}

.pay-opt:has(input:checked) {
  border-color: var(--gold);
  background: rgba(201, 162, 74, 0.1);
  box-shadow: inset 0 0 0 1px var(--gold);
}

.pay-opt:has(input:checked) .pay-opt__icon {
  color: var(--gold-light);
}

.pay-opt:has(input:checked) .pay-opt__check {
  opacity: 1;
  transform: none;
}

.pay-opt:has(input:focus-visible) {
  outline: 2px solid var(--gold-light);
  outline-offset: 2px;
}

.checkout-privacy {
  color: var(--muted);
  font-size: 0.82rem;
}

.consent {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--muted);
  font-size: 0.85rem;
  cursor: pointer;
}

.consent input {
  margin-top: 2px;
}

/* Übergabe-Ansicht */
.done {
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 14px;
  padding-block: 40px;
  text-align: center;
}

.done__icon {
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  border: 1px solid rgba(95, 208, 138, 0.5);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(95, 208, 138, 0.25), transparent 70%);
  color: var(--ok);
}

.done__icon .icon {
  width: 36px;
  height: 36px;
}

.done__title {
  font-family: var(--font-display);
  font-size: 2rem;
}

.done p {
  max-width: 34ch;
  color: var(--muted);
}

.done p strong {
  color: var(--cream);
}

.done__ref strong {
  color: var(--gold-light);
  letter-spacing: 0.08em;
}

.done__actions {
  display: grid;
  gap: 10px;
  width: 100%;
  margin-top: 12px;
}

/* ---------- Hinweis-Toast ---------- */
.toast {
  position: fixed;
  z-index: 100;
  left: 50%;
  bottom: calc(92px + env(safe-area-inset-bottom));
  max-width: calc(100% - 32px);
  padding: 12px 18px;
  border: 1px solid var(--gold);
  border-radius: 999px;
  background: var(--green-800);
  box-shadow: var(--shadow);
  font-size: 0.9rem;
  font-weight: 600;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 20px);
  transition: opacity 0.3s, transform 0.3s var(--ease);
}

.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

@media (min-width: 861px) {
  .toast {
    bottom: 32px;
  }
}

/* ---------- Rechtliche Seiten ---------- */
.legal {
  padding: 56px 0 96px;
}

.legal__inner {
  max-width: 760px;
}

.legal h1 {
  margin-bottom: 12px;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3rem);
}

.legal h2 {
  margin: 36px 0 10px;
  color: var(--gold-light);
  font-family: var(--font-display);
  font-size: 1.6rem;
}

.legal p,
.legal li {
  margin-bottom: 10px;
  color: var(--muted);
}

.legal .notice {
  margin: 20px 0 28px;
}

/* ---------- Sprachumschalter ---------- */
.lang {
  position: relative;
}

.lang__btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: none;
  color: var(--cream);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
}

.lang__btn:hover,
.lang__btn[aria-expanded="true"] {
  border-color: var(--gold);
  color: var(--gold-light);
}

.flag {
  flex: none;
  width: 22px;
  height: 15px;
  border-radius: 3px;
  box-shadow: 0 0 0 1px rgba(243, 235, 216, 0.25);
}

.lang__name {
  flex: 1;
}

.lang__menu button {
  gap: 10px;
}

.lang__btn .icon {
  width: 17px;
  height: 17px;
  color: var(--gold);
}

.lang__menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 60;
  min-width: 150px;
  margin: 0;
  padding: 6px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: var(--ink);
  box-shadow: var(--shadow);
  list-style: none;
}

.lang__menu button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 40px;
  padding: 0 12px;
  border: 0;
  border-radius: 8px;
  background: none;
  color: var(--cream);
  font-size: 0.92rem;
  text-align: left;
  cursor: pointer;
}

.lang__menu button:hover,
.lang__menu button:focus-visible {
  background: rgba(201, 162, 74, 0.12);
  outline: none;
}

.lang__menu button[aria-checked="true"] {
  color: var(--gold-light);
  font-weight: 700;
}

.lang__menu button[aria-checked="true"]::after {
  content: "✓";
  color: var(--gold);
}

@media (max-width: 980px) {
  .lang__btn {
    padding: 0 10px;
  }
}

/* ---------- Rabattcode ---------- */
.promo {
  display: grid;
  gap: 6px;
}

.promo__form {
  position: relative;
  display: flex;
  gap: 8px;
}

.promo__icon {
  position: absolute;
  top: 50%;
  left: 12px;
  width: 17px;
  height: 17px;
  color: var(--gold);
  transform: translateY(-50%);
  pointer-events: none;
}

.promo__form input {
  flex: 1;
  min-width: 0;
  min-height: 44px;
  padding: 0 12px 0 38px;
  border: 1px solid rgba(201, 162, 74, 0.28);
  border-radius: var(--radius-sm);
  background: var(--black);
  font-size: 16px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.promo__form input::placeholder {
  color: var(--faint);
  letter-spacing: 0;
  text-transform: none;
}

.promo__form input:focus {
  border-color: var(--gold);
  outline: none;
  box-shadow: 0 0 0 4px rgba(201, 162, 74, 0.15);
}

.promo__apply {
  min-height: 44px;
  padding: 0 16px;
}

.promo__applied {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 6px 8px 12px;
  border: 1px solid rgba(95, 208, 138, 0.35);
  border-radius: var(--radius-sm);
  background: rgba(30, 107, 75, 0.2);
  color: #cfe9da;
  font-size: 0.85rem;
}

.promo__applied .icon {
  width: 17px;
  height: 17px;
  color: var(--ok);
}

.promo__applied span {
  flex: 1;
}

.promo__msg {
  color: #f0b9a9;
  font-size: 0.8rem;
}

.promo__msg:empty {
  display: none;
}

.totals .is-vat {
  font-size: 0.78rem;
}

.totals .is-vat dt,
.totals .is-vat dd {
  color: var(--faint);
  font-weight: 500;
}

.totals .is-discount dt,
.totals .is-discount dd {
  color: #9fe0b8;
}

/* Thai-Schrift: keine weite Laufweite / Großbuchstaben-Optik */
html[lang="th"] .btn,
html[lang="th"] .tab,
html[lang="th"] .eyebrow,
html[lang="th"] .label-caps,
html[lang="th"] .dish__badge,
html[lang="th"] .event__badge,
html[lang="th"] .event__month,
html[lang="th"] .opt-group legend,
html[lang="th"] .opt-group__legend,
html[lang="th"] .form-group legend,
html[lang="th"] .contact__list strong,
html[lang="th"] .totals .is-total dt,
html[lang="th"] .allergen-legend summary,
html[lang="th"] .cart-bar__label {
  letter-spacing: 0.02em;
}

html[lang="th"] .section-head__title,
html[lang="th"] .dish__name,
html[lang="th"] .modal__title,
html[lang="th"] .menu-cat,
html[lang="th"] .step__title,
html[lang="th"] .feature__title,
html[lang="th"] .card__title,
html[lang="th"] .event__title,
html[lang="th"] .cart-item__name,
html[lang="th"] .drawer__title,
html[lang="th"] .done__title {
  font-family: var(--font-thai);
  font-weight: 600;
  line-height: 1.35;
}

html[lang="th"] .section-head__title {
  font-size: clamp(1.8rem, 4vw, 2.7rem);
}

html[lang="th"] .dish__name {
  font-size: 1.1rem;
}

/* ---------- Typografie im App-Stil: Cinzel für Labels & Buttons ---------- */
.btn,
.eyebrow,
.label-caps,
.brand__sub,
.dish__badge,
.event__badge,
.event__month,
.tab,
.opt-group legend,
.opt-group__legend,
.form-group legend,
.contact__list strong,
.hours .is-today th::after,
.totals .is-total dt,
.allergen-legend summary,
.hero__title-sub,
.cart-bar__label {
  font-family: var(--font-caps);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.btn {
  font-size: 0.8rem;
}

.btn--text {
  font-family: var(--font-body);
  letter-spacing: 0;
  text-transform: none;
}

.tab {
  font-size: 0.78rem;
}

.opt-group__hint {
  font-family: var(--font-body);
  font-weight: 400;
}

.allergen-legend summary {
  font-size: 0.85rem;
}

.cart-bar__label {
  font-size: 0.8rem;
}

/* Chilis rot wie in der App */
.spice,
.spice-opt__chilis,
.chip [href="#i-chili"] {
  color: var(--chili);
}

.chip .icon:has(use[href="#i-chili"]) {
  color: var(--chili);
}

/* ---------- Scroll-Einblendungen ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
  transition-delay: var(--delay, 0ms);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- Animationen ---------- */
@keyframes modal-in {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.98);
  }
}

@keyframes sheet-in {
  from {
    transform: translateY(100%);
  }
}

@keyframes drawer-in {
  from {
    transform: translateX(100%);
  }
}

@keyframes fade-in {
  from {
    opacity: 0;
  }
}

@keyframes rise {
  from {
    transform: translateY(140%);
  }
}

@keyframes bump {
  40% {
    transform: scale(1.12);
  }
}

@keyframes pulse {
  0%,
  100% {
    box-shadow: 0 0 0 3px rgba(95, 208, 138, 0.22);
  }
  50% {
    box-shadow: 0 0 0 6px rgba(95, 208, 138, 0.04);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }
}
