:root {
  --blue: #20264d;
  --blue-dark: #151a3a;
  --green: #63b33b;
  --cream: #f7f6f1;
  --white: #ffffff;
  --text: #24262d;
  --muted: #656a73;
  --line: #e3e4df;
  --max: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--cream);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.65;
}

a {
  color: inherit;
}

.hero {
  position: relative;
  min-height: 760px;
  color: var(--white);
  background-image: url("billede.jpg");
  background-size: cover;
  background-position: center 46%;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(18, 23, 52, .92) 0%, rgba(18, 23, 52, .70) 45%, rgba(18, 23, 52, .28) 100%),
    linear-gradient(0deg, rgba(18, 23, 52, .58) 0%, rgba(18, 23, 52, .05) 55%);
}

.nav,
.hero-content,
.section-inner {
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
}

.nav {
  position: relative;
  z-index: 2;
  min-height: 90px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  line-height: 1.05;
}

.brand span {
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -.03em;
}

.brand small {
  margin-top: 5px;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  opacity: .9;
}

.phone {
  text-decoration: none;
  font-weight: 800;
  font-size: 1.05rem;
}

.hero-content {
  position: relative;
  z-index: 2;
  min-height: 670px;
  display: flex;
  align-items: center;
}

.hero-card {
  width: min(620px, 100%);
  padding: 46px 0 70px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--green);
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #a9df8c;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 700px;
  margin-bottom: 22px;
  font-size: clamp(3rem, 7vw, 5.6rem);
  line-height: .98;
  letter-spacing: -.055em;
}

h1 span {
  color: #a9df8c;
}

.lead {
  max-width: 570px;
  margin-bottom: 32px;
  font-size: 1.18rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, .9);
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 12px 22px;
  border: 0;
  border-radius: 8px;
  font: inherit;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition: transform .2s ease, opacity .2s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  color: var(--white);
  background: var(--green);
}

.button.secondary {
  color: var(--white);
  border: 1px solid rgba(255,255,255,.45);
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(4px);
}

.section {
  padding: 100px 0;
}

.intro {
  background: var(--white);
}

.two-columns {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 90px;
  align-items: start;
}

h2 {
  margin-bottom: 22px;
  color: var(--blue);
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.08;
  letter-spacing: -.04em;
}

.intro-text {
  font-size: 1.1rem;
  color: var(--muted);
}

.intro-text p:last-child {
  margin-bottom: 0;
}

.features {
  background: var(--cream);
}

.section-heading {
  max-width: 650px;
  margin-bottom: 42px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.feature {
  padding: 32px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
}

.feature-icon {
  width: 50px;
  height: 50px;
  margin-bottom: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  background: var(--blue);
  border-radius: 50%;
  font-size: .9rem;
  font-weight: 800;
}

.feature h3 {
  margin-bottom: 8px;
  color: var(--blue);
  font-size: 1.25rem;
}

.feature p {
  margin-bottom: 0;
  color: var(--muted);
}

.about {
  background: var(--blue);
  color: var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}

.about-image {
  min-height: 520px;
  border-radius: 14px;
  background-image: url("billede.jpg");
  background-size: cover;
  background-position: center;
  box-shadow: 0 25px 60px rgba(0,0,0,.2);
}

.about h2 {
  color: var(--white);
}

.about-copy p:not(.eyebrow) {
  color: rgba(255,255,255,.8);
  font-size: 1.08rem;
}

.text-link {
  display: inline-block;
  margin-top: 12px;
  color: #a9df8c;
  font-weight: 800;
  text-decoration: none;
}

.contact {
  background: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 80px;
  align-items: start;
}

.contact-copy > p:not(.eyebrow) {
  max-width: 500px;
  color: var(--muted);
  font-size: 1.08rem;
}

.contact-details {
  margin-top: 35px;
  display: grid;
  gap: 20px;
}

.contact-details a,
.contact-details div {
  display: flex;
  flex-direction: column;
  text-decoration: none;
}

.contact-details span {
  color: var(--muted);
  font-size: .86rem;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.contact-details strong {
  color: var(--blue);
  font-size: 1.3rem;
}

.contact-form {
  padding: 34px;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 12px;
}

.contact-form label {
  display: block;
  margin: 0 0 7px;
  color: var(--blue);
  font-weight: 700;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  margin-bottom: 18px;
  padding: 13px 14px;
  color: var(--text);
  background: var(--white);
  border: 1px solid #d8dad4;
  border-radius: 7px;
  font: inherit;
  outline: none;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(99,179,59,.13);
}

.contact-form textarea {
  resize: vertical;
}

.contact-form .button {
  width: 100%;
}

.form-note {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: .9rem;
  text-align: center;
}

.form-note a {
  font-weight: 700;
}

footer {
  color: rgba(255,255,255,.75);
  background: var(--blue-dark);
}

.footer-inner {
  min-height: 150px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
}

.footer-inner > div:first-child {
  display: flex;
  flex-direction: column;
}

.footer-inner strong {
  color: var(--white);
  font-size: 1.25rem;
}

.footer-inner > div:first-child span {
  font-size: .85rem;
}

.footer-info {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 20px;
  font-size: .85rem;
}

.footer-inner > a {
  color: var(--white);
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

@media (max-width: 800px) {
  .hero {
    min-height: 700px;
    background-position: 62% center;
  }

  .nav {
    min-height: 78px;
  }

  .phone {
    font-size: .95rem;
  }

  .hero-content {
    min-height: 620px;
  }

  .hero-card {
    padding-bottom: 45px;
  }

  .two-columns,
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 45px;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .about-image {
    min-height: 380px;
    order: 2;
  }

  .section {
    padding: 72px 0;
  }

  .footer-inner {
    padding-top: 35px;
    padding-bottom: 35px;
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-info {
    justify-content: flex-start;
  }
}

@media (max-width: 520px) {
  .nav,
  .hero-content,
  .section-inner {
    width: min(calc(100% - 28px), var(--max));
  }

  .brand span {
    font-size: 1.2rem;
  }

  .brand small {
    font-size: .68rem;
  }

  .phone {
    font-size: .85rem;
  }

  h1 {
    font-size: 3rem;
  }

  .lead {
    font-size: 1.05rem;
  }

  .hero-buttons .button {
    width: 100%;
  }

  .contact-form {
    padding: 23px;
  }
}
