/* Design B – mobile only (desktop unchanged) */

@media (max-width: 768px) {
  html,
  body {
    overflow-x: hidden;
  }

  body.path-active {
    padding-bottom: 3.5rem;
  }

  .wrap {
    width: min(100% - 1.25rem, var(--max));
  }

  /* Entry gate */
  .gate-top {
    padding: 0.875rem 1rem;
  }

  .gate-logo img {
    height: 36px;
  }

  .gate-main {
    grid-template-columns: 1fr;
    grid-template-rows: 1fr 1fr;
    min-height: 0;
  }

  .gate-panel {
    padding: 1.5rem 1.25rem;
    min-height: 0;
  }

  .gate-panel h2 {
    font-size: clamp(1.375rem, 6vw, 1.75rem);
    margin-bottom: 0.5rem;
  }

  .gate-panel p {
    font-size: 0.8125rem;
    margin-bottom: 1rem;
    line-height: 1.45;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .gate-panel-cta {
    font-size: 0.9375rem;
  }

  .gate-panel-cta span {
    width: 36px;
    height: 36px;
  }

  .gate-bottom {
    flex-direction: column;
    gap: 0.625rem;
    padding: 0.875rem 1rem;
    text-align: center;
  }

  .gate-bottom span {
    font-size: 0.75rem;
  }

  .gate-kommune {
    font-size: 0.8125rem;
    width: 100%;
    text-align: center;
  }

  /* Path header */
  .path-header {
    height: auto;
    min-height: var(--header-h);
  }

  .path-header-inner {
    flex-wrap: wrap;
    padding: 0.5rem 0;
    gap: 0.5rem;
  }

  .path-header img {
    height: 34px;
  }

  .path-nav {
    flex: 1;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 0.375rem;
  }

  .btn-switch {
    font-size: 0.6875rem;
    padding: 0.4rem 0.625rem;
  }

  .btn-contact {
    padding: 0.5rem 0.875rem;
    font-size: 0.75rem;
  }

  /* Path hero */
  .path-hero {
    padding: 2rem 0;
  }

  .path-hero-grid {
    gap: 1.5rem;
  }

  .path-hero h1 {
    font-size: clamp(1.5rem, 6.5vw, 1.875rem);
    line-height: 1.15;
    margin-bottom: 0.875rem;
  }

  .path-hero-lead {
    font-size: 0.9375rem;
    margin-bottom: 1.25rem;
  }

  .hero-highlight {
    font-size: 0.8125rem;
    padding: 0.4rem 0.75rem;
  }

  .hero-btns {
    flex-direction: column;
  }

  .hero-btns .btn {
    width: 100%;
    justify-content: center;
    padding: 0.875rem 1.25rem;
  }

  .path-hero-img {
    border-radius: 14px;
  }

  .path-hero-img img {
    aspect-ratio: auto;
    max-height: 260px;
    width: 100%;
    object-fit: cover;
    object-position: center top;
  }

  .path-hero.land .path-hero-img img {
    object-fit: contain;
    max-height: min(55vh, 340px);
    background: #fff;
  }

  .hero-float {
    position: relative;
    bottom: auto;
    left: auto;
    margin-top: 0.75rem;
    max-width: none;
    padding: 0.875rem 1rem;
  }

  .hero-float p {
    font-size: 0.8125rem;
  }

  /* Sections */
  .section {
    padding: 2.5rem 0;
  }

  .section-title {
    font-size: clamp(1.375rem, 5.5vw, 1.625rem);
  }

  .section-lead {
    font-size: 0.9375rem;
    margin-bottom: 1.75rem;
  }

  .steps,
  .pill-grid,
  .stats-row,
  .loc-grid {
    gap: 0.75rem;
  }

  .step,
  .pill,
  .benefit {
    padding: 1.125rem;
  }

  .step-num {
    font-size: 1.75rem;
    margin-bottom: 0.625rem;
  }

  .loc-card.span-2 {
    grid-column: span 1;
  }

  .loc-card img {
    aspect-ratio: 16 / 9;
  }

  .roadmap {
    gap: 1.25rem;
  }

  .road-item {
    text-align: left;
    padding: 0;
  }

  .road-dot {
    margin: 0 0 0.625rem;
  }

  /* FAQ */
  .faq-wrap {
    gap: 1.5rem;
  }

  .faq-btn {
    font-size: 0.9375rem;
    padding: 1rem;
  }

  /* Contact */
  .contact-panel {
    padding: 1.25rem;
    gap: 1.5rem;
    border-radius: var(--radius);
  }

  .contact-panel h2 {
    font-size: 1.25rem !important;
  }

  .contact-form .btn {
    width: 100%;
    justify-content: center;
  }

  .contact-aside {
    padding: 1.125rem;
  }

  /* Design switcher */
  .design-switch {
    bottom: 0.75rem;
    left: 0.75rem;
    font-size: 0.6875rem;
    padding: 0.5rem 0.75rem;
    max-width: calc(100vw - 1.5rem);
  }

  .design-switch span {
    width: 6px;
    height: 6px;
  }
}

@media (max-width: 480px) {
  .gate-panel:hover::before {
    transform: none;
  }

  .info-cards {
    grid-template-columns: 1fr;
  }

  .stat-card {
    padding: 1rem 0.5rem;
  }

  .stat-card strong {
    font-size: 1.375rem;
  }
}
