/**
 * RESTAURANT ZEITGEIST - Core Stylesheet
 * Typ: Vanilla CSS3 (Lean Webdesign, DSGVO-konform)
 */

/* ==========================================================================
   1. SCHRIFTEN LADEN (@font-face)
   ========================================================================== */

/* --- Playfair Display (Überschriften & edle Akzente) --- */
@font-face {
    font-family: 'Playfair Display';
    src: url('fonts/playfair-display-v40-latin_latin-ext-regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Playfair Display';
    src: url('fonts/playfair-display-v40-latin_latin-ext-italic.woff2') format('woff2');
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Playfair Display';
    src: url('fonts/playfair-display-v40-latin_latin-ext-600.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

/* --- Inter (Fließtext, UI & Preise) --- */
@font-face {
    font-family: 'Inter';
    src: url('fonts/inter-v20-latin_latin-ext-300.woff2') format('woff2');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Inter';
    src: url('fonts/inter-v20-latin_latin-ext-regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Inter';
    src: url('fonts/inter-v20-latin_latin-ext-700.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* ==========================================================================
   2. VARIABLEN (Farbpalette & Typografie)
   ========================================================================== */
:root {
  --bg-color: #F9F8F6;       /* Weiches Hafer-Beige */
  --text-color: #2A2A2A;     /* Tiefes, warmes Anthrazit */
  --accent-color: #B89B5E;   /* Subtiles, mattes Gold */
  --text-muted: #666666;     /* Edles Grau für Zutaten & Meta-Texte */
  --sage-green: #7A896D; 
  --sage-gradient: linear-gradient(90deg, #DDE3D9 0%, #D1D9CD 100%);
  
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  
  --max-width-text: 720px;
  --max-width-page: 1200px;
}

/* ==========================================================================
   3. RESET & BASICS
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: var(--bg-color);
  color: var(--text-color);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  font-weight: 300;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ==========================================================================
   4. TYPOGRAFIE (Editorial Design)
   ========================================================================== */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 400;
  line-height: 1.15;
  color: var(--text-color);
  margin-bottom: 1.5rem;
}

h1 { 
  font-size: clamp(2rem, 4vw, 3.2rem); 
  letter-spacing: 0.02em; 
}

h2 { 
  font-size: clamp(1.8rem, 3vw, 2.4rem); 
  margin-top: 3rem; 
}

h3 { 
  font-size: 1.5rem; 
  font-weight: 600;
}

p {
  margin-bottom: 1.5rem;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease, border-color 0.3s ease;
}

a:hover {
  color: var(--accent-color);
}

.accent-italic {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
}

/* ==========================================================================
   5. LAYOUT & WHITESPACE
   ========================================================================== */
.container {
  width: 100%;
  max-width: var(--max-width-page);
  margin: 0 auto;
  padding: 0 2rem;
}

.content-narrow {
  max-width: var(--max-width-text);
  margin: 0 auto;
  text-align: center;
  /* Festgelegte Größe für alle Unterseiten: 5rem oben/unten, 2rem Seite */
  padding: 5rem 2rem; 
}

/* Hilfsklassen für den einheitlichen Magazin-Kopf */
.pre-title {
    font-family: var(--font-sans);
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.3em;
    color: var(--text-muted);
    display: block;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-color);
    margin-bottom: 0;
}

/* Trennlinie unter dem Kopfbereich */
.content-narrow hr {
  border: none;
  border-top: 1px solid var(--accent-color);
  opacity: 0.3;
  margin: 3rem auto 0;
  width: 80px;
}

/* Hilfsklassen um Inline-Styles im HTML zu vermeiden */
.pt-0 { padding-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.mt-0 { margin-top: 0 !important; }

/* ==========================================================================
   6. HEADER & NAVIGATION
   ========================================================================== */
header {
  padding: 2rem 0;
  border-bottom: 1px solid rgba(184, 155, 94, 0.15);
}

.nav-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

.logo {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
}

.logo img {
  max-height: 90px;
  width: auto;
  object-fit: contain;
  display: block;
}

#nav-toggle {
  display: none;
}

.nav-toggle-label {
  display: none;
  cursor: pointer;
  font-family: var(--font-sans);
  text-transform: uppercase;
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.1em;
}

.main-nav ul {
  display: flex;
  list-style: none;
  gap: 2.5rem;
  align-items: center;
}

.main-nav a {
  font-size: 0.85rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.btn-cta {
  border-bottom: 1px solid var(--accent-color);
  padding-bottom: 4px;
  color: var(--accent-color);
  font-weight: 700;
}

/* Responsive Navigation */
@media (max-width: 900px) {
  .nav-toggle-label {
    display: block;
  }
  
  .main-nav {
    position: absolute;
    top: calc(100% + 2rem);
    left: 0;
    width: 100%;
    background-color: var(--bg-color);
    box-shadow: 0 20px 30px -10px rgba(0,0,0,0.08);
    display: none;
    padding: 2.5rem 0;
    z-index: 100;
    border-bottom: 1px solid rgba(184, 155, 94, 0.1);
  }
  
  .main-nav ul {
    flex-direction: column;
    gap: 1.8rem;
  }
  
  #nav-toggle:checked ~ .main-nav {
    display: block;
  }
}

/* ==========================================================================
   7. ASYMMETRISCHES BILDER-GRID
   ========================================================================== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 2rem;
  margin: 5rem 0;
  align-items: center;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  background-color: rgba(0,0,0,0.03);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 1.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.03);
}

.item-large  { grid-column: span 7; height: 550px; }
.item-small  { grid-column: span 5; height: 400px; }
.item-medium { grid-column: span 6; height: 450px; }

.item-small.flex-center {
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: transparent;
}

@media (max-width: 768px) {
  .gallery-grid { gap: 1rem; margin: 3rem 0; }
  .gallery-item { grid-column: span 12 !important; height: 350px; }
}

/* ==========================================================================
   8. SPEISEKARTE & HIGHLIGHTS
   ========================================================================== */
.menu-section {
  max-width: var(--max-width-text);
  margin: 0 auto 5rem;
}

.menu-section-title {
  text-align: center;
  color: var(--accent-color);
  margin-bottom: 3rem;
}

.dish {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  border-bottom: 1px solid rgba(42, 42, 42, 0.08);
  padding-bottom: 0.5rem;
  margin-top: 2rem;
}

.dish-name {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--text-color);
  font-weight: 600;
}

.dish-price {
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 400;
  color: var(--accent-color);
  padding-left: 1rem;
  text-align: right;
  flex-shrink: 0;
}

.dish-price small {
  display: block;
  font-size: 0.8rem;
  white-space: nowrap;
  color: var(--text-muted);
}

.dish-ingredients {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 0.4rem;
  margin-bottom: 0;
  line-height: 1.4;
}

.menu-highlight-box {
    background-color: rgba(184, 155, 94, 0.05);
    padding: 4rem 2rem;
    margin-bottom: 6rem;
    border-left: 4px solid var(--accent-color);
}

.dish-highlight {
    border-bottom: 2px solid var(--accent-color);
    padding-bottom: 1.5rem;
}

.menu-spacer { margin-top: 5rem; }
.experience-title { font-size: 1.8rem; margin-bottom: 2rem; }
.section-subline { text-align: center; margin-bottom: 2rem; }
.menu-service-note { margin-top: 2rem; font-size: 0.85rem; text-align: center; }
.allergen-footer { padding-bottom: 5rem; opacity: 0.5; font-size: 0.75rem; text-align: center; }

/* Wiederverwendbare Highlight-Box (aus Events übernommen, anwendbar auf alle Seiten) */
.highlight-box {
    background-color: rgba(184, 155, 94, 0.05);
    padding: 5rem 2rem;
    text-align: center;
    margin-top: 4rem;
    margin-bottom: 4rem;
}

.highlight-box p {
    max-width: 600px;
    margin: 0 auto 2rem;
}

/* ==========================================================================
   9. EVENTS
   ========================================================================== */
.event-item {
    border-bottom: 1px solid rgba(184, 155, 94, 0.15);
    padding: 2.5rem 0;
    text-align: center;
}

.event-category {
    font-family: var(--font-sans);
    color: var(--accent-color);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    display: block;
    margin-bottom: 0.75rem;
}

.event-item h3 {
    font-family: var(--font-serif);
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.event-item p {
    font-family: var(--font-sans);
    color: var(--text-muted);
    max-width: 500px;
    margin: 0 auto;
    font-size: 0.95rem;
}

/* ==========================================================================
   10. FOOTER
   ========================================================================== */
footer {
  /* Der neue Hintergrund-Verlauf */
  background: var(--sage-gradient);
  
  /* Etwas mehr Padding oben, damit der Inhalt nicht am Rand klebt */
  padding: 6rem 0 3rem;
  
  /* Die Border kann dezenter werden oder ganz weg, da die Farbe trennt */
  border-top: 1px solid rgba(143, 160, 130, 0.2); 
  
  margin-top: 7rem;
  font-size: 0.9rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer-grid h4 {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  color: var(--text-color);
}

.footer-grid p, 
.footer-grid ul li a {
  color: var(--text-muted);
  line-height: 1.8;
}

/* Ersetzt die Inline-Styles <ul style="list-style: none; padding: 0;"> in allen Footern */
.footer-grid ul {
  list-style: none;
  padding: 0;
}

.footer-grid ul li {
  margin-bottom: 0.4rem;
}

/* Ersetzt den Inline-Style <hr style="..."> im Footer */
footer hr {
  margin: 2rem auto;
  width: 100%;
  opacity: 0.1;
  border-top: 1px solid var(--accent-color);
}

.footer-meta {
  color: var(--text-muted);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  font-size: 0.8rem;
}