/* ═══════════════════════════════════════════════════════════
   GASTHOF POST WENNS · Design-System (Light Edition 2026)
   Weisser/cremefarbener Hintergrund, dunkle Schrift, Gold
   ═══════════════════════════════════════════════════════════ */

:root {
  --gold: #b8860b;
  --gold-strong: #9a7420;
  --gold-light: #c99a2e;
  --paper: #fdfbf5;          /* Haupthintergrund */
  --paper-2: #f7f1e3;        /*Alternative Flächen */
  --card: #ffffff;
  --text: #2b2317;
  --text-dim: #6d6253;
  --line: rgba(184, 134, 11, 0.28);
  --line-soft: rgba(184, 134, 11, 0.16);
  --shadow: 0 18px 50px rgba(43, 35, 23, 0.12);
  --shadow-soft: 0 8px 26px rgba(43, 35, 23, 0.08);
  --radius: 18px;
  --font-display: "UnifrakturCook", cursive;
  --font-serif: "Cormorant Garamond", Georgia, serif;
  --font-sans: "Inter", system-ui, sans-serif;
  --header-h: 84px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }

body {
  font-family: var(--font-sans);
  background: var(--paper);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
[hidden] { display: none !important; }
a { color: var(--gold-strong); text-decoration: none; }
a:hover { color: var(--gold); }

.container { width: min(1180px, 92%); margin-inline: auto; }
.section { padding: clamp(72px, 10vw, 128px) 0; position: relative; }

/* ── Skip link ─────────────────────────────────────────── */
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--gold); color: #fff; padding: 10px 18px; border-radius: 0 0 10px 0;
}
.skip-link:focus { left: 0; }

/* ── Header / Nav ──────────────────────────────────────── */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background 0.35s ease, box-shadow 0.35s ease, backdrop-filter 0.35s ease;
}
.site-header.is-scrolled {
  background: rgba(253, 251, 245, 0.9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 6px 24px rgba(43, 35, 23, 0.08);
}
.nav {
  display: flex; align-items: center; gap: 28px;
  height: var(--header-h);
}
.nav__brand img { width: 132px; height: auto; transition: transform 0.3s ease; }
.nav__brand:hover img { transform: scale(1.04); }
.nav__links {
  display: flex; gap: 6px; list-style: none; margin-left: auto;
}
.nav__link {
  color: #fdfbf5; font-size: 0.92rem; font-weight: 500;
  padding: 8px 14px; border-radius: 999px; position: relative;
  transition: color 0.25s ease, background 0.25s ease;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35);
}
.site-header.is-scrolled .nav__link { color: var(--text); text-shadow: none; }
.nav__link:hover { color: var(--gold-light); background: rgba(201, 154, 46, 0.12); }
.site-header.is-scrolled .nav__link:hover { color: var(--gold-strong); }
.nav__link.is-active { color: var(--gold-light); }
.site-header.is-scrolled .nav__link.is-active { color: var(--gold-strong); }
.nav__link--cta {
  border: 1px solid var(--gold-light); color: var(--gold-light);
  text-shadow: none;
  transition: background 0.25s ease, color 0.25s ease, transform 0.2s ease;
}
.site-header.is-scrolled .nav__link--cta { border-color: var(--gold-strong); color: var(--gold-strong); }
.nav__link--cta:hover { background: var(--gold); border-color: var(--gold); color: #fff !important; transform: translateY(-1px); }
.nav__phone {
  font-family: var(--font-serif); font-size: 1.05rem; font-weight: 600; color: #fff;
  white-space: nowrap; letter-spacing: 0.02em;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.4);
}
.site-header.is-scrolled .nav__phone { color: var(--gold-strong); text-shadow: none; }
.nav__toggle {
  display: none; background: none; border: 0; cursor: pointer;
  width: 42px; height: 42px; flex-direction: column; justify-content: center; gap: 5px;
  margin-left: auto;
}
.nav__toggle span {
  display: block; height: 2px; background: #fdfbf5; border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease, background 0.25s ease;
}
.site-header.is-scrolled .nav__toggle span { background: var(--text); }
.nav__toggle[aria-expanded="true"] span { background: var(--text) !important; }
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.scroll-progress {
  position: absolute; left: 0; bottom: 0; height: 2px; width: 0;
  background: linear-gradient(90deg, var(--gold-light), var(--gold-strong));
  transition: width 0.1s linear;
}

/* ── Buttons ───────────────────────────────────────────── */
.btn {
  display: inline-block; padding: 14px 30px; border-radius: 999px;
  font-weight: 600; font-size: 0.95rem; letter-spacing: 0.03em;
  cursor: pointer; border: 1px solid transparent; background: transparent;
  font-family: var(--font-sans);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.25s ease, color 0.25s ease;
}
.btn--gold {
  background: linear-gradient(135deg, #d9ad3f, var(--gold-light) 55%, var(--gold-strong));
  color: #fff; box-shadow: 0 10px 28px rgba(184, 134, 11, 0.35);
}
.btn--gold:hover { transform: translateY(-2px); box-shadow: 0 14px 36px rgba(184, 134, 11, 0.45); color: #fff; }
.btn--ghost { border-color: rgba(43, 35, 23, 0.35); color: var(--text); }
.btn--ghost:hover { border-color: var(--gold-strong); color: var(--gold-strong); transform: translateY(-2px); }
.btn--full { width: 100%; text-align: center; }

/* ── Hero (Foto bleibt, Rest der Seite hell) ───────────── */
.hero {
  position: relative; min-height: 100svh;
  display: flex; align-items: center; justify-content: center;
  text-align: center; overflow: hidden;
}
.hero__bg, .hero__bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__bg img { animation: heroZoom 18s ease-out forwards; }
@keyframes heroZoom { from { transform: scale(1.12); } to { transform: scale(1); } }
.hero__scrim {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 50% 30%, rgba(20, 15, 8, 0.2), rgba(20, 15, 8, 0.62) 75%),
    linear-gradient(180deg, rgba(20, 15, 8, 0.45) 0%, rgba(20, 15, 8, 0.15) 40%, var(--paper) 97%);
}
.hero__content { position: relative; z-index: 2; padding-top: var(--header-h); }
.hero__logo {
  width: min(300px, 62vw); height: auto; margin: 0 auto 10px;
  filter: drop-shadow(0 12px 30px rgba(0, 0, 0, 0.55));
  animation: floatIn 1s ease-out both;
}
.hero__kicker {
  font-family: var(--font-serif); font-style: italic; font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.92); margin-bottom: 6px;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.45);
  animation: floatIn 1s 0.15s ease-out both;
}
.hero__title {
  font-family: var(--font-serif); font-weight: 500;
  font-size: clamp(2.2rem, 6vw, 4.2rem); line-height: 1.1;
  color: #fff; text-wrap: balance;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.45);
  animation: floatIn 1s 0.3s ease-out both;
}
.hero__title span { color: var(--gold-light); }
.hero__tagline {
  font-size: clamp(1rem, 2vw, 1.25rem); color: var(--gold-light);
  letter-spacing: 0.12em; text-transform: uppercase; margin-top: 14px;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.5);
  animation: floatIn 1s 0.45s ease-out both;
}
.hero__actions {
  display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-top: 34px;
  animation: floatIn 1s 0.6s ease-out both;
}
.hero__scroll {
  position: absolute; left: 50%; bottom: 34px; transform: translateX(-50%);
  animation: floatIn 1s 0.9s ease-out both;
}
.hero__mouse {
  display: block; width: 26px; height: 42px; border: 2px solid rgba(255, 255, 255, 0.75);
  border-radius: 14px; position: relative;
}
.hero__mouse::after {
  content: ""; position: absolute; left: 50%; top: 7px; width: 4px; height: 8px;
  background: var(--gold-light); border-radius: 2px; transform: translateX(-50%);
  animation: wheel 1.8s ease-in-out infinite;
}
@keyframes wheel { 0%, 100% { transform: translate(-50%, 0); opacity: 1; } 60% { transform: translate(-50%, 14px); opacity: 0; } }
@keyframes floatIn { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: translateY(0); } }

/* ── USP-Band ──────────────────────────────────────────── */
.usp {
  background: var(--paper-2);
  border-block: 1px solid var(--line-soft);
  padding: 42px 0;
}
.usp__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 12px; }
.usp__item { text-align: center; padding: 10px 6px; border-radius: var(--radius); transition: background 0.25s ease, transform 0.25s ease; }
.usp__item:hover { background: rgba(201, 154, 46, 0.1); transform: translateY(-3px); }
.usp__icon { font-size: 1.6rem; display: block; margin-bottom: 6px; }
.usp__item h3 { font-size: 0.92rem; font-weight: 600; color: var(--gold-strong); }
.usp__item p { font-size: 0.78rem; color: var(--text-dim); }

/* ── Service-Login-Chip (unten rechts) ────────────────── */
.staff-login {
  position: fixed; right: 14px; bottom: 14px; z-index: 90;
  display: flex; align-items: center; gap: 6px;
  background: rgba(43, 35, 23, 0.55); backdrop-filter: blur(6px);
  color: #fdfbf5; font-size: 0.72rem; font-weight: 600;
  padding: 7px 12px; border-radius: 999px;
  opacity: 0.45; transition: opacity 0.25s ease, background 0.25s ease;
}
.staff-login:hover { opacity: 1; background: var(--gold); color: #fff; }
.staff-login__label { letter-spacing: 0.05em; }
@media (max-width: 640px) { .staff-login__label { display: none; } .staff-login { padding: 9px; } }

/* ── Live-Tisch-Übersicht (KDS-Anbindung) ─────────────── */
.livetables { padding: 36px 0; background: var(--paper); border-bottom: 1px solid var(--line-soft); }
.livetables__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 14px; flex-wrap: wrap; }
.livetables__title { font-family: var(--font-serif); font-size: clamp(1.3rem, 2.6vw, 1.7rem); font-weight: 500; }
.livetables__legend { display: flex; gap: 16px; font-size: 0.78rem; color: var(--text-dim); align-items: center; }
.livetables__legend .dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 5px; }
.dot--free { background: #3e8e41; }
.dot--busy { background: #c0392b; }
.dot--live { background: var(--gold); animation: livepulse 1.6s infinite; }
@keyframes livepulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }
.livetables__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; }
.livetable-room { background: var(--card); border: 1px solid var(--line-soft); border-radius: 14px; padding: 12px 14px; box-shadow: var(--shadow-soft); }
.livetable-room h3 { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.09em; color: var(--gold-strong); margin-bottom: 9px; display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.livetable-room .count { font-weight: 600; letter-spacing: 0; text-transform: none; color: var(--text-dim); }
.livetable-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { font-size: 0.74rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; border: 1px solid transparent; white-space: nowrap; }
.chip--free { background: rgba(62, 142, 65, 0.1); color: #2c6e2e; border-color: rgba(62, 142, 65, 0.35); }
.chip--busy { background: rgba(192, 57, 43, 0.08); color: #a03326; border-color: rgba(192, 57, 43, 0.3); text-decoration: line-through; }
.livetables__foot { margin-top: 12px; font-size: 0.8rem; color: var(--text-dim); text-align: right; }
.livetables__hint { font-size: 0.85rem; color: var(--text-dim); }

/* ── Wetter Wenns/Pitztal ── */
.weather { padding: 18px 0; background: var(--paper); border-bottom: 1px solid var(--line-soft); }
.weather__band { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.weather__now { display: flex; align-items: center; gap: 12px; }
.weather__icon { font-size: 2.4rem; line-height: 1; }
.weather__main { display: flex; flex-direction: column; }
.weather__temp { font-family: var(--font-serif, serif); font-size: 1.7rem; line-height: 1.1; }
.weather__desc { font-size: .85rem; color: var(--text-dim, #7a6f5d); }
.weather__days { display: flex; gap: 18px; flex-wrap: wrap; }
.weather__day { display: flex; flex-direction: column; align-items: center; min-width: 74px; padding: 8px 10px; border: 1px solid var(--line-soft, #e5dcc7); border-radius: 12px; background: var(--card, #fffdf7); }
.weather__day .wd-label { font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; color: var(--text-dim, #7a6f5d); }
.weather__day .wd-range { font-size: .95rem; font-weight: 500; }
.weather__day .wd-rain { font-size: .72rem; color: var(--text-dim, #7a6f5d); }
@media (max-width: 640px) { .weather__band { justify-content: center; text-align: center; } .weather__days { justify-content: center; } }

/* ── Hochgeladene Speisekarte (PDF/DOCX) ── */
.menu-doc { margin-top: 28px; background: var(--card, #fffdf7); border: 1px solid var(--line-soft, #e5dcc7); border-radius: 14px; padding: 18px 18px 22px; box-shadow: 0 2px 10px rgba(43,35,23,.05); }
.menu-doc__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.menu-doc__head h3 { font-family: var(--font-serif, serif); font-size: 1.25rem; font-weight: 500; margin: 0; }
.menu-doc__meta { font-size: .8rem; color: var(--text-dim, #7a6f5d); margin: 4px 0 12px; }
.menu-doc__frame { width: 100%; height: 78vh; min-height: 480px; border: 1px solid var(--line-soft, #e5dcc7); border-radius: 10px; background: #fff; }
.menu-doc__text { max-height: 70vh; overflow: auto; white-space: pre-wrap; font-size: .95rem; line-height: 1.55; background: #fff; border: 1px solid var(--line-soft, #e5dcc7); border-radius: 10px; padding: 18px; }
.menu-doc__actions .btn--sm { font-size: .8rem; padding: 6px 12px; }
.livetables__load { max-width: 640px; margin: 0 auto; }
.loadbar { height: 14px; border-radius: 999px; background: #e7e0d2; overflow: hidden; box-shadow: inset 0 1px 2px rgba(0,0,0,.08); }
.loadbar span { display: block; height: 100%; width: 0; border-radius: 999px; background: linear-gradient(90deg, #2e7d32, #b8860b 70%, #b3261e); transition: width .8s ease; }
.livetables__loadtext { margin-top: 8px; font-size: .95rem; color: var(--text-dim); text-align: center; }
.livetables__loadtext strong { color: var(--ink); font-size: 1.15em; }
.livetables__loadtext a { white-space: nowrap; }
@media (max-width: 640px) { .loadbar { height: 12px; } }
@media (max-width: 640px) { .livetables__foot { text-align: left; } }

/* ── Section headings ──────────────────────────────────── */
.section__kicker {
  color: var(--gold-strong); text-transform: uppercase; letter-spacing: 0.22em;
  font-size: 0.8rem; font-weight: 600; margin-bottom: 10px;
  display: flex; align-items: center; gap: 12px;
}
.section__kicker::before { content: ""; width: 34px; height: 1px; background: var(--gold); }
.section__kicker.center { justify-content: center; }
.section__kicker.center::after { content: ""; width: 34px; height: 1px; background: var(--gold); }
.section__title {
  font-family: var(--font-serif); font-weight: 500;
  font-size: clamp(1.9rem, 4.4vw, 3rem); line-height: 1.15; text-wrap: balance;
  margin-bottom: 20px;
}
.section__title.center { text-align: center; }
.section__lead { max-width: 640px; margin: 0 auto 34px; color: var(--text-dim); text-align: center; }

/* ── Über uns ──────────────────────────────────────────── */
.about__grid {
  display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 6vw, 72px); align-items: center;
}
.about__media { position: relative; }
.about__media img { border-radius: var(--radius); box-shadow: var(--shadow); }
.about__media::before {
  content: ""; position: absolute; inset: 18px -18px -18px 18px;
  border: 1px solid var(--line-soft); border-radius: var(--radius); z-index: -1;
}
.about__badge {
  position: absolute; left: 20px; bottom: 20px;
  background: rgba(255, 255, 255, 0.92); backdrop-filter: blur(10px);
  border: 1px solid var(--line-soft); border-radius: 14px; padding: 12px 18px;
  box-shadow: var(--shadow-soft);
}
.about__badge strong { color: var(--gold-strong); font-family: var(--font-serif); font-size: 1.15rem; display: block; }
.about__badge span { font-size: 0.8rem; color: var(--text-dim); }
.about__text p { color: var(--text-dim); margin-bottom: 16px; }
.about__text em { color: var(--gold-strong); font-style: italic; }
.about__text strong { color: var(--text); }
.about__sign {
  margin-top: 26px; padding-left: 18px; border-left: 2px solid var(--gold);
  display: grid; gap: 2px;
}
.about__sign span { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.18em; color: var(--text-dim); }
.about__sign strong { font-family: var(--font-display); font-weight: 400; font-size: 1.7rem; color: var(--gold-strong); }
.about__sign em { font-size: 0.85rem; color: var(--text-dim); }

/* ── Räumlichkeiten ────────────────────────────────────── */
.rooms { background: var(--paper-2); }
.rooms__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 26px; }
.room-card {
  background: var(--card); border: 1px solid var(--line-soft); border-radius: var(--radius);
  overflow: hidden; transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.room-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--line); }
.room-card__media { overflow: hidden; aspect-ratio: 3 / 2; }
.room-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.room-card:hover .room-card__media img { transform: scale(1.06); }
.room-card__body { padding: 24px; }
.room-card__body h3 { font-family: var(--font-serif); font-size: 1.45rem; color: var(--gold-strong); margin-bottom: 8px; }
.room-card__body p { font-size: 0.92rem; color: var(--text-dim); }

/* ── Speisekarte ───────────────────────────────────────── */
.menu__tabs {
  display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin: 30px 0 36px;
}
.menu__tab {
  background: transparent; border: 1px solid var(--line); color: var(--text-dim);
  font-family: var(--font-sans); font-size: 0.9rem; font-weight: 500;
  padding: 10px 22px; border-radius: 999px; cursor: pointer;
  transition: all 0.25s ease;
}
.menu__tab:hover { border-color: var(--gold-strong); color: var(--gold-strong); }
.menu__tab.is-active { background: var(--gold); border-color: var(--gold); color: #fff; font-weight: 600; }
.menu__panel { display: none; max-width: 780px; margin-inline: auto; }
.menu__panel.is-active { display: block; animation: panelIn 0.4s ease; }
@keyframes panelIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.menu__item { padding: 18px 4px; border-bottom: 1px dashed rgba(184, 134, 11, 0.3); }
.menu__row { display: flex; align-items: baseline; gap: 12px; }
.menu__row h4 { font-family: var(--font-serif); font-size: 1.2rem; font-weight: 600; color: var(--text); }
.menu__dots { flex: 1; border-bottom: 1px dotted rgba(184, 134, 11, 0.45); transform: translateY(-4px); }
.menu__price { font-weight: 600; color: var(--gold-strong); white-space: nowrap; }
.menu__item p { font-size: 0.86rem; color: var(--text-dim); margin-top: 4px; }
.menu__note { text-align: center; margin-top: 30px; font-size: 0.85rem; color: var(--text-dim); }
.menu__allergen { font-size: 0.72rem; color: var(--text-dim); letter-spacing: .02em; margin-top: 2px; }

/* ── Kaffee & Kuchen ────────────────────────────────── */
.coffee { background: var(--card); border-block: 1px solid var(--line-soft); }
.coffee__grid {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 6vw, 72px); align-items: center;
}
.coffee__text p { color: var(--text-dim); margin-bottom: 16px; }
.coffee__actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 22px; }
.coffee__cards { display: grid; gap: 16px; }
.coffee-card {
  display: grid; grid-template-columns: 56px 1fr; gap: 6px 16px; align-items: center;
  background: var(--paper-2); border: 1px solid var(--line-soft); border-radius: var(--radius);
  padding: 18px 22px; transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.coffee-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-soft); }
.coffee-card__icon {
  grid-row: 1 / 3; font-size: 1.9rem; display: grid; place-items: center;
  width: 56px; height: 56px; background: rgba(201, 154, 46, 0.12); border-radius: 14px;
}
.coffee-card h3 { font-family: var(--font-serif); font-size: 1.2rem; color: var(--gold-strong); }
.coffee-card p { font-size: 0.88rem; color: var(--text-dim); }

/* ── Feiern CTA ────────────────────────────────────────── */
.celebrate { position: relative; overflow: hidden; padding: clamp(90px, 12vw, 150px) 0; }
.celebrate__bg, .celebrate__bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.celebrate::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(253, 251, 245, 0.96) 0%, rgba(253, 251, 245, 0.82) 55%, rgba(253, 251, 245, 0.35) 100%);
}
.celebrate__content { position: relative; z-index: 2; max-width: 640px; }
.celebrate__lead { color: var(--text-dim); margin-bottom: 28px; }
.celebrate__actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ── Galerie ───────────────────────────────────────────── */
.gallery { background: var(--paper-2); }
.gallery__grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px;
  grid-auto-rows: clamp(160px, 24vw, 260px);
}
.gallery__item {
  position: relative; overflow: hidden; border-radius: 14px; display: block;
  border: 1px solid var(--line-soft); box-shadow: var(--shadow-soft);
}
.gallery__item:nth-child(1) { grid-row: span 2; }
/* Kein grid-column:span 2 auf Item 4 mehr — das ließ die letzte Reihe bei
   5 wie auch bei 8 Bildern (Umgebungs-Galerie) mit einem einzelnen,
   frei hängenden Bild enden. Ohne diesen Zwang füllt der normale
   Grid-Auto-Flow beide Galerien lückenlos (Item 1 bleibt als große
   Akzent-Kachel, alle anderen fließen gleichmäßig nach). */
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.gallery__item:hover img { transform: scale(1.07); }
.gallery__zoom {
  position: absolute; inset: 0; display: grid; place-items: center;
  background: rgba(253, 251, 245, 0.25); color: #fff; font-size: 1.6rem;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
  opacity: 0; transition: opacity 0.3s ease;
}
.gallery__item:hover .gallery__zoom { opacity: 1; }

/* Lightbox (bleibt dunkel – Standard für Bildbetrachtung) */
.lightbox {
  position: fixed; inset: 0; z-index: 300; display: grid; place-items: center;
  background: rgba(20, 15, 8, 0.94); backdrop-filter: blur(6px);
}
.lightbox figure { max-width: min(92vw, 1100px); }
.lightbox img { max-height: 82vh; width: auto; max-width: 100%; margin-inline: auto; border-radius: 10px; box-shadow: var(--shadow); }
.lightbox figcaption { text-align: center; margin-top: 12px; color: rgba(255, 255, 255, 0.75); font-size: 0.9rem; }
.lightbox__close {
  position: absolute; top: 22px; right: 26px; background: none; border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff; width: 44px; height: 44px; border-radius: 50%; font-size: 1.1rem; cursor: pointer;
}
.lightbox__close:hover { border-color: var(--gold-light); color: var(--gold-light); }
.lightbox__nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: none; border: 1px solid rgba(255, 255, 255, 0.3); color: #fff;
  width: 48px; height: 48px; border-radius: 50%; font-size: 1.5rem; cursor: pointer;
}
.lightbox__nav:hover { border-color: var(--gold-light); color: var(--gold-light); }
.lightbox__nav--prev { left: 24px; }
.lightbox__nav--next { right: 24px; }

/* ── Öffnungszeiten ────────────────────────────────────── */
.hours__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 72px); }
.hours__list { list-style: none; margin-bottom: 22px; }
.hours__list li {
  display: grid; grid-template-columns: 1fr auto; gap: 2px 16px;
  padding: 14px 4px; border-bottom: 1px solid var(--line-soft);
}
.hours__list li span:first-child { font-family: var(--font-serif); font-size: 1.15rem; color: var(--text); }
.hours__list li span:nth-child(2) { color: var(--gold-strong); font-weight: 600; text-align: right; }
.hours__list li small { grid-column: 1 / -1; color: var(--text-dim); font-size: 0.82rem; }
.hours__list li.is-today { background: rgba(201, 154, 46, 0.1); border-radius: 10px; padding-inline: 12px; }
.hours__list li.is-today span:first-child::after {
  content: "· heute"; font-size: 0.8rem; color: var(--gold-strong); margin-left: 8px;
}
.hours__status {
  display: inline-flex; align-items: center; gap: 10px;
  border: 1px solid var(--line); border-radius: 999px; padding: 10px 18px;
  font-size: 0.9rem; font-weight: 500; background: var(--card);
  box-shadow: var(--shadow-soft);
}
.hours__status .dot { width: 10px; height: 10px; border-radius: 50%; background: #999; box-shadow: 0 0 0 4px rgba(0, 0, 0, 0.05); }
.hours__status.is-open .dot { background: #4caf50; box-shadow: 0 0 10px rgba(76, 175, 80, 0.6); }
.hours__status.is-closed .dot { background: #d05a5a; box-shadow: 0 0 0 4px rgba(208, 90, 90, 0.12); }
.hours__address { font-style: normal; color: var(--text-dim); margin-bottom: 16px; }
.hours__address strong { color: var(--text); }
.contact-link { font-size: 1.02rem; }
.hours__hint { font-size: 0.85rem; color: var(--text-dim); margin: 14px 0 18px; }
.hours__badges { display: flex; gap: 10px; flex-wrap: wrap; }
.badge {
  border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px;
  font-size: 0.8rem; color: var(--gold-strong); background: rgba(201, 154, 46, 0.08);
}

/* ── Kontakt / Formular ────────────────────────────────── */
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 72px); align-items: start; }
.contact__info > p { color: var(--text-dim); margin-bottom: 22px; }
.contact__map {
  border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line-soft);
  margin-bottom: 22px; box-shadow: var(--shadow-soft); position: relative; min-height: 300px;
}
.contact__map iframe { width: 100%; height: 300px; border: 0; display: block; }
.contact__cta { display: flex; gap: 14px; flex-wrap: wrap; }

.contact__form {
  background: var(--card); border: 1px solid var(--line-soft); border-radius: var(--radius);
  padding: clamp(24px, 4vw, 38px); box-shadow: var(--shadow-soft);
}
.contact__form h3 { font-family: var(--font-serif); font-size: 1.6rem; color: var(--gold-strong); margin-bottom: 6px; }
.form__hint { font-size: 0.84rem; color: var(--text-dim); margin-bottom: 22px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form__row--3 { grid-template-columns: 1fr 1fr 1fr; }
.contact__form label { display: grid; gap: 6px; font-size: 0.82rem; font-weight: 500; color: var(--text-dim); margin-bottom: 16px; }
.contact__form input, .contact__form textarea {
  background: #fff; border: 1px solid rgba(184, 134, 11, 0.3); border-radius: 10px;
  color: var(--text); font-family: var(--font-sans); font-size: 0.95rem; padding: 12px 14px;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.contact__form input::placeholder, .contact__form textarea::placeholder { color: #b3a68e; }
.contact__form input:focus, .contact__form textarea:focus {
  outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201, 154, 46, 0.2);
}
.contact__form input[required]:user-invalid, .contact__form textarea:invalid { border-color: rgba(208, 90, 90, 0.6); }
.check { display: flex !important; gap: 10px; align-items: flex-start; font-size: 0.8rem !important; }
.check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--gold); }
.form__status { font-size: 0.88rem; min-height: 1.4em; margin-bottom: 12px; }
.form__status.is-ok { color: #3d8b40; }
.form__status.is-error { color: #c0504d; }

/* ── Footer ────────────────────────────────────────────── */
.footer { background: var(--paper-2); border-top: 1px solid var(--line-soft); padding-top: 56px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; padding-bottom: 40px; }
.footer__brand img { width: 150px; margin-bottom: 14px; }
.footer__brand p { color: var(--text-dim); font-size: 0.9rem; }
.footer h4 { font-family: var(--font-serif); color: var(--gold-strong); font-size: 1.05rem; margin-bottom: 14px; font-weight: 600; }
.footer__nav { display: grid; gap: 8px; align-content: start; }
.footer__nav a, .footer__contact a { color: var(--text-dim); font-size: 0.9rem; }
.footer__nav a:hover, .footer__contact a:hover { color: var(--gold-strong); }
.footer__contact { display: grid; gap: 8px; align-content: start; }
.footer__contact p { color: var(--text-dim); font-size: 0.88rem; margin-top: 4px; }
.footer__legal { display: grid; gap: 8px; align-content: start; }
.footer__bar {
  border-top: 1px solid var(--line-soft);
  padding: 18px 0; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
}
.footer__bar p { font-size: 0.8rem; color: var(--text-dim); }
.footer__bar em { color: var(--gold-strong); }

/* ── Cookie-Banner ─────────────────────────────────────── */
#cookieBanner {
  position: fixed; left: 20px; right: 20px; bottom: 20px; z-index: 250;
  max-width: 520px; margin-inline: auto;
  background: rgba(255, 255, 255, 0.97); backdrop-filter: blur(14px);
  border: 1px solid var(--line-soft); border-radius: var(--radius);
  padding: 20px 22px; box-shadow: var(--shadow);
  opacity: 0; transform: translateY(24px); transition: opacity 0.4s ease, transform 0.4s ease;
}
#cookieBanner.is-visible { opacity: 1; transform: none; }
#cookieBanner p { font-size: 0.86rem; color: var(--text-dim); margin-bottom: 14px; }
.cookie__actions { display: flex; gap: 10px; flex-wrap: wrap; }
.cookie__actions .btn { padding: 10px 20px; font-size: 0.85rem; }

/* ── Map-Consent-Platzhalter ────────────────────────── */
.map-consent {
  position: absolute; inset: 0; display: grid; place-content: center; gap: 12px;
  text-align: center; padding: 20px;
  background: linear-gradient(160deg, var(--paper-2), var(--paper));
}
.map-consent p { font-size: 0.9rem; color: var(--text-dim); }

/* ── Reveal-Animation ──────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s ease; transition-delay: var(--d, 0s); }
.reveal.is-visible { opacity: 1; transform: none; }

/* ── Responsive ────────────────────────────────────────── */
@media (max-width: 1024px) {
  .usp__grid { grid-template-columns: repeat(4, 1fr); }
  .rooms__grid { grid-template-columns: 1fr; max-width: 640px; margin-inline: auto; }
  .gallery__grid { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  :root { --header-h: 72px; }
  .nav__phone { display: none; }
  .nav__toggle { display: flex; }
  .nav__links {
    position: fixed; top: 0; right: 0; bottom: 0; width: min(78vw, 340px);
    background: rgba(253, 251, 245, 0.98); backdrop-filter: blur(16px);
    flex-direction: column; padding: calc(var(--header-h) + 30px) 30px 30px; gap: 8px;
    transform: translateX(100%); transition: transform 0.35s ease;
    border-left: 1px solid var(--line-soft); margin-left: 0;
  }
  .nav__links .nav__link, .nav__links .nav__link--cta { color: var(--text); text-shadow: none; }
  .nav__links .nav__link:hover { color: var(--gold-strong); background: rgba(201, 154, 46, 0.1); }
  .nav__links.is-open { transform: none; }
  .nav__link { font-size: 1.05rem; padding: 12px 16px; }
  .about__grid, .hours__grid, .contact__grid, .coffee__grid { grid-template-columns: 1fr; }
  .about__media { max-width: 560px; }
  .form__row, .form__row--3 { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .usp__grid { grid-template-columns: repeat(2, 1fr); }
  .gallery__grid { grid-template-columns: 1fr; grid-auto-rows: 220px; }
  .gallery__item:nth-child(1), .gallery__item:nth-child(4) { grid-row: auto; grid-column: auto; }
  .footer__grid { grid-template-columns: 1fr; }
  .hero__actions .btn { width: 100%; }
}

/* ── Reduced motion ────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}
