/*-- -------------------------- -->
<---           Hero             -->
<--- -------------------------- -*/

/* Mobile - 360px */
@media only screen and (min-width: 0rem) {
  #Hero {
    padding: clamp(9rem, 25.95vw, 18.75rem) 1rem 0;
    padding-bottom: clamp(8.125rem, 12.8vw, 15.275rem);
    box-sizing: border-box;
    overflow: hidden;
    position: relative;
    padding-top: 21rem;
  }
  #Hero .cs-container {
    width: 100%;
    max-width: 80rem;
    margin: auto;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: clamp(3rem, 6vw, 4rem);
  }
  #Hero .cs-content {
    text-align: left;
    width: 90%;
    max-width: 48.0625rem;
    margin-top: clamp(6.25rem, 28vw, 9.375rem);
  }

  #Hero .cs-title {
    font-size: clamp(1.6075rem, 5vw, 2.6125rem);
    font-weight: 900;
    line-height: 1.25em;
    text-align: inherit;
    max-width: 43.75rem;
    margin: 0 0 clamp(1rem, 4vw, 2rem) 0;
    color: var(--bodyTextColorWhite);
    position: relative;
    letter-spacing: -0.02em;
  }
  #Hero .cs-text {
    font-size: clamp(0.895rem, 1.5vw, 1rem);
    line-height: 1.5em;
    text-align: inherit;
    width: 100%;
    color: var(--bodyTextColorWhite);
  }

  #Hero .cs-text:last-of-type {
    margin: 2rem 0 clamp(1.75rem, 2.3vw, 2.5rem);
  }

  #Hero .cs-button-solid {
    font-size: 1rem;
    line-height: clamp(2.475rem, 5.5vw, 3.25rem);
    text-decoration: none;
    font-weight: 700;
    text-align: center;
    margin: auto;
    color: #fff;
    min-width: 9.375rem;
    padding: 0 1.5rem;
    background-color: var(--primary);
    border-radius: 0.45rem;
    display: inline-block;
    position: relative;
    z-index: 1;
    box-sizing: border-box;
    transition: all 0.3s;
  }
  #Hero .cs-button-solid:before {
    content: "";
    position: absolute;
    height: 100%;
    width: 0%;
    background: var(--secondary);
    opacity: 1;
    top: 0;
    left: 0;
    z-index: -1;
    border-radius: 0.45rem;
    transition: all 0.3s;
  }
  #Hero .cs-button-solid:hover {
    color: #fff;
    box-shadow: #f0f0f007 0px 1px 6px;
  }
  #Hero .cs-button-solid:hover:before {
    width: 100%;
  }
  #Hero .cs-button-secondary {
    background-color: transparent;
    color: var(--bodyTextColorWhite);
    margin-left: 1rem;
    display: inline-block;
  }
  #Hero .cs-button-secondary:before {
    background: var(--primary);
    width: 2%;
    border-radius: 0.45rem;
  }
  #Hero .cs-background {
    width: 100%;
    height: 100%;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
  }
  #Hero .cs-background:before {
    content: "";
    position: absolute;
    display: block;
    height: 125rem;
    width: 187.5rem;
    background: rgba(12, 12, 12, 0.7);
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
    top: 70.3125rem;
    left: 50%;
    z-index: 1;
    transform: rotate(30deg) translateX(-50%);
  }
  #Hero .cs-background img {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    object-fit: cover;
  }
  #Hero .cs-title.cs-typewriter {
    display: flex;
    gap: 0.5rem;
  }

  #Hero .cs-typewriter-prefix {
    display: inline-block;
    white-space: nowrap;
  }

  #Hero .cs-typewriter-word {
    display: inline-block;
    white-space: nowrap;
    min-width: calc(var(--tw-ch, 18) * 1ch);
    min-height: 1em;
    text-decoration: underline;
    text-decoration-color: var(--primary);
    font-size: inherit;
  }
}
/* Tablet - 768px */
@media only screen and (min-width: 48rem) {
  #Hero .cs-content {
    width: 68%;
    margin-top: 0rem;
  }
  #Hero .cs-background:before {
    top: 7.5rem;
    margin-left: -127.1875rem;
    transform: rotate(60deg);
  }
  #Hero .cs-title {
    line-height: 1.2em;
    font-size: clamp(1.7675rem, 3.4vw, 2.8125rem);
  }
}

@media only screen and (max-width: 48rem) {
  #Hero {
    padding-top: 12rem;
  }
}

@media screen and (max-width: 500px) {
  #Hero .cs-title.cs-typewriter {
    flex-direction: column;
    gap: 0.15rem;
  }
  #Hero .cs-typewriter-word {
    font-size: clamp(1.6275rem, 8.5vw, 2.4125rem);
    line-height: 1.2em;
  }
  #Hero .cs-text-sp {
    display: none;
  }
}

@media screen and (min-width: 501px) {
  #Hero .cs-title.cs-typewriter {
    flex-direction: row;
    align-items: baseline;
    justify-content: flex-start;
    text-align: inherit;
  }
}
@media screen and (max-width: 400px) {
  #Hero .cs-button-secondary {
    display: none;
  }
}

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

/* Mobile */
@media only screen and (min-width: 0rem) {
  #Tjanster {
    padding: var(--sectionPadding);
    padding-bottom: 0;
    overflow: hidden;
    position: relative;
    z-index: 1;
  }
  #Tjanster .cs-container {
    width: 100%;
    max-width: 112.5rem;
    margin: auto;
    padding: clamp(1rem, 5vw, 5rem);
    padding-bottom: 0;
    box-sizing: border-box;
    background-color: #f1eeec;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: clamp(3rem, 6vw, 4rem);
  }
  #Tjanster .cs-content {
    text-align: left;
    width: 100%;
    max-width: 47.875rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: relative;
    z-index: 3;
  }
  #Tjanster .cs-text {
    margin-bottom: 1rem;
  }
  #Tjanster .cs-text:last-of-type {
    margin-bottom: 2rem;
  }
  #Tjanster .cs-button-solid {
    font-size: 1rem;
    font-weight: 700;
    line-height: clamp(2.875rem, 5.5vw, 3.5rem);
    text-align: center;
    text-decoration: none;
    min-width: 9.375rem;
    margin: 0;
    padding: 0 1.5rem;
    border-radius: 0.45rem;
    background-color: var(--primary);
    color: var(--bodyTextColorWhite);
    display: inline-block;
    position: relative;
    z-index: 1;
  }
  #Tjanster .cs-button-solid:before {
    content: "";
    width: 0%;
    height: 100%;
    background: var(--secondary);
    opacity: 1;
    border-radius: 0.45rem;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    transition: width 0.3s;
  }
  #Tjanster .cs-button-solid:hover:before {
    width: 100%;
  }
  #Tjanster .cs-picture {
    width: 100%;
    height: 95vw;
    max-height: 28.125rem;
    display: block;
    order: -1;
    position: relative;
    z-index: 1;
  }
  #Tjanster .cs-picture img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
  }
}
/* Tablet - 768px */
@media only screen and (min-width: 48rem) {
  #Tjanster .cs-container {
    flex-direction: row;
    align-items: stretch;
    justify-content: space-between;
  }
  #Tjanster .cs-content {
    padding: clamp(3rem, 6vw, 5rem) 0;
  }
  #Tjanster .cs-picture {
    width: 43vw;
    height: auto;
    max-height: 100%;
    max-width: 50.625rem;
    flex: none;
  }
}

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

/* Mobile */
@media only screen and (min-width: 0rem) {
  #Tjanster-cards {
    padding: var(--sectionPadding);
    padding-top: 0;
  }

  #Tjanster-cards .cs-card-group {
    width: 100%;
    max-width: 112.5rem;
    margin: 0 auto;
    padding: clamp(1rem, 5vw, 5rem);
    padding-top: clamp(3rem, 7vw, 4rem);
    background-color: #f1eeec;
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    column-gap: clamp(1rem, 3vw, 1.25rem);
    row-gap: 2rem;
  }

  #Tjanster-cards .cs-item {
    list-style: none;
    text-align: left;
    margin: 0;
    padding: 1rem;
    grid-column: span 12;
    text-decoration: none;
    height: 100%;
    display: flex;
    flex-direction: column;
    background-color: var(--backgroundPrimary);
    border: 1px solid #e3ddd9;
    border-radius: 0.5rem;
  }

  #Tjanster-cards .cs-icon {
    width: 1.5rem;
    height: auto;
    margin-bottom: 1.5rem;
    display: block;
  }

  #Tjanster-cards .cs-h2 {
    font-size: clamp(1.25rem, 2vw, 1.4625rem);
    text-align: inherit;
    line-height: 1.2em;
    font-weight: 700;
    margin: 0 0 1rem;
    padding-bottom: 1rem;
    height: auto;
    color: var(--headerColor);
    border-bottom: 1px solid #e3ddd9;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    transition: all 0.3s;
  }

  #Tjanster-cards .cs-h2:hover {
    border-bottom: 1px solid #0f0f0f;
    text-shadow: 1px 1px 2px #c0c0c0;
  }

  #Tjanster-cards .cs-icon {
    width: 1.5rem;
    height: auto;
    display: block;
  }
  #Tjanster-cards .cs-item-text {
    font-size: 1rem;
    text-align: inherit;
    line-height: 1.5em;
    margin: 0;
    color: var(--bodyTextColor);
  }
}
/* Tablet - 768px */
@media only screen and (min-width: 48rem) {
  #Tjanster-cards .cs-item {
    grid-column: span 6;
  }
}
/* Small Desktop - 1200px */
@media only screen and (min-width: 75rem) {
  #Tjanster-cards .cs-item {
    grid-column: span 3;
  }
}
/* Large Desktop - 1300px */
@media only screen and (min-width: 81.25rem) {
  #Tjanster-cards .cs-card-group {
    column-gap: 1rem;
  }
}
#Tjanster-cards .cs-h2 {
  cursor: pointer;
  position: relative;
}

#Tjanster-cards .cs-h2::after {
  content: "";
  width: 0.6rem;
  height: 0.6rem;
  flex: none;
  border-right: 2px solid var(--headerColor);
  border-bottom: 2px solid var(--headerColor);
  transform: rotate(45deg);
  transition: transform 0.2s ease;
  margin-top: 0.35rem;
  margin-right: 0.5rem;
}

#Tjanster-cards .cs-item.is-open .cs-h2::after {
  transform: rotate(225deg);
}

#Tjanster-cards .cs-acc-panel {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition:
    max-height 0.28s ease,
    opacity 0.18s ease;
}
#Tjanster-cards .cs-acc-panel a {
  font-size: 1.05rem;
  font-weight: 600;
  color: inherit;
  text-decoration: none;
}
#Tjanster-cards .cs-acc-panel a:hover {
  text-decoration: underline;
}
#Tjanster-cards .cs-acc-panel li {
  list-style: disc;
}
#Tjanster-cards .cs-item.is-open .cs-acc-panel {
  opacity: 1;
}

#Tjanster-cards .cs-acc-panel[hidden] {
  display: none;
}

@media only screen and (min-width: 48rem) {
  #Tjanster-cards .cs-card-group.has-open {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
    column-gap: clamp(1rem, 3vw, 1.25rem);
    align-items: start;
  }

  #Tjanster-cards .cs-left-col {
    grid-column: 1;
  }

  #Tjanster-cards .cs-right-col {
    grid-column: 2;
    display: flex;
    flex-direction: column;
    gap: 2rem;
  }

  #Tjanster-cards .cs-left-col,
  #Tjanster-cards .cs-right-col {
    min-width: 0;
  }

  #Tjanster-cards .cs-card-group.has-open .cs-item {
    height: auto;
  }
}
/* ========================================= */
/*   Konsultation och utbildning toggle      */
/* ========================================= */

#Tjanster-cards .cs-sub-accordion {
  border-top: 1px solid #e3ddd9;
  padding-top: 1.5rem;
  margin-top: 1.5rem;
}

#Tjanster-cards .cs-sub-title {
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0 0 1rem 0;
  position: relative;
  transition: all 0.3s;
}

#Tjanster-cards .cs-sub-title:hover {
  text-shadow: 1px 1px 2px #cacaca;
}

#Tjanster-cards .cs-sub-title::after {
  content: "";
  width: 0.55rem;
  height: 0.55rem;
  border-right: 2px solid var(--headerColor);
  border-bottom: 2px solid var(--headerColor);
  transform: rotate(45deg);
  transition: transform 0.2s ease;
  margin-right: 0.5rem;
}

#Tjanster-cards .cs-sub-accordion.is-open .cs-sub-title::after {
  transform: rotate(225deg);
}

#Tjanster-cards .cs-sub-panel {
  display: block;
  overflow: visible;
  max-height: none;
  opacity: 1;
  transition: none;
}

#Tjanster-cards .cs-sub-accordion.is-open .cs-sub-panel {
  opacity: 1;
}

#Tjanster-cards .cs-sub-panel ul {
  margin: 0 0 1rem 1.25rem;
}

#Tjanster-cards .cs-sub-panel li {
  margin-bottom: 0.5rem;
}
#Tjanster-cards .cs-item.is-open .cs-acc-panel {
  overflow: visible;
}
#Tjanster-cards .cs-sub-panel[hidden] {
  display: none;
}

/*-- -------------------------- -->
<---          AiM               -->
<--- -------------------------- -*/

/* Mobile - 360px */
@media only screen and (min-width: 0rem) {
  #AiM {
    padding: var(--sectionPadding);
    box-shadow: inset 0 12px 12px -12px #9b9b9b;
    overflow: hidden;
  }

  #AiM .cs-container {
    width: 100%;
    max-width: 34.375rem;
    margin: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: clamp(2.5rem, 6vw, 4rem);
  }

  #AiM .cs-content {
    text-align: left;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: clamp(2rem, 6vw, 3rem);
  }

  #AiM .cs-topper,
  #AiM .cs-title {
    max-width: 20ch;
    color: var(--headerColor);
  }

  #AiM .cs-intro {
    width: 100%;
    max-width: 36rem;
    display: flex;
    flex-direction: column;
    gap: clamp(0.875rem, 2vw, 1.25rem);
  }

  #AiM .cs-text {
    max-width: 36rem;
    margin: 0;
    color: var(--bodyTextColor);
    opacity: 1;
    font-weight: 600;
  }

  #AiM .cs-color {
    color: var(--primary);
    display: block;
    margin-top: 1rem;
    font-size: clamp(1.65rem, 3vw, 2.7rem);
  }

  #AiM .cs-dashboard {
    width: 100%;
    max-width: 36rem;
    margin: 0;
    padding: clamp(0.25rem, 1vw, 0.625rem);
    background: hsl(0 0% 100%);
    border: 1px solid hsl(220 14% 86%);
    border-radius: 0.75rem;
    box-shadow: 0 1rem 2.5rem hsl(220 20% 15% / 0.1);
    box-sizing: border-box;
    display: block;
    overflow: hidden;
  }

  #AiM .cs-dashboard img {
    width: 100%;
    height: auto;
    border-radius: 0.45rem;
    display: block;
  }

  #AiM .cs-card-group {
    width: 100%;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 2rem;
    position: relative;
  }

  #AiM .cs-card-group::before {
    content: "";
    width: 1px;
    background: var(--primary);
    opacity: 1;
    position: absolute;
    display: block;
    top: 0;
    bottom: 0.625rem;
    left: 0.625rem;
  }

  #AiM .cs-item {
    width: 100%;
    max-width: 32rem;
    list-style: none;
    padding: 0 0 0 3.4375rem;
    position: relative;
  }

  #AiM .cs-item::before {
    content: "";
    width: 1.25rem;
    height: 1.25rem;
    background: var(--primary);
    border-radius: 50%;
    opacity: 1;
    position: absolute;
    display: block;
    top: 0;
    left: 0;
  }

  #AiM .cs-h3 {
    font-size: clamp(1rem, 2.5vw, 1.5625rem);
    line-height: 1.2em;
    font-weight: 700;
    width: 80%;
    margin: 0 0 1.25rem;
    color: var(--headerColor);
    position: relative;
  }

  #AiM .cs-item-text {
    font-size: clamp(0.875rem, 1.5vw, 1rem);
    line-height: 1.5em;
    margin: 0;
    color: var(--bodyTextColor);
  }
}

/* Tablet - 768px */
@media only screen and (min-width: 48rem) {
  #AiM .cs-container {
    max-width: 80rem;
  }

  #AiM .cs-content {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    align-items: start;
    gap: clamp(2.5rem, 6vw, 5rem);
  }

  #AiM .cs-flex {
    width: 100%;
  }

  #AiM .cs-title {
    margin: 0;
  }

  #AiM .cs-intro {
    width: 100%;
  }

  #AiM .cs-dashboard {
    max-width: 35rem;
    justify-self: end;
  }
}

/* Desktop - 1024px */
@media only screen and (min-width: 64rem) {
  #AiM .cs-intro {
    width: 100%;
    max-width: 80rem;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(3rem, 5vw, 5rem);
    align-self: stretch;
    text-align: left;
  }

  #AiM .cs-intro .cs-text {
    width: 100%;
    max-width: none;
  }

  #AiM .cs-card-group {
    flex-direction: row;
    gap: clamp(1rem, 1.5vw, 1.25rem);
  }

  #AiM .cs-card-group::before {
    width: 250rem;
    height: 1px;
    top: 0.625rem;
    left: 50%;
    transform: translateX(-50%);
  }

  #AiM .cs-item {
    padding: 0;
    z-index: 1;
  }

  #AiM .cs-item:hover::after {
    opacity: 1;
    transform: scale(1);
  }

  #AiM .cs-item::before {
    margin-bottom: clamp(3.5rem, 7vw, 4.5rem);
    position: relative;
    top: auto;
    left: auto;
  }

  #AiM .cs-item::after {
    content: "";
    width: 2.5rem;
    height: 2.5rem;
    background: transparent;
    border: 1px solid var(--primary);
    border-radius: 50%;
    box-sizing: border-box;
    opacity: 0;
    position: absolute;
    display: block;
    top: -0.625rem;
    left: -0.625rem;
    z-index: -1;
    transform: scale(0);
    transition:
      width 0.3s,
      height 0.3s,
      transform 0.4s,
      opacity 0.3s;
  }

  #AiM .cs-h3 {
    width: 100%;
    font-size: clamp(1.05rem, 1.75vw, 1.35rem);
  }
}

/*-- -------------------------- -->
<---       AiM i drift          -->
<--- -------------------------- -*/

/* Mobile - 360px */
@media only screen and (min-width: 0rem) {
  #AiM-drift {
    padding: var(--sectionPadding);
    box-shadow: inset 0 -12px 12px -12px #9b9b9b;
    margin-top: 0;
    overflow-x: hidden;
    overflow-x: clip;
  }

  #AiM-drift .cs-container {
    width: 100%;
    max-width: 34.375rem;
    margin: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: clamp(3rem, 6vw, 4rem);
  }

  #AiM-drift .cs-content {
    text-align: left;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }

  #AiM-drift .cs-text {
    margin-top: 0;
    margin-bottom: 1rem;
  }

  #AiM-drift .cs-title {
    font-size: clamp(1.6375rem, 3.9vw, 2.7625rem);
  }

  #AiM-drift .cs-text:last-of-type {
    margin-bottom: 2rem;
  }

  #AiM-drift .cs-button-solid {
    font-size: 1rem;
    line-height: clamp(2.875rem, 5.5vw, 3.5rem);
    text-decoration: none;
    font-weight: 700;
    text-align: center;
    margin: 0;
    color: #fff;
    min-width: 9.375rem;
    padding: 0 1.5rem;
    background-color: var(--primary);
    border-radius: 0.45rem;
    display: inline-block;
    position: relative;
    z-index: 1;
    box-sizing: border-box;
  }

  #AiM-drift .cs-button-solid::before {
    content: "";
    position: absolute;
    height: 100%;
    width: 0;
    background: var(--secondary);
    opacity: 1;
    top: 0;
    left: 0;
    z-index: -1;
    border-radius: 0.45rem;
    transition: width 0.3s;
  }

  #AiM-drift .cs-button-solid:hover::before {
    width: 100%;
  }

  #AiM-drift .cs-flow {
    width: 100%;
    margin: clamp(2.5rem, 3vw, 3rem) 0 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 0.75rem;
  }

  #AiM-drift .cs-flow-item {
    min-height: 5.5rem;
    padding: 1rem 2.5rem 1rem 1.5rem;
    background: hsl(43 47% 94%);
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 0.25rem;
    clip-path: polygon(
      0 0,
      calc(100% - 1.25rem) 0,
      100% 50%,
      calc(100% - 1.25rem) 100%,
      0 100%
    );
    filter: drop-shadow(0 0.35rem 0.65rem hsl(220 20% 15% / 0.08));
  }

  #AiM-drift .cs-flow-item:nth-child(2) {
    background: hsl(43 50% 90%);
  }

  #AiM-drift .cs-flow-item:nth-child(3) {
    background: hsl(43 54% 85%);
  }

  #AiM-drift .cs-flow-title {
    font-size: clamp(1.125rem, 4vw, 1.375rem);
    line-height: 1.1em;
    font-weight: 900;
    letter-spacing: 0.04em;
    color: var(--headerColor);
  }

  #AiM-drift .cs-flow-text {
    font-size: clamp(0.875rem, 2vw, 1rem);
    line-height: 1.4em;
    font-weight: 600;
    color: var(--bodyTextColor);
  }

  #AiM-drift .cs-picture {
    font-size: min(2.16vw, 0.68em);
    width: 32.5em;
    height: 42.5em;
    margin: 3em 0;
    position: relative;
    display: block;
  }

  #AiM-drift .cs-picture img {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    border-radius: 0.625rem;
    object-fit: cover;
  }
}

/* Desktop - 1024px */
@media only screen and (min-width: 64rem) {
  #AiM-drift {
    margin-top: -5rem;
  }

  #AiM-drift .cs-container {
    max-width: 80rem;
    flex-direction: row;
    justify-content: center;
    gap: clamp(4.8125rem, 11vw, 10rem);
  }

  #AiM-drift .cs-content {
    text-align: left;
    align-items: flex-start;
  }

  #AiM-drift .cs-picture {
    font-size: min(1.1vw, 1em);
    margin: 3.5em 0 3.5em 5em;
    flex: none;
    order: 2;
  }

  #AiM-drift .cs-flow {
    max-width: 100%;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.25rem;
  }

  #AiM-drift .cs-flow-item {
    min-height: 6.75rem;
    padding: 1rem 1.75rem 1rem 2rem;
    clip-path: polygon(
      0 0,
      calc(100% - 1.25rem) 0,
      100% 50%,
      calc(100% - 1.25rem) 100%,
      0 100%,
      1.25rem 50%
    );
  }

  #AiM-drift .cs-flow-item:first-child {
    padding-left: 1.5rem;
    clip-path: polygon(
      0 0,
      calc(100% - 1.25rem) 0,
      100% 50%,
      calc(100% - 1.25rem) 100%,
      0 100%
    );
  }
}

/*-- -------------------------- */
/*         Meet The Team        */
/*-- -------------------------- */

/* Mobile - 360px */
@media only screen and (min-width: 0rem) {
  #Team {
    padding: var(--sectionPadding);
    overflow: hidden;
    position: relative;
    z-index: 1;
  }

  #Team .cs-container {
    width: 100%;
    max-width: 80rem;
    margin: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: clamp(3rem, 6vw, 4rem);
  }

  #Team .cs-content {
    text-align: center;
    width: 100%;
    max-width: 56.25rem;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  #Team .cs-title {
    max-width: 100%;
    color: var(--headerColor);
  }
  #Team .cs-card-group {
    width: 100%;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    row-gap: 2rem;
    column-gap: 1rem;
  }

  #Team .cs-item {
    list-style: none;
    grid-column: span 12;
    display: flex;
    flex-direction: column;
  }

  #Team .cs-picture-wrapper {
    width: 100%;
    height: 22.5rem;
    margin-bottom: 1.25rem;
    overflow: hidden;
    position: relative;
  }

  #Team .cs-picture {
    width: 100%;
    height: 100%;
    display: block;
    position: relative;
  }

  #Team .cs-picture img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
  }
  #Team .cs-flex {
    gap: 1rem;
    color: var(--bodyTextColor);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
  }

  #Team .cs-info {
    display: flex;
    flex-direction: column;
    align-items: left;
    text-align: left;
  }

  #Team .cs-name {
    font-size: 1.5625rem;
    line-height: 1.4em;
    font-weight: 700;
    margin: 0 0 0.25rem;
  }

  #Team .cs-job {
    font-size: 1rem;
    line-height: 1.5em;
    font-weight: 400;
    margin: 0;
  }

  #Team .cs-contact {
    margin-top: 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
  }
  #Team .cs-contact-email {
    display: flex;
    gap: 0.5rem;
  }
  #Team .cs-contact-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    line-height: 1.4em;
  }

  #Team .cs-contact-link:hover {
    text-decoration: underline;
  }

  #Team .cs-item-text {
    font-size: var(--bodyFontSize);
    line-height: 1.5em;
    margin: 0;
    color: var(--bodyTextColor);
    text-align: left;
  }
  #Team .cs-contact-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--bodyTextColor);
    text-decoration: none;
    font-weight: 600;
    line-height: 1.4em;
    transition: all 0.3s;
  }

  #Team .cs-contact-link:hover {
    color: var(--primary);
    text-decoration: none;
  }

  #Team .cs-contact-icon {
    height: 1.2rem;
    width: auto;
    flex: none;
    display: block;
  }
}
/* Tablet - 500px */
@media only screen and (min-width: 31.25rem) {
  #Team .cs-item {
    grid-column: span 6;
  }
}

/* Desktop - 1024px */
@media only screen and (min-width: 64rem) {
  #Team .cs-item {
    grid-column: span 3;
  }
}
/*-- -------------------------- -->
<---          Contact           -->
<--- -------------------------- -*/

/* Mobile - 360px */
@media only screen and (min-width: 0rem) {
  #Kontakt {
    padding: var(--sectionPadding);
  }
  #Kontakt .cs-container {
    width: 100%;
    max-width: 34.375rem;
    margin: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 3rem;
  }
  #Kontakt .cs-content {
    max-width: 32.625rem;
    text-align: left;
  }
  #Kontakt .cs-text {
    margin: 0 0 clamp(1rem, 4.4vw, 3rem) 0;
  }
  #Kontakt .cs-header {
    font-size: clamp(0.8125rem, 1.5vw, 1rem);
    line-height: 1.2em;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.1em;
    margin: 0 0 1rem 0;
    color: #b4b2c7;
    display: block;
  }
  #Kontakt .cs-link {
    font-size: clamp(1rem, 2vw, 1.25rem);
    text-decoration: none;
    line-height: 1.5em;
    font-weight: 700;
    margin: 0 0 clamp(1rem, 2.5vw, 2rem);
    color: var(--headerColor);
    display: block;
  }
  #Kontakt .cs-link:hover {
    text-decoration: underline;
  }
  #Kontakt .cs-link:last-of-type {
    margin-bottom: 0;
  }
  #Kontakt .cs-no-link:hover {
    cursor: default;
    text-decoration: none;
  }

  #Kontakt .cs-social {
    margin-top: clamp(2rem, 6vw, 5rem);
    display: inline-flex;
    justify-content: flex-start;
    gap: 0.75em;
  }
  #Kontakt .cs-social-link {
    width: clamp(2rem, 4vw, 3.25rem);
    height: clamp(2rem, 4vw, 3.25rem);
    background-color: var(--secondary);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 1;
    transition:
      transform 0.3s,
      background-color 0.3s;
  }
  #Kontakt .cs-social-link:hover {
    background-color: var(--primary);
    transform: translateY(-0.1875rem);
  }
  #Kontakt .cs-social-img {
    height: clamp(0.875rem, 2vw, 1.5rem);
    width: auto;
    display: block;
  }
  #Kontakt #cs-form-490 {
    width: 100%;
    max-width: 40.625rem;
    margin-bottom: clamp(2rem, 5.3vw, 2.5rem);
    padding: clamp(1.25rem, 4.5vw, 2.5rem);
    box-sizing: border-box;
    border: 1px solid #dad9e3;
    border-radius: 1rem;
  }
  #Kontakt .cs-label {
    font-size: clamp(0.875rem, 1.3vw, 1rem);
    line-height: 1.5em;
    font-weight: 700;
    margin-bottom: clamp(1rem, 1em, 1.25rem);
    color: var(--headerColor);
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-direction: column;
  }
  #Kontakt .cs-input,
  #Kontakt textarea {
    font-size: 1rem;
    width: 100%;
    height: 4rem;
    margin-top: 0.25rem;
    padding-left: 1.25rem;
    border: 1px solid transparent;
    border-bottom: 1px solid #b4b2c7;
    box-sizing: border-box;
    transition: border 0.3s;
  }
  #Kontakt .cs-input:hover,
  #Kontakt textarea:hover {
    border: 1px solid var(--primary);
  }
  #Kontakt .cs-input::placeholder,
  #Kontakt textarea::placeholder {
    color: #7d799c;
  }
  #Kontakt textarea {
    font-family: inherit;
    margin: 0;
    padding-top: 1.25rem;
    min-height: 7.5rem;
  }
  #Kontakt .cs-button-solid {
    font-size: 1rem;
    line-height: clamp(2.875em, 5.5vw, 3.5em);
    text-decoration: none;
    font-weight: 700;
    text-align: center;
    margin: auto;
    width: 100%;
    color: #fff;
    padding: 0 1.5rem;
    background-color: var(--primary);
    border: none;
    border-radius: 0.5rem;
    display: inline-block;
    position: relative;
    z-index: 1;
    box-sizing: border-box;
  }
  #Kontakt .cs-button-solid:before {
    content: "";
    position: absolute;
    height: 100%;
    width: 0%;
    background: var(--secondary);
    opacity: 1;
    top: 0;
    left: 0;
    z-index: -1;
    border-radius: 0.5rem;
    transition: width 0.3s;
  }
  #Kontakt .cs-button-solid:hover {
    cursor: pointer;
  }
  #Kontakt .cs-button-solid:hover:before {
    width: 100%;
  }
  #Kontakt .cs-button-solid.cs-success {
    background-color: #1a702e;
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(40, 167, 69, 0.35);
    cursor: default;
  }

  #Kontakt .cs-button-solid.cs-success::before,
  #Kontakt .cs-button-solid.cs-success:hover::before {
    width: 0%;
    background: transparent;
  }

  #Kontakt .cs-button-solid.cs-error {
    background-color: #740c1f;
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(176, 0, 32, 0.25);
  }

  #Kontakt .cs-button-solid.cs-error::before,
  #Kontakt .cs-button-solid.cs-error:hover::before {
    width: 0%;
    background: transparent;
  }

  #Kontakt .cs-button-solid.cs-sending {
    cursor: wait;
  }

  #Kontakt .cs-button-solid.cs-sending::before,
  #Kontakt .cs-button-solid.cs-sending:hover::before {
    width: 0%;
    background: transparent;
  }
}
/* Tablet - 700px */
@media only screen and (min-width: 43.75rem) {
  #Kontakt .cs-container {
    max-width: 80rem;
    flex-direction: row;
    justify-content: space-between;
  }
  #Kontakt .cs-content {
    width: 40%;
    order: 2;
    flex: none;
  }
  #Kontakt #cs-form-490 {
    margin: 0;
  }
}
