@media (max-width: 1080px) {
  .main-nav,
  .nav-actions .button {
    display: none;
  }

  .nav-shell {
    grid-template-columns: 1fr auto;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .main-nav.is-open {
    position: absolute;
    width: auto;
    justify-self: stretch;
    top: calc(100% + 8px);
    right: 24px;
    left: 24px;
    display: block;
    max-height: calc(100vh - 112px);
    padding: 12px;
    overflow-y: auto;
    border: 1px solid rgba(228, 167, 110, 0.38);
    border-radius: var(--radius-md);
    background: rgba(6, 16, 24, 0.98);
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.5);
  }

  .main-nav.is-open::before {
    display: block;
    padding: 8px 12px 12px;
    color: #8ea4af;
    content: 'Navigatie';
    font-family: var(--font-display);
    font-size: var(--step--1);
    font-weight: 700;
    letter-spacing: 0.11em;
    text-transform: uppercase;
  }

  .nav-list {
    align-items: stretch;
    flex-direction: column;
    gap: 6px;
  }

  .nav-list a {
    display: flex;
    min-height: 58px;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.04);
    font-size: 0.98rem;
  }

  .nav-list a::after {
    position: static;
    width: auto;
    height: auto;
    transform: none;
    background: transparent;
    color: var(--blue-bright);
    content: '›';
    font-size: 1.55rem;
    line-height: 1;
  }

  .nav-list a:hover,
  .nav-list a[aria-current='page'] {
    border-color: rgba(228, 167, 110, 0.35);
    background: var(--blue-surface);
    color: var(--white);
  }

  .nav-list a[aria-current='page']::after {
    color: var(--white);
  }

  .menu-toggle {
    transition: color 180ms ease, background 180ms ease, border-color 180ms ease;
  }

  .menu-toggle svg {
    transition: transform 220ms var(--ease);
  }

  .menu-toggle[aria-expanded='true'] {
    border-color: var(--signal);
    background: var(--signal);
    color: var(--ink);
  }

  .menu-toggle[aria-expanded='true'] svg {
    transform: rotate(90deg);
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-status {
    width: min(100%, 560px);
  }

  .proof-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .proof-item:nth-child(2) {
    border-right: 1px solid rgba(255, 255, 255, 0.24);
  }

  .service-row {
    grid-template-columns: 64px minmax(220px, 0.8fr) minmax(0, 1fr) auto;
  }

  .rail-layout {
    gap: 48px;
  }
}

@media (max-width: 767px) {
  body {
    padding-bottom: 72px;
  }

  .site-header {
    top: 8px;
  }

  .nav-shell {
    min-height: 64px;
    padding: 6px 6px 6px 12px;
  }

  .brand img {
    width: 48px;
    height: 48px;
  }

  .main-nav.is-open {
    top: calc(100% + 10px);
    right: 16px;
    left: 16px;
  }

  .hero,
  .hero-grid {
    min-height: 760px;
  }

  .hero-grid {
    align-items: end;
    padding-top: 128px;
    padding-bottom: 48px;
  }

  .hero-media::after {
    background: linear-gradient(0deg, rgba(2, 10, 16, 0.98) 4%, rgba(2, 10, 16, 0.7) 72%, rgba(2, 10, 16, 0.48) 100%);
  }

  .hero-media img {
    object-position: 57% center;
  }

  .hero h1 {
    max-width: 10ch;
  }

  .hero-actions,
  .hero-actions .button {
    width: 100%;
  }

  .hero-status {
    display: none;
  }

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

  .proof-item {
    min-height: 104px;
    padding: 20px 16px;
  }

  .section-heading,
  .split-grid,
  .rail-layout,
  .cta-grid,
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .section-heading {
    margin-bottom: 48px;
  }

  .service-row {
    min-height: 0;
    grid-template-columns: 44px 1fr auto;
    gap: 12px;
    padding: 28px 0;
  }

  .service-row p {
    grid-column: 2 / -1;
  }

  .service-row .arrow-box {
    width: 44px;
    height: 44px;
  }

  .rail-visual {
    position: relative;
    top: auto;
  }

  .rail-machine {
    height: 420px;
  }

  .rail-content {
    padding-left: 40px;
  }

  .rail-step::before {
    left: -38px;
  }

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

  .feature-card:nth-child(n) {
    grid-column: 1;
    min-height: 250px;
  }

  .icon-tile {
    margin-bottom: 32px;
  }

  .cta-grid .button {
    width: 100%;
  }

  .footer-grid {
    gap: 40px;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 420px) {
  .brand img {
    width: 46px;
    height: 46px;
  }

  .brand {
    gap: 9px;
  }

  .brand-name strong {
    font-size: 0.8rem;
  }

  .brand-name small {
    font-size: 0.61rem;
  }

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

  .proof-item,
  .proof-item:nth-child(2),
  .proof-item:last-child {
    min-height: auto;
    border-right: 1px solid rgba(255, 255, 255, 0.24);
    border-bottom: 1px solid rgba(255, 255, 255, 0.24);
  }

}
