.flex {
  display: flex;
}
.grid {
  display: grid;
  gap: 1rem;
}
.grid_1-1 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.grid_1-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.grid_auto-1 {
  display: flex;
  gap: 1.5rem;
  padding-top: 2rem;
  justify-content: center;
}
.span2 {
  grid-column: span 2;
}
.gap24 {
  display: grid;
  gap: 1.5rem;
}
.gap48 {
  display: grid;
  gap: 3rem;
  margin-bottom: 3rem;
}
.pl24 {
  padding-left: 1.5rem;
}
.ac-c {
  align-content: center;
}
.mi24 {
  margin-inline: 1.5rem;
}
.ta-l {
  text-align: left;
}
.h-fc {
  height: min-content;
}
.flex-item {
  flex: 1 1 auto;
}
.flex-wrap {
  display: flex;
  flex-wrap: wrap;
  column-gap: 1.5rem;
}
.pt48 {
  padding-top: 3rem;
}
.order-1 {
  order: -1;
}
.desktop_2-1 {
  display: grid;
  row-gap: 3rem;
}
/* DESKTOP */
@media (min-width: 800px) {
  h1 {
    text-align: start;
  }
  .cta-btn {
    width: fit-content;
    padding-inline: 1.5rem;
  }
  .mw1232 {
    max-width: 1232px;
    justify-self: center;
    width: 100%;
  }
  article {
    padding-inline: 3rem;
  }
  .desktop_1-1 {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .desktop_2-1 {
    display: grid;
    grid-template-columns: 3fr 2fr;
  }
  .desktop_1-1-1 {
    grid-template-columns: repeat(3, 1fr);
    max-width: 1232px;
    justify-self: center;
    /* padding-inline: 1.5rem; */
    gap: 1rem;
    article {
      grid-template-rows: auto auto 1fr;
      padding: 0;
      border-radius: 10px;
      h2,
      p {
        padding-inline: 0.5rem;
      }
      .cta-btn {
        width: 100%;
      }
    }
  }
  .desktop_1-1-1.p48desktop {
    padding-inline: 3rem;
    column-gap: 2rem;
  }
  article.hero {
    display: grid;
    grid-template-columns: auto auto;
    column-gap: 3rem;
    row-gap: 2rem;
    align-items: center;
    .heidi-img {
      grid-column: 1/2;
      grid-row: 1/4;
      aspect-ratio: 3/4;
      object-fit: contain;
      align-self: start;
      padding: 0;
    }
    h1 {
      max-width: 28ch;
    }
    p {
      max-width: 65ch;
    }
    a {
      padding-inline: 2rem;
    }
  }
  .order-1_desktop {
    order: -1;
    grid-row: span 5;
  }
  .c2-3_r1-span3 {
    grid-column: 2 / 3;
    grid-row: 1 / span 3;
    padding-inline: 1.5rem 0;
  }
  .gap48c_desktop {
    column-gap: 3rem;
    max-width: 1232px;
    justify-self: center;
  }
  .txt-box {
    max-width: 1232px;
    width: 100%;
    justify-self: center;
    p {
      max-width: 85ch;
    }
  }
  main#mintilgang {
    h1 {
      padding-bottom: 0.5rem;
    }
    .grid {
      column-gap: 0;
    }
    .element2 {
      grid-row: span 2;
      padding: 0;
    }
    .element3 {
      grid-row: span 4;
    }
    .element4 {
      grid-row: span 3;
      padding-left: 0;
      .grid_auto-1 {
        height: min-content;
      }
    }
  }
  .ommig .grid {
    column-gap: 0;
    .title {
      grid-column: 2 / 3;
      padding-left: 0;
    }
    .om-txt {
      grid-column: 2 / 3;
      grid-row: 2 / span 3;
      padding-left: 0;
      height: min-content;
    }
    .order-1_desktop {
      order: -1;
      grid-row: span 2;
      img {
        aspect-ratio: auto;
      }
    }
  }
  .priser-praktisk .desktop_1-1 {
    column-gap: 0;
    .pr0 {
      padding-right: 0;
      height: min-content;
      align-self: center;
    }
    a {
      width: 100%;
    }
  }
  .kontaktformular {
    padding-left: 0;
    padding-top: 0;
    button.cta-btn {
      width: 100%;
    }
  }
  .terapi-img {
    grid-row: 1/4;
    grid-column: 2/3;
  }
  .pr0 {
    padding-right: 0;
  }
  .h-mc {
    height: min-content;
    align-self: center;
  }
  .terapiside {
    p {
      max-width: 60ch;
    }
  }
  .kontakt-container {
    grid-template-columns: 1fr 1fr;
    max-width: 1232px;
    justify-self: center;
    img {
      grid-row: span 2;
      height: 100%;
    }
    article {
      padding: 0 3rem 0 0;
      height: min-content;
      align-self: end;
    }
    a {
      margin: 0;
      padding-inline: 2.5rem;
      grid-column: 2 / 3;
    }
  }
  footer {
    nav.footernav {
      grid-template-columns: repeat(4, auto);
      padding-block: 2rem;
      .dpf-link {
        order: 1;
        .dpf-logo {
          max-height: 128px;
          padding: 0;
        }
      }
      .logo-text {
        max-width: fit-content;
      }
    }
    .footer-tag {
      justify-items: end;
    }
  }
}
@media (min-width: 1000px) {
  h1 {
    font-size: 40px;
  }
  .heidi-img {
    max-height: 450px;
  }
  header {
    place-items: center;
    background-color: var(--color-primary);
    .menuikon {
      display: none;
    }
    a.logo-text {
      padding-inline: 3rem 1rem;
    }
    ul.headermenu {
      display: flex;
      width: 100%;
      max-width: 650px;
      justify-content: space-between;
      padding-right: 3rem;
      a {
        font-family: "Noto Serif";
        text-decoration: none;
        color: var(--color-txt);
      }
      li {
        align-content: center;
      }
      .ft-visiting-txt {
        color: var(--color-cta);
        font-weight: 600;
      }
    }
    li.dropdown {
      position: relative;
    }
    .dropdown-title {
      padding: 0;
      height: 100%;
      align-items: center;
      padding-left: 1rem;
      gap: 0.5rem;
    }
    li.dropdown.open .dropdown-indhold {
      position: absolute;
      top: 65px;
      border: none;
      width: 200px;
      height: 192px;
      grid-template-rows: repeat(3, 1fr);
      background-color: var(--color-light);
      a {
        padding: 0.75rem 1rem;
        place-content: center;
      }
    }
    li.dropdown.open .dropdown-indhold a:hover,
    li.dropdown.open .dropdown-indhold .ft-dropdown:hover {
      background-color: var(--color-secondary);
    }
    li.dropdown.open .dropdown-indhold .ft-dropdown:hover .ft-dropdown-indhold {
      display: grid;
      grid-auto-rows: min-content;
    }
    .ft-dropdown-indhold {
      position: absolute;
      left: 200px;
      top: -67px;
      z-index: 11;
      background-color: var(--color-light);
      width: clamp(18.75rem, -31.25rem + 100vw, 28.125rem);
      height: 192px;
      align-content: center;
      a {
        height: 58.66px;
      }
      a:hover {
        background-color: var(--color-secondary);
      }
    }
    .ft-titel {
      display: flex;
      align-items: center;
    }
    #ft-symbol {
      display: block;
      font-size: 14px;
      padding-right: 3rem;
      cursor: pointer;
    }
  }
}
