/* Scoped additions; boutique fonts, colors, photos and normal layout are retained. */
.lh1707-staging .staging-notice {
  margin: 0; padding: .45rem 1rem; background: #faf7f0; color: #1f2a24;
  font: 400 .875rem/1.45 "Inter", sans-serif; text-align: center;
}
.lh1707-staging .staging-review-note { margin-block: 1rem; padding: 1rem; border-left: 3px solid #69452d; background: var(--bg-soft); color: var(--text-main); }
.lh1707-staging .relaunch-breadcrumbs { padding-block: 1rem; }
.lh1707-staging .relaunch-breadcrumbs ol { display: flex; flex-wrap: wrap; gap: .5rem 1rem; list-style: none; margin: 0; padding: 0; }
.lh1707-staging .relaunch-breadcrumbs li + li::before { content: "/"; margin-right: 1rem; }
.lh1707-staging .relaunch-breadcrumbs a { display: inline-flex; align-items: center; min-height: 44px; }
.lh1707-staging [data-staging-disabled="true"] { cursor: not-allowed; }
.lh1707-staging :is(a, button, summary):focus-visible { outline: 3px solid var(--btn-primary-hover, #69452d); outline-offset: 4px; }
.lh1707-staging .legal-content { overflow-wrap: anywhere; }
.lh1707-staging .footer-links a,
.lh1707-staging .faq-accordion a,
.lh1707-staging .hero-meta a { overflow-wrap: anywhere; }
.lh1707-staging #cmplz-document a { color: #69452d; text-decoration: underline; text-underline-offset: .18em; }
body.lh1707-staging.menu-open .mobile-sticky-cta { visibility: hidden; }
@media (max-width: 640px) {
  .lh1707-staging main :is(h1,h2,h3,h4) { overflow-wrap: anywhere; }
  .lh1707-staging .hero-grid > *, .lh1707-staging .room-unit-content, .lh1707-staging .room-showcase-content { min-width: 0; }
  .lh1707-staging .btn { min-width: 0; min-height: 48px; max-width: 100%; white-space: normal; overflow-wrap: anywhere; }
  .lh1707-staging .mobile-sticky-cta .btn { min-width: 0; line-height: 1.35; white-space: normal; padding: 10px 12px; }
  body.lh1707-staging.has-hotel-header { padding-bottom: calc(100px + 2rem); }
}

/* Landhotel staging header: 1417px content + 40px gutters + 79px reserve.
   Keep the shared 1024px fixed-header/offset contract; only navigation changes.
   The body scope excludes both the other hotels and the Landgasthof pilot. */
.lh1707-staging .hotel-header-top {
  width: min(1480px, calc(100% - 40px));
}
.lh1707-staging .hotel-nav {
  flex-wrap: nowrap;
}
@media (min-width: 96rem) {
  .lh1707-staging .hotel-nav a { white-space: nowrap; }
}
@media (min-width: 1024px) and (width < 96rem) {
  .lh1707-staging .hotel-mobile-toggle {
    display: inline-flex;
    justify-self: auto;
  }
  .lh1707-staging .hotel-nav.desktop-nav {
    position: absolute;
    left: 20px;
    right: 20px;
    top: calc(100% + 8px);
    z-index: 140;
    background: var(--bg-surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    padding: 16px;
    display: none !important;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    max-height: calc(100dvh - var(--hotel-header-height) - var(--hotel-adminbar-offset) - 24px);
    overflow-y: auto;
    overscroll-behavior: contain;
  }
  .lh1707-staging .hotel-nav.desktop-nav.is-open {
    display: flex !important;
  }
}

/* The positioned grid wrapper is the menu's containing block. JS measures
   the toggle against this wrapper, including dynamic HFE/header heights. */
.lh1707-staging .hotel-header-top { position: relative; }
.lh1707-staging .hotel-mobile-toggle:focus-visible {
  outline: 3px solid #69452d;
  outline-offset: 4px;
}
@media (width < 96rem) {
  .lh1707-staging .hotel-header-top .hotel-nav.desktop-nav {
    position: absolute;
    justify-self: end;
    left: auto;
    right: var(--lh-menu-right, 0px);
    top: var(--lh-menu-top, 100%);
    width: min(360px, calc(100vw - 40px), var(--lh-menu-width, 360px));
    max-height: var(--lh-menu-height, calc(100dvh - 160px));
    display: flex !important;
    flex-direction: column;
    align-items: stretch;
    flex-wrap: nowrap;
    gap: 2px;
    padding: 12px;
    background: var(--bg-page);
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: 0 14px 36px rgba(42, 36, 33, .12);
    overflow-y: auto;
    overscroll-behavior: contain;
    opacity: 0;
    transform: translateY(-10px);
    visibility: hidden;
    pointer-events: none;
    transition: opacity 200ms ease-out, transform 200ms ease-out, visibility 0s linear 200ms;
  }
  .lh1707-staging .hotel-header-top .hotel-nav.desktop-nav.is-open {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
    pointer-events: auto;
    transition-delay: 0s;
  }
  .lh1707-staging .hotel-nav a {
    display: flex;
    align-items: center;
    width: 100%;
    min-width: 0;
    min-height: 44px;
    padding: 8px 12px;
    white-space: normal;
    overflow-wrap: anywhere;
    border-radius: 6px;
  }
  .lh1707-staging .hotel-nav a[aria-current="page"] { background: var(--bg-soft); }
  .lh1707-staging .hotel-nav a::after { bottom: 0; }
  .lh1707-staging .hotel-nav a:focus-visible { outline-offset: 2px; }
  .lh1707-staging .hotel-mobile-toggle span { transition: background-color 200ms ease-out; }
  .lh1707-staging .hotel-mobile-toggle span::before,
  .lh1707-staging .hotel-mobile-toggle span::after {
    background: var(--text-main);
    transition: top 200ms ease-out, transform 200ms ease-out;
  }
  .lh1707-staging .hotel-mobile-toggle[aria-expanded="true"] span { background: transparent; }
  .lh1707-staging .hotel-mobile-toggle[aria-expanded="true"] span::before {
    top: 0;
    transform: rotate(45deg);
  }
  .lh1707-staging .hotel-mobile-toggle[aria-expanded="true"] span::after {
    top: 0;
    transform: rotate(-45deg);
  }
}
@media (prefers-reduced-motion: reduce) {
  .lh1707-staging .hotel-header-top .hotel-nav.desktop-nav,
  .lh1707-staging .hotel-mobile-toggle span,
  .lh1707-staging .hotel-mobile-toggle span::before,
  .lh1707-staging .hotel-mobile-toggle span::after { transition: none !important; }
}

/* Landhotel staging only: explicit icon origin and compact-menu details. */
.lh1707-staging .hotel-mobile-toggle { position: relative; }
.lh1707-staging .hotel-mobile-toggle span {
  position: absolute;
  display: block;
  left: 50%;
  top: 50%;
  margin: 0;
  transform: translate(-50%, -50%);
}
.lh1707-staging .hotel-mobile-toggle span::before,
.lh1707-staging .hotel-mobile-toggle span::after { transform-origin: 50% 50%; }
/* Keep the illustrative service screen readable when text is enlarged. */
.lh1707-staging .app-promo-device {
  display: grid;
  aspect-ratio: auto;
  min-height: calc(218px * 16 / 9);
}
.lh1707-staging .app-promo-device-screen { height: auto; min-height: min-content; }
.lh1707-staging .faq-accordion p { overflow-wrap: anywhere; }
.lh1707-staging #content .meta-value { overflow-wrap: anywhere; }
.lh1707-staging .app-promo-device-screen > strong,
.lh1707-staging .app-promo-device-screen > span {
  max-width: 100%;
  overflow-wrap: anywhere;
}
@media (width < 48rem) {
  .lh1707-staging .app-promo-device { min-height: calc(152px * 16 / 9); }
}
@media (width < 96rem) {
  .lh1707-staging .hotel-header-top .hotel-nav.desktop-nav {
    scrollbar-gutter: auto;
    scrollbar-width: thin;
    scrollbar-color: #80675e transparent;
  }
  .lh1707-staging .hotel-header-top .hotel-nav.desktop-nav::-webkit-scrollbar { width: 6px; }
  .lh1707-staging .hotel-header-top .hotel-nav.desktop-nav::-webkit-scrollbar-track { background: transparent; }
  .lh1707-staging .hotel-header-top .hotel-nav.desktop-nav::-webkit-scrollbar-thumb {
    background: #80675e;
    border-radius: 999px;
  }
  .lh1707-staging .hotel-header-top .hotel-nav.desktop-nav a::after { content: none; }
  .lh1707-staging .hotel-nav a[aria-current="page"]::before {
    content: "";
    position: absolute;
    left: 0;
    top: 10px;
    bottom: 10px;
    width: 2px;
    border-radius: 2px;
    background: var(--btn-primary-hover);
  }
  .lh1707-staging .hotel-nav a:hover { background: var(--bg-soft); }
  /* Pointer opening still focuses the first link; the next key restores the
     normal independent focus-visible ring before keyboard navigation. */
  .lh1707-staging .hotel-header[data-menu-input="pointer"] .hotel-nav a:focus-visible { outline: none; }
}
@media (forced-colors: active) {
  .lh1707-staging .hotel-header-top .hotel-nav.desktop-nav { scrollbar-color: auto; }
}

/* Reusable opt-in legal-page wrapper; loaded only on the protected pilot host.
   Uses existing brand tokens/local fonts. Never changes CMP text or categories. */
.hzp-legal-page {
  box-sizing: border-box;
  width: calc(100% - 40px);
  max-width: 960px;
  margin: clamp(32px, 5vw, 64px) auto;
  padding: 0;
  color: var(--text-main, #1f2a24);
  font-family: var(--font-body, "Inter", sans-serif);
  font-size: 1rem;
  line-height: 1.7;
  overflow-wrap: anywhere;
  /* Keep the old group overflow after its semantic div-to-main change. */
  overflow-x: visible;
}
.hzp-legal-page > .hzp-legal-page__eyebrow {
  margin: 0 0 12px;
  color: var(--text-muted, #5f6f66);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .08em;
}
.hzp-legal-page :is(h1, h2, h3) {
  font-family: var(--font-display, "Cormorant Garamond", serif);
  font-weight: 700;
  line-height: 1.2;
}
.hzp-legal-page > h1 {
  margin: 0 0 clamp(24px, 4vw, 40px);
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line-soft, #dbe8e2);
  font-size: clamp(2rem, 5vw, 3rem);
}
.hzp-legal-page #cmplz-document {
  box-sizing: border-box;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  font: inherit;
}
.hzp-legal-page #cmplz-document :is(h2, h3) {
  margin-block: 1.5em .5em;
  font-size: 1.5rem;
}
.hzp-legal-page #cmplz-document :is(p, li, td, th) {
  font-size: inherit;
  line-height: inherit;
}
/* Keep generated service dropdowns readable at 200% without hiding content. */
.hzp-legal-page #cmplz-document .cmplz-dropdown.cmplz-dropdown-cookiepolicy :is(summary, summary > div, p, h3, h4, h5, strong) {
  min-width: 0;
  font-size: inherit;
  line-height: inherit;
  overflow-wrap: anywhere;
}
@media (max-width: 600px) {
  .hzp-legal-page #cmplz-document .cmplz-dropdown.cmplz-dropdown-cookiepolicy summary > div {
    grid-template: "heading chevron" "paragraph paragraph";
    grid-template-columns: minmax(0, 1fr) 25px;
    gap: 8px;
  }
  .hzp-legal-page #cmplz-document .cmplz-dropdown.cmplz-dropdown-cookiepolicy .cookies-per-purpose {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
}
.hzp-legal-page :is(img, iframe, input, select, textarea) {
  max-width: 100%;
}
.hzp-legal-page table {
  width: 100%;
  table-layout: fixed;
}
.hzp-legal-page :is(td, th) {
  overflow-wrap: anywhere;
}
.hzp-legal-page a {
  color: var(--btn-primary-hover, #263d34);
  text-decoration: underline;
  text-underline-offset: .18em;
}
.hzp-legal-page a:focus-visible,
.landing-footer-min-links a:focus-visible {
  outline: 3px solid var(--btn-primary-hover, #263d34);
  outline-offset: 4px;
}
