/* ============================================================
   Gasthaus "Zur frischen Quelle" — Corporate Design
   Palette:  Parchment #F1E7D3 · Oak #4A2E1E · Tanne #3E5641
             Ziegel #A8452F · Messing #C79A3E · Tinte #2B2018
   Type: Fraunces (Display) · Source Serif 4 (Body) · Space Mono (Zahlen)
   Schriften werden per <link> im <head> der HTML-Seiten geladen.
   ============================================================ */

:root{
  --parchment: #F1E7D3;
  --parchment-deep: #E8D9BC;
  --oak: #4A2E1E;
  --oak-deep: #362114;
  --tanne: #3E5641;
  --tanne-deep: #2C3F30;
  --ziegel: #A8452F;
  --ziegel-deep: #8A3623;
  --messing: #C79A3E;
  --messing-light: #E3C878;
  --tinte: #2B2018;
  --gruen-ok: #6FAE72;
  --cream-line: rgba(74,46,30,0.18);
  --shadow-soft: 0 8px 24px rgba(43,32,24,0.14);

  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Source Serif 4', Georgia, serif;
  --font-mono: 'Space Mono', ui-monospace, monospace;

  --header-h: 76px;
}

*{ box-sizing: border-box; }

html{ scroll-behavior: smooth; }

body{
  margin: 0;
  background:
    radial-gradient(ellipse at top left, rgba(199,154,62,0.08), transparent 45%),
    var(--parchment);
  color: var(--tinte);
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* subtle paper grain */
body::before{
  content:"";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='matrix' values='0 0 0 0 0.29  0 0 0 0 0.2  0 0 0 0 0.13  0 0 0 0.035 0'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)'/%3E%3C/svg%3E");
}

a{ color: inherit; }
img{ max-width: 100%; height: auto; display: block; }
[hidden]{ display: none !important; }

.wrap{
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 28px;
  position: relative;
  z-index: 1;
}

/* ---------- Focus & Barrierefreiheit ---------- */
a:focus-visible, button:focus-visible, summary:focus-visible{
  outline: 3px solid var(--messing-light);
  outline-offset: 3px;
}
.op-section.parchment a:focus-visible,
.op-section.parchment button:focus-visible,
.op-section.parchment summary:focus-visible{ outline-color: var(--ziegel); }

.skip-link{
  position: absolute;
  left: 12px; top: -60px;
  z-index: 100;
  background: var(--messing);
  color: var(--oak-deep);
  padding: 10px 16px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  text-decoration: none;
  border-radius: 2px;
  transition: top 0.2s ease;
}
.skip-link:focus{ top: 12px; }

/* ---------- Buttons ---------- */
.hero-actions{ display:flex; gap: 14px; flex-wrap: wrap; }

.btn{
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  padding: 13px 26px;
  border-radius: 2px;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.btn-primary{
  background: var(--ziegel);
  color: var(--parchment);
  box-shadow: var(--shadow-soft);
}
.btn-primary:hover{ background: var(--ziegel-deep); transform: translateY(-2px); box-shadow: 0 12px 26px rgba(0,0,0,0.28); }
.btn-secondary{
  background: transparent;
  color: var(--parchment);
  border: 1.5px solid rgba(241,231,211,0.55);
}
.btn-secondary:hover{ border-color: var(--messing-light); color: var(--messing-light); }
.btn-small{
  background: var(--messing);
  color: var(--oak-deep);
  font-size: 0.92rem;
  padding: 10px 18px;
}
.btn-small:hover{ background: var(--messing-light); }
.btn-block{ display: block; text-align: center; margin-top: 22px; }

/* ---------- Generische Sections ---------- */
section{ padding: 64px 0; position: relative; z-index: 1; }

/* ---------- Speisekarte: Einträge ---------- */
.menu-item{
  display: grid;
  grid-template-columns: 44px 1fr auto;
  align-items: start;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--cream-line);
}
.menu-item:last-child{ border-bottom: none; }

.order-tag{
  width: 44px; height: 44px;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, var(--messing-light), var(--messing) 70%, var(--messing) 100%);
  color: var(--oak-deep);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 700;
  box-shadow: inset 0 0 0 2px rgba(74,46,30,0.25), 0 2px 4px rgba(0,0,0,0.2);
}
/* Gerichte ohne Nummer: dezenter Platzhalter statt leerer Messingmarke */
.order-tag:empty{
  background: none;
  box-shadow: none;
  border: 1px dashed rgba(199,154,62,0.55);
  width: 44px; height: 44px;
}
.order-tag:empty::before{
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--messing);
}

.menu-item .desc h4{
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1.05rem;
  margin: 0 0 4px;
  color: var(--tinte);
}
.menu-item .desc p{
  margin: 0;
  font-size: 0.92rem;
  color: rgba(43,32,24,0.68);
}
.menu-item .price{
  font-family: var(--font-mono);
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--ziegel-deep);
  white-space: nowrap;
  padding-top: 6px;
}

.menu-note{
  font-size: 0.9rem;
  color: rgba(43,32,24,0.6);
  font-style: italic;
  margin-top: 26px;
}

/* ---------- Kontakt ---------- */
.contact-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.contact-card{
  background: #fff;
  border: 1px solid var(--cream-line);
  border-radius: 4px;
  padding: 30px;
  box-shadow: var(--shadow-soft);
}
.contact-card h3{
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin: 0 0 18px;
  color: var(--oak);
}
.contact-row{
  display: flex;
  gap: 14px;
  padding: 10px 0;
  border-bottom: 1px dashed var(--cream-line);
  font-size: 0.98rem;
}
.contact-row:last-of-type{ border-bottom: none; }
.contact-row .label{
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ziegel);
  width: 90px;
  flex-shrink: 0;
  padding-top: 2px;
}
.contact-row a{ text-decoration: underline; text-decoration-color: var(--cream-line); text-underline-offset: 3px; }
.contact-row a:hover{ text-decoration-color: var(--ziegel); }

.hours-table{
  display: grid;
  grid-template-columns: auto auto;
  gap: 2px 18px;
  width: fit-content;
}
.hours-table .today{ font-weight: 600; color: var(--ziegel-deep); }

.map-embed{
  border: 1px solid var(--cream-line);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  min-height: 320px;
}
.map-embed iframe{ width: 100%; height: 100%; min-height: 320px; border: 0; display:block; }

/* ---------- Externe Inhalte: Zwei-Klick-Lösung ---------- */
.consent-embed{ position: relative; }
.consent-box{
  height: 100%;
  min-height: inherit;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  text-align: center;
  padding: 28px 24px;
}
.consent-box p{ margin: 0; font-size: 0.9rem; max-width: 36ch; }
.consent-embed--map{
  background:
    repeating-linear-gradient(45deg, rgba(74,46,30,0.04) 0 12px, transparent 12px 24px),
    var(--parchment-deep);
  color: var(--oak);
}
.consent-embed--map .consent-box svg{ color: var(--ziegel); }
.consent-embed--fb{
  min-height: 340px;
  background: rgba(241,231,211,0.04);
  border: 1px dashed rgba(199,154,62,0.3);
  border-radius: 2px;
  margin-top: 4px;
}
.consent-embed--fb.is-loaded{ border: none; background: none; }
.consent-embed--fb .consent-box p{ color: rgba(241,231,211,0.78); }
.consent-embed--fb iframe{ width: 100%; height: 360px; border: none; display: block; }
.consent-alt{
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: var(--messing-light);
}

/* ---------- Impressum ---------- */
.legal{
  background: #fff;
  border: 1px solid var(--cream-line);
  border-radius: 4px;
  padding: 8px 36px 20px;
  box-shadow: var(--shadow-soft);
  max-width: 820px;
  margin: 0 auto;
}
.legal h2{
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--oak);
  margin-top: 30px;
}
.legal h3{
  font-family: var(--font-body);
  font-size: 1.08rem;
  color: var(--tanne-deep);
  margin-top: 26px;
}
.legal p, .legal li{ color: rgba(43,32,24,0.82); font-size: 0.98rem; overflow-wrap: anywhere; }
.legal a{ text-decoration: underline; }
.legal .stand{ margin-top: 28px; color: rgba(43,32,24,0.55); font-size: 0.9rem; }

.page-hero{ padding: 56px 0 40px; }
.page-hero .kicker-left{ margin-bottom: 12px; }
.page-hero h1{
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin: 0;
  color: var(--parchment);
}

/* ---------- Footer ---------- */
footer.site-footer{
  background: var(--oak-deep);
  color: rgba(241,231,211,0.75);
  padding: 44px 0 30px;
  position: relative;
  z-index: 1;
}
footer.site-footer .wrap{
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 30px;
}
footer.site-footer h4{
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--messing-light);
  margin: 0 0 14px;
}
footer.site-footer p, footer.site-footer a{
  font-size: 0.94rem;
  line-height: 1.7;
  text-decoration: none;
  color: rgba(241,231,211,0.75);
}
footer.site-footer a:hover{ color: var(--messing-light); }
footer.site-footer .fine{
  margin: 30px 28px 0;
  padding-top: 20px;
  border-top: 1px solid rgba(241,231,211,0.12);
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: rgba(241,231,211,0.45);
  text-align: center;
}
footer.site-footer .fine a{ font-size: inherit; text-decoration: underline; text-underline-offset: 3px; }

.footer-social{
  display: flex;
  justify-content: center;
  margin-top: 34px;
}
.footer-social a{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px; height: 38px;
  border-radius: 50%;
  color: var(--messing-light);
  border: 1px solid rgba(199,154,62,0.4);
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.footer-social a:hover, .footer-social a:focus-visible{
  background: var(--messing);
  color: var(--oak-deep);
  transform: translateY(-2px);
}

/* ============================================================
   One-Page Layout
   ============================================================ */

body.onepager{ background: var(--oak-deep); }

/* ---- Logo badge ---- */
.logo-badge{ flex-shrink: 0; }
.logo-badge .ring{ fill: none; stroke: var(--messing); stroke-width: 1.2; }
.logo-badge .ring-inner{ fill: none; stroke: rgba(199,154,62,0.45); stroke-width: 0.6; }
.logo-badge .emblem-line{ fill: none; stroke: var(--messing-light); stroke-width: 2; stroke-linecap: round; }
.logo-badge .emblem-fill{ fill: var(--messing-light); }
.logo-badge text{
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 2.5px;
  fill: var(--parchment);
}
.logo-badge .water-flow{
  stroke-dasharray: 5 4;
  animation: waterFlow 1.4s linear infinite;
}
@keyframes waterFlow{ to{ stroke-dashoffset: -18; } }
.logo-badge .droplet{
  animation: droplet 2.2s ease-in-out infinite;
  transform-box: fill-box;
  transform-origin: center;
}
@keyframes droplet{
  0%, 100%{ transform: translateY(0); opacity: 1; }
  50%{ transform: translateY(3px); opacity: 0.65; }
}

/* ---- Sticky Header ---- */
.op-header{
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(33,21,16,0.92);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(199,154,62,0.22);
  transition: box-shadow 0.25s ease;
}
.op-header.scrolled{ box-shadow: 0 6px 20px rgba(0,0,0,0.35); }
.op-header .wrap{
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 28px;
  gap: 20px;
}
.op-brand{ display:flex; align-items:center; gap:14px; text-decoration:none; }
.op-brand .name{
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.2rem;
  color: var(--parchment);
  line-height: 1.1;
}
.op-brand .name small{
  display:block;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  color: var(--messing-light);
  margin-top: 3px;
  text-transform: uppercase;
}
.op-nav{ display:flex; gap: 2px; flex-wrap: wrap; align-items:center; }
.op-nav a{
  text-decoration:none;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: rgba(241,231,211,0.75);
  padding: 9px 11px;
  transition: color 0.18s ease;
  position: relative;
}
.op-nav a:hover, .op-nav a.active{ color: var(--messing-light); }
.op-nav a:not(.cta)::after{
  content: "";
  position: absolute;
  left: 11px; right: 11px; bottom: 6px;
  height: 1px;
  background: var(--messing-light);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.28s ease;
}
.op-nav a:not(.cta):hover::after,
.op-nav a:not(.cta):focus-visible::after,
.op-nav a.active::after{ transform: scaleX(1); }
.op-nav a.cta{
  background: var(--ziegel);
  color: var(--parchment);
  border-radius: 2px;
  padding: 9px 16px;
  margin-left: 8px;
  white-space: nowrap;
}
.op-nav a.cta:hover{ background: var(--ziegel-deep); color: var(--parchment); }

/* Hamburger (nur mobil sichtbar) */
.op-menu-toggle{
  display: none;
  width: 44px; height: 44px;
  background: none;
  border: 1px solid rgba(199,154,62,0.4);
  border-radius: 3px;
  cursor: pointer;
  padding: 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.op-menu-toggle span{
  display: block;
  width: 20px; height: 2px;
  background: var(--messing-light);
  border-radius: 1px;
  transition: transform 0.25s ease, opacity 0.2s ease;
}
.op-header.menu-open .op-menu-toggle span:nth-child(1){ transform: translateY(7px) rotate(45deg); }
.op-header.menu-open .op-menu-toggle span:nth-child(2){ opacity: 0; }
.op-header.menu-open .op-menu-toggle span:nth-child(3){ transform: translateY(-7px) rotate(-45deg); }

/* ---- Hero ---- */
.op-hero{
  position: relative;
  min-height: 88vh;
  min-height: 88svh;
  display: flex;
  align-items: center;
  color: var(--parchment);
  overflow: hidden;
}
.op-hero .bg{
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center 38%;
  filter: saturate(0.92) brightness(0.6);
  animation: heroZoom 22s ease-in-out infinite alternate;
  transform-origin: center;
}
@keyframes heroZoom{
  from{ transform: scale(1); }
  to{ transform: scale(1.09); }
}
.op-hero .scrim{
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(33,21,16,0.55) 0%, rgba(33,21,16,0.35) 40%, rgba(33,21,16,0.88) 100%);
}
/* Spalte: Text mittig, darunter "Entdecken" und die Neuigkeiten */
.op-hero{ flex-direction: column; align-items: center; padding: 0 0 26px; }
.op-hero .wrap{ position: relative; z-index: 2; text-align: center; margin: auto; width: 100%; padding-top: 48px; padding-bottom: 36px; }
.op-hero .eyebrow{
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--messing-light);
  margin: 0 0 20px;
}
.op-hero h1{
  font-family: var(--font-display);
  font-optical-sizing: auto;
  font-weight: 600;
  font-size: clamp(2.4rem, 6vw, 4.4rem);
  line-height: 1.06;
  margin: 0 0 22px;
  text-wrap: balance;
}
.op-hero p.lead{
  font-size: 1.2rem;
  max-width: 52ch;
  margin: 0 auto 34px;
  color: rgba(241,231,211,0.92);
}
.op-hero .hero-actions{ justify-content: center; }

.op-hero .eyebrow{ animation: heroFadeUp 0.9s ease both; animation-delay: 0.1s; }
.op-hero h1{ animation: heroFadeUp 0.9s ease both; animation-delay: 0.28s; }
.op-hero p.lead{ animation: heroFadeUp 0.9s ease both; animation-delay: 0.46s; }
.op-hero .hero-actions{ animation: heroFadeUp 0.9s ease both; animation-delay: 0.64s; }
.op-hero .open-status{ animation: heroFadeUp 0.9s ease both; animation-delay: 0.8s; }
@keyframes heroFadeUp{
  from{ opacity: 0; transform: translateY(20px); }
  to{ opacity: 1; transform: translateY(0); }
}

.op-scroll-cue{
  position: relative;
  z-index: 2;
  color: rgba(241,231,211,0.65);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-align: center;
  animation: heroFadeIn 0.9s ease both;
  animation-delay: 0.9s;
}
@keyframes heroFadeIn{ from{ opacity: 0; } to{ opacity: 1; } }
.op-scroll-cue .line{
  width: 1px; height: 34px; margin: 10px auto 0;
  background: linear-gradient(180deg, var(--messing-light), transparent);
}

/* ---- Geöffnet-Anzeige ---- */
.open-status{
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 28px 0 0;
  padding: 7px 16px;
  border-radius: 999px;
  background: rgba(33,21,16,0.55);
  border: 1px solid rgba(241,231,211,0.2);
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.06em;
  color: rgba(241,231,211,0.9);
}
.open-status .dot{
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--messing);
  flex-shrink: 0;
}
.open-status.is-open .dot{
  background: var(--gruen-ok);
  box-shadow: 0 0 0 0 rgba(111,174,114,0.6);
  animation: pulse 2s ease-out infinite;
}
@keyframes pulse{
  0%{ box-shadow: 0 0 0 0 rgba(111,174,114,0.6); }
  70%{ box-shadow: 0 0 0 8px rgba(111,174,114,0); }
  100%{ box-shadow: 0 0 0 0 rgba(111,174,114,0); }
}
.open-status--light{
  margin-top: 12px;
  background: var(--parchment);
  border-color: var(--cream-line);
  color: var(--oak);
  font-size: 0.7rem;
}
.open-status--light.is-open .dot{ background: #3F8A47; }

/* ---- Section shells ---- */
.op-section{ padding: 96px 0; position: relative; }
.op-section.dark{ background: var(--oak-deep); color: var(--parchment); }
.op-section.wood{ background: var(--oak); color: var(--parchment); }
.op-section.parchment{ background: var(--parchment); color: var(--tinte); }

.op-head{ max-width: 62ch; margin: 0 auto 48px; text-align: center; }
.op-head .kicker{
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ziegel);
  margin: 0 0 14px;
}
.op-section.dark .op-head .kicker, .op-section.wood .op-head .kicker{ color: var(--messing-light); }
.op-head h2{
  font-family: var(--font-display);
  font-optical-sizing: auto;
  font-weight: 600;
  font-size: clamp(1.9rem, 4vw, 2.7rem);
  margin: 0 0 16px;
}
.op-head p{ margin:0; opacity: 0.82; font-size: 1.05rem; }

.kicker-left{
  margin: 0 0 12px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--messing-light);
}
.split-title{
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  margin: 0 0 18px;
}

/* ---- Split media/text block ---- */
.op-split{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.op-split .framed-photo{
  background: var(--parchment);
  padding: 12px;
  border: 1px solid rgba(199,154,62,0.55);
  border-radius: 3px;
  box-shadow: 0 20px 44px rgba(0,0,0,0.38);
  transform: rotate(-2deg);
  transition: transform 0.4s cubic-bezier(0.2,0.7,0.3,1), box-shadow 0.4s ease;
}
.op-split .framed-photo:hover{
  transform: rotate(0deg) scale(1.015);
  box-shadow: 0 26px 54px rgba(0,0,0,0.45);
}
.op-split img{
  border-radius: 1px;
  aspect-ratio: 4/3;
  object-fit: cover;
  width: 100%;
}
.op-split .body p{ opacity: 0.88; margin: 0 0 16px; }

.feature-list{
  list-style: none;
  margin: 26px 0 0;
  padding: 0;
  display: grid;
  gap: 14px;
}
.feature-list li{
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 0.98rem;
  color: rgba(241,231,211,0.88);
  padding-top: 14px;
  border-top: 1px dashed rgba(199,154,62,0.3);
}
.feature-list svg{ flex-shrink: 0; color: var(--messing-light); margin-top: 2px; }
.feature-list strong{ color: var(--parchment); font-weight: 600; }

/* ---- Galerie: Bilderrahmen an der Wand ---- */
.op-gallery{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px 28px;
  align-items: start;
}
.op-gallery a{
  display: block;
  position: relative;
  background: var(--parchment);
  padding: 10px 10px 0;
  border: 1px solid rgba(199,154,62,0.45);
  border-radius: 2px;
  box-shadow: 0 12px 26px rgba(0,0,0,0.35);
  text-decoration: none;
  cursor: zoom-in;
  transform: rotate(var(--r, 0deg));
  transition: transform 0.35s cubic-bezier(0.2,0.7,0.3,1), box-shadow 0.35s ease;
}
.op-gallery a:nth-child(4n+1){ --r: -1.6deg; }
.op-gallery a:nth-child(4n+2){ --r: 1.1deg; }
.op-gallery a:nth-child(4n+3){ --r: -0.8deg; }
.op-gallery a:nth-child(4n){ --r: 1.7deg; }
.op-gallery a:hover, .op-gallery a:focus-visible{
  transform: rotate(0deg) translateY(-6px) scale(1.035);
  box-shadow: 0 22px 40px rgba(0,0,0,0.45);
  z-index: 2;
}
.op-gallery a::before{
  content: "";
  position: absolute;
  top: -7px; left: 50%;
  width: 13px; height: 13px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(circle at 34% 30%, var(--messing-light), var(--messing) 72%);
  box-shadow: 0 2px 5px rgba(0,0,0,0.45);
}
.op-gallery .frame-inner{ overflow: hidden; border-radius: 1px; }
.op-gallery img{
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  filter: saturate(0.92) sepia(0.06);
  transition: transform 0.5s ease, filter 0.4s ease;
}
.op-gallery a.tall img{ aspect-ratio: 3 / 4; }
.op-gallery a:hover img{ transform: scale(1.05); filter: saturate(1.05) sepia(0); }
.op-gallery figcaption{
  padding: 10px 4px 14px;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--oak);
  text-align: center;
  opacity: 0.85;
}

/* ---- Lightbox ---- */
.lightbox{
  border: none;
  padding: 0;
  background: transparent;
  max-width: 100vw;
  max-height: 100vh;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
}
.lightbox[open]{ display: flex; align-items: center; justify-content: center; }
.lightbox::backdrop{ background: rgba(20,13,9,0.92); }
.lightbox figure{
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: calc(100vw - 140px);
}
.lightbox img{
  max-width: 100%;
  max-height: calc(100vh - 110px);
  object-fit: contain;
  border: 8px solid var(--parchment);
  border-radius: 2px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.6);
  background: var(--parchment);
}
.lightbox figcaption{
  margin-top: 14px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(241,231,211,0.8);
  white-space: pre;
}
.lightbox button{
  position: absolute;
  background: rgba(33,21,16,0.7);
  color: var(--messing-light);
  border: 1px solid rgba(199,154,62,0.45);
  border-radius: 50%;
  width: 48px; height: 48px;
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s ease, color 0.2s ease;
}
.lightbox button:hover{ background: var(--messing); color: var(--oak-deep); }
.lb-close{ top: 18px; right: 18px; }
.lb-prev{ left: 18px; top: 50%; transform: translateY(-50%); }
.lb-next{ right: 18px; top: 50%; transform: translateY(-50%); }

/* ---- CTA banner ---- */
.op-cta-banner{
  background: var(--ziegel);
  color: var(--parchment);
  text-align: center;
  padding: 70px 0;
  position: relative;
  z-index: 1;
}
.op-cta-banner h2{
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.6vw, 2.4rem);
  margin: 0 0 12px;
}
.op-cta-banner p{ margin: 0 0 26px; opacity: 0.9; }
.op-cta-banner .btn-secondary{ border-color: rgba(241,231,211,0.6); }
.op-cta-banner .btn-secondary:hover{ background: var(--parchment); color: var(--ziegel-deep); border-color: var(--parchment); }

/* ---- Aktuelles: News-Raster ---- */
.news-grid{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 26px;
  text-align: left;
  max-width: 1180px;
  margin: 0 auto;
}
.news-grid--solo{ max-width: 440px; }
.news-card{
  background: rgba(241,231,211,0.05);
  border: 1px solid rgba(199,154,62,0.28);
  border-left: 3px solid var(--messing);
  border-radius: 3px;
  padding: 26px 28px;
}
.news-card.news-card--social{
  padding: 26px 26px 14px;
  display: flex;
  flex-direction: column;
}
.news-card .news-label{
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--messing-light);
  margin: 0 0 10px;
}
.news-card h3{
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin: 0 0 10px;
  color: var(--parchment);
}
.news-card p{ margin: 0; font-size: 0.96rem; color: rgba(241,231,211,0.82); }
.news-card a{ color: var(--messing-light); }

/* ---- Speisekarte: aufklappbare Kategorien ---- */
.menu-accordion{ max-width: 900px; margin: 0 auto; }
.menu-accordion details{ border-bottom: 1px solid rgba(43,32,24,0.15); }
.menu-accordion details:first-of-type{ border-top: 1px solid rgba(43,32,24,0.15); }
.menu-accordion summary{
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px 4px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.12rem;
  color: var(--tanne-deep);
  -webkit-tap-highlight-color: transparent;
  transition: color 0.2s ease;
}
.menu-accordion summary:hover{ color: var(--ziegel-deep); }
.menu-accordion summary::-webkit-details-marker{ display: none; }
.menu-accordion summary::marker{ content: ""; }
.menu-accordion summary .cat-name{ flex: 1; }
.menu-accordion summary .count{
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: rgba(43,32,24,0.5);
  font-weight: 400;
  white-space: nowrap;
}
.menu-accordion summary .chevron{
  width: 26px; height: 26px;
  flex-shrink: 0;
  transition: transform 0.25s ease, filter 0.25s ease;
  color: var(--messing);
  filter: drop-shadow(0 0 3px rgba(199,154,62,0.45));
}
.menu-accordion summary:hover .chevron,
.menu-accordion summary:focus-visible .chevron{
  filter: drop-shadow(0 0 6px rgba(199,154,62,0.75));
}
.menu-accordion details[open] summary .chevron{
  transform: rotate(180deg);
  color: var(--messing-light);
  filter: drop-shadow(0 0 7px rgba(227,200,120,0.8));
}
.menu-accordion details[open] .menu-body{ animation: menuOpen 0.3s ease; }
@keyframes menuOpen{
  from{ opacity: 0; transform: translateY(-6px); }
  to{ opacity: 1; transform: none; }
}
.menu-accordion .menu-body{ padding: 2px 4px 28px; }
.menu-accordion .menu-body .menu-group{ margin-bottom: 30px; }
.menu-accordion .menu-body .menu-group:last-child{ margin-bottom: 0; }
.menu-accordion .menu-body .menu-group h4.sub{
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ziegel);
  margin: 0 0 8px;
}

.additive-legend{
  max-width: 900px;
  margin: 36px auto 0;
  padding-top: 18px;
  border-top: 1px solid rgba(43,32,24,0.15);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: rgba(43,32,24,0.55);
  line-height: 1.9;
}
.additive-legend strong{ color: rgba(43,32,24,0.75); }

/* ---- Herkunfts-Kennzeichnung ---- */
.diet-tag{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px; height: 18px;
  border-radius: 50%;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 700;
  line-height: 1;
  margin-left: 6px;
  vertical-align: middle;
  border: 1px solid currentColor;
  position: relative;
  top: -1px;
}
.diet-tag.s{ color: #A85A3E; background: rgba(168,90,62,0.09); }
.diet-tag.r{ color: #8A3623; background: rgba(138,54,35,0.09); }
.diet-tag.h{ color: #A9822B; background: rgba(169,130,43,0.1); }
.diet-tag.f{ color: #2E6B63; background: rgba(46,107,99,0.09); }
.diet-tag.v{ color: #3E5641; background: rgba(62,86,65,0.09); }

.diet-legend{
  display: flex;
  flex-wrap: wrap;
  gap: 6px 20px;
  justify-content: center;
  margin: 22px 0 4px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: rgba(43,32,24,0.65);
}
.diet-legend span{ display:inline-flex; align-items:center; gap: 6px; }
.diet-legend .diet-tag{ margin-left: 0; }

/* ---- Öffnungsanzeige + Neuigkeiten im Hero ---- */
.hero-status{
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-top: 28px;
}
.hero-status .open-status{ margin: 0; }
.news-pills{
  position: relative;
  z-index: 2;
  list-style: none;
  margin: 10px 0 0;
  padding: 0 18px 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.news-pills .news-pill{
  margin: 0;
  max-width: 100%;
  text-align: left;
  border-width: 1.5px;
  animation: heroFadeUp 0.6s ease both;
}
.news-pills .news-pill:nth-child(2){ animation-delay: 0.08s; }
.news-pills .news-pill:nth-child(3){ animation-delay: 0.16s; }
.news-pills .news-pill:nth-child(n+4){ animation-delay: 0.24s; }

/* ---- "Nach oben"-Knopf ---- */
.to-top{
  position: fixed;
  right: 20px; bottom: 20px;
  z-index: 55;
  width: 46px; height: 46px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--oak-deep);
  color: var(--messing-light);
  border: 1px solid rgba(199,154,62,0.5);
  box-shadow: 0 6px 18px rgba(0,0,0,0.35);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s, background 0.2s ease;
}
.to-top.visible{ opacity: 1; visibility: visible; transform: none; }
.to-top:hover{ background: var(--messing); color: var(--oak-deep); }

section[id], #oeffnungszeiten{ scroll-margin-top: 92px; }

/* ============================================================
   Responsive
   ============================================================ */

@media (max-width: 900px){
  .op-split{ grid-template-columns: 1fr; gap: 44px; }
  .op-gallery{ grid-template-columns: repeat(2, 1fr); gap: 32px 20px; }
  .contact-grid{ grid-template-columns: 1fr; gap: 28px; }
  footer.site-footer .wrap{ grid-template-columns: 1fr 1fr; }
}

@media (max-width: 1080px){
  /* Mobiles Menü */
  .op-header .wrap{ flex-wrap: wrap; padding: 10px 20px; }
  .op-menu-toggle{ display: flex; }
  .op-nav{
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 0 14px;
    border-top: 1px solid rgba(199,154,62,0.2);
  }
  .op-header.menu-open .op-nav{ display: flex; animation: menuOpen 0.25s ease; }
  .op-nav a{ padding: 14px 6px; font-size: 0.8rem; border-bottom: 1px solid rgba(241,231,211,0.06); }
  .op-nav a:not(.cta)::after{ display: none; }
  .op-nav a.cta{ margin: 12px 0 0; text-align: center; padding: 14px; }
}


@media (max-width: 640px){
  body{ font-size: 17px; }
  .wrap{ padding: 0 18px; }
  .op-section{ padding: 72px 0; }
  .op-head{ margin-bottom: 36px; }
  .op-gallery a{ transform: none !important; }
  .op-split .framed-photo{ transform: rotate(-1deg); }
  .op-brand .name{ font-size: 1.05rem; }
  .logo-badge{ width: 40px; height: 40px; }
  .contact-card{ padding: 22px 20px; }
  .contact-row{ flex-direction: column; gap: 2px; }
  .legal{ padding: 4px 20px 16px; }
  footer.site-footer .wrap{ grid-template-columns: 1fr; text-align: center; }
  .menu-item{ grid-template-columns: 36px 1fr auto; gap: 12px; }
  .order-tag, .order-tag:empty{ width: 36px; height: 36px; font-size: 0.74rem; }
  .hero-actions .btn{ flex: 1 1 100%; text-align: center; }
  .lightbox figure{ max-width: calc(100vw - 24px); }
  .lb-prev, .lb-next{ top: auto !important; bottom: 18px; transform: none !important; }
  .lightbox img{ max-height: calc(100vh - 170px); }
}

@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  .btn-primary:hover{ transform: none; }
  .op-hero .bg{ animation: none; }
  .op-hero .eyebrow, .op-hero h1, .op-hero p.lead, .op-hero .hero-actions, .op-hero .open-status, .op-scroll-cue{
    animation: none; opacity: 1;
  }
  .logo-badge .water-flow, .logo-badge .droplet, .open-status.is-open .dot, .news-pills .news-pill{ animation: none; }
  .menu-accordion details[open] .menu-body{ animation: none; }
}

/* ============================================================
   Hintergründe: gleiche Farben, mehr Tiefe
   (warmes Licht, Holzdielen in der Galerie)
   ============================================================ */

/* Unser Haus: Holz mit warmem Lampenlicht */
#haus{
  background:
    radial-gradient(ellipse 60% 70% at 12% 18%, rgba(227,200,120,0.20), transparent 60%),
    radial-gradient(ellipse 50% 60% at 95% 100%, rgba(168,69,47,0.18), transparent 60%),
    linear-gradient(160deg, #5A3826 0%, #46291A 55%, #3A2416 100%);
}

/* Aktuelles: dunkles Holz mit warmem Lichtschein (oben bleibt die Farbe
   einheitlich, damit die Tannenkante darüber nahtlos anschließt) */
#aktuelles{
  background:
    radial-gradient(ellipse 70% 60% at 50% 45%, rgba(227,200,120,0.12), transparent 70%),
    radial-gradient(ellipse 40% 60% at 0% 100%, rgba(168,69,47,0.12), transparent 70%),
    #2A1A10;
}
#aktuelles .news-card{
  background: rgba(241,231,211,0.05);
  border-color: rgba(199,154,62,0.35);
  box-shadow: 0 14px 34px rgba(0,0,0,0.30);
  transition: transform 0.25s ease, border-color 0.25s ease;
}
#aktuelles .news-card:hover{ transform: translateY(-3px); border-color: rgba(227,200,120,0.6); }

/* Speisekarte: Pergament mit Messing-Schein */
#speisekarte{
  background:
    radial-gradient(circle at 100% 40%, rgba(199,154,62,0.18), transparent 40%),
    radial-gradient(circle at 0% 100%, rgba(168,69,47,0.08), transparent 45%),
    var(--parchment);
}

/* Galerie: dunkle Holzdielen */
#galerie{
  background:
    radial-gradient(ellipse 80% 50% at 50% 45%, rgba(227,200,120,0.10), transparent 70%),
    repeating-linear-gradient(90deg, rgba(0,0,0,0.22) 0 2px, transparent 2px 140px),
    repeating-linear-gradient(90deg, rgba(255,255,255,0.018) 0 1px, transparent 1px 23px),
    linear-gradient(180deg, #4A2E1E 0%, #33200F 60%, #2A1A10 100%);
}

/* Rotes Band: Glanz in der Mitte, hellerer Schein unten rechts */
.op-cta-banner{
  position: relative;
  padding-bottom: 96px;
  background:
    radial-gradient(ellipse 60% 90% at 50% 55%, rgba(255,255,255,0.12), transparent 70%),
    radial-gradient(ellipse 50% 100% at 100% 100%, rgba(194,96,63,0.6), transparent 70%),
    #A8452F;
}

/* Kontakt: hell mit Messing-Schein */
#kontakt{
  background:
    radial-gradient(circle at 0% 45%, rgba(199,154,62,0.14), transparent 40%),
    var(--parchment);
}

/* Fußbereich: dunkel mit leichtem Schein */
footer.site-footer{
  background:
    radial-gradient(ellipse 60% 80% at 50% 45%, rgba(199,154,62,0.08), transparent 70%),
    var(--oak-deep);
}

/* ============================================================
   Kanten: Odenwald-Tannen und Quellwellen
   Die Kante sitzt unten im Abschnitt und hat die Farbe des
   nächsten Abschnitts – so wächst der nächste Bereich als Wald
   bzw. als Wasser in den vorigen hinein.
   ============================================================ */
#haus::after,
#aktuelles::after,
#speisekarte::after,
#galerie::after,
.op-cta-banner::after,
#kontakt::after{
  content: "";
  position: absolute;
  left: 0; right: 0;
  bottom: -1px;
  height: 56px;
  pointer-events: none;
  z-index: 0;
  -webkit-mask-repeat: repeat-x;
  mask-repeat: repeat-x;
  -webkit-mask-position: left bottom;
  mask-position: left bottom;
  -webkit-mask-size: 240px 56px;
  mask-size: 240px 56px;
}
#haus::after,
#speisekarte::after,
#kontakt::after{
  -webkit-mask-image: url("bilder/kante-tannen.svg");
  mask-image: url("bilder/kante-tannen.svg");
}
#aktuelles::after,
#galerie::after,
.op-cta-banner::after{
  -webkit-mask-image: url("bilder/kante-wellen.svg");
  mask-image: url("bilder/kante-wellen.svg");
}
#haus::after{ background: #2A1A10; }               /* → Aktuelles   */
#aktuelles::after{ background: var(--parchment); } /* → Speisekarte */
#speisekarte::after{ background: #4A2E1E; }        /* → Galerie     */
#galerie::after{ background: #A8452F; }           /* → rotes Band  */
.op-cta-banner::after{ background: var(--parchment); } /* → Kontakt */
#kontakt::after{ background: var(--oak-deep); }    /* → Fußbereich  */

/* Etwas Luft, damit kein Inhalt auf der Kante liegt */
#haus, #aktuelles, #speisekarte, #galerie, #kontakt{ padding-bottom: 120px; }
@media (max-width: 640px){
  #haus, #aktuelles, #speisekarte, #galerie, #kontakt{ padding-bottom: 96px; }
  .op-cta-banner{ padding-bottom: 84px; }
}
