@import url("../fonts/fonts.css");

/* =============================================================
   Restaurant Lindwurm, Klagenfurt am Worthersee
   Design spine: the arch motif + the teal of the lake.
   Base theme is warm limestone (light), accents are lake
   teal (ambient brand) and charred ember (action, <=10%).
   ============================================================= */

/* ----- 1. Tokens ----- */
:root {
  /* Surfaces: wet-limestone greige, faintly cool. Never cream, never pure white. */
  --stone: oklch(0.928 0.006 90); /* #E9E6DD base */
  --stone-deep: oklch(0.882 0.009 86); /* #DBD6CA alternating band */
  --stone-soft: oklch(0.957 0.005 92); /* #F3F1EA raised cards */
  --stone-line: oklch(0.838 0.01 84); /* hairlines on stone */

  /* Ink: warm near-black, faint green tint toward the brand. No pure black. */
  --ink: oklch(0.235 0.01 168); /* ~#171A18 */
  --ink-soft: oklch(0.43 0.012 165); /* muted body / captions */
  --ink-faint: oklch(0.56 0.01 160); /* least-important meta */

  /* Lake teal: the ownable colour. Ambient brand. */
  --teal: oklch(0.52 0.072 188); /* ~#1F7A70 */
  --teal-bright: oklch(0.6 0.078 187); /* ~#2E8F84 hovers / arch line */
  --teal-text: oklch(0.48 0.07 189); /* link/eyebrow text, AA on stone */
  --teal-ghost: oklch(0.52 0.072 188 / 0.1);

  /* Ember: charred-grill action accent. Primary CTA only. <=10% of surface.
     Tuned so stone-soft text clears AA on the button and ember-deep clears
     AA as price/label text on the stone bands. */
  --ember: oklch(0.528 0.144 39); /* CTA bg, AA with stone-soft text */
  --ember-deep: oklch(0.47 0.13 38); /* price/label/error text, AA on stone */
  --ember-ghost: oklch(0.528 0.144 39 / 0.12);

  /* Brass: lantern warmth, sparing ticks only. */
  --brass: oklch(0.7 0.105 82); /* ~#C28E33 */

  /* On-dark surfaces (steak band, hero scrim) */
  --night: oklch(0.235 0.012 175); /* deep warm ink-green */
  --night-deep: oklch(0.19 0.01 175);
  --on-night: oklch(0.945 0.006 90);

  /* Type */
  --font-display: "Bricolage Grotesque", "Trebuchet MS", system-ui, sans-serif;
  --font-body:
    "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "Spline Sans Mono", ui-monospace, "Cascadia Code", monospace;

  /* Fluid type scale, ~1.25 ratio */
  --step--1: clamp(0.8rem, 0.77rem + 0.14vw, 0.875rem);
  --step-0: clamp(1rem, 0.96rem + 0.18vw, 1.125rem);
  --step-1: clamp(1.25rem, 1.17rem + 0.4vw, 1.5rem);
  --step-2: clamp(1.56rem, 1.42rem + 0.7vw, 2.1rem);
  --step-3: clamp(1.95rem, 1.7rem + 1.25vw, 3rem);
  --step-4: clamp(2.44rem, 2rem + 2.2vw, 4.2rem);
  --step-5: clamp(3.05rem, 2.3rem + 3.75vw, 6rem);

  /* Spacing */
  --sp-1: 0.5rem;
  --sp-2: 0.75rem;
  --sp-3: 1rem;
  --sp-4: 1.5rem;
  --sp-5: 2rem;
  --sp-6: 3rem;
  --sp-7: 4.5rem;
  --sp-8: 7rem;
  --measure: 66ch;
  --shell: min(92vw, 1180px);
  --shell-narrow: min(92vw, 880px);

  /* Radii: small everywhere; the arch carries the curves. */
  --r-sm: 4px;
  --r-md: 8px;
  --r-lg: 14px;
  --arch: 50% 50% 0 0 / 88% 88% 0 0; /* arch-topped media frame */

  /* Motion */
  --ease: cubic-bezier(0.16, 1, 0.3, 1); /* ease-out-expo-ish */
  --dur: 240ms;

  --header-h: 68px;
}

/* ----- 2. Reset / base ----- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
* {
  margin: 0;
}
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.6;
  color: var(--ink);
  background: var(--stone);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img,
video,
svg {
  display: block;
  max-width: 100%;
}
img,
video {
  height: auto;
}
a {
  color: var(--teal-text);
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}
a:hover {
  color: var(--teal-bright);
}
button {
  font: inherit;
  color: inherit;
  cursor: pointer;
}
:where(input, select, textarea, button) {
  font-family: inherit;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

/* Focus: visible teal ring everywhere */
:focus-visible {
  outline: 2.5px solid var(--teal-bright);
  outline-offset: 3px;
  border-radius: 2px;
}

::selection {
  background: var(--teal);
  color: var(--on-night);
}

/* Skip link */
.skip {
  position: absolute;
  left: var(--sp-3);
  top: -120%;
  z-index: 200;
  background: var(--ink);
  color: var(--on-night);
  padding: 0.6rem 1rem;
  border-radius: var(--r-md);
  font-weight: 600;
}
.skip:focus {
  top: var(--sp-3);
  color: var(--on-night);
}

/* ----- 3. Layout primitives ----- */
.shell {
  width: var(--shell);
  margin-inline: auto;
}
.shell-narrow {
  width: var(--shell-narrow);
  margin-inline: auto;
}
.section {
  padding-block: var(--sp-7);
  position: relative;
}
main section[id],
#reserve {
  scroll-margin-top: calc(var(--header-h) + 12px);
}
.section--tight {
  padding-block: var(--sp-6);
}
.section--loose {
  padding-block: var(--sp-8);
}
.band-deep {
  background: var(--stone-deep);
}
.flow > * + * {
  margin-top: var(--sp-3);
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: var(--step--1);
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal-text);
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}
.eyebrow::before {
  content: "";
  width: 1.6rem;
  height: 1px;
  background: currentColor;
  opacity: 0.7;
}
.section-head {
  max-width: 40ch;
  margin-bottom: var(--sp-5);
}
.section-head h2 {
  font-size: var(--step-3);
  margin-top: var(--sp-2);
}
.section-head p {
  color: var(--ink-soft);
  margin-top: var(--sp-3);
  max-width: 52ch;
}

.lead {
  font-size: var(--step-1);
  color: var(--ink-soft);
  max-width: var(--measure);
}

/* ----- 4. Buttons ----- */
.btn {
  --_bg: var(--ink);
  --_fg: var(--on-night);
  --_bd: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.7rem 1.4rem;
  background: var(--_bg);
  color: var(--_fg);
  border: 1.5px solid var(--_bd);
  border-radius: var(--r-md);
  font-weight: 600;
  font-size: var(--step-0);
  text-decoration: none;
  transition:
    transform var(--dur) var(--ease),
    background-color var(--dur) var(--ease),
    color var(--dur) var(--ease),
    border-color var(--dur) var(--ease);
}
.btn:hover {
  transform: translateY(-2px);
}
.btn:active {
  transform: translateY(0);
}
.btn--ember {
  --_bg: var(--ember);
  --_fg: var(--stone-soft);
  --_bd: var(--ember);
  color: var(--stone-soft);
}
.btn--ember:hover {
  --_bg: var(--ember-deep);
  --_bd: var(--ember-deep);
  color: var(--stone-soft);
}
.btn--ghost {
  --_bg: transparent;
  --_fg: var(--ink);
  --_bd: var(--ink);
}
.btn--ghost:hover {
  --_bg: var(--ink);
  --_fg: var(--stone-soft);
  color: var(--stone-soft);
}
.btn--on-night {
  --_bg: transparent;
  --_fg: var(--on-night);
  --_bd: oklch(0.945 0.006 90 / 0.5);
  color: var(--on-night);
}
.btn--on-night:hover {
  --_bg: var(--on-night);
  --_fg: var(--ink);
  color: var(--ink);
  border-color: var(--on-night);
}
.btn--sm {
  min-height: 40px;
  padding: 0.45rem 1rem;
  font-size: var(--step--1);
}

/* ----- 5. Arch motifs ----- */
.arch-frame {
  position: relative;
  background: var(--stone-deep);
}
.arch-frame::after {
  display: none;
}
.arch-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Scroll-drawn arch divider */
.arch-rule {
  display: block;
  width: 100%;
  height: 60px;
  color: var(--teal);
}
.arch-rule path {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-dasharray: var(--len, 1000);
  stroke-dashoffset: var(--len, 1000);
  transition: stroke-dashoffset 1400ms var(--ease);
}
.arch-rule.is-drawn path {
  stroke-dashoffset: 0;
}
.arch-rule circle {
  fill: var(--brass);
  opacity: 0;
  transition: opacity 600ms var(--ease) 700ms;
}
.arch-rule.is-drawn circle {
  opacity: 1;
}

/* ----- 6. Reveal on scroll ----- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 700ms var(--ease),
    transform 700ms var(--ease);
}
.reveal.is-in {
  opacity: 1;
  transform: none;
}
.reveal[data-delay="1"] {
  transition-delay: 80ms;
}
.reveal[data-delay="2"] {
  transition-delay: 160ms;
}
.reveal[data-delay="3"] {
  transition-delay: 240ms;
}

/* =============================================================
   7. Header / nav
   ============================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: oklch(0.928 0.006 90 / 0.82);
  backdrop-filter: saturate(1.2) blur(10px);
  border-bottom: 1px solid transparent;
  transition:
    border-color var(--dur) var(--ease),
    background-color var(--dur) var(--ease);
}
.site-header.is-scrolled {
  border-bottom-color: var(--stone-line);
}
.site-header .shell {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  width: var(--shell);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--ink);
  margin-right: auto;
}
/* Wordmark is real text, not an image: it stays crisp at any size, is
   selectable, and picks up the self-hosted display face. The coiled Lindwurm
   beside it is inline SVG so it inherits currentColor. */
.brand__mark {
  flex: none;
  color: var(--teal);
}
.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.brand__name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.45rem;
  letter-spacing: -0.03em;
}
.brand__sub {
  display: none;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal-text);
  margin-top: 0.3rem;
}
@media (min-width: 560px) {
  .brand__sub {
    display: block;
  }
}
/* On the dark footer the teal mark loses contrast, so lift both to on-night. */
.brand--footer {
  color: var(--on-night);
  margin-right: 0;
  margin-bottom: var(--sp-3);
}
.brand--footer .brand__mark {
  color: oklch(0.8 0.07 187);
}
.brand--footer .brand__sub {
  color: oklch(0.94 0.006 90 / 0.62);
}

.nav {
  display: none;
}
.nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: clamp(0.5rem, 1.4vw, 1.4rem);
  padding: 0;
}
.nav a {
  font-family: var(--font-mono);
  font-size: var(--step--1);
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink);
  padding: 0.4rem 0.1rem;
  position: relative;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 1.5px;
  background: var(--teal);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur) var(--ease);
}
.nav a:hover::after,
.nav a[aria-current="true"]::after {
  transform: scaleX(1);
}
.nav a[aria-current="true"] {
  color: var(--teal-text);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
}

.lang-toggle {
  display: inline-flex;
  border: 1.5px solid var(--stone-line);
  border-radius: var(--r-md);
  overflow: hidden;
}
.lang-toggle button {
  font-family: var(--font-mono);
  font-size: var(--step--1);
  font-weight: 500;
  padding: 0.35rem 0.6rem;
  background: transparent;
  color: var(--ink-soft);
  border: 0;
  min-height: 40px;
}
.lang-toggle button[aria-pressed="true"] {
  background: var(--ink);
  color: var(--stone-soft);
}

.header-reserve {
  display: none;
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  background: transparent;
  border: 1.5px solid var(--stone-line);
  border-radius: var(--r-md);
}
.nav-toggle svg {
  width: 22px;
  height: 22px;
}

/* Mobile sheet */
.nav-sheet {
  position: fixed;
  inset: 0;
  z-index: 150;
  display: none;
}
.nav-sheet[data-open="true"] {
  display: block;
}
.nav-sheet__scrim {
  position: absolute;
  inset: 0;
  background: oklch(0.19 0.01 175 / 0.5);
  opacity: 0;
  transition: opacity var(--dur) var(--ease);
}
.nav-sheet[data-open="true"] .nav-sheet__scrim {
  opacity: 1;
}
.nav-sheet__panel {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: min(86vw, 360px);
  background: var(--stone-soft);
  padding: var(--sp-4);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform var(--dur) var(--ease);
  box-shadow: -20px 0 60px oklch(0.19 0.01 175 / 0.25);
}
.nav-sheet[data-open="true"] .nav-sheet__panel {
  transform: none;
}
.nav-sheet__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--sp-4);
}
.nav-sheet__head .brand__name {
  font-size: 1.3rem;
}
.nav-sheet nav ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.nav-sheet nav a {
  display: block;
  font-family: var(--font-display);
  font-size: var(--step-2);
  font-weight: 600;
  text-decoration: none;
  color: var(--ink);
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--stone-line);
}
.nav-sheet nav a[aria-current="true"] {
  color: var(--teal-text);
}
.nav-sheet__foot {
  margin-top: auto;
  padding-top: var(--sp-4);
  display: grid;
  gap: var(--sp-2);
}

@media (min-width: 920px) {
  .nav {
    display: block;
  }
  .nav-toggle {
    display: none;
  }
  .header-reserve {
    display: inline-flex;
  }
}

/* =============================================================
   8. Hero
   ============================================================= */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  isolation: isolate;
}
.hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: var(--night-deep);
}
.hero__media img,
.hero__media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero__scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    to top,
    oklch(0.18 0.01 175 / 0.82) 0%,
    oklch(0.18 0.01 175 / 0.34) 42%,
    oklch(0.18 0.01 175 / 0.2) 70%,
    oklch(0.18 0.01 175 / 0.42) 100%
  );
}
.hero__inner {
  width: var(--shell);
  margin-inline: auto;
  padding-block: var(--sp-7) var(--sp-7);
  color: var(--on-night);
}
.hero__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--step-5);
  line-height: 0.94;
  letter-spacing: -0.03em;
  max-width: 16ch;
  margin-top: var(--sp-3);
  text-shadow: 0 2px 30px oklch(0.18 0.01 175 / 0.5);
}
.hero__title .accent {
  color: oklch(0.8 0.07 187);
}
.hero__tagline {
  font-size: var(--step-1);
  max-width: 42ch;
  margin-top: var(--sp-4);
  color: oklch(0.94 0.006 90 / 0.94);
}
.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
  margin-top: var(--sp-5);
}
.hero__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--sp-4);
  margin-top: var(--sp-5);
}

.rating-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: oklch(1 0 0 / 0.1);
  border: 1px solid oklch(1 0 0 / 0.22);
  padding: 0.5rem 0.9rem;
  border-radius: var(--r-md);
  text-decoration: none;
  color: var(--on-night);
}
.rating-badge:hover {
  background: oklch(1 0 0 / 0.18);
  color: var(--on-night);
}
.rating-badge .num {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: var(--step-0);
}
.stars {
  display: inline-flex;
  gap: 1px;
  color: var(--brass);
}
.stars svg {
  width: 15px;
  height: 15px;
}
.rating-badge .src {
  font-size: var(--step--1);
  opacity: 0.85;
}

.hero__videobtn {
  position: absolute;
  right: var(--sp-3);
  bottom: var(--sp-3);
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: oklch(0.19 0.01 175 / 0.55);
  color: var(--on-night);
  border: 1px solid oklch(1 0 0 / 0.25);
  border-radius: 100px;
  padding: 0.4rem 0.8rem;
  font-family: var(--font-mono);
  font-size: var(--step--1);
}

/* =============================================================
   9. About
   ============================================================= */
.about__grid {
  display: grid;
  gap: var(--sp-6);
}
.about__lede h2 {
  font-size: var(--step-4);
  max-width: 14ch;
}
.about__lede .lead {
  margin-top: var(--sp-4);
}
.about__lede p + p {
  margin-top: var(--sp-3);
  color: var(--ink-soft);
  max-width: var(--measure);
}

.about__media {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-3);
  align-items: end;
}
.about__media .arch-frame:first-child {
  aspect-ratio: 3/4.4;
}
.about__media .arch-frame:last-child {
  aspect-ratio: 3/3.4;
}
.about__media figcaption {
  font-family: var(--font-mono);
  font-size: var(--step--1);
  color: var(--ink-faint);
  margin-top: 0.5rem;
  grid-column: 1 / -1;
}

.pillars {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-4);
  margin-top: var(--sp-6);
}
.pillar {
  padding-top: var(--sp-3);
  border-top: 1.5px solid var(--ink);
}
.pillar h3 {
  font-family: var(--font-mono);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: var(--step--1);
  color: var(--teal-text);
}
.pillar p {
  margin-top: 0.5rem;
  color: var(--ink-soft);
  font-size: var(--step-0);
}

@media (min-width: 860px) {
  .about__grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: var(--sp-7);
    align-items: center;
  }
  .pillars {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* =============================================================
   10. Steak band (the one dark, warm moment)
   ============================================================= */
.craft {
  background: var(--night);
  color: var(--on-night);
  overflow: hidden;
}
.craft .eyebrow {
  color: oklch(0.8 0.07 187);
}
.craft__grid {
  display: grid;
  gap: var(--sp-6);
  align-items: center;
}
.craft__copy h2 {
  font-size: var(--step-4);
  max-width: 13ch;
  color: var(--on-night);
}
.craft__copy .lead {
  color: oklch(0.94 0.006 90 / 0.8);
  margin-top: var(--sp-4);
}
.craft__caption {
  font-family: var(--font-mono);
  font-size: var(--step--1);
  color: oklch(0.8 0.05 187);
  margin-top: var(--sp-4);
}
.craft__video {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/5;
  background: var(--night-deep);
  max-width: 460px;
  margin-inline: auto;
  width: 100%;
}
.craft__video video,
.craft__video img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.craft__stills {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  margin-top: var(--sp-5);
}
.craft__stills figure {
  margin: 0;
  aspect-ratio: 4 / 5;
  background: var(--night-deep);
  overflow: hidden;
}
.craft__stills img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition:
    transform 0.35s ease,
    filter 0.35s ease;
}
.craft__stills figure:hover img {
  transform: scale(1.04);
  filter: brightness(1.04);
}

@media (min-width: 860px) {
  .craft__grid {
    grid-template-columns: 1fr 0.85fr;
    gap: var(--sp-7);
  }
}

/* =============================================================
   11. Menu
   ============================================================= */
.menu__tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: var(--sp-5);
  border-bottom: 1px solid var(--stone-line);
  padding-bottom: var(--sp-3);
}
.menu__tab {
  font-family: var(--font-mono);
  font-size: var(--step--1);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: transparent;
  border: 1px solid var(--stone-line);
  border-radius: 100px;
  color: var(--ink-soft);
  padding: 0.45rem 0.9rem;
  min-height: 40px;
  transition:
    background-color var(--dur) var(--ease),
    color var(--dur) var(--ease),
    border-color var(--dur) var(--ease);
}
.menu__tab[aria-selected="true"] {
  background: var(--ink);
  color: var(--stone-soft);
  border-color: var(--ink);
}
.menu__tab:hover {
  border-color: var(--ink);
}

.menu__panel {
  display: none;
}
.menu__panel.is-active {
  display: block;
  animation: fade var(--dur) var(--ease);
}
@keyframes fade {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .menu__panel.is-active {
    animation: none;
  }
}

.menu__panel-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: var(--sp-4);
}
.menu__panel-head h3 {
  font-size: var(--step-2);
}
.menu__count {
  font-family: var(--font-mono);
  font-size: var(--step--1);
  color: var(--ink-faint);
}

.menu__list {
  display: grid;
  gap: 0;
}
.menu-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.4rem 1rem;
  align-items: baseline;
  padding: var(--sp-3) 0;
  border-bottom: 1px dotted var(--stone-line);
}
.menu-item__name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--step-1);
  letter-spacing: -0.01em;
}
.menu-item__tbc {
  font-family: var(--font-mono);
  font-size: 0.62em;
  vertical-align: middle;
  color: var(--brass);
  border: 1px solid var(--brass);
  border-radius: 3px;
  padding: 0 4px;
  margin-left: 6px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.menu-item__price {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: var(--step-0);
  color: var(--ember-deep);
  white-space: nowrap;
}
.menu-item__price .cur {
  color: var(--ink-faint);
  font-size: 0.8em;
  margin-left: 2px;
}
.menu-item__desc {
  grid-column: 1 / -1;
  color: var(--ink-soft);
  font-size: var(--step-0);
  max-width: 60ch;
}

.menu__featured {
  display: grid;
  gap: var(--sp-3);
  margin-top: var(--sp-5);
}
.menu-feature {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: var(--sp-3);
  align-items: center;
  background: var(--stone-soft);
  border-radius: var(--r-lg);
  padding: 0.6rem;
}
.menu-feature .arch-frame {
  aspect-ratio: 1/1;
  border-radius: var(--r-md);
}
.menu-feature h4 {
  font-size: var(--step-0);
}
.menu-feature p {
  font-size: var(--step--1);
  color: var(--ink-soft);
  margin-top: 0.2rem;
}

.menu__foot {
  margin-top: var(--sp-6);
  padding-top: var(--sp-5);
  border-top: 1.5px solid var(--ink);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
}
.menu__foot p {
  color: var(--ink-soft);
  max-width: 48ch;
  font-size: var(--step-0);
}

@media (min-width: 760px) {
  .menu__layout {
    display: grid;
    grid-template-columns: 1.6fr 0.9fr;
    gap: var(--sp-6);
    align-items: start;
  }
  .menu__featured {
    margin-top: 0;
    position: sticky;
    top: calc(var(--header-h) + var(--sp-3));
  }
}

/* =============================================================
   12. Reviews
   ============================================================= */
.reviews__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--sp-4);
  margin-bottom: var(--sp-5);
}
.agg {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  background: var(--stone-soft);
  border: 1px solid var(--stone-line);
  border-radius: var(--r-lg);
  padding: 0.7rem 1.1rem;
}
.agg__num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--step-3);
  line-height: 1;
}
.agg__meta {
  font-size: var(--step--1);
  color: var(--ink-soft);
}
.agg__meta a {
  font-family: var(--font-mono);
}
.agg--placeholder {
  position: relative;
}
.agg__flag {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.7em;
  color: var(--ink-soft);
  margin-top: 4px;
  padding-left: 8px;
  border-left: 2px solid var(--brass);
}

/* Auto-scrolling marquee of review cards */
.review-marquee {
  overflow: hidden;
  /* soft fade at both edges */
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.review-track {
  display: flex;
  gap: var(--sp-4);
  width: max-content;
  align-items: stretch;
  animation: review-scroll var(--marquee-dur, 60s) linear infinite;
  will-change: transform;
}
/* pause when the visitor hovers or tabs into the strip */
.review-marquee:hover .review-track,
.review-marquee:focus-within .review-track {
  animation-play-state: paused;
}
@keyframes review-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
/* No-JS / manual fallback: a normal scrollable row */
.review-marquee.is-static {
  overflow-x: auto;
  -webkit-mask-image: none;
  mask-image: none;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}
.review-marquee.is-static .review-track { animation: none; }
.review-marquee.is-static .review-card { scroll-snap-align: start; }

.review-card {
  flex: 0 0 clamp(258px, 80vw, 332px);
  background: var(--stone-soft);
  border: 1px solid var(--stone-line);
  border-radius: var(--r-lg);
  padding: var(--sp-4);
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}
.review-card__stars {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.review-card__stars .stars {
  color: var(--brass);
}
.review-card__rating-num {
  font-family: var(--font-mono);
  font-size: var(--step--1);
  color: var(--ink-soft);
}
.review-card__text {
  color: var(--ink);
  font-size: var(--step-0);
  /* keep cards a tidy, even height in the marquee */
  display: -webkit-box;
  -webkit-line-clamp: 6;
  line-clamp: 6;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.review-card__foot {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  font-size: var(--step--1);
  color: var(--ink-faint);
}
.review-card__author {
  font-weight: 600;
  color: var(--ink);
  font-family: var(--font-display);
}
.review-card__meta {
  font-family: var(--font-mono);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.review-card__logo {
  display: inline-flex;
  align-items: center;
}
/* source logos: keep an even optical height across brands */
.review-card__logo svg,
.agg__logo svg,
.rating-badge .src-logo svg {
  display: block;
  width: auto;
  height: 15px;
}
.agg__line {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.agg__logo,
.src-logo {
  display: inline-flex;
  align-items: center;
}
/* the Tripadvisor owl is wider; give it a touch more room */
.review-card__logo svg[viewBox="0 0 56 30"] { height: 16px; }
.reviews__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
  margin-top: var(--sp-5);
}

@media (prefers-reduced-motion: reduce) {
  .review-track { animation: none !important; }
  .review-marquee {
    overflow-x: auto;
    -webkit-mask-image: none;
    mask-image: none;
  }
}

/* =============================================================
   13. Gallery
   ============================================================= */
.gallery__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
}
.gallery__grid figure {
  margin: 0;
}
.gallery__grid .gallery__item {
  display: block;
  background: var(--stone-deep);
}
.gallery__grid .gallery__item--hero {
  grid-column: 1 / -1;
}
.gallery__grid .gallery__hero {
  position: relative;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 16 / 10;
  background: var(--stone-deep);
}
.gallery__grid .gallery__item:not(.gallery__item--hero) {
  aspect-ratio: 3 / 4;
}
.gallery__grid picture,
.gallery__grid .gallery__hero picture {
  display: block;
  width: 100%;
  height: 100%;
}
.gallery__grid img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition:
    transform 0.35s ease,
    filter 0.35s ease;
}
.gallery__grid .gallery__item:hover img,
.gallery__grid .gallery__hero:hover img {
  transform: scale(1.04);
  filter: brightness(1.04);
}

/* =============================================================
   14. Contact / reserve
   ============================================================= */
.contact__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--sp-6);
}
/* minmax(0, 1fr): an implicit `auto` track sizes to the longest line's
   max-content, which pushed the whole list past the shell on a 360px screen. */
.info-list {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--sp-4);
}
.info-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.2rem;
  padding-bottom: var(--sp-3);
  border-bottom: 1px solid var(--stone-line);
}
/* Long placeholder addresses have no break opportunity on narrow screens. */
.info-item dd,
.info-item a {
  overflow-wrap: anywhere;
}
.info-item dt {
  font-family: var(--font-mono);
  font-size: var(--step--1);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--teal-text);
}
.info-item dd {
  margin: 0;
  color: var(--ink);
}
.info-item a {
  color: var(--ink);
  text-decoration: none;
}
.info-item a:hover {
  color: var(--teal-text);
}
.socials {
  display: flex;
  gap: var(--sp-2);
  flex-wrap: wrap;
}
.social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border: 1.5px solid var(--stone-line);
  border-radius: var(--r-md);
  padding: 0.45rem 0.8rem;
  text-decoration: none;
  color: var(--ink);
  font-size: var(--step--1);
  min-height: 44px;
}
.social-link:hover {
  border-color: var(--ink);
  color: var(--ink);
}
.social-link svg {
  width: 18px;
  height: 18px;
}

.map-card {
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--stone-line);
}
.map-card iframe {
  width: 100%;
  height: 220px;
  border: 0;
  display: block;
}

.reserve-card {
  background: var(--stone-soft);
  border: 1px solid var(--stone-line);
  border-radius: var(--r-lg);
  padding: var(--sp-5);
}
.form-grid {
  display: grid;
  gap: var(--sp-4);
  margin-top: var(--sp-4);
}
.field {
  display: grid;
  gap: 0.35rem;
}
.field label {
  font-family: var(--font-mono);
  font-size: var(--step--1);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
}
.field .req {
  color: var(--ember-deep);
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.7rem 0.8rem;
  min-height: 48px;
  background: var(--stone);
  border: 1.5px solid var(--stone-line);
  border-radius: var(--r-md);
  color: var(--ink);
  transition:
    border-color var(--dur) var(--ease),
    box-shadow var(--dur) var(--ease);
}
.field textarea {
  min-height: 92px;
  resize: vertical;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px var(--teal-ghost);
}
.field .helper {
  font-size: var(--step--1);
  color: var(--ink-faint);
}
.field .error-msg {
  font-size: var(--step--1);
  color: var(--ember-deep);
  min-height: 1.1em;
}
.field[data-invalid="true"] input,
.field[data-invalid="true"] select {
  border-color: var(--ember-deep);
}
.form-row {
  display: grid;
  gap: var(--sp-4);
  grid-template-columns: 1fr 1fr;
}
.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
  align-items: center;
  margin-top: var(--sp-2);
}
.form-status {
  font-size: var(--step-0);
  padding: 0.75rem 1rem;
  border-radius: var(--r-md);
  display: none;
}
.form-status[data-state="success"] {
  display: block;
  background: var(--teal-ghost);
  color: var(--teal-text);
  border: 1px solid var(--teal);
}
.form-status[data-state="error"] {
  display: block;
  background: var(--ember-ghost);
  color: var(--ember-deep);
  border: 1px solid var(--ember-deep);
}
/* ----- Legal pages (Impressum / Datenschutz) ----- */
.legal-page {
  padding-top: var(--sp-6);
}
.legal-page h1 {
  font-size: var(--step-3);
  margin-top: var(--sp-2);
}
.legal-page .lead {
  margin-top: var(--sp-3);
}
.legal-page .info-list {
  margin-top: var(--sp-5);
}
.legal-block {
  margin-top: var(--sp-5);
  max-width: var(--measure);
}
.legal-block h2 {
  font-size: var(--step-1);
  margin-bottom: var(--sp-2);
}
.legal-block p {
  color: var(--ink-soft);
}
/* Standing reminder that the venue is invented, on every legal page. */
.legal-note {
  margin-top: var(--sp-4);
  padding: var(--sp-3) var(--sp-4);
  background: var(--ember-ghost);
  border-left: 3px solid var(--ember-deep);
  border-radius: var(--r-sm);
  max-width: var(--measure);
}
.legal-note__title {
  font-family: var(--font-mono);
  font-size: var(--step--1);
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ember-deep);
  margin-bottom: var(--sp-1);
}
.legal-note p:last-child {
  color: var(--ink-soft);
}

/* Shown while no Formspree endpoint is configured: the form validates but
   deliberately posts nowhere. Neutral, so it reads as a notice, not a failure. */
.form-status[data-state="demo"] {
  display: block;
  background: var(--stone-deep);
  color: var(--ink-soft);
  border: 1px dashed var(--stone-line);
}

@media (min-width: 860px) {
  .contact__grid {
    grid-template-columns: 0.9fr 1.1fr;
    gap: var(--sp-7);
    align-items: start;
  }
}

/* =============================================================
   15. Footer + mobile CTA bar
   ============================================================= */
.site-footer {
  background: var(--night);
  color: var(--on-night);
  padding-block: var(--sp-7) var(--sp-5);
}
.footer__grid {
  display: grid;
  gap: var(--sp-5);
}
.footer__brand .brand--footer {
  text-decoration: none;
}
.footer__brand p {
  color: oklch(0.94 0.006 90 / 0.7);
  max-width: 32ch;
}
.footer__col h4 {
  font-family: var(--font-mono);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: var(--step--1);
  color: oklch(0.8 0.07 187);
  margin-bottom: var(--sp-3);
}
.footer__col ul {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 0.5rem;
}
.footer__col a {
  color: oklch(0.94 0.006 90 / 0.85);
  text-decoration: none;
}
.footer__col a:hover {
  color: var(--on-night);
}
.footer__bottom {
  margin-top: var(--sp-6);
  padding-top: var(--sp-4);
  border-top: 1px solid oklch(1 0 0 / 0.14);
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
  align-items: center;
  justify-content: space-between;
  font-size: var(--step--1);
  color: oklch(0.94 0.006 90 / 0.65);
}
.footer__bottom a {
  color: oklch(0.8 0.07 187);
}
/* Build credit. Deliberately off-palette: it is the studio's own mark, not
   part of the restaurant's brand. Needs the `a` to outrank the rule above. */
.footer__bottom a.footer__credit {
  color: #c157c7;
}
.footer__bottom a.footer__credit:hover {
  color: #d47ad9;
}
.to-top {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: transparent;
  border: 1px solid oklch(1 0 0 / 0.25);
  color: var(--on-night);
  border-radius: 100px;
  padding: 0.4rem 0.9rem;
  font-family: var(--font-mono);
  font-size: var(--step--1);
  text-decoration: none;
}

@media (min-width: 760px) {
  .footer__grid {
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: var(--sp-6);
  }
}

.cta-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 90;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--stone-line);
  border-top: 1px solid var(--stone-line);
  padding-bottom: env(safe-area-inset-bottom);
  transform: translateY(110%);
  transition: transform var(--dur) var(--ease);
}
.cta-bar.is-shown {
  transform: none;
}
.cta-bar a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 56px;
  text-decoration: none;
  font-weight: 600;
  font-family: var(--font-mono);
  font-size: var(--step--1);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.cta-bar .cta-call {
  background: var(--stone-soft);
  color: var(--ink);
}
.cta-bar .cta-reserve {
  background: var(--ember);
  color: var(--stone-soft);
}
.cta-bar svg {
  width: 18px;
  height: 18px;
}
@media (min-width: 920px) {
  .cta-bar {
    display: none !important;
  }
}
body {
  padding-bottom: 0;
}
@media (max-width: 919px) {
  body.has-cta-bar {
    padding-bottom: 56px;
  }
}

/* =============================================================
   16. Reduced motion
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }
  .arch-rule path {
    stroke-dashoffset: 0 !important;
  }
  .arch-rule circle {
    opacity: 1 !important;
  }
}

/* =============================================================
   Cookie / privacy consent banner
   ============================================================= */
.consent {
  position: fixed;
  z-index: 130; /* above header (100) and mobile CTA bar (90) */
  left: var(--sp-3);
  right: var(--sp-3);
  bottom: var(--sp-3);
  max-width: 420px;
  background: var(--stone-soft);
  border: 1px solid var(--stone-line);
  border-radius: var(--r-lg);
  box-shadow: 0 18px 50px oklch(0.19 0.01 175 / 0.22);
  /* Opacity stays at 1 so the banner is always visible once shown; only the
     slide is animated (a paused transition can never leave it invisible). */
  transform: translateY(14px);
  transition: transform var(--dur) var(--ease);
}
.consent.is-in { transform: none; }
.consent[hidden] { display: none; }
.consent__inner { padding: var(--sp-4); }
.consent__title {
  font-family: var(--font-mono);
  font-size: var(--step--1);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--teal-text);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.consent__title::before {
  content: "";
  width: 0.7rem; height: 0.7rem; border-radius: 50%;
  border: 2px solid var(--brass);
}
.consent__text { margin-top: var(--sp-2); font-size: var(--step--1); color: var(--ink-soft); line-height: 1.55; }
.consent__details { margin-top: var(--sp-2); font-size: var(--step--1); color: var(--ink-soft); line-height: 1.55; padding-left: var(--sp-2); border-left: 2px solid var(--stone-line); }
.consent__details[hidden] { display: none; }
.consent__actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-2); margin-top: var(--sp-3); }
.consent__more {
  margin-left: auto;
  background: transparent; border: 0; padding: 0.4rem 0.2rem;
  font-family: var(--font-mono); font-size: var(--step--1); color: var(--ink-soft);
  text-decoration: underline; text-underline-offset: 3px;
}
.consent__more:hover { color: var(--teal-text); }

/* On mobile, sit above the sticky Call/Reserve bar. */
@media (max-width: 919px) {
  body.has-cta-bar .consent { bottom: calc(56px + var(--sp-3) + env(safe-area-inset-bottom)); }
}
@media (min-width: 560px) {
  .consent { left: var(--sp-4); right: auto; bottom: var(--sp-4); }
}

/* No-JS fallback for scroll-reveal lives in the <noscript> block in index.html. */
