
@font-face { font-family: 'Instrument Serif'; font-weight: 400; font-style: normal; font-display: swap; src: url(fonts/instrument-serif-latin-400-normal.woff2) format('woff2'); }
@font-face { font-family: 'Instrument Serif'; font-weight: 400; font-style: italic; font-display: swap; src: url(fonts/instrument-serif-latin-400-italic.woff2) format('woff2'); }
@font-face { font-family: 'Instrument Sans'; font-weight: 400 700; font-style: normal; font-display: swap; src: url(fonts/instrument-sans-latin-wght-normal.woff2) format('woff2'); }

:root {

  --paper: #f6f1ea;  --paper-2: #eee4d7;  --card: #fbf8f4;
  --ink: #221a17;    --ink-2: #57493f;
  --dark: #33221f;   --on-dark: #f3efe6;  --on-dark-2: #c9c4b8;
  --accent: #b5476a;
  --accent-ink: #9c2f4f;
  --serif: 'Instrument Serif', 'Iowan Old Style', Georgia, serif;

  --head: var(--serif);  --head-w: 400;  --head-ls: -.01em;  --head-scale: 1;

  --sans: 'Instrument Sans', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --line: rgba(28, 26, 22, .14);  --line-dark: rgba(243, 239, 230, .18);
  --max: 1280px;  --gut: clamp(16px, 4vw, 48px);  --r: 4px;  --header-h: 72px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; } }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.6 var(--sans); text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; overflow-x: clip; }
img, video, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .2em; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }

.dark :focus-visible, .on-image :focus-visible, .hd.overlay:not(.scrolled):not(.open) :focus-visible { outline-color: var(--on-dark); }

h1, h2, h3, .display { font-family: var(--head); font-weight: var(--head-w); line-height: 1.04; letter-spacing: var(--head-ls); margin: 0 0 .4em; text-wrap: balance;
  hyphens: auto; overflow-wrap: break-word; }
h1 { font-size: calc(clamp(44px, min(7vw, 11svh), 104px) * var(--head-scale)); }
h2 { font-size: calc(clamp(34px, 4.6vw, 64px) * var(--head-scale)); }
h3 { font-size: clamp(26px, 2.6vw, 34px); line-height: 1.12; }
p { margin: 0 0 1em; text-wrap: pretty; }
.lead { font-size: clamp(19px, 1.6vw, 22px); line-height: 1.5; color: var(--ink-2); max-width: 46ch; }
.eyebrow { font: 600 15px/1.3 var(--sans); color: var(--accent-ink); margin: 0 0 14px; display: block; }
.dark .eyebrow { color: var(--on-dark-2); }
.on-image .eyebrow { color: var(--on-dark); }
.muted { color: var(--ink-2); }
.dark .lead, .dark .muted { color: var(--on-dark-2); }
.prose { max-width: 66ch; overflow-wrap: anywhere; }
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gut); }
.section { padding-block: clamp(72px, 10vw, 128px); }
.dark { background: var(--dark); color: var(--on-dark); }
.alt { background: var(--paper-2); }
.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: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--paper); padding: 10px 16px; border-radius: var(--r); }
.skip:focus { top: 12px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 24px; border-radius: 999px; border: 1px solid transparent;
  font: 600 15px/1 var(--sans); letter-spacing: .01em; text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease); }
.btn-primary { background: var(--ink); color: var(--paper); }
.btn-primary:hover { background: var(--accent-ink); color: #fff; }
.btn-light { background: var(--on-dark); color: var(--ink); }
.btn-light:hover { background: #fff; }
.btn-ghost { border-color: currentColor; background: transparent; }
.btn-ghost:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.dark .btn-ghost:hover, .on-image .btn-ghost:hover { background: var(--on-dark); color: var(--ink); border-color: var(--on-dark); }
.link-arrow { font-weight: 600; text-decoration: none; display: inline-flex; gap: 8px; align-items: center; }
.link-arrow::after { content: '→'; transition: transform .25s var(--ease); }
.link-arrow:hover::after { transform: translateX(4px); }

.media { display: block; position: relative; overflow: hidden; background: var(--paper-2); border-radius: var(--r); }
.media img { width: 100%; height: 100%; object-fit: cover; }
.r45 { aspect-ratio: 4 / 5; } .r32 { aspect-ratio: 3 / 2; } .r169 { aspect-ratio: 16 / 9; } .r11 { aspect-ratio: 1; }
.zoom img { transition: transform 1.2s var(--ease); } .zoom:hover img { transform: scale(1.04); }

.grid { display: grid; gap: clamp(16px, 2.4vw, 32px); }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }

@media (max-width: 760px) { .g2, .g3, .split { grid-template-columns: minmax(0, 1fr); } }
.head { display: flex; justify-content: space-between; align-items: end; gap: 32px; margin-bottom: clamp(32px, 5vw, 56px); flex-wrap: wrap; }
.head h2 { margin: 0; max-width: 16ch; } .head .lead { margin: 0; }

.hd { position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--header-h); color: var(--ink); background: var(--paper); border-bottom: 1px solid var(--line);
  transition: background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease); }
.hd.overlay:not(.scrolled):not(.open) { background: transparent; color: var(--on-dark); border-color: transparent; }

.hd.overlay::before { content: ''; position: absolute; inset: 0 0 -64px 0; z-index: -1; pointer-events: none; opacity: 0; transition: opacity .35s var(--ease);
  background: linear-gradient(to bottom, rgba(0,0,0,.55) 0%, rgba(0,0,0,.35) 55%, rgba(0,0,0,0) 100%); }
.hd.overlay:not(.scrolled):not(.open)::before { opacity: 1; }
.hd-in { height: 100%; display: flex; align-items: center; gap: 24px; }
.logo { flex: 0 1 auto; min-width: 0; font: var(--head-w) calc(28px * var(--head-scale)) / 1.05 var(--head); text-decoration: none; letter-spacing: var(--head-ls); text-wrap: balance; overflow-wrap: anywhere; }
.logo img { height: 44px; width: auto; }
.nav { margin-inline: auto; }
.nav-l { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; }
.nav-a { display: block; padding: 10px 14px; text-decoration: none; font-weight: 500; font-size: 15px; border-radius: 999px; }
.nav-a:hover { opacity: .7; }
.nav-foot { display: none; }
.hd-r { display: flex; align-items: center; gap: 12px; flex: none; }
.hd-cta { min-height: 42px; padding: 0 20px; }
.hd.overlay:not(.scrolled):not(.open) .hd-cta { background: var(--on-dark); color: var(--ink); }
.burger { display: none; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; position: relative; }
.burger i { position: absolute; left: 11px; right: 11px; height: 1.5px; background: currentColor; transition: transform .3s var(--ease), top .3s var(--ease); }
.burger i:first-of-type { top: 17px; } .burger i:last-of-type { top: 26px; }
.hd.open .burger i:first-of-type { top: 21px; transform: rotate(45deg); } .hd.open .burger i:last-of-type { top: 21px; transform: rotate(-45deg); }
@media (max-width: 900px), (hover: none) {
  .burger { display: block; }
  .hd-r { margin-left: auto; }
  .nav { position: fixed; inset: var(--header-h) 0 0 0; background: var(--paper); color: var(--ink); overflow-y: auto; padding: 24px var(--gut) 120px; opacity: 0; visibility: hidden; transform: translateY(-8px); transition: all .3s var(--ease); margin: 0; }
  .hd.open .nav { opacity: 1; visibility: visible; transform: none; transition-property: opacity, transform; }
  .nav-l { flex-direction: column; gap: 0; }
  .nav-a { font-family: var(--head); font-weight: var(--head-w); letter-spacing: var(--head-ls); font-size: calc(34px * var(--head-scale)); padding: 14px 0; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav-foot { display: flex; flex-direction: column; gap: 8px; padding-top: 24px; font-weight: 500; overflow-wrap: anywhere; }
}
@media (max-width: 560px) { .hd-cta { display: none; } .logo { font-size: 24px; } }

.hero { position: relative; min-height: min(100svh, 960px); display: flex; align-items: flex-end; color: var(--on-dark); background: var(--dark); overflow: hidden; }
.hero picture, .hero-img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-img { object-fit: cover; }

@media (prefers-reduced-motion: no-preference) { .hero-img { animation: hero-zoom 14s cubic-bezier(.25, .6, .3, 1) both; } }
@keyframes hero-zoom { from { transform: scale(1.06); } }
.shade { position: absolute; inset: 0; background:
  linear-gradient(to right, rgba(12,14,12,.55) 0%, rgba(12,14,12,.3) 40%, rgba(12,14,12,0) 70%),
  linear-gradient(to top, rgba(12,14,12,.82) 0%, rgba(12,14,12,.55) 40%, rgba(12,14,12,.2) 70%, rgba(12,14,12,.3) 86%, rgba(12,14,12,.5) 100%); }
@media (max-width: 760px) { .shade { background: linear-gradient(to top, rgba(12,14,12,.9) 0%, rgba(12,14,12,.78) 50%, rgba(12,14,12,.3) 72%, rgba(12,14,12,.32) 100%); } }

.hero-txt { position: relative; padding-top: clamp(96px, 20svh, 140px); padding-bottom: clamp(40px, 7vw, 80px); }
@media (max-width: 760px) { .hero-txt { padding-bottom: calc(92px + env(safe-area-inset-bottom)); } }
.hero-txt > :is(.eyebrow, h1, .lead, .hero-info) { text-shadow: 0 1px 14px rgba(0,0,0,.3); }
.hero h1 { max-width: 14ch; }
.hero .lead { color: var(--on-dark); max-width: 52ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.hero-info { display: flex; flex-wrap: wrap; gap: 2px 18px; margin: 18px 0 0; font-size: 15px; font-weight: 500; }
.hero-info a { display: inline-block; padding-block: 8px; margin-block: -8px; text-underline-offset: .25em; }

.facts { border-bottom: 1px solid var(--line); }
.facts-in { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.fact { padding: 28px 0 28px 24px; display: flex; flex-direction: column; gap: 4px; border-left: 1px solid var(--line); }
.fact:first-child { border-left: 0; padding-left: 0; }
.fact .display { font-size: clamp(36px, 4.4vw, 56px); line-height: 1; margin: 0; }
.fact span:last-child { color: var(--ink-2); font-size: 15px; }
@media (max-width: 760px) { .fact { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); } .fact:first-child { border-top: 0; } }

.pair { position: relative; padding-bottom: 12%; }
.pair .offset { position: absolute; width: 46%; right: 0; bottom: 0; border: 8px solid var(--paper); }
.pair > .media:first-child { aspect-ratio: 5 / 4; }
.nb { white-space: nowrap; }
.card h3 { margin: 20px 0 6px; } .card p { color: var(--ink-2); }
.rows { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.rows li { display: grid; grid-template-columns: 56px minmax(0, 1.1fr) minmax(0, 1.4fr); gap: 24px; align-items: baseline; padding: 26px 0; border-bottom: 1px solid var(--line); }
.rows .n { font-size: 14px; color: var(--accent-ink); font-weight: 600; } .rows .t { font: var(--head-w) calc(clamp(26px, 3vw, 40px) * var(--head-scale))/1.1 var(--head); letter-spacing: var(--head-ls); } .rows .d { color: var(--ink-2); }
@media (max-width: 760px) { .rows li { grid-template-columns: 40px 1fr; } .rows .d { grid-column: 2; } }
.rows li:not(:has(.n)) { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.4fr); }
@media (max-width: 760px) { .rows li:not(:has(.n)) { grid-template-columns: minmax(0, 1fr); } .rows li:not(:has(.n)) .d { grid-column: 1; } }
.ticks { list-style: none; padding: 0; margin: 0; } .ticks li { padding: 12px 0; border-bottom: 1px solid var(--line); }
.dark .ticks li { border-color: var(--line-dark); }

.gal { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 20px); }
.gal .media { aspect-ratio: 3 / 2; }
@media (min-width: 761px) { .gal li:first-child { grid-column: span 2; grid-row: span 2; } .gal li:first-child .media { aspect-ratio: auto; height: 100%; } }
@media (max-width: 760px) { .gal { grid-template-columns: repeat(2, minmax(0, 1fr)); } .gal li:first-child:nth-last-child(odd) { grid-column: 1 / -1; } }

.chap { position: relative; background: var(--dark); }
.chap-media { position: sticky; top: 0; height: 100svh; overflow: hidden; }
.chap-media img { width: 100%; height: 100%; object-fit: cover; }

.chap-body { position: relative; margin-top: -55svh; padding-bottom: 14svh; min-height: 55svh; }
.chap-card { max-width: 36rem; background: var(--paper); color: var(--ink); padding: clamp(24px, 4vw, 48px); border-radius: var(--r); box-shadow: 0 24px 60px -30px rgba(0,0,0,.5); }
.chap-card + .chap-card { margin-top: 45svh; }
.chap-card p { color: var(--ink-2); } .chap-card p:last-child { margin-bottom: 0; }

.ki { position: absolute; left: 10px; bottom: 10px; z-index: 1; padding: 5px 9px; border-radius: 3px; background: rgba(0,0,0,.72); color: #fff; font: 600 12px/1.2 var(--sans); letter-spacing: .02em; pointer-events: none; }
.hero .ki { top: calc(var(--header-h) + 10px); bottom: auto; left: auto; right: 10px; }

.contact .split { align-items: start; }
.dl { display: grid; grid-template-columns: auto minmax(0, 1fr); margin: 0 0 28px; }
.dl dt, .dl dd { padding: 12px 0; border-bottom: 1px solid var(--line-dark); margin: 0; } .dl dt { color: var(--on-dark-2); padding-right: 24px; } .dl dd { overflow-wrap: anywhere; }
.contact a:not(.btn) { text-underline-offset: .25em; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }

.offer { background: var(--paper-2); padding-block: clamp(56px, 8vw, 96px); }
.offer-in { max-width: 760px; margin-inline: auto; background: var(--card); border: 2px dashed var(--ink-2); border-radius: var(--r); padding: clamp(24px, 4vw, 48px); }
.offer h2 { font: 700 clamp(28px, 3.2vw, 40px)/1.1 var(--sans); letter-spacing: -.01em; margin: 0 0 20px; }
.offer ul { margin: 0; padding-left: 1.2em; display: grid; gap: 14px; }
.offer li { font-size: 17px; line-height: 1.55; overflow-wrap: anywhere; }

.foot { background: var(--ink); color: var(--on-dark-2); padding-block: 40px; font-size: 15px; }
.foot-in { display: flex; flex-wrap: wrap; gap: 16px 32px; justify-content: space-between; align-items: baseline; }
.foot a { display: inline-block; padding: 4px 2px; text-decoration: none; } .foot a:first-child { margin-left: -2px; } .foot a:hover { color: #fff; text-decoration: underline; }
.foot .draft { flex-basis: 100%; font-size: 14px; color: var(--on-dark); }
.foot :focus-visible { outline-color: var(--on-dark); }
@media (max-width: 900px), (hover: none) {
  .hd-cta { min-height: 44px; }
  .foot a { padding: 10px 6px; }
  .foot a:first-child { margin-left: -6px; }
}

.dock { display: none; }
@media (min-width: 901px) {
  .dock { display: flex; align-items: center; gap: 12px; position: fixed; z-index: 40; left: 50%; bottom: 16px; transform: translateX(-50%); padding: 8px 8px 8px 24px;
    width: max-content; max-width: calc(100vw - 32px);
    background: var(--card); border: 1px solid var(--line); border-radius: 999px; box-shadow: 0 20px 60px -20px rgba(0,0,0,.45); animation: dock-in .35s var(--ease); }
  .dock[hidden] { display: none; }
  .dock-t { font-weight: 500; padding-right: 8px; white-space: nowrap; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
  .foot { padding-bottom: 136px; }
}
@keyframes dock-in { from { opacity: 0; transform: translate(-50%, 12px); } }
.mbar { display: none; }
@media (max-width: 760px) {

  .foot { padding-bottom: calc(40px + 68px + env(safe-area-inset-bottom)); }
  .mbar { display: flex; gap: 8px;    position: fixed; z-index: 40; left: 0; right: 0; bottom: 0; padding: 8px 8px calc(8px + env(safe-area-inset-bottom));
    background: var(--paper); border-top: 1px solid var(--line); transition: transform .3s var(--ease), visibility .3s; }
  .mbar a { flex: 1 1 0; min-width: 0; display: flex; align-items: center; justify-content: center; min-height: 52px; border-radius: 12px; text-decoration: none; font-weight: 600; font-size: 15px; border: 1px solid var(--line); background: var(--card); }
  .mbar .mbar-main { flex-grow: 1.4; background: var(--ink); color: var(--paper); border-color: var(--ink); }
  .mbar[data-off] { transform: translateY(100%); visibility: hidden; }
}

/* lightbox */
.lb { border: 0; padding: 0; width: 100vw; height: 100dvh; max-width: none; max-height: none; background: rgba(12,13,12,.96); color: #eee; overscroll-behavior: contain; touch-action: pan-y pinch-zoom; }
.lb figure { margin: 0; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 56px 72px 24px; gap: 14px; }
.lb img { max-width: 100%; max-height: calc(100dvh - 120px); object-fit: contain; border-radius: var(--r); }
.lb figcaption { font-size: 14px; color: #bbb; text-align: center; }
.lb-b { position: absolute; width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); background: rgba(0,0,0,.35); color: #fff; font-size: 18px; cursor: pointer; }
.lb-b:hover { background: rgba(255,255,255,.15); }
.lb-x { top: 16px; right: 16px; } .lb-p { left: 16px; top: 50%; transform: translateY(-50%); } .lb-n { right: 16px; top: 50%; transform: translateY(-50%); }
@media (max-width: 760px) { .lb figure { padding: 64px 8px 24px; } .lb-p, .lb-n { top: auto; bottom: 16px; transform: none; } }

.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

@media (max-width: 560px) { .hd-cta.hd-legal { display: inline-flex; min-height: 44px; padding: 0 16px; } }
@media (max-width: 400px) { .hd-in:has(.hd-legal) .logo { font-size: 20px; } }

/* Gasthaus Alpenrose */
.btn-accent { background: var(--accent-ink); color: #fff; }
.btn-accent:hover { background: #7e2440; color: #fff; }
.hero h1 { max-width: 22ch; }
@media (max-width: 760px) { .hero-img { object-position: 42% 50%; } }
.rooms { margin-bottom: clamp(32px, 5vw, 56px); }
.rooms-note { margin: 28px 0 0; max-width: 72ch; }
.mbar .mbar-main { background: var(--accent-ink); border-color: var(--accent-ink); color: #fff; }
@media (min-width: 761px) { .gal li:first-child .media img { position: absolute; inset: 0; } }
@media (min-width: 761px) and (max-width: 1023px) { .dl { grid-template-columns: minmax(0, 1fr); } .dl dt { padding-bottom: 0; border-bottom: 0; } }
@media (min-width: 761px) { .split.flip > .pair { order: -1; } }
.burger i { height: 2px; }
.hero-info span:first-child { font-weight: 700; }
.hero-info a { padding-block: 12px; margin-block: -12px; }
.hd-in:has(.hd-legal) .hd-r { margin-left: auto; }
.hero .btn-accent { background: var(--on-dark); color: var(--accent-ink); }
.hero .btn-accent:hover { background: #fff; color: #7e2440; }
