/* ── Self-hosted Fonts ──────────────────────────── */
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/PlayfairDisplay-700.woff2') format('woff2');
}
@font-face {
  font-family: 'Playfair Display';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/PlayfairDisplay-400i.woff2') format('woff2');
}
@font-face {
  font-family: 'Lora';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/Lora-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Lora';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/Lora-400i.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/Inter-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('fonts/Inter-500.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/Inter-600.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/Inter-700.woff2') format('woff2');
}

/* ── Tokens ─────────────────────────────────────── */
:root {
  --bg:           #120a02;
  --surface:      #1e1008;
  --surface-mid:  #2d1800;
  --primary:      #4a2400;
  --accent:       #b05213;
  --accent-light: #d4732a;
  --text:         #f0e0c8;
  --text-muted:   #9a7a58;
  --border:       #3d2200;
  --border-light: #5a3a18;
  --cream:        #faf0e0;

  --radius:     6px;
  --radius-lg:  12px;
  --shadow-warm: 0 4px 24px rgba(176,82,19,0.15);
  --shadow-deep: 0 8px 40px rgba(0,0,0,0.5);

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'Lora', Georgia, serif;
  --font-ui:      'Inter', system-ui, sans-serif;
}

/* ── Reset ──────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.7;
}

/* Holzmaserung als subtiles Hintergrund-Pattern */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='400'%3E%3Cfilter id='wood'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.015 0.7' numOctaves='4' seed='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='400' height='400' filter='url(%23wood)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
}

body > * { position: relative; z-index: 1; }

/* ── Typografie ─────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  color: var(--text);
}
h1 { font-size: clamp(2.2rem, 6vw, 4rem); }
h2 { font-size: clamp(1.6rem, 4vw, 2.4rem); }
h3 { font-size: 1.15rem; }

a { color: var(--accent-light); text-decoration: none; }
a:hover { color: var(--text); }

/* ── Header ─────────────────────────────────────── */
#site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(18, 10, 2, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  padding: 0 1.25rem;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-logo {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: 0.02em;
}

.header-logo span {
  color: var(--accent);
}

/* Desktop Nav */
.header-nav {
  display: none;
  align-items: center;
  gap: 2rem;
}

.header-nav a {
  font-family: var(--font-ui);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: color 0.2s;
}
.header-nav a:hover { color: var(--text); }

.btn-reserve {
  background: var(--accent);
  color: var(--text);
  border: none;
  border-radius: var(--radius);
  padding: 0.5rem 1.1rem;
  font-family: var(--font-ui);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s;
  white-space: nowrap;
}
.btn-reserve:hover { background: var(--accent-light); color: var(--text); }

/* Burger */
.burger-btn {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.burger-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  transition: all 0.3s;
  transform-origin: center;
}
.burger-btn.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger-btn.open span:nth-child(2) { opacity: 0; }
.burger-btn.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Nav Overlay */
#nav-overlay {
  display: none;
  position: fixed;
  inset: 60px 0 0 0;
  background: rgba(18,10,2,0.98);
  z-index: 190;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
}
#nav-overlay.open { display: flex; }
#nav-overlay a {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--text-muted);
  transition: color 0.2s;
}
#nav-overlay a:hover { color: var(--accent-light); }
#nav-overlay .btn-reserve {
  font-size: 1rem;
  padding: 0.75rem 2rem;
  margin-top: 1rem;
}

@media (min-width: 768px) {
  .burger-btn { display: none; }
  .header-nav { display: flex; }
  #nav-overlay { display: none !important; }
}

/* ── Hero ───────────────────────────────────────── */
#hero {
  position: relative;
  height: 75vh;
  min-height: 420px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}

.hero-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 8s ease;
}

.hero-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(12,5,0,0.92) 0%,
    rgba(12,5,0,0.4) 60%,
    rgba(12,5,0,0.1) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 2.5rem 1.5rem;
  max-width: 640px;
}

.hero-eyebrow {
  font-family: var(--font-ui);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-light);
  margin-bottom: 0.75rem;
}

.hero-title {
  color: var(--cream);
  margin-bottom: 0.75rem;
  text-shadow: 0 2px 20px rgba(0,0,0,0.5);
}

.hero-tagline {
  font-size: 1rem;
  color: rgba(240,224,200,0.7);
  margin-bottom: 1.5rem;
  font-style: italic;
}

.hero-ctas {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.btn-primary {
  background: var(--accent);
  color: var(--text);
  border: none;
  border-radius: var(--radius);
  padding: 0.7rem 1.4rem;
  font-family: var(--font-ui);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s;
}
.btn-primary:hover { background: var(--accent-light); color: var(--text); }

.btn-secondary {
  background: transparent;
  color: var(--text);
  border: 1px solid rgba(240,224,200,0.3);
  border-radius: var(--radius);
  padding: 0.7rem 1.4rem;
  font-family: var(--font-ui);
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s;
}
.btn-secondary:hover {
  border-color: var(--accent-light);
  color: var(--accent-light);
}

/* ── Tagesempfehlung ────────────────────────────── */
#tagesempfehlung {
  padding: 1.5rem 1.25rem;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

.tages-inner {
  max-width: 640px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.tages-label {
  font-family: var(--font-ui);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(176,82,19,0.12);
  border: 1px solid rgba(176,82,19,0.25);
  border-radius: 4px;
  padding: 0.2rem 0.5rem;
  white-space: nowrap;
  flex-shrink: 0;
}

.tages-text { flex: 1; }
.tages-text strong {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--text);
  display: block;
}
.tages-text span {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-style: italic;
}

.tages-price {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--accent-light);
  font-weight: 700;
  white-space: nowrap;
}

/* ── Sections allgemein ─────────────────────────── */
section { padding: 3rem 1.25rem; }

.section-eyebrow {
  font-family: var(--font-ui);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.section-title {
  margin-bottom: 2rem;
}

.section-divider {
  width: 40px;
  height: 2px;
  background: var(--accent);
  margin: 0.75rem 0 1.5rem;
  border-radius: 1px;
}

/* ── Speisekarte ────────────────────────────────── */
#speisekarte {
  background: var(--surface);
}

.menu-wrapper {
  max-width: 640px;
  margin: 0 auto;
}

/* Tab-Nav */
.tab-nav {
  display: flex;
  gap: 0.4rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
  margin-bottom: 1.5rem;
  scrollbar-width: none;
  scroll-behavior: smooth;
}
.tab-nav::-webkit-scrollbar { display: none; }

.tab-btn {
  background: transparent;
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 0.45rem 0.9rem;
  font-family: var(--font-ui);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-muted);
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s;
  scroll-snap-align: center;
}
.tab-btn:hover {
  border-color: var(--accent);
  color: var(--accent-light);
}
.tab-btn.active {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--text);
}

/* Allergen Infobox */
.allergen-infobox {
  background: rgba(176,82,19,0.06);
  border: 1px solid rgba(176,82,19,0.15);
  border-radius: var(--radius);
  padding: 0.5rem 0.85rem;
  margin-bottom: 1rem;
  font-family: var(--font-ui);
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* Menüliste */
.menu-list { display: none; }
.menu-list.visible {
  display: block;
  animation: fade-in 0.2s ease;
}

@keyframes fade-in {
  from { opacity: 0; transform: translateY(4px); }
  to   { opacity: 1; transform: translateY(0); }
}

.menu-item {
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
}
.menu-item:last-child { border-bottom: none; }

.menu-item-info { flex: 1; }

.menu-item-name-row {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.menu-item-info h3 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
}

.menu-item-info p {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 0.2rem;
  font-style: italic;
}

.menu-item-price {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--accent-light);
  white-space: nowrap;
  flex-shrink: 0;
}

/* Diet badges */
.diet-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border-radius: 50%;
  border: 1.5px solid currentColor;
  font-size: 0.52rem;
  font-weight: 800;
  font-family: var(--font-ui);
  line-height: 1;
  width: 16px;
  height: 16px;
  letter-spacing: -0.02em;
}
.diet-badge.vegan   { color: #5aaa5a; }
.diet-badge.veggie  { color: #c8900a; }

/* Allergen btn */
.allergen-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  color: var(--text-muted);
  font-size: 0.8rem;
  line-height: 1;
  display: flex;
  align-items: center;
  opacity: 0.5;
  transition: opacity 0.2s, color 0.2s;
  flex-shrink: 0;
  font-family: var(--font-ui);
}
.allergen-btn:hover,
.allergen-btn.active { opacity: 1; color: var(--accent-light); }

/* Allergen row */
.allergen-row {
  margin-top: 0.4rem;
  padding: 0.5rem 0.75rem;
  background: rgba(176,82,19,0.07);
  border-radius: var(--radius);
  border-left: 2px solid rgba(176,82,19,0.3);
  font-size: 0.78rem;
  font-family: var(--font-ui);
  color: var(--text-muted);
  line-height: 1.8;
}
.allergen-row .allergen-code {
  font-weight: 700;
  color: var(--accent-light);
  font-size: 0.72rem;
}
.allergen-row .allergen-none { font-style: italic; }
.allergen-code {
  background: rgba(176,82,19,0.1);
  border: 1px solid rgba(176,82,19,0.2);
  border-radius: 3px;
  padding: 0.1rem 0.3rem;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--accent-light);
  font-family: var(--font-ui);
}

/* ── Galerie ─────────────────────────────────────── */
#galerie {
  padding: 2rem 0;
  background: var(--bg);
  overflow: hidden;
}

.galerie-title-wrap {
  padding: 0 1.25rem;
  margin-bottom: 1.25rem;
}

/* ── Galerie Slideshow ──────────────────────────── */
.galerie-slideshow-wrap {
  max-width: 640px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.galerie-slideshow {
  position: relative;
  width: 100%;
  height: 260px;
  overflow: hidden;
  user-select: none;
  touch-action: pan-y;
  border-radius: var(--radius-lg);
}

.galerie-track {
  display: flex;
  height: 100%;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.galerie-slide {
  flex: 0 0 100%;
  height: 100%;
}

.galerie-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
}

.galerie-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(0,0,0,0.4);
  border: none;
  border-radius: 50%;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #fff;
  font-size: 1.1rem;
  transition: background 0.2s;
  padding: 0;
}
.galerie-arrow:hover { background: rgba(176,82,19,0.7); }
.galerie-arrow.prev { left: 12px; }
.galerie-arrow.next { right: 12px; }

@media (min-width: 768px) {
  .galerie-slideshow { height: 340px; }
  .galerie-slideshow-wrap { padding: 0 2rem; }
}

/* ── Über uns ────────────────────────────────────── */
#ueber-uns {
  background: var(--primary);
  padding: 4rem 1.25rem;
  position: relative;
  overflow: hidden;
}

#ueber-uns::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(176,82,19,0.15) 0%, transparent 60%);
  pointer-events: none;
}

.ueber-inner {
  max-width: 640px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.ueber-quote {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 4vw, 2rem);
  font-style: italic;
  color: var(--cream);
  line-height: 1.4;
  margin-bottom: 1.5rem;
  border-left: 3px solid var(--accent);
  padding-left: 1.25rem;
}

.ueber-text {
  font-size: 0.95rem;
  color: rgba(240,224,200,0.7);
  line-height: 1.8;
  margin-bottom: 2rem;
}

.ueber-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.ueber-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--surface-mid);
  border: 2px solid var(--accent);
  overflow: hidden;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--accent-light);
}

.ueber-meta-text strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--cream);
}
.ueber-meta-text span {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-style: italic;
}

/* ── Öffnungszeiten + Anfahrt im Footer-Bereich ─── */
#info {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 3rem 1.25rem;
}

.info-grid {
  max-width: 640px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

@media (min-width: 560px) {
  .info-grid { grid-template-columns: 1fr 1fr; }
}

.info-block h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--text);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border);
}

.hours-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}
.hours-table tr { border-bottom: 1px solid var(--border); }
.hours-table tr:last-child { border-bottom: none; }
.hours-table td { padding: 0.45rem 0.25rem; color: var(--text-muted); }
.hours-table td:last-child { text-align: right; }
.hours-table tr.today td { color: var(--accent-light); font-weight: 600; }
.hours-table tr.today { background: rgba(176,82,19,0.06); }

.address-info p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.9;
  margin-bottom: 1rem;
}

.maps-embed {
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-top: 0.75rem;
}
.maps-embed iframe {
  width: 100%;
  height: 180px;
  border: none;
  display: block;
  filter: grayscale(30%) contrast(0.9) brightness(0.8);
}

.btn-maps {
  display: inline-block;
  margin-top: 0.75rem;
  background: transparent;
  color: var(--accent-light);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 0.5rem 0.9rem;
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 0.82rem;
  text-decoration: none;
  transition: all 0.2s;
}
.btn-maps:hover {
  border-color: var(--accent);
  color: var(--text);
}

/* ── Footer ─────────────────────────────────────── */
footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 1.5rem 1.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  text-align: center;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
}
.footer-links a {
  font-family: var(--font-ui);
  font-size: 0.78rem;
  color: var(--text-muted);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.footer-links a:hover { color: var(--text); }

footer p {
  font-family: var(--font-ui);
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* ── Responsive ─────────────────────────────────── */
@media (min-width: 768px) {
  section { padding: 4rem 2rem; }
  #tagesempfehlung { padding: 1.5rem 2rem; }
  #info { padding: 4rem 2rem; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}

/* ── WhatsApp Float Button ──────────────────────── */
.whatsapp-btn {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 150;
  background: var(--accent);
  color: #fff;
  border-radius: 50%;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0,0,0,0.25);
  text-decoration: none;
  font-size: 1.6rem;
  transition: transform 0.2s, box-shadow 0.2s;
}
.whatsapp-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 20px rgba(0,0,0,0.3);
  color: #fff;
}

/* ── Maps Consent ── */
.maps-consent-wrap { position: relative; }
.maps-consent-overlay {
  position: absolute; inset: 0;
  background: #1a2f35;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 0.75rem; z-index: 10;
  border-radius: inherit;
}
.maps-consent-overlay p {
  font-size: 0.82rem; color: rgba(255,255,255,0.6);
  text-align: center; max-width: 240px; line-height: 1.5;
}
.maps-consent-btn {
  background: #2a9d8f; color: #fff;
  border: none; border-radius: 99px;
  padding: 0.5rem 1.25rem; font-size: 0.82rem;
  font-weight: 700; cursor: pointer;
  font-family: inherit; transition: background 0.15s;
}
.maps-consent-btn:hover { background: #21867a; }

.footer-reset {
  display: block;
  font-size: 0.72rem;
  opacity: 0.45;
  margin-top: 0.35rem;
  margin-bottom: 0.75rem;
  transition: opacity 0.15s;
  text-decoration: underline;
}
.footer-reset:hover { opacity: 0.7; }