/* Website der Häuser (server/website.js). Eigene Tokenschicht: warm und ruhig, Akzent = Hausfarbe aus dem Briefkopf (--site-accent).
   Keine fremden Schriften und keine Dienste von außen: schnell, und ohne Cookie-Banner. */
:root {
  --site-accent: #16784c;
  --bg: oklch(0.985 0.006 85);
  --surface: oklch(1 0 0);
  --surface-alt: oklch(0.955 0.012 85);
  --border: oklch(0.88 0.014 85);
  --text: oklch(0.24 0.012 85);
  --text-muted: oklch(0.47 0.014 85);
  --accent: var(--site-accent);
  --accent-fg: #fff;
  --accent-text: color-mix(in oklch, var(--site-accent) 88%, black);
  --hero-shade: oklch(0.18 0.02 85 / 0.62);
  --danger: oklch(0.52 0.17 25);
  --success: oklch(0.48 0.11 160);
  --shadow-sm: 0 1px 2px oklch(0.25 0.02 85 / 0.06), 0 2px 6px oklch(0.25 0.02 85 / 0.05);
  --shadow-md: 0 2px 4px oklch(0.25 0.02 85 / 0.05), 0 10px 24px oklch(0.25 0.02 85 / 0.08);
  --font-head: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --fs-sm: 0.875rem; --fs-base: 1.0625rem; --fs-lg: 1.25rem; --fs-xl: 1.6rem; --fs-2xl: 2.1rem; --fs-hero: clamp(2.2rem, 5.2vw, 3.8rem);
  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px; --s-6: 24px; --s-8: 32px; --s-12: 48px; --s-16: 64px; --s-24: 96px;
  --r-sm: 6px; --r-md: 10px; --r-lg: 16px;
  --wrap: 1180px; --narrow: 760px;
  --dur: 160ms; --ease: cubic-bezier(0.2, 0, 0, 1);
  color-scheme: light dark;
  /* Für Buchungsseite und Gutschein-Shop (buchen.css nutzt die Namen aus tokens.css) */
  --font: var(--font-body);
  --text-secondary: var(--text-muted);
  --surface-sunken: var(--surface-alt);
  --surface-hover: var(--surface-alt);
  --border-subtle: var(--border);
  --border-strong: oklch(0.78 0.018 85);
  --accent-hover: color-mix(in oklch, var(--accent) 86%, black);
  --accent-subtle: color-mix(in oklch, var(--accent) 12%, var(--surface));
  --focus-ring: color-mix(in oklch, var(--accent) 35%, transparent);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: oklch(0.19 0.01 85); --surface: oklch(0.235 0.012 85); --surface-alt: oklch(0.215 0.012 85); --border: oklch(0.34 0.014 85);
    --text: oklch(0.93 0.01 85); --text-muted: oklch(0.74 0.014 85);
    --accent: color-mix(in oklch, var(--site-accent) 72%, white); --accent-fg: oklch(0.17 0.02 160); --accent-text: color-mix(in oklch, var(--site-accent) 55%, white);
    --shadow-sm: none; --shadow-md: none;
  }
}
:root[data-theme="dark"] {
  --bg: oklch(0.19 0.01 85); --surface: oklch(0.235 0.012 85); --surface-alt: oklch(0.215 0.012 85); --border: oklch(0.34 0.014 85);
  --text: oklch(0.93 0.01 85); --text-muted: oklch(0.74 0.014 85);
  --accent: color-mix(in oklch, var(--site-accent) 72%, white); --accent-fg: oklch(0.17 0.02 160); --accent-text: color-mix(in oklch, var(--site-accent) 55%, white);
  --shadow-sm: none; --shadow-md: none;
}
/* Gastseiten sind immer hell (Wunsch des Inhabers, 25.11.2026): <html data-theme="light">. */
:root[data-theme="light"] { color-scheme: light; }
@media (prefers-reduced-motion: reduce) { :root { --dur: 1ms; } }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --border-strong: oklch(0.46 0.016 85); } }
:root[data-theme="dark"] { --border-strong: oklch(0.46 0.016 85); }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 var(--fs-base)/1.6 var(--font-body); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-text); text-underline-offset: 3px; }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
h1, h2, h3 { font-family: var(--font-head); font-weight: 600; line-height: 1.15; letter-spacing: -0.01em; margin: 0 0 var(--s-4); text-wrap: balance; }
h1 { font-size: var(--fs-hero); letter-spacing: -0.02em; }
h2 { font-size: var(--fs-2xl); }
h3 { font-size: var(--fs-lg); }
p { margin: 0 0 var(--s-4); }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--s-4); }
.narrow { max-width: var(--narrow); }
.sr, .hp { position: absolute !important; width: 1px !important; height: 1px !important; min-height: 0 !important; padding: 0 !important; border: 0 !important; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: var(--s-4); top: -60px; background: var(--surface); padding: var(--s-2) var(--s-4); border-radius: var(--r-sm); z-index: 50; }
.skip:focus { top: var(--s-2); }
.small { font-size: var(--fs-sm); color: var(--text-muted); }
.draft-bar { background: oklch(0.85 0.12 85); color: oklch(0.25 0.05 85); text-align: center; padding: var(--s-2); font-weight: 600; font-size: var(--fs-sm); }

/* Knöpfe */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 var(--s-6); border-radius: var(--r-md); border: 1.5px solid var(--accent);
  color: var(--accent-text); background: transparent; font: 600 1rem/1 var(--font-body); text-decoration: none; cursor: pointer;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease), transform var(--dur) var(--ease); }
.btn:hover { background: color-mix(in oklch, var(--accent) 10%, transparent); }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: var(--accent-fg); }
.btn-primary:hover { background: color-mix(in oklch, var(--accent) 86%, black); }
.btn-light { border-color: #fff; color: #fff; }
.btn-light:hover { background: rgb(255 255 255 / 0.14); }
.btn[disabled] { opacity: 0.6; cursor: progress; }
.btns { display: flex; flex-wrap: wrap; gap: var(--s-3); }

/* Kopf */
.site-head { position: sticky; top: 0; z-index: 20; background: color-mix(in oklch, var(--surface) 94%, transparent); backdrop-filter: blur(8px); border-bottom: 1px solid var(--border); }
.head-in { display: flex; align-items: center; gap: var(--s-6); min-height: 72px; }
.brand img { height: 48px; width: auto; }
.brand span { font: 600 var(--fs-lg)/1.1 var(--font-head); color: var(--text); }
.brand { text-decoration: none; flex: none; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .brand img { background: #fff; border-radius: var(--r-sm); padding: 4px 8px; } }
.nav-desk { flex: 1; min-width: 0; }
.nav-desk ul, .menu ul { list-style: none; margin: 0; padding: 0; }
.nav-desk ul { display: flex; flex-wrap: nowrap; gap: var(--s-1) var(--s-4); }
.nav-desk a, .menu a { color: var(--text); text-decoration: none; font-weight: 500; font-size: 0.97rem; padding: var(--s-2) 0; display: inline-block; border-bottom: 2px solid transparent; }
.nav-desk a:hover, .nav-desk a[aria-current] { border-bottom-color: var(--accent); }
.head-cta { display: flex; align-items: center; gap: var(--s-4); margin-left: auto; }
.head-phone { color: var(--text); text-decoration: none; font-weight: 600; white-space: nowrap; }
.menu { display: none; }
@media (max-width: 1320px) { .head-phone { display: none; } }
@media (max-width: 1120px) {
  .nav-desk { display: none; }
  .menu { display: block; order: 3; }
  .menu summary { list-style: none; cursor: pointer; width: 46px; height: 46px; display: grid; place-items: center; border-radius: var(--r-md); border: 1px solid var(--border); }
  .menu summary::-webkit-details-marker { display: none; }
  .burger { display: grid; gap: 5px; } .burger i { display: block; width: 20px; height: 2px; background: var(--text); border-radius: 2px; }
  .menu[open] nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--surface); border-bottom: 1px solid var(--border); box-shadow: var(--shadow-md); padding: var(--s-2) var(--s-4) var(--s-4); }
  .menu[open] a { display: block; padding: var(--s-3) 0; border-bottom: 1px solid var(--border); font-size: 1.05rem; }
  .head-in { gap: var(--s-3); }
  .head-cta .btn { padding: 0 var(--s-4); }
}
@media (max-width: 420px) { .brand img { height: 40px; } .head-cta .btn { font-size: 0.92rem; padding: 0 var(--s-3); } }

/* Abschnitte */
main > section, .page-head { margin-block: var(--s-16); }
main > section.s-hero { margin-top: 0; }
.page-head { margin-bottom: var(--s-8); }
.page-head h1 { font-size: clamp(2rem, 4vw, 3rem); }
.prose { max-width: 68ch; }
.prose ul { padding-left: 1.2em; margin: 0 0 var(--s-4); }
.prose li { margin-bottom: var(--s-1); }
.intro { color: var(--text-muted); margin-bottom: var(--s-8); }

.s-hero { background: var(--surface-alt); padding-block: var(--s-12) var(--s-16); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: var(--s-12); align-items: center; }
.s-hero.no-img .hero-grid { grid-template-columns: minmax(0, 1fr); }
.hero-text h1, .hero-text h2 { max-width: 15ch; }
.is-sub .hero-text h1 { font-size: clamp(2rem, 4vw, 3.1rem); }
.hero-media { display: flex; justify-content: center; }
.hero-media img { width: auto; max-width: 100%; height: auto; max-height: min(72vh, 620px); border-radius: var(--r-lg); box-shadow: var(--shadow-md); }
.is-sub .hero-media img { max-height: min(60vh, 520px); }
@media (max-width: 860px) {
  .s-hero { padding-block: var(--s-4) var(--s-12); }
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: var(--s-6); }
  .hero-media { order: -1; }
  .hero-media img { max-height: 420px; }
}
.lead { font-size: var(--fs-lg); max-width: 52ch; margin-bottom: var(--s-6); }

.s-ti { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-12); align-items: center; }
.s-ti.img-left .ti-img { order: -1; }
.ti-img { display: flex; justify-content: center; }
.ti-img > img, .ti-img > a > img { border-radius: var(--r-lg); width: auto; max-width: 100%; height: auto; max-height: 600px; }
@media (max-width: 860px) { .s-ti { grid-template-columns: 1fr; gap: var(--s-6); } .s-ti .ti-img { order: -1; } }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: var(--s-6); }
.card { background: var(--surface); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--border); display: flex; flex-direction: column; margin: 0; }
.card > img { aspect-ratio: 1 / 1; object-fit: cover; width: 100%; }
.card-in { padding: var(--s-6); display: flex; flex-direction: column; gap: var(--s-2); flex: 1; }
.card-in .btn { margin-top: auto; align-self: flex-start; }
.card-in .prose { margin-bottom: var(--s-3); }
.facts { color: var(--text-muted); font-size: var(--fs-sm); margin: 0; }
.facts strong { color: var(--text); font-size: 1rem; }
/* Ratgeber (Blog): Kacheln mit Datum, Bild 3:2 statt quadratisch. Datum und Verfasser unter der Überschrift des Beitrags. */
.post-card > a > img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; display: block; }
.post-card h3 a { color: var(--text); text-decoration: none; }
.post-card h3 a:hover { color: var(--accent-text); text-decoration: underline; }
.post-date, .post-meta { color: var(--text-muted); font-size: var(--fs-sm); margin: 0; }
.post-meta { margin-block: calc(var(--s-2) * -1) var(--s-4); }
.post-meta a { color: var(--text-muted); }
.post-author { display: flex; align-items: center; gap: var(--s-3); margin: 0 0 var(--s-6); font-weight: 600; color: var(--text); }
.post-author a { color: inherit; }
.post-author img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; flex: none; }
.mini-gal { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-1); margin-bottom: var(--s-3); }
.mini-gal img { aspect-ratio: 1; object-fit: cover; border-radius: var(--r-sm); }

/* Galerie: jedes Foto in seinem eigenen Format, nichts wird abgeschnitten. */
.gal { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: var(--s-3); align-items: start; }
.gal img { width: 100%; height: auto; border-radius: var(--r-md); }
.gal.gal-one { grid-template-columns: 1fr; }
.gal-caption { margin-top: var(--s-2); font-size: var(--fs-sm); color: var(--text-muted); }

.s-faq details { border-bottom: 1px solid var(--border); padding: var(--s-4) 0; }
.s-faq summary { cursor: pointer; font-weight: 600; font-size: 1.05rem; list-style-position: outside; }
.s-faq details .prose { margin-top: var(--s-3); }

.s-cta { background: var(--surface-alt); padding-block: var(--s-16); text-align: center; margin-block: var(--s-16) 0 !important; }
.s-cta .wrap { display: grid; justify-items: center; gap: var(--s-2); }
.s-cta p { color: var(--text-muted); max-width: 52ch; }

.s-contact { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-12); }
.s-contact address { font-style: normal; margin-bottom: var(--s-4); line-height: 1.7; }
@media (max-width: 760px) { .s-contact { grid-template-columns: 1fr; gap: var(--s-6); } }

.review-title { margin: 0; padding: var(--s-6) var(--s-6) 0; font-weight: 600; }
.review-title + blockquote { padding-top: var(--s-2); }
.review blockquote { margin: 0; padding: var(--s-6) var(--s-6) var(--s-3); font-family: var(--font-head); font-size: 1.08rem; line-height: 1.5; }
.review figcaption { padding: 0 var(--s-6) var(--s-6); color: var(--text-muted); font-size: var(--fs-sm); }

/* Formulare */
.site-form { display: grid; gap: var(--s-4); background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: var(--s-6); box-shadow: var(--shadow-sm); }
.site-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-4); }
@media (max-width: 560px) { .site-form .row { grid-template-columns: 1fr; } .site-form { padding: var(--s-4); } }
.site-form label { display: grid; gap: var(--s-1); font-weight: 600; font-size: var(--fs-sm); min-width: 0; }
.site-form input, .site-form select, .site-form textarea { font: 400 1rem/1.4 var(--font-body); padding: 11px 12px; min-height: 46px; border: 1px solid var(--border); border-radius: var(--r-md);
  background: var(--bg); color: var(--text); width: 100%; min-width: 0; }
.site-form label.check { display: flex; gap: var(--s-2); align-items: flex-start; font-weight: 400; }
.site-form label.check input { width: 20px; height: 20px; min-height: 0; margin-top: 2px; flex: none; accent-color: var(--accent); }
.site-form .btn { justify-self: start; }
.form-msg { margin: 0; font-weight: 600; }
.form-msg.is-error { color: var(--danger); }
.form-msg.is-ok { color: var(--success); }

/* Fuß */
.site-foot { background: var(--surface-alt); border-top: 1px solid var(--border); margin-top: var(--s-16); padding-block: var(--s-12) var(--s-6); font-size: 0.95rem; }
.s-cta + .site-foot, main:has(> .s-cta:last-child) + .site-foot { margin-top: 0; }
.foot-in { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: var(--s-8); line-height: 1.7; }
.foot-in ul { list-style: none; margin: 0; padding: 0; }
.foot-in a { color: var(--text); }
.foot-in p { margin: 0; }
.copy { color: var(--text-muted); font-size: var(--fs-sm); margin-top: var(--s-8); }

/* Buchungsseite und Gutschein-Shop im Kleid der Website (wrapAppPage) */
.bk-site h1, .bk-site h2, .bk-site h3 { font-family: var(--font-head); letter-spacing: -0.01em; }
.bk-site .bk-field-hotel { display: none; }
.bk-site .bk-search-form { grid-template-columns: 1fr 1fr 7rem 6rem auto; }
@media (max-width: 900px) { .bk-site .bk-search-form { grid-template-columns: 1fr 1fr; } }
.bk-site .pp-logo-row { display: none; }
.bk-site main { flex: 1; width: 100%; }
.bk-site main.bk-wrap { width: min(var(--wrap), 100%); }
.bk-site .site-foot { margin-top: var(--s-12); }
.bk-site .pp { padding-top: var(--s-12); }

/* Gutschein als Karte mit Foto (Beispiel auf der Website, Vorschau im Shop), im Stil des echten Gutscheins (voucherDocument) */
.voucher-sample { margin: 0; display: grid; gap: var(--s-3); justify-items: center; width: 100%; max-width: 580px; }
.voucher-sample figcaption { font-size: var(--fs-sm); color: var(--text-muted); }
.vc { --vc-split: 40%; --vc-paper: #fffcf5; --vc-gold: #b08d4a; position: relative; width: 100%; display: grid; grid-template-columns: var(--vc-split) 1fr; min-height: 330px;
  background: var(--vc-paper); color: #221d17; border-radius: 18px; overflow: hidden; text-align: center;
  box-shadow: 0 2px 4px oklch(0.25 0.02 85 / 0.08), 0 26px 56px oklch(0.25 0.02 85 / 0.22); transform: rotate(-1.2deg); }
.vc.no-photo { grid-template-columns: 1fr; }
.vc::before, .vc::after { content: ''; position: absolute; left: calc(var(--vc-split) - 13px); width: 26px; height: 26px; border-radius: 50%; background: var(--bg); z-index: 2; }
.vc::before { top: -13px; } .vc::after { bottom: -13px; }
.vc.no-photo::before, .vc.no-photo::after { display: none; }
.vc-photo { position: relative; min-height: 100%; }
.vc-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.vc-photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, color-mix(in oklch, var(--site-accent) 80%, black)); }
.vc-badge { position: absolute; left: 14px; top: 14px; z-index: 1; background: var(--vc-paper); color: var(--site-accent); font-size: 10px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; padding: 6px 10px; border-radius: 999px; }
.vc-greet { position: absolute; left: 16px; right: 16px; bottom: 16px; z-index: 1; color: #fff; font: italic 600 1rem/1.25 var(--font-head); text-align: left; }
.vc-body { position: relative; padding: var(--s-8) var(--s-6) var(--s-6); display: flex; flex-direction: column; align-items: center; gap: 6px; border-left: 2px dashed oklch(0.3 0.03 70 / 0.2); }
.vc-body::before { content: ''; position: absolute; inset: 12px; border: 1.5px solid color-mix(in oklch, var(--vc-gold) 70%, transparent); border-radius: 12px; pointer-events: none; }
.vc-body::after { content: ''; position: absolute; inset: 17px; border: 1px solid color-mix(in oklch, var(--vc-gold) 35%, transparent); border-radius: 9px; pointer-events: none; }
.vc.no-photo .vc-body { border-left: 0; }
.vc p { margin: 0; }
.vc .vc-logo { width: 118px; max-width: 118px; height: auto; border-radius: 0; margin-bottom: 4px; }
.vc-k { letter-spacing: 0.34em; text-transform: uppercase; font-weight: 700; font-size: 11px; color: var(--site-accent); }
.vc-amount { font: 600 3.2rem/1 var(--font-head); letter-spacing: -0.02em; }
.vc-orn { display: flex; align-items: center; gap: 10px; width: 60%; color: var(--vc-gold); }
.vc-orn::before, .vc-orn::after { content: ''; flex: 1; height: 1px; background: currentColor; opacity: 0.6; }
.vc-orn i { width: 7px; height: 7px; transform: rotate(45deg); background: currentColor; }
.vc-for { font: italic 1rem var(--font-head); color: #6f665b; }
.vc-for strong { font: italic 600 1.35rem var(--font-head); color: #221d17; }
.vc-msg { font-family: var(--font-head); font-style: italic; color: #4a4238; font-size: 0.95rem; line-height: 1.4; max-width: 30ch; }
.vc-foot { margin-top: auto; padding-top: var(--s-3); width: 100%; border-top: 1px solid oklch(0.3 0.03 70 / 0.12); display: grid; gap: 2px; }
.vc-code { font-weight: 700; letter-spacing: 0.1em; display: grid; font-size: 1rem; }
.vc-code span { font-weight: 400; letter-spacing: 0.12em; text-transform: uppercase; font-size: 0.65rem; color: #6f665b; }
.vc-scope { font-size: 0.72rem; color: #6f665b; }
@media (prefers-reduced-motion: no-preference) { .vc { transition: transform var(--dur) var(--ease); } .voucher-sample:hover .vc { transform: rotate(0deg); } }
@media (max-width: 560px) {
  .vc { grid-template-columns: 1fr; transform: none; }
  .vc-photo { min-height: 190px; }
  .vc::before, .vc::after { display: none; }
  .vc-body { border-left: 0; border-top: 2px dashed oklch(0.3 0.03 70 / 0.2); }
  .vc-amount { font-size: 2.7rem; }
}
.pp .vc { transform: none; margin: var(--s-2) 0; }
/* Im Shop gelten eigene Textfarben (.pp p); auf dem Papier des Gutscheins bleibt die Schrift dunkel. */
.pp .vc p { color: inherit; }
.pp .vc .vc-k { color: var(--site-accent); }
.pp .vc .vc-msg { color: #4a4238; }
.pp .vc .vc-for { color: #6f665b; }
.pp .vc .vc-greet { color: #fff; }
.pp .vc .vc-scope { color: #6b6b6b; }
.pp .vc::before, .pp .vc::after { background: var(--surface); }
