:root {
  --green-dark: #30623d;
  --green-light: #abc750;
  --green-dark-tint: #e8f0e5;
  --text: #24291f;
  --text-muted: #5c6357;
  --bg: #ffffff;
  --bg-alt: #f7f9f3;
  --border: #e3e7dc;
  --danger: #b3492f;
  --radius: 14px;
  --shadow: 0 4px 20px rgba(48, 98, 61, 0.08);
  --font-heading: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.6;
}

img { max-width: 100%; display: block; }

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

h1, h2, h3 {
  font-family: var(--font-heading);
  color: var(--green-dark);
  line-height: 1.2;
  margin: 0 0 0.5em;
}

a { color: var(--green-dark); text-decoration: none; }
a:hover { text-decoration: underline; }

/* Header */
.site-header {
  border-bottom: 1px solid var(--border);
  background: var(--bg);
  position: sticky;
  top: 0;
  z-index: 10;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
}
.logo-img { height: 56px; width: auto; }
.main-nav a {
  margin-left: 24px;
  font-weight: 600;
  color: var(--text);
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
}
.main-nav a:hover, .main-nav a.active {
  color: var(--green-dark);
  border-bottom-color: var(--green-light);
  text-decoration: none;
}

/* Hero */
.hero {
  background: linear-gradient(180deg, var(--green-dark-tint) 0%, var(--bg) 100%);
  padding: 60px 0 40px;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 40px;
  align-items: center;
}
.hero-text .eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  color: var(--green-dark);
  font-size: 0.85rem;
}
.hero-text h1 { font-size: clamp(2rem, 4vw, 3rem); }
.hero-text p { color: var(--text-muted); font-size: 1.1rem; }
.hero-image {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.hero-image img { width: 100%; height: 100%; object-fit: cover; }

.btn {
  display: inline-block;
  background: var(--green-dark);
  color: #fff;
  padding: 12px 28px;
  border-radius: 999px;
  font-weight: 600;
  margin-top: 10px;
}
.btn:hover { background: #244d31; text-decoration: none; color: #fff; }
.btn-outline {
  background: transparent;
  color: var(--green-dark);
  border: 2px solid var(--green-dark);
}
.btn-outline:hover { background: var(--green-dark); color: #fff; }

/* Sections */
section { padding: 50px 0; }
.section-alt { background: var(--bg-alt); }
.section-heading { text-align: center; margin-bottom: 36px; }
.section-heading p { color: var(--text-muted); }

/* Highlight dishes grid */
.dish-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}
.dish-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.dish-card img { width: 100%; height: 140px; object-fit: cover; }
.dish-card-body { padding: 16px; }
.dish-card-body h3 { font-size: 1.1rem; margin-bottom: 4px; }
.dish-price { color: var(--green-dark); font-weight: 700; }

/* Info grid: hours / location / contact */
.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
}
.info-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}
.info-card h3 { display: flex; align-items: center; gap: 8px; }
.hours-list { list-style: none; padding: 0; margin: 0; }
.hours-list li {
  display: flex;
  justify-content: space-between;
  padding: 4px 0;
  border-bottom: 1px dashed var(--border);
}
.hours-list li:last-child { border-bottom: none; }
.hours-note { margin: 12px 0 0; font-size: 0.85rem; color: var(--text-muted); font-style: italic; }
.map-embed { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); }
.map-embed iframe { width: 100%; height: 220px; border: 0; display: block; }

/* ---- Paper theme (Speisekarte), inspired by the printed menu ---- */
.theme-paper {
  background-color: #f4f2e4;
  background-image:
    radial-gradient(circle at 20% 15%, rgba(123, 160, 91, 0.06), transparent 40%),
    radial-gradient(circle at 85% 75%, rgba(48, 98, 61, 0.05), transparent 45%);
}
.theme-paper .site-header {
  background: rgba(244, 242, 228, 0.95);
}

/* Bamboo-leaf parallax layer */
.leaf-layer {
  position: fixed;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}
.leaf {
  position: absolute;
  will-change: transform;
  opacity: 0.55;
}
.leaf-tl { top: 70px;   left: -50px;  width: 240px; opacity: 0.5; }
.leaf-tr { top: 30px;   right: -60px; width: 300px; opacity: 0.6; }
.leaf-ml { top: 42%;    left: -70px;  width: 200px; opacity: 0.4; }
.leaf-mr { top: 58%;    right: -80px; width: 260px; opacity: 0.45; }
.leaf-bl { bottom: 8%;  left: -55px;  width: 230px; opacity: 0.5; }
.leaf-br { bottom: 2%;  right: -40px; width: 190px; opacity: 0.4; }

.menu-section { position: relative; z-index: 1; }

/* Homepage bamboo theme: lift sections above the drifting leaf layer,
   soften full-width backgrounds so the bamboo shows through at the edges. */
.theme-paper .hero {
  background: linear-gradient(180deg, rgba(171, 199, 80, 0.14) 0%, rgba(244, 242, 228, 0) 100%);
}
.theme-paper main > section { position: relative; z-index: 1; }
.theme-paper .section-alt {
  background: rgba(255, 255, 255, 0.6);
}
.theme-paper .hero-image { box-shadow: 0 14px 44px rgba(48, 98, 61, 0.16); }
.menu-frame {
  position: relative;
  z-index: 1;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(48, 98, 61, 0.25);
  border-radius: 22px;
  padding: 40px;
  box-shadow: 0 10px 40px rgba(48, 98, 61, 0.08);
}
.theme-paper .menu-category h2 {
  font-family: var(--font-heading);
  text-align: center;
  border-bottom: none;
  position: relative;
  padding-bottom: 16px;
}
.theme-paper .menu-category h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background: var(--green-light);
  border-radius: 2px;
  margin: 10px auto 0;
}
.theme-paper .menu-item { border-bottom-color: rgba(48, 98, 61, 0.12); }

@media (max-width: 800px) {
  .menu-frame { padding: 22px 16px; }
  .leaf-tl, .leaf-ml, .leaf-bl { width: 150px; }
  .leaf-tr, .leaf-mr { width: 170px; }
  .leaf-br { width: 130px; }
}

/* Speisekarte */
.menu-header {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
}
.menu-category { margin-bottom: 48px; }
.menu-category h2 {
  border-bottom: 2px solid var(--green-light);
  padding-bottom: 8px;
  margin-bottom: 20px;
}
.menu-item {
  display: flex;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}
.menu-item:last-child { border-bottom: none; }
.menu-item-thumb {
  width: 72px;
  height: 72px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
  background: var(--bg-alt);
}
.menu-item-body { flex: 1; }
.menu-item-title-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: baseline;
}
.menu-item-title-row h3 { margin: 0; font-size: 1.05rem; color: var(--text); font-family: var(--font-body); font-weight: 600; }
.menu-item-desc { color: var(--text-muted); font-size: 0.92rem; margin: 4px 0; }
.menu-item-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 6px; }
.tag {
  font-size: 0.7rem;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: 999px;
  background: var(--bg-alt);
  color: var(--text-muted);
  border: 1px solid var(--border);
}
.tag-spicy { background: #fbeae5; color: var(--danger); border-color: #f3cfc4; }
.tag-glutenfree { background: var(--green-dark-tint); color: var(--green-dark); border-color: #cfe0c9; }
.menu-item.unavailable { opacity: 0.55; }
.menu-item.unavailable .menu-item-title-row h3::after {
  content: " — Ausverkauft";
  color: var(--danger);
  font-weight: 600;
  font-size: 0.85rem;
}
.allergen-legend {
  margin-top: 40px;
  padding: 20px;
  background: var(--bg-alt);
  border-radius: var(--radius);
  font-size: 0.85rem;
  color: var(--text-muted);
}
.allergen-legend h3 { font-size: 1rem; margin-bottom: 10px; }

/* Footer */
.site-footer {
  background: var(--green-dark);
  color: #dce8da;
  padding: 40px 0;
  margin-top: 40px;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
  align-items: center;
}
.footer-logo { height: 40px; filter: brightness(0) invert(1); opacity: 0.9; }
.footer-brand { display: flex; align-items: center; gap: 16px; }
.footer-brand p { margin: 0; font-size: 0.85rem; }
.site-footer a { color: #fff; }
.footer-links { display: flex; gap: 20px; }

@media (max-width: 800px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-image { order: -1; }
  .footer-inner { flex-direction: column; text-align: center; }
  .menu-item-title-row { flex-direction: column; align-items: flex-start; gap: 2px; }
}
