/* =====================================================
   AL-YAQEEN ARABISCHER HEADER
   VERFEINERTE VERSION
   ===================================================== */

.ar-header {
    position: relative;
    z-index: 1000;
    width: 100%;
    direction: rtl;
    font-family: Arial, Helvetica, sans-serif;
    background: #000;
}

/* =====================================================
   OBERER KONTAKTBEREICH
   ===================================================== */

.ar-contact-bar {
    width: 100%;
    min-height: 38px;

    display: flex;
    align-items: center;

    background: #c89b3c;
    color: #252525;
}

.ar-contact-inner {
    width: calc(100% - 40px);
    max-width: 1480px;
    min-height: 38px;

    margin: 0 auto;
    padding: 5px 0;

    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;

    gap: 32px;
    box-sizing: border-box;
}

.ar-contact-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    color: #4b171d;
    font-size: 18px;
    font-weight: 700;
    line-height: 1;

    white-space: nowrap;
    text-decoration: none;

    transition: color 0.2s ease;
}

.ar-contact-item:hover {
    color: #7d111e;
}

.ar-contact-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    color: #7d111e;
    font-size: 18px;
    line-height: 1;
}
.ar-contact-phone,
.ar-contact-email {
    direction: ltr;
    unicode-bidi: embed;
    display: inline-block;
}



/* =====================================================
   OBERE KONTAKTLEISTE
   ===================================================== */

.ar-topbar {
    width: 100%;
    min-height: 50px;
    padding: 0 35px;

    box-sizing: border-box;

    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 42px;

    background: #d0a13c;
    color: #5a111b;
}

.ar-contact-item {
    display: flex;
    align-items: center;
    gap: 10px;

    direction: ltr;

    font-size: 18px;
    font-weight: 700;
    white-space: nowrap;
}

.ar-contact-item span {
    color: #7a0718;
    font-size: 20px;
}

.ar-contact-item a {
    color: #5a111b;
    text-decoration: none;
    transition: color 0.2s ease;
}

.ar-contact-item a:hover {
    color: #ffffff;
}


/* =====================================================
   BEREICH UM DIE NAVIGATION
   ===================================================== */

.ar-header-wrapper {
    width: 100%;
    padding: 0 30px 0;
    box-sizing: border-box;
}


/* =====================================================
   HAUPT-NAVIGATION
   ===================================================== */

.ar-navbar {
    width: 100%;
    min-height: 40px;

    padding: 0 28px 0 18px;
    box-sizing: border-box;

    display: flex;
    align-items: center;
    gap: 28px;

    background: #50151d;
    border-radius: 55px;

    position: relative;
}


/* =====================================================
   LOGO
   ===================================================== */

.ar-logo-link {
    flex: 0 0 auto;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-right: 5px;
}

.ar-header-logo {
    display: block;

    width: 155px;
    max-width: 100%;
    height: auto;
}


/* =====================================================
   NAVIGATIONSLINKS
   ===================================================== */

.ar-nav-links {
    flex: 1 1 auto;
    min-width: 0;

    margin: 0;
    padding: 0;

    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: nowrap;
    gap: 32px;

    list-style: none;
}

.ar-nav-links li {
    margin: 0;
    padding: 0;
    flex: 0 0 auto;
}

.ar-nav-links a {
    position: relative;

    display: inline-flex;
    align-items: center;

    min-height: 98px;

    color: #ffffff;
    text-decoration: none;

    font-size: 16px;
    font-weight: 700;
    white-space: nowrap;

    transition:
        color 0.25s ease,
        transform 0.25s ease;
}

.ar-nav-links a::after {
    content: "";

    position: absolute;
    right: 0;
    bottom: 19px;
    left: 0;

    height: 3px;

    background: #d6ad51;

    transform: scaleX(0);
    transform-origin: center;

    transition: transform 0.25s ease;
}

.ar-nav-links a:hover,
.ar-nav-links a.active {
    color: #d6ad51;
}

.ar-nav-links a:hover::after,
.ar-nav-links a.active::after {
    transform: scaleX(1);
}


/* =====================================================
   SPRACHUMSCHALTER – NUR ARABISCH
   ===================================================== */

.ar-language-switcher {
    position: relative;
    flex: 0 0 auto;
    direction: ltr;
}

.ar-language-button {
    min-width: 50px;
    height: 35px;

    padding: 0 13px;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    border-radius: 10px;

    color: #000;

    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    font-weight: 500;

    cursor: pointer;
}

.ar-language-current {
    font-size: 14px;
    font-weight: 500;
}

.ar-language-arrow {
    color: #c08e2d;
    font-size: 12px;
}

.ar-language-flag {
    width: 25px;
    height: 17px;
    border-radius: 2px;
}


/* Dropdown */

.ar-language-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;

    z-index: 1000;

    width: 150px;
    padding: 10px;

    display: none;

    background: #760817;
    border: 1px solid #dedede;
    border-radius: 14px;

    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.16);
}

.ar-language-switcher:hover .ar-language-dropdown,
.ar-language-switcher:focus-within .ar-language-dropdown {
    display: block;
}

.ar-language-option {
    min-height: 42px;
    padding: 0 10px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;

    color: #fff;
    text-decoration: none;

    font-size: 12px;
    font-weight: 500;

    border-radius: 8px;
}

.ar-language-option:hover {
    background: #f7f1e5;
    color: #7a0718;
}


/* =====================================================
   START-BUTTON
   ===================================================== */

.ar-header-action {
    flex: 0 0 auto;
    margin-left: 0;
}

.ar-start-button {
    min-width: 190px;
    height: 98px;

    padding: 0 30px;

    box-sizing: border-box;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 25px;

   
    color: #ffffff;

    border-radius: 50px 50 50 50px;

    text-decoration: none;

    font-size: 17px;
    font-weight: 700;

    transition:
        background 0.25s ease,
        color 0.25s ease;
}

.ar-start-button span {
    font-size: 27px;
    line-height: 1;
}

.ar-start-button:hover {
    
    color: goldenrod;
}


/* =====================================================
   MOBILE BUTTON
   ===================================================== */

.ar-menu-toggle {
    display: none;

    width: 44px;
    height: 44px;

    padding: 8px;

    border: 1px solid #d0a13c;
    border-radius: 8px;

    background: transparent;
    cursor: pointer;
}

.ar-menu-toggle span {
    display: block;
    height: 2px;
    margin: 5px 0;

    background: #ffffff;
}


/* =====================================================
   TABLET
   ===================================================== */

@media screen and (max-width: 1250px) {

    .ar-navbar {
        gap: 18px;
        padding-right: 20px;
    }

    .ar-nav-links {
        gap: 20px;
    }

    .ar-nav-links a {
        font-size: 14px;
    }

    .ar-header-logo {
        width: 130px;
    }

    .ar-start-button {
        min-width: 155px;
        padding: 0 20px;
        gap: 15px;
        font-size: 15px;
    }

}


/* =====================================================
   MOBILE
   ===================================================== */

@media screen and (max-width: 950px) {

    .ar-topbar {
        min-height: 45px;
        padding: 8px 15px;
        gap: 15px 25px;
    }

    .ar-contact-item {
        font-size: 13px;
        gap: 6px;
    }

    .ar-contact-item span {
        font-size: 15px;
    }

    .ar-header-wrapper {
        padding: 8px 12px 0;
    }

    .ar-navbar {
        min-height: 78px;
        padding: 0 15px;

        border-radius: 35px;

        justify-content: space-between;
    }

    .ar-header-logo {
        width: 115px;
    }

    .ar-nav-links {
        position: absolute;
        top: calc(100% + 8px);
        right: 0;
        left: 0;

        z-index: 900;

        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;

        padding: 10px;

        background: #50151d;
        border-radius: 18px;
    }

    .ar-nav-links.is-open {
        display: flex;
    }

    .ar-nav-links a {
        min-height: 45px;
        padding: 0 15px;

        justify-content: flex-start;

        font-size: 15px;
    }

    .ar-nav-links a::after {
        display: none;
    }

    .ar-language-switcher {
        margin-right: auto;
    }

    .ar-language-button {
        min-width: 70px;
        height: 40px;
        font-size: 16px;
    }

    .ar-language-flag {
        display: none;
    }

    .ar-header-action {
        display: none;
    }

    .ar-menu-toggle {
        display: block;
    }

}


/* =====================================================
   KLEINE HANDYS
   ===================================================== */

@media screen and (max-width: 600px) {

    .ar-topbar {
        justify-content: center;
        gap: 8px 16px;
    }

    .ar-contact-item {
        font-size: 11px;
    }

    .ar-contact-item span {
        font-size: 13px;
    }

    .ar-navbar {
        min-height: 70px;
    }

    .ar-header-logo {
        width: 100px;
    }

    .ar-language-button {
        min-width: 62px;
        height: 36px;
    }

    .ar-language-current {
        font-size: 15px;
    }
    

}
/* =====================================================
   START-BUTTON FEST GANZ LINKS POSITIONIEREN
   ===================================================== */

.ar-navbar {
    position: relative;
    padding-left: 220px !important;
}

.ar-header-action {
    position: absolute !important;
    left: 0 !important;
    top: 0 !important;

    width: 200px;
    height: 100%;

    margin: 0 !important;
    padding: 0 !important;

    display: flex !important;
    align-items: stretch;
    justify-content: flex-start;

    z-index: 10;
}

.ar-start-button {
    width: 220px !important;
    min-width: 220px !important;
    height: 100% !important;

    margin: 0 !important;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 25px;
    color: #ffffff;
}

/* =====================================================
   FLAGGEN – ARABISCHER SPRACHUMSCHALTER
   ===================================================== */

.ar-language-flag,
.ar-language-option .flag-de,
.ar-language-option .flag-tr,
.ar-language-option .flag-gb,
.ar-language-option .flag-fr,
.ar-language-option .flag-es,
.ar-language-option .flag-sa {
    display: inline-block;

    width: 28px;
    height: 19px;

    flex: 0 0 28px;

    border-radius: 2px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;

    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.12);
}


/* Deutschland */
.flag-de {
    background: linear-gradient(
        to bottom,
        #000000 0%,
        #000000 33.33%,
        #dd0000 33.33%,
        #dd0000 66.66%,
        #ffce00 66.66%,
        #ffce00 100%
    );
}


/* Türkei */
.flag-tr {
    background-color: #e30a17;
    position: relative;
}

.flag-tr::before {
    content: "★";
    color: #ffffff;
    font-size: 12px;

    position: absolute;
    left: 6px;
    top: 2px;
}


/* England / Großbritannien */
.flag-gb {
    background:
        linear-gradient(
            90deg,
            transparent 42%,
            #ffffff 42%,
            #ffffff 58%,
            transparent 58%
        ),
        linear-gradient(
            0deg,
            transparent 42%,
            #ffffff 42%,
            #ffffff 58%,
            transparent 58%
        ),
        linear-gradient(
            90deg,
            transparent 46%,
            #c8102e 46%,
            #c8102e 54%,
            transparent 54%
        ),
        linear-gradient(
            0deg,
            transparent 44%,
            #c8102e 44%,
            #c8102e 56%,
            transparent 56%
        ),
        #012169;
}


/* Frankreich */
.flag-fr {
    background: linear-gradient(
        to right,
        #0055a4 0%,
        #0055a4 33.33%,
        #ffffff 33.33%,
        #ffffff 66.66%,
        #ef4135 66.66%,
        #ef4135 100%
    );
}


/* Spanien */
.flag-es {
    background: linear-gradient(
        to bottom,
        #aa151b 0%,
        #aa151b 25%,
        #f1bf00 25%,
        #f1bf00 75%,
        #aa151b 75%,
        #aa151b 100%
    );
}


/* Saudi-Arabien */
.flag-sa {
    background-color: #006c35;
    position: relative;
}

.flag-sa::after {
    content: "★";
    position: absolute;
    inset: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #ffffff;
    font-size: 10px;
}

/* =========================================================
   AR NAV – KOMPAKTER
   ========================================================= */

.ar-header-nav {
    min-height: 72px;
    height: 72px;
    padding-top: 0;
    padding-bottom: 0;
}

/* Falls der innere Nav-Container die Höhe bestimmt */
.ar-header-nav nav,
.ar-header-nav .ar-nav-container {
    min-height: 72px;
    height: 72px;
}

/* Logo etwas kompakter */
.ar-header-logo img,
.ar-logo {
    max-height: 58px;
    width: auto;
}

/* Navigationslinks mittig halten */
.ar-nav-links {
    height: 72px;
    align-items: center;
}

/* Sprachschalter mittig */
.ar-language-switcher,
.ar-lang-switcher {
    align-self: center;
}

/* Start-/Button-Bereich mittig */
.ar-header-actions {
    height: 72px;
    align-items: center;
}





@media screen and (max-width: 700px) {

    .ar-header-action {
        width: auto !important;
        height: auto !important;

        position: static !important;

        margin: 0 !important;
        padding: 0 !important;

        display: flex !important;
    }

    .ar-start-button {
        width: auto !important;
        min-width: 110px !important;
        height: 42px !important;

        padding: 0 14px !important;

        display: flex !important;
        align-items: center;
        justify-content: center;

        gap: 0 !important;

        border-radius: 22px !important;

        border: none !important;
        box-shadow: none !important;

        background: transparent !important;

        color: #ffffff !important;
    }

    .ar-start-button span {
        display: none !important;
    }

    .ar-start-button strong {
        margin-right: 0 !important;

        font-size: 13px !important;
        font-weight: 700;

        white-space: nowrap;
    }
}