/* ==========================================================================
   Ammerblume – Ferienwohnung in Oberammergau
   Eine gemeinsame Stylesheet-Datei für alle Seiten. Kein Framework, kein Build.
   ========================================================================== */

/* Schriften: lokal aus dem Ordner fonts/. Fehlen die Dateien, greifen die
   installierten Systemschriften (Sitka, Segoe UI) als Ersatz. */
@font-face {
  font-family: "Literata";
  src: local("Literata"), url("../fonts/literata-variable.woff2") format("woff2");
  font-weight: 300 700;
  font-display: swap;
}
@font-face {
  font-family: "Jost";
  src: local("Jost"), url("../fonts/jost-variable.woff2") format("woff2");
  font-weight: 200 600;
  font-display: swap;
}

:root {
  --paper: #f4efe6;      /* warmes Weiß, leichtes Beige */
  --paper-2: #ebe3d5;    /* zweiter Grund für Bänder */
  --ink: #26241f;        /* Text */
  --muted: #69645a;      /* Nebentext */
  --line: rgba(38, 36, 31, .14);
  --gold: #9c7a45;       /* Akzent: Buttons, Ornament */
  --gold-dark: #82653a;
  --night: #1f211d;      /* dunkle Leisten */
  --night-2: #2d302a;

  --serif: "Literata", "Sitka Text", "Sitka Heading", Georgia, serif;
  --display: "Jost", "Segoe UI Variable Display", "Segoe UI", system-ui, sans-serif;
  --sans: "Jost", "Segoe UI Variable Text", "Segoe UI", system-ui, sans-serif;

  --wrap: 1240px;
  --header-h: 88px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 400 18px/1.7 var(--serif); color: var(--ink); background: var(--paper); }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-weight: 400; margin: 0; }
p { margin: 0 0 1em; }
.wrap { width: min(100% - 48px, var(--wrap)); margin-inline: auto; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; text-decoration: none; }
.skip-link:focus { top: 16px; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* ---------- Kopfzeile ---------- */
.site-header { position: fixed; inset: 0 0 auto; z-index: 50; background: var(--paper); color: var(--ink); box-shadow: 0 1px 0 var(--line); transition: background .4s, color .4s, box-shadow .4s; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 28px; height: var(--header-h); }
.has-hero .site-header:not(.is-solid) { background: transparent; color: #fff; box-shadow: none; }
.has-hero .site-header:not(.is-solid)::before { content: ""; position: absolute; inset: 0 0 -40px; background: linear-gradient(rgba(0,0,0,.35), transparent); pointer-events: none; z-index: -1; }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; font: 400 25px/1 var(--serif); letter-spacing: .01em; flex: none; }
.brand svg { width: 46px; height: 38px; }
.main-nav ul { display: flex; gap: 26px; list-style: none; margin: 0; padding: 0; }
.main-nav a, .header-actions a:not(.btn) { font: 400 15px/1 var(--sans); letter-spacing: .04em; text-decoration: none; padding: 8px 0; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .35s var(--ease); white-space: nowrap; }
.main-nav a:hover, .header-actions a:not(.btn):hover, .main-nav a[aria-current="page"] { background-size: 100% 1px; }
.header-actions { display: flex; align-items: center; gap: 22px; flex: none; }
.nav-toggle { display: none; width: 44px; height: 44px; border: 1px solid currentColor; background: transparent; color: inherit; cursor: pointer; }
.nav-toggle span { display: block; width: 18px; height: 1.5px; background: currentColor; margin: 4px auto; transition: transform .3s; }
.nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(2.75px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-2.75px) rotate(-45deg); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 12px 26px; border: 1px solid currentColor; background: transparent; color: inherit; text-decoration: none; font: 500 15px/1 var(--sans); letter-spacing: .06em; cursor: pointer; transition: background .3s, color .3s, border-color .3s, transform .2s; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--gold { background: var(--gold); border-color: var(--gold); color: #fff; }
.btn--gold:hover { background: var(--gold-dark); border-color: var(--gold-dark); }
.btn--dark { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn--dark:hover { background: #000; }
.btn svg { width: 14px; height: 14px; transition: transform .3s; }
.btn:hover svg { transform: translateX(3px); }
.text-link { font: 500 15px/1.4 var(--sans); letter-spacing: .04em; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px; display: inline-flex; gap: 8px; align-items: center; }
.text-link:hover { color: var(--gold); }
.text-link { white-space: nowrap; }
.text-link svg { width: 14px; height: 14px; flex: none; transition: transform .3s; }
.text-link:hover svg { transform: translateX(3px); }

/* ---------- Seitlicher Dock: Buchen ist von überall erreichbar ---------- */
.dock { position: fixed; z-index: 40; right: 0; top: 50%; transform: translateY(-50%); display: grid; background: var(--night); color: #fff; border-radius: 10px 0 0 10px; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,.18); }
.dock a { display: grid; justify-items: center; gap: 6px; padding: 15px 13px; font: 400 12px/1 var(--sans); letter-spacing: .06em; text-decoration: none; transition: background .3s; }
.dock a:hover, .dock a:focus-visible { background: var(--gold); }
.dock a + a { border-top: 1px solid rgba(255,255,255,.12); }
.dock svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.4; }

/* ---------- Titelbild der Startseite ---------- */
.hero { position: relative; height: 100svh; min-height: 640px; overflow: hidden; color: #fff; display: flex; flex-direction: column; }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; animation: kenburns 24s ease-out forwards; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.25) 0%, rgba(0,0,0,0) 28%, rgba(0,0,0,.1) 45%, rgba(0,0,0,.62) 100%); }
@keyframes kenburns { from { transform: scale(1.12); } to { transform: scale(1); } }
.hero__text { text-shadow: 0 1px 24px rgba(0,0,0,.35); position: relative; z-index: 2; margin-top: auto; padding-bottom: 56px; }
.hero h1 { font: 300 clamp(44px, 6.4vw, 96px)/1.02 var(--display); letter-spacing: -.02em; max-width: 16ch; }
.hero__sub { margin: 18px 0 0; font: 300 clamp(17px, 1.6vw, 22px)/1.5 var(--display); letter-spacing: .06em; }
.reveal-up > * { opacity: 0; transform: translateY(24px); animation: up 1s var(--ease) forwards; }
.reveal-up > :nth-child(2) { animation-delay: .25s; }
.reveal-up > :nth-child(3) { animation-delay: .5s; }
@keyframes up { to { opacity: 1; transform: none; } }
.scroll-cue { position: absolute; z-index: 2; right: max(24px, (100% - var(--wrap)) / 2); bottom: 56px; width: 48px; height: 48px; border: 1px solid rgba(255,255,255,.7); border-radius: 50%; display: grid; place-items: center; animation: bob 2.4s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(8px); } }

/* Titelbild der Unterseiten: niedriger, Titel unten links */
.page-hero { position: relative; height: 62svh; min-height: 420px; overflow: hidden; color: #fff; display: flex; align-items: flex-end; }
.page-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; animation: kenburns 24s ease-out forwards; }
.page-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.3) 0%, rgba(0,0,0,0) 35%, rgba(0,0,0,.5) 100%); }
.page-hero .wrap { position: relative; z-index: 2; padding-bottom: 56px; }
.page-hero h1 { font: 300 clamp(40px, 5.4vw, 80px)/1.05 var(--display); letter-spacing: -.02em; }
.page-hero p { margin: 12px 0 0; font: 300 19px/1.5 var(--display); letter-spacing: .06em; }

/* ---------- Buchungsleiste (Anreise, Abreise, Gäste, Buchen) ---------- */
.booking-bar { padding: 0; background: var(--night); color: #f1efe9; position: relative; z-index: 3; }
.booking-bar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 18px; flex-wrap: wrap; }
.booking-bar__title { font: 300 20px/1.3 var(--display); letter-spacing: .04em; margin: 0; }
.booking-bar__title small { display: block; font-size: 14px; color: #b9b8ae; letter-spacing: .06em; }
.booking { display: flex; gap: 8px; align-items: stretch; flex-wrap: wrap; }
.booking label { display: grid; gap: 2px; background: var(--night-2); padding: 9px 16px; font: 400 13px/1.2 var(--sans); letter-spacing: .06em; color: #b9b8ae; min-width: 150px; cursor: pointer; transition: background .25s; }
.booking label:hover { background: #363a33; }
.booking label.booking__guests { min-width: 0; }
.booking input, .booking select { background: transparent; border: 0; color: #fff; font: 400 17px/1.3 var(--sans); padding: 2px 0; color-scheme: dark; }
.booking select option { color: var(--ink); }
.booking button { border: 0; background: #f1efe9; color: var(--ink); font: 600 15px/1 var(--sans); letter-spacing: .14em; padding: 0 32px; min-height: 60px; cursor: pointer; transition: background .25s, transform .2s; }
.booking button:hover { background: #fff; transform: translateY(-1px); }

/* ---------- Abschnitte ---------- */
section { padding: 128px 0; }
.section--tight { padding: 96px 0; }
.band { background: var(--paper-2); }
.eyebrow { font: 400 14px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin: 0 0 20px; }
h2 { font: 400 clamp(34px, 3.6vw, 52px)/1.12 var(--serif); letter-spacing: -.01em; margin: 0 0 24px; }
h3 { font: 400 24px/1.3 var(--serif); }
.lead { font-size: 20px; color: var(--muted); max-width: 62ch; }
.muted { color: var(--muted); }
.section-head { max-width: 760px; margin-bottom: 56px; }
.section-head--split { max-width: none; display: flex; justify-content: space-between; align-items: end; gap: 32px; flex-wrap: wrap; }

/* Willkommen (zentriert mit Blüten-Ornament) */
.welcome { text-align: center; }
.welcome p { max-width: 62ch; margin: 0 auto; color: var(--muted); font-size: 19px; line-height: 1.8; }
.welcome h2 { font-size: clamp(38px, 4.2vw, 62px); line-height: 1.1; margin-bottom: 32px; }
.ornament { display: flex; align-items: center; justify-content: center; gap: 22px; color: var(--gold); margin-bottom: 32px; }
.ornament::before, .ornament::after { content: ""; height: 1px; width: 64px; background: currentColor; opacity: .6; }
.ornament svg { width: 24px; height: 24px; }
.js .ornament svg { transform: rotate(-90deg) scale(.4); opacity: 0; transition: transform 1.2s var(--ease), opacity .8s; }
.js .is-in .ornament svg, .js .ornament.is-in svg { transform: none; opacity: 1; }

/* Text neben Bild */
.split { display: grid; grid-template-columns: 5fr 6fr; gap: 72px; align-items: center; }
.split--flip { grid-template-columns: 6fr 5fr; }
.split--flip > :first-child { order: 2; }
.split figure { margin: 0; overflow: hidden; aspect-ratio: 4 / 5; }
.split figure.wide { aspect-ratio: 4 / 3; }
.split figure img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.split figure:hover img { transform: scale(1.04); }
.split p { color: var(--muted); }

.facts { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); margin-top: 40px; }
.facts div { padding-top: 22px; }
.facts strong { display: block; font: 300 40px/1.1 var(--display); color: var(--ink); }
.facts span { color: var(--muted); font: 400 15px/1.4 var(--sans); }

/* Raum-Kacheln */
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.tile { text-decoration: none; display: block; }
.tile__img { overflow: hidden; aspect-ratio: 3 / 4; background: var(--paper-2); }
.tile__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.tile:hover .tile__img img { transform: scale(1.05); }
.tile h3 { margin: 20px 0 4px; }
.tile p { margin: 0; color: var(--muted); font: 400 15px/1.5 var(--sans); letter-spacing: .02em; }
.tile .text-link { margin-top: 14px; }

/* Preisband mit Foto */
.photo-band { position: relative; color: #fff; padding: 160px 0; overflow: hidden; }
.photo-band > img { position: absolute; inset: -10% 0; width: 100%; height: 120%; object-fit: cover; will-change: transform; }
.photo-band::after { content: ""; position: absolute; inset: 0; background: rgba(20, 18, 15, .5); }
.photo-band .wrap { position: relative; z-index: 1; display: flex; justify-content: space-between; align-items: end; gap: 40px; flex-wrap: wrap; }
.photo-band h2 { font: 300 clamp(40px, 5vw, 72px)/1.05 var(--display); margin: 0; }
.photo-band .eyebrow { color: #e2c38f; }

/* Listen mit Linien (Ausstattung, Preise, Anreise) */
.rows { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.rows li { display: flex; justify-content: space-between; gap: 24px; padding: 16px 0; border-bottom: 1px solid var(--line); font: 400 17px/1.5 var(--sans); }
.rows li span:last-child { text-align: right; color: var(--muted); }
.rows li strong { font-weight: 500; color: var(--ink); }
.columns { display: grid; grid-template-columns: repeat(2, 1fr); gap: 56px 72px; }
.columns--3 { grid-template-columns: repeat(3, 1fr); }
.group-title { font: 500 14px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin: 0 0 16px; }

/* Preistabellen */
.price-card { background: #fff8ee; padding: 40px; border-top: 3px solid var(--gold); }
.price-card h3 { margin-bottom: 6px; }
.price-card .muted { font: 400 15px/1.5 var(--sans); margin-bottom: 24px; }
.price { display: flex; justify-content: space-between; align-items: baseline; padding: 14px 0; border-bottom: 1px solid var(--line); font: 400 17px/1.4 var(--sans); }
.price b { font: 300 30px/1 var(--display); }

/* Schritte (Buchung, Check-in, Check-out) */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; counter-reset: step; }
.step { background: #fff8ee; padding: 40px 36px; border-top: 3px solid var(--gold); transition: transform .35s var(--ease), box-shadow .35s; }
.step:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(60, 45, 20, .08); }
.step::before { counter-increment: step; content: "0" counter(step); display: block; font: 300 44px/1 var(--display); color: var(--gold); margin-bottom: 20px; }
.step h3 { margin-bottom: 10px; }
.step p { color: var(--muted); font-size: 17px; }
.step p:last-child { margin: 0; }

/* Hinweis-Kasten */
.note { border-left: 3px solid var(--gold); background: #fff8ee; padding: 20px 24px; font-size: 17px; }

/* Fotogalerie */
.gallery-group + .gallery-group { margin-top: 96px; }
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.gallery button { padding: 0; border: 0; background: var(--paper-2); cursor: zoom-in; overflow: hidden; aspect-ratio: 4 / 3; display: block; width: 100%; }
.gallery button:first-child { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.gallery button:hover img { transform: scale(1.05); }
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(18, 17, 14, .94); display: none; align-items: center; justify-content: center; padding: 64px 88px; }
.lightbox.is-open { display: flex; }
.lightbox img { max-width: 100%; max-height: 100%; object-fit: contain; animation: lb-in .4s var(--ease); }
@keyframes lb-in { from { opacity: 0; transform: scale(.97); } to { opacity: 1; transform: none; } }
.lightbox button { position: absolute; width: 52px; height: 52px; border: 1px solid rgba(255,255,255,.4); background: transparent; color: #fff; font: 300 26px/1 var(--display); cursor: pointer; transition: background .25s; }
.lightbox button:hover { background: rgba(255,255,255,.12); }
.lightbox__close { top: 20px; right: 20px; }
.lightbox__prev { left: 20px; top: 50%; translate: 0 -50%; }
.lightbox__next { right: 20px; top: 50%; translate: 0 -50%; }
.lightbox__caption { position: absolute; left: 0; right: 0; bottom: 18px; text-align: center; color: #d8d3ca; font: 400 14px/1.4 var(--sans); letter-spacing: .06em; }

/* Formular */
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 24px; background: #fff8ee; padding: 48px; }
.form .full { grid-column: 1 / -1; }
.field { display: grid; gap: 6px; }
.field label { font: 500 14px/1.3 var(--sans); letter-spacing: .04em; }
.field input, .field textarea { font: 400 17px/1.5 var(--sans); color: var(--ink); background: var(--paper); border: 1px solid var(--line); padding: 12px 14px; min-height: 50px; border-radius: 0; }
.field textarea { min-height: 160px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: 2px solid var(--gold); outline-offset: 0; border-color: transparent; }
.field__error { color: #a03a22; font: 400 14px/1.4 var(--sans); margin: 0; }
.form__status { font: 400 15px/1.5 var(--sans); color: var(--muted); margin: 0; }

/* Rechtstexte */
.legal-text { max-width: 780px; }
.legal-text h2 { font-size: clamp(26px, 2.4vw, 34px); margin: 56px 0 16px; }
.legal-text h3 { font-size: 21px; margin: 32px 0 10px; }
.legal-text p, .legal-text li { font-size: 17px; color: var(--ink); }
.legal-text ul { padding-left: 22px; }

/* ---------- Fußzeile ---------- */
.site-footer { background: var(--night); color: #d8d3ca; padding: 80px 0 40px; font: 400 15px/1.7 var(--sans); }
.site-footer .wrap { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
.site-footer .brand { color: #fff; margin-bottom: 18px; }
.site-footer h2 { font: 500 13px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: #fff; margin: 0 0 18px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.site-footer address { font-style: normal; }
.legal-row { grid-column: 1 / -1; border-top: 1px solid rgba(255,255,255,.12); padding-top: 24px; margin-top: 16px; display: flex; flex-wrap: wrap; gap: 8px 28px; font-size: 14px; }
.legal-row > span { margin-right: auto; }

/* ---------- Ergänzungen ---------- */
.hero__eyebrow { margin: 0 0 18px; font: 400 15px/1.5 var(--sans); letter-spacing: .18em; text-transform: uppercase; }
.hero .booking-bar--hero { background: rgba(26, 27, 23, .78); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); opacity: 0; animation: up 1s .8s var(--ease) forwards; transform: translateY(24px); }
.has-hero .site-header.menu-open { background: var(--paper); color: var(--ink); }
.has-hero .site-header.menu-open::before { display: none; }
.nav-only-mobile { display: none; }
.page-title { font: 300 clamp(40px, 5vw, 72px)/1.05 var(--display); letter-spacing: -.02em; margin: 0 0 28px; }
.no-hero main > section:first-child { padding-top: 96px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 72px; }
.chips a { font: 400 15px/1 var(--sans); letter-spacing: .04em; text-decoration: none; padding: 12px 18px; border: 1px solid var(--line); background: #fff8ee; transition: background .25s, color .25s, border-color .25s; }
.chips a:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.gallery-group { padding: 0; scroll-margin-top: calc(var(--header-h) + 24px); }
.gallery-group h2 { font-size: clamp(28px, 2.6vw, 38px); }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.pair figure { aspect-ratio: 3 / 4; }
.strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.strip img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.howto { list-style: none; margin: 0; padding: 0; }
.howto .tile__img { aspect-ratio: 4 / 3; }
.address-big { font: 400 26px/1.45 var(--serif); font-style: normal; margin: 0 0 24px; }
.columns > figure img { width: 100%; background: #fff; padding: 16px; }
.price-card b { white-space: nowrap; }
@media (max-width: 1060px) {
  .nav-only-mobile { display: block; }
  .strip { grid-template-columns: 1fr 1fr 1fr; }
}
@media (max-width: 700px) {
  .strip { grid-template-columns: 1fr; }
  .rows li { flex-direction: column; gap: 2px; }
  .rows li span:last-child { text-align: left; }
  .hero h1 { font-size: 40px; }
  .hero::after { background: linear-gradient(180deg, rgba(0,0,0,.3) 0%, rgba(0,0,0,.05) 25%, rgba(0,0,0,.45) 55%, rgba(0,0,0,.7) 100%); }
  .hero__eyebrow { font-size: 13px; }
  .hero__text { padding-bottom: 28px; }
  .booking-bar .wrap { padding-block: 16px; }
  .hero .booking-bar__title { display: none; }
}

/* ---------- Einblenden beim Scrollen ---------- */
.js .fade { opacity: 0; transform: translateY(32px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.js .fade.is-in { opacity: 1; transform: none; }

/* ---------- Unterseiten ohne Titelbild ---------- */
.no-hero main { padding-top: var(--header-h); }

/* ---------- Bildschirmbreiten ---------- */
@media (max-width: 1180px) {
  .main-nav ul { gap: 18px; }
  .main-nav a, .header-actions a:not(.btn) { font-size: 14px; }
}
@media (max-width: 1060px) {
  .nav-toggle { display: block; }
  .main-nav { position: fixed; inset: var(--header-h) 0 0; background: var(--paper); color: var(--ink); padding: 32px 24px; transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .3s, transform .3s, visibility .3s; overflow-y: auto; }
  .main-nav.is-open { opacity: 1; transform: none; visibility: visible; }
  .main-nav ul { flex-direction: column; gap: 0; }
  .main-nav a { display: block; font: 400 26px/1.2 var(--serif); padding: 16px 0; border-bottom: 1px solid var(--line); background: none; }
  .header-actions .header-contact { display: none; }
  .split, .split--flip, .columns, .columns--3, .steps, .site-footer .wrap { grid-template-columns: 1fr; }
  .split--flip > :first-child { order: 0; }
  .tiles { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .booking-bar .wrap { justify-content: center; }
}
@media (max-width: 700px) {
  :root { --header-h: 72px; }
  body { font-size: 17px; }
  section { padding: 88px 0; }
  .brand { font-size: 21px; } .brand svg { width: 38px; height: 32px; }
  .header-actions .btn { display: none; }
  .tiles { grid-template-columns: 1fr; }
  .tile__img { aspect-ratio: 4 / 3; }
  .facts strong { font-size: 30px; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .form { grid-template-columns: 1fr; padding: 28px 20px; }
  .booking { width: 100%; }
  .booking label { flex: 1 1 140px; min-width: 0; }
  .booking button { flex: 1 1 100%; min-height: 54px; }
  .dock { top: auto; bottom: 0; right: 0; left: 0; transform: none; grid-auto-flow: column; grid-auto-columns: 1fr; border-radius: 0; }
  .dock a + a { border-top: 0; border-left: 1px solid rgba(255,255,255,.12); }
  .site-footer { padding-bottom: 110px; }
  .lightbox { padding: 72px 12px; }
  .lightbox__prev, .lightbox__next { top: auto; bottom: 16px; translate: none; }
  .scroll-cue { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .fade, .reveal-up > *, .hero .booking-bar--hero { opacity: 1; transform: none; }
  .js .ornament svg { opacity: 1; transform: none; }
}
main > .booking-bar:last-child { border-bottom: 1px solid rgba(255,255,255,.1); }
main > .booking-bar:last-child .wrap { padding-block: 32px; }

/* Fotos per Klick vergrößern */
.zoomable { cursor: zoom-in; }
img.zoomable:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* Startseite: engerer Übergang vom Willkommen zu „Ruhig gelegen“ */
.welcome { padding-bottom: 48px; }
.welcome + section { padding-top: 48px; }

/* Startseite: Titelbild tiefer ansetzen, damit weniger Dach und mehr Berge zu sehen sind */
.hero { padding: 0; }
.hero__img { inset: auto 0 0 0; height: 108%; object-position: 50% 100%; transform-origin: 50% 100%; }
@media (max-width: 700px) {
  /* Handy: Bild nicht so stark zoomen, Buchungsleiste unter das Bild */
  .hero { height: auto; min-height: 0; }
  .hero__img { inset: 0 0 auto 0; height: 64svh; object-position: 56% 50%; transform-origin: 56% 50%; }
  .hero::after { inset: 0 0 auto 0; height: 64svh; }
  .hero__text { min-height: 64svh; display: flex; flex-direction: column; justify-content: flex-end; padding-top: 96px; }
  .hero .booking-bar--hero { background: var(--night); -webkit-backdrop-filter: none; backdrop-filter: none; }
}
