/* The menu's palette and proportions can be adjusted here. */
:root {
  --menu-paper: #e9e1d4;
  --menu-ink: #493a2c;
  --menu-accent: #8e7356;
  --menu-width: 620px;
  --menu-edge: clamp(18px, 3vw, 42px);
}
body.has-site-menu { overflow: hidden; }
.site-logo {
  position: fixed;
  z-index: 29;
  top: max(17px, env(safe-area-inset-top));
  left: var(--menu-edge);
  width: clamp(96px, 10.5vw, 142px);
  aspect-ratio: 1;
  opacity: var(--logo-presence, 0);
  visibility: hidden;
  transform: translateY(calc((1 - var(--logo-presence, 0)) * 9px));
  -webkit-tap-highlight-color: transparent;
}
.site-logo img { display: block; width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 0 1px rgb(255 246 226 / 85%)) drop-shadow(0 2px 7px rgb(255 246 226 / 35%)); }
.site-logo:focus-visible { outline: 2px solid var(--menu-accent); outline-offset: 5px; border-radius: 3px; }
.menu-toggle {
  position: fixed;
  z-index: 30;
  top: max(22px, env(safe-area-inset-top));
  right: var(--menu-edge);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-width: 122px;
  height: 58px;
  padding: 0 20px;
  border: 1px solid rgb(233 225 212 / 25%);
  border-radius: 9px;
  background: rgb(28 27 24 / 83%);
  color: #f3ece2;
  backdrop-filter: blur(12px);
  cursor: pointer;
  transition: background .25s, border-color .25s;
}
.menu-toggle:hover { background: #322b24; border-color: #b89a73; }
.menu-toggle-label { font-size: 10px; font-family: inherit; font-weight: 500; line-height: 1; letter-spacing: .18em; text-transform: uppercase; }
#schlafzimmer, #badezimmer { scroll-margin-top: 110px; }
.menu-bars { display: grid; gap: 6px; width: 27px; }
.menu-bars span { height: 1px; width: 27px; background: currentColor; transition: transform .25s; }
.menu-toggle:hover .menu-bars span:nth-child(2) { transform: translateX(-4px); }
.menu-toggle:focus-visible, .site-menu a:focus-visible, .menu-close:focus-visible { outline: 2px solid var(--menu-accent); outline-offset: 5px; }
.site-menu {
  position: fixed;
  inset: 0 0 0 auto;
  width: min(var(--menu-width), 58vw);
  height: 100vh;
  height: 100dvh;
  max-width: 100%;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  color: var(--menu-ink);
  background: var(--menu-paper);
  overflow-y: auto;
  overscroll-behavior: contain;
  box-shadow: -24px 0 80px rgb(0 0 0 / 14%);
}
.site-menu[open] { animation: menu-arrive .5s cubic-bezier(.22, .8, .22, 1) both; }
.site-menu::backdrop { background: rgb(9 10 9 / 47%); animation: menu-dim .5s ease both; }
.site-menu.is-closing { animation: menu-leave .24s ease both; pointer-events: none; }
.site-menu.is-closing::backdrop { animation: menu-undim .24s ease both; }
.menu-sheet { display: flex; flex-direction: column; min-height: 100%; padding: 27px clamp(32px, 5vw, 68px) 29px; }
.menu-header { display: flex; justify-content: space-between; align-items: flex-start; padding-right: 60px; margin-bottom: 25px; }
.menu-header h2 { font: 400 54px/1 "Allura", "Snell Roundhand", cursive; margin: 0; }
.menu-header p { margin: 7px 0 0 6px; font-size: 9px; letter-spacing: .26em; text-transform: uppercase; }
.menu-close { position: absolute; top: 22px; right: var(--menu-edge); width: 58px; height: 58px; border: 1px solid rgb(73 58 44 / 22%); border-radius: 9px; color: inherit; background: transparent; cursor: pointer; transition: background .2s; }
.menu-close:hover { background: rgb(73 58 44 / 7%); }
.menu-close span::before, .menu-close span::after { content: ""; position: absolute; width: 25px; height: 1px; background: currentColor; left: 16px; top: 28px; transform: rotate(45deg); }
.menu-close span::after { transform: rotate(-45deg); }
.menu-navigation { margin: auto 0; padding: 2px 0 25px; }
.menu-eyebrow { margin: 0 0 13px; color: var(--menu-accent); font-size: 9px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; }
.menu-links { list-style: none; padding: 0; margin: 0; }
.menu-links > li { border-bottom: 1px solid rgb(73 58 44 / 13%); }
.menu-links > li > a { display: grid; grid-template-columns: 28px 1fr 22px; align-items: center; gap: 11px; min-height: 65px; color: inherit; text-decoration: none; font: 400 clamp(35px, 3.5vw, 46px)/1.2 "Allura", "Snell Roundhand", cursive; transition: color .2s; }
.menu-number { color: var(--menu-accent); font: 400 10px/1 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; letter-spacing: .08em; }
.menu-arrow { font: 300 21px/1 sans-serif; color: var(--menu-accent); transition: transform .25s; }
.menu-links > li > a:hover { color: var(--menu-accent); }
.menu-links > li > a:hover .menu-arrow { transform: translate(3px, -3px); }
.menu-sub-links { display: flex; flex-wrap: wrap; column-gap: 22px; margin: -3px 0 11px 39px; }
.menu-sub-links a { display: inline-flex; align-items: center; min-height: 30px; color: var(--menu-ink); text-underline-offset: 5px; text-decoration-color: rgb(73 58 44 / 25%); font-size: 11px; }
.menu-sub-links a:hover { text-decoration-color: currentColor; }
.menu-booking { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 63px; margin-top: 23px; padding: 9px 26px; border-radius: 7px; background: #292621; color: #f5eee5; text-decoration: none; font: 400 36px/1.1 "Allura", "Snell Roundhand", cursive; transition: background .25s; }
.menu-booking:hover { background: #493a2c; }
.menu-booking > span:last-child { font: 300 25px/1 sans-serif; }
.menu-contact { border-top: 1px solid rgb(73 58 44 / 20%); padding-top: 17px; }
.menu-contact p { margin: 0 0 6px; font: 400 26px/1.15 "Allura", "Snell Roundhand", cursive; }
.menu-contact a { display: inline-block; padding: 6px 0; color: inherit; font-size: 12px; line-height: 1.4; text-decoration: none; text-underline-offset: 4px; }
.menu-contact a:hover { text-decoration: underline; }
.menu-contact > div { display: flex; flex-wrap: wrap; column-gap: 23px; }
@keyframes menu-arrive { from { opacity: 0; transform: translateX(8%); } to { opacity: 1; transform: translateX(0); } }
@keyframes menu-leave { to { opacity: 0; transform: translateX(5%); } }
@keyframes menu-dim { from { background: rgb(9 10 9 / 0%); } to { background: rgb(9 10 9 / 47%); } }
@keyframes menu-undim { to { background: rgb(9 10 9 / 0%); } }
@media (max-width: 700px) {
  .site-menu { width: 100%; }
  .menu-toggle { min-width: 58px; width: 58px; padding: 0; }
  .menu-toggle-label { display: none; }
  .menu-sheet { padding: 28px 30px max(25px, env(safe-area-inset-bottom)); }
  .menu-header { margin-bottom: 32px; }
  .menu-header h2 { font-size: 48px; white-space: nowrap; }
  .menu-links > li > a { grid-template-columns: 24px minmax(0, 1fr) 20px; gap: 9px; font-size: clamp(34px, 10.5vw, 41px); min-height: 66px; }
  .menu-contact a { min-height: 34px; }
  #schlafzimmer, #badezimmer { scroll-margin-top: 95px; }
}
@media (prefers-reduced-motion: reduce) {
  .site-menu[open], .site-menu::backdrop, .site-menu.is-closing { animation: none; }
  .site-logo { transform: none; }
  .site-menu *, .menu-toggle, .menu-bars span { transition: none !important; }
}

.menu-contact .menu-legal { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 20px; }
.menu-contact .menu-legal a { font-size: 11px; text-underline-offset: 3px; }
