/* ==========================================================================
   Villa Restaurant Sömmerda - Komponenten
   Version: 1.1 (Layout Fixes: Footer flush, Section Übergänge)
   ========================================================================== */

/* === Header ============================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: var(--vr-z-sticky);
  background: rgba(248, 242, 228, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--vr-linie-soft);
  transition: background var(--vr-trans-base);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--vr-space-md);
  padding-block: var(--vr-space-sm);
}

.site-header__brand {
  display: flex;
  align-items: center;
  gap: var(--vr-space-2xs);
  text-decoration: none;
  color: var(--vr-anthrazit);
}

.site-header__brand img {
  height: 48px;
  width: auto;
}

.site-header__brand picture {
  display: inline-block;
  line-height: 0;
}

.site-header__brand-text {
  font-family: var(--vr-font-display);
  font-size: var(--vr-text-md);
  font-weight: var(--vr-fw-semibold);
  color: var(--vr-burgund);
}

/* === Hauptnavigation ===================================================== */

.site-nav {
  display: flex;
  align-items: center;
  gap: var(--vr-space-md);
}

.site-nav__list {
  display: none;
  align-items: center;
  gap: var(--vr-space-md);
}

@media (min-width: 1400px) {
  .site-nav__list {
    display: flex;
  }
}

.site-nav__link {
  text-decoration: none;
  white-space: nowrap;
  color: var(--vr-anthrazit);
  font-size: var(--vr-text-base);
  font-weight: var(--vr-fw-medium);
  padding: var(--vr-space-3xs) var(--vr-space-2xs);
  border-radius: var(--vr-radius-sm);
  position: relative;
  transition: color var(--vr-trans-fast);
}

.site-nav__link:hover {
  color: var(--vr-burgund);
}

.site-nav__link[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: var(--vr-space-2xs);
  right: var(--vr-space-2xs);
  bottom: -2px;
  height: 2px;
  background: var(--vr-gold);
}

/* === Buttons ============================================================= */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--vr-space-2xs);
  padding: var(--vr-space-xs) var(--vr-space-md);
  min-height: 44px;
  font-family: var(--vr-font-body);
  font-size: var(--vr-text-base);
  font-weight: var(--vr-fw-medium);
  text-decoration: none;
  text-align: center;
  border: 2px solid transparent;
  border-radius: var(--vr-radius-sm);
  cursor: pointer;
  transition: background var(--vr-trans-fast),
              color var(--vr-trans-fast),
              border-color var(--vr-trans-fast),
              transform var(--vr-trans-fast);
  letter-spacing: var(--vr-tracking-wide);
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
}

.btn--primary {
  background: var(--vr-burgund);
  color: var(--vr-creme);
  border-color: var(--vr-burgund);
}

.btn--primary:hover {
  background: var(--vr-burgund-tief);
  border-color: var(--vr-burgund-tief);
  color: var(--vr-creme);
}

.btn--secondary {
  background: transparent;
  color: var(--vr-burgund);
  border-color: var(--vr-burgund);
}

.btn--secondary:hover {
  background: var(--vr-burgund);
  color: var(--vr-creme);
}

.btn--ghost {
  background: transparent;
  color: var(--vr-anthrazit);
  border-color: transparent;
}

.btn--ghost:hover {
  color: var(--vr-burgund);
}

.btn--gold {
  background: var(--vr-gold);
  color: var(--vr-anthrazit);
  border-color: var(--vr-gold);
}

.btn--gold:hover {
  background: var(--vr-gold-tief);
  border-color: var(--vr-gold-tief);
  color: var(--vr-creme);
}

.btn--lg {
  padding: var(--vr-space-sm) var(--vr-space-lg);
  font-size: var(--vr-text-md);
}

.btn--block {
  width: 100%;
}

/* === Cards =============================================================== */

.card {
  background: var(--vr-bg-card);
  border-radius: var(--vr-radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--vr-shadow-sm);
  transition: transform var(--vr-trans-base),
              box-shadow var(--vr-trans-base);
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: var(--vr-shadow-md);
}

.card__media {
  position: relative;
  aspect-ratio: var(--vr-ratio-landscape);
  overflow: hidden;
  background: var(--vr-creme-tief);
}

.card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--vr-trans-slower);
}

.card:hover .card__media img {
  transform: scale(1.04);
}

.card__body {
  padding: var(--vr-space-md) var(--vr-space-lg);
  display: flex;
  flex-direction: column;
  gap: var(--vr-space-2xs);
  flex: 1;
}

.card__eyebrow {
  font-size: var(--vr-text-xs);
  text-transform: uppercase;
  letter-spacing: var(--vr-tracking-widest);
  color: var(--vr-gold-tief);
}

.card__title {
  font-family: var(--vr-font-display);
  font-size: var(--vr-text-xl);
  font-weight: var(--vr-fw-semibold);
  color: var(--vr-anthrazit);
  margin: 0;
}

.card__body p {
  font-size: var(--vr-text-base);
  color: var(--vr-text-secondary);
  margin: 0;
}

/* === Speisekarte Item ==================================================== */

.menu-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--vr-space-md);
  padding-block: var(--vr-space-md);
  border-bottom: 1px dashed var(--vr-linie);
  align-items: start;
}

.menu-item:last-child {
  border-bottom: none;
}

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

.menu-item__nr {
  font-family: var(--vr-font-display);
  font-size: var(--vr-text-xl);
  font-weight: var(--vr-fw-semibold);
  color: var(--vr-gold);
  font-variant-numeric: tabular-nums;
}

.menu-item__name {
  font-family: var(--vr-font-display);
  font-size: var(--vr-text-xl);
  font-weight: var(--vr-fw-semibold);
  color: var(--vr-anthrazit);
}

.menu-item__desc {
  font-size: var(--vr-text-base);
  color: var(--vr-text-secondary);
  margin-top: var(--vr-space-3xs);
  line-height: var(--vr-leading-relaxed);
}

.menu-item__price {
  font-family: var(--vr-font-display);
  font-size: var(--vr-text-lg);
  font-weight: var(--vr-fw-semibold);
  color: var(--vr-burgund);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  padding-top: 4px;
}

.menu-item__allergens {
  font-size: var(--vr-text-xs);
  color: var(--vr-text-muted);
  margin-left: var(--vr-space-2xs);
  vertical-align: super;
}

.menu-item--signature {
  position: relative;
}

.menu-item--signature::before {
  content: "Hausgericht";
  position: absolute;
  top: 0;
  right: 0;
  font-family: var(--vr-font-hand);
  font-size: var(--vr-text-lg);
  color: var(--vr-glut);
  transform: rotate(-4deg);
}

/* === Speisekarte Kategorie =============================================== */

.menu-category {
  margin-bottom: var(--vr-space-3xl);
}

.menu-category__title {
  font-family: var(--vr-font-display);
  font-size: var(--vr-text-2xl);
  font-weight: var(--vr-fw-semibold);
  color: var(--vr-burgund);
  margin-bottom: var(--vr-space-md);
  padding-bottom: var(--vr-space-2xs);
  border-bottom: var(--vr-border-gold);
}

/* === Stimmen / Testimonials ============================================= */

.quote-card {
  background: var(--vr-papier);
  padding: var(--vr-space-lg);
  border-radius: var(--vr-radius-md);
  border-left: 4px solid var(--vr-gold);
}

.quote-card__text {
  font-family: var(--vr-font-display);
  font-style: italic;
  font-size: var(--vr-text-lg);
  line-height: var(--vr-leading-snug);
  color: var(--vr-anthrazit);
  margin: 0 0 var(--vr-space-sm) 0;
}

.quote-card__author {
  font-size: var(--vr-text-sm);
  color: var(--vr-text-muted);
  font-weight: var(--vr-fw-medium);
}

.quote-card__author::before {
  content: "— ";
  color: var(--vr-gold);
}

/* === Form Komponenten ==================================================== */

.form-field {
  margin-bottom: var(--vr-space-md);
}

.form-field__hint {
  font-size: var(--vr-text-xs);
  color: var(--vr-text-muted);
  margin-top: var(--vr-space-3xs);
}

.form-field__error {
  font-size: var(--vr-text-sm);
  color: var(--vr-error);
  margin-top: var(--vr-space-3xs);
}

.honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* === Footer (FIX: margin-top auf 0, sauberer Übergang) =================== */

@media (min-width: 768px) {
  
}

/* === Social Icons (FIX: Größe begrenzt) ================================= */

/* === Tag / Badge ========================================================= */

.badge {
  display: inline-flex;
  align-items: center;
  font-size: var(--vr-text-xs);
  font-weight: var(--vr-fw-medium);
  padding: var(--vr-space-3xs) var(--vr-space-2xs);
  border-radius: var(--vr-radius-full);
  background: var(--vr-creme-tief);
  color: var(--vr-text-secondary);
  text-transform: uppercase;
  letter-spacing: var(--vr-tracking-wider);
}

.badge--gold {
  background: var(--vr-gold-hell);
  color: var(--vr-anthrazit);
}

.badge--burgund {
  background: var(--vr-burgund);
  color: var(--vr-creme);
}

/* === Picture Wrapper für Lazy Loading =================================== */

.picture-wrap {
  display: block;
  overflow: hidden;
  background: var(--vr-creme-tief);
  position: relative;
}

.picture-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* === Featured Hero (Home) ================================================ */

.feature-hero {
  position: relative;
  border-radius: var(--vr-radius-lg);
  overflow: hidden;
  aspect-ratio: var(--vr-ratio-cinema);
  background: var(--vr-anthrazit);
  box-shadow: var(--vr-shadow-lg);
}

/* === Scroll Indicator ==================================================== */

.scroll-down {
  position: absolute;
  bottom: var(--vr-space-md);
  left: 50%;
  transform: translateX(-50%);
  color: var(--vr-creme);
  font-size: var(--vr-text-xs);
  text-transform: uppercase;
  letter-spacing: var(--vr-tracking-widest);
  text-decoration: none;
  opacity: 0.7;
  transition: opacity var(--vr-trans-fast);
}

.scroll-down:hover {
  opacity: 1;
}

/* === Site Footer v2 ===================================================== */

@media (min-width: 768px) {
  
}

@media (max-width: 600px) {
  
}

/* === Site Footer v3 — Armenischer Salon ================================== */

.site-footer {
  position: relative;
  background:
    radial-gradient(ellipse at top, rgba(110, 26, 36, 0.18) 0%, transparent 60%),
    linear-gradient(180deg, var(--vr-anthrazit, #1a1a1a) 0%, #0e0e10 100%);
  color: var(--vr-creme, #f8f2e4);
  padding-block: clamp(3.5rem, 7vw, 6rem);
  margin-top: clamp(3rem, 6vw, 5rem);
  overflow: hidden;
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' fill='none' stroke='%23d9b977' stroke-width='0.6'><path d='M50 18 Q35 18 35 38 Q35 62 50 68 Q65 62 65 38 Q65 18 50 18 Z'/><path d='M48 14 Q50 8 52 14'/><path d='M42 30 Q50 35 58 30 M40 42 Q50 48 60 42 M42 54 Q50 58 58 54'/></svg>");
  background-repeat: no-repeat;
  background-position: center 78%;
  background-size: clamp(280px, 38vw, 480px);
  opacity: 0.025;
  pointer-events: none;
  filter: blur(0.3px);
}

.site-footer .container {
  max-width: 1200px;
  position: relative;
  z-index: 1;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--vr-space-2xl, 3rem);
}

@media (min-width: 768px) {
  .site-footer__grid--three {
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(2.5rem, 6vw, 5rem);
    align-items: start;
  }
}

.site-footer__col h3 {
  font-family: var(--vr-font-display, serif);
  font-size: 0.75rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--vr-gold-hell, #d9b977);
  margin: 0 0 1rem 0;
  font-weight: 600;
  position: relative;
  padding-bottom: 0.6rem;
}

.site-footer__col h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 28px;
  height: 1px;
  background: linear-gradient(90deg, var(--vr-gold-hell, #d9b977) 0%, transparent 100%);
}

.site-footer__col p,
.site-footer__lines {
  font-family: var(--vr-font-body, serif);
  font-size: 0.95rem;
  line-height: 1.85;
  color: var(--vr-creme, #f8f2e4);
  margin: 0;
  opacity: 0.92;
}

.site-footer__col p strong,
.site-footer__lines strong {
  font-weight: 600;
  color: var(--vr-creme, #f8f2e4);
  opacity: 1;
  margin-right: 0.15em;
}

.site-footer__col a {
  color: var(--vr-creme, #f8f2e4);
  text-decoration: none;
  border-bottom: 1px solid rgba(217, 185, 119, 0.25);
  transition: color 200ms ease, border-color 200ms ease;
}

.site-footer__col a:hover {
  color: var(--vr-gold-hell, #d9b977);
  border-bottom-color: var(--vr-gold-hell, #d9b977);
}

.opening-line { white-space: nowrap; }

/* === Closer mit Glanz Sweep ============================================== */

.site-footer__closer {
  text-align: center;
  margin-top: clamp(2.5rem, 5vw, 4rem);
  padding-top: clamp(2rem, 4vw, 3rem);
  border-top: 1px solid rgba(217, 185, 119, 0.18);
  max-width: 760px;
  margin-inline: auto;
}

.site-footer__closer .site-footer__tagline {
  font-family: var(--vr-font-script, var(--vr-font-display, serif));
  font-style: italic;
  font-size: clamp(1.4rem, 2.6vw, 1.85rem);
  line-height: 1.35;
  margin: 0 0 0.6rem 0;
  letter-spacing: 0.01em;
  background: linear-gradient(
    100deg,
    rgba(217, 185, 119, 0.55) 0%,
    rgba(217, 185, 119, 0.55) 35%,
    #f5e3b8 50%,
    rgba(217, 185, 119, 0.55) 65%,
    rgba(217, 185, 119, 0.55) 100%
  );
  background-size: 250% 100%;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  animation: footer-shine 9s ease-in-out infinite;
}

@keyframes footer-shine {
  0%   { background-position: 200% 50%; }
  100% { background-position: -50% 50%; }
}

.site-footer__closer p {
  font-family: var(--vr-font-body, serif);
  color: var(--vr-creme, #f8f2e4);
  opacity: 0.78;
  font-size: 0.95rem;
  margin: 0;
}

@media (prefers-reduced-motion: reduce) {
  .site-footer__closer .site-footer__tagline {
    animation: none;
    background: none;
    color: var(--vr-gold-hell, #d9b977);
    -webkit-text-fill-color: var(--vr-gold-hell, #d9b977);
  }
}

/* === Bottom Bar ========================================================== */

.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-top: clamp(2rem, 4vw, 3rem);
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.8rem;
  color: var(--vr-creme, #f8f2e4);
  opacity: 0.6;
  letter-spacing: 0.04em;
}

.site-footer__bottom p { margin: 0; }

.site-footer__bottom a {
  color: var(--vr-creme, #f8f2e4);
  text-decoration: none;
  border-bottom: 1px solid rgba(217, 185, 119, 0.25);
  padding-bottom: 1px;
  transition: color 200ms ease, border-color 200ms ease;
}

.site-footer__bottom a:hover {
  color: var(--vr-gold-hell, #d9b977);
  border-bottom-color: var(--vr-gold-hell, #d9b977);
}

@media (max-width: 600px) {
  .site-footer__bottom { flex-direction: column; text-align: center; }
}

/* === Footer Mobile Fixes plus Keywords ================================== */

.site-footer,
.site-footer p,
.site-footer__lines,
.site-footer__col {
  hyphens: none;
  -webkit-hyphens: none;
  word-break: keep-all;
  overflow-wrap: normal;
}

.site-footer__keywords {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.6rem 0.9rem;
  margin: 0;
  font-family: var(--vr-font-display, serif);
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--vr-creme, #f8f2e4);
  opacity: 0.7;
}

.site-footer__keywords span:not(.site-footer__keywords-dot) {
  position: relative;
}

.site-footer__keywords-dot {
  color: var(--vr-gold-hell, #d9b977);
  opacity: 0.7;
}

/* === Bottom Bar Links lesbar plus mobile zentriert ====================== */

.site-footer__bottom a {
  color: var(--vr-creme, #f8f2e4) !important;
  border-bottom-color: rgba(217, 185, 119, 0.35) !important;
  opacity: 1 !important;
}

.site-footer__bottom a:hover {
  color: var(--vr-gold-hell, #d9b977) !important;
  border-bottom-color: var(--vr-gold-hell, #d9b977) !important;
}

@media (max-width: 600px) {
  .site-footer__bottom {
    flex-direction: column;
    text-align: center;
    gap: 0.85rem;
  }
  .site-footer__keywords {
    font-size: 0.72rem;
    letter-spacing: 0.18em;
    gap: 0.4rem 0.7rem;
  }
}

/* === Header Status Badge === */
.site-header__status {
  display: none;
  font-family: 'Caveat', cursive;
  font-size: 1.4rem;
  color: #4ade80;
  transform: rotate(-4deg);
  transform-origin: left center;
  white-space: nowrap;
  padding: 0 0.5rem;
  line-height: 1;
}
.site-header__status.is-open {
  display: inline-block;
}
@media (max-width: 768px) {
  .site-header__status {
    font-size: 1.1rem;
    padding: 0 0.3rem;
  }
}

.site-header__inner .site-nav { flex-shrink: 0; }
.site-header__inner .btn--gold { white-space: nowrap; flex-shrink: 0; }
