/* ---------------------------------------------------------------------------
   LORENZ HOTELS GmbH – Premium editorial theme
   Stack: PHP + Bootstrap + jQuery (no CMS)
   --------------------------------------------------------------------------- */

:root{
  --ink: #0b0f14;
  --ink-2: #101722;
  --sand: #f6f3ee;
  --paper: #ffffff;
  --muted: rgba(11,15,20,.70);
  --muted-2: rgba(11,15,20,.55);
  --line: rgba(11,15,20,.12);

  --accent: #7a1e2a;      /* deep wine */
  --accent-2: #b08d57;    /* warm brass */

  --radius: 18px;
  --radius-sm: 12px;

  --shadow: 0 18px 55px rgba(11,15,20,.16);
  --shadow-soft: 0 10px 35px rgba(11,15,20,.12);

  --font-sans: "Inter", system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif;
  --font-serif: "Playfair Display", Georgia, "Times New Roman", serif;

  --container-pad: clamp(18px, 3.5vw, 42px);
}

*{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  font-family: var(--font-sans);
  background: var(--sand);
  color: var(--ink);
  margin: 0;
}


/* ---------------------------------------------------------------------------
   Theme: Dark / Luxury
   (applied via body.theme-dark)
--------------------------------------------------------------------------- */
body.theme-dark{
  --sand: #0b0f14;
  --paper: rgba(16,23,34,.96);
  --muted: rgba(246,243,238,.78);
  --muted-2: rgba(246,243,238,.58);
  --line: rgba(255,255,255,.14);

  --shadow: 0 20px 70px rgba(0,0,0,.58);
  --shadow-soft: 0 10px 34px rgba(0,0,0,.42);

  background: var(--sand);
  color: rgba(246,243,238,.92);
}

/* Better default typography contrast on dark */
body.theme-dark .lead{ color: rgba(246,243,238,.82); }
body.theme-dark .kicker{ color: rgba(246,243,238,.60); }


/* Improve Bootstrap defaults slightly */
.container-xl{ padding-left: var(--container-pad); padding-right: var(--container-pad); }

a{ color: inherit; text-decoration: none; }
a:hover{ color: inherit; }

.skip-link{
  position: absolute; left: 12px; top: -60px;
  background: var(--ink); color: #fff; padding: 10px 12px;
  border-radius: 10px; z-index: 9999;
}
.skip-link:focus{ top: 12px; }

.small{ font-size: .925rem; line-height: 1.4; }
.opacity-75{ opacity: .75; }

/* ---------------------------------------------------------------------------
   Topbar + navigation
--------------------------------------------------------------------------- */
.topbar{
  position: fixed; inset: 0 0 auto 0;
  z-index: 1000;
  padding: 14px 0;
  transition: background .25s ease, box-shadow .25s ease, backdrop-filter .25s ease;
  background: rgba(246,243,238,.12);
  backdrop-filter: blur(14px);
}
.topbar.is-solid{
  background: rgba(246,243,238,.86);
  box-shadow: 0 10px 30px rgba(11,15,20,.08);
}
.topbar__inner{
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
}
.brand{
  display: inline-flex; align-items: center; gap: 12px;
}
.brand__mark{
  width: 42px; height: 42px;
  border-radius: 14px;
  background: rgba(11,15,20,.08);
  display: grid; place-items: center;
  overflow: hidden;
}
.brand__mark img{
  display: block;
  max-width: 70%;
  max-height: 70%;
}
.brand__mark svg{ fill: var(--ink); }
.brand__text{ display: grid; line-height: 1.05; }
.brand__name{
  font-family: var(--font-serif);
  font-weight: 600;
  letter-spacing: .02em;
}
.brand__legal{
  font-size: .82rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  opacity: .7;
}

.nav-inline .nav-link{
  position: relative;
  padding: 10px 14px;
  border-radius: 999px;
  color: rgba(11,15,20,.76);
  transition: background .2s ease, color .2s ease;
}
.nav-inline .nav-link:hover{
  background: rgba(11,15,20,.06);
  color: rgba(11,15,20,.92);
}
.nav-inline .nav-link.is-active{
  background: rgba(11,15,20,.08);
  color: rgba(11,15,20,.96);
}

.topbar__actions{ display: flex; align-items: center; gap: 12px; }

.lang-switch{
  display: inline-flex;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(0,0,0,.18);
  backdrop-filter: blur(10px);
}
body.theme-light .lang-switch{
  border-color: rgba(11,15,20,.12);
  background: rgba(255,255,255,.65);
}
.lang-switch__item{
  font-size: .85rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  opacity: .75;
}
.lang-switch__item.is-active{ opacity: 1; text-decoration: underline; text-underline-offset: 3px; }

/* Burger */
.menu-toggle{
  width: 44px; height: 44px;
  border: 1px solid rgba(11,15,20,.16);
  background: rgba(255,255,255,.6);
  border-radius: 999px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: transform .15s ease, background .2s ease;
}
.menu-toggle:hover{ background: rgba(255,255,255,.85); transform: translateY(-1px); }
.menu-toggle__line{
  width: 18px; height: 2px; background: var(--ink);
  border-radius: 99px;
}

/* ---------------------------------------------------------------------------
   Menu overlay (fullscreen)
--------------------------------------------------------------------------- */
.menu-overlay{
  position: fixed; inset: 0;
  z-index: 1100;
  background: rgba(11,15,20,.96);
  color: #fff;
  padding: 22px;
}
.menu-overlay[hidden]{ display: none !important; }
.menu-overlay__inner{
  height: calc(100vh - 44px);
  max-width: 1240px;
  margin: 0 auto;
  display: flex; flex-direction: column;
  gap: 28px;
}
.menu-overlay__top{
  display: flex; align-items: center; justify-content: space-between;
}

.menu-overlay__lang{
  display: inline-flex;
  gap: 10px;
  align-items: center;
}
.menu-overlay__title{
  font-family: var(--font-serif);
  font-size: 1.2rem;
  opacity: .85;
}
.menu-close{
  width: 44px; height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.18);
  background: transparent;
  color: #fff;
  font-size: 26px;
  line-height: 1;
}
.menu-close:hover{ background: rgba(255,255,255,.08); }

.menu-overlay__grid{
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 26px;
  align-items: start;
  flex: 1;
}
@media (max-width: 992px){
  .menu-overlay__grid{ grid-template-columns: 1fr; }
}

.menu-link{
  display: block;
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(2rem, 4.3vw, 3.2rem);
  letter-spacing: .01em;
  padding: 10px 0;
  color: #fff;
  opacity: .9;
  transition: opacity .2s ease, transform .2s ease;
}
.menu-link:hover{ opacity: 1; transform: translateX(6px); }
.menu-link--accent{
  color: #fff;
  opacity: 1;
}
.menu-overlay__panel{
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius);
  padding: 20px;
  background: rgba(255,255,255,.06);
}
.menu-brands{ display: grid; gap: 12px; margin-top: 14px; }
.brand-row{
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 6px 14px;
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.12);
  transition: background .2s ease, transform .2s ease, border-color .2s ease;
}
.brand-row:hover{
  background: rgba(255,255,255,.08);
  transform: translateY(-1px);
  border-color: rgba(255,255,255,.20);
}
.brand-row__name{
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-size: .9rem;
}
.brand-row__meta{
  grid-column: 1 / 2;
  opacity: .72;
  font-size: .95rem;
}
.brand-row__icon{
  grid-column: 2 / 3;
  grid-row: 1 / 3;
  opacity: .78;
  align-self: center;
}
.link-on-dark{ text-decoration: underline; text-underline-offset: 3px; }

.link-on-light{ text-decoration: underline; text-underline-offset: 3px; }
body.theme-dark .link-on-light{ color: rgba(246,243,238,.86); }
body.theme-dark .link-on-light:hover{ color: #fff; }

.menu-overlay__footer{
  border-top: 1px solid rgba(255,255,255,.12);
  padding-top: 14px;
  opacity: .9;
}

/* ---------------------------------------------------------------------------
   Buttons
--------------------------------------------------------------------------- */
.btn{
  --btn-bg: var(--ink);
  --btn-fg: #fff;
  --btn-border: transparent;

  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid var(--btn-border);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-weight: 600;
  letter-spacing: .01em;
  transition: transform .15s ease, background .2s ease, border-color .2s ease, color .2s ease;
  text-decoration: none !important;
}
.btn:hover{ transform: translateY(-1px); }
.btn:active{ transform: translateY(0); }

.btn-primary{
  --btn-bg: var(--accent);
  --btn-border: var(--accent);
  --btn-fg: #fff;
}
.btn-primary:hover{ background: #6a1621; border-color: #6a1621; }

.btn-ghost{
  --btn-bg: transparent;
  --btn-border: rgba(11,15,20,.18);
  --btn-fg: rgba(11,15,20,.86);
}
.btn-ghost:hover{
  background: rgba(11,15,20,.06);
  border-color: rgba(11,15,20,.26);
}

body.theme-dark .btn-ghost{
  --btn-border: rgba(255,255,255,.22);
  --btn-fg: rgba(255,255,255,.90);
}
body.theme-dark .btn-ghost:hover{
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.28);
}

.btn-dark{
  --btn-bg: var(--ink);
  --btn-border: var(--ink);
  --btn-fg: #fff;
}
.btn-dark:hover{ background: #0a0d12; border-color: #0a0d12; }

.btn-pill{ padding: 12px 18px; }

.icon{
  display: inline-block;
  fill: currentColor;
  opacity: .95;
}
.icon-external{ transform: translateY(1px); }

/* ---------------------------------------------------------------------------
   Typography
--------------------------------------------------------------------------- */
.kicker{
  text-transform: uppercase;
  letter-spacing: .22em;
  font-size: .78rem;
  font-weight: 600;
  color: var(--muted);
}
.h1, .h2, .h3, h1, h2, h3{
  font-family: var(--font-serif);
  letter-spacing: .01em;
}
h1{ font-size: clamp(2.4rem, 4.5vw, 4.0rem); line-height: 1.05; }
.h2, h2{ font-size: clamp(1.8rem, 3.2vw, 2.6rem); line-height: 1.1; }
.lead{
  font-size: 1.12rem;
  line-height: 1.7;
  color: rgba(11,15,20,.78);
}

/* ---------------------------------------------------------------------------
   Hero
--------------------------------------------------------------------------- */
.hero{
  min-height: 100vh;
  padding: calc(92px + 28px) 0 44px 0;
  position: relative;
  display: grid;
  align-items: end;
  overflow: hidden;
  background: var(--ink);
}
.hero__bg{
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.06);
  filter: saturate(.95) contrast(1.02);
}
.hero__bg::after{
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(11,15,20,.84) 0%, rgba(11,15,20,.40) 50%, rgba(11,15,20,.15) 100%);
}
.hero__content{
  position: relative;
  color: #fff;
}
.hero__grid{
  display: grid;
  grid-template-columns: 1.2fr .9fr;
  gap: 28px;
  align-items: end;
}
@media (max-width: 992px){
  .hero__grid{ grid-template-columns: 1fr; }
}
.hero__title{
  font-size: clamp(2.6rem, 5vw, 4.4rem);
}
.hero__subtitle{
  font-size: 1.15rem;
  line-height: 1.7;
  color: rgba(255,255,255,.82);
  max-width: 58ch;
}
.hero__actions{
  display: flex; gap: 12px; flex-wrap: wrap;
  margin-top: 16px;
}
.hero__panel{
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.08);
  border-radius: var(--radius);
  padding: 18px;
  backdrop-filter: blur(10px);
}
.hero__panel .kicker{ color: rgba(255,255,255,.72); }
.hero__panel a{ color: #fff; }
.hero__panel .brand-row{
  background: rgba(0,0,0,.08);
}
.hero__scroll{
  position: absolute; left: 0; right: 0; bottom: 18px;
  display: grid; justify-content: center;
  pointer-events: none;
  opacity: .9;
}
.scroll-indicator{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: .9rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(255,255,255,.76);
}
.scroll-indicator__line{
  width: 46px; height: 1px;
  background: rgba(255,255,255,.40);
  position: relative;
  overflow: hidden;
}
.scroll-indicator__line::after{
  content: "";
  position: absolute; left: -40%;
  width: 40%; height: 100%;
  background: rgba(255,255,255,.95);
  animation: scrollLine 1.8s ease-in-out infinite;
}
@keyframes scrollLine{
  0%{ left: -40%; opacity: .0; }
  20%{ opacity: 1; }
  60%{ left: 100%; opacity: 1; }
  100%{ left: 100%; opacity: 0; }
}

/* ---------------------------------------------------------------------------
   Sections
--------------------------------------------------------------------------- */
.section{
  padding: clamp(52px, 6vw, 92px) 0;
}
.section--tight{ padding: clamp(36px, 4.5vw, 62px) 0; }

.section__header{
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
}
.section__header .kicker{ margin-bottom: 6px; }
.section__title{ margin: 0; }

/* ---------------------------------------------------------------------------
   Feature blocks (editorial split)
--------------------------------------------------------------------------- */
.feature{
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 26px;
  align-items: center;
  padding: 26px 0;
  border-top: 1px solid var(--line);
}
.feature:first-of-type{ border-top: none; padding-top: 0; }
.feature--reverse{ grid-template-columns: .85fr 1.15fr; }
.feature--reverse .feature__media{ order: 2; }
.feature--reverse .feature__content{ order: 1; }
@media (max-width: 992px){
  .feature, .feature--reverse{ grid-template-columns: 1fr; }
  .feature--reverse .feature__media{ order: 1; }
}

.feature__media{ position: relative; min-height: 420px; }
@media (max-width: 992px){ .feature__media{ min-height: 320px; } }

.media-frame{
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  height: 100%;
}
.media-frame img{
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform .9s cubic-bezier(.2,.8,.2,1);
}

.media-frame__label{
  position: absolute;
  left: 14px;
  bottom: 14px;
  padding: 10px 12px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(0,0,0,.28);
  backdrop-filter: blur(10px);
}
.media-frame__label .kicker{ margin: 0; color: rgba(255,255,255,.70); }
.media-frame__label .small{ color: rgba(255,255,255,.88); }
.feature:hover .media-frame img{ transform: scale(1.08); }

.media-collage{
  position: absolute;
  right: -22px;
  bottom: -22px;
  width: 44%;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(255,255,255,.55);
  background: var(--paper);
}
.media-collage img{
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}
.media-collage__label{
  padding: 12px 14px 14px 14px;
  background: var(--paper);
}
.media-collage__label .kicker{ color: rgba(11,15,20,.6); }

.feature__content{
  padding: 8px 0;
}
.tags{ display: flex; gap: 8px; flex-wrap: wrap; margin: 14px 0 6px; }
.tag{
  font-size: .82rem;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.6);
  color: rgba(11,15,20,.80);
}
.bullets{
  margin: 14px 0 0 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.6;
}
.actions{ display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }

/* ---------------------------------------------------------------------------
   Editorial cards
--------------------------------------------------------------------------- */
.grid-3{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
@media (max-width: 992px){ .grid-3{ grid-template-columns: 1fr; } }

.cardx{
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow-soft);
}
.cardx--dark{
  background: var(--ink);
  color: #fff;
  border-color: rgba(255,255,255,.12);
}
.cardx__title{
  font-family: var(--font-serif);
  font-size: 1.4rem;
  margin: 0 0 10px 0;
}
.cardx p{ margin: 0; color: var(--muted); }
.cardx--dark p{ color: rgba(255,255,255,.78); }

/* ---------------------------------------------------------------------------
   Quote / CTA panel
--------------------------------------------------------------------------- */
.cta-panel{
  background: var(--ink);
  color: #fff;
  border-radius: calc(var(--radius) + 6px);
  padding: clamp(26px, 4vw, 44px);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}
.cta-panel::before{
  content: "";
  position: absolute;
  inset: -120px -120px auto auto;
  width: 320px; height: 320px;
  background: radial-gradient(circle at center, rgba(176,141,87,.55), rgba(176,141,87,0) 65%);
  transform: rotate(18deg);
}
.cta-panel > *{ position: relative; }

.cta-panel .kicker{ color: rgba(255,255,255,.72); }
.cta-panel h2{ margin: 6px 0 10px 0; }
.cta-panel .lead{ color: rgba(255,255,255,.82); }

/* ---------------------------------------------------------------------------
   Property page layout
--------------------------------------------------------------------------- */
.page{
  padding-top: 92px;
}
.page-header{
  padding: 34px 0 10px;
}
.page-header .kicker{ margin-bottom: 8px; }
.page-header h1{ margin: 0; }

.split{
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 26px;
  align-items: start;
}
@media (max-width: 992px){ .split{ grid-template-columns: 1fr; } }

.sticky-card{
  position: sticky;
  top: 110px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--paper);
  box-shadow: var(--shadow-soft);
  padding: 18px;
}
@media (max-width: 992px){
  .sticky-card{ position: static; }
}
.fact{
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 10px;
  padding: 10px 0;
  border-top: 1px solid var(--line);
}
.fact:first-child{ border-top: none; padding-top: 0; }
.fact__k{ color: var(--muted); font-weight: 600; font-size: .9rem; }
.fact__v{ color: rgba(11,15,20,.82); }

.gallery{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 16px;
}
.gallery img{
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: 0 12px 30px rgba(11,15,20,.10);
}

.gallery--single{
  grid-template-columns: 1fr;
}
.gallery--single img{
  height: 420px;
}
.gallery img:nth-child(1){ grid-column: 1 / -1; height: 420px; }
@media (max-width: 992px){
  .gallery{ grid-template-columns: 1fr; }
  .gallery img{ height: 240px; }
  .gallery img:nth-child(1){ height: 320px; }
}

.map-shell{
  border-radius: var(--radius);
  border: 1px solid var(--line);
  overflow: hidden;
  background: var(--paper);
}
.map-consent{
  padding: 16px;
  display: grid;
  gap: 10px;
}
.map-consent p{ margin: 0; color: rgba(11,15,20,.70); }

/* ---------------------------------------------------------------------------
   Forms
--------------------------------------------------------------------------- */
.form-label{ font-weight: 600; color: rgba(11,15,20,.82); }
/* Labels need enough contrast on dark pages */
body.theme-dark .form-label{ color: rgba(255,255,255,.92); }
.form-control, .form-select{
  border-radius: 14px;
  border: 1px solid var(--line);
  padding: 12px 14px;
}
.form-control:focus, .form-select:focus{
  border-color: rgba(122,30,42,.55);
  box-shadow: 0 0 0 .22rem rgba(122,30,42,.14);
}

body.theme-dark .form-control,
body.theme-dark .form-select{
  background: rgba(255,255,255,.06);
  color: rgba(246,243,238,.92);
}
body.theme-dark .form-control::placeholder{
  color: rgba(246,243,238,.55);
}
body.theme-dark .form-select option{
  color: #0b0f14;
}
.form-note{ font-size: .9rem; color: var(--muted-2); }

/* ---------------------------------------------------------------------------
   Footer
--------------------------------------------------------------------------- */
.cookie-banner{
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 2000;
  padding: 14px 0;
  background: rgba(11,15,20,.94);
  color: rgba(255,255,255,.92);
  border-top: 1px solid rgba(255,255,255,.14);
}
.cookie-banner__inner{
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
}
.cookie-banner__text{ max-width: 860px; }
.cookie-banner__text a{ margin-left: 10px; text-decoration: underline; text-underline-offset: 3px; }
.cookie-banner__actions{ display: flex; gap: 10px; flex-shrink: 0; }
@media (max-width: 992px){
  .cookie-banner__inner{ flex-direction: column; align-items: stretch; }
  .cookie-banner__actions{ justify-content: flex-start; }
}

/* ---------------------------------------------------------------------------
   Cookie modal (Bootstrap)
--------------------------------------------------------------------------- */
.cookie-modal .modal-content{
  background: rgba(11,15,20,.98);
  color: rgba(255,255,255,.92);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 18px;
}
.cookie-modal .modal-header{
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.cookie-modal .modal-footer{
  border-top: 1px solid rgba(255,255,255,.12);
}
.cookie-modal .modal-title{
  font-family: var(--font-head);
  letter-spacing: .02em;
}
.cookie-modal__kicker{
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-size: .72rem;
  color: rgba(255,255,255,.62);
  margin-bottom: 4px;
}
.cookie-modal__box{
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 14px;
  overflow: hidden;
}
.cookie-row{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px;
}
.cookie-row + .cookie-row{ border-top: 1px solid rgba(255,255,255,.12); }
.cookie-row__title{ font-weight: 650; }
.cookie-row__desc{ max-width: 560px; }
.cookie-modal .form-check-label{ color: rgba(255,255,255,.86); }
.cookie-modal .form-check-input{ cursor: pointer; }
.cookie-modal .form-check-input:disabled{ cursor: not-allowed; opacity: .75; }
.cookie-modal__links a{ text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 768px){
  .cookie-row{ flex-direction: column; align-items: flex-start; }
  .cookie-row__right{ width: 100%; }
}

.footer{
  margin-top: 80px;
  padding: 52px 0 26px;
  border-top: 1px solid var(--line);
  background: rgba(255,255,255,.55);
}
.footer__grid{
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1.2fr;
  gap: 18px;
}
@media (max-width: 992px){
  .footer__grid{ grid-template-columns: 1fr; }
}
.footer__title{
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-size: .78rem;
  margin-bottom: 10px;
  color: rgba(11,15,20,.70);
}
.footer a{
  display: block;
  padding: 6px 0;
  color: rgba(11,15,20,.76);
}
.footer a:hover{ color: rgba(11,15,20,.96); text-decoration: underline; text-underline-offset: 3px; }
.footer__bottom{
  border-top: 1px solid var(--line);
  margin-top: 22px;
  padding-top: 16px;
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
}

/* ---------------------------------------------------------------------------
   Reveal animations (IntersectionObserver)
--------------------------------------------------------------------------- */
.reveal{
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.is-visible{
  opacity: 1;
  transform: translateY(0);
}

/* Theme switch for pages that want darker text on hero etc */
body.theme-dark .topbar{
  background: rgba(11,15,20,.18);
}
body.theme-dark .topbar.is-solid{
  background: rgba(11,15,20,.78);
}
body.theme-dark .brand__mark{ background: rgba(255,255,255,.08); }
body.theme-dark .brand__mark svg{ fill: #fff; }
body.theme-dark .brand__name, body.theme-dark .brand__legal{ color: #fff; }
body.theme-dark .nav-inline .nav-link{ color: rgba(255,255,255,.78); }
body.theme-dark .nav-inline .nav-link:hover{ background: rgba(255,255,255,.10); color: #fff; }
body.theme-dark .nav-inline .nav-link.is-active{ background: rgba(255,255,255,.12); color: #fff; }
body.theme-dark .menu-toggle{ background: rgba(0,0,0,.20); border-color: rgba(255,255,255,.18); }
body.theme-dark .menu-toggle:hover{ background: rgba(0,0,0,.35); }
/* Burger icon must remain visible on dark theme */
body.theme-dark .menu-toggle__line{ background: #ffffff; }
/* ---------------------------------------------------------------------------
   Property cards (collection)
--------------------------------------------------------------------------- */
.property-card{ padding: 0; overflow: hidden; height: 100%; display: flex; flex-direction: column; }
.property-card__media{
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: calc(var(--radius) - 2px);
}
.property-card__media img{
  width: 100%;
  height: 320px;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform .9s cubic-bezier(.2,.7,.2,1);
}
.property-card__media:hover img{ transform: scale(1.06); }

.property-card__overlay{
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 18px;
  background: linear-gradient(180deg, rgba(11,15,20,0) 0%, rgba(11,15,20,.86) 70%);
}
.property-card__title{
  font-family: var(--font-serif);
  font-size: 1.25rem;
  line-height: 1.15;
  color: rgba(255,255,255,.96);
  margin-top: 6px;
}
.property-card__body{ padding: 18px; flex: 1; display: flex; flex-direction: column; }
.property-card__intro{
  margin: 0 0 14px 0;
  color: var(--muted);
  line-height: 1.6;
}

/* Keep action area aligned across cards (MF1 was visually shorter) */
.property-card__intro{ flex: 1; }
.property-card__body .actions{ margin-top: auto; }

.property-mini{
  padding: 14px;
  border-radius: 18px;
  margin-top: 14px;
}
.property-mini__name{
  font-family: var(--font-serif);
  font-size: 1.05rem;
  margin-top: 6px;
}

