/* =========================================================
   Staybnb Madarati — Modern Redesign
   Self-contained stylesheet (no template dependency)
   ========================================================= */

:root {
  --ink:        #15110d;
  --charcoal:   #2b251f;
  --muted:      #6f665b;
  --line:       #e7e0d6;
  --cream:      #faf7f2;
  --cream-2:    #f3ede3;
  --surface:    #ffffff;
  --gold:       #c2902f;
  --gold-soft:  #e0b85a;
  --gold-deep:  #9a6f1f;
  --shadow-sm:  0 2px 8px rgba(21, 17, 13, .06);
  --shadow-md:  0 14px 40px rgba(21, 17, 13, .12);
  --shadow-lg:  0 30px 70px rgba(21, 17, 13, .22);
  --radius:     18px;
  --radius-sm:  12px;
  --maxw:       1240px;
  --ease:       cubic-bezier(.22, 1, .36, 1);
  --font-serif: "Fraunces", "Playfair Display", Georgia, serif;
  --font-sans:  "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--charcoal);
  background: var(--cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  color: var(--ink);
  font-weight: 600;
  line-height: 1.1;
  margin: 0;
}

.container { width: min(100% - 2.5rem, var(--maxw)); margin-inline: auto; }
.section   { padding: clamp(3.5rem, 8vw, 7rem) 0; }

.eyebrow {
  font-family: var(--font-sans);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin: 0 0 .9rem;
  display: inline-flex;
  align-items: center;
  gap: .6rem;
}
.eyebrow::before {
  content: "";
  width: 28px; height: 1px;
  background: var(--gold);
}
.section-head { max-width: 640px; margin-bottom: clamp(2rem, 4vw, 3.2rem); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow::before { display: none; }
.section-head h2 { font-size: clamp(2rem, 4.6vw, 3.3rem); letter-spacing: -.01em; }
.section-head p  { color: var(--muted); font-size: 1.06rem; margin: 1rem 0 0; }

/* ============================ Buttons ============================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .85rem 1.5rem;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-weight: 600; font-size: .95rem;
  cursor: pointer; border: 0;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .3s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-gold {
  background: linear-gradient(135deg, var(--gold-soft), var(--gold));
  color: #2a1f08;
  box-shadow: 0 10px 26px rgba(194, 144, 47, .35);
}
.btn-gold:hover { box-shadow: 0 16px 36px rgba(194, 144, 47, .45); }
.btn-ghost {
  background: transparent; color: var(--ink);
  border: 1.5px solid rgba(21,17,13,.18);
}
.btn-ghost:hover { border-color: var(--ink); background: var(--ink); color: #fff; }
.btn-light {
  background: rgba(255,255,255,.16); color: #fff;
  border: 1.5px solid rgba(255,255,255,.4);
  backdrop-filter: blur(6px);
}
.btn-light:hover { background: #fff; color: var(--ink); }

/* ============================ Header ============================ */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background .4s var(--ease), box-shadow .4s var(--ease), padding .4s var(--ease);
  padding: 1.1rem 0;
}
.site-header.scrolled {
  background: rgba(250, 247, 242, .82);
  backdrop-filter: blur(14px) saturate(1.4);
  box-shadow: 0 1px 0 rgba(21,17,13,.07), var(--shadow-sm);
  padding: .65rem 0;
}
.nav {
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
}
.brand { display: flex; align-items: center; gap: .75rem; }
.brand img { height: 46px; width: auto; transition: height .4s var(--ease); filter: drop-shadow(0 2px 6px rgba(0,0,0,.18)); }
.scrolled .brand img { height: 40px; }
.brand-name {
  font-family: var(--font-serif); font-weight: 600; font-size: 1.15rem;
  color: var(--ink); letter-spacing: .01em; line-height: 1;
}
.brand-name small {
  display: block; font-family: var(--font-sans); font-weight: 500;
  font-size: .62rem; letter-spacing: .26em; text-transform: uppercase;
  color: var(--gold-deep); margin-top: 3px;
}
.nav-links { display: flex; align-items: center; gap: 2rem; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  font-size: .92rem; font-weight: 500; color: var(--charcoal);
  position: relative; padding: .25rem 0;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 2px; width: 0;
  background: var(--gold); transition: width .3s var(--ease);
}
.nav-links a:hover::after { width: 100%; }
.nav-actions { display: flex; align-items: center; gap: 1rem; }
.nav-social { display: flex; gap: .65rem; }
.nav-social a {
  width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(21,17,13,.05); color: var(--charcoal);
  font-size: .95rem; transition: all .3s var(--ease);
}
.nav-social a:hover { background: var(--gold); color: #fff; transform: translateY(-2px); }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: .4rem; }
.nav-toggle span { display: block; width: 26px; height: 2px; background: var(--ink); margin: 5px 0; transition: .3s; }

/* ============================ Hero ============================ */
.hero {
  position: relative; min-height: 100svh;
  display: flex; align-items: center;
  color: #fff; overflow: hidden;
  padding: 8rem 0 4rem;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(21,17,13,.55) 0%, rgba(21,17,13,.25) 40%, rgba(21,17,13,.78) 100%);
}
.hero-bg .slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0; transform: scale(1.08);
  transition: opacity 1.6s var(--ease), transform 7s linear;
}
.hero-bg .slide.active { opacity: 1; transform: scale(1); }
.hero-inner { position: relative; z-index: 2; }
.hero-lead {
  max-width: 52ch; font-size: clamp(1.02rem, 1.7vw, 1.25rem);
  color: rgba(255,255,255,.9); margin: 1.6rem 0 2.4rem;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 1rem; }
.hero-pill {
  display: inline-flex; align-items: center; gap: .6rem;
  background: rgba(255,255,255,.12); backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,.25);
  padding: .5rem 1.1rem; border-radius: 999px;
  font-size: .82rem; font-weight: 500; letter-spacing: .04em;
  margin-bottom: 1.8rem;
}
.hero-pill .dot { width: 8px; height: 8px; border-radius: 50%; background: #5ad07a; box-shadow: 0 0 0 4px rgba(90,208,122,.25); }

/* Hero search bar (visual, links to listings) */
.hero-search {
  margin-top: 2.8rem;
  display: grid; grid-template-columns: repeat(4, 1fr) auto;
  gap: .25rem; align-items: stretch;
  background: rgba(255,255,255,.96);
  border-radius: 16px; padding: .5rem;
  box-shadow: var(--shadow-lg); max-width: 880px;
}
.hero-search .field { padding: .55rem .9rem; border-radius: 10px; transition: background .2s; }
.hero-search .field:hover { background: var(--cream-2); }
.hero-search label { display: block; font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-deep); font-weight: 700; }
.hero-search .val { color: var(--ink); font-weight: 600; font-size: .98rem; }
.hero-search .field i { color: var(--muted); margin-right: .4rem; }
.hero-search .go { align-self: center; margin: 0 .25rem; }
@media (max-width: 760px) {
  .hero-search { grid-template-columns: 1fr 1fr; }
  .hero-search .go { grid-column: 1 / -1; }
}

.scroll-cue {
  position: absolute; bottom: 1.8rem; left: 50%; transform: translateX(-50%);
  z-index: 3; color: rgba(255,255,255,.8); font-size: .72rem; letter-spacing: .25em;
  text-transform: uppercase; display: flex; flex-direction: column; align-items: center; gap: .5rem;
}
.scroll-cue .mouse { width: 22px; height: 36px; border: 1.5px solid rgba(255,255,255,.6); border-radius: 12px; position: relative; }
.scroll-cue .mouse::after { content:""; position:absolute; top:6px; left:50%; transform:translateX(-50%); width:3px; height:7px; border-radius:3px; background:#fff; animation: scrollwheel 1.6s infinite; }
@keyframes scrollwheel { 0%{opacity:0;top:6px} 40%{opacity:1} 80%{opacity:0;top:16px} 100%{opacity:0} }

/* ============================ Intro / Welcome ============================ */
.intro { background: var(--cream); }
.intro-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.intro-media { position: relative; }
.intro-media img { border-radius: var(--radius); box-shadow: var(--shadow-md); width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.intro-media .badge {
  position: absolute; bottom: -26px; right: -10px;
  background: var(--ink); color: #fff; border-radius: var(--radius-sm);
  padding: 1.1rem 1.4rem; box-shadow: var(--shadow-md); text-align: center;
}
.intro-media .badge b { font-family: var(--font-serif); font-size: 1.9rem; color: var(--gold-soft); display:block; line-height:1; }
.intro-media .badge span { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.75); }
.intro-text p { color: var(--muted); margin: 1rem 0; font-size: 1.05rem; }
.intro-text p.lead { color: var(--charcoal); font-size: 1.2rem; font-weight: 500; }

/* ============================ Stats ============================ */
.stats { background: var(--ink); color: #fff; }
.stats-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.5rem; text-align: center; }
.stat b { font-family: var(--font-serif); font-size: clamp(2.2rem, 4vw, 3.2rem); color: var(--gold-soft); display: block; line-height: 1; }
.stat span { color: rgba(255,255,255,.7); font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; margin-top: .6rem; display: block; }
@media (max-width: 620px){ .stats-grid { grid-template-columns: repeat(2,1fr); gap: 2rem; } }

/* ============================ Properties ============================ */
.stays { background: var(--cream-2); }
.stays-toolbar { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: 2.4rem; }
.filter-chip {
  border: 1.5px solid rgba(21,17,13,.14); background: transparent;
  padding: .5rem 1.1rem; border-radius: 999px; font-size: .88rem; font-weight: 600;
  color: var(--charcoal); cursor: pointer; transition: all .25s var(--ease);
}
.filter-chip:hover { border-color: var(--gold); color: var(--gold-deep); }
.filter-chip.active { background: var(--ink); border-color: var(--ink); color: #fff; }

.stays-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.4rem, 2.5vw, 2.2rem);
}
@media (max-width: 1024px){ .stays-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 660px){ .stays-grid { grid-template-columns: 1fr; } }

.stay-card {
  background: var(--surface); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
  border: 1px solid rgba(21,17,13,.04);
}
.stay-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }

/* carousel */
.carousel { position: relative; aspect-ratio: 4/3; overflow: hidden; background: #1a1611; }
.carousel-track { position: absolute; inset: 0; }
.carousel-track .frame {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0; transition: opacity .6s var(--ease);
}
.carousel-track .frame.active { opacity: 1; }
.carousel::after {
  content:""; position:absolute; inset:0;
  background: linear-gradient(180deg, rgba(0,0,0,.15), transparent 30%, transparent 70%, rgba(0,0,0,.35));
  pointer-events: none;
}
.car-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 40px; height: 40px; border-radius: 50%; border: 0;
  background: rgba(255,255,255,.85); color: var(--ink); cursor: pointer;
  display: grid; place-items: center; font-size: 1rem; z-index: 3;
  opacity: 0; transition: opacity .3s, background .2s, transform .2s; box-shadow: var(--shadow-sm);
}
.stay-card:hover .car-btn { opacity: 1; }
.car-btn:hover { background: #fff; }
.car-btn.prev { left: 12px; } .car-btn.next { right: 12px; }
.car-dots { position: absolute; bottom: 12px; left: 0; right: 0; z-index: 3; display: flex; justify-content: center; gap: 6px; }
.car-dots i { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,.5); transition: all .3s; cursor: pointer; }
.car-dots i.active { background: #fff; width: 20px; border-radius: 4px; }
.badge-new {
  position: absolute; top: 14px; left: 14px; z-index: 4;
  background: linear-gradient(135deg, var(--gold-soft), var(--gold));
  color: #2a1f08; font-size: .68rem; font-weight: 800; letter-spacing: .12em;
  text-transform: uppercase; padding: .35rem .7rem; border-radius: 999px;
  box-shadow: 0 6px 16px rgba(194,144,47,.4);
}

.stay-body { padding: 1.5rem 1.5rem 1.6rem; display: flex; flex-direction: column; flex: 1; }
.stay-title { font-size: 1.32rem; letter-spacing: -.01em; }
.stay-loc { display: flex; align-items: flex-start; gap: .5rem; color: var(--muted); font-size: .92rem; margin-top: .55rem; }
.stay-loc i { color: var(--gold); margin-top: .2rem; }
.stay-times {
  display: flex; gap: .5rem; flex-wrap: wrap; margin: 1.1rem 0 1.3rem;
}
.time-chip {
  display: inline-flex; align-items: center; gap: .45rem;
  background: var(--cream-2); border-radius: 999px;
  padding: .4rem .8rem; font-size: .8rem; color: var(--charcoal); font-weight: 500;
}
.time-chip i { color: var(--gold-deep); }
.badge-rooms {
  position: absolute; top: 14px; right: 14px; z-index: 4;
  background: rgba(20,20,20,.72); color: #fff; font-size: .68rem; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase; padding: .35rem .7rem; border-radius: 999px;
}
.stay-actions { margin-top: auto; display: flex; gap: .55rem; flex-wrap: wrap; }
.room-select {
  flex: 1 1 100%; padding: .6rem .7rem; border-radius: 10px;
  border: 1.5px solid var(--line); background: #fff; color: var(--ink);
  font-weight: 600; font-size: .85rem; cursor: pointer;
}
.book-btn {
  flex: 1; min-width: 0;
  display: inline-flex; align-items: center; justify-content: center; gap: .4rem;
  padding: .7rem .6rem; border-radius: 12px; font-weight: 600; font-size: .85rem;
  border: 1.5px solid var(--line); background: #fff; color: var(--ink);
  transition: all .25s var(--ease);
}
.book-btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.book-btn.booking { background: #003580; color: #fff; border-color: #003580; }
.book-btn.booking:hover { background: #00264d; }
.book-btn.airbnb  { background: #ff385c; color: #fff; border-color: #ff385c; }
.book-btn.airbnb:hover { background: #e11d48; }
.book-btn.maps    { flex: 0 0 auto; width: 46px; }
.book-btn.maps i  { color: #1a73e8; }
.book-btn.disabled { opacity: .45; pointer-events: none; }

/* ============================ About ============================ */
.about { background: var(--cream); }
.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.about-photo { position: relative; }
.about-photo img { border-radius: var(--radius); box-shadow: var(--shadow-md); width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.about-photo .frame-deco { position: absolute; inset: 18px -18px -18px 18px; border: 2px solid var(--gold); border-radius: var(--radius); z-index: -1; }
.about-text h2 { font-size: clamp(2rem,4vw,3rem); }
.about-text .role { color: var(--gold-deep); font-weight: 600; letter-spacing: .06em; margin: .4rem 0 1.4rem; }
.about-text p { color: var(--muted); margin: 1rem 0; font-size: 1.05rem; }
.signature { font-family: var(--font-serif); font-style: italic; font-size: 1.5rem; color: var(--ink); margin-top: 1.4rem; }

/* ============================ Reviews ============================ */
.reviews { background: var(--ink); color: #fff; overflow: hidden; }
.reviews .section-head h2 { color: #fff; }
.reviews .section-head p { color: rgba(255,255,255,.65); }
.marquee { display: flex; gap: 1.4rem; width: max-content; animation: marquee 60s linear infinite; }
.marquee:hover { animation-play-state: paused; }
.marquee-mask { position: relative; }
.marquee-mask::before, .marquee-mask::after {
  content:""; position:absolute; top:0; bottom:0; width: 80px; z-index: 2; pointer-events:none;
}
.marquee-mask::before { left:0; background: linear-gradient(90deg, var(--ink), transparent); }
.marquee-mask::after  { right:0; background: linear-gradient(270deg, var(--ink), transparent); }
@keyframes marquee { to { transform: translateX(-50%); } }
.review-card {
  flex: 0 0 360px; background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius);
  padding: 1.8rem; backdrop-filter: blur(4px);
}
.review-card .stars { color: var(--gold-soft); font-size: .9rem; letter-spacing: .15em; margin-bottom: .9rem; }
.review-card p { color: rgba(255,255,255,.88); font-size: .96rem; margin: 0; }

/* ============================ Gallery / Instagram ============================ */
.gallery { background: var(--cream-2); }
.gallery-grid {
  display: grid; grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: 150px; gap: .8rem;
}
.gallery-grid a { overflow: hidden; border-radius: var(--radius-sm); position: relative; display:block; }
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.gallery-grid a:hover img { transform: scale(1.08); }
.gallery-grid a::after {
  content:"\f16d"; font-family:"Font Awesome 6 Brands"; font-weight: 400;
  position:absolute; inset:0; display:grid; place-items:center; color:#fff; font-size:1.6rem;
  background: rgba(21,17,13,.45); opacity:0; transition:opacity .3s;
}
.gallery-grid a:hover::after { opacity: 1; }
.gallery-grid a.tall { grid-row: span 2; }
.gallery-grid a.wide { grid-column: span 2; }
@media (max-width: 860px){ .gallery-grid { grid-template-columns: repeat(3,1fr); } .gallery-grid a.wide{grid-column:span 2;} }
@media (max-width: 520px){ .gallery-grid { grid-template-columns: repeat(2,1fr); grid-auto-rows:120px;} }

/* ============================ Footer ============================ */
.site-footer { background: #100d0a; color: rgba(255,255,255,.72); padding: clamp(3rem,6vw,5rem) 0 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2.5rem; }
.footer-brand img { height: 54px; margin-bottom: 1.2rem; filter: brightness(1.4); }
.footer-brand p { font-size: .95rem; max-width: 34ch; }
.site-footer h4 { color: #fff; font-family: var(--font-sans); font-size: .82rem; letter-spacing: .18em; text-transform: uppercase; margin-bottom: 1.2rem; }
.footer-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .7rem; }
.footer-list a, .footer-list span { font-size: .95rem; transition: color .25s; display: inline-flex; gap: .6rem; align-items: flex-start; }
.footer-list i { color: var(--gold); margin-top: .25rem; width: 16px; }
.footer-list a:hover { color: var(--gold-soft); }
.footer-social { display: flex; gap: .7rem; margin-top: 1.4rem; }
.footer-social a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.07); transition: all .3s var(--ease); }
.footer-social a:hover { background: var(--gold); color: var(--ink); transform: translateY(-2px); }
.footer-bottom {
  margin-top: 3rem; padding-top: 1.6rem; border-top: 1px solid rgba(255,255,255,.1);
  display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: center;
  font-size: .82rem; color: rgba(255,255,255,.5);
}
.footer-bottom a:hover { color: var(--gold-soft); }
.footer-bottom .legal { display: flex; gap: 1.2rem; flex-wrap: wrap; }
@media (max-width: 860px){ .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px){ .footer-grid { grid-template-columns: 1fr; } }

/* ============================ Reveal animation ============================ */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ============================ Cookie banner ============================ */
.cookie-bar {
  position: fixed; bottom: 1rem; left: 50%; transform: translateX(-50%) translateY(150%);
  z-index: 200; width: min(100% - 2rem, 680px);
  background: var(--ink); color: #fff; border-radius: var(--radius);
  padding: 1.1rem 1.3rem; box-shadow: var(--shadow-lg);
  display: flex; align-items: center; gap: 1rem; flex-wrap: wrap;
  transition: transform .6s var(--ease);
}
.cookie-bar.show { transform: translateX(-50%) translateY(0); }
.cookie-bar p { margin: 0; font-size: .88rem; color: rgba(255,255,255,.82); flex: 1; min-width: 220px; }
.cookie-bar a { color: var(--gold-soft); text-decoration: underline; }

/* ============================ Mobile nav ============================ */
@media (max-width: 940px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: fixed; inset: 0 0 0 auto; width: min(80vw, 320px);
    background: var(--cream); flex-direction: column; align-items: flex-start;
    padding: 6rem 2rem 2rem; gap: 1.4rem; box-shadow: var(--shadow-lg);
    transform: translateX(100%); transition: transform .4s var(--ease);
  }
  .nav-links.open { transform: none; }
  .nav-social { display: none; }
  body.nav-open { overflow: hidden; }
}

/* Back to top */
.to-top {
  position: fixed; bottom: 1.4rem; right: 1.4rem; z-index: 90;
  width: 48px; height: 48px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--ink); color: #fff; font-size: 1rem;
  display: grid; place-items: center; box-shadow: var(--shadow-md);
  opacity: 0; pointer-events: none; transform: translateY(12px); transition: all .35s var(--ease);
}
.to-top.show { opacity: 1; pointer-events: auto; transform: none; }
.to-top:hover { background: var(--gold); }

/* =========================================================
   WOW LAYER — cinematic enhancements
   ========================================================= */

/* Scroll progress bar */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0;
  background: linear-gradient(90deg, var(--gold-soft), var(--gold), var(--gold-deep));
  z-index: 300; box-shadow: 0 0 12px rgba(194,144,47,.6);
  transition: width .1s linear;
}

/* Film grain overlay */
.grain {
  position: fixed; inset: 0; z-index: 250; pointer-events: none; opacity: .045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

/* Hero aurora light blobs */
.hero-aurora { position: absolute; inset: 0; z-index: 1; pointer-events: none; overflow: hidden; }
.hero-aurora::before, .hero-aurora::after {
  content: ""; position: absolute; width: 60vw; height: 60vw; border-radius: 50%;
  filter: blur(90px); opacity: .5; mix-blend-mode: screen;
}
.hero-aurora::before { background: radial-gradient(circle, rgba(224,184,90,.55), transparent 60%); top: -10%; right: -10%; animation: float1 14s ease-in-out infinite; }
.hero-aurora::after  { background: radial-gradient(circle, rgba(120,150,200,.45), transparent 60%); bottom: -15%; left: -8%; animation: float2 18s ease-in-out infinite; }
@keyframes float1 { 0%,100%{transform:translate(0,0) scale(1)} 50%{transform:translate(-6%,8%) scale(1.15)} }
@keyframes float2 { 0%,100%{transform:translate(0,0) scale(1)} 50%{transform:translate(8%,-6%) scale(1.1)} }

/* Cinematic hero title — word stagger reveal */
.hero-title { color: #fff; font-size: clamp(2.6rem, 7vw, 6.2rem); line-height: .98; letter-spacing: -.02em; font-weight: 600; max-width: 15ch; }
.hero-title .line { display: block; overflow: hidden; }
.hero-title .w { display: inline-block; transform: translateY(110%) rotate(4deg); opacity: 0; transition: transform 1s var(--ease), opacity 1s var(--ease); }
.hero-title .w.gold { font-style: italic; color: var(--gold-soft); }
.hero.in .hero-title .w { transform: none; opacity: 1; }
.hero.in .hero-title .line:nth-child(1) .w:nth-child(1) { transition-delay: .15s; }
.hero.in .hero-title .line:nth-child(1) .w:nth-child(2) { transition-delay: .27s; }
.hero.in .hero-title .line:nth-child(2) .w:nth-child(1) { transition-delay: .39s; }
.hero.in .hero-title .line:nth-child(2) .w:nth-child(2) { transition-delay: .50s; }
.hero.in .hero-title .line:nth-child(2) .w:nth-child(3) { transition-delay: .61s; }

/* Generic fade-up for hero sub-elements */
.reveal-up { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.hero.in .reveal-up { opacity: 1; transform: none; }
.hero.in .hero-pill { transition-delay: .05s; }
.hero.in .hero-lead { transition-delay: .72s; }
.hero.in .hero-cta  { transition-delay: .82s; }
.hero.in .hero-search { transition-delay: .9s; }
.hero-cta, .hero-search { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.hero.in .hero-cta, .hero.in .hero-search { opacity: 1; transform: none; }

/* Moving display-type band */
.band { background: var(--ink); padding: 1.4rem 0; overflow: hidden; border-top: 1px solid rgba(255,255,255,.08); border-bottom: 1px solid rgba(255,255,255,.08); }
.band-track { display: flex; width: max-content; animation: bandscroll 32s linear infinite; }
.band-track span {
  font-family: var(--font-serif); font-size: clamp(1.8rem, 4vw, 3.2rem); font-weight: 600;
  color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.35); white-space: nowrap; padding-right: .3em;
}
.band-track span i { font-style: normal; color: var(--gold); -webkit-text-stroke: 0; margin: 0 .15em; }
@keyframes bandscroll { to { transform: translateX(-50%); } }

/* Animated stat counters */
.stat b { font-variant-numeric: tabular-nums; }

/* 3D tilt + gold glow on stay cards */
.stay-card { transform-style: preserve-3d; will-change: transform; }
.stay-card::after {
  content: ""; position: absolute; inset: 0; border-radius: var(--radius); pointer-events: none;
  box-shadow: 0 0 0 1px rgba(194,144,47,0); transition: box-shadow .4s var(--ease); z-index: 5;
}
.stay-card:hover::after { box-shadow: 0 0 0 1px rgba(194,144,47,.4), 0 0 40px rgba(194,144,47,.18); }

/* Reveal stagger for grids */
.stays-grid .reveal:nth-child(3n+1) { transition-delay: .02s; }
.stays-grid .reveal:nth-child(3n+2) { transition-delay: .1s; }
.stays-grid .reveal:nth-child(3n+3) { transition-delay: .18s; }

/* Section headings — oversized presence */
.section-head h2 { font-optical-sizing: auto; }

/* Intro/about images subtle parallax hook */
[data-parallax] { will-change: transform; }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .hero-title .w, .reveal, .reveal-up, .hero-cta, .hero-search { opacity: 1 !important; transform: none !important; }
}

/* Snappy transition while tilting */
.stay-card.tilting { transition: transform .12s ease-out, box-shadow .45s var(--ease); }

/* =========================================================
   HEADER CONTRAST FIX — light over hero, dark when scrolled
   ========================================================= */

/* Logo always legible: white rounded chip behind colored PNG */
.brand-logo {
  display: grid; place-items: center;
  background: #fff; border-radius: 12px;
  padding: 6px 10px; box-shadow: 0 6px 18px rgba(0,0,0,.18);
  transition: padding .4s var(--ease), box-shadow .4s var(--ease);
}
.brand-logo img { height: 34px; width: auto; display: block; filter: none; }
.scrolled .brand-logo { padding: 5px 9px; box-shadow: var(--shadow-sm); }
.scrolled .brand-logo img { height: 30px; }

/* TOP (not scrolled) — over dark hero: everything light */
.site-header:not(.scrolled) .brand-name { color: #fff; text-shadow: 0 1px 10px rgba(0,0,0,.35); }
.site-header:not(.scrolled) .brand-name small { color: var(--gold-soft); }
.site-header:not(.scrolled) .nav-links a { color: rgba(255,255,255,.92); }
.site-header:not(.scrolled) .nav-links a:hover { color: #fff; }
.site-header:not(.scrolled) .nav-social a {
  background: rgba(255,255,255,.16); color: #fff;
  backdrop-filter: blur(6px); border: 1px solid rgba(255,255,255,.22);
}
.site-header:not(.scrolled) .nav-social a:hover { background: var(--gold); border-color: var(--gold); }
.site-header:not(.scrolled) .nav-toggle span { background: #fff; }

/* When the mobile panel is open, force dark links on the light panel */
.nav-links.open a { color: var(--charcoal) !important; text-shadow: none !important; }

/* =========================================================
   MOBILE POLISH
   ========================================================= */
@media (max-width: 600px) {
  .hero { padding: 7rem 0 3rem; }
  .hero-title { font-size: clamp(2.1rem, 11vw, 3.4rem); line-height: 1.02; }
  .hero-lead { font-size: 1rem; margin: 1.1rem 0 1.8rem; }
  .hero-cta { gap: .7rem; }
  .hero-cta .btn { flex: 1 1 auto; }

  /* declutter header: logo + burger only (booking CTA lives in hero + menu) */
  .brand-name { display: none; }
  .nav-actions .btn-gold { display: none; }
  .nav-actions { gap: .5rem; }
  .nav-toggle { display: block; }

  .hero-search { margin-top: 1.8rem; padding: .4rem; gap: .2rem; }
  .hero-search .field { padding: .5rem .7rem; }
  .hero-search .val { font-size: .9rem; }

  .section-head p { font-size: .98rem; }
  .stays-toolbar { gap: .45rem; }
  .filter-chip { padding: .45rem .85rem; font-size: .82rem; }
}

@media (max-width: 400px) {
  .hero-search { grid-template-columns: 1fr; }
}

/* Mobile menu booking CTA — only inside the off-canvas panel */
.nav-cta-mobile { display: none; }
@media (max-width: 940px) {
  .nav-cta-mobile { display: block; align-self: stretch; width: 100%; margin-top: .8rem; }
  .nav-cta-mobile .btn { width: 100%; }
}

/* =========================================================
   FUNCTIONAL SEARCH — form controls + results summary
   ========================================================= */
.hero-search .field { display: flex; flex-direction: column; justify-content: center; }
.hero-search .val { display: flex; align-items: center; gap: .45rem; }
.hero-search select,
.hero-search input {
  border: 0; background: transparent; font: inherit;
  color: var(--ink); font-weight: 600; font-size: .98rem;
  width: 100%; padding: 0; outline: none; cursor: pointer;
  -webkit-appearance: none; appearance: none;
}
.hero-search input[type="date"] { cursor: text; min-width: 0; }
.hero-search input[type="date"]::-webkit-calendar-picker-indicator { cursor: pointer; opacity: .55; }
.hero-search select option { color: #15110d; }
.hero-search .go { white-space: nowrap; }

/* Results summary banner */
.search-summary {
  display: flex; align-items: center; gap: .65rem 1rem; flex-wrap: wrap;
  background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--gold);
  border-radius: 14px; padding: .95rem 1.25rem; margin-bottom: 1.8rem;
  box-shadow: var(--shadow-sm);
}
.search-summary .s-ic { color: var(--gold); }
.search-summary .s-main { font-weight: 600; color: var(--ink); }
.search-summary .s-main strong { color: var(--gold-deep); }
.search-summary .s-sub { color: var(--muted); font-size: .88rem; display: inline-flex; align-items: center; gap: .4rem; }
.search-summary .s-sub i { color: var(--gold); }
.search-summary .s-reset {
  margin-left: auto; border: 0; background: transparent; cursor: pointer;
  color: var(--gold-deep); font-weight: 600; font-size: .9rem; font-family: inherit;
  display: inline-flex; align-items: center; gap: .4rem;
}
.search-summary .s-reset::before { content: "\f00d"; font-family: "Font Awesome 6 Free"; font-weight: 900; font-size: .8rem; }
.search-summary .s-reset:hover { color: var(--ink); }

/* Empty state */
.stays-empty { text-align: center; color: var(--muted); font-size: 1.05rem; padding: 2rem 0; }
.link-reset {
  border: 0; background: transparent; color: var(--gold-deep); font-weight: 600;
  font-family: inherit; font-size: 1.05rem; cursor: pointer; text-decoration: underline;
}
.link-reset:hover { color: var(--ink); }

/* =========================================================
   PRICE FLAG — "Ab 32 € pro Nacht" hook on the search bar
   ========================================================= */
.hero-search { position: relative; }
.price-flag {
  position: absolute; bottom: calc(100% - 13px); left: 22px; z-index: 4;
  display: inline-flex; align-items: center; gap: .45rem;
  background: linear-gradient(135deg, var(--gold-soft), var(--gold));
  color: #2a1f08; font-weight: 800; font-size: .82rem; letter-spacing: .01em;
  padding: .45rem .95rem; border-radius: 999px;
  box-shadow: 0 10px 24px rgba(194,144,47,.5);
  white-space: nowrap;
  animation: priceFloat 3.2s ease-in-out infinite;
}
.price-flag i { font-size: .76rem; }
.price-flag::after {
  content: ""; position: absolute; inset: 0; border-radius: 999px;
  box-shadow: 0 0 0 0 rgba(224,184,90,.55); animation: pricePulse 2.6s ease-out infinite;
}
@keyframes priceFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-3px); } }
@keyframes pricePulse { 0% { box-shadow: 0 0 0 0 rgba(224,184,90,.5); } 70%,100% { box-shadow: 0 0 0 14px rgba(224,184,90,0); } }

@media (max-width: 600px) {
  .price-flag { left: 14px; font-size: .74rem; padding: .38rem .8rem; }
}
@media (prefers-reduced-motion: reduce) {
  .price-flag, .price-flag::after { animation: none; }
}

/* Mobile: hide the decorative scroll hint — on tall mobile heroes it overlaps
   the search "Suchen" button and blocks the tap. */
@media (max-width: 600px) {
  .scroll-cue { display: none; }
}

/* =========================================================
   LOCATIONS MAP (Leaflet)
   ========================================================= */
.locations { background: var(--cream); }
.map-wrap {
  position: relative; z-index: 0;           /* contain Leaflet's z-index below the fixed header */
  border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-md); border: 1px solid var(--line);
}
#map { height: 460px; width: 100%; background: var(--cream-2); }
@media (max-width: 600px) { #map { height: 360px; } }

.map-pin .map-pin-dot {
  width: 34px; height: 34px; border-radius: 50% 50% 50% 0;
  background: linear-gradient(135deg, var(--gold-soft), var(--gold));
  transform: rotate(-45deg); display: grid; place-items: center;
  box-shadow: 0 6px 16px rgba(194,144,47,.55); border: 2px solid #fff;
}
.map-pin .map-pin-dot i { transform: rotate(45deg); color: #2a1f08; font-size: .82rem; }
.map-pop { font-family: var(--font-sans); text-align: center; padding: 2px 4px; min-width: 170px; }
.map-pop strong { display: block; font-family: var(--font-serif); font-size: 1.06rem; color: var(--ink); }
.map-pop span { display: block; color: var(--muted); font-size: .8rem; }
.map-pop em { display: block; color: var(--charcoal); font-size: .82rem; margin-top: .45rem; font-style: normal; }
.map-pop-units { list-style: none; margin: .6rem 0 0; padding: 0; display: grid; gap: .35rem; text-align: left; }
.map-pop-units li { display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; }
.map-unit {
  display: inline-flex; align-items: center; gap: .35rem;
  font-weight: 600; color: var(--ink); font-size: .85rem; line-height: 1.25;
  border-bottom: 1px solid transparent;
}
.map-unit i { font-size: .65rem; color: var(--gold-deep); }
.map-unit:hover { color: var(--gold-deep); border-bottom-color: var(--gold); }
.map-air {
  font-size: .68rem; font-weight: 700; color: #fff; background: #ff385c;
  padding: .1rem .4rem; border-radius: 5px; line-height: 1.4;
}
.map-air:hover { background: #e11d48; }
.map-pop-hint { display: block; margin-top: .6rem; color: var(--gold-deep); font-weight: 700; font-size: .72rem; letter-spacing: .03em; }
.leaflet-popup-content-wrapper { border-radius: 12px; box-shadow: var(--shadow-md); }
.leaflet-popup-content { margin: 14px 16px; }

/* =========================================================
   PLATFORM RATING STRIP (in Reviews, dark bg)
   ========================================================= */
.rating-strip { display: flex; gap: 1.2rem; justify-content: center; flex-wrap: wrap; margin-bottom: 3rem; }
.rating-card {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius); padding: 1.5rem 1.9rem; text-align: center; min-width: 210px;
  color: #fff; transition: transform .35s var(--ease), border-color .35s var(--ease);
}
a.rating-card:hover { transform: translateY(-4px); border-color: var(--gold); }
.rating-logo { height: 34px; width: auto; margin: 0 auto 1rem; background: #fff; padding: 6px 12px; border-radius: 8px; display: block; }
.rating-score { font-family: var(--font-serif); line-height: 1; }
.rating-score b { font-size: 2.5rem; color: var(--gold-soft); }
.rating-score span { color: rgba(255,255,255,.6); font-size: 1rem; margin-left: .25rem; }
.rating-stars { color: var(--gold-soft); letter-spacing: .14em; margin: .45rem 0 .3rem; }
.rating-meta { color: rgba(255,255,255,.72); font-size: .82rem; }
.rating-total { display: flex; flex-direction: column; justify-content: center; }
.rating-total .rating-score b { color: #fff; }

/* =========================================================
   PARTNERS
   ========================================================= */
.partners { background: var(--cream-2); }
.partner-grid { display: flex; gap: 1.5rem; justify-content: center; align-items: stretch; flex-wrap: wrap; }
.partner-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  min-width: 220px; min-height: 130px; flex: 0 1 260px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .55rem;
  padding: 1.6rem 2rem; box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.partner-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.partner-card img { height: 30px; width: auto; }
.partner-card.featured { border-color: var(--gold); border-width: 1.5px; }
.partner-logo { font-family: var(--font-serif); font-size: 1.7rem; color: var(--ink); font-weight: 600; letter-spacing: -.01em; }
.partner-logo strong { color: var(--gold-deep); font-weight: 600; }
.partner-role { color: var(--muted); font-size: .85rem; }

/* Map fallback (Leaflet unavailable) */
.map-fallback { padding: 2rem; height: 100%; display: flex; flex-direction: column; gap: 1.4rem; justify-content: center; background: var(--cream-2); }
.map-fallback ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .9rem; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.map-fallback li { display: flex; gap: .6rem; align-items: flex-start; color: var(--charcoal); font-size: .92rem; }
.map-fallback li i { color: var(--gold); margin-top: .25rem; }
.map-fallback em { color: var(--muted); font-style: normal; font-size: .82rem; }
.map-fallback .btn { align-self: center; }

/* =========================================================
   MAP — filter chips overlay + rich photo popups (Google Maps)
   ========================================================= */
.map-filters {
  position: absolute; top: 12px; left: 12px; z-index: 5;
  display: flex; gap: .4rem; flex-wrap: wrap;
}
.map-chip {
  background: rgba(255,255,255,.95); border: 1px solid var(--line); color: var(--charcoal);
  font-family: inherit; font-weight: 600; font-size: .8rem; padding: .42rem .85rem;
  border-radius: 999px; cursor: pointer; box-shadow: var(--shadow-sm);
  transition: background .2s var(--ease), color .2s var(--ease), transform .2s var(--ease);
  backdrop-filter: blur(6px);
}
.map-chip:hover { color: var(--gold-deep); transform: translateY(-1px); }
.map-chip.active { background: var(--ink); color: #fff; border-color: var(--ink); }

/* Rich popup with photo */
.map-pop { width: 248px; text-align: left; }
.map-pop-photo {
  height: 118px; border-radius: 11px; background-size: cover; background-position: center;
  position: relative; margin-bottom: .75rem; box-shadow: inset 0 -40px 50px -20px rgba(0,0,0,.5);
}
.map-pop-badge {
  position: absolute; bottom: 8px; left: 8px;
  background: var(--ink); color: #fff; font-size: .68rem; font-weight: 700;
  padding: .22rem .6rem; border-radius: 999px;
}
.map-pop-body strong { font-family: var(--font-serif); font-size: 1.1rem; color: var(--ink); display: block; line-height: 1.15; }
.map-pop-body span { display: block; color: var(--muted); font-size: .8rem; margin-top: .1rem; }

/* Airbnb "view real reviews" link card (no fabricated number) */
.rating-link { display: flex; flex-direction: column; justify-content: center; align-items: center; }
.rating-link-text { margin-top: .5rem; line-height: 1.4; }
.rating-link-cta { margin-top: .9rem; display: inline-flex; align-items: center; gap: .4rem; color: var(--gold-soft); font-weight: 700; font-size: .9rem; transition: gap .25s var(--ease); }
.rating-link:hover .rating-link-cta { gap: .65rem; }

/* StaybnbFacility partner logo (square, full lockup) */
.partner-card.featured img.partner-logo-img { height: 92px; width: auto; }
@media (max-width: 520px) { .partner-card.featured img.partner-logo-img { height: 78px; } }

/* =========================================================
   Direct booking — Smoobu engine modal (all apartments)
   ========================================================= */
/* Primary "Direkt buchen" button on each stay card (full-width, gold) */
.book-btn.direct {
  flex: 1 0 100%; order: -1; cursor: pointer;
  background: linear-gradient(135deg, var(--gold-soft), var(--gold));
  color: #2a1f08; border-color: transparent; font-weight: 700;
  box-shadow: 0 8px 20px rgba(194, 144, 47, .30);
}

/* =========================================================
   Legal pages (Impressum, Datenschutz, Cookies)
   ========================================================= */
.legal-page { padding-top: clamp(7rem, 12vw, 9rem); }
.legal-page .legal-inner { max-width: 780px; margin: 0 auto; }
.legal-page .back-link {
  display: inline-flex; align-items: center; gap: .5rem;
  color: var(--gold-deep); font-weight: 600; font-size: .92rem;
  margin-bottom: 2rem; transition: gap .25s var(--ease);
}
.legal-page .back-link:hover { gap: .8rem; }
.legal-page h1 {
  font-family: var(--font-serif); font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--ink); margin: 0 0 2rem;
}
.legal-page h2 {
  font-family: var(--font-serif); font-size: 1.3rem;
  color: var(--ink); margin: 2.2rem 0 .8rem;
}
.legal-page h3 { font-size: 1.05rem; color: var(--gold-deep); margin: 1.4rem 0 .6rem; }
.legal-page p, .legal-page li { color: var(--muted); font-size: 1.02rem; line-height: 1.7; }
.legal-page p { margin: 0 0 1rem; }
.legal-page ul { margin: 0 0 1.2rem; padding-left: 1.3rem; }
.legal-page li { margin-bottom: .5rem; }
.legal-page a { color: var(--gold-deep); text-decoration: underline; text-underline-offset: 2px; }
.legal-page a:hover { color: var(--gold); }
.legal-page .legal-btn {
  display: inline-block; background: var(--gold); color: #2a1f08; font-weight: 700;
  padding: .7rem 1.3rem; border-radius: var(--radius-sm); margin: .3rem .5rem .3rem 0;
  text-decoration: none; transition: background .25s var(--ease);
}
.legal-page .legal-btn:hover { background: var(--gold-deep); color: #fff; }
.book-btn.direct:hover { box-shadow: 0 12px 26px rgba(194, 144, 47, .42); }
