/* A photographic visit to the real Wichtelstübchen. */
.rooms-section { padding-top: 0; padding-bottom: var(--section); }
.rooms-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 3rem; margin-bottom: 2.2rem; }
.rooms-heading h2 { max-width: 720px; }
.rooms-heading h2 em { color: var(--rust); }
.rooms-heading > p { max-width: 340px; font-size: 1rem; line-height: 1.8; }
.rooms-collage { display: grid; grid-template-columns: minmax(0, 1.8fr) minmax(0, 1fr); grid-template-rows: repeat(2, minmax(0, 1fr)); gap: 1rem; aspect-ratio: 2.15; }
.room-teaser { position: relative; display: block; min-width: 0; min-height: 0; overflow: hidden; border-radius: 24px; background: #263f34; isolation: isolate; }
.room-teaser:first-child { grid-row: 1 / 3; }
.room-teaser img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s cubic-bezier(.2,.7,.2,1); }
.room-teaser::after { content: ''; position: absolute; inset: 25% 0 0; background: linear-gradient(transparent, #102e24c9); z-index: 0; pointer-events: none; }
.room-teaser:hover img { transform: scale(1.04); }
.room-teaser:focus-visible { outline-offset: 6px; }
.room-teaser-copy { position: absolute; inset: auto 2rem 2rem; display: flex; flex-direction: column; align-items: flex-start; gap: .8rem; color: var(--paper); z-index: 1; }
.room-teaser-copy > strong { font: 400 clamp(1.65rem, 3vw, 2.65rem)/1.22 var(--serif); letter-spacing: -.045em; max-width: 440px; }
.room-teaser-copy > small { font-size: .75rem; letter-spacing: .13em; font-weight: 600; }
.room-start { display: inline-flex; align-items: center; justify-content: center; gap: .7rem; min-height: 52px; padding: .85rem 1.15rem; background: var(--paper); color: var(--green); border-radius: 100px; font-size: .9375rem; font-weight: 600; box-shadow: 0 8px 24px #10291f35; }
.room-start .icon { width: 19px; height: 19px; }
.room-teaser:not(:first-child) .room-teaser-copy { inset: auto 1.25rem 1.2rem; flex-direction: row; align-items: center; justify-content: space-between; }
.room-teaser:not(:first-child) strong { font-size: 1.5rem; }
.room-teaser:not(:first-child) .icon { width: 36px; height: 36px; border: 1px solid #ffffff75; padding: 7px; border-radius: 50%; }
.room-links { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin-top: 1.35rem; }
.room-links > span { font-size: .875rem; color: var(--muted); margin-right: .35rem; }
.room-link { display: inline-flex; align-items: center; gap: .5rem; min-height: 44px; padding: .6rem .9rem; border-radius: 100px; border: 1px solid #d5decb; font-size: .875rem; line-height: 1.5; transition: background .2s, border-color .2s; }
.room-link:hover { background: #e9efdf; border-color: #8ea083; }

body.tour-open { position: fixed; overflow: hidden; width: 100%; }
.room-tour { width: min(1360px, calc(100% - 48px)); max-width: none; height: min(890px, calc(100vh - 48px)); height: min(890px, calc(100dvh - 48px)); max-height: none; padding: 0; border: 1px solid #e2e5d8; border-radius: 26px; background: var(--paper); color: var(--ink); box-shadow: 0 35px 100px #071e2c66; overflow: hidden; }
.room-tour[open] { display: flex; flex-direction: column; animation: tour-open .3s ease both; }
.room-tour::backdrop { background: #0c201dda; backdrop-filter: blur(10px); }
.tour-topbar { flex-shrink: 0; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1rem 1.3rem 1rem 1.5rem; border-bottom: 1px solid #dce2d5; }
.tour-wordmark { font: 400 1.45rem/1.3 var(--serif); letter-spacing: -.045em; }
.tour-wordmark span { color: var(--rust); }
.tour-topbar small { display: block; color: var(--muted); font-size: .75rem; line-height: 1.5; letter-spacing: .06em; margin-top: .2rem; }
.tour-close { display: inline-flex; align-items: center; justify-content: center; gap: .6rem; min-height: 46px; padding: .6rem .85rem; background: #eef1e7; border: 1px solid #d9e0d0; border-radius: 100px; font-size: .875rem; }
.tour-close .icon { width: 20px; height: 20px; }
.tour-layout { flex: 1; min-height: 0; display: grid; grid-template-columns: minmax(0, 1fr) 310px; }
.tour-viewer { min-width: 0; min-height: 0; display: flex; flex-direction: column; background: #122e24; }
.tour-media { position: relative; flex: 1; min-height: 0; overflow: hidden; display: flex; align-items: center; justify-content: center; touch-action: pan-y pinch-zoom; }
.tour-photo { display: block; width: 100%; height: 100%; min-height: 0; object-fit: contain; }
.tour-photo.is-entering { animation: tour-photo-in .4s ease both; }
.tour-media.is-playing .tour-photo { animation: tour-drift 7.5s linear both; }
.tour-image-status { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); padding: .65rem 1rem; border-radius: 10px; background: #fffaf1ee; color: var(--green); text-align: center; font-size: .9375rem; max-width: calc(100% - 32px); }
.tour-image-status a { text-decoration: underline; }
.tour-controls { display: flex; flex-shrink: 0; align-items: center; justify-content: space-between; gap: .75rem; padding: .85rem 1rem; background: #173e30; color: var(--paper); }
.tour-controls button { min-height: 46px; display: inline-flex; align-items: center; justify-content: center; gap: .5rem; border: 1px solid #72897a; background: transparent; color: var(--paper); border-radius: 100px; padding: .55rem .85rem; font-size: .875rem; line-height: 1.5; }
.tour-controls button:hover { background: #2b5542; }
.tour-controls .icon { width: 18px; height: 18px; }
.tour-prev .icon { transform: rotate(180deg); }
.tour-controls .tour-play { border: 0; }
.tour-aside { min-width: 0; min-height: 0; display: flex; flex-direction: column; padding: 1.5rem 1.25rem 1rem; gap: 1rem; overflow-y: auto; overscroll-behavior: contain; }
.tour-copy { flex-shrink: 0; }
.tour-kicker { color: var(--rust); font-size: .75rem; letter-spacing: .1em; margin-bottom: .55rem; }
.tour-title { font-size: 1.85rem; line-height: 1.25; letter-spacing: -.045em; margin-bottom: .7rem; }
.tour-description { font-size: .9375rem; line-height: 1.7; }
.tour-stop-list { display: grid; gap: .4rem; }
.tour-stop { width: 100%; min-width: 0; display: flex; align-items: center; gap: .75rem; padding: .45rem; background: transparent; border: 1px solid transparent; border-radius: 12px; text-align: left; font-size: .875rem; line-height: 1.4; }
.tour-stop img { width: 65px; height: 49px; object-fit: cover; border-radius: 7px; flex-shrink: 0; }
.tour-stop > span { min-width: 0; }
.tour-stop[aria-current=true] { border-color: #a7b693; background: #eaf0df; color: var(--green); font-weight: 600; }
.tour-stop:hover { background: #f0f2e8; }
.tour-aside-note { margin-top: auto; padding-top: .5rem; font-size: .75rem; line-height: 1.6; color: var(--muted); }
.tour-enquiry { display: flex; align-items: center; justify-content: center; gap: .5rem; min-height: 46px; padding: .65rem .8rem; background: var(--green); color: var(--paper); border-radius: 100px; font-size: .875rem; font-weight: 600; }
.tour-enquiry .icon { width: 18px; height: 18px; }
.room-tour :focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }
.tour-aside :focus-visible, .tour-close:focus-visible { outline-color: var(--rust); }

@keyframes tour-open { from { opacity: 0; transform: translateY(16px) scale(.985); } to { opacity: 1; transform: none; } }
@keyframes tour-photo-in { from { opacity: .3; } to { opacity: 1; } }
@keyframes tour-drift { from { transform: scale(1); } to { transform: scale(1.035); } }

@media (max-width: 1200px) {
  .desktop-nav, .header-cta { display: none; }
  .menu-toggle { display: flex; }
}
@media (max-width: 1120px) {
  .rooms-heading { gap: 1.5rem; }
  .tour-layout { grid-template-columns: minmax(0, 1fr) 270px; }
  .tour-aside { padding: 1.15rem 1rem 1rem; }
  .tour-title { font-size: 1.65rem; }
}
@media (max-width: 800px) {
  .rooms-heading { display: block; }
  .rooms-heading > p { max-width: 580px; margin-top: 1.2rem; }
  .rooms-collage { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: auto; gap: .7rem; aspect-ratio: auto; }
  .room-teaser:first-child { grid-column: 1/-1; grid-row: auto; aspect-ratio: 4/3; }
  .room-teaser:not(:first-child) { aspect-ratio: 4/3; }
  .room-teaser:not(:first-child) strong { font-size: 1.25rem; }
  .room-teaser:not(:first-child) .room-teaser-copy { inset: auto .85rem .85rem; gap: .5rem; }
  .room-teaser:not(:first-child) .icon { width: 30px; height: 30px; padding: 5px; }
  .room-tour { width: 100%; height: 100vh; height: 100dvh; margin: 0; inset: 0; border: 0; border-radius: 0; }
  .tour-topbar { padding: max(.65rem, env(safe-area-inset-top)) max(1rem, env(safe-area-inset-right)) .65rem max(1rem, env(safe-area-inset-left)); }
  .tour-wordmark { font-size: 1.25rem; }
  .tour-topbar small { font-size: .6875rem; }
  .tour-close { padding-inline: .65rem; }
  .tour-close > span { display: none; }
  .tour-layout { display: flex; flex-direction: column; overflow-y: auto; }
  .tour-viewer { flex: 0 0 auto; }
  .tour-media { flex: none; height: clamp(210px, 44vh, 460px); height: clamp(210px, 44dvh, 460px); }
  .tour-aside { flex: 1 0 auto; overflow: visible; padding: 1rem max(1rem, env(safe-area-inset-right)) max(1rem, env(safe-area-inset-bottom)) max(1rem, env(safe-area-inset-left)); gap: 1rem; }
  .tour-kicker { display: none; }
  .tour-title { font-size: 1.6rem; margin-bottom: .4rem; }
  .tour-description { font-size: .9375rem; line-height: 1.6; }
  .tour-stop-list { display: flex; overflow-x: auto; gap: .4rem; padding: .2rem .1rem .6rem; scroll-snap-type: x proximity; }
  .tour-stop { flex: 0 0 110px; flex-direction: column; gap: .4rem; padding: .4rem; text-align: center; align-items: stretch; scroll-snap-align: start; font-size: .8125rem; }
  .tour-stop img { width: 100%; height: 62px; }
  .tour-aside-note { font-size: .75rem; margin: 0; padding: 0; }
  .tour-enquiry { align-self: flex-start; padding-inline: 1.1rem; }
}
@media (max-width: 640px) {
  .rooms-section { padding-top: 0; }
  .rooms-heading { margin-bottom: 1.5rem; }
  .room-teaser { border-radius: 18px; }
  .room-teaser-copy { inset: auto 1.15rem 1.15rem; gap: .7rem; }
  .room-teaser-copy > strong { font-size: clamp(1.5rem, 7vw, 2.1rem); max-width: 320px; }
  .room-teaser-copy > small { font-size: .6875rem; letter-spacing: .1em; }
  .room-start { font-size: .875rem; min-height: 48px; padding: .75rem 1rem; }
  .room-teaser:not(:first-child) strong { font-size: clamp(1rem, 4.5vw, 1.35rem); line-height: 1.25; }
  .room-teaser:not(:first-child) .icon { display: none; }
  .room-links { gap: .4rem; margin-top: 1rem; }
  .room-links > span { flex-basis: 100%; margin: 0 0 .2rem; }
  .room-link { font-size: .8125rem; padding: .55rem .75rem; }
  .tour-controls { gap: .25rem; padding: .65rem; }
  .tour-controls button { font-size: .8125rem; min-height: 46px; gap: .35rem; padding: .5rem .65rem; }
  .tour-play span { max-width: 90px; }
}
@media (max-width: 360px) {
  .room-teaser-copy > small { display: none; }
  .room-teaser-copy > strong { font-size: 1.55rem; }
  .room-teaser-copy { inset-inline: .9rem; bottom: .9rem; }
  .tour-controls .tour-prev span, .tour-controls .tour-next span { display: none; }
  .tour-controls .tour-prev, .tour-controls .tour-next { width: 46px; }
}
@media (orientation: landscape) and (max-height: 600px) {
  .room-tour { height: 100dvh; width: 100%; margin: 0; inset: 0; border-radius: 0; }
  .tour-topbar { padding-block: .4rem; padding-left: max(1.3rem, env(safe-area-inset-left)); padding-right: max(1.3rem, env(safe-area-inset-right)); }
  .tour-layout { display: grid; grid-template-columns: minmax(0,1fr) 240px; overflow: hidden; padding-left: env(safe-area-inset-left); padding-right: env(safe-area-inset-right); padding-bottom: env(safe-area-inset-bottom); }
  .tour-viewer { min-height: 0; }
  .tour-media { flex: 1; height: auto; min-height: 0; }
  .tour-aside { display: flex; overflow-y: auto; min-height: 0; padding: .8rem; }
  .tour-stop-list { display: grid; overflow: visible; }
  .tour-stop { flex-direction: row; align-items: center; text-align: left; }
  .tour-stop img { width: 52px; height: 39px; }
}
@media (prefers-reduced-motion: reduce) {
  .room-tour[open], .tour-photo.is-entering, .tour-media.is-playing .tour-photo { animation: none; }
  .room-teaser img, .room-link { transition: none; }
}
.paused-motion .room-tour, .paused-motion .tour-photo { animation: none; }
@media print { .room-tour { display: none !important; } .rooms-collage { break-inside: avoid; } .room-start { display: none; } }
