/* ==========================================================
   Header Layout
   ========================================================== */

.pgr-topHeader {
    display: grid;
    grid-template-columns: 330px minmax(0, 1fr);
    gap: 18px;
    margin-bottom: 18px;
}

/* ==========================================================
   Logo links (frei, ohne Card)
   ========================================================== */

.pgr-topHeaderLogoWrap {
    display: flex;
    align-items: center;
    padding-left: 8px;
}

.pgr-topHeaderLogo {
    display: block;
    width: 300px;
    height: auto;
}

.pgr-topHeaderLogoWrap {
    text-decoration: none;
}

/* ==========================================================
   Rechte Software-Box
   ========================================================== */

.pgr-topHeaderContentBox {
    position: relative;
    min-height: 86px;
    padding: 12px 16px;
    background: var(--pgr-card);
    border: 1px solid var(--pgr-border);
    border-radius: 4px;
    box-shadow: var(--pgr-shadow-soft);
    overflow: hidden;
}

/* kleiner Accent oben */

.pgr-topHeaderContentBox::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 4px;
    background: var(--pgr-red);
}

/* ==========================================================
   Produktbereich
   ========================================================== */

.pgr-headerProduct {
    display: grid;
    grid-template-columns: 340px minmax(0, 1fr);
    gap: 22px;
    align-items: center;
    height: 100%;
}

/* linker Bereich */

.pgr-headerProductMain {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.pgr-headerBadge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    width: fit-content;
    padding: 5px 10px;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 4px;
    color: #15803d;
    font-size: 12px;
    font-weight: 700;
}

.pgr-headerBadge i {
    font-size: 12px;
	color: #15803d;
}

.pgr-headerProductMain h2 {
    margin: 0;

    color: #111827;

    font-size: 22px;
    font-weight: 700;
    line-height: 1.2;
}

.pgr-headerProductMain p {
    margin: 0;

    color: #6b7280;

    font-size: 13px;
    line-height: 1.5;
}

/* ==========================================================
   Status Grid rechts
   ========================================================== */

.pgr-headerStatusGrid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 18px;
}

.pgr-headerStatusItem {
    display: grid;
    grid-template-columns: 34px 1fr;
    gap: 10px;
    align-items: center;
    min-height: 42px;
}

.pgr-headerStatusItem i {
    font-size: 30px;
    color: #475569;
    text-align: left;
}

.pgr-headerStatusItem span {
    display: flex;
    flex-direction: column;
    gap: 2px;
	color: #6b7280;
}

.pgr-headerStatusItem strong {
    color: #111827;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.2;
}

.pgr-headerStatusItem span:not(strong) {
    color: #6b7280;
    font-size: 12px;
    line-height: 1.35;
}

/* ==========================================================
   Mobile
   ========================================================== */

@media (max-width: 900px) {

    .pgr-topHeader {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .pgr-topHeaderLogoWrap {
        justify-content: center;
        padding: 8px 0;
    }

    .pgr-topHeaderContentBox {
        display: none;
    }
}

/* ==========================================================
   Tablet
   ========================================================== */

@media (max-width: 1250px) {

    .pgr-headerProduct {
        grid-template-columns: 1fr;
        gap: 14px;
        align-items: start;
    }

}