/* ==========================================================
   Fortuna Ranch – Stylesheet
   ========================================================== */

@font-face { font-family: "Fraunces"; src: url("../fonts/fraunces-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url("../fonts/fraunces-latin-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }

:root {
  --paper: #fbf8f3;
  --sand: #f3ebdf;
  --sand-2: #e9dccb;
  --line: #e2d5c3;
  --ink: #2a2019;
  --ink-2: #4a3d33;
  --muted: #76675b;
  --rust: #b4562c;
  --rust-dark: #8e3f1c;
  --sage: #66724f;
  --night: #1f1813;
  --radius: 18px;
  --radius-sm: 10px;
  --shadow: 0 18px 40px -22px rgba(42, 32, 25, .45);
  --max: 1180px;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink-2);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img, video { display: block; max-width: 100%; }
a { color: var(--rust-dark); }
a:hover { color: var(--rust); }

h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; color: var(--ink); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.4rem, 6vw, 4.6rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); }
p { margin: 0 0 1.1em; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.eyebrow {
  display: inline-block;
  font-family: var(--sans);
  font-size: .78rem; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--rust);
  margin-bottom: 14px;
}
.lead { font-size: 1.2rem; color: var(--ink-2); }
.script { font-family: var(--serif); font-style: italic; font-weight: 400; }
.muted { color: var(--muted); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 600; font-size: .98rem;
  text-decoration: none;
  transition: transform .2s ease, background .2s ease, color .2s ease, box-shadow .2s ease;
  border: 2px solid transparent;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--rust); color: #fff; box-shadow: 0 10px 24px -12px rgba(180, 86, 44, .8); }
.btn-primary:hover { background: var(--rust-dark); color: #fff; }
.btn-ghost { border-color: rgba(255,255,255,.7); color: #fff; }
.btn-ghost:hover { background: #fff; color: var(--ink); }
.btn-outline { border-color: var(--ink); color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn svg { width: 18px; height: 18px; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: background .3s ease, box-shadow .3s ease, padding .3s ease;
  padding: 18px 0;
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: #fff; }
.brand-mark {
  width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center;
  border: 2px solid currentColor;
  font-family: var(--serif); font-size: 1.15rem;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong { font-family: var(--serif); font-size: 1.3rem; font-weight: 600; letter-spacing: .02em; }
.brand-text span { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; opacity: .85; }

.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 6px; }
.nav a {
  display: block; padding: 8px 14px; border-radius: 999px;
  color: #fff; text-decoration: none; font-size: .95rem; font-weight: 600;
  transition: background .2s ease, color .2s ease;
}
.nav a:hover { background: rgba(255,255,255,.16); }
.nav a[aria-current="page"] { background: rgba(255,255,255,.22); }

.site-header.solid, body.no-hero .site-header {
  background: rgba(251, 248, 243, .94);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  backdrop-filter: saturate(1.4) blur(12px);
  box-shadow: 0 1px 0 var(--line);
  padding: 10px 0;
}
.site-header.solid .brand, body.no-hero .site-header .brand { color: var(--ink); }
.site-header.solid .nav a, body.no-hero .site-header .nav a { color: var(--ink); }
.site-header.solid .nav a:hover, body.no-hero .site-header .nav a:hover { background: var(--sand); }
.site-header.solid .nav a[aria-current="page"], body.no-hero .site-header .nav a[aria-current="page"] { background: var(--ink); color: #fff; }

.nav-toggle {
  display: none;
  background: none; border: 0; padding: 8px; cursor: pointer; color: #fff;
}
.site-header.solid .nav-toggle, body.no-hero .nav-toggle { color: var(--ink); }
.nav-toggle svg { width: 28px; height: 28px; }

@media (max-width: 960px) {
  .nav-toggle { display: block; position: relative; z-index: 60; }
  .nav {
    position: fixed; inset: 0;
    background: var(--night);
    display: flex; align-items: center; justify-content: center;
    opacity: 0; pointer-events: none;
    transition: opacity .3s ease;
  }
  .nav ul { flex-direction: column; align-items: center; gap: 8px; }
  .nav a, .site-header.solid .nav a, body.no-hero .site-header .nav a { color: #fff; font-family: var(--serif); font-size: 1.7rem; font-weight: 600; padding: 8px 22px; }
  .site-header.solid .nav a:hover, body.no-hero .site-header .nav a:hover { background: rgba(255,255,255,.1); }
  .site-header.solid .nav a[aria-current="page"], body.no-hero .site-header .nav a[aria-current="page"] { background: var(--rust); }
  body.nav-open { overflow: hidden; }
  body.nav-open .nav { opacity: 1; pointer-events: auto; }
  body.nav-open .nav-toggle { color: #fff; }
}

/* ---------- Hero (home) ---------- */
.hero {
  position: relative;
  min-height: 100vh; min-height: 100svh;
  display: flex; align-items: flex-end;
  color: #fff;
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; z-index: -2; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; transform: scale(1.04); animation: heroZoom 18s ease-out forwards; }
@keyframes heroZoom { to { transform: scale(1); } }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(20,14,10,.55) 0%, rgba(20,14,10,0) 28%),
    linear-gradient(0deg, rgba(20,14,10,.82) 0%, rgba(20,14,10,.25) 50%, rgba(20,14,10,0) 70%);
}
.hero .container { padding-bottom: clamp(56px, 10vh, 110px); padding-top: 140px; }
.hero h1 { color: #fff; max-width: 13ch; margin-bottom: .3em; }
.hero .eyebrow { color: #f4c9a6; }
.hero p { font-size: clamp(1.05rem, 1.6vw, 1.25rem); max-width: 560px; color: rgba(255,255,255,.9); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.scroll-hint {
  position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%);
  width: 26px; height: 42px; border: 2px solid rgba(255,255,255,.6); border-radius: 20px;
}
.scroll-hint::after {
  content: ""; position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px;
  background: #fff; border-radius: 2px; animation: scrollDot 1.8s infinite;
}
@keyframes scrollDot { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------- Page hero (sub pages) ---------- */
.page-hero {
  position: relative; color: #fff;
  min-height: 62vh; display: flex; align-items: flex-end;
  overflow: hidden;
}
.page-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.page-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(20,14,10,.8) 0%, rgba(20,14,10,.2) 60%, rgba(20,14,10,.45) 100%); }
.page-hero .container { padding-top: 140px; padding-bottom: 64px; }
.page-hero h1 { color: #fff; margin-bottom: .2em; }
.page-hero p { color: rgba(255,255,255,.9); font-size: 1.2rem; max-width: 620px; margin: 0; }
.page-hero .eyebrow { color: #f4c9a6; }

/* ---------- Sections ---------- */
section { position: relative; }
.section { padding: clamp(72px, 10vw, 128px) 0; }
.section-sand { background: var(--sand); }
.section-dark { background: var(--night); color: rgba(255,255,255,.82); }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head.center { text-align: center; margin-left: auto; margin-right: auto; }

.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(36px, 6vw, 88px); align-items: center; }
.split.reverse > :first-child { order: 2; }
@media (max-width: 880px) {
  .split { grid-template-columns: 1fr; }
  .split.reverse > :first-child { order: 0; }
}

/* image stack */
.img-stack { position: relative; padding: 0 0 70px 60px; }
.img-stack img { border-radius: var(--radius); box-shadow: var(--shadow); object-fit: cover; }
.img-stack .a { width: 100%; aspect-ratio: 4/5; }
.img-stack .b { position: absolute; left: 0; bottom: 0; width: 46%; aspect-ratio: 1; border: 6px solid var(--paper); }
.section-sand .img-stack .b { border-color: var(--sand); }
.img-single { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; object-fit: cover; aspect-ratio: 4/3; }
.img-tall { aspect-ratio: 4/5; }

/* motto */
.motto {
  font-family: var(--serif); font-style: italic; font-weight: 400;
  font-size: clamp(1.6rem, 3vw, 2.2rem); color: var(--rust-dark);
  border-left: 3px solid var(--rust); padding: 4px 0 4px 22px; margin: 28px 0;
  line-height: 1.3;
}

/* facts strip */
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.fact { padding: 34px 24px; text-align: center; border-right: 1px solid var(--line); }
.fact:last-child { border-right: 0; }
.fact strong { display: block; font-family: var(--serif); font-size: clamp(1.8rem, 3vw, 2.5rem); color: var(--ink); font-weight: 600; line-height: 1.1; }
.fact span { font-size: .92rem; color: var(--muted); }
@media (max-width: 760px) {
  .facts { grid-template-columns: 1fr 1fr; }
  .fact:nth-child(2) { border-right: 0; }
  .fact:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}

/* video */
.video-wrap {
  position: relative; border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 30px 60px -30px rgba(0,0,0,.8);
  background: #000; aspect-ratio: 16/9;
}
.video-wrap video { width: 100%; height: 100%; object-fit: cover; }
.video-play {
  position: absolute; inset: 0; display: grid; place-items: center;
  background: linear-gradient(0deg, rgba(0,0,0,.45), rgba(0,0,0,.1));
  border: 0; cursor: pointer; color: #fff; width: 100%; padding: 0;
  transition: background .3s ease;
}
.video-play:hover { background: linear-gradient(0deg, rgba(0,0,0,.35), rgba(0,0,0,0)); }
.video-play span {
  width: 92px; height: 92px; border-radius: 50%; background: var(--rust);
  display: grid; place-items: center;
  box-shadow: 0 0 0 12px rgba(180,86,44,.3);
  transition: transform .25s ease, box-shadow .25s ease;
}
.video-play:hover span { transform: scale(1.06); box-shadow: 0 0 0 18px rgba(180,86,44,.25); }
.video-play svg { width: 34px; height: 34px; margin-left: 5px; }
.video-wrap.playing .video-play { display: none; }

/* cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
@media (max-width: 960px) { .cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .cards { grid-template-columns: 1fr; } }
.card {
  background: #fff; border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 1px 0 var(--line), 0 20px 40px -32px rgba(42,32,25,.5);
  display: flex; flex-direction: column;
  transition: transform .3s ease, box-shadow .3s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 1px 0 var(--line), 0 28px 50px -30px rgba(42,32,25,.55); }
.card img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.card-body { padding: 26px 26px 30px; display: flex; flex-direction: column; flex: 1; }
.card-body p:last-child { margin-bottom: 0; }
.tag {
  align-self: flex-start;
  font-size: .72rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  background: var(--sand); color: var(--rust-dark);
  padding: 5px 12px; border-radius: 999px; margin-bottom: 14px;
}
.card .tag.new { background: var(--rust); color: #fff; }

/* feature card (large news) */
.feature {
  display: grid; grid-template-columns: 1.1fr 1fr; background: #fff; border-radius: var(--radius);
  overflow: hidden; box-shadow: 0 1px 0 var(--line), 0 30px 60px -40px rgba(42,32,25,.6); margin-bottom: 28px;
}
.feature img { width: 100%; height: 100%; object-fit: cover; min-height: 340px; }
.feature .card-body { padding: clamp(28px, 4vw, 52px); justify-content: center; }
@media (max-width: 820px) { .feature { grid-template-columns: 1fr; } .feature img { min-height: 0; aspect-ratio: 4/3; } }
.note-box {
  margin-top: 8px; padding: 14px 18px; border-radius: var(--radius-sm);
  background: var(--sand); font-size: .95rem; color: var(--ink-2);
}

/* teasers */
.teasers { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
@media (max-width: 760px) { .teasers { grid-template-columns: 1fr; } }
.teaser {
  position: relative; display: flex; align-items: flex-end;
  min-height: 420px; border-radius: var(--radius); overflow: hidden;
  color: #fff; text-decoration: none; isolation: isolate;
}
.teaser img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .8s ease; }
.teaser::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(20,14,10,.85), rgba(20,14,10,0) 65%); }
.teaser:hover img { transform: scale(1.05); }
.teaser div { padding: 32px; }
.teaser h3 { color: #fff; font-size: clamp(1.6rem, 2.6vw, 2.1rem); margin-bottom: .25em; }
.teaser p { margin: 0 0 14px; color: rgba(255,255,255,.88); }
.teaser .more { font-weight: 600; display: inline-flex; gap: 8px; align-items: center; color: #fff; }
.teaser:hover { color: #fff; }

/* lists */
.check-list { list-style: none; padding: 0; margin: 0 0 1.4em; display: grid; gap: 10px; }
.check-list li { position: relative; padding-left: 34px; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: .32em; width: 20px; height: 20px; border-radius: 50%;
  background: var(--rust) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/12px no-repeat;
}
.check-list.cols { grid-template-columns: 1fr 1fr; column-gap: 28px; }
@media (max-width: 640px) { .check-list.cols { grid-template-columns: 1fr; } }

.pill-grid { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 1.4em; padding: 0; list-style: none; }
.pill-grid li {
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  padding: 8px 16px; font-size: .95rem; color: var(--ink);
}
.section-sand .pill-grid li { background: var(--paper); }

/* sub navigation chips */
.subnav {
  position: sticky; top: 64px; z-index: 20;
  background: rgba(251,248,243,.95);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.subnav ul { list-style: none; margin: 0; padding: 12px 0; display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.subnav ul::-webkit-scrollbar { display: none; }
.subnav a {
  white-space: nowrap; display: block; padding: 8px 16px; border-radius: 999px;
  text-decoration: none; color: var(--ink); font-weight: 600; font-size: .9rem;
  border: 1px solid var(--line); background: #fff;
  transition: background .2s ease, color .2s ease;
}
.subnav a:hover, .subnav a.active { background: var(--ink); color: #fff; border-color: var(--ink); }
[id] { scroll-margin-top: 130px; }

/* amenities grid */
.amenities { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; margin-top: 24px; }
.amenity {
  display: flex; align-items: center; gap: 12px;
  background: var(--paper); border-radius: var(--radius-sm); padding: 14px 16px;
  font-size: .95rem; color: var(--ink);
  border: 1px solid var(--line);
}
.amenity::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--rust); }

/* gallery */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; gap: 14px; }
.gallery a { border-radius: var(--radius-sm); overflow: hidden; display: block; position: relative; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.gallery a:hover img { transform: scale(1.06); }
.gallery .wide { grid-column: span 2; }
.gallery .tall { grid-row: span 2; }
.gallery figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 14px 10px;
  color: #fff; font-size: .88rem; font-weight: 600;
  background: linear-gradient(0deg, rgba(0,0,0,.65), transparent);
}
@media (max-width: 820px) { .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 170px; } }

/* trainers */
.trainers { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 0; padding: 0; list-style: none; }
.trainers li { display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 6px 16px 6px 6px; font-weight: 600; color: var(--ink); }
.trainers li span { width: 34px; height: 34px; border-radius: 50%; background: var(--sage); color: #fff; display: grid; place-items: center; font-size: .82rem; }

/* camp cards */
.camp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 32px; }
@media (max-width: 760px) { .camp-grid { grid-template-columns: 1fr; } }
.camp {
  background: #fff; border-radius: var(--radius); padding: 30px; border: 1px solid var(--line);
}
.camp h3 { margin-bottom: .2em; }
.camp .meta { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 20px; }
.camp .meta span { font-size: .82rem; font-weight: 600; background: var(--sand); color: var(--rust-dark); padding: 5px 12px; border-radius: 999px; }

/* offer trio */
.offer-trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
@media (max-width: 960px) { .offer-trio { grid-template-columns: 1fr; } }

/* Hippolini age cards */
.age-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 1000px) { .age-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .age-grid { grid-template-columns: 1fr; } }
.age {
  background: #fff; border-radius: var(--radius); padding: 30px 26px; position: relative; overflow: hidden;
  border: 1px solid var(--line);
}
.age .age-badge {
  display: inline-block; font-family: var(--serif); font-size: 1.05rem; font-weight: 600;
  color: #fff; padding: 6px 14px; border-radius: 999px; margin-bottom: 18px;
}
.age:nth-child(1) .age-badge { background: #d3863e; }
.age:nth-child(2) .age-badge { background: var(--rust); }
.age:nth-child(3) .age-badge { background: var(--sage); }
.age:nth-child(4) .age-badge { background: var(--ink); }
.age p { margin: 0; }

/* CTA band */
.cta-band {
  position: relative; overflow: hidden; isolation: isolate;
  border-radius: var(--radius);
  padding: clamp(40px, 6vw, 72px);
  color: #fff;
  display: grid; grid-template-columns: 1.4fr auto; gap: 28px; align-items: center;
}
.cta-band img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.cta-band::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(31,24,19,.92), rgba(31,24,19,.55)); }
.cta-band h2 { color: #fff; margin-bottom: .3em; }
.cta-band p { margin: 0; color: rgba(255,255,255,.88); max-width: 560px; }
.cta-band .actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 820px) { .cta-band { grid-template-columns: 1fr; } }

/* contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-card { background: #fff; border-radius: var(--radius); padding: clamp(28px, 4vw, 44px); border: 1px solid var(--line); }
.contact-row { display: flex; gap: 16px; align-items: flex-start; padding: 18px 0; border-bottom: 1px solid var(--line); }
.contact-row:last-child { border-bottom: 0; padding-bottom: 0; }
.contact-row:first-of-type { padding-top: 0; }
.contact-row .ic { flex: none; width: 46px; height: 46px; border-radius: 50%; background: var(--sand); display: grid; place-items: center; color: var(--rust-dark); }
.contact-row .ic svg { width: 20px; height: 20px; }
.contact-row small { display: block; font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.contact-row strong, .contact-row a.big { font-family: var(--serif); font-size: 1.3rem; font-weight: 600; color: var(--ink); text-decoration: none; }
.contact-row a.big:hover { color: var(--rust); }
.map-card {
  position: relative; border-radius: var(--radius); overflow: hidden; min-height: 420px; isolation: isolate;
  display: flex; align-items: flex-end; color: #fff;
}
.map-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.map-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(20,14,10,.85), rgba(20,14,10,.05) 70%); }
.map-card div { padding: 32px; }
.map-card h3 { color: #fff; }
.map-card p { color: rgba(255,255,255,.88); }

.placeholder { background: #fff3cd; color: #6b4e00; padding: 1px 6px; border-radius: 4px; font-family: var(--sans); font-size: .85em; font-weight: 600; }

/* legal */
.legal { max-width: 780px; }
.legal h2 { font-size: 1.5rem; margin-top: 2em; }
.legal h2:first-child { margin-top: 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--night); color: rgba(255,255,255,.7); padding: 72px 0 28px; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 { color: #fff; font-size: 1.1rem; margin-bottom: .8em; }
.site-footer a { color: rgba(255,255,255,.75); text-decoration: none; }
.site-footer a:hover { color: #fff; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.site-footer .brand { color: #fff; margin-bottom: 18px; }
.footer-motto { font-family: var(--serif); font-style: italic; color: #f4c9a6; font-size: 1.2rem; }
.footer-bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: .85rem; }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 100; background: rgba(15,11,8,.94);
  display: none; align-items: center; justify-content: center; padding: 24px;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 100%; max-height: 88vh; border-radius: 8px; box-shadow: 0 30px 80px rgba(0,0,0,.6); }
.lightbox button { position: absolute; background: rgba(255,255,255,.12); border: 0; color: #fff; width: 52px; height: 52px; border-radius: 50%; cursor: pointer; font-size: 1.6rem; line-height: 1; }
.lightbox button:hover { background: rgba(255,255,255,.25); }
.lb-close { top: 20px; right: 20px; }
.lb-prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 20px; top: 50%; transform: translateY(-50%); }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-bg img { animation: none; transform: none; }
  .scroll-hint::after { animation: none; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .container { padding: 0 18px; }
  .img-stack { padding: 0 0 50px 34px; }
  .hero-actions .btn { flex: 1 1 auto; justify-content: center; }
}

/* mobile refinements */
@media (max-width: 560px) {
  .fact { padding: 24px 12px; }
  .fact strong { font-size: 1.5rem; }
  .amenities { grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 10px; }
  .amenity { overflow-wrap: anywhere; hyphens: auto; }
  .amenity { font-size: .86rem; padding: 12px; align-items: flex-start; }
  .amenity::before { margin-top: .5em; }
  .hero::after { background: linear-gradient(180deg, rgba(20,14,10,.5) 0%, rgba(20,14,10,0) 25%), linear-gradient(0deg, rgba(20,14,10,.9) 0%, rgba(20,14,10,.55) 45%, rgba(20,14,10,0) 70%); }
  .hero-bg img { object-position: 42% 40%; }
}
.big-mail a { font-family: var(--serif); font-size: 1.15rem; font-weight: 600; color: var(--ink); text-decoration: none; word-break: break-all; }
.big-mail a:hover { color: var(--rust); }

/* Bugfix: Weichzeichner-Effekt des Headers begrenzte das mobile Vollbild-Menü auf die Header-Höhe */
@media (max-width: 960px) {
  .site-header.solid, body.no-hero .site-header { -webkit-backdrop-filter: none; backdrop-filter: none; background: rgba(251, 248, 243, .98); }
  body.nav-open .site-header .nav-toggle { color: #fff; }
}
