/* ==========================================================
   Kitzresidenz Kaprun – opmaak
   Kleuren en lettertypes staan bovenaan, zodat je ze op één
   plek kunt aanpassen.
   ========================================================== */

@font-face { font-family: "Figtree"; src: url("../fonts/figtree-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("../fonts/figtree-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("../fonts/figtree-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Bricolage Grotesque"; src: url("../fonts/bricolage-grotesque-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Bricolage Grotesque"; src: url("../fonts/bricolage-grotesque-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --ink: #0F2A38;          /* donkerblauw: tekst, footer */
  --ink-soft: #3A525E;     /* lopende tekst */
  --muted: #48606C;        /* kleine grijze tekst */
  --blue: #1B6CA8;         /* accent blauw */
  --blue-dark: #145484;
  --ice: #EAF4F9;          /* lichtblauwe vlakken */
  --line: #D6E4EC;         /* lijntjes */
  --yellow: #F5C842;       /* boekknoppen */
  --yellow-dark: #E8B820;
  --white: #FFFFFF;
  --radius: 22px;
  --radius-sm: 16px;
  --wrap: 1240px;
  --display: "Bricolage Grotesque", "Figtree", system-ui, sans-serif;
  --body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--body); font-size: 17px; line-height: 1.6; color: var(--ink); background: var(--white); }
img { max-width: 100%; display: block; }
a { color: var(--blue); }
a:hover { color: var(--blue-dark); }
h1, h2, h3 { font-family: var(--display); font-weight: 700; letter-spacing: -0.02em; line-height: 1.1; margin: 0; }
h1 { font-size: clamp(36px, 6vw, 72px); letter-spacing: -0.025em; line-height: 1.03; }
h2 { font-size: clamp(30px, 4vw, 48px); }
h3 { font-size: clamp(22px, 2.4vw, 28px); line-height: 1.2; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.section--tint { background: var(--ice); }
.eyebrow { font-size: 14px; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 600; color: var(--blue); margin: 0 0 12px; }
.lead { font-size: 19px; color: var(--ink-soft); max-width: 620px; margin-top: 18px; }
.muted { color: var(--muted); }
.stack > * + * { margin-top: 14px; }
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: 10px 16px; z-index: 100; }
.skip:focus { left: 12px; top: 12px; }

/* ---------- Knoppen ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 22px; border-radius: 999px; font-weight: 600; font-size: 16px; text-decoration: none; border: 1.5px solid transparent; cursor: pointer; transition: background .15s, color .15s; }
.btn--book { background: var(--yellow); color: var(--ink); }
.btn--book:hover { background: var(--yellow-dark); color: var(--ink); }
.btn--outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--outline:hover { background: var(--ink); color: #fff; }
.btn--light { border-color: #fff; color: #fff; background: transparent; }
.btn--light:hover { background: #fff; color: var(--ink); }

/* ---------- Header ---------- */
.header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 76px; }
.header__logo img { height: 46px; width: auto; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 500; padding: 8px 0; border-bottom: 2px solid transparent; }
.nav a:hover { color: var(--blue); }
.nav a[aria-current="page"] { color: var(--blue); font-weight: 600; border-bottom-color: var(--blue); }
.header__cta { padding: 10px 20px; min-height: 44px; font-size: 15px; }
.menu-btn { display: none; width: 48px; height: 48px; border: 0; background: transparent; cursor: pointer; border-radius: 12px; align-items: center; justify-content: center; }
.menu-btn span, .menu-btn span::before, .menu-btn span::after { display: block; width: 24px; height: 2px; background: var(--ink); border-radius: 2px; position: relative; transition: transform .2s, background .2s; }
.menu-btn span::before, .menu-btn span::after { content: ""; position: absolute; left: 0; }
.menu-btn span::before { top: -7px; }
.menu-btn span::after { top: 7px; }
.header.is-open .menu-btn span { background: transparent; }
.header.is-open .menu-btn span::before { transform: translateY(7px) rotate(45deg); }
.header.is-open .menu-btn span::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 960px) {
  .menu-btn { display: inline-flex; }
  .header__cta { display: none; }
  .nav { position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0; background: #fff; border-bottom: 1px solid var(--line); padding: 8px 24px 20px; display: none; box-shadow: 0 16px 30px rgba(15,42,56,.08); }
  .header.is-open .nav { display: flex; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 18px; }
  .nav a[aria-current="page"] { border-bottom-color: var(--line); }
  .nav .btn { margin-top: 16px; border-bottom: 0; }
}
@media (min-width: 961px) { .nav .btn { display: none; } }

/* ---------- Hero homepage ---------- */
.hero { position: relative; min-height: min(86vh, 760px); display: flex; align-items: flex-end; color: #fff; background: #5A7F96; overflow: hidden; }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% center; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,28,38,.74) 0%, rgba(10,28,38,.38) 55%, rgba(10,28,38,.08) 100%); }
.hero__content { position: relative; z-index: 1; width: 100%; padding-top: 140px; padding-bottom: 64px; }
.hero .eyebrow { color: #fff; }
.hero h1 { max-width: 820px; }
.hero .lead { color: #fff; max-width: 600px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
@media (max-width: 640px) {
  .hero { min-height: 82vh; }
  .hero::after { background: linear-gradient(0deg, rgba(10,28,38,.82) 0%, rgba(10,28,38,.45) 55%, rgba(10,28,38,.15) 100%); }
  .hero__actions .btn { flex: 1 1 100%; }
}

.facts { background: var(--ink); color: #fff; }
.facts ul { list-style: none; margin: 0; padding: 22px 0; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; font-weight: 500; }

/* ---------- Page hero (subpagina's) ---------- */
.page-hero { background: var(--ice); padding: 72px 0 64px; }
.page-hero h1 { font-size: clamp(36px, 5vw, 60px); max-width: 840px; }
.page-hero--split .wrap { display: flex; flex-wrap: wrap; gap: 40px 64px; align-items: center; }
.page-hero--split .page-hero__text { flex: 1.3 1 460px; }
.page-hero--split .page-hero__img { flex: 1 1 360px; border-radius: var(--radius); overflow: hidden; aspect-ratio: 3 / 2; }
.page-hero__img img { width: 100%; height: 100%; object-fit: cover; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.chip { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; font-size: 15px; font-weight: 500; }

/* ---------- Twee kolommen ---------- */
.split { display: flex; flex-wrap: wrap; gap: 40px 72px; align-items: center; }
.split > * { flex: 1 1 420px; min-width: 0; }
.split--top { align-items: flex-start; }
.split--end { align-items: flex-end; }

/* ---------- Fotoslider ---------- */
.gallery { margin-top: 52px; }
.gallery__track { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; -webkit-overflow-scrolling: touch; scrollbar-width: none; overscroll-behavior-x: contain; }
.gallery__track::-webkit-scrollbar { display: none; }
.gallery__slide { flex: 0 0 min(86%, 860px); aspect-ratio: 3 / 2; scroll-snap-align: start; border-radius: 18px; overflow: hidden; background: var(--ice); margin: 0; }
.gallery__slide img { width: 100%; height: 100%; object-fit: cover; }
.gallery__bar { margin-top: 16px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.gallery__caption { color: var(--muted); }
.gallery__caption strong { color: var(--ink); }
.gallery__btns { display: flex; gap: 10px; }
.round-btn { width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid var(--ink); background: #fff; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; color: var(--ink); }
.round-btn--dark { background: var(--ink); color: #fff; }
.round-btn:hover { background: var(--blue); border-color: var(--blue); color: #fff; }
@media (max-width: 640px) { .gallery__slide { flex-basis: 88%; aspect-ratio: 4 / 3; } }

/* ---------- Lijstjes ---------- */
.rows { display: flex; flex-direction: column; }
.rows > div { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.rows > div > span:last-child { color: var(--muted); text-align: right; }
.rows strong { font-weight: 600; }
.checks { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px 28px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; }
.checks svg { flex: none; margin-top: 3px; }

/* ---------- Kaarten ---------- */
.cards { display: flex; flex-wrap: wrap; gap: 24px; }
.card { flex: 1 1 420px; background: #fff; border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.card--line { border: 1px solid var(--line); }
.card__img { height: 300px; }
.card__img img { width: 100%; height: 100%; object-fit: cover; }
.card__body { padding: 32px; display: flex; flex-direction: column; gap: 14px; }
.card__body .btn { align-self: flex-start; margin-top: 6px; }
.label { font-size: 14px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); }
.label--winter { color: #2B5C8A; }
.grid-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; }
.box { border: 1px solid var(--line); border-radius: 20px; padding: 28px; background: #fff; }
.box ul { margin: 12px 0 0; padding-left: 20px; color: var(--ink-soft); }
.box li + li { margin-top: 6px; }
.icon-tile { width: 48px; height: 48px; border-radius: 14px; background: var(--ice); display: flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.pill-row { display: flex; flex-wrap: wrap; gap: 10px; }
.pill { background: #fff; border-radius: 999px; padding: 9px 16px; font-size: 15px; font-weight: 500; }
.panel { background: var(--ice); border-radius: var(--radius); padding: 40px; }
.cta { background: var(--blue); color: #fff; border-radius: var(--radius); padding: 44px; display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; }
.cta h2 { font-size: clamp(26px, 3vw, 34px); }
.cta p { color: #EAF4FB; margin-top: 8px; }
@media (max-width: 640px) { .panel, .cta, .card__body { padding: 26px; } .card__img { height: 220px; } }

.media { border-radius: var(--radius); overflow: hidden; }
.media img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Tips (swipe-rij) ---------- */
.tips-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 32px; margin-bottom: 28px; }
.swipe-hint { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; color: var(--muted); }
.tips { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; padding: 0 max(24px, calc((100vw - var(--wrap)) / 2 + 24px)) 12px; scroll-padding-left: max(24px, calc((100vw - var(--wrap)) / 2 + 24px)); scrollbar-width: thin; }
.tip { flex: 0 0 min(82vw, 340px); scroll-snap-align: start; display: flex; flex-direction: column; gap: 12px; }
.tip__img { aspect-ratio: 4 / 5; border-radius: 18px; overflow: hidden; background: var(--ice); }
.tip__img img { width: 100%; height: 100%; object-fit: cover; }
.tip__tag { align-self: flex-start; font-size: 13px; font-weight: 600; background: var(--ice); padding: 4px 10px; border-radius: 999px; }
.tip h3 { font-size: 22px; }
.tip p { color: var(--ink-soft); }

/* ---------- Boeken ---------- */
.booking { display: flex; flex-wrap: wrap; gap: 32px; align-items: flex-start; }
.booking__widget { flex: 999 1 560px; min-width: 0; min-height: 560px; border-radius: var(--radius); }
.booking__widget--empty { border: 2px dashed #9DBBCD; background: #F5FAFC; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 12px; padding: 32px; }
.booking__steps { flex: 1 1 320px; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; }
.steps { list-style: none; margin: 22px 0 0; padding: 0; display: flex; flex-direction: column; gap: 20px; counter-reset: s; }
.steps li { display: flex; gap: 16px; counter-increment: s; }
.steps li::before { content: counter(s); flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--ice); color: var(--blue); font-weight: 700; display: flex; align-items: center; justify-content: center; }
.steps strong { display: block; font-weight: 600; }
.steps span { color: var(--muted); font-size: 16px; }
.faq { display: flex; flex-direction: column; gap: 10px; }
.faq details { border: 1px solid var(--line); border-radius: 14px; padding: 16px 20px; }
.faq summary { font-weight: 600; cursor: pointer; }
.faq details p { margin-top: 10px; color: var(--ink-soft); }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: #fff; }
.footer__top { display: flex; flex-wrap: wrap; gap: 40px 72px; justify-content: space-between; padding: 72px 0 40px; }
.footer__intro { flex: 1 1 320px; }
.footer__intro img { height: 56px; width: auto; margin-bottom: 24px; }
.footer__intro p:first-of-type { font-family: var(--display); font-weight: 700; font-size: 28px; line-height: 1.2; }
.footer__intro p + p { margin-top: 10px; color: #BCD3DF; }
.footer__col { flex: 1 1 220px; display: flex; flex-direction: column; gap: 8px; }
.footer__col h2 { font-family: var(--body); font-size: 14px; letter-spacing: .14em; text-transform: uppercase; color: #A8C2D0; font-weight: 600; margin-bottom: 4px; }
.footer a { color: #fff; }
.footer a:hover { color: var(--yellow); }
.footer__bottom { border-top: 1px solid #24475A; padding: 20px 0 32px; font-size: 14px; color: #A8C2D0; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }
.footer__bottom a { color: #A8C2D0; }

/* ---------- Tekstpagina (privacy) ---------- */
.prose { max-width: 760px; }
.prose h2 { font-size: 26px; margin: 40px 0 12px; }
.prose p, .prose li { color: var(--ink-soft); }
.prose p + p { margin-top: 12px; }

/* Ankers niet achter de vaste menubalk laten vallen */
[id] { scroll-margin-top: 88px; }

/* Smoobu-boekingskalender over de volle breedte */
#apartmentIframeAll iframe { width: 100% !important; max-width: 100%; border: 0; }

/* Smoobu-beschikbaarheidskalender */
.availability { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; background: #fff; overflow-x: auto; min-height: 120px; }
.availability .calendarWidget { max-width: 100%; }

/* Boekingsformulier over de volle breedte, stappen eronder (geen lege ruimte) */
.booking { display: block; }
.booking__widget { min-height: 0; }
.booking__steps { margin-top: 28px; padding: 28px 32px; }
.booking__steps .steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px 28px; }
.card.section--tint { background: var(--ice); }

/* ---------- Foto's groot bekijken (lightbox) ---------- */
.gallery__slide, .tip__img { cursor: zoom-in; }
.lightbox { position: fixed; inset: 0; z-index: 200; background: #08141C; display: none; flex-direction: column; }
.lightbox.is-open { display: flex; }
.lightbox__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; color: #fff; }
.lightbox__count { font-weight: 600; font-size: 15px; }
.lightbox__close { width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255,255,255,.12); color: #fff; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.lightbox__close:hover { background: rgba(255,255,255,.25); }
.lightbox__track { flex: 1; display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior: contain; }
.lightbox__track::-webkit-scrollbar { display: none; }
.lightbox__slide { flex: 0 0 100%; scroll-snap-align: center; display: flex; align-items: center; justify-content: center; padding: 0 12px; margin: 0; min-height: 0; }
.lightbox__slide img { max-width: 100%; max-height: calc(100vh - 150px); max-height: calc(100dvh - 150px); object-fit: contain; border-radius: 8px; }
.lightbox__bottom { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px 20px; color: #D6E4EC; }
.lightbox__caption { font-size: 15px; }
.lightbox .round-btn { background: transparent; border-color: rgba(255,255,255,.6); color: #fff; }
.lightbox .round-btn:hover { background: #fff; color: var(--ink); }
body.no-scroll { overflow: hidden; }
@media (max-width: 640px) { .lightbox__slide { padding: 0; } .lightbox__slide img { border-radius: 0; } }

/* Kenmerkenbalk onder de grote foto (dunner, met icoontjes) */
.facts ul { padding: 12px 0; justify-content: flex-start; gap: 8px 28px; font-size: 15px; }
.facts li { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.facts svg { color: var(--yellow); flex: none; }
@media (max-width: 640px) {
  .facts ul { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 16px; padding: 14px 0; font-size: 14px; }
  .facts li { white-space: normal; }
}
