/* === GO essen im R\u00f6ssle \u2014 website kit === */
@import url('./colors_and_type.css');

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; background: var(--cream-100); color: var(--ink-900); font-family: var(--font-sans); }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

/* ---------- Reusable atoms ---------- */
.eb {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--brand-gold-600);
}
.script-it {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
  color: var(--brand-gold-600);
}
.gold-rule {
  display: flex; align-items: center; gap: 14px; margin: 14px 0;
}
.gold-rule .line {
  flex: 1; height: 1px;
  background: linear-gradient(90deg, transparent, var(--brand-gold-500) 30%, var(--brand-gold-500) 70%, transparent);
}
.gold-rule svg { color: var(--brand-gold-500); }

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 30px;
  font-family: var(--font-sans); font-size: 13px; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase;
  border: 0; cursor: pointer; border-radius: 2px;
  transition: all 0.22s var(--ease-out);
}
.btn-primary { background: var(--brand-forest-800); color: var(--cream-50); }
.btn-primary:hover { background: var(--brand-forest-700); }
.btn-primary:active { background: var(--brand-forest-900); transform: translateY(1px); }
.btn-ghost { background: transparent; color: var(--cream-50); box-shadow: inset 0 0 0 1.5px rgba(240,232,216,0.7); }
.btn-ghost:hover { background: rgba(240,232,216,0.1); box-shadow: inset 0 0 0 1.5px var(--cream-50); }
.btn-gold { background: var(--brand-gold-500); color: var(--brand-forest-900); }
.btn-gold:hover { background: var(--brand-gold-600); }

/* ---------- Layout helpers ---------- */
.container { max-width: 1180px; margin: 0 auto; padding: 0 clamp(20px, 4vw, 56px); }
.container-narrow { max-width: 720px; margin: 0 auto; padding: 0 clamp(20px, 4vw, 32px); }
.section { padding: clamp(64px, 10vw, 128px) 0; }
.section-tinted { background: var(--cream-200); }
.section-deep { background: var(--brand-forest-800); color: var(--surface-deep-ink); }

.section-head { text-align: center; max-width: 640px; margin: 0 auto clamp(40px, 6vw, 80px); }
.section-head h2 { margin: 14px 0 18px; }
.section-head p { color: var(--fg-3); font-size: 18px; line-height: 1.6; }
.section-deep .section-head h2 { color: var(--cream-50); }
.section-deep .section-head p { color: rgba(240,232,216,0.7); }

/* ---------- Header ---------- */
/* Layout: full-width forest-green bar across the top. A hanging Rössle badge
   sits absolute-centered, with its top aligned to the top of the bar; the
   bottom of the badge dips below the bar into the hero. Nav links sit to the
   left of the badge; hours + lang + CTA to the right. */
.site-header {
  position: fixed; inset: 0 0 auto 0;
  z-index: 50;
  --bar-h: clamp(56px, 5vw, 72px);
  --badge-w: clamp(140px, 12vw, 184px);
  --badge-aspect: calc(236 / 249);
}
.site-header .header-bar {
  position: relative;
  display: flex; align-items: center;
  height: var(--bar-h);
  padding: 0 clamp(20px, 3.5vw, 56px);
  background: var(--brand-forest-800);
  color: var(--cream-50);
  border-bottom: 1px solid rgba(0,0,0,0.12);
  box-shadow: 0 1px 0 rgba(0,0,0,0.18), 0 8px 24px rgba(14,34,24,0.18);
}

/* Centered hanging badge */
.site-header .badge-logo {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  width: var(--badge-w);
  aspect-ratio: 249 / 236;
  display: block;
  z-index: 2;
  transition: transform 0.32s var(--ease-out);
}
.site-header .badge-logo img {
  display: block;
  width: 100%; height: 100%;
  object-fit: contain;
  /* Soft shadow under the badge that drops past the bar */
  filter: drop-shadow(0 12px 18px rgba(14,34,24,0.35));
}
.site-header .badge-logo:hover { transform: translateX(-50%) translateY(2px); }

/* Nav columns flanking the badge */
.site-header .site-nav {
  display: flex; align-items: center;
  gap: clamp(14px, 1.6vw, 26px);
  flex-wrap: nowrap;
  min-width: 0;
}
.site-header .site-nav--left  { flex: 1 1 0; justify-content: flex-end; padding-right: calc(var(--badge-w) / 2 + clamp(14px, 1.6vw, 24px)); }
.site-header .site-nav--right { display: none; /* collapsed into right cluster below */ }
.site-header .site-nav a {
  position: relative;
  white-space: nowrap;
  font-family: var(--font-sans);
  font-size: 11.5px; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--cream-50);
  padding: 6px 0;
  transition: color 0.2s var(--ease-out);
}
.site-header .site-nav a:hover { color: var(--brand-gold-300); }
.site-header .site-nav a.active { color: var(--brand-gold-300); }
.site-header .site-nav a.active::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -6px;
  height: 1.5px; background: var(--brand-gold-500);
}

/* Right cluster: nav-remainder + status + lang + CTA */
.site-header .header-actions {
  flex: 1 1 0;
  display: flex; align-items: center; justify-content: flex-start;
  gap: clamp(12px, 1.4vw, 22px);
  padding-left: calc(var(--badge-w) / 2 + clamp(14px, 1.6vw, 24px));
  min-width: 0;
}
.site-header .header-info {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-sans);
  font-size: 10.5px; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(240, 232, 216, 0.88);
  white-space: nowrap;
}
.site-header .header-info__dot {
  display: inline-block;
  color: var(--brand-gold-500);
  font-size: 14px; line-height: 1;
  letter-spacing: 0;
  transform: translateY(-1px);
}
.site-header .header-info__open,
.site-header .header-info__addr { font-variant-numeric: tabular-nums; }

.site-header .cta {
  margin-left: auto;
  padding: 9px 18px;
  font-family: var(--font-sans); font-size: 11px; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
  background: var(--brand-gold-500);
  color: var(--brand-forest-900);
  border-radius: 2px;
  transition: background 0.2s var(--ease-out), transform 0.2s var(--ease-out);
  white-space: nowrap;
  flex-shrink: 0;
}
.site-header .cta:hover { background: var(--brand-gold-400); }
.site-header .cta:active { transform: translateY(1px); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center;
  color: var(--cream-50);
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(135deg, #1a3829 0%, #0e2218 100%);
}
.hero-bg img.hero-photo, .hero-bg .photo {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover;
}
.hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 90% 70% at 50% 38%, rgba(14,34,24,0.30), transparent 70%),
    linear-gradient(180deg, rgba(14,34,24,0.72) 0%, rgba(14,34,24,0.58) 42%, rgba(14,34,24,0.92) 100%);
  z-index: 1;
}
.hero-content {
  position: relative; z-index: 2;
  text-align: center;
  width: 100%;
  padding: 220px 20px 80px;
}
.hero .eb { color: var(--brand-gold-300); }
.hero .hero-tagline {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(18px, 2.1vw, 26px);
  letter-spacing: 0.005em;
  text-transform: none;
  color: var(--brand-gold-300);
  text-shadow: 0 1px 18px rgba(14,34,24,0.5);
}
.hero h1 {
  font-family: var(--font-serif);
  margin: 18px 0 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero h1 .hero-restaurant {
  font-family: var(--font-sans);
  font-weight: 500;
  font-style: normal;
  font-size: clamp(12px, 1.25vw, 16px);
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: rgba(240,232,216,0.86);
  margin: 22px 0 16px;
  opacity: 1;
}
.hero h1 .hero-name {
  display: block;
  font-weight: 800;
  font-size: clamp(38px, 6.1vw, 86px);
  line-height: 1.0;
  letter-spacing: -0.015em;
  color: #FFFFFF;
  text-shadow: 0 2px 10px rgba(14,34,24,0.55), 0 6px 40px rgba(14,34,24,0.85);
}
.hero .lead {
  max-width: 540px;
  margin: 0 auto 36px;
  font-size: 18px; line-height: 1.65;
  color: rgba(240,232,216,0.92);
  text-shadow: 0 1px 16px rgba(14,34,24,0.45);
}
.hero-ctas { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero-meta {
  position: absolute; bottom: 28px; left: 0; right: 0; z-index: 2;
  display: flex; gap: 32px; justify-content: center; flex-wrap: wrap;
  font-size: 13px; color: rgba(240,232,216,0.7);
  letter-spacing: 0.08em; text-transform: uppercase;
}
.hero-meta .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--brand-gold-500); display: inline-block; margin-right: 8px; vertical-align: middle; }

/* ---------- About ---------- */
.about-grid {
  display: grid; grid-template-columns: 1fr 1.1fr;
  gap: clamp(40px, 6vw, 88px);
  align-items: center;
}
@media (max-width: 860px) { .about-grid { grid-template-columns: 1fr; } }
.about-image {
  position: relative;
  aspect-ratio: 4/5;
  background: var(--cream-200);
  border: 1px solid var(--cream-300);
  overflow: hidden;
}
.about-image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.about-image::after {
  content: ''; position: absolute; inset: 16px;
  border: 1px solid var(--brand-gold-400);
  pointer-events: none;
}
.about-text h2 { margin-bottom: 22px; }
.about-text p { font-size: 18px; line-height: 1.75; margin-bottom: 18px; color: var(--ink-700); }
.about-text .signature {
  margin-top: 28px;
  font-family: var(--font-serif); font-style: italic; font-size: 22px;
  color: var(--brand-forest-800);
}
.about-text .signature small {
  display: block; margin-top: 4px;
  font-family: var(--font-sans); font-style: normal; font-size: 12px;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--fg-4);
}

/* ---------- Menu section ---------- */
.menu-tabs {
  display: flex; gap: 0; justify-content: center; flex-wrap: wrap;
  border-top: 1px solid var(--cream-300);
  border-bottom: 1px solid var(--cream-300);
  margin-bottom: 56px;
}
.menu-tabs button {
  background: none; border: 0; cursor: pointer;
  padding: 22px 28px;
  font-family: var(--font-sans); font-size: 13px; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--fg-3);
  position: relative;
  transition: color 0.2s;
}
.menu-tabs button:hover { color: var(--brand-forest-800); }
.menu-tabs button.active {
  color: var(--brand-forest-900);
}
.menu-tabs button.active::after {
  content: ''; position: absolute; left: 24px; right: 24px; bottom: -1px;
  height: 2px; background: var(--brand-gold-500);
}
/* Weinkarte tab uses burgundy — second accent */
.menu-tabs button.wine-tab.active { color: var(--brand-wine-800); }
.menu-tabs button.wine-tab.active::after { background: var(--brand-wine-800); }
.menu-tabs button.wine-tab:hover { color: var(--brand-wine-700); }

.menu-list {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px 64px;
  max-width: 980px; margin: 0 auto;
}
@media (max-width: 760px) { .menu-list { grid-template-columns: 1fr; } }
.menu-item {
  padding: 16px 0;
  border-bottom: 1px solid transparent;
}
.menu-item-head {
  display: flex; align-items: baseline; gap: 12px;
}
.menu-item-name {
  font-family: var(--font-serif); font-weight: 600; font-size: 19px;
  color: var(--brand-forest-900);
  flex: 0 1 auto;
  min-width: 0;
  line-height: 1.3;
}
.menu-item-price { flex-shrink: 0; }
.menu-item-dots { flex: 1; border-bottom: 1px dotted var(--ink-400); transform: translateY(-5px); min-width: 18px; }
.menu-item-price {
  font-family: var(--font-serif); font-style: italic; font-weight: 600;
  font-size: 19px; color: var(--brand-gold-700);
  white-space: nowrap;
}
.menu-item-desc { font-size: 14.5px; color: var(--fg-3); margin-top: 8px; line-height: 1.55; }
.menu-item-tags { display: inline-flex; gap: 6px; margin-left: 10px; }
.menu-item-tag {
  display: inline-block; padding: 2px 8px; border-radius: 999px;
  font-family: var(--font-sans); font-size: 10.5px; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  background: var(--brand-gold-200); color: var(--brand-gold-700);
}
.menu-item-tag.veg  { background: rgba(74,124,58,0.14); color: #3a6230; }
.menu-item-tag.spez { background: var(--brand-wine-200); color: var(--brand-wine-800); }

/* Burgundy-accented Weinkarte block — region credits, prices */
.menu-list.wine .menu-item-name { color: var(--brand-wine-800); }
.menu-list.wine .menu-item-price { color: var(--brand-wine-800); }
.menu-list.wine .menu-item-size  {
  font-family: var(--font-mono); font-size: 11px;
  color: var(--brand-wine-700); margin-left: 8px;
  letter-spacing: 0.05em; vertical-align: 2px;
}
.menu-allerg {
  font-family: var(--font-mono); font-size: 11px; color: var(--fg-4);
  margin-left: 6px; vertical-align: 2px;
}

/* ---------- Spezialitaeten gallery ---------- */
.spez-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
@media (max-width: 900px) { .spez-grid { grid-template-columns: 1fr; } }
.spez-card {
  background: var(--cream-50);
  border: 1px solid var(--cream-300);
  display: flex; flex-direction: column;
  transition: box-shadow 0.3s var(--ease-out), transform 0.3s var(--ease-out);
}
.spez-card:hover { box-shadow: var(--shadow-3); }
.spez-card .img {
  aspect-ratio: 4/3;
  background: var(--cream-200);
  position: relative;
  overflow: hidden;
}
.spez-card .img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.6s var(--ease-out); }
.spez-card:hover .img img { transform: scale(1.04); }
.spez-card .img::after {
  content: ''; position: absolute; inset: 12px;
  border: 1px solid rgba(255,255,255,0.4);
  pointer-events: none;
}
.spez-card .body { padding: 26px 22px 28px; }
.spez-card .eb { font-size: 11px; }
.spez-card h3 {
  margin: 10px 0 8px;
  font-size: 24px;
}
.spez-card .desc { font-size: 14.5px; color: var(--fg-3); margin-bottom: 16px; line-height: 1.55; }
.spez-card .price {
  font-family: var(--font-serif); font-style: italic; font-weight: 600;
  font-size: 20px; color: var(--brand-gold-700);
}

/* ---------- Reservation ---------- */
.reserve-card {
  max-width: 720px; margin: 0 auto;
  background: var(--cream-50);
  border: 1px solid var(--cream-300);
  box-shadow: 0 30px 80px rgba(20,47,33,0.18), inset 0 0 0 1px rgba(176,141,92,0.4);
  padding: clamp(32px, 5vw, 56px);
}
.reserve-card h3 {
  text-align: center; margin-bottom: 8px;
}
.reserve-card .lead {
  text-align: center; color: var(--fg-3); margin-bottom: 36px;
}
.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 22px; }
.field label {
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--fg-3);
}
.field input, .field select, .field textarea {
  font-family: var(--font-sans); font-size: 16px;
  padding: 14px 16px;
  background: var(--cream-50);
  border: 1px solid var(--cream-300);
  border-radius: 2px;
  color: var(--ink-900);
  outline: none;
  transition: all 0.18s var(--ease-out);
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--brand-forest-800);
  box-shadow: 0 0 0 3px rgba(20,47,33,0.08);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip {
  cursor: pointer;
  padding: 10px 16px;
  border: 1px solid var(--cream-300);
  background: var(--cream-50);
  border-radius: 999px;
  font-family: var(--font-sans); font-size: 14px; font-weight: 500;
  color: var(--brand-forest-800);
  transition: all 0.18s var(--ease-out);
}
.chip:hover { border-color: var(--brand-forest-700); }
.chip.active { background: var(--brand-forest-800); color: var(--cream-50); border-color: var(--brand-forest-800); }
.reserve-confirm {
  text-align: center; padding: 20px 0;
}
.reserve-confirm svg { color: var(--brand-gold-500); margin: 0 auto 16px; display: block; }
.reserve-confirm h3 { color: var(--brand-forest-800); margin-bottom: 10px; }
.reserve-confirm p { color: var(--fg-3); margin-bottom: 16px; }
.reserve-confirm .pill {
  display: inline-block; padding: 8px 18px;
  border: 1px solid var(--brand-gold-400);
  border-radius: 999px;
  font-family: var(--font-serif); font-style: italic; font-size: 17px;
  color: var(--brand-forest-800);
}

/* ---------- Hours / Contact ---------- */
.contact-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 88px);
  align-items: start;
}
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.hours-table {
  width: 100%; border-collapse: collapse;
}
.hours-table td {
  padding: 14px 0;
  border-bottom: 1px solid var(--cream-300);
  font-size: 16px;
}
.hours-table td:first-child { font-family: var(--font-serif); color: var(--brand-forest-900); }
.hours-table td:last-child { text-align: right; color: var(--ink-700); font-variant-numeric: tabular-nums; }
.hours-table tr.today td { color: var(--brand-gold-700); font-weight: 600; }
.hours-table tr.today td:first-child { font-weight: 600; }
.hours-table tr.closed td:last-child { color: var(--semantic-danger); font-style: italic; }

.contact-block { padding: 8px 0; }
.contact-block h4 { margin-bottom: 16px; }
.contact-row { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 18px; font-size: 16px; line-height: 1.5; color: var(--ink-700); }
.contact-row svg { color: var(--brand-gold-600); flex-shrink: 0; margin-top: 2px; stroke-width: 1.5; }
.contact-row b { color: var(--brand-forest-900); font-weight: 600; }

/* ---------- Footer ---------- */
.footer {
  background: var(--brand-forest-900);
  color: var(--surface-deep-ink);
  padding: 80px 0 0;
}
.footer-top {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(240,232,216,0.12);
}
@media (max-width: 860px) { .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; } }
.footer-brand .logo {
  font-family: var(--font-serif); font-weight: 700; font-size: 29px; color: var(--cream-50);
}
.footer-brand .it { font-style: italic; font-weight: 500; color: var(--brand-gold-300); font-size: 20px; }
.footer-brand p { margin-top: 14px; font-size: 14.5px; color: rgba(240,232,216,0.6); line-height: 1.65; max-width: 320px; }
.footer-brand .footer-tagline { margin-top: 16px; font-family: var(--font-serif); font-size: 19px; font-style: italic; color: rgba(240,232,216,0.92); max-width: 320px; }
.footer-brand .footer-tagline-sub { margin-top: 6px; font-size: 12.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--brand-gold-300); max-width: 320px; }
.footer-col h5 {
  font-family: var(--font-sans); font-size: 12px; font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--brand-gold-300); margin-bottom: 16px;
}
.footer-col a { display: block; padding: 6px 0; font-size: 14.5px; color: rgba(240,232,216,0.75); transition: color 0.2s; }
.footer-col a:hover { color: var(--cream-50); }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  padding: 28px 0;
  font-size: 12.5px; color: rgba(240,232,216,0.4);
  flex-wrap: wrap; gap: 16px;
}
.footer-social { display: flex; gap: 14px; }
.footer-social a {
  width: 36px; height: 36px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid rgba(240,232,216,0.2);
  color: rgba(240,232,216,0.7);
  transition: all 0.2s;
}
.footer-social a:hover { background: var(--brand-gold-500); color: var(--brand-forest-900); border-color: var(--brand-gold-500); }

/* ---------- Floating reservation pill ---------- */
.float-cta {
  position: fixed; right: 28px; bottom: 28px; z-index: 40;
  padding: 16px 24px;
  background: var(--brand-forest-800);
  color: var(--cream-50);
  font-family: var(--font-sans); font-size: 13px; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase;
  border-radius: 999px;
  box-shadow: 0 14px 40px rgba(14,34,24,0.4), inset 0 0 0 1px rgba(176,141,92,0);
  transform: translateY(120%);
  opacity: 0; pointer-events: none;
  transition: all 0.4s var(--ease-out);
}
.float-cta.show { transform: translateY(0); opacity: 1; pointer-events: auto; }
.float-cta:hover { box-shadow: 0 14px 40px rgba(14,34,24,0.4), inset 0 0 0 1.5px var(--brand-gold-500); }

/* ---------- image-slot styling for the photos ---------- */
image-slot.hero-photo,
image-slot.about-photo,
image-slot.dish-photo {
  display: block; width: 100%; height: 100%;
  --slot-bg: linear-gradient(135deg, #2A4A36 0%, #142F21 100%);
  --slot-ink: rgba(240,232,216,0.7);
}

/* fallback content (a stylised plate) for the slot when nothing is dropped */
.plate-fallback {
  width: 100%; height: 100%;
  background:
    radial-gradient(ellipse at 50% 55%, #C9A878 0%, #8E6F40 32%, #4D3520 60%, #1F1610 100%);
  display: flex; align-items: flex-end; justify-content: center;
  padding: 24px;
  color: rgba(255,252,246,0.85);
  font-family: var(--font-serif); font-style: italic; font-size: 14px;
  text-shadow: 0 1px 2px rgba(0,0,0,0.6);
}
