@import url("../fonts/fonts.css?v=2");

/* ============================================================
   Vino Firenze — Design-System
   Aesthetik: "Cantina" — warmes Papier, Bordeaux, Messing-Gold.
   Editorial, asymmetrisch, ruhige Flaechen, feine Haarlinien.
   ============================================================ */

:root {
  /* Farben */
  --ink:        #201814;
  --ink-soft:   #4A3E36;
  --ink-mute:   #7C6D62;
  --paper:      #F8F3EA;
  --paper-2:    #F1E9DC;
  --paper-3:    #E8DECB;
  --wine:       #6E1B2A;
  --wine-deep:  #4A1019;
  --wine-glow:  #8E2436;
  --gold:       #A8813C;
  --gold-soft:  #C9A55F;
  --night:      #171110;
  --night-2:    #221917;

  /* Typografie */
  --display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --body: "Karla", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Raster & Rhythmus */
  --wrap: 1200px;
  --wrap-narrow: 760px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --sp-section: clamp(5rem, 11vw, 9.5rem);
  --sp-block: clamp(2.5rem, 5vw, 4.5rem);

  /* Bewegung */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --dur: 260ms;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.75;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; height: auto; }

a { color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 400;
  line-height: 1.06;
  letter-spacing: -0.012em;
  margin: 0;
  text-wrap: balance;
  overflow-wrap: break-word;
}

/* Lange deutsche Woerter duerfen umbrechen statt zu ueberlaufen */
p, li, dd, dt, figcaption, blockquote { overflow-wrap: break-word; hyphens: auto; }
p { text-wrap: pretty; }

/* Erzwungener Zeilenumbruch nur ab mittlerer Breite */
.br-lg { display: none; }
@media (min-width: 720px) { .br-lg { display: inline; } }

h1 { font-size: clamp(2.9rem, 7.4vw, 5.6rem); }
/* Seitentitel der Unterseiten: gleiche Groesse wie H2, aber semantisch H1 */
h1.page-title { font-size: clamp(2.1rem, 4.6vw, 3.5rem); }
h2 { font-size: clamp(2.1rem, 4.6vw, 3.5rem); }
h3 { font-size: clamp(1.4rem, 2.3vw, 1.9rem); }

p { margin: 0 0 1.15em; }
p:last-child { margin-bottom: 0; }

/* Luft nach Ueberschriften — sonst kleben Titel und Text aneinander */
h1 + p, h2 + p, h3 + p, h4 + p,
h2 + ul, h3 + ul, h2 + .hours, h3 + .hours { margin-top: 1.15rem; }
h3 + p { margin-top: 0.8rem; }

/* ---------- Bausteine ---------- */

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--narrow { max-width: var(--wrap-narrow); }

.eyebrow {
  font-family: var(--body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 1.4rem;
  display: flex;
  align-items: center;
  gap: 0.9rem;
}
.eyebrow::before {
  content: "";
  width: 2.2rem;
  height: 1px;
  background: currentColor;
  opacity: 0.65;
  flex: none;
}
.eyebrow--center { justify-content: center; }
.eyebrow--center::after {
  content: "";
  width: 2.2rem; height: 1px; background: currentColor; opacity: 0.65; flex: none;
}

.lead { font-size: clamp(1.1rem, 1.7vw, 1.3rem); color: var(--ink-soft); line-height: 1.65; }

/* ---------- Buttons: Fuellung waechst von unten ---------- */

.btn {
  --btn-fg: var(--paper);
  --btn-bg: var(--wine);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 52px;
  padding: 0.95rem 2.1rem;
  border: 1px solid var(--btn-bg);
  border-radius: 2px;
  background: transparent;
  color: var(--btn-bg);
  font-family: var(--body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.19em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--btn-bg);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform var(--dur) var(--ease);
}
.btn:hover, .btn:focus-visible { color: var(--btn-fg); }
.btn:hover::after, .btn:focus-visible::after { transform: scaleY(1); }
.btn--solid { background: var(--wine); color: var(--paper); }
.btn--solid::after { background: var(--wine-deep); }
.btn--ghost { --btn-bg: var(--paper); --btn-fg: var(--night); color: var(--paper); border-color: rgba(248,243,234,0.55); }
.btn--ghost:hover { border-color: var(--paper); }

/* ---------- Textlink mit wandernder Unterlinie ---------- */

.link {
  position: relative;
  text-decoration: none;
  font-weight: 500;
  padding-bottom: 2px;
}
.link::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--dur) var(--ease);
}
.link:hover::after, .link:focus-visible::after { transform: scaleX(1); transform-origin: left; }

/* ---------- Kopfzeile ---------- */

/* Hinweisleiste und Kopfzeile bilden einen gemeinsamen fixierten Block,
   sonst verdeckt die Kopfzeile den Hinweis. */
.topbar { position: fixed; inset: 0 0 auto 0; z-index: 100; }

.site-head {
  position: relative;
  display: flex;
  align-items: center;
  gap: var(--gutter);
  padding: 1.1rem var(--gutter);
  transition: background var(--dur) var(--ease), box-shadow var(--dur) var(--ease), padding var(--dur) var(--ease);
}
.site-head::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to bottom, rgba(23,17,16,0.72), rgba(23,17,16,0));
  transition: opacity var(--dur) var(--ease);
}
.site-head.is-stuck {
  background: var(--paper);
  box-shadow: 0 1px 0 var(--paper-3), 0 10px 30px -22px rgba(32,24,20,0.5);
  padding-block: 0.7rem;
}
.site-head.is-stuck::before { opacity: 0; }

.brand { display: flex; align-items: center; gap: 0.8rem; text-decoration: none; margin-right: auto; }
.brand img { width: 54px; height: auto; transition: transform var(--dur) var(--ease); }
.brand:hover img { transform: rotate(-4deg) scale(1.06); }
.brand span {
  font-family: var(--display);
  font-size: 1.32rem;
  letter-spacing: 0.02em;
  color: var(--paper);
  transition: color var(--dur) var(--ease);
  white-space: nowrap;
}
.is-stuck .brand span, .page-light .brand span { color: var(--ink); }

.nav-close { display: none; }
/* Telefonnummer steht am Desktop bereits im Header — im Menue ausblenden */
.nav__tel { display: none; }
.nav { display: flex; align-items: center; gap: clamp(1rem, 2.4vw, 2.2rem); }
.nav a {
  position: relative;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.19em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--paper);
  padding: 0.6rem 0;
  white-space: nowrap;
  transition: color var(--dur) var(--ease);
}
.is-stuck .nav a, .page-light .nav a { color: var(--ink-soft); }
.nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  height: 1px; width: 100%;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--dur) var(--ease);
}
.nav a:hover::after, .nav a:focus-visible::after, .nav a[aria-current="page"]::after {
  transform: scaleX(1); transform-origin: left;
}
.nav a[aria-current="page"] { color: var(--gold); }

.head-tel {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.08em;
  text-decoration: none; color: var(--paper);
  border: 1px solid rgba(248,243,234,0.4);
  border-radius: 2px;
  padding: 0.6rem 1.05rem;
  min-height: 44px;
  white-space: nowrap;
  flex: none;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.head-tel svg { width: 15px; height: 15px; }
.is-stuck .head-tel, .page-light .head-tel { color: var(--wine); border-color: var(--wine); }
.head-tel:hover { background: var(--wine); color: var(--paper); border-color: var(--wine); }

.nav-toggle {
  display: none;
  width: 46px; height: 46px;
  border: 1px solid rgba(248,243,234,0.4);
  border-radius: 2px;
  background: transparent;
  cursor: pointer;
  padding: 0;
  align-items: center; justify-content: center;
}
.is-stuck .nav-toggle, .page-light .nav-toggle { border-color: var(--ink-mute); }
.nav-toggle span { display: block; width: 20px; height: 1.5px; background: var(--paper); position: relative; transition: background var(--dur) var(--ease); }
.is-stuck .nav-toggle span, .page-light .nav-toggle span { background: var(--ink); }
.nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 0; width: 20px; height: 1.5px; background: inherit;
  transition: transform var(--dur) var(--ease), top var(--dur) var(--ease);
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
/* Der Hamburger bleibt in jedem Zustand unveraendert — kein Morph, kein Farbwechsel.
   Geschlossen wird ueber das X im Panel. */

/* ---------- Hinweisleiste ---------- */

.notice {
  margin: 0;
  background: var(--wine-deep);
  color: rgba(248,243,234,0.92);
  font-size: 0.73rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  text-align: center;
  padding: 0.7rem var(--gutter);
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: min(94vh, 880px);
  display: flex;
  align-items: flex-end;
  padding: calc(var(--topbar-h, 150px) + clamp(2.5rem, 7vw, 6rem)) 0 clamp(3rem, 7vw, 6rem);
  background: var(--night);
  overflow: hidden;
}
.hero__media { position: absolute; inset: 0; z-index: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; opacity: 0.82; }
/* Scrim: sichert Lesbarkeit, verhindert Text-auf-Bild-Matsch */
.hero__media::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(to right, rgba(20,14,13,0.94) 0%, rgba(20,14,13,0.72) 42%, rgba(20,14,13,0.18) 78%),
    linear-gradient(to top, rgba(20,14,13,0.85) 0%, rgba(20,14,13,0) 45%);
}
.hero__inner { position: relative; z-index: 1; width: 100%; }
.hero__body { max-width: 41rem; }
.hero h1 { color: var(--paper); }
.hero h1 em { font-style: italic; color: var(--gold-soft); }
.hero__sub {
  color: rgba(248,243,234,0.82);
  font-size: clamp(1.05rem, 1.6vw, 1.22rem);
  max-width: 33rem;
  margin-top: 1.6rem;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 2.4rem; }
.hero__meta {
  display: flex; flex-wrap: wrap; gap: 1.1rem 2.6rem;
  margin-top: clamp(2.6rem, 5vw, 4rem);
  padding-top: 1.6rem;
  border-top: 1px solid rgba(248,243,234,0.18);
}
.hero__meta div { color: rgba(248,243,234,0.62); font-size: 0.76rem; letter-spacing: 0.16em; text-transform: uppercase; }
.hero__meta strong .stars, .hero__meta strong { letter-spacing: 0.04em; }

/* Historisches Bild samt Jahreszahl als ein zusammengehoeriges Objekt:
   Bild und Unterschrift sitzen in einem gemeinsamen Rahmen, ohne Trennlinie
   dazwischen — die Unterschrift erklaert das Bild, sie steht nicht daneben. */
.histfig {
  margin: 0;
  border: 1px solid rgba(201,165,95,0.28);
  background: rgba(248,243,234,0.045);
}
.histfig .zoom { display: block; }
.histfig img { width: 100%; }
.histfig figcaption {
  display: flex;
  align-items: baseline;
  gap: 0.95rem;
  margin: 0;
  padding: 1.15rem 1.35rem 1.35rem;
  font-size: 0.97rem;
  line-height: 1.6;
  color: rgba(248,243,234,0.76);
}
.histfig__year {
  font-family: var(--display);
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  line-height: 0.9;
  color: var(--gold-soft);
  flex: none;
}
@media (max-width: 560px) {
  .histfig figcaption { flex-wrap: wrap; gap: 0.4rem 0.9rem; }
}

/* Schlusssatz eines Abschnitts */
.closing {
  margin-top: 1.8rem;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(248,243,234,0.18);
  font-family: var(--display);
  font-size: clamp(1.3rem, 2.2vw, 1.7rem);
  line-height: 1.35;
  color: var(--paper);
}

/* Jahreszahl im Geschichts-Abschnitt */
.era { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.9rem; margin-top: 1.6rem; }
.era__year {
  font-family: var(--display);
  font-size: clamp(2.6rem, 6vw, 3.8rem);
  line-height: 1;
  color: var(--gold-soft);
  flex: none;
}
.section--night .era { color: rgba(248,243,234,0.72); }
.era > :not(.era__year) { flex: 1 1 14rem; }
.hero__meta strong { display: block; font-family: var(--display); font-size: 1.5rem; letter-spacing: 0; text-transform: none; color: var(--paper); font-weight: 400; margin-top: 0.25rem; }

/* ---------- Sektionen ---------- */

.section { padding-block: var(--sp-section); }
/* Erste Sektion heller Seiten: muss die fixierte Leiste freihalten */
.section--first { padding-top: calc(var(--topbar-h, 150px) + clamp(2.5rem, 5vw, 4.5rem)); }
.section--paper2 { background: var(--paper-2); }
.section--night { background: var(--night); color: rgba(248,243,234,0.86); }
.section--night h2 { color: var(--paper); }
.section--night .eyebrow { color: var(--gold-soft); }

.section-head { max-width: 44rem; margin-bottom: var(--sp-block); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head p { margin-top: 1.2rem; color: var(--ink-soft); }
.section--night .section-head p { color: rgba(248,243,234,0.72); }

/* ---------- Editorial-Split: Bild und Text versetzt ---------- */

.split { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.split__media { grid-column: 1 / span 7; position: relative; }
.split__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.split__text { grid-column: 9 / span 4; }
.split--flip .split__media { grid-column: 6 / span 7; grid-row: 1; }
.split--flip .split__text { grid-column: 1 / span 4; grid-row: 1; }

/* Versetzter Rahmen als Tiefenwirkung statt Schlagschatten */
.framed { position: relative; }
.framed::before {
  content: "";
  position: absolute;
  inset: -14px -14px 14px 14px;
  border: 1px solid var(--gold);
  opacity: 0.5;
  pointer-events: none;
  transition: inset var(--dur) var(--ease), opacity var(--dur) var(--ease);
}
.framed:hover::before { inset: -20px -20px 20px 20px; opacity: 0.85; }

.zoom { overflow: hidden; }
.zoom img { transition: transform 620ms var(--ease), filter 620ms var(--ease); }
.zoom:hover img { transform: scale(1.045); filter: saturate(1.06); }

/* ---------- Karten ---------- */

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr)); gap: clamp(1.25rem, 2.6vw, 2rem); }

.card {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--paper-3);
  padding: 2.2rem 1.9rem 2rem;
  display: flex; flex-direction: column; gap: 0.85rem;
  transition: transform var(--dur) var(--ease), border-color var(--dur) var(--ease), background var(--dur) var(--ease);
}
.card::before {
  content: "";
  position: absolute; left: 0; top: 0;
  width: 100%; height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 380ms var(--ease);
}
.card:hover { transform: translateY(-5px); border-color: var(--gold-soft); }
.card:hover::before { transform: scaleX(1); }
.card h3 { font-size: 1.45rem; }
.card p { color: var(--ink-soft); font-size: 0.98rem; margin: 0; }
.card__num { font-family: var(--display); font-size: 0.95rem; color: var(--gold); letter-spacing: 0.2em; }

/* ---------- Speisekarte ---------- */

.menu-group { margin-bottom: clamp(2.6rem, 5vw, 4rem); break-inside: avoid; }
.menu-group > h3 {
  font-size: 1.05rem;
  font-family: var(--body);
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--wine);
  padding-bottom: 0.85rem;
  margin-bottom: 1.3rem;
  border-bottom: 1px solid var(--paper-3);
}
.menu-list { list-style: none; margin: 0; padding: 0; }
.menu-item {
  display: flex; align-items: baseline; gap: 0.6rem 0.9rem;
  flex-wrap: wrap;
  padding: 0.62rem 0;
  transition: color var(--dur) var(--ease);
}
.menu-item:hover { color: var(--wine); }
.menu-item__name { font-size: 1.02rem; flex: 1 1 55%; min-width: 0; }
.menu-item__dots { flex: 1 1 1.4rem; border-bottom: 1px dotted var(--paper-3); transform: translateY(-3px); min-width: 1.4rem; }
/* Lange Mengenangaben duerfen umbrechen, sonst laeuft die Seite waagerecht ueber */
.menu-item__price {
  font-family: var(--display); font-size: 1.15rem; color: var(--ink);
  text-align: right; flex: 0 1 auto; min-width: 0;
}
@media (max-width: 560px) {
  .menu-item__dots { display: none; }
  .menu-item__name { flex: 1 1 100%; }
  .menu-item__price { flex: 1 1 100%; text-align: left; font-size: 1.05rem; color: var(--wine); }
}
.menu-note { font-size: 0.9rem; color: var(--ink-mute); font-style: italic; margin-top: 0.7rem; }
.menu-cols { columns: 2; column-gap: clamp(2rem, 5vw, 4.5rem); }

.dish {
  display: grid; grid-template-columns: 8.5rem 1fr auto; gap: 1.5rem; align-items: center;
  padding: 1.35rem 0; border-bottom: 1px solid var(--paper-3);
}
.dish:first-child { border-top: 1px solid var(--paper-3); }
.dish img { width: 8.5rem; height: 6.4rem; object-fit: cover; }
.dish h3 { font-size: 1.5rem; margin-bottom: 0.3rem; }
.dish p { font-size: 0.95rem; color: var(--ink-soft); margin: 0; }
.dish__price { font-family: var(--display); font-size: 1.55rem; color: var(--wine); white-space: nowrap; }

/* ---------- Zitate ---------- */

.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr)); gap: clamp(1.5rem, 3vw, 2.5rem); }
.quote { position: relative; padding-top: 2.6rem; }
.quote::before {
  content: "\201C";
  position: absolute; top: -0.7rem; left: -0.4rem;
  font-family: var(--display);
  font-size: 6rem; line-height: 1;
  color: var(--gold); opacity: 0.32;
}
.quote p { font-family: var(--display); font-size: 1.22rem; line-height: 1.55; font-style: italic; }
.quote footer { margin-top: 1rem; font-size: 0.76rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-mute); }
.stars { color: var(--gold); letter-spacing: 0.22em; font-size: 0.8rem; }
.section--night .quote p { color: var(--paper); }
.section--night .quote footer { color: rgba(248,243,234,0.6); }

/* ---------- Bewertung: 4,5 von 5 als halb gefuellter Stern ---------- */

.rating { display: inline-flex; align-items: center; gap: 0.8rem; flex-wrap: wrap; }
.rating__stars { position: relative; display: inline-block; line-height: 0; flex: none; }
.rating__stars svg { width: 1.1em; height: 1.1em; display: inline-block; }
.rating__base { color: var(--paper-3); }
.section--night .rating__base { color: rgba(248,243,234,0.24); }
/* Der gefuellte Teil liegt deckungsgleich darueber und wird beschnitten */
.rating__fill {
  position: absolute; inset: 0 auto 0 0;
  overflow: hidden; white-space: nowrap; line-height: 0;
  color: var(--gold-soft);
}
.rating__value { font-family: var(--display); font-size: 1.45rem; line-height: 1; color: var(--ink); }
.section--night .rating__value { color: var(--paper); }
.rating__meta { font-size: 0.82rem; color: var(--ink-mute); letter-spacing: 0.01em; text-transform: none; }
.section--night .rating__meta { color: rgba(248,243,234,0.7); }

.hero__meta .rating { gap: 0.45rem; }
.hero__meta .rating__stars svg { width: 0.9em; height: 0.9em; }
.hero__meta .rating__base { color: rgba(248,243,234,0.28); }

/* ---------- Oeffnungszeiten ---------- */

.hours { list-style: none; margin: 0; padding: 0; }
.hours li {
  display: flex; justify-content: space-between; gap: 2rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--paper-3);
  font-size: 1rem;
}
.section--night .hours li { border-color: rgba(248,243,234,0.14); }
.hours li:last-child { border-bottom: 0; }
.hours dt, .hours .day { letter-spacing: 0.05em; }
.hours .closed { color: var(--wine-glow); }
.section--night .hours .closed { color: var(--gold-soft); }

/* ---------- Galerie ---------- */

.gallery { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(0.75rem, 1.6vw, 1.15rem); }
.gallery figure { margin: 0; overflow: hidden; }
.gallery img { width: 100%; height: 100%; object-fit: cover; }
.g-a { grid-column: span 7; aspect-ratio: 16 / 11; }
.g-b { grid-column: span 5; aspect-ratio: 4 / 5; }
.g-c { grid-column: span 4; aspect-ratio: 1 / 1; }
.g-d { grid-column: span 4; aspect-ratio: 1 / 1; }
.g-e { grid-column: span 4; aspect-ratio: 1 / 1; }

/* ---------- Kontaktband ---------- */

.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); gap: clamp(1.5rem, 4vw, 3.5rem); }
.contact-grid h3 { font-family: var(--body); font-size: 0.74rem; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.9rem; }
.contact-grid a { text-decoration: none; }

/* ---------- Fusszeile ---------- */

.site-foot { background: var(--night-2); color: rgba(248,243,234,0.68); padding-block: clamp(3.5rem, 7vw, 5.5rem) 2rem; }
.foot-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.site-foot .foot-h {
  font-family: var(--body); font-size: 0.72rem; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--gold-soft); margin: 0 0 0.8rem; font-weight: 700;
}
.site-foot ul { list-style: none; margin: 0; padding: 0; display: grid; }
/* Antippbare Flaeche: mindestens 44 px hoch */
.site-foot li a, .foot-bottom a {
  display: inline-flex; align-items: center; min-height: 44px;
  color: rgba(248,243,234,0.78); text-decoration: none;
  transition: color var(--dur) var(--ease);
}
.site-foot a:hover, .site-foot a:focus-visible { color: var(--gold-soft); }
.foot-brand { display: flex; align-items: center; gap: 0.9rem; margin-bottom: 1.2rem; }
.foot-brand img { width: 52px; }
.foot-brand span { font-family: var(--display); font-size: 1.3rem; color: var(--paper); }
.foot-bottom {
  margin-top: clamp(2.5rem, 5vw, 4rem); padding-top: 1.6rem;
  border-top: 1px solid rgba(248,243,234,0.13);
  display: flex; flex-wrap: wrap; gap: 1rem 2rem; justify-content: space-between;
  font-size: 0.82rem;
}

/* ---------- Rechtstexte ---------- */

.legal { max-width: 46rem; }
.legal h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin: 2.6rem 0 1rem; }
.legal h3 { font-size: 1.2rem; margin: 1.9rem 0 0.7rem; font-family: var(--body); font-weight: 700; letter-spacing: 0.01em; }
.legal p, .legal li { color: var(--ink-soft); font-size: 1rem; }
.legal ul { padding-left: 1.2rem; }
.legal a { color: var(--wine); }

/* ---------- Impressum: zweispaltige Gliederung statt Textblock ---------- */

.imprint { max-width: 46rem; }
.imprint__row {
  display: grid;
  grid-template-columns: minmax(0, 15rem) minmax(0, 1fr);
  gap: 0.6rem 2.5rem;
  padding: 1.5rem 0;
  border-top: 1px solid var(--paper-3);
}
.imprint__row:first-child { border-top: 0; padding-top: 0; }
.imprint h2 {
  font-family: var(--body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0.35rem 0 0;
  line-height: 1.5;
}
.imprint address {
  font-style: normal;
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--ink);
}
.imprint dl {
  margin: 0;
  display: grid;
  grid-template-columns: minmax(0, auto) minmax(0, 1fr);
  gap: 0.35rem 1.4rem;
  align-items: baseline;
}
.imprint dt { color: var(--ink-mute); font-size: 0.92rem; }
.imprint dd { margin: 0; color: var(--ink); font-size: 1.02rem; }
.imprint p { color: var(--ink-soft); margin: 0; }

@media (max-width: 720px) {
  .imprint__row { grid-template-columns: minmax(0, 1fr); gap: 0.75rem; }
  .imprint dl { grid-template-columns: minmax(0, 1fr); gap: 0.15rem; }
  .imprint dt { font-size: 0.78rem; letter-spacing: 0.06em; text-transform: uppercase; }
  .imprint dd { margin-bottom: 0.7rem; }
}

/* ---------- Einblenden beim Scrollen ---------- */

.reveal { opacity: 0; transform: translateY(22px); transition: opacity 700ms var(--ease), transform 700ms var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 90ms; }
.reveal[data-delay="2"] { transition-delay: 180ms; }
.reveal[data-delay="3"] { transition-delay: 270ms; }

/* ---------- Fokus & Zugaenglichkeit ---------- */

:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 2px; }

.skip {
  position: absolute; left: 50%; top: 0; transform: translate(-50%, -140%);
  background: var(--wine); color: var(--paper); padding: 0.8rem 1.4rem;
  z-index: 200; text-decoration: none; font-size: 0.85rem;
  transition: transform var(--dur) var(--ease);
}
.skip:focus { transform: translate(-50%, 0); }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- Responsiv ---------- */

@media (max-width: 1000px) {
  /* Einspaltig statt 12 Spalten: sonst summieren sich die elf Rasterluecken
     breiter als der Bildschirm und die Seite laeuft waagerecht ueber. */
  .split { grid-template-columns: minmax(0, 1fr); gap: clamp(1.75rem, 5vw, 2.75rem); }
  .split__media, .split--flip .split__media,
  .split__text, .split--flip .split__text { grid-column: 1; grid-row: auto; }
  .foot-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 1024px) {
  .nav-toggle { display: inline-flex; }
  /* ---- Mobiles Menue: eigenstaendiges Panel mit Schliessen-Kreuz ---- */
  .nav {
    position: fixed;
    inset: var(--topbar-h, 135px) 0 0 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    background: var(--paper);
    padding: clamp(1.5rem, 6vw, 2.75rem) var(--gutter) 2rem;
    overflow-y: auto;
    visibility: hidden;
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity 300ms var(--ease), transform 300ms var(--ease), visibility 0s linear 300ms;
  }
  .nav.is-open { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }

  .nav a {
    font-family: var(--display);
    font-size: clamp(1.9rem, 8vw, 2.6rem);
    font-weight: 400;
    letter-spacing: -0.01em;
    text-transform: none;
    color: var(--ink);
    padding: 0.65rem 0;
    border-bottom: 1px solid var(--paper-3);
    display: flex;
    align-items: baseline;
    gap: 1rem;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 420ms var(--ease), transform 420ms var(--ease), color var(--dur) var(--ease);
  }
  .nav.is-open a { opacity: 1; transform: none; }
  .nav.is-open a:nth-child(2) { transition-delay: 60ms; }
  .nav.is-open a:nth-child(3) { transition-delay: 110ms; }
  .nav.is-open a:nth-child(4) { transition-delay: 160ms; }
  .nav.is-open a:nth-child(5) { transition-delay: 210ms; }
  .nav.is-open a:nth-child(6) { transition-delay: 260ms; }
  .nav a::after { display: none; }
  .nav a::before {
    content: counter(navnr, decimal-leading-zero);
    counter-increment: navnr;
    font-family: var(--body);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    color: var(--gold);
    flex: none;
  }
  .nav { counter-reset: navnr; }
  .nav a[aria-current="page"] { color: var(--wine); }
  .nav a:active { color: var(--wine); }

  /* Schliessen-Kreuz im Panel */
  .nav-close {
    align-self: flex-end;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px; height: 48px;
    margin-bottom: 0.5rem;
    border: 1px solid var(--paper-3);
    border-radius: 2px;
    background: transparent;
    color: var(--ink);
    cursor: pointer;
    transition: border-color var(--dur) var(--ease), color var(--dur) var(--ease);
  }
  .nav-close svg { width: 20px; height: 20px; }
  .nav-close:hover, .nav-close:focus-visible { border-color: var(--wine); color: var(--wine); }

  /* Telefon-Aufruf am Fuss des Panels */
  .nav__tel {
    display: flex;
    margin-top: auto;
    padding-top: 2rem;
    font-family: var(--body) !important;
    font-size: 0.78rem !important;
    letter-spacing: 0.19em !important;
    text-transform: uppercase !important;
    color: var(--wine) !important;
    border-bottom: 0 !important;
  }
  .nav__tel::before { content: none !important; }

  .head-tel span { display: none; }
  .head-tel { padding: 0.6rem 0.85rem; }
  .menu-cols { columns: 1; }
  /* Galerie auf zwei echte Spalten umstellen statt 12 Spalten mit elf Luecken */
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery > * { grid-column: auto !important; aspect-ratio: 1 / 1 !important; }
  .g-a { grid-column: 1 / -1 !important; aspect-ratio: 16 / 10 !important; }
}

@media (max-width: 620px) {
  .dish { grid-template-columns: 1fr auto; }
  .dish img { display: none; }
  .foot-top { grid-template-columns: 1fr; }
  .hero { min-height: 92vh; }
  .framed::before { inset: -8px -8px 8px 8px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

@media print {
  .site-head, .notice, .site-foot, .hero__actions { display: none; }
  body { background: #fff; color: #000; }
}

/* ---------- Portraet mit Bildunterschrift (Ueber uns) ---------- */

.portrait { margin: 0; }
.portrait .zoom { overflow: hidden; }
.portrait img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 28%; }
.portrait figcaption {
  margin-top: 0.9rem;
  font-family: var(--body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}

/* Teamfoto ueber die volle Breite, ruhig gerahmt */
.teamfoto { margin: 0; max-width: 62rem; margin-inline: auto; }
.teamfoto .zoom { overflow: hidden; border: 1px solid var(--paper-3); }
.teamfoto img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
