/* =====================================================
   AL-YAQEEN
   Arabic Contact Page
   Passend zu kontakt-ar.html
   ===================================================== */


/* =====================================================
   HERO
   ===================================================== */

.arabic-contact-hero {
    position: relative;
    min-height: 390px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 90px 25px;
    box-sizing: border-box;

    background:
        linear-gradient(
            rgba(45, 19, 24, 0.68),
            rgba(75, 23, 29, 0.78)
        ),
        url("../images/kontakt.jpg");

    background-size: cover;
    background-position: center;
    direction: rtl;
    text-align: center;
}

.arabic-contact-hero-content {
    width: 92%;
    max-width: 900px;
    margin: 0 auto;
}

.arabic-contact-hero-content span {
    display: block;
    margin-bottom: 20px;
    color: #d2a847;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 1px;
}

.arabic-contact-hero-content h1 {
    margin: 0 0 25px;
    color: #ffffff;
    font-size: clamp(32px, 5vw, 62px);
    font-weight: 800;
    line-height: 1.6;
}

.arabic-contact-hero-content p {
    max-width: 720px;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.88);
    font-size: 18px;
    line-height: 2.2;
}


/* =====================================================
   HAUPTBEREICH
   ===================================================== */

.arabic-contact-page {
    width: 100%;
    background: #faf8f3;
    direction: rtl;
}

.arabic-contact-section {
    width: 100%;
    padding: 95px 0 110px;
    box-sizing: border-box;
}

.arabic-contact-container {
    width: 90%;
    max-width: 1350px;
    margin: 0 auto;

    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 45px;
    align-items: start;
}


/* =====================================================
   LINKE INFORMATIONEN
   ===================================================== */

.arabic-contact-info {
    padding: 45px 38px;
    background: #4b171d;
    border-radius: 3px;
    box-sizing: border-box;
    color: #ffffff;
}

.arabic-contact-label {
    display: block;
    margin-bottom: 15px;
    color: #d2a847;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 1px;
}

.arabic-contact-info h1 {
    margin: 0 0 22px;
    color: #ffffff;
    font-size: clamp(30px, 3vw, 46px);
    font-weight: 800;
    line-height: 1.6;
}

/*
   Achtung:
   Diese Klasse wird in deiner HTML-Datei für
   den ersten Textabsatz verwendet.
*/

.arabic-contact-info p.arabic-contact-intro {
    margin: 0 0 35px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 17px;
    line-height: 2.1;
}


/* =====================================================
   HILFE-BOX
   ===================================================== */

.arabic-contact-box {
    margin-bottom: 25px;
    padding: 25px 24px;
    background: rgba(255, 255, 255, 0.08);
    border-right: 3px solid #d2a847;
}

.arabic-contact-box h2 {
    margin: 0 0 12px;
    color: #d2a847;
    font-size: 25px;
    font-weight: 800;
    line-height: 1.7;
}

.arabic-contact-box p {
    margin: 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: 16px;
    line-height: 2;
}


/* =====================================================
   KONTAKT-ANGABEN
   ===================================================== */

.arabic-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    padding: 23px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.arabic-contact-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.arabic-contact-icon {
    display: flex;
    flex: 0 0 46px;
    width: 46px;
    height: 46px;
    align-items: center;
    justify-content: center;

    border: 1px solid #d2a847;
    border-radius: 50%;

    color: #d2a847;
    font-size: 21px;
    line-height: 1;
}

.arabic-contact-item h3 {
    margin: 0 0 8px;
    color: #d2a847;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.8;
}

.arabic-contact-item a {
    display: inline-block;
    color: #ffffff;
    font-size: 22px;
    line-height: 1.8;
    text-decoration: none;
    direction: ltr;
    font-weight: 800;
}

.arabic-contact-item a:hover {
    color: #d2a847;
}


/* =====================================================
   FORMULAR-BEREICH
   ===================================================== */

.arabic-contact-form-wrapper {
    min-width: 0;
    padding: 45px;
    background: #ffffff;
    border: 1px solid #e8dfd2;
    border-radius: 3px;
    box-shadow: 0 12px 35px rgba(55, 27, 27, 0.07);
    box-sizing: border-box;
}

.arabic-contact-form-heading {
    margin-bottom: 30px;
}

.arabic-contact-form-heading h2 {
    margin: 0 0 15px;
    color: #4b171d;
    font-size: 34px;
    font-weight: 800;
    line-height: 1.6;
}

.arabic-contact-form-heading p {
    margin: 0;
    color: #756b67;
    font-size: 16px;
    line-height: 2;
}


/* =====================================================
   ERFOLGS- UND FEHLERMELDUNG
   ===================================================== */

.arabic-form-success,
.arabic-form-error {
    margin-bottom: 28px;
    padding: 17px 20px;
    border-radius: 3px;
    box-sizing: border-box;
    font-size: 15px;
    line-height: 2;
}

.arabic-form-success {
    border-right: 4px solid #43815c;
    background: #edf7ef;
    color: #28613f;
}

.arabic-form-error {
    border-right: 4px solid #b43a3a;
    background: #fbeeee;
    color: #8b2525;
}

.arabic-form-success strong,
.arabic-form-error strong {
    display: block;
    margin-bottom: 5px;
    font-size: 16px;
}

.arabic-form-success p,
.arabic-form-error p {
    margin: 0;
}


/* =====================================================
   FORMULAR
   ===================================================== */

.arabic-contact-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.arabic-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.arabic-form-group {
    width: 100%;
    min-width: 0;
}

.arabic-contact-form label {
    display: block;
    margin: 0 0 8px;
    color: #4b171d;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.8;
}

.arabic-contact-form input,
.arabic-contact-form select,
.arabic-contact-form textarea {
    display: block;
    width: 100%;
    box-sizing: border-box;

    border: 1px solid #ddd4c7;
    border-radius: 3px;
    background: #fffdf9;

    color: #302727;
    font-family: inherit;
    font-size: 16px;
    outline: none;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.arabic-contact-form input,
.arabic-contact-form select {
    height: 54px;
    padding: 0 16px;
}

.arabic-contact-form textarea {
    min-height: 150px;
    padding: 14px 16px;
    resize: vertical;
    line-height: 2;
}

.arabic-contact-form input::placeholder,
.arabic-contact-form textarea::placeholder {
    color: #aaa09a;
}

.arabic-contact-form input:focus,
.arabic-contact-form select:focus,
.arabic-contact-form textarea:focus {
    border-color: #b08a32;
    box-shadow: 0 0 0 3px rgba(176, 138, 50, 0.13);
}


/* =====================================================
   DATENSCHUTZ-CHECKBOX
   ===================================================== */

.arabic-form-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 8px;
}

.arabic-form-checkbox input {
    flex: 0 0 auto;
    width: 17px;
    height: 17px;
    margin: 0;
    accent-color: #4b171d;
}

.arabic-form-checkbox label {
    margin: 0;
    color: #6e6560;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.9;
}

.arabic-form-checkbox label a {
    color: #4b171d;
    text-decoration: underline;
}

.arabic-form-checkbox label a:hover {
    color: #b08a32;
}


/* =====================================================
   SENDEN-BUTTON
   ===================================================== */

.arabic-contact-submit {
    display: flex;
    width: 100%;
    min-height: 56px;
    align-items: center;
    justify-content: center;
    gap: 14px;

    margin-top: 15px;
    padding: 15px 25px;

    border: none;
    border-radius: 3px;
    background: #4b171d;
    color: #ffffff;

    cursor: pointer;
    font-family: inherit;
    font-size: 17px;
    font-weight: 700;

    transition:
        background 0.2s ease,
        transform 0.2s ease;
}

.arabic-contact-submit span {
    font-size: 20px;
    transition: transform 0.2s ease;
}

.arabic-contact-submit:hover {
    background: #691f28;
    transform: translateY(-2px);
}

.arabic-contact-submit:hover span {
    transform: translateX(-4px);
}


/* =====================================================
   TABLET
   ===================================================== */

@media (max-width: 1000px) {

    .arabic-contact-hero {
        min-height: 340px;
        padding: 75px 22px;
    }

    .arabic-contact-section {
        padding: 70px 0 85px;
    }

    .arabic-contact-container {
        width: 92%;
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .arabic-contact-info {
        padding: 38px 30px;
    }

    .arabic-contact-form-wrapper {
        padding: 38px 30px;
    }

}


/* =====================================================
   MOBILE
   ===================================================== */

@media (max-width: 600px) {

    .arabic-contact-hero {
        min-height: 300px;
        padding: 65px 18px;
    }

    .arabic-contact-hero-content span {
        font-size: 15px;
    }

    .arabic-contact-hero-content h1 {
        font-size: 32px;
        line-height: 1.6;
    }

    .arabic-contact-hero-content p {
        font-size: 15px;
        line-height: 2;
    }

    .arabic-contact-section {
        padding: 50px 0 65px;
    }

    .arabic-contact-container {
        width: 92%;
    }

    .arabic-contact-info {
        padding: 30px 22px;
    }

    .arabic-contact-info h1 {
        font-size: 30px;
    }

    .arabic-contact-info p.arabic-contact-intro {
        font-size: 15px;
    }

    .arabic-contact-box {
        padding: 21px 18px;
    }

    .arabic-contact-box h2 {
        font-size: 23px;
    }

    .arabic-contact-item {
        gap: 13px;
        padding: 20px 0;
    }

    .arabic-contact-icon {
        flex-basis: 40px;
        width: 40px;
        height: 40px;
        font-size: 18px;
    }

    .arabic-contact-item h3 {
        font-size: 16px;
    }

    .arabic-contact-item a {
        font-size: 15px;
    }

    .arabic-contact-form-wrapper {
        padding: 28px 20px;
    }

    .arabic-contact-form-heading h2 {
        font-size: 28px;
    }

    .arabic-contact-form-heading p {
        font-size: 15px;
    }

    .arabic-form-row {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .arabic-contact-form input,
    .arabic-contact-form select,
    .arabic-contact-form textarea {
        font-size: 15px;
    }

    .arabic-form-checkbox {
        align-items: flex-start;
    }

    .arabic-form-checkbox input {
        margin-top: 5px;
    }

    .arabic-contact-submit {
        font-size: 16px;
    }

}

/* Beide Kontaktbereiche auf gleiche Höhe bringen */
.arabic-contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
}

/* Rechter dunkelroter Informationsbereich */
.arabic-contact-info {
    height: 100%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
}

/* Der innere Informationsblock füllt die gesamte Höhe */
.arabic-contact-box {
    height: 100%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Abstand im rechten Kontaktbereich reduzieren */
.arabic-contact-box {
    justify-content: flex-start;
}

.arabic-contact-box > * {
    margin-bottom: 28px;
}

.arabic-contact-box > *:last-child {
    margin-bottom: 0;
}

/* Mobile: Kontaktbereiche untereinander anzeigen */
@media (max-width: 768px) {

    .arabic-contact-container {
        display: flex;
        flex-direction: column;
        gap: 30px;
    }

    .arabic-contact-form-wrapper,
    .arabic-contact-info {
        width: 100%;
        max-width: 100%;
    }

    .arabic-contact-info {
        height: auto;
    }

    .arabic-contact-box {
        height: auto;
    }

}