/* ==========================================================
   Café Calma – Stylesheet
   Farben aus dem Logo: Sand (Sonnenscheibe), Grün (Tasse),
   Papier (Hintergrund), Espresso (Schrift / Footer)
   ========================================================== */

@font-face {
  font-family: "Fraunces";
  src: url("../fonts/calma/fraunces-latin-full-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("../fonts/calma/fraunces-latin-full-italic.woff2") format("woff2");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Figtree";
  src: url("../fonts/calma/figtree-latin-wght-normal.woff2") format("woff2");
  font-weight: 300 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --paper: #fbf8f3;
  --paper-2: #f4ece0;
  --sand: #cfaf85;
  --sand-light: #ecdcc2;
  --green: #435e49;
  --green-dark: #33493a;
  --espresso: #3f271e;
  --ink: #2b1d16;
  --muted: #6e5d52;
  --line: #e4d8c7;

  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;

  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(72px, 10vw, 128px);
  --radius: 14px;
}

/* ---------- Basis ---------- */
[hidden] {
  display: none !important;
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: var(--green);
}
a:hover {
  color: var(--green-dark);
}
:focus-visible {
  outline: 3px solid var(--sand);
  outline-offset: 3px;
  border-radius: 4px;
}
h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-variation-settings: "SOFT" 100, "WONK" 0;
  line-height: 1.1;
  margin: 0;
  color: var(--ink);
}
p {
  margin: 0 0 1em;
}
figure {
  margin: 0;
}
.wrap {
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  background: var(--green);
  color: #fff;
  padding: 10px 16px;
  border-radius: 8px;
}
.skip-link:focus {
  top: 12px;
}

.section {
  padding-block: var(--section);
}
.section-title {
  font-size: clamp(2rem, 4.2vw, 3.1rem);
  font-variation-settings: "SOFT" 100, "WONK" 0, "opsz" 72;
  letter-spacing: -0.01em;
  margin-bottom: 0.6em;
  max-width: 18ch;
}
.section-title--center {
  text-align: center;
  margin-inline: auto;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  padding: 0.85em 1.5em;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.98rem;
  text-decoration: none;
  border: 1.5px solid transparent;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}
.btn--primary {
  background: var(--green);
  color: #fff;
}
.btn--primary:hover {
  background: var(--green-dark);
  color: #fff;
}
.btn--ghost {
  border-color: var(--ink);
  color: var(--ink);
}
.btn--ghost:hover {
  background: var(--ink);
  color: var(--paper);
}

/* ---------- Header ---------- */
.topbar {
  background: var(--espresso);
  color: #f1e6d8;
  font-size: 0.85rem;
}
.topbar__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 38px;
  gap: 16px;
}
.topbar a {
  color: inherit;
  text-decoration: none;
}
.topbar a:hover {
  color: var(--sand);
}
.topbar i {
  color: var(--sand);
  margin-right: 6px;
}
.topbar__right {
  display: flex;
  gap: 18px;
  align-items: center;
}
.topbar__right i {
  margin: 0;
  font-size: 1rem;
}

.navbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 248, 243, 0.92);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}
.site-header {
  display: contents;
}
.navbar.is-scrolled {
  border-bottom-color: var(--line);
}
.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ink);
}
.brand img {
  width: 48px;
  height: 48px;
}
.brand__name {
  font-family: var(--serif);
  font-size: 1.55rem;
  font-weight: 600;
  line-height: 1;
  font-variation-settings: "SOFT" 100;
}
.brand__name small {
  display: block;
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--muted);
  margin-top: 4px;
  letter-spacing: 0.02em;
}
.brand:hover {
  color: var(--ink);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.4vw, 34px);
}
.main-nav a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}
.main-nav a:hover,
.main-nav a.is-active {
  border-bottom-color: var(--sand);
}
.main-nav .main-nav__cta {
  background: var(--green);
  color: #fff;
  padding: 0.55em 1.2em;
  border-radius: 999px;
  border: 0;
}
.main-nav .main-nav__cta:hover {
  background: var(--green-dark);
  color: #fff;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: none;
  cursor: pointer;
  position: relative;
}
.nav-toggle__bars,
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  position: absolute;
  left: 11px;
  width: 22px;
  height: 2px;
  background: var(--ink);
  transition: transform 0.25s, opacity 0.2s;
  content: "";
}
.nav-toggle__bars {
  top: 21px;
}
.nav-toggle__bars::before {
  left: 0;
  top: -7px;
}
.nav-toggle__bars::after {
  left: 0;
  top: 7px;
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bars {
  background: transparent;
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after {
  transform: translateY(-7px) rotate(-45deg);
}

.topbar__left {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 22px;
}
.topbar__notice {
  color: #fff;
  font-weight: 600;
}

/* Ferien-Hinweis (verschwindet automatisch nach dem Datum in data-until) */
.closure {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  margin: 12px 0 0;
  padding: 7px 12px;
  border-radius: 8px;
  background: var(--sand-light);
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.4;
}
.closure i {
  color: var(--green);
}
.closure--dark {
  margin-top: 16px;
  background: rgba(207, 175, 133, 0.18);
  color: #fff;
}
.closure--dark i {
  color: var(--sand);
}

/* ---------- Hero ---------- */
.hero {
  padding-top: clamp(32px, 6vw, 72px);
  overflow: hidden;
}
.hero__inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
}
.hero__kicker {
  font-weight: 600;
  color: var(--green);
  margin-bottom: 1.1em;
}
.hero h1 {
  font-size: clamp(2.7rem, 6.4vw, 5.2rem);
  font-weight: 400;
  font-variation-settings: "SOFT" 100, "WONK" 1, "opsz" 144;
  letter-spacing: -0.02em;
  line-height: 1.02;
  margin-bottom: 0.45em;
}
.hero__lead {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 46ch;
  margin-bottom: 2em;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Sonnenscheibe aus dem Logo – das wiederkehrende Motiv */
.hero__visual {
  position: relative;
  padding: 6% 0 0 10%;
}
.sun {
  position: absolute;
  left: -4%;
  top: 0;
  width: 78%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: repeating-linear-gradient(
    to bottom,
    var(--sand) 0 26px,
    var(--sand-light) 26px 32px
  );
}
.arch {
  position: relative;
  overflow: hidden;
  border-radius: 999px 999px var(--radius) var(--radius);
  background: var(--paper-2);
}
.arch img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.arch--hero {
  aspect-ratio: 4 / 5;
  max-width: 460px;
  margin-left: auto;
  box-shadow: 0 30px 60px -30px rgba(63, 39, 30, 0.45);
}
.arch--hero img {
  object-position: 30% center;
}

.facts {
  list-style: none;
  padding-inline: 0;
  margin-top: clamp(48px, 7vw, 88px);
  margin-bottom: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding-block: 0;
}
.facts li {
  padding: 26px 24px 26px 0;
}
.facts li + li {
  padding-left: 24px;
  border-left: 1px solid var(--line);
}
.facts strong {
  display: block;
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.2rem;
  margin-bottom: 4px;
}
.facts span {
  color: var(--muted);
  font-size: 0.98rem;
}

/* Lade-Animation: nur der Hero, einmalig */
@media (prefers-reduced-motion: no-preference) {
  .hero__text > * {
    animation: rise 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) both;
  }
  .hero__text > :nth-child(2) {
    animation-delay: 0.08s;
  }
  .hero__text > :nth-child(3) {
    animation-delay: 0.16s;
  }
  .hero__text > :nth-child(4) {
    animation-delay: 0.24s;
  }
  .sun {
    animation: sunrise 1.4s cubic-bezier(0.2, 0.7, 0.2, 1) both;
  }
  .arch--hero {
    animation: rise 1s 0.15s cubic-bezier(0.2, 0.7, 0.2, 1) both;
  }
}
@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
}
@keyframes sunrise {
  from {
    opacity: 0;
    transform: translateY(14%);
  }
}

/* ---------- Über uns ---------- */
.about__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 88px);
  align-items: center;
}
.about__photo img {
  border-radius: var(--radius);
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 45% center;
  width: 100%;
}
.about__text p {
  color: var(--muted);
  max-width: 60ch;
}
.signature {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.45rem;
  color: var(--ink) !important;
  margin-top: 1.4em;
}

/* ---------- Angebot ---------- */
.offer {
  background: var(--paper-2);
}
.offer .section-title {
  margin-bottom: 1.4em;
}
.offer__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 3vw, 40px);
}
.offer__item {
  text-decoration: none;
  color: var(--ink);
  display: block;
}
.offer__item .arch {
  aspect-ratio: 3 / 4;
  margin-bottom: 22px;
}
.offer__item img {
  transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.offer__item:hover img {
  transform: scale(1.04);
}
.offer__item h3 {
  font-size: 1.6rem;
  margin-bottom: 0.35em;
}
.offer__item p {
  color: var(--muted);
  margin: 0;
}
.offer__item:hover h3 {
  color: var(--green);
}

/* ---------- Menü ---------- */
.menu__head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: end;
  margin-bottom: clamp(32px, 5vw, 56px);
}
.menu__head .section-title {
  margin: 0;
}
.menu__head p {
  color: var(--muted);
  margin: 0;
  max-width: 44ch;
}
.menu__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 72px) clamp(32px, 6vw, 96px);
}
.menu__group h3 {
  font-size: 1.55rem;
  padding-bottom: 12px;
  margin-bottom: 8px;
  border-bottom: 2px solid var(--ink);
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
}
.menu__sizes {
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--muted);
}
.menu__group dl {
  margin: 0;
}
.menu__group dl > div {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
}
.menu__group dt {
  flex: 1;
  font-weight: 500;
}
.menu__group dt small {
  display: block;
  font-size: 0.86rem;
  font-weight: 400;
  color: var(--muted);
  margin-top: 2px;
}
.menu__group dd {
  margin: 0;
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  color: var(--green);
  white-space: nowrap;
}
.menu__note {
  margin-top: 28px;
  font-size: 0.9rem;
  color: var(--muted);
}

/* ---------- Secondhand ---------- */
.secondhand {
  background: var(--green);
  color: #eef2ec;
}
.secondhand .section-title {
  color: #fff;
}
.secondhand__inner {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
}
.secondhand__text p {
  color: #dbe4dc;
  max-width: 48ch;
}
.tags {
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.tags li {
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 0.92rem;
}
.mosaic {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 150px;
  gap: 10px;
}
.mosaic__item {
  display: block;
  overflow: hidden;
  border-radius: 10px;
  background: var(--green-dark);
}
.mosaic__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.mosaic__item:hover img {
  transform: scale(1.05);
}
.mosaic {
  grid-template-areas:
    "a b c"
    "a f d"
    "e e d";
  grid-auto-rows: 160px;
}
.mosaic__item:nth-child(1) { grid-area: a; border-top-left-radius: 999px; border-top-right-radius: 999px; }
.mosaic__item:nth-child(2) { grid-area: b; }
.mosaic__item:nth-child(3) { grid-area: c; }
.mosaic__item:nth-child(4) { grid-area: d; }
.mosaic__item:nth-child(5) { grid-area: e; }
.mosaic__item:nth-child(6) { grid-area: f; }

/* ---------- Galerie ---------- */
.gallery {
  padding-bottom: calc(var(--section) * 0.6);
}
.strip {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  --edge: max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter)));
  padding: 4px var(--edge) 20px;
  scroll-padding-inline: var(--edge);
  scrollbar-width: thin;
  scrollbar-color: var(--sand) transparent;
}
.strip a {
  flex: 0 0 auto;
  scroll-snap-align: start;
  border-radius: 10px;
  overflow: hidden;
}
.strip img {
  height: clamp(240px, 32vw, 380px);
  width: auto;
  object-fit: cover;
}

/* ---------- Events ---------- */
.events {
  padding-top: calc(var(--section) * 0.6);
}
.events__head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: end;
  margin-bottom: clamp(32px, 5vw, 56px);
  border-top: 1px solid var(--line);
  padding-top: calc(var(--section) * 0.6);
}
.events__head .section-title {
  margin: 0;
}
.events__head p {
  color: var(--muted);
  margin: 0;
  max-width: 44ch;
}
.events__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 3vw, 36px);
}
.event-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--ink);
}
.event-card__img {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--radius);
  margin-bottom: 18px;
  background: var(--paper-2);
}
.event-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.event-card:hover .event-card__img img {
  transform: scale(1.04);
}
.event-card time {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--green);
}
.event-card h3 {
  font-size: 1.45rem;
  margin: 6px 0 10px;
}
.event-card p {
  color: var(--muted);
  font-size: 0.98rem;
  margin-bottom: 14px;
}
.event-card__more {
  margin-top: auto;
  font-weight: 600;
  color: var(--green);
  text-decoration: underline;
  text-decoration-color: var(--sand);
  text-underline-offset: 4px;
}
.event-card:hover h3 {
  color: var(--green);
}
.events__empty {
  color: var(--muted);
}

/* ---------- Event-Detailseite ---------- */
.article {
  max-width: 760px;
  margin-inline: auto;
  padding: clamp(40px, 7vw, 88px) var(--gutter) var(--section);
}
.article__back {
  display: inline-block;
  font-weight: 600;
  text-decoration: none;
  margin-bottom: 28px;
}
.article time {
  display: block;
  font-weight: 600;
  color: var(--green);
  margin-bottom: 10px;
}
.article h1 {
  font-size: clamp(2.2rem, 5.4vw, 3.6rem);
  font-variation-settings: "SOFT" 100, "WONK" 1, "opsz" 144;
  font-weight: 400;
  letter-spacing: -0.015em;
  margin-bottom: 32px;
}
.article__img {
  margin: 0 calc(var(--gutter) * -1) 36px;
}
.article__img img {
  width: 100%;
  max-height: 560px;
  object-fit: cover;
  border-radius: var(--radius);
}
.article p {
  font-size: 1.1rem;
  color: #4a3b32;
  max-width: 64ch;
}
.article__foot {
  margin-top: 48px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--espresso);
  color: #e9dccb;
  padding-top: var(--section);
}
.footer__inner {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr;
  gap: 40px 48px;
}
.footer__intro img {
  width: 72px;
  height: 72px;
  margin-bottom: 20px;
}
.footer__intro h2 {
  color: #fff;
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin-bottom: 0.4em;
}
.footer__intro p {
  color: #cdbba6;
}
.site-footer h3 {
  color: var(--sand);
  font-size: 1.25rem;
  margin-bottom: 16px;
}
.hours {
  margin: 0;
}
.hours div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.hours dd {
  margin: 0;
  font-variant-numeric: tabular-nums;
}
.hours div:last-child {
  border-bottom: 0;
}
.site-footer address {
  font-style: normal;
  line-height: 1.8;
}
.site-footer a {
  color: #fff;
  text-decoration-color: var(--sand);
  text-underline-offset: 3px;
}
.site-footer a:hover {
  color: var(--sand);
}
.footer__insta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  text-decoration: none;
}
.footer__map {
  grid-column: 1 / -1;
  border-radius: var(--radius);
  overflow: hidden;
  height: 300px;
  margin-top: 8px;
}
.footer__map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  filter: sepia(0.25) saturate(0.85);
}
.footer__bottom {
  margin-top: 56px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.88rem;
  color: #bca992;
}
.footer__bottom-inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 24px;
  padding-block: 22px;
}
.footer__bottom a {
  color: #e9dccb;
}

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(30, 20, 15, 0.94);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 56px 64px;
}
.lightbox[hidden] {
  display: none;
}
.lightbox__img {
  max-width: 100%;
  max-height: 100%;
  border-radius: 8px;
  object-fit: contain;
}
.lightbox__caption {
  position: absolute;
  bottom: 16px;
  left: 0;
  right: 0;
  text-align: center;
  color: #e9dccb;
  font-size: 0.92rem;
  margin: 0;
  padding-inline: 16px;
}
.lightbox button {
  position: absolute;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border: 0;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}
.lightbox button:hover {
  background: rgba(255, 255, 255, 0.22);
}
.lightbox__close {
  top: 14px;
  right: 14px;
}
.lightbox__nav--prev {
  left: 12px;
}
.lightbox__nav--next {
  right: 12px;
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero__inner,
  .about__inner,
  .secondhand__inner {
    grid-template-columns: 1fr;
  }
  .hero__visual {
    max-width: 440px;
    width: 100%;
    margin-inline: auto;
  }
  .arch--hero {
    margin-inline: auto;
  }
  .about__photo img {
    aspect-ratio: 4 / 3;
  }
  .offer__grid,
  .events__grid {
    grid-template-columns: 1fr 1fr;
  }
  .menu__head,
  .events__head {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .footer__inner {
    grid-template-columns: 1fr 1fr;
  }
  .footer__intro {
    grid-column: 1 / -1;
  }
}

@media (max-width: 820px) {
  .nav-toggle {
    display: block;
  }
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: 8px var(--gutter) 20px;
    display: none;
  }
  .main-nav.is-open {
    display: flex;
  }
  .main-nav a {
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
    font-size: 1.1rem;
  }
  .main-nav .main-nav__cta {
    margin-top: 16px;
    text-align: center;
    padding: 0.8em;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 1rem;
  }
  .topbar__inner > span:first-child {
    font-size: 0.8rem;
  }
  .topbar__right a[href^="tel"] {
    display: none;
  }
  .topbar__inner {
    padding-block: 6px;
  }
  .facts {
    grid-template-columns: 1fr;
  }
  .facts li,
  .facts li + li {
    padding: 18px 0;
    border-left: 0;
  }
  .facts li + li {
    border-top: 1px solid var(--line);
  }
  .offer__grid,
  .events__grid,
  .menu__grid {
    grid-template-columns: 1fr;
  }
  .offer__item .arch {
    aspect-ratio: 4 / 3;
    border-radius: 200px 200px var(--radius) var(--radius);
  }
  .mosaic {
    grid-auto-rows: 110px;
    gap: 8px;
  }
  .footer__inner {
    grid-template-columns: 1fr;
  }
  .footer__map {
    height: 240px;
  }
  .lightbox {
    padding: 56px 8px;
  }
  .lightbox__nav {
    bottom: 48px;
    top: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    transition: none !important;
  }
}
