/* Den smarte vej på ferie — 3 landingpages
 * Stram version: kun det de tre sider faktisk bruger.
 */

/* ═══════════════════════════════════════════════════════════════
 * SHELL — tab switcher
 * ═══════════════════════════════════════════════════════════════ */
.shell {
  background: var(--color-havskum);
  min-height: 100vh;
}
.shell-head {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(245, 243, 238, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--color-dyb-havblaa-08);
}
.shell-head-inner {
  max-width: 1480px;
  margin: 0 auto;
  padding: 14px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.shell-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.shell-brand-mark {
  width: 32px;
  height: 32px;
  border-radius: 99rem;
  background: var(--color-dyb-havblaa);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-havskum);
  font-weight: 700;
  font-size: 12px;
  flex: 0 0 auto;
}
.shell-brand-text {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.shell-brand-eyebrow {
  font-size: 10.5px;
  letter-spacing: 0.08em;
  color: var(--color-dyb-havblaa-60);
  font-weight: 500;
  text-transform: uppercase;
}
.shell-brand-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--color-dyb-havblaa);
  letter-spacing: -0.005em;
}
.tabs {
  display: flex;
  gap: 4px;
  background: var(--color-dyb-havblaa-08);
  padding: 4px;
  border-radius: 99rem;
}
.tab {
  font-family: var(--font-display);
  background: transparent;
  border: none;
  border-radius: 99rem;
  padding: 8px 18px;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-dyb-havblaa-80);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background .15s, color .15s;
  letter-spacing: 0.01em;
  white-space: nowrap;
}
.tab:hover { color: var(--color-dyb-havblaa); }
.tab.is-active {
  background: var(--color-dyb-havblaa);
  color: var(--color-havskum);
}
.tab-letter {
  width: 18px;
  height: 18px;
  border-radius: 99rem;
  background: var(--color-havskum);
  color: var(--color-dyb-havblaa);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 700;
}
.tab.is-active .tab-letter {
  background: var(--color-cta);
  color: var(--color-dyb-havblaa);
}
.shell-meta {
  font-size: 12px;
  color: var(--color-dyb-havblaa-60);
  font-weight: 500;
}
.page-frame {
  background: var(--color-havskum);
}
.page-hidden { display: none; }

/* ═══════════════════════════════════════════════════════════════
 * MOLSLINJEN NAV
 * ═══════════════════════════════════════════════════════════════ */
.mn {
  background: var(--color-dyb-havblaa);
  color: var(--color-havskum);
  width: 100%;
}
.mn-inner {
  max-width: 1480px;
  margin: 0 auto;
  padding: 16px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.mn-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--color-havskum);
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.02em;
  font-size: 16px;
}
.mn-logo img { display: block; height: 28px; width: auto; }
.mn-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.mn-btn {
  padding: 10px 18px;
  font-size: 13px;
  border-radius: 99rem;
  border: 1.5px solid var(--color-havskum);
  background: transparent;
  color: var(--color-havskum);
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 500;
  transition: background .15s, color .15s;
}
.mn-btn:hover { background: var(--color-havskum); color: var(--color-dyb-havblaa); }
.mn-btn.is-cta {
  background: var(--color-cta);
  border-color: var(--color-cta);
  color: var(--color-dyb-havblaa);
  font-weight: 700;
}
.mn-btn.is-cta:hover { background: var(--color-cta-hover); border-color: var(--color-cta-hover); }

/* ═══════════════════════════════════════════════════════════════
 * SHARED PRIMITIVES
 * ═══════════════════════════════════════════════════════════════ */
/* Scoped til .b-page wrapper, så design-typografien ikke spilder over
   på vores legacy beregner/FAQ/footer-elementer længere nede. */
.b-page h1, .b-page h2, .b-page h3, .b-page h4 {
  font-family: var(--font-display);
  margin: 0;
  letter-spacing: -0.005em;
}
.b-page .split-section-text h2 {
  margin: 0 0 1.8rem;
}
.b-page .split-section-text p {
  margin: 0 0 2.2rem;
}
/* Hero H1 beholder uppercase italic; alle andre h2 er minuskler (per grafiker 2026-05-20). */
.b-page h1 {
  text-transform: uppercase;
  font-style: italic;
  font-weight: 700;
}
.b-page h2 {
  text-transform: none;
  font-style: normal;
  font-weight: 700;
}
.b-page h3, .b-page h4 {
  font-weight: 500;
  font-style: normal;
  text-transform: none;
}
.b-page p {
  font-weight: 500;
}

/* ═══════════════════════════════════════════════════════════════
 * HANDOFF — banner der signalerer "her tager beregner-modulet over"
 * ═══════════════════════════════════════════════════════════════ */
.handoff {
  padding: 72px 0 88px;
  background: var(--color-havskum);
  color: var(--color-dyb-havblaa);
  border-top: 1px solid var(--color-dyb-havblaa-08);
}
.handoff.is-dark {
  background: var(--color-dyb-havblaa);
  color: var(--color-havskum);
  border-top-color: var(--color-dyb-havblaa-80);
}
.handoff-inner {
  max-width: 1480px;
  margin: 0 auto;
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.handoff-text {
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-width: 540px;
}
.handoff-eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  font-weight: 500;
  opacity: 0.7;
  margin: 0;
}
.handoff-title {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.005em;
  margin: 0;
}
.handoff-meta {
  font-size: 14px;
  opacity: 0.7;
  font-weight: 500;
  line-height: 1.5;
  margin: 0;
}
.handoff-line {
  flex: 1;
  height: 1px;
  background: currentColor;
  opacity: 0.18;
  min-width: 60px;
}
.handoff-arrow {
  width: 48px;
  height: 48px;
  border-radius: 99rem;
  border: 1.5px solid currentColor;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

/* ═══════════════════════════════════════════════════════════════
 * PAGE A — SANGE & SYNER (Cinematic / music-led)
 * ═══════════════════════════════════════════════════════════════ */

/* Hero */
.a-hero {
  position: relative;
  height: calc(100vh - 128px); /* shell-head + mols nav */
  min-height: 540px;
  max-height: 880px;
  overflow: hidden;
  background: var(--color-dyb-havblaa);
}
.a-hero-img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.a-hero::after {
  /* Bottom-only vignette so headline reads — never spans the photo */
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 45%;
  background: linear-gradient(to top, rgba(0,37,71,0.85), rgba(0,37,71,0));
  pointer-events: none;
}
.a-hero-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 28px 80px;
  z-index: 2;
}
.a-hero-content-inner {
  max-width: 1480px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 60px;
  align-items: end;
}
.a-hero-title {
  font-size: clamp(56px, 8vw, 124px);
  font-weight: 700;
  line-height: 0.94;
  color: var(--color-havskum);
  letter-spacing: -0.02em;
  margin: 0;
  text-wrap: balance;
}
.a-hero-title em {
  font-style: normal;
  color: var(--color-cta);
}
.a-hero-side {
  color: var(--color-havskum);
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-bottom: 14px;
}
.a-hero-pill {
  align-self: flex-start;
  background: var(--color-havblaa);
  color: var(--color-havskum);
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 600;
}
.a-hero-lede {
  font-size: 17px;
  line-height: 1.45;
  color: var(--color-dyb-havblaa-40);
  font-weight: 500;
  margin: 0;
}
.a-hero-ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.a-hero-play {
  position: absolute;
  left: 50%; top: 42%;
  transform: translate(-50%, -50%);
  z-index: 3;
}
.a-play-big {
  width: 96px; height: 96px;
  border-radius: 99rem;
  background: rgba(255,255,255,0.92);
  border: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--color-dyb-havblaa);
  transition: background .2s, transform .2s;
  box-shadow: 0 12px 50px rgba(0,0,0,0.35);
}
.a-play-big:hover { background: var(--color-havskum); transform: scale(1.04); }
.a-play-big svg { width: 32px; height: 32px; }

/* Sang / lyrics moment — interaktiv: H2 cykler igennem sangen, waveform fyldes op */
.a-lyrics {
  background: var(--color-dyb-havblaa);
  color: var(--color-havskum);
  padding: 80px 0 96px;
}
.a-lyrics-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 28px;
}

/* Skjult Vimeo iframe der spiller audio uden at vise videoen */
.a-lyrics-audio-host {
  position: absolute;
  left: -9999px;
  top: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  pointer-events: none;
}

.a-wave {
  display: flex;
  align-items: center;
  gap: 4px;
  height: 84px;
}
.a-wave-bar {
  width: 4px;
  background: var(--color-havblaa);
  border-radius: 99rem;
  opacity: 0.55;
  transition: background 1.2s cubic-bezier(.33, 0, .25, 1),
              opacity 1.2s cubic-bezier(.33, 0, .25, 1);
}
.a-wave-bar.is-played {
  background: var(--color-cta);
  opacity: 1;
}

/* Override .b-page h2 globalen — lyrics skal være sentence case + større */
.b-page h2.a-lyrics-body {
  text-transform: none;
  font-style: normal;
  font-weight: 600;
}

/* @property declaration tillader smooth transition af custom property på hvert ord. */
@property --word-progress {
  syntax: '<percentage>';
  inherits: false;
  initial-value: 0%;
}

.a-lyrics-body {
  font-size: clamp(34px, 4.2vw, 64px);
  line-height: 1.14;
  letter-spacing: -0.01em;
  margin: 32px 0 40px !important;
  text-wrap: balance;
  max-width: 22ch;
  min-height: 2.16em;
  animation: a-lyrics-fade .25s var(--ease);
  color: var(--color-havskum);
}

/* Pre-tændt ord — bruges af placeholder for at vise frozen mid-song state */
.a-lyrics-word.is-fixed-lit {
  --word-progress: 100%;
}

/* Karaoke-fyld pr. ord: hvert ord har sit eget gradient-clip fra venstre mod højre.
   --word-progress opdateres via JS RAF-loop direkte på DOM (60fps), så ingen CSS
   transition er nødvendig — hver frame tegnes præcist hvor den skal være. */
.a-lyrics-word {
  display: inline-block;
  --word-progress: 0%;
  background-image: linear-gradient(
    to right,
    var(--color-cta) 0%,
    var(--color-cta) var(--word-progress),
    var(--color-havskum) var(--word-progress),
    var(--color-havskum) 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

@keyframes a-lyrics-fade {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}
.a-lyrics-foot {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: end;
  padding-top: 28px;
  border-top: 1px solid var(--color-dyb-havblaa-80);
}
.a-lyrics-credit {
  font-size: 13px;
  color: var(--color-dyb-havblaa-40);
  font-weight: 500;
  line-height: 1.5;
  margin: 0;
}
.a-lyrics-credit strong {
  color: var(--color-havskum);
  font-weight: 600;
  display: block;
  margin-bottom: 2px;
}
.a-lyrics-actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }

/* Spotify-link — subtle hvidt link i brand-palette, Spotify-logo genkendeligt via form */
.a-lyrics-spotify {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-havskum);
  text-decoration: none;
  padding: 4px 8px;
  opacity: 0.75;
  transition: opacity .2s var(--ease);
}
.a-lyrics-spotify:hover { opacity: 1; }
.a-lyrics-spotify-mark {
  flex: 0 0 auto;
}

/* Recorder-mode UI — kun synlig når ?record=1 er sat i URL'en */
.a-lyrics-recorder {
  margin-top: 56px;
  padding: 24px;
  border: 1px dashed var(--color-dyb-havblaa-40);
  border-radius: var(--radius-card);
  display: flex;
  flex-direction: column;
  gap: 14px;
  color: var(--color-havskum);
}
.a-lyrics-recorder-head {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.a-lyrics-recorder-head strong {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-cta);
}
.a-lyrics-recorder-head span {
  font-size: 13px;
  opacity: 0.8;
  line-height: 1.5;
}
.a-lyrics-recorder-status {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 14px;
  flex-wrap: wrap;
}
.a-lyrics-recorder-status em {
  font-style: italic;
  opacity: 0.8;
}
.a-lyrics-recorder-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.a-lyrics-recorder-out {
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.55;
  background: rgba(0, 0, 0, 0.35);
  color: var(--color-havskum);
  border: 1px solid var(--color-dyb-havblaa-80);
  border-radius: 6px;
  padding: 10px 12px;
  resize: vertical;
  width: 100%;
  min-height: 100px;
}
.a-lyrics-recorder-hint {
  font-size: 12px;
  opacity: 0.7;
  margin: 0;
  line-height: 1.5;
}
.a-lyrics-recorder-hint code {
  font-family: var(--font-mono);
  background: rgba(255, 255, 255, 0.08);
  padding: 1px 6px;
  border-radius: 4px;
}

/* Tre øjeblikke — 3 implicit cinematic frames */
.a-moments {
  background: var(--color-havskum);
}
.a-moment {
  position: relative;
  width: 100%;
  height: 78vh;
  min-height: 560px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}
.a-moment + .a-moment {
  border-top: 8px solid var(--color-havskum);
}
.a-moment-photo {
  position: absolute;
  inset: 0;
  z-index: 1;
}
.a-moment-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.a-moment::before {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 55%;
  background: linear-gradient(to top, rgba(0,37,71,0.85) 0%, rgba(0,37,71,0) 100%);
  z-index: 2;
  pointer-events: none;
}
.a-moment-line {
  position: relative;
  z-index: 3;
  margin: 0 auto;
  padding: 0 28px 80px;
  max-width: 1180px;
  width: 100%;
  color: var(--color-havskum);
  font-size: clamp(34px, 4.2vw, 60px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.015em;
  text-wrap: balance;
}
.a-moment-accent { color: var(--color-cta); }

/* ═══════════════════════════════════════════════════════════════
 * PAGE B — KORT & KLAR (Cartographic / infographic)
 * ═══════════════════════════════════════════════════════════════ */

.b-hero {
  position: relative;
  background: var(--color-dyb-havblaa);
  color: var(--color-havskum);
  overflow: hidden;
  padding: 88px 0 96px;
}
.b-hero-grid {
  max-width: 1480px;
  margin: 0 auto;
  padding: 0 28px;
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 56px;
  align-items: center;
  min-height: 70vh;
}
.b-hero-text {
  position: relative;
  z-index: 2;
}
.b-hero-title {
  font-size: clamp(52px, 6.4vw, 100px);
  font-weight: 700;
  line-height: 0.95;
  margin: 0 0 24px;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.b-hero-title em {
  font-style: normal;
  display: block;
  color: var(--color-cta);
}
.b-hero-lede {
  font-size: 18px;
  line-height: 1.55;
  font-weight: 500;
  color: var(--color-dyb-havblaa-40);
  margin: 0 0 32px;
  max-width: 460px;
  text-wrap: pretty;
}
.b-hero-ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* Hero kort */
.b-hero-map {
  position: relative;
  aspect-ratio: 16 / 11;
  background: var(--color-dyb-havblaa-80);
  border-radius: var(--radius-card);
  overflow: hidden;
}
.b-hero-map-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
}
.b-hero-map-pin {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--color-havskum);
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
}
.b-hero-map-pin-a { left: 18%; top: 32%; }
.b-hero-map-pin-b { right: 6%; top: 52%; flex-direction: row-reverse; }
.b-hero-map-pin-dot {
  width: 16px; height: 16px;
  border-radius: 99rem;
  background: var(--color-havskum);
  border: 4px solid var(--color-dyb-havblaa);
  box-shadow: 0 0 0 2px var(--color-havskum);
}
.b-hero-map-pin-dot.is-end {
  background: var(--color-cta);
  border-color: var(--color-havskum);
  box-shadow: 0 0 0 4px rgba(0, 181, 237, 0.35);
}
.b-hero-map-pin-lbl {
  background: rgba(0, 37, 71, 0.7);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  white-space: nowrap;
}
.b-hero-map-time {
  position: absolute;
  right: 24px; bottom: 20px;
  background: var(--color-cta);
  color: var(--color-dyb-havblaa);
  padding: 12px 18px;
  border-radius: var(--radius-card);
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-family: var(--font-display);
}
.b-hero-map-time strong {
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.005em;
}
.b-hero-map-time span {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.02em;
}

/* "Hvilken vej vælger du?" — map-based IG-mock som i PDF side 68 */
.b-poll {
  background: var(--color-havskum);
  color: var(--color-dyb-havblaa);
  padding: 96px 0;
}
.b-poll-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 28px;
}
.b-poll-card {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-card);
  overflow: hidden;
  background: var(--color-dyb-havblaa);
}
.b-poll-map {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  background: var(--color-dyb-havblaa);
}

.b-poll-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  padding: 40px 36px 32px;
  display: flex;
  flex-direction: column;
  pointer-events: none;
}
.b-poll-overlay > * { pointer-events: auto; }

.b-poll-title {
  font-size: clamp(28px, 2.8vw, 38px);
  font-weight: 700;
  color: var(--color-havskum);
  line-height: 1.05;
  letter-spacing: -0.015em;
  margin: 0;
  text-wrap: balance;
  max-width: 10ch;
  /* Soft scrim bag teksten så den læses ovenpå rute-linjerne */
  padding: 14px 18px;
  margin-left: -18px;
  margin-top: -8px;
  background: linear-gradient(180deg, rgba(0,37,71,0.78) 0%, rgba(0,37,71,0.4) 100%);
  border-radius: 12px;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  text-shadow: 0 2px 16px rgba(0, 37, 71, 0.5);
}

.b-poll-price {
  position: absolute;
  top: 36px;
  right: 36px;
  width: 92px;
  height: 92px;
  border-radius: 99rem;
  background: var(--color-havskum);
  color: var(--color-dyb-havblaa);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.25);
  transform: rotate(-8deg);
}
.b-poll-price-eyebrow {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.04em;
  opacity: 0.7;
}
.b-poll-price-num {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1;
}
.b-poll-price-num small {
  font-size: 0.55em;
  font-weight: 700;
}

/* Stem-knapper — to clean knapper i bunden af kortet, ikke en pill */
.b-poll-pill {
  margin-top: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  width: 100%;
  max-width: 440px;
}
.b-poll-pill-btn {
  position: relative;
  overflow: hidden;
  border: 1.5px solid rgba(255,255,255,0.35);
  border-radius: 6px;
  padding: 14px 22px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  background: rgba(0, 37, 71, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--color-havskum);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  transition: background .2s var(--ease), border-color .2s var(--ease);
}
.b-poll-pill-btn:hover:not(:disabled) {
  background: rgba(0, 37, 71, 0.75);
  border-color: var(--color-havskum);
}
.b-poll-pill-fill {
  position: absolute;
  inset: 0;
  width: 0;
  z-index: 0;
  transition: width .9s cubic-bezier(.33, 0, .25, 1);
}
.b-poll-pill-btn.is-smart .b-poll-pill-fill { background: var(--color-cta); }
.b-poll-pill-btn.is-other .b-poll-pill-fill { background: var(--color-lavpris); }
.b-poll-pill.is-revealed .b-poll-pill-fill { width: var(--pct); }
.b-poll-pill.is-revealed .b-poll-pill-btn.is-picked .b-poll-pill-fill { width: 100%; }
.b-poll-pill.is-revealed .b-poll-pill-btn.is-picked {
  border-color: transparent;
}
.b-poll-pill.is-revealed .b-poll-pill-btn.is-smart.is-picked .b-poll-pill-label,
.b-poll-pill.is-revealed .b-poll-pill-btn.is-smart.is-picked .b-poll-pill-pct {
  color: var(--color-dyb-havblaa);
}

.b-poll-pill-label,
.b-poll-pill-pct {
  position: relative;
  z-index: 1;
}
.b-poll-pill-pct {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  opacity: 0;
  transform: translateX(8px);
}
.b-poll-pill.is-revealed .b-poll-pill-pct {
  opacity: 1;
  transform: translateX(0);
  transition: opacity .3s var(--ease) .5s, transform .3s var(--ease) .5s;
}

@media (max-width: 880px) {
  .b-poll-card { aspect-ratio: 4 / 3; }

  /* Sang-modul: stack credit + afspil-knapper i stedet for 2 kolonner,
     så credit-teksten ikke klemmes ind i en smal venstre-kolonne. */
  .a-lyrics-foot {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 20px;
  }
}

.b-story { display: none; }

/* (b-story regler fjernet — erstattet af .b-versus ovenfor) */

/* Photo + reverse-variant af b-routemod */
.b-routemod.is-reverse .b-routemod-inner {
  grid-template-columns: 5fr 6fr;
}
.b-routemod-photo {
  position: relative;
  aspect-ratio: 16 / 11;
  border-radius: var(--radius-card);
  overflow: hidden;
  background: var(--color-dyb-havblaa);
}
.b-routemod-photo img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.b-routemod-photo-tag {
  position: absolute;
  left: 20px; top: 20px;
  z-index: 2;
  background: rgba(0, 37, 71, 0.7);
  color: var(--color-havskum);
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

/* Tre øjeblikke — pin-anchored along a thread */
.b-moments {
  padding: 120px 0 100px;
  background: var(--color-havskum);
  overflow: hidden;
}
.b-moments-track {
  max-width: 1480px;
  margin: 0 auto;
  padding: 0 28px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  position: relative;
}
.b-moments-thread {
  position: absolute;
  left: 18%;
  right: 18%;
  top: 130px;
  height: 30px;
  z-index: 1;
}
.b-moment {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.b-moment-photo {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-card);
  overflow: hidden;
  background: var(--color-dyb-havblaa);
}
.b-moment-photo img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.b-moment-pin {
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  width: 32px; height: 32px;
  border-radius: 99rem;
  background: var(--color-havskum);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0, 37, 71, 0.2);
  z-index: 3;
}
.b-moment-pin-dot {
  width: 12px; height: 12px;
  border-radius: 99rem;
  background: var(--color-cta);
}
.b-moment-line {
  font-size: clamp(22px, 1.8vw, 28px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.005em;
  margin: 0;
  text-wrap: balance;
  color: var(--color-dyb-havblaa);
  text-align: center;
}

/* Map-modul — pusher ruten uden at konkurrere med musikvideo-hero */
.b-routemod {
  background: var(--color-havskum);
  color: var(--color-dyb-havblaa);
  padding: 100px 0;
}
.b-routemod-inner {
  max-width: 1480px;
  margin: 0 auto;
  padding: 0 28px;
  display: grid;
  grid-template-columns: 6fr 5fr;
  gap: 80px;
  align-items: center;
}
.b-routemod-text {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.b-routemod-eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  margin: 0;
  color: var(--color-dyb-havblaa-40);
}
.b-routemod-h {
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.05;
  margin: 0;
  letter-spacing: -0.015em;
  text-wrap: balance;
}
.b-routemod-lede {
  font-size: 17px;
  line-height: 1.5;
  color: var(--color-dyb-havblaa-80);
  font-weight: 500;
  margin: 8px 0 12px;
}
.b-routemod-ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.b-routemod-map {
  position: relative;
  aspect-ratio: 16 / 11;
  border-radius: var(--radius-card);
  overflow: hidden;
  background: var(--color-dyb-havblaa-80);
}
.b-routemod-map img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.b-routemod-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
}
.b-routemod-pin {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--color-havskum);
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
}
.b-routemod-pin-a { left: 18%; top: 32%; }
.b-routemod-pin-b { right: 6%; top: 52%; flex-direction: row-reverse; }
.b-routemod-pin-dot {
  width: 16px; height: 16px;
  border-radius: 99rem;
  background: var(--color-havskum);
  border: 4px solid var(--color-dyb-havblaa);
  box-shadow: 0 0 0 2px var(--color-havskum);
}
.b-routemod-pin-dot.is-end {
  background: var(--color-cta);
  border-color: var(--color-havskum);
  box-shadow: 0 0 0 4px rgba(0, 181, 237, 0.35);
}
.b-routemod-pin-lbl {
  background: rgba(0, 37, 71, 0.7);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  white-space: nowrap;
}
.b-routemod-time {
  position: absolute;
  right: 24px; bottom: 20px;
  background: var(--color-cta);
  color: var(--color-dyb-havblaa);
  padding: 12px 18px;
  border-radius: var(--radius-card);
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-family: var(--font-display);
}
.b-routemod-time strong {
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.005em;
}
.b-routemod-time span {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.02em;
}

/* Video-version af routemod-billedet — bruges af BTS-modulet */
.b-routemod-video { background: var(--color-dyb-havblaa); }
.b-routemod-video video {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.b-routemod-playbtn {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: 80px; height: 80px;
  border-radius: 99rem;
  background: var(--color-cta);
  border: 0;
  color: var(--color-dyb-havblaa);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s var(--ease), transform .2s var(--ease);
  box-shadow: 0 14px 40px rgba(0, 37, 71, 0.3);
  z-index: 2;
}
.b-routemod-playbtn:hover {
  background: var(--color-cta-hover);
  transform: translate(-50%, -50%) scale(1.04);
}

/* Hvid foto-grid — balancerer det blå */
.b-photogrid {
  padding: 120px 0 100px;
  background: var(--color-havskum);
  color: var(--color-dyb-havblaa);
}
.b-photogrid-inner {
  max-width: 1480px;
  margin: 0 auto;
  padding: 0 28px;
}
.b-photogrid-h {
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.005em;
  text-align: center;
  margin: 0 0 80px !important;
  text-wrap: balance;
  display: block;
}
.b-photogrid-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.b-photogrid-tile {
  margin: 0;
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-card);
  overflow: hidden;
  background-color: var(--color-dyb-havblaa);
  background-size: cover;
  background-position: center;
}
.b-photogrid-tile img,
.b-photogrid-tile video,
.b-photogrid-tile iframe {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  border: 0;
  transition: transform .4s var(--ease);
}
.b-photogrid-tile iframe {
  /* iframes can't object-fit; scale up so the player covers the tile
     without showing letterboxing. */
  min-width: 178%;
  min-height: 100%;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}
.b-photogrid-tile:hover img,
.b-photogrid-tile:hover video {
  transform: scale(1.03);
}
.b-photogrid-foot {
  display: flex;
  justify-content: center;
  margin-top: 56px;
}

/* ═══════════════════════════════════════════════════════════════
 * B · Feriestemning — cinematic full-bleed video-banner mellem moduler
 * ═══════════════════════════════════════════════════════════════ */
.b-ferie {
  position: relative;
  width: 100%;
  height: 65vh;
  min-height: 480px;
  max-height: 720px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  background: var(--color-dyb-havblaa);
}
.b-ferie-video {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  min-width: 178vh;       /* cover på smal viewport */
  min-height: 56.25vw;    /* cover på bred viewport */
  transform: translate(-50%, -50%);
  border: 0;
  pointer-events: none;
}
.b-ferie::before {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 65%;
  background: linear-gradient(to top, rgba(0,37,71,0.88) 0%, rgba(0,37,71,0) 100%);
  z-index: 2;
  pointer-events: none;
}
.b-ferie-line {
  position: relative;
  z-index: 3;
  margin: 0 auto;
  padding: 0 28px 80px;
  max-width: 1180px;
  width: 100%;
  color: var(--color-havskum);
}
.b-ferie-line p {
  font-size: clamp(32px, 4.2vw, 56px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.015em;
  margin: 0;
  text-wrap: balance;
  color: var(--color-havskum);
  max-width: 24ch;
}
.b-ferie-line em {
  font-style: normal;
  color: #fff;
}
.b-ferie-cta {
  margin-top: 32px;
  display: inline-flex;
  font-size: 20px;
  padding: 1.3rem 2rem;
  max-width: none;
}
.b-ferie-cta:hover {
  background-color: var(--color-cta-hover) !important;
}

/* ═══════════════════════════════════════════════════════════════
 * PAGE C — SANSEBILLEDER (Editorial photo-grid)
 * ═══════════════════════════════════════════════════════════════ */

.c-hero {
  position: relative;
  height: calc(100vh - 128px); /* shell-head + mols nav */
  min-height: 540px;
  max-height: 880px;
  overflow: hidden;
  background: var(--color-dyb-havblaa) url('/den-smarte-vej-paa-ferie/assets/photos/hero-placeholder.jpg') center/cover no-repeat;
}
.c-hero-img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
/* Video-version af hero — Vimeo iframe filled med cover-effekt
   (iframe har ikke object-fit, så vi scaler den større end containeren). */
.c-hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  min-width: 178vh;       /* 100vh * 16/9 — sikrer cover på smal viewport */
  min-height: 56.25vw;    /* 100vw * 9/16 — sikrer cover på bred viewport */
  transform: translate(-50%, -50%);
  border: 0;
  pointer-events: none;
}
.c-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(0,37,71,0.45) 0%, rgba(0,37,71,0) 30%),
    linear-gradient(to top, rgba(0,37,71,0.7) 0%, rgba(0,37,71,0) 45%);
  pointer-events: none;
}
.c-hero-corner {
  position: absolute;
  left: 0; top: 0;
  z-index: 2;
  padding: 36px 40px;
  color: var(--color-havskum);
}
.c-hero-issue {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  opacity: 0.85;
  margin: 0 0 6px;
}
.c-hero-volume {
  font-size: 14px;
  letter-spacing: 0.04em;
  opacity: 0.85;
  margin: 0;
  font-weight: 500;
}
.c-hero-title {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 0 28px 120px;
  z-index: 2;
  color: var(--color-havskum);
}
.c-hero-title-inner {
  max-width: 1480px;
  margin: 0 auto;
}
.c-hero-title h1 {
  font-size: clamp(48px, 6.5vw, 104px);
  font-weight: 700;
  line-height: 0.92;
  letter-spacing: -0.022em;
  margin: 0;
  text-wrap: balance;
}
.c-hero-deck {
  font-size: 18px;
  margin: 24px 0 0;
  max-width: 560px;
  line-height: 1.45;
  font-weight: 500;
  text-wrap: pretty;
}

/* Hero pill — lille tag under H1, matcher reference-layoutet */
.c-hero-pill {
  display: inline-flex;
  align-items: center;
  margin-top: 12px;
  padding: 14px 26px;
  border-radius: 6px;
  background: var(--color-havblaa);
  color: var(--color-havskum);
  font-family: var(--font-display);
  font-style: normal;
  text-transform: none;
  font-weight: 600;
  font-size: 17px;
  letter-spacing: 0.01em;
}

/* CTA-blå play-knap centralt over editorial hero */
.c-hero-play {
  position: absolute;
  z-index: 3;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.c-hero-play-btn {
  width: 72px;
  height: 72px;
  border-radius: 99rem;
  background: var(--color-cta);
  border: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--color-dyb-havblaa);
  transition: background .2s var(--ease), transform .2s var(--ease);
  box-shadow: 0 12px 50px rgba(0, 37, 71, 0.45);
}
.c-hero-play-btn:hover {
  background: var(--color-cta-hover);
  transform: scale(1.05);
}
.c-hero-play-btn svg { width: 22px; height: 22px; }
.c-hero-play-lbl {
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--color-havskum);
  font-weight: 600;
  text-shadow: 0 1px 12px rgba(0, 37, 71, 0.6);
  text-transform: uppercase;
}

/* Lead-in panel */
.c-lead {
  padding: 140px 0;
  background: var(--color-sand);
}
.c-lead-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.c-lead-body {
  font-size: clamp(36px, 4.4vw, 60px);
  font-weight: 700;
  line-height: 1.07;
  letter-spacing: -0.015em;
  margin: 0;
  text-wrap: balance;
  color: var(--color-dyb-havblaa);
  max-width: 18ch;
}
.c-lead-body em {
  font-style: italic;
  font-weight: 700;
  color: var(--color-havblaa);
}

/* Photo essay — 3 implicitte øjeblikke */
.c-essay-set { background: var(--color-havskum); }
.c-essay {
  display: grid;
  grid-template-columns: 7fr 5fr;
  align-items: stretch;
}
.c-essay:nth-child(even) {
  grid-template-columns: 5fr 7fr;
}
.c-essay:nth-child(even) .c-essay-photo { order: 2; }
.c-essay:nth-child(even) .c-essay-cap { order: 1; }
.c-essay-photo {
  position: relative;
  min-height: 70vh;
  background: var(--color-dyb-havblaa);
  overflow: hidden;
}
.c-essay-photo img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.c-essay-cap {
  background: var(--color-havskum);
  padding: 80px 64px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 24px;
  position: relative;
}
.c-essay-eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--color-dyb-havblaa-60);
  margin: 0;
}
.c-essay-line {
  font-size: clamp(28px, 3.2vw, 44px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin: 0;
  text-wrap: balance;
  max-width: 18ch;
}
.c-essay + .c-essay { border-top: 1px solid var(--color-dyb-havblaa-08); }

/* ═══════════════════════════════════════════════════════════════
 * RESPONSIVE
 * ═══════════════════════════════════════════════════════════════ */
@media (max-width: 880px) {
  .a-hero-content-inner,
  .b-hero-grid,
  .b-routemod-inner,
  .b-routemod.is-reverse .b-routemod-inner,
  .c-essay,
  .c-essay:nth-child(even) {
    grid-template-columns: 1fr;
  }
  .b-moments-track { grid-template-columns: 1fr; gap: 16px; }
  /* Video-grid: behold 2 kolonner (2×3) på mobil så det ikke bliver
     ét meget langt scroll. */
  .b-photogrid-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .b-moments-thread { display: none; }
  .a-moment { height: auto; aspect-ratio: 16/10; min-height: 0; }
}

/* ═══════════════════════════════════════════════════════════════
 * LOAD-STATE — skjul legacy-HTML (calculator/FAQ/footer/popup)
 * indtil React har monteret design-modulerne i #root.
 * ═══════════════════════════════════════════════════════════════ */
#root:empty ~ * {
  display: none !important;
}
#root:empty {
  min-height: 100vh;
  background: var(--color-dyb-havblaa);
}

/* Stablede split-sections: når 2 splits ligger ved siden af hinanden
 * (left+right), reducer padding mellem dem (men behold sektionernes
 * indre rummet). Bruger sibling-selector. */
.split-section + .split-section {
  padding-top: 32px;
}
.split-section:has(+ .split-section) {
  padding-bottom: 32px;
}

/* Hvid pil i Book billet-knap (booking-cta i calculator-sektion) — matcher
 * hvid tekst-farve nu hvor knappen er hvid-på-lyseblå. */
.booking-cta img {
  filter: brightness(0) invert(1);
}

/* Calculator-undtagelse: den finale Book billet-knap nederst i beregneren
 * skal være større/mere prominent end de øvrige CTAs (20px tekst + extra padding). */
.calculator-section .booking-cta {
  padding: 1.3rem 2rem;
}
.calculator-section .booking-cta,
.calculator-section .booking-cta-text {
  font-size: 20px;
}

/* Google Maps city-labels — Korolev font + let halo (position via labelOrigin i JS).
   !important fordi Google's inline-styles ellers vinder. */
.map-city-label {
  font-family: korolev, "Helvetica Neue", sans-serif !important;
  font-feature-settings: "kern" 1;
  text-shadow: 0 1px 2px rgba(0, 37, 71, 0.5);
  white-space: nowrap;
  letter-spacing: 0.01em;
}

/* BEVIDST FJERNET: det dekorative gradient-overlay (`.map-wrapper::after`)
 * + `isolation: isolate` skabte et kompositerings-lag oven på Google-kortets
 * WebGL-canvas. På iOS Safari mistede kortet sin tegning når siden
 * recompositede (autocomplete-valg/tastatur), og stod blankt indtil en
 * repaint. Overlayet var rent kosmetisk — fjernet frem for at lappe med
 * tvungne resize-events. */
