/* =========================================================
   Vi-Va La Italia — Stylesheet
   Warme italienische Trattoria-Eleganz: Creme, Tiefrot, Gold,
   Olivgrün, dazu Fraunces (Display) + Inter (Text).
   ========================================================= */

/* ---------- Fonts (self-hosted) ---------- */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/inter-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/assets/fonts/inter-500.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/assets/fonts/inter-600.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/assets/fonts/inter-700.woff2') format('woff2');
}
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url('/assets/fonts/fraunces-variable.woff2') format('woff2-variations'), url('/assets/fonts/fraunces-variable.woff2') format('woff2');
}
@font-face {
  font-family: 'Fraunces';
  font-style: italic;
  font-weight: 300 900;
  font-display: swap;
  src: url('/assets/fonts/fraunces-italic-variable.woff2') format('woff2-variations'), url('/assets/fonts/fraunces-italic-variable.woff2') format('woff2');
}

/* ---------- Design tokens ---------- */
:root {
  --ink: #221a12;
  --ink-soft: #4a3c2c;
  --cream: #fbf5ea;
  --cream-2: #f3e7d4;
  --paper: #fffdf8;
  --red: #a3242a;
  --red-dark: #7a1b20;
  --green: #2f5233;
  --green-dark: #223c26;
  --gold: #bd9138;
  --gold-light: #e7c878;
  --line: rgba(34, 25, 18, 0.13);
  --line-soft: rgba(34, 25, 18, 0.08);
  --shadow-lg: 0 30px 70px -25px rgba(20, 14, 8, 0.45);
  --shadow-md: 0 16px 40px -18px rgba(20, 14, 8, 0.35);
  --radius-lg: 22px;
  --radius-md: 14px;
  --radius-sm: 8px;
  --container: 1180px;
  --font-display: 'Fraunces', 'Iowan Old Style', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); font-weight: 600; line-height: 1.15; letter-spacing: -0.01em; }
p { margin: 0; }
button { font: inherit; cursor: pointer; }
input, textarea { font: inherit; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.skip-link {
  position: absolute; left: 12px; top: -60px; background: var(--ink); color: var(--cream);
  padding: 12px 18px; border-radius: var(--radius-sm); z-index: 1000; transition: top .2s ease;
}
.skip-link:focus { top: 12px; }

/* ---------- Eyebrow / section headings ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-style: italic; font-weight: 500;
  color: var(--red); font-size: 1.05rem; letter-spacing: 0.02em;
  margin-bottom: 14px;
}
.eyebrow::before { content: ''; width: 26px; height: 1px; background: var(--gold); display: inline-block; }
.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-title { font-size: clamp(1.9rem, 3.2vw, 2.7rem); }
.section-text { margin-top: 16px; color: var(--ink-soft); font-size: 1.05rem; }

section { position: relative; scroll-margin-top: 88px; }
.section-pad { padding: 96px 0; }
@media (max-width: 720px) { .section-pad { padding: 64px 0; } }
.bg-alt { background: var(--cream-2); }
.bg-paper { background: var(--paper); }
.bg-ink { background: var(--ink); color: var(--cream); }
.bg-ink .section-text { color: rgba(251,245,234,0.75); }

.divider-ornament { display: flex; align-items: center; justify-content: center; gap: 14px; margin: 8px 0 28px; }
.divider-ornament::before, .divider-ornament::after { content: ''; height: 1px; width: 60px; background: linear-gradient(90deg, transparent, var(--gold)); }
.divider-ornament::after { background: linear-gradient(90deg, var(--gold), transparent); }
.divider-ornament span { color: var(--gold); font-size: 1.1rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 15px 30px; border-radius: 999px; font-weight: 600; font-size: 0.98rem;
  border: 1px solid transparent; transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--red); color: #fff; box-shadow: var(--shadow-md); }
.btn-primary:hover { background: var(--red-dark); transform: translateY(-2px); }
.btn-outline { border-color: rgba(251,245,234,0.55); color: inherit; }
.btn-outline:hover { background: rgba(251,245,234,0.12); transform: translateY(-2px); }
.btn-outline.on-light { border-color: var(--ink); }
.btn-outline.on-light:hover { background: rgba(34,26,18,0.06); }
.btn-gold { background: var(--gold); color: var(--ink); box-shadow: var(--shadow-md); }
.btn-gold:hover { background: var(--gold-light); transform: translateY(-2px); }
.btn-sm { padding: 10px 20px; font-size: 0.88rem; }
.btn-row { display: flex; gap: 16px; flex-wrap: wrap; }
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 500;
  padding: 18px 0; transition: background .3s ease, box-shadow .3s ease, padding .3s ease;
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.site-header.is-scrolled { background: rgba(34,26,18,0.92); backdrop-filter: blur(10px); box-shadow: 0 10px 30px -18px rgba(0,0,0,0.6); padding: 10px 0; }
.brand { display: flex; align-items: center; gap: 12px; color: #fff; }
.brand img { height: 64px; width: auto; transition: height .3s ease; }
.site-header.is-scrolled .brand img { height: 52px; }
.brand-word { font-family: var(--font-display); font-style: italic; font-size: 1.3rem; color: #fff; }

/* Lang switcher lives in the always-visible header bar now (not tucked
   inside the mobile off-canvas menu), so it groups with the nav toggle. */
.header-actions { display: flex; align-items: center; gap: 18px; }

.main-nav { display: flex; align-items: center; gap: 6px; }
.main-nav a:not(.btn) {
  color: rgba(255,255,255,0.88); padding: 10px 14px; border-radius: 999px; font-size: 0.93rem; font-weight: 500;
  transition: background .2s ease, color .2s ease;
}
.main-nav a:not(.btn):hover, .main-nav a:not(.btn):focus-visible { background: rgba(255,255,255,0.12); color: #fff; }
.nav-actions { display: flex; align-items: center; gap: 10px; }

.lang-switcher { position: relative; }
.lang-current {
  display: flex; align-items: center; gap: 6px; color: var(--ink); background: var(--gold-light);
  border: 1px solid var(--gold-light); border-radius: 999px; padding: 9px 14px; font-size: 0.85rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.03em; box-shadow: 0 6px 18px -6px rgba(189,145,56,0.65);
  transition: background .2s ease, transform .2s ease;
}
.lang-current:hover { background: #fff; transform: translateY(-1px); }
.lang-current:after { content: '▾'; font-size: 0.7em; opacity: .7; }
.lang-menu {
  /* Anchored left, not right: the switcher now sits right after the logo,
     close to the header's left edge in both mobile and desktop layouts, so
     opening rightward keeps it safely inside the viewport (right:0 briefly
     pushed it past the left edge in the old mobile-menu placement). */
  position: absolute; top: calc(100% + 8px); left: 0; background: var(--paper); color: var(--ink);
  border-radius: var(--radius-md); box-shadow: var(--shadow-lg); padding: 8px; min-width: 168px;
  opacity: 0; visibility: hidden; transform: translateY(-6px); transition: all .18s ease; z-index: 50;
}
.lang-switcher.open .lang-menu, .lang-switcher:focus-within .lang-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.lang-menu a { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: var(--radius-sm); font-size: 0.9rem; font-weight: 500; }
.lang-menu a:hover { background: var(--cream-2); }
.lang-menu a[aria-current="true"] { color: var(--red); font-weight: 700; }
.flag { width: 20px; height: 14px; border-radius: 2px; object-fit: cover; box-shadow: 0 0 0 1px rgba(0,0,0,0.15); }

.nav-toggle { display: none; background: none; border: none; color: #fff; padding: 8px; }
.nav-toggle svg { width: 26px; height: 26px; }

@media (max-width: 980px) {
  /* Longhand top/right/bottom/left instead of the `inset` shorthand, plus an
     explicit height fallback chain — in-app browsers (WhatsApp, Instagram,
     etc. use older/limited WebKit webviews) have shrink-wrapped this panel
     to its content instead of stretching it to the viewport when relying on
     `inset` + implicit height alone. */
  .main-nav { position: fixed; top: 0; right: 0; bottom: 0; left: auto; width: min(340px, 86vw);
    height: 100vh; height: 100dvh; background: var(--ink); color: #fff;
    flex-direction: column; align-items: stretch; padding: 100px 28px 40px; gap: 4px;
    transform: translateX(100%); transition: transform .32s ease; overflow-y: auto; z-index: 401; }
  .main-nav.open { transform: translateX(0); box-shadow: -30px 0 60px rgba(0,0,0,0.4); }
  .main-nav a:not(.btn) { padding: 14px 10px; font-size: 1.05rem; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .main-nav .btn { margin-top: 18px; }
  .nav-toggle { display: inline-flex; }
  .nav-scrim { position: fixed; top: 0; right: 0; bottom: 0; left: 0; background: rgba(10,7,4,0.55); opacity: 0; visibility: hidden; transition: opacity .25s ease; z-index: 400; }
  .nav-scrim.open { opacity: 1; visibility: visible; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: flex-end;
  color: #fff; overflow: hidden; isolation: isolate;
}
.hero-slides { position: absolute; inset: 0; z-index: -2; }
.hero-slide {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  opacity: 0; transition: opacity 1.6s ease;
}
.hero-slide.active { opacity: 1; }
.hero::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(20,14,8,0.35) 0%, rgba(20,14,8,0.35) 40%, rgba(20,14,8,0.92) 100%);
}
.hero-inner { padding-top: 180px; padding-bottom: 110px; width: 100%; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 12px; font-size: 1.1rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold-light); margin-bottom: 24px;
}
.hero-eyebrow::before { content: ''; width: 40px; height: 2px; background: var(--gold-light); }
.hero-title { font-size: clamp(2.6rem, 6.2vw, 4.6rem); font-weight: 600; max-width: 16ch; text-wrap: balance; }
.hero-subtitle { margin-top: 22px; max-width: 46ch; font-size: 1.15rem; color: rgba(255,255,255,0.85); }
.hero-actions { margin-top: 38px; }
.hero-scroll {
  position: absolute; bottom: 34px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: 0.78rem;
  letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.75);
}
.hero-scroll .line { width: 1px; height: 34px; background: linear-gradient(180deg, rgba(255,255,255,0.8), transparent); animation: scrollpulse 2.2s ease infinite; }
@keyframes scrollpulse { 0%,100% { opacity: .4; } 50% { opacity: 1; } }
.hero-dots { position: absolute; right: 28px; bottom: 46px; display: flex; flex-direction: column; gap: 10px; z-index: 2; }
.hero-dots button { width: 9px; height: 9px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.7); background: transparent; padding: 0; }
.hero-dots button.active { background: var(--gold-light); border-color: var(--gold-light); }
@media (max-width: 720px) { .hero-dots { display: none; } }

/* ---------- Philosophy ---------- */
.philosophy-grid { display: grid; grid-template-columns: 1fr; gap: 30px; }
.philosophy-lead { font-family: var(--font-display); font-style: italic; font-size: clamp(1.3rem, 2.2vw, 1.6rem); color: var(--ink); max-width: 62ch; }
.philosophy-body { columns: 1; }
@media (min-width: 900px) { .philosophy-body { columns: 2; column-gap: 48px; } }
.philosophy-body p { margin: 0 0 20px; break-inside: avoid; color: var(--ink-soft); }
.philosophy-body p:first-child { color: var(--ink); }
.philosophy-closing {
  margin-top: 12px; font-family: var(--font-display); font-style: italic; font-size: 1.6rem; color: var(--red);
  text-align: center;
}

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1fr; gap: 56px; align-items: center; }
@media (min-width: 960px) { .about-grid { grid-template-columns: 1fr 1fr; } }
.about-photo { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.about-photo img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/5; }
.about-photo-caption {
  position: absolute; left: 18px; bottom: 18px; right: 18px; color: #fff; font-size: 0.85rem;
  background: rgba(20,14,8,0.55); backdrop-filter: blur(6px); padding: 10px 14px; border-radius: var(--radius-sm);
}
.about-text p { color: var(--ink-soft); margin-bottom: 16px; }
.about-text p:first-child { font-family: var(--font-display); font-style: italic; font-size: 1.2rem; color: var(--ink); }
.about-team {
  margin-top: 64px; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); position: relative;
}
.about-team img { width: 100%; height: auto; aspect-ratio: 16 / 9; max-height: 520px; object-fit: cover; }
.about-team figcaption { padding: 16px 22px; background: var(--ink); color: rgba(251,245,234,0.85); font-size: 0.92rem; }

/* ---------- Menu teaser (home) ---------- */
.teaser {
  border-radius: var(--radius-lg); background: var(--ink); color: var(--cream);
  padding: 64px; display: grid; grid-template-columns: 1fr; gap: 34px; align-items: center; position: relative; overflow: hidden;
}
@media (min-width: 860px) { .teaser { grid-template-columns: 1.3fr auto; padding: 72px 80px; } }
.teaser::before {
  content: ''; position: absolute; inset: 0; opacity: .16; background-image: var(--teaser-bg);
  background-size: cover; background-position: center;
}
.teaser-content { position: relative; }
.teaser-content .eyebrow { color: var(--gold-light); }
.teaser-content .eyebrow::before { background: var(--gold-light); }
.teaser h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); }
.teaser p { margin-top: 16px; color: rgba(251,245,234,0.78); max-width: 60ch; }
.teaser-cta { position: relative; }

/* ---------- Menu ---------- */
.menu-intro { text-align: center; max-width: 680px; margin: 0 auto 30px; }
.menu-pdf-row { display: flex; justify-content: center; margin-bottom: 56px; }
.menu-categories { display: flex; flex-direction: column; gap: 18px; max-width: 900px; margin: 0 auto; }

.menu-cat { background: var(--paper); border: 1px solid var(--line-soft); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); }
.menu-cat summary {
  cursor: pointer; list-style: none; padding: 26px 30px; display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.menu-cat summary::-webkit-details-marker { display: none; }
.menu-cat summary h3 { font-size: 1.35rem; color: var(--ink); }
.menu-cat summary .cat-sub { display:block; font-family: var(--font-body); font-weight: 400; font-size: .82rem; color: var(--ink-soft); margin-top: 4px; }
.menu-cat .cat-icon {
  flex: none; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line); display: flex; align-items: center; justify-content: center;
  transition: transform .3s ease, background .3s ease;
}
.menu-cat .cat-icon svg { width: 15px; height: 15px; stroke: var(--red); transition: transform .3s ease; }
.menu-cat[open] .cat-icon { background: var(--red); }
.menu-cat[open] .cat-icon svg { stroke: #fff; transform: rotate(180deg); }
.menu-cat-body { padding: 0 30px 32px; border-top: 1px solid var(--line-soft); }
.menu-note { padding: 18px 30px 0; font-size: 0.88rem; color: var(--ink-soft); font-style: italic; }

.menu-items { display: grid; grid-template-columns: 1fr; gap: 22px; padding-top: 26px; }
@media (min-width: 720px) { .menu-items { grid-template-columns: 1fr 1fr; column-gap: 40px; } }
.menu-item { break-inside: avoid; }
.menu-item-head { display: flex; align-items: baseline; gap: 10px; }
.menu-item-head .name { font-weight: 600; color: var(--ink); }
.menu-item-head .rule { flex: 1; border-bottom: 1px dotted var(--line); transform: translateY(-3px); }
.menu-item-head .price { font-weight: 700; color: var(--red); white-space: nowrap; font-variant-numeric: tabular-nums; }
.menu-item .desc { margin-top: 5px; font-size: 0.92rem; color: var(--ink-soft); }
.menu-item .price-note { margin-top: 4px; font-size: 0.8rem; color: var(--gold); font-style: italic; }

.drinks-group { margin-bottom: 30px; }
.drinks-group h4 { font-size: 1rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--green); margin-bottom: 14px; }
.drinks-list { display: grid; grid-template-columns: 1fr; gap: 10px 30px; }
@media (min-width: 720px) { .drinks-list { grid-template-columns: 1fr 1fr; } }
.drinks-row { display: flex; align-items: baseline; gap: 10px; font-size: 0.93rem; }
.drinks-row .rule { flex: 1; border-bottom: 1px dotted var(--line); transform: translateY(-3px); }
.drinks-row .price { font-weight: 600; color: var(--red); white-space: nowrap; }
.drinks-flatlist { font-size: 0.93rem; color: var(--ink-soft); line-height: 1.9; }
.drinks-flatlist .price-tag { color: var(--red); font-weight: 600; }
.drinks-footnote { margin-top: 10px; font-size: 0.8rem; color: var(--ink-soft); font-style: italic; }

.allergy-note { max-width: 780px; margin: 50px auto 0; text-align: center; font-size: 0.86rem; color: var(--ink-soft); padding: 0 12px; }

/* ---------- Wine ---------- */
.wine-intro { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.wine-section { margin-bottom: 54px; }
.wine-section h3 { font-size: 1.3rem; color: var(--gold); margin-bottom: 22px; text-align: center; }
.wine-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 720px) { .wine-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1080px) { .wine-grid { grid-template-columns: 1fr 1fr 1fr; } }
.wine-card { background: var(--paper); border: 1px solid var(--line-soft); border-radius: var(--radius-md); padding: 22px 24px; box-shadow: var(--shadow-md); }
.wine-card h4 { font-size: 1.08rem; color: var(--ink); }
.wine-card .desc { margin-top: 6px; font-size: 0.88rem; color: var(--ink-soft); min-height: 2.6em; }
.wine-prices { margin-top: 14px; display: flex; gap: 18px; flex-wrap: wrap; border-top: 1px solid var(--line-soft); padding-top: 12px; }
.wine-prices div { font-size: 0.82rem; color: var(--ink-soft); }
.wine-prices strong { display: block; color: var(--red); font-size: 0.98rem; }
.wine-closing { text-align: center; margin-top: 20px; font-family: var(--font-display); font-style: italic; color: var(--gold); font-size: 1.1rem; }
.wine-note { text-align: center; font-size: 0.85rem; color: var(--ink-soft); margin-top: -30px; margin-bottom: 40px; }

/* ---------- Gallery ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
@media (min-width: 640px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 960px) { .gallery-grid { grid-template-columns: repeat(4, 1fr); } }
.gallery-item {
  border-radius: var(--radius-md); overflow: hidden; position: relative; cursor: zoom-in;
  aspect-ratio: 1; box-shadow: var(--shadow-md);
}
.gallery-item.tall { aspect-ratio: 1/1.35; }
@media (min-width: 640px) { .gallery-item:nth-child(3n+1) { grid-row: span 1; } }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.gallery-item:hover img { transform: scale(1.08); }
.gallery-item::after {
  content: '+'; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  font-size: 2rem; color: #fff; background: rgba(20,14,8,0.0); transition: background .25s ease, opacity .25s ease; opacity: 0;
}
.gallery-item:hover::after { background: rgba(20,14,8,0.35); opacity: 1; }

.lightbox {
  position: fixed; inset: 0; background: rgba(10,7,4,0.92); z-index: 900; display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transition: opacity .25s ease; padding: 40px;
}
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox img { max-width: min(94vw, 1100px); max-height: 86vh; border-radius: var(--radius-md); box-shadow: var(--shadow-lg); }
.lightbox-close {
  position: absolute; top: 24px; right: 24px; width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.3); color: #fff; font-size: 1.3rem;
}
.lightbox-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border-radius: 50%;
  background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.3); color: #fff; font-size: 1.4rem; }
.lightbox-prev { left: 20px; } .lightbox-next { right: 20px; }

/* ---------- Reviews ---------- */
.reviews-top { display: grid; grid-template-columns: 1fr; gap: 30px; margin-bottom: 46px; }
@media (min-width: 780px) { .reviews-top { grid-template-columns: repeat(3, 1fr); } }
.review-stat { background: var(--paper); border: 1px solid var(--line-soft); border-radius: var(--radius-lg); padding: 30px; text-align: center; box-shadow: var(--shadow-md); }
.review-stat .big { font-family: var(--font-display); font-size: 2.4rem; color: var(--red); }
.review-stat .label { margin-top: 6px; font-size: 0.85rem; color: var(--ink-soft); text-transform: uppercase; letter-spacing: 0.06em; }
.stars { color: var(--gold); font-size: 1.2rem; letter-spacing: 2px; }
.quotes-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 720px) { .quotes-grid { grid-template-columns: repeat(3, 1fr); } }
.quote-card { background: var(--paper); border: 1px solid var(--line-soft); border-radius: var(--radius-md); padding: 24px; box-shadow: var(--shadow-md); }
.quote-card::before { content: '“'; font-family: var(--font-display); font-size: 2.2rem; color: var(--gold); line-height: 1; display: block; margin-bottom: 6px; }
.quote-card p { font-family: var(--font-display); font-style: italic; color: var(--ink); }
.reviews-actions { margin-top: 40px; display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }
.ta-widget-card { display: flex; justify-content: center; margin-top: 36px; min-height: 40px; }
.ta-widget-card .TA_selfserveprop { max-width: 100%; }
.ta-widget-card img { display: inline-block; max-width: 220px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 960px) { .contact-grid { grid-template-columns: 1.1fr 0.9fr; gap: 40px; } }
.contact-cards { display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 620px) { .contact-cards { grid-template-columns: 1fr 1fr; } }
.contact-card { background: var(--paper); border: 1px solid var(--line-soft); border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow-md); }
.contact-card h3 { font-size: 1.05rem; color: var(--red); margin-bottom: 14px; }
.contact-card p, .contact-card a { color: var(--ink-soft); font-size: 0.95rem; }
.contact-card a:hover { color: var(--red); }
.hours-list { display: flex; flex-direction: column; gap: 8px; }
.hours-row { display: flex; justify-content: space-between; font-size: 0.93rem; padding: 6px 0; border-bottom: 1px dashed var(--line-soft); }
.hours-row:last-child { border-bottom: none; }
.hours-row .day { color: var(--ink); font-weight: 500; }
.hours-row.closed .time { color: var(--red); }
.contact-cta { margin-top: 8px; grid-column: 1 / -1; display: flex; gap: 14px; flex-wrap: wrap; }
.map-frame { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid var(--line-soft); min-height: 340px; }
.map-frame iframe { width: 100%; height: 100%; min-height: 340px; border: 0; display: block; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: rgba(251,245,234,0.78); padding: 64px 0 28px; }
.footer-top { display: grid; grid-template-columns: 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(251,245,234,0.12); }
@media (min-width: 860px) { .footer-top { grid-template-columns: 1.2fr 1fr 1fr; } }
.footer-brand img { height: 72px; margin-bottom: 16px; }
.footer-brand p { max-width: 32ch; font-size: 0.92rem; }
.footer-col h4 { color: #fff; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 16px; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: 0.93rem; }
.footer-col a:hover { color: var(--gold-light); }
.footer-social { display: flex; gap: 12px; margin-top: 18px; }
.footer-social a { width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(251,245,234,0.25); display: flex; align-items: center; justify-content: center; }
.footer-social a:hover { border-color: var(--gold-light); color: var(--gold-light); }
.footer-social svg { width: 16px; height: 16px; }
.footer-bottom { padding-top: 24px; display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; justify-content: space-between; font-size: 0.82rem; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.footer-legal a:hover { color: var(--gold-light); }
.footer-credit a { color: var(--gold-light); font-weight: 600; }

/* ---------- Cookie banner ---------- */
.cookie-banner {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 800; background: var(--paper);
  border: 1px solid var(--line-soft); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  padding: 22px 26px; display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between;
  max-width: 920px; margin: 0 auto; transform: translateY(140%); transition: transform .4s ease;
}
.cookie-banner.show { transform: translateY(0); }
.cookie-banner p { font-size: 0.88rem; color: var(--ink-soft); max-width: 60ch; }
.cookie-actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* ---------- Legal pages ---------- */
.legal-page { padding-top: 160px; padding-bottom: 100px; max-width: 780px; margin: 0 auto; }
.legal-page h1 { font-size: clamp(1.8rem, 3.4vw, 2.4rem); margin-bottom: 36px; }
.legal-section { margin-bottom: 26px; }
.legal-section h2 { font-size: 1.05rem; color: var(--red); margin-bottom: 8px; font-family: var(--font-body); font-weight: 700; }
.legal-section p { color: var(--ink-soft); }
.legal-note { margin-top: 40px; font-size: 0.85rem; color: var(--ink-soft); font-style: italic; border-top: 1px solid var(--line-soft); padding-top: 20px; }
.legal-back { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 30px; color: var(--red); font-weight: 600; font-size: 0.9rem; }

/* ---------- Reveal animation ----------
   Hidden only once JS confirms it can reveal again (html.js-reveal), so
   content stays fully visible if JavaScript fails or never runs. */
.js-reveal .reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) { .js-reveal .reveal { opacity: 1; transform: none; } }

/* ---------- Back to top ---------- */
.to-top {
  position: fixed; right: 22px; bottom: 22px; width: 46px; height: 46px; border-radius: 50%;
  background: var(--ink); color: var(--cream); border: 1px solid rgba(251,245,234,0.2); display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transform: translateY(10px); transition: all .25s ease; z-index: 300; box-shadow: var(--shadow-md);
}
.to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top svg { width: 18px; height: 18px; }

/* ---------- 404 ---------- */
.error-page { min-height: 100svh; display: flex; align-items: center; justify-content: center; text-align: center; padding: 40px 24px; }
.error-page .code { font-family: var(--font-display); font-style: italic; font-size: 6rem; color: var(--red); }

/* utility */
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
