/* =========================================
  Section
========================================= */

.services-de-section {
    border-top: 8px solid #c89b3c;
    position: relative;
    width: 100%;
    max-width: none;
    margin: 10px auto;
    padding-bottom: 30px;
    font-family: Arial, Helvetica, sans-serif;
    overflow: visible;
    background: #000000;
        
}

/* Vollbreiter Hintergrund */
.arabic-wwwork-section::before {
    content: "";

    position: absolute;

    top: 0;
    bottom: 0;

    left: 50%;

    width: 100vw;

    transform: translateX(-50%);

    background: #000000;

    z-index: 0;
}


/* =========================================
   Header Banner
========================================= */

.services-de-header {
    position: relative;
    min-height: 210px;
    margin-bottom: 0;
    padding: 35px 55px;
    border-radius: 22px;
    overflow: hidden;

    

      display: flex !important;
    justify-content: flex-start !important;

    direction: ltr !important;
}


/* زخرفة خلفية */
.services-de-header::before {
    content: "";
    position: absolute;
    inset: 0;

    background:
        radial-gradient(
            ellipse at 20% 15%,
            rgba(255, 225, 145, 0.5),
            transparent 35%
        ),
        linear-gradient(
            165deg,
            transparent 35%,
            rgba(255, 255, 255, 0.08) 36%,
            transparent 37%
        );

    pointer-events: none;
}


/* عنوان القسم */
.services-de-header-content {
    position: relative;
    z-index: 2;

     text-align: left !important;
    margin-left: 0 !important;
    margin-right: auto !important;
}

.services-de-header h2 {
    margin: 5px 0 8px;
    color: #ffffff;
    font-size: clamp(30px, 4vw, 48px);
    font-weight: 800;
    line-height: 1.3;
    text-align: left !important;
    
}

.services-de-subtitle {
    display: block;
    color: #fff9e8;
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 8px;
}

.services-de-line {
    display: block;
    width: 115px;
    height: 3px;
    margin-left: 0;
    margin-right: auto;
    background: #e1a72f;
    border-radius: 20px;
}


/* علامة مائية */
.services-de-watermark {
    position: absolute;
    z-index: 1;
    left: 5%;
    bottom: -15px;

    color: rgba(255, 255, 255, 0.13);
    font-size: clamp(60px, 10vw, 135px);
    font-weight: 900;
    white-space: nowrap;
    user-select: none;
}


/* =========================================
   Karten-Grid
========================================= */

.services-de-grid {
    position: relative;
    z-index: 3;
    direction: ltr;

    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 28px;

    margin: -75px 65px 0;
}


/* =========================================================
   DEUTSCHE VERSION – FLIP-KARTEN
   ========================================================= */

.services-de-card {
    perspective: 1200px;
    background: transparent;
    border: none;
    box-shadow: none;
    overflow: visible;
    padding: 0 !important;
    min-width: 0;
}


/* =========================================================
   CARD INNER
========================================================= */

.services-de-card-inner {
    position: relative;
    width: 100%;
    height: 390px;

    transform-style: preserve-3d;
    transition: transform 0.65s ease;
}


/* Flip */

.services-de-card:hover .services-de-card-inner {
    transform: rotateY(180deg);
}


/* =========================================================
   FRONT + BACK
========================================================= */

.services-de-card-front,
.services-de-card-back {
    position: absolute !important;

    inset: 0;

    width: 100%;
    height: 100%;

    box-sizing: border-box;

    border-radius: 22px;

    overflow: hidden;

    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}


/* =========================================================
   VORDERSEITE
========================================================= */

.services-de-card-front {
    background: #ffffff;

    transform: rotateY(0deg);

    display: flex;
    flex-direction: column;
}


/* =========================================================
   BILD
========================================================= */

.services-de-card-front .services-de-image {
    width: 100%;
    height: 205px;

    flex-shrink: 0;

    overflow: hidden;

    border-radius: 0;

    background: #e8ece9;
}

.services-de-card-front .services-de-image img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    transition: transform 0.5s ease;
}

.services-de-card:hover .services-de-image img {
    transform: scale(1.04);
}


/* =========================================================
   NUMMER VORNE
========================================================= */

.services-de-card-front .services-de-number {
    position: absolute;

    top: 14px;
    left: 14px;

    width: 42px;
    height: 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #c89b3c;
    color: #ffffff;

    border-radius: 50%;

    font-size: 15px;
    font-weight: 700;

    z-index: 5;
}


/* =========================================================
   TITEL VORNE
========================================================= */

.services-de-card-front h3 {
    margin: 0;

    padding: 22px 22px 20px;

    color: #103e2d;

    font-size: 22px;
    font-weight: 800;

    line-height: 1.35;

    text-align: center;

    flex: 1;

    display: flex;
    align-items: flex-start;
    justify-content: center;
}


/* =========================================================
   RÜCKSEITE
========================================================= */

.services-de-card-back {
    background: #103e2d;
    color: #ffffff;

    padding: 30px 28px;

    transform: rotateY(180deg);

    display: flex;
    flex-direction: column;

    text-align: left;

    border: 1px solid rgba(200, 155, 60, 0.65);
}


/* =========================================================
   NUMMER RÜCKSEITE
========================================================= */

.services-de-card-back .services-number {
    position: absolute;

    top: 14px;
    right: 14px;

    width: 42px;
    height: 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin: 0;

    background: #5a111b;
    color: #ffffff;

    border-radius: 50%;

    font-size: 15px;
    font-weight: 700;

    z-index: 5;
}


/* =========================================================
   KLEINE ÜBERSCHRIFT
========================================================= */

.services-de-card-back > span {
    display: block;

    margin: 10px 0 14px;

    color: #e0bb68;

    font-size: 13px;
    font-weight: 700;

    text-transform: uppercase;

    letter-spacing: 1.5px;
}


/* =========================================================
   TITEL RÜCKSEITE
========================================================= */

.services-de-card-back h3 {
    margin: 0 0 16px;

    color: #ffffff;

    font-size: 23px;
    font-weight: 800;

    line-height: 1.35;

    text-align: left;
}


/* =========================================================
   BESCHREIBUNG RÜCKSEITE
========================================================= */

.services-de-card-back p {
    margin: 0;

    min-height: auto;

    color: rgba(255, 255, 255, 0.88);

    font-size: 15px;
    font-weight: 400;

    line-height: 1.75;

    text-align: left;
}


/* =========================================================
   MEHR INFORMATIONEN
========================================================= */

.services-de-card-back a {
    display: inline-flex;

    align-items: center;

    margin-top: auto;

    padding-top: 20px;

    color: #e0bb68;

    font-size: 15px;
    font-weight: 700;

    text-decoration: none;

    transition:
        color 0.25s ease,
        transform 0.25s ease;
}

.services-de-card-back a:hover {
    color: #ffffff;
    transform: translateX(4px);
}


/* =========================================================
   MOBILE
========================================================= */

@media screen and (max-width: 700px) {

    .services-de-grid {
        grid-template-columns: repeat(1, minmax(0, 1fr));
        margin-right: 35px;
        margin-left: 35px;
        gap: 22px;
    }
    .services-de-card-inner {
        height: 420px;
        
    }

    .services-de-card-front .services-de-image {
        height: 210px;
    }

    .services-de-card-front h3 {
        padding: 20px 18px;

        font-size: 21px;
    }

    .services-de-card-back {
        padding: 28px 22px;
    }

    .services-de-card-back h3 {
        font-size: 21px;
    }

    .services-de-card-back p {
        font-size: 14px;
        line-height: 1.7;
    }

    .services-de-card-front .services-de-number,
    .services-de-card-back .services-number {
        width: 36px;
        height: 36px;

        font-size: 14px;
    }

    .services-de-card-front .services-de-number {
        top: 10px;
        left: 10px;
    }

    .services-de-card-back .services-number {
        top: 10px;
        right: 10px;
    }

}

