/*
 * Homepage v2 — the redesign of site/index.html.
 *
 * Replaces index.css/planner-demo.css on the homepage only; the rest of the
 * site keeps those files. Two things are deliberately kept from the old page:
 * the sidebar (so no top-right nav lives here) and the cross-fading, slowly
 * zooming background slideshow — which now sits inside the hero instead of
 * behind the whole page.
 *
 * Palette follows styles.css' brand vars (teal #43b0b3, accent #7589d5)
 * rather than the mockup's darker teal and near-black navy; the deep teal
 * survives only where a teal surface has to carry white text.
 */

.home {
  --h-ink: #10202b;
  /* Brand palette (styles.css :root), not the mockup's darker teal. */
  --h-teal: #43b0b3;
  --h-teal-bright: #5cc7ca;
  --h-teal-deep: #2f8083;      /* only where teal must carry white text */
  --h-accent: #7589d5;         /* brand secondary, the soft sky blue */
  --h-dark: #17414d;           /* lightened band: deep teal, not near-black */
  --h-dark-2: #1d5361;
  --h-sand: #f7f5f2;
  --h-sand-2: #f5f3ef;
  --h-line: #e8e3dc;
  --h-muted: #5b6b76;
  --h-muted-2: #7b8a94;

  position: relative;
  z-index: 1;
  width: 100%;
  overflow-x: hidden;
  color: var(--h-ink);
  font-family: 'Montserrat', sans-serif;
  -webkit-font-smoothing: antialiased;
}

/* The page owns its own flat background; styles.css' map-lines body texture
   would show through the sand and muddy it. */
body.home-page {
  background: var(--h-sand);
}

.home a { color: var(--h-teal); text-decoration: none; }
.home a:hover { color: var(--h-teal-bright); }
.home h1, .home h2, .home h3 { text-wrap: pretty; }

/* ═══════════════ Hero ═══════════════ */

.home-hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--h-dark);
  clip-path: url(#home-hero-wave-clip);
}

/* The slideshow. Two layers cross-fade while the visible one keeps zooming;
   assets in index.html drive the swap, this only positions and paints them. */
.home-hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}

.home-hero-bg .bg-layer {
  position: absolute;
  top: -5%;
  left: -5%;
  width: 110%;
  height: 110%;
  transform: scale(1);
  transform-origin: center;
  background-size: cover;
  background-position: center 40%;
  background-repeat: no-repeat;
  filter: blur(12px);
  opacity: 0;
  transition:
    opacity 1.8s ease-in-out,
    filter 1.8s ease-in-out,
    transform 6s ease-in-out;
}

.home-hero-bg #bg1 {
  opacity: 1;
  filter: blur(0);
}

/* A readability veil, not the mockup's heavy dark layer: the photo stays
   bright and only the strip behind the copy is darkened enough for white
   text to hold on the lightest frames. */
.home-hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg,
      rgba(8, 26, 34, 0.30) 0%,
      rgba(8, 26, 34, 0.10) 38%,
      rgba(8, 26, 34, 0.42) 100%);
}

.home-hero-inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  flex: 1;
}

/* Logo bar. No nav links: the sidebar is the menu on this site. */
.home-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1rem, 3vw, 1.6rem) clamp(1.1rem, 5vw, 4rem);
  padding-left: clamp(3.6rem, 5vw, 4rem);
}

/* The logo keeps its own colours — no brightness/invert filter, no plate
   behind it; a hero-ready artwork is coming. */
.home-brand a {
  display: inline-flex;
  align-items: center;
}

.home-brand img {
  width: clamp(200px, 30vw, 490px);
  height: auto;
  display: block;
}

/* Scroll hint: two chevrons bouncing down, faded so it never fights the copy. */
.home-hero-scroll {
  position: absolute;
  left: 50%;
  bottom: clamp(1.6rem, 5vh, 3rem);
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  pointer-events: none;
}

.home-hero-scroll-chevron {
  width: 14px;
  height: 14px;
  border-right: 2px solid rgba(255, 255, 255, 0.75);
  border-bottom: 2px solid rgba(255, 255, 255, 0.75);
  transform: rotate(45deg);
  animation: home-hero-scroll-bounce 1.8s ease-in-out infinite;
}

.home-hero-scroll-chevron:last-child {
  margin-top: -10px;
  animation-delay: 0.25s;
}

@keyframes home-hero-scroll-bounce {
  0%, 100% { opacity: 0.25; transform: rotate(45deg) translate(0, 0); }
  50% { opacity: 0.9; transform: rotate(45deg) translate(6px, 6px); }
}

@media (prefers-reduced-motion: reduce) {
  .home-hero-scroll-chevron { animation: none; opacity: 0.6; }
}

.home-hero-body {
  flex: 1;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: clamp(1.5rem, 4vw, 2rem) clamp(1.1rem, 5vw, 4rem) clamp(2.5rem, 6vw, 4.5rem);
}

@media (min-width: 768px) {
  .home-hero-body {
    align-items: center;
  }
}

.home-hero-copy {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.home-hero h1 {
  margin: 0;
  font-size: clamp(2.05rem, 5.4vw, 4.1rem);
  line-height: 1.04;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: #fff;
  text-shadow: 0 2px 18px rgba(4, 16, 22, 0.55);
}

.home-hero-lead {
  margin: clamp(0.9rem, 2vw, 1.3rem) 0 0;
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  line-height: 1.55;
  color: #fff;
  max-width: 46ch;
  text-shadow: 0 2px 14px rgba(4, 16, 22, 0.6);
}

.home-fineprint {
  margin: 0.85rem 0 0;
  font-size: 0.8rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.85);
  max-width: 44ch;
  text-shadow: 0 1px 10px rgba(4, 16, 22, 0.6);
}

/* ═══════════════ Search strip (tripstart, restyled) ═══════════════
 *
 * Same markup and classes tripstart.js binds to; only the skin changes:
 * one white pill holding destination + both dates + the button, matching
 * the design's single-field bar but with the date pickers the intake needs.
 */

.home-search {
  width: 100%;
  max-width: 860px;
  margin: clamp(1.4rem, 3vw, 2rem) 0 0;
}

.home-search .tripstart-row {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.96);
  border-radius: 16px;
  padding: 0.5rem;
  box-shadow: 0 22px 50px rgba(4, 14, 20, 0.35);
}

.home-search .tripstart-field {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.15rem;
  padding: 0.45rem 0.8rem;
  min-width: 0;
}

.home-search .tripstart-field.tripstart-where {
  flex: 3 1 200px;
}

.home-search .tripstart-dates {
  display: flex;
  gap: 0;
  flex: 2 1 280px;
  min-width: 0;
}

.home-search .tripstart-dates .tripstart-field {
  flex: 1 1 0;
  width: auto;
  min-width: 0;
  border-left: 1px solid var(--h-line);
}

.home-search .tripstart-label {
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--h-muted-2);
}

.home-search .tripstart-input {
  border: none;
  border-radius: 0;
  outline: none;
  background: transparent;
  box-shadow: none;
  padding: 0;
  width: 100%;
  min-width: 0;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  color: var(--h-ink);
  /* iOS shrinks native date controls otherwise */
  -webkit-appearance: none;
  appearance: none;
  min-height: 1.6rem;
}

.home-search .tripstart-input::placeholder { color: #8b9aa4; }

.home-search .tripstart-input:focus-visible {
  outline: 2px solid var(--h-teal);
  outline-offset: 3px;
  border-radius: 4px;
}

.home-search .tripstart-submit {
  flex: 0 0 auto;
  min-width: 160px;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 800;
  color: #fff;
  background: var(--h-teal);
  border: none;
  border-radius: 12px;
  padding: 0.95rem 1.4rem;
  min-height: 48px;
  cursor: pointer;
  box-shadow: none;
  transition: background 0.2s ease;
}

.home-search .tripstart-submit:hover {
  background: var(--h-teal-bright);
  transform: none;
  box-shadow: none;
}

/* Chips + nights line under the hero strip */
.home-search .tripstart-under {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 0.9rem;
}

.home-search .tripstart-chips-lbl {
  font-size: 0.72rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
}

.home-search .tripstart-chip {
  font-size: 0.75rem;
  font-weight: 700;
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  padding: 0.3rem 0.75rem;
  cursor: pointer;
}

.home-search .tripstart-chip:hover {
  background: rgba(255, 255, 255, 0.26);
  border-color: #fff;
  color: #fff;
}

.home-search .tripstart-nights {
  font-size: 0.75rem;
  font-weight: 700;
  color: #fff;
}

.home-search .tripstart-route {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(255, 255, 255, 0.9);
}

.home-search .tripstart-error {
  color: #ffd7d7;
  background: rgba(139, 0, 0, 0.35);
  border-radius: 10px;
  padding: 0.5rem 0.8rem;
}

/* ═══════════════ Sections ═══════════════ */

.home-section {
  --home-pad-top: clamp(2.5rem, 6vw, 5rem);
  padding: var(--home-pad-top) clamp(1.1rem, 5vw, 4rem);
}

.home-inner {
  max-width: 1160px;
  margin: 0 auto;
}

.home-h2 {
  margin: 0;
  font-size: clamp(1.6rem, 3.2vw, 2.5rem);
  line-height: 1.12;
  font-weight: 900;
  letter-spacing: -0.025em;
}

/* ── Voorbeeldreizen ── */

.home-examples { background: transparent; padding-left: 0; padding-right: 0; }

.home-examples-head {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 clamp(1.1rem, 5vw, 4rem);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.home-examples-head > div { flex: 1 1 320px; min-width: 0; }

.home-examples-head p {
  margin: 0.6rem 0 0;
  font-size: clamp(0.95rem, 1.3vw, 1.05rem);
  line-height: 1.55;
  color: var(--h-muted);
  max-width: 48ch;
}

.home-link-strong {
  font-size: 0.9rem;
  font-weight: 700;
  white-space: nowrap;
}

.home-cards {
  margin: clamp(1.5rem, 3vw, 2.2rem) auto 0;
  max-width: 1240px;
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 0.4rem clamp(1.1rem, 5vw, 4rem) 1rem;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}

.home-card {
  flex: 1 0 258px;
  min-width: 258px;
  scroll-snap-align: start;
  background: #fff;
  border: 1px solid var(--h-line);
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.home-card-photo {
  aspect-ratio: 4 / 3;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.home-card-body {
  padding: 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  flex: 1;
}

.home-card h3 {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.home-card-days {
  margin: 0.2rem 0 0;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--h-muted-2);
}

.home-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; }

.home-tag {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--h-teal-deep);
  background: #e6f4f4;
  border-radius: 999px;
  padding: 0.3rem 0.6rem;
}

.home-card-link {
  margin-top: auto;
  font-size: 0.9rem;
  font-weight: 800;
}

/* ── In drie stappen ── */

.home-steps {
  position: relative;
  background: var(--brand-gray);
  filter: drop-shadow(0 1px 2px rgba(15, 23, 42, 0.06));
  /* Top edge: a smooth curve, low on the left rising to high on the right
     (ease-in-out, so the section's fill reads as "inside" the curve).
     Bottom edge stays a straight line. The curve's height is a capped
     vw value (not a % of the section), so it stays a small accent instead
     of ballooning on mobile where the stacked steps make the section tall. */
  --home-steps-curve: clamp(14px, 4vw, 48px);
  clip-path: polygon(
    0% var(--home-steps-curve),
    5% calc(var(--home-steps-curve) * 0.9933),
    10% calc(var(--home-steps-curve) * 0.975),
    15% calc(var(--home-steps-curve) * 0.945),
    20% calc(var(--home-steps-curve) * 0.905),
    25% calc(var(--home-steps-curve) * 0.8533),
    30% calc(var(--home-steps-curve) * 0.7933),
    35% calc(var(--home-steps-curve) * 0.7283),
    40% calc(var(--home-steps-curve) * 0.655),
    45% calc(var(--home-steps-curve) * 0.5783),
    50% calc(var(--home-steps-curve) * 0.5),
    55% calc(var(--home-steps-curve) * 0.4217),
    60% calc(var(--home-steps-curve) * 0.345),
    65% calc(var(--home-steps-curve) * 0.2733),
    70% calc(var(--home-steps-curve) * 0.2067),
    75% calc(var(--home-steps-curve) * 0.1467),
    80% calc(var(--home-steps-curve) * 0.095),
    85% calc(var(--home-steps-curve) * 0.055),
    90% calc(var(--home-steps-curve) * 0.025),
    95% calc(var(--home-steps-curve) * 0.0067),
    100% 0,
    100% 100%,
    0% 100%
  );
}

.home-steps .home-inner {
  position: relative;
}

@media (max-width: 767px) {
  .home-steps .home-inner {
    margin-top: 0.75rem;
  }
}

/* A little clipped-on tag sitting on the content's left edge, not the
   screen's — four brand-color stripes, tilted like it's pinned to the page. */
.home-steps-tag {
  position: absolute;
  top: calc(var(--home-steps-curve) - var(--home-pad-top) - 30px);
  left: -0.6rem;
  width: 46px;
  height: 60px;
  display: block;
  background: linear-gradient(
    to right,
    var(--brand-primary) 0% 25%,
    var(--brand-accent) 25% 50%,
    var(--brand-3) 50% 75%,
    var(--brand-4) 75% 100%
  );
  box-shadow: 0 6px 14px rgba(15, 23, 42, 0.18);
  transform: rotate(-4deg);
}

.home-steps-grid {
  margin-top: clamp(1.6rem, 3vw, 2.6rem);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: clamp(1.5rem, 3vw, 2.5rem);
}

.home-step { display: flex; flex-direction: column; gap: 1rem; }

.home-step-num {
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  color: var(--h-teal-deep);
}

.home-step:nth-child(2) .home-step-num { color: var(--h-accent); }

.home-step h3 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.015em;
}

.home-step > p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--h-muted);
}

.home-mock {
  background: var(--h-sand-2);
  border: 1px solid #ebe6df;
  border-radius: 14px;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.home-mock-progress {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.home-mock-progress span:first-child {
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--h-muted-2);
}

.home-mock-bar {
  flex: 1;
  height: 4px;
  background: #e0dbd3;
  border-radius: 999px;
  overflow: hidden;
  display: block;
}

.home-mock-bar > span {
  display: block;
  width: 30%;
  height: 100%;
  background: var(--h-teal);
}

.home-mock-q { font-size: 0.92rem; font-weight: 700; }

.home-pills { display: flex; flex-wrap: wrap; gap: 0.4rem; }

.home-pill {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--h-muted);
  background: #fff;
  border: 1px solid #ddd7ce;
  border-radius: 999px;
  padding: 0.42rem 0.8rem;
}

.home-pill.is-on {
  color: #fff;
  background: var(--h-teal);
  border-color: var(--h-teal);
}

.home-mock-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: #fff;
  border-radius: 9px;
  padding: 0.55rem 0.7rem;
}

.home-mock-row .day {
  font-size: 0.68rem;
  font-weight: 800;
  color: var(--h-teal);
  min-width: 34px;
}

.home-mock-row .what {
  flex: 1;
  font-size: 0.82rem;
  font-weight: 600;
  color: #37474f;
  min-width: 0;
}

.home-mock-row .dur {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--h-muted-2);
}

.home-mock-row.is-faded { opacity: 0.5; }

.home-mock-row.is-moved {
  border: 1px solid var(--h-teal);
  transform: rotate(-1.4deg);
  box-shadow: 0 10px 20px rgba(15, 30, 40, 0.12);
}

.home-mock-row.is-moved .what { font-weight: 700; color: var(--h-ink); }

.home-mock-row.is-dropped .what {
  color: #9aa6ad;
  text-decoration: line-through;
}

.home-grip { font-size: 0.9rem; color: #b3bcc2; line-height: 1; }

/* ── Dark "van boeken tot vertrek" band ── */

.home-band {
  /*background: linear-gradient(160deg, var(--h-dark-2) 0%, var(--h-dark) 100%);*/
  background: url("/images/background-image-color.png") center / cover no-repeat;
  padding: clamp(3rem, 7vw, 6rem) clamp(1.1rem, 5vw, 4rem);
}

@media (min-width: 768px) {
  .home-band {
    margin-top: 1.5rem;
  }
}

.home-band-inner {
  max-width: 1160px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(2rem, 5vw, 4.5rem);
}

.home-band-copy { flex: 1 1 360px; min-width: 0; }

.home-band h2 {
  margin: 0;
  font-size: clamp(1.7rem, 3.6vw, 2.9rem);
  line-height: 1.1;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: #fff;
}

.home-band p {
  margin: clamp(1rem, 2vw, 1.4rem) 0 0;
  font-size: clamp(1rem, 1.4vw, 1.12rem);
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.75);
  max-width: 52ch;
}

.home-band-points {
  margin-top: clamp(1.6rem, 3vw, 2.4rem);
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem 2rem;
}

.home-band-points div { display: flex; align-items: center; gap: 0.6rem; }

.home-band-points i {
  width: 18px;
  height: 1px;
  background: var(--h-accent);
  display: block;
}

.home-band-points span {
  font-size: 0.88rem;
  font-weight: 800;
  color: #fff;
}

.home-phone-wrap { flex: 1 1 300px; min-width: 0; display: flex; justify-content: center; }

.home-phone {
  width: 100%;
  max-width: 300px;
  aspect-ratio: 9 / 19.5;
  background: #0f3742;
  border: 9px solid #17495a;
  border-radius: 46px;
  padding: 0.55rem;
  box-shadow: 0 34px 70px rgba(4, 30, 38, 0.5);
}

.home-phone-screen {
  position: relative;
  height: 100%;
  background: var(--h-sand);
  border-radius: 38px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.home-phone-status {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.7rem 1.1rem 0;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--h-ink);
}

.home-phone-status-icons { display: flex; align-items: center; gap: 4px; }

.home-phone-status-icons .signal,
.home-phone-status-icons .wifi {
  width: 13px;
  height: 9px;
  background: var(--h-ink);
  -webkit-mask: radial-gradient(circle at 50% 130%, transparent 55%, #000 58%) center / 100% 100% no-repeat;
  mask: radial-gradient(circle at 50% 130%, transparent 55%, #000 58%) center / 100% 100% no-repeat;
  opacity: 0.85;
}

.home-phone-status-icons .battery {
  width: 20px;
  height: 10px;
  border: 1.4px solid var(--h-ink);
  border-radius: 3px;
  opacity: 0.85;
  position: relative;
}

.home-phone-status-icons .battery::after {
  content: "";
  position: absolute;
  inset: 1.5px 3px 1.5px 1.5px;
  background: var(--h-ink);
  border-radius: 1px;
}

.home-phone-notch { flex: 0 0 auto; display: flex; justify-content: center; padding: 0.4rem 0 0.2rem; }

.home-phone-notch span {
  width: 74px;
  height: 4px;
  background: #dcd6cd;
  border-radius: 999px;
  display: block;
}

.home-phone-body {
  flex: 1;
  min-height: 0;
  padding: 0.6rem 1rem 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.home-phone-eyebrow {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--h-teal);
}

.home-phone-title {
  margin-top: 0.25rem;
  font-size: 1.25rem;
  font-weight: 900;
  letter-spacing: -0.025em;
}

.home-phone-meta { font-size: 0.76rem; font-weight: 600; color: var(--h-muted-2); }

.home-phone-days {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(180deg, #000 80%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 80%, transparent 100%);
}

.home-phone-row {
  flex: 0 0 auto;
  background: #fff;
  border-radius: 10px;
  padding: 0.6rem 0.7rem;
  display: flex;
  gap: 0.6rem;
  align-items: baseline;
}

.home-phone-row.is-faded { opacity: 0.55; }

.home-phone-row .day {
  font-size: 0.65rem;
  font-weight: 800;
  color: var(--h-teal);
  min-width: 32px;
}

.home-phone-row .what { font-size: 0.79rem; font-weight: 600; color: #37474f; }

.home-phone-row.is-empty {
  border: 1px dashed var(--h-teal);
  align-items: center;
}

.home-phone-row.is-empty .what { flex: 1; font-weight: 700; color: var(--h-teal); }

.home-phone-row.is-empty .cta { font-size: 0.72rem; font-weight: 800; color: var(--h-teal); }

.home-phone-home-indicator {
  flex: 0 0 auto;
  width: 108px;
  height: 4px;
  margin: 0.5rem auto 0.6rem;
  background: var(--h-ink);
  opacity: 0.25;
  border-radius: 999px;
}

.home-avatars { display: flex; align-items: center; gap: 0.5rem; }

.home-avatars .stack { display: flex; }

.home-avatars .stack span {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid var(--h-sand);
  display: block;
}

.home-avatars .stack span + span { margin-left: -7px; }

.home-avatars .note { font-size: 0.72rem; font-weight: 600; color: var(--h-muted-2); }

/* ── Prijs ── */



.home-price .home-inner { max-width: 620px; text-align: center; }

.home-price p {
  margin: 0.8rem auto 0;
  font-size: clamp(1rem, 1.4vw, 1.1rem);
  line-height: 1.65;
  color: var(--h-muted);
  max-width: 44ch;
}

.home-price .home-price-link { margin: 1.2rem 0 0; }

.home-price .home-price-link a { font-size: 0.95rem; font-weight: 800; }

/* ── Closing CTA ── */

/*.home-cta { background: linear-gradient(135deg, var(--h-teal) 0%, var(--h-teal-deep) 100%); }*/
/* Top and bottom edges curve like the limb of a globe: subtle, and each
   peak sits off-center rather than dead-middle. The curve height is a
   capped vw value (not a % of the section), so it stays a small accent on
   any screen instead of growing with the section's own height on mobile. */
.home-cta {
  background: url("/images/background-globe.png") center / cover no-repeat;
  --home-cta-curve: clamp(8px, 2.4vw, 26px);
  clip-path: polygon(
    0% calc(var(--home-cta-curve) * 1),
    10% calc(var(--home-cta-curve) * 0.8472),
    20% calc(var(--home-cta-curve) * 0.6154),
    30% calc(var(--home-cta-curve) * 0.3813),
    40% calc(var(--home-cta-curve) * 0.1834),
    50% calc(var(--home-cta-curve) * 0.0489),
    60% 0,
    70% calc(var(--home-cta-curve) * 0.0549),
    80% calc(var(--home-cta-curve) * 0.23),
    90% calc(var(--home-cta-curve) * 0.5406),
    100% calc(var(--home-cta-curve) * 1),
    100% calc(100% - var(--home-cta-curve) * 1),
    90% calc(100% - var(--home-cta-curve) * 0.8472),
    80% calc(100% - var(--home-cta-curve) * 0.6154),
    70% calc(100% - var(--home-cta-curve) * 0.3813),
    60% calc(100% - var(--home-cta-curve) * 0.1834),
    50% calc(100% - var(--home-cta-curve) * 0.0489),
    40% 100%,
    30% calc(100% - var(--home-cta-curve) * 0.0549),
    20% calc(100% - var(--home-cta-curve) * 0.23),
    10% calc(100% - var(--home-cta-curve) * 0.5406),
    0% calc(100% - var(--home-cta-curve) * 1)
  );
}

.home-cta .home-inner {
  max-width: 760px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.home-cta h2 {
  margin: 0;
  font-size: clamp(1.7rem, 3.4vw, 2.6rem);
  line-height: 1.1;
  font-weight: 900;
  letter-spacing: -0.03em;
  /*color: #fff;*/
}

.home-cta > .home-inner > p {
  margin: 0.7rem 0 0;
  font-size: clamp(0.98rem, 1.4vw, 1.1rem);
  line-height: 1.55;
  /*color: rgba(255, 255, 255, 0.85);*/
}

.home-cta .home-search { max-width: 760px; text-align: left; }

.home-cta .home-search .tripstart-row {
  background: #fff;
  box-shadow: 0 18px 40px rgba(6, 40, 42, 0.28);
}

.home-cta .home-search .tripstart-submit { background: var(--h-dark); }
.home-cta .home-search .tripstart-submit:hover { background: var(--h-dark-2); }

.home-cta .home-fineprint {
  color: #1a1410;
  max-width: none;
  text-align: center;
}

/* ═══════════════ Mobile ═══════════════ */

@media (max-width: 900px) {
  .home-band-inner { gap: 2rem; }
}

@media (max-width: 700px) {
  .home-hero-body { align-items: flex-start; padding-top: clamp(1rem, 4vw, 2rem); }

  /* One field per row on phones, the two dates side by side, button full
     width — the pill stays one card so it still reads as a single control. */
  .home-search .tripstart-row {
    flex-direction: column;
    align-items: stretch;
    gap: 0.35rem;
    padding: 0.4rem;
  }

  .home-search .tripstart-field.tripstart-where,
  .home-search .tripstart-dates { flex: 1 1 auto; width: 100%; }

  .home-search .tripstart-dates { gap: 0; }

  .home-search .tripstart-field { padding: 0.5rem 0.75rem; }

  .home-search .tripstart-dates .tripstart-field:first-child {
    border-left: none;
    border-top: 1px solid var(--h-line);
  }

  .home-search .tripstart-dates .tripstart-field:last-child {
    border-top: 1px solid var(--h-line);
  }

  .home-search .tripstart-submit {
    flex: 1 1 auto;
    width: 100%;
    min-width: 0;
    /* iOS zooms a focused control under 16px; the button is safe, the inputs
       above are set to 1rem for the same reason. */
    font-size: 1rem;
  }

  .home-search .tripstart-under {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .home-brand { padding-left: 3.2rem; }

  .home-card { flex: 0 0 84%; min-width: 84%; }
}

@media (max-width: 480px) {
  .home-hero h1 { font-size: clamp(1.9rem, 8.5vw, 2.4rem); }
  .home-phone { max-width: 100%; }
}
