

/* =========================================================
   AL-YAQEEN MODERN HOME HERO SLIDER
   ========================================================= */

.home-hero-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: #083f2b;
    color: #ffffff;
    font-family: Arial, Helvetica, sans-serif;
}

.home-hero-slides {
    position: relative;
    width: 100%;
    height: 650px;
}

.home-hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition:
        opacity 0.8s ease,
        visibility 0.8s ease;
    overflow: hidden;
}

.home-hero-slide.is-active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

.home-hero-image {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.home-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scale(1.04);
    transition: transform 6s ease;
}

.home-hero-slide.is-active .home-hero-image img {
    transform: scale(1);
}


/* ---------------------------------------------------------
   OVERLAY
   --------------------------------------------------------- */

.home-hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;

    background:
        linear-gradient(
            90deg,
            rgba(4, 48, 33, 0.96) 0%,
            rgba(4, 48, 33, 0.88) 27%,
            rgba(4, 48, 33, 0.62) 48%,
            rgba(4, 48, 33, 0.20) 75%,
            rgba(4, 48, 33, 0.08) 100%
        );
}


/* ---------------------------------------------------------
   CONTENT
   --------------------------------------------------------- */

.home-hero-content {
    position: relative;
    z-index: 3;

    width: min(1280px, calc(100% - 120px));
    height: 100%;
    margin: 0 auto;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding-bottom: 50px;
    box-sizing: border-box;
}

.home-hero-text {
    max-width: 690px;
    padding-top: 25px;
}

.home-hero-eyebrow {
    margin-bottom: 18px;

    color: #c89b3c;

    font-size: 14px;
    font-weight: 800;
    letter-spacing: 4px;
    text-transform: uppercase;
}

.home-hero-text h1 {
    margin: 0;

    color: #ffffff;

    font-size: clamp(48px, 5vw, 78px);
    line-height: 0.98;
    font-weight: 800;
    letter-spacing: -2px;
}

.home-hero-text h1 span {
    color: #d5aa4b;
}

.home-hero-divider {
    display: flex;
    align-items: center;
    gap: 12px;

    width: 310px;
    margin: 27px 0 24px;
}

.home-hero-divider span {
    display: block;
    flex: 1;
    height: 2px;
    background: #d5aa4b;
}

.home-hero-divider b {
    color: #d5aa4b;
    font-size: 21px;
    font-weight: 400;
}

.home-hero-text p {
    max-width: 650px;
    margin: 0 0 30px;

    color: rgba(255, 255, 255, 0.91);

    font-size: 19px;
    line-height: 1.7;
}


/* ---------------------------------------------------------
   BUTTONS
   --------------------------------------------------------- */

.home-hero-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.home-hero-button {
    min-height: 56px;
    padding: 0 27px;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 11px;

    border-radius: 9px;

    font-size: 16px;
    font-weight: 800;
    text-decoration: none;

    transition:
        transform 0.25s ease,
        background 0.25s ease,
        border-color 0.25s ease;
}

.home-hero-button:hover {
    transform: translateY(-2px);
}

.home-hero-button-gold {
    background: #c89b3c;
    border: 1px solid #c89b3c;
    color: #ffffff;
}

.home-hero-button-gold:hover {
    background: #b78a2f;
    border-color: #b78a2f;
    color: #ffffff;
}

.home-hero-button-outline {
    background: rgba(8, 63, 43, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.8);
    color: #ffffff;
    backdrop-filter: blur(5px);
}

.home-hero-button-outline:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: #d5aa4b;
    color: #ffffff;
}

.home-hero-button span {
    font-size: 21px;
    line-height: 1;
}


/* ---------------------------------------------------------
   QUOTE
   --------------------------------------------------------- */

.home-hero-quote {
    position: absolute;
    right: 0;
    bottom: 75px;

    max-width: 360px;

    display: flex;
    flex-direction: column;
    align-items: flex-end;

    text-align: right;

    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);
}

.home-hero-quote strong {
    color: #ffffff;
    font-size: 18px;
    line-height: 1.5;
}

.home-hero-quote small {
    margin-top: 5px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 15px;
}


/* ---------------------------------------------------------
   BADGE
   --------------------------------------------------------- */

.home-hero-badge {
    min-width: 190px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    padding: 25px 28px;

    background: rgba(5, 52, 36, 0.72);
    border: 1px solid rgba(213, 170, 75, 0.75);
    border-radius: 14px;

    backdrop-filter: blur(10px);

    text-align: center;
}

.home-hero-badge strong {
    color: #d5aa4b;
    font-size: 36px;
    line-height: 1;
}

.home-hero-badge span {
    margin-top: 8px;
    color: #ffffff;
    font-size: 15px;
}


/* ---------------------------------------------------------
   ARROWS
   --------------------------------------------------------- */

.home-hero-arrow {
    position: absolute;
    top: 50%;
    z-index: 10;

    width: 58px;
    height: 58px;

    display: flex;
    align-items: center;
    justify-content: center;

    transform: translateY(-50%);

    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 50%;

    background: rgba(0, 0, 0, 0.18);
    color: #ffffff;

    font-family: Arial, Helvetica, sans-serif;
    font-size: 38px;
    font-weight: 300;
    line-height: 1;

    cursor: pointer;

    backdrop-filter: blur(5px);

    transition:
        background 0.25s ease,
        border-color 0.25s ease,
        color 0.25s ease;
}

.home-hero-arrow:hover {
    background: #c89b3c;
    border-color: #c89b3c;
    color: #ffffff;
}

.home-hero-prev {
    left: 25px;
}

.home-hero-next {
    right: 25px;
}


/* ---------------------------------------------------------
   DOTS
   --------------------------------------------------------- */

.home-hero-dots {
    position: absolute;
    left: 50%;
    bottom: 170px;
    z-index: 10;

    display: flex;
    align-items: center;
    gap: 10px;

    transform: translateX(-50%);
}

.home-hero-dot {
    width: 11px;
    height: 11px;

    padding: 0;

    border: 0;
    border-radius: 50%;

    background: rgba(255, 255, 255, 0.75);

    cursor: pointer;

    transition:
        width 0.25s ease,
        background 0.25s ease;
}

.home-hero-dot.is-active {
    width: 30px;
    border-radius: 20px;
    background: #c89b3c;
}

/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 950px) {

    .home-hero-slides {
        height: 600px;
    }

    .home-hero-content {
        width: calc(100% - 100px);
    }

    .home-hero-text {
        max-width: 600px;
    }

    .home-hero-text h1 {
        font-size: clamp(42px, 7vw, 64px);
    }

    .home-hero-text p {
        font-size: 17px;
    }

    .home-hero-badge {
        display: none;
    }

    .home-hero-quote {
        display: none;
    }

    .home-hero-dots {
        bottom: 145px;
    }

    .home-hero-info-bar {
        grid-template-columns:  1fr;
        
    }

    .home-hero-info-item {
        min-height: 105px;
    }

    .home-hero-info-item:nth-child(2) {
        border-right: 0;
    }

    .home-hero-info-item:nth-child(-n + 2) {
        border-bottom: 1px solid rgba(213, 170, 75, 0.35);
    }

}

/* =========================================================
   MOBILE HERO - KOMPAKTER
   ========================================================= */

@media (max-width: 650px) {

    .home-hero-slides {
        height: 430px;
    }

    .home-hero-content {
        width: calc(100% - 42px);
        align-items: flex-end;
        padding-bottom: 42px;
    }

    .home-hero-eyebrow {
        margin-bottom: 8px;
        font-size: 10px;
        letter-spacing: 2px;
    }

    .home-hero-text h1 {
        font-size: 34px;
        line-height: 1.02;
        letter-spacing: -0.5px;
    }

    .home-hero-divider {
        width: 195px;
        margin: 13px 0 15px;
    }

    .home-hero-text p {
        margin-bottom: 16px;
        font-size: 13px;
        line-height: 1.5;
    }

    .home-hero-actions {
        width: 100%;
        gap: 8px;
    }

    .home-hero-button {
        min-height: 45px;
        padding: 0 14px;
        font-size: 13px;
    }

    .home-hero-arrow {
        top: 43%;
        width: 38px;
        height: 38px;
        font-size: 26px;
    }

    .home-hero-prev {
        left: 8px;
    }

    .home-hero-next {
        right: 8px;
    }

    .home-hero-dots {
        bottom: 13px;
    }

    .home-hero-dot {
        width: 7px;
        height: 7px;
    }

    .home-hero-dot.is-active {
        width: 21px;
    }
}

/* =========================================================
   SEHR KLEINE HANDYS
   ========================================================= */

@media (max-width: 400px) {

    .home-hero-slides {
        height: 410px;
    }

    .home-hero-content {
        width: calc(100% - 32px);
        padding-bottom: 38px;
    }

    .home-hero-text h1 {
        font-size: 31px;
    }

    .home-hero-text p {
        font-size: 12px;
        line-height: 1.45;
    }

    .home-hero-button {
        min-height: 43px;
        font-size: 12px;
    }

    .home-hero-info-item {
        min-height: 58px;
        height: 58px;
        padding: 0 22px;
    }

    .home-hero-info-item strong {
        font-size: 18px;
    }

    .home-hero-info-item span {
        font-size: 11px;
    }

}

/* =========================================================
   MOBILE OPTIMIERUNG – BESTATTUNGSARTEN
   ========================================================= */

@media (max-width: 700px) {

    /* Grundsätzlich kein seitliches Überlaufen */
    html,
    body {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }

    *,
    *::before,
    *::after {
        box-sizing: border-box;
    }

 }

 /* ---------------------------------------------------------
   INFO BAR
   --------------------------------------------------------- */

.home-hero-info-bar {
    position: relative;
    z-index: 20;

    min-height: 100px;

    display: grid;
    grid-template-columns: repeat(4, 1fr);

    background: #043c2a;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.home-hero-info-item {
    min-height: 100px;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 18px;

    border-right: 1px solid rgba(213, 170, 75, 0.45);
}

.home-hero-info-item:last-child {
    border-right: 0;
}

.home-hero-info-icon {
    width: 55px;
    height: 55px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #d5aa4b;

    font-size: 32px;
}

.home-hero-info-item strong {
    display: block;

    color: #ffffff;

    font-size: 27px;
    line-height: 1.1;
}

.home-hero-info-item span {
    display: block;

    margin-top: 7px;

    color: rgba(255, 255, 255, 0.78);

    font-size: 15px;
}


/* =========================================================
   MOBILE – INFO-BAR UNTEREINANDER
========================================================= */

@media (max-width: 600px) {

    .home-hero-info-bar {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .home-hero-info-item {
        width: 100%;
        min-height: 85px;
        box-sizing: border-box;

        display: flex;
        align-items: left;
        justify-content: left;

        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    }

    .home-hero-info-item:last-child {
        border-bottom: none;
    }

}