/* =========================================================
   BRAYZ CONTACT FORM
   ========================================================= */


/* =========================================================
   SECTION
   ========================================================= */

.contact-form-section {
    padding:
        150px
        8%
        130px;

    background: #0d0d0d;

    border-top:
        1px solid
        #242424;
}


.contact-form-shell {
    width: 100%;

    max-width: 1500px;

    margin: 0 auto;

    display: grid;

    grid-template-columns:
        0.9fr
        1.1fr;

    gap: 120px;

    align-items: start;
}



/* =========================================================
   LEFT SIDE
   ========================================================= */

.contact-form-heading h2 {
    margin: 0;

    font-size:
        clamp(
            70px,
            9vw,
            135px
        );

    font-weight: 800;

    line-height: 0.80;

    letter-spacing: -6px;

    text-transform: uppercase;
}


.contact-form-intro {
    max-width: 380px;

    margin:
        38px
        0
        0;

    color: #888888;

    font-size: 17px;

    line-height: 1.7;
}



/* =========================================================
   FORM
   ========================================================= */

.contact-form-area {
    width: 100%;
}


.brayz-contact-form {
    width: 100%;
}


.contact-form-row {
    display: grid;

    grid-template-columns:
        1fr
        1fr;

    gap: 38px;
}



/* =========================================================
   FIELD
   ========================================================= */

.contact-field {
    position: relative;

    display: flex;

    flex-direction: column;

    padding-top: 30px;

    border-bottom:
        1px solid
        #383838;

    transition:
        border-color
        0.3s ease;
}


.contact-field:focus-within {
    border-color: #ffffff;
}


.contact-field label {
    display: flex;

    align-items: center;

    gap: 10px;

    margin-bottom: 15px;

    color: #696969;

    font-size: 9px;

    font-weight: 700;

    letter-spacing: 2.5px;
}


.contact-field label span {
    color: #444444;

    font-size: 8px;

    letter-spacing: 1.5px;
}



/* =========================================================
   INPUTS
   ========================================================= */

.contact-field input,
.contact-field textarea {
    width: 100%;

    margin: 0;

    padding:
        0
        0
        23px;

    border: 0;

    outline: 0;

    background: transparent;

    color: #ffffff;

    font-family: inherit;

    font-size: 20px;

    font-weight: 400;

    line-height: 1.45;

    border-radius: 0;

    -webkit-appearance: none;

    appearance: none;
}


.contact-field input::placeholder,
.contact-field textarea::placeholder {
    color: #444444;

    opacity: 1;
}


.contact-field textarea {
    min-height: 165px;

    resize: vertical;
}


.contact-message-field {
    padding-top: 38px;
}



/* =========================================================
   TURNSTILE
   ========================================================= */

.contact-security {
    min-height: 30px;

    display: flex;

    justify-content: flex-start;

    margin-top: 28px;
}



/* =========================================================
   SUBMIT AREA
   ========================================================= */

.contact-submit-row {
    display: flex;

    justify-content: space-between;

    align-items: center;

    gap: 35px;

    margin-top: 32px;
}


.contact-submit {
    appearance: none;

    display: inline-flex;

    align-items: center;

    justify-content: space-between;

    gap: 40px;

    min-width: 225px;

    padding:
        18px
        20px;

    border:
        1px solid
        #ffffff;

    background: #ffffff;

    color: #000000;

    font-family: inherit;

    font-size: 11px;

    font-weight: 700;

    letter-spacing: 1.5px;

    cursor: pointer;

    transition:
        background 0.3s ease,
        color 0.3s ease,
        transform 0.3s ease;
}


.contact-submit:hover {
    background: transparent;

    color: #ffffff;

    transform:
        translateY(-3px);
}


.contact-submit:disabled {
    opacity: 0.45;

    cursor: not-allowed;

    transform: none;
}


.contact-submit-arrow {
    display: inline-block;

    font-size: 16px;

    font-weight: 400;

    transition:
        transform
        0.3s ease;
}


.contact-submit:hover
.contact-submit-arrow {
    transform:
        translate(
            4px,
            -4px
        );
}



/* =========================================================
   STATUS
   ========================================================= */

.contact-status {
    margin: 0;

    min-height: 20px;

    color: #888888;

    font-size: 11px;

    font-weight: 600;

    letter-spacing: 1px;

    line-height: 1.5;
}


.contact-status.is-success {
    color: #ffffff;
}


.contact-status.is-error {
    color: #aaaaaa;
}



/* =========================================================
   HONEYPOT

   Für Besucher unsichtbar.
   ========================================================= */

.contact-honeypot {
    position: absolute !important;

    left: -10000px !important;

    top: auto !important;

    width: 1px !important;

    height: 1px !important;

    overflow: hidden !important;

    opacity: 0 !important;

    pointer-events: none !important;
}



/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 800px) {

    .contact-form-section {
        padding:
            105px
            7%
            85px;
    }


    .contact-form-shell {
        grid-template-columns: 1fr;

        gap: 70px;
    }


    .contact-form-heading h2 {
        font-size:
            clamp(
                65px,
                20vw,
                95px
            );

        letter-spacing: -4px;
    }


    .contact-form-intro {
        margin-top: 28px;

        font-size: 15px;
    }


    .contact-form-row {
        grid-template-columns: 1fr;

        gap: 0;
    }


    .contact-field {
        padding-top: 27px;
    }


    .contact-field input,
    .contact-field textarea {
        font-size: 18px;
    }


    .contact-field textarea {
        min-height: 145px;
    }


    .contact-submit-row {
        flex-direction: column;

        align-items: stretch;

        gap: 25px;
    }


    .contact-submit {
        width: 100%;
    }

}