/* ==========================================================================
   Trattoria il Gusto-nero – Website-Entwurf
   Farben: Anthrazit #1C1B19 · Creme #F3EDE3 · Bordeaux #743B3E · Messing #B39A70
   ========================================================================== */

/* ---------- Schriften (lokal gehostet, SIL Open Font License) ---------- */
@font-face {
  font-family: "Cormorant Garamond";
  src: url("../fonts/cormorant-garamond-latin-wght-normal.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Cormorant Garamond";
  src: url("../fonts/cormorant-garamond-latin-wght-italic.woff2") format("woff2");
  font-weight: 300 700;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope-latin-wght-normal.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

/* ---------- Design-Tokens ---------- */
:root {
  --c-anthracite: #1c1b19;
  --c-anthracite-2: #242220;
  --c-night: #141311;
  --c-cream: #f3ede3;
  --c-cream-2: #e9e0d1;
  --c-bordeaux: #743b3e;
  --c-bordeaux-deep: #5d2e31;
  --c-brass: #b39a70;

  --c-ink: #1c1b19;
  --c-ink-muted: #5a534a;          /* 6.4:1 auf Creme */
  --c-paper: #f3ede3;
  --c-paper-muted: #bdb5a8;        /* 8:1 auf Anthrazit */

  --line-dark: rgba(28, 27, 25, 0.16);
  --line-light: rgba(243, 237, 227, 0.16);

  --font-serif: "Cormorant Garamond", "Cormorant", Garamond, "Times New Roman", serif;
  --font-sans: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --container: 1240px;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --section-y: clamp(4rem, 7.5vw, 7rem);
  --radius: 4px;
  --header-h: 78px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- Basis ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) - 1px);
}
html.menu-open,
html.lightbox-open { overflow: hidden; }

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--c-ink);
  background: var(--c-anthracite);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
p { margin: 0 0 1.15em; }
h1, h2, h3 { margin: 0; }
address { font-style: normal; }
button { font: inherit; color: inherit; }

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

:focus-visible {
  outline: 2px solid var(--c-brass);
  outline-offset: 3px;
}
.section--cream :focus-visible { outline-color: var(--c-bordeaux); }

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  left: 1rem;
  top: -100px;
  z-index: 200;
  padding: 0.75rem 1.1rem;
  background: var(--c-cream);
  color: var(--c-ink);
  border-radius: var(--radius);
  font-weight: 600;
  text-decoration: none;
  transition: top 0.2s;
}
.skip-link:focus { top: 1rem; }

.container {
  width: 100%;
  max-width: calc(var(--container) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ---------- Typografie ---------- */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin: 0 0 1.25rem;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--c-bordeaux);
}
.eyebrow::before {
  content: "";
  flex: none;
  width: 2.5rem;
  height: 1px;
  background: currentColor;
  opacity: 0.75;
}
.eyebrow--brass { color: var(--c-brass); }

.h2 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(2.35rem, 1.55rem + 3.2vw, 4.1rem);
  line-height: 1.04;
  letter-spacing: -0.01em;
  margin-bottom: 1.6rem;
  text-wrap: balance;
}
.h2 em { font-style: italic; font-weight: 400; }
.section--cream .h2 em { color: var(--c-bordeaux); }
.section--dark .h2 em,
.wine .h2 em { color: var(--c-brass); }

.lead {
  font-size: clamp(1.08rem, 1rem + 0.3vw, 1.22rem);
  line-height: 1.65;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  min-height: 3.1rem;
  padding: 0.85rem 1.6rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.btn svg { flex: none; }
.btn--primary {
  background: var(--c-bordeaux);
  border-color: var(--c-bordeaux);
  color: var(--c-cream);
}
.btn--primary:hover {
  background: var(--c-bordeaux-deep);
  border-color: var(--c-brass);
}
.btn--ghost {
  background: transparent;
  border-color: rgba(243, 237, 227, 0.5);
  color: var(--c-cream);
}
.btn--ghost:hover {
  background: var(--c-cream);
  border-color: var(--c-cream);
  color: var(--c-ink);
}
.btn--sm {
  min-height: 2.6rem;
  padding: 0.6rem 1.15rem;
  font-size: 0.75rem;
  white-space: nowrap;
}
.btn--block { width: 100%; }

/* ---------- Bildrahmen & Symbolbild-Hinweis ---------- */
.frame {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 2px;
  background: var(--c-anthracite-2);
}
.section--cream .frame { background: var(--c-cream-2); }
.frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}
@media (hover: hover) {
  .frame:hover img { transform: scale(1.035); }
}
.frame--tall { aspect-ratio: 4 / 5; }
.frame--portrait { aspect-ratio: 4 / 5; }
.frame--feature { aspect-ratio: 3 / 2; }

.img-note {
  position: absolute;
  right: 0.6rem;
  bottom: 0.6rem;
  z-index: 2;
  padding: 0.22rem 0.5rem;
  border-radius: 2px;
  background: rgba(20, 19, 17, 0.62);
  color: rgba(243, 237, 227, 0.88);
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  line-height: 1.4;
  text-transform: uppercase;
  pointer-events: none;
}

/* ---------- Sektionen ---------- */
.section { padding-block: var(--section-y); }
.section--cream { background: var(--c-cream); color: var(--c-ink); }
.section--dark { background: var(--c-anthracite); color: var(--c-paper); }

/* ==========================================================================
   1. HEADER
   ========================================================================== */
.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--header-h);
  color: var(--c-cream);
  transition: background-color 0.4s var(--ease), box-shadow 0.4s var(--ease), height 0.4s var(--ease);
}
.header::before {
  content: "";
  position: absolute;
  inset: 0 0 -30px;
  background: linear-gradient(to bottom, rgba(20, 19, 17, 0.6), rgba(20, 19, 17, 0));
  pointer-events: none;
  transition: opacity 0.4s var(--ease);
}
.header.is-scrolled {
  background: rgba(28, 27, 25, 0.94);
  box-shadow: 0 1px 0 var(--line-light);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.header.is-scrolled::before { opacity: 0; }

.header__inner {
  position: relative;
  display: flex;
  align-items: center;
  gap: 2.5rem;
  height: 100%;
}

.brand {
  display: inline-flex;
  flex-direction: column;
  margin-right: auto;
  line-height: 1;
  white-space: nowrap;
  text-decoration: none;
  color: var(--c-cream);
}
.brand__kicker {
  margin: 0 0 0.3rem 0.1rem;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.38em;
  text-transform: uppercase;
  color: var(--c-brass);
}
.brand__name {
  font-family: var(--font-serif);
  font-size: 1.7rem;
  font-style: italic;
  font-weight: 500;
  letter-spacing: 0.005em;
}

.nav__list {
  display: flex;
  gap: 2.2rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.nav__link {
  position: relative;
  display: inline-block;
  padding: 0.6rem 0;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  color: rgba(243, 237, 227, 0.86);
  transition: color 0.3s;
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0.25rem;
  height: 1px;
  background: var(--c-brass);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}
.nav__link:hover,
.nav__link.is-active { color: var(--c-cream); }
.nav__link:hover::after,
.nav__link.is-active::after { transform: scaleX(1); }

.menu-toggle {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  margin-right: -10px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}
.menu-toggle__bars,
.menu-toggle__bars::before {
  position: absolute;
  left: 11px;
  width: 22px;
  height: 1.5px;
  background: var(--c-cream);
  border-radius: 1px;
}
.menu-toggle__bars { top: 18px; }
.menu-toggle__bars::before {
  content: "";
  left: 0;
  top: 7px;
  width: 15px;
}

/* ---------- Mobiles Menü ---------- */
.menu {
  width: 100%;
  max-width: none;
  height: 100%;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  inset: 0;
  background: var(--c-anthracite);
  color: var(--c-cream);
  overflow-y: auto;
}
.menu::backdrop { background: var(--c-anthracite); }
.menu[open] { animation: menuIn 0.35s var(--ease) both; }
.menu[open] .menu__list li { animation: fadeUp 0.6s var(--ease) both; }
.menu[open] .menu__list li:nth-child(2) { animation-delay: 0.05s; }
.menu[open] .menu__list li:nth-child(3) { animation-delay: 0.1s; }
.menu[open] .menu__list li:nth-child(4) { animation-delay: 0.15s; }

.menu__inner {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 0 var(--gutter) max(1.5rem, env(safe-area-inset-bottom));
}
.menu__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  border-bottom: 1px solid var(--line-light);
}
.menu__close {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-right: -10px;
  border: 0;
  background: none;
  color: var(--c-cream);
  cursor: pointer;
}
.menu__list {
  margin: 0;
  padding: 2rem 0;
  list-style: none;
}
.menu__list a {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line-light);
  font-family: var(--font-serif);
  font-size: clamp(2rem, 9vw, 2.6rem);
  font-weight: 500;
  line-height: 1.1;
  text-decoration: none;
}
.menu__num {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--c-brass);
  transform: translateY(-0.6em);
}
.menu__bottom {
  display: grid;
  gap: 0.75rem;
  margin-top: auto;
  padding-top: 1rem;
}
.menu__meta {
  margin: 0.75rem 0 0;
  text-align: center;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  color: var(--c-paper-muted);
}

/* ==========================================================================
   2. HERO
   ========================================================================== */
.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  background: var(--c-night);
  color: var(--c-cream);
}
.hero__media,
.hero__media img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
}
.hero__media img {
  object-fit: cover;
  object-position: 62% 50%;
}
.hero__shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(20, 19, 17, 0.9) 0%, rgba(20, 19, 17, 0.7) 32%, rgba(20, 19, 17, 0.22) 66%, rgba(20, 19, 17, 0.12) 100%),
    linear-gradient(0deg, rgba(20, 19, 17, 0.9) 0%, rgba(20, 19, 17, 0) 42%);
}
.hero__inner {
  padding-top: calc(var(--header-h) + 4rem);
  padding-bottom: clamp(2.5rem, 7vh, 5rem);
}
.hero__eyebrow {
  margin-bottom: 1.75rem;
  /* bessere Lesbarkeit, wenn die Zeile mobil über hellen Bildstellen liegt */
  text-shadow: 0 1px 10px rgba(20, 19, 17, 0.85), 0 0 2px rgba(20, 19, 17, 0.6);
}
.hero__title {
  max-width: 13ch;
  margin-bottom: 1.75rem;
  font-family: var(--font-serif);
  font-size: clamp(3rem, 1.4rem + 5.6vw, 6.6rem);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: -0.015em;
}
.hero__title span,
.hero__title em { display: block; }
.hero__title em {
  font-weight: 400;
  color: var(--c-brass);
}
.hero__lead {
  max-width: 34rem;
  margin-bottom: 2.4rem;
  font-size: clamp(1.03rem, 0.96rem + 0.35vw, 1.2rem);
  line-height: 1.65;
  color: rgba(243, 237, 227, 0.88);
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}
.hero__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1.2rem;
  border-top: 1px solid var(--line-light);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(243, 237, 227, 0.75);
}
.hero__facts {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem 0.9rem;
  margin: 0;
}
.hero__dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--c-brass);
}
.hero__scroll {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0;
  text-decoration: none;
  transition: color 0.3s;
}
.hero__scroll:hover { color: var(--c-cream); }
.img-note--hero {
  bottom: auto;
  top: calc(var(--header-h) + 0.75rem);
  right: var(--gutter);
}

/* Einstieg-Animation */
@media (prefers-reduced-motion: no-preference) {
  .hero__media img { animation: heroZoom 16s var(--ease) both; }
  .hero__eyebrow,
  .hero__title span,
  .hero__title em,
  .hero__lead,
  .hero__actions,
  .hero__meta { animation: fadeUp 1s var(--ease) both; }
  .hero__title span:nth-child(1) { animation-delay: 0.1s; }
  .hero__title span:nth-child(2) { animation-delay: 0.2s; }
  .hero__title em { animation-delay: 0.3s; }
  .hero__lead { animation-delay: 0.45s; }
  .hero__actions { animation-delay: 0.55s; }
  .hero__meta { animation-delay: 0.7s; }
}

@keyframes heroZoom {
  from { transform: scale(1.07); }
  to { transform: scale(1); }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}
@keyframes menuIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ==========================================================================
   3. RESTAURANT
   ========================================================================== */
.restaurant__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gutter);
  align-items: center;
}
.restaurant__media {
  position: relative;
  grid-column: 1 / span 6;
  padding: 0 14% 5rem 0;
}
.restaurant__media::before {
  content: "";
  position: absolute;
  top: -1.75rem;
  left: -1.75rem;
  width: 55%;
  height: 62%;
  border: 1px solid var(--c-brass);
  pointer-events: none;
}
.restaurant__media .frame--tall { z-index: 1; }
.restaurant__media .frame--tall .img-note { top: 0.6rem; bottom: auto; }
.frame--small {
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 2;
  width: 44%;
  aspect-ratio: 1;
  border: 10px solid var(--c-cream);
  border-radius: 0;
  box-shadow: 0 30px 60px -30px rgba(28, 27, 25, 0.45);
}
.restaurant__text {
  grid-column: 8 / span 5;
}
.restaurant__text > p:not(.eyebrow) { color: var(--c-ink-muted); }
.restaurant__text > .lead { color: var(--c-ink); }

.pillars {
  margin: 2.25rem 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line-dark);
}
.pillars li {
  display: grid;
  grid-template-columns: 3rem 1fr;
  column-gap: 1rem;
  padding: 1.15rem 0;
  border-bottom: 1px solid var(--line-dark);
}
.pillars__num {
  grid-row: span 2;
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-style: italic;
  line-height: 1.2;
  color: var(--c-bordeaux);
}
.pillars h3 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.2;
}
.pillars p {
  margin: 0.15rem 0 0;
  font-size: 0.95rem;
  color: var(--c-ink-muted);
}

/* ==========================================================================
   4. KÜCHE
   ========================================================================== */
.kitchen__intro {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: end;
  margin-bottom: clamp(2.5rem, 4.5vw, 4rem);
}
.kitchen__heading .lead {
  margin-bottom: 0;
  color: rgba(243, 237, 227, 0.86);
}
.kitchen__themes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.5rem, 3.2vw, 3.25rem);
  margin: 0;
  padding: 0;
  list-style: none;
}
/* leichter Versatz der Spalten – bewusst dezent, damit keine große Lücke entsteht */
.theme:nth-child(2) { margin-top: 2.5rem; }
.theme:nth-child(3) { margin-top: 1.25rem; }
.theme__body {
  position: relative;
  padding-top: 1.35rem;
}
.theme__num {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 0.8rem;
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-style: italic;
  color: var(--c-brass);
}
.theme__num::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line-light);
}
.theme h3 {
  margin-bottom: 0.6rem;
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 1.4rem + 1vw, 2.25rem);
  font-weight: 500;
  line-height: 1.1;
}
.theme p {
  max-width: 34ch;
  margin: 0;
  font-size: 0.98rem;
  color: var(--c-paper-muted);
}
.kitchen__note {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem 2.5rem;
  margin-top: clamp(2.5rem, 4.5vw, 4rem);
  padding-top: 2rem;
  border-top: 1px solid var(--line-light);
}
.kitchen__note p {
  max-width: 40rem;
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(1.3rem, 1.1rem + 0.6vw, 1.6rem);
  font-style: italic;
  line-height: 1.4;
  color: rgba(243, 237, 227, 0.9);
}

/* ==========================================================================
   5. WEIN & ATMOSPHÄRE
   ========================================================================== */
.wine {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  min-height: min(88vh, 820px);
  overflow: hidden;
  background: var(--c-night);
  color: var(--c-cream);
}
.wine__media {
  position: relative;
  min-height: 34rem;
  margin: 0;
  overflow: hidden;
}
.wine__media picture,
.wine__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.wine__media img {
  object-fit: cover;
  object-position: 50% 62%;
}
/* weicher Übergang vom Bild in den dunklen Textbereich */
.wine__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(20, 19, 17, 0) 48%, rgba(20, 19, 17, 0.5) 72%, rgba(20, 19, 17, 0.88) 90%, var(--c-night) 100%),
    linear-gradient(0deg, rgba(20, 19, 17, 0.35) 0%, rgba(20, 19, 17, 0) 30%);
  pointer-events: none;
}
.wine .img-note { left: 0.6rem; right: auto; }
.wine__content {
  display: flex;
  align-items: center;
  padding-block: var(--section-y);
  padding-left: clamp(2.5rem, 6vw, 6.5rem);
  padding-right: max(var(--gutter), calc((100vw - var(--container)) / 2));
}
.wine__text {
  max-width: 34rem;
}
.wine__text .h2 { margin-bottom: 2rem; }
.wine__text p:not(.eyebrow):not(.wine__salute) {
  font-size: 1.08rem;
  color: rgba(243, 237, 227, 0.84);
}
.wine__salute {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin: 2.5rem 0 0;
  font-family: var(--font-serif);
  font-size: clamp(2.6rem, 2rem + 2.5vw, 4rem);
  font-style: italic;
  line-height: 1;
  color: var(--c-brass);
}
.wine__salute::before {
  content: "";
  width: 3.5rem;
  height: 1px;
  background: var(--c-brass);
  opacity: 0.7;
}

/* ==========================================================================
   6. IMPRESSIONEN
   ========================================================================== */
.gallery__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem 3rem;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}
.gallery__head .h2 { margin-bottom: 0; }
.gallery__hint {
  max-width: 24rem;
  margin: 0;
  padding-left: 1.25rem;
  border-left: 1px solid var(--c-brass);
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--c-ink-muted);
}
.gallery__hint-label {
  display: block;
  margin-bottom: 0.25rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--c-bordeaux);
}
.gallery__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: clamp(150px, 19vw, 250px);
  grid-auto-flow: dense;
  gap: clamp(0.5rem, 1.1vw, 1rem);
  margin: 0;
  padding: 0;
  list-style: none;
}
.gallery__item--tall { grid-row: span 2; }
.gallery__item--wide { grid-column: span 2; }
.gallery__link {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 2px;
  background: var(--c-cream-2);
  cursor: zoom-in;
}
.gallery__link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease);
}
.gallery__link::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(20, 19, 17, 0.45), rgba(20, 19, 17, 0) 55%);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}
.gallery__zoom {
  position: absolute;
  right: 0.75rem;
  bottom: 0.75rem;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: rgba(243, 237, 227, 0.94);
  color: var(--c-ink);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
}
.gallery__link:hover img,
.gallery__link:focus-visible img { transform: scale(1.045); }
.gallery__link:hover::after,
.gallery__link:focus-visible::after { opacity: 1; }
.gallery__link:hover .gallery__zoom,
.gallery__link:focus-visible .gallery__zoom { opacity: 1; transform: none; }
.gallery__link:focus-visible { outline-offset: 4px; }

@media (hover: none) {
  .gallery__zoom {
    width: 2rem;
    height: 2rem;
    opacity: 0.9;
    transform: none;
  }
}

/* ---------- Lightbox ---------- */
.lightbox {
  width: 100%;
  max-width: none;
  height: 100%;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  inset: 0;
  background: rgba(14, 13, 12, 0.97);
  color: var(--c-cream);
  overflow: hidden;
}
.lightbox::backdrop { background: rgba(14, 13, 12, 0.9); }
.lightbox[open] { animation: menuIn 0.3s var(--ease) both; }
.lightbox__frame {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  padding: 4.5rem 5.5rem 5rem;
}
.lightbox__figure {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0;
  max-width: 100%;
  max-height: 100%;
}
.lightbox__img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: calc(100vh - 10rem);
  max-height: calc(100dvh - 10rem);
  object-fit: contain;
  border-radius: 2px;
  transition: opacity 0.3s var(--ease);
  touch-action: pan-y pinch-zoom;
}
.lightbox__img.is-loading { opacity: 0.2; }
.lightbox__caption {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.25rem 1rem;
  margin-top: 1rem;
  font-size: 0.85rem;
  text-align: center;
  color: var(--c-paper-muted);
}
.lightbox__count {
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.12em;
  color: var(--c-brass);
}
.lightbox__btn {
  position: absolute;
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  padding: 0;
  border: 1px solid var(--line-light);
  border-radius: 50%;
  background: rgba(28, 27, 25, 0.7);
  color: var(--c-cream);
  cursor: pointer;
  transition: background-color 0.3s, border-color 0.3s;
}
.lightbox__btn:hover {
  background: var(--c-bordeaux);
  border-color: var(--c-bordeaux);
}
.lightbox__close { top: 1rem; right: 1rem; }
.lightbox__prev,
.lightbox__next { top: 50%; transform: translateY(-50%); }
.lightbox__prev { left: 1.25rem; }
.lightbox__next { right: 1.25rem; }

/* ==========================================================================
   7. BESUCH & RESERVIERUNG
   ========================================================================== */
.visit__grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(3rem, 7vw, 7rem);
  align-items: start;
}
.visit__main .lead {
  max-width: 36rem;
  color: rgba(243, 237, 227, 0.86);
}
.visit__label {
  display: block;
  margin-bottom: 0.7rem;
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  line-height: 1.4;
  text-transform: uppercase;
  color: var(--c-brass);
}
.visit__phone {
  display: inline-block;
  margin: 1.5rem 0 1.75rem;
  font-family: var(--font-serif);
  font-size: clamp(2.3rem, 1.6rem + 2.8vw, 3.7rem);
  font-weight: 500;
  line-height: 1;
  text-decoration: none;
  color: var(--c-cream);
  font-variant-numeric: lining-nums;
  transition: color 0.3s;
}
.visit__phone:hover { color: var(--c-brass); }
.visit__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}
.visit__address {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line-light);
  font-size: 1.08rem;
  line-height: 1.75;
  color: rgba(243, 237, 227, 0.9);
}
.visit__hours {
  position: relative;
  padding: clamp(1.75rem, 3.5vw, 2.75rem);
  border: 1px solid var(--line-light);
  background: var(--c-anthracite-2);
}
.visit__hours::before {
  content: "";
  position: absolute;
  top: -1px;
  left: clamp(1.75rem, 3.5vw, 2.75rem);
  width: 4rem;
  height: 2px;
  background: var(--c-brass);
}
.visit__hours-title {
  margin-bottom: 1.25rem;
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 500;
  line-height: 1.1;
}
.hours { margin: 0; }
.hours__row {
  display: flex;
  flex-wrap: wrap;               /* sehr schmale Displays: Uhrzeit rutscht rechtsbündig in die nächste Zeile */
  align-items: baseline;
  justify-content: space-between;
  gap: 0.1rem 1rem;
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--line-light);
}
.hours__row dt {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 500;
}
.hours__row dd {
  margin: 0 0 0 auto;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
  color: var(--c-paper-muted);
  text-align: right;
}
.hours__row.is-closed dt,
.hours__row.is-closed dd { color: rgba(243, 237, 227, 0.55); }
.hours__row.is-closed dd { font-style: italic; }
.hours__row.is-today dt,
.hours__row.is-today dd { color: var(--c-cream); }
.hours__today {
  padding: 0.12rem 0.45rem;
  border-radius: 2px;
  background: var(--c-bordeaux);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c-cream);
}
.hours__note {
  margin: 1.25rem 0 0;
  font-size: 0.82rem;
  line-height: 1.55;
  color: rgba(243, 237, 227, 0.6);
}
.hours__note:empty { display: none; }
.visit__reserve-hint {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin: 1.5rem 0 0;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line-light);
  font-size: 0.88rem;
  color: var(--c-brass);
}

/* ==========================================================================
   8. FOOTER
   ========================================================================== */
.footer {
  padding-top: clamp(3.5rem, 6vw, 5rem);
  background: var(--c-night);
  color: var(--c-paper-muted);
  font-size: 0.95rem;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
}
.footer p { margin: 0 0 0.5rem; }
.footer__name {
  margin-bottom: 0.75rem !important;
  font-family: var(--font-serif);
  font-size: 2.1rem;
  font-weight: 500;
  line-height: 1.1;
  color: var(--c-cream);
}
.footer__name em { color: var(--c-brass); }
.footer__label {
  margin-bottom: 0.9rem !important;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--c-brass);
}
.footer address { margin-bottom: 0.6rem; line-height: 1.7; }
.footer__link {
  display: inline-block;
  padding: 0.15rem 0;
  color: var(--c-cream);
  text-decoration: underline;
  text-decoration-color: rgba(179, 154, 112, 0.6);
  text-underline-offset: 0.3em;
  transition: text-decoration-color 0.3s;
}
.footer__link:hover { text-decoration-color: var(--c-brass); }
.footer__phone { margin-bottom: 0.4rem; font-size: 1.05rem; }
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem 2rem;
  padding-block: 1.6rem max(1.6rem, env(safe-area-inset-bottom));
  border-top: 1px solid var(--line-light);
  font-size: 0.8rem;
}
.footer__demo {
  margin: 0 !important;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(243, 237, 227, 0.62);
}
.footer__top {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  text-decoration: none;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: color 0.3s;
}
.footer__top:hover { color: var(--c-cream); }

.credits { flex: 1 1 18rem; }
.credits summary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  list-style: none;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.credits summary::-webkit-details-marker { display: none; }
.credits summary::after {
  content: "+";
  font-size: 1rem;
  line-height: 1;
  color: var(--c-brass);
}
.credits[open] summary::after { content: "–"; }
.credits summary:hover { color: var(--c-cream); }
.credits__body {
  max-width: 52rem;
  margin-top: 1rem;
  line-height: 1.6;
}
.credits__body strong { color: var(--c-cream); font-weight: 600; }
.credits__list {
  margin: 0.75rem 0 0;
  padding: 0;
  list-style: none;
  columns: 2 18rem;
  column-gap: 2rem;
}
.credits__list li {
  break-inside: avoid;
  padding: 0.3rem 0;
}
.credits__list a {
  color: var(--c-cream);
  text-decoration-color: rgba(179, 154, 112, 0.6);
  text-underline-offset: 0.25em;
}

/* ---------- Footer: Links zu Impressum & Datenschutz ---------- */
.footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.5rem;
}
.footer__legal a {
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  transition: color 0.3s;
}
.footer__legal a:hover,
.footer__legal a[aria-current="page"] { color: var(--c-cream); }
.footer__legal a[aria-current="page"] {
  text-decoration: underline;
  text-decoration-color: var(--c-brass);
  text-underline-offset: 0.35em;
}

/* ==========================================================================
   9. RECHTLICHE SEITEN (impressum.html, datenschutz.html)
   ========================================================================== */
.header__back { margin-left: auto; }
.legal {
  min-height: 70vh;
  padding-top: calc(var(--header-h) + clamp(2.5rem, 6vw, 4.5rem));
  padding-bottom: var(--section-y);
}
.legal__inner { max-width: 46rem; }
.legal__title {
  margin-bottom: 1rem;
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 1.8rem + 2.6vw, 3.6rem);
  font-weight: 500;
  line-height: 1.05;
}
.legal__intro { color: var(--c-ink-muted); }
.legal__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  margin: 0 0 2.25rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.legal h2 {
  margin: 2.5rem 0 0.9rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--line-dark);
  font-family: var(--font-serif);
  font-size: clamp(1.55rem, 1.35rem + 0.8vw, 1.95rem);
  font-weight: 600;
  line-height: 1.2;
}
.legal h3 {
  margin: 1.6rem 0 0.45rem;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.4;
}
.legal ul { margin: 0 0 1.15em; padding-left: 1.2rem; }
.legal li { margin-bottom: 0.45em; }
.legal address { margin-bottom: 1.15em; line-height: 1.7; }
.legal a {
  color: var(--c-bordeaux);
  text-decoration: underline;
  text-underline-offset: 0.2em;
  overflow-wrap: anywhere;
}
.legal a:hover { text-decoration-thickness: 2px; }
.legal__note {
  margin: 1.5rem 0;
  padding: 1rem 1.25rem;
  border-left: 2px solid var(--c-brass);
  background: var(--c-cream-2);
}
.legal__note p:last-child { margin-bottom: 0; }
.legal__meta {
  margin-top: 2.5rem;
  font-size: 0.9rem;
  color: var(--c-ink-muted);
}
.footer--legal { padding-top: 0; }

/* ==========================================================================
   Scroll-Animationen
   ========================================================================== */
.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
}
.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}
.js .kitchen__themes .theme.reveal:nth-child(2) { transition-delay: 0.12s; }
.js .kitchen__themes .theme.reveal:nth-child(3) { transition-delay: 0.24s; }

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
  }
  .js .reveal { opacity: 1; transform: none; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1100px) {
  .nav__list { gap: 1.6rem; }
  .header__inner { gap: 1.75rem; }
}

@media (max-width: 960px) {
  :root { --header-h: 66px; }

  .nav { display: none; }
  .menu-toggle { display: block; }
  .header__inner { gap: 0.75rem; }
  .brand__name { font-size: 1.45rem; }
  .brand__kicker { font-size: 0.55rem; }

  .restaurant__media {
    grid-column: 1 / -1;
    width: calc(100% - 1.25rem);
    max-width: 34rem;
    padding-right: 22%;
    padding-bottom: 3.5rem;
    margin: 0 0 3rem 1.25rem;
  }
  .restaurant__text { grid-column: 1 / -1; }
  .frame--small { width: 42%; }

  .kitchen__intro { grid-template-columns: 1fr; gap: 2rem; }

  .visit__grid { grid-template-columns: minmax(0, 1fr); }
  .visit__hours { max-width: 34rem; }

  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 860px) {
  /* Wein: Bild oben, Text darunter */
  .wine {
    display: block;
    min-height: 0;
  }
  .wine__media {
    min-height: 0;
    aspect-ratio: 1 / 1;
    max-height: 80vh;
    width: 100%;
  }
  .wine__media::after {
    background: linear-gradient(0deg, var(--c-night) 0%, rgba(20, 19, 17, 0.4) 22%, rgba(20, 19, 17, 0) 50%);
  }
  .wine__media img { object-position: 50% 50%; }
  .wine .img-note { top: 0.6rem; bottom: auto; }
  .wine__content {
    position: relative;
    display: block;
    margin-top: -2.5rem;
    padding: 0 var(--gutter) var(--section-y);
  }
  .wine__text { max-width: 40rem; }
}

@media (max-width: 760px) {
  /* Küchenthemen kompakt: Bild links, Text rechts – statt drei hoher Blöcke untereinander */
  .kitchen__themes { grid-template-columns: 1fr; gap: 1.75rem; }
  .theme {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
    column-gap: 1.1rem;
    align-items: start;
  }
  .theme:nth-child(2),
  .theme:nth-child(3) { margin-top: 0; }
  .theme__body { padding-top: 0.15rem; }
  .theme__num { margin-bottom: 0.45rem; }
  .theme h3 { margin-bottom: 0.35rem; font-size: 1.65rem; }
  .theme p { font-size: 0.94rem; line-height: 1.6; }
  .theme .img-note { right: 0.35rem; bottom: 0.35rem; font-size: 0.56rem; letter-spacing: 0.1em; }
  .js .kitchen__themes .theme.reveal:nth-child(n) { transition-delay: 0s; }
}

@media (max-width: 700px) {
  body { font-size: 1rem; }
  .eyebrow { font-size: 0.68rem; letter-spacing: 0.22em; gap: 0.75rem; margin-bottom: 1.2rem; }
  .eyebrow::before { width: 1.75rem; }

  .hero__inner { padding-top: calc(var(--header-h) + 3rem); padding-bottom: 2rem; }
  .hero__shade {
    background:
      linear-gradient(0deg, rgba(20, 19, 17, 0.96) 0%, rgba(20, 19, 17, 0.82) 38%, rgba(20, 19, 17, 0.3) 70%, rgba(20, 19, 17, 0.45) 100%);
  }
  .hero__media img { object-position: 50% 30%; }
  .hero__title { font-size: clamp(2.75rem, 12.5vw, 3.6rem); margin-bottom: 1.25rem; }
  .hero__lead { margin-bottom: 1.9rem; }
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; }
  .hero__meta { font-size: 0.65rem; letter-spacing: 0.14em; padding-block: 1rem; }
  .hero__facts { flex-direction: column; align-items: flex-start; gap: 0.3rem; }
  .hero__dot { display: none; }
  .hero__scroll { display: none; }

  .restaurant__media { width: calc(100% - 0.9rem); margin-left: 0.9rem; margin-bottom: 2.5rem; padding-right: 18%; padding-bottom: 3rem; }
  .restaurant__media::before { top: -0.9rem; left: -0.9rem; }
  .frame--small { border-width: 6px; }

  .pillars h3 { font-size: 1.35rem; }

  .kitchen__note { flex-direction: column; align-items: stretch; }
  .kitchen__note .btn { width: 100%; }

  .gallery__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 44vw;
  }
  .gallery__item--single-sm { grid-column: span 1; }
  .gallery__hint { max-width: none; }

  .visit__actions { flex-direction: column; }
  .visit__actions .btn { width: 100%; }

  .lightbox__frame { padding: 4.25rem 0.75rem 6.5rem; }
  .lightbox__img { max-height: calc(100dvh - 11.5rem); }
  .lightbox__prev,
  .lightbox__next {
    top: auto;
    bottom: 1.1rem;
    transform: none;
  }
  .lightbox__prev { left: calc(50% - 3.75rem); }
  .lightbox__next { right: calc(50% - 3.75rem); }
  .lightbox__caption { padding-inline: 0.5rem; }

  .visit__hours { padding: 1.75rem 1.25rem; }
  .visit__hours::before { left: 1.25rem; }
  .hours__row dt { gap: 0.45rem; }

  .footer__grid { grid-template-columns: 1fr; gap: 1.6rem; padding-bottom: 2.5rem; }
  .footer__bottom { flex-direction: column; }
  .credits { flex: none; }
}

@media (max-width: 420px) {
  .eyebrow { font-size: 0.64rem; letter-spacing: 0.16em; }
  .eyebrow::before { width: 1.25rem; }
}

@media (max-width: 374px) {
  .header__inner { gap: 0.6rem; }
  .header__cta {
    min-height: 2.4rem;
    padding: 0.5rem 0.7rem;
    font-size: 0.68rem;
    letter-spacing: 0.06em;
  }
  .brand__name { font-size: 1.25rem; }
  .visit__hours { padding-inline: 1rem; }
  .visit__hours::before { left: 1rem; }
  .hours__row { font-size: 0.95rem; }
}

@media (max-width: 350px) {
  .header__cta { display: none; }
}
