:root {
  --bg: #faf6ef;
  --bg-alt: #f2ebdf;
  --surface: #ffffff;
  --ink: #1f2a2e;
  --ink-soft: #55615f;
  --line: #e4dbcc;
  --sea: #1f4f5e;
  --sea-deep: #163b47;
  --sea-tint: #e3eef0;
  --wood: #a8673f;
  --wood-tint: #f6e7da;
  --booked: #cf8a6e;
  --booked-ink: #6e3220;
  --radius: 18px;
  --radius-s: 10px;
  --shadow: 0 1px 2px rgb(31 42 46 / 0.04), 0 8px 28px rgb(31 42 46 / 0.07);
  --serif: "Fraunces", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--sea); text-underline-offset: 3px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.15; margin: 0 0 0.5em; letter-spacing: -0.01em; }
h2 { font-size: clamp(1.9rem, 1.4rem + 2vw, 2.8rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
svg { width: 1.25em; height: 1.25em; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--wood); outline-offset: 2px; border-radius: 6px; }

.wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }
.section { padding-block: clamp(64px, 9vw, 120px); }
.section-lead { color: var(--ink-soft); max-width: 60ch; margin-bottom: 2rem; }
.eyebrow { font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--wood); font-weight: 600; margin-bottom: 0.8rem; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
  background: var(--sea); color: #fff; text-decoration: none; border: 0; cursor: pointer;
  padding: 0.85em 1.5em; border-radius: 999px; font-weight: 600; font-size: 0.98rem;
  transition: background 0.2s, transform 0.2s;
}
.btn:hover { background: var(--sea-deep); }
.btn:active { transform: translateY(1px); }
.btn:disabled { background: #b9c4c4; cursor: not-allowed; }
.btn-small { padding: 0.55em 1.1em; font-size: 0.9rem; }
.btn-block { width: 100%; }
.btn-ghost { background: transparent; color: var(--sea); box-shadow: inset 0 0 0 1.5px var(--sea); }
.btn-ghost:hover { background: var(--sea); color: #fff; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgb(250 246 239 / 0.86);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid rgb(228 219 204 / 0.7);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 68px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand-mark {
  font-family: var(--serif); font-size: 1.15rem; font-weight: 600; letter-spacing: -0.04em;
  width: 42px; height: 42px; display: grid; place-items: center;
  border: 1.5px solid var(--ink); border-radius: 50%;
}
.brand-text { font-family: var(--serif); font-size: 1.25rem; font-weight: 500; line-height: 1.05; }
.brand-text small { display: block; font-family: var(--sans); font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-soft); margin-top: 3px; white-space: nowrap; }
.nav { display: flex; align-items: center; gap: 26px; font-size: 0.95rem; }
.nav a:not(.btn) { color: var(--ink); text-decoration: none; }
.nav a:not(.btn):hover { color: var(--wood); }
@media (max-width: 760px) {
  .nav a:not(.btn) { display: none; }
}
@media (max-width: 380px) {
  .brand-text small { letter-spacing: 0.06em; }
}

/* Hero */
.hero { position: relative; min-height: min(86vh, 760px); display: flex; align-items: flex-end; color: #fff; overflow: hidden; }
.hero picture, .hero img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero img { object-fit: cover; object-position: 50% 60%; }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.2s ease; }
.hero-video.is-playing { opacity: 1; }
.hero-toggle {
  position: absolute; right: 16px; top: 16px; z-index: 2; width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid rgb(255 255 255 / 0.35); background: rgb(10 25 30 / 0.35); color: #fff; cursor: pointer;
  display: grid; place-items: center; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.hero-toggle:hover { background: rgb(10 25 30 / 0.6); }
.hero-toggle svg { width: 18px; height: 18px; }
.hero-toggle .i-play { display: none; }
.hero-toggle.is-paused .i-play { display: block; }
.hero-toggle.is-paused .i-pause { display: none; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgb(10 25 30 / 0.55) 0%, rgb(10 25 30 / 0.15) 55%, transparent 75%), linear-gradient(180deg, transparent 40%, rgb(10 25 30 / 0.55) 100%); }
.hero-content { position: relative; padding-block: 120px 64px; }
.hero .eyebrow { color: #f6e2cf; }
.hero h1 { font-size: clamp(2.4rem, 1.6rem + 4vw, 4.6rem); max-width: 20ch; text-shadow: 0 2px 30px rgb(0 0 0 / 0.25); }
.hero .lead { font-size: clamp(1.05rem, 1rem + 0.4vw, 1.25rem); max-width: 46ch; opacity: 0.95; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 24px; margin-top: 1.8rem; }
.hero .btn { background: #fff; color: var(--sea-deep); }
.hero .btn:hover { background: var(--wood-tint); }
.hero-price { font-size: 1rem; }
.hero-price strong { font-family: var(--serif); font-size: 1.5rem; font-weight: 500; }

/* Facts */
.facts {
  list-style: none; padding: 18px 24px; margin-top: -34px; margin-bottom: 0; position: relative; z-index: 2;
  background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; font-size: 0.95rem;
}
.facts li { display: flex; align-items: center; gap: 10px; }
.facts svg { color: var(--wood); }

/* Welcome */
.welcome { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.welcome-text p { color: var(--ink-soft); }
.welcome-photo { margin: 0; position: relative; padding: 24% 0 0 16%; }
.welcome-photo img { border-radius: var(--radius); object-fit: cover; box-shadow: var(--shadow); }
.wp-main { width: 100%; aspect-ratio: 4 / 3; }
.wp-inset { position: absolute; left: 0; top: 0; width: 38%; aspect-ratio: 3 / 4; border: 6px solid var(--bg); box-sizing: content-box; }
.signature { font-family: var(--serif); font-size: 1.15rem; color: var(--ink) !important; margin-top: 1.6rem; }
.signature span { font-style: italic; color: var(--wood); }
@media (max-width: 860px) {
  .welcome { grid-template-columns: 1fr; }
  .welcome-photo { padding: 20% 0 0 12%; }
  .wp-inset { width: 34%; border-width: 4px; }
}

/* Features */
.features-section { background: var(--bg-alt); }
.features { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; margin-top: 2rem; }
.feature { background: var(--surface); border-radius: var(--radius); padding: 24px; }
.feature svg { width: 30px; height: 30px; color: var(--sea); margin-bottom: 14px; stroke-width: 1.5; }
.feature h3 { margin-bottom: 0.35em; }
.feature p { color: var(--ink-soft); font-size: 0.95rem; margin: 0; }
.rules { display: flex; align-items: center; gap: 10px; margin: 28px 0 0; color: var(--ink-soft); font-size: 0.95rem; }
.rules svg { color: var(--wood); }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; gap: 12px; margin-top: 2rem; }
.g-item { padding: 0; border: 0; border-radius: var(--radius-s); overflow: hidden; cursor: zoom-in; background: var(--line); }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s cubic-bezier(.2,.7,.2,1); }
.g-item:hover img { transform: scale(1.04); }
.g-wide { grid-column: span 2; }
.g-tall { grid-row: span 2; }
.g-tall img { object-position: 50% 80%; }
@media (max-width: 860px) {
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 170px; }
}

.lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; }
.lightbox::backdrop { background: rgb(12 20 22 / 0.92); }
.lightbox[open] { display: grid; place-items: center; }
.lightbox img { max-width: min(92vw, 1500px); max-height: 86vh; border-radius: 8px; object-fit: contain; }
.lb-btn { position: fixed; border: 0; background: rgb(255 255 255 / 0.12); color: #fff; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; }
.lb-btn:hover { background: rgb(255 255 255 / 0.25); }
.lb-close { top: 16px; right: 16px; }
.lb-prev { left: 16px; top: 50%; translate: 0 -50%; }
.lb-next { right: 16px; top: 50%; translate: 0 -50%; }

/* Prices */
.prices-section { background: var(--sea-deep); color: #eef3f2; }
.prices-section .eyebrow { color: #e8b996; }
.prices-section a { color: #fff; }
.price-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 2rem; }
.price-card { background: rgb(255 255 255 / 0.06); border: 1px solid rgb(255 255 255 / 0.12); border-radius: var(--radius); padding: 28px; }
.price-card-accent { background: rgb(255 255 255 / 0.12); }
.price-card h3 { font-family: var(--sans); font-size: 0.85rem; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 600; opacity: 0.8; }
.price { font-size: 1rem; margin-bottom: 0.6em; }
.price strong { font-family: var(--serif); font-size: 2.4rem; font-weight: 500; }
.price-card p:last-child { margin: 0; opacity: 0.8; font-size: 0.95rem; }
/* kleines Info-"i" mit Popup (Hover, Fokus, Antippen) */
.info { position: relative; display: inline-block; vertical-align: 0.1em; }
.info-btn {
  width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid currentColor; background: transparent; color: inherit;
  font: italic 600 11px/1 var(--serif); display: inline-grid; place-items: center; padding: 0; cursor: help; opacity: 0.85;
}
.info-btn:hover, .info-btn:focus-visible { opacity: 1; }
.info-pop {
  position: absolute; left: 50%; bottom: calc(100% + 10px); translate: -50% 4px; z-index: 20;
  width: max-content; max-width: min(300px, 80vw); padding: 14px 16px; border-radius: 12px;
  background: #fff; color: var(--ink); box-shadow: 0 10px 30px rgb(0 0 0 / 0.18);
  font-size: 0.85rem; line-height: 1.5; text-align: left; display: grid; gap: 6px;
  opacity: 0; visibility: hidden; pointer-events: none; transition: opacity 0.15s, translate 0.15s, visibility 0.15s;
}
.info-pop::after { content: ""; position: absolute; top: 100%; left: 50%; translate: -50% 0; border: 7px solid transparent; border-top-color: #fff; }
.info:hover .info-pop, .info:focus-within .info-pop, .info.open .info-pop { opacity: 1; visibility: visible; translate: -50% 0; pointer-events: auto; }
.info-pop strong { font-weight: 600; }
.info-row { display: flex; justify-content: space-between; gap: 16px; }
.info-row b { font-weight: 600; font-variant-numeric: tabular-nums; }
.info-fine { color: var(--ink-soft); font-size: 0.78rem; }
@media (max-width: 600px) {
  .info-pop { position: fixed; left: 16px; right: 16px; bottom: 16px; width: auto; max-width: none; translate: 0 8px; }
  .info:hover .info-pop, .info:focus-within .info-pop, .info.open .info-pop { translate: 0 0; }
  .info-pop::after { display: none; }
}
.price-note { margin: 24px 0 0; color: rgb(238 243 242 / 0.85); font-size: 0.95rem; }
@media (max-width: 860px) { .price-cards { grid-template-columns: 1fr; } }

/* Booking */
.booking { display: grid; grid-template-columns: 1fr 360px; gap: 24px; align-items: start; }
@media (max-width: 1000px) { .booking { grid-template-columns: 1fr; } }
.cal-card, .request { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); padding: clamp(18px, 3vw, 28px); }
.cal-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.cal-hint { margin: 0; font-size: 0.92rem; color: var(--ink-soft); text-align: center; }
.icon-btn { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); display: grid; place-items: center; cursor: pointer; }
.icon-btn:hover:not(:disabled) { background: var(--bg-alt); }
.icon-btn:disabled { opacity: 0.35; cursor: default; }
.cal-months { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
@media (max-width: 640px) { .cal-months { grid-template-columns: 1fr; } .cal-month + .cal-month { display: none; } }
.cal-loading { grid-column: 1 / -1; color: var(--ink-soft); }
.cal-month h3 { text-align: center; font-size: 1.15rem; margin: 6px 0 12px; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px 0; }
.cal-dow { text-align: center; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.06em; color: var(--ink-soft); padding-bottom: 6px; text-transform: uppercase; }

.day {
  --fill: transparent;
  position: relative; height: 44px; border: 0; padding: 0; background: transparent; cursor: pointer;
  font-size: 0.92rem; font-variant-numeric: tabular-nums; display: grid; place-items: center; z-index: 0;
}
.day::before { content: ""; position: absolute; top: 3px; left: 50%; width: 38px; height: 38px; translate: -50% 0; border-radius: 10px; background: var(--fill); z-index: -1; }
.day:hover:not(:disabled)::before { box-shadow: inset 0 0 0 1.5px var(--sea); }
.day:disabled { cursor: default; }
.day.past { color: #b8bebc; }
.day.booked { --fill: var(--booked); color: #fff; }
.day.booked.past { --fill: #ead8cf; color: #b8a69c; }
/* Abreise eines Gastes am Vormittag → Nachmittag frei */
.day.dep { --fill: linear-gradient(135deg, var(--booked) 0 50%, transparent 50%); }
/* Anreise eines Gastes am Nachmittag → Vormittag frei */
.day.arr { --fill: linear-gradient(135deg, transparent 0 50%, var(--booked) 50%); }
.day.dep.past, .day.arr.past { --fill: transparent; }
.day.blocked { color: #b8bebc; text-decoration: line-through; text-decoration-color: rgb(0 0 0 / 0.2); }

.day.in-range::after { content: ""; position: absolute; inset: 3px -1px; background: var(--sea-tint); z-index: -2; }
.day.sel-start, .day.sel-end { color: #fff; font-weight: 600; }
.day.sel-start::before, .day.sel-end::before { background: var(--sea); box-shadow: none; }
.day.sel-start.has-end::after { content: ""; position: absolute; inset: 3px -1px 3px 50%; background: var(--sea-tint); z-index: -2; }
.day.sel-end::after { content: ""; position: absolute; inset: 3px 50% 3px -1px; background: var(--sea-tint); z-index: -2; }
.day.today:not(.sel-start):not(.sel-end) { font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }

.cal-legend { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 18px; font-size: 0.85rem; color: var(--ink-soft); }
.cal-legend span { display: inline-flex; align-items: center; gap: 8px; }
.lg { width: 16px; height: 16px; border-radius: 4px; display: inline-block; border: 1px solid var(--line); }
.lg-booked { background: var(--booked); border-color: var(--booked); }
.lg-change { background: linear-gradient(135deg, var(--booked) 0 50%, #fff 50%); }
.cal-updated { font-size: 0.8rem; color: var(--ink-soft); margin: 10px 0 0; }

.request h3 { font-size: 1.35rem; }
.summary { background: var(--bg); border-radius: var(--radius-s); padding: 14px 16px; margin-bottom: 18px; font-size: 0.93rem; }
.summary-empty { margin: 0; color: var(--ink-soft); }
.summary dl { margin: 0; display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; }
.summary dt { color: var(--ink-soft); }
.summary dd { margin: 0; text-align: right; font-variant-numeric: tabular-nums; }
.summary .total { border-top: 1px solid var(--line); padding-top: 8px; margin-top: 4px; font-weight: 600; color: var(--ink); }
.summary .dates { font-family: var(--serif); font-size: 1.1rem; margin-bottom: 10px; }
.summary .fine { margin: 8px 0 0; font-size: 0.8rem; color: var(--ink-soft); }
.summary .error { color: var(--booked-ink); margin: 0; }
.link-btn { background: none; border: 0; padding: 0; color: var(--sea); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; font-size: inherit; }
.fields { display: grid; gap: 12px; margin-bottom: 18px; }
.fields label { display: block; font-size: 0.88rem; font-weight: 500; }
.opt { color: var(--ink-soft); font-weight: 400; }
.fields input, .fields textarea {
  display: block; margin-top: 4px;
  font: inherit; font-size: 1rem; width: 100%; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--line); background: var(--bg); color: var(--ink);
}
.fields input:focus, .fields textarea:focus { outline: 2px solid var(--sea); outline-offset: 0; border-color: transparent; background: #fff; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.hp { position: absolute; left: -9999px; }
.form-status { margin: 12px 0 0; font-size: 0.92rem; }
.form-status:empty { display: none; }
.form-status.ok { color: #2c6a4a; }
.form-status.err { color: var(--booked-ink); }
.form-note { font-size: 0.8rem; color: var(--ink-soft); margin: 12px 0 0; }
.form-contact { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); display: grid; gap: 6px; font-size: 0.9rem; }
.form-contact p { margin: 0 0 4px; color: var(--ink-soft); }
.form-contact a { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 500; }
.form-contact a:hover { text-decoration: underline; }
.form-contact svg { color: var(--wood); }
.request-done h3 { font-size: 1.6rem; }
.request-done p { color: var(--ink-soft); }
.request-done #done-text { color: var(--ink); font-size: 1.05rem; }
.done-fine { font-size: 0.9rem; }
.done-demo { background: var(--wood-tint); border-radius: var(--radius-s); padding: 10px 12px; font-size: 0.85rem; }
.request-done:focus { outline: none; }

/* Location */
.location-section { background: var(--bg-alt); }
.location { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.location p { color: var(--ink-soft); }
.loc-list { list-style: none; padding: 0; margin: 0 0 1.4em; display: grid; gap: 10px; }
.loc-list li { display: flex; gap: 10px; align-items: center; }
.loc-list svg { color: var(--wood); }
.link-arrow { font-weight: 600; text-decoration: none; }
.link-arrow::after { content: " →"; }
.map { aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; background: var(--sea-tint); box-shadow: var(--shadow); }
.map iframe { width: 100%; height: 100%; border: 0; }
.map-consent { height: 100%; display: grid; place-content: center; justify-items: center; text-align: center; gap: 6px; padding: 24px; }
.map-consent svg { width: 36px; height: 36px; color: var(--sea); }
.map-consent p { max-width: 34ch; font-size: 0.9rem; }
@media (max-width: 860px) { .location { grid-template-columns: 1fr; } }

/* Footer */
.site-footer { background: var(--ink); color: #c9d0ce; padding-block: 48px; font-size: 0.93rem; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; align-items: flex-start; }
.footer-inner p { margin: 0; }
.footer-brand { font-family: var(--serif); font-size: 1.3rem; color: #fff; }
.footer-contact { display: grid; gap: 8px; }
.footer-contact a { display: inline-flex; align-items: center; gap: 10px; }
.footer-links { display: flex; gap: 20px; }

/* Legal pages */
.legal { padding-block: 56px 96px; max-width: 760px; }
.legal h1 { font-size: clamp(2rem, 1.6rem + 2vw, 2.8rem); }
.legal h2 { font-size: 1.35rem; margin-top: 2em; }
.legal p, .legal li { color: var(--ink-soft); }
.legal ul { padding-left: 1.2em; }
.legal mark { background: var(--wood-tint); color: var(--ink); padding: 0 3px; border-radius: 3px; }
.legal-date { margin-top: 2.5em; font-size: 0.9rem; }
.draft-note { background: var(--wood-tint); border-radius: var(--radius-s); padding: 12px 16px; font-size: 0.9rem; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
