/* =========================================================
   SHALALA LIVING MARIAZELL — Design System
   Signature: "shalala" bubble-cluster motif (Birgitt Laschtuwka)
   Palette derived from Erlaufsee (lake teal) + shalala clay art
   No external fonts / no CDN / no cookies — privacy by design
   ========================================================= */

:root {
  /* ---- Color ---- */
  --ink:    #1f1b18;   /* warm near-black — text & motif dots      */
  --chalk:  #f5f0e6;   /* warm paper — primary background          */
  --paper:  #efe9db;   /* slightly deeper section background       */
  --lake:   #2ba9a0;   /* Türkis — primary accent (alle Akzente)    */
  --lake-d: #1a8178;   /* dunkles Türkis — Hover, Footer            */
  --petrol:   #2ba9a0; /* Türkis — Buttons (wie die türkisen Kreise)*/
  --petrol-d: #1a8178; /* dunkles Türkis — Button-Hover             */
  /* ---- Muster-/Markenpalette: Pink · Petrol · Gold · Türkis ---- */
  --pink: #cf6a9c;     /* Pink — Signature-Akzent (Wort „shalala")  */
  --gold: #c1912f;     /* Gold — warmer Sekundärakzent, Icons       */
  --turq: #2ba9a0;     /* Türkis — heller Akzent auf dunklen Flächen*/
  --clay:   #c2703f;   /* shalala clay — secondary accent, sparing */
  --mist:   #d9d4c6;   /* borders & quiet fills                    */
  --stone:  #837e70;   /* captions & muted text                    */

  /* ---- Type (swap --font-display for a self-hosted brand face later) ---- */
  --font-display: "Helvetica Neue", "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-body:    "Helvetica Neue", "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;

  /* ---- Scale & rhythm ---- */
  --wrap: 1160px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --radius: 4px;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  background: var(--chalk);
  color: var(--ink);
  line-height: 1.6;
  font-size: 17px;
  letter-spacing: .003em;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

/* ---- Layout helpers ---- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(3.5rem, 8vw, 6.5rem); }
.section--paper { background: var(--paper); }
.section--ink { background: var(--ink); color: var(--chalk); }

/* ---- Eyebrow / micro-label ---- */
.eyebrow {
  font-size: .72rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--lake);
  display: inline-flex;
  align-items: center;
  gap: .6rem;
}
.section--ink .eyebrow { color: #6fc6bd; }
.eyebrow::before {
  content: "";
  width: 22px; height: 1px; background: currentColor; opacity: .6;
}

/* ---- Headings ---- */
h1, h2, h3 { font-family: var(--font-display); font-weight: 700; line-height: 1.04; letter-spacing: -.02em; }
.display {
  font-size: clamp(2.6rem, 7vw, 5rem);
  font-weight: 700;
  text-transform: none;
}
h2.title { font-size: clamp(1.9rem, 4vw, 3rem); text-transform: none; margin-top: .8rem; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.28rem); color: var(--ink); max-width: 46ch; }
.muted { color: var(--stone); }

/* =========================================================
   HEADER
   ========================================================= */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--chalk) 88%, transparent);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--mist);
}
.site-header .bar {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}
.brand { display: inline-flex; align-items: center; gap: .6rem; }
.brand svg { width: 30px; height: 30px; flex: none; }
.brand .name {
  font-family: var(--font-display);
  font-weight: 700; font-size: 1.12rem; text-transform: none;
  letter-spacing: -.01em; line-height: 1;
}
.brand .name small {
  display: block; font-size: .58rem; letter-spacing: .26em;
  text-transform: uppercase; color: var(--stone); font-weight: 600; margin-top: 3px;
}
.nav { display: flex; align-items: center; gap: 1.9rem; }
.nav a { font-size: .92rem; font-weight: 500; color: var(--ink); position: relative; padding-block: 4px; }
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 1.5px; width: 0;
  background: var(--lake); transition: width .25s ease;
}
.nav a:hover::after, .nav a[aria-current="page"]::after { width: 100%; }
.nav .btn { padding: .55rem 1.1rem; color: #fff; }

.nav-toggle { display: none; border: 1px solid var(--mist); background: transparent; border-radius: var(--radius); padding: .5rem .7rem; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  background: var(--petrol); color: #fff; font-weight: 600; font-size: .95rem;
  padding: .8rem 1.4rem; border-radius: 100px; border: 1px solid var(--petrol);
  transition: background .2s ease, transform .2s ease;
}
.btn:hover { background: var(--petrol-d); border-color: var(--petrol-d); transform: translateY(-1px); }
.btn--ghost { background: transparent; color: var(--petrol); border-color: var(--petrol); }
.btn--ghost:hover { background: var(--petrol); color: #fff; }
.btn--light { background: var(--chalk); color: var(--ink); border-color: var(--chalk); }
.btn--light:hover { background: #fff; transform: translateY(-1px); }
.arrow { transition: transform .2s ease; }
.btn:hover .arrow, .link-arrow:hover .arrow { transform: translateX(3px); }

.link-arrow { display: inline-flex; align-items: center; gap: .45rem; font-weight: 600; color: var(--lake); }

/* =========================================================
   HERO
   ========================================================= */
.hero { position: relative; padding-top: clamp(3rem, 7vw, 5.5rem); padding-bottom: clamp(3rem, 7vw, 5rem); overflow: clip; background: url('img/top16/04.webp') center 42% / cover no-repeat; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(100deg, rgba(245,240,230,.95) 0%, rgba(245,240,230,.86) 42%, rgba(245,240,230,.62) 100%); }
.hero .wrap { position: relative; z-index: 2; display: grid; grid-template-columns: 1.15fr .85fr; gap: 2.5rem; align-items: center; }
.hero-copy { max-width: 34ch; }
.hero .display span.accent { color: var(--lake); }
.hero .display .lala { color: var(--pink); }
.hero-sub { margin-top: 1.4rem; }
.hero-cta { margin-top: 2rem; display: flex; gap: .9rem; flex-wrap: wrap; }
.hero-facts { margin-top: 2.6rem; display: flex; gap: 2.2rem; flex-wrap: wrap; }
.hero-fact strong { display: block; font-family: var(--font-display); font-size: 1.6rem; line-height: 1; }
.hero-fact span { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--stone); }
.hero-art { position: relative; aspect-ratio: 1/1; }
.hero-art svg { width: 100%; height: 100%; overflow: visible; }

/* =========================================================
   BUBBLE RULE (section divider)
   ========================================================= */
.bubble-rule { height: 26px; margin: 0; overflow: hidden; }
.bubble-rule svg { width: 100%; height: 100%; }

/* =========================================================
   APARTMENT GRID
   ========================================================= */
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 1.5rem; flex-wrap: wrap; margin-bottom: 2.6rem; }
.sec-head p { max-width: 42ch; color: var(--stone); }

.apt-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.apt-card {
  background: var(--chalk); border: 1px solid var(--mist); border-radius: 10px;
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.section--paper .apt-card { background: #fbf8f1; }
.apt-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px -22px rgba(31,27,24,.4); border-color: var(--lake); }
.apt-thumb { position: relative; aspect-ratio: 4/3; background: var(--mist); overflow: hidden; }
.apt-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.apt-card:hover .apt-thumb img { transform: scale(1.05); }
.apt-thumb .placeholder {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  color: var(--stone); font-size: .82rem; letter-spacing: .1em; text-transform: uppercase;
  background: repeating-linear-gradient(45deg, #ece6d8, #ece6d8 12px, #e6dfcf 12px, #e6dfcf 24px);
}
.apt-tag {
  position: absolute; top: .8rem; left: .8rem; z-index: 2;
  background: color-mix(in srgb, var(--ink) 82%, transparent); color: var(--chalk);
  font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 600;
  padding: .35rem .7rem; border-radius: 100px; backdrop-filter: blur(4px);
}
.apt-body { padding: 1.3rem 1.35rem 1.5rem; display: flex; flex-direction: column; gap: .7rem; flex: 1; }
.apt-body h3 { font-size: 1.35rem; text-transform: none; }
.apt-body .desc { color: var(--stone); font-size: .95rem; }
.apt-facts { display: flex; gap: 1rem; flex-wrap: wrap; font-size: .82rem; color: var(--ink); margin-top: .2rem; }
.apt-facts li { list-style: none; display: inline-flex; align-items: center; gap: .35rem; }
.apt-facts svg { width: 15px; height: 15px; color: var(--lake); }
.apt-foot { margin-top: auto; padding-top: .9rem; display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--mist); }
.apt-foot .price { font-size: .82rem; color: var(--stone); }
.apt-foot .price b { color: var(--ink); font-size: 1.05rem; font-family: var(--font-display); }

/* =========================================================
   REGION
   ========================================================= */
.region-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; }
.region-card { position: relative; border-radius: 10px; overflow: hidden; aspect-ratio: 3/4; border: 1px solid rgba(255,255,255,.12); }
.region-card .ph {
  position: absolute; inset: 0;
  background: linear-gradient(160deg, #2c4b48, #17403e 60%, #10302e);
  display: flex; align-items: center; justify-content: center;
}
.region-card .ph span { color: rgba(255,255,255,.4); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; text-align: center; padding: 0 1rem; }
.region-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.region-card figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  padding: 1.4rem 1.1rem 1.1rem;
  background: linear-gradient(transparent, rgba(23,32,30,.9));
  color: #fff;
}
.region-card figcaption b { display: block; font-family: var(--font-display); font-size: 1.05rem; letter-spacing: -.01em; }
.region-card figcaption small { font-size: .78rem; color: rgba(255,255,255,.75); }

/* =========================================================
   SHALALA STORY
   ========================================================= */
.story { display: grid; grid-template-columns: .9fr 1.1fr; gap: 3rem; align-items: center; }
.story-art { aspect-ratio: 1/1; border-radius: 12px; overflow: hidden; background: var(--paper); border: 1px solid var(--mist); }
.story-art svg { width: 100%; height: 100%; }
.story h2 { margin-bottom: 1rem; }
.story p + p { margin-top: 1rem; }

/* =========================================================
   BOOKING PROMISE strip
   ========================================================= */
.promise { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.promise .item { padding-right: 1rem; }
.promise .item h3 { font-size: 1.1rem; text-transform: none; margin-bottom: .4rem; display: flex; align-items: center; gap: .55rem; }
.promise .item h3 svg { width: 20px; height: 20px; color: var(--gold); }
.promise .item p { font-size: .95rem; color: var(--stone); }

/* =========================================================
   DETAIL PAGE
   ========================================================= */
.detail-hero { padding-top: 2.4rem; }
.crumbs { font-size: .82rem; color: var(--stone); display: flex; gap: .5rem; align-items: center; margin-bottom: 1.4rem; }
.crumbs a:hover { color: var(--lake); }
.detail-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 1.5rem; flex-wrap: wrap; }
.detail-head .eyebrow { margin-bottom: .6rem; }

.gallery { display: grid; grid-template-columns: 2fr 1fr; gap: .8rem; margin-top: 2rem; }
.gallery .g-main { aspect-ratio: 3/2; border-radius: 12px; overflow: hidden; background: var(--mist); }
.gallery .g-side { display: grid; grid-template-rows: 1fr 1fr; gap: .8rem; }
.gallery .g-side > div { border-radius: 12px; overflow: hidden; background: var(--mist); }
.gallery img { width: 100%; height: 100%; object-fit: cover; }
.gallery .g-ph { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: var(--stone); font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; background: repeating-linear-gradient(45deg,#ece6d8,#ece6d8 12px,#e6dfcf 12px,#e6dfcf 24px); }

.detail-cols { display: grid; grid-template-columns: 1.4fr 1fr; gap: 3rem; align-items: start; }
.facts-row { display: flex; gap: 2.2rem; flex-wrap: wrap; padding: 1.5rem 0; border-block: 1px solid var(--mist); margin-bottom: 2rem; }
.fact { display: flex; flex-direction: column; }
.fact b { font-family: var(--font-display); font-size: 1.5rem; line-height: 1; }
.fact span { font-size: .76rem; letter-spacing: .1em; text-transform: uppercase; color: var(--stone); margin-top: .35rem; }
.amenities { display: grid; grid-template-columns: repeat(2, 1fr); gap: .7rem 1.4rem; margin-top: 1.2rem; }
.amenities li { list-style: none; display: flex; align-items: center; gap: .6rem; font-size: .95rem; }
.amenities svg { width: 17px; height: 17px; color: var(--lake); flex: none; }

/* Booking panel */
.book-panel { position: sticky; top: 90px; background: #fbf8f1; border: 1px solid var(--mist); border-radius: 14px; padding: 1.5rem; }
.book-panel h3 { font-size: 1.2rem; text-transform: none; margin-bottom: .3rem; }
.book-panel .note { font-size: .84rem; color: var(--stone); margin-bottom: 1.1rem; }
.smoobu-slot { min-height: 320px; border: 1.5px dashed var(--lake); border-radius: 10px; background: color-mix(in srgb, var(--lake) 5%, transparent); display: flex; align-items: center; justify-content: center; text-align: center; padding: 1.5rem; }
.smoobu-slot .inner { max-width: 30ch; }
.smoobu-slot .inner strong { display: block; color: var(--lake); margin-bottom: .4rem; }
.smoobu-slot .inner span { font-size: .84rem; color: var(--stone); }

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer { background: var(--ink); color: #cdc8bd; }
.site-footer .wrap { padding-block: 3.5rem; }
.foot-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; }
.foot-brand .name { font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; color: var(--chalk); text-transform: none; }
.foot-brand p { margin-top: .8rem; font-size: .92rem; max-width: 34ch; }
.foot-col h4 { font-size: .74rem; letter-spacing: .2em; text-transform: uppercase; color: #8f897c; margin-bottom: 1rem; }
.foot-col a, .foot-col p { display: block; font-size: .95rem; color: #cdc8bd; margin-bottom: .55rem; }
.foot-col a:hover { color: #fff; }
.foot-bottom { margin-top: 2.6rem; padding-top: 1.4rem; border-top: 1px solid rgba(255,255,255,.1); display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .82rem; color: #8f897c; }

/* =========================================================
   LEGAL PAGES
   ========================================================= */
.legal { max-width: 760px; }
.legal h1 { font-size: clamp(2rem, 4vw, 2.8rem); text-transform: none; margin-bottom: 2rem; }
.legal h2 { font-size: 1.2rem; text-transform: none; margin: 2.2rem 0 .7rem; }
.legal p, .legal li { color: var(--ink); margin-bottom: .7rem; }
.legal ul { padding-left: 1.2rem; }
.legal .todo { background: color-mix(in srgb, var(--gold) 14%, transparent); border-left: 3px solid var(--gold); padding: .5rem .8rem; border-radius: 4px; font-size: .9rem; }
.legal a { color: var(--lake); text-decoration: underline; text-underline-offset: 2px; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-art { order: -1; max-width: 320px; margin-inline: auto; }
  .apt-grid { grid-template-columns: repeat(2, 1fr); }
  .region-grid { grid-template-columns: repeat(2, 1fr); }
  .promise { grid-template-columns: 1fr; gap: 1.4rem; }
  .story { grid-template-columns: 1fr; }
  .detail-cols { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; }
  .gallery .g-side { grid-template-rows: none; grid-template-columns: 1fr 1fr; }
  .book-panel { position: static; }
  .foot-top { grid-template-columns: 1fr 1fr; }
  .nav { display: none; }
  .nav.open { display: flex; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; align-items: flex-start; gap: 1rem; background: var(--chalk); padding: 1.4rem var(--gutter); border-bottom: 1px solid var(--mist); }
  .nav-toggle { display: inline-flex; }
}
@media (max-width: 560px) {
  .apt-grid { grid-template-columns: 1fr; }
  .region-grid { grid-template-columns: 1fr 1fr; }
  .hero-facts { gap: 1.4rem; }
  .foot-top { grid-template-columns: 1fr; }
}

/* Buchungsblock (volle Breite, zentriert) */
.detail-cols--text { align-items: start; }
.book-wide { max-width: 820px; margin-inline: auto; }
.book-head { text-align: center; margin-bottom: 1.6rem; }
.book-head .note { color: var(--stone); max-width: 54ch; margin: .7rem auto 0; }
.book-widget { background: #fbf8f1; border: 1px solid var(--mist); border-radius: 14px; padding: clamp(1rem, 3vw, 1.8rem); }

/* Apartment-Namen (Airbnb-Titel, exakte Schreibweise) */
.display.apt-name { text-transform: none; font-size: clamp(1.55rem, 3.4vw, 2.5rem); line-height: 1.12; }
.apt-body h3.apt-name { text-transform: none; font-size: 1.12rem; line-height: 1.28; }

/* Echte Shalala-Muster von Birgitt Laschtuwka */
.brand-mark { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; flex: none; box-shadow: 0 1px 4px rgba(31,27,24,.22); }
.hero-art img.hero-artwork { width: 100%; height: 100%; object-fit: cover; border-radius: 18px; box-shadow: 0 24px 60px -24px rgba(31,27,24,.55); }
.story-art img.story-artwork { width: 100%; height: auto; display: block; border-radius: 14px; box-shadow: 0 20px 50px -24px rgba(31,27,24,.5); }
.shalala-strip { height: clamp(30px, 4.5vw, 46px); background: url('img/shalala/divider.webp') left center / auto 100% repeat-x; }
.apt-pattern { margin: 2.5rem 0 0; text-align: center; }
.apt-pattern img { width: 100%; max-width: 660px; display: block; margin: 1rem auto 0; border-radius: 14px; box-shadow: 0 18px 44px -24px rgba(31,27,24,.5); }
.apt-pattern figcaption { margin-top: .8rem; color: var(--stone); font-size: .84rem; letter-spacing: .02em; }
.apt-pattern-art { max-width: 340px; margin: 1rem auto .2rem; }
.apt-pattern-art svg { width: 100%; height: auto; display: block; }

/* =========================================================
   FOTO-KARUSSELL (Start-Karten + Detailseiten) + LIGHTBOX
   ========================================================= */
.carousel { position: absolute; inset: 0; overflow: hidden; }
.carousel-track { display: flex; height: 100%; transition: transform .4s cubic-bezier(.4, 0, .2, 1); }
.carousel-track img { flex: 0 0 100%; width: 100%; height: 100%; object-fit: cover; display: block; background: var(--mist); }
.carousel .cbtn { position: absolute; top: 50%; transform: translateY(-50%); z-index: 3; width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.9); color: var(--ink); display: flex; align-items: center; justify-content: center; font-size: 1.5rem; line-height: 1; box-shadow: 0 2px 10px rgba(0,0,0,.22); cursor: pointer; user-select: none; opacity: 0; transition: opacity .2s ease, background .15s ease; }
.carousel:hover .cbtn, .carousel:focus-within .cbtn { opacity: 1; }
.carousel .cbtn:hover { background: #fff; }
.cprev { left: 10px; } .cnext { right: 10px; }
.apt-thumb .cbtn { width: 32px; height: 32px; font-size: 1.25rem; }
@media (hover: none) { .carousel .cbtn { opacity: 1; background: rgba(255,255,255,.82); } }
.carousel-counter { position: absolute; bottom: 12px; right: 14px; z-index: 3; background: rgba(20,18,14,.62); color: #fff; font-size: .78rem; letter-spacing: .04em; padding: .25rem .7rem; border-radius: 20px; }
.carousel-hint { position: absolute; bottom: 12px; left: 14px; z-index: 3; background: rgba(20,18,14,.55); color: #fff; font-size: .72rem; letter-spacing: .04em; padding: .25rem .7rem; border-radius: 20px; opacity: 0; transition: opacity .2s ease; pointer-events: none; }
.gallery-carousel:hover .carousel-hint { opacity: 1; }

/* Detailseite: großes Einzelbild-Karussell */
.gallery-carousel { position: relative; inset: auto; aspect-ratio: 3 / 2; border-radius: 12px; margin-top: 2rem; background: var(--mist); }
.gallery-carousel .carousel-track img { cursor: zoom-in; }
.apt-tag { z-index: 4; }

.lb { position: fixed; inset: 0; z-index: 1000; display: none; align-items: center; justify-content: center; background: rgba(22, 20, 15, .93); }
.lb.open { display: flex; }
.lb-stage { margin: 0; max-width: 92vw; max-height: 88vh; display: flex; align-items: center; justify-content: center; }
.lb-stage img { max-width: 92vw; max-height: 88vh; border-radius: 8px; box-shadow: 0 20px 60px rgba(0,0,0,.5); }
.lb button { position: absolute; background: rgba(255,255,255,.14); color: #fff; border: none; border-radius: 50%; width: 48px; height: 48px; font-size: 1.7rem; line-height: 1; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background .15s ease; }
.lb button:hover { background: rgba(255,255,255,.28); }
.lb-close { top: 18px; right: 18px; }
.lb-prev { left: 18px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 18px; top: 50%; transform: translateY(-50%); }
.lb-count { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); color: #fff; font-size: .85rem; letter-spacing: .06em; background: rgba(0,0,0,.35); padding: .3rem .8rem; border-radius: 20px; }
@media (max-width: 560px) { .lb-prev { left: 8px; } .lb-next { right: 8px; } .lb button { width: 42px; height: 42px; } }

/* ---- Accessibility ---- */
a:focus-visible, button:focus-visible, .btn:focus-visible { outline: 2.5px solid var(--lake); outline-offset: 3px; border-radius: 4px; }
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ===== FAQ / Accordion ===== */
.faq { max-width: 820px; margin-inline: auto; }
.faq-cat + .faq-cat { margin-top: 2.4rem; }
.faq-cat > h2 { font-size: .95rem; text-transform: uppercase; letter-spacing: .12em; color: var(--lake); margin-bottom: .4rem; }
.faq details { border-top: 1px solid var(--mist); }
.faq-cat > details:last-child, .faq > details:last-child { border-bottom: 1px solid var(--mist); }
.faq summary { cursor: pointer; list-style: none; padding: 1rem .1rem; font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; line-height: 1.3; display: flex; justify-content: space-between; gap: 1.2rem; align-items: flex-start; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--lake); font-size: 1.5rem; line-height: 1; flex: none; }
.faq details[open] > summary { color: var(--lake); }
.faq details[open] > summary::after { content: "\2013"; }
.faq .faq-a { padding: 0 .1rem 1.1rem; color: var(--stone); font-size: .97rem; }
.faq .faq-a p { margin-bottom: .7rem; }
.faq .faq-a p:last-child { margin-bottom: 0; }
.faq .faq-a ul { margin: .3rem 0 .8rem 1.1rem; }
.faq .faq-a li { margin-bottom: .4rem; }
.faq .faq-a a { color: var(--lake); text-decoration: underline; text-underline-offset: 2px; }

/* ===== Belegungskalender (.bcal) – Shalala-Farben ===== */
.bcal{position:relative}
.bcal[hidden]{display:none}
.bcal-tools{display:flex;align-items:center;gap:10px;margin:0 0 14px;font-size:.92rem;color:var(--stone)}
.bcal-tools[hidden]{display:none}
.bcal-guests select{font:inherit;padding:.3em .5em;border:1px solid var(--mist);border-radius:var(--radius);background:#fff;color:var(--ink)}
.bcal-nav{position:absolute;top:-4px;left:0;right:0;display:flex;justify-content:space-between;pointer-events:none}
.bcal-nav button{pointer-events:auto;width:38px;height:38px;border-radius:50%;border:1px solid var(--mist);background:#fff;color:var(--ink);font-size:1.3rem;line-height:1;cursor:pointer}
.bcal-nav button:disabled{opacity:.3;cursor:default}
.bcal-months{display:grid;grid-template-columns:1fr 1fr;gap:28px}
.bcal-title{text-align:center;font-weight:600;font-size:1.1rem;line-height:38px;margin-bottom:8px}
.bcal-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:3px}
.bcal-wd{text-align:center;font-size:.72rem;font-weight:600;color:var(--stone);padding-bottom:4px}
.bcal-grid button{aspect-ratio:1;min-height:34px;border:1px solid var(--mist);border-radius:8px;background:#fff;color:var(--ink);font:500 .95rem inherit;cursor:pointer;padding:0}
.bcal-grid button:hover:not(:disabled){border-color:var(--lake);box-shadow:inset 0 0 0 1px var(--lake)}
.bcal-grid button.is-booked{background:var(--paper);border-color:transparent;color:#a99f90;text-decoration:line-through}
.bcal-grid button.is-booked.can-end{background:#fff;border-color:var(--mist);color:var(--ink);text-decoration:none}
.bcal-grid button.is-past{background:transparent;border-color:transparent;color:#cbc2b3}
.bcal-grid button:disabled{cursor:default}
.bcal-grid button.is-in{background:#d6ecea;border-color:#d6ecea}
.bcal-grid button.is-a,.bcal-grid button.is-b{background:var(--lake);border-color:var(--lake);color:#fff;font-weight:700;text-decoration:none}
.bcal-foot{display:flex;flex-wrap:wrap;align-items:center;gap:6px 18px;margin-top:12px;font-size:.82rem;color:var(--stone)}
.bcal-key i{display:inline-block;width:14px;height:14px;border-radius:4px;vertical-align:-2px;margin-right:6px;border:1px solid var(--mist);background:#fff}
.bcal-key i.k-booked{background:var(--paper);border-color:transparent}
.bcal-clear{margin-left:auto;background:none;border:0;padding:0;font:600 .85rem inherit;color:var(--lake-d);text-decoration:underline;cursor:pointer}
.bcal-hint{margin:12px 0 0;font-weight:600;font-size:.95rem;color:var(--ink)}
.bcal-wait-note{display:none}
body.cal-wait .bcal-wait-note{display:block;font-weight:600;margin-top:0}
body.cal-wait .smoobu-booking{display:none}
@media(max-width:560px){.bcal-months{grid-template-columns:1fr;gap:18px}}

/* =========================================================
   vida-Mitgliedervorteil  ·  vida.mariazellapartments.at
   Mariazell-Design + vida-Akzente (Rot/Navy/Gelb). Nur unter body.vida aktiv.
   ========================================================= */
body.vida { --rot:#e2001a; --vida-navy:#0a2648; --vida-yellow:#ffc943; }
.vida-band { background:var(--rot); color:#fff; font-size:.9rem; }
.vida-band .wrap { display:flex; justify-content:space-between; gap:12px; flex-wrap:wrap; padding-block:9px; }
.vida-band b { font-weight:800; letter-spacing:.02em; }
body.vida .nav .btn, body.vida .btn { background:var(--rot); border-color:var(--rot); color:#fff; }
body.vida .btn:hover { background:#ba0000; border-color:#ba0000; }
body.vida .eyebrow { color:var(--rot); }
body.vida .brand .name small { color:var(--rot); }
.vida-hero-em { color:var(--rot); font-style:normal; }

/* gelbe Code-Karte */
.vida-code { margin-top:1.6rem; background:var(--vida-yellow); color:var(--vida-navy); padding:1.5rem; display:flex; flex-wrap:wrap; gap:14px 22px; align-items:center; justify-content:space-between; border-radius:var(--radius); }
.vida-code--compact { margin-top:0; }
.vida-code-text strong { display:block; font:800 1.3rem/1.2 var(--font-display); }
.vida-code-text span { font-size:.9rem; display:block; }
.vida-gate { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px 12px; width:100%; }
.vida-gate label { display:flex; flex-direction:column; gap:3px; font-size:.78rem; font-weight:700; color:var(--vida-navy); }
.vida-gate input { font:500 .98rem var(--font-body); border:1px solid rgba(10,38,72,.35); border-radius:8px; padding:.55em .7em; background:#fff; color:var(--ink); }
.vida-gate .btn { grid-column:1 / -1; justify-self:start; }
.vg-msg { grid-column:1 / -1; margin:0; font-size:.9rem; font-weight:700; color:#8a0010; }
.vg-msg:empty { display:none; }
.vg-privacy { grid-column:1 / -1; margin:0; font-size:.78rem; }
.vg-privacy a { color:var(--vida-navy); text-decoration:underline; }
.vida-code-copy { display:flex; background:#fff; border:2px dashed var(--vida-navy); border-radius:6px; overflow:hidden; }
.vida-code-copy span { padding:10px 14px; font:800 1.2rem/1 var(--font-body); letter-spacing:.06em; color:var(--vida-navy); }
.vida-code-copy button { border:0; background:var(--vida-navy); color:#fff; font:600 .88rem var(--font-body); padding:0 14px; cursor:pointer; }
.vida-code[hidden], .vida-gate[hidden], .vida-code-copy[hidden], .vg-hint[hidden], .vg-done[hidden] { display:none !important; }

/* Preis-Suche + Ergebnis */
.vida-search { display:flex; flex-wrap:wrap; gap:12px; align-items:end; background:#fbf8f1; padding:18px; border:1px solid var(--mist); border-radius:var(--radius); }
.vida-search label { display:flex; flex-direction:column; gap:4px; font-size:.78rem; color:var(--stone); font-weight:700; }
.vida-search input, .vida-search select { font:500 1rem var(--font-body); color:var(--ink); border:1px solid var(--mist); border-radius:10px; padding:.55em .7em; background:#fff; min-width:150px; }
.vida-search select { min-width:80px; }
.vida-search.cal-ok .bcal-fb { display:none; }
.vida-search.cal-ok { align-items:stretch; background:transparent; border:0; padding:0; display:block; }
.vida-search.cal-ok .bcal-g { display:inline-flex; flex-direction:row; align-items:center; gap:10px; font-size:.9rem; margin-top:14px; }
.vida-pricecheck { margin-bottom:1.6rem; }
.vida-cardprice { display:flex; flex-direction:column; gap:2px; padding-top:6px; }
.vida-cardprice:empty { display:none; }
.vp-booking { font-size:.88rem; color:var(--stone); }
.vp-booking s { color:var(--stone); }
.vp-vida { font-size:1rem; color:var(--ink); }
.vp-vida b { color:var(--rot); font-size:1.25rem; font-weight:800; }
.vp-n { font-size:.8rem; color:var(--stone); }
.vp-off { font-size:.9rem; color:var(--stone); font-weight:700; }
.vp-next { font-size:.86rem; font-weight:700; color:var(--lake); }
.vp-save { font-style:normal; font-size:.78rem; font-weight:800; color:#fff; background:var(--rot); border-radius:999px; padding:.15em .55em; margin-left:4px; vertical-align:2px; }
.apt-card.is-off { opacity:.55; }
.vida-price { display:flex; flex-wrap:wrap; gap:6px 22px; align-items:baseline; margin-top:16px; padding:14px 18px; border-left:4px solid var(--rot); background:var(--paper); border-radius:var(--radius); }
.vida-price .vp-vida b { font-size:1.5rem; }

/* Gates: Buchungsfenster erst nach Mitgliedsnummer + Datumswahl */
.vida-locked-note { display:none; }
body.vida:not(.vida-ok) .vida-locked-note { display:block; font-weight:700; color:var(--rot); margin:0 0 12px; }
body.vida:not(.vida-ok) .smoobu-booking { display:none; }
body.vida .bcal-grid button.is-a, body.vida .bcal-grid button.is-b { background:var(--rot); border-color:var(--rot); }
body.vida .bcal-grid button.is-in { background:#f6dcdd; border-color:#f6dcdd; }

@media (max-width:620px){
  .vida-gate { grid-template-columns:1fr; }
  .vida-search { flex-direction:column; align-items:stretch; }
  .vida-search input, .vida-search select { min-width:0; width:100%; }
  .vida-band .wrap { font-size:.82rem; }
}
