/* ==========================================================================
   BOME Website 2.0 — Design System (Kanpai-Stil)
   Look: ruhig, edel, viel Weißraum. Creme-Hintergrund, warmer Gold-Akzent,
   Playfair Display (Serif-Headlines) + Raleway (Sans-Body).
   ========================================================================== */

/* ---------- 1. Design Tokens ------------------------------------------- */
:root {
  /* Farben */
  --cream:       #f3f4f1;  /* Basis-Hintergrund                */
  --cream-2:     #e7e4dd;  /* Sektionsflächen / Sand           */
  --paper:       #fafafa;  /* hellere Karten                   */
  --ink:         #1c1c1a;  /* Text / Near-Black                */
  --ink-soft:    #6b6b66;  /* Sekundärtext                     */
  --gold:        #ab8d69;  /* Signaturfarbe (warmes Gold/Taupe)*/
  --gold-dark:   #8c7152;  /* Hover                            */
  --gold-soft:   #c1ae8e;  /* helleres Gold                    */
  --line:        rgba(28, 28, 26, 0.14);
  --line-soft:   rgba(28, 28, 26, 0.08);
  --on-dark:     #f3f4f1;

  /* Typografie */
  --font-display: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-body:    "Raleway", system-ui, -apple-system, "Segoe UI", sans-serif;

  --fs-hero:   clamp(3rem, 8vw + 1rem, 8rem);
  --fs-h1:     clamp(2.25rem, 4.5vw + 1rem, 4.5rem);
  --fs-h2:     clamp(1.9rem, 3vw + 1rem, 3.25rem);
  --fs-h3:     clamp(1.2rem, 1vw + 0.7rem, 1.6rem);
  --fs-lead:   clamp(1.05rem, 0.6vw + 0.9rem, 1.3rem);
  --fs-body:   1.0625rem;
  --fs-small:  0.82rem;
  --fs-label:  0.72rem;

  /* Layout */
  --maxw:        1280px;
  --maxw-text:   760px;
  --gutter:      clamp(1.25rem, 5vw, 4rem);
  --section-y:   clamp(4.5rem, 11vw, 10rem);
  --radius:      2px;
  --radius-img:  3px;

  /* Motion */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --dur:  0.9s;

  --header-h: 88px;
}

/* ---------- 2. Reset / Base -------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.75;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, picture, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0;
}
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; cursor: pointer; }

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

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

/* ---------- 3. Layout Helpers ------------------------------------------ */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section { padding-block: var(--section-y); }
.section--sand { background: var(--cream-2); }
.section--dark { background: var(--ink); color: var(--on-dark); }

.label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: var(--fs-label);
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
}
.section--dark .label { color: var(--gold-soft); }

.lead {
  font-size: var(--fs-lead);
  line-height: 1.7;
  color: var(--ink-soft);
  font-weight: 400;
}
.section--dark .lead { color: rgba(243, 244, 241, 0.7); }

/* Accessibility */
.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 1000;
  background: var(--ink); color: var(--cream);
  padding: 0.75rem 1.25rem;
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 1rem; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ---------- 4. Buttons / Links ----------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 0.6rem;
  font-family: var(--font-body);
  font-size: var(--fs-label);
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 1.1rem 2.2rem;
  border: 1px solid var(--ink);
  background: transparent;
  color: var(--ink);
  border-radius: var(--radius);
  transition: background 0.4s var(--ease), color 0.4s var(--ease),
              border-color 0.4s var(--ease);
}
.btn:hover { background: var(--ink); color: var(--cream); }

.btn--gold { border-color: var(--gold); background: var(--gold); color: #fff; }
.btn--gold:hover { background: var(--gold-dark); border-color: var(--gold-dark); color: #fff; }

.btn--light { border-color: rgba(243,244,241,0.5); color: var(--cream); }
.btn--light:hover { background: var(--cream); color: var(--ink); border-color: var(--cream); }

.link-line {
  display: inline-flex; align-items: center; gap: 0.7rem;
  font-family: var(--font-body);
  font-size: var(--fs-label); font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--ink);
  padding-bottom: 0.4rem;
  border-bottom: 1px solid var(--gold);
}
.link-line:hover { color: var(--gold); }
.section--dark .link-line { color: var(--cream); }

/* ---------- 5. Header -------------------------------------------------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  display: flex; align-items: center;
  transition: background 0.4s var(--ease), height 0.4s var(--ease),
              box-shadow 0.4s var(--ease);
}
.site-header.is-condensed {
  height: 70px;
  background: rgba(243, 244, 241, 0.92);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  box-shadow: 0 1px 0 var(--line-soft);
}
.nav {
  width: 100%; max-width: var(--maxw); margin-inline: auto;
  padding-inline: var(--gutter);
  display: flex; align-items: center; justify-content: space-between; gap: 2rem;
}
.brand {
  font-family: var(--font-display);
  font-weight: 600; font-size: 1.7rem;
  letter-spacing: 0.18em;
  color: #fff;
  transition: color 0.4s var(--ease);
}
.is-condensed .brand { color: var(--ink); }

/* Logo-Wortmarke oben links */
.brand-logo {
  height: 48px; width: auto; display: block;
  transition: filter 0.4s var(--ease), height 0.4s var(--ease);
}
/* Weiß über dem dunklen Hero (Sichtbarkeit) */
.site-header:not(.is-condensed) .brand-logo { filter: brightness(0) invert(1); }
/* Rot (Originalfarbe) auf hellem, eingeklapptem Header */
.is-condensed .brand-logo { height: 40px; filter: none; }
/* Mobiles Menü offen: heller Hintergrund → rotes Logo */
body.menu-open .brand-logo { filter: none; }

.nav-links { display: flex; align-items: center; gap: clamp(1.5rem, 3vw, 3rem); }
.nav-links a {
  font-size: var(--fs-label); font-weight: 600;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: #fff; position: relative; padding-block: 0.3rem;
  transition: color 0.3s var(--ease);
}
.is-condensed .nav-links a { color: var(--ink); }
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: -2px;
  width: 0; height: 1px; background: var(--gold);
  transition: width 0.3s var(--ease);
}
.nav-links a:hover::after { width: 100%; }
.nav-links a:hover { color: var(--gold); }

.nav-actions { display: flex; align-items: center; gap: 1rem; }
.nav-actions .btn { border-color: rgba(255,255,255,0.6); color: #fff; }
.nav-actions .btn:hover { background: #fff; color: var(--ink); border-color: #fff; }
.is-condensed .nav-actions .btn { border-color: var(--gold); color: var(--gold); }
.is-condensed .nav-actions .btn:hover { background: var(--gold); color: #fff; }

.nav-toggle {
  display: none; width: 44px; height: 44px;
  border: none; background: transparent; padding: 0;
  position: relative; z-index: 200;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 10px;
  width: 24px; height: 1.5px; background: #fff;
  transition: transform 0.3s var(--ease), opacity 0.2s var(--ease), background 0.3s;
}
.is-condensed .nav-toggle span,
.is-condensed .nav-toggle span::before,
.is-condensed .nav-toggle span::after { background: var(--ink); }
.nav-toggle span { top: 21px; }
.nav-toggle span::before { top: -7px; }
.nav-toggle span::after { top: 7px; }
body.menu-open .nav-toggle span { background: transparent; }
body.menu-open .nav-toggle span::before { transform: translateY(7px) rotate(45deg); background: var(--ink); }
body.menu-open .nav-toggle span::after { transform: translateY(-7px) rotate(-45deg); background: var(--ink); }

/* ---------- 6. Hero (Scroll-Fold Video) -------------------------------- */
/* Scroll-Track: doppelt so hoch wie der Viewport. Der innere Sticky-Block
   bleibt gepinnt, während --p (0 = Vollbild, 1 = kleiner Rahmen) per JS aus
   dem Scrollfortschritt gesetzt wird und das Video in einen Hochkant-Rahmen
   „aufblättert". */
.hero-track {
  position: relative;
  height: 240vh;
  background: var(--ink);
}
.hero-sticky {
  position: sticky; top: 0;
  height: 100vh; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.hero-frame {
  position: absolute; inset: 0; z-index: 1;
  clip-path: inset(
    calc(var(--p, 0) * 27%) calc(var(--p, 0) * 39%)
    round calc(var(--p, 0) * 10px)
  );
  will-change: clip-path;
}
.hero-frame img, .hero-frame video {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(calc(1 + var(--p, 0) * 0.14));
  transform-origin: center;
}
.hero-frame::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(18,16,13,0.34), rgba(18,16,13,0.62));
  opacity: calc(1 - var(--p, 0) * 0.55);
}
.hero-content {
  position: relative; z-index: 2; text-align: center; color: #fff;
  max-width: 940px; padding: 0 var(--gutter);
  opacity: clamp(0, calc(1 - var(--p, 0) * 1.7), 1);
  transform: translateY(calc(var(--p, 0) * -70px));
  will-change: opacity, transform;
}
.hero-content .label { color: var(--gold-soft); margin-bottom: 2rem; }
.hero-content h1 {
  font-size: var(--fs-hero); font-weight: 500;
  letter-spacing: -0.03em; line-height: 1;
}
.hero__tagline {
  margin: 2rem auto 0; max-width: 30ch;
  font-family: var(--font-display);
  font-style: italic; font-weight: 400;
  font-size: var(--fs-lead);
  color: rgba(255,255,255,0.9); line-height: 1.5;
}
.hero__actions { margin-top: 2.75rem; display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }

.hero__scroll {
  position: absolute; left: 50%; bottom: 2rem; transform: translateX(-50%); z-index: 2;
  font-size: var(--fs-label); letter-spacing: 0.3em; text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  display: flex; flex-direction: column; align-items: center; gap: 0.75rem;
  opacity: clamp(0, calc(1 - var(--p, 0) * 4), 1);
}
.hero__scroll::after {
  content: ""; width: 1px; height: 44px;
  background: linear-gradient(rgba(255,255,255,0.8), transparent);
  animation: scrollPulse 2.4s var(--ease) infinite;
}
@keyframes scrollPulse {
  0%,100% { opacity: 0.25; transform: scaleY(0.5); transform-origin: top; }
  50%     { opacity: 1; transform: scaleY(1); transform-origin: top; }
}

/* Editorial-Band (kanpai-Stil): Goldlinie, Marke links, Slogan rechts */
.hero-track .hero-content--editorial { max-width: 1180px; width: 100%; text-align: left; }
.hero-rule {
  display: block; height: 1px; width: 100%;
  background: var(--gold); opacity: 0.85;
  margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
}
.hero-band {
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: clamp(1.5rem, 5vw, 4rem);
}
.hero-track .hero-content--editorial .hero-brand {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(2.4rem, 5vw, 4.2rem); line-height: 1;
  letter-spacing: 0.02em; color: #fff; margin: 0;
}
.hero-slogan {
  max-width: 360px; font-family: var(--font-body);
  font-size: clamp(1rem, 0.6vw + 0.85rem, 1.25rem); line-height: 1.5;
  color: rgba(255, 255, 255, 0.9);
}
.hero-slogan em { font-style: italic; font-weight: 700; color: #fff; }
.hero-slogan strong { display: block; font-weight: 700; color: #fff; margin-top: 0.2rem; }
.hero-track .hero-content--editorial .hero__actions { margin-top: clamp(3rem, 10vh, 8rem); justify-content: flex-start; }
@media (max-width: 760px) {
  .hero-band { flex-direction: column; gap: 1.1rem; }
  .hero-slogan { max-width: none; }
  .hero-content--editorial .hero__actions { margin-top: 2.5rem; }
}

/* Statischer Vollbild-Hero (Reduced Motion / Mobile / ohne JS) */
.hero-track.is-static { height: 100svh; }
.hero-track.is-static .hero-sticky { position: relative; height: 100svh; }
.hero-track.is-static .hero-frame { clip-path: none; }
.hero-track.is-static .hero-frame img,
.hero-track.is-static .hero-frame video { transform: none; }
.hero-track.is-static .hero-content { opacity: 1; transform: none; }
.hero-track.is-static .hero__scroll { opacity: 1; }

/* ---------- 6b. Zweiter Scroll-Hero (Bild öffnet sich) ----------------- */
/* --q: 0 = kleiner zentrierter Rahmen, 1 = Vollbild (Gegenstück zum Fold). */
.scrollhero { position: relative; height: 220vh; background: var(--ink); }
.scrollhero__sticky {
  position: sticky; top: 0; height: 100vh; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  /* Crossfade über den gefalteten Hero-1-Frame (via --q geglättet) */
  opacity: clamp(0, calc(var(--q, 0) * 9), 1); will-change: opacity;
}
.scrollhero__media {
  position: absolute; inset: 0; z-index: 0;
  clip-path: inset(
    calc((1 - var(--q, 0)) * 27%) calc((1 - var(--q, 0)) * 39%)
    round calc((1 - var(--q, 0)) * 10px)
  );
  will-change: clip-path;
}
.scrollhero__media img {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(calc(1 + (1 - var(--q, 0)) * 0.12)); transform-origin: center;
}
.scrollhero__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(18,16,13,0.2), rgba(18,16,13,0.62));
  opacity: calc(var(--q, 0) * 0.85);
}
.scrollhero__content {
  position: relative; z-index: 1; text-align: center; color: #fff;
  max-width: 760px; padding: 0 var(--gutter);
  opacity: clamp(0, calc((var(--q, 0) - 0.45) * 3.3), 1);
  transform: translateY(calc((1 - var(--q, 0)) * 40px));
  will-change: opacity, transform;
}
.scrollhero__content .label { color: var(--gold-soft); }
.scrollhero__content h2 { font-size: var(--fs-h1); }
.scrollhero__content .lead { margin-top: 1.25rem; color: rgba(255, 255, 255, 0.85); margin-inline: auto; }
/* statisch (Reduced Motion / Mobile / ohne JS) */
.scrollhero.is-static { height: 100svh; }
.scrollhero.is-static .scrollhero__sticky { position: relative; height: 100svh; }
.scrollhero.is-static .scrollhero__media { clip-path: none; }
.scrollhero.is-static .scrollhero__media img { transform: none; }
.scrollhero.is-static .scrollhero__media::after { opacity: 0.5; }
.scrollhero.is-static .scrollhero__content { opacity: 1; transform: none; }
.scrollhero.is-static .scrollhero__sticky { opacity: 1; }
/* Sanfter Übergang Hero 1 → Hero 2: Hero 2 überlappt Hero-1-Auslauf und
   blendet als Crossfade ein (gleich große, zentrierte Frames = Morph-Eindruck).
   Nur Desktop + wenn Bewegung erlaubt; mobil/Reduced-Motion bleibt es gestapelt. */
@media (min-width: 761px) and (prefers-reduced-motion: no-preference) {
  .scrollhero { margin-top: -100vh; z-index: 2; }
}

/* ---------- 7. Section heads ------------------------------------------- */
.section-head { max-width: var(--maxw-text); margin-bottom: clamp(3rem, 6vw, 5rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head h2 { font-size: var(--fs-h2); }
.section-head .lead { margin-top: 1.5rem; }

/* ---------- 8. Statement / Founder quote ------------------------------- */
.statement { text-align: center; }
.statement__text {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(1.6rem, 2.4vw + 1rem, 2.6rem);
  line-height: 1.4; letter-spacing: -0.01em;
  max-width: 24ch; margin: 0 auto;
}
.statement__text .gold { color: var(--gold); font-style: italic; }

/* Drei-Foto-Reihe (kanpai-Stil) */
.photo-trio {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 2vw, 1.75rem); margin-top: clamp(3rem, 6vw, 5rem);
}
.photo-trio figure {
  margin: 0; aspect-ratio: 3 / 4; overflow: hidden;
  border-radius: var(--radius-img, 3px); background: var(--cream-2);
}
.photo-trio img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.photo-trio figure:hover img { transform: scale(1.05); }
.photo-trio .is-bw img { filter: grayscale(1) contrast(1.05); }
@media (max-width: 760px) {
  .photo-trio { grid-template-columns: 1fr; gap: 1rem; }
  .photo-trio figure { aspect-ratio: 4 / 3; }
}

/* Event-Galerie — Masonry (gemischte Hoch-/Querformate, kein Beschnitt) */
.event-gallery { column-count: 3; column-gap: clamp(0.8rem, 1.6vw, 1.5rem); }
.event-gallery figure {
  break-inside: avoid; margin: 0 0 clamp(0.8rem, 1.6vw, 1.5rem);
  overflow: hidden; border-radius: var(--radius-img, 3px); background: var(--cream-2);
}
.event-gallery img { width: 100%; height: auto; display: block; transition: transform 1s var(--ease); }
.event-gallery figure:hover img { transform: scale(1.04); }
@media (max-width: 900px) { .event-gallery { column-count: 2; } }
@media (max-width: 540px) { .event-gallery { column-count: 1; } }

.quote {
  max-width: 780px; margin: clamp(3rem,6vw,5rem) auto 0;
  text-align: center;
}
.quote blockquote {
  font-family: var(--font-display); font-style: italic;
  font-size: clamp(1.4rem, 2vw + 0.8rem, 2rem);
  line-height: 1.5; letter-spacing: -0.01em; margin: 0;
}
.quote blockquote::before { content: "„"; color: var(--gold); }
.quote blockquote::after  { content: "\""; color: var(--gold); }
.quote cite {
  display: block; margin-top: 1.75rem;
  font-family: var(--font-body); font-style: normal;
  font-size: var(--fs-label); font-weight: 600;
  letter-spacing: 0.28em; text-transform: uppercase; color: var(--ink-soft);
}

/* ---------- 9. Services grid ------------------------------------------- */
.services {
  display: grid; grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.service {
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: clamp(2rem, 3.5vw, 3.25rem);
  display: flex; flex-direction: column; gap: 1rem;
  transition: background 0.4s var(--ease);
}
.service:hover { background: var(--paper); }
.service__no {
  font-family: var(--font-display); font-size: 1rem;
  color: var(--gold); letter-spacing: 0.1em;
}
.service h3 { font-size: var(--fs-h3); }
.service p { color: var(--ink-soft); font-size: var(--fs-small); line-height: 1.7; }

/* ---------- 10. Split (story / feature) -------------------------------- */
.split {
  display: grid; grid-template-columns: 1fr 1fr;
  align-items: center; gap: clamp(2.5rem, 6vw, 6rem);
}
.split--reverse .split__media { order: 2; }
.split__media { overflow: hidden; aspect-ratio: 4 / 5; border-radius: var(--radius-img); }
.split__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.split__media:hover img { transform: scale(1.05); }
.split__body h2 { font-size: var(--fs-h2); }
.split__body .lead { margin-top: 1.5rem; }
.split__body .link-line, .split__body .btn { margin-top: 2.25rem; }

/* ---------- 11. Reservation / hours ------------------------------------ */
.hours-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(2rem, 5vw, 4rem); margin-top: 1rem; }
.hours-card { border-top: 1px solid rgba(243,244,241,0.2); padding-top: 2rem; }
.section--dark .hours-card { border-color: rgba(243,244,241,0.2); }
.hours-card h3 { font-size: var(--fs-h3); margin-bottom: 0.35rem; }
.hours-card__addr { color: rgba(243,244,241,0.6); font-size: var(--fs-small); margin-bottom: 1.5rem; }
.hours-table { width: 100%; border-collapse: collapse; font-size: var(--fs-small); }
.hours-table th, .hours-table td {
  text-align: left; padding: 0.55rem 0;
  border-bottom: 1px solid rgba(243,244,241,0.12);
  font-weight: 400; color: rgba(243,244,241,0.85);
}
.hours-table th { font-weight: 600; letter-spacing: 0.05em; width: 38%; }
.hours-table td { text-align: right; font-variant-numeric: tabular-nums; }
.hours-card__actions { margin-top: 1.75rem; display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* ---------- 12. Gallery ------------------------------------------------ */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.5rem; }
.gallery a { position: relative; aspect-ratio: 1; overflow: hidden; display: block; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.gallery a::after {
  content: ""; position: absolute; inset: 0;
  background: rgba(28,28,26,0); transition: background 0.4s var(--ease);
}
.gallery a:hover img { transform: scale(1.08); }
.gallery a:hover::after { background: rgba(28,28,26,0.25); }
.gallery__icon {
  position: absolute; inset: 0; margin: auto; width: 28px; height: 28px;
  display: flex; align-items: center; justify-content: center;
  color: #fff; opacity: 0; transition: opacity 0.4s var(--ease); z-index: 2;
}
.gallery a:hover .gallery__icon { opacity: 1; }

/* ---------- 13. Footer ------------------------------------------------- */
.site-footer { background: var(--ink); color: rgba(243,244,241,0.65); padding-block: clamp(3.5rem,7vw,6rem) 2.5rem; font-size: var(--fs-small); }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2.5rem; padding-bottom: 3rem; border-bottom: 1px solid rgba(243,244,241,0.12); }
.footer-brand { max-width: 34ch; }
.footer-brand .brand { color: var(--cream); display: inline-block; margin-bottom: 1.25rem; }
.footer-nav { display: flex; flex-wrap: wrap; gap: clamp(2rem,5vw,4rem); }
.footer-col h4 { font-family: var(--font-body); font-size: var(--fs-label); font-weight: 600; letter-spacing: 0.24em; text-transform: uppercase; color: var(--cream); margin-bottom: 1.25rem; }
.footer-col li { margin-bottom: 0.7rem; }
.footer-col a:hover { color: var(--gold-soft); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding-top: 2rem; }
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 1.5rem; }
.footer-bottom a:hover { color: var(--gold-soft); }
.social { display: flex; gap: 1rem; }
.social a { width: 38px; height: 38px; border: 1px solid rgba(243,244,241,0.3); border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: border-color 0.3s var(--ease), background 0.3s; }
.social a:hover { background: var(--gold); border-color: var(--gold); color: #fff; }

/* ---------- 14. Cookie consent ----------------------------------------- */
.cookie-banner {
  position: fixed; left: 50%; bottom: 1.5rem; transform: translateX(-50%) translateY(160%);
  z-index: 300; width: min(640px, calc(100% - 2rem));
  background: var(--ink); color: var(--cream);
  padding: 1.75rem; border-radius: var(--radius);
  box-shadow: 0 20px 60px rgba(0,0,0,0.25);
  display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem;
  transition: transform 0.5s var(--ease);
}
.cookie-banner.is-visible { transform: translateX(-50%) translateY(0); }
.cookie-banner p { flex: 1 1 280px; font-size: var(--fs-small); line-height: 1.6; color: rgba(243,244,241,0.8); }
.cookie-banner p a { color: var(--gold-soft); text-decoration: underline; }
.cookie-banner__actions { display: flex; gap: 0.6rem; flex-wrap: wrap; }
.cookie-banner .btn { border-color: rgba(243,244,241,0.4); color: var(--cream); padding: 0.75rem 1.4rem; }
.cookie-banner .btn--gold { border-color: var(--gold); background: var(--gold); }

/* ---------- 15. Reveal ------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease); will-change: opacity, transform; }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.12s; }
.reveal[data-delay="2"] { transition-delay: 0.24s; }
.reveal[data-delay="3"] { transition-delay: 0.36s; }

/* ---------- 16. Responsive --------------------------------------------- */
@media (max-width: 1000px) {
  .services { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; }
  .split--reverse .split__media { order: 0; }
  .hours-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .nav-links {
    position: fixed; inset: 0; flex-direction: column;
    align-items: center; justify-content: center; gap: 2rem;
    background: var(--cream); transform: translateX(100%);
    transition: transform 0.5s var(--ease); z-index: 150;
  }
  body.menu-open .nav-links { transform: translateX(0); }
  .nav-links a { color: var(--ink); font-family: var(--font-display); font-size: 1.75rem; letter-spacing: 0.04em; text-transform: none; }
  .nav-links a::after { display: none; }
  .nav-toggle { display: block; }
  .nav-actions .btn { display: none; }
  .services { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .hero__actions .btn { width: 100%; }
}

/* ---------- 17. Motion preferences ------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* =======================================================================
   SUBPAGES — gemeinsame Komponenten (Speisekarte, Standorte, Story, Catering)
   ======================================================================= */

/* ---------- 18. Page-Hero (kompakt) ------------------------------------ */
.page-hero {
  position: relative;
  min-height: 60vh;
  display: flex; align-items: center; justify-content: center;
  text-align: center; color: #fff;
  padding: calc(var(--header-h) + 4rem) var(--gutter) 4rem;
  background: var(--ink); overflow: hidden;
}
.page-hero img, .page-hero video {
  position: absolute; inset: 0; z-index: 0;
  width: 100%; height: 100%; object-fit: cover;
}
.page-hero::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(18,16,13,0.45), rgba(18,16,13,0.66));
}
.page-hero__inner { position: relative; z-index: 2; max-width: 820px; }
.page-hero .label { color: var(--gold-soft); }
.page-hero h1 { font-size: var(--fs-h1); }
.page-hero__lead {
  margin: 1.5rem auto 0; max-width: 52ch;
  font-family: var(--font-display); font-style: italic;
  font-size: var(--fs-lead); color: rgba(255,255,255,0.9); line-height: 1.5;
}

/* ---------- 19. Prose / Longform --------------------------------------- */
.prose { max-width: var(--maxw-text); margin-inline: auto; }
.prose p { margin-bottom: 1.5rem; color: var(--ink); }
.prose p.lead { color: var(--ink-soft); }
.prose h2 { font-size: var(--fs-h2); margin: 3rem 0 1.25rem; }
.prose h3 { font-size: var(--fs-h3); margin: 2rem 0 0.75rem; }

/* ---------- 20. Speisekarte (Tabs + Filter + Liste) -------------------- */
.menu-toolbar {
  position: sticky; top: var(--header-h); z-index: 40;
  background: rgba(243,244,241,0.92);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line-soft);
}
.menu-toolbar__inner {
  max-width: var(--maxw); margin-inline: auto; padding: 0.9rem var(--gutter);
  display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem 1.25rem;
}
.menu-tabs { display: flex; flex-wrap: nowrap; gap: 0.4rem; overflow-x: auto; scrollbar-width: none; -ms-overflow-style: none; }
.menu-tabs::-webkit-scrollbar { display: none; }
.menu-tab {
  flex: 0 0 auto;
  font-size: var(--fs-label); font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  padding: 0.5rem 0.95rem; border-radius: var(--radius-pill, 999px); border: 1px solid transparent;
  color: var(--ink-soft); background: transparent; white-space: nowrap;
  transition: color 0.25s var(--ease), background 0.25s var(--ease), border-color 0.25s var(--ease);
}
.menu-tab:hover { color: var(--ink); border-color: var(--line); }
.menu-tab.is-active { color: #fff; background: var(--ink); }
.menu-filters { margin-left: auto; display: flex; gap: 0.4rem; }
.filter-chip {
  font-size: var(--fs-label); font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 0.5rem 0.9rem; border-radius: var(--radius-pill, 999px);
  border: 1px solid var(--line); color: var(--ink-soft); background: transparent;
  transition: all 0.25s var(--ease);
}
.filter-chip.is-active { color: #fff; background: var(--gold); border-color: var(--gold); }

.menu-section { padding-top: clamp(2.5rem, 5vw, 4rem); scroll-margin-top: calc(var(--header-h) + 70px); }
.menu-section > h2 {
  font-size: var(--fs-h2); margin-bottom: 0.5rem;
  display: flex; align-items: baseline; gap: 1rem;
}
.menu-section__note { color: var(--ink-soft); font-size: var(--fs-small); margin-bottom: 2rem; }

.menu-list { display: grid; gap: 1.4rem; }
.menu-item { display: grid; gap: 0.35rem; }
.menu-item.is-hidden { display: none; }
.menu-item__head {
  display: flex; align-items: baseline; gap: 0.75rem;
  font-family: var(--font-display); font-size: 1.18rem;
}
.menu-item__name { font-weight: 500; }
.menu-item__leader { flex: 1; border-bottom: 1px dotted var(--line-strong, rgba(0,0,0,.25)); transform: translateY(-3px); }
.menu-item__price { font-weight: 500; color: var(--ink); white-space: nowrap; font-variant-numeric: tabular-nums; }
.menu-item__desc { color: var(--ink-soft); font-size: var(--fs-small); max-width: 62ch; }
.menu-tags { display: inline-flex; gap: 0.4rem; margin-left: 0.25rem; }
.menu-tag {
  font-family: var(--font-body); font-size: 0.6rem; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--gold-dark);
  border: 1px solid var(--gold-soft); border-radius: 999px; padding: 0.12rem 0.5rem;
  align-self: center;
}
.menu-columns { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.menu-note-box {
  margin-top: 3rem; padding: 1.5rem 1.75rem; border: 1px solid var(--line);
  border-radius: var(--radius); background: var(--paper); font-size: var(--fs-small); color: var(--ink-soft);
}

/* ---------- 21. Info-Tabelle / Öffnungszeiten (hell) ------------------- */
.info-table { width: 100%; border-collapse: collapse; font-size: var(--fs-small); }
.info-table th, .info-table td { text-align: left; padding: 0.6rem 0; border-bottom: 1px solid var(--line-soft); font-weight: 400; }
.info-table th { font-weight: 600; width: 40%; }
.info-table td { text-align: right; color: var(--ink-soft); font-variant-numeric: tabular-nums; }
.info-block { display: grid; gap: 0.4rem; }
.info-block h3 { font-size: var(--fs-label); font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-dark); font-family: var(--font-body); margin-bottom: 0.25rem; }
.info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.5rem, 4vw, 3rem); }

/* ---------- 22. Map (Klick-to-load) ------------------------------------ */
.map-embed { position: relative; aspect-ratio: 16/9; border-radius: var(--radius); overflow: hidden; background: var(--cream-2); }
.map-embed__placeholder { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1rem; text-align: center; padding: 1.5rem; }
.map-embed iframe { width: 100%; height: 100%; border: 0; }

/* ---------- 23. Catering / Process / Form ------------------------------ */
.process { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.process__step { background: var(--cream); padding: clamp(1.5rem, 3vw, 2.25rem); }
.process__no { font-family: var(--font-display); color: var(--gold); font-size: 1.5rem; margin-bottom: 0.75rem; }
.process__step h3 { font-size: 1.1rem; margin-bottom: 0.4rem; }
.process__step p { font-size: var(--fs-small); color: var(--ink-soft); }

.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1.5rem, 3vw, 2.5rem); }
.feature h3 { font-size: var(--fs-h3); margin-bottom: 0.5rem; }
.feature p { font-size: var(--fs-small); color: var(--ink-soft); }

.form { max-width: 760px; margin-inline: auto; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem 1.5rem; }
.field { display: flex; flex-direction: column; gap: 0.4rem; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: var(--fs-label); font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-soft); }
.field input, .field select, .field textarea {
  font: inherit; font-size: var(--fs-small); color: var(--ink);
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 0.85rem 1rem; transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(171,141,105,0.15);
}
.field textarea { resize: vertical; min-height: 120px; }
.field--check { flex-direction: row; align-items: flex-start; gap: 0.6rem; }
.field--check input { width: 18px; height: 18px; flex: 0 0 auto; padding: 0; margin-top: 0.15rem; accent-color: var(--gold); }
.field--check label { text-transform: none; letter-spacing: 0; font-weight: 400; font-size: var(--fs-small); color: var(--ink-soft); }
.form__submit { margin-top: 1.75rem; text-align: center; }
.form__note { margin-top: 1rem; font-size: var(--fs-small); color: var(--ink-soft); text-align: center; }

/* ---------- 24. Subpage responsive ------------------------------------- */
@media (max-width: 1000px) {
  .process { grid-template-columns: repeat(2, 1fr); }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .info-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .menu-columns { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .menu-filters { width: 100%; margin-left: 0; }
}
