:root {
  --bg: #faf7f2;
  --bg-alt: #f1ebe2;
  --ink: #2b2622;
  --muted: #6f655c;
  --accent: #b07a4a;
  --accent-dark: #8c5d34;
  --line: #e2d8cb;
  --booked: #d9cfc4;
  --radius: 14px;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body { margin: 0; font-family: var(--sans); font-size: 17px; line-height: 1.6; color: var(--ink); background: var(--bg); }
img { max-width: 100%; display: block; }
a { color: var(--accent-dark); }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.2; margin: 0 0 .5em; }
h1 { font-size: clamp(2.4rem, 6vw, 4rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
.small { font-size: .875rem; color: var(--muted); }
.wrap { max-width: 1120px; margin: 0 auto; padding-inline: 20px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 10; background: rgba(250, 247, 242, .92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; gap: 24px; height: 64px; }
.logo { font-family: var(--serif); font-size: 1.4rem; text-decoration: none; color: var(--ink); letter-spacing: .02em; }
.logo span { color: var(--accent); }
.nav { display: flex; gap: 22px; margin-left: auto; }
.nav a { text-decoration: none; color: var(--ink); font-size: .95rem; }
.nav a:hover { color: var(--accent-dark); }
.nav-cta { color: var(--accent-dark) !important; font-weight: 600; }
.lang { display: flex; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; }
.lang button { border: 0; background: none; padding: 4px 10px; font: inherit; font-size: .8rem; cursor: pointer; color: var(--muted); }
.lang button.active { background: var(--ink); color: var(--bg); }

/* Hero */
.hero { position: relative; min-height: 78vh; display: flex; align-items: center; overflow: hidden; color: #fff; }
.hero-bg { position: absolute; inset: 0; background:
  radial-gradient(ellipse at 75% 20%, rgba(255, 210, 150, .55), transparent 55%),
  linear-gradient(135deg, #4a3a2e 0%, #7b5a3f 50%, #b9875a 100%); }
.hero-content { position: relative; max-width: 720px; margin-left: max(20px, calc((100vw - 1120px) / 2)); }
.hero .eyebrow { color: #f3d9bb; }
.lead { font-size: 1.2rem; opacity: .92; max-width: 34em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; font-weight: 600; color: var(--accent); margin-bottom: .6em; }

.btn { display: inline-block; padding: 13px 26px; border-radius: 999px; font: inherit; font-weight: 600; text-decoration: none; cursor: pointer; border: 1px solid transparent; transition: background .15s, color .15s; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); }
.btn-primary:disabled { opacity: .6; cursor: wait; }
.btn-ghost { border-color: rgba(255, 255, 255, .6); color: #fff; }
.btn-ghost:hover { background: rgba(255, 255, 255, .12); }

/* Sections */
.section { padding-block: 88px; }
.section-alt { background: var(--bg-alt); }
.section-head { max-width: 640px; margin-bottom: 44px; }
.section-head p:last-child { color: var(--muted); }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; gap: 14px; }
.tile { margin: 0; position: relative; border-radius: var(--radius); overflow: hidden; }
.tile-large { grid-column: span 2; grid-row: span 2; }
.tile img, .tile .ph { width: 100%; height: 100%; object-fit: cover; }
.tile .ph { display: flex; align-items: center; justify-content: center; color: rgba(255, 255, 255, .7); font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; }
.tile figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 28px 16px 12px; color: #fff; font-family: var(--serif); font-size: 1.1rem; background: linear-gradient(transparent, rgba(0, 0, 0, .45)); }
.ph-1 .ph { background: linear-gradient(135deg, #5d7b80, #a9c2c0); }
.ph-2 .ph { background: linear-gradient(135deg, #7a4e31, #c18a5c); }
.ph-3 .ph { background: linear-gradient(135deg, #8f7a68, #d3c2b0); }
.ph-4 .ph { background: linear-gradient(135deg, #6d6158, #b8a999); }
.ph-5 .ph { background: linear-gradient(135deg, #5f7356, #a9b996); }

/* Amenities */
.amenities { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 18px; }
.amenities li { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 22px 8px; }
.amenities h3::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); margin-right: 10px; vertical-align: middle; }
.amenities p { color: var(--muted); font-size: .95rem; }

/* Prices */
.prices { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; }
.price-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; background: #fff; }
.price-card.featured { border-color: var(--accent); }
.price { font-family: var(--serif); font-size: 2rem; margin: 0 0 .3em; }

/* Booking */
.booking { display: grid; grid-template-columns: minmax(280px, 420px) 1fr; gap: 36px; align-items: start; }
.rules ul { padding-left: 1.2em; color: var(--muted); }
.rules li { margin-bottom: .5em; }
.calendar { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.cal-nav { border: 1px solid var(--line); background: none; border-radius: 50%; width: 34px; height: 34px; font-size: 1.2rem; cursor: pointer; color: var(--ink); }
.cal-nav:disabled { opacity: .3; cursor: default; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; text-align: center; }
.cal-dow { font-size: .75rem; color: var(--muted); padding: 4px 0; }
.cal-day { aspect-ratio: 1; display: flex; align-items: center; justify-content: center; border-radius: 8px; font-size: .9rem; color: #c4bab0; text-decoration: none; }
.cal-day.free { color: var(--ink); background: #fff; border: 1px solid var(--line); font-weight: 600; }
.cal-day.free:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.cal-day.partial { background: linear-gradient(135deg, #fff 50%, var(--booked) 50%); }
.cal-day.booked { background: var(--booked); color: var(--muted); text-decoration: line-through; }
.cal-legend { display: flex; gap: 16px; margin-top: 14px; font-size: .8rem; color: var(--muted); }
.cal-legend > span { display: flex; align-items: center; gap: 6px; }
.dot { width: 10px; height: 10px; border-radius: 3px; display: inline-block; }
.dot-free { border: 1px solid var(--line); background: #fff; }
.dot-booked { background: var(--booked); }
.dot-partial { border: 1px solid var(--line); background: linear-gradient(135deg, #fff 50%, var(--booked) 50%); }
.cal-hint { margin: 12px 0 0; }

.form { display: grid; gap: 16px; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 6px; }
.field label { font-size: .85rem; font-weight: 600; }
input, select, textarea { font: inherit; font-size: 1rem; padding: 11px 13px; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink); width: 100%; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--accent); outline-offset: -1px; border-color: var(--accent); }
.form .btn { justify-self: start; }
.form-status { min-height: 1.6em; margin: 0; }
.form-status.ok { color: #3f7a4a; }
.form-status.err { color: #a8402f; }
.hp { position: absolute; left: -9999px; }

/* Buchungsseite */
.narrow { max-width: 760px; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; margin: 0; min-width: 0; }
fieldset.panel { display: grid; gap: 16px; }
legend { font-family: var(--serif); font-size: 1.35rem; padding: 0 6px; margin-left: -6px; }
.date-big { font-family: var(--serif); font-size: 1.6rem; margin: 0; }
.panel > p { margin: 0; }
#invalid p, #done p { margin-bottom: 1.2em; }
.summary { font-weight: 600; }
.row-3 { grid-template-columns: 1.3fr 1fr 1fr; }
.row-zip { grid-template-columns: 1fr 3fr; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .95rem; }
.check input { width: auto; margin-top: .3em; accent-color: var(--accent); }

/* Footer */
.site-footer { background: var(--ink); color: #d9cfc4; padding-block: 44px; }
.site-footer a { color: #f3d9bb; }
.site-footer .logo { color: #fff; }
.site-footer .small { color: #a99c8f; }
.site-footer .credit { margin-top: 1.2em; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; }

@media (max-width: 860px) {
  .nav { display: none; }
  .lang { margin-left: auto; }
  .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 170px; }
  .booking { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .row, .row-3 { grid-template-columns: 1fr; }
  .section { padding-block: 64px; }
}
