.topbar {
  position: sticky;
  z-index: 50;
  top: 0;
  max-width: none;
  padding-right: max(24px, calc((100vw - var(--max)) / 2));
  padding-left: max(24px, calc((100vw - var(--max)) / 2));
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.admin-bar .topbar {
  top: 32px;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 21px;
  font-size: 15px;
  font-weight: 650;
  white-space: nowrap;
}

.site-nav a {
  color: var(--navy);
  text-decoration: none;
}

.site-nav a:not(.nav-book):hover {
  color: var(--blue);
}

.site-nav .nav-test {
  color: var(--blue);
  border-bottom: 2px solid var(--gold);
}

.site-nav .nav-book {
  padding: 10px 15px;
  color: #fff;
  background: var(--green);
  border-radius: 4px;
}

.site-nav .nav-book:hover {
  background: #397a1d;
}

#hvorfor,
#saadan-virker-det,
#om-os,
#analyse,
#kontakt {
  scroll-margin-top: 90px;
}

.why-section {
  display: grid;
  grid-template-columns: 220px 1fr;
  max-width: var(--max);
  margin: 0 auto;
  padding: 110px 24px;
}

.section-kicker .eyebrow {
  padding-top: 13px;
}

.brand-logo {
  display: block;
  width: auto;
  height: 46px;
}

.footer-brand {
  padding: 0;
  background: transparent;
}

.footer-brand .brand-logo {
  height: 40px;
}

.smv-go-test-page > footer {
  color: var(--blue);
  background: #fff;
  border-top: 1px solid var(--line);
}

.smv-go-test-page > footer p {
  color: var(--blue);
  font-weight: 600;
}

.why-content h2,
.about-heading h2,
.contact-intro h2 {
  max-width: 820px;
}

.section-lead {
  max-width: 820px;
  margin: 22px 0 45px;
  color: var(--muted);
  font-size: 21px;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.why-grid article {
  padding: 30px 28px;
  border-right: 1px solid var(--line);
}

.why-grid article:last-child {
  border-right: 0;
}

.why-grid article > span {
  color: var(--gold);
  font-size: 15px;
  font-weight: 700;
}

.why-grid h3 {
  margin: 26px 0 11px;
  font-size: 22px;
}

.why-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}

.about-section {
  padding: 100px max(24px, calc((100vw - var(--max)) / 2));
  color: #fff;
  background: var(--navy);
}

.about-heading {
  width: 100%;
  max-width: none;
  margin-bottom: 48px;
}

.about-heading h2 {
  max-width: none;
}

.about-heading .eyebrow {
  color: var(--gold);
}

.about-heading p:not(.eyebrow) {
  width: 100%;
  max-width: none;
  margin: 22px 0 0;
  color: #d7e1ed;
  font-size: 19px;
}

.about-team {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.profile-card {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 8px;
  background: rgba(255, 255, 255, .055);
}

.profile-photo,
.profile-photo-placeholder {
  display: flex;
  width: 100%;
  aspect-ratio: 16 / 8.6;
  align-items: center;
  justify-content: center;
  object-fit: cover;
  background: linear-gradient(135deg, rgba(0, 53, 122, .58), rgba(46, 100, 23, .38));
}

.profile-photo-placeholder span,
.profile-photo-placeholder small {
  display: block;
}

.profile-photo-placeholder {
  flex-direction: column;
  border-bottom: 1px solid rgba(255, 255, 255, .16);
  color: #fff;
}

.profile-photo-placeholder span {
  display: grid;
  width: 78px;
  height: 78px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .48);
  border-radius: 50%;
  font-size: 25px;
  font-weight: 700;
  letter-spacing: .06em;
}

.profile-photo-placeholder small {
  margin-top: 12px;
  color: #d7e1ed;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.profile-copy {
  padding: 32px 34px 34px;
}

.profile-copy h3 {
  margin: 0 0 17px;
  color: #fff;
  font-size: 29px;
}

.profile-copy p {
  margin: 0;
  color: #d7e1ed;
  font-size: 16px;
  line-height: 1.68;
}

.linkedin-link {
  display: inline-flex;
  margin-top: 26px;
  align-items: center;
  gap: 9px;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
}

.linkedin-link span {
  display: grid;
  width: 27px;
  height: 27px;
  place-items: center;
  border-radius: 3px;
  color: var(--navy);
  background: var(--gold);
  font-size: 15px;
  font-weight: 800;
}

.linkedin-link:hover,
.linkedin-link:focus-visible {
  color: var(--gold);
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(480px, 1.15fr);
  gap: 70px;
  padding: 105px max(24px, calc((100vw - var(--max)) / 2));
  background: #eef3f8;
}

.contact-intro > p:not(.eyebrow):not(.contact-direct) {
  max-width: 530px;
  margin: 22px 0 30px;
  color: var(--muted);
  font-size: 20px;
}

.contact-direct {
  margin-top: 25px;
  color: var(--muted);
  font-size: 16px;
}

.contact-direct a,
.contact-consent a {
  color: var(--blue);
  font-weight: 700;
}

.contact-form-card {
  padding: 34px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 18px 45px rgba(0, 27, 61, .08);
}

.contact-form,
.contact-fields {
  display: grid;
  gap: 18px;
}

.contact-fields {
  grid-template-columns: 1fr 1fr;
}

.contact-form label:not(.contact-consent) {
  color: var(--navy);
  font-weight: 700;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
  display: block;
  width: 100%;
  margin-top: 7px;
  padding: 13px 14px;
  color: var(--ink);
  background: #fff;
  border: 1px solid #aab8c7;
  border-radius: 3px;
  font: inherit;
}

.contact-form textarea {
  resize: vertical;
}

.contact-consent {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 11px;
  align-items: start;
  color: var(--muted);
  font-size: 14px;
}

.contact-consent input {
  width: 19px;
  height: 19px;
  margin: 2px 0 0;
  accent-color: var(--green);
}

.contact-form .button {
  justify-self: start;
  min-width: 170px;
}

.contact-notice {
  margin-bottom: 22px;
  padding: 15px 17px;
  border-left: 5px solid;
}

.contact-notice.is-success {
  color: #204910;
  background: #edf4e9;
  border-color: var(--green);
}

.contact-notice.is-error {
  color: #7a1b18;
  background: #fff1f0;
  border-color: #9d241f;
}

@media (max-width: 1120px) {
  .topbar {
    height: auto;
    min-height: 76px;
    flex-wrap: wrap;
    gap: 12px 24px;
    padding-top: 12px;
    padding-bottom: 12px;
  }

  .site-nav {
    width: 100%;
    order: 2;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  #hvorfor,
  #saadan-virker-det,
  #om-os,
  #analyse,
  #kontakt {
    scroll-margin-top: 130px;
  }
}

@media (max-width: 850px) {
  .why-section,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .why-section {
    padding: 80px 22px;
  }

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

  .why-grid article {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .why-grid article:last-child {
    border-bottom: 0;
  }

  .about-section,
  .contact-section {
    gap: 42px;
    padding-top: 80px;
    padding-bottom: 80px;
  }

  .about-team {
    grid-template-columns: 1fr;
  }

  .contact-section {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 600px) {
  .admin-bar .topbar {
    top: 46px;
  }

  .site-nav {
    gap: 16px;
    font-size: 14px;
  }

  .brand-logo {
    height: 40px;
  }

  .contact-fields {
    grid-template-columns: 1fr;
  }

  .contact-form-card,
  .profile-copy {
    padding: 23px 20px;
  }

  .contact-form .button {
    width: 100%;
  }
}

@media print {
  .why-section,
  .about-section,
  .contact-section {
    display: none !important;
  }
}
