/* ═══════════════════════════════════════════════════════════
   UTILITIES
═══════════════════════════════════════════════════════════ */
.container {
  width: 100%;
  max-width: var(--content-max-width);
  margin-inline: auto;
  padding-inline: var(--content-padding);
}

.section {
  padding-block: var(--section-py-desktop);
}

.section--light {
  background: var(--color-surface-light);
}

.section--dark {
  background: var(--color-surface-dark);
  color: var(--color-text-on-dark);
}

.section--navy {
  background: var(--color-surface-navy);
  color: var(--color-text-on-dark);
}

.overline {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-secondary);
}

.overline--light {
  color: var(--primary-300);
}

.section-label {
  text-align: center;
  margin-bottom: var(--space-12);
}

.section-label .overline {
  margin-bottom: var(--space-3);
}

.section-label h2 {
  font-size: var(--text-4xl);
  font-weight: var(--weight-bold);
  margin-bottom: var(--space-4);
}

.section-label p {
  font-size: var(--text-lg);
  color: var(--color-text-secondary);
  max-width: 560px;
  margin-inline: auto;
  line-height: var(--leading-relaxed);
}

/* animation base state — JS adds .is-animated class then .is-visible */
.js-loaded .reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity var(--duration-slow) var(--ease-out-expo),
              transform var(--duration-slow) var(--ease-out-expo);
}
.js-loaded .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ═══════════════════════════════════════════════════════════
   BUTTONS
═══════════════════════════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 0.625rem 1.375rem;
  border-radius: var(--radius-md);
  font-family: var(--font-family);
  font-size: var(--text-base);
  font-weight: var(--weight-semibold);
  line-height: 1;
  cursor: pointer;
  border: 2px solid transparent;
  transition: background-color var(--duration-fast) var(--ease-out),
              border-color var(--duration-fast) var(--ease-out),
              color var(--duration-fast) var(--ease-out),
              transform var(--duration-fast) var(--ease-out),
              box-shadow var(--duration-fast) var(--ease-out);
  white-space: nowrap;
  text-decoration: none;
}

.btn:active {
  transform: translateY(0) scale(0.97) !important;
  box-shadow: none !important;
}

.btn--primary {
  background: var(--color-primary);
  color: var(--color-white);
  border-color: var(--color-primary);
}
.btn--primary:hover {
  background: var(--color-primary-hover);
  border-color: var(--color-primary-hover);
}

.hero .btn--primary,
.cta-band .btn--primary {
  background: var(--color-white);
  color: var(--color-primary);
  border-color: var(--color-white);
}
.hero .btn--primary:hover,
.cta-band .btn--primary:hover {
  background: var(--primary-100);
  border-color: var(--primary-200);
  transform: translateY(-1px);
}

.nav .btn--primary {
  background: var(--color-white);
  color: var(--color-primary);
  border-color: var(--color-white);
}
.nav .btn--primary:hover {
  background: var(--primary-100);
  border-color: var(--primary-200);
  transform: translateY(-1px);
}

.btn--ghost {
  background: transparent;
  color: var(--color-primary);
  border-color: var(--color-border-strong);
}
.btn--ghost:hover {
  background: var(--primary-50);
  border-color: var(--primary-300);
}

.btn--ghost-light {
  background: transparent;
  color: var(--color-white);
  border-color: rgba(255,255,255,0.35);
}
.btn--ghost-light:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.6);
}

.btn--lg {
  padding: 0.875rem 2rem;
  font-size: var(--text-lg);
  border-radius: var(--radius-lg);
}

.btn--sm {
  padding: 0.5rem 1rem;
  font-size: var(--text-sm);
}

/* ═══════════════════════════════════════════════════════════
   NAVBAR
═══════════════════════════════════════════════════════════ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-nav);
  height: var(--nav-height);
  display: flex;
  align-items: center;
  background: #fff;
}

.nav.nav--theme-light,
.nav.nav--theme-transparent {
  background: #fff;
}

.nav__inner {
  display: flex;
  align-items: center;
  gap: var(--space-8);
  width: 100%;
  padding-inline: 24px;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xl);
  font-weight: var(--weight-bold);
  color: var(--color-white);
  flex-shrink: 0;
  transition: color var(--duration-fast) var(--ease-out);
}

.nav.nav--theme-light .nav__logo {
  color: var(--color-text-primary);
}

.nav__logo .logo-image {
  display: none;
  width: 140px;
  height: auto;
}

.nav__logo .logo-dark {
  display: none;
}

.nav__logo .logo-light {
  display: inline-block;
}

.modal__logo .logo-dark {
  display: none;
}

.modal__logo .logo-light {
  display: inline-block;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: var(--space-6);
  margin-left: var(--space-4);
}

.nav__link {
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  color: var(--color-text-secondary);
  transition: color var(--duration-fast) var(--ease-out);
  position: relative;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 1.5px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--duration-default) var(--ease-out-expo);
}

.nav__link:hover {
  color: var(--color-text-primary);
}

.nav__link:hover::after {
  transform: scaleX(1);
}

.nav__actions {
  display: flex;
  align-items: center;
  gap: var(--space-5);
  margin-left: auto;
}

.nav__login {
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  color: var(--color-text-secondary);
  transition: color var(--duration-fast) var(--ease-out);
  cursor: pointer;
  background: none;
  border: none;
  font-family: inherit;
}

.nav__login:hover {
  color: var(--color-text-primary);
}

.nav.nav--theme-light .btn--primary {
  background: var(--color-primary);
  color: var(--color-white);
  border-color: var(--color-primary);
}

.nav.nav--theme-light .btn--primary:hover {
  background: var(--color-primary-hover);
  border-color: var(--color-primary-hover);
}

/* Mobile nav */
.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: var(--space-2);
  background: none;
  border: none;
  margin-left: auto;
}

.nav__hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-text-primary);
  border-radius: 2px;
  transition: background-color var(--duration-fast) var(--ease-out),
              transform var(--duration-default) var(--ease-in-out),
              opacity var(--duration-fast) var(--ease-out);
}

/* Hamburger → X when open */
.nav__hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__hamburger.is-open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav__hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Force dark navbar while menu is open */
.nav.nav--menu-open {
  background: var(--color-surface-dark) !important;
  box-shadow: none !important;
}
.nav.nav--menu-open .nav__logo { color: var(--color-white); }
.nav.nav--menu-open .nav__logo .logo-dark  { display: inline-block; }
.nav.nav--menu-open .nav__logo .logo-light { display: none; }
.nav.nav--menu-open .nav__hamburger span   { background: var(--color-white); }

.nav__mobile {
  display: none;
  position: fixed;
  top: 60px;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--color-surface-dark);
  z-index: calc(var(--z-nav) - 1);
  padding: var(--space-8) var(--content-padding) var(--space-8);
  flex-direction: column;
}

.nav__mobile.is-open {
  display: flex;
}

.nav__mobile-links {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

.nav__mobile-link {
  font-size: var(--text-xl);
  font-weight: var(--weight-semibold);
  color: var(--color-white);
}

.nav__mobile-actions {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

/* ═══════════════════════════════════════════════════════════
   HERO
═══════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  height: calc(100svh - var(--nav-height) - 24px);
  display: flex;
  align-items: center;
  background: url('../assets/images/bg-image.jpg') center/cover no-repeat;
  overflow: hidden;
  margin: 24px;
  margin-top: var(--nav-height);
  border-radius: 16px;
}

.hero__bg-glow {
  position: absolute;
  top: -20%;
  right: -10%;
  width: 60%;
  height: 80%;
  background: radial-gradient(ellipse, rgba(22,65,147,0.4) 0%, transparent 70%);
  pointer-events: none;
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.3fr);
  gap: var(--space-8);
  align-items: center;
  width: 100%;
  max-width: var(--content-max-width);
  margin-inline: auto;
  padding-inline: var(--content-padding);
  padding-block: var(--space-16) var(--space-20);
}

.hero__content {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
  max-width: 800px;
  padding: 48px;
}

.hero__overline {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary-300);
}

.hero__headline {
  font-size: clamp(2.8rem, 5vw, 4rem);
  font-weight: var(--weight-bold);
  line-height: var(--leading-tight);
  color: var(--color-white);
}

.hero__headline span {
  color: var(--primary-300);
}

.hero__subline {
  font-size: var(--text-lg);
  line-height: var(--leading-relaxed);
  color: var(--primary-200);
  max-width: 480px;
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  flex-wrap: wrap;
}

.hero__proof {
  font-size: var(--text-sm);
  color: var(--primary-300);
}

.hero__proof strong {
  color: var(--primary-200);
}

.hero__visual {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px;
}

.hero__visual-frame {
  position: relative;
  width: 100%;
  max-width: 900px;
}

.hero__visual-overlay {
  position: absolute;
  object-fit: cover;
  border-radius: var(--radius-xl);
  border: 4px solid #fff;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.08),
    0 24px 60px rgba(0,0,0,0.5),
    0 8px 20px rgba(0,0,0,0.35);
  transition: transform 0.7s var(--ease-out-expo);
  z-index: 2;
}

.hero__visual-overlay--bottom {
  left: -6%;
  bottom: -12%;
  width: 22%;
  max-width: 190px;
  aspect-ratio: 2 / 3;
  transform: perspective(1000px) rotateY(-4deg) rotateX(2deg);
}

.hero__screenshot:hover ~ .hero__visual-overlay--bottom,
.hero__visual-overlay--bottom:hover {
  transform: perspective(1000px) rotateY(-1deg) rotateX(0deg);
}

.hero__visual-overlay--top {
  left: 62%;
  top: -22%;
  width: 38%;
  max-width: 320px;
  aspect-ratio: 3 / 2;
  transform: translateX(-50%) perspective(1000px) rotateY(-4deg) rotateX(2deg);
}

.hero__screenshot:hover ~ .hero__visual-overlay--top,
.hero__visual-overlay--top:hover {
  transform: translateX(-50%) perspective(1000px) rotateY(-1deg) rotateX(0deg);
}

/* JS-gated initial hidden states for animation */
.js-loaded .hero__overline,
.js-loaded .hero__headline,
.js-loaded .hero__subline,
.js-loaded .hero__actions,
.js-loaded .hero__proof { opacity: 0; }
.js-loaded .hero__visual { opacity: 0; transform: translateY(24px); }

.hero__screenshot {
  width: 100%;
  max-width: 900px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.08),
    0 32px 80px rgba(0,0,0,0.5),
    0 8px 24px rgba(0,0,0,0.3);
  transform: perspective(1000px) rotateY(-4deg) rotateX(2deg);
  transition: transform 0.7s var(--ease-out-expo);
  background: white;
}

.hero__screenshot:hover {
  transform: perspective(1000px) rotateY(-1deg) rotateX(0deg);
}

.hero__screenshot img {
  width: 100%;
  display: block;
}

.hero__screenshot-chrome {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: #f0f0f0;
  padding: 10px 16px;
}

.hero__screenshot-chrome-dots {
  display: flex;
  gap: 8px;
}

.hero__screenshot-chrome-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ff5f57;
}

.hero__screenshot-chrome-dots span:nth-child(2) {
  background: #ffbd2e;
}

.hero__screenshot-chrome-dots span:nth-child(3) {
  background: #28c940;
}

.hero__screenshot-chrome-url {
  flex: 1;
  max-width: 100%;
  padding: 4px 12px;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid rgba(11,33,74,0.08);
}

.hero__screenshot-chrome-url span {
  display: block;
  font-size: 0.7rem;
  font-family: var(--font-family);
  color: #3b4a6b;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ── Hero custom cursor ─────────────────────────────────── */
.hero-cursor {
  position: fixed;
  top: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
  pointer-events: none;
  z-index: 9999;
  transform: scale(0.6);
  transform-origin: top left;
  opacity: 0;
  transition: transform 0.28s var(--ease-out-expo), opacity 0.18s var(--ease-out);
  will-change: transform, left, top;
}

.hero-cursor.is-visible {
  transform: scale(1);
  opacity: 1;
}

.hero-cursor__icon {
  display: block;
  filter: drop-shadow(0 2px 8px rgba(11, 33, 74, 0.45));
}

.hero-cursor__label {
  margin-left: 2px;
  padding: 0.28rem 0.65rem;
  border-radius: var(--radius-full);
  background: #164193;
  color: #ffffff;
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  letter-spacing: 0.03em;
  white-space: nowrap;
  box-shadow: var(--shadow-sm);
}

.hero__visual.has-custom-cursor,
.hero__visual.has-custom-cursor *,
.globe-section__mockup.has-custom-cursor,
.globe-section__mockup.has-custom-cursor * {
  cursor: none !important;
}

/* ═══════════════════════════════════════════════════════════
   TRUSTED BY
═══════════════════════════════════════════════════════════ */
.trusted {
  padding-block: 48px 96px;
}

.trusted__label {
  text-align: center;
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: var(--space-8);
}

.trusted__logos {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-6);
}

.trusted__logo-wrap {
  width: 120px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.trusted__logo {
  max-width: 100%;
  max-height: 36px;
  width: auto;
  height: auto;
  filter: grayscale(1) opacity(0.5);
  transition: filter var(--duration-default) var(--ease-out);
}

.trusted__logo-wrap:hover .trusted__logo {
  filter: grayscale(0) opacity(1);
}

/* ── GLOBE SECTION ──────────────────────────────────────── */
.globe-section {
  position: relative;
  background: var(--color-white);
  overflow: hidden;
  padding-block: var(--space-20) var(--space-16);
}

/* Subtle dotted Denmark map behind the content */
.globe-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url('../assets/Map.svg') no-repeat center;
  background-size: auto 90%;
  opacity: 1;
  pointer-events: none;
  z-index: 0;
}

.globe-section__content,
.globe-section .container {
  position: relative;
  z-index: 1;
}

.globe-section__content {
  text-align: center;
  max-width: 560px;
  margin-inline: auto;
  padding-inline: var(--content-padding);
  padding-bottom: var(--space-10);
}

.globe-section__headline {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  line-height: 1.25;
  color: var(--color-text-primary);
  margin: 0;
}

.globe-section__sub {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-text-secondary);
  margin-bottom: 0;
}

/* Bento: card | screenshot | card — 20% / 60% / 20%, cards fill height */
.data-bento {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  position: relative;
}

.data-card {
  padding: var(--space-5);
  border-radius: var(--radius-2xl);
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  justify-content: flex-start;
  box-shadow: var(--shadow-lg);
}

.data-card--left {
  margin-right: -32px;
  transform: translateY(-40px);
  position: relative;
}

.data-card__arrow {
  position: absolute;
  top: -180px;
  right: -20px;
  width: 200px;
  height: 200px;
  pointer-events: none;
  z-index: 2;
  overflow: visible;
}

.data-card--right {
  margin-left: -32px;
  position: relative;
}

.data-card__arrow-up {
  position: absolute;
  bottom: -240px;
  left: -20px;
  width: 260px;
  height: 260px;
  pointer-events: none;
  z-index: 2;
  overflow: visible;
}

/* Draw-on animation */
.draw-path {
  stroke-dasharray: 800;
  stroke-dashoffset: 800;
}

.draw-path--reverse {
  stroke-dasharray: 800;
  stroke-dashoffset: -800;
}

/* Arrow 1 — line and arrowhead together */
.is-visible .draw-path {
  animation: draw 1s ease-out forwards;
}

.is-visible .draw-path--delay {
  animation: draw 1s ease-out forwards;
}

/* Arrow 2 — starts after arrow 1 finishes (1s) */
.is-visible .draw-path--second {
  animation: draw-reverse 1s ease-out 1s forwards;
}

.is-visible .draw-path--second-delay {
  animation: draw-reverse 1s ease-out 1s forwards;
}

.is-visible .draw-path--second-delay2 {
  animation: draw-reverse 1s ease-out 1s forwards;
}

@keyframes draw {
  to { stroke-dashoffset: 0; }
}

@keyframes draw-reverse {
  from { stroke-dashoffset: -800; }
  to { stroke-dashoffset: 0; }
}

.data-card__icons {
  display: flex;
  margin-bottom: var(--space-1);
}

.data-card__icon-circle {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(11,33,74,0.10);
  flex-shrink: 0;
  border: 2px solid var(--primary-50);
}

.data-card__icon-circle + .data-card__icon-circle {
  margin-left: -4px;
}

.data-card__icon-circle img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}


.data-overview {
  z-index: 0;
  position: relative;
}

.data-card--blue {
  background: var(--primary-50);
}

.data-card--gray {
  background: var(--primary-50);
}

.data-card__title {
  font-size: var(--text-base);
  font-weight: var(--weight-bold);
  line-height: var(--leading-snug);
  color: var(--color-text-primary);
  margin: 0;
}

.data-card__body {
  font-size: var(--text-sm);
  line-height: var(--leading-relaxed);
  color: var(--color-text-secondary);
  margin: 0;
}

.data-bento {
  margin-bottom: 120px;
}

.data-overview {
  z-index: 0;
  position: relative;
  width: fit-content;
  margin-inline: auto;
  display: flex;
}

.data-overview__img {
  width: auto;
  max-width: 100%;
  height: 400px;
  display: block;
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-lg);
  object-fit: contain;
}

@media (max-width: 900px) {
  /* Stack: image full width, cards back in normal flow below it */
  .data-card--left,
  .data-card--right {
    position: static;
    transform: none;
    width: auto;
  }

  .data-bento {
    display: flex;
    flex-direction: column;
    gap: var(--space-6);
  }

  .data-overview {
    order: -1;
  }

  .data-overview__img {
    width: 100%;
  }

  .data-card__arrow,
  .data-card__arrow-up {
    display: none;
  }
}

.globe-section__globe {
  position: relative;
  max-width: 960px;
  margin-inline: auto;
}

/* Ejendomme mockup */
.globe-section__mockup {
  max-width: 1060px;
  margin-inline: auto;
  padding-inline: var(--content-padding);
  margin-top: 0;
  position: relative;
  z-index: 2;
}

.mockup-frame {
  background: white;
  border-radius: var(--radius-xl) var(--radius-xl) var(--radius-lg) var(--radius-lg);
  box-shadow: 0 8px 40px rgba(11,33,74,0.14), 0 2px 8px rgba(11,33,74,0.08);
  overflow: hidden;
}

.mockup-frame__bar {
  background: #f0f2f5;
  padding: 0.55rem 0.875rem;
  display: flex;
  align-items: center;
  gap: 6px;
  border-bottom: 1px solid #e4e8f0;
}

.mockup-frame__dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
}
.mockup-frame__dot:nth-child(1) { background: #ff5f57; }
.mockup-frame__dot:nth-child(2) { background: #febc2e; }
.mockup-frame__dot:nth-child(3) { background: #28c840; }

.mockup-frame__img {
  display: block;
  width: 100%;
}

/* Bottom edge fade matching section background */
.globe-section__globe::after {
  content: '';
  position: absolute;
  inset: auto 0 0 0;
  height: 22%;
  background: linear-gradient(to bottom, transparent, var(--color-white));
  pointer-events: none;
}

.globe-svg {
  display: block;
  width: 100%;
  overflow: visible;
}

.logo-node__img {
  clip-path: circle(27px at center);
}

/* ── GLOBE ANIMATION ─────────────────────────────────────────
   Phase 1 (once on entry): arcs draw from top pole downward.
   Phase 2 (looping after): traveling packets from varied positions.
   Both triggered by JS adding .phase1 / .phase2 to .globe-svg.
──────────────────────────────────────────────────────────── */

/* Base elements — invisible until phase1 starts */
.r-base { fill: none; stroke: #0058BF; stroke-linecap: round; opacity: 0; }
.r-vert    { stroke-dasharray: 400; stroke-dashoffset: 400; }
.r-arc-100 { stroke-dasharray: 429; stroke-dashoffset: 429; }
.r-arc-200 { stroke-dasharray: 485; stroke-dashoffset: 485; }
.r-arc-300 { stroke-dasharray: 553; stroke-dashoffset: 553; }

/* Phase 1: play once (forwards = stays at last frame = invisible) */
.globe-svg.phase1 .r-vert    { animation: r-400 10s ease-in-out forwards; }
.globe-svg.phase1 .r-arc-100 { animation: r-429 10s ease-in-out forwards; }
.globe-svg.phase1 .r-arc-200 { animation: r-485 10s ease-in-out forwards; }
.globe-svg.phase1 .r-arc-300 { animation: r-553 10s ease-in-out forwards; }

@keyframes r-400 { 0%{stroke-dashoffset:400;opacity:0} 5%{opacity:.55} 38%{stroke-dashoffset:0} 72%{stroke-dashoffset:0;opacity:.45} 88%{opacity:0} 100%{stroke-dashoffset:400;opacity:0} }
@keyframes r-429 { 0%{stroke-dashoffset:429;opacity:0} 5%{opacity:.55} 38%{stroke-dashoffset:0} 72%{stroke-dashoffset:0;opacity:.45} 88%{opacity:0} 100%{stroke-dashoffset:429;opacity:0} }
@keyframes r-485 { 0%{stroke-dashoffset:485;opacity:0} 5%{opacity:.55} 38%{stroke-dashoffset:0} 72%{stroke-dashoffset:0;opacity:.45} 88%{opacity:0} 100%{stroke-dashoffset:485;opacity:0} }
@keyframes r-553 { 0%{stroke-dashoffset:553;opacity:0} 5%{opacity:.55} 38%{stroke-dashoffset:0} 72%{stroke-dashoffset:0;opacity:.45} 88%{opacity:0} 100%{stroke-dashoffset:553;opacity:0} }

/* Phase 2: traveling packets — from pole, down each arc to the mockup */
.gp { stroke-dasharray: 30 2000; opacity: 0; fill: none; stroke-linecap: round; stroke: #0058BF; }

/* Center vertical (length 400) */
.globe-svg.phase2 .gp-v1 { animation: gpv1 3.5s ease-in 0s infinite; }
@keyframes gpv1 { 0%{stroke-dashoffset:0;opacity:0} 8%{opacity:.65} 82%{stroke-dashoffset:-430;opacity:.45} 95%{stroke-dashoffset:-430;opacity:0} 100%{stroke-dashoffset:-430;opacity:0} }

/* Arc-300 right (length ~553) */
.globe-svg.phase2 .gp-a1 { animation: gpa1 4.5s ease-in 1.2s infinite; }
@keyframes gpa1 { 0%{stroke-dashoffset:0;opacity:0} 8%{opacity:.6} 82%{stroke-dashoffset:-583;opacity:.4} 95%{stroke-dashoffset:-583;opacity:0} 100%{stroke-dashoffset:-583;opacity:0} }

/* Arc-300 left (length ~553) */
.globe-svg.phase2 .gp-a2 { animation: gpa2 4.5s ease-in 3.0s infinite; }
@keyframes gpa2 { 0%{stroke-dashoffset:0;opacity:0} 8%{opacity:.6} 82%{stroke-dashoffset:-583;opacity:.4} 95%{stroke-dashoffset:-583;opacity:0} 100%{stroke-dashoffset:-583;opacity:0} }

/* Arc-200 right (length ~485) */
.globe-svg.phase2 .gp-b1 { animation: gpb1 4.0s ease-in 0.6s infinite; }
@keyframes gpb1 { 0%{stroke-dashoffset:0;opacity:0} 8%{opacity:.6} 82%{stroke-dashoffset:-515;opacity:.4} 95%{stroke-dashoffset:-515;opacity:0} 100%{stroke-dashoffset:-515;opacity:0} }

/* Arc-200 left (length ~485) */
.globe-svg.phase2 .gp-b2 { animation: gpb2 4.0s ease-in 2.5s infinite; }
@keyframes gpb2 { 0%{stroke-dashoffset:0;opacity:0} 8%{opacity:.6} 82%{stroke-dashoffset:-515;opacity:.4} 95%{stroke-dashoffset:-515;opacity:0} 100%{stroke-dashoffset:-515;opacity:0} }

/* Arc-100 right (length ~429) */
.globe-svg.phase2 .gp-c1 { animation: gpc1 3.5s ease-in 1.8s infinite; }
@keyframes gpc1 { 0%{stroke-dashoffset:0;opacity:0} 8%{opacity:.6} 82%{stroke-dashoffset:-459;opacity:.4} 95%{stroke-dashoffset:-459;opacity:0} 100%{stroke-dashoffset:-459;opacity:0} }

/* Arc-100 left (length ~429) */
.globe-svg.phase2 .gp-c2 { animation: gpc2 3.5s ease-in 4.2s infinite; }
@keyframes gpc2 { 0%{stroke-dashoffset:0;opacity:0} 8%{opacity:.6} 82%{stroke-dashoffset:-459;opacity:.4} 95%{stroke-dashoffset:-459;opacity:0} 100%{stroke-dashoffset:-459;opacity:0} }

@media (prefers-reduced-motion: reduce) {
  .r-base, .gp { animation: none !important; }
  .testimonials__track { animation: none; }
}

@media (max-width: 640px) {
  .globe-section {
    padding-block: var(--space-16) 0;
  }
}

/* Logo placeholder for now */
.logo-placeholder {
  height: 28px;
  display: flex;
  align-items: center;
  font-size: var(--text-sm);
  font-weight: var(--weight-bold);
  color: var(--primary-300);
  letter-spacing: 0.04em;
  opacity: 0.5;
}

/* Testimonials */
.testimonials {
  padding-block: var(--space-24);
  overflow: hidden;
}

/* ── Marquee wrapper ── */
.testimonials__marquee-wrap {
  position: relative;
  margin-top: var(--space-12);
  padding-block: 20px;
  /* Fade edges */
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}

.testimonials__track {
  display: flex;
  gap: var(--space-6);
  width: max-content;
  animation: testimonials-scroll 45s linear infinite;
}

@keyframes testimonials-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* Pause on hover + fade siblings */
.testimonials__marquee-wrap:hover .testimonials__track {
  animation-play-state: paused;
}

.testimonials__marquee-wrap:hover .testimonial-card {
  opacity: 0.4;
  transition: opacity 0.2s var(--ease-out),
              transform 0.3s var(--ease-out-expo),
              box-shadow 0.3s var(--ease-out);
}

.testimonials__marquee-wrap:hover .testimonial-card:hover {
  opacity: 1;
  transform: translateY(-6px);
  box-shadow: 0 4px 12px rgba(11, 33, 74, 0.08);
}

.testimonial-card {
  background: #FBF9F7;
  border: none;
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  width: 320px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
  box-shadow: 0 1px 2px rgba(11, 33, 74, 0.04);
  transition: opacity 0.2s var(--ease-out),
              transform 0.3s var(--ease-out-expo),
              box-shadow 0.3s var(--ease-out);
}

.testimonial-card__quote {
  font-size: var(--text-base);
  line-height: var(--leading-relaxed);
  color: var(--color-text-primary);
  flex: 1;
}

.testimonial-card__quote::before {
  content: '\201C';
  font-size: var(--text-3xl);
  font-weight: var(--weight-bold);
  color: var(--color-primary);
  line-height: 0;
  vertical-align: -0.5rem;
  margin-right: var(--space-1);
}

.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.testimonial-card__avatar {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  background: var(--color-primary-subtle);
  align-items: center;
  justify-content: center;
  font-size: var(--text-sm);
  font-weight: var(--weight-bold);
  color: var(--color-primary);
  flex-shrink: 0;
}

.testimonial-card__logo {
  display: block;
  height: 32px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
  object-position: left center;
}

.testimonial-card__meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.testimonial-card__name {
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  color: var(--color-text-primary);
}

.testimonial-card__role {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

/* ═══════════════════════════════════════════════════════════
   PRODUCT VALUES
═══════════════════════════════════════════════════════════ */
.product-section {
  padding-block: var(--space-24);
}

.product-section__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-20);
  align-items: center;
}

.product-section__inner--reversed {
  direction: rtl;
}

.product-section__inner--reversed > * {
  direction: ltr;
}

.product-section__content {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

.product-tag {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-1) var(--space-3);
  background: var(--color-primary-subtle);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  color: var(--color-primary);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.product-section__headline {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: var(--weight-bold);
  line-height: var(--leading-snug);
  color: var(--color-text-primary);
}

.product-section__sub {
  font-size: var(--text-base);
  color: var(--color-text-secondary);
  line-height: var(--leading-relaxed);
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.feature-item {
  display: flex;
  gap: var(--space-3);
  align-items: flex-start;
}

.feature-item__icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-top: 2px;
  color: var(--color-primary);
}

.feature-item__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.feature-item__title {
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  color: var(--color-text-primary);
}

.feature-item__desc {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  line-height: var(--leading-relaxed);
}

.product-section__visual {
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-border);
  background: var(--color-surface-light);
}

.product-section__visual img {
  width: 100%;
  height: auto;
  display: block;
}

/* Screenshot placeholder */
.screenshot-placeholder {
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, var(--primary-50) 0%, var(--primary-100) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-300);
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
}

/* Lottie animation container */
.product-section__visual--lottie {
  background: transparent;
  border: none;
  box-shadow: none;
  overflow: visible;
}

.byggeradar-video {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-2xl);
}

/* ═══════════════════════════════════════════════════════════
   PRODUCTS — STICKY SCROLL
═══════════════════════════════════════════════════════════ */
.product-scroll {
  padding-block: var(--space-24);
}

.product-scroll__inner {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: var(--space-20);
  align-items: start;
}

.product-scroll__content {
  display: flex;
  flex-direction: column;
  gap: var(--space-32);
}

.product-step {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
  min-height: 90vh;
  justify-content: center;
}

.product-scroll__media {
  position: sticky;
  top: var(--nav-height);
  height: calc(100vh - var(--nav-height));
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-scroll__media-inner {
  position: relative;
  width: 100%;
  border-radius: var(--radius-2xl);
  overflow: hidden;
  background: transparent;
  filter: drop-shadow(0 8px 24px rgba(11,33,74,0.12)) drop-shadow(0 4px 8px rgba(11,33,74,0.08));
  transition: filter 0.5s ease-in-out;
}

.product-scroll__media-inner.is-fading {
  filter: drop-shadow(0 0 0 transparent);
}

.product-scroll__video {
  width: 100%;
  height: auto;
  display: block;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}

.product-scroll__video:not(:first-child) {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-scroll__video.is-active {
  opacity: 1;
}

/* Ejendomme tour — screenshots that cross-fade and slowly zoom, like a short video */
.ejendomme-tour {
  position: relative;
  aspect-ratio: 1832 / 1080;
  overflow: hidden;
  background: var(--color-white);
}

.ejendomme-tour__slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform-origin: 18% 30%;
  opacity: 0;
  animation: ejendomme-tour 15s ease-in-out infinite both;
}

.ejendomme-tour__slide:nth-child(2) { animation-delay: 5s; transform-origin: 30% 45%; }
.ejendomme-tour__slide:nth-child(3) { animation-delay: 10s; transform-origin: 25% 35%; }

@keyframes ejendomme-tour {
  0%   { opacity: 0; transform: scale(1); }
  4%   { opacity: 1; transform: scale(1); }
  10%  { opacity: 1; transform: scale(1); }
  33%  { opacity: 1; transform: scale(1.35); }
  37%  { opacity: 0; transform: scale(1.38); }
  100% { opacity: 0; transform: scale(1); }
}

.product-step__media .ejendomme-tour {
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-lg);
}

.product-step__media .ejendomme-tour .ejendomme-tour__slide {
  height: 100%;
  border-radius: 0;
  box-shadow: none;
}

@media (prefers-reduced-motion: reduce) {
  .ejendomme-tour__slide { animation: none; }
  .ejendomme-tour__slide:first-child { opacity: 1; }
}

/* Per-step inline media — mobile only */
.product-step__media {
  display: none;
}

.product-step__media video,
.product-step__media img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-lg);
}

/* ═══════════════════════════════════════════════════════════
   VIDEO / ABOUT
═══════════════════════════════════════════════════════════ */
.video-section {
  padding-block: var(--space-24);
  background: var(--color-surface-light);
}

.video-wrapper {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-2xl);
  overflow: hidden;
  background: var(--color-surface-dark);
  box-shadow: var(--shadow-lg);
  margin-top: var(--space-12);
}

.video-wrapper__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.video-wrapper__play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.play-btn {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-full);
  background: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
  transition: transform var(--duration-default) var(--ease-out),
              box-shadow var(--duration-default) var(--ease-out);
}

.video-wrapper:hover .play-btn {
  transform: scale(1.08);
  box-shadow: 0 12px 40px rgba(0,0,0,0.4);
}

.play-btn svg {
  width: 28px;
  height: 28px;
  color: var(--color-primary);
  margin-left: 4px;
}

/* ═══════════════════════════════════════════════════════════
   SOCIAL PROOF / STATS
═══════════════════════════════════════════════════════════ */
.stats-section {
  padding-block: var(--space-16) var(--space-24);
  background: var(--color-white);
  color: var(--color-slate-900);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-8);
  margin-block: var(--space-16);
}

.stat-item {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.stat-item__number {
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: var(--weight-bold);
  color: var(--color-slate-900);
  line-height: 1;
}

.stat-item__number .stat-suffix {
  font-size: 0.6em;
  vertical-align: super;
  color: var(--color-primary);
}

.stat-item__label {
  font-size: var(--text-sm);
  color: var(--color-slate-700);
  line-height: var(--leading-relaxed);
}

.stats-section__boligportal {
  display: flex;
  align-items: center;
  gap: var(--space-6);
  padding-top: var(--space-24);
  max-width: 680px;
  margin: 0 auto var(--space-16);
  text-align: center;
  flex-direction: column;
}

.boligportal-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  background: rgba(241, 245, 249, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.24);
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  color: var(--color-slate-900);
}

.stats-section__narrative {
  font-size: var(--text-base);
  color: var(--color-slate-700);
  line-height: var(--leading-relaxed);
  text-align: center;
}

/* ═══════════════════════════════════════════════════════════
   FAQ
═══════════════════════════════════════════════════════════ */
.faq-section {
  padding-block: var(--space-24);
}

.faq-list {
  max-width: 720px;
  margin-inline: auto;
  margin-top: var(--space-12);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.faq-item {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color var(--duration-fast) var(--ease-out);
}

.faq-item.is-open {
  border-color: var(--primary-200);
}

.faq-item__trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding: var(--space-5) var(--space-6);
  background: var(--color-white);
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  border: none;
  transition: background-color var(--duration-fast) var(--ease-out);
}

.faq-item__trigger:hover {
  background: var(--primary-50);
}

.faq-item.is-open .faq-item__trigger {
  background: var(--color-white);
}

.faq-item__question {
  font-size: var(--text-base);
  font-weight: var(--weight-semibold);
  color: var(--color-text-primary);
}

.faq-item__chevron {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: var(--color-text-muted);
  transition: transform var(--duration-default) var(--ease-in-out);
}

.faq-item.is-open .faq-item__chevron {
  transform: rotate(180deg);
}

.faq-item__body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows var(--duration-default) var(--ease-in-out);
}

.faq-item.is-open .faq-item__body {
  grid-template-rows: 1fr;
}

.faq-item__inner {
  overflow: hidden;
}

.faq-item__answer {
  padding: 0 var(--space-6) var(--space-5);
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  line-height: var(--leading-relaxed);
}

/* ═══════════════════════════════════════════════════════════
   CTA BAND
═══════════════════════════════════════════════════════════ */
.cta-band {
  padding-block: var(--space-24);
  background: linear-gradient(135deg, var(--primary-700) 0%, var(--primary-900) 100%);
  color: var(--color-white);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.cta-band__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-6);
}

.cta-band__headline {
  font-size: clamp(1.75rem, 4vw, 3rem);
  font-weight: var(--weight-bold);
  color: var(--color-white);
  max-width: 640px;
  line-height: var(--leading-snug);
}

.cta-band__sub {
  font-size: var(--text-base);
  color: var(--primary-200);
}

.cta-band__actions {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
  justify-content: center;
}

.cta-band__trust {
  font-size: var(--text-xs);
  color: var(--primary-300);
  letter-spacing: 0.02em;
}

/* ═══════════════════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════════════════ */
.footer {
  background: url('../assets/images/bg-footer.png') center/cover no-repeat;
  color: var(--color-text-primary);
  padding-block: var(--space-8);
  margin: 24px;
  border-radius: 16px;
  min-height: 400px;
  display: flex;
  flex-direction: column;
}

.footer .container {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.footer__top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: var(--space-12);
  padding-bottom: var(--space-12);
  border-bottom: none;
}

.footer__brand {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  align-items: flex-start;
}

.footer__logo img {
  height: 44px;
  width: auto;
  display: block;
}

.footer__boligportal-link {
  font-size: var(--text-base);
  color: var(--primary-500);
  font-weight: var(--weight-medium);
  transition: color var(--duration-fast) var(--ease-out);
}

.footer__boligportal-link:hover {
  color: var(--primary-700);
}

.footer__col-label {
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  color: var(--color-text-primary);
  margin-bottom: var(--space-4);
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.footer__link {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  position: relative;
  transition: color var(--duration-fast) var(--ease-out);
}

.footer__link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 1px;
  background: var(--color-text-primary);
  transition: width var(--duration-fast) var(--ease-out);
}

.footer__link:hover {
  color: var(--color-text-primary);
}

.footer__link:hover::after {
  width: 100%;
}

.footer__social {
  display: flex;
  gap: var(--space-3);
}

.footer__social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-primary);
  transition: opacity var(--duration-fast) var(--ease-out);
}

.footer__social-link:hover {
  opacity: 0.6;
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 0;
}

.footer__bottom-brand {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  color: var(--primary-700);
  text-decoration: none;
}

.footer__illustration {
  display: flex;
  align-items: flex-end;
}

.footer__bottom-legal {
  display: flex;
  gap: var(--space-6);
  margin-left: auto;
}

.footer__legal-link {
  font-size: var(--text-xs);
  color: var(--color-text-secondary);
  transition: color var(--duration-fast) var(--ease-out);
}

.footer__legal-link:hover {
  color: var(--color-text-primary);
}

/* ═══════════════════════════════════════════════════════════
   MODAL
═══════════════════════════════════════════════════════════ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(9,26,59,0.7);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: var(--z-overlay);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-4);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--duration-default) var(--ease-out),
              visibility var(--duration-default) var(--ease-out);
}

.modal-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.modal {
  background: var(--color-white);
  border-radius: var(--radius-2xl);
  padding: var(--space-10);
  width: 100%;
  max-width: 440px;
  box-shadow: var(--shadow-modal);
  position: relative;
  transform: scale(0.95) translateY(8px);
  transition: transform var(--duration-default) var(--ease-out);
  z-index: var(--z-modal);
}

.modal-overlay.is-open .modal {
  transform: scale(1) translateY(0);
}

.modal__close {
  position: absolute;
  top: var(--space-5);
  right: var(--space-5);
  width: 32px;
  height: 32px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--color-text-muted);
  transition: background-color var(--duration-fast) var(--ease-out),
              color var(--duration-fast) var(--ease-out);
}

.modal__close:hover {
  background: var(--color-surface-light);
  color: var(--color-text-primary);
}

.modal__logo {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-lg);
  font-weight: var(--weight-bold);
  color: var(--color-primary);
  margin-bottom: var(--space-6);
}

.modal__logo .logo-image {
  width: 92px;
  height: auto;
}

.modal__headline {
  font-size: var(--text-2xl);
  font-weight: var(--weight-bold);
  color: var(--color-text-primary);
  margin-bottom: var(--space-2);
}

.modal__sub {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  margin-bottom: var(--space-6);
}

.modal__state {
  display: none;
}

.modal__state.is-active {
  display: block;
}

/* Form */
.form-field {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  margin-bottom: var(--space-4);
}

.form-label {
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  color: var(--color-text-primary);
}

.form-input {
  width: 100%;
  padding: 0.625rem var(--space-3);
  border: 1.5px solid var(--color-border-strong);
  border-radius: var(--radius-md);
  font-family: var(--font-family);
  font-size: var(--text-sm);
  color: var(--color-text-primary);
  background: var(--color-white);
  transition: border-color var(--duration-fast) var(--ease-out),
              box-shadow var(--duration-fast) var(--ease-out);
  outline: none;
}

.form-input:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(22,65,147,0.12);
}

.form-input--error {
  border-color: #ef4444;
}

.form-input-wrapper {
  position: relative;
}

.form-input-wrapper .form-input {
  padding-right: 2.5rem;
}

.form-input-toggle {
  position: absolute;
  right: var(--space-3);
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  color: var(--color-text-muted);
  display: flex;
  padding: 0;
}

.form-link {
  font-size: var(--text-sm);
  color: var(--color-primary);
  cursor: pointer;
  background: none;
  border: none;
  font-family: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.form-link:hover {
  color: var(--color-primary-hover);
}

.form-error {
  font-size: var(--text-xs);
  color: #ef4444;
  display: none;
}

.form-error.is-visible {
  display: block;
}

.form-divider {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-block: var(--space-5);
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

.form-divider::before,
.form-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--color-border);
}

.form-switch {
  text-align: center;
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
}

.form-terms {
  display: flex;
  align-items: flex-start;
  gap: var(--space-2);
  font-size: var(--text-xs);
  color: var(--color-text-secondary);
  margin-bottom: var(--space-5);
}

.form-terms input[type="checkbox"] {
  margin-top: 2px;
  flex-shrink: 0;
  accent-color: var(--color-primary);
}

/* Modal success/info state */
.modal__icon-state {
  text-align: center;
  padding-block: var(--space-8);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-4);
}

.modal__icon-circle {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-full);
  background: var(--color-primary-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
}

/* ═══════════════════════════════════════════════════════════
   PRICING PAGE
═══════════════════════════════════════════════════════════ */
.pricing-hero {
  padding-top: 6rem;
  padding-bottom: var(--space-4);
  text-align: center;
}

.pricing-hero .overline {
  justify-content: center;
  margin-bottom: var(--space-4);
}

.pricing-hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: var(--weight-bold);
  color: var(--color-text-primary);
  margin-bottom: var(--space-4);
}

.pricing-hero p {
  font-size: var(--text-base);
  color: var(--color-text-secondary);
  max-width: 580px;
  margin-inline: auto;
  line-height: var(--leading-relaxed);
}

.pricing-tiers {
  padding-block: var(--space-10) var(--space-10);
}

@keyframes tier-fade-in {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

.tier-card {
  animation: tier-fade-in 0.4s ease-out both;
}
.tiers-grid .tier-card:nth-child(1) { animation-delay: 0ms; }
.tiers-grid .tier-card:nth-child(2) { animation-delay: 60ms; }
.tiers-grid .tier-card:nth-child(3) { animation-delay: 120ms; }
.tiers-grid .tier-card:nth-child(4) { animation-delay: 180ms; }

.pricing-tiers .container {
  max-width: 1400px;
}

.tiers-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch; /* equal-height cards per row */
  gap: var(--space-4);
  padding-top: 1.25rem;
}

.tier-card {
  background: var(--color-white);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  width: 340px;
  max-width: 100%;
  transition: box-shadow var(--duration-default) var(--ease-out),
              transform var(--duration-default) var(--ease-out);
}

.tier-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.tier-card__name {
  font-size: var(--text-2xl);
  font-weight: var(--weight-semibold);
  color: var(--color-text-primary);
}

.tier-card__tagline {
  font-size: var(--text-sm);
  line-height: var(--leading-normal);
  min-height: 4.5em; /* 3 lines, so prices line up across cards */
  color: #9ca3af;
}

.tier-card__price {
  display: flex;
  align-items: baseline;
  gap: var(--space-1);
}

.tier-card__amount {
  font-size: 2rem;
  font-weight: var(--weight-semibold);
  color: var(--color-text-primary);
  line-height: 1;
}

.tier-card__period {
  font-size: var(--text-base);
  color: #9ca3af;
}

.tier-card__divider {
  height: 1px;
  background: var(--color-border);
}

.tier-card__includes-label {
  font-size: var(--text-sm);
  font-weight: var(--weight-regular);
  color: #9ca3af;
}

.tier-card__features {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.tier-feature-group__title {
  font-size: var(--text-sm);
  font-weight: var(--weight-bold);
  color: var(--primary-700);
  margin-bottom: var(--space-2);
}

.tier-feature-item {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  color: var(--color-text-primary);
}

.tier-feature-item--muted {
  color: #a9a9a9;
}

.tier-feature-item svg {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  color: var(--color-text-primary);
}

.tier-feature-item--muted svg {
  color: #c5c5c5;
}

.coming-soon-badge {
  display: inline-flex;
  align-items: center;
  padding: 1px var(--space-2);
  background: var(--primary-50);
  color: var(--primary-700);
  font-size: 10px;
  font-weight: var(--weight-semibold);
  border-radius: var(--radius-sm);
  margin-left: var(--space-1);
  white-space: nowrap;
}

.tier-feature-toggle {
  width: 100%;
  min-height: 32px;
  padding: var(--space-1) 0;
  background: none;
  border: none;
  font-family: inherit;
  text-align: left;
  cursor: pointer;
  border-radius: var(--radius-sm);
}

.tier-feature-toggle:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

.tier-feature-toggle__name {
  flex: 1;
}

.tier-feature-item svg.tier-feature-toggle__chevron {
  width: 14px;
  height: 14px;
  color: var(--color-text-muted);
  transition: transform var(--duration-default) var(--ease-in-out);
}

.tier-feature.is-open .tier-feature-toggle__chevron {
  transform: rotate(180deg);
}

.tier-feature-desc {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows var(--duration-default) var(--ease-in-out);
}

.tier-feature.is-open .tier-feature-desc {
  grid-template-rows: 1fr;
}

.tier-feature-desc__inner {
  overflow: hidden;
}

.tier-feature-desc p {
  padding: var(--space-1) 0 var(--space-2) calc(16px + var(--space-2));
  font-size: var(--text-xs);
  line-height: var(--leading-relaxed);
  color: var(--color-text-secondary);
}

.tier-feature-group--highlight {
  background: var(--primary-50);
  border-radius: var(--radius-lg);
  padding: var(--space-3) var(--space-4);
}

.tier-card__footnote {
  margin-top: auto;
  font-size: var(--text-xs);
  color: #9ca3af;
}

.pricing-trial {
  max-width: calc(3 * 340px + 2 * var(--space-4));
  margin: 0 auto var(--space-4);
  background: var(--primary-50);
  border: 1.5px solid var(--primary-200);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-5);
}

.pricing-trial > div {
  flex: 1 1 360px;
}

.pricing-trial__title {
  font-size: var(--text-lg);
  font-weight: var(--weight-semibold);
  color: var(--color-text-primary);
  margin-bottom: var(--space-1);
}

.pricing-trial__text {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  line-height: var(--leading-relaxed);
}

.pricing-contact {
  max-width: calc(3 * 340px + 2 * var(--space-4));
  margin: var(--space-8) auto 0;
  background: var(--color-white);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-5);
}

.pricing-contact > div {
  flex: 1 1 360px;
}

.pricing-contact__title {
  font-size: var(--text-lg);
  font-weight: var(--weight-semibold);
  color: var(--color-text-primary);
  margin-bottom: var(--space-1);
}

.pricing-contact__text {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  line-height: var(--leading-relaxed);
}

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer__top {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-8);
  }
}

@media (max-width: 768px) {
  :root {
    --section-py-desktop: 3.5rem;
    --content-padding: 1rem;
  }

  .globe-section__content {
    padding-inline: 1rem;
  }

  /* Hero mobile */
  .hero {
    margin: 12px;
    margin-top: var(--nav-height);
    /* Grow past one screenful rather than clipping the tail of the content
       (the .hero__proof line) against the hero's overflow: hidden. */
    height: auto;
    min-height: calc(100svh - var(--nav-height) - 12px);
    border-radius: 12px;
  }

  .hero__inner {
    grid-template-columns: 1fr;
    padding-block: var(--space-10);
    gap: 0;
  }

  .hero__content {
    padding: 1rem;
    gap: var(--space-4);
  }

  .hero__headline {
    font-size: clamp(1.75rem, 8vw, 2.5rem);
  }

  .hero__subline {
    font-size: var(--text-base);
  }

  .hero__visual {
    padding: 0;
  }

  .hero__visual-frame {
    max-width: 100%;
  }

  .hero__screenshot {
    transform: none;
    max-width: 100%;
    border-radius: 12px;
    box-shadow: none;
  }

  /* Cap the screenshot so it can't push the headline and CTAs below the fold
     now that the hero is free to grow. */
  .hero__screenshot img {
    max-height: 32svh;
    object-fit: cover;
    object-position: top center;
  }

  .hero__visual-frame {
    margin-inline: -1rem;
    width: calc(100% + 2rem);
    max-width: none;
  }

  .hero__screenshot:hover {
    transform: none;
  }

  .hero__visual-overlay {
    display: none;
  }

  .nav__links,
  .nav__actions {
    display: none;
  }

  .nav__hamburger {
    display: flex;
  }

  .hero__inner {
    grid-template-columns: 1fr;
    padding-block: var(--space-16) var(--space-16);
    text-align: center;
  }

  .hero__content,
  .hero__visual {
    padding: 24px;
  }

  .hero__actions {
    justify-content: center;
  }

  .hero__visual {
    order: -1;
  }

  .hero__screenshot {
    transform: none;
  }

  .product-section__inner,
  .product-section__inner--reversed {
    grid-template-columns: 1fr;
    direction: ltr;
    gap: var(--space-8);
  }

  .product-scroll__inner {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .product-scroll__media {
    display: none;
  }

  .product-step {
    min-height: auto;
    gap: var(--space-5);
    padding-block: var(--space-12);
  }

  .product-step__media {
    display: block;
  }

  .stats-grid {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }

  .footer__top {
    grid-template-columns: 1fr;
  }

  .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-4);
  }

  .section-label h2 {
    font-size: var(--text-3xl);
  }
}

/* ── TEAM PAGE ──────────────────────────────────────────────── */
.nav__link--active { color: var(--color-primary) !important; opacity: 1; }
.nav__link--active::after { transform: scaleX(1) !important; opacity: 1 !important; }
.nav.nav--theme-light .nav__link--active { color: var(--color-text-primary) !important; }
.nav.nav--theme-light .nav__link--active::after { opacity: 0 !important; }

.team-hero {
  position: relative;
  background: var(--color-white);
  padding: 140px 0 80px;
  text-align: center;
  overflow: hidden;
}
.team-hero__bg-grid { display: none; }
.team-hero__bg-glow { display: none; }
.team-hero__inner { position: relative; z-index: 1; }
.team-hero__overline {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  color: var(--color-text-secondary);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: var(--space-4);
}
.team-hero__headline {
  font-size: clamp(2.2rem, 5vw, 3.75rem);
  font-weight: var(--weight-semibold);
  color: var(--color-text-primary);
  line-height: 1.1;
  margin-bottom: var(--space-5);
}
.team-hero__sub {
  font-size: var(--text-lg);
  color: var(--color-text-secondary);
  max-width: 500px;
  margin: 0 auto;
  line-height: 1.6;
}

.team-section {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 120px 0 80px;
  overflow: hidden;
}
.team-section__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-10);
}
.team-section__title-block {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
  max-width: 720px;
}
.team-section__heading {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: var(--weight-bold);
  color: var(--color-text-primary);
  line-height: 1.15;
}
.team-section__sub {
  font-size: var(--text-base);
  color: var(--color-text-secondary);
  max-width: 620px;
  line-height: 1.6;
}

/* ── Carousel nav buttons ────────────────────────────────── */
.team-carousel__nav {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}
.team-carousel__btn {
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 1.5px solid var(--color-border);
  background: var(--color-white);
  color: var(--color-text-primary);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background var(--duration-fast) var(--ease-out),
              border-color var(--duration-fast) var(--ease-out),
              color var(--duration-fast) var(--ease-out);
}
.team-carousel__btn:hover {
  background: var(--color-text-primary);
  border-color: var(--color-text-primary);
  color: var(--color-white);
}
.team-carousel__btn:disabled {
  opacity: 0.35;
  cursor: default;
  pointer-events: none;
}

/* ── Carousel track ──────────────────────────────────────── */
.team-carousel__track-wrap {
  overflow: hidden;
}
.team-carousel__track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-left: max(24px, calc((100vw - 1200px) / 2 + 24px));
  padding-left: max(24px, calc((100vw - 1200px) / 2 + 24px));
  padding-right: max(24px, calc((100vw - 1200px) / 2 + 24px));
  padding-bottom: 12px;
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.team-carousel__track::-webkit-scrollbar { display: none; }

/* ── Cards ───────────────────────────────────────────────── */
.team-card {
  position: relative;
  flex: 0 0 300px;
  height: 420px;
  border-radius: 16px;
  overflow: hidden;
  scroll-snap-align: start;
  cursor: default;
  transition: transform 0.35s var(--ease-out);
}
.team-card:hover {
  transform: translateY(-6px);
}
.team-card__photo {
  position: absolute;
  inset: 0;
}
.team-card__photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s var(--ease-out);
}
.team-card:hover .team-card__photo img { transform: scale(1.05); }
.team-card__placeholder {
  width: 100%; height: 100%;
  background: linear-gradient(160deg, var(--primary-200) 0%, var(--primary-400, #3a7fd5) 100%);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.5);
}
.team-card__placeholder svg { width: 64px; height: 64px; }
.team-card__overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 48px 20px 22px;
  background: linear-gradient(to top, rgba(0,0,0,0.72) 0%, rgba(0,0,0,0.32) 60%, transparent 100%);
}
.team-card__name {
  font-size: 1.05rem;
  font-weight: var(--weight-semibold);
  color: #ffffff;
  margin-bottom: 3px;
  line-height: 1.25;
}
.team-card__title {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.72);
  line-height: 1.35;
}
.team-card__email {
  display: inline-block;
  margin-top: 4px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.72);
  line-height: 1.35;
  text-decoration: none;
  transition: color 0.2s var(--ease-out);
}
.team-card__email:hover {
  color: #ffffff;
  text-decoration: underline;
}

/* Contact card (first in carousel) */
.team-card--contact {
  background: var(--color-primary);
}
.team-card__house {
  position: absolute;
  left: -26px;
  bottom: -22px;
  width: 80%;
  height: auto;
  opacity: 0.09;
  pointer-events: none;
  z-index: 0;
}
.team-card__house path {
  fill: #ffffff;
}
.team-card__contact {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 8px;
  padding: 32px 28px;
}
.team-card__contact-heading {
  font-size: 1.4rem;
  font-weight: var(--weight-semibold);
  color: #ffffff;
  margin-bottom: 6px;
  line-height: 1.25;
}
.team-card__contact-line {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.88);
  line-height: 1.4;
  text-decoration: none;
  transition: color 0.2s var(--ease-out);
}
.team-card__contact-line:hover {
  color: #ffffff;
  text-decoration: underline;
}

@media (max-width: 560px) {
  .team-hero { padding: 110px 0 72px; }
  .team-card { flex: 0 0 260px; height: 370px; }
  .team-carousel__nav { display: none; }
}

/* ── TEAM PHOTO COLLAGE ─────────────────────────────────────── */
.team-collage-section {
  background: var(--color-white);
  padding: var(--space-20) 0 var(--space-20);
}
.team-collage-section .team-about__inner {
  margin-bottom: var(--space-12);
}
.team-collage {
  display: grid;
  grid-template-columns: 5fr 4fr 4fr;
  grid-template-rows: 320px 280px;
  gap: 10px;
}
.team-collage__item {
  border-radius: 12px;
  overflow: hidden;
  background: var(--primary-100);
}
.team-collage__item--large { grid-row: 1 / 3; }
.team-collage__item--wide  { grid-column: 2 / 4; }
.team-collage__item img,
.team-collage__placeholder {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.team-collage__item img { transition: transform 0.45s var(--ease-out); }
.team-collage__item:hover img { transform: scale(1.04); }

@media (max-width: 700px) {
  .team-collage {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 220px 160px 160px;
  }
  .team-collage__item--large { grid-row: 1; grid-column: 1 / 3; }
  .team-collage__item--wide  { grid-column: 1 / 3; }
}

/* ─── TEAM CONTACT INTRO (Vi er her for at hjælpe) ──────────── */
.team-section__contact-intro {
  margin-top: var(--space-12);
  margin-bottom: var(--space-8);
}
.team-section__contact-heading {
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-weight: var(--weight-semibold);
  color: var(--color-text-primary);
  margin-bottom: var(--space-2);
}
.team-section__contact-sub {
  font-size: var(--text-base);
  color: var(--color-text-secondary);
  max-width: 580px;
  line-height: 1.6;
}

/* ─── OM DATA INSIGHTS SECTION ───────────────────────────────── */
.team-about-section {
  padding: 80px 0 100px;
}
.team-about__inner {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}
.team-about__heading {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: var(--weight-bold);
  color: var(--color-text-primary);
  line-height: 1.2;
  margin-bottom: var(--space-6);
}
.team-about__body {
  color: var(--color-text-secondary);
  font-size: var(--text-base);
  line-height: 1.75;
  margin-bottom: var(--space-10);
}
.team-about__body p + p {
  margin-top: var(--space-4);
}
.team-about__image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
}
.team-about__image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* ─── VALUE PROPS ─────────────────────────────────────────── */
.value-props__header {
  text-align: center;
  max-width: 640px;
  margin-inline: auto;
  margin-bottom: 2.5rem;
}
.value-props__headline {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: 0.75rem;
  line-height: 1.25;
}
.value-props__sub {
  color: var(--color-text-secondary);
  font-size: 1rem;
  line-height: 1.6;
}
.value-props__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.value-card {
  background: #f2ece6;
  border-radius: 12px;
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.value-card__overline {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin: 0;
}
.value-card__headline {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-text-primary);
  margin: 0;
  line-height: 1.3;
}
.value-card__body {
  font-size: 0.9rem;
  color: var(--color-text-secondary);
  line-height: 1.6;
  margin: 0;
  flex: 1;
}
.value-card__link {
  margin-top: 1rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-primary);
  text-decoration: none;
}
.value-card__link:hover { text-decoration: underline; }

@media (max-width: 768px) {
  .value-props__grid {
    grid-template-columns: 1fr;
  }
}

/* ── DATA BENTO RESPONSIVE ─────────────────────────────────── */
@media (max-width: 768px) {
  .data-bento {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }

  .data-card--left {
    order: 1;
    margin-right: 0;
    transform: none;
    height: auto;
    background: #fff;
  }

  .data-card--right {
    order: 2;
    margin-left: 0;
    height: auto;
    background: #fff;
  }

  .data-overview {
    display: none;
  }

  .data-card__arrow,
  .data-card__arrow-up {
    display: none;
  }
}

/* ── FOOTER RESPONSIVE ─────────────────────────────────────── */
@media (max-width: 1024px) {
  .footer__top {
    grid-template-columns: 1fr 1fr 1fr;
    gap: var(--space-8);
  }

  .footer__brand {
    grid-column: 1 / -1;
    flex-direction: row;
    align-items: center;
    gap: var(--space-6);
  }
}

@media (max-width: 640px) {
  .footer {
    margin: 12px;
    border-radius: 12px;
    padding-block: var(--space-6);
    background: var(--color-surface-light);
  }

  .footer__top {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-6);
  }

  .footer__brand {
    grid-column: 1 / -1;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-3);
  }

  .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-3);
  }

  .footer__bottom-legal {
    margin-left: 0;
  }
}

/* ── HERO EYEBROW ──────────────────────────────────────────── */
.hero__eyebrow {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-accent, #6b8cda);
  letter-spacing: 0.02em;
  margin-bottom: var(--space-3);
  opacity: 0.9;
}

/* ── TIMELINE SECTION (module 09) ─────────────────────────── */
.timeline-section .section-label {
  margin-bottom: var(--space-10);
}

.timeline-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

.timeline-card {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  padding: var(--space-8);
  background: var(--color-surface-light, #f8f9fb);
  border: 1px solid var(--color-border, #e8eaf0);
  border-radius: 16px;
}

.timeline-card__label {
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-accent, #164193);
  opacity: 0.7;
}

.timeline-card__title {
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--color-text-primary);
  line-height: var(--leading-snug);
  margin: 0;
}

.timeline-card__text {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  line-height: var(--leading-relaxed);
  flex: 1;
}

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

/* ── BOLIGPORTAL SECTION (module 10) ──────────────────────── */
.boligportal-section {
  border-top: 1px solid var(--color-border, #e8eaf0);
}

.boligportal-block {
  max-width: 640px;
  margin-inline: auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-4);
}

.boligportal-block__badge {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-accent, #164193);
  background: color-mix(in srgb, var(--color-accent, #164193) 10%, transparent);
  padding: var(--space-1) var(--space-3);
  border-radius: 999px;
}

.boligportal-block__text {
  font-size: var(--text-base);
  color: var(--color-text-secondary);
  line-height: var(--leading-relaxed);
}

/* ── BOTTOM CTA (module 12) ───────────────────────────────── */
.bottom-cta {
  background: var(--color-surface-light, #f8f9fb);
  border-top: 1px solid var(--color-border, #e8eaf0);
}

.bottom-cta__inner {
  max-width: 600px;
  margin-inline: auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-4);
}

.bottom-cta__inner h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  color: var(--color-text-primary);
  line-height: var(--leading-snug);
}

.bottom-cta__inner p {
  font-size: var(--text-base);
  color: var(--color-text-secondary);
  line-height: var(--leading-relaxed);
}

.bottom-cta__actions {
  display: flex;
  gap: var(--space-3);
  flex-wrap: wrap;
  justify-content: center;
}

.bottom-cta__micro {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  margin-top: var(--space-1);
}

/* ── FOOTER DESCRIPTION & COPYRIGHT ──────────────────────── */
.footer__desc {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: var(--leading-relaxed);
  margin-block: var(--space-2);
  max-width: 280px;
}

.footer__copyright {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  margin-left: auto;
}

@media (max-width: 640px) {
  .footer__copyright {
    margin-left: 0;
  }
}

/* ═══════════════════════════════════════════════════════════
   LEGAL PAGE
═══════════════════════════════════════════════════════════ */
.legal {
  padding: 120px 0 80px;
}

.legal__inner {
  max-width: 820px;
  margin-inline: auto;
}

.legal__title {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: var(--weight-bold);
  line-height: 1.15;
  padding-bottom: var(--space-8);
  border-bottom: 1px solid var(--color-border);
}

.legal__body h2 {
  font-size: var(--text-xl);
  margin-top: var(--space-10);
  margin-bottom: var(--space-4);
}

.legal__body p {
  color: var(--color-text-secondary);
  margin-bottom: var(--space-4);
}

.legal__body ul,
.legal__body ol {
  padding-left: var(--space-6);
  margin-bottom: var(--space-4);
}

.legal__body ul { list-style: disc; }
.legal__body ol { list-style: decimal; }

.legal__body li {
  color: var(--color-text-secondary);
  margin-bottom: var(--space-2);
}

.legal__body a {
  color: var(--color-primary);
  text-decoration: underline;
}
