/* Skrifterne ligger lokalt, så sitet ikke henter noget fra tredjepart. Kun latin-udsnittet. */
@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/dm-sans-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/manrope-latin.woff2") format("woff2");
}
:root {
  --paper: #f8f7f3;
  --ink: #142328;
  --muted: #586467;
  --teal: #087e83;
  --line: #dce1db;
  --sage: #eaf0ea;
  --white: #fff;
  --heading: "Manrope", sans-serif;
  --body: "DM Sans", sans-serif;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
textarea {
  font: inherit;
}
button,
a,
input,
textarea,
summary {
  -webkit-tap-highlight-color: transparent;
}
a,
button,
summary {
  touch-action: manipulation;
}
svg {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}
img {
  display: block;
  width: 100%;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2,
h3 {
  font-family: var(--heading);
  line-height: 1.1;
  letter-spacing: -0.045em;
}
em {
  font-style: normal;
  color: var(--teal);
}
.container {
  width: min(1280px, calc(100% - 96px));
  margin-inline: auto;
}
.section {
  padding: 88px 0;
}
.eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--teal);
  margin-bottom: 20px;
}
h2 {
  font-size: clamp(32px, 3.5vw, 48px);
  font-weight: 800;
}
p {
  color: var(--muted);
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 15px 23px;
  background: var(--teal);
  color: #fff;
  border: 1px solid var(--teal);
  border-radius: 7px;
  font-weight: 650;
  font-size: 14px;
  cursor: pointer;
  transition:
    background 0.2s,
    transform 0.2s;
}
.button:hover {
  background: #05666b;
  transform: translateY(-2px);
}
.button svg {
  width: 20px;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-weight: 600;
  font-size: 14px;
}
.text-link:hover {
  color: var(--teal);
}
:focus-visible {
  outline: 3px solid #bd7c2d;
  outline-offset: 5px;
}
.skip-link {
  position: fixed;
  top: -100px;
  left: 20px;
  background: var(--ink);
  color: white;
  padding: 12px;
  z-index: 20;
}
.skip-link:focus {
  top: 10px;
}
.site-header {
  position: sticky;
  top: 0;
  background: rgba(248, 247, 243, 0.97);
  z-index: 10;
  border-bottom: 1px solid var(--line);
}
.header-inner {
  height: 96px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 16px;
  font-weight: 750;
  letter-spacing: 0.16em;
  line-height: 1.25;
}
nav {
  display: flex;
  gap: 36px;
  font-size: 14px;
}
nav a:hover {
  color: var(--teal);
}
.menu-toggle {
  display: none;
}
.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  min-height: 620px;
}
.hero-photo {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 54%;
}
.hero-photo img {
  height: 100%;
  object-fit: cover;
  object-position: 58% center;
}
.hero-photo:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    var(--paper) 0%,
    rgba(248, 247, 243, 0.55) 10%,
    transparent 30%
  );
}
.hero-inner {
  position: relative;
  z-index: 1;
  padding-top: 66px;
  padding-bottom: 44px;
  pointer-events: none;
}
.hero-copy {
  width: 52%;
  pointer-events: auto;
}
.hero h1 {
  font-size: clamp(42px, 4.5vw, 65px);
  font-weight: 800;
  max-width: 650px;
  line-height: 1.07;
}
.lead {
  font-size: 17px;
  max-width: 470px;
  margin: 26px 0 28px;
  line-height: 1.7;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.hero-benefits {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 48px 0 0;
  gap: 24px;
}
.hero-benefits li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 500;
}
.hero-benefits svg {
  color: var(--teal);
  width: 24px;
}
.photo-note {
  position: absolute;
  right: 40px;
  bottom: 28px;
  color: white;
  background: #142328b3;
  backdrop-filter: blur(10px);
  padding: 10px 16px;
  border-radius: 4px;
  font-size: 12px;
}
.status-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: #91d6bd;
  border-radius: 50%;
  margin-right: 9px;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 30px;
  margin-bottom: 36px;
}
.section-heading > p {
  font-size: 14px;
  padding-bottom: 4px;
}
.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.service-card {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 26px 23px 0;
  background: #fcfbf8;
  display: flex;
  flex-direction: column;
  scroll-margin-top: 120px;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}
.service-card:hover {
  border-color: #8bb5b3;
  box-shadow: 0 8px 28px #14232806;
}
.service-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 26px;
}
.service-icon svg {
  width: 35px;
  height: 35px;
  color: var(--teal);
}
.service-number {
  font-size: 12px;
  color: #8d9996;
}
.service-card h3 {
  font-size: 24px;
  margin-bottom: 12px;
  letter-spacing: -0.035em;
}
.service-intro {
  font-size: 13px;
  line-height: 1.5;
  min-height: 58px;
}
.task-list {
  list-style: none;
  padding: 0;
  margin: 22px 0 30px;
  display: grid;
  gap: 9px;
}
.task-list li {
  display: flex;
  gap: 8px;
  font-size: 12px;
  line-height: 1.5;
}
.task-list svg {
  width: 15px;
  height: 15px;
  margin-top: 2px;
  color: var(--teal);
}
details {
  border-top: 1px solid var(--line);
  margin-top: auto;
  font-size: 13px;
}
summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--teal);
  font-weight: 600;
  padding: 17px 0;
  min-height: 52px;
}
summary::-webkit-details-marker {
  display: none;
}
summary span {
  font-size: 22px;
  font-weight: 400;
}
details[open] summary span {
  transform: rotate(45deg);
}
details p {
  padding-bottom: 18px;
}
details a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 18px;
  color: var(--teal);
}
details a svg {
  width: 18px;
}
.about {
  background: var(--sage);
  padding-bottom: 0;
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: center;
  padding-bottom: 64px;
}
.about h2 {
  font-size: clamp(48px, 5vw, 72px);
}
.large-copy {
  font-family: var(--heading);
  font-size: 28px;
  line-height: 1.3;
  font-weight: 650;
  color: var(--ink);
  letter-spacing: -0.025em;
  margin-bottom: 22px;
}
.about-copy > p:not(.large-copy) {
  max-width: 530px;
  font-size: 15px;
}
.about-copy .text-link {
  margin-top: 26px;
}
.values {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid #ccd7ce;
  padding-block: 30px;
  gap: 30px;
}
.values > div {
  display: grid;
  grid-template-columns: 36px 1fr;
  column-gap: 13px;
}
.values svg {
  width: 30px;
  height: 30px;
  color: var(--teal);
  grid-row: span 2;
}
.values h3 {
  font-family: var(--body);
  font-size: 16px;
  letter-spacing: -0.02em;
  line-height: 1.4;
}
.values p {
  font-size: 12px;
  line-height: 1.6;
  margin-top: 5px;
  max-width: 190px;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 90px;
}
.contact h2 {
  margin-bottom: 26px;
}
.contact-grid > div > p:not(.eyebrow) {
  font-size: 15px;
  max-width: 380px;
  margin-bottom: 15px;
}
.contact-note {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 36px;
  font-size: 13px;
  color: var(--teal);
}
.contact-note svg {
  width: 34px;
  height: 34px;
}
.contact-form {
  background: #fff9;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 30px;
  position: relative;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.contact-form label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 18px;
}
.contact-form label > span {
  color: var(--teal);
}
input,
textarea {
  display: block;
  width: 100%;
  margin-top: 7px;
  border: 1px solid #d5dcd7;
  border-radius: 5px;
  background: var(--paper);
  padding: 11px 12px;
  font-size: 13px;
  color: var(--ink);
}
textarea {
  resize: vertical;
  min-height: 130px;
}
.contact-form .button {
  width: 100%;
  justify-content: space-between;
}
.form-footnote {
  font-size: 11px;
  margin: -4px 0 18px;
}
.form-message {
  font-size: 13px;
  padding: 12px 14px;
  background: var(--sage);
  border-left: 3px solid var(--teal);
  margin-bottom: 20px;
}
.form-message.error {
  border-color: #aa4932;
}
.button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}
.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
footer {
  background: var(--ink);
  color: #f3f5ef;
  padding: 40px 0 20px;
}
.footer-top {
  display: flex;
  align-items: center;
  gap: 38px;
  padding-bottom: 30px;
}
.footer-top .brand {
  font-size: 13px;
}
.footer-top p {
  color: #bcc7c6;
  font-size: 12px;
  margin-right: auto;
}
.footer-top > a:not(.brand) {
  font-size: 13px;
  display: flex;
  gap: 9px;
  align-items: center;
}
.footer-top svg {
  width: 16px;
}
.footer-bottom {
  border-top: 1px solid #344246;
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  color: #a8b7b7;
  font-size: 11px;
}
@media (min-width: 1600px) {
  .hero-photo {
    width: 52%;
  }
  .hero {
    min-height: 680px;
  }
  .hero-inner {
    padding-top: 90px;
  }
}
@media (max-width: 1100px) {
  .container {
    width: calc(100% - 56px);
  }
  .header-inner {
    gap: 20px;
  }
  .hero h1 {
    font-size: 48px;
  }
  .hero-copy {
    width: 55%;
  }
  .hero-benefits {
    gap: 13px;
    flex-wrap: wrap;
  }
  .hero-actions {
    gap: 16px;
  }
  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .service-intro {
    min-height: 0;
  }
  .contact-grid {
    gap: 40px;
  }
  .about-grid {
    gap: 50px;
  }
  .values {
    gap: 18px;
  }
  .brand {
    font-size: 13px;
  }
  .section {
    padding-block: 64px;
  }
  .about {
    padding-bottom: 0;
  }
}
@media (max-width: 760px) {
  html {
    scroll-padding-top: 85px;
  }
  .container {
    width: calc(100% - 40px);
  }
  .header-inner {
    height: 78px;
  }
  .brand {
    font-size: 12px;
    gap: 10px;
  }
  .header-cta {
    display: none;
  }
  .menu-toggle {
    display: flex;
    width: 44px;
    height: 44px;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    align-items: center;
    border: 0;
    background: none;
    cursor: pointer;
  }
  .menu-toggle span {
    height: 2px;
    width: 23px;
    background: var(--ink);
  }
  nav {
    display: none;
    position: absolute;
    top: 78px;
    left: 0;
    right: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: 20px;
    gap: 0;
  }
  nav.is-open {
    display: flex;
    flex-direction: column;
  }
  nav a {
    padding: 13px 8px;
  }
  .hero {
    display: flex;
    flex-direction: column;
    min-height: 0;
  }
  .hero-inner {
    order: 0;
    padding-top: 34px;
    padding-bottom: 28px;
  }
  .hero-copy {
    width: 100%;
  }
  .hero .eyebrow {
    font-size: 9px;
    margin-bottom: 17px;
  }
  .hero h1 {
    font-size: clamp(38px, 9vw, 56px);
    max-width: 570px;
  }
  .lead {
    font-size: 15px;
    margin: 20px 0 24px;
    max-width: 100%;
  }
  .hero-actions {
    gap: 20px;
  }
  .hero-actions .button {
    padding: 14px 18px;
    font-size: 13px;
  }
  .hero-benefits {
    margin-top: 27px;
    justify-content: space-between;
    gap: 8px;
  }
  .hero-benefits li {
    font-size: 10px;
    gap: 5px;
  }
  .hero-benefits svg {
    width: 19px;
  }
  .hero-photo {
    position: relative;
    width: 100%;
    height: 320px;
    order: 1;
  }
  .hero-photo img {
    object-position: center 42%;
  }
  .hero-photo:after {
    display: none;
  }
  .photo-note {
    bottom: 16px;
    right: 20px;
    font-size: 10px;
  }
  .section {
    padding-block: 48px;
  }
  .section-heading {
    display: block;
    margin-bottom: 25px;
  }
  .section-heading > p {
    margin-top: 20px;
    font-size: 13px;
  }
  h2 {
    font-size: 34px;
  }
  .eyebrow {
    font-size: 10px;
    margin-bottom: 14px;
  }
  .service-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  .service-card {
    padding: 22px 22px 0;
  }
  .service-top {
    margin-bottom: 14px;
  }
  .service-intro {
    font-size: 14px;
  }
  .task-list {
    gap: 8px;
    margin: 18px 0 24px;
  }
  .task-list li {
    font-size: 13px;
  }
  .about {
    padding-bottom: 0;
  }
  .about-grid {
    grid-template-columns: 1fr;
    gap: 30px;
    padding-bottom: 34px;
  }
  .about h2 {
    font-size: 49px;
  }
  .large-copy {
    font-size: 24px;
  }
  .values {
    grid-template-columns: 1fr 1fr;
    gap: 24px 18px;
    padding-block: 26px;
  }
  .values > div {
    grid-template-columns: 28px 1fr;
    column-gap: 9px;
  }
  .values svg {
    width: 25px;
    height: 25px;
  }
  .values h3 {
    font-size: 14px;
  }
  .values p {
    font-size: 11px;
  }
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .contact-note {
    margin-top: 25px;
  }
  .contact-form {
    padding: 22px;
  }
  .footer-top {
    flex-wrap: wrap;
    gap: 24px;
  }
  .footer-top p {
    width: 100%;
    order: 1;
  }
  .footer-top .brand {
    width: 100%;
  }
  .footer-bottom {
    font-size: 10px;
    gap: 20px;
  }
  .form-row {
    gap: 12px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    transition: none !important;
  }
}

.brand-logo {
  width: 64px;
  height: 64px;
  object-fit: contain;
  border-radius: 50%;
  flex-shrink: 0;
}
.contact-email {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--teal);
  font-size: clamp(14px, 2vw, 20px);
  font-weight: 600;
  margin-top: 12px;
  overflow-wrap: anywhere;
}
.contact-email:hover,
.form-message a:hover {
  text-decoration: underline;
}
.form-message a {
  text-decoration: underline;
}
.footer-top .brand-logo {
  width: 52px;
  height: 52px;
}
@media (max-width: 760px) {
  .brand-logo {
    width: 46px;
    height: 46px;
  }
}

/* Animationer. Hero glider ind ved indlæsning; main.js giver elementer under
   folden .reveal og tilføjer .is-visible, når de scrolles frem. */
@media (prefers-reduced-motion: no-preference) {
  .hero-copy > * {
    animation: rise 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) both;
  }
  .hero-copy > :nth-child(2) {
    animation-delay: 0.08s;
  }
  .hero-copy > :nth-child(3) {
    animation-delay: 0.16s;
  }
  .hero-copy > :nth-child(4) {
    animation-delay: 0.24s;
  }
  .hero-copy > :nth-child(5) {
    animation-delay: 0.32s;
  }
  .hero-photo {
    overflow: hidden;
  }
  .hero-photo img {
    animation: settle 1.6s cubic-bezier(0.2, 0.7, 0.2, 1) both;
  }
  .photo-note {
    animation: rise 0.8s 0.6s cubic-bezier(0.2, 0.7, 0.2, 1) both;
  }
  /* Skjult straks uden transition; kun fremtoningen animeres. */
  .reveal {
    opacity: 0;
    transform: translateY(28px);
  }
  .reveal.is-visible {
    opacity: 1;
    transform: none;
    transition:
      opacity 0.7s ease,
      transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
  }
  .service-card.is-visible:nth-child(2),
  .values > .is-visible:nth-child(2),
  .contact-grid > .is-visible:nth-child(2) {
    transition-delay: 0.1s;
  }
  .service-card.is-visible:nth-child(3),
  .values > .is-visible:nth-child(3) {
    transition-delay: 0.2s;
  }
  .service-card.is-visible:nth-child(4),
  .values > .is-visible:nth-child(4) {
    transition-delay: 0.3s;
  }
}
@media print {
  .reveal {
    opacity: 1;
    transform: none;
  }
}
@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
}
@keyframes settle {
  from {
    opacity: 0;
    transform: scale(1.06);
  }
}

/* Privatlivssiden */
.legal {
  max-width: 760px;
}
.legal h1 {
  font-size: clamp(32px, 3.5vw, 48px);
  font-weight: 800;
  margin: 14px 0 28px;
}
.legal h2 {
  font-size: 22px;
  font-weight: 750;
  letter-spacing: -0.025em;
  margin: 40px 0 12px;
}
.legal p,
.legal ul {
  font-size: 15px;
  color: var(--muted);
  margin: 0 0 14px;
}
.legal ul {
  padding-left: 20px;
}
.legal a,
.form-footnote a {
  text-decoration: underline;
}
.footer-bottom a:hover {
  text-decoration: underline;
}
