/* Gästehaus Wassermühle
   Layout: full-bleed photo hero, alternating light / moor-green bands, content in a 1240px column.
   Palette taken from the house itself: moor green of the woods, brick of the façade. */

@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces.woff") format("woff");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Mulish";
  src: url("../fonts/mulish.woff") format("woff");
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --moor: #1e3a32;
  --moor-deep: #15291f;
  --brick: #a2432a;
  --brick-dark: #7c2f1c;
  --blush: #f3ded6;
  --blush-ink: #6e2a18;
  --sand: #f0c9b4;
  --paper: #f2f3ee;
  --paper-2: #e6e8e0;
  --card: #ffffff;
  --ink: #1b1d1a;
  --ink-2: #3a3e37;
  --muted: #545a51;
  --line: #d5d8cc;
  --booked: #dcd8cd;
  --booked-ink: #6f6a5a;
  --on-dark: #ffffff;
  --on-dark-muted: rgba(255, 255, 255, .84);

  --display: "Fraunces", Georgia, "Times New Roman", serif;
  --body: "Mulish", system-ui, -apple-system, "Segoe UI", sans-serif;

  --gutter: 20px;
  --radius: 4px;
  --shadow: 0 24px 60px rgba(20, 30, 25, .16);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--brick); text-underline-offset: 3px; }
a:hover { color: var(--brick-dark); }
:focus-visible { outline: 2px solid var(--brick); outline-offset: 3px; }
h1, h2, h3 { text-wrap: balance; }
p { margin: 0; }
[hidden] { display: none !important; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

.wrap {
  width: 100%;
  max-width: 1240px;
  margin-inline: auto;
  padding-left: max(var(--gutter), env(safe-area-inset-left, 0px));
  padding-right: max(var(--gutter), env(safe-area-inset-right, 0px));
}

.stack-s { display: flex; flex-direction: column; gap: 14px; }
.stack-xl { display: flex; flex-direction: column; gap: 48px; }

/* ---------- type ---------- */
.eyebrow {
  font-size: 13px; font-weight: 800; letter-spacing: .22em; text-transform: uppercase;
  color: var(--brick);
}
.eyebrow-light { color: var(--sand); }

h1 {
  margin: 0;
  font-family: var(--display); font-weight: 600;
  font-size: clamp(42px, 6.6vw, 90px); line-height: 1.02; letter-spacing: -.012em;
  font-variation-settings: "opsz" 144;
}
h2 {
  margin: 0;
  font-family: var(--display); font-weight: 600;
  font-size: clamp(32px, 4vw, 52px); line-height: 1.08; color: var(--moor);
  font-variation-settings: "opsz" 120;
}
.section-dark h2 { color: var(--on-dark); }
h3 { margin: 0; font-family: var(--display); font-weight: 600; }

.lead { font-size: 19px; color: var(--ink-2); max-width: 62ch; }
.muted-light { color: var(--on-dark-muted); max-width: 56ch; }
.small { font-size: 14px; color: var(--muted); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 26px;
  border: 1.5px solid transparent; border-radius: 3px;
  font: inherit; font-size: 15px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
  text-decoration: none; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s;
}
.btn-brick { background: var(--brick); color: var(--on-dark); }
.btn-brick:hover { background: var(--brick-dark); color: var(--on-dark); }
.btn-ghost { border-color: rgba(255, 255, 255, .85); color: var(--on-dark); }
.btn-ghost:hover { background: var(--on-dark); color: var(--moor); }
.btn-small { min-height: 40px; padding: 0 16px; font-size: 13px; background: var(--moor); color: var(--on-dark); }
.btn-small:hover { background: var(--moor-deep); color: var(--on-dark); }
.btn-block { width: 100%; min-height: 58px; }
.btn[disabled] { opacity: .6; cursor: progress; }

.link-btn {
  border: 0; background: none; padding: 0; cursor: pointer;
  font: inherit; font-size: 14px; font-weight: 700; color: var(--brick); text-decoration: underline;
}

/* ---------- header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  padding-top: env(safe-area-inset-top, 0px);
  color: var(--on-dark);
  transition: background-color .3s, box-shadow .3s;
}
.site-header.is-solid { background: var(--moor); box-shadow: 0 2px 20px rgba(0, 0, 0, .18); }
.header-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  min-height: 84px;
}
.brand { display: flex; align-items: center; gap: 12px; color: inherit; text-decoration: none; }
.brand:hover { color: inherit; }
.brand-mark { width: 42px; height: 42px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-family: var(--display); font-size: 24px; font-weight: 600; }
.brand-sub { font-size: 11px; letter-spacing: .22em; text-transform: uppercase; opacity: .85; }

.main-nav { display: flex; align-items: center; gap: 30px; font-size: 14px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.main-nav a { color: inherit; text-decoration: none; }
.main-nav a:hover { color: var(--sand); }
.nav-cta { border: 1.5px solid currentColor; padding: 10px 18px; border-radius: 3px; }
.main-nav a.nav-cta:hover { background: var(--on-dark); color: var(--moor); }

.nav-toggle { display: none; width: 48px; height: 48px; border: 0; background: none; color: inherit; cursor: pointer; padding: 0; }
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after {
  display: block; width: 26px; height: 2px; background: currentColor; margin: 0 auto; position: relative; transition: transform .25s;
}
.nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bars::before { top: -8px; }
.nav-toggle-bars::after { top: 8px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-8px) rotate(-45deg); }

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .main-nav {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--moor);
    padding: 8px max(var(--gutter), env(safe-area-inset-right, 0px)) 24px max(var(--gutter), env(safe-area-inset-left, 0px));
    box-shadow: 0 16px 30px rgba(0, 0, 0, .2);
    display: none;
  }
  .main-nav.is-open { display: flex; }
  .main-nav a { padding: 14px 0; border-bottom: 1px solid rgba(255, 255, 255, .12); }
  .nav-cta { margin-top: 14px; text-align: center; border-bottom: 1.5px solid currentColor !important; }
  .site-header.menu-open { background: var(--moor); }
}

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden;
  min-height: clamp(600px, 92vh, 900px);
  display: flex; align-items: center;
  background: var(--moor);
  color: var(--on-dark);
}
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
.hero-shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(12, 24, 20, .72) 0%, rgba(12, 24, 20, .38) 48%, rgba(12, 24, 20, .08) 100%),
    linear-gradient(0deg, rgba(12, 24, 20, .55) 0%, rgba(12, 24, 20, 0) 40%),
    linear-gradient(180deg, rgba(12, 24, 20, .5) 0%, rgba(12, 24, 20, 0) 22%);
}
@media (max-width: 640px) {
  .hero-img { object-position: 58% 40%; }
  .hero-shade { background: linear-gradient(180deg, rgba(12, 24, 20, .55) 0%, rgba(12, 24, 20, .62) 45%, rgba(12, 24, 20, .78) 100%); }
}
.hero-content {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; gap: 24px;
  padding-block: 150px 170px;
}
.hero-content h1 { max-width: 13ch; }
.hero-lead { max-width: 560px; font-size: 20px; color: rgba(255, 255, 255, .92); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 6px; }

@media (prefers-reduced-motion: no-preference) {
  .hero-img { animation: hero-zoom 14s ease-out both; }
  .hero-content > * { animation: rise .9s cubic-bezier(.2, .7, .2, 1) both; }
  .hero-content > :nth-child(2) { animation-delay: .08s; }
  .hero-content > :nth-child(3) { animation-delay: .16s; }
  .hero-content > :nth-child(4) { animation-delay: .24s; }
}
@keyframes hero-zoom { from { transform: scale(1.08); } to { transform: scale(1); } }
@keyframes rise { from { transform: translateY(18px); opacity: .001; } to { transform: none; opacity: 1; } }

/* ---------- quick bar ---------- */
.quick-wrap { position: relative; z-index: 5; margin-top: -92px; }
.quick {
  background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 26px 28px;
  display: flex; flex-wrap: wrap; align-items: flex-end; gap: 18px 22px;
}
.quick-field { flex: 1 1 190px; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.quick-field-s { flex-basis: 150px; }
.quick-field label, .field label {
  font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
}
.quick input, .quick select, .field input, .field textarea {
  width: 100%; min-height: 52px; padding: 0 14px;
  border: 1px solid #c9ccc0; border-radius: 3px; background: #fafaf7;
  font: inherit; font-size: 16px; color: var(--ink);
}
.field textarea { padding: 12px 14px; min-height: 120px; resize: vertical; }
.quick input:focus, .quick select:focus, .field input:focus, .field textarea:focus {
  outline: 2px solid var(--brick); outline-offset: 1px; border-color: var(--brick);
}
.quick-btn { flex: 1 1 220px; }
.quick-note { flex: 1 1 100%; font-size: 14px; color: var(--muted); }

/* ---------- sections ---------- */
.section { padding-block: 110px; }
.section-dark { background: var(--moor); color: var(--on-dark); }
.section-tint { background: var(--paper-2); }
.section-head { display: flex; flex-direction: column; gap: 14px; }
.section-head-center { align-items: center; text-align: center; }
.section-head-split { flex-direction: row; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; }
.text-link-light {
  color: var(--on-dark); font-weight: 800; font-size: 14px; letter-spacing: .12em; text-transform: uppercase;
  text-decoration: none; border-bottom: 1.5px solid var(--sand); padding-bottom: 6px;
}
.text-link-light:hover { color: var(--sand); }

/* ---------- haus ---------- */
#haus { padding-top: 130px; }
.haus { display: flex; flex-wrap: wrap; gap: 64px; align-items: center; }
.haus-text { flex: 1 1 440px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.haus-text p:not(.eyebrow):not(.lead) { color: #4b5047; max-width: 62ch; }
.signature { display: flex; align-items: center; gap: 16px; margin-top: 8px; font-family: var(--display); font-size: 18px; color: var(--moor) !important; }
.signature span { width: 48px; height: 1.5px; background: var(--brick); flex: none; }

.haus-media { flex: 1 1 420px; min-width: 0; position: relative; min-height: 580px; }
.haus-img-a { position: absolute; top: 0; right: 0; width: 80%; aspect-ratio: 3 / 2.4; object-fit: cover; border-radius: var(--radius); }
.haus-img-b { position: absolute; bottom: 0; left: 0; width: 56%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); border: 10px solid var(--paper); }
.haus-badge {
  position: absolute; right: 5%; bottom: 36px; max-width: 220px;
  background: var(--moor); color: var(--on-dark); padding: 20px 24px; border-radius: var(--radius);
  display: flex; flex-direction: column; gap: 6px; font-size: 14px; line-height: 1.4;
}
.haus-badge-num { font-family: var(--display); font-size: 42px; line-height: 1; font-weight: 600; }

@media (max-width: 560px) {
  .haus-media { min-height: 0; display: flex; flex-direction: column; gap: 12px; }
  .haus-img-a, .haus-img-b { position: static; width: 100%; border: 0; }
  .haus-badge { position: static; max-width: none; }
}

.facts {
  margin: 90px 0 0;
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr));
  border-block: 1px solid var(--line);
}
.facts > div { padding: 28px 20px; display: flex; flex-direction: column-reverse; gap: 4px; border-right: 1px solid var(--line); }
.facts > div:last-child { border-right: 0; }
.facts dt { font-size: 13px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.facts dd { margin: 0; font-family: var(--display); font-size: 44px; font-weight: 600; color: var(--brick); line-height: 1.1; font-variant-numeric: lining-nums; }
@media (max-width: 760px) {
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts > div { border-bottom: 1px solid var(--line); }
  .facts > div:nth-child(2n) { border-right: 0; }
  .facts > div:last-child { grid-column: 1 / -1; border-bottom: 0; }
}

/* brick course divider: running bond, drawn in CSS */
.brick-band {
  height: 34px;
  background-color: var(--brick);
  background-image:
    linear-gradient(var(--moor) 1.6px, transparent 1.6px),
    linear-gradient(90deg, var(--moor) 1.6px, transparent 1.6px),
    linear-gradient(90deg, var(--moor) 1.6px, transparent 1.6px);
  background-size: 100% 17px, 48px 17px, 48px 17px;
  background-position: 0 -0.8px, 0 0, 24px 17px;
  background-repeat: repeat-x, repeat-x, repeat-x;
}

/* ---------- tiles ---------- */
.tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
@media (max-width: 760px) { .tiles { grid-template-columns: minmax(0, 1fr); } }
.tile {
  position: relative; overflow: hidden; display: block;
  height: clamp(320px, 34vw, 460px);
  padding: 0; border: 0; border-radius: var(--radius); background: var(--moor-deep);
  color: var(--on-dark); text-align: left; cursor: zoom-in; font: inherit;
}
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease; }
.tile::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(10, 20, 17, .86) 0%, rgba(10, 20, 17, .25) 45%, rgba(10, 20, 17, 0) 70%);
}
.tile-text { position: absolute; left: 28px; right: 28px; bottom: 26px; z-index: 1; display: flex; flex-direction: column; gap: 6px; }
.tile-kicker { font-size: 13px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--sand); }
.tile-title { font-family: var(--display); font-size: clamp(26px, 2.6vw, 34px); font-weight: 600; line-height: 1.15; }
.tile-more { font-size: 15px; color: var(--on-dark-muted); max-height: 0; opacity: 0; overflow: hidden; transition: max-height .4s ease, opacity .4s ease; }
.tile:hover img, .tile:focus-visible img { transform: scale(1.05); }
.tile:hover .tile-more, .tile:focus-visible .tile-more { max-height: 3em; opacity: 1; }
@media (hover: none) { .tile-more { max-height: none; opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .tile img, .tile-more { transition: none; } }

/* ---------- gallery ---------- */
.gallery { list-style: none; margin: 0; padding: 0; columns: 3 280px; column-gap: 12px; }
.gallery li { break-inside: avoid; margin-bottom: 12px; }
.gallery a { display: block; overflow: hidden; border-radius: var(--radius); cursor: zoom-in; background: var(--paper-2); }
.gallery img { width: 100%; transition: transform .6s ease, opacity .3s; }
.gallery a:hover img, .gallery a:focus-visible img { transform: scale(1.035); }
@media (max-width: 640px) {
  .gallery { columns: 2; column-gap: 8px; }
  .gallery li { margin-bottom: 8px; }
}

/* ---------- features ---------- */
.features { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 14px; }
.features li { background: var(--card); border-radius: var(--radius); padding: 24px; display: flex; gap: 16px; align-items: flex-start; }
.features svg { width: 30px; height: 30px; flex: none; fill: none; stroke: var(--brick); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.features strong { display: block; }
.features span { font-size: 15px; color: var(--muted); }

/* ---------- kaminzeit ---------- */
.kamin { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; }
.kamin-media { flex: 1 1 460px; min-width: 0; }
.kamin-media img { width: 100%; aspect-ratio: 4 / 3.3; object-fit: cover; border-radius: var(--radius); }
.kamin-text { flex: 1 1 400px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.kamin-lead { font-size: 19px; color: var(--on-dark-muted); max-width: 56ch; }
.kamin-list { list-style: none; margin: 6px 0 0; padding: 0; display: flex; flex-direction: column; border-top: 1px solid rgba(255, 255, 255, .16); }
.kamin-list li { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 20px; padding: 14px 0; border-bottom: 1px solid rgba(255, 255, 255, .16); }
.kamin-list strong { font-family: var(--display); font-size: 21px; font-weight: 600; color: var(--on-dark); }
.kamin-list span { font-size: 15px; color: var(--on-dark-muted); }
.kamin-when { font-size: 13px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--sand); }

/* ---------- preise ---------- */
.preise { display: flex; flex-wrap: wrap; gap: 56px; }
.preise-text { flex: 1 1 340px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.dash-list { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; color: var(--ink-2); }
.dash-list li { display: flex; gap: 12px; }
.dash-list li::before { content: "—"; color: var(--brick); font-weight: 800; }
.price-cards { flex: 2 1 540px; min-width: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; align-content: start; }
.price-card { background: var(--card); border-radius: var(--radius); padding: 36px 32px; display: flex; flex-direction: column; gap: 12px; border-top: 5px solid var(--moor); }
.price-card-hs { border-top-color: var(--brick); }
.price-card h3 { font-family: var(--body); font-size: 13px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--moor); }
.price-card-hs h3 { color: var(--brick); }
.price { color: var(--muted); }
.price span { font-family: var(--display); font-size: 68px; font-weight: 600; line-height: 1; color: var(--ink); margin-right: 4px; font-variant-numeric: lining-nums; }
.price-when { color: var(--ink-2); }
.price-note { font-size: 15px; color: var(--muted); border-top: 1px solid #e1e3da; padding-top: 14px; }
.storno { grid-column: 1 / -1; font-size: 14px; color: var(--muted); }

/* ---------- booking ---------- */
.booking { display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-start; }
.booking-main { flex: 999 1 600px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.panel { background: var(--card); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 20px; }
.panel h3 { font-size: 25px; color: var(--moor); display: flex; align-items: center; gap: 12px; }
.step-no {
  width: 34px; height: 34px; border-radius: 50%; flex: none;
  background: var(--blush); color: var(--blush-ink);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 17px; font-weight: 700;
}
.panel-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; }
.cal-nav { display: flex; gap: 10px; }
.round-btn {
  width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid #c9ccc0; background: var(--card);
  display: inline-flex; align-items: center; justify-content: center; padding: 0;
  font: inherit; font-size: 22px; line-height: 1; color: var(--moor); cursor: pointer;
}
.round-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.round-btn:hover:not(:disabled) { border-color: var(--moor); }
.round-btn:disabled { opacity: .35; cursor: default; }

.cal-months { display: flex; flex-wrap: wrap; gap: 32px; min-height: 340px; }
.cal-loading { color: var(--muted); }
.cal-month { flex: 1 1 290px; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.cal-title { font-family: var(--display); font-size: 20px; font-weight: 600; text-align: center; padding-bottom: 4px; }
.cal-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.cal-head { font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); text-align: center; padding: 6px 0; }
.cal-day {
  height: 46px; border: 0; border-radius: 6px; padding: 0;
  background: var(--paper); color: var(--ink);
  font: inherit; font-size: 15px; font-weight: 700; font-variant-numeric: tabular-nums;
  cursor: pointer; transition: background-color .15s;
}
.cal-day:hover:not(:disabled) { background: #e8d3c8; }
.cal-day:disabled { cursor: default; }
.cal-day.is-past { background: transparent; color: #b0b3a9; font-weight: 400; }
.cal-day.is-booked { background: var(--booked); color: var(--booked-ink); text-decoration: line-through; font-weight: 400; }
.cal-day.is-checkout { cursor: pointer; }
.cal-day.is-range { background: var(--blush); color: var(--blush-ink); border-radius: 0; }
.cal-day.is-sel { background: var(--brick); color: var(--on-dark); font-weight: 800; text-decoration: none; }
.cal-day.is-sel:hover:not(:disabled) { background: var(--brick-dark); }
.cal-day.is-empty { visibility: hidden; }
@media (max-width: 420px) { .cal-day { height: 40px; font-size: 14px; } .panel { padding: 20px 16px; } }

.cal-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; border-top: 1px solid #e4e6dd; padding-top: 18px; }
.legend { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 14px; color: #4b5047; }
.legend li { display: flex; align-items: center; gap: 8px; }
.sw { width: 18px; height: 18px; border-radius: 4px; }
.sw-free { background: var(--paper); border: 1px solid var(--line); }
.sw-booked { background: var(--booked); }
.sw-sel { background: var(--brick); }
.sw-range { background: var(--blush); }
.notice { background: #fbede7; color: var(--blush-ink); border-radius: 3px; padding: 12px 16px; font-size: 15px; }

.steppers { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.stepper { display: flex; align-items: center; justify-content: space-between; gap: 14px; border: 1px solid #e4e6dd; border-radius: var(--radius); padding: 14px 16px; }
.stepper strong { display: block; }
.stepper span { font-size: 14px; color: var(--muted); }
.stepper-ctrl { display: flex; align-items: center; gap: 12px; }
.stepper output { min-width: 22px; text-align: center; font-family: var(--display); font-size: 24px; font-weight: 600; }

.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field-wide { grid-column: 1 / -1; }
.field input.is-invalid { border-color: var(--brick); background: #fdf5f2; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.summary {
  flex: 1 1 340px; min-width: 0;
  position: sticky; top: 100px;
  background: var(--moor); color: var(--on-dark); border-radius: var(--radius);
  padding: 30px; display: flex; flex-direction: column; gap: 20px;
}
@media (max-width: 960px) { .summary { position: static; } }
.summary h3 { font-size: 25px; }
.summary a { color: var(--sand); }
.sum-empty { color: var(--on-dark-muted); }
.sum-dates { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.sum-label { font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--sand); }
.sum-meta { font-size: 15px; color: var(--on-dark-muted); margin-top: 12px; }
.sum-lines { list-style: none; margin: 16px 0 0; padding: 16px 0 0; border-top: 1px solid rgba(255, 255, 255, .18); display: flex; flex-direction: column; gap: 10px; }
.sum-lines li { display: flex; justify-content: space-between; gap: 12px; font-size: 15px; }
.sum-lines li span:first-child { color: rgba(255, 255, 255, .88); }
.sum-lines li span:last-child { font-weight: 700; white-space: nowrap; font-variant-numeric: tabular-nums; }
.sum-total { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; border-top: 1px solid rgba(255, 255, 255, .18); padding-top: 16px; margin-top: 16px; }
.sum-total strong:last-child { font-family: var(--display); font-size: 36px; font-weight: 600; font-variant-numeric: lining-nums; }
.sum-tax { font-size: 13px; color: rgba(255, 255, 255, .75); margin-top: 2px; }
.sum-warn { background: var(--blush); color: var(--blush-ink); border-radius: 3px; padding: 12px 16px; font-size: 15px; font-weight: 700; margin-top: 16px; }
.errors { margin: 0; padding: 14px 18px 14px 34px; background: #fbede7; color: var(--blush-ink); border-radius: 3px; font-size: 15px; display: flex; flex-direction: column; gap: 4px; }
.sum-note { font-size: 14px; color: rgba(255, 255, 255, .78); }

.success { flex: 1 1 100%; align-items: center; text-align: center; padding: 56px 32px; border-top: 5px solid var(--moor); }
.success:focus { outline: none; }
.success-icon { width: 72px; height: 72px; border-radius: 50%; background: #e3ece7; display: flex; align-items: center; justify-content: center; }
.success-icon svg { width: 34px; height: 34px; fill: none; stroke: var(--moor); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.success h3 { font-size: 36px; color: var(--moor); }
.success p { max-width: 58ch; color: var(--ink-2); }
.success .small { color: var(--muted); }

/* ---------- lage ---------- */
.lage { display: flex; flex-wrap: wrap; gap: 40px; align-items: flex-start; }
.lage-media { flex: 1 1 360px; min-width: 0; margin: 0; position: relative; }
.lage-media img { width: 100%; aspect-ratio: 4 / 4.4; object-fit: cover; border-radius: var(--radius); }
.address-card {
  position: absolute; left: 20px; right: 20px; bottom: 20px;
  background: var(--card); border-radius: var(--radius); padding: 18px 20px; box-shadow: 0 10px 30px rgba(20, 30, 25, .18);
  display: flex; flex-wrap: wrap; align-items: center; gap: 14px;
}
.address-card > svg { width: 28px; height: 28px; flex: none; fill: none; stroke: var(--brick); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.address-card > span { flex: 1 1 140px; display: flex; flex-direction: column; line-height: 1.35; }
.address-card > span span { font-size: 15px; color: var(--muted); }
.tipps { flex: 1 1 520px; min-width: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 32px; }
.tipp-col h3 { font-size: 24px; color: var(--moor); padding-bottom: 10px; margin-bottom: 14px; border-bottom: 1.5px solid var(--brick); }
.tipp-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: 16px; }
.tipp-col li span { color: var(--muted); }
.tipp-col a { color: var(--ink); text-decoration-color: var(--brick); }
.tipp-col a:hover { color: var(--brick); }

/* ---------- footer ---------- */
.site-footer { background: var(--moor-deep); color: #e9e3d6; padding-block: 80px calc(36px + env(safe-area-inset-bottom, 0px)); }
.site-footer a { color: #e9e3d6; text-decoration: none; }
.site-footer a:hover { color: var(--on-dark); text-decoration: underline; }
.footer-inner { display: flex; flex-wrap: wrap; gap: 48px; justify-content: space-between; }
.footer-brand { flex: 1 1 280px; display: flex; flex-direction: column; gap: 16px; }
.footer-brand .brand { color: var(--on-dark); }
.footer-brand p { font-size: 15px; color: #c9c3b5; max-width: 340px; }
.footer-col { flex: 1 1 200px; display: flex; flex-direction: column; gap: 8px; font-size: 15px; }
.footer-col h2 { font-family: var(--body); font-size: 12px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: var(--sand); margin-bottom: 6px; }
.footer-legal { margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(233, 227, 214, .18); display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: space-between; font-size: 14px; color: #b9b3a5; }
.footer-links { display: flex; gap: 24px; }

/* ---------- lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(10, 18, 15, .94);
  display: flex; align-items: center; justify-content: center;
  padding: calc(64px + env(safe-area-inset-top, 0px)) max(72px, env(safe-area-inset-right, 0px)) calc(40px + env(safe-area-inset-bottom, 0px)) max(72px, env(safe-area-inset-left, 0px));
}
.lb-figure { margin: 0; width: 100%; display: flex; flex-direction: column; align-items: center; gap: 14px; }
/* Bühne mit fester Größe: zwei Fotos liegen übereinander und werden überblendet */
.lb-stage { position: relative; width: 100%; max-width: 1500px; height: calc(100vh - 170px); height: calc(100dvh - 170px); }
.lb-pic {
  position: absolute; inset: 0; width: 100%; height: 100%; max-width: none;
  object-fit: contain; opacity: 0;
  transition: opacity .7s ease-in-out;
}
.lb-pic.is-active { opacity: 1; }
.lb-pic:not([src]) { visibility: hidden; }
.lb-figure figcaption { color: #e9e3d6; font-size: 15px; text-align: center; min-height: 1.5em; transition: opacity .35s ease-in-out; }
.lb-figure figcaption.is-fading { opacity: 0; }
.lightbox { opacity: 0; transition: opacity .4s ease-in-out; }
.lightbox.is-open { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  .lightbox, .lb-pic, .lb-figure figcaption { transition: none; }
}
.lb-btn {
  position: absolute; width: 52px; height: 52px; border-radius: 50%; border: 0;
  background: rgba(255, 255, 255, .12); color: var(--on-dark); cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.lb-btn:hover { background: rgba(255, 255, 255, .24); }
.lb-btn svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.lb-close { top: calc(14px + env(safe-area-inset-top, 0px)); right: max(14px, env(safe-area-inset-right, 0px)); }
.lb-prev { left: max(12px, env(safe-area-inset-left, 0px)); top: 50%; transform: translateY(-50%); }
.lb-next { right: max(12px, env(safe-area-inset-right, 0px)); top: 50%; transform: translateY(-50%); }
@media (max-width: 600px) {
  .lightbox { padding-left: 0; padding-right: 0; }
  .lb-prev, .lb-next { top: auto; bottom: calc(14px + env(safe-area-inset-bottom, 0px)); transform: none; }
  .lb-stage { height: calc(100vh - 220px); height: calc(100dvh - 220px); }
}

/* ---------- legal pages ---------- */
.legal-header { background: var(--moor); color: var(--on-dark); padding-top: env(safe-area-inset-top, 0px); }
.legal-header .header-inner { min-height: 76px; }
.legal-header a { color: var(--on-dark); text-decoration: none; }
.legal-header a:hover { color: var(--sand); }
.legal-back { font-size: 14px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.legal { padding-block: 64px 100px; }
.legal-body { max-width: 760px; display: flex; flex-direction: column; gap: 14px; }
.legal-body h1 { font-size: clamp(36px, 5vw, 54px); color: var(--moor); margin-bottom: 18px; }
.legal-body h2 { font-size: 26px; margin-top: 26px; }
.legal-body h3 { font-family: var(--body); font-size: 17px; font-weight: 800; margin-top: 10px; }
.legal-body ul { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 6px; }
.legal-body p, .legal-body li { color: var(--ink-2); }
