:root {
  --forest-950: #0d1f0d;
  --forest-900: #142014;
  --forest-800: #1e3a1e;
  --forest-700: #2d5228;
  --forest-600: #3d6838;
  --forest-500: #4a784a;
  --forest-400: #6a9e6a;
  --forest-300: #8abe8a;
  --forest-100: #d4ead4;
  --forest-50:  #f0f7f0;

  --gold-700: #8a6a10;
  --gold-600: #b08020;
  --gold-500: #c8941a;
  --gold-400: #e0b030;
  --gold-300: #f0c84a;
  --gold-100: #fdf5d0;

  --stone-900: #1c1917;
  --stone-800: #292524;
  --stone-700: #44403c;
  --stone-600: #57534e;
  --stone-300: #d6d3d1;
  --stone-200: #e7e5e4;
  --stone-100: #f5f5f4;
  --stone-50:  #fafaf9;

  --ease-out:    cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --radius-sm: 6px; --radius-md: 12px; --radius-lg: 20px; --radius-full: 9999px;
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; color: var(--stone-800); background: var(--stone-50); line-height: 1.6; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }

.container { width: 100%; max-width: 1140px; margin-inline: auto; padding-inline: clamp(20px, 5vw, 64px); }

.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--header-h);
  background: rgba(13, 31, 13, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 200ms var(--ease-out), box-shadow 200ms var(--ease-out);
}
.header.scrolled { border-color: rgba(255,255,255,0.07); box-shadow: 0 4px 24px rgba(0,0,0,0.35); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 100%; }
.logo { display: flex; align-items: center; gap: 12px; }
.logo-text { font-family: 'Lora', serif; font-size: 1.15rem; font-weight: 700; color: #fff; letter-spacing: 0.02em; }
.nav { display: flex; align-items: center; gap: 32px; }
.nav a { font-size: 0.9rem; font-weight: 500; color: rgba(255,255,255,0.72); transition: color 180ms var(--ease-out); }
@media (hover: hover) { .nav a:hover { color: var(--gold-300); } }
.burger { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.burger span { display: block; width: 22px; height: 2px; background: #fff; border-radius: 2px; transition: transform 220ms var(--ease-out), opacity 220ms; }
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.hero {
  position: relative; min-height: 100svh; display: flex; align-items: center;
  background: var(--forest-950); overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(13,31,13,0.92) 0%, rgba(13,31,13,0.6) 60%, rgba(13,31,13,0.2) 100%);
}
.hero-mountain { position: absolute; bottom: 0; left: 0; right: 0; height: 50%; }
.hero-mountain svg { width: 100%; height: 100%; }
.hero-content { position: relative; z-index: 1; }
.hero-eyebrow {
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gold-300); margin-bottom: 16px;
  opacity: 0; transform: translateY(16px);
  animation: fadeUp 700ms 100ms var(--ease-out) forwards;
}
.hero-title {
  font-family: 'Lora', serif; font-size: clamp(2.4rem, 6vw, 4.5rem); font-weight: 700;
  color: #fff; line-height: 1.1; letter-spacing: -0.02em; margin-bottom: 20px;
  opacity: 0; transform: translateY(20px);
  animation: fadeUp 700ms 200ms var(--ease-out) forwards;
}
.hero-sub {
  font-size: clamp(1rem, 2vw, 1.15rem); color: rgba(255,255,255,0.65);
  max-width: 520px; margin-bottom: 40px;
  opacity: 0; transform: translateY(16px);
  animation: fadeUp 700ms 320ms var(--ease-out) forwards;
}
.hero-actions {
  display: flex; flex-wrap: wrap; gap: 12px;
  opacity: 0; transform: translateY(12px);
  animation: fadeUp 700ms 440ms var(--ease-out) forwards;
}
.hero-badge {
  position: absolute; bottom: 40px; right: 60px;
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  font-family: 'Lora', serif; font-size: 0.9rem; font-style: italic;
  color: rgba(255,255,255,0.55); z-index: 1;
  opacity: 0; transform: translateY(8px);
  animation: fadeUp 700ms 560ms var(--ease-out) forwards;
}
@keyframes fadeUp { to { opacity: 1; transform: none; } }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 28px; border-radius: var(--radius-full);
  font-size: 0.95rem; font-weight: 600;
  transition: background 180ms var(--ease-out), color 180ms, box-shadow 180ms, transform 140ms var(--ease-out);
}
.btn:active { transform: scale(0.97); }
.btn-primary { background: var(--forest-600); color: #fff; }
@media (hover: hover) { .btn-primary:hover { background: var(--forest-500); box-shadow: 0 4px 20px rgba(61,104,56,0.45); } }
.btn-outline { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,0.3); }
@media (hover: hover) { .btn-outline:hover { border-color: rgba(255,255,255,0.65); background: rgba(255,255,255,0.07); } }

.section { padding-block: clamp(64px, 10vw, 120px); }
.section--alt { background: var(--stone-100); }
.section-header { max-width: 680px; margin-bottom: 56px; }
.label { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--forest-600); margin-bottom: 12px; display: block; }
h2 { font-family: 'Lora', serif; font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 700; color: var(--stone-900); line-height: 1.2; letter-spacing: -0.02em; margin-bottom: 16px; }
p { color: var(--stone-600); line-height: 1.7; }
p + p { margin-top: 12px; }

.section-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.section-text p { margin-top: 16px; }
.image-card { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4/3; }
.image-card--forest { background: var(--forest-800); display: flex; align-items: center; justify-content: center; }
.placeholder-svg { width: 100%; height: 100%; }

.menu-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.menu-card {
  background: #fff; border-radius: var(--radius-md); padding: 28px 24px;
  border: 1px solid var(--stone-200);
  transition: transform 200ms var(--ease-out), box-shadow 200ms var(--ease-out);
}
@media (hover: hover) { .menu-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,0.07); } }
.menu-icon { width: 48px; height: 48px; border-radius: var(--radius-sm); background: var(--forest-50); display: flex; align-items: center; justify-content: center; color: var(--forest-600); margin-bottom: 16px; }
.menu-icon svg { width: 26px; height: 26px; }
.menu-card h3 { font-family: 'Lora', serif; font-size: 1.05rem; font-weight: 700; color: var(--stone-900); margin-bottom: 8px; }
.menu-card p { font-size: 0.88rem; }

/* === HERO IMG === */
.hero-img { width: 100%; height: 100%; object-fit: cover; }

/* === FOOD GALLERY === */
.food-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: 220px 220px;
  gap: 8px;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.food-img { overflow: hidden; }
.food-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 500ms var(--ease-out); }
@media (hover: hover) { .food-img:hover img { transform: scale(1.04); } }
.food-img--big { grid-column: span 2; grid-row: span 2; }

/* === GALLERY GRID === */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 220px;
  gap: 8px;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.gallery-item { overflow: hidden; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; cursor: zoom-in; transition: transform 500ms var(--ease-out); }
@media (hover: hover) { .gallery-item:hover img { transform: scale(1.04); } }
.gallery-item--wide { grid-column: span 2; }

.image-card img { width: 100%; height: 100%; object-fit: cover; }

.hours-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.hours-card { background: #fff; border-radius: var(--radius-md); padding: 36px; border: 1px solid var(--stone-200); }
.hours-card h3 { font-family: 'Lora', serif; font-size: 1.2rem; font-weight: 700; color: var(--stone-900); margin-bottom: 24px; }
.hours-list { display: flex; flex-direction: column; gap: 12px; }
.hours-row { display: flex; justify-content: space-between; font-size: 0.92rem; padding: 8px 0; border-bottom: 1px solid var(--stone-100); }
.hours-row span:first-child { font-weight: 500; color: var(--stone-700); }
.hours-row span:last-child { color: var(--stone-600); }
.hours-row.closed span { color: var(--stone-400); text-decoration: line-through; }
.hours-row.highlight span { color: var(--forest-700); font-weight: 600; }
.hours-info { display: flex; flex-direction: column; gap: 28px; }
.info-item { display: flex; gap: 16px; align-items: flex-start; }
.info-icon { width: 44px; height: 44px; flex-shrink: 0; border-radius: var(--radius-sm); background: var(--forest-50); display: flex; align-items: center; justify-content: center; color: var(--forest-600); }
.info-item h4 { font-family: 'Lora', serif; font-size: 1rem; font-weight: 700; color: var(--stone-900); margin-bottom: 4px; }

.anreise-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.anreise-card {
  background: #fff; border-radius: var(--radius-md); padding: 32px 24px; text-align: center;
  border: 1px solid var(--stone-200);
  transition: transform 200ms var(--ease-out), box-shadow 200ms var(--ease-out);
}
@media (hover: hover) { .anreise-card:hover { transform: translateY(-3px); box-shadow: 0 10px 36px rgba(0,0,0,0.07); } }
.anreise-icon { width: 56px; height: 56px; border-radius: var(--radius-sm); background: var(--forest-50); display: flex; align-items: center; justify-content: center; color: var(--forest-600); margin: 0 auto 20px; }
.anreise-icon svg { width: 30px; height: 30px; }
.anreise-card h3 { font-family: 'Lora', serif; font-size: 1.05rem; font-weight: 700; color: var(--stone-900); margin-bottom: 10px; }

.kontakt-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.kontakt-info p { margin-top: 16px; }
.contact-list { margin-top: 32px; display: flex; flex-direction: column; gap: 16px; }
.contact-item { display: flex; align-items: center; gap: 12px; font-size: 0.95rem; color: var(--stone-700); }
.contact-item svg { flex-shrink: 0; color: var(--forest-600); }
.contact-item a { color: var(--forest-600); }
@media (hover: hover) { .contact-item a:hover { color: var(--forest-500); } }

.contact-form { display: flex; flex-direction: column; gap: 20px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: 0.85rem; font-weight: 600; color: var(--stone-700); }
.form-group input, .form-group textarea {
  padding: 12px 16px; border-radius: var(--radius-sm);
  border: 1.5px solid var(--stone-200); background: #fff;
  font: inherit; font-size: 0.95rem; color: var(--stone-800); resize: vertical;
  transition: border-color 150ms var(--ease-out), box-shadow 150ms var(--ease-out);
}
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--forest-500); box-shadow: 0 0 0 3px rgba(74,120,74,0.12); }
.form-success { font-size: 0.9rem; color: #15803d; background: #dcfce7; padding: 12px 16px; border-radius: var(--radius-sm); opacity: 0; transition: opacity 300ms; pointer-events: none; }
.form-success.visible { opacity: 1; }

.footer { background: var(--forest-950); padding-block: 40px; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.footer-brand { display: flex; align-items: center; gap: 10px; font-family: 'Lora', serif; font-size: 0.95rem; color: rgba(255,255,255,0.8); font-weight: 600; }
.footer-copy { font-size: 0.82rem; color: rgba(255,255,255,0.38); }

.back-top {
  position: fixed; bottom: 28px; right: 28px; z-index: 50;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--forest-700); color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
  opacity: 0; transform: translateY(12px) scale(0.95);
  transition: opacity 250ms var(--ease-out), transform 250ms var(--ease-out), background 150ms;
  pointer-events: none;
}
.back-top.show { opacity: 1; transform: none; pointer-events: auto; }
@media (hover: hover) { .back-top:hover { background: var(--forest-600); } }
.back-top:active { transform: scale(0.95); }

.stagger-child { opacity: 0; transform: translateY(18px); transition: opacity 500ms var(--ease-out), transform 500ms var(--ease-out); }
.stagger-child.visible { opacity: 1; transform: none; }
.menu-grid .stagger-child:nth-child(2) { transition-delay: 60ms; }
.menu-grid .stagger-child:nth-child(3) { transition-delay: 120ms; }
.menu-grid .stagger-child:nth-child(4) { transition-delay: 180ms; }
.menu-grid .stagger-child:nth-child(5) { transition-delay: 240ms; }
.menu-grid .stagger-child:nth-child(6) { transition-delay: 300ms; }
.anreise-grid .stagger-child:nth-child(2) { transition-delay: 60ms; }
.anreise-grid .stagger-child:nth-child(3) { transition-delay: 120ms; }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; } }

@media (max-width: 900px) {
  .menu-grid { grid-template-columns: repeat(2, 1fr); }
  .section-grid, .kontakt-grid, .hours-grid { grid-template-columns: 1fr; gap: 40px; }
  .anreise-grid { grid-template-columns: 1fr; }
  .hero-badge { display: none; }
}
@media (max-width: 640px) {
  .nav { display: none; position: fixed; inset: var(--header-h) 0 0; background: var(--forest-950); flex-direction: column; justify-content: center; gap: 32px; text-align: center; padding: 40px; }
  .nav.open { display: flex; }
  .nav a { font-size: 1.2rem; }
  .burger { display: flex; }
  .menu-grid { grid-template-columns: 1fr; }
}
