:root {
  --primary-blue: #20247b;
  --accent: #fc5356;
}

html {
  scroll-behavior: smooth;
}

body {
  color: #212529;
  overflow-x: hidden;
}

button,
input,
textarea {
  font: inherit;
}

.logo-icon {
  color: #111419;
  font-size: 27px;
  margin-right: 8px;
  vertical-align: 2px;
}

.mobile-nav-toggle {
  display: none;
  padding: 0;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 28px;
  line-height: 1;
}

.chevron {
  padding-left: 5px;
  font-size: 15px;
}

#hjem {
  background: #fff;
  min-height: 100vh;
  width: 100%;
}

.hero-content h1,
.hero-content p {
  color: #fff;
}

.typed-cursor {
  animation: blink 0.75s infinite;
}

@keyframes blink {
  50% { opacity: 0; }
}

#funktioner {
  padding-top: 15px;
}

.feature-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: 64px;
  padding: 48px 0;
  min-height: 405px;
}

.feature-media,
.feature-copy {
  min-width: 0;
}

.features-img {
  display: block;
  width: 500px;
  max-width: 100%;
  aspect-ratio: 940 / 627;
  object-fit: cover;
}

.feature-copy h2 {
  font-size: 32px;
  line-height: 1.18;
}

.feature-copy p {
  font-size: 16px;
  line-height: 1.45;
}

.services-section {
  padding-top: 95px;
}

.feature-box-1 {
  min-height: 315px;
}

.feature-box-1 .icon span {
  display: inline-block;
  font-size: 25px;
  font-weight: 700;
  line-height: 70px;
}

.about-copy {
  line-height: 1.55;
}

.testimonial-carousel {
  position: relative;
  min-height: 465px;
  overflow: hidden;
}

.testimonial-slide {
  display: none;
  padding: 1rem 0;
}

.testimonial-slide.active {
  display: block;
  animation: fade-slide 0.45s ease;
}

@keyframes fade-slide {
  from { opacity: 0; transform: translateX(12px); }
  to { opacity: 1; transform: translateX(0); }
}

.testimonial-img img {
  display: block;
  width: 300px;
  height: 318px;
  object-fit: cover;
}

.testimonial-ico {
  color: #2eca6a;
  font-size: 60px;
  font-weight: 700;
  line-height: 1;
}

.testimonial-avatar {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 50%;
}

.faq .section-title h2 {
  display: inline-block;
}

.faq-question {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: #343a40;
  text-align: left;
  cursor: pointer;
}

.faq-question:hover {
  color: #fd680e;
}

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.25s ease;
}

.faq-answer p {
  min-height: 0;
  overflow: hidden;
}

.faq-question[aria-expanded="true"] + .faq-answer {
  grid-template-rows: 1fr;
}

.faq-question[aria-expanded="true"] span {
  transform: rotate(180deg);
}

.map-wrap {
  height: 360px;
}

.map-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.contact-icon,
.footer-icon {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin-right: 15px;
  font-size: 25px;
  line-height: 1;
}

.footer-icon {
  width: auto;
  height: auto;
  color: rgba(255, 255, 255, 0.7);
}

.form-status {
  min-height: 24px;
  margin-top: 18px;
  color: #14713c;
}

.cookie-banner {
  position: fixed;
  z-index: 1100;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 29px;
  background: #363c40;
  color: #fff;
  border-radius: 4px 4px 0 0;
  box-shadow: 0 -2px 14px rgba(0, 0, 0, 0.16);
  font-size: 14px;
}

.cookie-banner p {
  margin: 0;
}

.cookie-banner a {
  color: #bdbdbd;
  text-decoration: underline;
}

.cookie-banner button {
  flex: 0 0 auto;
  padding: 9px 18px;
  border: 0;
  background: #e8ef35;
  color: #222;
  font-weight: 600;
  cursor: pointer;
}

.cookie-banner.is-hidden {
  display: none;
}

@media (max-width: 991px) {
  .mobile-nav-toggle {
    display: block;
  }

  .navbar ul {
    display: none;
  }

  .navbar.is-open {
    position: fixed;
    inset: 0;
    z-index: 999;
    background: rgba(34, 39, 43, 0.92);
  }

  .navbar.is-open .mobile-nav-toggle {
    position: absolute;
    top: 15px;
    right: 15px;
  }

  .navbar.is-open > ul {
    position: absolute;
    inset: 55px 15px 15px;
    display: block;
    padding: 10px 0;
    border-radius: 10px;
    background: #fff;
    overflow-y: auto;
  }

  .navbar.is-open > ul a {
    padding: 10px 20px;
    color: #394047;
    font-size: 15px;
  }

  .navbar.is-open .dropdown ul {
    position: static;
    display: none;
    margin: 10px 20px;
    opacity: 1;
    visibility: visible;
  }

  .navbar.is-open .dropdown.open ul {
    display: block;
  }

  .feature-row {
    grid-template-columns: 1fr;
    gap: 26px;
    padding: 38px 0;
  }

  .feature-row-reverse .feature-media {
    order: -1;
  }

  .features-img {
    width: 100%;
  }
}

@media (max-width: 600px) {
  #header .logo {
    font-size: 25px;
  }

  #hjem,
  #hjem .hero-content {
    min-height: calc(100vh - 61px);
    height: calc(100vh - 61px);
  }

  .hero-content h1 {
    font-size: 31px;
  }

  .hero-content p {
    font-size: 12px;
    letter-spacing: 2px;
  }

  .section-title h2 {
    font-size: 36px;
  }

  .feature-box-1 {
    min-height: 0;
  }

  .testimonial-carousel {
    min-height: 730px;
  }

  .testimonial-img img {
    width: 100%;
    height: auto;
    max-height: 410px;
  }

  .cookie-banner {
    align-items: flex-start;
    padding: 14px 16px;
    font-size: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* ===== DK theme ===== */
:root {
  --primary-blue: #222831;
  --accent: #c8102e;
  --color-primary: #c8102e;
}

body {
  font-family: "Work Sans", sans-serif;
  color: #2b2f36;
  background: #fafaf8;
}

h1, h2, h3, h4, h5,
#header .logo {
  font-family: "Work Sans", sans-serif;
}

main h2 {
  color: #222831;
  font-weight: 600;
  letter-spacing: -.5px;
}

.bg-light {
  background-color: #fafaf8 !important;
}

#header,
#header.header-inner-pages {
  padding: 20px 0;
  background: #fff;
  border-bottom: 1px solid #ebe7e1;
}

#header .logo a {
  color: #222831;
  font-weight: 700;
  letter-spacing: 3px;
}

.logo-icon {
  color: #c8102e;
  font-size: 18px;
  vertical-align: 4px;
}

.navbar a,
.navbar a:focus {
  color: #3a3f47;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
}

.navbar a:hover,
.navbar li:hover > a {
  color: #c8102e;
}

.navbar .dropdown ul {
  border: 1px solid #ebe7e1;
  border-radius: 2px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .06);
}

.navbar .dropdown ul a:hover,
.navbar .dropdown ul li:hover > a {
  color: #c8102e;
}

.mobile-nav-toggle {
  color: #222831;
}

.navbar.is-open .mobile-nav-toggle {
  color: #fff;
}

#hjem {
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  min-height: calc(100vh - 77px);
  background: #f4efe8;
}

#hjem::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 40%;
  background: url("../images/billede640219.png") center/cover no-repeat;
}

#hjem .container {
  position: relative;
  z-index: 1;
}

#hjem .hero-content {
  max-width: 600px;
  padding: 96px 0;
}

.hero-content h1 {
  min-height: 2.4em;
  color: #222831;
  font-size: 46px;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -1px;
  text-transform: none;
}

.hero-content p {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 2px solid #c8102e;
  color: #4a4f57;
  font-size: 17px;
  line-height: 1.7;
  letter-spacing: 0;
  text-transform: none;
  font-weight: 400;
}

.typed-cursor {
  color: #c8102e;
}

.feature-copy h2 {
  color: #222831;
}

.features-img {
  border-radius: 2px !important;
}

.feature-box-1 {
  background: #fff;
  border: 1px solid #ebe7e1;
  border-radius: 4px;
  box-shadow: none;
  height: calc(100% - 30px);
  min-height: 0;
}

.feature-box-1:after,
.feature-box-1:hover:after {
  background: #222831;
  border-radius: 4px;
}

.feature-box-1:hover {
  top: 0;
}

.feature-box-1 .icon {
  width: auto;
  height: auto;
  margin-bottom: 14px;
  background: transparent;
  color: #c8102e;
  text-align: left;
  line-height: 1;
  border-radius: 0;
}

.feature-box-1 .icon span {
  font-size: 40px;
  font-weight: 300;
  line-height: 1;
}

.feature-box-1 h5 {
  color: #222831;
  font-weight: 600;
}

.section-title h2 {
  color: #222831;
  border-left-color: #c8102e;
  border-left-width: 3px;
  font-weight: 600;
}

.testimonial-ico {
  color: #c8102e;
  font-size: 80px;
  line-height: .9;
}

.testimonial-text {
  background-color: #f1ede6;
  border-radius: 2px;
  font-style: normal;
}

.testimonial-text:after {
  border-top-color: #f1ede6;
}

.testimonial-img img {
  border-radius: 2px;
  filter: grayscale(1);
}

.testimonial-author {
  color: #222831;
  font-weight: 600;
}

.faq .faq-list li {
  border-bottom: 1px solid #e3ded6;
}

.faq-question {
  color: #222831;
  font-size: 18px;
  font-weight: 500;
}

.faq-question:hover {
  color: #c8102e;
}

.map-wrap {
  filter: grayscale(1);
}

.contact .info-item {
  height: calc(100% - 24px);
  margin-bottom: 24px;
  background: #fff;
  border: 1px solid #ebe7e1;
  border-radius: 4px;
}

.contact .info-item h3 {
  color: #222831;
  font-weight: 600;
}

.contact-icon {
  color: #c8102e;
  font-size: 30px;
}

.form-control {
  border-color: #dcd6cc;
  border-radius: 2px;
}

.form-control:focus {
  border-color: #222831;
  box-shadow: none;
}

.btn-primary,
.btn-primary:not(:disabled):not(.disabled):active {
  padding: 12px 48px;
  background: #222831;
  border-color: #222831;
  border-radius: 2px;
  font-weight: 600;
  letter-spacing: 1px;
}

.btn-primary:hover,
.btn-primary:focus {
  background: #c8102e;
  border-color: #c8102e;
}

.footer {
  background-color: #222831;
}

.footer-icon {
  color: #ff6b81;
}

.footer .social-links a {
  border-radius: 2px;
}

.footer .social-links a:hover {
  border-color: #c8102e;
  background: #c8102e;
}

.cookie-banner {
  border-radius: 0;
  background: #fff;
  color: #2b2f36;
  border-top: 1px solid #ebe7e1;
}

.cookie-banner a {
  color: #c8102e;
}

.cookie-banner button {
  background: #c8102e;
  color: #fff;
  border-radius: 2px;
}

@media (max-width: 991px) {
  #hjem::after {
    display: none;
  }
}

@media (max-width: 600px) {
  #hjem,
  #hjem .hero-content {
    height: auto;
    min-height: calc(100vh - 77px);
  }

  #hjem .hero-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 56px 0;
  }

  .hero-content h1 {
    font-size: 32px;
  }

  .hero-content p {
    font-size: 15px;
  }
}
