/* Familiaris — Google Ads Landingpage | shared styles (DE/IT/EN) */
/* Google Fonts (Lora, Inter) are loaded via <link> in the page <head>, not @import, to avoid a blocking round-trip. */

:root {
  --bg: oklch(0.24 0.02 55);
  --bg-soft: oklch(0.22 0.02 55);
  --bg-deep: oklch(0.2 0.02 55);
  --bg-chip: oklch(0.3 0.02 55);
  --accent: oklch(0.82 0.05 75);
  --accent-hover: oklch(0.92 0.04 75);
  --text: oklch(0.82 0.05 75);
  --text-bright: oklch(0.92 0.04 78);
  --text-heading: oklch(0.9 0.04 78);
  --text-muted-1: oklch(0.72 0.04 72);
  --text-muted-2: oklch(0.65 0.04 70);
  --text-muted-3: oklch(0.62 0.04 70);
  --text-muted-4: oklch(0.6 0.04 70);
  --text-muted-5: oklch(0.55 0.04 70);
  --text-disabled: oklch(0.4 0.02 60);
  --border: oklch(0.4 0.03 60 / 0.25);
  --border-strong: oklch(0.5 0.04 70);
  --badge-bg: oklch(0.5 0.05 75 / 0.22);
  --chip-bg: oklch(0.4 0.03 60 / 0.25);
  --range-bg: oklch(0.5 0.05 75 / 0.3);
  --overlay: oklch(0.24 0.02 55 / 0.55);
  --footer-bg: oklch(0.82 0.05 75);
  --footer-text: oklch(0.24 0.02 55);
  --shadow: 0 16px 48px oklch(0 0 0 / 0.4);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-bottom: 190px; }
html, body { margin: 0; padding: 0; }
section[id] { scroll-margin-top: 96px; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  width: 100%;
  overflow-x: hidden;
}
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); }
::selection { background: oklch(0.6 0.06 75); color: oklch(0.2 0.02 55); }
img { max-width: 100%; display: block; }
button { font-family: inherit; }

.wrap { max-width: 1400px; margin: 0 auto; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: clamp(14px,2vw,22px) clamp(20px,4vw,48px);
  border-bottom: 1px solid var(--border);
  background: oklch(0.24 0.02 55 / 0.85);
  backdrop-filter: blur(10px);
}
.site-header .info-link { font-size: 13px; letter-spacing: 0.08em; font-weight: 600; color: var(--accent); }
.site-header .logo { height: 46px; width: auto; }
.header-actions { display: flex; align-items: center; gap: 20px; }
.btn-inquire { font-size: 13px; letter-spacing: 0.08em; font-weight: 600; color: var(--text); }
.btn-book {
  background: var(--accent); color: oklch(0.22 0.02 55); border: none;
  padding: 12px 24px; border-radius: 999px; font-size: 13px; letter-spacing: 0.08em;
  font-weight: 600; cursor: pointer; display: inline-block;
}

.lang-switch {
  position: sticky; top: 65px; z-index: 40;
  padding: 8px clamp(20px,4vw,48px) 0;
  display: flex; gap: 18px; font-size: 15px; font-weight: 600; letter-spacing: 0.06em;
  background: var(--bg);
}
.lang-switch a { color: var(--text-muted-4); padding: 4px 2px; }
.lang-switch a.active { color: oklch(0.88 0.04 75); }

/* Hero */
.hero {
  position: relative;
  min-height: max(700px, min(92vh, 880px)); height: auto;
  display: flex; align-items: flex-end;
  padding: 0 clamp(20px,4vw,48px) 260px;
}
.hero-media { position: absolute; inset: 0; overflow: hidden; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-media img.hero-slide {
  position: absolute; inset: 0; opacity: 0;
  transition: opacity 2.2s ease-in-out;
}
.hero-media img.hero-slide.active { opacity: 1; }
.hero-scrim { position: absolute; inset: 0; background: linear-gradient(180deg, oklch(0.24 0.02 55 / 0.1), oklch(0.2 0.02 55 / 0.85)); pointer-events: none; }
.hero-content { position: relative; max-width: 780px; }
.hero-eyebrow { font-size: 13px; font-weight: 600; letter-spacing: 0.1em; color: oklch(0.75 0.05 75); margin-bottom: 20px; }
.hero h1 { font-family: 'Lora', serif; font-size: clamp(32px,5vw,64px); line-height: 1.08; margin: 0 0 24px; font-weight: 500; color: var(--text-bright); }
.hero p { font-size: clamp(16px,1.8vw,19px); line-height: 1.6; max-width: 560px; color: oklch(0.78 0.05 75); margin: 0 0 32px; }
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; }
.btn-primary, .btn-outline {
  padding: clamp(12px,2vw,16px) clamp(20px,3vw,32px); border-radius: 3px; font-size: 14px;
  font-weight: 600; letter-spacing: 0.05em; cursor: pointer; display: inline-block; white-space: nowrap; border: none;
}
.btn-primary { background: var(--accent); color: oklch(0.22 0.02 55); }
.btn-outline { background: transparent; color: oklch(0.85 0.04 75); border: 1px solid var(--border-strong); }

/* SEO intro */
.seo-intro { padding: clamp(40px,6vw,64px) clamp(20px,4vw,48px) 0; }
.seo-intro p { max-width: 760px; font-size: 16px; line-height: 1.7; color: var(--text-muted-1); margin: 0; }
.seo-intro a, .feel-text a { color: var(--text-heading); font-weight: 600; text-decoration: none; }
.seo-intro b { color: var(--text-heading); font-weight: 600; }

/* Section heading */
.section-pad { padding: clamp(24px,4vw,40px) clamp(20px,4vw,48px) clamp(56px,10vw,120px); }
.section-title { font-family: 'Lora', serif; font-size: clamp(26px,4vw,40px); font-weight: 500; color: var(--text-bright); margin: 0 0 clamp(28px,4vw,48px); }
.section-head-row { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 48px; flex-wrap: wrap; gap: 10px; }
.section-head-row .section-title { margin: 0; }
.section-head-row .see-all { font-size: 13px; font-weight: 600; letter-spacing: 0.06em; color: var(--text-muted-4); }

/* House cards */
.house-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(380px,1fr)); gap: clamp(24px,3vw,40px); }
.house-card { display: flex; flex-direction: column; gap: 18px; }
.house-card .thumb { aspect-ratio: 16/9; border-radius: 8px; overflow: hidden; }
.house-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.house-name { font-family: 'Lora', serif; font-size: 27px; color: var(--text-bright); font-weight: 500; margin-bottom: 8px; }
.house-info { font-size: 14px; color: var(--text-muted-2); margin-bottom: 12px; }
.badges { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.badge { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; letter-spacing: 0.03em; color: var(--text-heading); background: var(--badge-bg); padding: 6px 14px; border-radius: 999px; }
.badge img, .badge svg { width: 15px; height: 15px; flex-shrink: 0; }
.check-link { font-size: 13px; font-weight: 600; letter-spacing: 0.04em; color: var(--accent); border-bottom: 1px solid var(--border-strong); padding-bottom: 2px; display: inline-block; }

/* Season switcher */
.season-section { padding: clamp(28px,4vw,40px) clamp(20px,4vw,48px); border-bottom: 1px solid var(--border); }
.season-row { display: flex; flex-wrap: wrap; align-items: center; gap: clamp(16px,3vw,28px); }
.season-toggle { display: inline-flex; background: var(--bg-chip); border-radius: 999px; padding: 4px; }
.season-toggle button {
  background: transparent; color: oklch(0.75 0.04 75); border: none;
  padding: 8px 20px; border-radius: 999px; font-size: 13px; font-weight: 600; letter-spacing: 0.05em; cursor: pointer;
}
.season-toggle button.active { background: var(--accent); color: oklch(0.22 0.02 55); }
.chip-row { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  font-size: 13px; font-weight: 600; letter-spacing: 0.02em; color: oklch(0.85 0.04 75);
  background: var(--chip-bg); padding: 7px 16px 7px 12px; border-radius: 999px;
  display: inline-flex; align-items: center; gap: 7px;
}
.chip img, .chip svg { width: 16px; height: 16px; flex: none; }
.chip-set[hidden] { display: none; }

/* Feeling / intro */
.feel-section {
  padding: clamp(56px,10vw,120px) clamp(20px,4vw,48px);
  display: grid; grid-template-columns: minmax(200px,320px) minmax(300px,1fr);
  gap: clamp(32px,5vw,64px); align-items: start;
}
.feel-photos { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(12px,2vw,20px); }
.feel-photos .ph1 { aspect-ratio: 3/4; border-radius: 4px; overflow: hidden; }
.feel-photos .ph2 { aspect-ratio: 3/4; margin-top: 48px; border-radius: 4px; overflow: hidden; }
.feel-photos img { width: 100%; height: 100%; object-fit: cover; }
.feel-text { font-family: 'Lora', serif; font-size: clamp(19px,2.2vw,27px); line-height: 1.5; font-weight: 500; }
.feel-text .bright { color: var(--text-bright); font-weight: 600; }
.feel-text .muted { color: var(--text-muted-4); }

/* Locations */
.loc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px,1fr)); gap: clamp(20px,3vw,32px); }
.loc-card { display: flex; flex-direction: column; gap: 20px; }
.loc-card .thumb { aspect-ratio: 4/5; border-radius: 6px; overflow: hidden; position: relative; }
.loc-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.loc-num {
  position: absolute; top: 16px; left: 16px; font-size: 12px; font-weight: 600; letter-spacing: 0.06em;
  color: var(--text-bright); background: var(--overlay); padding: 4px 10px; border-radius: 999px; backdrop-filter: blur(3px);
}
.loc-card h3 { font-family: 'Lora', serif; font-size: 24px; font-weight: 500; color: var(--text-heading); margin: 0 0 8px; }
.loc-card p { font-size: 15px; line-height: 1.6; color: var(--text-muted-3); margin: 0 0 16px; }
.loc-card .discover { font-size: 13px; font-weight: 600; letter-spacing: 0.04em; border-bottom: 1px solid var(--border-strong); padding-bottom: 2px; display: inline-block; color: var(--text); }

/* More houses */
.more-title { font-family: 'Lora', serif; font-size: 20px; font-weight: 500; color: var(--text-muted-4); margin: 0 0 24px; }
.more-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px,1fr)); gap: clamp(16px,2vw,24px); opacity: 0.85; }
.more-card { display: flex; flex-direction: column; gap: 12px; }
.more-card .thumb { aspect-ratio: 16/10; border-radius: 5px; overflow: hidden; }
.more-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.more-card .row { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; padding-bottom: 12px; border-bottom: 1px solid var(--border); }
.more-card .name { font-family: 'Lora', serif; font-size: 17px; color: oklch(0.8 0.04 78); font-weight: 500; }
.more-card .info { font-size: 12px; color: var(--text-muted-5); text-align: right; }
.more-card .check-link { font-size: 12px; color: var(--text-muted-2); border-bottom: 1px solid var(--border); align-self: flex-start; }

/* Seekda live-availability widgets (embedded per house) */
.kbe-widget { min-height: 46px; max-width: 100%; overflow: hidden; }

/* Sticky booking bar */
.booking-bar {
  position: fixed; left: 50%; transform: translateX(-50%); bottom: 20px; z-index: 60;
  width: min(66vw, 1180px); max-width: calc(100vw - 24px);
  background: oklch(0.2 0.02 55 / 0.97); border-radius: 20px; border: 1px solid oklch(0.5 0.04 70 / 0.3);
  backdrop-filter: blur(10px); padding: 14px 28px; box-shadow: var(--shadow);
}
.booking-form { display: flex; flex-wrap: wrap; align-items: end; gap: clamp(10px,2vw,20px); max-width: 1400px; margin: 0 auto; }
.field { display: flex; flex-direction: column; gap: 4px; min-width: 130px; }
.field[hidden] { display: none; }
.field.grow { flex: 1; min-width: 170px; }
.field label { font-size: 11px; letter-spacing: 0.06em; font-weight: 600; color: var(--text-muted-4); }
.field .date-btn, .field select {
  background: transparent; border: none; border-bottom: 1px solid var(--border-strong); color: var(--text-heading);
  font-family: 'Inter', sans-serif; font-size: 14px; padding: 4px 0; text-align: left; cursor: pointer; outline: none; white-space: nowrap;
}
.field select option { color: #111; }
.child-ages-field { min-width: unset; }
.child-ages { display: flex; gap: 6px; }
.child-ages select {
  width: 46px; background: transparent; border: none; border-bottom: 1px solid var(--border-strong);
  color: var(--text-heading); font-family: 'Inter', sans-serif; font-size: 14px; padding: 4px 0; cursor: pointer; outline: none;
}
.child-ages select option { color: #111; }
.btn-check {
  background: var(--accent); color: oklch(0.22 0.02 55); border: none; padding: 12px 30px; border-radius: 3px;
  font-size: 13px; letter-spacing: 0.08em; font-weight: 600; cursor: pointer; white-space: nowrap;
}
.booking-bar-toggle, .booking-scrim, .booking-form-close { display: none; }

/* Calendar overlay */
.calendar-scrim { position: fixed; inset: 0; z-index: 62; }
.calendar-pop { position: fixed; left: 0; right: 0; bottom: 110px; z-index: 65; display: flex; justify-content: center; padding: 0 20px; }
.calendar-panel {
  background: var(--bg-soft); border: 1px solid oklch(0.4 0.03 60 / 0.5); border-radius: 8px; padding: 24px;
  display: flex; gap: 32px; flex-wrap: wrap; box-shadow: 0 -20px 60px oklch(0 0 0 / 0.5); max-width: 640px;
}
.cal-month { min-width: 250px; }
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.cal-head button { background: transparent; border: none; color: oklch(0.75 0.04 75); font-size: 16px; cursor: pointer; padding: 4px 8px; width: 28px; }
.cal-head .spacer { width: 28px; display: inline-block; }
.cal-head .label { font-family: 'Lora', serif; font-size: 15px; color: var(--text-heading); font-weight: 500; }
.cal-weekdays, .cal-days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; }
.cal-weekdays { margin-bottom: 6px; }
.cal-weekdays div { text-align: center; font-size: 10px; font-weight: 600; letter-spacing: 0.04em; color: var(--text-muted-5); }
.cal-days button, .cal-days span { height: 32px; border-radius: 999px; border: none; background: transparent; color: oklch(0.85 0.04 75); font-size: 13px; cursor: pointer; font-family: inherit; display: flex; align-items: center; justify-content: center; }
.cal-days span.empty { visibility: hidden; }
.cal-days span.disabled { color: var(--text-disabled); cursor: default; }
.cal-days button.selected { background: var(--accent); color: oklch(0.22 0.02 55); font-weight: 700; }
.cal-days button.in-range { border-radius: 0; background: var(--range-bg); color: var(--text-heading); }

/* Footer */
.site-footer { background: var(--footer-bg); color: var(--footer-text); padding: clamp(48px,8vw,80px) clamp(20px,4vw,48px) 96px; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px,1fr)); gap: clamp(28px,4vw,48px); padding-bottom: 56px; border-bottom: 1px solid oklch(0.24 0.02 55 / 0.15); }
.footer-grid p { font-size: 14px; line-height: 1.6; max-width: 260px; opacity: 0.75; margin: 0; }
.footer-col-title { font-size: 12px; font-weight: 700; letter-spacing: 0.08em; margin-bottom: 16px; opacity: 0.6; }
.site-footer a { color: var(--footer-text); }
.footer-links { display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.footer-sustain p { font-size: 13px; line-height: 1.6; max-width: 220px; opacity: 0.8; margin: 0 0 14px; }
.footer-contact { display: flex; flex-direction: column; gap: 10px; font-size: 14px; opacity: 0.85; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 24px; font-size: 12px; opacity: 0.55; flex-wrap: wrap; gap: 8px; }

/* Responsive */
@media (max-width: 900px) {
  .house-grid { grid-template-columns: 1fr; }
  .feel-section { grid-template-columns: 1fr; }
  .feel-photos { grid-template-columns: 1fr 1fr; }
  .feel-photos .ph2 { margin-top: 0; }
}

@media (max-width: 720px) {
  /* Bigger, more touch-friendly type and buttons throughout */
  .hero h1 { font-size: 36px; }
  .hero p { font-size: 17px; line-height: 1.65; }
  .hero-eyebrow { font-size: 13px; }
  .hero-cta { flex-direction: column; align-items: stretch; gap: 14px; }
  .btn-primary, .btn-outline { font-size: 16px; padding: 17px 24px; }
  .btn-book { font-size: 14px; padding: 13px 20px; }
  .section-title { font-size: 28px; }
  .house-name { font-size: 24px; }
  .house-info, .loc-card p { font-size: 15px; }
  .badge { font-size: 13px; padding: 7px 15px; }
  .badge img, .badge svg { width: 16px; height: 16px; }
  .check-link, .discover { font-size: 14px; }

  /* Info left, Anfragen centered, Buchen right; logo drops to its own centered row */
  .site-header { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; row-gap: 10px; }
  .site-header > div:first-child { grid-row: 1; grid-column: 1; justify-self: start; }
  .header-actions { display: contents; }
  .btn-inquire { grid-row: 1; grid-column: 2; justify-self: center; }
  .btn-book { grid-row: 1; grid-column: 3; justify-self: end; }
  .site-header .logo { grid-row: 2; grid-column: 1 / -1; justify-self: center; height: 38px; }
  .lang-switch { position: static; font-size: 17px; gap: 20px; }

  .hero { padding-bottom: 110px; min-height: max(600px, min(88vh, 780px)); }

  .loc-grid { grid-template-columns: 1fr; }
  .more-grid { grid-template-columns: 1fr; }

  /* Booking bar collapses to one button; tapping it opens the full form as a sheet */
  .booking-bar {
    left: 12px; right: 12px; transform: none; width: auto; max-width: none;
    bottom: 12px; padding: 0; background: none; border: none; backdrop-filter: none; box-shadow: none;
  }
  .booking-bar-toggle {
    display: block; width: 100%; background: var(--accent); color: oklch(0.22 0.02 55);
    border: none; padding: 19px 20px; border-radius: 14px; font-size: 16px; font-weight: 700;
    letter-spacing: 0.05em; box-shadow: var(--shadow); cursor: pointer;
  }
  .booking-scrim { display: none; position: fixed; inset: 0; z-index: 59; background: oklch(0.1 0.02 55 / 0.6); }
  .booking-bar.expanded .booking-bar-toggle { display: none; }
  .booking-bar.expanded .booking-scrim { display: block; }

  .booking-form {
    display: none; flex-direction: column; flex-wrap: nowrap; align-items: stretch; gap: 18px;
    position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 61;
    background: oklch(0.2 0.02 55 / 0.98); border: 1px solid oklch(0.5 0.04 70 / 0.3); border-radius: 18px;
    padding: 44px 20px 22px; box-shadow: var(--shadow); max-height: 82vh; overflow-y: auto; overflow-x: hidden;
  }
  .booking-bar.expanded .booking-form { display: flex; }
  .booking-form-close {
    display: flex; position: absolute; top: 10px; right: 10px; width: 32px; height: 32px;
    align-items: center; justify-content: center; background: transparent; border: none;
    color: var(--text-heading); font-size: 18px; line-height: 1; cursor: pointer;
  }
  .field, .field.grow { min-width: 0; width: 100%; }
  .field label { font-size: 12px; }
  .field .date-btn, .field select { font-size: 16px; padding: 8px 0; }
  .child-ages { gap: 10px; }
  .child-ages select { font-size: 16px; width: 56px; padding: 8px 0; }
  .child-ages-field { order: 99; }
  .btn-check { order: 100; width: 100%; font-size: 15px; padding: 17px 20px; }

  .calendar-pop { bottom: 12px; padding: 0 12px; max-height: 82vh; z-index: 66; }
  .calendar-panel { flex-direction: column; gap: 20px; padding: 16px; max-height: 82vh; overflow-y: auto; }
  .cal-month { min-width: unset; width: 100%; }
  .cal-days button, .cal-days span { height: 40px; font-size: 15px; }
}

@media (max-width: 480px) {
  .btn-inquire { font-size: 12px; }
  .site-header .logo { height: 32px; }

  .badges { gap: 6px; }
  .more-card .row { flex-wrap: wrap; }
  .more-card .info { text-align: left; }
}
