/* Hideaway Planneralm · Landingpage im Stil von Entwurf D. Schriften lokal (SIL Open Font License, siehe /fonts). */
@font-face { font-family: 'Bodoni Moda'; src: url(/fonts/bodoni-moda-400.woff2) format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Bodoni Moda'; src: url(/fonts/bodoni-moda-400-italic.woff2) format('woff2'); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: 'Bodoni Moda'; src: url(/fonts/bodoni-moda-500.woff2) format('woff2'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'Jost'; src: url(/fonts/jost-300.woff2) format('woff2'); font-weight: 300; font-display: swap; }
@font-face { font-family: 'Jost'; src: url(/fonts/jost-400.woff2) format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Jost'; src: url(/fonts/jost-500.woff2) format('woff2'); font-weight: 500; font-display: swap; }

:root { --night: #0E1210; --night2: #141A17; --line: #2C332E; --ivory: #F4F0E8; --light: #EFEAE0; --sand: #D8D2C4; --muted: #B5AE9F;
        --champ: #C2A36B; --champ-l: #E2C894; --bronze: #7A5F2E; --gutter: clamp(20px, 3vw, 40px);
        --lid: cubic-bezier(.77,0,.18,1); --set: cubic-bezier(.16,1,.3,1); color-scheme: dark; }
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--night); color: var(--light); font: 300 17px/1.7 Jost, system-ui, sans-serif; }
img { max-width: 100%; }
a { color: var(--champ-l); }
a:hover { color: var(--ivory); }
h2, h3 { font-family: 'Bodoni Moda', serif; font-weight: 400; color: var(--ivory); }
h2 { margin: 0; font-size: clamp(36px, 5vw, 72px); line-height: 1.08; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--champ-l); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 16px; top: -64px; z-index: 60; padding: 12px 18px; background: var(--champ); color: var(--night); text-decoration: none; }
.skip:focus { top: 16px; }
.wrap { max-width: 1320px; margin: 0 auto; padding-left: max(var(--gutter), env(safe-area-inset-left, 0px)); padding-right: max(var(--gutter), env(safe-area-inset-right, 0px)); }
.eyebrow { margin: 0 0 18px; font: 500 12px/1.4 Jost, sans-serif; letter-spacing: .34em; text-transform: uppercase; color: var(--champ); }

.btn { min-height: 52px; padding: 0 28px; display: inline-flex; align-items: center; justify-content: center; gap: 12px; border: 1px solid transparent; font: 500 13px/1.3 Jost, sans-serif;
       letter-spacing: .22em; text-transform: uppercase; text-align: center; text-decoration: none; cursor: pointer; transition: background-color .3s, color .3s, border-color .3s; }
.btn--gold { background: var(--champ); color: var(--night); }
.btn--gold:hover { background: var(--champ-l); color: var(--night); }
.btn--line { background: rgba(14,18,16,.3); color: var(--light); border-color: rgba(239,234,224,.6); }
.btn--line:hover { border-color: var(--champ-l); color: var(--champ-l); }
.cta { display: flex; flex-wrap: wrap; gap: 14px; }

/* Hintergrundvideo: Poster als <picture>, Video darüber, sichtbar erst ab dem ersten Bild (Frame 0 = Poster) */
.bgv { position: relative; overflow: hidden; background: var(--night2); isolation: isolate; }
.bgv__media, .bgv__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.bgv__video { opacity: 0; transition: opacity .25s linear; }
.bgv.is-playing .bgv__video { opacity: 1; }
.vtoggle { flex: none; min-width: 44px; min-height: 44px; padding: 0 14px; display: inline-flex; align-items: center; gap: 10px; border: 1px solid rgba(239,234,224,.45); background: rgba(14,18,16,.4); color: var(--sand); font: 400 12px/1 Jost, sans-serif; letter-spacing: .2em; cursor: pointer; }
.vtoggle:hover { border-color: var(--champ-l); color: var(--champ-l); }
.vtoggle .i-play, .vtoggle[data-state=paused] .i-pause { display: none; }
.vtoggle[data-state=paused] .i-play { display: block; }

/* Hero */
.hero { height: 100vh; height: 100svh; min-height: 620px; }
.heroPx { position: absolute; inset: 0; }
.push { position: absolute; inset: -2%; animation: push 28s ease-in-out infinite alternate; }
.hero__shade { position: absolute; inset: 0; z-index: 1; background: radial-gradient(ellipse at 50% 52%, rgba(14,18,16,.52) 0%, rgba(14,18,16,.36) 60%, rgba(14,18,16,.5) 100%), linear-gradient(180deg, rgba(14,18,16,.55) 0%, rgba(14,18,16,0) 24%), linear-gradient(0deg, rgba(14,18,16,.82) 0%, rgba(14,18,16,0) 30%); }
.snow { position: absolute; inset: 0; z-index: 1; pointer-events: none; overflow: hidden; }
.snow i { position: absolute; top: -10px; border-radius: 50%; background: var(--light); animation: fall linear infinite; }
.f1 { left: 4%; width: 3px; height: 3px; opacity: .55; animation-duration: 19s !important; animation-delay: -2s !important; }
.f2 { left: 11%; width: 2px; height: 2px; opacity: .4; animation-duration: 24s !important; animation-delay: -9s !important; }
.f3 { left: 19%; width: 4px; height: 4px; opacity: .6; animation-duration: 17s !important; animation-delay: -5s !important; }
.f4 { left: 27%; width: 2px; height: 2px; opacity: .35; animation-duration: 26s !important; animation-delay: -14s !important; }
.f5 { left: 36%; width: 3px; height: 3px; opacity: .5; animation-duration: 21s !important; animation-delay: -7s !important; }
.f6 { left: 44%; width: 2px; height: 2px; opacity: .4; animation-duration: 28s !important; animation-delay: -18s !important; }
.f7 { left: 53%; width: 4px; height: 4px; opacity: .55; animation-duration: 18s !important; animation-delay: -3s !important; }
.f8 { left: 61%; width: 3px; height: 3px; opacity: .45; animation-duration: 23s !important; animation-delay: -11s !important; }
.f9 { left: 69%; width: 2px; height: 2px; opacity: .35; animation-duration: 27s !important; animation-delay: -20s !important; }
.f10 { left: 77%; width: 3px; height: 3px; opacity: .5; animation-duration: 20s !important; animation-delay: -6s !important; }
.f11 { left: 85%; width: 4px; height: 4px; opacity: .6; animation-duration: 16s !important; animation-delay: -12s !important; }
.f12 { left: 92%; width: 2px; height: 2px; opacity: .4; animation-duration: 25s !important; animation-delay: -16s !important; }
.lid { position: absolute; z-index: 6; left: 0; right: 0; height: 50%; background: var(--night); pointer-events: none; }
.lid--t { top: 0; border-bottom: 1px solid var(--champ); animation: lidT 1.7s .1s both var(--lid); }
.lid--b { bottom: 0; border-top: 1px solid var(--champ); animation: lidB 1.7s .1s both var(--lid); }
.topbar { position: absolute; z-index: 3; left: 0; right: 0; top: 0; max-width: 1440px; margin: 0 auto; padding-block: 20px; padding-left: max(var(--gutter), env(safe-area-inset-left, 0px)); padding-right: max(var(--gutter), env(safe-area-inset-right, 0px)); display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: block; line-height: 0; }
.brand img { height: 62px; width: auto; }
.topbar__right { display: flex; align-items: center; gap: 18px; }
.langs { display: flex; align-items: center; gap: 2px; font: 400 12px/1 Jost, sans-serif; letter-spacing: .12em; }
.langs a { min-width: 32px; min-height: 32px; padding: 0 5px; display: inline-flex; align-items: center; justify-content: center; color: var(--sand); text-decoration: none; }
.langs a:hover { color: var(--champ-l); }
.langs a[aria-current] { color: var(--champ-l); text-decoration: underline; text-underline-offset: 5px; }
.book { min-height: 44px; padding: 0 22px; display: inline-flex; align-items: center; border: 1px solid var(--champ); font: 500 12px/1 Jost, sans-serif; letter-spacing: .24em; text-transform: uppercase; text-decoration: none; color: var(--champ-l); background: rgba(14,18,16,.3); }
.book:hover { background: var(--champ); color: var(--night); }
.hero__content { position: relative; z-index: 2; height: 100%; max-width: 1320px; margin: 0 auto; padding: 96px max(var(--gutter), env(safe-area-inset-right, 0px)) 92px max(var(--gutter), env(safe-area-inset-left, 0px)); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.hero .eyebrow, .lead { text-shadow: 0 1px 14px rgba(14,18,16,.85), 0 0 2px rgba(14,18,16,.6); }
.hero .eyebrow { color: var(--champ-l); }
.hero h1 { margin: 0; font: 400 clamp(68px, 12vw, 184px)/.92 'Bodoni Moda', serif; letter-spacing: .03em; color: var(--ivory); }
.hero h1 em { display: block; font-size: .39em; line-height: 1.1; letter-spacing: 0; color: #E2D6BE; }
.lead { margin: 22px 0 28px; max-width: 34em; font-size: clamp(17px, 1.5vw, 19px); color: #EAE5DA; text-wrap: balance; }
.hero .cta { justify-content: center; }
.livebar { position: absolute; z-index: 4; left: 0; right: 0; bottom: 0; padding: 8px max(var(--gutter), env(safe-area-inset-right, 0px)) calc(8px + env(safe-area-inset-bottom, 0px)) max(var(--gutter), env(safe-area-inset-left, 0px)); display: flex; align-items: center; justify-content: space-between; gap: 16px; border-top: 1px solid rgba(239,234,224,.18); background: rgba(14,18,16,.42); }
.live { font-size: 14px; line-height: 1.4; letter-spacing: .05em; color: var(--sand); }
.live__js { display: none; }
.has-live .live__js { display: inline; }
.rating { font-size: 14px; line-height: 1.5; color: var(--sand); text-wrap: balance; }
.rating a { color: var(--ivory); text-underline-offset: 3px; display: inline-block; padding-block: 3px; }
.rating a:hover { color: var(--champ-l); }
.hero .rating { margin-top: 18px; text-shadow: 0 1px 10px rgba(14,18,16,.9); }
.buchen .rating { margin-top: 18px; font-size: 16px; }
/* Einstieg: Lidschlag, dann setzt sich der Inhalt */
.track { animation: track 1.9s .2s both var(--set); }
.r1 { animation: rise 1.2s .3s both var(--set); }
.r2 { animation: rise 1.2s .5s both var(--set); }
.r3 { animation: rise 1.2s .7s both var(--set); }
.r4 { animation: rise 1.2s 1.1s both var(--set); }

/* Das Haus */
.haus { background: var(--ivory); color: #2E322E; padding-block: clamp(80px, 11vw, 160px); }
.haus .eyebrow { color: var(--bronze); }
.haus h2 { color: #141814; max-width: 16em; font-size: clamp(36px, 4.6vw, 64px); line-height: 1.14; margin-inline: auto; }
.haus__intro { display: flex; flex-direction: column; align-items: center; text-align: center; }
.haus__intro > p:last-child { max-width: 40em; font-size: 18px; line-height: 1.8; color: #4A4F4A; }
.grat { width: 96px; height: 1px; margin: 28px 0; background: var(--bronze); }
.haus__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(24px, 3vw, 40px); margin-top: clamp(56px, 7vw, 96px); align-items: start; }
.haus__side { display: flex; flex-direction: column; gap: clamp(32px, 4vw, 48px); padding-top: clamp(0px, 7vw, 110px); }
.ph { margin: 0; position: relative; overflow: hidden; background: #CFC6B4; }
.ph img { display: block; width: 100%; height: auto; }
.ph--tall { aspect-ratio: 4 / 5; }
.haus__side .ph { aspect-ratio: 4 / 3; }
.haus__grid .ph img { height: 100%; object-fit: cover; }
.ph figcaption { position: absolute; right: 0; bottom: 0; padding: 3px 8px; font-size: 11px; line-height: 1.5; letter-spacing: .06em; color: var(--sand); background: rgba(14,18,16,.72); }
.facts { margin: 0; display: grid; gap: 22px; }
.facts div { border-top: 1px solid #141814; padding-top: 14px; }
.facts dt { font-size: 11px; font-weight: 500; letter-spacing: .3em; text-transform: uppercase; color: var(--bronze); }
.facts dd { margin: 6px 0 0; font-size: 16px; line-height: 1.6; color: #2E322E; }

/* Showreel */
.film { padding-block: clamp(80px, 10vw, 150px); }
.teaser { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; margin-top: clamp(32px, 4vw, 56px); padding: 0; border: 0; background: var(--night2); color: var(--light); cursor: pointer; overflow: hidden; text-align: left; font-family: inherit; }
.teaser img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .8s var(--set); }
.teaser:hover img { transform: scale(1.02); }
.teaser__label { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px 24px; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; background: linear-gradient(0deg, rgba(14,18,16,.85), rgba(14,18,16,0)); font: 500 13px/1.2 Jost, sans-serif; letter-spacing: .22em; text-transform: uppercase; }
.teaser__label small { font-weight: 400; font-size: 12px; letter-spacing: .16em; color: var(--sand); }
.teaser__icon { width: 52px; height: 52px; border: 1px solid var(--champ); display: inline-flex; align-items: center; justify-content: center; background: rgba(14,18,16,.4); }

/* Apartments */
.apts { background: #161B18; padding-block: clamp(80px, 10vw, 150px); }
.apts__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 40px); margin-top: clamp(40px, 5vw, 64px); }
.apt .ph { aspect-ratio: 4 / 3; background: #222924; }
.apt .ph img { height: 100%; object-fit: cover; transition: transform 1.2s var(--set); }
.apt:hover .ph img { transform: scale(1.03); }
.apt h3 { margin: 24px 0 6px; font-size: clamp(28px, 2.6vw, 38px); line-height: 1.1; }
.apt__meta { font-size: 12px; font-weight: 400; letter-spacing: .2em; text-transform: uppercase; color: var(--champ-l); }
.apt p:last-child { margin-top: 12px; color: var(--sand); }

/* Sauna */
.sauna { position: relative; overflow: hidden; min-height: min(90vh, 760px); display: flex; align-items: center; background: #1A1512; }
.sauna picture img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 30% 50%; }
.sauna__shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20,16,13,.82) 0%, rgba(20,16,13,.56) 55%, rgba(20,16,13,.3) 100%); }
.sauna__text { position: relative; width: 100%; padding-block: 96px; }
.sauna h2 { max-width: 13em; font-size: clamp(38px, 5.6vw, 84px); line-height: 1.04; }
.sauna__text > p:last-child { margin-top: 24px; max-width: 42em; font-size: 18px; color: #EAE5DA; text-wrap: balance; }
.nb { white-space: nowrap; }
.sauna__credit { position: absolute; right: 0; bottom: 0; padding: 3px 8px; font-size: 11px; line-height: 1.5; letter-spacing: .06em; color: var(--sand); background: rgba(14,18,16,.72); }

/* Buchen */
.buchen { padding-block: clamp(90px, 12vw, 170px); text-align: center; border-top: 1px solid var(--line); }
.buchen h2 { font-size: clamp(44px, 7vw, 104px); }
.buchen .cta { justify-content: center; margin-top: 36px; }
.buchen__note { margin: 28px auto 0; max-width: 36em; font-size: 15px; color: var(--muted); }
.buchen__note a { white-space: nowrap; }

/* Fuß */
.foot { background: #090C0B; color: var(--muted); font-size: 14px; line-height: 1.8; }
.foot__in { max-width: 1320px; margin: 0 auto; padding: 56px max(var(--gutter), env(safe-area-inset-right, 0px)) 56px max(var(--gutter), env(safe-area-inset-left, 0px)); display: flex; flex-wrap: wrap; gap: 32px 56px; justify-content: space-between; align-items: flex-start; }
.foot img { height: 64px; width: auto; }
.foot a { display: inline-block; padding-block: 4px; line-height: 1.4; }

/* Mobile Leiste, erscheint nach dem Hero */
.mbar { display: none; }

/* Showreel-Dialog */
.reel { --rp: clamp(16px, 4vw, 56px); width: 100%; max-width: none; height: 100%; max-height: none; margin: 0; border: 0;
        padding: max(var(--rp), env(safe-area-inset-top, 0px)) max(var(--rp), env(safe-area-inset-right, 0px)) max(var(--rp), env(safe-area-inset-bottom, 0px)) max(var(--rp), env(safe-area-inset-left, 0px)); background: rgba(8,10,9,.97); color: var(--light); }
.reel[open] { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; }
.reel::backdrop { background: rgba(8,10,9,.9); }
.reel__frame, .reel__meta, .reel__text { width: min(100%, 1280px, calc((100vh - 190px) * 16 / 9)); width: min(100%, 1280px, calc((100dvh - 190px) * 16 / 9)); }
.reel__frame { aspect-ratio: 16 / 9; background: #000; }
.reel__frame video { width: 100%; height: 100%; display: block; }
.reel__meta { margin: 0; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 16px; font: 400 12px/1.4 Jost, sans-serif; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
.reel__text { font-size: 14px; color: var(--muted); }
.reel__text summary { cursor: pointer; font: 400 12px/2 Jost, sans-serif; letter-spacing: .22em; text-transform: uppercase; }
.reel__text p { margin: 8px 0 0; max-width: 60em; }
.reel__close { position: absolute; top: calc(16px + env(safe-area-inset-top, 0px)); right: calc(16px + env(safe-area-inset-right, 0px)); width: 48px; height: 48px; border: 1px solid #5C625D; background: transparent; color: var(--light); cursor: pointer; display: flex; align-items: center; justify-content: center; }
.reel__close:hover { border-color: var(--champ-l); }

/* Rechtsseiten */
.legal { max-width: 760px; margin: 0 auto; padding: 40px max(var(--gutter), env(safe-area-inset-right, 0px)) 96px max(var(--gutter), env(safe-area-inset-left, 0px)); }
.legal__top { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-bottom: 56px; }
.legal__logo { display: inline-block; line-height: 0; }
.legal__logo img { height: 62px; width: auto; }
.legal h1 { margin: 0 0 36px; font: 400 clamp(38px, 6vw, 60px)/1.1 'Bodoni Moda', serif; color: var(--ivory); }
.legal h2 { margin: 40px 0 10px; font-size: 24px; line-height: 1.25; }
.legal p, .legal ul { margin: 0 0 14px; color: var(--sand); }
.legal ul { padding-left: 1.2em; }
.legal .small { font-size: 14px; color: var(--muted); }

/* Scroll-Bewegung, wo der Browser sie kann; sonst steht alles einfach da */
@supports (animation-timeline: view()) {
  .heroPx { animation: heroOut linear both; animation-timeline: view(); animation-range: exit 0% exit 100%; }
  .rv { animation: rise linear both; animation-timeline: view(); animation-range: entry 0% entry 45%; }
  .haus__grid .ph img.px { height: 112%; animation: pxA linear both; animation-timeline: view(); }
}

@keyframes push { from { transform: scale(1); } to { transform: scale(1.08); } }
@keyframes lidT { to { transform: translateY(-101%); } }
@keyframes lidB { to { transform: translateY(101%); } }
@keyframes rise { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@keyframes track { from { letter-spacing: .8em; opacity: 0; } to { letter-spacing: .34em; opacity: 1; } }
@keyframes fall { from { transform: translate3d(0, -20px, 0); } to { transform: translate3d(60px, 105vh, 0); } }
@keyframes heroOut { from { transform: translateY(0); } to { transform: translateY(22%); } }
@keyframes pxA { from { transform: translateY(-10.7%); } to { transform: translateY(0); } }

@media (max-width: 820px) {
  .haus__grid, .apts__grid { grid-template-columns: 1fr; }
  .haus__side { padding-top: 0; }
  .brand img { height: 52px; }
  .book { display: none; }
  .hero__content { padding-bottom: 104px; }
  .hero .cta .btn { width: 100%; max-width: 340px; }
  .hero .cta { flex-direction: column; align-items: center; }
  .rating__dot { display: none; }
  .rating__stand { display: block; }
  .live { font-size: 12px; letter-spacing: .02em; }
  .hero .eyebrow { letter-spacing: .24em; }
  .teaser { aspect-ratio: auto; background: none; overflow: visible; }
  .teaser img { aspect-ratio: 16 / 9; height: auto; }
  .teaser__label { position: static; padding: 14px 0 0; background: none; }
  .teaser__icon { width: 44px; height: 44px; }
  .foot__in { padding-bottom: 96px; }
  .mbar { position: fixed; z-index: 30; left: 0; right: 0; bottom: 0; display: flex; padding: 10px max(16px, env(safe-area-inset-right, 0px)) calc(10px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px)); background: var(--night); border-top: 1px solid var(--line); transform: translateY(110%); visibility: hidden; transition: transform .4s var(--set), visibility 0s .4s; }
  .mbar .btn { flex: 1; min-height: 48px; }
  .mbar.is-on { transform: none; visibility: visible; transition: transform .4s var(--set), visibility 0s; }
}

/* Video angehalten (Schalter, WCAG 2.2.2): auch Schnee und Kamerafahrt stehen */
.still .snow, .still .push { animation-play-state: paused; }
.still .snow i { animation-play-state: paused; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .lid, .snow { display: none; }
  .haus__grid .ph img.px { height: 100%; }
  .teaser:hover img, .apt:hover .ph img { transform: none; }
}
