/* ============================================================
   TAKREN AS – hovedside
   Palett og typografi følger designet 1:1
   ============================================================ */

:root {
  --blue: #1a73cf;
  --blue-dark: #1058a8;
  --blue-soft: #e8f2fd;
  --navy: #14304d;
  --green: #79b928;
  --green-soft: #eef7e3;
  --ink: #22384d;
  --muted: #5c7189;
  --line: #e3edf5;
  --bg-soft: #f2f8fd;
  --shadow-card: 0 10px 26px rgba(15, 60, 120, .07);
  --shadow-card-hover: 0 24px 48px rgba(15, 70, 140, .14);
  --ease: cubic-bezier(.2, .7, .3, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--ink);
  background: #fff;
  padding-top: 76px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

::selection { background: rgba(26, 115, 207, .18); }

a { color: var(--blue); }

:focus-visible {
  outline: 3px solid rgba(26, 115, 207, .45);
  outline-offset: 2px;
  border-radius: 6px;
}

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 96px 0; }

section[id] { scroll-margin-top: 92px; }

.center { text-align: center; }

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  clip-path: inset(50%);
  overflow: hidden;
  white-space: nowrap;
}

.skip-link {
  position: fixed;
  top: -60px; left: 16px;
  z-index: 100;
  background: var(--navy);
  color: #fff;
  padding: 10px 18px;
  border-radius: 10px;
  text-decoration: none;
  transition: top .25s;
}
.skip-link:focus { top: 12px; }

/* ============ Overskrifter ============ */

.eyebrow {
  color: var(--blue);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: .16em;
  text-transform: uppercase;
  text-align: center;
  margin: 0 0 12px;
}

.section-title {
  text-align: center;
  font-size: clamp(28px, 3.4vw, 38px);
  line-height: 1.18;
  color: var(--navy);
  font-weight: 800;
  letter-spacing: -.015em;
  margin: 0 auto 52px;
}

.eyebrow.left, .section-title.left { text-align: left; margin-left: 0; }

/* ============ Knapper ============ */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 26px;
  border: 0;
  border-radius: 12px;
  font: inherit;
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, border-color .25s, color .25s;
  will-change: transform;
}

.btn svg { transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(4px); }

.btn-primary {
  background: linear-gradient(135deg, #1d7fe0, #1462be);
  color: #fff;
  box-shadow: 0 10px 24px rgba(23, 105, 203, .32);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(23, 105, 203, .42);
}
.btn-primary:active { transform: translateY(0); }

.btn-ghost {
  background: #fff;
  color: var(--blue);
  border: 2px solid #cfe2f5;
}
.btn-ghost:hover {
  border-color: var(--blue);
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(23, 105, 203, .14);
}

.btn-outline {
  background: #fff;
  color: var(--blue);
  border: 2px solid #cfe2f5;
}
.btn-outline:hover {
  border-color: var(--blue);
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(23, 105, 203, .14);
}

.btn-block { width: 100%; justify-content: center; position: relative; }

@keyframes pulse-ring {
  0%   { box-shadow: 0 10px 24px rgba(23,105,203,.32), 0 0 0 0 rgba(29,127,224,.35); }
  70%  { box-shadow: 0 10px 24px rgba(23,105,203,.32), 0 0 0 14px rgba(29,127,224,0); }
  100% { box-shadow: 0 10px 24px rgba(23,105,203,.32), 0 0 0 0 rgba(29,127,224,0); }
}
.btn-pulse { animation: pulse-ring 2.6s ease-out infinite; }
.btn-pulse:hover { animation-play-state: paused; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--blue);
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
}
.text-link svg { transition: transform .25s var(--ease); }
.text-link:hover svg { transform: translateX(4px); }

/* ============ Header ============ */

.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 60;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: box-shadow .3s;
}
.site-header.scrolled { box-shadow: 0 6px 24px rgba(16, 60, 120, .09); }

.header-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 76px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}
.brand-mark { width: 46px; height: 46px; object-fit: contain; }

.brand-name {
  font-weight: 900;
  font-size: 17px;
  letter-spacing: .01em;
  color: var(--navy);
  white-space: nowrap;
}
.brand-name span { color: var(--green); }

.main-nav {
  display: flex;
  gap: 26px;
  margin: 0 auto;
}

.nav-link {
  position: relative;
  color: #33475c;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  padding: 6px 2px;
  transition: color .2s;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2.5px;
  border-radius: 2px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .28s var(--ease);
}
.nav-link:hover { color: var(--blue); }
.nav-link:hover::after, .nav-link.is-active::after { transform: scaleX(1); }
.nav-link.is-active { color: var(--blue); }

.header-contact {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-shrink: 0;
}
.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--blue);
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  white-space: nowrap;
}
.header-phone:hover { color: var(--blue-dark); }
.header-site {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #33475c;
  font-weight: 600;
  font-size: 14px;
  white-space: nowrap;
}
.header-site svg { color: var(--blue); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px; height: 44px;
  padding: 10px;
  margin-left: auto;
  background: none;
  border: 0;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2.5px;
  border-radius: 2px;
  background: var(--navy);
  transition: transform .3s var(--ease), opacity .2s;
}
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ============ Hero ============ */

.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #e9f3fc 0%, #f5fafe 62%, #ffffff 100%);
  padding: 64px 0 92px;
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 48px;
  align-items: center;
}

.hero h1 {
  margin: 0;
  font-size: clamp(40px, 5.4vw, 64px);
  line-height: 1.06;
  font-weight: 900;
  letter-spacing: -.025em;
  color: var(--navy);
}
.hero .accent { color: var(--green); }

.hero-lead {
  font-size: 18px;
  line-height: 1.6;
  color: var(--muted);
  max-width: 46ch;
  margin: 22px 0 30px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
}
.hero-trust li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 600;
  color: #46607a;
}
.hero-trust li::before {
  content: "";
  width: 17px; height: 17px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/11px no-repeat;
}

.hero-visual { display: flex; justify-content: center; }

.hero-media { position: relative; }

.hero-photo {
  position: relative;
  z-index: 2;
  width: min(520px, 100%);
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: 28px;
  box-shadow: 0 30px 60px rgba(15, 60, 110, .28);
  animation: floaty 7s ease-in-out infinite;
}

.hero-ring {
  position: absolute;
  z-index: 1;
  top: 50%; left: 50%;
  translate: -50% -50%;
  width: 133%;
  max-width: none;
  height: auto;
  opacity: .95;
  pointer-events: none;
  animation: spin-slow 70s linear infinite;
}

@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}
@keyframes spin-slow { to { rotate: 360deg; } }

.hero-bg { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.bubble {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 30%, rgba(121, 185, 40, .22), rgba(26, 115, 207, .10) 70%);
  filter: blur(1.5px);
  animation: floaty 9s ease-in-out infinite;
}
.b1 { width: 90px;  height: 90px;  left: 4%;  top: 68%; animation-duration: 11s; }
.b2 { width: 46px;  height: 46px;  left: 44%; top: 12%; animation-duration: 8s; animation-delay: -3s; }
.b3 { width: 26px;  height: 26px;  left: 55%; top: 78%; animation-duration: 7s; animation-delay: -1.5s; }
.b4 { width: 60px;  height: 60px;  right: 2%; top: 8%;  animation-duration: 10s; animation-delay: -5s; }

/* ============ Tjenester ============ */

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.service-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 36px 24px 30px;
  text-align: center;
  overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.service-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--blue), var(--green));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s var(--ease);
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-card-hover);
  border-color: #d7e7f6;
}
.service-card:hover::before { transform: scaleX(1); }

.service-icon {
  width: 92px; height: 92px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin: 0 auto 20px;
  transition: transform .4s var(--ease);
}
.service-card:hover .service-icon { transform: scale(1.08) rotate(-4deg); }

.icon-blue  { background: var(--blue-soft);  color: var(--blue); }
.icon-green { background: var(--green-soft); color: var(--green); }

.service-card h3 {
  margin: 0 0 10px;
  font-size: 19px;
  font-weight: 800;
  color: var(--navy);
}
.service-card p {
  margin: 0 0 18px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
}

/* ============ USP ============ */

.usp {
  background: linear-gradient(180deg, #f3f9fe, #edf5fc);
  padding: 52px 0;
}

.usp-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.usp-item { display: flex; gap: 14px; align-items: flex-start; }

.usp-icon {
  flex: 0 0 52px;
  height: 52px;
  border-radius: 50%;
  background: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 6px 16px rgba(20, 80, 160, .10);
  transition: transform .3s var(--ease);
}
.usp-icon.icon-blue  { background: #fff; color: var(--blue); }
.usp-icon.icon-green { background: #fff; color: var(--green); }
.usp-item:hover .usp-icon { transform: translateY(-4px); }

.usp-item h3 {
  margin: 2px 0 6px;
  font-size: 15.5px;
  font-weight: 800;
  color: var(--navy);
}
.usp-item p {
  margin: 0;
  font-size: 13px;
  line-height: 1.55;
  color: var(--muted);
}

/* ============ Prosjekter (før/etter) ============ */

.projects-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-bottom: 44px;
}

.project-card {
  margin: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.project-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card-hover);
}

.ba {
  --pos: 50%;
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  cursor: ew-resize;
  user-select: none;
  -webkit-user-select: none;
  touch-action: pan-y;
  background: #dde8f2;
}
.ba img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  pointer-events: none;
}
.ba .before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }

.ba-line {
  position: absolute;
  top: 0; bottom: 0;
  left: var(--pos);
  width: 2.5px;
  margin-left: -1.25px;
  background: #fff;
  box-shadow: 0 0 10px rgba(0, 0, 0, .4);
  pointer-events: none;
}
.ba-grip {
  position: absolute;
  top: 50%; left: var(--pos);
  translate: -50% -50%;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: #fff;
  color: var(--navy);
  display: grid;
  place-items: center;
  box-shadow: 0 6px 16px rgba(0, 0, 0, .3);
  pointer-events: none;
  transition: transform .2s var(--ease);
}
.ba.dragging .ba-grip { transform: scale(1.12); }

.ba-tag {
  position: absolute;
  top: 10px;
  z-index: 2;
  padding: 4px 13px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  pointer-events: none;
}
.tag-for   { left: 10px;  background: rgba(18, 38, 58, .72); color: #fff; }
.tag-etter { right: 10px; background: var(--green); color: #fff; }

.project-card figcaption { padding: 16px 18px 18px; }
.project-card figcaption h3 {
  margin: 0 0 4px;
  font-size: 16px;
  font-weight: 800;
  color: var(--navy);
}
.project-card figcaption p {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
}

/* ============ Prosess ============ */

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.step { position: relative; text-align: center; }

.step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 52px;
  left: calc(50% + 66px);
  width: calc(100% - 132px + 28px);
  border-top: 2px dashed #c3d5e8;
}

.step-icon {
  position: relative;
  width: 104px; height: 104px;
  border-radius: 50%;
  background: #f1f7fd;
  border: 1px solid #e2eefb;
  color: var(--navy);
  display: grid;
  place-items: center;
  margin: 0 auto 18px;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.step:hover .step-icon {
  transform: translateY(-6px);
  box-shadow: 0 16px 32px rgba(20, 80, 160, .14);
}

.step-num {
  position: absolute;
  top: -4px;
  left: -6px;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  display: grid;
  place-items: center;
  box-shadow: 0 6px 14px rgba(20, 90, 180, .35);
}

.step h3 {
  margin: 0 0 8px;
  font-size: 17px;
  font-weight: 800;
  color: var(--navy);
}
.step p {
  margin: 0 auto;
  max-width: 24ch;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--muted);
}

/* sekvensiell avsløring av stegene */
.js .seq .step {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.js .seq .step:nth-child(2) { transition-delay: .15s; }
.js .seq .step:nth-child(3) { transition-delay: .3s; }
.js .seq .step:nth-child(4) { transition-delay: .45s; }
.js .seq.in-view .step { opacity: 1; transform: none; }

.js .seq .step::after { opacity: 0; transition: opacity .5s ease .5s; }
.js .seq.in-view .step::after { opacity: 1; }

/* ============ Kundeomtaler ============ */

.t-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.t-card {
  background: linear-gradient(160deg, #f7fbfe, #eef5fc);
  border: 1px solid #e4eefa;
  border-radius: 16px;
  padding: 26px 26px 24px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.t-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card-hover);
}

.stars {
  display: flex;
  gap: 3px;
  color: var(--green);
  margin-bottom: 14px;
}

.t-card blockquote {
  margin: 0 0 18px;
  font-size: 14.5px;
  line-height: 1.65;
  color: #33475c;
}

.t-foot { display: flex; align-items: center; gap: 12px; }
.t-foot img {
  width: 44px; height: 44px;
  border-radius: 50%;
  object-fit: cover;
}
.t-foot b {
  display: block;
  font-size: 14px;
  color: var(--navy);
}
.t-foot span {
  display: block;
  font-size: 12.5px;
  color: var(--muted);
}

/* ============ Kontakt ============ */

.contact { position: relative; overflow: hidden; }

.splash-decor {
  position: absolute;
  z-index: 0;
  width: 420px;
  opacity: .45;
  pointer-events: none;
}
.decor-tr { top: -60px; right: -100px; transform: rotate(160deg); }
.decor-bl { bottom: -80px; left: -120px; }

.contact-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 56px;
  align-items: start;
}

.contact .section-title.left { margin-bottom: 12px; }

.c-list { list-style: none; margin: 28px 0 0; padding: 0; }

.c-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 26px;
}
.c-icon {
  flex: 0 0 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--blue-soft);
  color: var(--blue);
  display: grid;
  place-items: center;
  transition: transform .3s var(--ease);
}
.c-item:hover .c-icon { transform: scale(1.08); }

.c-value {
  font-size: 16.5px;
  font-weight: 800;
  color: var(--navy);
  text-decoration: none;
}
a.c-value:hover { color: var(--blue); }
.c-item p {
  margin: 4px 0 0;
  font-size: 13.5px;
  color: var(--muted);
}

.contact-form { display: grid; gap: 14px; }

.row2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid #d9e6f2;
  border-radius: 12px;
  font: inherit;
  font-size: 15px;
  color: var(--ink);
  background: #fff;
  transition: border-color .2s, box-shadow .2s;
}
.contact-form textarea { min-height: 140px; resize: vertical; }
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: #93a7bb; }
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(29, 127, 224, .12);
}

.btn-spinner {
  display: none;
  width: 18px; height: 18px;
  border: 2.5px solid rgba(255, 255, 255, .4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin-slow 0.7s linear infinite;
}
.btn.is-loading .btn-spinner { display: inline-block; }
.btn.is-loading .btn-arrow { display: none; }

.form-status {
  margin: 4px 0 0;
  padding: 14px 16px;
  border-radius: 12px;
  background: var(--green-soft);
  border: 1px solid #d3ecb2;
  color: #3f6d10;
  font-size: 14.5px;
  font-weight: 600;
}

/* ============ Footer ============ */

.site-footer {
  background: #0f2b47;
  color: #c8d9ea;
  padding: 40px 0 0;
  font-size: 14px;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: space-between;
  align-items: flex-start;
  padding-bottom: 28px;
}

.footer-brand .brand-name { color: #fff; font-size: 16px; }
.footer-brand p {
  margin: 10px 0 0;
  max-width: 34ch;
  font-size: 13.5px;
  line-height: 1.6;
  color: #9db4ca;
}

.footer-nav { display: grid; gap: 8px; }
.footer-nav a,
.footer-contact a {
  color: #c8d9ea;
  text-decoration: none;
  transition: color .2s;
}
.footer-nav a:hover,
.footer-contact a:hover { color: #fff; }

.footer-contact { display: grid; gap: 8px; }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .12);
  padding-top: 18px;
  padding-bottom: 18px;
  text-align: center;
  font-size: 13px;
  color: #8ba3ba;
}

/* ============ Mobil CTA ============ */

.mobile-cta {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 70;
  display: none;
  gap: 10px;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, .93);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 -8px 24px rgba(15, 60, 120, .13);
  transform: translateY(110%);
  transition: transform .35s var(--ease);
}
.mobile-cta .btn {
  flex: 1;
  justify-content: center;
  padding: 13px 16px;
  font-size: 15px;
}
.mobile-cta.show { transform: none; }

/* ============ Scroll-reveal ============ */

.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s var(--ease) var(--d, 0s), transform .7s var(--ease) var(--d, 0s);
}
.js .reveal.in { opacity: 1; transform: none; }

/* ============ Responsivt ============ */

@media (max-width: 1120px) {
  .header-site { display: none; }
  .main-nav { gap: 20px; }
}

@media (max-width: 980px) {
  .section { padding: 72px 0; }

  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-copy { text-align: center; }
  .hero-lead { margin-inline: auto; }
  .hero-actions, .hero-trust { justify-content: center; }
  .hero-visual { order: 2; }
  .hero-ring { width: 118%; }

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

  .process-grid { grid-template-columns: repeat(2, 1fr); gap: 36px 22px; }
  .step:not(:last-child)::after { display: none; }

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

@media (max-width: 900px) {
  .main-nav {
    position: fixed;
    top: 76px; left: 0; right: 0;
    z-index: 55;
    flex-direction: column;
    gap: 4px;
    margin: 0;
    padding: 16px 24px 22px;
    background: #fff;
    box-shadow: 0 20px 40px rgba(15, 60, 120, .14);
    transform: translateY(-130%);
    transition: transform .35s var(--ease);
  }
  .nav-open .main-nav { transform: none; }
  .nav-link { padding: 12px 4px; font-size: 16px; }

  .header-contact { margin-left: auto; }
  .header-phone { font-size: 14px; }
  .nav-toggle { display: flex; margin-left: 0; }

  .mobile-cta { display: flex; }
}

@media (max-width: 700px) {
  .t-grid { grid-template-columns: 1fr; }
  .header-phone span { display: none; }

  .projects-grid {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 86%;
    grid-template-columns: unset;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 8px;
    -webkit-overflow-scrolling: touch;
  }
  .project-card { scroll-snap-align: center; }
}

@media (max-width: 560px) {
  .services-grid { grid-template-columns: 1fr; }
  .usp-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; }
  .row2 { grid-template-columns: 1fr; }
  .header-phone { display: none; }
  .hero { padding: 44px 0 72px; }
  .footer-inner { flex-direction: column; }
}

/* ============ Redusert bevegelse ============ */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .js .reveal, .js .seq .step { opacity: 1; transform: none; }
}
