/* Tamilicious – helltürkis #6fc3d3 + Live-Glitzer */

:root {
  --brand: #6fc3d3;
  --brand-bright: #8ad6e3;
  --brand-soft: #dff5f9;
  --brand-deep: #2a7f8d;
  --gold: #d4a017;
  --gold-soft: #f7e7b4;
  --gold-deep: #8a6a12;
  --ink: #12343c;
  --muted: #3d5c64;
  --paper: #ffffff;
  --white: #ffffff;
  --line: rgba(42, 127, 141, 0.16);
  --shadow: 0 16px 36px rgba(28, 90, 102, 0.16);
  --radius: 22px;
  --font: "Sora", system-ui, sans-serif;
  --display: "Bricolage Grotesque", system-ui, sans-serif;
  --header: 72px;
  --cart-dock: 0px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header) + 12px); }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--brand);
  line-height: 1.55;
  padding-bottom: calc(var(--cart-dock) + 1rem);
  -webkit-font-smoothing: antialiased;
  position: relative;
  min-height: 100vh;
}
body.has-cart-dock {
  --cart-dock: 72px;
}
/* Soft static glitter texture (always visible) */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 35;
  opacity: 0.55;
  background-image:
    radial-gradient(1.5px 1.5px at 8% 12%, rgba(255,255,255,.95), transparent),
    radial-gradient(1.2px 1.2px at 22% 38%, rgba(255,255,255,.8), transparent),
    radial-gradient(1.8px 1.8px at 41% 18%, rgba(255,252,240,.9), transparent),
    radial-gradient(1px 1px at 58% 62%, rgba(255,255,255,.85), transparent),
    radial-gradient(1.6px 1.6px at 73% 28%, rgba(255,255,255,.9), transparent),
    radial-gradient(1.3px 1.3px at 86% 74%, rgba(255,252,240,.85), transparent),
    radial-gradient(1px 1px at 15% 78%, rgba(255,255,255,.75), transparent),
    radial-gradient(1.4px 1.4px at 33% 88%, rgba(255,255,255,.9), transparent),
    radial-gradient(1.7px 1.7px at 67% 8%, rgba(255,255,255,.85), transparent),
    radial-gradient(1.1px 1.1px at 92% 44%, rgba(255,252,240,.8), transparent),
    radial-gradient(1.5px 1.5px at 48% 48%, rgba(255,255,255,.7), transparent),
    radial-gradient(1.2px 1.2px at 5% 55%, rgba(255,255,255,.8), transparent);
  background-size: 100% 100%;
  animation: glitterShift 12s ease-in-out infinite alternate;
}
@keyframes glitterShift {
  from { transform: translate3d(0, 0, 0); opacity: 0.45; }
  to { transform: translate3d(-1.2%, -1%, 0); opacity: 0.7; }
}
.glitter-page {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 38;
  opacity: 0.85;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
/* iOS Safari zoomt bei Fokus, wenn Input < 16px – daher Mindestgröße */
input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="file"]):not([type="hidden"]):not([type="submit"]):not([type="button"]),
select,
textarea {
  font-size: 16px;
}
address { font-style: normal; }

.skip {
  position: absolute; left: -999px; top: 0; z-index: 200;
  background: var(--brand-deep); color: #fff; padding: .5rem 1rem;
}
.skip:focus { left: 0; }

.wrap { width: min(1120px, calc(100% - 2rem)); margin-inline: auto; }

.kicker {
  font-size: .75rem; font-weight: 800; letter-spacing: .12em;
  text-transform: uppercase; color: var(--brand-deep); margin-bottom: .55rem;
}
h1, h2, h3 { font-family: var(--display); line-height: 1.12; font-weight: 800; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.55rem, 6.2vw, 4.2rem); color: var(--ink); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.45rem); margin-bottom: .7rem; }
.hero h1 { color: var(--ink); }
.hero.hero-logo h1,
.hero-title { color: #fff; }
.hero h1 em { font-style: italic; font-weight: 700; color: var(--brand-deep); }

.section { padding: 2.4rem 0; position: relative; z-index: 4; }
.panel {
  background: rgba(255, 255, 255, 0.96);
  border: 2px solid var(--brand-deep);
  border-radius: 28px;
  padding: clamp(1.4rem, 3vw, 2.2rem);
  box-shadow: 0 18px 48px rgba(28, 90, 102, 0.14);
}
.section-intro { max-width: 560px; margin-bottom: 1.6rem; }
.section-intro p { color: var(--muted); }
.menu-actions {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
  align-items: center;
}
.menu-actions .btn { font-size: .92rem; padding: .7rem 1.15rem; }
.menu-view-toggle {
  display: inline-flex;
  border: 1.5px solid rgba(42, 127, 141, .22);
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255,255,255,.75);
}
.menu-view-btn {
  border: 0;
  background: transparent;
  font: inherit;
  font-size: .82rem;
  font-weight: 700;
  color: var(--muted);
  padding: .45rem .9rem;
  cursor: pointer;
}
.menu-view-btn.is-active {
  background: var(--brand-deep);
  color: #fff;
}
.favorites-view-toggle { margin-top: .85rem; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .4rem;
  padding: .85rem 1.25rem; border-radius: 999px; border: 0;
  font-weight: 700; cursor: pointer; transition: transform .18s, box-shadow .18s;
  text-decoration: none;
}
.btn:hover { transform: translateY(-1px); }
.btn-block { width: 100%; }
.btn-primary {
  background: var(--brand-deep); color: #fff;
  box-shadow: 0 10px 24px rgba(47, 122, 136, 0.28);
}
.btn-light { background: #fff; color: var(--brand-deep); }
.btn-dark { background: var(--brand-deep); color: #fff; }
.btn-ghost { background: #fff; border: 1.5px solid rgba(42, 127, 141, 0.28); color: var(--muted); }
.btn-whatsapp { background: #25D366; color: #fff; }

/* Unified product image frame */
.img-frame {
  background: #fff;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.img-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  height: var(--header);
  backdrop-filter: blur(14px);
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(42, 127, 141, 0.12);
  transition: background .25s, border-color .25s, box-shadow .25s;
}
.site-header.is-solid {
  box-shadow: 0 8px 24px rgba(42, 127, 141, 0.1);
  background: #fff;
}
.header-bar {
  height: var(--header);
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.brand-logo { height: 32px; width: auto; }
.nav { display: flex; gap: 1.1rem; }
.nav a { color: var(--muted); font-weight: 600; font-size: .92rem; }
.nav a:hover { color: var(--brand-deep); }
.nav a.nav-order {
  color: var(--brand-deep);
  font-weight: 800;
}
.header-right { display: flex; align-items: center; gap: .55rem; }
.btn-auth {
  border: 1.5px solid rgba(42, 127, 141, 0.28);
  background: #fff;
  color: var(--brand-deep);
  font-weight: 700;
  font-size: .82rem;
  padding: .45rem .75rem;
  border-radius: 999px;
  cursor: pointer;
  max-width: 9.5rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.btn-auth:hover,
.btn-auth.is-logged-in {
  background: var(--brand-soft);
  border-color: var(--brand-deep);
}
.cart-btn {
  display: inline-flex; align-items: center; gap: .45rem;
  background: var(--brand-deep); color: #fff; border: 0;
  border-radius: 999px; padding: .55rem .95rem; font-weight: 700; cursor: pointer;
}
.cart-count {
  min-width: 1.35rem; height: 1.35rem; border-radius: 999px;
  background: #fff; color: var(--brand-deep);
  display: grid; place-items: center; font-size: .75rem; font-weight: 800;
}
.burger {
  display: none; width: 42px; height: 42px; border-radius: 12px;
  border: 1px solid var(--line); background: #fff;
  flex-direction: column; justify-content: center; align-items: center; gap: 5px;
}
.burger span { width: 18px; height: 2px; background: var(--ink); }

/* Hero – circular logo on turquoise + glitter */
.hero {
  position: relative;
  overflow: hidden;
  min-height: min(88vh, 720px);
  display: flex;
  align-items: center;
  padding: 5rem 0 3.5rem;
  background: var(--brand);
}
.hero-logo {
  justify-content: center;
}
#glitterCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 2;
}
.hero-layout {
  position: relative;
  z-index: 3;
  width: min(1120px, calc(100% - 2rem));
  margin-inline: auto;
}
.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.hero-circle {
  width: min(340px, 78vw);
  height: auto;
  border-radius: 50%;
  background: #fff;
  padding: 0.6rem;
  box-shadow: 0 20px 50px rgba(28, 90, 102, 0.22);
  margin-bottom: 1.35rem;
  border: 2px solid var(--brand-deep);
}
.hero-title {
  margin: 0 0 0.65rem;
  max-width: 18ch;
  font-family: var(--display);
  font-size: clamp(1.55rem, 4.2vw, 2.15rem);
  font-weight: 700;
  line-height: 1.15;
  color: #fff;
  text-shadow: 0 1px 10px rgba(28, 90, 102, 0.28);
}
.lead {
  max-width: 34ch;
  margin: 0 auto 1.4rem;
  color: rgba(255, 255, 255, 0.96);
  font-size: 1.02rem;
  line-height: 1.55;
  text-shadow: 0 1px 8px rgba(28, 90, 102, 0.25);
}
.hero-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .7rem;
}
.hero-actions .btn {
  min-width: min(100%, 16.5rem);
}
.hero .btn-light {
  box-shadow: 0 10px 30px rgba(0,0,0,.12);
}
.hero .btn-dark {
  box-shadow: 0 10px 30px rgba(42, 127, 141, 0.28);
}
.hero .btn-whatsapp {
  box-shadow: 0 10px 30px rgba(0,0,0,.16);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.in {
  opacity: 1;
  transform: none;
}

/* Reviews */
.rating-badges {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
  margin-bottom: 1rem;
}
.rating-pill {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: var(--brand-soft);
  border: 1px solid rgba(42, 127, 141, 0.14);
  border-radius: 999px;
  padding: .38rem .75rem;
  font-weight: 700;
  font-size: .8rem;
  color: var(--ink);
}
.hero-halal {
  display: inline-block;
  margin: 0 0 0.85rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  border: 1.5px solid rgba(255, 255, 255, 0.85);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.origin-line {
  display: inline-block;
  margin: -.35rem 0 1rem !important;
  padding: .35rem .75rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--gold-soft), #fff6d6);
  border: 1px solid rgba(212, 160, 23, 0.45);
  color: var(--gold-deep) !important;
  font-size: .88rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}
.faq-list {
  display: grid;
  gap: .55rem;
}
.faq-item {
  background: #fff;
  border: 1px solid rgba(42, 127, 141, 0.16);
  border-radius: 14px;
  padding: 0;
  overflow: hidden;
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: .9rem 1rem;
  font-weight: 800;
  color: var(--ink);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: .75rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  color: var(--brand-deep);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1;
}
.faq-item[open] summary::after { content: '–'; }
.faq-item p {
  margin: 0;
  padding: 0 1rem 1rem;
  color: var(--muted);
  font-size: .92rem;
  line-height: 1.5;
}
.faq-item a {
  color: var(--brand-deep);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.wa-float {
  position: fixed;
  right: 1rem;
  bottom: calc(var(--cart-dock) + 1rem);
  z-index: 56;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.25rem;
  height: 3.25rem;
  padding: 0;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  box-shadow: 0 12px 28px rgba(18, 100, 55, 0.35);
  transition: transform .2s ease, box-shadow .2s ease;
}
.wa-float:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(18, 100, 55, 0.42);
  color: #fff;
}
.wa-float svg { display: block; flex-shrink: 0; }
.review-cta {
  margin-top: 1.15rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: center;
}
.review-cta p {
  width: 100%;
  color: var(--muted);
  font-size: 0.9rem;
  margin: 0;
}
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .65rem;
}
.review-card {
  background: #f7fbfc;
  border: 1px solid rgba(42, 127, 141, 0.12);
  border-radius: 14px;
  padding: .75rem .9rem;
}
.review-card .stars { color: #e6a100; letter-spacing: 1px; margin-bottom: .2rem; font-size: .78rem; }
.review-card p {
  color: var(--muted);
  font-style: italic;
  margin-bottom: .35rem;
  font-size: .84rem;
  line-height: 1.4;
}
.review-card cite {
  font-style: normal;
  font-size: .72rem;
  color: var(--brand-deep);
  font-weight: 700;
}

/* Specials – equal cards, swipe rail with next-card peek */
.specials-wrap {
  position: relative;
}
.specials-wrap:not(.is-tiles)::after {
  content: '';
  position: absolute;
  top: .15rem;
  right: 0;
  bottom: .45rem;
  width: 2.75rem;
  pointer-events: none;
  z-index: 3;
  border-radius: 0 14px 14px 0;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.45) 50%,
    rgba(255, 255, 255, 0.9) 100%
  );
  opacity: 0;
  transition: opacity .2s ease;
}
.specials-wrap:not(.is-tiles).has-peek::after {
  opacity: 1;
}
.specials-rail {
  display: flex;
  gap: .85rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: .15rem;
  padding: .15rem .15rem .45rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.specials-rail::-webkit-scrollbar {
  display: none;
}
.specials-card {
  position: relative;
  /* 3 Karten + deutlicher Peek vom nächsten Bild */
  flex: 0 0 calc((100% - 1.7rem - 3.25rem) / 3);
  min-width: 0;
  aspect-ratio: 3 / 4;
  height: auto;
  border: 0;
  padding: 0;
  border-radius: 18px;
  overflow: hidden;
  background: var(--brand-deep);
  color: #fff;
  text-align: left;
  cursor: pointer;
  font: inherit;
  isolation: isolate;
  scroll-snap-align: start;
  transition: transform .25s ease, box-shadow .25s ease;
  box-shadow: 0 10px 28px rgba(28, 90, 102, 0.16);
}
.specials-rail[data-count="1"] {
  justify-content: center;
  overflow-x: hidden;
}
.specials-rail[data-count="1"] .specials-card {
  flex-basis: min(300px, 100%);
  scroll-snap-align: center;
}
.specials-rail[data-count="2"] .specials-card {
  flex-basis: calc((100% - .85rem - 3.25rem) / 2);
}
.specials-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(28, 90, 102, 0.22);
  color: #fff;
}
.specials-card > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.02);
  transition: transform .4s ease;
}
.specials-card:hover > img {
  transform: scale(1.06);
}
.specials-card-fallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, #2a7f8d, #6fc3d3);
  color: #fff;
  font-weight: 800;
  font-size: 1rem;
}
.specials-card-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(18, 52, 60, 0.1) 0%, rgba(18, 52, 60, 0.15) 40%, rgba(18, 52, 60, 0.92) 100%);
  z-index: 1;
  pointer-events: none;
}
.specials-card-meta {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: .95rem .9rem 1rem;
  display: grid;
  gap: .18rem;
  min-height: 8.6rem;
  align-content: end;
}
.specials-card-tag {
  display: inline-block;
  width: fit-content;
  margin-bottom: .15rem;
  padding: .2rem .5rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.4);
  font-size: .66rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.specials-card-meta strong {
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.25;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.5em;
}
.specials-card-note {
  font-size: .8rem;
  opacity: .9;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.7em;
}
.specials-card-price {
  margin-top: .25rem;
  font-family: var(--display);
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.specials-like {
  position: absolute;
  top: .55rem;
  right: .55rem;
  z-index: 5;
  pointer-events: auto;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 4px 14px rgba(18, 52, 60, 0.2);
  color: var(--brand-deep);
}
.specials-like.is-on {
  background: #ffe8ef;
  color: #c2185b;
}
.rating-live {
  display: inline-block;
  margin-left: .25rem;
  padding: .08rem .35rem;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand-deep);
  font-size: .65rem;
  font-weight: 800;
  letter-spacing: .03em;
  text-transform: uppercase;
  vertical-align: middle;
}
.specials-nav {
  position: absolute;
  top: 50%;
  z-index: 4;
  transform: translateY(-50%);
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  border: 1.5px solid rgba(42, 127, 141, 0.28);
  background: rgba(255, 255, 255, 0.95);
  color: var(--brand-deep);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(28, 90, 102, 0.16);
  display: grid;
  place-items: center;
}
.specials-nav:hover:not(:disabled) {
  background: #fff;
  border-color: var(--brand);
}
.specials-nav:disabled {
  opacity: .35;
  cursor: default;
}
.specials-nav--prev { left: -.35rem; }
.specials-nav--next { right: -.35rem; }

.price { color: var(--brand-deep); font-weight: 800; }
.add-pill {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 0;
  background: var(--brand);
  color: #fff;
  font-size: 1.4rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  padding: 0;
  flex-shrink: 0;
}
.add-pill span {
  display: block;
  transform: translateY(-1px);
}

/* Spice + menu */
.spice-bar {
  display: flex; flex-wrap: wrap; gap: .5rem; align-items: center;
  background: #fff; border: 1px solid rgba(255,255,255,.55); border-radius: 16px;
  padding: .8rem 1rem; margin-bottom: 1.15rem;
}
.chili {
  color: var(--ink); font-size: .75rem; font-weight: 800;
  padding: .3rem .55rem; border-radius: 999px;
  display: inline-flex; align-items: center; gap: .4rem;
  background: transparent;
}
.chili.mild,
.chili.mid,
.chili.hot,
.chili.xhot { background: transparent; }
.chili-icon {
  width: 1.45rem;
  height: auto;
  flex-shrink: 0;
  display: block;
  object-fit: contain;
}
.spice-options .option span {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
}
.spice-options .chili-icon {
  width: 1.5rem;
}
.tabs {
  display: flex; flex-wrap: wrap; gap: .45rem; margin-bottom: 1.15rem;
  position: sticky; top: var(--header); z-index: 20;
  padding: .5rem 0;
  background: linear-gradient(180deg, rgba(255,255,255,.98) 70%, transparent);
}
.menu-search {
  display: block;
  margin: 0 0 .85rem;
}
.menu-search input {
  width: 100%;
  border: 1.5px solid rgba(42, 127, 141, 0.28);
  background: #fff;
  border-radius: 999px;
  padding: .85rem 1.15rem .85rem 2.75rem;
  font: inherit;
  font-size: 16px;
  color: var(--ink);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' fill='none' stroke='%232a7f8d' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='8' cy='8' r='5.5'/%3E%3Cpath d='M12.5 12.5 16 16'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: 1rem 50%;
  outline: none;
  transition: border-color .18s, box-shadow .18s;
}
.menu-search input::placeholder { color: #8aa0a6; }
.menu-search input:focus {
  border-color: var(--brand-deep);
  box-shadow: 0 0 0 3px rgba(111, 195, 211, 0.28);
}
.menu-empty {
  text-align: center;
  color: var(--muted);
  padding: 1.5rem 1rem;
  margin: 0 0 1rem;
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.tab {
  border: 1px solid var(--line); background: rgba(255,255,255,.88); color: var(--muted);
  border-radius: 999px; padding: .5rem .9rem; font-weight: 700; font-size: .86rem; cursor: pointer;
}
.tab.active, .tab:hover { background: var(--brand-deep); color: #fff; border-color: var(--brand-deep); }

.menu-group { margin-bottom: 1.8rem; }
.menu-group h3 { color: var(--brand-deep); font-size: 1.28rem; margin-bottom: .75rem; }
.menu-list { display: grid; gap: .7rem; }

.menu-item {
  display: grid;
  grid-template-columns: 104px 1fr auto;
  gap: .9rem;
  align-items: center;
  background: #fff;
  border: 1px solid rgba(255,255,255,.55);
  border-radius: 18px;
  padding: .7rem;
  cursor: pointer;
  transition: border-color .2s, box-shadow .2s;
}
.menu-item:hover { border-color: var(--brand); box-shadow: var(--shadow); }

/* Kachelmodus Speisekarte */
#menu[data-view="tiles"] .menu-list {
  grid-template-columns: repeat(auto-fill, minmax(148px, 1fr));
  gap: .75rem;
}
#menu[data-view="tiles"] .menu-item {
  position: relative;
  grid-template-columns: 1fr;
  align-items: stretch;
  padding: .55rem;
  gap: .55rem;
  overflow: hidden;
}
#menu[data-view="tiles"] .menu-item .thumb {
  width: 100%;
  height: 148px;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
}
#menu[data-view="tiles"] .menu-item .thumb img {
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  object-fit: cover;
  object-position: center;
  display: block;
}
/* Biryani, Samosa, Rolls: komplettes Gericht, ohne hellen Balken */
#menu[data-view="tiles"] .menu-item[data-open="biryani"] .thumb,
#menu[data-view="tiles"] .menu-item[data-open="samosa"] .thumb,
#menu[data-view="tiles"] .menu-item[data-open="roll-chicken"] .thumb,
#menu[data-view="tiles"] .menu-item[data-open="roll-veggie"] .thumb,
#menu[data-view="tiles"] .menu-item[data-open="roll-lamm"] .thumb,
#menu[data-view="tiles"] .menu-item[data-open="roll-garnelen"] .thumb {
  background: #fff;
}
#menu[data-view="tiles"] .menu-item[data-open="biryani"] .thumb img,
#menu[data-view="tiles"] .menu-item[data-open="samosa"] .thumb img,
#menu[data-view="tiles"] .menu-item[data-open="roll-chicken"] .thumb img,
#menu[data-view="tiles"] .menu-item[data-open="roll-veggie"] .thumb img,
#menu[data-view="tiles"] .menu-item[data-open="roll-lamm"] .thumb img,
#menu[data-view="tiles"] .menu-item[data-open="roll-garnelen"] .thumb img {
  object-fit: contain;
  object-position: center;
  padding: .2rem;
  box-sizing: border-box;
}
#menu[data-view="tiles"] .menu-item h4 {
  font-size: .95rem;
  line-height: 1.25;
  padding-right: .15rem;
}
#menu[data-view="tiles"] .menu-item p {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: .8rem;
}
#menu[data-view="tiles"] .menu-item .tags { display: none; }
/* Unten nur Preis + Plus; Like liegt oben rechts auf dem Bild */
#menu[data-view="tiles"] .item-side {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
  width: 100%;
  min-width: 0;
}
#menu[data-view="tiles"] .item-side .price {
  justify-self: unset;
  flex: 1 1 auto;
  min-width: 0;
  font-weight: 800;
}
#menu[data-view="tiles"] .item-side .like-btn {
  position: absolute;
  top: .7rem;
  right: .7rem;
  z-index: 2;
  justify-self: unset;
  margin: 0;
  padding: .28rem .45rem;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(6px);
  box-shadow: 0 2px 10px rgba(18, 52, 60, 0.14);
}
#menu[data-view="tiles"] .item-side .add-pill {
  justify-self: unset;
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
}

/* Favoriten Kachelmodus */
.specials-wrap.is-tiles {
  position: relative;
}
.specials-rail.is-tiles {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(148px, 1fr));
  gap: .75rem;
  overflow: visible !important;
  scroll-snap-type: none !important;
  padding: 0;
}
.specials-rail.is-tiles .specials-card {
  width: auto !important;
  max-width: none !important;
  min-width: 0;
  flex: none !important;
  aspect-ratio: 3 / 4;
  scroll-snap-align: unset;
}
.specials-wrap.is-tiles .specials-nav {
  display: none !important;
}
.thumb {
  width: 104px;
  height: 104px;
  border-radius: 14px;
  background: transparent;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 0;
  box-shadow: none;
}
.thumb img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  border: 0;
  outline: none;
}
.thumb.placeholder {
  color: var(--brand-deep);
  font-size: .72rem;
  font-weight: 800;
  text-align: center;
}
.menu-item h4 { font-family: var(--font); font-size: 1.02rem; margin-bottom: .2rem; }
.menu-item p { color: var(--muted); font-size: .88rem; }
.tags { display: flex; flex-wrap: wrap; gap: .3rem; margin-top: .35rem; }
.tags span {
  font-size: .68rem; font-weight: 800; color: var(--brand-deep);
  background: var(--brand-soft); padding: .15rem .4rem; border-radius: 6px;
}
.item-side { display: grid; justify-items: end; gap: .5rem; }

/* About */
.story-copy p {
  color: var(--muted);
  margin-bottom: 0.9rem;
  max-width: 48ch;
}
.story-copy strong {
  color: var(--ink);
  font-weight: 700;
}
.story-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(1.5rem, 3vw, 2.6rem);
  align-items: center;
}
.check-list {
  list-style: none;
  display: grid;
  gap: 0.5rem;
  margin-top: 1.15rem;
}
.check-list li {
  font-weight: 700;
  padding-left: 1.35rem;
  position: relative;
  color: var(--ink);
}
.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--brand-deep);
}

.story-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.4rem;
  background: transparent;
}
.story-logo {
  width: min(320px, 100%);
  height: auto;
  display: block;
  border-radius: 50%;
}
.team-sign {
  margin-top: 1.5rem !important;
  font-family: "Caveat", cursive;
  font-size: clamp(1.85rem, 3.4vw, 2.45rem);
  font-weight: 700;
  color: var(--brand-deep);
  letter-spacing: 0.01em;
  line-height: 1.2;
}

/* Media */
.media-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: .8rem;
}
.media-card {
  display: flex; align-items: center; gap: .8rem;
  background: #f7fbfc; border: 1px solid rgba(42, 127, 141, 0.12); border-radius: 16px; padding: 1rem;
  transition: border-color .2s, transform .2s;
}
.media-card:hover { border-color: var(--brand); transform: translateX(3px); }
.media-logo {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  object-fit: contain;
}
.media-card p { color: var(--muted); font-size: .84rem; }
.arrow { margin-left: auto; color: var(--muted); font-size: 1.2rem; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: 1.4rem; }
.contact-links { margin: .9rem 0; }
.contact-links a { color: var(--brand-deep); font-weight: 700; }
.delivery-note {
  list-style: none;
  background: var(--brand-soft);
  color: var(--brand-deep);
  font-weight: 700;
  padding: .85rem 1rem;
  border-radius: 12px;
  margin: 0 0 1rem;
  font-size: .92rem;
  border: 1px solid rgba(42, 127, 141, 0.14);
  display: grid;
  gap: .35rem;
}
.delivery-note li {
  margin: 0;
  padding: 0;
}
.hours { width: 100%; border-collapse: collapse; margin: .4rem 0 1.1rem; font-size: .92rem; }
.hours td { padding: .42rem 0; border-bottom: 1px solid var(--line); }
.hours td:last-child { text-align: right; font-weight: 700; }
.hours tr.today td { color: var(--brand-deep); }
.hours .closed { color: #c0392b; }
.open-status {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .9rem;
  font-weight: 800;
  margin: .35rem 0 .55rem;
  padding: .45rem .75rem;
  border-radius: 999px;
  background: #f7fbfc;
  border: 1px solid rgba(42, 127, 141, 0.18);
  color: var(--brand-deep);
}
.open-status.is-closed {
  color: #9b2c2c;
  background: #fff5f5;
  border-color: rgba(155, 44, 44, 0.2);
}
.open-status::before {
  content: '';
  width: .55rem;
  height: .55rem;
  border-radius: 50%;
  background: currentColor;
}
.map {
  border-radius: var(--radius); overflow: hidden; min-height: 360px;
  border: 1px solid var(--line); box-shadow: var(--shadow);
}
.map iframe { width: 100%; height: 100%; min-height: 360px; border: 0; }

/* Footer */
.site-footer {
  background: transparent;
  color: var(--ink);
  padding: 1.6rem 0 calc(2rem + var(--cart-dock));
  position: relative;
  z-index: 1;
}
.footer-grid {
  display: grid; gap: 1rem;
  grid-template-columns: 1fr auto auto; align-items: center;
  background: rgba(255,255,255,.96);
  border-radius: 22px;
  padding: 1.1rem 1.3rem;
  border: 2px solid var(--brand-deep);
}
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: .55rem;
  align-items: flex-start;
}
.footer-logo { height: 32px; width: auto; }
.footer-links { display: flex; flex-wrap: wrap; gap: .9rem; }
.footer-links a { color: var(--brand-deep); font-weight: 700; }
.footer-copy { font-size: .85rem; color: var(--muted); }
.footer-copy { font-size: .85rem; }

/* Floating cart dock – only when cart has items */
.cart-dock {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 55;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--line);
  box-shadow: 0 -8px 30px rgba(47,122,136,.12);
  padding: .65rem 0;
}
.cart-dock[hidden] {
  display: none !important;
}
.cart-dock-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .8rem;
}
.cart-dock-info { display: flex; flex-direction: column; gap: .1rem; }
.cart-dock-info strong { color: var(--brand-deep); font-size: 1.05rem; }
.cart-dock-info span { color: var(--muted); font-size: .82rem; }
.cart-dock .btn {
  padding: .7rem 1.05rem;
  gap: .45rem;
}
.cart-dock .cart-count {
  min-width: 1.35rem; height: 1.35rem; border-radius: 999px;
  background: #fff; color: var(--brand-deep);
  display: grid; place-items: center; font-size: .75rem; font-weight: 800;
}

/* Drawer / Modal */
.overlay {
  position: fixed; inset: 0; background: rgba(12, 28, 32, .45);
  z-index: 60; border: 0; cursor: pointer;
}
.drawer {
  position: fixed; top: 0; right: 0; width: min(420px, 100%);
  height: 100%; height: 100dvh; max-height: 100%; max-height: 100dvh;
  background: #fff; z-index: 70; transform: translateX(100%);
  transition: transform .28s ease; display: flex; flex-direction: column;
  box-shadow: -20px 0 60px rgba(0,0,0,.18);
  overflow: hidden;
  padding-bottom: env(safe-area-inset-bottom, 0);
}
.drawer.open { transform: translateX(0); }
.drawer-head, .drawer-foot { padding: 1rem 1.1rem; border-bottom: 1px solid var(--line); flex-shrink: 0; }
.drawer-foot {
  border-bottom: 0; border-top: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 -8px 24px rgba(47, 122, 136, .08);
  flex-shrink: 0;
}
.drawer-head { display: flex; justify-content: space-between; align-items: center; }
.drawer-scroll {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  overflow-anchor: none;
}
.drawer-body { padding: 0 1.1rem; }
.drawer-fields {
  padding: .8rem 1.1rem; display: grid; gap: .55rem; border-top: 1px solid var(--line);
}
.drawer-meta {
  padding: .35rem 1.1rem 1.1rem;
  border-top: 1px solid var(--line);
}
.drawer-foot .total-row { margin-bottom: .55rem; }
.drawer-foot .btn-ghost { margin-top: .35rem; }
.drawer-foot #sendWhatsApp {
  margin-top: .45rem;
}
.drawer-foot #sendWhatsApp[hidden] {
  display: none !important;
}
.drawer-fields label {
  display: grid; gap: .25rem; font-size: .8rem; font-weight: 700; color: var(--muted);
}
.cart-name-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .55rem;
  align-items: start;
}
.cart-name-heading {
  grid-column: 1 / -1;
  margin: 0;
  font-size: .8rem;
  font-weight: 700;
  color: var(--muted);
}
.cart-name-heading[hidden] {
  display: none !important;
}
.cart-name-row > label {
  display: grid;
  gap: .25rem;
  align-content: start;
}
.cart-time-fieldset {
  margin: 0;
  padding: .65rem .75rem;
  border: 1px solid rgba(42, 127, 141, 0.18);
  border-radius: 12px;
  background: #fff;
  display: grid;
  gap: .4rem;
}
.cart-time-fieldset legend {
  font-size: .8rem;
  font-weight: 700;
  color: var(--muted);
  padding: 0 .25rem;
}
.cart-time-option {
  display: flex !important;
  align-items: flex-start;
  gap: .5rem;
  font-weight: 600 !important;
  color: var(--ink) !important;
  cursor: pointer;
}
.cart-time-option input {
  width: auto !important;
  margin-top: .2rem;
  flex-shrink: 0;
}
.cart-time-option small {
  font-weight: 500;
  color: var(--muted);
}
.cart-time-slot {
  margin-top: .15rem;
}
.drawer-fields input, .drawer-fields select, .drawer-fields textarea {
  width: 100%; border: 1px solid rgba(42, 127, 141, 0.18); border-radius: 12px;
  padding: .65rem .75rem; background: #fff; color: var(--ink);
  font-size: 16px;
}
.drawer-fields input:focus, .drawer-fields select:focus, .drawer-fields textarea:focus {
  outline: 2px solid rgba(42, 127, 141, 0.25);
  border-color: var(--brand-deep);
}
.drawer-fields input.is-invalid,
.drawer-fields textarea.is-invalid {
  border-color: #c23b3b;
  background: #fff8f8;
}
.drawer-fields input.is-invalid:focus,
.drawer-fields textarea.is-invalid:focus {
  outline-color: rgba(194, 59, 59, 0.3);
  border-color: #c23b3b;
}
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}
.empty { text-align: center; color: var(--muted); padding: 2rem .5rem; }
.cart-line {
  display: grid; grid-template-columns: 1fr auto; gap: .3rem .6rem;
  padding: .75rem 0; border-bottom: 1px solid var(--line);
}
.cart-line .meta { color: var(--muted); font-size: .82rem; }
.cart-line .sum { font-weight: 800; color: var(--brand-deep); }
.line-controls { display: inline-flex; align-items: center; gap: .35rem; }
.line-controls button {
  width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--line);
  background: #f7fbfc; cursor: pointer;
}
.total-row {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: .7rem; font-size: 1.05rem;
}
.total-row strong { font-size: 1.35rem; color: var(--brand-deep); }
.total-row.sub {
  font-size: .95rem;
  margin-bottom: .35rem;
}
.total-row.sub strong { font-size: 1rem; color: var(--ink); }
.delivery-distance {
  font-size: .82rem;
  line-height: 1.4;
  margin: -.15rem 0 .15rem;
  padding: .55rem .7rem;
  border-radius: 10px;
  background: #f7fbfc;
  border: 1px solid rgba(42, 127, 141, 0.14);
  color: var(--muted);
}
.delivery-distance.is-ok {
  color: var(--brand-deep);
  border-color: rgba(42, 127, 141, 0.28);
  background: var(--brand-soft);
  font-weight: 600;
}
.delivery-distance.is-wait { color: var(--muted); }
.delivery-distance.is-err {
  color: #9b2c2c;
  background: #fff5f5;
  border-color: rgba(155, 44, 44, 0.2);
  font-weight: 600;
}
.cart-policy {
  font-size: .8rem;
  color: var(--muted);
  margin: .35rem 0 0;
  line-height: 1.4;
}
.cart-policy-details {
  margin: .35rem 0 0;
  font-size: .8rem;
  color: var(--muted);
}
.cart-policy-details > summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--brand-deep);
  list-style: none;
}
.cart-policy-details > summary::-webkit-details-marker { display: none; }
.cart-policy-details > summary::after {
  content: ' ▾';
  font-weight: 700;
}
.cart-policy-details[open] > summary::after {
  content: ' ▴';
}
.cart-policy-details .cart-policy {
  margin-top: .45rem;
}
.payment-hint {
  margin: -.15rem 0 .15rem;
  font-size: .78rem;
  font-weight: 600;
  color: var(--brand-deep);
  line-height: 1.35;
}
.pay-method-field {
  display: grid;
  gap: .5rem;
  margin-bottom: .55rem;
}
.pay-method-label {
  font-weight: 700;
  font-size: .9rem;
  color: var(--brand-deep);
}
.pay-mode-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .45rem;
}
.pay-mode-chip {
  border: 1.5px solid rgba(42, 127, 141, 0.22);
  background: #fff;
  color: var(--brand-deep);
  border-radius: 12px;
  padding: .65rem .75rem;
  font: inherit;
  font-weight: 800;
  font-size: .9rem;
  cursor: pointer;
}
.pay-mode-chip.is-selected {
  background: var(--brand-soft);
  border-color: var(--brand);
  box-shadow: inset 0 0 0 1px var(--brand);
}
.pay-method-picked {
  margin: 0;
  font-size: .78rem;
  font-weight: 700;
  color: var(--brand-deep);
}
.pay-method-list {
  display: grid;
  gap: 0;
  border: 1.5px solid rgba(42, 127, 141, 0.22);
  border-radius: 14px;
  background: #fff;
  overflow: hidden;
  animation: payListIn .18s ease-out;
}
@keyframes payListIn {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: none; }
}
.pay-method-list.is-collapsed {
  /* nur eine Zeile – Auswahl mit Logo */
}
.pay-method-list[hidden] {
  display: none !important;
}
.pay-method-opt[hidden] {
  display: none !important;
}
.pay-method-opt {
  display: flex;
  align-items: center;
  gap: .65rem;
  width: 100%;
  margin: 0;
  padding: .62rem .8rem;
  border: 0;
  border-top: 1px solid rgba(42, 127, 141, 0.1);
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: .9rem;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
}
.pay-method-opt:first-child {
  border-top: 0;
}
.pay-method-opt:hover {
  background: #f7fbfc;
}
.pay-method-opt.is-selected {
  background: var(--brand-soft);
  box-shadow: inset 3px 0 0 var(--brand);
}
.pay-method-note {
  margin: 0;
  font-size: .72rem;
  color: var(--muted);
  line-height: 1.4;
  font-weight: 600;
}
.pay-method-note[hidden] {
  display: none !important;
}
.pay-logo {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  object-fit: contain;
  display: block;
  border-radius: 3px;
}
.payment-hint-foot {
  margin: .35rem 0 0;
  padding: .5rem .65rem;
  border-radius: 10px;
  background: rgba(42, 127, 141, 0.1);
  border: 1px solid rgba(42, 127, 141, 0.22);
}
.min-order-warn {
  font-size: .85rem;
  font-weight: 700;
  color: #9b2c2c;
  background: #fff5f5;
  border: 1px solid rgba(155, 44, 44, 0.2);
  border-radius: 10px;
  padding: .55rem .7rem;
  margin: .15rem 0 .55rem;
  line-height: 1.35;
}
#sendOrder:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
  pointer-events: none;
}
.allergen-note {
  margin-top: 1.1rem;
  padding: .75rem .95rem;
  background: var(--brand-soft);
  border: 1px solid rgba(42, 127, 141, 0.14);
  border-radius: 12px;
  font-size: .88rem;
  color: var(--muted);
}
.allergen-note strong { color: var(--brand-deep); }
.icon-btn {
  width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line);
  background: #fff; font-size: 1.4rem; cursor: pointer; line-height: 1;
}

[hidden] { display: none !important; }
.modal {
  position: fixed; inset: 0; z-index: 80; display: grid; place-items: center;
  padding: 1rem; background: rgba(12, 28, 32, .5);
  cursor: pointer;
}
.modal-card {
  width: min(480px, 100%); max-height: min(92vh, 860px);
  background: #fff; border-radius: 24px; position: relative;
  display: flex; flex-direction: column;
  box-shadow: var(--shadow);
  overflow: hidden;
  cursor: default;
}
.modal-scroll {
  overflow: auto;
  max-height: min(92vh, 860px);
  display: flex;
  flex-direction: column;
}
.modal-close {
  position: absolute; top: .7rem; right: .7rem; z-index: 5;
  background: rgba(255,255,255,.95);
  box-shadow: 0 4px 14px rgba(0,0,0,.12);
}
.modal-media {
  background: #fff;
  min-height: 200px; max-height: 260px;
  padding: 1rem 1.2rem 0.4rem;
  display: flex; align-items: center; justify-content: center;
  border-radius: 24px 24px 0 0;
  border-bottom: 0;
}
.modal-media img {
  max-width: 100%; max-height: 220px;
  object-fit: contain;
  border: 0;
  outline: none;
}
.modal-content { padding: 1rem 1.2rem 1.3rem; }
.modal-content h2 { font-size: 1.4rem; }
.modal-content > p { color: var(--muted); margin: .4rem 0 .6rem; }
.modal-price { color: var(--brand-deep) !important; font-weight: 800; font-size: 1.2rem; }
.modal-price-hint, .modal-tip, .modal-allergens, .modal-included {
  font-size: .82rem;
  color: var(--muted);
  margin: .25rem 0 .55rem;
  line-height: 1.4;
}
.modal-allergens, .modal-included {
  font-weight: 600;
  color: var(--brand-deep);
}
.allergen-nums {
  font-size: .78rem;
  font-weight: 700;
  color: var(--brand-deep);
}
.modal-block { margin: 1rem 0; }
.modal-block h3 { font-family: var(--font); font-size: .95rem; margin-bottom: .5rem; }
.modal-block small { color: var(--muted); font-weight: 500; }
.modal-block textarea {
  width: 100%;
  min-height: 4.2rem;
  resize: vertical;
  border: 1.5px solid rgba(42, 127, 141, 0.22);
  border-radius: 12px;
  padding: .65rem .75rem;
  background: #fff;
  box-sizing: border-box;
}
.modal-block textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(111, 195, 211, 0.25);
}
.check {
  display: flex !important; align-items: center; gap: .55rem;
  background: #f7fbfc; border: 1px solid var(--line); border-radius: 12px; padding: .7rem .8rem;
}
.check em { color: var(--brand-deep); font-style: normal; font-weight: 800; }
.option-grid { display: grid; gap: .4rem; }
.option {
  display: flex; justify-content: space-between; align-items: center; gap: .5rem;
  border: 1px solid var(--line); border-radius: 12px; padding: .6rem .75rem;
  cursor: pointer; background: #fff;
}
.option.selected { border-color: var(--brand); background: var(--brand-soft); }
.spice-options {
  grid-template-columns: 1fr 1fr;
}
.option input { accent-color: var(--brand-deep); }
.qty-row { display: flex; justify-content: space-between; align-items: center; }
.qty { display: inline-flex; align-items: center; gap: .55rem; }
.qty button {
  width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line);
  background: #f7fbfc; cursor: pointer; font-size: 1.1rem;
}
.qty span { min-width: 1.4rem; text-align: center; font-weight: 800; }

.fab { display: none; }

/* Auth modal */
.auth-modal {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(12, 28, 32, 0.48);
  display: grid;
  place-items: center;
  padding: 1rem;
}
.auth-modal[hidden] { display: none !important; }
.auth-card {
  position: relative;
  width: min(440px, 100%);
  max-height: min(92vh, 760px);
  overflow: auto;
  background: #fff;
  border-radius: 18px;
  padding: 1.35rem 1.25rem 1.25rem;
  box-shadow: 0 18px 48px rgba(12, 40, 48, 0.22);
  border: 1px solid var(--line);
}
.auth-card h2 {
  margin: .65rem 0 .35rem;
  font-size: 1.35rem;
  color: var(--brand-deep);
}
.auth-lead {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: .9rem;
  line-height: 1.45;
}
.auth-pending {
  display: grid;
  gap: .85rem;
  margin-bottom: .25rem;
}
.auth-pending[hidden] {
  display: none !important;
}
.auth-pending-msg {
  margin: 0;
  color: var(--brand-deep);
  font-size: .95rem;
  line-height: 1.45;
  font-weight: 600;
}
.auth-pending-email {
  margin: 0;
  padding: .65rem .8rem;
  border-radius: 12px;
  background: #f4f8f9;
  color: var(--brand-deep);
  font-weight: 700;
  word-break: break-all;
}
.auth-tabs {
  display: flex;
  gap: .35rem;
  background: #f4f8f9;
  padding: .3rem;
  border-radius: 999px;
}
.auth-tab {
  flex: 1;
  border: 0;
  background: transparent;
  padding: .45rem .6rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: .85rem;
  color: var(--muted);
  cursor: pointer;
}
.auth-tab.active {
  background: #fff;
  color: var(--brand-deep);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}
.auth-form {
  display: grid;
  gap: .75rem;
}
.auth-form label {
  display: grid;
  gap: .3rem;
  font-size: .82rem;
  font-weight: 700;
  color: var(--ink);
}
.auth-form label[hidden] {
  display: none !important;
}
.auth-form input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: .7rem .85rem;
  font: inherit;
  font-size: 16px;
  background: #fafcfc;
}
.auth-form input:focus {
  outline: 2px solid rgba(42, 127, 141, 0.35);
  border-color: var(--brand);
  background: #fff;
}
.auth-error {
  margin: 0;
  color: #b42318;
  font-size: .85rem;
  font-weight: 600;
}
.auth-legal {
  display: grid;
  gap: .55rem;
  margin-top: .15rem;
}
.auth-check {
  display: grid !important;
  grid-template-columns: 1.15rem 1fr;
  gap: .55rem;
  align-items: start;
  font-size: .8rem !important;
  font-weight: 500 !important;
  color: var(--muted) !important;
  line-height: 1.45;
  cursor: pointer;
}
.auth-check input {
  width: 1.05rem !important;
  height: 1.05rem;
  margin-top: .15rem;
  padding: 0 !important;
  accent-color: var(--brand-deep);
}
.auth-check a {
  color: var(--brand-deep);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.pw-field {
  position: relative;
  display: block;
}
.pw-field input {
  width: 100%;
  padding-right: 2.75rem !important;
}
.pw-toggle {
  position: absolute;
  right: .35rem;
  top: 50%;
  transform: translateY(-50%);
  width: 2.2rem;
  height: 2.2rem;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  display: grid;
  place-items: center;
  padding: 0;
}
.pw-toggle .pw-icon {
  display: block;
  pointer-events: none;
}
.pw-toggle .pw-icon-hide { display: none; }
.pw-toggle[aria-pressed="true"] .pw-icon-show { display: none; }
.pw-toggle[aria-pressed="true"] .pw-icon-hide { display: block; }
.pw-toggle:hover,
.pw-toggle[aria-pressed="true"] {
  color: var(--brand-deep);
  background: rgba(42, 127, 141, 0.08);
}
.pw-hint {
  display: block;
  margin-top: .35rem;
  font-size: .8rem;
  font-weight: 600;
  line-height: 1.35;
}
.pw-hint.is-error {
  color: #b42318;
}
.pw-hint.is-ok {
  color: var(--brand-deep);
}
.pw-field input.is-invalid {
  border-color: #b42318 !important;
  background: #fff8f7 !important;
}
.auth-forgot {
  display: block;
  width: 100%;
  margin: .15rem 0 0;
  padding: .35rem;
  border: 0;
  background: transparent;
  color: var(--brand-deep);
  font: inherit;
  font-size: .85rem;
  font-weight: 700;
  cursor: pointer;
  text-align: center;
}
.auth-forgot:hover { text-decoration: underline; }
.auth-forgot[hidden] { display: none !important; }
.account-legal-note {
  margin: .35rem 0 0;
  font-size: .78rem;
  color: var(--muted);
  line-height: 1.45;
  text-align: center;
}
.account-legal-note a {
  color: var(--brand-deep);
  font-weight: 700;
  text-decoration: none;
}
.account-legal-note a:hover { text-decoration: underline; }
.account-orders-wrap {
  margin: 0 0 1.1rem;
}
.account-orders-wrap .account-section-title {
  margin: 0;
}
.account-orders-list {
  display: grid;
  gap: .55rem;
  max-height: 260px;
  overflow: auto;
}
.account-order-cancel {
  color: #9a3412 !important;
  border-color: rgba(154, 52, 18, 0.28) !important;
}
.loyalty-nudge {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0;
  pointer-events: none;
}
.loyalty-nudge[hidden] { display: none !important; }
.loyalty-nudge-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  padding: 0;
  margin: 0;
  cursor: pointer;
  background: rgba(18, 52, 60, 0.28);
  backdrop-filter: blur(2px);
  pointer-events: auto;
  animation: loyaltyFadeIn .28s ease-out;
}
.loyalty-nudge-sheet {
  position: relative;
  z-index: 1;
  width: min(100%, 28rem);
  margin: 0 .75rem max(.75rem, env(safe-area-inset-bottom));
  padding: 1.15rem 1.2rem 1.25rem;
  background:
    radial-gradient(120% 80% at 10% 0%, rgba(255, 255, 255, 0.55), transparent 55%),
    linear-gradient(165deg, #8ad6e3 0%, var(--brand) 42%, #5bb6c8 100%);
  border: 2px solid var(--brand-deep);
  border-radius: 22px 22px 18px 18px;
  box-shadow: 0 18px 48px rgba(18, 52, 60, 0.22);
  pointer-events: auto;
  animation: loyaltySheetIn .36s cubic-bezier(.22, 1, .36, 1);
}
.loyalty-nudge-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  margin-bottom: .85rem;
}
.loyalty-nudge-logo {
  display: block;
  height: 34px;
  width: auto;
  object-fit: contain;
}
.loyalty-nudge-x {
  flex: 0 0 auto;
  width: 2rem;
  height: 2rem;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.55);
  color: var(--brand-deep);
  font: inherit;
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
}
.loyalty-nudge-x:hover {
  background: #fff;
}
.loyalty-nudge-sheet h2 {
  margin: 0 0 .4rem;
  font-family: var(--display);
  font-size: clamp(1.35rem, 4.5vw, 1.65rem);
  line-height: 1.15;
  letter-spacing: -.02em;
  color: var(--ink);
}
.loyalty-nudge-text {
  margin: 0 0 1.05rem;
  color: var(--ink);
  font-size: .95rem;
  line-height: 1.5;
  max-width: 22rem;
  opacity: .88;
}
.loyalty-nudge-actions {
  display: grid;
  gap: .55rem;
}
.loyalty-nudge-actions .btn {
  width: 100%;
  box-sizing: border-box;
  justify-content: center;
}
.loyalty-nudge-skip {
  border: 0;
  background: transparent;
  color: var(--brand-deep);
  font: inherit;
  font-size: .9rem;
  font-weight: 700;
  padding: .35rem .5rem;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: .18em;
}
.loyalty-nudge-skip:hover {
  color: var(--ink);
}
@keyframes loyaltyFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes loyaltySheetIn {
  from { opacity: 0; transform: translateY(1.25rem); }
  to { opacity: 1; transform: translateY(0); }
}
@media (min-width: 720px) {
  .loyalty-nudge {
    align-items: center;
  }
  .loyalty-nudge-sheet {
    margin: 0;
    border-radius: 24px;
  }
}

.admin-order-popup {
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 120;
  max-width: min(92vw, 22rem);
  background: #fff;
  border: 2px solid var(--brand-deep, #2a7f8d);
  border-radius: 16px;
  padding: 1rem 1.1rem;
  box-shadow: 0 16px 40px rgba(28, 90, 102, 0.22);
  animation: adminPopIn .28s ease-out;
}
.admin-order-popup[hidden] { display: none !important; }
.admin-order-popup strong {
  display: block;
  color: var(--brand-deep, #2a7f8d);
  font-size: 1.05rem;
  margin-bottom: .25rem;
}
.admin-order-popup p {
  margin: 0 0 .75rem;
  color: var(--muted, #3d5c64);
  font-size: .9rem;
  line-height: 1.45;
}
.admin-order-popup .btn { width: 100%; }
@keyframes adminPopIn {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

.admin-cat-box {
  margin: 0 0 1.15rem;
  padding: 1rem 1rem .85rem;
  border-radius: 14px;
  border: 1px solid rgba(42, 127, 141, 0.16);
  background: #f7fbfc;
}
.admin-cat-box h3 {
  margin: 0 0 .35rem;
  font-size: 1rem;
  color: var(--brand-deep, #2a7f8d);
}
.admin-cat-create {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  align-items: stretch;
}
.admin-cat-create input {
  flex: 1 1 12rem;
  font: inherit;
  padding: .65rem .8rem;
  border-radius: 12px;
  border: 1px solid rgba(42, 127, 141, 0.22);
  background: #fff;
}
.admin-cat-create .btn {
  flex: 0 0 auto;
}

.admin-orders-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  margin: 0 0 1rem;
  padding: .25rem;
  border-radius: 14px;
  background: rgba(42, 127, 141, 0.08);
}
.admin-orders-tab {
  flex: 1 1 8rem;
  border: 0;
  background: transparent;
  color: var(--muted, #3d5c64);
  font: inherit;
  font-size: .88rem;
  font-weight: 700;
  padding: .55rem .7rem;
  border-radius: 11px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
}
.admin-orders-tab[data-kitchen-tab="cancelled"].is-active {
  color: #9a3412;
}
.admin-orders-tab.is-active {
  background: #fff;
  color: var(--brand-deep, #2a7f8d);
  box-shadow: 0 1px 4px rgba(23, 53, 58, 0.12);
}
.admin-orders-tab-count:not(:empty)::before {
  content: '(';
}
.admin-orders-tab-count:not(:empty)::after {
  content: ')';
}
.admin-orders-tab-count {
  font-weight: 800;
  opacity: .85;
}
.account-order {
  padding: .7rem .75rem;
  border-radius: 12px;
  background: #f7fbfc;
  border: 1px solid rgba(42, 127, 141, 0.12);
}
.account-order.is-active {
  border-color: rgba(42, 127, 141, 0.35);
  box-shadow: 0 0 0 1px rgba(111, 195, 211, 0.25);
}
.account-order-status {
  color: var(--brand-deep);
  font-weight: 700;
}
.cart-auth-banner {
  margin: 0 0 .85rem;
  padding: .75rem .85rem;
  border-radius: 14px;
  font-size: .88rem;
  line-height: 1.45;
  background: var(--brand-soft, #dff5f9);
  color: var(--brand-deep);
  border: 1px solid rgba(42, 127, 141, 0.2);
}
.cart-auth-banner.is-guest {
  background: #fff8e8;
  color: #6a4a12;
  border-color: rgba(232, 163, 23, 0.35);
}
.cart-auth-banner button {
  display: inline;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  font-weight: 800;
  text-decoration: underline;
  cursor: pointer;
}
.cart-auth-banner strong { font-weight: 800; }
.account-order-top {
  display: flex;
  justify-content: space-between;
  gap: .5rem;
  align-items: baseline;
}
.account-order-top strong {
  color: var(--ink, #17353a);
  font-size: .92rem;
}
.account-order-meta {
  margin: .25rem 0 0;
  font-size: .78rem;
  color: var(--muted);
  line-height: 1.4;
}
.account-order-actions {
  margin-top: .55rem;
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
}
.account-order-actions .btn {
  font-size: .8rem;
  padding: .4rem .7rem;
}
.account-orders-empty {
  margin: 0;
  font-size: .85rem;
  color: var(--muted);
}
.like-btn {
  display: inline-flex;
  align-items: center;
  gap: .28rem;
  border: 1.5px solid rgba(42, 127, 141, 0.22);
  background: #fff;
  color: var(--muted);
  border-radius: 999px;
  padding: .28rem .55rem;
  font: inherit;
  font-size: .78rem;
  font-weight: 700;
  cursor: pointer;
  line-height: 1;
  transition: color .15s, border-color .15s, background .15s;
}
.like-btn:hover {
  border-color: var(--brand-deep);
  color: var(--brand-deep);
}
.like-btn.is-on {
  background: #ffe8ef;
  border-color: #e85a7a;
  color: #c2185b;
}
.like-btn.is-locked {
  opacity: 0.55;
}
.like-btn .like-heart { font-size: .95rem; }
.auth-logged {
  display: grid;
  gap: .85rem;
  margin-top: .25rem;
}
.auth-logged p {
  margin: 0;
  line-height: 1.45;
  color: var(--muted);
}
.auth-logged strong { color: var(--ink); }
body.auth-open { overflow: hidden; }
.btn-block { width: 100%; }

.toast {
  position: fixed; left: 50%; bottom: calc(var(--cart-dock) + 1rem);
  transform: translateX(-50%);
  background: var(--ink); color: #fff; padding: .7rem 1.05rem;
  border-radius: 999px; z-index: 90; font-size: .9rem;
}

.legal {
  padding: 5rem 0 3rem;
  position: relative;
  z-index: 1;
}
.legal-panel {
  background: rgba(255, 255, 255, 0.97);
  border: 2px solid var(--brand-deep);
  border-radius: 28px;
  padding: clamp(1.4rem, 3vw, 2.2rem);
  box-shadow: 0 18px 48px rgba(28, 90, 102, 0.14);
}
.legal h1 { margin-bottom: 1rem; color: var(--ink); }
.legal h2 {
  font-size: 1.2rem; margin: 1.4rem 0 .5rem; font-family: var(--font);
  color: var(--ink);
}
.legal .kicker { color: var(--brand-deep); }
.legal p, .legal li { color: var(--muted); margin-bottom: .55rem; }
.legal a { color: var(--brand-deep); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.legal a.btn {
  text-decoration: none;
  margin: .25rem .35rem .25rem 0;
  display: inline-flex;
}
.legal a.btn-primary {
  color: #fff;
  background: var(--brand-deep);
  border-color: var(--brand-deep);
}
.legal a.btn-primary:hover {
  color: #fff;
}
.legal a.btn-ghost {
  color: var(--brand-deep);
  background: #fff;
  border: 1.5px solid rgba(42, 127, 141, 0.35);
}
.legal a.btn-ghost:hover {
  color: var(--brand-deep);
  background: var(--brand-soft);
}
.legal a.btn-light {
  color: var(--brand-deep);
}
.legal ul, .legal ol { padding-left: 1.2rem; margin-bottom: .85rem; }
.legal ol { list-style: decimal; }
.legal li { margin-bottom: .45rem; }
.legal em { font-style: italic; color: var(--muted); }
.cart-legal-note {
  font-size: .78rem;
  color: var(--muted);
  margin: 0 0 .55rem;
  line-height: 1.35;
}
.cart-legal-note a,
.cart-policy a {
  color: var(--brand-deep);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Cookie banner */
.cookie-banner {
  position: fixed; left: 1rem; right: 1rem; bottom: calc(var(--cart-dock) + 1rem);
  z-index: 95; max-width: 440px; margin-inline: auto;
  background: #fff; color: var(--ink);
  border: 2px solid var(--brand-deep); border-radius: 22px;
  padding: 1.2rem 1.25rem 1.15rem; box-shadow: 0 18px 40px rgba(28, 90, 102, 0.22);
}
.cookie-banner h2 { font-size: 1.12rem; margin-bottom: .4rem; color: var(--ink); }
.cookie-banner p { color: var(--muted); font-size: .88rem; margin-bottom: 1rem; line-height: 1.45; }
.cookie-banner a {
  color: var(--brand-deep);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.cookie-actions {
  display: flex;
  flex-direction: column;
  gap: .45rem;
}
.cookie-actions .btn {
  width: 100%;
  justify-content: center;
  padding: .72rem 1rem;
  font-size: .9rem;
}
.cookie-actions .btn-ghost {
  background: #fff;
  color: var(--brand-deep);
  border: 1.5px solid rgba(42, 127, 141, 0.4);
}
.cookie-actions .btn-light {
  background: #f3fafb;
  color: var(--brand-deep);
  border: 1.5px solid rgba(42, 127, 141, 0.22);
}
.cookie-actions-row {
  flex-direction: row;
  flex-wrap: wrap;
}
.cookie-actions-row .btn {
  width: auto;
  flex: 1 1 auto;
  min-width: 7.5rem;
}
.cookie-panel {
  position: fixed; inset: 0; z-index: 96; display: grid; place-items: center;
  padding: 1rem; background: rgba(12, 28, 32, .5);
}
.cookie-card {
  width: min(420px, 100%); background: #fff; border-radius: 22px;
  padding: 1.3rem 1.2rem; border: 2px solid var(--brand-deep);
  box-shadow: var(--shadow);
}
.cookie-card h2 { font-size: 1.25rem; margin-bottom: .4rem; }
.cookie-card > p { color: var(--muted); font-size: .9rem; margin-bottom: 1rem; }
.cookie-card a {
  color: var(--brand-deep);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.cookie-opt {
  display: flex; justify-content: space-between; align-items: center; gap: .8rem;
  padding: .75rem 0; border-top: 1px solid var(--line);
}
.cookie-opt strong { display: block; font-size: .92rem; }
.cookie-opt span { display: block; font-size: .8rem; color: var(--muted); margin-top: .15rem; }
.cookie-opt input { width: 1.1rem; height: 1.1rem; accent-color: var(--brand-deep); }
.map-consent {
  min-height: 360px; display: grid; place-items: center; text-align: center;
  padding: 1.5rem; background: #f7fbfc; border-radius: var(--radius);
  border: 1px dashed rgba(42, 127, 141, 0.35);
}
.map-consent p { color: var(--muted); margin-bottom: .9rem; max-width: 28ch; }

@media (max-width: 960px) {
  .hero-layout, .story-grid, .contact-grid, .media-grid, .footer-grid, .reviews-grid {
    grid-template-columns: 1fr;
  }
  .specials-rail[data-count="3"] .specials-card,
  .specials-rail:not([data-count="1"]):not([data-count="2"]) .specials-card {
    flex-basis: calc((100% - .85rem - 3.25rem) / 2);
  }
  .specials-nav--prev { left: .15rem; }
  .specials-nav--next { right: .15rem; }
  .story-brand {
    order: -1;
  }
  .story-logo {
    width: min(300px, 88%);
  }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: var(--header);
    background: #fff; border-bottom: 1px solid rgba(42, 127, 141, 0.12);
    flex-direction: column; padding: 1rem;
  }
  .nav.open { display: flex; }
  .burger { display: flex; }
  .cart-btn-label { display: none; }
  .menu-item { grid-template-columns: 78px 1fr auto; }
  .thumb { width: 78px; height: 78px; }
  .tabs {
    flex-wrap: nowrap;
    gap: .35rem;
    margin: 0 -1rem 0.85rem;
    padding: .35rem 1rem .55rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid rgba(42, 127, 141, 0.08);
  }
  .tabs::-webkit-scrollbar { display: none; }
  .tab {
    flex: 0 0 auto;
    padding: .32rem .7rem;
    font-size: .75rem;
    white-space: nowrap;
  }
}

@media (max-width: 560px) {
  .hero-actions .btn { width: 100%; }
  .menu-item p {
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  }
  /* Kacheln: feste 2-Spalten-Raster auf dem Handy */
  #menu[data-view="tiles"] .menu-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .65rem;
  }
  #menu[data-view="tiles"] .menu-item .thumb {
    height: 128px;
  }
  #menu[data-view="tiles"] .item-side .like-btn {
    top: .6rem;
    right: .6rem;
    padding: .22rem .4rem;
    font-size: .72rem;
  }
  #menu[data-view="tiles"] .item-side .add-pill {
    width: 40px;
    height: 40px;
  }
  .specials-rail.is-tiles {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .65rem;
  }
  /* Favoriten Liste: eine Karte + sichtbarer Peek der nächsten */
  .specials-rail:not(.is-tiles) {
    gap: .75rem;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 0;
    padding-inline: 0;
    padding-block: .2rem .55rem;
  }
  .specials-rail:not(.is-tiles)[data-count="1"] {
    justify-content: center;
  }
  .specials-rail:not(.is-tiles)[data-count="1"] .specials-card {
    flex-basis: min(360px, 100%);
    margin-inline: 0;
    scroll-snap-align: center;
  }
  .specials-rail:not(.is-tiles)[data-count="2"] .specials-card,
  .specials-rail:not(.is-tiles)[data-count="3"] .specials-card,
  .specials-rail:not(.is-tiles):not([data-count="1"]):not([data-count="2"]) .specials-card {
    flex: 0 0 calc(100% - 4.75rem);
    max-width: calc(100% - 4.75rem);
    scroll-snap-align: start;
    scroll-snap-stop: always;
    margin-inline: 0;
  }
  .specials-wrap:not(.is-tiles)::after {
    width: 3.5rem;
    bottom: .55rem;
  }
  .specials-nav--prev { left: .4rem; }
  .specials-nav--next { right: .4rem; }
  .specials-card-meta {
    min-height: 8.2rem;
  }
  .specials-nav {
    width: 2.2rem;
    height: 2.2rem;
    font-size: 1.2rem;
  }
  .specials-nav--prev { left: .35rem; }
  .specials-nav--next { right: .35rem; }
  .cart-dock-info span { display: none; }
  .wa-float {
    right: .85rem;
  }
}

/* Switch toggles (statt Checkbox-Kästchen) */
.switch {
  display: flex !important;
  align-items: center;
  gap: .75rem;
  margin: 0;
  padding: .7rem .8rem;
  border-radius: 14px;
  background: #fff;
  border: 1.5px solid rgba(42, 127, 141, 0.2);
  cursor: pointer;
  font-weight: 700;
  color: var(--brand-deep);
  line-height: 1.35;
  user-select: none;
}
.switch:has(input:checked) {
  background: var(--brand-soft);
  border-color: rgba(42, 127, 141, 0.4);
}
.switch:has(input:disabled) {
  opacity: .55;
  cursor: not-allowed;
}
.switch input {
  position: absolute !important;
  opacity: 0 !important;
  width: 1px !important;
  height: 1px !important;
  margin: 0 !important;
  padding: 0 !important;
  pointer-events: none;
}
.switch-track {
  position: relative;
  flex-shrink: 0;
  width: 46px;
  height: 28px;
  border-radius: 999px;
  background: #c9dce1;
  transition: background .2s ease;
}
.switch-track::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 6px rgba(18, 52, 60, .18);
  transition: transform .2s ease;
}
.switch input:checked + .switch-track {
  background: var(--brand-deep);
}
.switch input:checked + .switch-track::after {
  transform: translateX(18px);
}
.switch-text {
  flex: 1;
  font-size: .92rem;
}
.switch-text small {
  display: block;
  margin-top: .15rem;
  font-size: .78rem;
  font-weight: 500;
  color: var(--muted);
}
.switch-text em {
  color: var(--brand-deep);
  font-style: normal;
  font-weight: 800;
}
.switch-legal {
  align-items: flex-start;
  font-weight: 500;
  color: var(--muted);
}
.switch-legal .switch-text {
  font-size: .8rem;
  font-weight: 500;
  color: var(--muted);
}
.switch-legal .switch-text a {
  color: var(--brand-deep);
  font-weight: 700;
}
.switch-legal .switch-track {
  margin-top: .1rem;
}

.coupon-hint {
  margin: -.25rem 0 .55rem;
  font-size: .82rem;
  line-height: 1.4;
  padding: .45rem .65rem;
  border-radius: 10px;
  color: var(--muted);
  background: #f7fbfc;
  border: 1px solid rgba(42, 127, 141, 0.12);
}
.coupon-hint.is-ok {
  color: var(--brand-deep);
  background: var(--brand-soft);
  border-color: rgba(42, 127, 141, 0.28);
  font-weight: 600;
}
.coupon-hint.is-wait { color: var(--muted); }
.coupon-hint.is-err {
  color: #9b2c2c;
  background: #fff5f5;
  border-color: rgba(155, 44, 44, 0.2);
  font-weight: 600;
}
.fee-was {
  text-decoration: line-through;
  color: var(--muted);
  font-weight: 600;
  margin-right: .35rem;
  font-size: .9em;
}
#couponDiscountRow strong {
  color: #0f7b3c;
}

/* Trinkgeld-Hinweis im Warenkorb (bar an Mitarbeiter) */
.tip-block {
  margin: .15rem 0 .85rem;
  padding: .85rem .9rem;
  background: rgba(255, 255, 255, 0.55);
  border-radius: 14px;
  border: 1px solid rgba(42, 127, 141, 0.16);
  display: grid;
  gap: .35rem;
}
.tip-block-label {
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--brand-deep);
}
.tip-block-hint {
  margin: 0;
  font-size: .82rem;
  color: var(--muted);
  line-height: 1.45;
}
.tip-block-hint strong {
  color: var(--ink);
  font-weight: 700;
}
.tip-options {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
}
.tip-chip {
  border: 1px solid rgba(42, 127, 141, 0.28);
  background: #fff;
  color: var(--brand-deep);
  border-radius: 999px;
  padding: .4rem .75rem;
  font: inherit;
  font-size: .85rem;
  font-weight: 700;
  cursor: pointer;
}
.tip-chip.is-selected {
  background: var(--brand-deep);
  border-color: var(--brand-deep);
  color: #fff;
}
.tip-custom-label {
  display: grid;
  gap: .3rem;
  font-size: .82rem;
  font-weight: 600;
  color: var(--muted);
}
.tip-custom-label input {
  font: inherit;
  font-weight: 700;
  color: var(--ink);
}

/* Treuepunkte im Warenkorb */
.points-block {
  margin: .35rem 0 .75rem;
  padding: .85rem .9rem;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.28)),
    var(--brand-soft);
  border-radius: 14px;
  border: 1px solid rgba(42, 127, 141, 0.2);
  display: grid;
  gap: .7rem;
}
.points-block-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
}
.points-block-label {
  display: block;
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--brand-deep);
}
.points-balance {
  margin: .2rem 0 0;
  display: flex;
  align-items: baseline;
  gap: .35rem;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--brand-deep);
  line-height: 1;
  letter-spacing: -0.02em;
}
.points-balance strong {
  font-size: inherit;
  font-weight: inherit;
}
.points-balance-unit {
  font-size: .78rem;
  font-weight: 700;
  color: var(--muted);
}
.points-block .switch {
  background: #fff;
}
.points-reward-label {
  display: grid;
  gap: .25rem;
  font-size: .8rem;
  font-weight: 700;
  color: var(--muted);
}
.points-reward-label[hidden],
.reward-choice-wrap[hidden] {
  display: none !important;
}
.points-reward-label select {
  width: 100%;
  border: 1px solid rgba(42, 127, 141, 0.18);
  border-radius: 12px;
  padding: .6rem .7rem;
  background: #fff;
  color: var(--ink);
  font: inherit;
}
.reward-choice-wrap {
  display: grid;
  gap: .45rem;
}
.reward-choice-radios {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .45rem;
}
.reward-choice-option {
  display: flex;
  align-items: center;
  gap: .45rem;
  margin: 0;
  padding: .65rem .7rem;
  border: 1px solid rgba(42, 127, 141, 0.22);
  border-radius: 12px;
  background: #fff;
  font-size: .86rem;
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
}
.reward-choice-option:has(input:checked) {
  border-color: var(--brand-deep);
  background: rgba(42, 127, 141, 0.08);
  box-shadow: inset 0 0 0 1px var(--brand-deep);
}
.reward-choice-option input {
  accent-color: var(--brand-deep);
  margin: 0;
  flex-shrink: 0;
}
.points-catalog {
  margin: 0;
  font-size: .8rem;
  color: var(--muted);
}
.points-catalog summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--brand-deep);
}
.points-catalog ul {
  margin: .45rem 0 0;
  padding-left: 1.1rem;
  display: grid;
  gap: .25rem;
  line-height: 1.35;
}
.points-hint {
  margin: 0;
  font-size: .8rem;
  color: var(--muted);
  line-height: 1.4;
}

/* Rechnung Privat / Firma – direkt bei den Namensfeldern */
.invoice-block {
  margin: .15rem 0 .35rem;
  padding: .75rem .85rem .85rem;
  background: #fff;
  border-radius: 12px;
  border: 1px solid rgba(42, 127, 141, 0.2);
  display: grid;
  gap: .65rem;
}
.invoice-block-inline {
  margin-top: 0;
}
.invoice-block-label {
  font-size: .9rem;
  font-weight: 700;
  color: var(--brand-deep);
}
.invoice-type-options {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
}
.invoice-type-chip {
  border: 1px solid rgba(42, 127, 141, 0.28);
  background: #fff;
  color: var(--brand-deep);
  border-radius: 999px;
  padding: .45rem .9rem;
  font-size: .88rem;
  font-weight: 700;
  cursor: pointer;
}
.invoice-type-chip.is-selected {
  background: var(--brand-deep);
  border-color: var(--brand-deep);
  color: #fff;
}
.invoice-fields {
  margin: 0;
  padding: 0;
  display: grid;
  gap: .65rem;
}
.invoice-fields[hidden] {
  display: none !important;
}
.invoice-fields label {
  margin: 0;
  min-height: 0;
}
.invoice-hint {
  margin: 0;
  font-size: .78rem;
  color: var(--muted);
  line-height: 1.4;
}
.invoice-hint[hidden] {
  display: none !important;
}
.auth-points {
  display: inline-block;
}
.admin-nav-link {
  margin: 0 0 1rem;
  text-align: center;
}
.admin-nav-link a {
  color: var(--brand-deep);
  font-weight: 700;
  text-decoration: none;
}
.admin-nav-link a:hover { text-decoration: underline; }

.account-points-banner {
  display: grid;
  gap: .85rem;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.35)),
    var(--brand-soft);
  border: 1px solid rgba(42, 127, 141, 0.2);
  border-radius: 16px;
  padding: 1rem 1.05rem;
  margin-bottom: 1rem;
}
.account-credit-banner {
  display: grid;
  gap: .65rem;
  background:
    linear-gradient(145deg, rgba(255, 248, 230, 0.95), rgba(255, 255, 255, 0.55)),
    #fff6e8;
  border: 1px solid rgba(180, 120, 40, 0.28);
  border-radius: 16px;
  padding: 1rem 1.05rem;
  margin-bottom: .85rem;
}
.account-credit-banner[hidden] {
  display: none !important;
}
.account-credit-score {
  border-color: rgba(180, 120, 40, 0.22);
}
.account-credit-score strong {
  font-size: 1.15rem;
  font-variant-numeric: tabular-nums;
  color: #8a5a12;
}
.account-credit-code-line {
  margin: 0;
  font-size: .86rem;
  color: var(--muted);
  line-height: 1.4;
}
.account-credit-code-line strong {
  color: var(--ink, #12262c);
  letter-spacing: .04em;
  font-size: .92rem;
}
.account-points-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.account-points-copy {
  min-width: 0;
}
.account-points-label {
  display: block;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--brand-deep);
}
.account-points-sub {
  margin: .2rem 0 0;
  font-size: .88rem;
  color: var(--muted);
  line-height: 1.35;
}
.account-points-score {
  display: flex;
  align-items: baseline;
  gap: .35rem;
  flex-shrink: 0;
  padding: .45rem .7rem;
  border-radius: 12px;
  background: #fff;
  border: 1px solid rgba(42, 127, 141, 0.16);
  box-shadow: 0 6px 16px rgba(18, 52, 60, 0.06);
}
.account-points-banner strong,
.account-points-score strong {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--brand-deep);
  line-height: 1;
  letter-spacing: -0.03em;
}
.account-points-unit {
  font-size: .78rem;
  font-weight: 700;
  color: var(--muted);
}
.account-points-rules {
  margin: 0;
  padding: .7rem .85rem;
  list-style: none;
  display: grid;
  gap: .4rem;
  background: rgba(255, 255, 255, 0.72);
  border-radius: 12px;
  border: 1px solid rgba(42, 127, 141, 0.12);
}
.account-points-rules li {
  position: relative;
  padding-left: 1rem;
  font-size: .8rem;
  line-height: 1.4;
  color: var(--ink);
}
.account-points-rules li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .45em;
  width: .4rem;
  height: .4rem;
  border-radius: 50%;
  background: var(--brand);
}
.account-points-history-panel {
  margin: 0;
  background: rgba(255, 255, 255, 0.72);
  border-color: rgba(42, 127, 141, 0.12);
}
.account-points-history {
  display: grid;
  gap: .45rem;
  max-height: 260px;
  overflow: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}
#accountPointsHistoryMore {
  margin-top: .55rem;
}
#accountPointsHistoryMore[hidden] {
  display: none !important;
}
.account-points-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: .75rem;
  padding: .65rem .7rem;
  border-radius: 12px;
  background: #f7fbfc;
  border: 1px solid rgba(42, 127, 141, 0.12);
}
.account-points-row-main {
  min-width: 0;
  display: grid;
  gap: .15rem;
}
.account-points-row-main strong {
  font-size: .86rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.3;
}
.account-points-row-when {
  font-size: .75rem;
  color: var(--muted);
}
.account-points-row-delta {
  flex-shrink: 0;
  font-size: .88rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.account-points-row.is-earn .account-points-row-delta {
  color: #1b7a4a;
}
.account-points-row.is-spend .account-points-row-delta {
  color: #b42318;
}
.account-points-row.is-zero .account-points-row-delta {
  color: var(--muted);
}
.account-section-title {
  margin: .35rem 0 0;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--brand-deep);
}
.account-form {
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(42, 127, 141, 0.12);
}
.account-profile-wrap {
  margin: 0 0 1.1rem;
}
.account-profile-wrap .account-section-title {
  margin: 0;
}
.account-profile-wrap .account-form,
.security-panel-body.account-form {
  margin: 0;
  padding-bottom: 0;
  border-bottom: 0;
}
.account-form select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: .7rem .85rem;
  font: inherit;
  background: #fafcfc;
}
.security-panel-body select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: .7rem .85rem;
  font: inherit;
  background: #fafcfc;
  box-sizing: border-box;
}
.account-hint {
  margin: -.15rem 0 0;
  font-size: .8rem;
  color: var(--muted);
  line-height: 1.4;
}
.account-ok {
  margin: 0;
  font-size: .88rem;
  font-weight: 700;
  color: var(--brand-deep);
}
.account-security {
  margin: 0 0 1.1rem;
  padding: 1rem;
  border-radius: 16px;
  background: linear-gradient(160deg, #f3fafb 0%, #e8f6f8 100%);
  border: 1px solid rgba(42, 127, 141, 0.14);
}
.account-security .account-section-title {
  margin: 0;
}
.account-security-lead {
  margin: .35rem 0 .85rem;
  font-size: .82rem;
  color: var(--muted);
  line-height: 1.4;
}
.security-panel {
  background: #fff;
  border: 1px solid rgba(42, 127, 141, 0.14);
  border-radius: 14px;
  margin-bottom: .55rem;
  overflow: hidden;
}
.security-panel:last-child { margin-bottom: 0; }
.security-panel summary {
  list-style: none;
  display: grid;
  grid-template-columns: 2.1rem 1fr 1rem;
  gap: .65rem;
  align-items: center;
  padding: .85rem .9rem;
  cursor: pointer;
  user-select: none;
}
.security-panel summary::-webkit-details-marker { display: none; }
.security-panel-icon {
  display: grid;
  place-items: center;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 10px;
  background: var(--brand-soft, #dff5f9);
  color: var(--brand-deep);
  font-weight: 800;
  font-size: .95rem;
  font-variant-emoji: text;
  line-height: 1;
}
.security-panel-svg {
  display: block;
  width: 1rem;
  height: 1rem;
}
.security-panel-text {
  display: grid;
  gap: .1rem;
  min-width: 0;
}
.security-panel-text strong {
  font-size: .92rem;
  color: var(--ink, #17353a);
}
.security-panel-text small {
  font-size: .78rem;
  color: var(--muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.security-panel-chevron {
  width: .55rem;
  height: .55rem;
  border-right: 2px solid var(--brand-deep);
  border-bottom: 2px solid var(--brand-deep);
  transform: rotate(45deg);
  transition: transform .18s ease;
  justify-self: end;
  margin-bottom: .2rem;
}
.security-panel[open] .security-panel-chevron {
  transform: rotate(-135deg);
  margin-bottom: 0;
  margin-top: .2rem;
}
.security-panel-body {
  display: grid;
  gap: .7rem;
  padding: 0 .9rem 1rem;
  border-top: 1px solid rgba(42, 127, 141, 0.1);
  padding-top: .85rem;
}
.security-panel-body label {
  display: grid;
  gap: .3rem;
  font-size: .82rem;
  font-weight: 700;
  color: var(--ink);
}
.security-panel-body input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: .7rem .85rem;
  font: inherit;
  font-size: 16px;
  background: #fafcfc;
}
.security-panel-body input:focus {
  outline: 2px solid var(--brand);
  border-color: var(--brand-deep);
}
.account-actions {
  display: grid;
  gap: .5rem;
}
.btn-danger-ghost {
  background: transparent;
  border: 1.5px solid rgba(180, 35, 24, 0.35);
  color: #b42318;
}
.btn-danger-ghost:hover { background: rgba(180, 35, 24, 0.06); }
.btn-danger {
  background: #b42318;
  color: #fff;
  border: 0;
}
.account-delete-confirm {
  margin-top: .85rem;
  padding: .9rem;
  border-radius: 12px;
  background: #fff5f4;
  border: 1px solid rgba(180, 35, 24, 0.2);
}
.account-delete-confirm p {
  margin: 0 0 .55rem;
  font-size: .88rem;
  color: var(--ink);
}
.account-delete-confirm input {
  width: 100%;
  border: 1px solid rgba(180, 35, 24, 0.3);
  border-radius: 10px;
  padding: .65rem .8rem;
  font: inherit;
  margin-bottom: .65rem;
}
.account-delete-btns {
  display: flex;
  gap: .5rem;
  flex-wrap: wrap;
}
.account-delete-btns .btn { flex: 1; }

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