/* ==========================================================================
   Villa Restaurant Sömmerda - Speisekarte
   Version: 2.4 (Wash heller im scharfen Bereich, Auslauf frueher,
                 4-stufiger Schatten auf Schrift)
   ========================================================================== */


/* === Hero ================================================================ */

.hero--page {
  position: relative;
  min-height: 64vh;
  background: var(--vr-anthrazit);
  overflow: hidden;
  display: flex;
  align-items: center;
  padding-block: var(--vr-space-xl);
}

.hero--page .hero__media {
  position: absolute;
  inset: -10% 0 0 0;
  z-index: 1;
  will-change: transform;
}

.hero--page .hero__media picture,
.hero--page .hero__media .hero__img {
  display: block;
  width: 100%;
  height: 100%;
}

.hero--page .hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 80%;
}

/* Heller oben (0.48), frueher Auslauf in Creme ab 50 Prozent.
   Dadurch bleibt der scharfe Bereich sichtbar und es gibt
   keine harte Bildkante mehr nach unten. */
.hero--page .hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(
    180deg,
    rgba(26, 20, 16, 0.48) 0%,
    rgba(26, 20, 16, 0.42) 18%,
    rgba(26, 20, 16, 0.32) 35%,
    rgba(26, 20, 16, 0.18) 60%,
    rgba(239, 230, 210, 0.00) 72%,
    rgba(239, 230, 210, 0.45) 85%,
    rgba(239, 230, 210, 0.85) 96%,
    rgba(239, 230, 210, 1.00) 100%
  );
}

.hero--page .hero__inner {
  position: relative;
  z-index: 3;
}

.hero__inner--center {
  text-align: center;
  margin-inline: auto;
  max-width: 760px;
  margin-bottom: 8vh;
}

/* 4-stufiger Schatten kompensiert helleren Wash */
.hero__headline {
  color: var(--vr-creme);
  text-shadow:
    0 1px 2px rgba(0, 0, 0, 0.95),
    0 2px 6px rgba(0, 0, 0, 0.85),
    0 6px 18px rgba(0, 0, 0, 0.65),
    0 14px 36px rgba(0, 0, 0, 0.45);
  max-width: 22ch;
  margin-inline: auto;
  font-size: clamp(2rem, 5.5vw, 4rem);
  line-height: 1.05;
}

.hero__lead {
  color: var(--vr-creme);
  opacity: 1;
  max-width: 60ch;
  margin-inline: auto;
  font-size: clamp(1.05rem, 1.8vw, 1.35rem);
  line-height: 1.5;
  font-weight: var(--vr-fw-medium);
  text-shadow:
    0 1px 2px rgba(0, 0, 0, 0.95),
    0 2px 6px rgba(0, 0, 0, 0.85),
    0 6px 18px rgba(0, 0, 0, 0.65),
    0 12px 28px rgba(0, 0, 0, 0.45);
}

.eyebrow--on-dark {
  color: var(--vr-gold-hell);
  text-shadow:
    0 2px 4px rgba(0, 0, 0, 0.85),
    0 6px 14px rgba(0, 0, 0, 0.55);
}


/* === Sektion creme-tief ================================================== */

.section-creme-tief {
  background: var(--vr-creme-tief);
}


/* === Container narrow ==================================================== */

.container--narrow {
  max-width: 880px;
  margin-inline: auto;
}


/* === Menu Item ============================================================ */

.menu-item__main {
  min-width: 0;
}

.menu-item__head {
  display: flex;
  align-items: baseline;
  gap: var(--vr-space-2xs);
  flex-wrap: wrap;
}

.menu-item__tag {
  display: inline-block;
  font-size: 11px;
  font-weight: var(--vr-fw-medium);
  padding: 2px 8px;
  border-radius: var(--vr-radius-full);
  background: var(--vr-gold-hell);
  color: var(--vr-anthrazit);
  letter-spacing: var(--vr-tracking-wider);
  text-transform: uppercase;
}

.menu-category__note {
  margin-top: var(--vr-space-md);
  font-style: italic;
  color: var(--vr-text-muted);
  font-size: var(--vr-text-sm);
  text-align: center;
}


/* === Premium Hausgericht Stempel ========================================= */

.menu-item--signature {
  position: relative;
  padding-top: var(--vr-space-md);
}

.menu-item--signature::before {
  content: "Hausgericht";
  position: absolute;
  top: -6px;
  right: -4px;
  font-family: var(--vr-font-hand);
  font-size: 1.35rem;
  line-height: 1;
  color: var(--vr-burgund);
  background: var(--vr-gold);
  padding: 6px 18px 8px 18px;
  border-radius: 999px;
  transform: rotate(-3deg);
  box-shadow:
    0 6px 14px rgba(110, 26, 36, 0.22),
    0 0 0 2px var(--vr-gold-hell),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
  letter-spacing: 0.02em;
  z-index: 2;
  pointer-events: none;
}


/* === Magic Moment 3: Glut Hover ========================================= */

.menu-item--grill {
  position: relative;
  border-radius: var(--vr-radius-sm);
  padding-inline: var(--vr-space-sm);
  margin-inline: calc(var(--vr-space-sm) * -1);
  transition: box-shadow 0.4s ease, background 0.3s ease;
}

.menu-item--grill:hover,
.menu-item--grill:focus-within {
  box-shadow:
    0 0 28px 4px rgba(217, 83, 30, 0.20),
    0 0 12px 0 rgba(217, 83, 30, 0.14);
  background: rgba(217, 83, 30, 0.06);
}

.menu-item--grill:hover .menu-item__price,
.menu-item--grill:focus-within .menu-item__price {
  color: var(--vr-glut);
  transition: color 0.3s ease;
}

@media (prefers-reduced-motion: reduce) {
  .menu-item--grill,
  .menu-item--grill .menu-item__price {
    transition: none !important;
  }
}


/* === Allergen Legende ==================================================== */

.legend-grid {
  gap: var(--vr-space-xl);
}

.legend-block h3 {
  font-family: var(--vr-font-display);
  font-size: var(--vr-text-lg);
  color: var(--vr-burgund);
  margin-bottom: var(--vr-space-sm);
  border-bottom: 1px solid var(--vr-linie);
  padding-bottom: var(--vr-space-2xs);
}

.legend-list {
  display: grid;
  grid-template-columns: 2.5em 1fr;
  gap: var(--vr-space-2xs) var(--vr-space-md);
  font-size: var(--vr-text-sm);
}

.legend-list dt {
  font-weight: var(--vr-fw-semibold);
  color: var(--vr-gold-tief);
  font-variant-numeric: tabular-nums;
}

.legend-list dd {
  margin: 0;
  color: var(--vr-text-secondary);
}

.legend-footnote {
  font-style: italic;
  color: var(--vr-text-muted);
  font-size: var(--vr-text-sm);
  text-align: center;
  margin-top: var(--vr-space-xl);
}


/* === Mobile ============================================================== */

@media (max-width: 640px) {
  .hero--page {
    min-height: 60vh;
    padding-block: var(--vr-space-xl);
  }
  .hero__inner--center {
    margin-bottom: 6vh;
  }
  .menu-item__nr,
  .menu-item__name {
    font-size: var(--vr-text-lg);
  }
  .menu-item__price {
    font-size: var(--vr-text-md);
  }
  .menu-category__title {
    font-size: var(--vr-text-xl);
  }
  .menu-item--signature::before {
    font-size: 1.1rem;
    padding: 4px 12px 5px 12px;
    top: -8px;
    right: -2px;
  }
}


/* === v2.6 Lokaler Backdrop nur hinter dem Lead Text =====================
   Headline frei, Bild atmet. Nur unter dem kleineren Lead Text
   ein weicher Schwarzwash fuer klare Lesbarkeit. */

.hero__lead {
  position: relative;
  isolation: isolate;
  padding: var(--vr-space-sm) var(--vr-space-md);
  display: inline-block;
}

.hero__lead::before {
  content: "";
  position: absolute;
  inset: -4% -2% -4% -2%;
  z-index: -1;
  background: radial-gradient(
    ellipse at center,
    rgba(26, 20, 16, 0.58) 0%,
    rgba(26, 20, 16, 0.42) 45%,
    rgba(26, 20, 16, 0.18) 75%,
    rgba(26, 20, 16, 0.00) 95%
  );
  pointer-events: none;
  border-radius: 50%;
  filter: blur(8px);
}

@media (max-width: 640px) {
  .hero__lead {
    padding: var(--vr-space-xs) var(--vr-space-sm);
  }
  .hero__lead::before {
    inset: -3% -1% -3% -1%;
    filter: blur(5px);
  }
}


/* === v2.6 Lokaler Backdrop nur hinter dem Lead Text =====================
   Headline frei, Bild atmet. Nur unter dem kleineren Lead Text
   ein weicher Schwarzwash fuer klare Lesbarkeit. */

.hero__lead {
  position: relative;
  isolation: isolate;
  padding: var(--vr-space-sm) var(--vr-space-md);
  display: inline-block;
}

.hero__lead::before {
  content: "";
  position: absolute;
  inset: -4% -2% -4% -2%;
  z-index: -1;
  background: radial-gradient(
    ellipse at center,
    rgba(26, 20, 16, 0.58) 0%,
    rgba(26, 20, 16, 0.42) 45%,
    rgba(26, 20, 16, 0.18) 75%,
    rgba(26, 20, 16, 0.00) 95%
  );
  pointer-events: none;
  border-radius: 50%;
  filter: blur(8px);
}

@media (max-width: 640px) {
  .hero__lead {
    padding: var(--vr-space-xs) var(--vr-space-sm);
  }
  .hero__lead::before {
    inset: -3% -1% -3% -1%;
    filter: blur(5px);
  }
}


/* === v2.6 Lokaler Backdrop nur hinter dem Lead Text =====================
   Headline frei, Bild atmet. Nur unter dem kleineren Lead Text
   ein weicher Schwarzwash fuer klare Lesbarkeit. */

.hero__lead {
  position: relative;
  isolation: isolate;
  padding: var(--vr-space-sm) var(--vr-space-md);
  display: inline-block;
}

.hero__lead::before {
  content: "";
  position: absolute;
  inset: -4% -2% -4% -2%;
  z-index: -1;
  background: radial-gradient(
    ellipse at center,
    rgba(26, 20, 16, 0.58) 0%,
    rgba(26, 20, 16, 0.42) 45%,
    rgba(26, 20, 16, 0.18) 75%,
    rgba(26, 20, 16, 0.00) 95%
  );
  pointer-events: none;
  border-radius: 50%;
  filter: blur(8px);
}

@media (max-width: 640px) {
  .hero__lead {
    padding: var(--vr-space-xs) var(--vr-space-sm);
  }
  .hero__lead::before {
    inset: -3% -1% -3% -1%;
    filter: blur(5px);
  }
}


/* === Kompaktere Abstaende NUR fuer die Speisen Rubriken ================== */
/* Wirkt ausschliesslich auf die Menue Kategorien dieser Seite.            */
/* Reduziert das grosse Section Padding zwischen den Rubriken.             */
section[id^="kat-"] {
  padding-block: clamp(1rem, 2.2vw, 2rem);
}
