/* ==================================================================
   ZertCheck Card – öffentliche Startseite
   Ergänzung zu zertcheck.css / card.css
   ================================================================== */

.public-header {
    background: #fff;
    border-bottom: 1px solid #e6ebf1;
    box-shadow: 0 2px 10px rgba(15, 23, 42, .035);
}

.public-brand {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    color: #111827;
    font-weight: 800;
    font-size: 1.45rem;
}

.public-brand:hover {
    color: #111827;
}

.public-brand img {
    width: 42px;
    height: 42px;
    object-fit: contain;
}

.public-brand small {
    margin-left: .1rem;
    padding: .22rem .45rem;
    border-radius: .5rem;
    background: #eef4ff;
    color: #0d6efd;
    font-size: .68rem;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: .06em;
}

.public-header .nav-link {
    color: #6b7280;
    font-weight: 500;
}

.public-header .nav-link:hover {
    color: #0d6efd;
}

.card-home-hero {
    background:
        radial-gradient(circle at 100% 0, rgba(219, 234, 254, .9), transparent 34%),
        linear-gradient(135deg, #f8fbff 0%, #ffffff 62%);
}


/* ------------------------------------------------------------
   Beispiel-Ausweis im Hero
------------------------------------------------------------ */

.card-demo-shell {
    padding: .7rem;
    border-radius: 1.5rem;
    background: rgba(255,255,255,.7);
    border: 1px solid rgba(148,163,184,.24);
    box-shadow: 0 18px 45px rgba(15,23,42,.08);
}

.card-demo {
    position: relative;
    overflow: hidden;
    max-width: 380px;
    margin: 0 auto;
    border-radius: 1.15rem;
    background: #fff;
    border: 1px solid #e8edf3;
    box-shadow: 0 12px 34px rgba(15,23,42,.08);
}

.card-demo-head {
    min-height: 145px;
    padding: 1.35rem 1.4rem 2.4rem;
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    background:
        radial-gradient(circle at 110% -15%, rgba(255,255,255,.10), transparent 38%),
        #29449c;
    color: #fff;
}

.card-demo-kicker {
    margin-bottom: .35rem;
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: .04em;
}

.card-demo-title {
    font-size: 1.15rem;
    font-weight: 800;
    line-height: 1.15;
}

.card-demo-org {
    margin-top: .35rem;
    font-size: .75rem;
    opacity: .84;
}

.card-demo-logo {
    width: 58px;
    height: 58px;
    flex: 0 0 auto;
    border-radius: .8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,.96);
    color: #1f6f6c;
    font-size: 1.55rem;
}

.card-demo-photo {
    width: 116px;
    height: 116px;
    margin: -46px auto 0;
    border: 5px solid #fff;
    background: #edf1f5;
    box-shadow: 0 8px 18px rgba(15,23,42,.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #a0a8b4;
    font-size: 3rem;
}

.card-demo-person {
    padding: 1rem 1.3rem .85rem;
    text-align: center;
}

.card-demo-name {
    color: #101828;
    font-size: 1.4rem;
    font-weight: 800;
}

.card-demo-role {
    margin-top: .18rem;
    color: #29449c;
    font-size: .92rem;
    font-weight: 800;
}

.card-demo-row {
    margin: 0 1.35rem;
    padding: .78rem 0;
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    border-top: 1px solid #edf0f4;
}

.card-demo-row span {
    color: #9299a6;
    font-size: .62rem;
    font-weight: 800;
}

.card-demo-row strong {
    color: #111827;
    font-size: .8rem;
}

.card-demo-qr {
    margin: 1rem 1.35rem 1.35rem;
    padding: 1rem;
    border-radius: .85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .8rem;
    background: #fafbfc;
    border: 1px solid #e5e8ec;
    color: #667085;
    font-size: .72rem;
    font-weight: 800;
}

.card-demo-qr i {
    color: #111;
    font-size: 2.2rem;
}


/* ------------------------------------------------------------
   Footer
------------------------------------------------------------ */

.public-footer {
    margin-top: 3rem;
    padding: 1.6rem 0;
    border-top: 1px solid #e3e8ef;
    background: #fff;
    color: #6b7280;
    font-size: .84rem;
}

.public-footer a {
    color: #596579;
    text-decoration: none;
}

.public-footer a:hover {
    color: #0d6efd;
    text-decoration: underline;
}


@media (max-width: 991.98px) {

    .public-header .navbar-collapse {
        padding: 1rem 0 .3rem;
    }

    .card-demo-shell {
        max-width: 430px;
        margin: 0 auto;
    }

}


@media (max-width: 575.98px) {

    .public-brand {
        font-size: 1.2rem;
    }

    .public-brand img {
        width: 36px;
        height: 36px;
    }

    .card-demo-head {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .card-demo-title {
        font-size: 1rem;
    }

}


/* ------------------------------------------------------------
   Preise
------------------------------------------------------------ */

.price-card {
    position: relative;
    padding: 1.35rem;
    border: 1px solid #e4e9f0;
    border-radius: 1rem;
    background: #fff;
    box-shadow: 0 7px 24px rgba(15, 23, 42, .04);
    display: flex;
    flex-direction: column;
}

.price-card-test {
    background:
        radial-gradient(circle at 100% 0, rgba(224, 242, 254, .65), transparent 38%),
        #fff;
}

.price-card-featured {
    border-color: #bfd2ff;
    box-shadow: 0 12px 32px rgba(13, 110, 253, .10);
}

.price-card-badge {
    display: inline-flex;
    align-self: flex-start;
    margin: -.35rem 0 .7rem;
    padding: .34rem .6rem;
    border-radius: 999px;
    background: #e8f1ff;
    color: #0d6efd;
    font-size: .67rem;
    font-weight: 800;
    letter-spacing: .04em;
}

.price-card-kicker {
    color: #41506a;
    font-size: .9rem;
    font-weight: 800;
}

.price-card-price {
    margin-top: .55rem;
    color: #0f172a;
    font-size: 2rem;
    line-height: 1;
    font-weight: 800;
    letter-spacing: -.025em;
}

.price-card-period {
    margin-top: .35rem;
    color: #7a8698;
    font-size: .78rem;
}

.price-card-list {
    list-style: none;
    padding: 0;
    margin: 1.2rem 0 1.35rem;
    display: grid;
    gap: .55rem;
    color: #536174;
    font-size: .82rem;
}

.price-card-list li {
    display: flex;
    align-items: flex-start;
    gap: .55rem;
}

.price-card-list i {
    margin-top: .18rem;
    color: #198754;
    font-size: .75rem;
}

.price-card .btn {
    margin-top: auto;
}

.price-note {
    padding: 1rem 1.1rem;
    border: 1px solid #e6ebf1;
    border-radius: .9rem;
    background: #fbfcfe;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    color: #5f6b7a;
    font-size: .86rem;
}

@media (max-width: 767.98px) {

    .price-note {
        align-items: flex-start;
        flex-direction: column;
    }

}
