/* HOOKAHs – schwarz/weiß mit einem warmen Akzent, mobile first. Keine externen Fonts (DSGVO). */
:root {
  --bg: #000;
  --surface: #0d0d0d;
  --line: #1f1f1f;
  --text: #fff;
  --muted: #8a8a8a;
  --chip: #161616;
  --accent: #ff8a4c;   /* einziger Akzent: Kohle-Glut – sparsam eingesetzt */
  --gutter: 18px;
  --tabs-h: 56px;
  --font: "Avenir Next", "Futura", "Century Gothic", "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  padding-bottom: env(safe-area-inset-bottom);
  overflow-x: hidden;
}

/* ---------- Header ---------- */
.hero {
  position: relative;
  text-align: center;
  padding: calc(36px + env(safe-area-inset-top)) var(--gutter) 22px;
}
.hero::before {                 /* ganz leichter warmer Schein hinter dem Logo */
  content: "";
  position: absolute;
  left: 50%; top: calc(16px + env(safe-area-inset-top));
  width: 260px; height: 200px;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(255,138,76,.13), transparent 75%);
  pointer-events: none;
}
.logo { width: 112px; height: 112px; display: block; margin: 0 auto; position: relative; }
.tagline {
  margin-top: 14px;
  font-size: 12px;
  letter-spacing: .38em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- Kategorie-Tabs (sticky, horizontal wischbar) ---------- */
.tabs-wrap { position: sticky; top: 0; z-index: 10; }
.tabs {
  position: relative;
  height: var(--tabs-h);
  display: flex;
  gap: 8px;
  align-items: center;
  padding: 0 var(--gutter);
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scroll-padding-inline: var(--gutter);
  scrollbar-width: none;
  background: rgba(0,0,0,.86);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.tabs::-webkit-scrollbar { display: none; }
.tab {
  flex: 0 0 auto;
  scroll-snap-align: start;
  min-height: 38px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--chip);
  color: var(--muted);
  font: inherit;
  font-size: 13px;
  letter-spacing: .12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
}
.tab[aria-current="true"] { background: var(--text); color: var(--bg); border-color: var(--text); }

/* ---------- Sektionen ---------- */
main { padding: 8px var(--gutter) 24px; max-width: 640px; margin: 0 auto; }
.info {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  text-align: center;
  font-size: 12px;
  color: var(--muted);
  margin: 14px 0 6px;
}
.spark { width: 5px; height: 5px; border-radius: 50%; background: var(--accent); flex: none; }
/* Hinweis-Block (z. B. Gratis-Nachos) */
.highlight {
  margin-top: 18px;
  padding: 18px 20px;
  border-radius: 18px;
  border: 1px solid rgba(255,138,76,.45);
  background: linear-gradient(135deg, rgba(255,138,76,.14), rgba(255,138,76,.03) 60%), #0b0b0b;
}
.hl-label {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: #0b0b0b;
  background: var(--accent);
  padding: 4px 9px;
  border-radius: 999px;
}
.hl-title { margin-top: 10px; font-size: 20px; font-weight: 700; letter-spacing: .02em; }
.hl-text { margin-top: 4px; font-size: 14px; color: #bdbdbd; }

/* Jede Kategorie = eigener Block, Überschrift klar größer als die Produkte */
.section {
  margin-top: 28px;
  background: #0b0b0b;
  border: 1px solid #1c1c1c;
  border-radius: 18px;
  overflow: hidden;
  scroll-margin-top: calc(var(--tabs-h) + 14px);
}
.sec-head {
  padding: 22px 20px 18px;
  background: linear-gradient(180deg, #161616, #0f0f0f);
  border-bottom: 1px solid #222;
}
.sec-head h2 {
  font-size: clamp(20px, 7vw, 26px);
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  line-height: 1.1;
}
.sec-head h2::after {            /* kurzer Glut-Strich unter der Überschrift */
  content: "";
  display: block;
  width: 28px; height: 2px;
  margin-top: 12px;
  background: var(--accent);
  border-radius: 2px;
}
.sec-sub { margin-top: 10px; font-size: 13px; color: var(--muted); }
.sec-body { padding: 4px 20px 10px; }

.sub {
  font-size: 11px;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 22px 0 6px;
}

/* ---------- Produktzeile ---------- */
.item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2px 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.item:last-child { border-bottom: 0; }
.name { font-size: 16px; font-weight: 400; }
.name sup { font-size: 10px; color: var(--muted); margin-left: 2px; }
.price { font-size: 16px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.meta { grid-column: 1 / -1; font-size: 13px; color: var(--muted); }
.meta .size { color: #bdbdbd; }
.tags { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.tag {
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: 3px 8px;
  border: 1px solid #3a3a3a;
  border-radius: 999px;
  color: #cfcfcf;
}
.tag.neu { color: var(--accent); border-color: rgba(255,138,76,.5); }
.item.out .name, .item.out .price { color: #555; text-decoration: line-through; }
.item.out .meta::after { content: " · gerade aus"; }

/* Extras (Aufpreise) etwas kompakter */
.item.extra { padding: 10px 0; }
.item.extra .name, .item.extra .price { font-size: 15px; font-weight: 400; }
.item.extra .price::before { content: "+ "; color: var(--accent); }

/* Sorten als Chips mit Farbpunkt */
.flavors { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.flavor {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line);
}
.flavor::before {
  content: "";
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--d);
}

/* ---------- Footer ---------- */
.foot {
  max-width: 640px;
  margin: 24px auto 0;
  padding: 28px var(--gutter) 40px;
  border-top: 1px solid var(--line);
  text-align: center;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.8;
}
.thanks { font-size: 13px; letter-spacing: .08em; color: #cfcfcf; margin-bottom: 18px; }
.foot .notes { margin-bottom: 18px; }
.foot .fn { white-space: nowrap; }
.foot a { color: var(--text); text-underline-offset: 3px; }
.foot .links { margin-top: 14px; display: flex; justify-content: center; gap: 18px; }
.foot .links a { display: inline-block; padding: 6px 0; }

/* ---------- Nach-oben-Button ---------- */
.totop {
  position: fixed;
  right: 16px;
  bottom: calc(16px + env(safe-area-inset-bottom));
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid #333;
  background: rgba(20,20,20,.9);
  color: var(--text);
  font-size: 18px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity .25s, transform .25s;
}
.totop.show { opacity: 1; pointer-events: auto; transform: none; }

.empty { color: var(--muted); text-align: center; padding: 40px 0; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}

/* ---------- Impressum / Datenschutz ---------- */
.legal { max-width: 640px; margin: 0 auto; padding: calc(28px + env(safe-area-inset-top)) var(--gutter) 60px; }
.legal .back { display: inline-block; padding: 8px 0; color: var(--muted); text-decoration: none; font-size: 14px; }
.legal h1 { margin: 18px 0 8px; font-size: clamp(22px, 7vw, 28px); font-weight: 700; letter-spacing: .06em; }
.legal h1::after { content: ""; display: block; width: 28px; height: 2px; margin-top: 12px; background: var(--accent); border-radius: 2px; }
.legal h2 { margin: 28px 0 8px; font-size: 13px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: #cfcfcf; }
.legal p, .legal li { font-size: 15px; line-height: 1.6; color: #bdbdbd; }
.legal p + p { margin-top: 10px; }
.legal ul { margin: 8px 0 10px 20px; }
.legal a { color: var(--text); text-underline-offset: 3px; }
.legal .stand { margin-top: 32px; font-size: 12px; color: var(--muted); }

/* ---------- Effekte: Einblenden + Logo-Parallax ---------- */
.fx .reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .5s ease, transform .5s cubic-bezier(.2,.7,.2,1);
}
.fx .reveal.in { opacity: 1; transform: none; }
.fx .reveal.instant { transition: none; }
.fx .logo, .fx .tagline { will-change: transform, opacity; transform-origin: 50% 50%; }

/* Sorten zum gleichen Preis (z. B. Cola/Fanta/Sprite, Eistee) */
.variants { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.variant {
  font-size: 13px;
  padding: 5px 11px;
  border-radius: 999px;
  background: #141414;
  border: 1px solid #262626;
  color: #d6d6d6;
}
.variant sup { font-size: 9px; color: var(--muted); margin-left: 2px; }

/* Gruppe ohne Namen: Sorten stehen direkt in der Zeile, Preis rechts */
.item.group { align-items: start; }
.variants.lead { grid-column: 1; margin-top: 0; }
.item.group .meta { margin-top: 6px; }

/* Mehrere Preise (Größen / mit & ohne Alkohol) */
.prices { grid-column: 1 / -1; margin-top: 8px; display: grid; gap: 4px; }
.prow { display: flex; justify-content: space-between; gap: 12px; font-size: 15px; }
.prow span:first-child { color: #bdbdbd; }
.prow span:last-child { font-variant-numeric: tabular-nums; white-space: nowrap; }

/* Zwischenüberschrift direkt nach einer Zeile etwas Abstand */
.sec-body > .sub:first-child { margin-top: 16px; }

/* Sorten-Felder nach links ziehen, damit ihr Text bündig unter Name/Größe steht
   (Innenabstand 11px + Rahmen 1px). Bei Shisha-Sorten: 14px + 1px. */
.variants { margin-left: -12px; }
.flavors { margin-left: -15px; }

/* Farbpunkt vor Getränkesorten */
.variant.dot { display: inline-flex; align-items: center; gap: 7px; }
.variant.dot::before {
  content: "";
  flex: none;
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--d);
  box-shadow: 0 0 0 1px var(--ring, transparent);
}

/* Produktname mit schwachem Leuchten in seiner Farbe ("gradient" in menu.js) */
.grad {
  color: #fff;
  /* kein Leuchten mehr bei den Artikeln */
}

/* Wisch-Hinweis rechts an der Kategorie-Leiste */
.tabs-wrap::before, .tabs-wrap::after {
  content: "";
  position: absolute;
  top: 0; bottom: 1px;
  width: 44px;
  pointer-events: none;
  transition: opacity .25s;
  z-index: 1;
}
.tabs-wrap::after  { right: 0; background: linear-gradient(90deg, transparent, #000 85%); }
.tabs-wrap::before { left: 0;  background: linear-gradient(270deg, transparent, #000 85%); opacity: 0; }
.tabs-wrap.scrolled::before { opacity: 1; }
.swipe-hint {
  position: absolute;
  right: 10px; top: 50%;
  width: 8px; height: 8px;
  margin-top: -4px;
  border-top: 1.5px solid #cfcfcf;
  border-right: 1.5px solid #cfcfcf;
  transform: rotate(45deg);
  pointer-events: none;
  z-index: 2;
  transition: opacity .25s;
  animation: nudge 1.8s ease-in-out 3;
}
@keyframes nudge {
  0%, 100% { transform: translateX(0) rotate(45deg); }
  50%      { transform: translateX(4px) rotate(45deg); }
}
.tabs-wrap.at-end::after, .tabs-wrap.at-end .swipe-hint { opacity: 0; }

/* Weißes Leuchten bei den Kategorie-Überschriften */
.sec-head h2 {
  text-shadow: 0 0 22px rgba(255,255,255,.7),
               0 0 9px rgba(255,255,255,.6),
               0 0 2px rgba(255,255,255,.5);
}
