
/* =========================================
   PX-FIGHTER – Anbieter-Detailseite
   Layout 7: dunkles Anbieterprofil
   ========================================= */

.pxf-provider-main {
    max-width: 1020px;
    padding-top: 6px;
    padding-bottom: 30px;
}

.breadcrumb {
    display: flex;
    gap: 10px;
    align-items: center;
    padding: 24px 0 0;
    color: var(--muted, #85858e);
    font-size: 13px;
    flex-wrap: wrap;
}

.breadcrumb a,
.provider-back {
    color: var(--accent, var(--pink, var(--green, #e85b9f)));
}

.provider-card {
    margin: 24px 0;
    padding: clamp(20px, 4vw, 34px);
    border: 1px solid var(--line, #292930);
    border-radius: 16px;
    background: var(--panel, var(--surface, #141419));
    color: var(--text, #eee);
    box-shadow: 0 12px 34px rgba(0, 0, 0, .08);
}

.provider-top {
    display: grid;
    grid-template-columns: minmax(130px, 220px) minmax(0, 1fr);
    gap: clamp(20px, 4vw, 34px);
    align-items: start;
}

.provider-logo-box {
    width: 100%;
    max-width: 220px;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--line, #30303a);
    border-radius: 12px;
    background: var(--surface2, var(--panel2, var(--bg, #101015)));
}

.provider-logo-box img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.no-logo {
    padding: 18px;
    text-align: center;
    color: var(--muted, #888);
    font-weight: 800;
}

.provider-main-content {
    min-width: 0;
}

.provider-main-content h1 {
    margin: 0 0 14px;
    color: inherit;
    font-size: clamp(28px, 4vw, 42px);
    line-height: 1.12;
    overflow-wrap: anywhere;
}

.provider-intro {
    margin: 0;
    line-height: 1.75;
    color: var(--muted, #a5a5ae);
}

.provider-top-visit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 18px;
    padding: 12px 20px;
    border-radius: 8px;
    text-align: center;
}

.provider-rating {
    margin-top: 22px;
}

.provider-rating h2,
.provider-description h2,
.provider-action h2 {
    margin: 0 0 12px;
    font-size: clamp(19px, 2vw, 24px);
    line-height: 1.3;
    color: inherit;
}

.provider-stars {
    color: var(--accent, var(--pink, var(--green, #e85b9f)));
    font-size: 21px;
    letter-spacing: 2px;
}

.provider-stars span {
    display: inline-block;
    margin-left: 9px;
    color: var(--muted, #999);
    font-size: 13px;
    letter-spacing: 0;
}

.provider-description,
.provider-action {
    margin-top: 32px;
    padding-top: 27px;
    border-top: 1px solid var(--line, #292930);
}

.provider-description-copy {
    color: var(--text, var(--ink, #d4d4d8));
    line-height: 1.8;
    overflow-wrap: anywhere;
}

.provider-action p {
    margin: 0;
    line-height: 1.7;
    color: var(--muted, #999);
}

.provider-action .visit {
    display: inline-block;
    margin-top: 18px;
}

.provider-back {
    display: inline-block;
    margin: 0 0 34px;
    font-weight: 700;
}

footer .footer-links {
    margin-top: 8px;
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

footer .footer-links a {
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* =========================================
   Dunkle Layouts
   ========================================= */

body.pxf-dark-theme .provider-card {
    background: var(--panel, #141419);
    color: var(--text, #eee);
}

body.pxf-dark-theme .provider-description {
    background: transparent;
    color: #eee;
}

body.pxf-dark-theme .provider-description h2 {
    color: #eee;
}

body.pxf-dark-theme .provider-description-copy {
    color: #c5c5ce;
}

/* =========================================
   Layout 7: dunkles Anbieterprofil
   Überschreibt auch ältere helle CSS-Regeln
   ========================================= */

body.pxf-light-theme .provider-card {
    background: #141419 !important;
    color: #eeeeee !important;
    border-color: #292930;
    box-shadow: 0 12px 34px rgba(0, 0, 0, .08);
}

body.pxf-light-theme .provider-logo-box {
    background: #101015;
    border-color: #30303a;
}

/* Informationsfeld ausdrücklich dunkel */
body.pxf-light-theme .provider-card .provider-description {
    background-color: #141419 !important;
    background-image: none !important;
    color: #eeeeee !important;
    border-top-color: #292930;
    box-shadow: none !important;
}

/* Überschrift im Informationsfeld */
body.pxf-light-theme .provider-card .provider-description h2 {
    color: #eeeeee !important;
}

/* Text im Informationsfeld */
body.pxf-light-theme .provider-card .provider-description-copy {
    color: #d0d0d8 !important;
}

/* Übrige Texte und Überschriften */
body.pxf-light-theme .provider-main-content h1,
body.pxf-light-theme .provider-rating h2,
body.pxf-light-theme .provider-action h2 {
    color: #eeeeee !important;
}

body.pxf-light-theme .provider-intro,
body.pxf-light-theme .provider-action p {
    color: #b8b8c4 !important;
}

body.pxf-light-theme .provider-action {
    background: transparent;
    border-top-color: #292930;
}

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

@media (max-width: 640px) {
    .provider-top {
        grid-template-columns: 1fr;
    }

    .provider-logo-box {
        width: min(180px, 100%);
    }

    .provider-card {
        padding: 20px;
    }

    .provider-stars span {
        display: block;
        margin: 5px 0 0;
    }

    .provider-top-visit {
        max-width: 100%;
    }
}
