/* Ferienwohnung Waldblick. Handy zuerst. Schrift liegt selbst gehostet in /fonts. */
@font-face {
  font-family: "Lora";
  src: url("fonts/lora.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}
:root {
  --bg: #f6f4ef;
  --surface: #ffffff;
  --fg: #26302a;
  --muted: #5d6b62;
  --line: #e1ddd3;
  --accent: #3d6b4f;
  --accent-soft: #e4ece4;
  --warm: #c98b3c;
  --wa: #1f8f4e;
  --todo: #fff1a8;
  --serif: "Lora", Georgia, serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--fg); font-family: var(--sans); font-size: 17px; line-height: 1.6; -webkit-text-size-adjust: 100%; }
img { display: block; max-width: 100%; height: auto; }
.wrap { max-width: 980px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left)); padding-right: max(16px, env(safe-area-inset-right)); }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.15; margin: 0; text-wrap: balance; }
h2 { font-size: 1.75rem; }
h3 { font-size: 1.1rem; margin-bottom: 6px; }
p { margin: 0; }
a { color: var(--accent); }
a:focus-visible, .btn:focus-visible { outline: 3px solid var(--warm); outline-offset: 2px; }

.draft { background: var(--todo); color: #3a3000; font-size: .9rem; text-align: center; padding: 6px 0; }
.todo { background: var(--todo); color: #3a3000; padding: 0 4px; border-radius: 4px; }

/* Oben: großes Foto, darunter Name und Anfrage-Knopf */
.hero-img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.hero-text { display: grid; gap: 14px; padding-top: 22px; padding-bottom: 28px; }
.eyebrow { font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.hero h1 { font-size: clamp(2.1rem, 8vw, 3.4rem); }
.lead { font-size: 1.12rem; color: var(--muted); max-width: 34em; }
.facts { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0; list-style: none; }
.facts li { background: var(--accent-soft); border-radius: 999px; padding: 5px 13px; font-size: .93rem; }
.rating { font-size: .95rem; color: var(--muted); }
.stars { color: var(--warm); letter-spacing: 2px; }

.buttons { display: flex; flex-wrap: wrap; gap: 10px; }
.btn { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; font-weight: 600; padding: 13px 22px; border-radius: 999px; font-size: 1rem; }
.btn.main { background: var(--wa); color: #fff; }
.btn.line { background: transparent; color: var(--fg); border: 1.5px solid currentColor; }

section { padding-block: 40px; border-top: 1px solid var(--line); display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; }
section > .wrap { display: grid; gap: 16px; width: 100%; }
.text { max-width: 38em; display: grid; gap: 12px; }

/* Fotos der Wohnung */
.gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; max-width: 980px; margin: 0 auto; width: 100%; }
.gallery figure, .strip figure { margin: 0; position: relative; overflow: hidden; }
.gallery img { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.gallery .big { grid-column: 1 / -1; }
figcaption { position: absolute; left: 8px; bottom: 8px; background: rgba(0,0,0,.55); color: #fff; font-size: .8rem; padding: 2px 9px; border-radius: 999px; }

.cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px 32px; }
.cols ul { margin: 0; padding-left: 1.1em; display: grid; gap: 3px; }

/* Umgebung: zum Wischen */
.strip { display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 16px 6px; max-width: 980px; margin: 0 auto; width: 100%; }
.strip figure { flex: 0 0 78%; scroll-snap-align: start; border-radius: 10px; }
.strip img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

.split { grid-template-columns: 1fr; align-items: center; }
.split img { border-radius: 12px; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }

.quotes { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
blockquote { margin: 0; background: var(--surface); border-radius: 14px; padding: 18px 20px; display: grid; gap: 8px; align-content: start; }
blockquote p { font-family: var(--serif); font-size: 1.05rem; }
blockquote footer { color: var(--muted); font-size: .92rem; }

.prices { width: 100%; max-width: 560px; border-collapse: collapse; background: var(--surface); border-radius: 12px; overflow: hidden; font-variant-numeric: tabular-nums; }
.prices th, .prices td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--line); }
.prices th { font-weight: 400; }
.prices td { text-align: right; font-weight: 600; white-space: nowrap; }
.prices tr:last-child > * { border-bottom: 0; }
.note { color: var(--muted); font-size: .95rem; max-width: 38em; }

.contact { background: var(--accent); color: #fff; border-radius: 18px; padding: 28px 22px; display: grid; gap: 14px; }
.contact p { color: #e8f1ea; }
.contact .btn.line { color: #fff; }
.ways { display: grid; gap: 4px; font-size: .95rem; }
.ways b { user-select: all; }
.sign { font-family: var(--serif); font-style: italic; }

footer.site { padding: 26px 0 110px; color: var(--muted); font-size: .9rem; border-top: 1px solid var(--line); }
footer.site .wrap { display: flex; flex-wrap: wrap; gap: 8px 20px; }

/* Unten klebende Anfrage-Leiste (nur Handy) */
.bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 5; background: var(--surface); border-top: 1px solid var(--line);
  padding: 10px max(16px, env(safe-area-inset-right)) calc(10px + env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left)); }
.bar .inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.bar small { color: var(--muted); line-height: 1.3; }
.bar .btn { padding: 10px 20px; }

@media (min-width: 760px) {
  .hero { display: grid; grid-template-columns: 1.15fr 1fr; align-items: center; max-width: 1180px; margin: 0 auto; gap: 36px; padding: 32px 24px; }
  .hero-img { border-radius: 18px; aspect-ratio: 4 / 3.2; }
  .hero-text { padding: 0; }
  .gallery { grid-template-columns: repeat(4, 1fr); padding: 0 16px; }
  .gallery .big { grid-column: span 2; grid-row: span 2; }
  .gallery figure { border-radius: 10px; }
  .strip figure { flex-basis: 38%; }
  .split { grid-template-columns: 420px 1fr; gap: 32px; }
  .bar { display: none; }
  footer.site { padding-bottom: 30px; }
}
