/* ============================================================
   FLAM'S BURGERS — GRILLED TO PERFECTION
   Dark, loud, street-premium. Anton headlines / Syne accents /
   Satoshi body. Accent + display font are tweakable via CSS vars.
   ============================================================ */

:root {
  --accent: #CC0000;
  --black: #0A0908;
  --black-2: #131110;
  --cream: #F2EAD9;
  --cream-dim: rgba(242, 234, 217, 0.62);
  --font-display: 'Anton', 'Bebas Neue', sans-serif;
  --font-accent: 'Syne', sans-serif;
  --font-body: 'Satoshi', 'Helvetica Neue', sans-serif;
  --ls-display: 0.01em;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: auto; }

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

::selection { background: var(--accent); color: var(--cream); }

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

a { color: inherit; }

/* subtle film grain over everything — premium texture */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 90;
  opacity: 0.045;
  mix-blend-mode: overlay;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E") repeat;
}

/* a11y: visible focus for keyboard users */
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* ---------- custom cursor: crosshair ---------- */
@media (hover: hover) and (pointer: fine) {
  body { cursor: none; }
  body a, body button { cursor: none; }
}
.cursor-x {
  position: fixed; top: 0; left: 0;
  width: 22px; height: 22px;
  pointer-events: none;
  z-index: 9999;
  will-change: transform;
  mix-blend-mode: difference;
}
.cursor-x::before, .cursor-x::after {
  content: "";
  position: absolute;
  background: var(--cream);
}
.cursor-x::before { left: 0; right: 0; top: 50%; height: 1.5px; transform: translateY(-50%); }
.cursor-x::after  { top: 0; bottom: 0; left: 50%; width: 1.5px; transform: translateX(-50%); }
@media (hover: none), (pointer: coarse) {
  .cursor-x { display: none; }
}

/* ---------- rising sparks / embers ---------- */
#sparks {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 60;
}
@media (prefers-reduced-motion: reduce) {
  #sparks { display: none; }
}

/* ---------- buttons ---------- */
.btn-order {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: var(--accent);
  color: var(--cream);
  font-family: var(--font-accent);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 20px 38px;
  border: none;
  border-radius: 999px;
  position: relative;
  will-change: transform;
  transition: background 0.3s ease, box-shadow 0.45s ease;
  /* ember sweep on hover */
  background-image: linear-gradient(110deg, transparent 25%, rgba(255, 150, 50, 0.5) 43%, rgba(255, 80, 10, 0.6) 50%, transparent 72%);
  background-size: 250% 100%;
  background-position: 180% 0;
  background-repeat: no-repeat;
  background-color: var(--accent);
}
.btn-order:hover {
  background-position: -80% 0;
  transition: background-position 0.85s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.45s ease;
  box-shadow: 0 0 42px -8px color-mix(in srgb, var(--accent) 80%, #ff7a1a);
}
.btn-order::after {
  /* pulse ring */
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  border: 2px solid var(--accent);
  animation: btn-pulse 2.2s ease-out infinite;
  pointer-events: none;
}
@keyframes btn-pulse {
  0%   { transform: scale(1); opacity: 0.8; }
  70%  { transform: scale(1.28); opacity: 0; }
  100% { transform: scale(1.28); opacity: 0; }
}
.btn-order--ghost {
  background-color: transparent;
  border: 1.5px solid var(--cream);
  color: var(--cream);
}
.btn-order--ghost::after { display: none; }
.btn-order--ghost:hover { background-color: rgba(242, 234, 217, 0.08); color: var(--cream); }

/* ---------- brand intro / preloader ---------- */
.intro {
  position: fixed;
  inset: 0;
  z-index: 400;
  background: var(--black);
  display: grid;
  place-items: center;
  visibility: hidden;
}
html.has-intro .intro { visibility: visible; }
.intro.is-leaving {
  transform: translateY(-101%);
  transition: transform 0.8s cubic-bezier(0.76, 0, 0.24, 1);
}
.intro-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
}
.intro-inner img {
  width: clamp(150px, 26vh, 230px);
  height: auto;
  opacity: 0;
  animation: intro-ignite 1.25s cubic-bezier(0.22, 1, 0.36, 1) 0.15s forwards;
}
@keyframes intro-ignite {
  0%   { opacity: 0; transform: scale(0.85); filter: brightness(0.15); }
  45%  { opacity: 1; filter: brightness(1.6) drop-shadow(0 0 46px rgba(255, 122, 26, 0.75)); }
  100% { opacity: 1; transform: scale(1); filter: brightness(1) drop-shadow(0 0 26px rgba(204, 0, 0, 0.45)); }
}
.intro-inner p {
  font-family: var(--font-accent);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--cream-dim);
  opacity: 0;
  animation: fade-up 0.8s ease 0.75s forwards;
}
/* hero entrance waits for the intro to leave */
html.has-intro:not(.intro-done) .hero-logo,
html.has-intro:not(.intro-done) .hero-title .line > span,
html.has-intro:not(.intro-done) .hero-slogan,
html.has-intro:not(.intro-done) .hero-cta-wrap {
  animation-play-state: paused;
}

/* ---------- nav ---------- */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px clamp(20px, 4vw, 56px);
  transition: padding 0.35s ease, background-color 0.35s ease, border-color 0.35s ease;
  border-bottom: 1px solid transparent;
}
.site-nav.is-scrolled {
  padding-top: 12px;
  padding-bottom: 12px;
  background: rgba(10, 9, 8, 0.55);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  backdrop-filter: blur(16px) saturate(1.2);
  border-bottom-color: rgba(242, 234, 217, 0.08);
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.nav-logo .logo-img {
  height: 38px;
  width: auto;
}
.nav-logo .logo-word {
  font-family: var(--font-display);
  font-size: 26px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--cream);
  line-height: 1;
}
.nav-menu { margin-left: auto; margin-right: 28px; }
.nav-menu a {
  font-family: var(--font-accent);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--cream-dim);
  transition: color 0.25s ease;
}
.nav-menu a:hover { color: var(--cream); }
.nav-instagram {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1.5px solid rgba(242,234,217,0.32);
  color: var(--cream-dim);
  transition: color 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}
.nav-instagram svg { width: 19px; height: 19px; display: block; }
.nav-instagram:hover { color: var(--cream); border-color: var(--cream); background: rgba(242,234,217,0.08); }
@media (max-width: 560px) { .nav-menu { display: none; } }
.nav-cta {
  padding: 13px 26px;
  font-size: 14px;
}
.nav-cta::after { display: none; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  place-items: center;
  overflow: clip;
  isolation: isolate;
}
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: -2;
  filter: saturate(1.1) brightness(0.85);
}
.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(to bottom, rgba(10,9,8,0.72) 0%, rgba(10,9,8,0.35) 40%, rgba(10,9,8,0.92) 100%);
}
.hero-inner {
  text-align: center;
  padding: 120px 20px 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(24px, 4vh, 44px);
}
.hero-logo {
  width: clamp(120px, 18vh, 190px);
  height: auto;
  opacity: 0;
  animation: fade-up 1s ease 0.25s forwards, logo-float 7s ease-in-out 1.6s infinite;
  filter: drop-shadow(0 14px 30px rgba(0,0,0,0.6));
}
@keyframes logo-float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50%      { transform: translateY(-9px) rotate(0.6deg); }
}
/* heat haze over the fire video — desktop only (GPU cost) */
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .hero-video { filter: url(#heat-haze) saturate(1.1) brightness(0.85); }
}
.hero-eyebrow {
  font-family: var(--font-accent);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--cream-dim);
}
.hero-title {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  line-height: 0.92;
  letter-spacing: var(--ls-display);
  font-size: clamp(72px, 14.5vw, 252px);
  color: var(--cream);
}
.hero-title .line {
  display: block;
  overflow: hidden;
}
.hero-title .line > span {
  display: block;
  transform: translateY(110%);
  animation: rise 1.1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.hero-title .line:nth-child(2) > span { animation-delay: 0.14s; color: var(--accent); }
@keyframes rise { to { transform: translateY(0); } }
.hero-slogan {
  font-family: var(--font-accent);
  font-weight: 700;
  font-size: clamp(15px, 1.6vw, 22px);
  letter-spacing: 0.34em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 18px;
  opacity: 0;
  animation: fade-up 1s ease 0.7s forwards;
}
.hero-slogan::before, .hero-slogan::after {
  content: "";
  width: clamp(28px, 5vw, 72px);
  height: 1.5px;
  background: var(--accent);
}
.hero-cta-wrap {
  opacity: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  animation: fade-up 1s ease 1s forwards;
}
@keyframes fade-up {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-scroll-hint {
  position: absolute;
  bottom: 28px; left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-accent);
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--cream-dim);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.hero-scroll-hint::after {
  content: "";
  width: 1px; height: 44px;
  background: linear-gradient(var(--cream-dim), transparent);
  animation: drip 1.8s ease-in-out infinite;
}
@keyframes drip {
  0%, 100% { transform: scaleY(0.4); transform-origin: top; opacity: 0.4; }
  50% { transform: scaleY(1); opacity: 1; }
}

/* ---------- parallax assembly ---------- */
.assembly {
  position: relative;
  height: 430vh;
}
.assembly-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  overflow: clip;
  display: grid;
  place-items: center;
}
.assembly-heading {
  position: absolute;
  top: clamp(36px, 7vh, 80px);
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  text-align: center;
  font-family: var(--font-accent);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--cream-dim);
}
.assembly-watch {
  /* giant ghost word behind the burger */
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-display);
  font-size: clamp(120px, 24vw, 420px);
  text-transform: uppercase;
  color: transparent;
  -webkit-text-stroke: 1px rgba(242,234,217,0.07);
  pointer-events: none;
  white-space: nowrap;
  line-height: 1;
}
.burger-stage {
  position: relative;
  width: min(540px, 78vw, 62vh);
  aspect-ratio: 560 / 580;
  margin-bottom: 7vh;
  transform-origin: 50% 52%;
  will-change: transform;
}
/* during the zoom the drop-shadows get disabled (GPU cost at 9x scale) */
.burger-stage.is-zooming .burger-layer { filter: none; }
.assembly-fade {
  position: absolute;
  inset: 0;
  background: var(--black);
  opacity: 0;
  pointer-events: none;
  will-change: opacity;
  z-index: 5;
}
.burger-layer {
  position: absolute;
  left: 50%;
  will-change: transform, opacity;
  filter: drop-shadow(0 30px 40px rgba(0,0,0,0.55));
}
/* widths relative to stage (patty = 663px master scale) — assembled = tight stack */
#layer-bun-top    { width: 82.8%; top: 6%; }
#layer-salad      { width: 101.5%; top: 24%; }
#layer-patty      { width: 100%;  top: 38%; }
#layer-bun-bottom { width: 83.5%; top: 57%; }

.assembly-caption {
  position: absolute;
  top: 50%;
  max-width: min(320px, 36vw);
  opacity: 0;
  will-change: transform, opacity;
}
.assembly-caption.left  { left: clamp(20px, 7vw, 120px); text-align: left; }
.assembly-caption.right { right: clamp(20px, 7vw, 120px); text-align: right; }
.assembly-caption .cap-num {
  font-family: var(--font-accent);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.3em;
  color: var(--accent);
}
.assembly-caption h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(28px, 3.4vw, 52px);
  line-height: 1;
  text-transform: uppercase;
  margin: 10px 0 12px;
}
.assembly-caption p {
  font-size: 16px;
  color: var(--cream-dim);
}
.assembly-final {
  position: absolute;
  bottom: clamp(32px, 8vh, 90px);
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  opacity: 0;
  will-change: transform, opacity;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}
.assembly-final .final-line {
  font-family: var(--font-display);
  font-size: clamp(26px, 3vw, 44px);
  text-transform: uppercase;
  line-height: 1;
}
.assembly-final .final-line em {
  font-style: normal;
  color: var(--accent);
}

@media (max-width: 860px) {
  .assembly-caption {
    max-width: 80vw;
    top: auto;
    bottom: 12vh;
    text-align: center !important;
    text-shadow: 0 2px 24px rgba(10, 9, 8, 0.95), 0 0 8px rgba(10, 9, 8, 0.8);
  }
  .assembly-caption p { color: var(--cream); opacity: 0.85; }
  .assembly-caption.left, .assembly-caption.right {
    left: 50%; right: auto;
    transform: translateX(-50%);
  }
  .assembly-final { display: none; }
}

/* ---------- speisekarte / menu: sticky horizontal fly-through ---------- */
.menu {
  position: relative;
  height: 560vh;
}
.menu-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  overflow: clip;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(24px, 4vh, 48px);
  padding: 90px 0 30px;
}
.menu-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  padding: 0 clamp(20px, 4vw, 56px);
  max-width: 1340px;
  width: 100%;
  margin: 0 auto;
}
.menu-head h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(40px, 5.5vw, 84px);
  line-height: 0.95;
  text-transform: uppercase;
}
.menu-head h2 em {
  font-style: normal;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--accent);
}
.menu-head-copy { max-width: 340px; }
.menu-head p {
  max-width: 340px;
  color: var(--cream-dim);
  font-size: 16px;
}
.menu-hint-link {
  display: inline-block;
  margin-top: 12px;
  font-family: var(--font-accent);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  text-decoration: none;
  transition: color 0.25s ease;
}
.menu-hint-link:hover { color: var(--cream); }
.allergen-link {
  display: inline-block;
  margin-top: 10px;
  margin-left: 18px;
  font-family: var(--font-accent);
  font-weight: 500;
  font-size: 11.5px;
  letter-spacing: 0.06em;
  color: rgba(242,234,217,0.4);
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.25s ease;
}
.allergen-link:hover { color: var(--cream-dim); }

/* ---------- allergenkarte modal ---------- */
.allergen-modal {
  position: fixed;
  inset: 0;
  z-index: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s ease, visibility 0s linear 0.3s;
}
.allergen-modal.is-open {
  visibility: visible;
  opacity: 1;
  transition: opacity 0.3s ease;
}
.allergen-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5,4,4,0.78);
  backdrop-filter: blur(4px);
}
.allergen-modal-dialog {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 560px;
  max-height: 84vh;
  overflow-y: auto;
  background: var(--black);
  border: 1px solid rgba(242,234,217,0.14);
  border-radius: 20px;
  padding: clamp(28px, 5vw, 44px);
  transform: translateY(16px) scale(0.98);
  transition: transform 0.32s cubic-bezier(0.22,1,0.36,1);
}
.allergen-modal.is-open .allergen-modal-dialog { transform: translateY(0) scale(1); }
.allergen-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(242,234,217,0.2);
  background: none;
  color: var(--cream);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  transition: border-color 0.25s ease, color 0.25s ease;
}
.allergen-modal-close:hover { border-color: var(--accent); color: var(--accent); }
.allergen-modal-dialog h3 {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  font-size: clamp(28px, 4vw, 38px);
  line-height: 1;
  margin-bottom: 14px;
}
.allergen-legend {
  font-size: 13px;
  color: var(--cream-dim);
  margin-bottom: 22px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(242,234,217,0.12);
}
.allergen-table-wrap { max-height: 46vh; overflow-y: auto; }
.allergen-table { width: 100%; border-collapse: collapse; }
.allergen-table th {
  text-align: left;
  font-family: var(--font-accent);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(242,234,217,0.5);
  padding: 0 0 10px;
  position: sticky;
  top: 0;
  background: var(--black);
}
.allergen-table td {
  padding: 10px 0;
  font-size: 14.5px;
  color: var(--cream);
  border-top: 1px solid rgba(242,234,217,0.08);
}
.allergen-table td:last-child { color: var(--cream-dim); text-align: right; white-space: nowrap; padding-left: 12px; }
body.no-scroll { overflow: hidden; }
.allergen-note {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid rgba(242,234,217,0.12);
  font-size: 13px;
  color: var(--cream-dim);
}
.menu-scroll-hint {
  position: absolute;
  left: 50%;
  top: 58%;
  transform: translate(-50%, -50%);
  width: 100%;
  text-align: center;
  padding: 0 24px;
  font-family: var(--font-accent);
  font-weight: 600;
  font-size: clamp(14px, 1.8vw, 20px);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cream);
  opacity: 1;
  filter: blur(0px);
  will-change: opacity, filter;
  pointer-events: none;
  z-index: 2;
}
.menu-track {
  display: flex;
  gap: clamp(14px, 1.6vw, 24px);
  width: max-content;
  padding: 0 6vw;
  will-change: transform;
  transform: translate3d(100vw, 0, 0);
}
.menu-card {
  flex: none;
  width: min(390px, 82vw, 62vh);
  background: var(--black-2);
  border: 1px solid rgba(242,234,217,0.09);
  border-radius: 18px;
  overflow: clip;
  display: flex;
  flex-direction: column;
  transition: border-color 0.4s ease;
}
.menu-card:hover { border-color: color-mix(in srgb, var(--accent) 55%, transparent); }
.menu-img {
  aspect-ratio: 16 / 10;
  overflow: clip;
  position: relative;
}
.menu-img::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(10,9,8,0.45), transparent 45%);
  pointer-events: none;
}
.menu-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}
.menu-card:hover .menu-img img { transform: scale(1.06); }
.menu-body {
  padding: 20px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.menu-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
}
.menu-row h3 {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  font-size: clamp(24px, 2.2vw, 30px);
  line-height: 1;
}
.spice-icon {
  display: inline-block;
  font-size: 0.85em;
  line-height: 1;
  margin-left: 0.3em;
  vertical-align: middle;
  font-style: normal;
  transform: translateY(-0.04em);
}
.menu-price {
  font-family: var(--font-accent);
  font-weight: 700;
  font-size: 18px;
  color: var(--accent);
  white-space: nowrap;
}
.menu-card p {
  font-size: 14px;
  line-height: 1.55;
  color: var(--cream-dim);
  text-wrap: pretty;
}
.menu-cta {
  padding: clamp(40px, 7vh, 72px) 20px;
  display: flex;
  justify-content: center;
}
@media (max-width: 640px) {
  .menu-head { gap: 10px; }
  .menu-head-copy p { display: none; }
  .menu-head-copy { max-width: none; }
  .menu-sticky { padding-top: 76px; }
}
/* reduced motion / no-JS fallback: plain wrapped grid */
@media (prefers-reduced-motion: reduce) {
  .menu { height: auto; }
  .menu-sticky { position: static; height: auto; }
  .menu-scroll-hint { display: none; }
  .menu-track {
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    transform: none !important;
    padding: 0 clamp(20px, 4vw, 56px);
  }
}

/* ---------- footer SEO copy ---------- */
.footer-seo {
  max-width: 760px;
  margin: 56px auto 0;
  font-size: 14px;
  line-height: 1.7;
  color: rgba(242,234,217,0.55);
  text-wrap: pretty;
}
.footer-seo a { color: rgba(242,234,217,0.8); }

/* ---------- feuer & handwerk ---------- */
.story {
  padding: clamp(80px, 12vh, 160px) clamp(20px, 4vw, 56px);
  max-width: 1340px;
  margin: 0 auto;
}
.story-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: clamp(36px, 5vh, 64px);
  flex-wrap: wrap;
}
.story-head h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(48px, 7vw, 110px);
  line-height: 0.95;
  text-transform: uppercase;
}
.story-head h2 em {
  font-style: normal;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--accent);
}
.story-head p {
  max-width: 320px;
  color: var(--cream-dim);
  font-size: 16px;
}
.story-label {
  font-family: var(--font-accent);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--cream-dim);
  margin-bottom: 10px;
}
.story h3 {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  font-size: clamp(26px, 2.8vw, 44px);
  line-height: 1.02;
}
.story-band {
  position: relative;
  margin: 0;
  border-radius: 18px;
  overflow: clip;
  border: 1px solid rgba(242,234,217,0.09);
  height: clamp(340px, 62vh, 580px);
}
.story-band video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.story-band-caption {
  position: absolute;
  inset: auto 0 0 0;
  padding: clamp(24px, 4vw, 44px);
  background: linear-gradient(to top, rgba(10,9,8,0.85), transparent);
}
.story-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 5vw, 88px);
  align-items: center;
  margin-top: clamp(48px, 9vh, 110px);
}
.story-figure {
  position: relative;
  margin: 0;
  aspect-ratio: 4 / 3;
  border-radius: 18px;
  overflow: clip;
  border: 1px solid rgba(242,234,217,0.09);
}
.story-figure image-slot,
.story-figure video-slot {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.story-figure image-slot::part(frame) { background: rgba(242,234,217,0.03); }
.story-figure image-slot::part(empty) { color: rgba(242,234,217,0.6); }
.story-figure image-slot::part(ring) { border-color: rgba(242,234,217,0.28); }
.story-figure img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.story-row--reverse .story-figure { order: 2; }
.story-copy h3 { margin-bottom: 14px; }
.story-copy p:last-child {
  color: var(--cream-dim);
  max-width: 44ch;
  text-wrap: pretty;
}
@media (max-width: 820px) {
  .story-row { grid-template-columns: 1fr; gap: 22px; align-items: start; margin-top: clamp(40px, 7vh, 72px); }
  .story-row--reverse .story-figure { order: 0; }
  .story-band { height: clamp(280px, 50vh, 420px); }
}

/* ---------- reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.9s ease, transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.is-in { opacity: 1; transform: none; }

/* line-mask reveals for big headlines */
.lines .rl { display: block; overflow: clip; }
.lines .rl > span {
  display: block;
  transform: translateY(112%);
  transition: transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}
.lines .rl:nth-child(2) > span { transition-delay: 0.09s; }
.lines .rl:nth-child(3) > span { transition-delay: 0.18s; }
.lines.is-in .rl > span { transform: translateY(0); }

/* 3D tilt + glare on cards (set up by JS, desktop only) */
.tilt {
  transition: transform 0.22s ease-out;
  transform-style: preserve-3d;
}
.tilt::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  z-index: 3;
  opacity: 0;
  transition: opacity 0.3s ease;
  background: radial-gradient(420px circle at var(--gx, 50%) var(--gy, 50%), rgba(242, 234, 217, 0.09), transparent 65%);
}
.tilt:hover::after { opacity: 1; }

/* ---------- footer ---------- */
.footer {
  position: relative;
  padding: clamp(90px, 14vh, 180px) clamp(20px, 4vw, 56px) 40px;
  text-align: center;
  overflow: clip;
}
.footer-giant {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  font-size: clamp(88px, 19vw, 340px);
  line-height: 0.86;
  letter-spacing: var(--ls-display);
  color: var(--cream);
}
.footer-giant em {
  font-style: normal;
  color: var(--accent);
}
.footer-cta {
  margin-top: clamp(32px, 5vh, 56px);
  font-size: 22px;
  padding: 28px 56px;
}
.footer-logo {
  width: clamp(190px, 24vw, 300px);
  height: auto;
  margin: clamp(60px, 9vh, 110px) auto 0;
}
.footer-meta {
  margin-top: clamp(36px, 5vh, 60px);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: left;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
  padding-top: 40px;
  border-top: 1px solid rgba(242,234,217,0.14);
}
.footer-meta h4 {
  font-family: var(--font-accent);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--cream-dim);
  margin-bottom: 14px;
}
.footer-meta address, .footer-meta p { font-style: normal; font-size: 15px; color: var(--cream); }
.footer-meta a {
  display: block;
  text-decoration: none;
  font-size: 15px;
  padding: 2px 0;
  transition: color 0.25s ease;
}
.footer-meta a:hover { color: var(--accent); }
.footer-legal {
  margin-top: 56px;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: rgba(242,234,217,0.4);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-legal a {
  color: inherit;
  text-decoration: none;
  transition: color 0.25s ease;
}
.footer-legal a:hover { color: var(--accent); }
@media (max-width: 900px) {
  .footer-meta { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .footer-meta { grid-template-columns: 1fr; text-align: center; }
  .footer-legal { justify-content: center; text-align: center; }
}

/* ---------- fingerfood, desserts & getränke ---------- */
.menu-extra { padding: clamp(60px, 9vh, 120px) clamp(20px, 4vw, 56px) 0; max-width: 1340px; margin: 0 auto; }
.menu-extra-head { margin-bottom: clamp(30px, 4vh, 52px); }
.menu-extra-head h2 { font-family: var(--font-display); font-weight: 400; font-size: clamp(36px, 4.6vw, 72px); line-height: 0.95; text-transform: uppercase; }
.menu-extra-head h2 em { font-style: normal; color: transparent; -webkit-text-stroke: 1.5px var(--accent); }
.mx-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: clamp(28px, 4vw, 56px) clamp(32px, 5vw, 80px); }
.mx-cat h3 { font-family: var(--font-accent); font-weight: 600; font-size: 13px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--accent); margin-bottom: 18px; }
.mx-badge {
  display: inline-block;
  margin-left: 10px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--cream);
  font-size: 10px;
  letter-spacing: 0.14em;
  vertical-align: middle;
}
.mx-cat ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.mx-item { display: flex; align-items: baseline; gap: 10px; font-size: 16px; }
.mx-item .mx-name { color: var(--cream); }
.mx-item .mx-sub { display: block; font-size: 13px; color: var(--cream-dim); }
.mx-item::before { content: none; }
.mx-item .mx-dots { flex: 1; border-bottom: 1px dotted rgba(242,234,217,0.28); transform: translateY(-4px); min-width: 18px; }
.mx-item .mx-price { font-family: var(--font-accent); font-weight: 700; font-size: 15px; color: var(--cream); white-space: nowrap; }
.mx-note { margin-top: clamp(40px, 6vh, 72px); border: 1px solid rgba(242,234,217,0.12); border-radius: 18px; padding: clamp(26px, 4vw, 44px); background: var(--black-2); }
.mx-note h3 { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; font-size: clamp(24px, 2.4vw, 36px); line-height: 1.05; margin-bottom: 14px; }
.mx-note p { color: var(--cream-dim); max-width: 78ch; text-wrap: pretty; }
.mx-note p + p { margin-top: 12px; }
.mx-note strong { color: var(--cream); font-weight: 500; }

/* ---------- legal pages (impressum / datenschutz) ---------- */
.legal-main { max-width: 760px; margin: 0 auto; padding: clamp(130px, 18vh, 190px) clamp(20px, 4vw, 56px) clamp(60px, 9vh, 110px); }
.legal-main h1 { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; font-size: clamp(44px, 7vw, 88px); line-height: 0.95; margin-bottom: clamp(30px, 5vh, 56px); }
.legal-main h2 { font-family: var(--font-accent); font-weight: 600; font-size: 14px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--accent); margin: 44px 0 14px; }
.legal-main p, .legal-main address, .legal-main li { font-style: normal; font-size: 16px; color: var(--cream-dim); text-wrap: pretty; }
.legal-main p + p { margin-top: 12px; }
.legal-main ul { padding-left: 20px; margin-top: 10px; }
.legal-main strong { color: var(--cream); font-weight: 500; }
.legal-main a { color: var(--cream); }
.legal-main a:hover { color: var(--accent); }
.legal-main .legal-ph { color: rgba(242,234,217,0.45); font-style: italic; }
.legal-back { display: inline-block; margin-bottom: 26px; font-family: var(--font-accent); font-weight: 600; font-size: 13px; letter-spacing: 0.2em; text-transform: uppercase; text-decoration: none; color: var(--cream-dim); transition: color 0.25s ease; }
.legal-back:hover { color: var(--cream); }
.le-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 28px auto 0;
  padding: 10px 18px;
  width: fit-content;
  border: 1px solid rgba(242,234,217,0.16);
  border-radius: 999px;
  text-decoration: none;
  color: rgba(242,234,217,0.55);
  font-size: 12px;
  letter-spacing: 0.04em;
  transition: color 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}
.le-badge img { display: block; border-radius: 50%; background: var(--cream); }
.le-badge strong { color: rgba(242,234,217,0.85); font-weight: 600; }
.le-badge:hover { color: var(--cream); border-color: var(--accent); background: rgba(242,234,217,0.05); }

/* ---------- local seo landing pages ---------- */
.local-hero { text-align: center; padding: clamp(16px, 3vh, 32px) 0 clamp(40px, 6vh, 64px); border-bottom: 1px solid rgba(242,234,217,0.14); margin-bottom: clamp(40px, 6vh, 64px); }
.local-hero p.local-eyebrow { font-family: var(--font-accent); font-weight: 600; font-size: 12px; letter-spacing: 0.32em; text-transform: uppercase; color: var(--accent); margin-bottom: 18px; }
.local-hero .btn-order { margin-top: 30px; }
.local-list { display: grid; gap: 12px; margin: 18px 0 0; padding: 0; list-style: none; }
.local-list li { display: flex; gap: 12px; align-items: baseline; font-size: 16px; color: var(--cream-dim); }
.local-list li::before { content: "—"; color: var(--accent); flex-shrink: 0; }
.local-faq h2 { margin-top: 40px; }
.local-cities { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.local-cities a { font-size: 13px; padding: 8px 16px; border: 1px solid rgba(242,234,217,0.2); border-radius: 999px; text-decoration: none; color: var(--cream-dim); transition: color 0.25s ease, border-color 0.25s ease; }
.local-cities a:hover, .local-cities a.is-current { color: var(--cream); border-color: var(--accent); }

/* ---------- cookie banner ---------- */
.cookie-banner {
  position: fixed;
  left: 18px;
  bottom: 18px;
  z-index: 500;
  max-width: 340px;
  background: rgba(15,13,12,0.96);
  border: 1px solid rgba(242,234,217,0.14);
  border-radius: 16px;
  padding: 16px 18px;
  box-shadow: 0 12px 40px -12px rgba(0,0,0,0.6);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  backdrop-filter: blur(6px);
}
.cookie-banner.is-visible { opacity: 1; transform: translateY(0); }
.cookie-banner p {
  font-size: 12.5px;
  line-height: 1.5;
  color: rgba(242,234,217,0.75);
  margin: 0 0 12px;
}
.cookie-banner p a { color: var(--cream); text-decoration: underline; }
.cookie-banner-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.cookie-btn {
  font-family: var(--font-accent);
  font-weight: 600;
  font-size: 11.5px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 9px 14px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: var(--accent);
  color: var(--cream);
  cursor: pointer;
  transition: opacity 0.2s ease, background 0.2s ease;
}
.cookie-btn:hover { opacity: 0.88; }
.cookie-btn--ghost { background: transparent; border-color: rgba(242,234,217,0.28); color: rgba(242,234,217,0.75); }
.cookie-btn--ghost:hover { border-color: var(--cream); color: var(--cream); }
@media (max-width: 480px) {
  .cookie-banner { left: 12px; right: 12px; bottom: 12px; max-width: none; }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .hero-title .line > span { animation: none; transform: none; }
  .hero-slogan, .hero-cta-wrap, .hero-logo { animation: none; opacity: 1; }
  .btn-order::after { animation: none; opacity: 0; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .lines .rl > span { transform: none; transition: none; }
  .intro { display: none; }
}
