/* ─────────────────────────────────────────────────────────────────────────
   Barmeiers — Shared FLOW upgrades
   Imported alongside styles.css / styles-v3.css / styles-v4.css to add the
   v9 flow learnings (rhythm, conversion path, micro-interactions) without
   touching each version's distinct identity.
   Uses each version's own CSS variables, so visuals adapt automatically.
   ───────────────────────────────────────────────────────────────────────── */

:root {
  --sand: var(--cream-2);
  --shadow-soft: 0 18px 44px -22px rgba(14, 58, 38, 0.22);
  --shadow-lift: 0 26px 56px -22px rgba(14, 58, 38, 0.32);
}

/* ── Spatial rhythm — alternating section backgrounds ───────────────── */
.section-cream { background: var(--cream); }
.section-sand  { background: var(--cream-2); }

/* ── Saison badge (replaces the inline date stamp) ──────────────────── */
.saison-stamp {
  position: fixed;
  bottom: 18px; left: 18px;
  z-index: 60;
  background: var(--ink);
  color: var(--cream);
  padding: 7px 12px;
  font: 10px/1.4 var(--mono, ui-monospace);
  letter-spacing: 0.16em;
  border-radius: 2px;
  box-shadow: 3px 3px 0 rgba(212, 165, 80, 0.6);
  text-transform: uppercase;
}
.saison-stamp-row { display: flex; gap: 8px; align-items: baseline; }
.saison-stamp-lab { font-size: 9px; opacity: 0.55; }
.saison-stamp b { color: var(--tan); font-weight: 600; }
@media (max-width: 540px) {
  .saison-stamp { bottom: 78px; left: 12px; padding: 5px 9px; font-size: 9px; }
}

/* ── Nav CTA — "Tisch reservieren" pill ─────────────────────────────── */
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid currentColor;
  color: inherit;
  transition: background 200ms ease, color 200ms ease, transform 200ms ease, border-color 200ms ease;
  white-space: nowrap;
}
.nav-cta:hover { background: var(--tan); color: var(--ink); border-color: var(--tan); transform: translateY(-1px); }
.nav-cta:active { transform: translateY(0) scale(0.97); }
.nav-cta span { transition: transform 200ms ease; display: inline-block; }
.nav-cta:hover span { transform: translateX(3px); }
.nav.scrolled .nav-cta { color: var(--ink); }
@media (max-width: 720px) { .nav-cta { display: none; } }

/* ── Universal button press state (works for any .btn) ──────────────── */
.btn { transition: transform 200ms ease, background 200ms ease, color 200ms ease, box-shadow 200ms ease, border-color 200ms ease; }
.btn:active { transform: translateY(0) scale(0.98); transition-duration: 100ms; }
.btn-tan { background: var(--tan) !important; border-color: var(--tan) !important; color: var(--ink) !important; }
.btn-tan:hover { background: var(--tan-deep) !important; border-color: var(--tan-deep) !important; color: var(--ink) !important; }

/* ── Image hover zoom (opt-in via .zoomable on .ph.photo) ───────────── */
.ph.photo { transition: transform 600ms cubic-bezier(0.2, 0.7, 0.2, 1), filter 400ms ease; will-change: transform; }
.zoomable-host { overflow: hidden; }
.zoomable-host:hover .ph.photo,
.tcard:hover .ph.photo,
.location-img:hover .ph.photo,
.gimg:hover .ph.photo,
.feiern-img:hover .ph.photo,
.t9-img:hover .ph.photo { transform: scale(1.045); filter: saturate(1.04); }

/* ── Reservation form section ───────────────────────────────────────── */
.reserve-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.15fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
.reserve-intro h2 { margin: 18px 0 22px; max-width: 14ch; }
.reserve-intro .body { max-width: 44ch; font-size: 17px; line-height: 1.7; }
.reserve-intro .eyebrow { display: inline-flex; }
.reserve-meta {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 14px 32px; margin-top: 28px;
  border-top: 1px solid var(--rule); padding-top: 24px;
}
.reserve-meta .li .lab {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--ink-mute); margin-bottom: 4px;
}
.reserve-meta .li .val { font-family: var(--serif); font-size: 20px; color: var(--ink); }

.reserve-form {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 6px;
  padding: clamp(24px, 3vw, 40px);
  box-shadow: var(--shadow-soft);
  display: flex; flex-direction: column; gap: 18px;
}
.rf-row { display: grid; gap: 14px; }
.rf-row-2 { grid-template-columns: 1fr 1fr; }
.rf-row-3 { grid-template-columns: 1.1fr 1fr 1fr; }
.rf-field { display: flex; flex-direction: column; gap: 6px; }
.rf-field-full { width: 100%; }
.rf-lab {
  font-family: var(--mono); font-size: 10px;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--ink-mute);
}
.rf-opt { letter-spacing: 0.05em; text-transform: none; opacity: 0.7; }
.rf-field input,
.rf-field select,
.rf-field textarea {
  font-family: var(--sans);
  font-size: 15px;
  color: var(--ink);
  padding: 12px 14px;
  background: var(--cream);
  border: 1px solid var(--rule);
  border-radius: 3px;
  outline: none;
  transition: border-color 200ms ease, background 200ms ease, box-shadow 200ms ease;
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
}
.rf-field textarea { resize: vertical; min-height: 84px; line-height: 1.5; }
.rf-field input:focus,
.rf-field select:focus,
.rf-field textarea:focus {
  border-color: var(--ink);
  background: var(--paper);
  box-shadow: 0 0 0 3px rgba(108, 179, 63, 0.18);
}
.rf-field select {
  background-image: linear-gradient(45deg, transparent 50%, var(--ink-mute) 50%),
                    linear-gradient(135deg, var(--ink-mute) 50%, transparent 50%);
  background-position: calc(100% - 18px) 50%, calc(100% - 12px) 50%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 36px;
}
.rf-foot { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 4px; }
.rf-or { font-size: 13px; color: var(--ink-mute); }
.rf-or a { color: var(--ink); border-bottom: 1px solid var(--rule); }
.rf-or a:hover { border-bottom-color: var(--ink); }
.rf-thanks {
  background: var(--water-deep); color: var(--cream);
  padding: 14px 18px; border-radius: 4px;
  font-size: 14px;
  animation: rfFadeUp 400ms ease;
}
.rf-thanks strong { color: var(--tan); margin-right: 6px; }
@keyframes rfFadeUp {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}
@media (max-width: 980px) { .reserve-grid { grid-template-columns: 1fr; gap: 40px; } }
@media (max-width: 640px) { .rf-row-2, .rf-row-3 { grid-template-columns: 1fr; } }

/* ── Live map (replaces static .map-wrap placeholder) ───────────────── */
.map-live {
  position: relative;
  margin-top: 22px;
  border-radius: 4px;
  overflow: hidden;
  background: #d8e2dc;
  box-shadow: var(--shadow-soft);
  isolation: isolate;
}
.map-embed {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  border: 0;
  filter: saturate(0.85) contrast(0.95);
  transition: filter 300ms ease;
}
.map-live:hover .map-embed { filter: saturate(1) contrast(1); }
.map-overlay {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  z-index: 2;
}
.map-pin { position: relative; width: 24px; height: 24px; display: flex; align-items: center; justify-content: center; }
.map-pin-dot {
  position: relative; z-index: 2;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--tan);
  border: 2.5px solid var(--ink);
  box-shadow: 0 4px 10px rgba(14, 58, 38, 0.4);
}
.map-pin-pulse {
  position: absolute; inset: 0;
  border-radius: 50%;
  background: rgba(243, 208, 62, 0.6);
  animation: pinPulse 2.2s ease-out infinite;
}
@keyframes pinPulse {
  0%   { transform: scale(0.6); opacity: 0.8; }
  100% { transform: scale(2.4); opacity: 0; }
}
.map-card {
  background: var(--ink);
  color: var(--cream);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 6px 10px;
  border-radius: 2px;
  text-align: center;
  white-space: nowrap;
  box-shadow: 0 6px 16px rgba(14, 58, 38, 0.3);
  transform: translateY(-4px);
}
.map-card-name { color: var(--tan); font-weight: 600; font-size: 11px; }
.map-card-addr { opacity: 0.85; margin-top: 2px; font-size: 9.5px; }
.map-actions {
  position: absolute;
  left: 12px; right: 12px; bottom: 12px;
  z-index: 3;
  display: flex; gap: 8px; flex-wrap: wrap;
}
.map-btn {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--cream);
  border: 1px solid var(--ink);
  transition: background 200ms ease, color 200ms ease, transform 200ms ease;
}
.map-btn:hover { background: var(--tan); color: var(--ink); border-color: var(--tan); transform: translateY(-1px); }
.map-btn:active { transform: translateY(0) scale(0.97); }
.map-btn-ghost {
  background: rgba(245, 239, 226, 0.92);
  color: var(--ink);
  border-color: rgba(14, 58, 38, 0.2);
  backdrop-filter: blur(4px);
}
.map-btn-ghost:hover { background: var(--cream); border-color: var(--ink); color: var(--ink); }

/* On narrow info-grid, give the map full width */
.map-live { width: 100%; }
@media (max-width: 640px) {
  .map-actions { position: static; padding: 12px; background: var(--cream); }
}

/* ── Second editorial photo band (warm/golden variant) ──────────────── */
.photo-band-warm .photo-band-veil,
.photo-band-veil-warm {
  background:
    linear-gradient(180deg, rgba(40,20,10,0.50) 0%, rgba(40,20,10,0.10) 35%, rgba(20,40,28,0.55) 100%),
    linear-gradient(270deg, rgba(20,40,28,0.55) 0%, rgba(20,40,28,0) 60%) !important;
}
.photo-band-text-right { align-items: flex-end; text-align: right; }
.photo-band-text-right .h-display { max-width: 14ch; }
.photo-band-sub {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(18px, 1.6vw, 22px);
  color: rgba(245, 240, 230, 0.85);
  max-width: 38ch;
  margin: 8px 0 0;
}

/* If the variant doesn't already have .photo-band defined, provide it */
.flow-photo-band {
  position: relative;
  height: clamp(420px, 60vh, 640px);
  width: 100%;
  overflow: hidden;
  isolation: isolate;
}
.flow-photo-band .photo-band-img {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
  transform: scale(1.06);
  transition: transform 1200ms cubic-bezier(0.2, 0.7, 0.2, 1);
}
.flow-photo-band:hover .photo-band-img { transform: scale(1.01); }
.flow-photo-band .photo-band-veil {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(10,40,28,0.55) 0%, rgba(10,40,28,0.20) 40%, rgba(10,40,28,0.55) 100%),
    linear-gradient(90deg, rgba(10,40,28,0.50) 0%, rgba(10,40,28,0) 60%);
  z-index: 1;
}
.flow-photo-band .photo-band-text {
  position: relative; z-index: 2; height: 100%;
  width: 100%; max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex; flex-direction: column; justify-content: center; gap: 18px;
  color: var(--cream);
}
.flow-photo-band .h-display {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(48px, 8vw, 132px);
  line-height: 0.95;
  letter-spacing: -0.015em;
  margin: 0;
  color: var(--cream);
  max-width: 18ch;
}
.flow-photo-band .h-display em { color: var(--tan); font-style: italic; }
.flow-photo-band .eyebrow { color: rgba(245, 240, 230, 0.75); }

/* ── Sticky bottom CTA ──────────────────────────────────────────────── */
.sticky-cta {
  position: fixed;
  left: 50%;
  bottom: 18px;
  transform: translate(-50%, 24px);
  z-index: 55;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 20px 12px 18px;
  background: var(--ink);
  color: var(--cream);
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  box-shadow: 0 14px 30px -10px rgba(14, 58, 38, 0.55);
  opacity: 0;
  pointer-events: none;
  transition: opacity 280ms ease, transform 280ms cubic-bezier(0.4, 1.4, 0.4, 1), background 200ms;
}
.sticky-cta.show { opacity: 1; pointer-events: auto; transform: translate(-50%, 0); }
.sticky-cta:hover { background: var(--water-deep); }
.sticky-cta:active { transform: translate(-50%, 0) scale(0.97); }
.sticky-cta-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--tan);
  box-shadow: 0 0 0 0 rgba(243, 208, 62, 0.6);
  animation: ctaPulse 2.1s ease-out infinite;
}
@keyframes ctaPulse {
  0%   { box-shadow: 0 0 0 0 rgba(243, 208, 62, 0.55); }
  70%  { box-shadow: 0 0 0 10px rgba(243, 208, 62, 0); }
  100% { box-shadow: 0 0 0 0 rgba(243, 208, 62, 0); }
}
.sticky-cta-arrow { transition: transform 200ms; }
.sticky-cta:hover .sticky-cta-arrow { transform: translateX(3px); }
@media (max-width: 540px) {
  .sticky-cta { left: 12px; right: 12px; bottom: 12px; transform: translateY(24px); justify-content: center; padding: 14px 18px; }
  .sticky-cta.show { transform: translateY(0); }
  .sticky-cta:hover { transform: translateY(0); }
}

/* ── Reduced motion ─────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .sticky-cta-dot, .map-pin-pulse { animation: none !important; }
  .ph.photo { transition: none !important; }
}
