/* ===================================================================
   AVA BOUTIQUE HOTEL — style.css
   Dark · elegant · boutique
   =================================================================== */

:root{
  /* palette */
  --bg:        #0d0c0b;   /* near-black, warm */
  --bg-2:      #141210;   /* slightly raised */
  --surface:   #1b1815;   /* cards */
  --surface-2: #221e1a;
  --line:      #2c2722;   /* hairlines */
  --gold:      #c6a667;   /* brass accent */
  --gold-soft: #d8c089;
  --sage:      #8a9a7b;   /* secondary, from tiles */
  --text:      #f3efe8;   /* warm white */
  --muted:     #a39b8e;   /* secondary text */
  --muted-2:   #6f675c;

  --font-serif: 'Cormorant', Georgia, 'Times New Roman', serif;
  --font-sans:  'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --ease: cubic-bezier(.22,1,.36,1);
  --container: 1280px;
  --pad: clamp(1.25rem, 5vw, 5rem);
}

/* ---------- reset ---------- */
*,*::before,*::after{ box-sizing:border-box; margin:0; padding:0; }
html{ -webkit-text-size-adjust:100%; }
body{
  background:var(--bg);
  color:var(--text);
  font-family:var(--font-sans);
  font-weight:300;
  line-height:1.65;
  font-size:clamp(1rem,.55rem + .55vw,1.1rem);
  letter-spacing:.01em;
  overflow-x:hidden;
  -webkit-font-smoothing:antialiased;
}
img{ display:block; max-width:100%; height:auto; }
a{ color:inherit; text-decoration:none; }
button{ font-family:inherit; cursor:pointer; border:none; background:none; color:inherit; }
ul{ list-style:none; }
::selection{ background:var(--gold); color:var(--bg); }

/* lenis */
html.lenis,html.lenis body{ height:auto; }
.lenis.lenis-smooth{ scroll-behavior:auto !important; }
.lenis.lenis-stopped{ overflow:hidden; }

/* ---------- typography ---------- */
.h2{
  font-family:var(--font-serif);
  font-weight:400;
  font-size:clamp(2rem,1.2rem + 3vw,3.6rem);
  line-height:1.08;
  letter-spacing:.005em;
}
.eyebrow{
  font-size:.72rem;
  letter-spacing:.32em;
  text-transform:uppercase;
  color:var(--gold);
  font-weight:500;
  margin-bottom:1.3rem;
}

/* ---------- layout helpers ---------- */
.section{ padding:clamp(4.5rem,10vh,9rem) var(--pad); position:relative; }
.section__head{ max-width:var(--container); margin:0 auto clamp(2.5rem,5vw,4.5rem); }
.section__intro{ max-width:62ch; color:var(--muted); margin-top:1.4rem; }

/* ---------- buttons ---------- */
.btn{
  display:inline-flex; align-items:center; justify-content:center;
  padding:.95em 2.1em;
  font-size:.82rem; letter-spacing:.18em; text-transform:uppercase; font-weight:500;
  border:1px solid var(--gold);
  border-radius:2px;
  position:relative; overflow:hidden;
  transition:color .5s var(--ease);
  z-index:0;
}
.btn::before{
  content:""; position:absolute; inset:0; z-index:-1;
  background:var(--gold);
  transform:scaleX(0); transform-origin:left;
  transition:transform .5s var(--ease);
}
.btn:hover::before{ transform:scaleX(1); }
.btn--solid{ background:var(--gold); color:var(--bg); }
.btn--solid::before{ background:var(--gold-soft); }
.btn--solid:hover{ color:var(--bg); }
.btn--ghost{ color:var(--text); }
.btn--ghost:hover{ color:var(--bg); }
.btn--lg{ padding:1.15em 2.6em; font-size:.85rem; }

/* ===================================================================
   PRELOADER
   =================================================================== */
.preloader{
  position:fixed; inset:0; z-index:9999;
  background:var(--bg);
  display:grid; place-items:center;
  transition:opacity .8s var(--ease), visibility .8s;
}
.preloader.is-done{ opacity:0; visibility:hidden; }
.preloader__inner{ text-align:center; }
.preloader__logo{ width:clamp(180px,40vw,300px); height:auto; margin:0 auto 1.8rem; }
.preloader__bar{ width:140px; height:1px; background:var(--line); margin:0 auto; overflow:hidden; }
.preloader__bar span{ display:block; height:100%; width:0; background:var(--gold); }

/* ===================================================================
   CUSTOM CURSOR
   =================================================================== */
.cursor{
  position:fixed; top:0; left:0; width:34px; height:34px;
  border:1px solid var(--gold); border-radius:50%;
  transform:translate(-50%,-50%); pointer-events:none; z-index:9000;
  transition:width .3s var(--ease), height .3s var(--ease), background .3s var(--ease), opacity .3s;
  mix-blend-mode:difference; opacity:0;
}
.cursor.is-active{ width:64px; height:64px; background:rgba(198,166,103,.12); }
@media (hover:hover) and (pointer:fine){ .cursor{ opacity:1; } }

/* ===================================================================
   NAV
   =================================================================== */
.nav{
  position:fixed; top:0; left:0; width:100%; z-index:1000;
  transition:background .5s var(--ease), padding .5s var(--ease), border-color .5s var(--ease);
  border-bottom:1px solid transparent;
}
.nav__inner{
  max-width:var(--container); margin:0 auto;
  padding:1.6rem var(--pad);
  display:flex; align-items:center; justify-content:space-between; gap:2rem;
  transition:padding .5s var(--ease);
}
.nav.is-scrolled{ background:rgba(13,12,11,.82); backdrop-filter:blur(14px); border-bottom-color:var(--line); }
.nav.is-scrolled .nav__inner{ padding-top:1rem; padding-bottom:1rem; }

.nav__logo{ display:flex; align-items:center; line-height:0; }
.nav__logo img{ height:72px; width:auto; transition:height .5s var(--ease); }
.nav.is-scrolled .nav__logo img{ height:56px; }

.nav__menu{ display:flex; align-items:center; gap:2.2rem; }
.nav__menu a{
  font-size:.8rem; letter-spacing:.12em; text-transform:uppercase; color:var(--muted);
  position:relative; transition:color .4s var(--ease); font-weight:400;
}
.nav__menu a:not(.nav__cta)::after{
  content:""; position:absolute; left:0; bottom:-6px; height:1px; width:0; background:var(--gold);
  transition:width .4s var(--ease);
}
.nav__menu a:hover{ color:var(--text); }
.nav__menu a:hover::after{ width:100%; }
.nav__menu a.is-current{ color:var(--gold); }
.nav__menu a.is-current::after{ width:100%; }
.nav__cta{
  border:1px solid var(--gold); color:var(--gold) !important;
  padding:.6em 1.4em; border-radius:2px; transition:background .4s var(--ease), color .4s var(--ease);
}
.nav__cta:hover{ background:var(--gold); color:var(--bg) !important; }

.nav__tools{ display:flex; align-items:center; gap:1.4rem; }
.lang{ display:flex; align-items:center; gap:.4rem; font-size:.78rem; letter-spacing:.1em; }
.lang__btn{ color:var(--muted-2); transition:color .3s; font-weight:500; }
.lang__btn.is-active{ color:var(--text); }
.lang__btn:hover{ color:var(--gold); }
.lang__sep{ color:var(--muted-2); }

.nav__burger{ display:none; width:30px; height:18px; position:relative; }
.nav__burger span{
  position:absolute; left:0; width:100%; height:1.5px; background:var(--text);
  transition:transform .4s var(--ease), opacity .3s;
}
.nav__burger span:nth-child(1){ top:0; }
.nav__burger span:nth-child(2){ top:50%; transform:translateY(-50%); }
.nav__burger span:nth-child(3){ bottom:0; }
.nav.is-open .nav__burger span:nth-child(1){ top:50%; transform:translateY(-50%) rotate(45deg); }
.nav.is-open .nav__burger span:nth-child(2){ opacity:0; }
.nav.is-open .nav__burger span:nth-child(3){ bottom:50%; transform:translateY(50%) rotate(-45deg); }

/* ===================================================================
   HERO
   =================================================================== */
.hero{ position:relative; height:100svh; min-height:620px; display:flex; align-items:center; overflow:hidden; }
.hero__media{ position:absolute; inset:-8% 0; z-index:0; }
.hero__media img{ width:100%; height:100%; object-fit:cover; }
.hero__veil{
  position:absolute; inset:0;
  background:
    linear-gradient(to top, rgba(13,12,11,.96) 2%, rgba(13,12,11,.45) 45%, rgba(13,12,11,.65) 100%),
    radial-gradient(120% 80% at 50% 110%, rgba(13,12,11,.7), transparent 60%);
}
.hero__content{
  position:relative; z-index:2;
  max-width:var(--container); width:100%; margin:0 auto; padding:0 var(--pad);
}
.hero__eyebrow{
  font-size:.78rem; letter-spacing:.4em; text-transform:uppercase; color:var(--gold-soft);
  margin-bottom:1.6rem;
}
.hero__title{
  font-family:var(--font-serif); font-weight:300;
  font-size:clamp(3.2rem,4rem + 6vw,11rem); line-height:.92; letter-spacing:.02em;
  margin-bottom:1.4rem;
}
.hero__title .line{ display:block; overflow:hidden; }
.hero__title .word{ display:inline-block; will-change:transform; }
.hero__title-script{ font-style:italic; font-weight:300; color:var(--gold-soft); font-size:.62em; letter-spacing:.01em; }
.hero__lead{ font-size:clamp(1.05rem,.8rem + 1vw,1.5rem); color:var(--text); max-width:34ch; margin-bottom:2.4rem; font-weight:300; }
.hero__actions{ display:flex; gap:1rem; flex-wrap:wrap; }

.hero__scroll{
  position:absolute; bottom:2.4rem; left:50%; transform:translateX(-50%);
  z-index:2; display:flex; flex-direction:column; align-items:center; gap:.9rem;
  font-size:.65rem; letter-spacing:.3em; text-transform:uppercase; color:var(--muted);
}
.hero__scroll-line{ width:1px; height:54px; background:linear-gradient(var(--gold),transparent); position:relative; overflow:hidden; }
.hero__scroll-line::after{ content:""; position:absolute; top:0; left:0; width:100%; height:40%; background:var(--gold); animation:scrolldot 2s var(--ease) infinite; }
@keyframes scrolldot{ 0%{ transform:translateY(-100%);} 100%{ transform:translateY(260%);} }

/* ===================================================================
   INTRO
   =================================================================== */
.intro{ background:var(--bg); }
.intro__grid{ max-width:var(--container); margin:0 auto; display:grid; grid-template-columns:1.05fr 1fr; gap:clamp(2.5rem,5vw,6rem); align-items:center; }
.intro__text p:not(.eyebrow){ color:var(--muted); margin-bottom:1.3rem; max-width:52ch; }
.intro__text .h2{ margin-bottom:1.8rem; }
.intro__sign{ display:flex; align-items:center; gap:1rem; margin-top:2.2rem; }
.intro__sign-mark{ font-family:var(--font-serif); font-size:1.8rem; letter-spacing:.2em; color:var(--gold); }
.intro__sign-line{ font-size:.8rem; letter-spacing:.08em; color:var(--muted-2); }

.intro__media{ position:relative; aspect-ratio:4/4.6; }
.intro__img{ position:absolute; overflow:hidden; border-radius:3px; }
.intro__img img{ width:100%; height:100%; object-fit:cover; }
.intro__img--main{ inset:0 18% 22% 0; box-shadow:0 40px 80px -30px rgba(0,0,0,.7); }
.intro__img--float{ width:46%; aspect-ratio:4/3; right:0; bottom:0; border:6px solid var(--bg); box-shadow:0 30px 60px -25px rgba(0,0,0,.8); }

/* ===================================================================
   STATS
   =================================================================== */
.stats{ border-block:1px solid var(--line); background:var(--bg-2); }
.stats__grid{ max-width:var(--container); margin:0 auto; display:grid; grid-template-columns:repeat(4,1fr); }
.stat{ padding:clamp(2.2rem,4vw,3.4rem) 1.5rem; text-align:center; border-left:1px solid var(--line); }
.stat:first-child{ border-left:none; }
.stat__num{ display:block; font-family:var(--font-serif); font-size:clamp(2.4rem,1.5rem + 2.5vw,4rem); color:var(--gold); line-height:1; font-weight:400; }
.stat__label{ display:block; margin-top:.8rem; font-size:.72rem; letter-spacing:.18em; text-transform:uppercase; color:var(--muted); }

/* ===================================================================
   ROOMS
   =================================================================== */
.rooms__gallery{ max-width:var(--container); margin:0 auto; display:grid; grid-template-columns:repeat(3,1fr); gap:1.4rem; }
.room-card{ position:relative; overflow:hidden; border-radius:3px; background:var(--surface); }
.room-card__img{ overflow:hidden; aspect-ratio:4/3.4; }
.room-card__img img{ width:100%; height:100%; object-fit:cover; transition:transform 1.1s var(--ease); }
.room-card:hover .room-card__img img{ transform:scale(1.07); }
.room-card figcaption{ padding:1.5rem 1.6rem 1.8rem; }
.room-card h3{ font-family:var(--font-serif); font-weight:500; font-size:1.5rem; margin-bottom:.5rem; }
.room-card p{ font-size:.9rem; color:var(--muted); line-height:1.55; }

.room-feats{
  max-width:var(--container); margin:clamp(2.5rem,5vw,4rem) auto 0;
  display:flex; flex-wrap:wrap; gap:.8rem 1rem; justify-content:center;
}
.room-feats li{
  font-size:.78rem; letter-spacing:.12em; text-transform:uppercase; color:var(--muted);
  border:1px solid var(--line); border-radius:40px; padding:.7em 1.4em;
  transition:border-color .4s, color .4s;
}
.room-feats li:hover{ border-color:var(--gold); color:var(--text); }

/* ===================================================================
   DINING
   =================================================================== */
.dining{ background:var(--bg-2); }
.dining__grid{ max-width:var(--container); margin:0 auto; display:grid; grid-template-columns:1fr 1fr; gap:clamp(2.5rem,5vw,6rem); align-items:center; }
.dining__media{ overflow:hidden; border-radius:3px; aspect-ratio:5/4; box-shadow:0 40px 80px -35px rgba(0,0,0,.8); }
.dining__media img{ width:100%; height:100%; object-fit:cover; }
.dining__text p:not(.eyebrow){ color:var(--muted); margin-bottom:1.3rem; max-width:50ch; }
.dining__text .h2{ margin-bottom:1.8rem; }
.dining__list{ display:flex; flex-wrap:wrap; gap:.7rem; margin-top:2rem; }
.dining__list li{ font-size:.8rem; letter-spacing:.1em; text-transform:uppercase; color:var(--gold); border:1px solid var(--line); padding:.6em 1.2em; border-radius:2px; }

/* ===================================================================
   GALLERY
   =================================================================== */
.gallery__grid{
  max-width:var(--container); margin:0 auto;
  display:grid; grid-template-columns:repeat(4,1fr); grid-auto-rows:200px; gap:1rem;
}
.gallery__item{ overflow:hidden; border-radius:3px; position:relative; }
.gallery__item img{ width:100%; height:100%; object-fit:cover; transition:transform 1.1s var(--ease); }
.gallery__item::after{ content:""; position:absolute; inset:0; background:rgba(13,12,11,.15); opacity:0; transition:opacity .5s; }
.gallery__item:hover img{ transform:scale(1.08); }
.gallery__item:hover::after{ opacity:1; }
.gallery__item--tall{ grid-row:span 2; }
.gallery__item--wide{ grid-column:span 2; }

/* category tiles (homepage) */
.galcat__grid{ max-width:var(--container); margin:0 auto; display:grid; grid-template-columns:repeat(4,1fr); gap:1rem; }
.galcat{ position:relative; display:block; overflow:hidden; border-radius:3px; aspect-ratio:3/4.1; }
.galcat__img{ position:absolute; inset:0; }
.galcat__img img{ width:100%; height:100%; object-fit:cover; transition:transform 1.2s var(--ease); }
.galcat:hover .galcat__img img{ transform:scale(1.08); }
.galcat::after{ content:""; position:absolute; inset:0; background:linear-gradient(to top, rgba(13,12,11,.9) 8%, rgba(13,12,11,.1) 55%, transparent); transition:background .4s; }
.galcat:hover::after{ background:linear-gradient(to top, rgba(13,12,11,.92) 12%, rgba(198,166,103,.12) 60%, transparent); }
.galcat__label{ position:absolute; left:0; right:0; bottom:0; z-index:2; display:flex; justify-content:space-between; align-items:flex-end; padding:1.2rem 1.3rem; }
.galcat__label span{ font-family:var(--font-serif); font-weight:500; font-size:1.45rem; line-height:1.1; }
.galcat__label b{ font-size:.78rem; letter-spacing:.12em; color:var(--gold); font-weight:500; }
.gallery__cta{ text-align:center; margin-top:clamp(2.2rem,4vw,3.2rem); }

/* gallery page (galerie.html) */
.galpage{ padding:calc(clamp(4.5rem,10vh,8rem) + 60px) var(--pad) clamp(4rem,8vw,7rem); }
.galpage__head{ max-width:var(--container); margin:0 auto clamp(2rem,4vw,3rem); text-align:center; }
.gal-tabs{ display:flex; flex-wrap:wrap; gap:.7rem; justify-content:center; margin:0 auto clamp(2.2rem,4vw,3.4rem); }
.gal-tab{ font-size:.76rem; letter-spacing:.13em; text-transform:uppercase; color:var(--muted); border:1px solid var(--line); padding:.7em 1.5em; border-radius:40px; transition:color .3s, border-color .3s, background .3s; }
.gal-tab:hover{ color:var(--text); border-color:var(--gold); }
.gal-tab.is-active{ background:var(--gold); color:var(--bg); border-color:var(--gold); }
.gal-grid{ max-width:var(--container); margin:0 auto; display:grid; grid-template-columns:repeat(3,1fr); gap:1rem; }
.gal-cell{ overflow:hidden; border-radius:3px; aspect-ratio:4/3; cursor:pointer; background:var(--surface); position:relative; animation:galfade .6s var(--ease) both; }
.gal-cell img{ width:100%; height:100%; object-fit:cover; transition:transform .9s var(--ease); }
.gal-cell::after{ content:""; position:absolute; inset:0; background:rgba(13,12,11,.12); opacity:0; transition:opacity .4s; }
.gal-cell:hover img{ transform:scale(1.07); }
.gal-cell:hover::after{ opacity:1; }
@keyframes galfade{ from{ opacity:0; transform:translateY(18px); } to{ opacity:1; transform:none; } }

/* ===================================================================
   AMENITIES
   =================================================================== */
.amenities__grid{
  max-width:var(--container); margin:0 auto;
  display:grid; grid-template-columns:repeat(4,1fr); gap:1px; background:var(--line);
  border:1px solid var(--line); border-radius:3px; overflow:hidden;
}
.amenity{ background:var(--bg); padding:clamp(1.8rem,2.5vw,2.6rem); transition:background .4s var(--ease); }
.amenity:hover{ background:var(--surface); }
.amenity__icon{ display:block; width:32px; height:32px; margin-bottom:1.3rem; color:var(--gold);
  background-color:var(--gold); -webkit-mask-repeat:no-repeat; mask-repeat:no-repeat; -webkit-mask-size:contain; mask-size:contain; }
.amenity h3{ font-family:var(--font-serif); font-weight:500; font-size:1.25rem; margin-bottom:.5rem; }
.amenity p{ font-size:.85rem; color:var(--muted); line-height:1.55; }

/* icons (inline svg via mask) */
.amenity__icon[data-icon="wifi"]{ -webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round'%3E%3Cpath d='M2 8.5a16 16 0 0 1 20 0M5 12a11 11 0 0 1 14 0M8.5 15.5a6 6 0 0 1 7 0'/%3E%3Ccircle cx='12' cy='19' r='1'/%3E%3C/svg%3E"); mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round'%3E%3Cpath d='M2 8.5a16 16 0 0 1 20 0M5 12a11 11 0 0 1 14 0M8.5 15.5a6 6 0 0 1 7 0'/%3E%3Ccircle cx='12' cy='19' r='1'/%3E%3C/svg%3E"); }
.amenity__icon[data-icon="parking"]{ -webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.5'%3E%3Crect x='4' y='3' width='16' height='18' rx='2'/%3E%3Cpath d='M9 17V7h3.5a3 3 0 0 1 0 6H9' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.5'%3E%3Crect x='4' y='3' width='16' height='18' rx='2'/%3E%3Cpath d='M9 17V7h3.5a3 3 0 0 1 0 6H9' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.amenity__icon[data-icon="clock"]{ -webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3 2'/%3E%3C/svg%3E"); mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3 2'/%3E%3C/svg%3E"); }
.amenity__icon[data-icon="bar"]{ -webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 3h14l-7 8z'/%3E%3Cpath d='M12 11v8M8 21h8'/%3E%3C/svg%3E"); mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 3h14l-7 8z'/%3E%3Cpath d='M12 11v8M8 21h8'/%3E%3C/svg%3E"); }
.amenity__icon[data-icon="elevator"]{ -webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='5' y='3' width='14' height='18' rx='1.5'/%3E%3Cpath d='M10 9l-2 2.5h4zM14 15l-2-2.5-2 2.5'/%3E%3C/svg%3E"); mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='5' y='3' width='14' height='18' rx='1.5'/%3E%3Cpath d='M10 9l-2 2.5h4zM14 15l-2-2.5-2 2.5'/%3E%3C/svg%3E"); }
.amenity__icon[data-icon="accessible"]{ -webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='4' r='1.5'/%3E%3Cpath d='M12 6v6h4l2 6M12 12H8a4 4 0 1 0 3 6.7'/%3E%3C/svg%3E"); mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='4' r='1.5'/%3E%3Cpath d='M12 6v6h4l2 6M12 12H8a4 4 0 1 0 3 6.7'/%3E%3C/svg%3E"); }
.amenity__icon[data-icon="pet"]{ -webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23000'%3E%3Ccircle cx='5.5' cy='11' r='2'/%3E%3Ccircle cx='9.5' cy='6.5' r='2'/%3E%3Ccircle cx='14.5' cy='6.5' r='2'/%3E%3Ccircle cx='18.5' cy='11' r='2'/%3E%3Cpath d='M12 12c-2.5 0-4.5 2-5 4.2-.4 1.8 1 3.3 2.8 3.3.9 0 1.5-.4 2.2-.4s1.3.4 2.2.4c1.8 0 3.2-1.5 2.8-3.3C16.5 14 14.5 12 12 12z'/%3E%3C/svg%3E"); mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23000'%3E%3Ccircle cx='5.5' cy='11' r='2'/%3E%3Ccircle cx='9.5' cy='6.5' r='2'/%3E%3Ccircle cx='14.5' cy='6.5' r='2'/%3E%3Ccircle cx='18.5' cy='11' r='2'/%3E%3Cpath d='M12 12c-2.5 0-4.5 2-5 4.2-.4 1.8 1 3.3 2.8 3.3.9 0 1.5-.4 2.2-.4s1.3.4 2.2.4c1.8 0 3.2-1.5 2.8-3.3C16.5 14 14.5 12 12 12z'/%3E%3C/svg%3E"); }
.amenity__icon[data-icon="shop"]{ -webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 8h16l-1 12H5zM8 8V6a4 4 0 0 1 8 0v2'/%3E%3C/svg%3E"); mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 8h16l-1 12H5zM8 8V6a4 4 0 0 1 8 0v2'/%3E%3C/svg%3E"); }
.amenity__icon[data-icon="nosmoke"]{ -webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M5.6 5.6l12.8 12.8'/%3E%3C/svg%3E"); mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M5.6 5.6l12.8 12.8'/%3E%3C/svg%3E"); }
.amenity__icon[data-icon="shield"]{ -webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3l7 3v5c0 4.5-3 8-7 10-4-2-7-5.5-7-10V6z'/%3E%3Cpath d='M9 12l2 2 4-4'/%3E%3C/svg%3E"); mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3l7 3v5c0 4.5-3 8-7 10-4-2-7-5.5-7-10V6z'/%3E%3Cpath d='M9 12l2 2 4-4'/%3E%3C/svg%3E"); }
.amenity__icon[data-icon="clean"]{ -webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 3l3 3-7 7-3-3zM10 10l-5 5v4h4l5-5'/%3E%3C/svg%3E"); mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 3l3 3-7 7-3-3zM10 10l-5 5v4h4l5-5'/%3E%3C/svg%3E"); }
.amenity__icon[data-icon="luggage"]{ -webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='6' y='7' width='12' height='13' rx='2'/%3E%3Cpath d='M9 7V5a2 2 0 0 1 2-2h2a2 2 0 0 1 2 2v2M9 20v1M15 20v1'/%3E%3C/svg%3E"); mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='6' y='7' width='12' height='13' rx='2'/%3E%3Cpath d='M9 7V5a2 2 0 0 1 2-2h2a2 2 0 0 1 2 2v2M9 20v1M15 20v1'/%3E%3C/svg%3E"); }

/* ===================================================================
   LOCATION
   =================================================================== */
.location{ background:var(--bg-2); }
.location__grid{ max-width:var(--container); margin:0 auto; display:grid; grid-template-columns:1fr 1fr; gap:clamp(2.5rem,5vw,6rem); align-items:center; }
.location__text p:not(.eyebrow){ color:var(--muted); max-width:48ch; }
.location__text .h2{ margin-bottom:1.6rem; }
.location__list{ margin:2.2rem 0; }
.location__list li{ display:flex; justify-content:space-between; align-items:baseline; padding:1.05rem 0; border-bottom:1px solid var(--line); }
.location__list span{ color:var(--muted); letter-spacing:.05em; }
.location__list b{ font-family:var(--font-serif); font-weight:500; font-size:1.3rem; color:var(--gold); }

.location__map{
  position:relative; display:block; aspect-ratio:1/1; border:1px solid var(--line);
  border-radius:4px; overflow:hidden; box-shadow:0 30px 70px -35px rgba(0,0,0,.8);
}
.location__map img{ width:100%; height:100%; object-fit:cover; transition:transform 1.2s var(--ease); }
.location__map:hover img{ transform:scale(1.05); }
.location__map::after{ content:""; position:absolute; inset:0; background:linear-gradient(to top, rgba(13,12,11,.85) 4%, transparent 45%); }
.location__map-card{
  position:absolute; left:0; right:0; bottom:0; z-index:2;
  display:flex; flex-direction:column; gap:.5rem; padding:1.6rem 1.7rem;
}
.location__mark{ font-family:var(--font-serif); font-size:2rem; letter-spacing:.18em; color:var(--gold); padding-left:.18em; line-height:1; }
.location__addr{ color:var(--text); font-size:.92rem; line-height:1.6; letter-spacing:.03em; }
.location__map-cta{ font-size:.74rem; letter-spacing:.18em; text-transform:uppercase; color:var(--gold-soft); margin-top:.3rem; transition:letter-spacing .3s; }
.location__map:hover .location__map-cta{ letter-spacing:.24em; }

/* ===================================================================
   CONTACT
   =================================================================== */
.contact{ background:var(--bg); position:relative; }
.contact__head{ max-width:var(--container); margin:0 auto clamp(2.5rem,5vw,4rem); text-align:center; }
.contact__title{ font-family:var(--font-serif); font-weight:400; font-size:clamp(2.2rem,1.5rem + 3.5vw,4.4rem); line-height:1.05; margin-bottom:1.4rem; }
.contact__lead{ color:var(--muted); max-width:56ch; margin:0 auto; }

.contact__grid{ max-width:var(--container); margin:0 auto; display:grid; grid-template-columns:1.3fr 1fr; gap:clamp(2rem,4vw,4rem); align-items:start; }

/* form */
.resform{ background:var(--surface); border:1px solid var(--line); border-radius:4px; padding:clamp(1.6rem,3vw,2.8rem); }
.resform__title{ font-family:var(--font-serif); font-weight:500; font-size:1.6rem; margin-bottom:1.6rem; }
.resform__row{ margin-bottom:1.1rem; }
.resform__row--2{ display:grid; grid-template-columns:1fr 1fr; gap:1.1rem; }
.field{ display:flex; flex-direction:column; gap:.5rem; }
.field > span{ font-size:.72rem; letter-spacing:.14em; text-transform:uppercase; color:var(--muted); }
.field input,.field select,.field textarea{
  background:var(--bg); border:1px solid var(--line); border-radius:2px; color:var(--text);
  font-family:inherit; font-size:.95rem; padding:.8em .9em; transition:border-color .3s, background .3s;
  width:100%;
}
.field textarea{ resize:vertical; min-height:96px; }
.field input:focus,.field select:focus,.field textarea:focus{ outline:none; border-color:var(--gold); background:var(--surface-2); }
.field select{ appearance:none; -webkit-appearance:none; cursor:pointer;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c6a667' stroke-width='1.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat:no-repeat; background-position:right .8em center; background-size:18px; padding-right:2.4em; }
/* date input icon tint */
.field input[type="date"]::-webkit-calendar-picker-indicator{ filter:invert(.7) sepia(1) saturate(2) hue-rotate(5deg); cursor:pointer; }
.resform__hp{ position:absolute; left:-9999px; width:1px; height:1px; opacity:0; }
.resform__consent{ display:flex; gap:.7rem; align-items:flex-start; margin:1.2rem 0 1.6rem; font-size:.82rem; color:var(--muted); line-height:1.55; cursor:pointer; }
.resform__consent input{ margin-top:.2em; accent-color:var(--gold); width:16px; height:16px; flex:none; cursor:pointer; }
.resform__consent a{ color:var(--gold); text-decoration:underline; text-underline-offset:2px; }
.resform__submit{ width:100%; }
.resform__hint{ font-size:.74rem; color:var(--muted-2); margin-top:1rem; }
.resform__status{ margin-top:1rem; font-size:.9rem; min-height:1.2em; }
.resform__status.is-ok{ color:var(--sage); }
.resform__status.is-error,.resform__status.is-sending{ color:var(--gold-soft); }

/* info aside */
.contact__info{ background:var(--bg-2); border:1px solid var(--line); border-radius:4px; padding:clamp(1.6rem,3vw,2.6rem); }
.contact__info-title{ font-family:var(--font-serif); font-weight:500; font-size:1.6rem; margin-bottom:1.6rem; }
.contact__info-list{ display:flex; flex-direction:column; gap:1.3rem; }
.contact__info-list > div{ display:flex; flex-direction:column; gap:.4rem; }
.contact__lbl{ font-size:.68rem; letter-spacing:.22em; text-transform:uppercase; color:var(--gold); }
.contact__info-list a,.contact__info-list span:not(.contact__lbl){ color:var(--text); letter-spacing:.02em; line-height:1.6; transition:color .3s; }
.contact__info-list a:hover{ color:var(--gold); }
.contact__info-actions{ display:flex; flex-direction:column; gap:.8rem; margin:1.8rem 0; }
.contact__info-actions .btn{ width:100%; }
.contact__note{ font-size:.76rem; color:var(--muted-2); line-height:1.7; }

/* ===================================================================
   FOOTER
   =================================================================== */
.footer{ background:var(--bg-2); border-top:1px solid var(--line); padding:clamp(3rem,6vw,5rem) var(--pad) 2rem; }
.footer__inner{ max-width:var(--container); margin:0 auto; display:grid; grid-template-columns:1fr 1.4fr 1fr; gap:2.5rem; align-items:start; }
.footer__brand{ display:flex; flex-direction:column; }
.footer__logo{ width:150px; height:auto; }
.footer__nav{ display:flex; flex-wrap:wrap; gap:.8rem 1.8rem; align-content:start; }
.footer__nav a{ font-size:.82rem; letter-spacing:.1em; color:var(--muted); transition:color .3s; }
.footer__nav a:hover{ color:var(--gold); }
.footer__contact{ font-size:.85rem; color:var(--muted); line-height:1.9; text-align:right; }
.footer__contact a:hover{ color:var(--gold); }
.footer__bottom{ max-width:var(--container); margin:clamp(2.5rem,5vw,4rem) auto 0; padding-top:1.6rem; border-top:1px solid var(--line);
  display:flex; justify-content:space-between; align-items:center; gap:1rem 2rem; flex-wrap:wrap; font-size:.74rem; letter-spacing:.08em; color:var(--muted-2); }
.footer__legal{ display:flex; gap:1.6rem; }
.footer__legal a{ color:var(--muted); transition:color .3s; }
.footer__legal a:hover{ color:var(--gold); }
.footer__credits a{ color:var(--muted-2); transition:color .3s; }
.footer__credits a:hover{ color:var(--gold); }

/* ===================================================================
   LIGHTBOX
   =================================================================== */
.lightbox{ position:fixed; inset:0; z-index:8000; background:rgba(8,7,6,.95); backdrop-filter:blur(8px);
  display:flex; align-items:center; justify-content:center; opacity:0; visibility:hidden; transition:opacity .4s var(--ease), visibility .4s; }
.lightbox.is-open{ opacity:1; visibility:visible; }
.lightbox__img{ max-width:88vw; max-height:84vh; border-radius:3px; box-shadow:0 40px 100px -20px rgba(0,0,0,.9); transform:scale(.96); transition:transform .4s var(--ease); }
.lightbox.is-open .lightbox__img{ transform:scale(1); }
.lightbox__close{ position:absolute; top:1.6rem; right:2rem; font-size:2.4rem; color:var(--text); line-height:1; transition:color .3s, transform .3s; }
.lightbox__close:hover{ color:var(--gold); transform:rotate(90deg); }
.lightbox__nav{ position:absolute; top:50%; transform:translateY(-50%); font-size:3rem; color:var(--text); padding:1rem; transition:color .3s; }
.lightbox__nav:hover{ color:var(--gold); }
.lightbox__nav--prev{ left:1rem; }
.lightbox__nav--next{ right:1rem; }

/* ===================================================================
   LEGAL PAGES (Impressum / Datenschutz)
   =================================================================== */
.legal-nav{ position:sticky; top:0; z-index:100; background:rgba(13,12,11,.92); backdrop-filter:blur(12px); border-bottom:1px solid var(--line); }
.legal-nav__inner{ max-width:880px; margin:0 auto; padding:1.1rem var(--pad); display:flex; align-items:center; justify-content:space-between; gap:1rem; }
.legal-nav__inner img{ height:60px; width:auto; }
.legal-nav__back{ font-size:.78rem; letter-spacing:.14em; text-transform:uppercase; color:var(--muted); transition:color .3s; }
.legal-nav__back:hover{ color:var(--gold); }
.legal{ max-width:880px; margin:0 auto; padding:clamp(3rem,7vw,6rem) var(--pad) clamp(4rem,8vw,7rem); }
.legal h1{ font-family:var(--font-serif); font-weight:400; font-size:clamp(2.2rem,1.5rem + 3vw,3.6rem); margin-bottom:2.5rem; line-height:1.1; }
.legal h2{ font-family:var(--font-serif); font-weight:500; font-size:clamp(1.4rem,1rem + 1.4vw,2rem); margin:2.6rem 0 1rem; color:var(--gold-soft); }
.legal h3{ font-size:1.05rem; font-weight:600; margin:1.6rem 0 .6rem; color:var(--text); }
.legal p,.legal li{ color:var(--muted); line-height:1.75; margin-bottom:1rem; }
.legal ul{ list-style:disc; padding-left:1.4rem; margin-bottom:1rem; }
.legal li{ margin-bottom:.5rem; }
.legal a{ color:var(--gold); text-decoration:underline; text-underline-offset:2px; }
.legal strong{ color:var(--text); font-weight:600; }
.legal .todo{ background:rgba(198,166,103,.1); border-left:3px solid var(--gold); padding:.9rem 1.1rem; border-radius:2px; color:var(--gold-soft); font-size:.9rem; margin:1rem 0; }
.legal .muted{ font-size:.82rem; color:var(--muted-2); }
.legal address{ font-style:normal; color:var(--text); line-height:1.8; }

/* ===================================================================
   COOKIE / DATENSCHUTZ-HINWEIS
   =================================================================== */
.cookiebar{
  position:fixed; left:50%; bottom:1.2rem; transform:translate(-50%,140%);
  z-index:7000; width:min(680px, calc(100vw - 2rem));
  background:rgba(20,18,16,.96); backdrop-filter:blur(12px);
  border:1px solid var(--line); border-radius:6px;
  box-shadow:0 30px 70px -25px rgba(0,0,0,.85);
  padding:1.1rem 1.3rem; display:flex; align-items:center; gap:1.2rem;
  transition:transform .5s var(--ease), opacity .5s var(--ease); opacity:0;
}
.cookiebar.is-in{ transform:translate(-50%,0); opacity:1; }
.cookiebar__text{ font-size:.84rem; line-height:1.55; color:var(--muted); margin:0; }
.cookiebar__text a{ color:var(--gold); text-decoration:underline; text-underline-offset:2px; }
.cookiebar__btn{
  flex:none; padding:.7em 1.6em; border:1px solid var(--gold); border-radius:2px;
  background:var(--gold); color:var(--bg); font-size:.76rem; letter-spacing:.16em;
  text-transform:uppercase; font-weight:500; transition:background .3s, color .3s;
}
.cookiebar__btn:hover{ background:transparent; color:var(--gold); }
@media (max-width:560px){
  .cookiebar{ flex-direction:column; align-items:stretch; gap:.9rem; text-align:center; }
  .cookiebar__btn{ width:100%; }
}

/* ===================================================================
   REVEAL ANIMATIONS (base states)
   =================================================================== */
.reveal{ opacity:0; transform:translateY(34px); transition:opacity 1s var(--ease), transform 1s var(--ease); will-change:opacity,transform; }
.reveal.is-in{ opacity:1; transform:none; }
@media (prefers-reduced-motion:reduce){
  .reveal{ opacity:1 !important; transform:none !important; }
  *{ animation-duration:.001ms !important; transition-duration:.001ms !important; }
}

/* ===================================================================
   RESPONSIVE
   =================================================================== */
@media (max-width:1024px){
  .amenities__grid{ grid-template-columns:repeat(3,1fr); }
  .gallery__grid{ grid-template-columns:repeat(3,1fr); }
  .galcat__grid{ grid-template-columns:repeat(2,1fr); }
  .gal-grid{ grid-template-columns:repeat(2,1fr); }
}
@media (max-width:860px){
  .nav__menu{
    position:fixed; inset:0 0 0 auto; width:min(82vw,360px);
    background:var(--bg-2); flex-direction:column; align-items:flex-start; justify-content:center;
    gap:1.8rem; padding:3rem var(--pad); transform:translateX(100%); transition:transform .55s var(--ease);
    border-left:1px solid var(--line);
  }
  .nav.is-open .nav__menu{ transform:translateX(0); }
  .nav__menu{ z-index:1000; }
  .nav__menu a{ font-size:1rem; }
  .nav__burger{ display:block; z-index:1001; }
  /* Logo + Tools über dem Scrim halten */
  .nav__logo, .nav__tools{ position:relative; z-index:1001; }
  /* Dunkler Vollbild-Hintergrund hinter dem Menü (deckt den Seiteninhalt ab) */
  .nav::after{
    content:""; position:fixed; inset:0; z-index:998;
    background:rgba(10,9,8,.6); backdrop-filter:blur(3px); -webkit-backdrop-filter:blur(3px);
    opacity:0; visibility:hidden; transition:opacity .45s var(--ease), visibility .45s;
  }
  .nav.is-open::after{ opacity:1; visibility:visible; }
  /* Leiste solide, sobald das Menü offen ist (auch im gescrollten Zustand) */
  .nav.is-open, .nav.is-open.is-scrolled{ background:var(--bg-2); backdrop-filter:none; -webkit-backdrop-filter:none; border-bottom-color:var(--line); }
  .intro__grid,.dining__grid,.location__grid,.contact__grid{ grid-template-columns:1fr; }
  .dining__media{ order:-1; }
  .intro__media{ aspect-ratio:4/3.4; max-width:520px; }
  .rooms__gallery{ grid-template-columns:1fr 1fr; }
  .stats__grid{ grid-template-columns:1fr 1fr; }
  .stat:nth-child(odd){ border-left:none; }
  .stat:nth-child(3),.stat:nth-child(4){ border-top:1px solid var(--line); }
  .footer__inner{ grid-template-columns:1fr; gap:2rem; }
  .footer__contact{ text-align:left; }
}
@media (max-width:560px){
  .amenities__grid{ grid-template-columns:1fr 1fr; }
  .gallery__grid{ grid-template-columns:1fr 1fr; grid-auto-rows:150px; }
  .galcat__grid{ gap:.7rem; }
  .galcat__label span{ font-size:1.15rem; }
  .gallery__item--wide{ grid-column:span 2; }
  .rooms__gallery{ grid-template-columns:1fr; }
  .stats__grid{ grid-template-columns:1fr 1fr; }
  .hero__actions{ flex-direction:column; align-items:flex-start; }
  .hero__actions .btn{ width:100%; }
  .resform__row--2{ grid-template-columns:1fr; gap:1.1rem; }
}
