/* ==========================================================================
   Ferien bei Birte & Marc – warmes, ruhiges Design (Terrakotta · Sand · Meer)
   ========================================================================== */

@font-face { font-family: 'Fraunces'; src: url('/fonts/fraunces-latin-wght-normal.woff2') format('woff2'); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: 'Fraunces'; src: url('/fonts/fraunces-latin-wght-italic.woff2') format('woff2'); font-weight: 100 900; font-style: italic; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('/fonts/inter-latin-wght-normal.woff2') format('woff2'); font-weight: 100 900; font-style: normal; font-display: swap; }

:root {
  --bg: #fbf8f3;
  --paper: #ffffff;
  --sand: #f4ece0;
  --sand-2: #ebe0cf;
  --ink: #27231f;
  --ink-2: #4a433b;
  --muted: #6e665c;
  --line: #e7ddce;
  --terra: #b4552f;
  --terra-d: #93432a;
  --terra-l: #f6e3d8;
  --sea: #2f5d62;
  --sea-l: #e3eeee;
  --gold: #e3a34a;
  --ok: #2c7a4b;
  --ok-l: #e4f3ea;
  --warn-l: #fff4dc;
  --danger: #b3261e;
  --danger-l: #fbe7e5;
  --r: 14px;
  --r-l: 22px;
  --shadow: 0 1px 2px rgba(60, 40, 20, .06), 0 8px 28px rgba(60, 40, 20, .08);
  --shadow-l: 0 2px 6px rgba(60, 40, 20, .06), 0 22px 60px rgba(60, 40, 20, .14);
  --serif: 'Fraunces', 'Iowan Old Style', Georgia, serif;
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --wrap: 1200px;
  --header-h: 72px;
}

*, *::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 { transition: none !important; animation: none !important; } }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.65 var(--sans); font-feature-settings: 'cv11', 'ss01'; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--terra-d); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--terra); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 6px; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.2; }
button, input, select, textarea { font: inherit; color: inherit; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; }
.skip:focus { top: 12px; }
.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
.narrow { width: min(820px, 100% - 40px); margin-inline: auto; }
.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }
.plain { list-style: none; margin: 0; padding: 0; }
.plain li { margin: .35em 0; }
.pre { white-space: pre-wrap; }

/* Typografie */
.h1 { font: 500 clamp(2rem, 4.2vw, 3.1rem)/1.12 var(--serif); letter-spacing: -.015em; font-variation-settings: 'opsz' 96, 'SOFT' 50; }
.h2 { font: 500 clamp(1.6rem, 3vw, 2.3rem)/1.18 var(--serif); letter-spacing: -.01em; font-variation-settings: 'opsz' 72, 'SOFT' 50; }
.h3 { font: 600 1.3rem/1.3 var(--serif); font-variation-settings: 'opsz' 36; }
.h4 { font: 600 1.05rem/1.35 var(--sans); }
.eyebrow { font-size: .78rem; font-weight: 650; letter-spacing: .14em; text-transform: uppercase; color: var(--terra); margin: 0 0 .7em; }
.lead { font-size: 1.15rem; color: var(--ink-2); }
.prose p { color: var(--ink-2); }

/* Icons */
.i { width: 1.25em; height: 1.25em; flex: none; vertical-align: -.25em; }
.i-s { width: 1.05em; height: 1.05em; }
.i-l { width: 34px; height: 34px; color: var(--terra); }
.i-xl { width: 44px; height: 44px; }
.star { color: var(--gold); fill: var(--gold); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; padding: .8em 1.35em; border-radius: 999px; border: 0; background: var(--terra); color: #fff; font-weight: 600; font-size: 1rem; line-height: 1.2; text-decoration: none; cursor: pointer; transition: background .2s, transform .2s, box-shadow .2s; box-shadow: 0 6px 16px rgba(180, 85, 47, .25); }
.btn:hover { background: var(--terra-d); color: #fff; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn .i { width: 1.1em; height: 1.1em; }
.btn-small { padding: .55em 1em; font-size: .92rem; box-shadow: none; }
.btn-big { padding: 1em 1.8em; font-size: 1.08rem; }
.btn-block { width: 100%; }
.btn-light { background: var(--paper); color: var(--ink); border: 1px solid var(--line); box-shadow: none; }
.btn-light:hover { background: var(--sand); color: var(--ink); }
.btn-danger { background: var(--danger); box-shadow: none; }
.btn-danger:hover { background: #8f1e18; }
.btn[disabled], .btn[aria-disabled='true'] { opacity: .55; cursor: not-allowed; transform: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; }
.linklike { background: none; border: 0; padding: 0; color: var(--terra-d); text-decoration: underline; cursor: pointer; font-size: inherit; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; height: var(--header-h); background: rgba(251, 248, 243, .9); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid transparent; transition: background .3s, border-color .3s, color .3s; }
.site-header.is-scrolled { border-bottom-color: var(--line); }
.site-header.is-transparent:not(.is-scrolled):not(.nav-open) { position: fixed; inset: 0 0 auto 0; background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; color: #fff; }
.site-header.is-transparent:not(.is-scrolled):not(.nav-open) .logo, .site-header.is-transparent:not(.is-scrolled):not(.nav-open) .nav > a:not(.btn) { color: #fff; text-shadow: 0 1px 12px rgba(0, 0, 0, .35); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font: 600 1.15rem/1 var(--serif); color: var(--ink); text-decoration: none; letter-spacing: -.01em; }
.logo:hover { color: inherit; }
.logo-mark { width: 36px; height: 36px; }
.nav { display: flex; align-items: center; gap: 26px; }
.nav > a:not(.btn) { color: var(--ink); text-decoration: none; font-weight: 500; font-size: .97rem; line-height: 1.15; }
.nav > a:not(.btn) small { display: block; font-size: .72rem; color: inherit; opacity: .7; font-weight: 400; }
.nav > a:not(.btn):hover { color: var(--terra); }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: inherit; }
.nav-toggle .i { width: 28px; height: 28px; }
@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; }
  .nav { position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 20px 24px; background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); transform: translateY(-8px); opacity: 0; visibility: hidden; transition: .2s; }
  .site-header.nav-open .nav { transform: none; opacity: 1; visibility: visible; }
  .nav > a:not(.btn) { padding: 14px 4px; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .nav > a:not(.btn) small { display: inline; margin-left: 6px; }
  .nav .btn { margin-top: 16px; }
}

/* Hero */
.hero { position: relative; min-height: min(92svh, 860px); display: flex; align-items: flex-end; color: #fff; overflow: hidden; isolation: isolate; }
.hero-media { position: absolute; inset: 0; z-index: -1; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 60%; animation: heroZoom 18s ease-out both; }
@keyframes heroZoom { from { transform: scale(1.08); } to { transform: scale(1); } }
.hero::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(20, 14, 8, .45) 0%, rgba(20, 14, 8, 0) 28%, rgba(20, 14, 8, .15) 55%, rgba(20, 14, 8, .68) 100%); }
.hero-content { padding: 140px 0 clamp(48px, 9vh, 96px); }
.hero .eyebrow { color: #ffe1c4; }
.hero h1 { font: 500 clamp(2.5rem, 6.4vw, 5rem)/1.04 var(--serif); letter-spacing: -.02em; max-width: 14ch; text-shadow: 0 2px 30px rgba(0, 0, 0, .3); font-variation-settings: 'opsz' 144, 'SOFT' 80; margin-bottom: .35em; }
.hero h1 em { font-style: italic; color: #ffd9b0; font-weight: 400; }
.hero-lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); max-width: 40em; text-shadow: 0 1px 16px rgba(0, 0, 0, .35); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.hero-cta.center { justify-content: center; }
.btn-hero { background: rgba(255, 255, 255, .95); color: var(--ink); box-shadow: 0 10px 30px rgba(0, 0, 0, .2); }
.btn-hero:hover { background: #fff; color: var(--terra-d); }

/* Sektionen */
.section { padding: clamp(56px, 9vw, 110px) 0; }
.section-sand { background: var(--sand); }
.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; margin-top: 44px; }
.card { background: var(--paper); border-radius: var(--r-l); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; transition: transform .3s, box-shadow .3s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-l); }
.card-media { aspect-ratio: 16 / 10; overflow: hidden; display: block; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s; }
.card:hover .card-media img { transform: scale(1.04); }
.card-body { padding: 26px 28px 28px; display: flex; flex-direction: column; flex: 1; }
.card-body .h3 a { color: var(--ink); text-decoration: none; }
.card-body .h3 a:hover { color: var(--terra); }
.card-body > p:not(.eyebrow) { color: var(--ink-2); }
.card-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 18px; border-top: 1px solid var(--line); }
.price-from { margin: 0; color: var(--muted); font-size: .95rem; }
.price-from strong { font: 600 1.55rem/1 var(--serif); color: var(--ink); }
.facts { list-style: none; padding: 0; margin: 4px 0 18px; display: flex; flex-wrap: wrap; gap: 8px 18px; color: var(--ink-2); font-size: .94rem; }
.facts li { display: inline-flex; align-items: center; gap: 6px; }
.facts .i { color: var(--sea); }
.facts-lg { font-size: 1rem; gap: 10px; margin-bottom: 28px; }
.facts-lg li { background: var(--paper); border: 1px solid var(--line); border-radius: 999px; padding: 8px 14px; }

.usp { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; margin-top: 44px; }
.usp > div { text-align: center; padding: 0 10px; }
.usp h3 { font: 600 1.25rem/1.3 var(--serif); margin: 14px 0 8px; }
.usp p { color: var(--ink-2); }

.steps { list-style: none; padding: 0; margin: 44px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; counter-reset: s; }
.steps li { background: var(--paper); border-radius: var(--r-l); padding: 30px 28px; box-shadow: var(--shadow); position: relative; }
.step-n { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--terra-l); color: var(--terra-d); font: 600 1.2rem/1 var(--serif); margin-bottom: 14px; }
.steps h3 { font: 600 1.2rem/1.3 var(--serif); }
.steps p { color: var(--ink-2); margin: 0; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split-media img { border-radius: var(--r-l); box-shadow: var(--shadow-l); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.checks { list-style: none; padding: 0; margin: 0; }
.checks li { position: relative; padding-left: 1.85em; margin: .5em 0; color: var(--ink-2); }
.checks .i { position: absolute; left: 0; top: .2em; color: var(--ok); }
.dots { margin: 0; padding-left: 1.2em; color: var(--ink-2); }
.dots li { margin: .4em 0; }

.faq { margin-top: 36px; display: grid; gap: 12px; }
.faq details { background: var(--paper); border-radius: var(--r); padding: 0 22px; box-shadow: 0 1px 2px rgba(60, 40, 20, .06); }
.faq summary { cursor: pointer; padding: 18px 0; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font: 400 1.6rem/1 var(--serif); color: var(--terra); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--ink-2); padding-bottom: 18px; margin: 0; }
.cta-band { background: linear-gradient(135deg, #2f5d62, #264b4f); color: #fff; }
.cta-band .h2 { color: #fff; }
.cta-band p { color: #d7e6e6; }
.cta-band .btn { background: #fff; color: var(--sea); box-shadow: none; }
.cta-band .btn:hover { background: var(--sand); }

/* Footer */
.site-footer { background: #231f1b; color: #d9d0c4; padding: 64px 0 28px; margin-top: 0; }
.site-footer a { color: #f1e7da; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer .logo { color: #fff; margin-bottom: 14px; }
.site-footer .muted { color: #a99f92; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1.2fr 1fr; gap: 32px; }
.footer-h { font: 650 .78rem/1 var(--sans); text-transform: uppercase; letter-spacing: .14em; color: #a99f92; margin-bottom: 14px; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; border-top: 1px solid #3a342e; margin-top: 44px; padding-top: 22px; font-size: .88rem; color: #a99f92; }

/* Unterkunftsseite */
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 22px 0 18px; font-size: .88rem; color: var(--muted); }
.crumbs li + li::before { content: '›'; margin-right: 6px; }
.crumbs a { color: var(--muted); }
.prop-head { margin-bottom: 22px; }
.prop-head .h1 { margin-bottom: .3em; max-width: 24ch; }
.prop-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; color: var(--ink-2); margin: 0; }

.gallery { position: relative; display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 10px; height: clamp(320px, 46vw, 540px); border-radius: var(--r-l); overflow: hidden; }
.g-item { padding: 0; border: 0; cursor: zoom-in; overflow: hidden; background: var(--sand); }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s, filter .3s; }
.g-item:hover img { transform: scale(1.04); filter: brightness(1.04); }
.g-0 { grid-row: span 2; }
.g-all { position: absolute; right: 16px; bottom: 16px; box-shadow: var(--shadow); }
@media (max-width: 760px) {
  .gallery { display: flex; height: auto; overflow-x: auto; scroll-snap-type: x mandatory; border-radius: var(--r); margin-inline: -20px; padding-inline: 20px; gap: 8px; scrollbar-width: none; }
  .gallery::-webkit-scrollbar { display: none; }
  .g-item { flex: 0 0 86%; aspect-ratio: 4 / 3; scroll-snap-align: center; border-radius: var(--r); }
  .g-all { right: 28px; bottom: 12px; }
}

.lightbox { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(18, 14, 10, .96); color: #fff; }
.lightbox[open] { display: grid; grid-template-columns: 64px 1fr 64px; align-items: center; }
.lightbox::backdrop { background: rgba(18, 14, 10, .9); }
.lightbox figure { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 12px; height: 100%; justify-content: center; padding: 56px 0 20px; min-width: 0; }
.lightbox figure img { max-height: calc(100dvh - 130px); max-width: 100%; object-fit: contain; border-radius: 6px; }
.lightbox figcaption { color: #e9e1d6; font-size: .95rem; text-align: center; padding: 0 12px; }
.lightbox button { background: rgba(255, 255, 255, .1); border: 0; color: #fff; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; justify-self: center; }
.lightbox button:hover { background: rgba(255, 255, 255, .22); }
.lb-close { position: absolute; top: 14px; right: 14px; }
@media (max-width: 760px) { .lightbox[open] { grid-template-columns: 0 1fr 0; } .lb-prev, .lb-next { position: absolute; bottom: 18px; } .lb-prev { left: 22%; } .lb-next { right: 22%; } .lightbox figure { padding-bottom: 80px; } }

.prop-layout { display: grid; grid-template-columns: minmax(0, 1fr) 410px; gap: clamp(32px, 5vw, 64px); margin: 36px 0 80px; align-items: start; }
.prop-aside { position: sticky; top: var(--stick-top, calc(var(--header-h) + 18px)); }
.prop-sec { padding-top: 40px; margin-top: 40px; border-top: 1px solid var(--line); }
.highlights { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin: 32px 0 0; }
.hl { display: flex; gap: 16px; background: var(--paper); border-radius: var(--r); padding: 20px; box-shadow: 0 1px 2px rgba(60, 40, 20, .05); border: 1px solid var(--line); }
.hl h3 { font: 600 1.05rem/1.3 var(--sans); margin-bottom: 4px; }
.hl p { margin: 0; color: var(--ink-2); font-size: .95rem; }
.rooms { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.room { background: var(--paper); border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); }
.room img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }
.room > div { padding: 16px 18px 6px; }
.room h3 { font: 600 1.1rem/1.3 var(--serif); margin-bottom: 2px; }
.room-beds { color: var(--terra-d); font-weight: 600; font-size: .92rem; margin-bottom: 6px; }
.room p:last-child { color: var(--ink-2); font-size: .94rem; }
.amen { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px 40px; }
.amen h3 { font: 650 .8rem/1 var(--sans); text-transform: uppercase; letter-spacing: .12em; color: var(--muted); margin: 18px 0 8px; }
.amen .checks li { margin: .35em 0; font-size: .97rem; }
.dist { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 40px; margin: 10px 0 20px; }
.dist > div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px dashed var(--line); }
.dist dt { color: var(--ink-2); }
.dist dd { margin: 0; font-weight: 600; white-space: nowrap; }
.link-ext { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }
.know { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.know h3 { font: 600 1.05rem/1.3 var(--sans); display: flex; align-items: center; gap: 8px; }
.know p, .know li { color: var(--ink-2); }

/* Buchungs-Widget */
.book-card { background: var(--paper); border-radius: var(--r-l); box-shadow: var(--shadow-l); padding: 26px; border: 1px solid var(--line); }
.book-card .h3 { margin-bottom: 4px; }
.book-card .price-from { margin: 6px 0 2px; }
.bk-guests { margin: 16px 0 8px; border: 1px solid var(--line); border-radius: var(--r); padding: 4px 14px; }
.stepper { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 0; }
.stepper + .stepper { border-top: 1px solid var(--line); }
.stepper small { color: var(--muted); font-size: .8rem; display: block; }
.stepper > div { display: flex; align-items: center; gap: 12px; }
.stepper button { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--sand-2); background: var(--paper); display: grid; place-items: center; cursor: pointer; color: var(--ink); }
.stepper button:hover:not([disabled]) { border-color: var(--ink); }
.stepper button[disabled] { opacity: .35; cursor: not-allowed; }
.stepper button .i { width: 16px; height: 16px; }
.stepper output { min-width: 1.5em; text-align: center; font-weight: 600; font-variant-numeric: tabular-nums; }
.bk-month { display: flex; align-items: center; justify-content: space-between; margin: 16px 0 10px; }
.bk-month strong { font: 600 1.1rem/1 var(--serif); }
.bk-month button { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: var(--paper); display: grid; place-items: center; cursor: pointer; }
.bk-month button:hover:not([disabled]) { background: var(--sand); }
.bk-month button[disabled] { opacity: .3; cursor: not-allowed; }
.bk-weeks { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; min-height: 240px; }
.bk-loading, .bk-empty { color: var(--muted); padding: 20px 0; text-align: center; }
.wk { width: 100%; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--paper); cursor: pointer; text-align: left; transition: border-color .15s, background .15s, transform .15s; }
.wk:hover:not([disabled]) { border-color: var(--sea); transform: translateY(-1px); }
.wk-kw { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 10px; background: var(--sea-l); color: var(--sea); font-size: .7rem; font-weight: 600; line-height: 1.1; text-align: center; }
.wk-kw b { display: block; font-size: 1.05rem; font-family: var(--serif); }
.wk-dates { font-weight: 600; font-size: .96rem; }
.wk-dates small { display: block; font-weight: 400; color: var(--muted); font-size: .82rem; }
.wk-price { font-weight: 650; font-variant-numeric: tabular-nums; white-space: nowrap; }
.wk.is-sel { border-color: var(--terra); background: var(--terra-l); }
.wk.is-sel .wk-kw { background: var(--terra); color: #fff; }
.wk[disabled] { cursor: not-allowed; background: repeating-linear-gradient(-45deg, #faf7f2, #faf7f2 6px, #f3eee6 6px, #f3eee6 12px); color: var(--muted); }
.wk[disabled] .wk-kw { background: #ece6dc; color: var(--muted); }
.wk[disabled] .wk-price { font-weight: 500; font-size: .85rem; }
.bk-legend { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; font-size: .8rem; color: var(--muted); margin: 12px 0 0; }
.lg { display: inline-block; width: 14px; height: 14px; border-radius: 4px; border: 1.5px solid var(--line); vertical-align: -2px; }
.lg-free { background: var(--paper); }
.lg-sel { background: var(--terra-l); border-color: var(--terra); }
.lg-booked { background: repeating-linear-gradient(-45deg, #faf7f2, #faf7f2 3px, #e9e2d6 3px, #e9e2d6 6px); }
.lg-blocked { background: #e8e0f0; border-color: #bba9cf; }
.lg-price { background: var(--paper); border-color: var(--gold); border-width: 2px; }
.bk-summary { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); }
.bk-summary .sel-dates { font-weight: 600; margin-bottom: 4px; }
.bk-summary .btn { width: 100%; margin-top: 14px; }
.bk-hint { font-size: .85rem; color: var(--muted); margin-top: 8px; }
.notice { background: var(--warn-l); padding: 12px 14px; border-radius: 10px; font-size: .92rem; }

.price-table { width: 100%; border-collapse: collapse; margin: 10px 0; font-size: .95rem; }
.price-table td { padding: 6px 0; vertical-align: top; }
.price-table td:last-child { text-align: right; white-space: nowrap; padding-left: 12px; font-variant-numeric: tabular-nums; }
.price-table .total td { border-top: 1px solid var(--line); padding-top: 10px; font-weight: 700; font-size: 1.08rem; }
.plan { margin: 6px 0; padding-left: 1.1em; }

.mobile-bar { display: none; }
@media (max-width: 1000px) {
  .prop-layout { grid-template-columns: 1fr; }
  .prop-aside { position: static; order: 0; }
  .mobile-bar { display: flex; position: fixed; z-index: 40; left: 0; right: 0; bottom: 0; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 20px calc(12px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .97); border-top: 1px solid var(--line); box-shadow: 0 -8px 24px rgba(60, 40, 20, .08); transition: transform .25s; }
  .mobile-bar strong { font: 600 1.25rem/1 var(--serif); }
  .mobile-bar.is-hidden { transform: translateY(110%); }
  body.prop .site-footer { padding-bottom: 100px; }
}

/* Buchungsformular */
.progress { list-style: none; display: flex; gap: 8px; padding: 0; margin: 28px 0 22px; font-size: .9rem; flex-wrap: wrap; }
.progress li { display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; border-radius: 999px; background: var(--sand); color: var(--muted); }
.progress li a { color: inherit; text-decoration: none; }
.progress li.done { background: var(--ok-l); color: var(--ok); }
.progress li.current { background: var(--ink); color: #fff; }
.book-layout { display: grid; grid-template-columns: minmax(0, 1fr) 390px; gap: clamp(28px, 4vw, 56px); align-items: start; margin-bottom: 80px; }
.book-summary { position: sticky; top: var(--stick-top, calc(var(--header-h) + 18px)); }
.sum-card { background: var(--paper); border-radius: var(--r-l); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); }
.sum-card > img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
.sum-body { padding: 20px 22px 22px; }
.sum-list { list-style: none; padding: 0; margin: 10px 0; display: grid; gap: 10px; }
.sum-list li { display: flex; gap: 10px; align-items: flex-start; font-size: .95rem; }
.sum-list .i { color: var(--sea); margin-top: .2em; }
@media (max-width: 900px) { .book-layout { grid-template-columns: 1fr; } .book-summary { position: static; order: -1; } }

.book-form fieldset { border: 0; padding: 0; margin: 0 0 26px; min-width: 0; }
.book-form legend { font: 600 1.2rem/1.3 var(--serif); margin-bottom: 12px; padding: 0; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; }
.span2 { grid-column: span 2; }
@media (max-width: 600px) { .grid2 { grid-template-columns: 1fr; } .span2 { grid-column: auto; } }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 4px; }
.field label { font-weight: 550; font-size: .93rem; }
.field label small { color: var(--muted); font-weight: 400; }
input[type='text'], input[type='email'], input[type='tel'], input[type='number'], input[type='date'], input[type='search'], input[type='password'], input[type='url'], input:not([type]), select, textarea {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--sand-2); border-radius: 12px; background: var(--paper); font-size: 1rem; transition: border-color .15s, box-shadow .15s;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--sea); box-shadow: 0 0 0 4px rgba(47, 93, 98, .14); }
textarea { resize: vertical; min-height: 90px; }
.has-error input, .has-error select, .has-error textarea, input[aria-invalid='true'] { border-color: var(--danger); background: #fffafa; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.pay-options { display: grid; gap: 10px; }
.pay-opt { display: flex; gap: 14px; align-items: flex-start; padding: 16px; border: 1.5px solid var(--sand-2); border-radius: 14px; background: var(--paper); cursor: pointer; transition: border-color .15s, background .15s; }
.pay-opt:hover { border-color: var(--sea); }
.pay-opt:has(input:checked) { border-color: var(--terra); background: var(--terra-l); }
.pay-opt input { margin-top: 4px; accent-color: var(--terra); width: 18px; height: 18px; }
.pay-opt span { display: flex; flex-direction: column; }
.pay-opt small { color: var(--muted); }
.legal-box { background: var(--sand); border-radius: var(--r); padding: 18px 20px 6px; margin: 6px 0 20px; font-size: .95rem; }
.check { display: flex; gap: 12px; align-items: flex-start; margin: 12px 0; font-weight: 500; cursor: pointer; }
.check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--terra); flex: none; }
.check.has-error { color: var(--danger); }
.alert { display: flex; gap: 10px; align-items: flex-start; background: var(--danger-l); color: #7d1b15; padding: 14px 16px; border-radius: 12px; margin-bottom: 20px; font-weight: 500; }
.alert-ok { background: var(--ok-l); color: #1d5634; }

/* Bestätigung */
.confirm-head { text-align: center; margin: 10px 0 30px; }
.confirm-icon { width: 76px; height: 76px; border-radius: 50%; background: var(--ok-l); color: var(--ok); display: grid; place-items: center; margin: 0 auto 18px; animation: pop .5s cubic-bezier(.2, 1.4, .4, 1) both; }
@keyframes pop { from { transform: scale(.4); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.ref { display: inline-block; background: var(--sand); padding: 8px 18px; border-radius: 999px; font-size: .95rem; }
.ref strong { font-family: ui-monospace, 'SF Mono', Consolas, monospace; letter-spacing: .05em; }
.confirm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 760px) { .confirm-grid { grid-template-columns: 1fr; } }
.panel { background: var(--paper); border-radius: var(--r-l); padding: 24px; box-shadow: 0 1px 2px rgba(60, 40, 20, .05); border: 1px solid var(--line); margin-bottom: 20px; }
.panel-accent { border-color: var(--terra); box-shadow: 0 0 0 3px var(--terra-l); }
.panel-sand { background: var(--sand); border-color: var(--sand-2); }
.panel-warn { background: var(--warn-l); border-color: #f0d9a3; }
.bank, .kv { display: grid; gap: 0; margin: 12px 0; }
.bank > div, .kv > div { display: grid; grid-template-columns: 140px 1fr; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.bank dt, .kv dt { color: var(--muted); font-size: .92rem; }
.bank dd, .kv dd { margin: 0; overflow-wrap: anywhere; }
code { font-family: ui-monospace, 'SF Mono', Consolas, monospace; font-size: .92em; background: var(--sand); padding: 2px 6px; border-radius: 6px; }
code.break { word-break: break-all; display: inline-block; margin-top: 4px; }
.badge { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: .8rem; font-weight: 600; background: var(--sand); color: var(--ink-2); vertical-align: middle; font-family: var(--sans); }
.badge-paid { background: var(--ok-l); color: var(--ok); }
.badge-deposit { background: var(--sea-l); color: var(--sea); }
.badge-open, .badge-pending { background: var(--warn-l); color: #7a5300; }
.badge-overdue { background: var(--danger-l); color: var(--danger); }
.badge-cancelled, .badge-expired { background: #eee; color: #666; }

.contact-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; margin: 28px 0 80px; align-items: start; }
.contact-list li { display: flex; gap: 10px; align-items: center; margin: .8em 0; }
.contact-list .i { color: var(--terra); }
@media (max-width: 800px) { .contact-grid { grid-template-columns: 1fr; } }

/* Rechtstexte */
.legal { padding: 30px 0 80px; }
.legal h2 { font: 600 1.2rem/1.35 var(--serif); margin-top: 1.8em; }
.legal p, .legal li { color: var(--ink-2); }
.legal .indent { padding-left: 1em; margin-bottom: .4em; }

/* Responsive allgemein */
@media (max-width: 900px) {
  .cards, .split, .usp, .steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .highlights, .rooms, .amen, .dist, .know { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .footer-grid { grid-template-columns: 1fr; }
  .card-body { padding: 22px; }
  .book-card { padding: 20px; margin-inline: -4px; }
  .bank > div, .kv > div { grid-template-columns: 1fr; gap: 2px; }
  .hero-cta .btn { width: 100%; }
}

/* ======================= Verwaltung ======================= */
body.admin { background: #f6f3ee; }
.admin-top { background: #231f1b; color: #fff; position: sticky; top: 0; z-index: 30; }
.admin-top-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 10px 0; flex-wrap: wrap; }
.admin-top .logo { color: #fff; font-size: 1.05rem; }
.admin-nav { display: flex; flex-wrap: wrap; gap: 4px 16px; align-items: center; font-size: .9rem; }
.admin-nav a, .admin-nav .linklike { color: #e3d9cc; text-decoration: none; display: inline-flex; align-items: center; gap: 5px; padding: 6px 2px; }
.admin-nav a[aria-current='page'] { color: #fff; box-shadow: inset 0 -2px 0 var(--gold); }
.admin-nav form { display: inline; }
.admin-main { padding: 28px 0 80px; }
.admin-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: start; }
@media (max-width: 900px) { .admin-grid { grid-template-columns: 1fr; } }
.login-box { max-width: 420px; margin: 8vh auto; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 20px; }
.stat { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 18px 20px; }
.stat span { display: block; color: var(--muted); font-size: .88rem; }
.stat strong { font: 600 1.8rem/1.2 var(--serif); }
@media (max-width: 700px) { .stats { grid-template-columns: 1fr; } }
.table-wrap { overflow-x: auto; }
.admin-table { width: 100%; border-collapse: collapse; font-size: .93rem; }
.admin-table th { text-align: left; font-weight: 600; color: var(--muted); font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; padding: 8px 10px; border-bottom: 2px solid var(--line); }
.admin-table td { padding: 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.admin-table tr:hover td { background: #fcfaf6; }
.filter { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 16px; }
.filter input[type='search'] { width: auto; flex: 1; min-width: 180px; padding: 8px 12px; }
.chip { padding: 6px 14px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); text-decoration: none; color: var(--ink); font-size: .9rem; }
.chip.is-on { background: var(--ink); color: #fff; border-color: var(--ink); }
.inline-form { display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-end; margin: 12px 0; }
.inline-form label { display: flex; flex-direction: column; gap: 4px; font-size: .88rem; font-weight: 550; }
.inline-form label.grow { flex: 1; min-width: 240px; }
.inline-form input, .inline-form select { padding: 8px 10px; width: auto; }
.inline-form label.grow input { width: 100%; }
.check-inline { display: inline-flex !important; flex-direction: row !important; align-items: center; gap: 8px !important; font-weight: 500 !important; }
.check-inline input { width: 18px; height: 18px; accent-color: var(--terra); }
.danger-zone { margin-top: 18px; padding: 14px; border: 1px dashed #e3b4b0; border-radius: 12px; display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-end; }
.danger-zone label { display: flex; flex-direction: column; gap: 4px; font-size: .88rem; flex: 1; min-width: 200px; }
form.inline { display: inline; }
.mail-body { white-space: pre-wrap; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 20px; font: .92rem/1.55 ui-monospace, Consolas, monospace; }
.settings-form .panel h3 { margin-top: 18px; }
.sticky-save { position: sticky; bottom: 0; padding: 14px 0; background: linear-gradient(transparent, #f6f3ee 40%); }
.storno-rows .inline-form { margin: 6px 0; }
.wd-pick { display: flex; flex-wrap: wrap; gap: 6px 14px; border: 0; padding: 0; margin: 8px 0 14px; }
.wd-pick legend { font: 550 .93rem var(--sans) !important; margin-bottom: 6px !important; }
.wd-pick label { display: inline-flex; gap: 6px; align-items: center; }

.cal-nav { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 14px 0; }
.cal-legend { margin-left: auto; font-size: .82rem; color: var(--muted); display: inline-flex; gap: 6px 10px; align-items: center; flex-wrap: wrap; }
.cal-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }
@media (max-width: 1000px) { .cal-wrap { grid-template-columns: 1fr; } }
.cal-month { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 14px; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.cal-wd { text-align: center; font-size: .75rem; color: var(--muted); font-weight: 600; padding: 4px 0; }
.cal-day { min-height: 64px; border: 1px solid var(--line); border-radius: 8px; background: var(--paper); padding: 4px 5px; display: flex; flex-direction: column; align-items: flex-start; gap: 1px; cursor: pointer; text-align: left; overflow: hidden; font-size: .78rem; }
.cal-day:hover { border-color: var(--sea); }
.cd-n { font-weight: 700; font-size: .85rem; }
.cd-p { color: var(--ink-2); font-variant-numeric: tabular-nums; }
.cd-t { font-size: .68rem; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.cal-day.has-price { box-shadow: inset 0 0 0 2px var(--gold); }
.cal-day.is-change { border-width: 2px; border-color: #b9ab97; }
.cal-day.is-booked { background: repeating-linear-gradient(-45deg, #fbf3ec, #fbf3ec 5px, #f2e3d5 5px, #f2e3d5 10px); }
.cal-day.is-blocked { background: #efe9f5; }
.cal-day.is-past { opacity: .5; }
.cal-day.is-range { background: var(--sea-l); border-color: var(--sea); }
.cal-day.is-range-end { background: var(--sea); color: #fff; }
.cal-day.is-range-end .cd-p, .cal-day.is-range-end .cd-t { color: #fff; }
@media (max-width: 560px) { .cal-day { min-height: 54px; font-size: .68rem; padding: 3px; } .cd-t { display: none; } }

/* Druck */
@media print {
  .site-header, .site-footer, .mobile-bar, .btn, .progress, form { display: none !important; }
  body { background: #fff; font-size: 12pt; }
  .panel { box-shadow: none; border: 1px solid #ccc; break-inside: avoid; }
}
