/* ==========================================================================
   Hottubverhuur.com
   ========================================================================== */

:root {
  --cream: #f3f0eb;
  --sand: #e8e3db;
  --card: #fbfaf8;
  --ink: #1a1817;
  --muted: #6a645d;
  --line: #dcd5ca;
  --char: #1f1d1b;
  --char-2: #2b2826;
  --ember: #c84a1e;
  --ember-dark: #a63b15;
  --ember-light: #eda27c;
  --wood: #9a7350;

  --font-display: "Schibsted Grotesk", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-body: "Schibsted Grotesk", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius: 18px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(28, 38, 32, .06), 0 12px 32px -12px rgba(28, 38, 32, .18);
  --header-h: 72px;
  --gutter: clamp(16px, 4vw, 32px);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -.03em;
  margin: 0 0 .5em;
}
h2 { font-size: clamp(2rem, 4.2vw, 3rem); }
h3 { font-size: 1.4rem; }
h4 { font-size: 1.05rem; }
p { margin: 0 0 1em; }

.container { width: min(1180px, 100% - 2 * var(--gutter)); margin-inline: auto; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

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

:focus-visible { outline: 3px solid var(--ember); outline-offset: 3px; border-radius: 4px; }

/* Buttons ---------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .7em 1.25em;
  border-radius: 999px;
  border: 1.5px solid transparent;
  font: 600 .95rem/1.2 var(--font-body);
  text-decoration: none;
  cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn-lg { padding: .95em 1.6em; font-size: 1rem; }
.btn-ember { background: var(--ember); color: #fff; }
.btn-ember:hover { background: var(--ember-dark); }
.btn-ghost { border-color: rgba(255, 255, 255, .7); color: #fff; }
.btn-ghost:hover { background: rgba(255, 255, 255, .12); border-color: #fff; }

/* Header ----------------------------------------------------------------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--header-h);
  color: #fff;
  transition: background-color .3s, box-shadow .3s, color .3s;
}
.site-header.is-solid,
.site-header.is-open {
  background: rgba(247, 242, 233, .94);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  color: var(--ink);
  box-shadow: 0 1px 0 var(--line);
}
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-size: 1.3rem; font-weight: 400;
  text-decoration: none; letter-spacing: -.02em;
}
.brand b { font-weight: 800; }
.brand-mark { width: 30px; height: 30px; color: var(--ember); }

.nav { display: flex; align-items: center; gap: 28px; }
.nav a:not(.btn) {
  font-size: .95rem; font-weight: 500; text-decoration: none;
  opacity: .9; position: relative;
}
.nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px;
  background: var(--ember); transform: scaleX(0); transform-origin: left; transition: transform .25s;
}
.nav a:not(.btn):hover::after { transform: scaleX(1); }
.nav-cta { padding: .6em 1.1em; }

.nav-toggle {
  display: none; width: 44px; height: 44px; border: 0; background: none;
  color: inherit; cursor: pointer; position: relative;
}
.nav-toggle-bar,
.nav-toggle-bar::before,
.nav-toggle-bar::after {
  position: absolute; left: 11px; width: 22px; height: 2px; background: currentColor;
  border-radius: 2px; transition: transform .25s, opacity .2s;
}
.nav-toggle-bar { top: 21px; }
.nav-toggle-bar::before { content: ""; left: 0; top: -7px; }
.nav-toggle-bar::after { content: ""; left: 0; top: 7px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 8px var(--gutter) 24px;
    background: var(--cream); color: var(--ink);
    box-shadow: 0 16px 24px -16px rgba(0, 0, 0, .25);
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity .2s, transform .2s, visibility .2s;
  }
  .nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .nav a:not(.btn)::after { display: none; }
  .nav-cta { margin-top: 16px; padding: .9em; }
}

/* Hero ------------------------------------------------------------------- */
.hero {
  position: relative; min-height: min(100svh, 880px);
  display: flex; align-items: flex-end;
  color: #fff; overflow: hidden; isolation: isolate;
}
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 40%; z-index: -2; }
.hero-overlay {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(16, 14, 12, .5) 0%, rgba(16, 14, 12, 0) 20%),
    linear-gradient(90deg, rgba(16, 14, 12, .8) 0%, rgba(16, 14, 12, .5) 35%, rgba(16, 14, 12, 0) 60%),
    linear-gradient(0deg, rgba(16, 14, 12, .55) 0%, rgba(16, 14, 12, 0) 35%);
}
/* On narrow screens the text spans the full width, so darken from the bottom instead */
@media (max-width: 760px) {
  .hero-img { object-position: 66% 50%; }
  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(16, 14, 12, .5) 0%, rgba(16, 14, 12, 0) 20%),
      linear-gradient(0deg, rgba(16, 14, 12, .9) 0%, rgba(16, 14, 12, .55) 50%, rgba(16, 14, 12, 0) 78%);
  }
}
.hero .eyebrow { color: rgba(255, 255, 255, .9); }
.hero-content { padding-block: calc(var(--header-h) + 48px) clamp(56px, 10vh, 112px); }
.hero h1 {
  font-size: clamp(2.6rem, 7vw, 5.4rem);
  font-weight: 800; line-height: 1.02; letter-spacing: -.035em;
  max-width: 13ch; margin-bottom: .35em;
  text-wrap: balance;
}
.lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); max-width: 40rem; opacity: .92; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.eyebrow {
  display: inline-block; margin-bottom: 1rem;
  font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ember-light);
}
.eyebrow-dark { color: var(--ember); }

/* Facts strip ------------------------------------------------------------ */
.facts { background: var(--char); color: #fff; }
.facts-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
  padding-block: 28px;
}
.fact { display: flex; align-items: center; gap: 14px; }
.fact svg {
  flex: none; width: 44px; height: 44px; padding: 10px;
  border-radius: 50%; background: rgba(255, 255, 255, .08);
  fill: none; stroke: var(--ember-light); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round;
}
.fact strong { display: block; font-weight: 600; }
.fact span { display: block; font-size: .88rem; opacity: .72; line-height: 1.35; }

@media (max-width: 900px) { .facts-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .facts-grid { grid-template-columns: 1fr; gap: 16px; } }

/* Sections --------------------------------------------------------------- */
.section { padding-block: clamp(72px, 10vw, 128px); }
.section-sand { background: var(--sand); }
.section-dark { background: var(--char); color: #fff; }
.section-head { max-width: 44rem; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head p:not(.eyebrow) { color: var(--muted); font-size: 1.08rem; }
.section-dark .section-head p:not(.eyebrow) { color: rgba(255, 255, 255, .75); }

/* Offer ------------------------------------------------------------------ */
.offer-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(20px, 3vw, 36px); }
.offer {
  display: flex; flex-direction: column;
  background: var(--card); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow);
}
.offer-media { position: relative; margin: 0; aspect-ratio: 4 / 3; overflow: hidden; }
.offer-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.offer:hover .offer-media img { transform: scale(1.04); }
.tag {
  position: absolute; left: 16px; top: 16px;
  background: rgba(243, 240, 235, .92); color: var(--ink);
  font-size: .78rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  padding: 6px 12px; border-radius: 999px;
}
.offer-body { padding: clamp(22px, 3vw, 32px); display: flex; flex-direction: column; flex: 1; }
.offer-body > p { color: var(--muted); }

.checks { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 10px; }
.checks li { position: relative; padding-left: 30px; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: .22em;
  width: 20px; height: 20px; border-radius: 50%;
  background: #f6e2d8 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='m6 10.5 2.6 2.5L14 7.5' fill='none' stroke='%23c84a1e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat;
}

.dims { margin-top: auto; padding-top: 20px; border-top: 1px dashed var(--line); }
.dims-label { font-size: .78rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.dims dl { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 10px 0 0; }
.dims dl div { background: var(--cream); border-radius: var(--radius-sm); padding: 10px 12px; }
.dims dt { font-size: .8rem; color: var(--muted); }
.dims dd { margin: 0; font-family: var(--font-display); font-size: 1.35rem; font-weight: 700; letter-spacing: -.02em; }
@media (max-width: 480px) { .dims dl { gap: 8px; } .dims dd { font-size: 1.15rem; white-space: nowrap; } }

@media (max-width: 860px) { .offer-grid { grid-template-columns: 1fr; } }

/* Steps ------------------------------------------------------------------ */
.steps {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
  counter-reset: step;
}
.step {
  position: relative; padding: 28px 24px 24px;
  border-radius: var(--radius);
  background: var(--char-2);
  border: 1px solid rgba(255, 255, 255, .07);
}
.step-num {
  display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 18px;
  border-radius: 50%; background: var(--ember); color: #fff;
  font-family: var(--font-display); font-size: 1.25rem; font-weight: 700;
}
.step h3 { font-size: 1.25rem; }
.step p { color: rgba(255, 255, 255, .75); margin: 0; font-size: .97rem; }

@media (max-width: 980px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* Pricing ---------------------------------------------------------------- */
.price-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.price {
  position: relative;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 24px;
}
.price h3 { font-family: var(--font-body); font-size: .85rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.amount { font-family: var(--font-display); font-size: 3.2rem; font-weight: 800; line-height: 1; margin: 6px 0 12px; letter-spacing: -.045em; }
.amount span { font-size: .5em; vertical-align: .55em; margin-right: 4px; color: var(--wood); }
.when { color: var(--muted); font-size: .95rem; margin: 0; }
.price-featured { background: var(--char); border-color: var(--char); color: #fff; box-shadow: var(--shadow); }
.price-featured h3, .price-featured .when { color: rgba(255, 255, 255, .75); }
.price-featured .amount span { color: var(--ember-light); }

.price-notes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 28px; }
.note { padding: 20px 22px; border-left: 3px solid var(--wood); background: rgba(167, 123, 80, .07); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.note h4 { margin-bottom: .3em; }
.note p { margin: 0; color: var(--muted); font-size: .97rem; }
.fineprint { margin-top: 24px; font-size: .85rem; color: var(--muted); }

@media (max-width: 980px) { .price-grid { grid-template-columns: repeat(2, 1fr); } .price-notes { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .price-grid { grid-template-columns: 1fr; } }

/* Gallery ---------------------------------------------------------------- */
.gallery {
  display: grid; grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 200px; grid-auto-flow: dense; gap: 14px;
}
.g-item { position: relative; display: block; overflow: hidden; border-radius: var(--radius-sm); background: var(--line); }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease, filter .3s; }
.g-item:hover img { transform: scale(1.05); filter: brightness(1.05); }
.g-wide { grid-column: span 2; }
.g-tall { grid-row: span 2; }

@media (max-width: 860px) {
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 170px; }
  /* keep the 2-column grid free of holes */
  .gallery .g-item:nth-child(10) { grid-row: auto; }
  .gallery .g-item:nth-child(11) { grid-column: auto; }
}
@media (max-width: 480px) { .gallery { grid-auto-rows: 140px; gap: 10px; } }

/* Lightbox --------------------------------------------------------------- */
.lightbox {
  width: 100vw; height: 100vh; max-width: none; max-height: none;
  margin: 0; padding: 0; border: 0;
  background: rgba(10, 16, 12, .94); color: #fff;
}
.lightbox[open] { display: flex; align-items: center; justify-content: center; }
.lightbox::backdrop { background: transparent; }
.lightbox figure { margin: 0; max-width: min(92vw, 1400px); text-align: center; }
.lightbox img { max-width: 100%; max-height: 82vh; margin-inline: auto; border-radius: 8px; }
.lightbox figcaption { margin-top: 12px; font-size: .92rem; opacity: .75; padding-inline: 16px; }
.lb-btn {
  position: absolute; display: grid; place-items: center;
  width: 52px; height: 52px; border: 0; border-radius: 50%;
  background: rgba(255, 255, 255, .1); color: #fff;
  font-size: 2rem; line-height: 1; cursor: pointer; transition: background-color .2s;
}
.lb-btn:hover { background: rgba(255, 255, 255, .22); }
.lb-close { top: 16px; right: 16px; }
.lb-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 16px; top: 50%; transform: translateY(-50%); }
@media (max-width: 600px) { .lb-prev, .lb-next { top: auto; bottom: 16px; transform: none; } }

/* Contact ---------------------------------------------------------------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.contact-info > p:not(.eyebrow) { color: var(--muted); font-size: 1.08rem; }
.contact-list { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 14px; }
.contact-list li { display: flex; align-items: center; gap: 14px; font-size: 1.05rem; }
.contact-list svg {
  flex: none; width: 42px; height: 42px; padding: 10px; border-radius: 50%;
  background: var(--sand); fill: none; stroke: var(--ink); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round;
}
.contact-list a { text-decoration: none; border-bottom: 1px solid var(--line); overflow-wrap: anywhere; }
.contact-list a:hover { border-color: var(--ember); color: var(--ember-dark); }

.quote-card {
  background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow);
  padding: clamp(22px, 4vw, 40px);
}
.quote-card h3 { font-size: 1.6rem; }
.quote-card > p { color: var(--muted); }
.quote-needs { list-style: none; counter-reset: need; padding: 0; margin: 24px 0 28px; display: grid; gap: 14px; }
.quote-needs li { counter-increment: need; display: grid; grid-template-columns: 40px 1fr; column-gap: 14px; align-items: start; }
.quote-needs li::before {
  content: counter(need); grid-row: span 2;
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: var(--char); color: #fff; font-weight: 700;
}
.quote-needs strong { font-size: 1.05rem; }
.quote-needs span { color: var(--muted); font-size: .95rem; }
.quote-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-outline { border-color: var(--line); color: var(--ink); }
.btn-whatsapp { background: var(--char); color: #fff; }
.btn-whatsapp:hover { background: #000; }
.btn-outline:hover { border-color: var(--ink); }

@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .quote-actions .btn { width: 100%; } }

/* Footer ----------------------------------------------------------------- */
.site-footer { background: #141312; color: rgba(255, 255, 255, .72); padding-block: 48px; font-size: .92rem; }
.footer-inner { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.brand-light { color: #fff; margin-bottom: 10px; }
.footer-meta { text-align: right; }
.footer-meta p { margin: 0 0 .4em; }
.footer-meta a { text-decoration: none; }
.footer-meta a:hover { color: #fff; }
@media (max-width: 700px) { .footer-meta { text-align: left; } }

/* Reveal animation ------------------------------------------------------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}
