/*========================================
=               Banner                   =
========================================*/

@media only screen and (min-width: 0rem) {
  #banner-2285 {
    padding: var(--sectionPadding);
    padding-top: clamp(11.875rem, 25vw, 17.5rem);
    padding-bottom: 0rem;
    overflow: hidden;
    position: relative;
    z-index: 1;
  }
  #banner-2285 .cs-container {
    text-align: center;
    width: 100%;
    max-width: 80rem;
    margin: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
  }
  #banner-2285 .cs-int-title {
    font-size: clamp(2.4375rem, 6.4vw, 3.8125rem);
    font-weight: 600;
    line-height: 1.2em;
    text-align: inherit;
    max-width: 30rem;
    margin: 0 0 1rem;
    color: var(--white);
    position: relative;
  }
  #banner-2285 .cs-text {
    text-align: inherit;
    margin-bottom: clamp(3.75rem, 7vw, 7.5rem);
    max-width: 30rem;
    color: var(--white);
  }
  #banner-2285 .cs-background {
    width: 100%;
    height: 100%;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
  }
  #banner-2285 .cs-background:before {
    content: "";
    width: 100%;
    height: 100%;
    background: var(--dark);
    opacity: 0.72;
    position: absolute;
    display: block;
    top: 0;
    left: 0;
    z-index: 1;
  }
  #banner-2285 .cs-background img {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    object-fit: cover;
    z-index: -1;
  }
}

/*========================================
=               Formulär                 =
========================================*/

#contact-323 {
  padding: var(--sectionPadding);
  position: relative;
  z-index: 1;
}

#contact-323 .cs-container {
  width: 100%;
  max-width: 50rem;
  margin: auto;
  display: flex;
  flex-direction: column;
  gap: 3.25rem;
}

#contact-323 .form {
  width: 100%;
  max-width: 60rem;
  margin: 0 auto;
  background: #fff;
  padding: clamp(1.5rem, 5vw, 3rem);
  border-radius: 1rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* Form header */

#contact-323 .form-header {
  text-align: center;
  margin-bottom: 2rem;
}

#contact-323 .form-header h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  line-height: 1.2;
  margin: 0;
}

/* Category tabs */

#contact-323 .form-area {
  margin-bottom: 2rem;
}

#contact-323 .area-label {
  display: block;
  text-align: center;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

#contact-323 .tabs {
  width: 100%;
  max-width: 34rem;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}

#contact-323 .tab {
  width: 100%;
  min-width: 0;
  padding: 0.7rem 0.75rem;
  background: #e5e5e5;
  border: none;
  border-radius: 0.5rem;
  cursor: pointer;
  font-family: "Poppins", sans-serif;
  font-size: clamp(0.9rem, 3vw, 1rem);
  font-weight: 600;
  white-space: nowrap;
  transition: 0.25s ease;
}

#contact-323 .tab.active {
  background: var(--primary);
  color: #fff;
}

#contact-323 .tab:hover {
  background: #d9d9d9;
}

#contact-323 .tab.active:hover {
  background: var(--primary);
}

#contact-323 .tab:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 3px;
}

/* Form grid */

#contact-323 form {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.2rem;
}

#contact-323 .label {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-size: 1rem;
}

#contact-323 .services-label > span {
  font-weight: 600;
}

#contact-323 .services-label.is-hidden {
  display: none;
}

#contact-323 .input {
  width: 100%;
  background: #efefef;
  border: 1px solid transparent;
  border-radius: 0.5rem;
  padding: 1rem;
  font-family: "Poppins", sans-serif;
  font-size: 1rem;
}

#contact-323 .input::placeholder {
  color: #7d799c;
  opacity: 0.6;
}

#contact-323 .input:focus {
  outline: none;
  border-color: var(--primary);
  background: #fff;
}

#contact-323 .textarea {
  min-height: 7.5rem;
  max-height: 15rem;
  padding-top: 1.5rem;
  margin-bottom: 0.75rem;
  font-family: inherit;
  resize: vertical;
  overflow-y: auto;
}

/* Checkboxes */

#service-checkboxes {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.7rem;
  margin-top: 0.7rem;
  padding: 0.5rem 0;
}

#service-checkboxes label {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  cursor: pointer;
  padding: 0.7rem 1rem;
  background: #f5f5f5;
  border: 1px solid #ddd;
  border-radius: 0.5rem;
  transition: 0.2s ease;
}

#service-checkboxes label:hover {
  background: #ededed;
  border-color: var(--primary);
}

#service-checkboxes input[type="checkbox"] {
  width: 1.2rem;
  height: 1.2rem;
  accent-color: var(--primary);
}

/* Recaptcha + submit */

#contact-323 .g-recaptcha {
  grid-column: 1 / -1;
}

#contact-323 .form-status {
  grid-column: 1 / -1;
  margin: 0;
  min-height: 1.2rem;
  color: #8a1f1f;
  font-size: 0.95rem;
}

#contact-323 .cs-button-solid {
  grid-column: 1 / -1;
  display: block;
  min-height: 3.5rem;
  margin: 1rem auto 0;
  padding: 0.75rem 2rem;
  border: none;
  cursor: pointer;
  font-family: "Poppins", sans-serif;
}

#contact-323 .cs-button-solid:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

/* Map */

#contact-323 .cs-map {
  width: 100%;
  max-width: 610px;
  height: 300px;
  min-height: 300px;
  margin: 0 auto;
}

#contact-323 .cs-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 1rem;
}

/*======= TABLET 768px =======*/

@media only screen and (min-width: 47rem) {
  #contact-323 .cs-container {
    max-width: 50rem;
  }

  #contact-323 form {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  #contact-323 .label:first-of-type,
  #contact-323 .services-label,
  #contact-323 .message-label {
    grid-column: 1 / -1;
  }

  #service-checkboxes {
    grid-template-columns: repeat(2, 1fr);
  }

  #contact-323 .cs-map {
    max-width: 1000px;
  }
}

/*======= DESKTOP 1024px =======*/

@media only screen and (min-width: 65rem) {
  #contact-323 .cs-container {
    max-width: 80rem;
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    grid-template-areas: "map form";
    gap: 3.25rem;
    align-items: stretch;
  }

  #contact-323 .form {
    grid-area: form;
    max-width: 60rem;
    margin: 0;
  }

  #contact-323 .cs-map {
    grid-area: map;
    width: 100%;
    max-width: none;
    height: 100%;
    min-height: 34rem;
    margin: 0;
    border-radius: 1.5rem;
  }

  #contact-323 .cs-map iframe {
    border-radius: 1.5rem;
  }
}

/*======= VERY SMALL SCREENS =======*/

@media only screen and (max-width: 25rem) {
  #contact-323 {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }

  #contact-323 .form {
    padding: 1rem;
  }

  #contact-323 .tabs {
    gap: 0.5rem;
  }

  #contact-323 .tab {
    padding: 0.65rem 0.4rem;
    font-size: 0.85rem;
  }

  #contact-323 .input,
  #contact-323 .textarea {
    padding: 0.75rem;
    font-size: 0.95rem;
  }

  #service-checkboxes label {
    padding: 0.5rem;
    font-size: 0.9rem;
  }
}

/*========================================
=          Kontaktinformation            =
========================================*/

#contact-strip-325 {
  padding: var(--sectionPadding);
  background-color: #282828;
}

#contact-strip-325 .cs-stat-group {
  width: 100%;
  max-width: 37.5rem;
  margin: auto;
  padding: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 2.5rem;
}

#contact-strip-325 .cs-item {
  list-style: none;
  width: 18.125rem;
  height: 6rem;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

#contact-strip-325 .cs-picture {
  width: 5rem;
  height: 5rem;
  margin-right: clamp(0.75rem, 3vw, 1.25rem);
  background-color: var(--primary);
  border: 1px solid var(--primary);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex: none;
  transition:
    background-color 0.3s,
    box-shadow 0.3s,
    transform 0.6s;
}

#contact-strip-325 .cs-item:hover .cs-picture {
  background-color: var(--secondary);
  box-shadow: rgba(149, 157, 165, 0.2) 0 8px 24px;
  transform: scale(1.05);
}

#contact-strip-325 .cs-flex-group {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
}

#contact-strip-325 .cs-header {
  display: block;
  margin: 0 0 0.75rem;
  color: var(--white);
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.2;
}

#contact-strip-325 .cs-link,
#contact-strip-325 .em {
  display: block;
  color: var(--white);
  font-size: var(--bodyFontSize);
  line-height: 1.5;
  text-decoration: none;
  transition: color 0.3s;
}

#contact-strip-325 .cs-link:hover,
#contact-strip-325 .em:hover {
  color: var(--secondary);
}

#contact-strip-325 .cs-icon-wrapper {
  position: relative;
  width: 1.8rem;
  height: 1.8rem;
}

#contact-strip-325 .cs-icon {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: auto;
  transition: opacity 0.3s ease;
}

#contact-strip-325 .cs-icon-default {
  opacity: 1;
}

#contact-strip-325 .cs-icon-hover {
  opacity: 0;
}

#contact-strip-325 .cs-item:hover .cs-icon-default {
  opacity: 0;
}

#contact-strip-325 .cs-item:hover .cs-icon-hover {
  opacity: 1;
}

/*======= CONTACT STRIP TABLET =======*/

@media only screen and (min-width: 48rem) and (max-width: 63.99rem) {
  #contact-strip-325 .cs-stat-group {
    max-width: 80rem;
    flex-direction: row;
    gap: 2rem;
  }

  #contact-strip-325 .cs-picture {
    width: 4rem;
    height: 4rem;
  }

  #contact-strip-325 .cs-header {
    font-size: 1rem;
  }

  #contact-strip-325 .cs-link,
  #contact-strip-325 .em {
    font-size: 0.7rem;
  }

  #contact-strip-325 .cs-stat-group > li:nth-child(3) .cs-header {
    padding-top: 1rem;
  }
}

/*======= CONTACT STRIP DESKTOP =======*/

@media only screen and (min-width: 64rem) {
  #contact-strip-325 .cs-stat-group {
    max-width: 80rem;
    flex-direction: row;
    justify-content: space-evenly;
    flex-wrap: nowrap;
  }

  #contact-strip-325 .cs-stat-group > li:nth-child(3) .cs-header {
    padding-top: 1.5rem;
  }
}
