.stay-note-links { display: flex; flex-wrap: wrap; column-gap: 18px }
.stay-note-links .stay-date-link { min-height: 44px; margin-top: 0 }

.tour-end {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 4px 32px;
  margin-top: clamp(28px, 3.6vw, 68px);
}
.tour-end .tour-more { margin: 0 }
.tour .tour-end .tour-to-map {
  width: auto;
  margin: 0 0 0 auto;
  padding: 0;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 0 clamp(15px, 2.3vw, 42px);
}

.villa-service {
  --service-top: clamp(82px, calc((100svh - 43vw) / 2), 21svh);
  --service-rule: #c7c3b5;
  color: var(--gallery-ink);
  background: var(--gallery-paper);
}
.villa-service:focus, .service-copy:focus { outline: none }
.service-cover {
  position: relative;
  isolation: isolate;
  height: clamp(430px, min(84svh, 68vw), 1150px);
}
.service-door {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: #263333;
}
.service-cover picture, .service-cover img, .service-door::after {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.service-cover img { object-fit: cover; object-position: 50% 56% }
.service-door::after {
  content: "";
  pointer-events: none;
  background: linear-gradient(83deg, rgb(14 24 26 / .55), transparent 57%),
              linear-gradient(to top, rgb(15 23 23 / .45), transparent 39%);
}
.service-cover h2 {
  position: absolute;
  z-index: 1;
  left: var(--gutter);
  bottom: clamp(30px, 6svh, 86px);
  margin: 0 0 0 -.046em;
  color: var(--ivory);
  font: 500 clamp(4.1rem, 8.3vw, 11.3rem)/.94 var(--serif);
  letter-spacing: -.059em;
}
.service-cover h2 span { display: block }
@media (prefers-reduced-motion: no-preference) {
  .service-live .service-door {
    clip-path: inset(0 calc(var(--mat, 0) * var(--mat-far, 24%)) 0 calc(var(--mat, 0) * var(--gutter)));
  }
}
.enhanced .mast.on-gallery-paper.over-service-cover { color: var(--ivory) }
.enhanced .mast.on-gallery-paper.over-service-cover::before {
  background: linear-gradient(to bottom, rgb(17 26 27 / .66), rgb(17 26 27 / .49) 57%, transparent);
}
.mast.over-service-cover .signature img { filter: none }
.mast.over-service-cover .stay:not([open]) > summary { background: rgb(20 30 31 / .30) }
.enhanced .mast.on-gallery-paper.over-service-book::before {
  background: linear-gradient(to bottom, var(--gallery-paper) 55%, rgb(238 232 219 / .95) 73%, transparent);
}

.service-index, .service-book {
  width: calc(100% - 2 * var(--gutter));
  max-width: 1950px;
  margin-inline: auto;
}
.service-index {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0 22px;
  padding-block: clamp(10px, 1.45vw, 25px);
  border-bottom: 1px solid var(--service-rule);
}
.service-index a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: clamp(.94rem, 1.05vw, 1.25rem);
}
.service-index a:hover, .service-index a:focus-visible { text-decoration: underline; text-underline-offset: .28em }

.service-book {
  padding-block: clamp(32px, 4vw, 86px);
  --story-columns: minmax(0, 1.42fr) minmax(0, .80fr);
  --story-gap: clamp(45px, 6.9vw, 156px);
}
.service-leaf {
  display: grid;
  grid-template-columns: var(--story-columns);
  align-items: center;
  column-gap: var(--story-gap);
}
.service-leaf + .service-leaf, .service-options { margin-top: clamp(45px, 7vw, 145px) }
.service-frame { min-width: 0; margin: 0; overflow: hidden; background: #c9c6b7 }
.service-frame img { display: block; width: 100%; height: auto }
.service-copy { min-width: 0; scroll-margin-top: var(--service-top) }
.service-copy h3:not(.service-terms), .service-copy h4 {
  max-width: 12ch;
  margin: 0 0 0 -.039em;
  font: 500 clamp(2.65rem, 4.65vw, 6rem)/1.02 var(--serif);
  letter-spacing: -.052em;
  text-wrap: balance;
}
.service-copy > p {
  max-width: 35ch;
  margin: clamp(16px, 1.5vw, 30px) 0 0;
  font-size: clamp(1rem, 1.27vw, 1.42rem);
  line-height: 1.53;
}
.service-copy .service-terms {
  margin: 0 0 clamp(15px, 1.6vw, 30px);
  font: 400 clamp(.94rem, 1.07vw, 1.2rem)/1.4 Aktiv, sans-serif;
  color: #48554d;
}
.service-linen {
  display: flex;
  align-items: end;
  gap: clamp(13px, 1.35vw, 27px);
  margin-top: clamp(22px, 2.5vw, 52px);
}
.service-linen img { width: clamp(74px, 7.6vw, 145px); height: auto }
.service-linen p {
  max-width: 20ch;
  margin: 0 0 2px;
  color: #4b584f;
  font-size: clamp(.875rem, 1.02vw, 1.12rem);
  line-height: 1.43;
}
.service-book.is-bound {
  display: grid;
  width: 100%;
  max-width: 2150px;
  padding-inline: 0 var(--gutter);
  padding-bottom: clamp(52px, 9svh, 130px);
  grid-template-columns: minmax(0, 1.62fr) minmax(0, .78fr);
  grid-template-rows: repeat(var(--leaf-count), auto);
  column-gap: var(--story-gap);
  isolation: isolate;
}
.service-book.is-bound .service-leaf, .service-book.is-bound .service-options { display: contents }
.service-book.is-bound .service-frame {
  grid-column: 1;
  grid-row: 1 / -1;
  align-self: start;
  position: sticky;
  top: var(--service-top);
  z-index: var(--leaf);
  width: 100%;
  aspect-ratio: 1.46;
  max-height: calc(100svh - var(--service-top) - 32px);
  clip-path: inset(var(--covered, 0%) 0 0);
}
.service-book.is-bound .service-frame img {
  position: absolute;
  inset: 0;
  height: 100%;
  object-fit: cover;
}
.service-book.is-bound .service-copy {
  grid-row: var(--leaf);
  grid-column: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  min-height: clamp(435px, min(71svh, 49vw), 860px);
  padding-block: clamp(27px, 4.4svh, 72px);
}
.villa-footer.service-farewell {
  display: flex;
  align-items: end;
  position: relative;
  isolation: isolate;
  min-height: clamp(310px, 59svh, 730px);
  background: #39433f;
  color: var(--ivory);
}
.service-evening, .service-farewell::before {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.service-evening { z-index: -2; object-fit: cover; object-position: 50% 65% }
.service-farewell::before {
  content: "";
  z-index: -1;
  background: linear-gradient(to top, rgb(12 24 25 / .80), rgb(12 24 25 / .20) 36%, transparent 58%);
}
.service-farewell .tour-footer { align-items: end; border: 0; padding-bottom: max(clamp(28px, 4svh, 60px), env(safe-area-inset-bottom)) }
.service-farewell .tour-book { font-size: clamp(2.3rem, 4.7vw, 6rem) }

@media (max-width: 900px) {
  .villa-service { --service-top: max(72px, calc(env(safe-area-inset-top) + 65px)) }
  .service-cover { height: clamp(340px, min(76svh, 84vw), 740px); --mat-far: 12% }
  .service-cover h2 { font-size: clamp(3.4rem, 9.4vw, 5.85rem) }
  .service-book {
    width: 100%;
    max-width: 780px;
    padding: clamp(24px, 4.8vw, 44px) 0 clamp(22px, 4vw, 40px);
    --mobile-photo: clamp(215px, min(70vw, 53svh), 440px);
  }
  .service-leaf {
    position: relative;
    isolation: isolate;
    display: block;
  }
  .service-leaf + .service-leaf, .service-options { margin-top: clamp(20px, 4vw, 40px) }
  .service-frame {
    width: calc(100% - var(--gutter));
    height: var(--mobile-photo);
  }
  .service-frame img { height: 100%; object-fit: cover }
  .service-options .service-leaf:first-child .service-frame,
  .service-options .service-leaf:last-child .service-frame { margin-left: auto }
  .service-options .service-leaf:nth-child(2) .service-frame { width: 100% }
  .service-copy {
    position: relative;
    z-index: 1;
    margin: -20px 0 0 var(--gutter);
    padding: clamp(20px, 3.8vw, 32px) var(--gutter) clamp(20px, 4vw, 35px);
    background: var(--gallery-paper);
    scroll-margin-top: calc(var(--mobile-photo) + var(--service-top) - 20px);
  }
  .service-copy h3:not(.service-terms), .service-copy h4 { max-width: 16ch; font-size: clamp(2.5rem, 7.1vw, 3.75rem) }
  .service-copy .service-terms { margin-bottom: 10px }
  .service-copy > p { max-width: 47ch; margin-top: 13px; font-size: 1rem }
  .service-linen { margin-top: 19px }
  .service-linen img { width: 76px }
}
@media (max-width: 900px) and (min-height: 520px) and (prefers-reduced-motion: no-preference) {
  .service-live .service-frame { position: sticky; top: var(--service-top) }
}
@media (max-width: 600px) {
  .tour .tour-layout { padding-bottom: 18px }
  .tour .tour-end .tour-to-map { margin-left: 0 }
  .tour-end { row-gap: 7px }
  .service-cover { height: clamp(345px, min(128vw, 77svh), 695px) }
  .service-cover h2 { bottom: 27px; font-size: clamp(3rem, 12.4vw, 4.9rem) }
  .service-cover img { object-position: 50% 53% }
  .service-door::after {
    background: linear-gradient(to top, rgb(12 24 25 / .73), rgb(12 24 25 / .26) 28%, transparent 51%);
  }
  .service-index {
    display: grid;
    grid-template-columns: max-content max-content;
    justify-content: space-between;
    padding-block: 10px;
    gap: 0 8px;
  }
  .service-evening { object-position: 70% 60% }
  .service-farewell .tour-footer { display: grid; gap: 4px }
  .service-farewell .tour-footer > div { column-gap: 18px }
}
@media (max-height: 520px) and (orientation: landscape) {
  .service-cover { height: max(225px, 91svh) }
  .service-cover h2 { font-size: clamp(2.8rem, 7vw, 4.7rem); bottom: 23px }
}
