/* =========================================================
   AL-YAQEEN
   VORGANGSSTATUS / TRACKING
   ========================================================= */


/* ---------------------------------------------------------
   GRUNDLAGE
   --------------------------------------------------------- */

.status-hero,
.status-abfrage,
.status-ergebnis,
.status-information,
.status-beratung {
    box-sizing: border-box;
}

.status-hero *,
.status-abfrage *,
.status-ergebnis *,
.status-information *,
.status-beratung * {
    box-sizing: border-box;
}


/* ---------------------------------------------------------
   HERO
   --------------------------------------------------------- */

.status-hero {
    position: relative;
    min-height: 560px;
    display: flex;
    align-items: center;

    background:
        linear-gradient(
            90deg,
            rgba(5, 44, 31, 0.96) 0%,
            rgba(8, 63, 43, 0.88) 42%,
            rgba(8, 63, 43, 0.48) 72%,
            rgba(8, 63, 43, 0.18) 100%
        ),
        url("/static/images/status.jpg");

    background-size: cover;
    background-position: center;
}


.status-hero-overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
}


.status-hero-content {
    position: relative;
    z-index: 2;

    width: 100%;
    max-width: 1280px;

    margin: 0 auto;
    padding: 90px 30px;
}


.status-hero-label {
    margin-bottom: 24px;

    color: #d8b45a;

    font-size: 13px;
    font-weight: 600;
    letter-spacing: 3px;
}


.status-hero h1 {
    max-width: 760px;

    margin: 0 0 28px;

    color: #ffffff;

    font-size: clamp(42px, 5vw, 72px);
    line-height: 1.08;
    font-weight: 500;
}


.status-hero p {
    max-width: 650px;

    margin: 0;

    color: rgba(255, 255, 255, 0.88);

    font-size: 18px;
    line-height: 1.8;
}


/* ---------------------------------------------------------
   STATUS ABFRAGE
   --------------------------------------------------------- */

.status-abfrage {
    position: relative;

    padding: 95px 30px 100px;

    background:
        linear-gradient(
            135deg,
            #e4eee8 0%,
            #d2e1d9 48%,
            #b9cec2 100%
        );
}


.status-abfrage-container {
    max-width: 980px;
    margin: 0 auto;

    text-align: center;
}


.status-abfrage-label,
.status-information-label,
.status-aktuell-label,
.status-verlauf-label,
.status-ergebnis-label {
    color: #c89b3c;

    font-size: 12px;
    font-weight: 700;
    letter-spacing: 3px;
}


.status-abfrage-label {
    margin-bottom: 18px;
}


.status-abfrage h2 {
    margin: 0;

    color: #083f2b;

    font-size: clamp(34px, 4vw, 52px);
    line-height: 1.15;
    font-weight: 500;
}


.status-divider {
    width: 70px;
    height: 2px;

    margin: 30px auto;

    background: #c89b3c;
}


.status-abfrage-text {
    max-width: 620px;

    margin: 0 auto 38px;

    color: #53635b;

    font-size: 16px;
    line-height: 1.8;
}


/* ---------------------------------------------------------
   FORMULAR
   --------------------------------------------------------- */

.status-form {
    display: flex;
    align-items: flex-end;
    gap: 16px;

    max-width: 760px;

    margin: 0 auto;

    text-align: left;
}


.status-input-wrapper {
    flex: 1;
}


.status-input-wrapper label {
    display: block;

    margin-bottom: 9px;

    color: #083f2b;

    font-size: 13px;
    font-weight: 600;
}


.status-input-wrapper input {
    width: 100%;
    height: 58px;

    padding: 0 20px;

    border: 1px solid #c7d4cd;
    border-radius: 0;

    outline: none;

    background: #ffffff;

    color: #24332d;

    font-family: inherit;
    font-size: 16px;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}


.status-input-wrapper input::placeholder {
    color: #9aa59f;
}


.status-input-wrapper input:focus {
    border-color: #c89b3c;

    box-shadow:
        0 0 0 3px rgba(200, 155, 60, 0.12);
}


.status-button {
    height: 58px;

    padding: 0 30px;

    border: 1px solid #c89b3c;

    background: #c89b3c;

    color: #ffffff;

    font-family: inherit;
    font-size: 12px;
    font-weight: 700;

    letter-spacing: 1.5px;

    cursor: pointer;

    transition:
        background 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease;
}


.status-button:hover {
    background: #b7892f;
    border-color: #b7892f;

    transform: translateY(-1px);
}


/* ---------------------------------------------------------
   FEHLERMELDUNG
   --------------------------------------------------------- */

.status-fehler {
    max-width: 760px;

    margin: 25px auto 0;

    padding: 16px 20px;

    border-left: 3px solid #b33a3a;

    background: #f7e8e8;

    color: #7d2222;

    font-size: 14px;
    line-height: 1.6;

    text-align: left;
}


/* ---------------------------------------------------------
   ERGEBNIS
   --------------------------------------------------------- */

.status-ergebnis {
    padding: 100px 30px;

    background: #ffffff;
}


.status-ergebnis-container {
    max-width: 1100px;

    margin: 0 auto;
}


/* ---------------------------------------------------------
   ERGEBNIS HEADER
   --------------------------------------------------------- */

.status-ergebnis-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;

    gap: 40px;

    padding-bottom: 35px;

    border-bottom: 1px solid #dfe5e1;
}


.status-ergebnis-label {
    margin-bottom: 12px;
}


.status-ergebnis-header h2 {
    margin: 0;

    color: #083f2b;

    font-size: clamp(30px, 4vw, 48px);
    font-weight: 500;

    letter-spacing: 1px;
}


.status-aktualisiert {
    display: flex;
    flex-direction: column;

    text-align: right;
}


.status-aktualisiert span {
    margin-bottom: 6px;

    color: #7b8781;

    font-size: 12px;
}


.status-aktualisiert strong {
    color: #24332d;

    font-size: 14px;
    font-weight: 600;
}


/* ---------------------------------------------------------
   AKTUELLER STATUS
   --------------------------------------------------------- */

.status-aktuell {
    margin-top: 55px;

    padding: 38px 40px;

    border-left: 4px solid #c89b3c;

    background:
        linear-gradient(
            135deg,
            #f5f7f5 0%,
            #edf2ee 100%
        );
}


.status-aktuell-label {
    margin-bottom: 14px;
}


.status-aktuell h3 {
    margin: 0 0 12px;

    color: #083f2b;

    font-size: clamp(25px, 3vw, 34px);
    line-height: 1.25;
    font-weight: 500;
}


.status-aktuell p {
    max-width: 780px;

    margin: 0;

    color: #5c6963;

    font-size: 15px;
    line-height: 1.8;
}


/* ---------------------------------------------------------
   VERLAUF
   --------------------------------------------------------- */

.status-verlauf {
    margin-top: 80px;
}


.status-verlauf-label {
    margin-bottom: 38px;
}


/* ---------------------------------------------------------
   STATUS STEPS
   --------------------------------------------------------- */

.status-steps {
    position: relative;

    max-width: 800px;
}


.status-steps::before {
    content: "";

    position: absolute;

    left: 14px;
    top: 15px;
    bottom: 15px;

    width: 1px;

    background: #d8dfdb;
}


.status-step {
    position: relative;

    display: flex;
    align-items: flex-start;

    min-height: 72px;

    padding-bottom: 28px;
}


.status-step:last-child {
    padding-bottom: 0;
}


.status-step-marker {
    position: relative;
    z-index: 2;

    flex: 0 0 30px;

    width: 30px;
    height: 30px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-right: 24px;

    border: 1px solid #d1dad5;
    border-radius: 50%;

    background: #ffffff;

    color: #9ba7a1;

    font-size: 13px;
    font-weight: 700;
}


/* ERLEDIGT */

.status-step.erledigt .status-step-marker {
    border-color: #083f2b;

    background: #083f2b;

    color: #ffffff;
}


/* AKTUELL */

.status-step.aktuell .status-step-marker {
    border: 3px solid #c89b3c;

    background: #ffffff;

    color: #c89b3c;

    font-size: 10px;
}


.status-step-content {
    padding-top: 3px;
}


.status-step-content h4 {
    margin: 0;

    color: #9ba7a1;

    font-size: 16px;
    font-weight: 500;

    line-height: 1.4;
}


.status-step-content span {
    display: block;

    margin-top: 5px;

    color: #a7b0ab;

    font-size: 12px;
}


/* ERLEDIGTER TEXT */

.status-step.erledigt .status-step-content h4 {
    color: #365247;
}


/* AKTUELLER TEXT */

.status-step.aktuell .status-step-content h4 {
    color: #083f2b;

    font-weight: 700;
}


.status-step.aktuell .status-step-content span {
    color: #c89b3c;

    font-weight: 600;
}


/* ---------------------------------------------------------
   HINWEIS
   --------------------------------------------------------- */

.status-hinweis {
    margin-top: 80px;

    padding: 35px 40px;

    border-top: 1px solid #c89b3c;

    background: #f5f7f5;
}


.status-hinweis strong {
    display: block;

    margin-bottom: 10px;

    color: #083f2b;

    font-size: 18px;
    font-weight: 600;
}


.status-hinweis p {
    max-width: 800px;

    margin: 0 0 25px;

    color: #5f6c65;

    font-size: 14px;
    line-height: 1.8;
}


.status-kontakt-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 48px;

    padding: 0 24px;

    border: 1px solid #083f2b;

    color: #083f2b;

    text-decoration: none;

    font-size: 11px;
    font-weight: 700;

    letter-spacing: 1.5px;

    transition:
        background 0.2s ease,
        color 0.2s ease;
}


.status-kontakt-button:hover {
    background: #083f2b;

    color: #ffffff;
}


/* ---------------------------------------------------------
   INFORMATION
   --------------------------------------------------------- */

.status-information {
    padding: 100px 30px;

    background:
        linear-gradient(
            135deg,
            #083f2b 0%,
            #0b4932 55%,
            #052c1f 100%
        );

    color: #ffffff;
}


.status-information-container {
    max-width: 1100px;

    margin: 0 auto;

    display: grid;

    grid-template-columns:
        minmax(0, 1.4fr)
        minmax(300px, 0.8fr);

    gap: 80px;

    align-items: center;
}


.status-information-label {
    margin-bottom: 20px;
}


.status-information-text h2 {
    max-width: 650px;

    margin: 0 0 25px;

    color: #ffffff;

    font-size: clamp(32px, 4vw, 48px);
    line-height: 1.15;
    font-weight: 500;
}


.status-information-text p {
    max-width: 650px;

    margin: 0 0 18px;

    color: rgba(255, 255, 255, 0.76);

    font-size: 15px;
    line-height: 1.8;
}


/* ---------------------------------------------------------
   AKTENZEICHEN BOX
   --------------------------------------------------------- */

.status-information-box {
    display: flex;
    align-items: center;

    min-height: 190px;

    padding: 35px;

    border: 1px solid rgba(200, 155, 60, 0.45);

    background: rgba(255, 255, 255, 0.05);
}


.status-box-number {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 85px;
    height: 85px;

    margin-right: 25px;

    border: 1px solid #c89b3c;

    color: #d8b45a;

    font-size: 25px;
    font-weight: 600;

    letter-spacing: 2px;
}


.status-box-text {
    display: flex;
    flex-direction: column;
}


.status-box-text strong {
    margin-bottom: 8px;

    color: #ffffff;

    font-size: 14px;
    font-weight: 600;
}


.status-box-text span {
    color: #d8b45a;

    font-size: 16px;
    letter-spacing: 1px;
}


/* ---------------------------------------------------------
   BERATUNG
   --------------------------------------------------------- */

.status-beratung {
    padding: 100px 30px;

    background:
        linear-gradient(
            135deg,
            #d2e1d9 0%,
            #b9cec2 50%,
            #9eb9aa 100%
        );

    text-align: center;
}


.status-beratung-content {
    max-width: 800px;

    margin: 0 auto;
}


.status-beratung-label {
    margin-bottom: 18px;

    color: #c89b3c;

    font-size: 12px;
    font-weight: 700;

    letter-spacing: 3px;
}


.status-beratung h2 {
    margin: 0 0 18px;

    color: #083f2b;

    font-size: clamp(32px, 4vw, 48px);
    line-height: 1.2;
    font-weight: 500;
}


.status-beratung p {
    margin: 0 0 30px;

    color: #53635b;

    font-size: 16px;
    line-height: 1.8;
}


.status-beratung-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 54px;

    padding: 0 30px;

    border: 1px solid #c89b3c;

    background: #c89b3c;

    color: #ffffff;

    text-decoration: none;

    font-size: 11px;
    font-weight: 700;

    letter-spacing: 1.5px;

    transition:
        background 0.2s ease,
        border-color 0.2s ease;
}


.status-beratung-button:hover {
    background: #b7892f;

    border-color: #b7892f;
}


/* ---------------------------------------------------------
   TABLET
   --------------------------------------------------------- */

@media (max-width: 900px) {

    .status-information-container {
        grid-template-columns: 1fr;

        gap: 50px;
    }

    .status-information-box {
        max-width: 600px;
    }

}


/* ---------------------------------------------------------
   MOBILE
   --------------------------------------------------------- */

@media (max-width: 700px) {

    .status-hero {
        min-height: 500px;

        background:
            linear-gradient(
                90deg,
                rgba(5, 44, 31, 0.96),
                rgba(8, 63, 43, 0.78)
            ),
            url("/static/images/status.jpg");

        background-position: center;
    }


    .status-hero-content {
        padding: 70px 22px;
    }


    .status-hero h1 {
        font-size: 42px;
    }


    .status-hero p {
        font-size: 16px;
    }


    .status-abfrage {
        padding: 70px 20px;
    }


    .status-form {
        flex-direction: column;

        align-items: stretch;

        gap: 15px;
    }


    .status-button {
        width: 100%;
    }


    .status-ergebnis {
        padding: 70px 20px;
    }


    .status-ergebnis-header {
        flex-direction: column;

        align-items: flex-start;

        gap: 25px;
    }


    .status-aktualisiert {
        text-align: left;
    }


    .status-aktuell {
        padding: 28px 25px;
    }


    .status-verlauf {
        margin-top: 60px;
    }


    .status-hinweis {
        padding: 28px 25px;
    }


    .status-information {
        padding: 70px 20px;
    }


    .status-information-box {
        padding: 25px;

        min-height: 150px;
    }


    .status-box-number {
        width: 65px;
        height: 65px;

        margin-right: 18px;

        font-size: 20px;
    }


    .status-box-text span {
        font-size: 14px;
    }


    .status-beratung {
        padding: 70px 20px;
    }

}


/* ---------------------------------------------------------
   KLEINE HANDYS
   --------------------------------------------------------- */

@media (max-width: 430px) {

    .status-hero h1 {
        font-size: 36px;
    }


    .status-step-marker {
        flex-basis: 28px;

        width: 28px;
        height: 28px;

        margin-right: 18px;
    }


    .status-steps::before {
        left: 13px;
    }


    .status-step-content h4 {
        font-size: 15px;
    }


    .status-information-box {
        flex-direction: column;

        align-items: flex-start;
    }


    .status-box-number {
        margin-right: 0;
        margin-bottom: 20px;
    }

}

/* =========================================================
   STATUS – DATUM
   ========================================================= */

.status-step-date {
    margin-top: 6px;
    font-size: 13px;
    color: #b9974a;
    font-weight: 600;
    letter-spacing: 0.2px;
}


/* =========================================================
   STATUS – NOTIZ
   ========================================================= */

.status-step-note {
    margin-top: 6px;
    font-size: 14px;
    line-height: 1.6;
    color: #666;
}


/* =========================================================
   STATUS – INHALT
   ========================================================= */

.status-step-content {
    padding-bottom: 4px;
}


/* =========================================================
   AKTUELLER STATUS
   ========================================================= */

.status-step.current .status-step-date {
    color: #ffffff;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 700px) {

    .status-step-date {
        font-size: 12px;
    }

    .status-step-note {
        font-size: 13px;
    }

}