/* ========================================
   DÖRR KREATIVWERK & SCHREIBERLINGS
   KONTAKT
   ======================================== */


/* ========================================
   HAUPTBEREICH
   ======================================== */

.contact-main {
    max-width: 1100px;

    margin: 0 auto;

    padding: 70px 30px 90px;
}


/* ========================================
   EINLEITUNG
   ======================================== */

.contact-intro {
    text-align: center;

    margin-bottom: 65px;
}


.contact-intro h2 {
    font-size: 36px;

    color: #1d2633;

    margin-bottom: 18px;
}


.contact-intro p {
    max-width: 750px;

    margin: 0 auto;

    font-size: 18px;

    line-height: 1.7;

    color: #444444;
}


/* ========================================
   KONTAKTBEREICH
   ======================================== */

.contact-section {
    display: grid;

    grid-template-columns:
        minmax(280px, 0.8fr)
        minmax(400px, 1.2fr);

    gap: 45px;

    align-items: start;
}


/* ========================================
   KONTAKTINFORMATIONEN
   ======================================== */

.contact-information {
    padding: 35px;

    background-color: #ffffff;

    border: 1px solid #d1ccc1;

    box-shadow:
        0 4px 15px rgba(0, 0, 0, 0.05);
}


.contact-information > h3 {
    font-size: 25px;

    color: #1d2633;

    margin: 0 0 30px;
}


/* ========================================
   EINZELNE KONTAKTINFORMATION
   ======================================== */

.contact-item {
    padding-bottom: 25px;

    margin-bottom: 25px;

    border-bottom: 1px solid #e1ddd5;
}


.contact-item:last-child {
    margin-bottom: 0;

    padding-bottom: 0;

    border-bottom: none;
}


.contact-item h4 {
    font-size: 19px;

    color: #1d2633;

    margin: 0 0 8px;
}


.contact-item p {
    margin: 0;

    font-size: 16px;

    line-height: 1.7;

    color: #444444;
}


.contact-item a {
    color: #8b7650;

    text-decoration: none;

    word-break: break-word;

    transition:
        color 0.3s ease;
}


.contact-item a:hover {
    color: #1d2633;

    text-decoration: underline;
}


/* ========================================
   SOCIAL MEDIA
   ======================================== */

.contact-social {
    margin-top: 35px;

    padding-top: 30px;

    border-top: 1px solid #e1ddd5;
}


.contact-social h3 {
    font-size: 21px;

    color: #1d2633;

    margin: 0 0 18px;
}


.contact-social-list {
    display: flex;

    flex-wrap: wrap;

    gap: 10px;
}


.contact-social-link {
    display: inline-block;

    padding: 9px 15px;

    background-color: #f4f1ea;

    border: 1px solid #d1ccc1;

    color: #1d2633;

    text-decoration: none;

    font-size: 15px;

    transition:
        background-color 0.3s ease,
        color 0.3s ease,
        border-color 0.3s ease;
}


.contact-social-link:hover {
    background-color: #1d2633;

    border-color: #1d2633;

    color: #ffffff;
}


/* ========================================
   KONTAKTFORMULAR
   ======================================== */

.contact-form-container {
    padding: 35px;

    background-color: #ffffff;

    border: 1px solid #d1ccc1;

    box-shadow:
        0 4px 15px rgba(0, 0, 0, 0.05);
}


.contact-form-container > h3 {
    font-size: 25px;

    color: #1d2633;

    margin: 0 0 10px;
}


.contact-form-intro {
    font-size: 16px;

    line-height: 1.7;

    color: #555555;

    margin: 0 0 30px;
}


/* ========================================
   FORMULAR
   ======================================== */

.contact-form {
    width: 100%;
}


.contact-form-group {
    margin-bottom: 22px;
}


.contact-form-group label {
    display: block;

    margin-bottom: 8px;

    font-size: 16px;

    font-weight: bold;

    color: #1d2633;
}


.contact-form-group input,
.contact-form-group textarea {
    display: block;

    width: 100%;

    padding: 12px 14px;

    border: 1px solid #cfc9bd;

    background-color: #faf8f3;

    color: #252525;

    font-family: Georgia, "Times New Roman", serif;

    font-size: 16px;

    line-height: 1.5;

    border-radius: 0;

    transition:
        border-color 0.3s ease,
        background-color 0.3s ease,
        box-shadow 0.3s ease;
}


.contact-form-group textarea {
    min-height: 190px;

    resize: vertical;
}


.contact-form-group input:focus,
.contact-form-group textarea:focus {
    outline: none;

    border-color: #8b7650;

    background-color: #ffffff;

    box-shadow:
        0 0 0 2px rgba(139, 118, 80, 0.12);
}


/* ========================================
   DATENSCHUTZ-CHECKBOX
   ======================================== */

.contact-form-checkbox {
    display: flex;

    align-items: flex-start;

    gap: 10px;

    margin: 25px 0;
}


.contact-form-checkbox input {
    flex: 0 0 auto;

    width: 17px;

    height: 17px;

    margin-top: 4px;

    accent-color: #1d2633;
}


.contact-form-checkbox label {
    font-size: 14px;

    line-height: 1.6;

    color: #555555;
}


.contact-form-checkbox a {
    color: #8b7650;

    text-decoration: none;
}


.contact-form-checkbox a:hover {
    color: #1d2633;

    text-decoration: underline;
}


/* ========================================
   ABSENDE-BEREICH
   ======================================== */

.contact-form-actions {
    margin-top: 25px;
}


.contact-submit {
    display: inline-block;

    padding: 13px 25px;

    border: 1px solid #1d2633;

    background-color: #1d2633;

    color: #ffffff;

    font-family: Georgia, "Times New Roman", serif;

    font-size: 16px;

    cursor: pointer;

    transition:
        background-color 0.3s ease,
        color 0.3s ease,
        border-color 0.3s ease;
}


.contact-submit:hover {
    background-color: #303d4d;

    border-color: #303d4d;

    color: #d6c7a1;
}


/* ========================================
   ERFOLGSMELDUNG
   ======================================== */

.contact-message {
    margin-bottom: 25px;

    padding: 14px 16px;

    font-size: 15px;

    line-height: 1.6;
}


.contact-message-success {
    background-color: #f3f8f3;

    border: 1px solid #c8d9c8;

    color: #315b31;
}


/* ========================================
   FEHLERMELDUNG
   ======================================== */

.contact-message-error {
    background-color: #faf3f3;

    border: 1px solid #e0c5c5;

    color: #8b3333;
}


/* ========================================
   TABLET
   ======================================== */

@media (max-width: 850px) {

    .contact-main {
        padding: 55px 20px 75px;
    }


    .contact-intro {
        margin-bottom: 50px;
    }


    .contact-intro h2 {
        font-size: 32px;
    }


    .contact-section {
        grid-template-columns: 1fr;

        gap: 30px;
    }


    .contact-information,
    .contact-form-container {
        padding: 30px;
    }

}


/* ========================================
   SMARTPHONE
   ======================================== */

@media (max-width: 600px) {

    .contact-main {
        padding: 45px 15px 60px;
    }


    .contact-intro {
        margin-bottom: 40px;
    }


    .contact-intro h2 {
        font-size: 29px;
    }


    .contact-intro p {
        font-size: 16px;
    }


    .contact-information,
    .contact-form-container {
        padding: 24px 20px;
    }


    .contact-information > h3,
    .contact-form-container > h3 {
        font-size: 22px;
    }


    .contact-form-group input,
    .contact-form-group textarea {
        font-size: 16px;
    }


    .contact-form-checkbox {
        gap: 8px;
    }


    .contact-form-checkbox label {
        font-size: 13px;
    }


    .contact-submit {
        width: 100%;

        padding: 14px 20px;
    }

}


/* ========================================
   SEHR KLEINE SMARTPHONES
   ======================================== */

@media (max-width: 400px) {

    .contact-main {
        padding-left: 12px;

        padding-right: 12px;
    }


    .contact-information,
    .contact-form-container {
        padding: 20px 16px;
    }


    .contact-intro h2 {
        font-size: 27px;
    }

}