/* =====================================================================
   RESTAURANT TALHAUS — Corporate Website
   Brand: warm, hochwertig, bodenständig, einladend · timeless
   Source of truth: 16x9_Brand-Presentation (PDF)
   ===================================================================== */

/* ---------- Fonts ---------- */
@font-face {
  font-family: "LT Museum";
  src: url("../fonts/LTMuseum-Black.woff2") format("woff2");
  font-weight: 900; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "LT Museum";
  src: url("../fonts/LTMuseum-Medium.woff2") format("woff2");
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "LT Museum";
  src: url("../fonts/LTMuseum-Light.woff2") format("woff2");
  font-weight: 300; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Petrona";
  src: url("../fonts/Petrona-Light.woff2") format("woff2");
  font-weight: 300; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Petrona";
  src: url("../fonts/Petrona-Medium.woff2") format("woff2");
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Petrona";
  src: url("../fonts/Petrona-Bold.woff2") format("woff2");
  font-weight: 700; font-style: normal; font-display: swap;
}

/* ---------- Design Tokens ---------- */
:root {
  /* Brand palette — PDF spec (source of truth) */
  --olive:      #403B00;   /* Main — Dark Olive */
  --olive-deep: #2c2900;   /* darker shade for depth */
  --sand:       #EBDEC7;   /* Neutral — Sandbeige (single light background) */
  --gold:       #B4913C;   /* Accent — Goldbraun */
  --gold-soft:  #c9a861;
  --rust:       #B44F2D;   /* Secondary — Rostbraun */

  /* Semantic */
  --bg:            #ffffff;        /* helle Sektionen: weiss */
  --bg-alt:        #ffffff;
  --surface:       #ffffff;
  --ink:           var(--olive);
  --ink-soft:      #5a5320;
  --on-dark:       var(--sand);
  --on-dark-soft:  #cdbf9f;
  --accent:        var(--gold);
  --accent-2:      var(--rust);
  --line:          rgba(64, 59, 0, 0.16);
  --line-dark:     rgba(235, 222, 199, 0.18);

  /* Type */
  --font-display: "LT Museum", "Arial Black", sans-serif;
  --font-body:    "Petrona", Georgia, "Times New Roman", serif;

  /* Fluid type scale — modulare Skala (Minor Third ≈ 1.2 mobil → grosszügiger
     auf Desktop). Leserfreundlich für ältere Gäste, aber bewusst NICHT
     überdimensioniert: Body startet bei 18px (1rem), nicht 24px. */
  --step--1: clamp(0.9rem, 0.84rem + 0.26vw, 1.0rem);    /* ~16 → 18px  Meta/Eyebrow */
  --step-0:  clamp(1.0rem, 0.93rem + 0.3vw, 1.22rem);    /* ~18 → 22px  Body */
  --step-1:  clamp(1.1rem, 1.0rem + 0.42vw, 1.4rem);     /* ~20 → 25px  Lead/Dish */
  --step-2:  clamp(1.4rem, 1.18rem + 0.95vw, 2.05rem);   /* ~25 → 37px  Kartentitel */
  --step-3:  clamp(1.75rem, 1.4rem + 1.5vw, 2.9rem);     /* ~31 → 52px  Sektionstitel */
  --step-4:  clamp(2.2rem, 1.55rem + 3.2vw, 5rem);       /* ~40 → 90px  Hero */
  --step-5:  clamp(2.4rem, 1.3rem + 6vw, 7rem);          /* Display */

  /* Spacing */
  --gutter: clamp(1.25rem, 5vw, 6rem);
  --section: clamp(5rem, 10vw, 11rem);
  --radius: 2px;

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);

  /* Hero-Slideshow (tunable, vom JS ausgelesen) */
  --slide-hold:  5s;     /* Standzeit je Bild */
  --fade-dur:    1.4s;   /* Crossfade-Dauer Bildwechsel */

  --maxw: 1400px;
  --z-nav: 100;
  --z-overlay: 200;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  /* Leserfreundlich: gesamte Seite proportional vergrössert (ältere Gäste) */
  font-size: 112.5%;
  /* Anker-Sprünge nicht hinter der fixen Navigation landen lassen.
     --nav-h wird per JS aus der echten Header-Höhe gesetzt (geräteunabhängig);
     der clamp() dient als Fallback, falls JS (noch) nicht gelaufen ist. */
  scroll-padding-top: calc(var(--nav-h, clamp(72px, 14vw, 96px)) + 0.5rem);
}
/* dezenter Tap-Highlight statt Standard-Blaufläche auf Touch */
* { -webkit-tap-highlight-color: rgba(180, 145, 60, 0.18); }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

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

img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: none; }
ul { list-style: none; }

::selection { background: var(--gold); color: var(--olive); }

:focus-visible {
  outline: 2px solid var(--rust);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ---------- Typography helpers ---------- */
.display {
  font-family: var(--font-display);
  font-weight: 900;
  line-height: 0.92;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}

.eyebrow {
  font-family: var(--font-display);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: var(--step--1);
  display: inline-flex;
  align-items: center;
  color: var(--accent-2);
}
.eyebrow--center { justify-content: center; }

/* Umbruch nur auf Mobile + Tablet (bis 1024px), auf Desktop ausgeblendet */
.br-mtablet { display: none; }
@media (max-width: 1024px) { .br-mtablet { display: inline; } }

/* ---------- Layout ---------- */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section { padding-block: var(--section); position: relative; }
.section--dark { background: var(--sand); color: var(--ink); padding-block: clamp(2.5rem, 5vw, 4rem); }
.section--dark .eyebrow { color: var(--accent-2); }

/* =====================================================================
   NAV
   ===================================================================== */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: var(--z-nav);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(1rem, 2.6vw, 3rem);
  padding: clamp(1.1rem, 2.4vw, 2rem) var(--gutter);
  transition: background 0.5s var(--ease), padding 0.5s var(--ease),
              box-shadow 0.5s var(--ease);
  color: var(--on-dark);
  /* Lesbarkeit über unruhigem Foto-Hintergrund (text-shadow vererbt sich) */
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.55);
}
.nav.is-scrolled {
  background: rgba(44, 41, 0, 0.92);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  padding-block: 0.7rem;
  box-shadow: 0 1px 0 var(--line-dark);
  text-shadow: none; /* fester Hintergrund — Schatten nicht mehr nötig */
}
.nav__group {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2vw, 2.6rem);
}
.nav__group--center { justify-content: center; }
.nav__hours {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
  gap: 0.15rem;
  line-height: 1.2;
}

/* Desktop: Logo links · Menü zentriert · Öffnungszeiten rechts */
@media (min-width: 1025px) {
  .nav {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
  }
  .nav__logo { justify-self: start; }
  .nav__group--center { justify-self: center; }
  .nav__hours { justify-self: end; }
  .nav__cta { justify-self: end; }
}

/* Quick-Reservation-Button in der Nav */
.nav__cta { text-shadow: none; }
.nav__cta svg { flex: 0 0 auto; width: 1em; height: 1em; }
.nav__hours-label {
  font-family: var(--font-display);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.8rem;
  color: var(--gold-soft);
}
.nav__hours-times {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.14rem;
  color: var(--on-dark);
  white-space: nowrap;
}
.nav__logo { flex: 0 0 auto; }
.nav__logo svg, .nav__logo img {
  height: clamp(52px, 1.6rem + 3.4vw, 88px);
  width: auto;
  color: var(--sand);
}
.nav__link {
  font-family: var(--font-display);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: clamp(0.92rem, 0.42rem + 0.78vw, 1.14rem);
  position: relative;
  padding-block: 0.4rem;
  white-space: nowrap;
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: var(--gold-soft);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s var(--ease);
}
.nav__link:hover::after, .nav__link:focus-visible::after { transform: scaleX(1); transform-origin: left; }

/* ---- Nav-Dropdown (Speisekarte → „Alle") ---- */
.nav__has-sub { position: relative; display: inline-flex; align-items: center; }
.nav__sub {
  position: absolute;
  top: 100%;
  left: 50%;
  display: flex;
  flex-direction: column;
  min-width: 9rem;
  /* unsichtbare Brücke nach oben, damit der Hover beim Übergang nicht abreisst */
  padding-top: 0.85rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(-50%) translateY(6px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
  text-shadow: none;
  z-index: 1;
}
.nav__sub::before {
  content: "";
  background: rgba(44, 41, 0, 0.96);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid var(--line-dark);
  border-radius: 4px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.32);
  position: absolute;
  inset: 0.85rem 0 0 0;
  z-index: -1;
}
.nav__has-sub:hover .nav__sub,
.nav__has-sub:focus-within .nav__sub {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.nav__sub-link {
  font-family: var(--font-display);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 1.02rem;
  color: var(--on-dark);
  padding: 0.62rem 1rem;
  margin: 0.35rem;
  border-radius: 3px;
  white-space: nowrap;
  text-align: center;
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease);
}
.nav__sub-link:hover,
.nav__sub-link:focus-visible {
  background: rgba(235, 222, 199, 0.12);
  color: var(--gold-soft);
}

.btn {
  --bg: var(--rust);
  --fg: var(--sand);
  font-family: var(--font-display);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 1.02rem;
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  padding: 1.05em 1.9em;
  background: var(--bg);
  color: var(--fg);
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
  transition: color 0.4s var(--ease);
  min-height: 52px;
}
.btn span { position: relative; z-index: 1; }
.btn::before {
  content: "";
  position: absolute; inset: 0;
  background: var(--olive);
  transform: translateY(101%);
  transition: transform 0.45s var(--ease);
}
.btn:hover { color: var(--sand); }
.btn:hover::before { transform: translateY(0); }
.btn--ghost {
  --bg: transparent;
  --fg: currentColor;
  box-shadow: inset 0 0 0 1.5px currentColor;
}
.btn--ghost:hover { color: var(--olive); }
.btn--ghost::before { background: var(--sand); }
.btn--lg { padding: 1.3em 2.4em; font-size: 1.1rem; }

.nav__cta {
  display: inline-flex;
  gap: 0.5em;
  font-size: clamp(0.85rem, 0.5rem + 0.55vw, 1.02rem);
  letter-spacing: 0.1em;
  padding: 0.85em clamp(1rem, 1.6vw, 1.9em);
  min-height: 46px;
  white-space: nowrap;
}

.nav__burger {
  display: none;
  width: 44px; height: 44px;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
  gap: 5px;
}
.nav__burger span {
  display: block; height: 2px; width: 26px;
  background: currentColor;
  transition: transform 0.4s var(--ease), opacity 0.3s var(--ease), width 0.4s var(--ease);
}
.nav__burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger.is-open span:nth-child(2) { opacity: 0; }
.nav__burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); width: 26px; }

/* Mobile menu overlay */
.menu {
  position: fixed; inset: 0;
  z-index: var(--z-overlay);
  background: var(--olive);
  color: var(--sand);
  display: flex; flex-direction: column;
  /* DETERMINISTISCH oben verankern, NICHT vertikal zentrieren.
     Zentrieren (auch via auto-Margins) verteilt nur den *übrigen* Platz —
     der hängt aber von der nutzbaren Viewport-Höhe ab, und die schwankt je
     nach Gerät/Browser-Leiste (Safari/Chrome-Toolbar, ein-/ausgeblendete
     Adressleiste) um >100px. Folge: mal grosser Abstand zum Logo, mal klebt
     das Menü daran — "auf jedem Gerät anders". Mit fester oberer Verankerung
     ist der Abstand unter dem Header überall identisch; bei wenig Höhe wird
     von oben gescrollt (Logo + erste Links bleiben immer sichtbar). */
  justify-content: flex-start;
  /* Oben um die ECHTE Header-Höhe (per JS gesetzt) freihalten + GARANTIERTER,
     gleichbleibender Atemabstand darunter + Notch-Safe-Area; der 5.5rem-
     Fallback greift nur, falls --nav-h noch nicht gesetzt ist. */
  padding-top: calc(var(--nav-h, 5.5rem) + clamp(1.75rem, 6vw, 3rem) + env(safe-area-inset-top));
  padding-right: calc(var(--gutter) + env(safe-area-inset-right));
  padding-bottom: calc(var(--gutter) + env(safe-area-inset-bottom));
  padding-left: calc(var(--gutter) + env(safe-area-inset-left));
  clip-path: inset(0 0 100% 0);
  transition: clip-path 0.7s var(--ease);
  pointer-events: none;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}
/* Oben verankert (siehe .menu): KEINE auto-Margins zum Zentrieren — der obere
   Abstand kommt allein aus padding-top und ist damit geräteunabhängig konstant.
   Überschuss-Höhe sammelt sich unten; bei Platzmangel wird gescrollt. */
.menu__links { margin-top: 0; }
.menu__meta  { margin-bottom: 0; }
/* Navigation über das Overlay heben, damit Logo + Burger-X antippbar bleiben
   (der Burger sitzt im Nav-Stacking-Context, kann das Overlay sonst nicht überlagern) */
.nav.is-menu-open { z-index: calc(var(--z-overlay) + 1); }
.nav.is-menu-open.is-scrolled { background: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
.menu.is-open { clip-path: inset(0 0 0 0); pointer-events: auto; }
.menu__links { display: flex; flex-direction: column; gap: 0.45em; }
.menu__link {
  font-family: var(--font-body);
  font-weight: 700;
  letter-spacing: -0.01em;
  font-size: clamp(1.7rem, 7vw, 2.6rem);
  line-height: 1.12;
  color: var(--sand);
}
.menu__link a { display: inline-block; transition: color 0.3s var(--ease), transform 0.5s var(--ease); }
.menu__link a:hover { color: var(--gold); }

/* Öffnungszeiten im Mobile-Menü */
.menu__hours { margin-top: 2.4rem; max-width: 22rem; }
.menu__hours-label {
  font-family: var(--font-display);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.86rem;
  color: var(--gold-soft);
  display: block;
  margin-bottom: 0.8rem;
}
.menu__hours-list li {
  display: flex; justify-content: space-between; gap: 1rem;
  padding-block: 0.35rem;
  border-bottom: 1px solid var(--line-dark);
  font-family: var(--font-body);
  font-size: var(--step--1);
  color: var(--sand);
}
.menu__hours-list .day { color: var(--on-dark-soft); }
.menu__hours-list .closed { color: var(--gold-soft); }

.menu__meta {
  margin-top: 2rem;
  display: flex; flex-wrap: wrap; gap: 0.6rem 2rem;
  font-family: var(--font-body);
  color: var(--on-dark-soft);
  font-size: var(--step--1);
}
.menu__meta a:hover { color: var(--gold); }

/* =====================================================================
   HERO
   ===================================================================== */
.hero {
  position: relative;
  /* vh-Fallback zuerst: Browser/Webviews ohne svh-Unterstützung würden den
     Hero sonst auf Höhe 0 zusammenfallen lassen. */
  height: 100vh;
  height: 100svh;
  min-height: 100vh;
  min-height: 100svh;
  background: var(--olive-deep);
  color: var(--sand);
  overflow: hidden;
  isolation: isolate;
}

/* ---------- Slide layer — statische Bilder, sanftes Crossfade ---------- */
.hero__slides { position: absolute; inset: 0; z-index: 1; }
.hero__slide {
  position: absolute; inset: 0;
  opacity: 0;
  transition: opacity var(--fade-dur) var(--ease);
  will-change: opacity;
}
.hero__slide.is-active { opacity: 1; }

/* Bild bleibt statisch und füllt den Hero vollständig aus */
.hero__img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: brightness(0.66) contrast(1.02);
}

/* ---------- Dunkler Verlauf (Variante 1) ---------- */
.hero__veil {
  position: absolute; inset: 0;
  z-index: 10; pointer-events: none;
  /* weiche Abdunklung in der Bildmitte hinter dem Text + Verlauf nach oben/unten */
  background:
    radial-gradient(ellipse 75% 60% at 50% 52%, rgba(20,18,2,0.58) 0%, rgba(20,18,2,0) 72%),
    linear-gradient(to top, rgba(20,18,2,0.90) 0%, rgba(20,18,2,0.42) 48%, rgba(20,18,2,0.50) 100%);
}

/* ---------- Zentrierter Textblock ---------- */
.hero__text {
  position: absolute; inset: 0;
  z-index: 20;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center;
  padding: 0 var(--gutter);
  pointer-events: none;
}
.hero__eyebrow {
  font-family: var(--font-display);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: var(--step--1);
  color: var(--gold-soft);
  margin-top: clamp(3rem, 8vw, 6.5rem);
  margin-bottom: clamp(1rem, 3vw, 2rem);
}
.hero__title {
  font-family: var(--font-display);
  font-weight: 300;
  line-height: 0.98;
  letter-spacing: -0.01em;
  font-size: var(--step-4);
  color: var(--sand);
  text-shadow: 0 2px 20px rgba(0,0,0,0.5);
  max-width: 16ch;
  hyphens: none;
}
.hero__para {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: var(--step-1);
  line-height: 1.45;
  color: var(--on-dark);
  text-shadow: 0 1px 12px rgba(0,0,0,0.6), 0 0 2px rgba(0,0,0,0.4);
  max-width: 46ch;
  margin-top: clamp(1.4rem, 3vw, 2.4rem);
}
.hero__actions {
  margin-top: clamp(2rem, 4vw, 3rem);
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: clamp(0.8rem, 2vw, 1.2rem);
  pointer-events: auto; /* Hero-Text ist sonst klick-inaktiv */
}

/* ---------- Pagination ---------- */
.hero__pagination {
  position: absolute;
  bottom: clamp(1.5rem, 4vh, 3rem);
  left: 50%;
  transform: translateX(-50%);
  z-index: 30;
  display: flex;
  gap: clamp(1rem, 2.5vw, 2rem);
}
.hero__dot {
  font-family: var(--font-display);
  font-weight: 300;
  letter-spacing: 0.1em;
  font-size: clamp(0.8rem, 0.7rem + 0.3vw, 1rem);
  color: rgba(235, 222, 199, 0.45);
  padding: 0.4rem 0.2rem;
  transition: color 0.4s var(--ease);
}
.hero__dot.is-active, .hero__dot:hover { color: var(--sand); }

/* =====================================================================
   PHILOSOPHY — vollbreites Split-Band: Text-Panel + randloses Foto
   (Inspiration: Squarespace „Serena" / editorial split)
   ===================================================================== */
.philo__band {
  display: grid;
  grid-template-columns: 1fr;
}
@media (min-width: 900px) {
  .philo__band { grid-template-columns: 1fr 1fr; align-items: stretch; }
}

/* Text-Panel (links) — flache Fläche, flach gehalten */
.philo__panel {
  display: flex;
  align-items: center;
  background: var(--bg);
  padding: clamp(3rem, 6vw, 5.5rem) clamp(1.5rem, 4vw, 4rem);
}
.philo__inner { width: 100%; max-width: 34rem; }
.philo__eyebrow { margin-bottom: clamp(0.9rem, 2vw, 1.3rem); }

/* These — ruhiger, grosser Serif-Satz */
.philo__statement {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500; /* LT Museum Medium — wie die übrigen Titel */
  font-size: clamp(1.45rem, 1.2rem + 1.05vw, 2.2rem);
  line-height: 1.22;
  letter-spacing: -0.005em;
  color: var(--ink);
  text-wrap: balance;
}

/* Fliesstext */
.philo__prose { margin-top: clamp(1.1rem, 2vw, 1.5rem); max-width: 44ch; }
.philo__prose p { margin-bottom: 0.8rem; color: var(--ink-soft); line-height: 1.6; font-size: clamp(1.02rem, 0.96rem + 0.3vw, 1.22rem); }
.philo__prose p:last-child { margin-bottom: 0; }

/* Sign-off — kurze Goldlinie + Gastgeber */
.philo__signoff { margin-top: clamp(1.2rem, 2.2vw, 1.7rem); }
.philo__rule { display: block; width: 44px; height: 2px; background: var(--gold); margin-bottom: 0.7rem; }
.philo__sign {
  font-family: var(--font-display);
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: clamp(0.95rem, 0.88rem + 0.3vw, 1.1rem);
  color: var(--ink);
}
.philo__btn { margin-top: clamp(1.2rem, 2.2vw, 1.7rem); }

/* Foto (links) — randlos, vollflächig, ohne Rahmen/Schatten */
.philo__media {
  position: relative;
  order: -1;                 /* Foto vor dem Text → links (Desktop) bzw. oben (Mobile) */
  min-height: clamp(260px, 62vw, 440px);
}
.philo__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 72% center; }
@media (min-width: 900px) {
  .philo__media { min-height: 0; height: 100%; }
}

/* =====================================================================
   VALUES (three pillars)
   ===================================================================== */
.values {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  margin-top: clamp(2.5rem, 6vw, 5rem);
  border-top: 1px solid var(--line);
}
@media (min-width: 760px) { .values { grid-template-columns: repeat(3, 1fr); column-gap: clamp(2.5rem, 5vw, 5rem); } }
.value {
  padding: clamp(2rem, 4vw, 3.2rem) clamp(1rem, 2vw, 2rem);
  border-bottom: 1px solid var(--line);
}
@media (min-width: 760px) {
  .value { border-bottom: none; border-right: 1px solid var(--line); padding-inline: 0 clamp(2.5rem, 5vw, 5rem); }
  .value:last-child { border-right: none; padding-right: 0; }
}
.value__icon {
  width: 72px; height: 72px;
  display: inline-flex; align-items: center; justify-content: center;
  background: #ffffff;
  border-radius: 50%;
  color: var(--rust);
  margin-bottom: 1.6rem;
}
.value__icon svg { width: 54%; height: 54%; }
.value__title {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: 0.01em;
  font-size: var(--step-2);
  margin-bottom: 0.9rem;
  /* kein white-space:nowrap: im 3-Spalten-Band (ab 760px) würde "Gedeckte
     Terrasse" sonst aus der schmalen Spalte laufen statt sauber umzubrechen. */
  text-wrap: balance;
}
.value__text { color: var(--ink-soft); max-width: 36ch; font-size: var(--step-1); line-height: 1.55; }

/* „Wofür wir stehen"-Sektion: Originalgrössen (vor den zwei Vergrösserungen).
   In px gehalten, damit weder die 112,5%-Wurzel noch die angehobenen Tokens greifen. */
.section--dark .eyebrow { font-size: clamp(13.28px, 12.8px + 0.15vw, 15.04px); }
.section--dark .value__title { font-size: clamp(25.6px, 21.6px + 1.25vw, 38.4px); }
.section--dark .value__text  { font-size: clamp(19.2px, 17.6px + 0.5vw, 24px); }

/* =====================================================================
   MENU — dynamische Kartenauswahl
   ===================================================================== */
.menu__head { text-align: center; max-width: 60ch; margin: 0 auto clamp(2.5rem, 5vw, 3.5rem); }
.menu__title {
  font-family: var(--font-display); font-weight: 500;
  text-transform: none; font-size: var(--step-3);
  line-height: 1.08; margin: clamp(1.4rem, 3vw, 2.2rem) 0 clamp(1.6rem, 3.5vw, 2.6rem);
}
.menu__intro { color: var(--ink-soft); max-width: 52ch; margin: 0 auto; line-height: 1.35; font-weight: 500; }
/* Desktop: Intro-Sätze je auf einer Zeile (Umbruch nur am <br>).
   Erst ab 1024px erzwingen — darunter würde nowrap die lange Zeile über den
   Viewport schieben (horizontaler Überlauf auf kleinen Laptops/grossen Tablets). */
@media (min-width: 1024px) {
  .menu__head { max-width: none; }
  .menu__intro { max-width: none; white-space: nowrap; }
}

/* Auswahl-Pills */
.menu__tabs {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 0.6rem; margin-bottom: clamp(2.2rem, 4vw, 3.2rem);
}
.menu__tab {
  font-family: var(--font-display); font-weight: 300;
  text-transform: uppercase; letter-spacing: 0.1em;
  font-size: var(--step--1);
  padding: 0.72em 1.4em;
  border: 1px solid var(--line);
  border-radius: 100px;
  color: var(--ink-soft);
  background: transparent;
  transition: color .35s var(--ease), background-color .35s var(--ease), border-color .35s var(--ease);
  white-space: nowrap;
}
/* erzwingt Zeilenumbruch: Sonntag … Weinkarte in die zweite Reihe */
.menu__tabs-break { flex-basis: 100%; height: 0; }
.menu__tab:hover { border-color: var(--olive); color: var(--olive); }
.menu__tab.is-active {
  background: var(--olive); color: var(--sand); border-color: var(--olive);
}
/* "Alle Karten" ist ein Link zur Unterseite, kein Tab — sieht aber gleich aus */
.menu__tab--all { display: inline-flex; align-items: center; }

/* Karten-Stage */
.menu__stage { max-width: 680px; margin: 0 auto; }
.menucard {
  background: #fbf8f4; /* Sand auf 20% abgestuft (Fallback) */
  background: color-mix(in srgb, var(--sand) 20%, #fff);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: clamp(1.8rem, 4vw, 3rem);
  box-shadow: 0 30px 60px -38px rgba(64,59,0,0.55);
}
.menucard[hidden] { display: none; }
.menucard.is-active { animation: menuFade .5s var(--ease) both; }
@keyframes menuFade {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}
.menucard__head { text-align: center; margin-bottom: 1.4rem; }
.menucard__kicker {
  font-family: var(--font-body);
  text-transform: uppercase; letter-spacing: 0.2em;
  font-size: 0.84rem; color: var(--ink-soft);
}
.menucard__title {
  font-family: var(--font-display); font-weight: 500;
  text-transform: uppercase; font-size: var(--step-2);
  line-height: 1.1; margin: 0.5rem 0 0.4rem;
}
.menucard__hours {
  font-family: var(--font-body);
  color: var(--ink-soft); font-size: var(--step--1);
}
.menucard__body { margin-top: 0.6rem; }
.menucard .dish { border-color: rgba(64, 59, 0, 0.18); }
.menucard__foot { margin-top: 1.8rem; text-align: center; }
.menucard__foot .btn { display: flex; width: 100%; justify-content: center; padding: 1.3em 2em; font-size: 1.02rem; min-height: 60px; }

/* Hinweis unter den Karten */
.menu__note {
  margin: clamp(2rem,4vw,3rem) auto 0; max-width: 52ch;
  display: flex; align-items: center; justify-content: center; gap: 0.8rem;
  color: var(--ink-soft); font-size: var(--step-0); font-weight: 500; text-align: center;
}
/* Hinweis ohne Zeilen-Begrenzung: bleibt auf Desktop auf einer Zeile */
.menu__note--single { max-width: none; }
.menu__reserve {
  margin: clamp(1rem,2vw,1.4rem) auto 0;
  text-align: center;
  font-family: var(--font-display);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: var(--step--1);
  color: var(--ink);
}
.menu__reserve a {
  color: var(--accent-2);
  white-space: nowrap;
  border-bottom: 1px solid currentColor;
  padding-bottom: 1px;
  transition: color 0.3s var(--ease);
}
.menu__reserve a:hover, .menu__reserve a:focus-visible { color: var(--gold); }

/* =====================================================================
   PDF-MODAL
   ===================================================================== */
.pdfmodal {
  position: fixed; inset: 0; z-index: var(--z-overlay);
  display: flex; align-items: center; justify-content: center;
  padding: clamp(0.8rem, 3vw, 2.5rem);
  overscroll-behavior: contain;
}
.pdfmodal[hidden] { display: none; }
.pdfmodal__backdrop {
  position: absolute; inset: 0;
  background: rgba(20, 18, 0, 0.72);
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
  animation: pdfBackdrop .3s ease both;
}
@keyframes pdfBackdrop { from { opacity: 0; } to { opacity: 1; } }
.pdfmodal__dialog {
  position: relative;
  width: min(900px, 100%);
  height: min(88vh, 1100px);
  display: flex; flex-direction: column;
  background: var(--surface);
  border-radius: 10px; overflow: hidden;
  box-shadow: 0 40px 90px -30px rgba(0,0,0,0.6);
  animation: pdfDialog .4s var(--ease) both;
}
@keyframes pdfDialog {
  from { opacity: 0; transform: translateY(18px) scale(.98); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.pdfmodal__bar {
  display: flex; align-items: center; gap: 1rem;
  padding: 0.85rem 1.1rem;
  background: var(--olive); color: var(--sand);
}
.pdfmodal__title {
  font-family: var(--font-display); font-weight: 300;
  text-transform: uppercase; letter-spacing: 0.1em;
  font-size: var(--step--1); flex: 1 1 auto;
}
.pdfmodal__open {
  font-size: var(--step--1); color: var(--gold-soft);
  border-bottom: 1px solid transparent; transition: border-color .3s var(--ease);
  white-space: nowrap;
}
.pdfmodal__open:hover { border-color: var(--gold-soft); }
.pdfmodal__close {
  display: grid; place-items: center;
  width: 38px; height: 38px; border-radius: 50%;
  color: var(--sand); flex: 0 0 auto;
  transition: background-color .3s var(--ease);
}
.pdfmodal__close:hover { background: rgba(235,222,199,0.16); }
.pdfmodal__frame { flex: 1 1 auto; background: #3a3712; }
.pdfmodal__frame iframe { width: 100%; height: 100%; border: 0; display: block; }

.dish {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.5rem 1rem;
  align-items: baseline;
  padding-block: 1.15rem;
  border-bottom: 1px solid var(--line);
}
.dish:first-of-type { border-top: 1px solid var(--line); }
.dish__name {
  font-family: var(--font-display);
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: var(--step-1);
}
.dish__price {
  font-family: var(--font-body);
  font-weight: 500;
  color: var(--rust);
  font-variant-numeric: tabular-nums;
  font-size: var(--step-0);
}
.dish__desc {
  grid-column: 1 / -1;
  color: var(--ink-soft);
  font-size: var(--step--1);
  max-width: 50ch;
}
.menu-sec__note {
  margin-top: 2rem; display: flex; align-items: center; gap: 1rem;
  color: var(--ink-soft); font-size: var(--step--1);
}
.menu-sec__cat {
  font-family: var(--font-display); font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.16em;
  font-size: var(--step--1); color: var(--rust);
  margin: 2.4rem 0 0.4rem;
}
.menu-sec__cat:first-child { margin-top: 0; }

/* =====================================================================
   GALLERY (symmetric grid) — eigene Section auf Sandbeige
   ===================================================================== */
.gallery.section { background: var(--sand); color: var(--ink); }
.gallery.section .eyebrow { color: var(--accent-2); }
.gallery__head { display:flex; justify-content: space-between; align-items: end; flex-wrap: wrap; gap: 1rem; margin-bottom: clamp(2rem,4vw,3.5rem); }
/* Desktop: Kopf folgt dem 3-Spalten-Raster der Bilder — Text beginnt bei Spalte 2 */
@media (min-width: 720px) {
  .gallery__head {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(1rem, 2vw, 1.6rem);
    align-items: end;
  }
  .gallery__head > div { grid-column: 1; }
  .gallery__head > p { grid-column: 2 / -1; align-self: end; }
}
.gallery__title { font-family: var(--font-display); font-weight: 500; font-size: var(--step-3); line-height: 1.08; }
.gallery__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1rem, 2vw, 1.6rem);
}
@media (min-width: 720px) { .gallery__grid { grid-template-columns: repeat(2, 1fr); } }
.gallery__item {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  text-align: left;
  cursor: pointer;
  background: none;
  color: var(--sand);
}
.gallery__item img {
  width: 100%;
  aspect-ratio: 4 / 5;
  height: auto;
  object-fit: cover;
  display: block;
  transition: transform 0.7s var(--ease), filter 0.5s var(--ease);
}
.gallery__item:hover img,
.gallery__item:focus-visible img { transform: scale(1.04); }

/* Klick-Hinweis: „X Bilder“ + Aufklapp-Icon */
.gallery__hint {
  position: absolute; top: 1rem; right: 1rem;
  z-index: 2;
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.5rem 0.8rem;
  background: rgba(20, 18, 2, 0.55);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  border-radius: 100px;
  color: var(--sand);
  font-family: var(--font-display); font-weight: 900;
  text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.8rem;
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease), background-color 0.4s var(--ease);
}
.gallery__hint svg { width: 18px; height: 18px; }
.gallery__item:hover .gallery__hint,
.gallery__item:focus-visible .gallery__hint { opacity: 1; transform: none; }
/* Touch-Geräte: Hinweis dauerhaft sichtbar (kein Hover) */
@media (hover: none) {
  .gallery__hint { opacity: 1; transform: none; }
}
.gallery__cap {
  position: absolute; left: 0; bottom: 0; right: 0;
  padding: 1.8rem 1.4rem 1.2rem;
  background: linear-gradient(to top, rgba(20,18,2,0.82), transparent);
  color: #ffffff;
  font-family: var(--font-display); font-weight: 900;
  text-transform: uppercase; letter-spacing: 0.1em;
  font-size: clamp(0.92rem, 0.85rem + 0.4vw, 1.12rem);
}

/* =====================================================================
   LIGHTBOX / SLIDESHOW
   ===================================================================== */
.lightbox {
  position: fixed; inset: 0; z-index: var(--z-overlay);
  display: grid;
  grid-template-columns: auto 1fr auto;
  grid-template-rows: 1fr auto;
  align-items: center;
  gap: clamp(0.5rem, 2vw, 1.5rem);
  padding: clamp(1rem, 3vw, 2.5rem);
  overscroll-behavior: contain;
}
.lightbox[hidden] { display: none; }
.lightbox__backdrop {
  position: absolute; inset: 0;
  background: rgba(16, 14, 0, 0.92);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  animation: pdfBackdrop .3s ease both;
}
.lightbox__stage {
  grid-column: 2; grid-row: 1;
  position: relative; z-index: 1;
  display: flex; align-items: center; justify-content: center;
  min-height: 0; min-width: 0;
  width: 100%; height: 100%;
}
.lightbox__img {
  max-width: 100%;
  max-height: min(82vh, 100%);
  width: auto; height: auto;
  object-fit: contain;
  border-radius: 6px;
  box-shadow: 0 40px 90px -30px rgba(0,0,0,0.7);
  background: var(--olive-deep);
}
.lightbox__img.is-in { animation: lbFade .45s var(--ease) both; }
@keyframes lbFade {
  from { opacity: 0; transform: scale(.985); }
  to   { opacity: 1; transform: none; }
}
.lightbox__nav, .lightbox__close {
  position: relative; z-index: 2;
  display: grid; place-items: center;
  color: var(--sand);
  border-radius: 50%;
  transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.lightbox__nav {
  width: clamp(48px, 6vw, 64px); height: clamp(48px, 6vw, 64px);
  background: rgba(235, 222, 199, 0.10);
  border: 1px solid var(--line-dark);
}
.lightbox__nav:hover { background: var(--rust); color: var(--sand); border-color: var(--rust); }
.lightbox__nav--prev { grid-column: 1; grid-row: 1; justify-self: start; }
.lightbox__nav--next { grid-column: 3; grid-row: 1; justify-self: end; }
.lightbox__close {
  position: absolute; top: clamp(1rem, 3vw, 2rem); right: clamp(1rem, 3vw, 2rem);
  width: 46px; height: 46px;
  background: rgba(235, 222, 199, 0.10);
}
.lightbox__close:hover { background: var(--rust); }
.lightbox__bar {
  grid-column: 1 / -1; grid-row: 2;
  position: relative; z-index: 2;
  display: flex; align-items: baseline; justify-content: center;
  gap: 1rem; flex-wrap: wrap;
  color: var(--sand); text-align: center;
}
.lightbox__title {
  font-family: var(--font-display); font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.12em;
  font-size: var(--step-0);
}
.lightbox__counter {
  font-family: var(--font-body);
  color: var(--on-dark-soft);
  font-variant-numeric: tabular-nums;
  font-size: var(--step--1);
}
/* Mobile: Pfeile unter das Bild, neben den Zähler */
@media (max-width: 640px) {
  .lightbox { grid-template-columns: 1fr auto auto; }
  .lightbox__stage { grid-column: 1 / -1; grid-row: 1; }
  .lightbox__bar { grid-column: 1; grid-row: 2; justify-content: flex-start; }
  .lightbox__nav { width: 50px; height: 50px; }
  .lightbox__nav--prev { grid-column: 2; grid-row: 2; justify-self: end; }
  .lightbox__nav--next { grid-column: 3; grid-row: 2; justify-self: end; }
}

/* =====================================================================
   STORY / parallax statement
   ===================================================================== */
.story { position: relative; overflow: hidden; }
.story__bg { position: absolute; inset: 0; z-index: 0; }
.story__bg img { width: 100%; height: 120%; object-fit: cover; filter: brightness(0.5) saturate(0.4) contrast(1.02); transform: translateY(-8%); will-change: transform; }
.story__bg::after { content:""; position:absolute; inset:0; background: linear-gradient(rgba(15,14,8,0.6), rgba(15,14,8,0.74)); }
.story__inner { position: relative; z-index: 1; color: var(--sand); text-align: center; max-width: 60rem; margin-inline: auto; padding-block: clamp(7rem, 18vw, 13rem); }
.story__quote {
  font-family: var(--font-body); font-weight: 300;
  font-size: clamp(1.5rem, 1rem + 1.8vw, 2.6rem); line-height: 1.4;
  max-width: 24ch;
  margin-inline: auto;
  margin-top: clamp(1.4rem, 3vw, 2.4rem);
}
@media (min-width: 700px) { .story__quote { max-width: 38ch; } }
.story__quote .hl { color: var(--gold); }
.story__by { margin-top: 2rem; font-family: var(--font-display); text-transform: uppercase; letter-spacing: 0.2em; font-size: var(--step--1); color: var(--on-dark-soft); }

/* =====================================================================
   RESERVATION
   ===================================================================== */
.reserve__grid { display: grid; gap: clamp(2.5rem, 6vw, 5rem); grid-template-columns: 1fr; }
@media (min-width: 940px) { .reserve__grid { grid-template-columns: 0.85fr 1.15fr; } }
.reserve__title { font-family: var(--font-display); font-weight: 500; font-size: var(--step-3); line-height: 1.08; margin: 0.8rem 0 1.4rem; }
.reserve__lead { color: var(--on-dark-soft); max-width: 36ch; margin-bottom: 2rem; }
.reserve__contact { display: grid; gap: 1.2rem; }
.reserve__contact a { display: inline-flex; align-items: center; gap: 0.7rem; }
.reserve__contact .lbl { font-family: var(--font-display); font-weight: 900; text-transform: uppercase; letter-spacing: 0.16em; font-size: 0.84rem; color: var(--gold-soft); display:block; margin-bottom: 0.2rem; }
.reserve__contact .val { font-size: var(--step-1); }
.reserve__contact a.val:hover { color: var(--gold); }

/* Map */
.reserve__map {
  align-self: start;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.2rem;
  width: 100%;
}
.reserve__map-frame {
  width: 100%;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 18px 40px -24px rgba(0, 0, 0, 0.45);
}
.reserve__map iframe {
  display: block;
  width: 100%;
  height: 430px;
  border: 0;
}
.reserve__map-link {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  padding: 1.05em 1.9em;
  min-height: 52px;
  background: var(--rust);
  color: var(--sand);
  font-family: var(--font-display);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 1.02rem;
  border-radius: var(--radius);
  box-shadow: 0 8px 20px -10px rgba(0, 0, 0, 0.5);
  transition: background 0.3s var(--ease), transform 0.3s var(--ease);
}
.reserve__map-link:hover { background: var(--olive); transform: translateY(-2px); }
.reserve__map-link svg { flex: none; }

/* ---- Reservation as a LIGHT section ---- */
.section--reserve { background: var(--bg-alt); color: var(--ink); }
.section--reserve .eyebrow { color: var(--accent-2); }
.section--reserve .reserve__lead { color: var(--ink-soft); }
.section--reserve .reserve__contact .lbl { color: var(--accent-2); }
.section--reserve .reserve__contact a.val:hover { color: var(--rust); }

/* =====================================================================
   HOURS / FOOTER
   ===================================================================== */
.footer { background: var(--olive); color: var(--on-dark); padding-top: clamp(2.5rem, 5vw, 4rem); }
/* Footer nutzt die gesamte Sichtbreite (kein 1400px-Cap) */
.footer > .wrap { max-width: none; }
.footer__top { display: grid; gap: clamp(2rem, 5vw, 4rem); grid-template-columns: 1fr; align-items: start; }
@media (min-width: 860px) {
  .footer__top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: clamp(3rem, 6vw, 7rem); }
  .footer__top > div { display: flex; flex-direction: column; }
  .footer__hours { display: flex; flex-direction: column; justify-content: flex-start; width: clamp(26rem, 32vw, 40rem); }
  .footer__contact { justify-content: flex-start; gap: 0.4rem; }
}
.footer__brand-logo { width: clamp(190px, 20vw, 240px); color: var(--sand); }
.footer__tag { color: var(--on-dark-soft); max-width: 32ch; }
.footer h4 { font-family: var(--font-display); text-transform: uppercase; letter-spacing: 0.16em; font-size: 0.88rem; color: var(--gold-soft); margin-bottom: 1.2rem; }
.footer__hours li { display: flex; justify-content: space-between; gap: clamp(0.75rem, 3vw, 1.4rem); padding-block: 0.3rem; border-bottom: 1px solid var(--line-dark); width: 100%; }
/* Tag-Spalte darf schrumpfen (flex-shrink 1 + min-width:0), damit "Tag … Zeit"
   auch auf 320px-Geräten passt; auf breiten Screens bleibt sie bei 9rem. */
.footer__hours .day { color: var(--on-dark); flex: 0 1 9rem; min-width: 0; }
/* Zeit-Spalte einzeilig halten; die schrumpffähige Tag-Spalte gibt nach. */
.footer__hours li > span:last-child { white-space: nowrap; flex: 0 0 auto; }
.footer__hours .closed { color: var(--gold-soft); }
.footer__contact a { display: block; padding-block: 0.3rem; }
.footer__contact a:hover { color: var(--gold); }
.footer__bottom {
  margin-top: clamp(2rem, 4vw, 3rem);
  padding-block: 1.25rem;
  border-top: 1px solid var(--line-dark);
  display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: center;
  font-size: var(--step--1); color: var(--on-dark-soft);
}
.footer__bottom a:hover { color: var(--gold); }
.to-top { font-family: var(--font-display); text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.84rem; display: inline-flex; align-items: center; gap: 0.6rem; }

/* =====================================================================
   SCROLL REVEAL (base states) — JS adds .in
   ===================================================================== */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: 0.08s; }
.reveal-d2 { transition-delay: 0.16s; }
.reveal-d3 { transition-delay: 0.24s; }

.line-reveal { display: block; overflow: hidden; }
.line-reveal > * { display: block; transform: translateY(105%); transition: transform 1s var(--ease); }
.line-reveal.in > * { transform: none; }

/* =====================================================================
   RESPONSIVE NAV
   ===================================================================== */
@media (max-width: 1080px) {
  .nav__hours { display: none; }
}
@media (max-width: 1024px) {
  .nav__group { display: none; }
  .nav__cta { display: none; }
  .nav__burger {
    display: flex;
    margin-left: auto;
  }
}
@media (max-width: 860px) {
  .hero__title { max-width: 14ch; }
}

/* =====================================================================
   RESPONSIVE — Tablet & Mobile Feinschliff (Benutzerfreundlichkeit)
   ===================================================================== */

/* ---- Tablet (Hochformat) ---- */
@media (max-width: 1024px) {
  /* Logo im Header grösser & präsenter auf Tablet/Mobile */
  .nav__logo svg, .nav__logo img { height: clamp(64px, 10vw, 84px); }
  /* Karten-Tabs: grössere Touch-Ziele, sauber umbrechen statt fixem Umbruch */
  .menu__tab { padding: 0.85em 1.3em; }
  .menu__tabs-break { display: none; }
}

/* ---- Mobile (Phones) ---- */
@media (max-width: 600px) {
  /* Hero-Titel sicher in den Viewport, lange Wörter ggf. trennen */
  .hero__title {
    font-size: clamp(1.9rem, 1.1rem + 4.5vw, 2.8rem);
    max-width: 100%;
    hyphens: auto;
    overflow-wrap: break-word;
  }
  .hero__eyebrow {
    margin-top: clamp(2rem, 6vw, 4rem);
    margin-bottom: clamp(0.8rem, 2.5vw, 1.4rem);
  }
  .hero__para {
    font-size: var(--step-0);
    margin-top: clamp(1.1rem, 2.5vw, 1.8rem);
  }

  /* Buttons feiner & kompakter auf Mobile — weniger wuchtig, sauberer */
  .btn {
    font-size: 0.9rem;
    letter-spacing: 0.08em;
    padding: 0.9em 1.5em;
    min-height: 46px;
  }
  .btn--lg {
    font-size: 0.92rem;
    padding: 0.95em 1.6em;
  }

  /* Hero-Buttons: einzeilig, zentriert, gleiche Breite, kompakter Abstand */
  .hero__actions {
    margin-top: clamp(1.6rem, 4vw, 2.2rem);
    gap: 0.7rem;
    width: 100%;
  }
  .hero__actions .btn {
    white-space: nowrap;
    width: auto;
    max-width: 100%;
    justify-content: center;
  }

  /* Karten-Tabs: zentriert umbrechen, alle Karten sichtbar (kein Abschneiden) */
  .menu__tabs { gap: 0.5rem; row-gap: 0.6rem; }

  /* Galerie-Kopf: Titel und Beschreibung sauber untereinander */
  .gallery__head { align-items: start; }

  /* PDF-Modalleiste: Titel kürzen statt umbrechen lassen */
  .pdfmodal__title {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  /* Buttons über die volle Breite — klarere, grössere Tap-Fläche */
  .menucard__foot .btn { width: 100%; justify-content: center; }

  /* Speisekarte: Gerichte luftiger statt verdrückt — engeres Tracking, damit
     lange Titel weniger umbrechen, und etwas kompaktere Zeilen. */
  .dish { padding-block: 1rem; gap: 0.3rem 0.9rem; }
  .dish__name { letter-spacing: 0.01em; line-height: 1.2; }
  .menucard__title { letter-spacing: 0; }
}

/* ---- Sehr schmale Phones ---- */
@media (max-width: 380px) {
  .menucard { padding: 1.4rem 1.1rem; }
}

/* ---- Niedrige / Querformat-Screens: Mobile-Menü oben ausrichten ---- */
@media (max-height: 600px) and (max-width: 860px) {
  .menu { justify-content: flex-start; }
  .menu__link { font-size: clamp(1.6rem, 7vw, 2.4rem); }
  .menu__meta { margin-top: 1.6rem; gap: 1rem 2rem; }
}

/* ---- Niedrige Viewports: Hero-Inhalt kompakter halten, damit der zentrierte
   Block (Eyebrow + Titel + Text + Buttons) nicht über 100svh hinausläuft und
   am unteren Rand abgeschnitten wird (Querformat-Phones, kleine Webviews). ---- */
@media (max-height: 620px) {
  .hero__eyebrow { margin-top: clamp(1.5rem, 4vw, 3rem); margin-bottom: clamp(0.5rem, 2vw, 1rem); }
  .hero__para { margin-top: clamp(0.8rem, 2vw, 1.4rem); }
  .hero__actions { margin-top: clamp(1.2rem, 3vw, 2rem); }
}

/* =====================================================================
   PROGRESS BAR
   ===================================================================== */
.progress {
  position: fixed; top: 0; left: 0; height: 2px; width: 100%;
  transform: scaleX(0); transform-origin: left;
  background: var(--gold); z-index: var(--z-nav);
}

/* =====================================================================
   UNTERSEITE — SPEISEKARTEN
   Aufbau wie Startseite (Farben/Fonts/Header/Footer), Inhalt in
   abwechselnden Bild-/Text-Reihen.
   ===================================================================== */

/* Auf Unterseiten liegt kein Hero hinter der Nav — deshalb dauerhaft
   deckend statt transparent (sonst heller Text auf hellem Grund). */
.subpage .nav {
  background: rgba(44, 41, 0, 0.92);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 var(--line-dark);
  text-shadow: none;
}

/* Seitenkopf */
.pagehead {
  padding-top: clamp(7.5rem, 8rem + 6vw, 12rem);
  padding-bottom: clamp(2.5rem, 5vw, 4.5rem);
  text-align: center;
}
.pagehead .eyebrow { color: var(--accent-2); }
.pagehead__title {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.01em;
  font-size: var(--step-3);
  color: var(--ink);
  margin-top: clamp(1.4rem, 3vw, 2.2rem);
}
.pagehead__intro {
  max-width: 56ch;
  margin: clamp(2rem, 4vw, 3rem) auto 0;
  color: var(--ink-soft);
}
.pagehead__rule {
  width: min(640px, 78%);
  height: 1px;
  background: var(--line);
  margin: clamp(1.8rem, 4vw, 2.8rem) auto 0;
  border: 0;
}

/* Reihen */
.mlist { display: block; }
.mrow {
  display: grid;
  grid-template-columns: 1fr;
}
@media (min-width: 781px) {
  .mrow { grid-template-columns: 1fr 1fr; align-items: stretch; }
  /* Bild auf ungeraden Reihen nach rechts → Zickzack wie im Referenzbild */
  .mrow:nth-child(odd) .mrow__media { order: 2; }
}
.mrow__media {
  position: relative;
  overflow: hidden;
  min-height: clamp(240px, 40vw, 460px);
  background: var(--sand);
}
.mrow__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}
.mrow:hover .mrow__media img { transform: scale(1.04); }
.mrow__text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 1.05rem;
  padding: clamp(2.75rem, 7vw, 5.5rem) clamp(1.5rem, 6vw, 5rem);
  background: var(--bg);
}
.mrow__kicker {
  font-family: var(--font-display);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: var(--step--1);
  color: var(--accent-2);
}
.mrow__title {
  font-family: var(--font-display);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: -0.005em;
  line-height: 1.1;
  font-size: var(--step-2);
  color: var(--ink);
}
.mrow__desc {
  max-width: 44ch;
  font-size: var(--step--1);
  color: var(--ink-soft);
}
.mrow__cta { margin-top: 0.6rem; }

/* Reservations-Aufruf vor dem Footer */
.subcta {
  text-align: center;
  padding-block: clamp(3.5rem, 8vw, 6rem);
  background: var(--bg);
}
.subcta__intro {
  max-width: 46ch;
  margin: clamp(1.6rem, 3.5vw, 2.8rem) auto clamp(2.4rem, 5vw, 3.6rem);
  color: var(--ink-soft);
  font-size: var(--step-0);
  line-height: 1.5;
}
.subcta__row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.4rem;
  align-items: center;
  justify-content: center;
}

/* =====================================================================
   RECHTSSEITEN (Impressum / Datenschutz)
   ===================================================================== */
.legal {
  max-width: 68ch;
  margin: 0 auto;
  padding: 0 var(--gutter) clamp(3.5rem, 8vw, 6rem);
}
.legal h2 {
  font-family: var(--font-display);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: var(--step-1);
  color: var(--ink);
  margin-top: clamp(2rem, 4vw, 3rem);
  margin-bottom: 0.6rem;
}
.legal h2:first-child { margin-top: 0; }
.legal p, .legal li, .legal address {
  color: var(--ink-soft);
  font-size: var(--step-0);
  line-height: 1.6;
  margin-bottom: 0.9rem;
}
.legal address { font-style: normal; }
.legal ul { padding-left: 1.2rem; margin-bottom: 0.9rem; }
.legal li { margin-bottom: 0.3rem; }
.legal a { color: var(--accent-2); text-decoration: underline; text-underline-offset: 2px; }
.legal a:hover { color: var(--rust); }
.legal__updated { margin-top: clamp(2rem, 4vw, 3rem); font-size: var(--step--1); opacity: 0.75; }

/* Footer: rechtliche Links + Credit */
.footer__legal { display: flex; flex-wrap: wrap; gap: 0.35rem 1.2rem; align-items: center; }
.footer__legal a { white-space: nowrap; }

/* =====================================================================
   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, .line-reveal > * { opacity: 1 !important; transform: none !important; }
  .hero__text .hero__eyebrow,
  .hero__text .hero__title,
  .hero__text .hero__para { opacity: 1 !important; transform: none !important; }
}
