/* Schriften lokal (DSGVO), Lizenz: SIL OFL, siehe fonts/ */
@font-face { font-family: "Zilla Slab"; src: url("fonts/zilla-slab-medium.woff") format("woff"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Zilla Slab"; src: url("fonts/zilla-slab-semibold.woff") format("woff"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Source Sans 3"; src: url("fonts/source-sans-3-regular.woff") format("woff"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Source Sans 3"; src: url("fonts/source-sans-3-italic.woff") format("woff"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Source Sans 3"; src: url("fonts/source-sans-3-medium.woff") format("woff"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Source Sans 3"; src: url("fonts/source-sans-3-semibold.woff") format("woff"); font-weight: 600; font-style: normal; font-display: swap; }

/* Ferienwohnung Meireh – Stylesheet
   Farben angelehnt an bergische Häuser: Schiefer, weißer Putz, grüne Fensterläden. */

:root {
  --schiefer: #2E3A40;      /* Text, dunkle Flächen */
  --schiefer-2: #56646B;    /* Nebentext */
  --putz: #FBFCFA;          /* Hintergrund */
  --kalk: #EEF1EC;          /* Flächen, Platzhalter */
  --laden: #2F5D4E;         /* Fensterladen-Grün: Aktionen, Akzent */
  --laden-dunkel: #234739;
  --sonne: #E3B23C;         /* sparsam: Sterne, Terrasse */
  --linie: #D9DED8;

  --font-head: "Zilla Slab", Rockwell, "Roboto Slab", Georgia, serif;
  --font-body: "Source Sans 3", "Source Sans Pro", system-ui, -apple-system, "Segoe UI", sans-serif;

  --step--1: 0.9rem;
  --step-0: 1.0625rem;
  --step-1: 1.3rem;
  --step-2: 1.7rem;
  --step-3: 2.3rem;
  --step-4: clamp(2.4rem, 5.2vw, 3.6rem);

  --wrap: 72rem;
  --pad: clamp(1.25rem, 4vw, 2.5rem);
  --radius: 6px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }

body {
  margin: 0;
  background: var(--putz);
  color: var(--schiefer);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.6;
}

img { max-width: 100%; display: block; }
a { color: var(--laden); text-underline-offset: 0.18em; }
a:hover { color: var(--laden-dunkel); }
:focus-visible { outline: 3px solid var(--sonne); outline-offset: 3px; border-radius: 2px; }

h1, h2, h3 { font-family: var(--font-head); font-weight: 600; line-height: 1.12; margin: 0 0 0.5em; letter-spacing: -0.005em; }
h1 { font-size: var(--step-4); }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-1); }
p { margin: 0 0 1em; max-width: 68ch; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); }
.section { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.section--kalk { background: var(--kalk); }
.section--dunkel { background: var(--schiefer); color: #E9EEEA; }
.section--dunkel a { color: #BFE0CF; }
.lead { font-size: var(--step-1); color: var(--schiefer-2); max-width: 46ch; }
.muted { color: var(--schiefer-2); }
.skip { position: absolute; left: -999px; top: 0; background: var(--laden); color: #fff; padding: .6rem 1rem; z-index: 100; }
.skip:focus { left: 1rem; top: 1rem; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(251,252,250,.94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--linie); }
.site-header .wrap { display: flex; align-items: center; gap: 1.5rem; min-height: 4.25rem; }
.brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--schiefer); margin-right: auto; }
.brand svg { width: 30px; height: 30px; flex: none; }
.brand b { font-family: var(--font-head); font-size: 1.4rem; white-space: nowrap; font-weight: 600; line-height: 1; }
.brand small { display: block; font-size: .8rem; color: var(--schiefer-2); line-height: 1.2; margin-top: 2px; }
.nav { display: flex; gap: 1.4rem; }
.nav a { color: var(--schiefer); text-decoration: none; font-weight: 500; padding: .3rem 0; border-bottom: 2px solid transparent; }
.nav a:hover { color: var(--laden); }
.nav a[aria-current="page"] { border-bottom-color: var(--laden); color: var(--laden); }
.header-tel { white-space: nowrap; }
.menu-btn { display: none; background: none; border: 1px solid var(--linie); border-radius: var(--radius); padding: .45rem .7rem; font: inherit; color: var(--schiefer); cursor: pointer; }

@media (max-width: 1180px) {
  .menu-btn { display: inline-flex; align-items: center; gap: .4rem; }
  .site-header .header-tel { display: none; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; gap: 0; background: var(--putz); border-bottom: 1px solid var(--linie); padding: .5rem var(--pad) 1rem; }
  .nav.open { display: flex; }
  .nav a { padding: .75rem 0; border-bottom: 1px solid var(--linie); }
  .nav a[aria-current="page"] { border-bottom-color: var(--linie); }
}

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; font: inherit; font-weight: 600; text-decoration: none; padding: .8rem 1.35rem; border-radius: var(--radius); border: 2px solid var(--laden); background: var(--laden); color: #fff; cursor: pointer; }
.btn:hover { background: var(--laden-dunkel); border-color: var(--laden-dunkel); color: #fff; }
.btn--ghost { background: transparent; color: var(--laden); }
.btn--ghost:hover { background: var(--laden); color: #fff; }
.btn--small { padding: .5rem .95rem; font-size: var(--step--1); }
.btn svg { width: 1.1em; height: 1.1em; }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }

/* ---------- Bild-Platzhalter ---------- */
.ph {
  position: relative; background: var(--kalk); border-radius: var(--radius); overflow: hidden;
  display: flex; align-items: flex-end; aspect-ratio: 4 / 3;
  background-image:
    linear-gradient(135deg, rgba(47,93,78,.10) 25%, transparent 25%, transparent 50%, rgba(47,93,78,.10) 50%, rgba(47,93,78,.10) 75%, transparent 75%);
  background-size: 22px 22px;
}
.ph::after { content: attr(data-label); margin: .75rem; background: rgba(251,252,250,.92); color: var(--schiefer-2); font-size: .85rem; padding: .3rem .6rem; border-radius: 4px; }
.ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ph:has(img)::after { display: none; }

/* ---------- Hero ---------- */
.hero { padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(3rem, 7vw, 5rem); }
.hero .wrap { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.hero h1 { max-width: 16ch; }
.hero .ph { aspect-ratio: 5 / 4; border-radius: 10px; }
.hero-figure { position: relative; }
/* Fensterläden: das eine wiedererkennbare Motiv */
.hero-figure::before, .hero-figure::after {
  content: ""; position: absolute; top: 6%; bottom: 6%; width: 7%; background:
    repeating-linear-gradient(180deg, var(--laden) 0 10px, var(--laden-dunkel) 10px 12px);
  border-radius: 3px; z-index: 1;
}
.hero-figure::before { left: -4.5%; }
.hero-figure::after { right: -4.5%; }

.distances { list-style: none; margin: 2.25rem 0 0; padding: 1.1rem 0 0; display: flex; flex-wrap: wrap; gap: .5rem 2rem; border-top: 1px solid var(--linie); }
.distances li { display: flex; flex-direction: column; }
.distances b { font-family: var(--font-head); font-size: var(--step-2); font-weight: 600; line-height: 1.1; }
.distances span { color: var(--schiefer-2); font-size: var(--step--1); }

@media (max-width: 820px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-figure { order: -1; margin: 0 6%; }
}

/* ---------- Unterkünfte (Liste, keine Kachelwand) ---------- */
.stays { display: grid; gap: clamp(2.5rem, 6vw, 4rem); margin-top: 2.5rem; }
.stay { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
.stay:nth-child(even) .stay-media { order: 2; }
.stay-facts { display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; margin: 0 0 1rem; padding: 0; list-style: none; color: var(--schiefer-2); }
.stay-facts li b { color: var(--schiefer); font-weight: 600; }
.stay h3 { font-size: var(--step-2); }
@media (max-width: 820px) { .stay { grid-template-columns: 1fr; } .stay:nth-child(even) .stay-media { order: 0; } }

/* ---------- Inklusive ---------- */
.incl { display: grid; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); gap: 1.75rem 2.5rem; margin-top: 2rem; }
.incl div { display: grid; grid-template-columns: 2.25rem 1fr; gap: .2rem .9rem; align-items: start; }
.incl svg { width: 2.25rem; height: 2.25rem; color: var(--laden); grid-row: span 2; }
.incl b { font-weight: 600; }
.incl span { color: var(--schiefer-2); font-size: var(--step--1); }
.section--dunkel .incl svg { color: #9FD0B8; }
.section--dunkel .incl span { color: #B9C5C0; }

/* ---------- Split-Abschnitt ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
@media (max-width: 820px) { .split { grid-template-columns: 1fr; } }

/* ---------- Google-Bewertung ---------- */
.rating-card { background: #fff; border: 1px solid var(--linie); border-radius: 10px; padding: 1.75rem; display: grid; gap: 1rem; }
.rating-top { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.rating-score { font-family: var(--font-head); font-size: 3.2rem; font-weight: 600; line-height: 1; }
.stars { display: inline-flex; gap: 2px; color: var(--sonne); }
.stars svg { width: 1.3rem; height: 1.3rem; }
.g-logo { display: inline-flex; align-items: center; gap: .45rem; color: var(--schiefer-2); font-size: var(--step--1); }
.g-logo svg { width: 18px; height: 18px; }

.quote { margin: 0; padding: 0 0 0 1.25rem; border-left: 3px solid var(--laden); }
.quote p { font-family: var(--font-head); font-size: var(--step-1); font-weight: 500; line-height: 1.35; max-width: 40ch; }
.quote footer { color: var(--schiefer-2); font-size: var(--step--1); }

.reviews { columns: 2 22rem; column-gap: 2rem; margin-top: 2.5rem; }
.review { break-inside: avoid; background: #fff; border: 1px solid var(--linie); border-radius: 10px; padding: 1.4rem 1.5rem; margin: 0 0 2rem; }
.review p { font-size: var(--step-0); }
.review footer { display: flex; justify-content: space-between; color: var(--schiefer-2); font-size: var(--step--1); }
.review--todo { border-style: dashed; background: transparent; color: var(--schiefer-2); }

/* ---------- Karte (Zwei-Klick) ---------- */
.map { position: relative; border-radius: 10px; overflow: hidden; background: var(--kalk); aspect-ratio: 16 / 10; display: grid; place-items: center; text-align: center; padding: 1.5rem; border: 1px solid var(--linie); }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map p { margin: 0 auto 1rem; font-size: var(--step--1); color: var(--schiefer-2); max-width: 36ch; }

/* ---------- Unterkunft-Detailseite ---------- */
.page-head { padding: clamp(2.5rem, 6vw, 4rem) 0 1.5rem; }
.crumb { font-size: var(--step--1); color: var(--schiefer-2); margin-bottom: .75rem; }
.crumb a { color: var(--schiefer-2); }
.gallery { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-auto-rows: minmax(9rem, 14rem); gap: .75rem; }
.gallery .ph { aspect-ratio: auto; height: 100%; }
.gallery .ph:first-child { grid-row: span 2; }
@media (max-width: 720px) { .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 9rem; } .gallery .ph:first-child { grid-column: span 2; grid-row: span 2; } }

.facts-table { width: 100%; border-collapse: collapse; margin: 0 0 1.5rem; }
.facts-table th, .facts-table td { text-align: left; padding: .7rem 0; border-bottom: 1px solid var(--linie); vertical-align: top; }
.facts-table th { font-weight: 600; width: 42%; padding-right: 1rem; }
.aside-box { background: var(--kalk); border-radius: 10px; padding: 1.75rem; position: sticky; top: 6rem; }
.aside-box h3 { margin-bottom: .4rem; }

.feature-list { list-style: none; padding: 0; margin: 0 0 1.5rem; display: grid; gap: .55rem; }
.feature-list li { display: grid; grid-template-columns: 1.4rem 1fr; gap: .6rem; }
.feature-list svg { width: 1.3rem; height: 1.3rem; color: var(--laden); margin-top: .2rem; }

.other-stays { display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: 1.5rem; margin-top: 1.5rem; }
.other-stays a { text-decoration: none; color: inherit; display: grid; gap: .6rem; }
.other-stays a:hover h3 { color: var(--laden); }
.other-stays h3 { margin: 0; }
.other-stays .ph { aspect-ratio: 3 / 2; }

/* ---------- Entfernungs-Tabelle ---------- */
.dist-table { width: 100%; border-collapse: collapse; }
.dist-table td { padding: .85rem 0; border-bottom: 1px solid var(--linie); }
.dist-table td:last-child { text-align: right; font-family: var(--font-head); font-size: var(--step-1); font-weight: 600; white-space: nowrap; }

/* ---------- Formular ---------- */
.form { display: grid; gap: 1.1rem; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
@media (max-width: 600px) { .form .row { grid-template-columns: 1fr; } }
.field { display: grid; gap: .35rem; }
.field label { font-weight: 600; font-size: var(--step--1); }
.field label .opt { font-weight: 400; color: var(--schiefer-2); }
.field input, .field select, .field textarea { font: inherit; color: var(--schiefer); background: #fff; border: 1px solid #BCC5BF; border-radius: var(--radius); padding: .7rem .8rem; width: 100%; }
.field textarea { min-height: 8rem; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--laden); outline-offset: 0; border-color: var(--laden); }
.check { display: grid; grid-template-columns: 1.25rem 1fr; gap: .6rem; font-size: var(--step--1); color: var(--schiefer-2); }
.check input { width: 1.1rem; height: 1.1rem; margin-top: .2rem; accent-color: var(--laden); }
.hp { position: absolute; left: -5000px; }
.form-status { padding: 1rem 1.2rem; border-radius: var(--radius); display: none; }
.form-status.ok { display: block; background: #E3F0E8; color: var(--laden-dunkel); }
.form-status.err { display: block; background: #F7E7E2; color: #7A2E1D; }

.contact-list { list-style: none; padding: 0; margin: 0 0 2rem; display: grid; gap: 1rem; }
.contact-list li { display: grid; grid-template-columns: 1.6rem 1fr; gap: .8rem; }
.contact-list svg { width: 1.5rem; height: 1.5rem; color: var(--laden); margin-top: .15rem; }
.contact-list b { display: block; font-weight: 600; }

/* ---------- Rechtstexte ---------- */
.legal h2 { font-size: var(--step-2); margin-top: 2.2rem; }
.legal h3 { margin-top: 1.5rem; }
.legal .todo { background: #FFF4D6; padding: 0 .25em; border-radius: 3px; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid #45545B; background: var(--schiefer); color: #C9D3CE; padding: 3.5rem 0 2rem; font-size: var(--step--1); }
.site-footer a { color: #E9EEEA; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; }
.site-footer h2 { font-size: var(--step-1); color: #fff; margin-bottom: .8rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .4rem; }
.footer-bottom { margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid #45545B; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; }
@media (max-width: 720px) { .footer-grid { grid-template-columns: 1fr; } }

/* Mobile Anruf-Leiste */
.callbar { display: none; }
@media (max-width: 720px) {
  .callbar { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; padding: .6rem .75rem calc(.6rem + env(safe-area-inset-bottom)); background: rgba(251,252,250,.97); border-top: 1px solid var(--linie); }
  .callbar .btn { padding: .7rem .5rem; }
  body { padding-bottom: 4.5rem; }
}

/* ---------- Fotos ---------- */
.ph:has(img) { background-image: none; }
.ph-btn { border: 0; padding: 0; cursor: zoom-in; width: 100%; font: inherit; }
.ph-btn img { transition: transform .4s ease; }
.ph-btn:hover img { transform: scale(1.03); }
.ph--more { display: none; }
.gallery.show-all .ph--more { display: flex; }
.gallery.show-all { grid-auto-rows: minmax(9rem, 12rem); }
.gallery--3 { grid-template-columns: 2fr 1fr; }
.gallery--3 .ph:first-child { grid-row: span 2; }
@media (max-width: 720px) { .gallery--3 { grid-template-columns: 1fr 1fr; } }

.host-photo { width: 8.5rem; margin-bottom: 1.25rem; }
.host-photo .ph { aspect-ratio: 1; border-radius: 50%; border: 4px solid #fff; box-shadow: 0 0 0 1px var(--linie); }

/* Lightbox */
.lb { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; }
.lb::backdrop { background: rgba(30,38,42,.92); }
.lb[open] { display: grid; place-items: center; }
.lb img { max-width: min(92vw, 1400px); max-height: 82vh; object-fit: contain; border-radius: 4px; }
.lb-cap { position: fixed; bottom: 1.25rem; left: 0; right: 0; text-align: center; color: #E9EEEA; margin: 0 auto; }
.lb button { position: fixed; background: rgba(251,252,250,.12); color: #fff; border: 0; width: 3rem; height: 3rem; border-radius: 50%; font-size: 1.9rem; line-height: 1; cursor: pointer; }
.lb button:hover { background: rgba(251,252,250,.25); }
.lb-close { top: 1rem; right: 1rem; }
.lb-prev { left: 1rem; top: 50%; transform: translateY(-50%); }
.lb-next { right: 1rem; top: 50%; transform: translateY(-50%); }
.host-photo img { object-position: 50% 18%; }
.nav { gap: 1.15rem; }
@media (max-width: 1320px) and (min-width: 1181px) { .site-header .header-tel { padding: .5rem .7rem; } .site-header .header-tel .tel-txt { display: none; } }
@media (max-width: 420px) { .brand b { font-size: 1.15rem; } .brand svg { width: 26px; height: 26px; } }
.review-stars { margin-bottom: .6rem; }
.review-stars .stars svg { width: 1.05rem; height: 1.05rem; }
.review footer { align-items: center; gap: 1rem; }
.review footer b { color: var(--schiefer); font-weight: 600; }
.review .g-logo svg { width: 14px; height: 14px; }
.review-note { font-size: var(--step--1); max-width: 70ch; }
.unit-quote { margin: 2rem 0 0; }
.unit-quote blockquote { margin: 0; }
.unit-quote p { font-size: var(--step-0); font-family: var(--font-body); font-weight: 400; font-style: italic; max-width: 60ch; }
.unit-quote figcaption { color: var(--schiefer-2); font-size: var(--step--1); }
.review-note { margin-top: .5rem; }
.unit-review { margin-top: 2rem; max-width: 34rem; } .unit-review .review { margin: 0; }
