/* Default: Extra large & aufwärts (ab 1200px) = Large sichtbar */
.small-text {
  display: none !important;
}
.small {
  display: none !important;
}
.small-inline {
  display: none !important;
}
.medium {
  display: none !important;
}
.medium-inline {
  display: none !important;
}

/* Medium: ab 768px bis 1100px */
@media screen and (max-width: 1100px) {
  .large {
    display: none !important;
  }
  .medium {
    display: flex !important;
  }
  .medium-inline {
    display: inline-flex !important;
  }

  /* Sonstiges */
  .container-wrapper {
    padding: var(--spacing-sizing-section-padding-padding-section-medium)
    var(--spacing-sizing-page-padding-padding-global)
    var(--spacing-sizing-section-padding-padding-section-medium)
    var(--spacing-sizing-page-padding-padding-global);
  }
  .container {
    flex-direction: column;
  }
  #geschaeftsfuehrer {
    height: 100%;
    min-height: 100rem;
    max-height: 150rem;
  }
  .links {
    flex-direction: column;
    align-items: center;
    gap: 5rem;
  }
  .link-2 {
    text-align: center;
  }
  .company-logo-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-right: 0;
  }
  .footer-logo {
    width: 50%;
    box-shadow: none;
  }
  .social-links {
    position: absolute;
    right: 0;
    top: -10dvh;
  }
  .credits {
    flex-direction: column;
  }
  .popup-content {
    width: 90dvw;
    height: 90dvh;
    left: 5vw;
    top: 5vh;
    padding: 1rem;
  }
  .navbar {
    height: 100dvh;
    width: 50dvw;
    position: fixed;
    top: 0;
    right: 0;
  }
  #zusammenarbeitMobile {
    background: url(../img/unsplash/webp/zusammenarbeit.webp) center center / cover no-repeat;
    position: relative;
    isolation: isolate;
    padding: 5rem;
    gap: 0rem;
  }
  #zusammenarbeitMobile::before {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--primitives-opacity-black-60);
    z-index: -1;
  }
  #zusammenarbeitMobile .heading-5, #zusammenarbeitMobile .text {
    color: var(--color-schemes-color-scheme-1-text-2);
  }
  .content-wrapper {
    min-width: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: fit-content;
  }
  .content {
    position: absolute;
    top: 0;
    left: 10dvw;
  }
  #zusammenarbeit .content-2 {
    align-items: center;
    gap: 2rem;
    margin-bottom: 4rem;
  }
  .content-6 {
    align-items: center;
  }
  .content-8 {
    margin: 2rem 0 0 0;
  }
  .content-9 {
    flex-direction: column;
    gap: 0rem;
  }
  .content-11 {
    flex-direction: column;
    gap: 5rem;
  }
  .inputs {
    flex-direction: column;
  }
  .input {
    width: 100%;
  }
  .text-input {
    width: 100%;
  }
  .div-3 {
    justify-content: center;
    align-items: center;
  }
  .div-4 {
    margin-top: 2rem;
    flex-direction: column;
  }
  .div-6 {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
  }
  .div-7 {
    width: 100%;
  }
  .div-8 {
    flex-direction: column;
    height: fit-content;
  }
  .div-11 {
    align-items: center;
    gap: 0;
    margin-bottom: 0rem;
  }
  #zusammenarbeitMobile .div-11 {
    align-items: center;
    gap: 0;
    margin-bottom: 0rem;
  }
  .component {
    gap: 10rem;
    flex-direction: column;
  }
  .component-2 {
    gap: 10rem;
    flex-direction: column;
  }
  .company-logo {
    width: 30dvw;
  }
  .column {
    flex-direction: column;
    gap: 5dvh;
  }
  .row-2 {
    width: 100%;
    justify-content: center;
    align-items: center;
    text-align: center;
  }
  .header {
    margin-top: 0;
    height: 100dvh;
  }
  .row {
    flex-direction: column;
  }
  .tagline-wrapper {
    justify-items: center;
  }
  .tagline {
    width: 100%;
  }
  .heading, .heading-2, .heading-3, .heading-4, .heading-5, .heading-6, .text-2 {
    text-align: center;
  }
  .img-50, .img-33 {
    width: 100%;
  }
  .to-top {
    margin-top: -5rem;
  }
  .text-wrapper-4 {
    text-align: center;
  }
  .content-4 {
    display: flex;
    flex-direction: column;
  }
  .content-12 {
    margin-bottom: 5rem;
    height: fit-content;
    width: 100%;
    display: flex;
    justify-content: center;
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
  }
  .content-7 {
    margin-top: 0;
    height: fit-content;
    margin-bottom: 5rem;
    width: 100%;
    display: flex;
    justify-content: center;
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
  }
  .gallery-img {
    width: 25dvw;
    aspect-ratio: 9 / 16;
    object-fit: cover;
    transition-duration: 300ms;
    transition-delay: 10ms;
  }
  .gallery-img:hover {
    width: 25dvw;
    aspect-ratio: 9 / 16;
    object-fit: cover;
    transition-duration: 300ms;
    transition-delay: 10ms;
    transform: scale(1);
    z-index: 5;
    box-shadow: none;
  }
  .gallery-img.active {
    width: 25dvw;
    aspect-ratio: 9 / 16;
    object-fit: cover;
    transition-duration: 300ms;
    transition-delay: 10ms;
    transform: scale(1);
    z-index: 5;
    box-shadow: none;
  }
  .img-min-width {
    min-width: 30rem;
  }
}

/* Small: ab 576px bis 767.98px */
@media screen and (max-width: 767.98px) {
  :root {
    --heading-h1-font-size: 4rem;
    --heading-h2-font-size: 3.5rem;
    --heading-h3-font-size: 3.2rem;
    --heading-h4-font-size: 2.7rem;
    --heading-h5-font-size: 2rem;
    --heading-h6-font-size: 1.6rem;
  }
  .medium {
    display: none !important;
  }
  .medium-inline {
    display: none !important;
  }
  .small-text {
    display: unset !important;
  }
  .small {
    display: flex !important;
  }
  .small-inline {
    display: inline-flex !important;
  }

  /* Sonstiges */
  .container {
    flex-direction: column;
  }
  .container-4 {
    flex-direction: column;
  }
  #geschaeftsfuehrer {
    height: 100%;
    min-height: 100rem;
    max-height: 150rem;
  }
  .links {
    flex-direction: column;
    align-items: center;
    gap: 5rem;
  }
  .link-2 {
    text-align: center;
  }
  .company-logo-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-right: 0;
  }
  .footer-logo {
    width: 50%;
    box-shadow: none;
  }
  .social-links {
    position: absolute;
    right: 0;
    top: -10dvh;
  }
  .credits {
    flex-direction: column;
  }
  .popup-content {
    width: 90dvw;
    height: 90dvh;
    left: 5vw;
    top: 5vh;
    padding: 1rem;
  }
  .navbar {
    height: 100dvh;
    width: 50dvw;
    position: fixed;
    top: 0;
    right: 0;
  }
  #zusammenarbeitMobile {
    background: url(../img/unsplash/webp/zusammenarbeit.webp) center center / cover no-repeat;
    position: relative;
    isolation: isolate;
    padding: 5rem;
  }
  #zusammenarbeitMobile::before {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--primitives-opacity-black-60);
    z-index: -1;
  }
  #zusammenarbeitMobile .heading-5, #zusammenarbeitMobile .text {
    color: var(--color-schemes-color-scheme-1-text-2);
  }
  .content-wrapper {
    width: 100%;
    height: 100%;
  }
  .content {
    position: absolute;
    top: 0;
    left: 0;
  }
  .content-6 {
    align-items: center;
  }
  .content-8 {
    margin: 2rem 0 0 0;
  }
  .content-9 {
    flex-direction: column;
    gap: 0rem;
  }
  .content-11 {
    flex-direction: column;
    gap: 5rem;
  }
  .inputs {
    flex-direction: column;
  }
  .input {
    width: 100%;
  }
  .div-3 {
    justify-content: center;
    align-items: center;
  }
  .div-4 {
    margin-top: 2rem;
    flex-direction: column;
  }
  .div-6 {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
  }
  .div-7 {
    width: 100%;
  }
  .div-8 {
    flex-direction: column;
  }
  .div-11 {
    align-items: center;
    gap: 0;
    margin-bottom: 2rem;
  }
  .component {
    gap: 10rem;
    flex-direction: column;
  }
  .component-2 {
    gap: 10rem;
    flex-direction: column;
  }
  .company-logo {
    width: 30dvw;
  }
  .column {
    flex-direction: column;
    gap: 5dvh;
  }
  .row-2 {
    width: 100%;
    justify-content: center;
    align-items: center;
    text-align: center;
  }
  .header {
    margin-top: 0;
    height: 100dvh;
  }
  .row {
    flex-direction: column;
  }
  .tagline-wrapper {
    justify-items: center;
  }
  .tagline {
    width: 100%;
  }
  .heading, .heading-2, .heading-3, .heading-4, .heading-5, .heading-6, .text-2 {
    text-align: center;
  }
  .content-4 {
    display: flex;
    flex-direction: column;
  }
  .content-12 {
    margin-bottom: 5rem;
    height: fit-content;
    width: 100%;
    display: flex;
    justify-content: flex-start;
    flex-direction: row;
    align-items: flex-start;
    flex-wrap: nowrap;
    overflow-x: scroll;
    gap: 1rem;
  }
  .content-7 {
    margin-top: 0;
    height: fit-content;
    margin-bottom: 5rem;
    width: 100%;
    display: flex;
    justify-content: flex-start;
    flex-direction: row;
    align-items: flex-start;
    flex-wrap: nowrap;
    overflow-x: scroll;
    gap: 1rem;
  }
  .gallery-img {
    width: 80%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    transition-duration: 300ms;
    transition-delay: 10ms;
  }
  .gallery-img:hover {
    width: 80%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    transition-duration: 300ms;
    transition-delay: 10ms;
    transform: scale(1);
    z-index: 5;
    box-shadow: none;
  }
  .gallery-img.active {
    width: 80%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    transition-duration: 300ms;
    transition-delay: 10ms;
    transform: scale(1);
    z-index: 5;
    box-shadow: none;
  }
  .img-min-width {
    min-width: 30rem;
  }
}

/* Optional: Unter 576px (XS) – Small bleibt aktiv */