/* Private Chalets St. Anton – custom layer on top of Bootstrap 5 (CSS only, no Bootstrap JS) */

@font-face {
  font-family: 'Libre Caslon Text';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/libre-caslon-text-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/open-sans-400.woff2') format('woff2');
}

:root {
  --teal: #4c5d5b;
  --teal-dark: #3d4b49;
  --gold: #a5957a;
  --gold-text: #7c6d53;   /* darker gold for small text: AA contrast on white */
  --ink: #2b2e31;
  --text: #3a3a3a;
  --muted: #666;
  --line: #e6e2da;
  --sand: #f6f3ee;
  --footer: #24272a;
  --serif: 'Libre Caslon Text', Georgia, 'Times New Roman', serif;
  --sans: 'Open Sans', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --wrap: 1180px;
  --radius: 4px;
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font: 400 1.0625rem/1.7 var(--sans);
  color: var(--text);
  background: #fff;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold-text); text-decoration: none; }
a:hover, a:focus-visible { color: var(--teal); text-decoration: underline; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }

h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.2; margin: 0 0 .6em; color: var(--ink); }
h1 { font-size: clamp(1.9rem, 1.3rem + 2.4vw, 3rem); color: var(--gold-text); }
h2 { font-size: clamp(1.6rem, 1.2rem + 1.5vw, 2.25rem); color: var(--gold-text); }
h3 { font-size: clamp(1.2rem, 1.05rem + .6vw, 1.5rem); }
p { margin: 0 0 1.1em; }
ul { margin: 0 0 1.1em; padding-left: 1.2em; }

.container { max-width: var(--wrap); }
.container--narrow { max-width: 860px; }
.section { padding: clamp(48px, 7vw, 96px) 0; }
.section--sand { background: var(--sand); }
.section--teal { background: var(--teal); color: #fff; }
.section--teal h2, .section--teal h3 { color: #fff; }
.section--teal a:not(.btn) { color: #fff; text-decoration: underline; }
.eyebrow { font: 400 .8rem/1.4 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--gold-text); margin: 0 0 .8em; }
.section--teal .eyebrow { color: #e5dccb; }
.lead { font-size: 1.15rem; font-weight: 400; }

.skip { position: absolute; left: -9999px; top: 0; background: #fff; padding: 8px 14px; z-index: 1000; }
.skip:focus { left: 8px; top: 8px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- buttons ---------- */
.btn {
  display: inline-block;
  font: 400 .9rem/1 var(--sans);
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 16px 34px;
  border-radius: 50px;
  border: 1px solid var(--teal);
  background: var(--teal);
  color: #fff;
  transition: background-color .3s, color .3s, border-color .3s;
  text-align: center;
}
.btn:hover, .btn:focus-visible { background: var(--teal-dark); color: #fff; text-decoration: none; }
.btn--outline { background: transparent; color: var(--teal); }
.btn--outline:hover, .btn--outline:focus-visible { background: var(--teal); color: #fff; }
.btn--white { background: transparent; border: 2px solid #fff; color: #fff; }
.btn--white:hover, .btn--white:focus-visible { background: #fff; color: var(--teal); }
.btn--gold { background: transparent; border-color: var(--gold); color: var(--gold-text); padding: 10px 20px; font-size: .82rem; }
.btn--gold:hover, .btn--gold:focus-visible { background: var(--gold); border-color: var(--gold); color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.text-center .btn-row { justify-content: center; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: #fff;
  border-bottom: 1px solid #ededed;
}
.site-header__in { display: flex; align-items: center; gap: 24px; min-height: var(--header-h); }
.brand img { width: 170px; height: auto; }
.main-nav { margin-left: auto; }
.main-nav ul { display: flex; gap: 26px; list-style: none; margin: 0; padding: 0; }
.main-nav a { color: var(--ink); font-size: .95rem; letter-spacing: .04em; }
.main-nav a[aria-current="page"], .main-nav a:hover { color: var(--gold-text); }
@media (max-width: 760px) {
  :root { --header-h: 64px; }
  .site-header__in { flex-wrap: wrap; gap: 0 12px; }
  .brand img { width: 128px; }
  .site-header .btn--gold { margin-left: auto; }
  .main-nav { order: 3; width: 100%; margin: 0; border-top: 1px solid #f0f0f0; }
  .main-nav ul { justify-content: space-between; gap: 8px; padding: 8px 0; overflow-x: auto; }
  .main-nav a { font-size: .88rem; white-space: nowrap; }
}

/* ---------- breadcrumb ---------- */
.crumbs { font-size: .85rem; color: var(--muted); padding-top: 14px; }   /* only top: keeps the side padding of .container */
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.crumbs li + li::before { content: "›"; margin-right: 6px; color: #aaa; }
.crumbs a { color: var(--muted); }

/* ---------- hero slider ---------- */
.hero { position: relative; background: var(--footer); }
.hero__track {
  display: flex; overflow-x: auto; scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.hero__track::-webkit-scrollbar { display: none; }
.hero__slide { position: relative; flex: 0 0 100%; scroll-snap-align: start; height: min(82vh, 780px); min-height: 460px; }
.hero__slide img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.72); }
.hero__caption {
  position: absolute; inset: auto 0 14%; text-align: center; color: #fff; padding: 0 20px;
}
.hero__caption .hero__name { font: 400 clamp(2rem, 1.2rem + 3.6vw, 3.6rem)/1.15 var(--serif); text-transform: uppercase; margin: 0 0 .25em; color: #fff; }
.hero__caption .hero__tag { font: 400 clamp(1rem, .9rem + .5vw, 1.3rem)/1.4 var(--sans); margin: 0 0 1.4em; letter-spacing: .06em; }
.hero__caption .btn-row { justify-content: center; }
.hero__nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 48px; height: 48px; border-radius: 50%; border: 0;
  background: rgba(255,255,255,.18); color: #fff; font-size: 1.6rem; line-height: 1;
  cursor: pointer; display: none;
}
.hero__nav:hover { background: rgba(255,255,255,.35); }
.hero__nav--prev { left: 16px; }
.hero__nav--next { right: 16px; }
.js .hero__nav { display: block; }
.hero__dots { position: absolute; bottom: 18px; left: 0; right: 0; display: flex; justify-content: center; gap: 8px; }

/* ---------- page hero (subpages) ---------- */
.page-hero { position: relative; height: clamp(300px, 52vh, 560px); background: var(--footer); overflow: hidden; }
.page-hero img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.75); }
.page-hero__in { position: absolute; inset: auto 0 0; padding: 0 0 clamp(24px, 5vw, 56px); color: #fff; }
.page-hero h1 { color: #fff; margin: 0 0 .2em; }
.page-hero p { margin: 0; font-size: 1.15rem; font-weight: 400; }
.page-head { padding-top: clamp(32px, 5vw, 64px); }   /* only top: keeps the side padding of .container */

/* ---------- intro ---------- */
.intro { max-width: 820px; margin: 0 auto; text-align: center; }

/* ---------- chalet cards ---------- */
.cards { display: grid; gap: 40px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); }
.chalet-card { background: #fff; display: flex; flex-direction: column; box-shadow: 0 2px 18px rgba(0,0,0,.06); }
.card__img { aspect-ratio: 3 / 2; overflow: hidden; }
.card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.chalet-card:hover .card__img img { transform: scale(1.03); }
.card__body { padding: 26px 26px 30px; display: flex; flex-direction: column; flex: 1; color: var(--text); }
.card__body h3 { margin-bottom: .15em; }
.card__body h3 a { color: var(--ink); }
.card__tag { color: var(--gold-text); font-size: .95rem; margin: 0 0 1em; letter-spacing: .04em; }
.card__facts { display: flex; flex-wrap: wrap; gap: 6px 16px; list-style: none; padding: 0; margin: 0 0 1.1em; font-size: .9rem; color: var(--muted); }
.card__facts li::before { content: "·"; margin-right: 6px; color: var(--gold); }
.card__facts li:first-child::before { content: none; }
.chalet-card .btn-row { margin-top: auto; }

/* ---------- facts / amenities ---------- */
.split { display: grid; gap: clamp(28px, 5vw, 64px); grid-template-columns: 1fr; align-items: start; }
@media (min-width: 900px) { .split { grid-template-columns: 1.4fr 1fr; } .split--even { grid-template-columns: 1fr 1fr; align-items: center; } }
.facts { background: var(--sand); padding: 28px; }
.facts h2 { font-size: 1.4rem; }
.facts dl { display: grid; grid-template-columns: auto 1fr; gap: 10px 18px; margin: 0 0 1.4em; }
.facts dt { color: var(--muted); font-size: .92rem; }
.facts dd { margin: 0; font-weight: 400; color: var(--ink); }
.amenities { columns: 2 220px; column-gap: 32px; list-style: none; padding: 0; }
.amenities li { break-inside: avoid; padding: 6px 0 6px 26px; position: relative; border-bottom: 1px solid var(--line); }
.amenities li::before { content: ""; position: absolute; left: 4px; top: 15px; width: 10px; height: 6px; border: solid var(--gold); border-width: 0 0 2px 2px; transform: rotate(-45deg); }

.apartments { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); margin: 0 0 1.4em; }
.apartment { border: 1px solid var(--line); padding: 18px 20px; }
.apartment h3 { font-size: 1.15rem; margin-bottom: .4em; }
.apartment ul { list-style: none; padding: 0; margin: 0; font-size: .95rem; }

/* ---------- gallery ---------- */
.gallery { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }
.gallery a { display: block; aspect-ratio: 3 / 2; overflow: hidden; background: var(--sand); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.gallery a:hover img { transform: scale(1.04); }
@media (min-width: 760px) {
  .gallery--6, .gallery--4 { grid-template-columns: repeat(3, 1fr); }
  .gallery--5 { grid-template-columns: repeat(4, 1fr); }
  .gallery--5 a:first-child, .gallery--6 a:first-child { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
  .gallery--4 a:first-child { grid-column: span 3; aspect-ratio: 21 / 9; }
}

.lightbox { padding: 0; border: 0; background: rgba(15,17,18,.94); max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; }
.lightbox::backdrop { background: rgba(15,17,18,.94); }
.lightbox img { max-width: 92vw; max-height: 84vh; margin: 6vh auto 0; object-fit: contain; }
.lightbox p { color: #ddd; text-align: center; font-size: .9rem; margin: 12px 0 0; }
.lightbox button { position: absolute; background: transparent; border: 0; color: #fff; font-size: 2.4rem; cursor: pointer; padding: 10px 18px; line-height: 1; }
.lightbox .lb-close { top: 8px; right: 8px; font-size: 2rem; }
.lightbox .lb-prev { left: 4px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-next { right: 4px; top: 50%; transform: translateY(-50%); }

/* ---------- activity rows ---------- */
.feature { display: grid; gap: 28px; grid-template-columns: 1fr; align-items: center; }
.feature + .feature { margin-top: clamp(40px, 6vw, 72px); }
.feature img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }
@media (min-width: 860px) {
  .feature { grid-template-columns: 1fr 1fr; gap: 56px; }
  .feature:nth-child(even) .feature__img { order: -1; }
}

/* ---------- comparison table ---------- */
.table-scroll { overflow-x: auto; }
.compare { width: 100%; border-collapse: collapse; font-size: .95rem; min-width: 640px; }
.compare th, .compare td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare thead th { font-weight: 400; color: var(--muted); font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; }
.compare tbody th { font-family: var(--serif); font-weight: 400; }

/* ---------- comparison table: icons + cards on mobile (table class "compare--cards") ----------
   Desktop: normal table with an icon in each column heading.
   Mobile (< 768 px): every row becomes a card; each value shows its icon and the
   label from the cell's data-label attribute. Icons are SVGs used as CSS masks,
   so they take the colour of "background" below (--gold). */
.compare--cards {
  --i-type:  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.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 10.5 12 3l9 7.5'/%3E%3Cpath d='M5 9.5V21h14V9.5'/%3E%3Cpath d='M10 21v-6h4v6'/%3E%3C/svg%3E");
  --i-size:  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.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 9V4h5M20 9V4h-5M4 15v5h5M20 15v5h-5'/%3E%3Crect x='8' y='8' width='8' height='8' rx='1'/%3E%3C/svg%3E");
  --i-guests: 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.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='8' r='3.5'/%3E%3Cpath d='M2.5 20c.8-3.6 3.4-5.5 6.5-5.5s5.7 1.9 6.5 5.5'/%3E%3Cpath d='M16 4.7a3.5 3.5 0 0 1 0 6.6M18 14.8c1.8.7 3 2.5 3.5 5.2'/%3E%3C/svg%3E");
  --i-bed:   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.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 5v14M3 15h18M21 19v-6a3 3 0 0 0-3-3h-7v5'/%3E%3Ccircle cx='7' cy='11.5' r='2'/%3E%3C/svg%3E");
  --i-lift:  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.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 4l20 5'/%3E%3Cpath d='M12 6.5V10'/%3E%3Crect x='7' y='10' width='10' height='8' rx='2'/%3E%3Cpath d='M7 14h10'/%3E%3Cpath d='M3 22h18'/%3E%3C/svg%3E");
  --i-star:  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.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m12 3 2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z'/%3E%3C/svg%3E");
}
.compare--cards :is(th, td):nth-child(2) { --icon: var(--i-type); }
.compare--cards :is(th, td):nth-child(3) { --icon: var(--i-size); }
.compare--cards :is(th, td):nth-child(4) { --icon: var(--i-guests); }
.compare--cards :is(th, td):nth-child(5) { --icon: var(--i-bed); }
.compare--cards :is(th, td):nth-child(6) { --icon: var(--i-lift); }
.compare--cards :is(th, td):nth-child(7) { --icon: var(--i-star); }

/* icon in the column headings (desktop) */
.compare--cards thead th:nth-child(n+2)::before {
  content: ""; display: block; width: 18px; height: 18px; margin: 0 0 6px;   /* icon above the heading text */
  background: var(--gold);
  -webkit-mask: var(--icon) center / contain no-repeat; mask: var(--icon) center / contain no-repeat;
}
.compare--cards tbody th a::after { content: " \203A"; color: var(--gold); }

@media (max-width: 767.98px) {
  .table-scroll { overflow: visible; }
  .compare--cards { min-width: 0; display: block; }
  .compare--cards thead {                      /* hidden visually, still read by screen readers */
    position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
  }
  .compare--cards tbody { display: block; }
  .compare--cards tr {
    display: grid; grid-template-columns: 1fr 1fr; gap: 16px 14px;
    background: #fff; padding: 16px 18px 20px; margin: 0 0 18px;
    border-top: 3px solid var(--teal); box-shadow: 0 2px 14px rgba(0, 0, 0, .07);
  }
  .compare--cards th, .compare--cards td { padding: 0; border: 0; }
  .compare--cards tbody th {
    grid-column: 1 / -1; font-size: 1.35rem; line-height: 1.3;
    padding-bottom: 12px; border-bottom: 1px solid var(--line);
  }
  .compare--cards td {
    display: grid; grid-template-columns: 22px 1fr; column-gap: 8px; align-content: start;
    font-size: .95rem; line-height: 1.35; color: var(--ink);
  }
  .compare--cards td::before {                 /* icon */
    content: ""; grid-row: span 2; order: -2; width: 20px; height: 20px; margin-top: 1px;
    background: var(--gold);
    -webkit-mask: var(--icon) center / contain no-repeat; mask: var(--icon) center / contain no-repeat;
  }
  .compare--cards td::after {                  /* label */
    content: attr(data-label); order: -1;
    font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 2px;
  }
  .compare--cards td:nth-child(n+6) { grid-column: 1 / -1; }   /* ski lift + highlights: full width */
}

/* ---------- testimonials ---------- */
.stars { color: #e5dccb; letter-spacing: 4px; font-size: 1.1rem; margin: -.4em 0 1.6em; }
.quotes { display: grid; gap: 28px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); margin: 0; }
.quotes figure { margin: 0; text-align: center; }
.quotes blockquote { margin: 0 0 .8em; font-style: italic; font-weight: 400; font-size: 1.05rem; }
.quotes figcaption { font-family: var(--serif); color: #e5dccb; }
.quotes figcaption span { display: block; font-family: var(--sans); color: #fff; font-size: .85rem; opacity: .8; }

/* ---------- faq ---------- */
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 40px 18px 0; position: relative; font-family: var(--serif); font-size: 1.12rem; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 14px; font: 400 1.6rem/1 var(--sans); color: var(--gold); }
.faq details[open] summary::after { content: "–"; }
.faq details > div { padding: 0 0 18px; }
.faq h2 { margin-top: 1.4em; }

/* ---------- contact / about ---------- */
.contact-list { list-style: none; padding: 0; margin: 0 0 1.4em; }
.contact-list li { padding: 4px 0; }

.partners { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 22px 44px; padding-top: 8px; padding-bottom: 8px; }
.partners a { display: block; }
.partners img { max-height: 64px; width: auto; filter: grayscale(1); opacity: .8; transition: filter .3s, opacity .3s; }
.partners a:hover img { filter: none; opacity: 1; }

/* ---------- legal ---------- */
.legal h2 { font-size: 1.4rem; margin-top: 1.8em; }
.legal address { font-style: normal; margin: 0 0 1.1em; }
.todo { background: #fff3cd; padding: 0 4px; }

/* ---------- footer ---------- */
.site-footer { background: var(--footer); color: #c9c9c9; padding: 48px 0 36px; font-size: .92rem; }
.site-footer a { color: #fff; }
.footer-grid { display: grid; gap: 28px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.site-footer h2 { font-size: 1.05rem; color: #fff; margin-bottom: .8em; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { padding: 3px 0; }
.site-footer .copy { border-top: 1px solid #3a3e42; margin-top: 32px; padding-top: 20px; font-size: .82rem; color: #9a9a9a; }

/* ---------- touch targets (min. 24 x 24 px, Lighthouse / WCAG 2.5.8) ---------- */
.hero__dots { gap: 2px; bottom: 10px; }
.hero__dots button { width: 28px; height: 28px; padding: 0; border: 0; background: transparent; position: relative; cursor: pointer; }
.hero__dots button::before { content: ""; position: absolute; left: 9px; top: 9px; width: 10px; height: 10px; border-radius: 50%; border: 1px solid #fff; }
.hero__dots button[aria-current="true"] { background: transparent; }
.hero__dots button[aria-current="true"]::before { background: #fff; }
.crumbs a { display: inline-block; padding: 4px 0; }
.crumbs li { line-height: 24px; }
.site-footer li { padding: 0; }
.site-footer li a, .site-footer p a { display: inline-block; padding: 5px 0; min-height: 24px; }
.contact-list a { display: inline-block; padding: 5px 0; }
.main-nav a { display: inline-block; padding: 8px 2px; }
.card__body h3 a { display: inline-block; padding: 2px 0; }

/* deferred slider images: without JavaScript the <noscript> copy is shown instead */
html:not(.js) picture[data-defer] { display: none; }
[data-defer] img:not([src]) { visibility: hidden; }

/* =====================================================================
   ICONS – fine line SVGs, used as CSS masks (they take the text colour
   or the colour set in --ico-color). In the HTML an element gets an icon
   with  data-icon="name", e.g. <dt data-icon="guests">Guests</dt>.
   To change an icon: replace its SVG below. To add one: new --i-… variable
   plus a line  [data-icon="…"] { --icon: var(--i-…); }
   ===================================================================== */
:root {
  --i-mail:    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.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='m3.5 7 8.5 6 8.5-6'/%3E%3C/svg%3E");
  --i-phone:   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.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 3.5h3.5l2 5-2.4 1.5a11 11 0 0 0 5.9 5.9l1.5-2.4 5 2V19a2 2 0 0 1-2 2A17 17 0 0 1 3 5.5a2 2 0 0 1 2-2z'/%3E%3C/svg%3E");
  --i-insta:   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.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='18' height='18' rx='5'/%3E%3Ccircle cx='12' cy='12' r='4'/%3E%3Cpath d='M17.5 6.5h.01'/%3E%3C/svg%3E");
  --i-pin:     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.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s-7-6.2-7-11.5a7 7 0 0 1 14 0C19 14.8 12 21 12 21z'/%3E%3Ccircle cx='12' cy='9.5' r='2.5'/%3E%3C/svg%3E");
  --i-home:    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.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 10.5 12 3l9 7.5'/%3E%3Cpath d='M5 9.5V21h14V9.5'/%3E%3Cpath d='M10 21v-6h4v6'/%3E%3C/svg%3E");
  --i-size:    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.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 9V4h5M20 9V4h-5M4 15v5h5M20 15v5h-5'/%3E%3Crect x='8' y='8' width='8' height='8' rx='1'/%3E%3C/svg%3E");
  --i-guests:  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.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='8' r='3.5'/%3E%3Cpath d='M2.5 20c.8-3.6 3.4-5.5 6.5-5.5s5.7 1.9 6.5 5.5'/%3E%3Cpath d='M16 4.7a3.5 3.5 0 0 1 0 6.6M18 14.8c1.8.7 3 2.5 3.5 5.2'/%3E%3C/svg%3E");
  --i-bed:     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.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 5v14M3 15h18M21 19v-6a3 3 0 0 0-3-3h-7v5'/%3E%3Ccircle cx='7' cy='11.5' r='2'/%3E%3C/svg%3E");
  --i-bath:    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.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 12h18v2a5 5 0 0 1-5 5H8a5 5 0 0 1-5-5z'/%3E%3Cpath d='M6 12V6.5a2.5 2.5 0 0 1 5 0'/%3E%3Cpath d='M7 19l-1 2M17 19l1 2'/%3E%3C/svg%3E");
  --i-lift:    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.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 4l20 5'/%3E%3Cpath d='M12 6.5V10'/%3E%3Crect x='7' y='10' width='10' height='8' rx='2'/%3E%3Cpath d='M7 14h10'/%3E%3Cpath d='M3 22h18'/%3E%3C/svg%3E");
  --i-star:    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.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m12 3 2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z'/%3E%3C/svg%3E");
  --i-spa:     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.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 3.5c-1.3 1.3 1.3 2.7 0 4M12 3.5c-1.3 1.3 1.3 2.7 0 4M16 3.5c-1.3 1.3 1.3 2.7 0 4'/%3E%3Cpath d='M4 12h16v3.5a4.5 4.5 0 0 1-4.5 4.5h-7A4.5 4.5 0 0 1 4 15.5z'/%3E%3C/svg%3E");
  --i-check:   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.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='m8 12.5 2.5 2.5L16 9.5'/%3E%3C/svg%3E");
  --i-bell:    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.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4.5 17a7.5 7.5 0 0 1 15 0z'/%3E%3Cpath d='M12 9.5V7M10 7h4M3 20h18'/%3E%3C/svg%3E");
  --i-parking: 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.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='18' height='18' rx='3'/%3E%3Cpath d='M9.5 17V7h3.5a3 3 0 0 1 0 6H9.5'/%3E%3C/svg%3E");
  --i-calendar: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.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='16' rx='2'/%3E%3Cpath d='M3 10h18M8 3v4M16 3v4'/%3E%3C/svg%3E");
  --i-clock:   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.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3 2'/%3E%3C/svg%3E");
  --i-mountain: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.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m2.5 20 7-12 4 6.5 2.5-4 5.5 9.5z'/%3E%3Cpath d='m7.6 11.3 1.9 1.2 1.6-1.4'/%3E%3C/svg%3E");
  --i-tracks:  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.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 20c5-1 9-4 13-14'/%3E%3Cpath d='M8 21c5-1 9-4 13-14'/%3E%3Cpath d='M4 16h3M7 11.5h3M11 7h3'/%3E%3C/svg%3E");
  --i-flag:    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.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 21V4'/%3E%3Cpath d='M6 4h11l-2.5 4L17 12H6'/%3E%3Cpath d='M3 21h7'/%3E%3C/svg%3E");
  --i-map:     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.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m3 6 6-2 6 2 6-2v14l-6 2-6-2-6 2z'/%3E%3Cpath d='M9 4v14M15 6v14'/%3E%3C/svg%3E");
  --i-train:   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.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='5.5' y='3' width='13' height='14' rx='3'/%3E%3Cpath d='M5.5 10h13M9 20.5l-2 1.5M15 20.5l2 1.5M9 14h.01M15 14h.01'/%3E%3C/svg%3E");
  --i-plane:   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.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10.2 3.8a1.8 1.8 0 0 1 3.6 0V9l7.2 4.5v2.2l-7.2-2.2v4.3l2 1.6V21L12 20l-3.8 1v-1.6l2-1.6v-4.3L3 15.7v-2.2L10.2 9z'/%3E%3C/svg%3E");
  --i-car:     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.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3.5 16.5V12l2-5.5h13l2 5.5v4.5z'/%3E%3Cpath d='M3.5 12h17M6 16.5V19M18 16.5V19'/%3E%3Ccircle cx='7.5' cy='14.2' r='.6'/%3E%3Ccircle cx='16.5' cy='14.2' r='.6'/%3E%3C/svg%3E");
  --i-question: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.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M9.5 9.5a2.5 2.5 0 1 1 3.5 2.3c-.6.3-1 .9-1 1.6v.6M12 17h.01'/%3E%3C/svg%3E");
}

[data-icon="mail"]     { --icon: var(--i-mail); }
[data-icon="phone"]    { --icon: var(--i-phone); }
[data-icon="insta"]    { --icon: var(--i-insta); }
[data-icon="pin"]      { --icon: var(--i-pin); }
[data-icon="home"]     { --icon: var(--i-home); }
[data-icon="size"]     { --icon: var(--i-size); }
[data-icon="guests"]   { --icon: var(--i-guests); }
[data-icon="bed"]      { --icon: var(--i-bed); }
[data-icon="bath"]     { --icon: var(--i-bath); }
[data-icon="lift"]     { --icon: var(--i-lift); }
[data-icon="star"]     { --icon: var(--i-star); }
[data-icon="spa"]      { --icon: var(--i-spa); }
[data-icon="check"]    { --icon: var(--i-check); }
[data-icon="bell"]     { --icon: var(--i-bell); }
[data-icon="parking"]  { --icon: var(--i-parking); }
[data-icon="calendar"] { --icon: var(--i-calendar); }
[data-icon="clock"]    { --icon: var(--i-clock); }
[data-icon="mountain"] { --icon: var(--i-mountain); }
[data-icon="tracks"]   { --icon: var(--i-tracks); }
[data-icon="flag"]     { --icon: var(--i-flag); }
[data-icon="map"]      { --icon: var(--i-map); }
[data-icon="train"]    { --icon: var(--i-train); }
[data-icon="plane"]    { --icon: var(--i-plane); }
[data-icon="car"]      { --icon: var(--i-car); }
[data-icon="question"] { --icon: var(--i-question); }

/* the icon itself: in front of the element's text, colour = --ico-color (default: text colour) */
[data-icon]::before {
  content: ""; display: inline-block; flex: none;
  width: 1.1em; height: 1.1em; margin-right: .5em; vertical-align: -.18em;
  background: var(--ico-color, currentColor);
  -webkit-mask: var(--icon) center / contain no-repeat; mask: var(--icon) center / contain no-repeat;
}

/* buttons: icon in the button's text colour, a little smaller */
.c-btn[data-icon]::before, .c-btn-white[data-icon]::before, .c-btn-menu[data-icon]::before, .btn[data-icon]::before {
  width: 1.05em; height: 1.05em; margin-right: .45em; vertical-align: -.2em;
}

/* headings and fact labels: gold icon */
h2[data-icon], h3[data-icon], dt[data-icon], .icon-gold { --ico-color: var(--gold); }
h2[data-icon]::before { width: .85em; height: .85em; margin-right: .4em; vertical-align: -.08em; }
h3[data-icon]::before { width: .95em; height: .95em; vertical-align: -.12em; }

/* "at a glance" boxes: label with icon, value next to it; on phones label above value */
.facts dl { align-items: baseline; }
.facts dt[data-icon] { white-space: nowrap; }
@media (max-width: 575.98px) {
  .facts dl { grid-template-columns: 1fr; gap: 2px; }
  .facts dd { margin: 0 0 12px 1.6em; }
}

/* contact lines (About us / Contact) */
.c-about a[data-icon], .legal a[data-icon] { --ico-color: var(--gold); }
.c-about p a[data-icon] { display: inline-block; padding: 3px 0; }

/* icon lists: <ul class="icon-list"> with data-icon on each li */
.icon-list { list-style: none; padding: 0; }
.icon-list li { position: relative; padding: 4px 0 4px 1.7em; }
.icon-list li[data-icon]::before { position: absolute; left: 0; top: .45em; margin: 0; --ico-color: var(--gold); background: var(--gold); }

/* arrival paragraphs on the St. Anton page */
p[data-icon] { position: relative; padding-left: 1.7em; }
p[data-icon]::before { position: absolute; left: 0; top: .3em; margin: 0; background: var(--gold); }

/* chalet cards: the three short facts get icons instead of the dots (1 = size/type, 2 = guests, 3 = highlight) */
.card__facts { gap: 6px 18px; }
.card__facts li { display: inline-flex; align-items: center; }
.card__facts li::before, .card__facts li:first-child::before {
  content: ""; width: 16px; height: 16px; margin-right: 6px; background: var(--gold);
  -webkit-mask: var(--icon) center / contain no-repeat; mask: var(--icon) center / contain no-repeat;
}
.card__facts li:nth-child(1) { --icon: var(--i-size); }
.card__facts li:nth-child(2) { --icon: var(--i-guests); }
.card__facts li:nth-child(3) { --icon: var(--i-star); }

/* apartment tiles (Silver Fox, Windegg) */
.apartment ul li[data-icon] { padding: 2px 0; }
.apartment ul li[data-icon]::before { --ico-color: var(--gold); background: var(--gold); }

/* =====================================================================
   CHALET PHOTOS: slider on phones (< 760 px), grid from 760 px
   (markup: .gallery-slider > .gallery.slider__track + arrow buttons;
   slider logic = the same [data-slider] code as on the homepage)
   ===================================================================== */
.gallery-slider { position: relative; }
.js .gallery-slider .slider__btn { display: none; }            /* arrows only on phones */
@media (max-width: 759.98px) {
  .gallery.slider__track {
    display: flex; gap: 0; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  }
  .gallery.slider__track::-webkit-scrollbar { display: none; }
  .gallery.slider__track > a {
    flex: 0 0 100%; scroll-snap-align: start;
    pointer-events: none;                                       /* no image viewer on phones: swipe instead */
  }
  .js .gallery-slider .slider__btn { display: block; }
}
@media (min-width: 760px) {
  .gallery.slider__track { display: grid; overflow: visible; }
}
/* image viewer (desktop): no visible caption – the descriptions stay in the alt texts for Google */
.lightbox p { display: none; }
/* ===== TEST: square slider photos on phones (remove this block to undo) ===== */
@media (max-width: 759.98px) {
  .gallery.slider__track > a { aspect-ratio: 1 / 1; }
}
/* ===== END TEST square photos ===== */