/* ==========================================================================
   Villa Restaurant Sömmerda - Footer (eigenständige Datei)
   Wird NACH components.css geladen, damit Specificity garantiert sitzt.
   ========================================================================== */

body .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%);
  background-color: var(--vr-anthrazit, #1a1a1a);
  color: var(--vr-creme, #f8f2e4);
  padding-block: clamp(2.5rem, 5vw, 4.5rem);
  margin-top: clamp(2.5rem, 5vw, 4rem);
  overflow: hidden;
}

body .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;
}

body .site-footer .container {
  /* Erbt Standard Container Breite via .container Klasse */
  position: relative;
  z-index: 1;
}

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

/* === Grid 3 Spalten ====================================================== */

body .site-footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

@media (min-width: 768px) {
  body .site-footer__grid--three {
    /* Drei gleiche Spalten. Mitte ist damit exakt mittig im Container. */
    grid-template-columns: 1fr 1fr 1fr;
    gap: clamp(2rem, 4vw, 3rem);
    align-items: start;
  }
  /* Spalte 1: Kontakt linksbuendig */
  body .site-footer__grid--three > .site-footer__col:nth-child(1) {
    justify-self: start;
    text-align: left;
  }
  /* Spalte 2: Oeffnungszeiten - Spalte nimmt volle 1fr Breite,
     Inhalt wird darin zentriert via inline-block plus text-align center auf Spalte */
  body .site-footer__grid--three > .site-footer__col:nth-child(2) {
    justify-self: stretch;
    text-align: center;
  }
  /* Spalte 2 als Grid: eine Spalte mit auto Breite, mittig im Container.
     Beide Kinder (Heading + Hours) bekommen automatisch dieselbe Breite
     (= Breite des breitesten = Hours Block). Damit Heading linksbuendig zum Hours. */
  body .site-footer__grid--three > .site-footer__col:nth-child(2) {
    display: grid;
    grid-template-columns: auto;
    justify-content: center;
  }
  /* Heading linksbuendig zum Hours Block */
  body .site-footer__grid--three > .site-footer__col:nth-child(2) h3 {
    text-align: left;
  }
  /* Goldlinie: links bei 0, nicht zentriert */
  body .site-footer__grid--three > .site-footer__col:nth-child(2) h3::after {
    left: 0;
    transform: none;
    background: linear-gradient(90deg, var(--vr-gold-hell, #d9b977) 0%, transparent 100%);
  }
  /* Hours Block: linksbuendig im max-content, Block zentriert in Spalte via align-items center */
  body .site-footer__grid--three > .site-footer__col:nth-child(2) .site-footer__hours {
    text-align: left;
  }
  /* Spalte 3: Folgen Sie uns rechtsbuendig */
  body .site-footer__grid--three > .site-footer__col:nth-child(3) {
    justify-self: end;
    text-align: left;
  }
  /* Spalte 3: Folgen Sie uns - Heading und Icons mittig in der Spalte */
  body .site-footer__grid--three > .site-footer__col:nth-child(3) {
    justify-self: stretch !important;
    text-align: center;
  }
  body .site-footer__grid--three > .site-footer__col:nth-child(3) h3 {
    display: inline-block;
    text-align: center;
  }
  body .site-footer__grid--three > .site-footer__col:nth-child(3) h3::after {
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(90deg, transparent 0%, var(--vr-gold-hell, #d9b977) 50%, transparent 100%);
  }
  body .site-footer__grid--three > .site-footer__col:nth-child(3) .social-list {
    justify-content: center;
  }
}

body .site-footer__col {
  text-align: left;
}

body .site-footer__col h3 {
  font-family: var(--vr-font-display, serif);
  font-size: 0.9375rem;
  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;
}

body .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%);
}

body .site-footer__col p,
body .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;
}

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

body .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;
}

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

/* === Oeffnungszeiten Layout =============================================
   Jede Phrase ist ein eigener inline-block der als GANZES umbricht.
   Kein einzelnes Wort wird abgeschnitten. Kueche steht direkt hinter
   Restaurant Zeit, sofern Platz. Sonst springt sie als ganzes in die
   naechste Zeile.
   ======================================================================== */

body .site-footer__hours {
  line-height: 2.5;
}

/* Jeder Tag ist ein Block der NICHT umbricht.
   margin-bottom sorgt fuer Abstand passend zu Kontakt-Spalte (4 Zeilen)
   damit Sonntag mit 99610 Soemmerda abschliesst. */
body .site-footer__hours .opening-day {
  display: block;
  white-space: nowrap;
  margin-bottom: 0.575rem;
}

/* Phrasen inline (fliessen als Text) */
body .site-footer__hours .opening-phrase {
  margin-right: 0.35em;
}

body .site-footer__hours .opening-phrase:last-child {
  margin-right: 0;
}

body .site-footer__hours .opening-phrase--kitchen {
  opacity: 0.85;
}

/* Geschlossen Status in Ampel Rot mit leichtem Leuchten */
body .site-footer__hours .opening-phrase--closed {
  color: #ef3b3b;
  font-weight: 600;
  text-shadow: 0 0 8px rgba(239, 59, 59, 0.35);
}

/* Restaurant Oeffnungszeiten in Ampel Gruen mit leichtem Leuchten */
/* Restaurant Oeffnungszeiten:
   Standard = gruen (zeigt was an dem Tag offen ist).
   Bei AKTIVEM Tag mit Status "open" = weiss/cremefarben (heute ist heute).
   Bei AKTIVEM Tag mit Status "closed" bleibt grau (es ist heute, aber zu). */
body .site-footer__hours .opening-phrase:not(.opening-phrase--kitchen):not(.opening-phrase--closed) {
  color: #3dd16e;
  font-weight: 600;
  text-shadow: 0 0 8px rgba(61, 209, 110, 0.35);
  transition: color 200ms ease;
}

/* Aktiver Tag mit Restaurant offen: Uhrzeit + Tag in weiss/creme */
body .site-footer__hours .opening-day[data-active="true"] .opening-phrase:not(.opening-phrase--kitchen):not(.opening-phrase--closed),
body .site-footer__hours .opening-day[data-active="true"] strong {
  color: var(--vr-creme, #f8f2e4);
  text-shadow: none;
}

/* Kueche Phrase analog: Standard creme, aktiv bleibt creme aber bekommt Status dahinter */
body .site-footer__hours .opening-phrase--kitchen {
  opacity: 0.9;
}

/* === Live Status Schreibschrift =======================================
   Status Texte ("Jetzt geoeffnet", "Kueche geoeffnet", "Heute geschlossen")
   in Caveat Schreibschrift, prominenter als der normale Text.
   ====================================================================== */

/* Tag-Block: zwei Zeilen, jeweils mit Status rechts */
body .site-footer__hours .opening-day {
  display: block;
  margin-bottom: 4px;
  line-height: 1.3;
}
body .site-footer__hours .opening-day:last-child {
  margin-bottom: 0;
}

body .site-footer__hours .opening-row {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
  flex-wrap: wrap;
}

body .site-footer__hours .opening-row--kitchen {
  margin-top: 0;
}

body .site-footer__hours .opening-day-label {
  white-space: nowrap;
}

body .site-footer__hours .opening-text {
  white-space: nowrap;
}

body .site-footer__hours .opening-text .opening-phrase + .opening-phrase::before {
  content: " — ";
}

@media (min-width: 769px) {
  body .site-footer__hours .opening-day {
    display: grid;
    grid-template-columns: max-content max-content max-content;
    column-gap: 0.3rem;
    row-gap: 1px;
    align-items: baseline;
  }
  body .site-footer__hours .opening-row {
    display: contents;
  }
  body .site-footer__hours .opening-row--kitchen {
    margin-top: 0;
  }
}


body .site-footer__hours .opening-text {
  display: inline-block;
}

/* Status Slot: Caveat Schreibschrift, groesser, prominenter */
body .site-footer__hours .opening-status {
  transform-origin: left center;
  padding-left: 0.5rem;
  line-height: 1;
  font-family: var(--vr-font-script, "Caveat", cursive);
  font-size: 1.4rem;
  font-weight: 600;
  line-height: 1;
  font-style: normal;
  letter-spacing: 0.01em;
  white-space: nowrap;
  transform: rotate(-4deg);
  transform-origin: left center;
  display: inline-block;
}

body .site-footer__hours .opening-status--positive {
  color: #3dd16e;
  text-shadow: 0 0 10px rgba(61, 209, 110, 0.4);
}

body .site-footer__hours .opening-status--negative {
  color: #ef3b3b;
  text-shadow: 0 0 10px rgba(239, 59, 59, 0.4);
}

/* Legacy raus */

/* === Social Icons ======================================================== */

body .site-footer .social-list {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  display: flex;
  gap: 1.25rem;
  align-items: center;
  flex-wrap: wrap;
}

body .site-footer .social-list li {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

body .site-footer .social-list li::before,
body .site-footer .social-list li::marker {
  display: none !important;
  content: none !important;
}

body .site-footer .social-link {
  display: inline-flex !important;
  width: 50px !important;
  height: 50px !important;
  align-items: center;
  justify-content: center;
  border-radius: 50% !important;
  background: transparent !important;
  border: none !important;
  transition: transform 280ms ease, opacity 280ms ease;
  padding: 0 !important;
  text-decoration: none !important;
  opacity: 0.92;
}

body .site-footer .social-link:hover {
  transform: translateY(-3px);
  opacity: 1;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

body .site-footer .social-link picture {
  display: inline-flex !important;
  width: 42px !important;
  height: 42px !important;
  align-items: center;
  justify-content: center;
}

body .site-footer .social-link img {
  width: 42px !important;
  height: 42px !important;
  max-width: 42px !important;
  max-height: 42px !important;
  display: block !important;
  object-fit: contain !important;
}

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

body .site-footer__closer {
  text-align: center !important;
  margin: clamp(1.75rem, 3.5vw, 2.75rem) auto 0 auto;
  padding-top: clamp(1.5rem, 3vw, 2.25rem);
  border-top: 1px solid rgba(217, 185, 119, 0.18);
  max-width: 760px;
}

body .site-footer__closer p {
  text-align: center !important;
  margin: 0;
}

body .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 1rem 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: 200% 100%;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  animation: footer-shine 4s linear infinite alternate;
}

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

body .site-footer__keywords {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.6rem 0.9rem;
  margin: 0 auto;
  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.75;
}

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

@media (prefers-reduced-motion: reduce) {
  body .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 ========================================================== */

body .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.7;
  letter-spacing: 0.04em;
}

body .site-footer__bottom p { margin: 0; }

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

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

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

@media (max-width: 768px) {
  /* Mobile: alle Spalten zentriert auf dem Bildschirm */
  body .site-footer__grid {
    gap: 2.5rem;
    justify-items: center !important;
  }
  /* Spalten: full width, alles zentriert, Desktop Overrides ausschalten */
  body .site-footer__col,
  body .site-footer__grid--three > .site-footer__col:nth-child(1),
  body .site-footer__grid--three > .site-footer__col:nth-child(2),
  body .site-footer__grid--three > .site-footer__col:nth-child(3) {
    width: 100% !important;
    max-width: 100% !important;
    text-align: center !important;
    justify-self: center !important;
    display: block !important;
  }
  /* Headings: inline-block, mittig, mit zentrierter Goldlinie */
  body .site-footer__col h3,
  body .site-footer__grid--three > .site-footer__col:nth-child(1) h3,
  body .site-footer__grid--three > .site-footer__col:nth-child(2) h3,
  body .site-footer__grid--three > .site-footer__col:nth-child(3) h3 {
    display: inline-block !important;
    width: auto !important;
    text-align: center !important;
    position: relative !important;
  }
  /* Goldlinie unter Heading exakt mittig */
  body .site-footer__col h3::after,
  body .site-footer__grid--three > .site-footer__col:nth-child(1) h3::after,
  body .site-footer__grid--three > .site-footer__col:nth-child(2) h3::after,
  body .site-footer__grid--three > .site-footer__col:nth-child(3) h3::after {
    left: 50% !important;
    right: auto !important;
    transform: translateX(-50%) !important;
    background: linear-gradient(90deg, transparent 0%, var(--vr-gold-hell, #d9b977) 50%, transparent 100%) !important;
  }
  /* Kontakt Spalte: text-align center erbt von Spalte, aber Telefon/Email Links bleiben mittig */
  body .site-footer__col p,
  body .site-footer__lines {
    text-align: center !important;
  }
  /* Hours Block mittig */
  body .site-footer__hours {
    text-align: center !important;
    width: 100% !important;
  }
  /* Mobile: Wochentag oben in eigener Zeile, dann Restaurant Zeit + Status, dann Kueche + Status */
  body .site-footer__hours .opening-day {
    text-align: center !important;
    white-space: normal !important;
  }
  body .site-footer__hours .opening-row {
    flex-wrap: wrap !important;
    justify-content: center !important;
    white-space: normal !important;
  }
  /* Wochentag ueber der Restaurant Zeile */
  body .site-footer__hours .opening-row--restaurant .opening-day-label {
    display: block;
    width: 100%;
    text-align: center;
    margin-bottom: 0.15rem;
  }
  body .site-footer__hours .opening-day-label:empty {
    display: none;
  }
  /* Wochentag steht alleine, " — " vor erster Phrase nach Tag entfernen optisch via Padding */
  body .site-footer__hours .opening-row--restaurant .opening-text {
    text-align: center;
  }
  /* Status etwas kleiner auf Mobile */
  body .site-footer__hours .opening-status {
    font-size: 1.2rem;
  }
  /* Social Icons mittig */
  body .site-footer .social-list,
  body .site-footer__grid--three > .site-footer__col:nth-child(3) .social-list {
    justify-content: center !important;
  }
}

@media (max-width: 600px) {
  body .site-footer__bottom {
    flex-direction: column;
    text-align: center;
    gap: 0.85rem;
  }
  body .site-footer__keywords {
    font-size: 0.72rem;
    letter-spacing: 0.18em;
    gap: 0.4rem 0.7rem;
  }
  body .site-footer .social-link {
    width: 47px !important;
    height: 47px !important;
  }
  body .site-footer .social-link picture,
  body .site-footer .social-link img {
    width: 39px !important;
    height: 39px !important;
    max-width: 39px !important;
    max-height: 39px !important;
  }
}


/* === Hard Override: Closer und Keywords absolut zentriert =============== */

body .site-footer__closer,
body .site-footer .site-footer__closer {
  display: block !important;
  text-align: center !important;
  width: 100% !important;
  max-width: 760px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

body .site-footer__closer * {
  text-align: center !important;
}

body .site-footer__keywords {
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
  align-items: center !important;
  width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 0 !important;
  font-size: 0.85rem !important;
  letter-spacing: 0.24em !important;
}

body .site-footer__keywords span {
  text-align: center !important;
  display: inline-block !important;
}

/* opening-line auf jede Phrase */
/* Legacy opening-line Override entfernt */

/* Legacy Hard Override entfernt - opening-day ist jetzt block in __hours */

@media (max-width: 600px) {
  body .site-footer__keywords {
    font-size: 0.78rem !important;
    letter-spacing: 0.18em !important;
    gap: 0.4rem 0.7rem !important;
  }
}

@media (min-width: 769px) {
  body .site-footer__hours .opening-day--both-open .opening-status--restaurant {
    grid-row: span 2;
    align-self: center;
  }
  body .site-footer__hours .opening-day--both-open .opening-status--kitchen {
    display: none;
  }
}

body .site-footer__hours .opening-phrase--closed {
  padding-left: 0.4rem;
}

body .site-footer__hours .opening-day--closed-active .opening-phrase--closed {
  display: none;
}


/* === Mobile Layout Oeffnungszeiten (komplett ueberschreibt Desktop Grid) === */
@media (max-width: 768px) {

  body .site-footer__hours .opening-day:last-child {
    margin-bottom: 0 !important;
  }
  body .site-footer__hours .opening-row {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    width: 100%;
    gap: 0.2rem;
  }
  body .site-footer__hours .opening-row--kitchen {
    margin-top: 0;
  }
  body .site-footer__hours .opening-day-label {
    display: block;
    font-size: 1.05rem;
  }
  body .site-footer__hours .opening-day-label:empty {
    display: none;
  }
  body .site-footer__hours .opening-text {
    display: block;
    white-space: normal;
  }
  body .site-footer__hours .opening-status {
    display: block;
    transform: rotate(-4deg) !important;
    transform-origin: center center !important;
    font-size: 1.32rem !important;
    padding-left: 0 !important;
    margin-top: -0.25rem;
  }
}




/* === Mobile aktiver Tag: Tag | Zeit | Status nebeneinander === */
@media (max-width: 768px) {
  body .site-footer__hours .opening-day {
    display: grid !important;
    grid-template-columns: max-content max-content !important;
    column-gap: 0.4rem !important;
    row-gap: 0.05rem !important;
    justify-content: center !important;
    align-items: baseline !important;
    text-align: left !important;
    padding: 0 !important;
  }
  body .site-footer__hours .opening-day .opening-row {
    display: contents !important;
  }
  body .site-footer__hours .opening-day .opening-row--restaurant .opening-day-label {
    display: block !important;
    grid-column: 1 / -1 !important;
    grid-row: 1 !important;
    width: 100% !important;
    text-align: center !important;
    margin: 0 0 4px 0 !important;
    white-space: nowrap !important;
    justify-self: center !important;
  }
  body .site-footer__hours .opening-day .opening-row--restaurant .opening-text {
    grid-column: 1 !important;
    grid-row: 2 !important;
    white-space: nowrap !important;
    margin: 0 !important;
  }
  body .site-footer__hours .opening-day .opening-row--kitchen .opening-day-label {
    display: none !important;
  }
  body .site-footer__hours .opening-day .opening-row--kitchen .opening-text {
    grid-column: 1 !important;
    grid-row: 3 !important;
    white-space: nowrap !important;
    margin: 0 !important;
  }
  body .site-footer__hours .opening-day .opening-status--restaurant {
    display: block !important;
    grid-column: 2 !important;
    grid-row: 2 !important;
    align-self: baseline !important;
    justify-self: start !important;
    margin: 0 !important;
    transform: rotate(-4deg) !important;
    transform-origin: left center !important;
    font-size: 1.05rem !important;
    white-space: nowrap !important;
  }
  body .site-footer__hours .opening-day .opening-status--kitchen {
    display: block !important;
    grid-column: 2 !important;
    grid-row: 3 !important;
    align-self: baseline !important;
    justify-self: start !important;
    margin: 0 !important;
    transform: rotate(-4deg) !important;
    transform-origin: left center !important;
    font-size: 1.05rem !important;
    white-space: nowrap !important;
  }
  /* Sonderfall both-open: nur ein Status mittig zwischen den zwei Zeilen */
  body .site-footer__hours .opening-day.opening-day--both-open .opening-status--restaurant {
    grid-row: 2 / span 2 !important;
    align-self: center !important;
  }
  body .site-footer__hours .opening-day.opening-day--both-open .opening-status--kitchen {
    display: none !important;
  }
}


/* === Mobile Mo-Fr: Geschlossen direkt unter Tag === */
@media (max-width: 768px) {
  body .site-footer__hours .opening-day:not(.opening-day--active) .opening-row--restaurant {
    gap: 0 !important;
    row-gap: 0 !important;
  }
  body .site-footer__hours .opening-day:not(.opening-day--active) .opening-text {
    margin-top: 0 !important;
  }
}

/* === Mobile nicht-aktive Tage: Restaurant zu Kueche eng wie Samstag === */
@media (max-width: 768px) {
  body .site-footer__hours .opening-day:not(.opening-day--active) {
    gap: 0 !important;
  }
  body .site-footer__hours .opening-day:not(.opening-day--active) .opening-row {
    gap: 0 !important;
  }
  body .site-footer__hours .opening-day:not(.opening-day--active) .opening-row--kitchen {
    margin-top: 0.05rem !important;
  }
}

/* === Mobile: Abstand zwischen Tagesblöcken === */
@media (max-width: 768px) {
  body .site-footer__hours .opening-day {
    margin-bottom: 15px !important;
  }
  body .site-footer__hours .opening-day:last-child {
    margin-bottom: 0 !important;
  }
}

/* === Mobile: Geschlossen 2px naeher an Mo-Fr === */
@media (max-width: 768px) {
  body .site-footer__hours .opening-day:not(.opening-day--active) .opening-row--restaurant .opening-text {
    margin-top: -2px !important;
  }
}

/* === Mobile: Footer Headlines 3px groesser === */
@media (max-width: 768px) {
  body .site-footer__col h3 {
    font-size: calc(1em + 1px) !important;
  }
}

/* === Mobile: Kontakt + Oeffnungszeiten Text 2px groesser === */
@media (max-width: 768px) {
  body .site-footer__col p,
  body .site-footer__col a {
    font-size: 1.125rem !important;
  }
  body .site-footer__hours .opening-day-label,
  body .site-footer__hours .opening-text,
  body .site-footer__hours .opening-phrase {
    font-size: calc(1em + 2px) !important;
  }
  body .site-footer__hours .opening-status {
    font-size: calc(1.05rem + 2px) !important;
  }
}

/* === Mobile: Hours Text vereinheitlichen mit Kontakt === */
@media (max-width: 768px) {
  body .site-footer__col .site-footer__hours,
  body .site-footer__col .site-footer__hours * {
    font-size: 1.125rem !important;
  }
  body .site-footer__col .site-footer__hours .opening-status,
  body .site-footer__col .site-footer__hours .opening-status * {
    font-size: 1.25rem !important;
  }
}

/* === Mobile: Jetzt geoeffnet Badge halben Pixel groesser === */
@media (max-width: 768px) {
  body .site-footer__col .site-footer__hours .opening-status,
  body .site-footer__col .site-footer__hours .opening-status * {
    font-size: 1.28rem !important;
  }
}

/* === Desktop: 2px mehr Luft zwischen Tagesblöcken === */
@media (min-width: 769px) {
  body .site-footer__hours .opening-day {
    margin-bottom: 7px !important;
  }
  body .site-footer__hours .opening-day:last-child {
    margin-bottom: 0 !important;
  }
}

/* === Mo-Fr aktiv geschlossen: Wort verstecken, Badge zeigen === */
body .site-footer__hours .opening-day--closed-active .opening-phrase--closed {
  display: none !important;
}

/* === Mobile: Mo-Fr geschlossen Badge groesser === */
@media (max-width: 768px) {
  body .site-footer__col .site-footer__hours .opening-day--closed-active .opening-status,
  body .site-footer__col .site-footer__hours .opening-day--closed-active .opening-status * {
    font-size: 1.7rem !important;
  }
}

/* === Desktop: Tagline in einer Zeile === */
@media (min-width: 769px) {
  body .site-footer__closer .site-footer__tagline {
    white-space: nowrap;
    overflow: visible;
    max-width: none;
    width: auto;
    font-size: clamp(1.1rem, 2.2vw, 1.6rem);
  }
  body .site-footer__closer {
    overflow: visible;
  }
}

/* === Inline "Jetzt ... geoeffnet" im aktiven offenen Zustand =========== */
body .site-footer__hours .opening-now {
  font-family: var(--vr-font-script, "Caveat", cursive);
  color: #3dd16e;
  font-weight: 600;
  font-size: 1.25em;
  display: inline-block;
  transform: rotate(-6deg);
  transform-origin: left center;
  line-height: 1;
  text-shadow: 0 0 10px rgba(61, 209, 110, 0.4);
  white-space: nowrap;
}
body .site-footer__hours .opening-now--lead { transform: rotate(-8deg); margin-right: 0.12em; }
body .site-footer__hours .opening-now--trail { margin-left: -0.12em; }

/* === geschlossen handgeschrieben in Rot ============================== */
body .site-footer__hours .opening-now--closed {
  color: #ef3b3b;
  text-shadow: 0 0 10px rgba(239, 59, 59, 0.4);
}

/* === Uhrzeit in der geschlossen Zeile in Rot ========================= */
body .site-footer__hours .opening-time-red {
  color: #ef3b3b;
}

/* === Mo bis Fr geschlossen handgeschrieben wie hinter der Kueche ===== */
body .site-footer__hours .opening-status--negative {
  font-family: var(--vr-font-script, "Caveat", cursive);
  font-size: 1.25em;
  font-weight: 600;
  display: inline-block;
  transform: rotate(-6deg);
  transform-origin: left center;
  line-height: 1;
}

/* === Mo bis Fr Wort geschlossen normal und klein wenn Restaurant offen = */
body .site-footer__hours .opening-phrase--closed {
  text-transform: lowercase;
}
