/* ==========================================================
   Landgasthof Sonne – Webseite
   Farben aus dem Logo: Gold, dunkles Braun, Creme
   ========================================================== */

@font-face { font-family: "Lora"; src: url(../fonts/lora.woff) format("woff"); font-weight: 400 700; font-display: swap; }
@font-face { font-family: "Lora"; font-style: italic; src: url(../fonts/lora-italic.woff) format("woff"); font-weight: 400 700; font-display: swap; }
@font-face { font-family: "Inter"; src: url(../fonts/inter-regular.woff) format("woff"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Inter"; src: url(../fonts/inter-medium.woff) format("woff"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Inter"; src: url(../fonts/inter-semibold.woff) format("woff"); font-weight: 600; font-display: swap; }

:root {
  --ink: #2f2419;
  --ink-2: #4a3a2b;
  --muted: #76675a;
  --gold: #b8873a;
  --gold-d: #8a5f1c;
  --gold-l: #dcc08a;
  --gold-xl: #f3e6c8;
  --cream: #fbf6ec;
  --cream-2: #f3ead9;
  --line: #e7dcc6;
  --white: #fff;
  --green: #5d7a45;
  --red: #a2442f;
  --radius: 18px;
  --radius-s: 10px;
  --shadow: 0 1px 2px rgba(47, 36, 25, .06), 0 12px 32px -12px rgba(47, 36, 25, .22);
  --shadow-l: 0 30px 60px -20px rgba(47, 36, 25, .35);
  --serif: "Lora", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --header-h: 84px;
  --container: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 64px); -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--sans); font-size: 1.0625rem; line-height: 1.7; color: var(--ink); background: var(--white); -webkit-font-smoothing: antialiased; }
img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--gold-d); text-underline-offset: .2em; text-decoration-thickness: 1px; }
a:hover { color: var(--ink); }
h1, h2, h3, h4, .h3, .h4 { font-family: var(--serif); font-weight: 500; line-height: 1.15; margin: 0 0 .6em; color: var(--ink); letter-spacing: -.01em; }
h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.75rem); }
h3, .h3 { font-size: 1.45rem; }
h4, .h4 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
.rich > :last-child { margin-bottom: 0; }
.rich ul { padding-left: 1.2em; }
.rich h2 { font-size: 1.6rem; margin-top: 1.6em; }
.rich h3 { margin-top: 1.4em; }
.muted { color: var(--muted); }
.center { text-align: center; }
.mt { margin-top: 2.5rem; }
.pt-0 { padding-top: 0 !important; }

.container { width: min(100% - 2.5rem, var(--container)); margin-inline: auto; }
.narrow { max-width: 820px; }

.skip-link { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: .7rem 1rem; z-index: 999; }
.skip-link:focus { left: 1rem; top: 1rem; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

/* ---------- Icons ---------- */
.ico { width: 1.5rem; height: 1.5rem; flex-shrink: 0; }
.ico-sm { width: 1.15rem; height: 1.15rem; }
.ico-xs { width: .9rem; height: .9rem; display: inline-block; vertical-align: -.1em; }

/* ---------- Buttons ---------- */
.btn { vertical-align: middle; display: inline-flex; align-items: center; justify-content: center; gap: .55rem; font: 600 .98rem/1 var(--sans); padding: 1rem 1.6rem; border-radius: 999px; border: 2px solid transparent; text-decoration: none; cursor: pointer; transition: transform .2s, background .2s, color .2s, border-color .2s, box-shadow .2s; white-space: nowrap; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--ink); color: var(--white); }
.btn-primary:hover { background: var(--gold-d); color: var(--white); box-shadow: 0 10px 24px -10px rgba(138, 95, 28, .7); }
.btn-outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); color: var(--white); }
.btn-ghost { color: var(--ink); background: var(--cream-2); }
.btn-ghost:hover { background: var(--gold-xl); color: var(--ink); }
.btn-light { background: var(--white); color: var(--ink); }
.btn-light:hover { background: var(--gold-xl); color: var(--ink); }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .45; cursor: not-allowed; transform: none; box-shadow: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.6rem; }
.btn-row.center { justify-content: center; }

.eyebrow { font: 600 .78rem/1.4 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--gold-d); margin: 0 0 .9rem; }
.badge { display: inline-block; font: 600 .66rem/1 var(--sans); font-style: normal; letter-spacing: .08em; text-transform: uppercase; background: var(--gold); color: #fff; padding: .3em .55em; border-radius: 999px; vertical-align: .15em; }

.sun-divider { display: block; width: 34px; height: 34px; color: var(--gold); margin: .2rem 0 1.4rem; position: relative; }
.sun-divider svg { width: 100%; height: 100%; }
.center .sun-divider, .hero .sun-divider, .page-head .sun-divider, .closing .sun-divider, .popup .sun-divider { margin-inline: auto; }
.page-head .sun-divider, .hero .sun-divider { width: 220px; height: 30px; }
.page-head .sun-divider svg, .hero .sun-divider svg { width: 30px; margin: 0 auto; position: relative; z-index: 1; background: inherit; }
.page-head .sun-divider::before, .hero .sun-divider::before { content: ""; position: absolute; top: 50%; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--gold-l) 30%, transparent 44%, transparent 56%, var(--gold-l) 70%, transparent); }

/* ---------- Hinweis-Leiste ---------- */
.notice-bar { background: var(--ink); color: var(--gold-xl); font-size: .88rem; }
.notice-bar .container { display: flex; align-items: center; justify-content: center; gap: .6rem; min-height: 40px; padding-block: .45rem; text-align: center; }
.notice-bar .ico { color: var(--gold-l); }
.notice-bar a { color: var(--gold-xl); text-decoration: none; }
.notice-bar a:hover { color: #fff; text-decoration: underline; }

/* ---------- Kopfbereich & Navigation ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .92); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s; }
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 8px 24px -18px rgba(47, 36, 25, .4); }
.header-inner { display: flex; align-items: center; gap: 1.5rem; min-height: var(--header-h); }
.brand { display: block; flex-shrink: 0; margin-right: auto; }
.brand img { width: 196px; height: auto; transition: width .3s; }
.is-scrolled .brand img { width: 170px; }
.brand-text { font: 600 1.5rem var(--serif); color: var(--ink); }

.main-nav ul { display: flex; gap: .3rem; list-style: none; margin: 0; padding: 0; }
.main-nav a { position: relative; display: block; padding: .7rem .85rem; font: 500 .95rem/1.2 var(--sans); color: var(--ink-2); text-decoration: none; border-radius: 8px; transition: color .2s, background .2s; }
.main-nav a::after { content: ""; position: absolute; left: .85rem; right: .85rem; bottom: .3rem; height: 2px; border-radius: 2px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .25s ease; }
.main-nav a:hover { color: var(--ink); }
.main-nav a:hover::after { transform: scaleX(.5); }
/* Aktive Seite – immer sichtbar markiert */
.main-nav a.is-active { color: var(--gold-d); font-weight: 600; background: var(--gold-xl); }
.main-nav a.is-active::after { transform: scaleX(1); background: var(--gold-d); height: 3px; bottom: .22rem; }
.main-nav .nav-call { display: none; }

.header-call { display: inline-flex; align-items: center; gap: .5rem; padding: .7rem 1.1rem; border-radius: 999px; background: var(--ink); color: #fff; font: 600 .92rem/1 var(--sans); text-decoration: none; transition: background .2s; }
.header-call:hover { background: var(--gold-d); color: #fff; }
.nav-toggle { display: none; align-items: center; gap: .55rem; background: none; border: 0; font: 600 .9rem var(--sans); color: var(--ink); cursor: pointer; padding: .6rem; }
.nav-toggle-bars { display: grid; gap: 5px; width: 24px; }
.nav-toggle-bars span { height: 2px; background: currentColor; border-radius: 2px; transition: transform .3s, opacity .3s; }
.nav-open .nav-toggle-bars span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle-bars span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle-bars span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1180px) {
  .header-call span { display: none; }
  .header-call { padding: .75rem; }
  .main-nav a { padding: .7rem .6rem; font-size: .9rem; }
  .main-nav a::after { left: .6rem; right: .6rem; }
}
@media (max-width: 1020px) {
  :root { --header-h: 70px; }
  .brand img, .is-scrolled .brand img { width: 150px; }
  .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: #fff; }
  .nav-toggle { display: inline-flex; }
  .main-nav { position: fixed; inset: var(--header-h) 0 0 0; background: var(--cream); padding: 1.5rem 1.25rem 6rem; overflow-y: auto; opacity: 0; visibility: hidden; transform: translateY(-10px); transition: opacity .25s, transform .25s, visibility .25s; }
  .nav-open .main-nav { opacity: 1; visibility: visible; transform: none; }
  .main-nav ul { flex-direction: column; gap: .35rem; }
  .main-nav a { font: 500 1.45rem/1.2 var(--serif); padding: 1rem 1.2rem 1rem 1.6rem; border-radius: 14px; }
  .main-nav a::after { display: none; }
  .main-nav a.is-active { background: var(--white); color: var(--gold-d); box-shadow: var(--shadow); }
  .main-nav a.is-active::before { content: ""; position: absolute; left: .7rem; top: 50%; width: 6px; height: 6px; margin-top: -3px; border-radius: 50%; background: var(--gold); }
  .main-nav .nav-call { display: flex; align-items: center; justify-content: center; gap: .6rem; margin-top: 1.5rem; padding: 1rem; border-radius: 999px; background: var(--ink); color: #fff; text-decoration: none; font-weight: 600; }
  body.nav-open { overflow: hidden; }
}

/* ---------- Brotkrumen ---------- */
.breadcrumb ol { display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem; list-style: none; margin: 0 0 1.8rem; padding: 0; font-size: .85rem; color: var(--muted); }
.breadcrumb li + li::before { content: "›"; margin-right: .4rem; color: var(--gold); }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--ink); text-decoration: underline; }
.breadcrumb [aria-current] { color: var(--gold-d); font-weight: 600; }

/* ---------- Abschnitte ---------- */
.section { padding-block: clamp(4rem, 8vw, 7rem); }
.section--cream { background: var(--cream); }
.section--dark { background: var(--ink); color: var(--cream); }
.section--dark h2 { color: var(--white); }
.section--dark .eyebrow { color: var(--gold-l); }
.section--dark a { color: var(--gold-l); }
.section-head { max-width: 760px; margin: 0 auto 3rem; }
.section-head.center { text-align: center; }
.lead { font-size: 1.15rem; color: var(--ink-2); }

.page-head { background: var(--cream); padding: clamp(2.2rem, 5vw, 4rem) 0 clamp(2.5rem, 5vw, 4rem); text-align: center; position: relative; overflow: hidden; }
.page-head + .section, .page-head + .section.pt-0 { padding-top: clamp(3rem, 6vw, 4.5rem) !important; background: var(--white); }
.page-head .lead { max-width: 700px; margin: 0 auto; }
.page-head h1 { margin-bottom: .3em; }

.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2.5rem, 6vw, 6rem); align-items: center; }
.split--reverse .split-text { order: 2; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .split--reverse .split-text { order: 0; } }

.frame { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-l); background: var(--cream-2); }
.frame img { width: 100%; height: 100%; object-fit: cover; }
.frame--arch { border-radius: 999px 999px var(--radius) var(--radius); aspect-ratio: 4 / 4.4; }
.frame--arch picture, .frame--arch img { height: 100%; }
.frame--tilt { transform: rotate(-1.5deg); }
.frame--paper { box-shadow: var(--shadow); padding: 0; }
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.duo .frame:nth-child(2) { margin-top: 3rem; }
.duo .frame { aspect-ratio: 4 / 5; }
.duo picture { height: 100%; }

/* ---------- Startseite: Hero ---------- */
.hero { background: linear-gradient(var(--cream) 0 70%, var(--white) 70%); padding-top: clamp(2.5rem, 6vw, 5rem); position: relative; }
.hero-text { text-align: center; max-width: 900px; }
.hero-title { font-size: clamp(3rem, 8.4vw, 6.4rem); font-weight: 500; letter-spacing: -.02em; margin: 0 0 .1em; line-height: 1; }
.hero-lead { font-size: clamp(1.08rem, 1.6vw, 1.28rem); color: var(--ink-2); max-width: 680px; margin: 0 auto; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; justify-content: center; margin-top: 2rem; }
.hero-media { width: min(100% - 2.5rem, 1400px); margin: clamp(2.5rem, 5vw, 4rem) auto 0; border-radius: calc(var(--radius) + 6px); overflow: hidden; box-shadow: var(--shadow-l); height: clamp(280px, 40vw, 600px); }
.hero-media picture, .hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; }
.hero-media img { animation: heroZoom 18s ease-out both; }
@keyframes heroZoom { from { transform: scale(1.08); } to { transform: scale(1); } }

.infostrip { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(3, 1fr); background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-l); margin-top: -3.5rem; overflow: hidden; }
.info-item { display: flex; gap: 1rem; align-items: center; padding: 1.4rem 1.6rem; text-decoration: none; color: var(--ink); transition: background .2s; }
.info-item + .info-item { border-left: 1px solid var(--line); }
a.info-item:hover { background: var(--cream); color: var(--ink); }
.info-item > .ico { width: 2.6rem; height: 2.6rem; padding: .6rem; border-radius: 50%; background: var(--gold-xl); color: var(--gold-d); }
.info-item div { display: flex; flex-direction: column; line-height: 1.35; }
.info-label { font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.info-item strong { font: 600 1.08rem var(--sans); }
.info-item strong.is-open { color: var(--green); }
.info-item strong.is-closed { color: var(--red); }
.info-item small { color: var(--muted); font-size: .85rem; }
@media (max-width: 820px) {
  .infostrip { grid-template-columns: 1fr; margin-top: -2rem; }
  .info-item + .info-item { border-left: 0; border-top: 1px solid var(--line); }
}

/* Fakten */
.facts { display: grid; text-align: center; grid-template-columns: repeat(4, 1fr); gap: 1rem; list-style: none; padding: 1.6rem 0 0; margin: 2rem 0 0; border-top: 1px solid var(--line); }
.facts li { display: flex; flex-direction: column; align-items: center; text-align: center; }
.facts strong { font: 500 2.2rem/1 var(--serif); color: var(--gold-d); }
.facts span { font-size: .85rem; color: var(--muted); margin-top: .35rem; line-height: 1.3; }
@media (max-width: 560px) { .facts { grid-template-columns: repeat(2, 1fr); row-gap: 1.4rem; } }

/* Karten */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
@media (max-width: 1000px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .cards { grid-template-columns: 1fr; } }
.card { display: flex; flex-direction: column; padding: 2rem 1.6rem; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); color: var(--ink); text-decoration: none; transition: transform .25s, box-shadow .25s, border-color .25s; }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-l); border-color: var(--gold-l); color: var(--ink); }
.card-icon { width: 3.6rem; height: 3.6rem; border-radius: 50%; display: grid; place-items: center; background: var(--gold-xl); color: var(--gold-d); margin-bottom: 1.2rem; transition: background .25s, color .25s; }
.card:hover .card-icon { background: var(--gold); color: #fff; }
.card h3 { margin-bottom: .4em; }
.card p { color: var(--muted); font-size: .97rem; flex: 1; }
.card-more { display: inline-flex; align-items: center; gap: .4rem; font-weight: 600; font-size: .9rem; color: var(--gold-d); }

/* Chips */
.chips { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; padding: 0; margin: 1.5rem 0 0; }
.chips--center { justify-content: center; }
.chips li { padding: .5rem 1rem; border-radius: 999px; background: var(--white); border: 1px solid var(--line); font-size: .92rem; font-weight: 500; }
.section--cream .chips li { background: var(--white); }

/* Mosaik */
.mosaic { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 230px; gap: 1rem; }
.mosaic-item { border-radius: var(--radius-s); overflow: hidden; display: block; }
.mosaic-item:first-child { grid-row: span 2; grid-column: span 2; }
.mosaic-item picture, .mosaic-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.mosaic-item:hover img { transform: scale(1.06); }
@media (max-width: 700px) { .mosaic { grid-template-columns: 1fr 1fr; grid-auto-rows: 150px; } .mosaic-item:first-child { grid-row: span 1; } }

/* Abschluss */
.closing { position: relative; color: #fff; text-align: center; padding: clamp(5rem, 11vw, 9rem) 0; overflow: hidden; background: var(--ink); }
.closing-bg { position: absolute; inset: 0; }
.closing-bg picture, .closing-bg img { width: 100%; height: 100%; object-fit: cover; }
.closing-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(47, 36, 25, .72), rgba(47, 36, 25, .82)); }
.closing-inner { position: relative; }
.closing h2 { color: #fff; font-size: clamp(2rem, 4.4vw, 3.4rem); max-width: 900px; margin-inline: auto; }
.closing p { font: italic 1.25rem var(--serif); color: var(--gold-xl); margin-bottom: 2rem; }
.closing .sun-divider { color: var(--gold-l); }

/* ---------- Wochenkarte ---------- */
.weekly-list { list-style: none; margin: 0; padding: 0; border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow); overflow: hidden; }
.weekly-list li { display: grid; grid-template-columns: 9.5rem 1fr auto; gap: 1rem; align-items: baseline; padding: 1rem 1.5rem; border-bottom: 1px solid var(--line); position: relative; }
.weekly-list li:last-child { border-bottom: 0; }
.weekly-day { font-weight: 600; }
.weekly-day small { font-weight: 400; color: var(--muted); }
.weekly-dish { font-family: var(--serif); font-size: 1.08rem; }
.weekly-price { font-weight: 600; white-space: nowrap; }
.weekly-list li.is-closed { color: var(--muted); background: repeating-linear-gradient(-45deg, transparent 0 8px, rgba(231, 220, 198, .35) 8px 9px); }
.weekly-list li.is-closed .weekly-dish { font-style: italic; }
.weekly-list li.is-today { background: var(--gold-xl); }
.weekly-list li.is-today::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--gold); }
.weekly-extra { margin-top: 1.4rem; padding: 1.2rem 1.5rem; border-radius: var(--radius-s); background: var(--white); border: 1px dashed var(--gold-l); font-size: .97rem; }
.weekly-footer { margin-top: 1rem; text-align: center; color: var(--muted); font-size: .9rem; font-style: italic; }
@media (max-width: 640px) {
  .weekly-list li { grid-template-columns: 1fr auto; gap: .2rem 1rem; padding: .9rem 1.1rem; }
  .weekly-day { grid-column: 1 / -1; font-size: .85rem; letter-spacing: .04em; color: var(--gold-d); }
}
.weekly--compact .weekly-list { box-shadow: none; border: 1px solid var(--line); }
.weekly--compact .weekly-list li { grid-template-columns: 1fr auto; gap: .1rem .8rem; padding: .7rem 1rem; }
.weekly--compact .weekly-day { grid-column: 1 / -1; font-size: .8rem; color: var(--gold-d); }
.weekly--compact .weekly-dish { font-size: 1rem; }
.weekly--compact .weekly-extra { padding: .9rem 1rem; font-size: .9rem; }

/* ---------- Öffnungszeiten ---------- */
.hours-list { margin: 0; }
.hours-list > div { display: flex; justify-content: space-between; gap: 1rem; padding: .7rem 0; border-bottom: 1px dashed var(--line); }
.hours-list dt { font-weight: 600; }
.hours-list dd { margin: 0; text-align: right; }
.hours-list dd small { display: block; color: var(--muted); font-size: .82rem; }
.hours-list .is-closed dd { color: var(--muted); font-style: italic; }
.hours-list .is-today { background: var(--gold-xl); margin-inline: -.8rem; padding-inline: .8rem; border-radius: 8px; border-bottom-color: transparent; }
.hours-list--compact > div { padding: .3rem 0; border: 0; font-size: .92rem; }
.hours-exceptions { margin-top: 1.2rem; padding: 1rem 1.2rem; border-radius: var(--radius-s); background: #fbeee9; color: var(--red); font-size: .95rem; }
.hours-exceptions ul { margin: .4rem 0 0; padding-left: 1.1rem; }
.hours-note { margin-top: 1.2rem; font-size: .95rem; color: var(--ink-2); }

/* ---------- Landgasthof: Räume ---------- */
.rooms { display: grid; gap: clamp(3rem, 7vw, 6rem); }
.room { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.room--reverse .room-media { order: 2; }
.room-media { aspect-ratio: 4 / 3; }
.room-media picture { height: 100%; }
.room-cap { display: inline-flex; align-items: center; gap: .45rem; padding: .4rem .9rem; border-radius: 999px; background: var(--gold-xl); color: var(--gold-d); font-weight: 600; font-size: .85rem; margin-bottom: 1rem; }
@media (max-width: 860px) { .room { grid-template-columns: 1fr; } .room--reverse .room-media { order: 0; } }

/* ---------- Chronik ---------- */
.timeline { list-style: none; margin: 0 auto; padding: 0; max-width: 900px; position: relative; }
.timeline::before { content: ""; position: absolute; left: 7.5rem; top: .6rem; bottom: .6rem; width: 2px; background: linear-gradient(var(--gold-l), var(--gold), var(--gold-l)); }
.timeline li { display: grid; grid-template-columns: 6.5rem 1fr; gap: 2.5rem; padding: 1rem 0; position: relative; }
.timeline li::before { content: ""; position: absolute; left: calc(7.5rem - 6px); top: 1.55rem; width: 14px; height: 14px; border-radius: 50%; background: var(--white); border: 3px solid var(--gold); }
.tl-year { font: 500 1.7rem/1.2 var(--serif); color: var(--gold-d); text-align: right; }
.timeline p { margin: .35rem 0 0; font-size: 1.05rem; }
@media (max-width: 600px) {
  .timeline::before { left: 6px; }
  .timeline li { grid-template-columns: 1fr; gap: .2rem; padding-left: 2rem; }
  .timeline li::before { left: 0; top: 1.4rem; }
  .tl-year { text-align: left; }
}

/* ---------- Speisekarte ---------- */
.pdf-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; padding: 1.4rem 1.8rem; border-radius: var(--radius); background: var(--ink); color: var(--cream); margin-bottom: 3rem; box-shadow: var(--shadow-l); }
.pdf-bar-text { display: flex; align-items: center; gap: 1rem; }
.pdf-bar-text > .ico { width: 2.6rem; height: 2.6rem; color: var(--gold-l); }
.pdf-bar-text strong { display: block; font: 500 1.3rem var(--serif); color: #fff; }
.pdf-bar-text span { font-size: .92rem; color: var(--gold-xl); }
.pdf-bar .btn-row { margin: 0; }
.pdf-bar .btn-primary { background: var(--gold); }
.pdf-bar .btn-primary:hover { background: var(--gold-l); color: var(--ink); }
.pdf-bar .btn-ghost { background: rgba(255, 255, 255, .1); color: #fff; }
.pdf-bar .btn-ghost:hover { background: rgba(255, 255, 255, .2); }

.menu-weekly { margin-bottom: 3.5rem; padding: clamp(1.5rem, 4vw, 2.5rem); border-radius: var(--radius); background: var(--cream); }
.menu-weekly h2 { margin-bottom: .2em; }

.menu-nav { position: sticky; top: var(--header-h); z-index: 20; background: rgba(255, 255, 255, .95); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); margin: 0 -1.25rem 2.5rem; padding: .8rem 1.25rem; border-bottom: 1px solid var(--line); }
.menu-nav ul { display: flex; gap: .45rem; list-style: none; margin: 0; padding: 0; overflow-x: auto; scrollbar-width: none; }
.menu-nav ul::-webkit-scrollbar { display: none; }
@media (min-width: 1100px) { .menu-nav ul { flex-wrap: wrap; overflow: visible; } }
.menu-nav a { display: block; padding: .5rem 1rem; border-radius: 999px; background: var(--cream); color: var(--ink-2); text-decoration: none; font-size: .9rem; font-weight: 500; white-space: nowrap; transition: background .2s, color .2s; }
.menu-nav a:hover { background: var(--gold-xl); color: var(--ink); }
.menu-nav a.is-active { background: var(--ink); color: #fff; }

.menu { display: grid; grid-template-columns: 1fr 1fr; gap: 2.2rem 4rem; }
@media (max-width: 900px) { .menu { grid-template-columns: 1fr; } }
.menu-cat { break-inside: avoid; }
.menu-cat-head { display: flex; align-items: center; gap: 1rem; padding-bottom: .9rem; border-bottom: 2px solid var(--ink); margin-bottom: .4rem; }
.menu-cat-icon { width: 3rem; height: 3rem; border-radius: 50%; display: grid; place-items: center; background: var(--gold-xl); color: var(--gold-d); flex-shrink: 0; }
.menu-cat-head h2 { font-size: 1.65rem; margin: 0; }
.menu-cat-head p { margin: 0; font-size: .82rem; color: var(--gold-d); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.menu-items { list-style: none; margin: 0; padding: 0; }
.menu-item { display: flex; align-items: flex-end; gap: .6rem; padding: .85rem 0; border-bottom: 1px solid var(--line); }
.mi-main { min-width: 0; }
.mi-name { font: 500 1.1rem/1.35 var(--serif); }
.mi-desc { display: block; color: var(--muted); font-size: .9rem; line-height: 1.45; margin-top: .15rem; }
.mi-dots { flex: 1; border-bottom: 2px dotted var(--gold-l); margin-bottom: .45rem; min-width: 1rem; }
.mi-price { font-weight: 600; white-space: nowrap; text-align: right; }
.mi-price small { font-weight: 400; font-size: .8rem; color: var(--muted); margin-right: .55rem; }
.marks { font: 500 .7rem var(--sans); color: var(--muted); margin-left: .15rem; cursor: help; }
.tag { display: inline-flex; align-items: center; gap: .25rem; margin-left: .45rem; padding: .15rem .5rem; border-radius: 999px; font: 600 .66rem/1.4 var(--sans); letter-spacing: .05em; text-transform: uppercase; vertical-align: .2em; }
.tag--veg { background: #e7efdc; color: #3f5a2a; }
.tag--haus { background: var(--gold-xl); color: var(--gold-d); }
.tag--tipp { background: var(--ink); color: var(--gold-xl); }
.menu-note { margin: .8rem 0 0; font: italic .98rem var(--serif); color: var(--gold-d); }
.menu-legend { margin-top: 3.5rem; padding: 1.6rem 1.8rem; border-radius: var(--radius); background: var(--cream); font-size: .92rem; }
.menu-legend ul { display: flex; flex-wrap: wrap; gap: .3rem 1.6rem; list-style: none; margin: 0 0 1rem; padding: 0; }
.menu-legend sup { font-weight: 600; color: var(--gold-d); }

/* ---------- Galerie ---------- */
.gallery { columns: 4 240px; column-gap: 1rem; }
.gallery-item { break-inside: avoid; margin: 0 0 1rem; border-radius: var(--radius-s); overflow: hidden; background: var(--cream); }
.gallery-item a { display: block; overflow: hidden; }
.gallery-item img { width: 100%; transition: transform .6s ease; }
.gallery-item a:hover img { transform: scale(1.05); }
.gallery-item figcaption { padding: .7rem .9rem; font-size: .86rem; color: var(--muted); }

/* Lightbox */
.lb { position: fixed; inset: 0; z-index: 200; background: rgba(20, 15, 10, .94); display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 3rem 1rem; opacity: 0; transition: opacity .25s; }
.lb.is-open { opacity: 1; }
.lb img { max-width: min(1100px, 100%); max-height: 78vh; border-radius: 8px; box-shadow: 0 30px 60px rgba(0, 0, 0, .5); }
.lb-caption { color: var(--gold-xl); margin-top: 1rem; text-align: center; font-family: var(--serif); font-style: italic; }
.lb button { position: absolute; background: rgba(255, 255, 255, .1); border: 0; color: #fff; width: 52px; height: 52px; border-radius: 50%; cursor: pointer; display: grid; place-items: center; font-size: 1.6rem; transition: background .2s; }
.lb button:hover { background: rgba(255, 255, 255, .25); }
.lb-close { top: 1rem; right: 1rem; }
.lb-prev { left: 1rem; top: 50%; transform: translateY(-50%); }
.lb-next { right: 1rem; top: 50%; transform: translateY(-50%); }

/* ---------- Kontakt ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-list { list-style: none; margin: 0 0 2rem; padding: 0; display: grid; gap: 1.1rem; }
.contact-list li { display: flex; gap: 1rem; align-items: center; }
.contact-list li > .ico { width: 2.8rem; height: 2.8rem; padding: .65rem; border-radius: 50%; background: var(--gold-xl); color: var(--gold-d); }
.big-link { font: 500 1.6rem var(--serif); color: var(--ink); text-decoration: none; }
.big-link:hover { color: var(--gold-d); }
.notice-box { padding: 1.2rem 1.4rem; border-left: 4px solid var(--gold); background: var(--cream); border-radius: 0 var(--radius-s) var(--radius-s) 0; margin-bottom: 2.5rem; }
.contact-info h2 { display: flex; align-items: center; gap: .5rem; }

.contact-form-wrap { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-l); padding: clamp(1.6rem, 4vw, 2.6rem); border: 1px solid var(--line); }
.contact-form { display: grid; gap: 1.1rem; margin-top: 1.4rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }
.field { display: grid; gap: .35rem; }
.field span { font-size: .86rem; font-weight: 600; color: var(--ink-2); }
.field input, .field textarea, .field select { width: 100%; font: inherit; font-size: 1rem; padding: .85rem 1rem; border: 1.5px solid var(--line); border-radius: var(--radius-s); background: var(--cream); color: var(--ink); transition: border-color .2s, background .2s, box-shadow .2s; }
.field input:focus, .field textarea:focus, .field select:focus { outline: 0; border-color: var(--gold); background: #fff; box-shadow: 0 0 0 4px rgba(184, 135, 58, .15); }
.check { display: flex; gap: .7rem; align-items: flex-start; font-size: .88rem; color: var(--ink-2); line-height: 1.5; }
.check input { width: 1.2rem; height: 1.2rem; margin-top: .15rem; accent-color: var(--gold-d); flex-shrink: 0; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-hint { font-size: .8rem; color: var(--muted); margin: 0; text-align: center; }
.alert { display: flex; gap: .7rem; align-items: flex-start; padding: 1rem 1.2rem; border-radius: var(--radius-s); margin-top: 1rem; font-size: .95rem; }
.alert ul { margin: 0; padding-left: 1rem; }
.alert--ok { background: #e7efdc; color: #2f4a1d; }
.alert--error { background: #fbeee9; color: var(--red); }

/* Spamschutz – Sonne schieben */
.slider-captcha { margin-top: .3rem; }
.sc-label { font-size: .86rem; font-weight: 600; color: var(--ink-2); margin: 0 0 .45rem; }
.sc-track { position: relative; height: 58px; border-radius: 999px; background: var(--cream-2); border: 1.5px solid var(--line); overflow: hidden; user-select: none; -webkit-user-select: none; touch-action: none; }
.sc-fill { position: absolute; inset: 0 auto 0 0; width: 0; background: linear-gradient(90deg, var(--gold-xl), var(--gold-l)); border-radius: 999px; }
.sc-text { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: .4rem; font-weight: 600; font-size: .95rem; color: var(--muted); padding-left: 3rem; background: linear-gradient(90deg, var(--muted) 0%, var(--muted) 40%, #fff 50%, var(--muted) 60%, var(--muted) 100%); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; animation: shimmer 2.6s linear infinite; pointer-events: none; }
@keyframes shimmer { from { background-position: 100% 0; } to { background-position: -100% 0; } }
.sc-done { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: .5rem; padding-right: 3rem; font-weight: 600; color: #fff; opacity: 0; transform: translateY(6px); transition: opacity .35s .15s, transform .35s .15s; pointer-events: none; }
.sc-handle { position: absolute; left: 4px; top: 4px; width: 48px; height: 48px; border-radius: 50%; border: 0; padding: 4px; background: #fff; box-shadow: 0 4px 12px rgba(47, 36, 25, .25); cursor: grab; color: var(--gold); touch-action: none; transition: box-shadow .2s; }
.sc-handle:active { cursor: grabbing; box-shadow: 0 6px 18px rgba(47, 36, 25, .35); }
.sc-handle svg { width: 100%; height: 100%; fill: currentColor; }
.sc-face { fill: var(--gold-d); }
.sc-smile { fill: none; stroke: var(--gold-d); stroke-width: 1.6; stroke-linecap: round; }
.sc-rays { transform-origin: 20px 20px; }
.slider-captcha.is-hint .sc-handle { animation: nudge 1.6s ease-in-out 2; }
@keyframes nudge { 0%, 100% { transform: translateX(0); } 40% { transform: translateX(26px); } 60% { transform: translateX(20px); } }
.slider-captcha.is-error .sc-track { animation: shake .45s; border-color: var(--red); }
@keyframes shake { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }
.slider-captcha.is-checking .sc-handle { color: var(--gold-l); }
.slider-captcha.is-done .sc-track { background: var(--green); border-color: var(--green); }
.slider-captcha.is-done .sc-fill { background: var(--green); }
.slider-captcha.is-done .sc-text { opacity: 0; }
.slider-captcha.is-done .sc-done { opacity: 1; transform: none; }
.slider-captcha.is-done .sc-handle { cursor: default; color: #f2c14e; }
.slider-captcha.is-done .sc-rays { animation: spin 6s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Karte mit Einwilligung */
.map-consent { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-l); background: linear-gradient(135deg, #efe5d1, #e2d4b8); min-height: 420px; display: grid; }
.map-placeholder { display: grid; place-items: center; align-content: center; text-align: center; padding: 2.5rem 1.5rem; gap: .5rem; max-width: 560px; margin: auto; }
.map-placeholder > .ico { width: 3.2rem; height: 3.2rem; color: var(--gold-d); }
.map-placeholder p { font-size: .95rem; color: var(--ink-2); }
.map-consent iframe { width: 100%; height: 460px; border: 0; display: block; }

/* ---------- Rechtliches ---------- */
.legal { font-size: 1rem; }
.legal h2 { font-size: 1.4rem; margin-top: 2em; }
.page-404 { padding: 6rem 0; }

/* ---------- Fußbereich ---------- */
.site-footer { background: #241b13; color: #d9ccb8; padding-top: 4.5rem; font-size: .95rem; }
.site-footer a { color: #f3e6c8; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr .8fr; gap: 2.5rem; padding-bottom: 3rem; }
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-logo { width: 190px; background: var(--cream); padding: .7rem 1rem; border-radius: 12px; margin-bottom: 1.2rem; box-sizing: content-box; }
.footer-title { font: 600 .78rem var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--gold-l); margin-bottom: 1rem; }
.site-footer address { font-style: normal; margin-bottom: 1rem; }
.footer-contact a { display: inline-flex; align-items: center; gap: .5rem; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.footer-links a[aria-current] { color: var(--gold-l); font-weight: 600; }
.footer-social { display: flex; gap: .6rem; }
.footer-social a { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: rgba(255, 255, 255, .08); }
.footer-social a:hover { background: var(--gold); }
.footer-social .ico { width: 1.2rem; height: 1.2rem; }
.site-footer .hours-list dt { font-weight: 500; color: #f3e6c8; }
.site-footer .hours-list .is-closed dd { color: #a8998a; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding-block: 1.4rem; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .85rem; color: #a8998a; }
.footer-legal { display: flex; gap: 1.4rem; }
.footer-legal a[aria-current] { color: var(--gold-l); }

/* ---------- Mobile Schnellleiste ---------- */
.mobile-bar { display: none; }
@media (max-width: 760px) {
  .mobile-bar { display: grid; grid-template-columns: repeat(3, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: rgba(255, 255, 255, .97); border-top: 1px solid var(--line); box-shadow: 0 -8px 24px -12px rgba(47, 36, 25, .3); padding-bottom: env(safe-area-inset-bottom); }
  .mobile-bar a { display: flex; flex-direction: column; align-items: center; gap: .15rem; padding: .55rem 0 .5rem; font-size: .72rem; font-weight: 600; color: var(--ink); text-decoration: none; }
  .mobile-bar a.is-active { color: var(--gold-d); }
  .mobile-bar .ico { width: 1.4rem; height: 1.4rem; }
  .mobile-bar a:first-child .ico { color: var(--green); }
  body { padding-bottom: 64px; }
  .header-call { display: none; }
}

/* ---------- Popup ---------- */
.popup { position: fixed; inset: 0; z-index: 150; display: grid; place-items: center; padding: 1rem; }
.popup[hidden] { display: none; }
.popup-backdrop { position: absolute; inset: 0; background: rgba(36, 27, 19, .6); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); opacity: 0; transition: opacity .3s; }
.popup-dialog:focus { outline: none; }
.popup-dialog { position: relative; width: min(580px, 100%); max-height: min(88vh, 900px); overflow-y: auto; background: var(--white); border-radius: calc(var(--radius) + 4px); box-shadow: 0 40px 80px -20px rgba(0, 0, 0, .45); opacity: 0; transform: translateY(24px) scale(.97); transition: opacity .35s, transform .35s cubic-bezier(.2, .9, .3, 1.2); overscroll-behavior: contain; }
.popup.is-open .popup-backdrop { opacity: 1; }
.popup.is-open .popup-dialog { opacity: 1; transform: none; }
.popup-body { padding: 2.2rem clamp(1.4rem, 4vw, 2.4rem) 2rem; text-align: center; }
.popup-body h2 { font-size: 1.9rem; }
.popup-body .rich { color: var(--ink-2); }
.popup-section { text-align: left; margin-top: 1.8rem; }
.popup-section h3 { display: flex; align-items: center; gap: .5rem; font-size: 1.2rem; color: var(--gold-d); }
.popup-image img { width: 100%; max-height: 260px; object-fit: cover; }
.popup-close { position: absolute; top: .8rem; right: .8rem; z-index: 2; width: 42px; height: 42px; border-radius: 50%; border: 0; background: var(--cream); color: var(--ink); cursor: pointer; display: grid; place-items: center; transition: background .2s, transform .2s; }
.popup-close:hover { background: var(--gold-xl); transform: rotate(90deg); }
.popup-actions { display: flex; flex-wrap: wrap; gap: .7rem; justify-content: center; margin-top: 2rem; }
.popup .hours-note { font-size: .9rem; }

/* ---------- Einblend-Animation ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}

@media print {
  .site-header, .mobile-bar, .notice-bar, .popup, .site-footer, .menu-nav, .pdf-bar { display: none !important; }
}

/* Zusatzfelder Feier-Anfrage */
.event-fields { border: 1.5px solid var(--gold-l); border-radius: var(--radius); background: var(--cream); padding: 1.2rem 1.3rem 1.4rem; margin: 0; display: grid; gap: 1rem; animation: evIn .4s ease; }
.event-fields[hidden] { display: none; }
@keyframes evIn { from { opacity: 0; transform: translateY(-8px); } }
.event-fields legend { display: inline-flex; align-items: center; gap: .45rem; padding: .3rem .9rem; border-radius: 999px; background: var(--ink); color: #fff; font: 600 .85rem var(--sans); }
.event-intro { margin: 0; font-size: .9rem; color: var(--ink-2); }
.event-fields .field input, .event-fields .field select { background: #fff; }
.field-row--3 { grid-template-columns: 1.3fr 1fr 1fr; }
@media (max-width: 560px) { .field-row--3 { grid-template-columns: 1fr 1fr; } .field-row--3 .field:first-child { grid-column: 1 / -1; } }
.field small { font-weight: 400; color: var(--muted); }
.choice-chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip-check { cursor: pointer; }
.chip-check input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip-check span { display: inline-flex; align-items: center; gap: .35rem; padding: .55rem .95rem; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; font-size: .9rem; font-weight: 500; transition: background .15s, border-color .15s, color .15s; }
.chip-check span::before { content: ""; width: .95rem; height: .95rem; border-radius: 4px; border: 1.5px solid var(--gold-l); background: #fff; transition: background .15s; }
.chip-check:hover span { border-color: var(--gold); }
.chip-check input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip-check input:checked + span::before { background: var(--gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round'%3E%3Cpath d='m5 12 5 5L20 7'/%3E%3C/svg%3E") center / 80% no-repeat; border-color: var(--gold); }
.chip-check input:focus-visible + span { outline: 3px solid var(--gold); outline-offset: 2px; }

.file-field input[type=file] { padding: .7rem; background: #fff; border-style: dashed; cursor: pointer; }
.file-field input[type=file]::file-selector-button { font: 600 .85rem var(--sans); border: 0; border-radius: 999px; padding: .5rem 1rem; margin-right: .8rem; background: var(--ink); color: #fff; cursor: pointer; }

/* Speisekarte zum Blättern (Modal) */
.ico-down { transform: rotate(90deg); }
.btn-sm { padding: .6rem 1.1rem; font-size: .88rem; }
.flipbook { position: fixed; inset: 0; z-index: 180; background: #2a2019; display: flex; flex-direction: column; opacity: 0; transition: opacity .3s; }
.flipbook[hidden] { display: none; }
.flipbook.is-open { opacity: 1; }
.flipbook-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .7rem 1rem .7rem 1.4rem; color: #f3e6c8; border-bottom: 1px solid rgba(255,255,255,.08); }
.flipbook-head strong { font: 500 1.2rem var(--serif); color: #fff; }
.flipbook-actions { display: flex; align-items: center; gap: .6rem; }
.flipbook-close { width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255,255,255,.12); color: #fff; cursor: pointer; display: grid; place-items: center; transition: background .2s, transform .2s; }
.flipbook-close:hover { background: var(--gold); transform: rotate(90deg); }
.flipbook iframe { flex: 1; width: 100%; border: 0; }
@media (max-width: 560px) { .flipbook-actions .btn span { display: none; } .flipbook-head strong { font-size: 1rem; } }
body.flip-open { overflow: hidden; }
