/*#region VARIABLES (Hoffeld Branding) */
:root {
  /* Hoffeld Dunkelgrün: main color for backgrounds and surfaces */
  --color-hoffeld-dunkelgruen: #274032; /* Hoffeld Dunkelgrün (Hauptfarbe, Hintergrund, Flächen) */
  /* Gold-Beige: accents, lines, icons */
  --color-gold-beige:      #D9BF71;     /* Gold-Beige (Akzente, Linien, Icons) */
  /* Gold-Orange: buttons and CTAs */
  --color-gold-orange:     #D99518;     /* Gold-Orange (Buttons & CTA) */
  /* Erdbraun: headlines, borders, structure */
  --color-erdbraun:        #8C5F27;     /* Erdbraun (Headlines, Rahmen, Struktur) */
  /* Steingrau: backgrounds, contrasts, reading surfaces */
  --color-steingrau:       #F2F2F2;     /* Steingrau (Hintergrund, Kontraste, Leseflächen) */

  /* Secondary (optional) */
  /* Blasses Salbeigrün: subtle accents */
  --color-salbeigruen:     #B9C6AE;     /* Blasses Salbeigrün (dezente Akzente) */
  /* Cremeweiß: warm, soft backgrounds */
  --color-cremweiss:       #FFF9ED;     /* Cremeweiß (warme, weiche Hintergründe) */

  /* Text colors */
  --color-text-on-light:   var(--color-hoffeld-dunkelgruen); /* Dark text on light background */
  --color-text-on-dark:    var(--color-cremweiss);           /* Light text on dark background */

  /* Divider lines */
  --line-thin:             1px solid var(--color-gold-beige);    /* thin gold-beige line */
  --line-super-thin:       0.5px solid var(--color-gold-beige);  /* super-thin gold-beige line */

  /* Minimum spacing (~1 cm ≃ 38 px) */
  --spacing-min:           1em; /* minimum margin between sections */

  /* Fonts */
  --font-body:    'Roboto', sans-serif;
  --font-heading: 'Playfair Display', serif;
  --font-title:   'QuickQuick', serif;

  /* Button hover (5% darker Gold-Orange) */
  --color-gold-orange-dark: #C28515; /* Gold-Orange Dark (hover state) */
}
/*#endregion*/

/*#region SELF-HOSTED FONT: Justus Pro (or alternative) */
@font-face {
  font-family: 'Justus Pro'; /* internal name */
  src: url('../fonts/justus-pro/JustusPro-Regular.woff2') format('woff2'),
       url('../fonts/justus-pro/JustusPro-Regular.woff')  format('woff');
  font-weight: normal;
  font-style: normal;
  font-display: swap; /* avoids rendering delays */
}
@font-face {
  font-family: 'Justus Pro';
  src: url('../fonts/justus-pro/JustusPro-Bold.woff2') format('woff2'),
       url('../fonts/justus-pro/JustusPro-Bold.woff')  format('woff');
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

@font-face {
    font-family: 'Quick';
    src: url('../fonts/quick/Quick.woff2') format('woff2'),
        url('../fonts/quick/Quick.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}
/*#endregion*/

/*#region RESET & BASE */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  padding-top: 5.5rem; /* offset for fixed header */
  line-height: 1.5;
  background: var(--color-steingrau); /* stone-gray background */
  color: var(--color-text-on-light);
  font-family: var(--font-body);
}
/*#endregion*/

/*#region TYPOGRAPHY */
h1,
h2,
h3 {
  font-family: var(--font-heading);
  color: var(--color-hoffeld-dunkelgruen); /* Hoffeld Dunkelgrün for headings */
}
/*#endregion*/

/*#region GLOBAL LINK & BUTTON STYLES */
/* Links */
a {
  color: var(--color-gold-beige); /* Gold-Beige links */
  text-decoration: none;
  transition: color 0.2s;
}

a:hover,
a:focus {
  color: var(--color-gold-orange); /* Gold-Orange on hover */
  text-decoration: underline;
}

/* Buttons / CTA */
/* Use Gold-Orange background with white (Cremeweiß) text */
button,
.btn {
  background-color: var(--color-gold-orange);
  color: var(--color-cremweiss);
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 50px; /* rounded buttons */
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 1rem;
  transition: background-color 0.2s, transform 0.1s;
}

button:hover,
.btn:hover {
  background-color: var(--color-gold-orange-dark); /* darker on hover */
  transform: scale(1.03);
}

button:active,
.btn:active {
  transform: scale(0.97);
}
/*#endregion*/

/*#region CONTAINER UTILITY */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--spacing-min) 0; /* enforce minimum 1 cm vertical spacing */
}
/*#endregion*/

/*#region DECORATIVE ELEMENTS */
/* Decorative horizontal line (super-thin) */
.hr-deco {
  border: none;
  border-top: var(--line-super-thin);
  margin: var(--spacing-min) 0;
}

/* Round frames / separators */
.round-frame {
  border: 2px solid var(--color-gold-beige); /* round frame in Gold-Beige */
  border-radius: 50%;
  padding: 1rem;
  display: inline-block;
}
/*#endregion*/

/*#region HEADER */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: var(--color-hoffeld-dunkelgruen); /* dark-green header */
  padding: 1rem 0;
  z-index: 1000;
  transition: transform 0.3s ease;
}

.site-header.hidden {
  transform: translateY(-100%);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo img {
  height: 50px;
  width: auto;
}

.logo .trademark {
  height: 75px;
  width: auto;
}

.logo-link{
  display: flex;
  align-items: center;
  text-decoration: none;
  gap: 1rem;
}

.site-header .logo span {
  font-family: var(--font-title);
  font-size: 1.25rem;
  font-weight: bold;
  color: var(--color-cremweiss); /* white logo text */
}

/* Mobile Menu Toggle (hidden by default) */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
}

.menu-toggle span {
  width: 25px;
  height: 3px;
  background: var(--color-cremweiss); /* white bars */
}
/*#endregion*/

/*#region NAVIGATION */
.main-nav {
  display: flex;
  gap: 0.5rem;
}

.main-nav a {
  padding: 0.5rem 1rem;
  border-radius: 4px;
  color: var(--color-cremweiss); /* white nav links */
  transition: background 0.2s, transform 0.2s;
}

.main-nav a:hover {
  background: var(--color-erdbraun); /* Erdbraun on hover */
  transform: scale(1.05);
}

.main-nav a:active {
  transform: scale(0.95);
}

/* Overlay for mobile nav */
.overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 900;
}
/*#endregion*/

/*#region HERO */
.hero {
  position: relative;
  height: 100vh;
  background: url('../images/ChefInAktion_Hor.jpg') center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--color-cremweiss); /* white hero text */
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
}

.hero-content {
  position: relative;
  padding: 0 1rem;
  z-index: 1;
}

.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 0.5rem;
  color: var(--color-gold-beige);
}

.hero-content p {
  font-size: 1.5rem;
}
/*#endregion*/

/*#region FOOD GALLERY */
.food-section {
  padding: 4rem 0;
}

.food-section .container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.food-item img {
  width: 100%;
  border-radius: 8px;
  display: block;
}

.food-item p {
  margin-top: 0.5rem;
  text-align: center;
  font-weight: bold;
  color: var(--color-hoffeld-dunkelgruen); /* dark-green captions */
}
/*#endregion*/

/*#region ABOUT GRID (3 cols × 2 rows) */
.about-section {
  padding: 4rem 2rem;
}

.about-section .container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

/* Grid items */
.item-1 { grid-column: 1 / span 2; grid-row: 1; }
.item-2 { grid-column: 3; grid-row: 1; }
.item-3 { grid-column: 1; grid-row: 2; }
.item-4 { grid-column: 2 / span 2; grid-row: 2; }

.about-item--pic img {
  width: 100%;
  border-radius: 8px;
}

.about-item--text {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about-item--text h2 {
  margin-bottom: 0.5rem;
  font-size: 1.75rem;
  color: var(--color-hoffeld-dunkelgruen); /* dark-green headings */
}

.about-item--text p {
  line-height: 1.6;
  color: var(--color-erdbraun); /* Erdbraun body text */
}
/*#endregion*/

/*#region MENU SECTION */
.menu-section {
  padding: 4rem 2rem;
  background: var(--color-steingrau); /* stone-gray background */
}

/* Category heading with decorative lines */
.menu-category {
  display: flex;
  align-items: center;
  font-size: 1.5rem;
  color: var(--color-hoffeld-dunkelgruen); /* dark-green category title */
  margin: 3rem 0 1.5rem;
}
.menu-category::before,
.menu-category::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--color-gold-beige); /* Gold-Beige line */
}
.menu-category::before {
  margin-right: 0.75em;
}
.menu-category::after {
  margin-left: 0.75em;
}

/* Menu items */
.menu-item {
  display: flex;
  justify-content: space-between;
  margin-bottom: 2rem;
}

.menu-item-info {
  max-width: 70%;
}

.dish-name {
  font-size: 1.25rem;
  margin-bottom: 0.25rem;
  color: var(--color-erdbraun); /* Erdbraun dish name */
}

.dish-desc {
  font-size: 0.9rem;
  line-height: 1.4;
  color: var(--color-erdbraun); /* Erdbraun dish description */
  font-style: italic;
}

.dish-price {
  font-size: 1.1rem;
  font-weight: bold;
  color: var(--color-hoffeld-dunkelgruen); /* dark-green price */
  align-self: flex-start;
}
/*#endregion*/

/*#region FOOTER */
.site-footer {
  background: var(--color-hoffeld-dunkelgruen); /* dark-green footer */
  color: var(--color-cremweiss); /* white footer text */
  padding: 3rem 0;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

.footer-col {
  flex: 1;
  text-align: center;
}

.footer-col h3 {
  margin-bottom: 1rem;
  color: var(--color-gold-beige); /* Gold-Beige footer headings */
}

.footer-links ul {
  list-style: none;
}

.footer-links li + li {
  margin-top: 0.5rem;
}

.footer-links a {
  color: var(--color-cremweiss); /* white footer links */
  transition: color 0.2s, transform 0.2s;
}

.footer-links a:hover {
  color: var(--color-gold-beige); /* Gold-Beige hover */
  transform: scale(1.03);
}

.footer-logo img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}
/*#endregion*/

/*#region LEGAL / RIGHT-SIDE PAGES */
.legal-section {
  padding: 4rem 2rem;
  background: var(--color-steingrau); /* stone-gray legal background */
}

.legal-section .container {
  max-width: 800px;
  margin: 0 auto;
}

.legal-section h1 {
  font-size: 2.5rem;
  color: var(--color-hoffeld-dunkelgruen); /* dark-green title */
  margin-bottom: 1.5rem;
  text-align: center;
}

.legal-section h2 {
  font-size: 1.5rem;
  color: var(--color-gold-beige); /* Gold-Beige subheading */
  margin: 2rem 0 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--color-gold-beige);
}

.legal-section p,
.legal-section ul {
  color: var(--color-hoffeld-dunkelgruen); /* dark-green body text */
  line-height: 1.6;
  margin-bottom: 1rem;
}

.legal-section ul {
  list-style: disc inside;
}

.legal-section a {
  color: var(--color-erdbraun); /* Erdbraun legal links */
  text-decoration: underline;
}
/*#endregion*/

/*#region MEDIA QUERIES */
@media (max-width: 768px) {
  /* Mobile header */
  .menu-toggle {
    display: flex;
  }

  .main-nav {
    display: none;
    position: fixed;
    top: 1rem;
    right: 1rem;
    flex-direction: column;
    background: var(--color-cremweiss); /* white mobile menu background */
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
  }

  .site-header.nav-open .overlay {
    display: block;
  }

  .site-header.nav-open .main-nav {
    display: flex;
  }

  .main-nav a {
    margin: 0.5rem 0;
    color: var(--color-hoffeld-dunkelgruen); /* dark-green links */
  }

  .main-nav a:hover {
    background: var(--color-erdbraun); /* Erdbraun on hover */
    color: var(--color-cremweiss); /* white text on hover */
    transform: scale(1.05);
  }

  .header-inner {
    flex-wrap: nowrap;
  }

  /* Footer stacks vertically */
  .footer-content {
    flex-direction: column;
    align-items: center;
  }

  .footer-col {
    margin-bottom: 2rem;
  }

  /* About section single column */
  .about-section .container {
    grid-template-columns: 1fr;
  }

  .about-section .container > * {
    grid-column: auto !important;
    grid-row: auto !important;
  }
}
/*#endregion*/
