/* =====================================================================
   RUHMÜHLE — Gestaltungssystem
   Konzept: „Ein 600 Jahre altes Haus, erzählt mit heutiger Ruhe."
   Chassis: modernes Editorial · Stimme: Chronik/Tafelwerk · Signatur: Maisach-Linie
   ===================================================================== */

/* ---------- Schriften (selbst gehostet, DSGVO-sauber) ---------- */
@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces-v38-latin-regular.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces-v38-latin-500.woff2") format("woff2");
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces-v38-latin-600.woff2") format("woff2");
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces-v38-latin-italic.woff2") format("woff2");
  font-weight: 400; font-style: italic; font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-v20-latin-regular.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-v20-latin-500.woff2") format("woff2");
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-v20-latin-600.woff2") format("woff2");
  font-weight: 600; font-style: normal; font-display: swap;
}

/* ---------- Token ---------- */
:root {
  /* Farben — Rollen */
  --bg: #F7F3EB;            /* Leinen-Grund */
  --bg-2: #EFE8DA;          /* tiefes Leinenband */
  --card: #FCFAF4;          /* Tafel-/Panel-Grund */
  --ink: #232A20;           /* Text primär (13.3:1) */
  --ink-2: #4A5244;         /* Text sekundär (7.4:1) */
  --ink-3: #5C6455;         /* Meta, gedämpft (5.6:1) */
  --pine: #33513E;          /* Akzent: CTAs, aktiv */
  --pine-2: #3D5A45;        /* Links, Hover */
  --oak: #8A6B4A;           /* Ornament, Linienschmuck (nie Fließtext) */
  --oak-deep: #6E5236;      /* kleine Kapitälchen (6.5:1) */
  --bach: #47707F;          /* der eine Wasser-Moment (4.8:1) */
  --on-accent: #FFFFFF;
  --footer-bg: #2A4233;
  --footer-t1: #F2EEE3;
  --footer-t2: #C9CFC0;
  --line: rgba(35, 42, 32, .16);
  --line-2: rgba(35, 42, 32, .34);
  --line-oak: rgba(138, 107, 74, .45);
  --scrim: rgba(18, 22, 16, .88);
  --footer-line: rgba(242, 238, 227, .35);
  --footer-hover: #FFFFFF;
  --footer-creek: rgba(242, 238, 227, .28);
  --footer-wheel-c: rgba(242, 238, 227, .07);
  --lb-text: #E8E4D9;
  --lb-btn-bg: rgba(252, 250, 244, .12);
  --lb-btn-bg-2: rgba(252, 250, 244, .24);
  --cal-belegt: #FFBFBF;
  --key-line: rgba(35, 42, 32, .25);  /* Referenz auf Smoobus Belegt-Farbe (Legende) */

  /* Typo-Skala (expressiv) */
  --ui: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --fs-display: clamp(3.2rem, 7.2vw, 6.1rem);
  --fs-h2: clamp(2.05rem, 3.8vw, 3.05rem);
  --fs-h3: clamp(1.3rem, 2vw, 1.55rem);
  --fs-num: clamp(2.9rem, 4.6vw, 4.4rem);
  --fs-lede: clamp(1.15rem, 1.7vw, 1.32rem);
  --fs-serif-body: 1.16rem;
  --fs-body: .97rem;
  --fs-small: .845rem;
  --fs-caps: .75rem;

  /* Raum & Radius */
  --sp-1: .5rem; --sp-2: .75rem; --sp-3: 1rem; --sp-4: 1.5rem;
  --sp-5: 2rem; --sp-6: 3rem; --sp-7: 4rem; --sp-8: 6rem;
  --section: clamp(4.5rem, 9vw, 7.5rem);
  --r-sm: 3px; --r-md: 4px;

  /* Bewegung */
  --dur-1: 150ms; --dur-2: 300ms; --dur-3: 550ms;
  --ease: cubic-bezier(.16, 1, .3, 1);

  --header-h: 68px;
  --measure: 66ch;
}

/* ---------- Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { overflow-x: clip; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--ui);
  font-size: var(--fs-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--pine-2); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--pine); }
:focus-visible { outline: 2px solid var(--pine); outline-offset: 3px; border-radius: 2px; }
.wd :focus-visible, .site-header.over-hero :focus-visible, .lightbox :focus-visible, .site-footer :focus-visible { outline-color: var(--focus-dark); }
::selection { background: var(--pine); color: var(--on-accent); }

h1, h2, h3 { font-family: var(--serif); line-height: 1.12; margin: 0 0 var(--sp-3); font-weight: 600; }
h2 { font-size: var(--fs-h2); letter-spacing: -0.015em; }
h3 { font-size: var(--fs-h3); letter-spacing: -0.008em; }
p { margin: 0 0 1em; }

.container { width: min(100% - clamp(2.5rem, 6vw, 4rem), 1180px); margin-inline: auto; }
main section { scroll-margin-top: calc(var(--header-h) + 16px); }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--pine); color: var(--on-accent);
  padding: 10px 18px; border-radius: var(--r-md); font-weight: 600;
}
.skip-link:focus-visible { left: 12px; top: 12px; }

/* Kapitälchen-Zeile (Eyebrow) */
.eyebrow {
  font-family: var(--ui); font-size: var(--fs-caps); font-weight: 600;
  letter-spacing: .17em; text-transform: uppercase; color: var(--oak-deep);
  display: flex; align-items: center; gap: 14px; margin: 0 0 var(--sp-3);
}
.eyebrow::before { content: ""; width: 34px; height: 1px; background: var(--line-oak); flex: none; }
.eyebrow--bare::before { display: none; }

.section-head { max-width: var(--measure); }
.section-intro {
  font-family: var(--serif); font-weight: 400;
  font-size: var(--fs-lede); line-height: 1.55; color: var(--ink-2);
  max-width: var(--measure); text-wrap: pretty;
}
.prose {
  font-family: var(--serif); font-size: var(--fs-serif-body); line-height: 1.72;
  max-width: var(--measure); text-wrap: pretty; hyphens: auto;
}
.prose p { margin-bottom: 1.15em; }

/* ---------- Kopfzeile ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--bg);
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur-2) var(--ease);
}
.site-header.scrolled { border-bottom-color: var(--line); }
.header-inner {
  display: flex; align-items: center; gap: var(--sp-4);
  height: var(--header-h);
}
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--serif); font-weight: 600; font-size: 1.32rem;
  color: var(--ink); text-decoration: none; letter-spacing: -0.01em;
}
.brand svg { width: 30px; height: 30px; }
.main-nav { display: flex; gap: clamp(14px, 1.6vw, 24px); margin-left: auto; }
.main-nav a {
  font-size: .855rem; font-weight: 500; color: var(--ink-2);
  text-decoration: none; letter-spacing: .01em; padding: 6px 2px;
}
.main-nav a:hover { color: var(--pine); }
.header-cta { margin-left: var(--sp-2); }

.nav-toggle {
  display: none; margin-left: auto;
  background: none; border: 0; color: var(--ink); cursor: pointer;
  width: 44px; height: 44px; align-items: center; justify-content: center;
  -webkit-tap-highlight-color: transparent;
}
.mobile-nav {
  display: none; position: fixed; inset: var(--header-h) 0 0 0; z-index: 99;
  background: var(--bg); padding: var(--sp-6) var(--sp-5);
  flex-direction: column; gap: var(--sp-3); overflow-y: auto;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  font-family: var(--serif); font-size: clamp(1.6rem, 6vw, 2rem); font-weight: 500;
  color: var(--ink); text-decoration: none;
  padding: 10px 0; border-bottom: 1px solid var(--line);
}
.mobile-nav a:hover { color: var(--pine); }
html.nav-open { overflow: hidden; }

/* ---------- Schaltflächen ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--ui); font-size: .93rem; font-weight: 600; letter-spacing: .012em;
  padding: 13px 24px; border-radius: var(--r-md);
  text-decoration: none; cursor: pointer; border: 1px solid transparent;
  transition: transform var(--dur-1) var(--ease), background-color var(--dur-1) var(--ease),
              color var(--dur-1) var(--ease), border-color var(--dur-1) var(--ease);
  -webkit-tap-highlight-color: transparent;
  min-height: 44px;
}
.btn:active { transform: scale(.975); }
.btn svg { width: 17px; height: 17px; flex: none; }
.btn-primary { background: var(--pine); color: var(--on-accent); }
.btn-primary:hover { background: var(--pine-2); color: var(--on-accent); }
.btn-secondary { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn-secondary:hover { color: var(--pine); border-color: var(--pine); }
.btn-sm { padding: 9px 18px; min-height: 40px; font-size: .875rem; }
.btn-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; font-size: .93rem; color: var(--ink);
  text-decoration: none; border-bottom: 1px solid var(--line-2);
  padding: 4px 1px; transition: color var(--dur-1) var(--ease), border-color var(--dur-1) var(--ease);
}
.btn-link:hover { color: var(--pine); border-color: var(--pine); }
.btn-link .arrow { transition: transform var(--dur-1) var(--ease); }
.btn-link:hover .arrow { transform: translateX(3px); }

/* ---------- Maisach-Linie (Signatur) ---------- */
.creek { display: block; width: 100%; height: 44px; color: var(--line-oak); }
.creek--footer { color: var(--footer-creek); }

/* ---------- Held ---------- */
.hero { padding: clamp(1.5rem, 4vw, 3.5rem) 0 0; }
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(2rem, 4vw, 4.5rem); align-items: center;
}
.hero-text { padding-block: var(--sp-5); }
.hero-title {
  font-size: var(--fs-display); font-weight: 600; letter-spacing: -0.028em;
  line-height: .98; margin: 0 0 var(--sp-4);
}
.hero-title .die {
  display: block; font-style: italic; font-weight: 400;
  font-size: .34em; letter-spacing: 0; color: var(--oak-deep);
  margin: 0 0 .35em .1em;
}
.hero-sub {
  font-family: var(--serif); font-size: var(--fs-lede); font-weight: 400;
  line-height: 1.5; color: var(--ink-2); max-width: 34rem; text-wrap: pretty;
  margin-bottom: var(--sp-4);
}
.hero-meta {
  display: flex; flex-wrap: wrap; gap: 6px 0;
  border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2);
  padding: 12px 0; margin: 0 0 var(--sp-5); list-style: none;
}
.hero-meta li {
  font-size: var(--fs-caps); font-weight: 600; letter-spacing: .15em;
  text-transform: uppercase; color: var(--ink-2);
  display: flex; align-items: center;
}
.hero-meta li + li::before { content: "·"; margin: 0 14px; color: var(--oak); }
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--sp-3) var(--sp-4); align-items: center; }

.hero-media { position: relative; margin-right: calc(50% - 50vw); }
.hero-media .frame { overflow: hidden; border-radius: var(--r-sm) 0 0 var(--r-sm); }
.hero-media img {
  width: 100%; height: clamp(400px, 74vh, 720px); object-fit: cover;
}
.plate-caption {
  display: flex; align-items: baseline; gap: 12px;
  font-size: .8rem; font-weight: 400; letter-spacing: .01em;
  color: var(--ink-3); margin-top: 12px; line-height: 1.45;
}
.plate-caption .no {
  color: var(--oak-deep); flex: none; font-size: .72rem; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase;
}
.hero-media .plate-caption { justify-content: flex-start; padding-right: var(--sp-5); }

/* ---------- Almanach („Auf einen Blick") ---------- */
.almanac-band { margin-top: clamp(2.5rem, 5vw, 4.5rem); }
.almanac {
  display: grid; grid-template-columns: repeat(6, 1fr);
  border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2);
  padding: clamp(1.4rem, 2.6vw, 2.2rem) 0; gap: var(--sp-4) var(--sp-4);
  list-style: none; margin: 0;
}
.almanac li::before { content: ""; display: block; width: 22px; height: 2px; background: var(--oak); margin-bottom: 12px; }
.almanac strong {
  display: block; font-family: var(--serif); font-weight: 600;
  font-size: clamp(1.35rem, 1.9vw, 1.8rem); letter-spacing: -0.01em; line-height: 1.1;
  margin-bottom: 6px;
}
.almanac span { font-size: var(--fs-small); color: var(--ink-3); line-height: 1.4; display: block; }

/* ---------- Abschnitte ---------- */
.section { padding-top: var(--section); }
.section-divider { padding-top: clamp(2.5rem, 5vw, 4rem); }

/* Geschichte */
.story-grid {
  display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 7fr);
  gap: clamp(2.5rem, 5vw, 5rem);
}
.stat-ladder { list-style: none; margin: 0; padding: 0; }
.stat-ladder li { border-top: 1px solid var(--line-2); padding: var(--sp-4) 0 var(--sp-5); }
.stat-ladder li:last-child { border-bottom: 1px solid var(--line-2); }
.stat-ladder .num {
  font-family: var(--serif); font-weight: 500; font-size: var(--fs-num);
  line-height: 1; letter-spacing: -0.02em; display: block; margin-bottom: 2px;
}
.stat-ladder .lbl {
  font-size: var(--fs-caps); font-weight: 600; letter-spacing: .17em;
  text-transform: uppercase; color: var(--oak-deep);
}
.dropcap::first-letter {
  font-family: var(--serif); font-weight: 600; font-size: 3.35em;
  float: left; line-height: .82; padding: .08em .12em 0 0; color: var(--pine);
}

/* Tafel-Reihe */
.plate-row {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 2.5vw, 2rem); margin-top: clamp(2.5rem, 5vw, 4rem);
}
.plate { margin: 0; }
.plate .mat {
  background: var(--card); border: 1px solid var(--line);
  padding: clamp(8px, 1.2vw, 12px);
}
.plate .mat > img, .plate .mat > button img { border-radius: 0; }
.plate button {
  display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in;
  -webkit-tap-highlight-color: transparent;
}
.plate img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }

/* Voller Bild-Moment */
.fullbleed { margin-top: var(--section); position: relative; }
.fullbleed.wd { margin-top: 0; padding-top: var(--section); }
.fullbleed img { width: 100%; height: clamp(380px, 68vh, 640px); object-fit: cover; }
.fullbleed .plate-caption { width: min(100% - clamp(2.5rem, 6vw, 4rem), 1180px); margin: 12px auto 0; }

/* ---------- Inhalt + Buchungskarte ---------- */
.page-grid { display: grid; grid-template-columns: minmax(0, 1fr); }
.page-content { min-width: 0; }
.booking-card-wrap { display: none; }

@media (min-width: 1020px) {
  .page-grid { grid-template-columns: minmax(0, 1fr) 330px; gap: clamp(2.5rem, 4vw, 4rem); }
  .booking-card-wrap { display: block; }
  .booking-card {
    position: sticky; top: 96px;
    background: var(--card); border: 1px solid var(--line);
    padding: var(--sp-4);
  }
  .booking-card .price-line {
    font-family: var(--serif); font-size: 1.3rem; font-weight: 600;
    margin: 0 0 4px; letter-spacing: -0.01em;
  }
  .booking-card .price-line span { display: block; font-size: .95rem; font-weight: 400; font-style: italic; color: var(--ink-2); }
  .booking-card .booking-note { font-size: var(--fs-small); color: var(--ink-3); margin: 0 0 var(--sp-3); }
  .booking-card .cal-slot { margin: 0 0 var(--sp-3); min-height: 40px; }
  .booking-card .btn { width: 100%; }
  .booking-card .booking-hint { font-size: .8rem; color: var(--ink-3); margin: 10px 0 0; text-align: center; }
}

/* ---------- Galerie ---------- */
.gallery-filters {
  display: flex; flex-wrap: wrap; gap: 4px 26px;
  border-bottom: 1px solid var(--line); margin: var(--sp-4) 0 var(--sp-4);
}
.gallery-filters button {
  background: none; border: 0; cursor: pointer; padding: 10px 2px 12px;
  font-family: var(--ui); font-size: var(--fs-caps); font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3);
  border-bottom: 2px solid transparent; margin-bottom: -1px;
  transition: color var(--dur-1) var(--ease), border-color var(--dur-1) var(--ease);
  -webkit-tap-highlight-color: transparent;
  min-height: 44px;
}
.gallery-filters button:hover { color: var(--pine); }
.gallery-filters button[aria-pressed="true"] { color: var(--ink); border-bottom-color: var(--oak); }
.gallery-grid { columns: 3 220px; column-gap: 14px; }
.gallery-item {
  display: block; width: 100%; margin: 0 0 14px; padding: 0; border: 0;
  background: none; cursor: zoom-in; break-inside: avoid;
  overflow: hidden; border-radius: var(--r-sm);
  -webkit-tap-highlight-color: transparent;
}
.gallery-item img { transition: transform var(--dur-2) var(--ease); border-radius: var(--r-sm); }
.gallery-item:hover img { transform: scale(1.025); }
.gallery-item[hidden] { display: none; }

/* ---------- Das Haus ---------- */
.unit {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(1.5rem, 3.5vw, 3rem); align-items: center;
  padding: clamp(2rem, 4vw, 3rem) 0;
  border-top: 1px solid var(--line);
}
.units .unit:first-child { border-top: 0; padding-top: var(--sp-5); }
.unit:nth-child(even) .unit-media { order: 2; }
.unit-media img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.unit-badge {
  display: inline-block; font-size: var(--fs-caps); font-weight: 600;
  letter-spacing: .17em; text-transform: uppercase; color: var(--oak-deep);
  margin-bottom: 10px;
}
.unit-body h3 { margin-bottom: 10px; }
.unit-body p { color: var(--ink-2); max-width: 52ch; }
.unit-facts { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 0; padding: 10px 0 0; margin: 0; border-top: 1px solid var(--line); }
.unit-facts li { font-size: var(--fs-small); font-weight: 500; color: var(--ink-2); display: flex; align-items: center; }
.unit-facts li + li::before { content: "·"; margin: 0 10px; color: var(--oak); }

.beds-table { width: 100%; border-collapse: collapse; margin: var(--sp-3) 0 var(--sp-2); }
.beds-table th, .beds-table td { text-align: left; padding: 13px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.beds-table th { font-weight: 600; font-size: var(--fs-body); padding-right: var(--sp-4); white-space: nowrap; }
.beds-table td { color: var(--ink-2); font-size: var(--fs-body); }
.beds-total { font-family: var(--serif); font-size: 1.1rem; font-weight: 600; }

.floorplans { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(1rem, 2.5vw, 2rem); }
.floorplans .plate img { aspect-ratio: auto; object-fit: contain; background: var(--card); }
.floorplans figcaption { font-size: var(--fs-small); color: var(--ink-3); margin-top: 10px; }

/* ---------- Ausstattung ---------- */
.amenities-grid {
  list-style: none; padding: 0; margin: var(--sp-4) 0 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 var(--sp-5);
}
.amenities-grid li {
  display: flex; align-items: center; gap: 14px;
  padding: 15px 0; border-bottom: 1px solid var(--line);
  font-size: var(--fs-body); font-weight: 500;
}
.amenities-grid svg { width: 21px; height: 21px; color: var(--pine); flex: none; }
.amenities-note { font-family: var(--serif); font-style: italic; color: var(--ink-2); margin-top: var(--sp-4); }

/* ---------- Lage & Ausflüge ---------- */
.map-wrap { position: relative; margin: var(--sp-4) 0 var(--sp-2); border: 1px solid var(--line); }
#map { height: clamp(300px, 44vh, 420px); background: var(--bg-2); }
.map-consent {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 12px; text-align: center;
  padding: var(--sp-4); background: var(--bg-2);
}
.map-consent small { color: var(--ink-3); font-size: .8rem; max-width: 40ch; }
.map-address { font-size: var(--fs-small); color: var(--ink-3); margin: 10px 0 0; }

.excursions {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: clamp(1.5rem, 2.5vw, 2rem) clamp(1rem, 2vw, 1.5rem);
  margin-top: var(--sp-6);
}
.excursion { margin: 0; }
.excursion img { aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--r-sm); margin-bottom: 12px; }
.excursion-meta {
  display: flex; align-items: center; gap: 12px;
  font-size: .72rem; font-weight: 600; letter-spacing: .15em;
  text-transform: uppercase; color: var(--oak-deep); margin-bottom: 7px;
}
.excursion-meta::after { content: ""; height: 1px; background: var(--line); flex: 1; }
.excursion h3 { font-size: 1.16rem; margin-bottom: 6px; }
.excursion p { font-size: var(--fs-small); color: var(--ink-2); margin: 0; }

.creek-note {
  display: flex; gap: 16px; align-items: flex-start;
  margin-top: var(--sp-6); padding: var(--sp-4) var(--sp-4);
  border-left: 3px solid var(--bach);
  background: var(--card);
  font-family: var(--serif); font-size: var(--fs-lede); font-style: italic;
  line-height: 1.5; color: var(--ink); max-width: 62ch;
}
.creek-note svg { width: 26px; height: 26px; color: var(--bach); flex: none; margin-top: 4px; }
.creek-note p { margin: 0; }

/* ---------- Preise ---------- */
.price-table { width: 100%; border-collapse: collapse; margin: var(--sp-4) 0 var(--sp-4); }
.price-table th, .price-table td { padding: 15px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.price-table th { text-align: left; font-weight: 600; font-size: var(--fs-body); padding-right: var(--sp-4); }
.price-table .price-note { display: block; font-weight: 400; font-size: var(--fs-small); color: var(--ink-3); margin-top: 3px; }
.price-table td.price-value {
  text-align: right; font-family: var(--serif); font-weight: 500;
  font-size: 1.08rem; white-space: nowrap;
}
.price-notes { list-style: none; padding: 0; margin: 0; max-width: var(--measure); }
.price-notes li { position: relative; padding-left: 22px; margin-bottom: 8px; color: var(--ink-2); font-size: var(--fs-body); }
.price-notes li::before { content: "—"; position: absolute; left: 0; color: var(--oak); }

/* ---------- Buchung (Smoobu) ---------- */
.booking-block {
  background: var(--card); border: 1px solid var(--line);
  padding: clamp(1.25rem, 3vw, 2rem); margin-top: var(--sp-4);
}
.booking-block h3 { margin-bottom: var(--sp-3); }
.booking-block h3::after { content: ""; display: block; width: 44px; height: 2px; background: var(--oak); margin-top: 10px; }
.payment-note {
  display: flex; gap: 14px; align-items: flex-start;
  margin-top: var(--sp-4); max-width: var(--measure);
  font-size: var(--fs-body); color: var(--ink-2);
}
.payment-note svg { width: 20px; height: 20px; color: var(--pine); flex: none; margin-top: 2px; }
.payment-note p { margin: 0; }

/* ---------- Bewertungen ---------- */
.reviews-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-5) var(--sp-5); margin-top: var(--sp-5);
}
.review-card { border-top: 2px solid var(--line-2); padding-top: var(--sp-3); }
.review-card .stars { display: inline-flex; gap: 3px; color: var(--oak); margin-bottom: 10px; }
.review-card .stars svg { width: 14px; height: 14px; }
.review-card h3 { font-size: 1.12rem; margin-bottom: 8px; }
.review-card blockquote { margin: 0 0 10px; }
.review-card blockquote p { font-family: var(--serif); font-size: .99rem; line-height: 1.62; color: var(--ink-2); margin: 0; }
.review-card footer { font-size: .76rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.review-card footer strong { color: var(--ink-2); font-weight: 600; }
.review-collapsed { display: none; }
.reviews-toggle { margin-top: var(--sp-5); }

/* ---------- FAQ ---------- */
.faq-list { margin-top: var(--sp-4); border-top: 1px solid var(--line-2); max-width: 74ch; }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary {
  list-style: none; cursor: pointer; display: flex; align-items: baseline; gap: 16px;
  font-family: var(--serif); font-weight: 600; font-size: 1.14rem; line-height: 1.35;
  padding: 18px 0; -webkit-tap-highlight-color: transparent;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::before {
  content: "+"; font-family: var(--serif); font-weight: 500; font-size: 1.3rem;
  color: var(--oak-deep); flex: none; width: 20px;
  transition: transform var(--dur-2) var(--ease); transform-origin: center;
}
.faq-list details[open] summary::before { content: "–"; }
.faq-list summary:hover { color: var(--pine); }
.faq-list details p {
  font-family: var(--serif); font-size: 1.05rem; line-height: 1.65; color: var(--ink-2);
  margin: 0 0 20px 36px; max-width: 62ch;
}

/* ---------- Kontakt ---------- */
.contact-wrap { max-width: 640px; }
.contact-buttons { display: flex; flex-wrap: wrap; gap: var(--sp-3); margin: var(--sp-4) 0 var(--sp-3); }
.contact-phone-display { font-size: var(--fs-small); color: var(--ink-3); }
.operator-heading {
  font-size: var(--fs-caps); font-weight: 600; letter-spacing: .17em;
  text-transform: uppercase; color: var(--oak-deep);
  margin: var(--sp-5) 0 8px; font-family: var(--ui);
}
.operator-heart { font-family: var(--serif); font-style: italic; font-size: 1.05rem; margin-bottom: 10px; }
.operator-block { font-style: normal; color: var(--ink-2); font-size: var(--fs-body); line-height: 1.65; }

/* ---------- Fußzeile ---------- */
.site-footer {
  margin-top: var(--section);
  background: var(--footer-bg); color: var(--footer-t1);
  position: relative; overflow: hidden;
}
.site-footer .container { position: relative; padding: clamp(3rem, 6vw, 4.5rem) 0 var(--sp-5); }
.footer-grid { display: flex; flex-wrap: wrap; gap: var(--sp-5); justify-content: space-between; align-items: flex-start; }
.footer-brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--serif); font-weight: 600; font-size: 1.4rem; }
.footer-brand svg { width: 32px; height: 32px; }
.footer-claim { font-family: var(--serif); font-style: italic; font-size: 1.05rem; color: var(--footer-t1); margin: 12px 0 4px; }
.footer-tagline { color: var(--footer-t2); max-width: 42ch; font-size: var(--fs-body); margin-top: 0; }
.footer-links { list-style: none; display: flex; gap: var(--sp-4); padding: 0; margin: 0; }
.footer-links a { color: var(--footer-t1); text-decoration: none; font-weight: 500; font-size: var(--fs-body); border-bottom: 1px solid var(--footer-line); padding-bottom: 2px; }
.footer-links a:hover { color: var(--footer-hover); border-color: var(--footer-hover); }
.footer-copy { color: var(--footer-t2); font-size: var(--fs-small); margin: var(--sp-6) 0 0; }
.footer-wheel {
  position: absolute; right: -70px; bottom: -110px; width: 340px; height: 340px;
  color: var(--footer-wheel-c); pointer-events: none;
}

/* ---------- Mobile Buchungsleiste ---------- */
.mobile-booking-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  display: flex; align-items: center; justify-content: space-between; gap: var(--sp-3);
  background: var(--card); border-top: 1px solid var(--line);
  padding: 10px clamp(1rem, 4vw, 1.5rem)
           calc(10px + env(safe-area-inset-bottom, 0px));
}
.mobile-booking-bar .mb-label { font-family: var(--serif); font-weight: 600; font-size: .98rem; line-height: 1.2; margin: 0; }
.mobile-booking-bar .mb-label span { display: block; font-family: var(--ui); font-weight: 400; font-size: .78rem; color: var(--ink-3); }
@media (min-width: 1020px) { .mobile-booking-bar { display: none; } }
@media (max-width: 1019.9px) { body { padding-bottom: 76px; } }

/* ---------- Lightbox ---------- */
.lightbox { border: 0; padding: 0; background: transparent; max-width: none; max-height: none; width: 100vw; height: 100dvh; }
.lightbox::backdrop { background: var(--scrim); }
.lightbox[open] { display: grid; place-items: center; }
.lightbox figure { margin: 0; max-width: min(92vw, 1300px); max-height: 88dvh; display: flex; flex-direction: column; gap: 12px; }
.lightbox img { max-width: 100%; max-height: 80dvh; width: auto; height: auto; object-fit: contain; margin-inline: auto; border-radius: var(--r-sm); }
.lightbox figcaption { color: var(--lb-text); text-align: center; font-size: var(--fs-small); }
.lightbox button {
  position: fixed; z-index: 2; display: grid; place-items: center;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--lb-btn-bg); color: var(--lb-text); border: 0; cursor: pointer;
  font-size: 1.5rem; line-height: 1;
  transition: background-color var(--dur-1) var(--ease), transform var(--dur-1) var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.lightbox button:hover { background: var(--lb-btn-bg-2); }
.lightbox button:active { transform: scale(.92); }
.lightbox-close { top: 18px; right: 18px; }
.lightbox-prev { left: 14px; top: 50%; translate: 0 -50%; }
.lightbox-next { right: 14px; top: 50%; translate: 0 -50%; }

/* ---------- Scroll-Momente ---------- */
.reveal-init { opacity: 0; transform: translateY(14px); }
.reveal-init.in {
  opacity: 1; transform: none;
  transition: opacity var(--dur-3) var(--ease), transform var(--dur-3) var(--ease);
}

/* ---------- Responsiv ---------- */
@media (max-width: 1019.9px) {
  .main-nav { display: none; }
  .header-cta { margin-left: auto; }
  .nav-toggle { display: inline-flex; }
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: var(--sp-5); }
  .hero-text { padding-block: var(--sp-3) 0; }
  .hero-media { margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); }
  .hero-media .frame { border-radius: 0; }
  .hero-media img { height: clamp(300px, 52vh, 460px); }
  .hero-media .plate-caption { padding-left: clamp(1.25rem, 3vw, 2rem); }
  .almanac { grid-template-columns: repeat(3, 1fr); }
  .story-grid { grid-template-columns: 1fr; gap: var(--sp-5); }
  .stat-ladder { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 var(--sp-4); }
  .stat-ladder li { border-bottom: 1px solid var(--line-2); }
  .stat-ladder li:last-child { border-bottom: 1px solid var(--line-2); }
  .plate-row { grid-template-columns: repeat(3, 1fr); gap: var(--sp-3); }
  .excursions { grid-template-columns: repeat(2, 1fr); }
  .amenities-grid { grid-template-columns: repeat(2, 1fr); }
  .reviews-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .almanac { grid-template-columns: repeat(2, 1fr); }
  .plate-row { grid-template-columns: 1fr; }
  .plate img { aspect-ratio: 3 / 2; }
  .unit { grid-template-columns: 1fr; }
  .unit:nth-child(even) .unit-media { order: 0; }
  .excursions { grid-template-columns: 1fr; }
  .amenities-grid { grid-template-columns: 1fr; }
  .reviews-grid { grid-template-columns: 1fr; }
  .stat-ladder { grid-template-columns: 1fr; }
  .floorplans { grid-template-columns: 1fr; }
  .hero-actions .btn { flex: 1 1 auto; }
  .beds-table th { white-space: normal; }
}

/* ---------- Reduzierte Bewegung ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .reveal-init { opacity: 1; transform: none; }
}

/* ---------- Rechtsseiten ---------- */
.legal-page { max-width: 760px; padding: var(--sp-6) 0 var(--sp-8); }
.legal-page h1 { font-size: clamp(2.2rem, 5vw, 3rem); letter-spacing: -0.015em; margin-bottom: var(--sp-4); }
.legal-page h2 { font-size: 1.35rem; margin: var(--sp-5) 0 var(--sp-2); }
.legal-page p { color: var(--ink-2); max-width: var(--measure); }

/* ---------- Chronik (Runde 2: Konzept strukturell) ---------- */
.chronik {
  list-style: none; margin: var(--sp-5) 0 0; padding: var(--sp-4) 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-4);
  border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2);
  position: relative;
}
.chronik::before {
  content: ""; position: absolute; left: 0; right: 0; top: 50%;
  height: 1px; background: var(--line-oak); opacity: .6;
}
.chronik li { position: relative; background: var(--bg); padding-right: var(--sp-3); }
.chronik .ch-when {
  display: block; font-family: var(--serif); font-weight: 600;
  font-size: 1.22rem; letter-spacing: -0.01em; margin-bottom: 4px;
}
.chronik .ch-what { display: block; font-size: var(--fs-small); color: var(--ink-3); line-height: 1.45; }
@media (max-width: 900px) { .chronik { grid-template-columns: repeat(2, 1fr); } .chronik::before { display: none; } }
@media (max-width: 480px) { .chronik { grid-template-columns: 1fr; gap: var(--sp-3); } }

/* ---------- Kalender-Legende (nicht nur Farbe) ---------- */
.cal-legend {
  display: flex; align-items: center; gap: 8px;
  font-size: .78rem; color: var(--ink-3); margin: 0 0 10px;
}
.cal-legend .key { width: 13px; height: 13px; border-radius: 3px; display: inline-block; }
.cal-legend .key + * { margin-right: 6px; }
.cal-legend .key-belegt { background: var(--cal-belegt); border: 1px solid var(--key-line); margin-left: 2px; }
.cal-legend .key-frei { background: var(--card); border: 1px solid var(--line-2); margin-left: 10px; }
.cal-legend--rail { margin: 8px 0 var(--sp-3); }

/* ---------- Smoobu-Rahmung in der Buchungskarte ---------- */
.booking-card .cal-slot .calendarWidget {
  background: var(--card); border: 1px solid var(--line);
  padding: 8px; border-radius: var(--r-sm);
}

/* ---------- Mobile Buchungsleiste: erst nach dem Held ---------- */
@media (max-width: 1019.9px) {
  .mobile-booking-bar {
    transform: translateY(110%);
    transition: transform var(--dur-2) var(--ease);
  }
  .mobile-booking-bar.visible { transform: translateY(0); }
}

/* ---------- Held-Meta: sauberer Umbruch auf Mobil ---------- */
@media (max-width: 640px) {
  .hero-meta { display: grid; grid-template-columns: 1fr; gap: 8px; }
  .hero-meta li + li::before { display: none; }
}

/* ---------- Einheitlicher Foto-Grade (subtil, ehrlich) ---------- */
.gallery-item img, .unit-media img, .excursion img, .plate-row .plate img,
.hero-media img, .fullbleed img {
  filter: saturate(.96) sepia(.045) contrast(1.015);
}
.floorplans .plate img { filter: none; }

/* ---------- Preistabelle: gestapelt auf Mobil (Codex r1 Fund 1) ---------- */
@media (max-width: 640px) {
  .price-table, .price-table tbody, .price-table tr { display: block; width: 100%; }
  .price-table th, .price-table td { display: block; padding: 0; }
  .price-table tr { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .price-table th { border-bottom: 0; padding-right: 0; }
  .price-table td.price-value {
    border-bottom: 0; text-align: left; white-space: normal;
    margin-top: 6px; color: var(--pine);
  }
}

/* =====================================================================
   V2 — „Abends an der Mühle": kinoreife dunkle Welt oben, warme helle
   Welt für Vertrauen & Buchung unten. Inhalte unverändert.
   ===================================================================== */
:root {
  --night: #141B16;          /* dunkler Bühnen-Grund */
  --night-2: #1B241D;        /* gehobene Fläche auf dunkel */
  --cream: #F2EDE0;          /* Text auf dunkel (~13:1) */
  --cream-2: #CFCBBB;        /* Sekundär auf dunkel (~9:1) */
  --cream-3: #A8A695;        /* Meta auf dunkel (~6:1) */
  --brass: #C89C62;          /* Ornament/Kapitälchen auf dunkel (~6.3:1) */
  --line-cream: rgba(242, 237, 224, .16);
  --line-cream-2: rgba(242, 237, 224, .30);
  --hero-scrim-a: rgba(9, 13, 10, .78);
  --focus-dark: #C89C62;
  --hero-scrim-m1: rgba(9, 13, 10, .55);
  --hero-scrim-m2: rgba(9, 13, 10, .86);
  --header-veil: linear-gradient(180deg, rgba(9, 13, 10, .8), rgba(9, 13, 10, .62));
  --creek-dark: rgba(200, 156, 98, .5);
  --hero-scrim-b: rgba(9, 13, 10, .10);
  --hero-scrim-c: rgba(9, 13, 10, .60);
}

/* ---------- Dunkle Welt: Rollen-Umschaltung ---------- */
.wd { background: var(--night); color: var(--cream); }
.wd--flow { padding-bottom: var(--section); }
.wd h1, .wd h2, .wd h3 { color: var(--cream); }
.wd .eyebrow { color: var(--brass); }
.wd .eyebrow::before { background: var(--brass); opacity: .55; }
.wd .section-intro, .wd .prose { color: var(--cream-2); }
.wd .dropcap::first-letter { color: var(--brass); }
.wd .stat-ladder li { border-color: var(--line-cream-2); }
.wd .stat-ladder li:last-child { border-color: var(--line-cream-2); }
.wd .stat-ladder .num { color: var(--cream); }
.wd .stat-ladder .lbl { color: var(--brass); }
.wd .chronik { border-color: var(--line-cream-2); }
.wd .chronik::before { background: var(--line-cream); }
.wd .chronik li { background: var(--night); }
.wd .chronik .ch-when { color: var(--cream); }
.wd .chronik .ch-what { color: var(--cream-3); }
.wd .plate .mat { background: var(--night-2); border-color: var(--line-cream); }
.wd .plate-caption { color: var(--cream-3); }
.wd .plate-caption .no { color: var(--brass); }
.wd .almanac { border-color: var(--line-cream-2); }
.wd .almanac li::before { background: var(--brass); }
.wd .almanac strong { color: var(--cream); }
.wd .almanac span { color: var(--cream-3); }
.wd .gallery-filters { border-color: var(--line-cream); }
.wd .gallery-filters button { color: var(--cream-3); }
.wd .gallery-filters button:hover { color: var(--cream); }
.wd .gallery-filters button[aria-pressed="true"] { color: var(--cream); border-bottom-color: var(--brass); }
.wd .creek { color: var(--creek-dark); }
.wd ::selection { background: var(--cream); color: var(--night); }
.wd a:not(.btn):not(.btn-link):not(.gallery-item) { color: var(--cream); }
.wd .btn-link { color: var(--cream); border-color: var(--line-cream-2); }
.wd .btn-link:hover { color: var(--brass); border-color: var(--brass); }
/* Foto-Behandlung: leuchtende Tafeln auf dunkler Galeriewand */
.wd .gallery-item img, .wd .plate-row .plate img, .wd .fullbleed img {
  filter: saturate(1.05) contrast(1.05) brightness(1.03);
}
.almanac-band.wd { margin-top: 0; padding: 0 0 clamp(1rem, 2vw, 1.5rem); }
.almanac-band.wd .almanac { border-top: 0; }

/* ---------- Kinoreifer Held ---------- */
.hero--cine { position: relative; min-height: 100svh; display: flex; align-items: flex-end; padding: 0; margin-top: calc(-1 * var(--header-h)); }
.hero--cine .hero-bg { position: absolute; inset: 0; overflow: hidden; }
.hero--cine .hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 38%; }
.hero--cine .hero-scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, var(--hero-scrim-c) 0%, transparent 26%),
    linear-gradient(200deg, transparent 30%, var(--hero-scrim-b) 55%, var(--hero-scrim-a) 92%);
}
.hero--cine .hero-content { position: relative; padding: calc(var(--header-h) + 8vh) 0 clamp(2rem, 5vh, 3.5rem); }
.eyebrow--hero { color: var(--brass); }
.eyebrow--hero::before { background: var(--brass); opacity: .7; }
.hero--cine .hero-title {
  color: var(--cream); font-size: clamp(3.6rem, 9.5vw, 8.2rem);
  margin-bottom: var(--sp-4); text-shadow: 0 2px 40px rgba(9, 13, 10, .45);
}
.hero--cine .hero-title .die { color: var(--brass); }
.hero--cine .hero-sub { color: var(--cream-2); max-width: 38rem; }
.hero--cine .hero-meta { border-color: var(--line-cream-2); max-width: 560px; }
.hero--cine .hero-meta li { color: var(--cream-2); }
.hero--cine .hero-meta li + li::before { color: var(--brass); }
.plate-caption--hero { margin-top: var(--sp-5); color: var(--cream-3); }
.plate-caption--hero .no { color: var(--brass); }
.btn-cream, .wd .btn-cream, .hero--cine .btn-cream { background: var(--cream); color: var(--night); }
.btn-cream:hover, .wd .btn-cream:hover { background: var(--footer-hover); color: var(--night); }
.btn-link--hero { color: var(--cream); border-color: var(--line-cream-2); }
.btn-link--hero:hover { color: var(--brass); border-color: var(--brass); }

/* ---------- Kopfzeile über dem Helden: transparent, Creme-Typo ---------- */
.site-header { transition: background-color var(--dur-2) var(--ease), border-color var(--dur-2) var(--ease); }
.site-header.over-hero { background: var(--header-veil); border-bottom-color: transparent; }
.site-header.over-hero .brand { color: var(--cream); }
.site-header.over-hero .main-nav a { color: var(--cream); }
.site-header.over-hero .main-nav a:hover { color: var(--brass); }
.site-header.over-hero .nav-toggle { color: var(--cream); }
.site-header.over-hero .header-cta { background: var(--cream); color: var(--night); }
.site-header.over-hero .header-cta:hover { background: var(--footer-hover); color: var(--night); }
.site-header.over-hero .brand svg circle { stroke: var(--cream); }
.site-header.over-hero .brand svg path { stroke: var(--brass); }

/* ---------- Übergangs-Naht dunkel -> hell ---------- */
.creek--seam {
  display: block; height: 72px; color: var(--line-oak);
  background: linear-gradient(180deg, var(--night) 0%, var(--night) 45%, var(--bg) 100%);
  padding-top: 14px;
}

/* ---------- Maisach-Linie zeichnet sich selbst ---------- */
.creek path[pathLength] { stroke-dasharray: 1; stroke-dashoffset: 0; }
.creek.reveal-init path[pathLength] { stroke-dashoffset: 1; }
.creek.reveal-init.in path[pathLength] { stroke-dashoffset: 0; transition: stroke-dashoffset 1.6s var(--ease) .15s; }

/* ---------- Buchungs-UX ---------- */
.booking-lead { font-size: var(--fs-small); color: var(--ink-3); margin: 0 0 var(--sp-3); }
.booking-tool-slot { position: relative; min-height: 420px; }
.booking-tool-slot::before {
  content: "Buchungstool wird geladen …";
  position: absolute; inset: 0; display: grid; place-items: center;
  color: var(--ink-3); font-size: var(--fs-small);
  border: 1px dashed var(--line); border-radius: var(--r-sm);
}
.booking-tool-slot:has(iframe)::before { display: none; }
.booking-tool-slot iframe { position: relative; z-index: 1; }
/* Buchungskarte im Schlank-Modus, wenn das Buchungstool selbst sichtbar ist */
.booking-card.rail-slim .cal-slot, .booking-card.rail-slim .cal-legend--rail { display: none; }

@media (max-width: 900px) {
  .hero--cine { min-height: 92svh; }
  .hero--cine .hero-title { font-size: clamp(3.4rem, 15vw, 5rem); }
  .hero--cine .hero-scrim {
    background:
      linear-gradient(180deg, var(--hero-scrim-c) 0%, transparent 22%),
      linear-gradient(196deg, transparent 16%, var(--hero-scrim-m1) 46%, var(--hero-scrim-m2) 88%);
  }
}
