
/*-- ------------------------------------------------------------------------------------------------------------------------------------- -->
<---  ----------------------------------------        Contact   Kontakt.html        --------------------------------------------------------->
<--- ------------------------------------------------------------------------------------------------------------------------------------- -*/

/* Mobile - 360px */
@media only screen and (min-width: 0rem) {
  #contact-2404 {
    padding: var(--sectionPadding);
    position: relative;
    z-index: 1;
    background: linear-gradient(#151515 1%, #000 40%, #151515 100%);
  }
  #contact-2404 .cs-container {
    width: 100%;
    /* changes to 1280px at desktop */
    max-width: 44rem;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    justify-content: center;
    align-items: stretch;
    flex-direction: column;
    column-gap: 1rem;
    /* chnages to 64px at desktop */
    row-gap: 1rem;
    position: relative;
    margin-top: 4rem;
  }
  #contact-2404 .cs-content {
    text-align: left;
    width: 100%;
    display: contents;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    gap: 3rem;
  }
  #contact-2404 .cs-group {
    display: contents;
  }
  #contact-2404 .cs-topper {
    color: #F8CD13;
    letter-spacing: .12em;
  }
  #contact-2404 .cs-title {
    color: var(--bodyTextColorWhite);
    max-width: 12ch;
  }
  #contact-2404 .cs-text {
    color: var(--bodyTextColorWhite);
    margin-bottom: 1rem;
  }
  #contact-2404 .cs-text:last-of-type {
    margin-bottom: 0;
  }
  #contact-2404 .cs-content-group,
  #contact-2404 .cs-card-group,
  #contact-2404 .cs-picture,
  #contact-2404 .cs-form {
    grid-column: span 12;
  }
  #contact-2404 .cs-picture {
    width: 100%;
    height: 100vw;
    /* temporary margin, removing at tablet */
    margin: 2rem 0;
    border-radius: 1rem;
    /* clips image corners */
    overflow: hidden;
    display: block;
    position: relative;
    display: none;
  }
  #contact-2404 .cs-picture img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
  }
  #contact-2404 .cs-contact-text {
    font-size: 1rem;
    line-height: 1.5em;
    text-align: left;
    margin: 0 0 1.5rem;
    color: var(--bodyTextColor);
  }
  #contact-2404 .cs-card-group {
    margin: 0;
    padding: 0;
    width: 100%;
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 1rem;
  }
  #contact-2404 .cs-item {
    width: 100%;
    text-align: center;
    list-style: none;
    margin: 0;
    /* 16px - 20px */
    padding: clamp(1rem, 3vw, 1.25rem);
    border-radius: 1rem;
    gap: 1.5rem;
    background: rgba(255,255,255,0.03);
    border: 1px solid #21252E;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.02);
    /* prevents padding and border from affecting height and width */
    box-sizing: border-box;
    grid-column: span 12;
    grid-row: span 1;
    display: flex;
    row-gap: 2.875rem;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    position: relative;
    z-index: 1;
  }
  #contact-2404 .cs-icon {
    /* 48px - 72px */
    height: clamp(3rem, 6vw, 4.5rem);
    width: auto;
    display: block;
  }
  #contact-2404 .cs-flex-group {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
  }
  #contact-2404 .cs-header {
    font-weight: bold;
    color: var(--primary);
    margin: 0;
  }
  #contact-2404 .cs-link {
    font-size: var(--bodyFontSize);
    line-height: 1.5em;
    max-width: 28.125rem;
    margin: 0;
    padding: 0;
    color: var(--bodyTextColorWhite);
    text-decoration: none;
    object-fit: scale;
  }
  #contact-2404 .cs-link:hover {
    width: 100%;
    text-decoration: underline var(--primary) 2px;
  }
  #contact-2404 .cs-flex-group .cs-link-spec {
   text-align: left;
  }
  #contact-2404 .cs-link-spec {
    font-size: var(--bodyFontSize);
    line-height: 1.5em;
    max-width: 28.125rem;
    margin: 0;
    padding: 0;
    color: var(--bodyTextColorWhite);
    text-decoration: none;
    
  }
  #contact-2404 .cs-link-spec:hover {
    width: 100%;
    text-decoration: underline var(--primary) 2px;
  }
  #contact-2404 .cs-form {
    width: 100%;
    /* 24px - 48px top and bottom */
    /* 16px - 32px left and right */
    padding: clamp(1.5rem, 5.18vw, 3rem) clamp(1rem, 4vw, 2rem);
    /* prevents flexbox from affecting height and width */
    box-sizing: border-box;
    padding: clamp(1.5rem, 3vw, 2.5rem) clamp(1rem, 3vw, 2.5rem);
    background: rgba(255,255,255,0.03);
    border: 1px solid #21252E;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.02);
    border-radius: 1rem;
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    justify-content: space-between;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
  }
  #contact-2404 .cs-label {
    /* 14px - 16px */
    font-size: clamp(1rem, 1.5vw, 1.15rem);
    width: 100%;
    color: var(--primary);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    grid-column: span 12;
    gap: 0.25rem;
    margin-bottom: 1rem;
  }
  #contact-2404 .cs-input {
    font-size: 1rem;
    width: 100%;
    height: 3.5rem;
    padding: 0;
    padding-left: 1.5rem;
    color: var(--headerColor);
    background-color: #fff;
    border-radius: 0.5rem;
    border: none;
    /* prevents padding from adding to height and width */
    box-sizing: border-box;
  }
  #contact-2404 .cs-input::placeholder {
    color: #000;
  }
  #contact-2404 .cs-textarea {
    min-height: 7.5rem;
    padding-top: 1.5rem;
    margin-bottom: 0.75rem;
    font-family: inherit;
  }
  #contact-2404 .cs-button-wrapper {
    margin: 0;
    grid-column: span 12;
  }
  #contact-2404 .cs-button-solid {
    font-size: 1rem;
    /* 46px - 56px */
    line-height: clamp(2.875em, 5.5vw, 3.5em);
    text-decoration: none;
    font-weight: 700;
    text-align: center;
    margin: 0;
    color: #000;
    border: none;
    min-width: 9.375rem;
    padding: 0 1.5rem;
    background-color: var(--primary);
    border: 1px solid var(--primary);
    border-radius: 0.5rem;
    overflow: hidden;
    display: inline-block;
    position: relative;
    z-index: 1;
    /* prevents padding from adding to the width */
    box-sizing: border-box;
    transition: color 0.3s;
  }
  #contact-2404 .cs-button-solid:before {
    content: "";
    position: absolute;
    height: 100%;
    width: 0%;
    background: #000;
    opacity: 1;
    top: 0;
    left: 0;
    z-index: -1;
    border-radius: 0.25rem;
    transition: width 0.3s;
  }
  #contact-2404 .cs-button-solid:hover {
    color: var(--primary);
    box-shadow: var(--primary) 0 0 5px;
  }
  #contact-2404 .cs-button-solid:hover:before {
    width: 100%;
  }
  #contact-2404 .cs-submit {
    width: auto;
    border-radius: 0.5rem;
  }
  #contact-2404 .cs-submit:hover {
    cursor: pointer;
  }
}

/* Tablet - 768px */
@media only screen and (min-width: 48rem) {
  #contact-2404 .cs-content {
    flex-direction: row;
    align-items: stretch;
  }
  #contact-2404 .cs-content-group {
    /* temporary padding bottom for tablet */
    padding-bottom: 4.875rem;
    align-self: flex-start;
    grid-column: span 6;
  }
  #contact-2404 .cs-card-group {
    margin-top: 2rem;
  }
  #contact-2404 .cs-item {
    flex-direction: row;
    grid-column: span 6;
  }
  #contact-2404 .cs-item:last-of-type {
    grid-column: span 12;
  }
  #contact-2404 .cs-label {
    grid-column: span 6;
  }
  #contact-2404 .cs-label:last-of-type {
    grid-column: span 12;
  }
  #contact-2404 .cs-picture {
    max-width: 32.625rem;
    min-height: 16.25rem;
    height: auto;
    max-height: 100%;
    margin: 0;
    flex: none;
    grid-column: 7 / span 6;
    grid-row: 1;
    box-shadow: #21252E 0 0 16px;
    display: block;
    z-index: -1;
  }
}

/* Desktop - 1024px */
@media only screen and (min-width: 1245px) {
  #contact-2404 .cs-container {
    max-width: 80rem;
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    gap: 4rem;
  }
  #contact-2404 .cs-content {
    width: 100%;
    flex-direction: row;
    height: auto;
    display: flex;
    justify-content: space-between;
    /* 40px - 64px */
    gap: clamp(2.5rem, 5vw, 4rem);
  }
  #contact-2404 .cs-content-group {
    width: 100%;
    max-width: 32.625rem;
    padding-bottom: 0;
  }
  #contact-2404 .cs-group {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    justify-content: space-between;
    /* 40px - 64px */
    gap: clamp(2.5rem, 5vw, 4rem);
    margin-top: -2rem;
  }
  #contact-2404 .cs-card-group {
    width: 49vw;
    max-width: 43.375rem;
    margin: 0;
    flex: none;
  }
  #contact-2404 .cs-form {
    width: 49vw;
    max-width: 43.375rem;
    flex: none;
  }
  #contact-2404 .cs-label {
    grid-column: span 6;
  }
  #contact-2404 .cs-label:last-of-type {
    grid-column: span 12;
  }
  #contact-2404 .cs-submit {
    width: auto;
    grid-column: span 6;
  }
  #contact-2404 .cs-picture {
    width: 100%;
    max-width: 32.625rem;
    height: auto;
    flex: auto;
  }
}
/* Large Desktop - 1300px */
@media only screen and (min-width: 81.25rem) {
  #contact-2404 .cs-card-group {
    align-self: flex-end;
  }
  #contact-2404 .cs-item {
    grid-column: span 4;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
  }
  #contact-2404 .cs-item:last-of-type {
    grid-column: span 4;
  }
}
  #contact-2404 .cs-title:last-of-type {
    margin-top: -1.5rem;
  }