/* Testfunktioner 2026 – ligger endast på test-2026-extra */

.process-section {
  position: relative;
  overflow: hidden;
  padding: 92px 0;
  background:
    radial-gradient(circle at 8% 15%, rgba(242,138,34,.11), transparent 28%),
    linear-gradient(180deg, #f8f6f2 0%, #ffffff 100%);
}

.process-section::after {
  content: '';
  position: absolute;
  width: 320px;
  height: 320px;
  right: -170px;
  top: 60px;
  border-radius: 50%;
  border: 1px solid rgba(242,138,34,.15);
  box-shadow: 0 0 0 55px rgba(242,138,34,.035), 0 0 0 110px rgba(242,138,34,.02);
  pointer-events: none;
}

.process-head {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin-bottom: 38px;
}

.process-head h2 {
  margin: 0;
  font-size: clamp(36px, 4vw, 54px);
  line-height: 1.02;
  letter-spacing: -.045em;
}

.process-head p:last-child {
  max-width: 620px;
  margin: 17px 0 0;
  color: var(--muted);
}

.process-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 16px;
}

.process-grid::before {
  content: '';
  position: absolute;
  left: 16.66%;
  right: 16.66%;
  top: 45px;
  height: 1px;
  background: linear-gradient(90deg, rgba(242,138,34,.18), rgba(242,138,34,.72), rgba(242,138,34,.18));
  z-index: -1;
}

.process-card {
  min-height: 220px;
  padding: 26px;
  border: 1px solid #ebe7df;
  border-radius: 22px;
  background: rgba(255,255,255,.86);
  box-shadow: 0 14px 38px rgba(25,30,36,.055);
  backdrop-filter: blur(10px);
}

.process-number {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  margin-bottom: 28px;
  border-radius: 15px;
  background: #171a1f;
  color: #ff9a36;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .08em;
  box-shadow: 0 10px 24px rgba(23,26,31,.15);
}

.process-card h3 {
  margin: 0 0 9px;
  font-size: 20px;
  letter-spacing: -.025em;
}

.process-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

/* Samarbetspartners */
.partners-section {
  position: relative;
  overflow: hidden;
  padding: 88px 0;
  background: #fff;
  border-top: 1px solid #f0ede8;
}

.partners-section::before {
  content: '';
  position: absolute;
  width: 360px;
  height: 360px;
  right: -190px;
  bottom: -210px;
  border-radius: 50%;
  background: rgba(242,138,34,.055);
  pointer-events: none;
}

.partners-head {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin-bottom: 34px;
}

.partners-head h2 {
  margin: 0;
  font-size: clamp(34px, 4vw, 50px);
  line-height: 1.05;
  letter-spacing: -.045em;
}

.partners-head p:last-child {
  max-width: 640px;
  margin: 16px 0 0;
  color: var(--muted);
}

.partners-grid {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.partner-card {
  flex: 0 1 420px;
  min-height: 245px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #e9e5df;
  border-radius: 24px;
  background: linear-gradient(180deg, #fff 0%, #fbfaf8 100%);
  box-shadow: 0 14px 36px rgba(28,31,35,.055);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.partner-card:hover {
  transform: translateY(-4px);
  border-color: rgba(242,138,34,.45);
  box-shadow: 0 20px 48px rgba(28,31,35,.095);
}

.partner-logo-wrap {
  flex: 1;
  min-height: 170px;
  display: grid;
  place-items: center;
  padding: 30px;
  background: #fff;
}

.partner-logo {
  width: min(100%, 330px);
  max-height: 112px;
  object-fit: contain;
}

.partner-card-footer {
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 22px;
  border-top: 1px solid #ece8e2;
}

.partner-card-footer strong {
  font-size: 15px;
}

.partner-card-footer span {
  color: var(--orange-dark);
  font-size: 12px;
  font-weight: 800;
}

.mobile-contact-bar {
  display: none;
}

html.js-enhanced .reveal-on-scroll {
  opacity: 0;
  transform: translateY(22px) scale(.99);
  transition: opacity .62s cubic-bezier(.22,.8,.22,1), transform .62s cubic-bezier(.22,.8,.22,1);
  transition-delay: var(--reveal-delay, 0ms);
}

html.js-enhanced .reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

@media (prefers-reduced-motion: reduce) {
  html.js-enhanced .reveal-on-scroll {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

@media (max-width: 900px) {
  .process-section { padding: 72px 0; }
  .process-grid { grid-template-columns: 1fr; }
  .process-grid::before { display: none; }
  .process-card { min-height: 0; }
  .partners-section { padding: 72px 0; }
}

@media (max-width: 620px) {
  body { padding-bottom: 78px; }

  .process-section {
    padding: 64px 0 74px;
  }

  .process-head {
    margin-bottom: 28px;
  }

  .process-head h2 {
    font-size: 36px;
  }

  .process-grid {
    gap: 12px;
  }

  .process-card {
    display: grid;
    grid-template-columns: 52px 1fr;
    column-gap: 14px;
    align-items: start;
    padding: 19px 17px;
    border-radius: 19px;
  }

  .process-number {
    grid-row: 1 / 3;
    width: 46px;
    height: 46px;
    margin: 0;
    border-radius: 14px;
  }

  .process-card h3 {
    margin: 2px 0 5px;
    font-size: 17px;
  }

  .process-card p {
    font-size: 12.5px;
    line-height: 1.45;
  }

  .partners-section {
    padding: 64px 0;
  }

  .partners-head {
    margin-bottom: 26px;
  }

  .partners-head h2 {
    font-size: 34px;
  }

  .partners-head p:last-child {
    font-size: 14px;
    line-height: 1.55;
  }

  .partner-card {
    flex-basis: 100%;
    min-height: 220px;
    border-radius: 20px;
  }

  .partner-logo-wrap {
    min-height: 150px;
    padding: 25px 22px;
  }

  .partner-logo {
    width: min(100%, 300px);
    max-height: 100px;
  }

  .partner-card-footer {
    min-height: 64px;
    padding: 16px 18px;
  }

  .mobile-contact-bar {
    position: fixed;
    left: 10px;
    right: 10px;
    bottom: calc(8px + env(safe-area-inset-bottom));
    z-index: 999;
    display: grid;
    grid-template-columns: .78fr 1.22fr;
    gap: 8px;
    padding: 8px;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 18px;
    background: rgba(19,22,27,.9);
    box-shadow: 0 18px 48px rgba(0,0,0,.28);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    transition: opacity .28s ease, transform .28s ease;
  }

  .mobile-contact-bar.is-hidden {
    opacity: 0;
    transform: translateY(120%);
    pointer-events: none;
  }

  .mobile-contact-bar a {
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 13px;
    font-size: 13px;
    font-weight: 800;
  }

  .mobile-call {
    color: #fff;
    background: rgba(255,255,255,.08);
  }

  .mobile-quote {
    color: #fff;
    background: #f28a22;
    box-shadow: 0 8px 22px rgba(242,138,34,.3);
  }

  .services { padding-bottom: 60px; }
  .process-section { padding-top: 58px; }
  .about { padding-top: 64px; }
}
