/* ============================= */
/*            HERO               */
/* ============================= */

#hero {
  box-sizing: border-box;
  padding: clamp(12rem, 20vw, 16rem) 1rem 6rem;
  overflow: hidden;
  position: relative;
  z-index: 1;
  background: #fdfdfd;
}
#hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 25%;
  background: linear-gradient(to bottom, #000000bb 0%, rgba(0,0,0,0) 100%);
  pointer-events: none;
  z-index: 1;
}
#hero .cs-container {
  width: 100%;
  max-width: 80rem;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(2rem, 5vw, 5rem);
  position: relative;
  z-index: 2;
}

/* ============================= */
/*           TEXT SIDE           */
/* ============================= */

#hero .cs-content {
  flex: 1 1 45%;
  max-width: 600px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
#hero .cs-topper {
  font-family: "Lato", sans-serif;
  color: #000a1b;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: clamp(0.8rem, 1.75vw, 0.9rem);
  margin-bottom: 0.75rem;
}
#hero .cs-title {
  font-size: clamp(2rem, 3.5vw, 3.3rem);
  font-weight: 800;
  line-height: 1.15;
  max-width: 20ch;
  margin-bottom: 1.5rem;
  color: #002b75;
}
#hero .cs-text {
  font-size: 1.25rem;
  line-height: 1.5;
  max-width: 38rem;
  margin-bottom: 2.5rem;
  color: var(--bodyTextColor);
}
#hero .cs-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
#hero .cs-button-solid {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 700;
  height: 3.5rem;
  padding: 0 3rem;
  border-radius: 1.875rem;
  background: var(--primary);
  color: var(--bodyTextColorWhite);
  text-decoration: none;
  border: 1px solid transparent;

  transition: all 0.25s ease;
}
#hero .cs-button-solid:hover {
  background-color: var(--accentcolor);
  border-color: var(--accentcolor);
  color: var(--bodyTextColor);
}
#hero .cs-call-now {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;

  line-height: 1;
  padding: 0.7rem 2.5rem;
}
#hero .cs-call-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}
#hero .cs-call-icon svg {
  width: 1.2rem;
  height: 1.2rem;
}

/* ============================= */
/*           IMAGE SIDE          */
/* ============================= */

#hero .cs-image {
  flex: 1 1 60%;
  display: block;
}
#hero .cs-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  position: relative;
  z-index: 0;
}

/* ============================= */
/*           TABLET              */
/* ============================= */

@media (max-width: 900px) {
  #hero {
    padding-top: 18rem;
    padding-bottom: 6rem;
  }
  #hero .cs-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  #hero .cs-content {
    align-items: center;
    text-align: center;
    max-width: 100%;
  }
  #hero .cs-title {
    max-width: 80%;
  }
  #hero .cs-actions {
    justify-content: center;
  }
  #hero .cs-image {
    width: 100%;
    max-width: 500px;
  }
  #hero .cs-text {
    display: none;
  }
}

/* ============================= */
/*           MOBILE              */
/* ============================= */

@media (max-width: 480px) {
  #hero {
    padding-top: 18rem;
  }
  #hero .cs-title {
    font-size: clamp(1.6rem, 6vw, 1.9rem);
    max-width: 100%;
  }
  #hero .cs-topper {
    font-size: clamp(0.65rem, 2.75vw, 0.9rem);
  }
  #hero .cs-button-solid {
    font-size: 0.95rem;
    line-height: 2.75rem;
    padding: 0 2rem;
  }
}

/*-- -------------------------- -->
<---          Reviews           -->
<--- -------------------------- -*/
/* Mobile - 360px */
@media only screen and (min-width: 0rem) {
  #reviews {
    padding: clamp(1.5rem, 5vw, 3rem) 0rem;
    background: linear-gradient(0deg, #fff 0%, #fefefe 100%);
  }
  #reviews .cs-container {
    width: 100%;
    max-width: none;
    margin: 0;
  }
  #reviews .cs-carousel {
    position: relative;
    overflow: hidden;
    width: 100%;
  }
  #reviews .cs-track {
    display: flex;
    align-items: stretch;
    gap: 1rem;
    width: max-content;
    will-change: transform;
    animation: csReviewsScroll var(--duration, 45s) linear infinite;
    transform: translateX(0);
  }
  #reviews .cs-review {
    flex: 0 0 auto;
    width: clamp(16.5rem, 70vw, 22rem);
    background: linear-gradient(
      to top right,
      var(--primaryLight) 40%,
      var(--primary) 60%
    );
    color: var(--bodyTextColorWhite);
    border-radius: 1rem;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    box-shadow: rgba(0, 0, 0, 0.12) 0px 2px 6px;
  }
  #reviews .cs-review-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
  }
  #reviews .cs-avatar {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    object-fit: cover;
    flex: none;
    border: 2px solid rgba(255, 255, 255, 0.12);
  }
  #reviews .cs-review-meta {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    min-width: 0;
  }
  #reviews .cs-name {
    font-weight: 800;
    line-height: 1.2em;
  }
  #reviews .cs-sub {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.85rem;
    font-weight: 600;
    line-height: 1.2em;
    opacity: 0.9;
  }
  #reviews .cs-sub img {
    height: 1rem;
    width: auto;
    flex: none;
  }
  #reviews .cs-review-text {
    margin: 0;
    line-height: 1.6em;
    opacity: 0.95;
  }
  #reviews .cs-review-footer {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
  }
  #reviews .cs-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }
  #reviews .cs-stars {
    letter-spacing: 0.12em;
    color: var(--accentcolor);
    font-size: 0.95rem;
    line-height: 1em;
  }
  #reviews .cs-source {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: underline;
    font-size: 0.9rem;
    line-height: 1.2em;
    white-space: nowrap;
    transform: translateX(-0.5rem);
  }
  #reviews .cs-source:hover {
    color: #fff;
  }
  #reviews .cs-visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

  @keyframes csReviewsScroll {
    to {
      transform: translateX(calc(-1 * var(--scroll-distance, 600px)));
    }
  }
}

@media only screen and (min-width: 380px) {
  #reviews .cs-source {
    transform: translateX(0);
  }
}
/* Tablet/Desktop */
@media only screen and (min-width: 48rem) {
  #reviews .cs-review {
    width: clamp(18rem, 28vw, 22rem);
  }
}

/*-- -------------------------- -->
<---         Services           -->
<--- -------------------------- -*/

/* Mobile - 360px */
@media only screen and (min-width: 0rem) {
  #services {
    padding: var(--sectionPadding);
  }
  #services .cs-container {
    width: 100%;
    max-width: 80rem;
    margin: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: clamp(2.5rem, 6vw, 4rem);
  }
  #services .cs-content {
    text-align: center;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  #services .cs-topper {
    color: var(--primary);
    margin-bottom: 1rem;
    font-size: clamp(1rem, 2vw, 1.2rem);
  }
  #services .cs-title {
    font-size: clamp(1.8375rem, 3.9vw, 2.8625rem);
    max-width: 62rem;
      word-break: break-word;
  overflow-wrap: anywhere;
  }

  /* ========= GRID FÖR KORT ========= */
  #services .cs-card-group {
    width: 100%;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: clamp(1rem, 2.3vw, 1.25rem);
    align-items: stretch;
  }
  #services .cs-text-block {
    grid-column: span 4;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    letter-spacing: 0.02em;
    font-weight: 600;
  }
  #services .cs-text {
    padding: 1.5rem 1.5rem;
    border-radius: 1.5rem;
    width: 100%;
  }
  #services .cs-text h3 {
    font-size: 1.5rem;
    line-height: 1.25;
    color: var(--primary);
    margin: 0 0 0.75rem 0;
  }
  #services .cs-text p {
    margin: 0 0 1.25rem 0;
    line-height: 1.55;
    color: var(--bodyTextColor);
    font-size: 1.1rem;
    opacity: 0.92;
    max-width: 55ch;
    margin-bottom: 2rem;
  }
  #services .cs-button-solid {
    font-size: 1rem;
    font-weight: 700;
    height: 3.5rem;
    padding: 1rem 3rem;
    border-radius: 1.875rem;
    background: var(--primary);
    color: var(--bodyTextColorWhite);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid transparent;
    box-sizing: border-box;
    transition: background-color 0.25s, color 0.25s, border-color 0.25s,
      transform 0.2s ease, box-shadow 0.2s ease;
    white-space: nowrap;
  }
  #services .cs-button-solid:hover {
    background-color: var(--accentcolor);
    border-color: var(--accentcolor);
    color: var(--bodyTextColor);
    transform: translateY(-2px);
    box-shadow: 0 10px 18px rgba(0, 0, 0, 0.12);
  }
  #services .cs-item {
    list-style: none;
    grid-column: span 12;
    display: flex;
    align-items: stretch;
    perspective: 1200px;
    padding: 0;
    background: none;
  }

  /* ========= SJÄLVA FLIPKORTET ========= */
  #services .container {
    width: 100%;
    height: 100%;
    perspective: 1200px;
    transition: transform 0.3s, filter 0.3s;
  }
  #services .container:hover {
    filter: drop-shadow(0px 6px 18px rgba(0, 0, 0, 0.18));
    transform: translateY(-4px);
  }
  #services .flip_box {
    width: 100%;
    height: 100%;
    display: grid;
    transform-style: preserve-3d;
    transition: transform 0.5s ease-out;
  }
  #services .flip_box.flipped {
    transform: rotateY(-180deg);
  }

  /* ========= FRAM- OCH BAKSIDA ========= */
  #services .front,
  #services .back {
    grid-area: 1 / 1;
    backface-visibility: hidden;
    border-radius: 1.5rem;
    display: flex;
    flex-direction: column;
  }
  #services .front {
    background: linear-gradient(
      to top right,
      var(--primaryLight) 40%,
      var(--primary) 60%
    );
    filter: drop-shadow(0px 6px 18px rgba(0, 0, 0, 0.15));
    align-items: center;
    justify-content: center;
    position: relative;
  }
  #services .service-icon {
    width: clamp(140px, 70%, 300px);
    height: auto;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -55%);
  }
  #services .back {
    background-color: #fff;
    transform: rotateY(180deg);
    filter: drop-shadow(0px 6px 18px rgba(0, 0, 0, 0.15));
    padding: 1.5rem;
    gap: 1rem;
  }

  /* ========= TEXTSTILAR ========= */
  #services .front * {
    margin: 0;
    color: #fff;
    letter-spacing: 0.02em;
    font-weight: 600;
  }
  #services .back * {
    margin: 0;
    letter-spacing: 0.02em;
    font-weight: 600;
  }
  #services .f_subline {
    position: absolute;
    bottom: 2.5rem;
    left: 1.5rem;
    font-size: 1rem;
    color: var(--secondaryLight);
  }
  #services .f_headline {
    position: absolute;
    bottom: 1.2rem;
    left: 1.5rem;
    right: 4.5rem;
    font-size: 1.1rem;
    line-height: 1.25;
  }
  #services .f_headline_unique {
    font-size: 1.1rem;
  }
  #services .b_headline,
  #services .b_text {
    padding-left: 0;
  }
  #services .b_headline {
    padding-top: 0;
    font-size: clamp(1.2rem, 2vw, 1.4rem);
    font-weight: 700;
    letter-spacing: 0.02rem;
    color: var(--primary);
    line-height: 1.2;
    margin-bottom: 0.25rem;
  }
  #services .b_text {
    font-size: clamp(0.9rem, 1.4vw, 1rem);
    line-height: 1.5;
    padding-top: 0;
    padding-right: 0;
    opacity: 0.9;
    max-width: none;
    color: var(--bodyTextColor);
    font-weight: 500;
    margin-bottom: 1rem;
  }

  /* ========= CTA-KNAPP PÅ BAKSIDAN (match hero, clickable, not full width) ========= */
  #services .b_button {
    position: static;
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 3.25rem;
    padding: 0 2.75rem;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 1.875rem;
    background: var(--primary);
    color: var(--bodyTextColorWhite);
    text-decoration: none;
    border: 1px solid transparent;
    box-sizing: border-box;
    transition: background-color 0.25s, color 0.25s, border-color 0.25s,
      transform 0.2s ease, box-shadow 0.2s ease;
    cursor: pointer;
    white-space: nowrap;
    width: 65%;
    align-self: flex-start;
    pointer-events: auto;
    margin-top: auto;
  }
  #services .b_button:hover {
    background-color: var(--accentcolor);
    border-color: var(--accentcolor);
    color: var(--bodyTextColor);
    transform: translateY(-2px);
    box-shadow: 0 10px 18px rgba(0, 0, 0, 0.12);
  }
  #services .b_button span {
    padding-left: 0;
    will-change: transform;
  }

  /* ========= KNAPPEN NERE TILL HÖGER PÅ FRAMSIDAN ========= */
  #services .r_wrap {
    position: absolute;
    right: 1.25rem;
    bottom: 1.25rem;
    width: 52px;
    height: 52px;
    pointer-events: auto;
  }
  #services .b_round,
  #services .s_round {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background-color: #c3b261bb;
    transition: all 0.2s linear;
  }
  #services .b_round {
    opacity: 0;
  }
  #services .b_round_hover {
    transform: scale(1.37);
    opacity: 0.4;
  }
  #services .s_round {
    background-color: #ffbf00;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  #services .s_arrow {
    width: 52px;
    height: 52px;
    background-image: url("/assets/images/arrow.webp");
    background-repeat: no-repeat;
    background-position: center;
    background-color: transparent;
    transition: all 0.35s linear;
  }
  #services .s_arrow_rotate {
    transform: rotate(-180deg);
  }
  #services .r_wrap:hover .b_round {
    transform: scale(1.37);
    opacity: 0.4;
  }
}

/* Mellanläge – 2 kort per rad (≈600px) */
@media only screen and (min-width: 600px) {
  #services .container {
    max-width: 100%;
  }
  #services .cs-item {
    grid-column: span 6;
  }
  #services .f_subline {
    font-size: clamp(0.875rem, 1.4vw, 1.2rem);
    bottom: 2.6rem;
  }
  #services .f_headline {
    font-size: clamp(1.05rem, 1.75vw, 1.2rem);
  }
}

/* 700px–950px */
@media (min-width: 43.75rem) and (max-width: 59.375rem) {
  #services .service-icon {
    width: 72%;
  }
}
/* 950px–1158px */
@media (min-width: 59.375rem) and (max-width: 72.375rem) {
  #services .service-icon {
    width: 65%;
  }
}
/* Tablet & uppåt – 4 kort per rad */
@media only screen and (min-width: 1158px) {
  #services .cs-item {
    grid-column: span 4;
  }
  #services .f_subline {
    font-size: clamp(0.6rem, 1.2vw, 1rem);
    bottom: 2.9rem;
  }
  #services .f_headline {
    font-size: clamp(0.8125rem, 1.6vw, 1.1rem);
  }
  #services .f_headline_unique {
    font-size: clamp(0.8125rem, 1.6vw, 1.05rem);
  }
}

@media only screen and (min-width: 1300px) {
  #services .f_headline {
    font-size: 1.2rem;
    letter-spacing: 0.025rem;
  }
  #services .b_headline {
    font-size: 1.4475rem;
    letter-spacing: 0.025rem;
  }
}

@media only screen and (min-width: 100rem) {
  #services .cs-button-solid {
    margin-top: -1rem;
  }
}

@media only screen and (max-width: 600px) {
  #services .cs-button-solid {
    height: 3rem;
    padding: 0 2.25rem;
  }
  #services .b_button {
    height: 3rem;
    padding: 0 2.25rem;
  }
}

@media (max-width: 480px) {
  #services .cs-button-solid {
    font-size: 1rem;
    height: 2.75rem;
    padding: 0 2rem;
  }
  #services .b_button {
    font-size: 1rem;
    height: 2.75rem;
    padding: 0 2rem;
  }
}

/*-- -------------------------- -->
<---       Side By Side         -->
<--- -------------------------- -*/

/* Mobile - 360px */
@media only screen and (min-width: 0rem) {
  #about {
    padding: var(--sectionPadding);
    overflow: hidden;
  }
  #about .cs-container {
    width: 100%;
    max-width: 36.5rem;
    margin: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: clamp(3rem, 4vw, 4rem);
  }
  #about .cs-content {
    text-align: left;
    width: 100%;
    max-width: 33.875rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: relative;
    z-index: 10;
  }

  #about .cs-topper {
    margin-bottom: 0.5rem;
  }
  #about .cs-title {
    font-size: clamp(1rem, 8vw, 2.8625rem);
    margin-bottom: 1.25rem;
  }
  #about .cs-text {
    margin-bottom: 1rem;
    font-size: 1.25rem;
  }
  #about .cs-text:last-of-type {
    margin-bottom: 2rem;
  }
  #about .cs-button-solid {
    font-size: 1rem;
    font-weight: 700;
    line-height: 3.5rem;     
    padding: 0 3rem;        
    border-radius: 1.875rem;
    background: var(--primary);
    color: var(--bodyTextColorWhite);
    text-decoration: none;
    display: inline-block;
    border: 1px solid transparent;
    box-sizing: border-box;
    transition: background-color 0.25s, color 0.25s, border-color 0.25s;
  }
  #about .cs-button-solid:hover {
    background-color: var(--accentcolor);
    border-color: var(--accentcolor);
    color: var(--bodyTextColor);
  }
  #about .cs-ul {
    width: 100%;
    padding: 0;
    /* 32px - 48px */
    margin: clamp(2rem, 5vw, 3rem) 0 0 0;
    /* 32px - 48px */
    padding: clamp(2rem, 5vw, 3rem) 0 0 0;
    border-top: 1px solid var(--accentcolor);
    display: flex;
    justify-content: space-between;
    align-items: center;
    column-gap: 0.75rem;
  }
  #about .cs-item {
    list-style: none;
    width: 32%;
    display: flex;
    flex-direction: column;
    align-self: stretch;
    align-content: space-between;
  }
  #about .cs-number {
    font-size: clamp(1.25rem, 2vw, 1.5625rem);
    line-height: 1.2em;
    font-weight: 700;
    text-align: left;
    color: var(--primary);
    display: block;
    margin: 0 0 0.5rem 0;
  }
  #about .cs-h3 {
    font-size: clamp(1.05rem, 2vw, 1.1rem);
    line-height: 1.5em;
    font-weight: 600;
    text-align: left;
    margin: 0;
    color: var(--bodyTextColor);
    font-family: "Lato", sans-serif;
  }
  #about .cs-image-group {
    width: 100%;
    max-width: 41.875rem;
    height: 100vw;
    max-height: 39.375rem;
    position: relative;
    display: block;
    z-index: 1;
  }
  #about .cs-picture {
    width: 93%;
    height: 93%;
    position: absolute;
    top: 0;
    left: 0;
    display: block;
  }
  #about .cs-picture img {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    object-fit: cover;
    border-radius: 1.875rem;
  }
  #about .cs-box {
    text-align: left;
    width: 70%;
    max-width: 19rem;
    /* 20px - 40px */
    padding: clamp(1.25rem, 4vw, 2.5rem);
    box-sizing: border-box;
    background: linear-gradient(
      to top right,
      var(--secondary) 10%,
      var(--primary) 80%
    );
    border-radius: 1.875rem;
    display: inline-flex;
    justify-content: center;
    align-items: flex-start;
    flex-direction: column;
    gap: 0.5rem;
    position: absolute;
    right: 0;
    bottom: 0;
    z-index: 10;
  }
  #about .cs-desc-text {
    /* 16px - 31px */
    font-size: clamp(1.275rem, 2.5vw, 2.2275rem);
    line-height: 1.2em;
    font-weight: 700;
    text-align: inherit;
    width: 100%;
    color: var(--bodyTextColorWhite);
    position: relative;
    z-index: 10;
  }
  #about .cs-graphic {
    width: 150%;
    height: auto;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: -1;
  }
}
/* Desktop - 1024px */
@media only screen and (min-width: 64rem) {
  #about .cs-container {
    max-width: 80rem;
    flex-direction: row;
    justify-content: space-between;
    align-items: stretch;
  }
  #about .cs-content {
    width: 48%;
    padding: 3rem 0;
    align-self: center;
    flex: none;
  }
  #about .cs-image-group {
    width: 55%;
    max-width: 41.875rem;
    min-height: 41.875rem;
    max-height: 100%;
    height: auto;
    margin: 0;
  }
  #about .cs-picture {
    width: 93%;
    height: 94%;
  }
  #about .cs-box {
    bottom: 0rem;
  }
  #about .cs-graphic {
    max-width: 44.6875rem;
    left: auto;
    right: 8.125rem;
    transform: translateY(-50%);
  }
}

/*-- -------------------------- -->
<---          Contact           -->
<--- -------------------------- -*/
/* Mobile - 360px */
@media only screen and (min-width: 0rem) {
  #contact {
    padding: var(--sectionPadding);
  }
  #contact .cs-container {
    width: 100%;
    max-width: 50rem;
    margin: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    /* 48px - 64px */
    gap: clamp(3rem, 6vw, 4rem);
  }
  #contact .cs-content {
    text-align: left;
    width: 100%;
    margin: 0 0 2rem 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }
  #contact .cs-left-section {
    margin-top: -2rem;
    width: 100%;
  }
  #contact .cs-title {
    font-size: clamp(1rem, 8vw, 2.8625rem);
    margin-top: 0.5rem;
  }
  #contact .cs-text {
    font-size: clamp(1rem, 2vw, 1.25rem);
    max-width: 46ch;
    margin-bottom: -1rem;
  }
  #contact #cs-form-240 {
    width: 100%;
  }
  #contact .cs-label {
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.4em;
    /* 12px - 20px */
    margin-bottom: clamp(0.75rem, 1.3em, 1rem);
    color: var(--headerColor);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
  }
  #contact .cs-label-message {
    /* 32px - 48px */
    margin-bottom: clamp(2rem, 5.3vw, 3rem);
  }
  #contact .cs-input,
  #contact .cs-textarea {
    font-size: 1rem;
    width: 100%;
    height: 4rem;
    margin-top: 0.25rem;
    box-sizing: border-box;
    padding-left: 1.25rem;
    border: 1px solid #b4b2c7;
    border-radius: 0.5rem;
    transition: border 0.3s;
  }
  #contact .cs-input:hover,
  #contact .cs-textarea:hover {
    border: 1px solid var(--accentcolor);
  }
  #contact .cs-textarea {
    font-family: inherit;
    min-height: 7.5rem;
    margin: 0;
    padding-top: 1.25rem;
  }
  #contact .cs-submit {
    width: 100%;
    border: none;
    line-height: 3.25rem;
    border-radius: 0.75rem;
    background-color: var(--primary);
    color: #fff;
    font-weight: 800;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    font-family: inherit;
    font-size: 1rem;

    transition: 
      transform 0.2s ease,
      box-shadow 0.2s ease,
      background-color 0.2s ease;
  }
  #contact .cs-submit:hover {
    transform: translateY(-3px);
    background-color: var(--secondary);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.18);
  }
  #contact .cs-submit:active {
    transform: translateY(0);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
  }
  #contact .cs-submit {
    width: 100%;
    border: none;
    cursor: pointer;
  }
  #contact .cs-right-section {
    width: 100%;
    box-sizing: border-box;
    /* 24px - 40px top & bottom */
    /* 20px - 40px left & right */
    padding: clamp(1.5rem, 3vw, 2.5rem) clamp(1.25rem, 3vw, 2.5rem);
    background-color: var(--bodyTextColorWhite);
    overflow: hidden;
    border-radius: 1.25rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    /* 28px - 40px */
    gap: clamp(1.75rem, 4vw, 2.5rem);
    position: relative;
    box-shadow: inset #2d4c6a41 0px 0px 6px;
  }
  #contact .cs-ul {
    margin: 0;
    padding: 0;
  }
  #contact .cs-li {
    list-style: none;
    /* 16px - 20px */
    margin-bottom: clamp(1rem, 2vw, 1.25rem);
    display: flex;
    justify-content: flex-start;
    align-items: center;
  }
  #contact .cs-li:hover .cs-icon-wrapper {
    transform: scale(1.2);
  }
  #contact .cs-li:last-of-type {
    margin-bottom: 0;
  }
  #contact .cs-header {
    /* 16px - 20px */
    font-size: clamp(1rem, 2vw, 1.25rem);
    font-weight: 700;
    line-height: 1.2em;
    margin-bottom: 0.5rem;
    color: var(--primary);
    display: block;
  }
  #contact .cs-link {
    /* 16px - 20px */
    font-size: clamp(1.1rem, 1vw, 1.4rem);
    font-weight: 600;
    line-height: 1.2em;
    text-decoration: none;
    color: var(--headerColor);
    position: relative;
  }
  #contact .cs-link:before {
    content: "";
    width: 0%;
    height: 2px;
    background: var(--accentcolor);
    opacity: 1;
    display: block;
    position: absolute;
    bottom: 0;
    left: 0;
    transition: width 0.3s;
  }
  #contact .cs-link:hover:before {
    width: 100%;
  }
  #contact .cs-icon-wrapper {
    width: 4rem;
    height: 4rem;
    /* 16px - 20px */
    margin-right: clamp(1rem, 2vw, 1.25rem);
    background: linear-gradient(
      to top right,
      var(--secondary) 20%,
      var(--primary) 70%
    );
    box-shadow: 0px 4px 17px rgba(0, 0, 0, 0.05);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.3s;
    will-change: transform;
    flex: none;
  }
  #contact .cs-icon {
    /* 32px -36px */
    width: clamp(2rem, 3vw, 2.25rem);
    height: auto;
    display: block;
  }
  #contact .cs-picture {
    width: 100%;
    overflow: hidden;
    border-radius: 0.5rem;
    display: block;
    position: relative;
    aspect-ratio: 288/200;
    box-shadow: #2d4c6a41 6px 6px 6px;
  }
  #contact .cs-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
  }
  /* GDPR-checkbox i kontaktformuläret */
  #contact .cs-consent {
    margin: -1.5rem 0 1rem 0;
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    padding: 0.9rem 1rem;
    border-radius: 0.75rem;
    border: 1px solid #b4b2c7;
    transition: border 0.3s;
  }
  #contact .cs-consent:hover {
    border: 1px solid var(--accentcolor);
  }

  #contact .cs-consent-checkbox {
    margin-top: 0.2rem;
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
  }
  #contact .cs-consent-checkbox:hover {
    cursor: pointer;
  }

  #contact .cs-consent-text {
    color: var(--headerColor);
    font-family: "Lato", sans-serif;
    font-size: 0.95rem;
    line-height: 1.35;
    font-weight: 500;
  }

  #contact .cs-consent-link {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: all 0.3s;
  }
  #contact .cs-consent-link:hover {
    color: var(--primary);
    text-decoration-color: var(--accentcolor);
  }
}
/* Tablet - 700px */
@media only screen and (min-width: 43.75rem) {
  #contact .cs-right-section {
    flex-direction: row;
    align-items: center;
  }
}
/* Small Desktop - 1024px */
@media only screen and (min-width: 64rem) {
  #contact .cs-container {
    max-width: 80rem;
    flex-direction: row;
    justify-content: flex-end;
    align-items: flex-start;
    /* 60px - 108px */
    gap: clamp(3.75rem, 7.9vw, 6.75rem);
  }
  #contact .cs-left-section {
    max-width: 32.625rem;
  }
  #contact .cs-label {
    width: 100%;
  }
  #contact .cs-right-section {
    width: 40vw;
    max-width: 39.375rem;
    flex-direction: column;
    align-items: flex-start;
    flex: none;
  }
  #contact .cs-picture {
    width: 100%;
    max-width: 100%;
    height: 27.375rem;
  }
}
