/* ============================================================
   MHL – HOW BUILT / PROJECT PROFILE
   Ausschließlich .how-built-compact
   ============================================================ */

.how-built-compact {
    overflow: hidden;
}

.how-built-intro {
    max-width: 920px;
    margin-bottom: 2rem;
}

.how-built-intro__eyebrow,
.how-built-story__eyebrow {
    display: block;
    margin-bottom: .5rem;

    font-size: .72rem;
    font-weight: 850;
    letter-spacing: .22em;

    color: #74e3f1;
}

.how-built-intro h2 {
    margin: 0 0 .7rem;

    font-size: clamp(1.55rem, 1.2rem + .8vw, 2.15rem);
    line-height: 1.12;

    color: #f7fcfd;
}

.how-built-intro p {
    max-width: 800px;
    margin: 0;

    font-size: 1rem;
    line-height: 1.6;

    color: rgba(220, 239, 243, .84);
}


/* ============================================================
   SECTION HEADING
   ============================================================ */

.how-built-section-heading {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 1rem;

    margin: 2rem 0 1.2rem;
}

.how-built-section-heading h2 {
    margin: 0;

    font-size: clamp(1.15rem, 1rem + .4vw, 1.5rem);
    line-height: 1.2;

    text-align: center;

    color: #f4fbfd;
}

.how-built-section-heading__line {
    height: 1px;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(99, 220, 238, .30)
        );
}

.how-built-section-heading__line:last-child {
    background:
        linear-gradient(
            90deg,
            rgba(99, 220, 238, .30),
            transparent
        );
}


/* ============================================================
   FEATURE GRID
   ============================================================ */

.how-built-feature-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: .9rem;
}

.how-built-feature {
    display: grid;

    grid-template-columns: 42px minmax(0, 1fr);

    gap: .8rem;

    min-width: 0;

    padding: 1rem;

    border:
        1px solid rgba(92, 220, 237, .17);

    border-radius: 16px;

    background:
        linear-gradient(
            135deg,
            rgba(18, 100, 121, .18),
            rgba(3, 37, 53, .38)
        );

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .045);
}

.how-built-feature__icon {
    width: 42px;
    height: 42px;

    display: grid;
    place-items: center;

    border-radius: 12px;

    border:
        1px solid rgba(97, 220, 238, .18);

    background:
        rgba(43, 182, 206, .08);

    color: #70e2f2;

    font-size: 1.08rem;
}

.how-built-feature h3 {
    margin: .05rem 0 .3rem;

    font-size: .98rem;
    line-height: 1.2;

    color: #f3fbfd;
}

.how-built-feature p {
    margin: 0;

    font-size: .85rem;
    line-height: 1.48;

    color: rgba(210, 232, 237, .78);
}


/* ============================================================
   PROJECT STORY
   ============================================================ */

.how-built-story {
    margin-top: 2.2rem;

    padding: 1.35rem 1.4rem 1.4rem;

    border:
        1px solid rgba(255, 204, 100, .22);

    border-radius: 19px;

    background:
        linear-gradient(
            135deg,
            rgba(86, 67, 29, .17),
            rgba(7, 39, 53, .42)
        );

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .045);
}

.how-built-story__eyebrow {
    color: #ffd06b;
}

.how-built-story h2 {
    margin: 0 0 .65rem;

    font-size: clamp(1.3rem, 1.08rem + .55vw, 1.8rem);
    line-height: 1.14;

    color: #ffffff;
}

.how-built-story p {
    margin: 0 0 .7rem;

    line-height: 1.55;
}

.how-built-story__lead {
    font-size: 1.06rem !important;

    font-weight: 750;

    color: #ffffff !important;
}

.how-built-story__highlight {
    display: grid;
    gap: .28rem;

    margin-top: 1rem;

    padding: .85rem 1rem;

    border-left:
        3px solid rgba(255, 202, 91, .82);

    border-radius: 11px;

    background:
        rgba(255, 198, 82, .055);
}

.how-built-story__highlight strong {
    color: #ffd36e;
}

.how-built-story__highlight span {
    font-size: .9rem;
    line-height: 1.5;

    color: rgba(235, 239, 227, .82);
}


/* ============================================================
   TECH GRID
   ============================================================ */

.how-built-tech-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: .75rem;

    margin-bottom: 1.8rem;
}

.how-built-tech {
    display: grid;
    gap: .18rem;

    padding: .82rem .9rem;

    border:
        1px solid rgba(92, 220, 237, .15);

    border-radius: 13px;

    background:
        rgba(4, 38, 53, .30);
}

.how-built-tech strong {
    font-size: .87rem;
    color: #f3fafc;
}

.how-built-tech span {
    font-size: .81rem;
    line-height: 1.35;
    color: rgba(205, 228, 234, .74);
}


/* ============================================================
   FINAL
   ============================================================ */

.how-built-final {
    display: grid;

    grid-template-columns: 40px minmax(0, 1fr);

    gap: .8rem;

    padding: 1rem;

    border:
        1px solid rgba(92, 220, 237, .18);

    border-radius: 16px;

    background:
        linear-gradient(
            135deg,
            rgba(15, 97, 118, .16),
            rgba(4, 35, 50, .38)
        );
}

.how-built-final__icon {
    width: 40px;
    height: 40px;

    display: grid;
    place-items: center;

    border-radius: 11px;

    background:
        rgba(97, 220, 238, .08);

    color: #70e2f2;
}

.how-built-final strong {
    display: block;
    margin-bottom: .22rem;

    color: #ffffff;
}

.how-built-final p {
    margin: 0;

    font-size: .9rem;
    line-height: 1.5;

    color: rgba(211, 232, 236, .80);
}


/* ============================================================
   TABLET
   ============================================================ */

@media (max-width: 1050px) {

    .how-built-feature-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }
}


/* ============================================================
   MOBILE
   ============================================================ */

@media (max-width: 650px) {

    .how-built-feature-grid,
    .how-built-tech-grid {
        grid-template-columns: 1fr;
    }

    .how-built-section-heading {
        grid-template-columns: 1fr;

        gap: .45rem;
    }

    .how-built-section-heading__line {
        display: none;
    }

    .how-built-intro h2 {
        font-size: 1.45rem;
    }

    .how-built-feature {
        grid-template-columns: 38px minmax(0, 1fr);

        padding: .85rem;
    }

    .how-built-feature__icon {
        width: 38px;
        height: 38px;

        border-radius: 10px;
    }

    .how-built-feature h3 {
        font-size: .94rem;
    }

    .how-built-feature p {
        font-size: .82rem;
    }

    .how-built-story {
        padding: 1.05rem;
        border-radius: 16px;
    }

    .how-built-story__lead {
        font-size: .98rem !important;
    }
}


/* ============================================================
   VERY SMALL MOBILE
   ============================================================ */

@media (max-width: 420px) {

    .how-built-feature {
        grid-template-columns: 34px minmax(0, 1fr);
        gap: .65rem;
    }

    .how-built-feature__icon {
        width: 34px;
        height: 34px;
    }

    .how-built-intro p,
    .how-built-story p {
        font-size: .88rem;
    }
}


/* ============================================================
   MHL – PROJECT LIVE COUNTER
   2026-09-26
   ============================================================ */

.mhl-project-live-title {
    position: relative;
}

.mhl-project-duration {
    display: inline;
    white-space: normal;
}

.mhl-project-duration__value,
.mhl-project-duration__seconds {
    font-variant-numeric: tabular-nums;
    font-feature-settings: "tnum";
    font-weight: 850;
    color: #f7fcfd;
}

.mhl-project-duration__seconds {
    display: inline-block;
    min-width: 2ch;
    text-align: right;
}

.mhl-project-duration__unit {
    font-weight: 650;
    color: rgba(220, 239, 243, .88);
}

.mhl-project-duration__separator {
    color: rgba(116, 227, 241, .55);
    font-weight: 700;
}

@media (max-width: 700px) {

    .mhl-project-live-title {
        line-height: 1.25;
    }

    .mhl-project-duration {
        display: block;
        margin-top: .35rem;
    }

    .mhl-project-duration__separator {
        margin: 0 .08rem;
    }
}


/* ============================================================
   MHL PROJECT LIVE COUNTER – SYNC
   ============================================================ */

#mhl-project-months-text {
    font-variant-numeric: tabular-nums;
    font-feature-settings: "tnum";
}


/* ============================================================
   MHL PROJECT COUNTER – TIME UNIT COLORS
   ============================================================ */

.mhl-project-duration__value,
.mhl-project-duration__seconds {
    transition: color .25s ease;
}

/* Monate – Gold */
.mhl-project-duration__value:nth-of-type(1),
.mhl-project-duration__value:nth-of-type(1) + .mhl-project-duration__unit {
    color: #f6c453;
}

/* Tage – Türkis */
.mhl-project-duration__value:nth-of-type(2),
.mhl-project-duration__value:nth-of-type(2) + .mhl-project-duration__unit {
    color: #56d8dc;
}

/* Stunden – Blau */
.mhl-project-duration__value:nth-of-type(3),
.mhl-project-duration__value:nth-of-type(3) + .mhl-project-duration__unit {
    color: #63a8ff;
}

/* Minuten – Grün/Türkis */
.mhl-project-duration__value:nth-of-type(4),
.mhl-project-duration__value:nth-of-type(4) + .mhl-project-duration__unit {
    color: #69d6a3;
}

/* Sekunden – Magenta */
.mhl-project-duration__seconds,
.mhl-project-duration__seconds + .mhl-project-duration__unit {
    color: #e56be8;
}

/* Trenner */
.mhl-project-duration__separator {
    color: rgba(180, 215, 220, .35);
}
