/* Ferienhaus Wölfli – statische Seite (aus dem WordPress-Theme v2.1 übernommen) */

:root {
  --accent: #3d5a45;
  --bg: #fbfaf7;
  --bg-alt: #f2f0eb;
  --ink: #1b1c1a;
  --muted: #62645f;
  --line: #e3e0d9;
  --wrap: 1200px;
  --gut: clamp(20px, 5vw, 56px);
  --sect: clamp(72px, 12vh, 140px);
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --head: 'Inter Tight', 'Inter', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 16px/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
iframe { border: 0; }
::selection { background: var(--accent); color: #fff; }

h1, h2, h3 { font-family: var(--head); font-weight: 500; letter-spacing: -0.02em; margin: 0; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.section { padding: var(--sect) 0; }
.section--alt { background: var(--bg-alt); }

/* Abschnittskopf: kleine Nummer + Titel */
.eyebrow {
  display: block;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 20px;
}
.eyebrow span { color: var(--accent); margin-right: 10px; }
.h2 { font-size: clamp(32px, 4.4vw, 54px); line-height: 1.08; max-width: 18ch; }
.h3 { font-size: 20px; line-height: 1.3; }
.lead { font-size: clamp(17px, 1.6vw, 19px); color: var(--muted); max-width: 54ch; margin: 24px 0 0; }
.lead + .lead { margin-top: 16px; }
.sect-head { display: grid; grid-template-columns: 1fr; gap: 0; margin-bottom: clamp(40px, 6vh, 64px); }
@media (min-width: 900px) {
  .sect-head { grid-template-columns: 5fr 7fr; align-items: end; gap: 48px; }
  .sect-head .lead { margin: 0; }
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 24px;
  font: 500 15px/1 var(--sans);
  text-decoration: none;
  border: 1px solid var(--ink);
  background: var(--ink); color: #fff;
  transition: background .2s, color .2s, border-color .2s;
}
.btn:hover { background: var(--accent); border-color: var(--accent); }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn--light { background: #fff; color: var(--ink); border-color: #fff; }
.btn--light:hover { background: transparent; color: #fff; border-color: #fff; }
.btn .arr { transition: transform .2s; }
.btn:hover .arr { transform: translateX(3px); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 250, 247, .9);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo { text-decoration: none; font-family: var(--head); font-size: 19px; font-weight: 600; letter-spacing: -0.01em; }
.logo small { font-weight: 400; color: var(--muted); margin-left: 6px; font-size: 19px; }
.nav { display: flex; align-items: center; gap: clamp(16px, 2.4vw, 36px); font-size: 15px; }
.nav a { text-decoration: none; color: var(--muted); transition: color .2s; }
.nav a:hover { color: var(--ink); }
.nav .btn { color: #fff; padding: 11px 18px; font-size: 14px; }
.burger { display: none; background: none; border: 0; padding: 8px; margin-right: -8px; cursor: pointer; color: var(--ink); }
.burger span { display: block; width: 22px; height: 1.5px; background: currentColor; margin: 5px 0; transition: transform .25s, opacity .25s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
.mobile-nav {
  display: none; position: fixed; inset: 72px 0 0; z-index: 49;
  background: var(--bg); padding: 24px var(--gut);
  flex-direction: column;
}
.mobile-nav.open { display: flex; }
.mobile-nav a { text-decoration: none; font-family: var(--head); font-size: 28px; font-weight: 500; padding: 14px 0; border-bottom: 1px solid var(--line); }
.mobile-nav .btn { margin-top: 28px; justify-content: center; font-size: 16px; border-bottom: 1px solid var(--ink); }
@media (max-width: 760px) {
  .nav { display: none; }
  .burger { display: block; }
}

/* Hero */
.hero { padding: clamp(40px, 8vh, 96px) 0 0; }
.hero__top { display: grid; gap: 28px; margin-bottom: clamp(36px, 6vh, 64px); }
@media (min-width: 900px) { .hero__top { grid-template-columns: 7fr 5fr; align-items: end; gap: 48px; } }
.hero h1 { font-size: clamp(42px, 7vw, 96px); line-height: 1; letter-spacing: -0.035em; }
.hero h1 em { font-style: normal; color: var(--muted); }
.hero__side p { color: var(--muted); font-size: 17px; margin: 0 0 28px; max-width: 40ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
/* Panorama-Format passend zum Bild (2048 × 747), damit es nicht hochskaliert wird */
.hero__img { width: 100%; aspect-ratio: 2048 / 747; min-height: 260px; object-fit: cover; }

/* Kennzahlen */
.facts { display: grid; grid-template-columns: repeat(2, 1fr); border-bottom: 1px solid var(--line); }
@media (min-width: 760px) { .facts { grid-template-columns: repeat(4, 1fr); } }
.fact { padding: 28px 0; border-top: 1px solid var(--line); }
.fact + .fact { padding-left: 24px; border-left: 1px solid var(--line); }
@media (max-width: 759px) { .fact:nth-child(3) { padding-left: 0; border-left: 0; } }
.fact b { display: block; font-family: var(--head); font-size: clamp(28px, 3vw, 40px); font-weight: 500; letter-spacing: -0.02em; line-height: 1.1; }
.fact span { font-size: 14px; color: var(--muted); }

/* Zwei Spalten Text/Bild */
.split { display: grid; gap: clamp(40px, 6vw, 96px); align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; } }
.split__img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.signature { margin: 28px 0 0; font-weight: 500; }

/* Ausstattung als Liste */
.list { list-style: none; margin: 32px 0 0; padding: 0; border-top: 1px solid var(--line); max-width: 520px; }
.list li { display: flex; gap: 14px; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.list li::before { content: ''; flex: none; width: 6px; height: 6px; margin-top: 9px; background: var(--accent); }

.pics { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.pics img { width: 100%; height: 100%; aspect-ratio: 1; object-fit: cover; }
.pics img:first-child { grid-column: span 2; aspect-ratio: 16 / 10; }

/* Info-Zeilen (Zimmer, Praktisches, Attraktionen) */
.rows { border-top: 1px solid var(--ink); }
.row { display: grid; gap: 8px 48px; padding: 28px 0; border-bottom: 1px solid var(--line); }
@media (min-width: 760px) { .row { grid-template-columns: 4fr 8fr; } }
.row p { margin: 0; color: var(--muted); max-width: 62ch; }
.row strong { color: var(--ink); font-weight: 500; }
.subhead { margin: clamp(56px, 8vh, 96px) 0 20px; }

.rooms { display: grid; gap: 0; border-top: 1px solid var(--ink); }
@media (min-width: 760px) { .rooms { grid-template-columns: repeat(3, 1fr); } }
.room { padding: 24px 0; border-bottom: 1px solid var(--line); }
@media (min-width: 760px) { .room { padding: 24px 24px 24px 0; } .room + .room { padding-left: 24px; border-left: 1px solid var(--line); } }
.room small { display: block; font-size: 13px; color: var(--accent); font-weight: 500; letter-spacing: .04em; margin-bottom: 6px; }

/* Galerie */
.gallery-tabs { display: flex; gap: 8px; margin-bottom: 24px; }
.gallery-tabs button {
  font: 500 14px/1 var(--sans); padding: 10px 16px; cursor: pointer;
  background: transparent; color: var(--muted); border: 1px solid var(--line);
}
.gallery-tabs button[aria-selected="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
@media (min-width: 760px) { .gallery { grid-template-columns: repeat(4, 1fr); } }
.gallery[hidden] { display: none; }
.gallery button { padding: 0; border: 0; background: none; cursor: zoom-in; overflow: hidden; }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .5s ease, opacity .3s; }
.gallery button:hover img { transform: scale(1.03); }
.gallery button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* Preise */
.prices { display: grid; gap: 0; border-top: 1px solid var(--ink); }
@media (min-width: 760px) { .prices { grid-template-columns: repeat(3, 1fr); } }
.price { padding: 32px 0; border-bottom: 1px solid var(--line); }
@media (min-width: 760px) { .price { padding: 32px 32px 32px 0; border-bottom: 0; } .price + .price { padding-left: 32px; border-left: 1px solid var(--line); } }
.price small { font-size: 13px; color: var(--muted); letter-spacing: .04em; text-transform: uppercase; }
.price b { display: block; font-family: var(--head); font-weight: 500; font-size: clamp(36px, 4vw, 52px); letter-spacing: -0.03em; line-height: 1.1; margin: 14px 0 2px; }
.price .unit { font-size: 15px; color: var(--ink); }
.price p { margin: 16px 0 0; font-size: 15px; color: var(--muted); }
.price--main b { color: var(--accent); }

/* Reservierung */
/* Breitbild passend zum Bild (1280 × 466), damit nichts Wichtiges abgeschnitten wird */
.band { width: 100%; aspect-ratio: 1280 / 466; max-height: 70vh; min-height: 200px; object-fit: cover; object-position: center 60%; }
.reserve { background: var(--accent); color: #fff; }
.reserve .eyebrow, .reserve .eyebrow span, .reserve .lead { color: rgba(255, 255, 255, .78); }
.reserve-grid { display: grid; gap: 40px; }
.reserve-grid .calendar { grid-column: 1 / -1; margin-top: 16px; }
.reserve-contact .contact { margin-top: 0; }
@media (min-width: 900px) { .reserve-grid { grid-template-columns: 1fr 1fr; column-gap: 72px; align-items: end; } }
.contact { margin: 36px 0 32px; padding: 0; list-style: none; border-top: 1px solid rgba(255, 255, 255, .25); }
.contact li { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid rgba(255, 255, 255, .25); font-size: 15px; }
.contact li span:first-child { color: rgba(255, 255, 255, .7); }
.contact a { text-decoration: none; }
.contact a:hover { text-decoration: underline; text-underline-offset: 3px; }
.calendar { background: #fff; color: var(--ink); padding: 20px; }
.calendar p { margin: 0 0 14px; font-size: 14px; font-weight: 500; }
.calendar iframe { width: 100%; height: 600px; display: block; }
.calendar-empty { min-height: 280px; display: flex; align-items: center; justify-content: center; text-align: center; padding: 24px; border: 1px dashed var(--line); color: var(--muted); font-size: 14px; }

/* Footer */
.site-footer { padding: 64px 0 32px; font-size: 14px; color: var(--muted); }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px; padding-bottom: 48px; }
.footer-top .logo { color: var(--ink); display: inline-block; margin-bottom: 8px; }
.footer-top p { margin: 0; max-width: 36ch; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 12px 28px; }
.footer-nav a, .footer-bottom a { text-decoration: none; }
.footer-nav a:hover, .footer-bottom a:hover { color: var(--ink); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; padding-top: 24px; border-top: 1px solid var(--line); }
.footer-bottom span { display: flex; gap: 20px; }

/* Lightbox */
.lightbox { display: none; position: fixed; inset: 0; z-index: 200; background: rgba(20, 21, 19, .94); align-items: center; justify-content: center; padding: 56px 64px; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 100%; max-height: 100%; object-fit: contain; }
.lightbox button { position: absolute; background: none; border: 0; color: #fff; cursor: pointer; width: 48px; height: 48px; font-size: 28px; line-height: 1; opacity: .8; }
.lightbox button:hover { opacity: 1; }
.lb-close { top: 12px; right: 12px; }
.lb-prev { left: 8px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 8px; top: 50%; transform: translateY(-50%); }
.lb-count { position: absolute; bottom: 18px; left: 0; right: 0; text-align: center; color: rgba(255, 255, 255, .7); font-size: 13px; }

/* Sanftes Einblenden */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s ease, transform .7s ease; }
  .reveal.in { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* Unterseiten (Impressum, Datenschutz) */
.legal { padding: clamp(48px, 10vh, 112px) 0 var(--sect); }
.legal .wrap { max-width: 820px; }
.legal h1 { font-size: clamp(36px, 5vw, 60px); line-height: 1.05; margin-bottom: 40px; }
.legal h2 { font-size: 15px; font-family: var(--sans); font-weight: 600; letter-spacing: .04em; text-transform: uppercase; margin: 40px 0 12px; }
.legal p, .legal li { color: var(--muted); max-width: 70ch; }
.legal a { color: var(--accent); text-underline-offset: 3px; overflow-wrap: anywhere; }
.back { display: inline-block; margin-bottom: 32px; font-size: 14px; color: var(--muted); text-decoration: none; }
.back:hover { color: var(--ink); }
