/* ─── Reset & Base ─────────────────────────────────── */
    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

    :root {
        --bg:        #0d0d14;
        --surface:   #16161f;
        --border:    #2a2a3a;
        --text:      #e8e8f0;
        --muted:     #888899;
        --accent-1:  #7c6aff;
        --accent-2:  #b06aff;
        --grad:      linear-gradient(135deg, var(--accent-1), var(--accent-2));
        --radius:    14px;
        --font:      'Syne', sans-serif;
    }

    html.theme-light {
        --bg:      #f5f5fa;
        --surface: #ffffff;
        --border:  #e0e0ee;
        --text:    #111118;
        --muted:   #666677;
    }

    @media (prefers-color-scheme: light) {
        html.theme-auto {
            --bg:      #f5f5fa;
            --surface: #ffffff;
            --border:  #e0e0ee;
            --text:    #111118;
            --muted:   #666677;
        }
    }

    body {
        font-family: var(--font);
        background: var(--bg);
        color: var(--text);
        min-height: 100vh;
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 48px 16px 80px;
    }

    /* ─── Card ─────────────────────────────────────────── */
    .lp-card {
        width: 100%;
        max-width: 480px;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0;
    }

    /* ─── Avatar ───────────────────────────────────────── */
    .lp-avatar {
        width: 96px;
        height: 96px;
        border-radius: 50%;
        object-fit: cover;
        border: 3px solid transparent;
        background: var(--grad) border-box;
        /* gradient border trick */
        box-shadow: 0 0 0 3px #0d0d14, 0 0 0 5px var(--accent-1);
        margin-bottom: 16px;
    }
    .lp-avatar-placeholder {
        width: 96px;
        height: 96px;
        border-radius: 50%;
        background: var(--surface);
        border: 2px solid var(--border);
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 40px;
        margin-bottom: 16px;
    }

    /* ─── Name + Bio ────────────────────────────────────── */
    h1.lp-name {
        /* H1 Browser-Reset */
        font-size: inherit;
        font-weight: inherit;
        margin: 0;
    }
    .lp-name {
        font-size: 1.5rem;
        font-weight: 800;
        letter-spacing: -0.02em;
        text-align: center;
        background: var(--grad);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        margin-bottom: 8px;
    }

    .lp-bio {
        font-size: .9rem;
        color: var(--muted);
        text-align: center;
        line-height: 1.5;
        max-width: 360px;
        margin-bottom: 20px;
    }

    /* ─── Social Icons ──────────────────────────────────── */
    .lp-socials {
        display: flex;
        gap: 12px;
        margin-bottom: 28px;
    }

    .lp-social-link {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        background: var(--surface);
        border: 1px solid var(--border);
        display: flex;
        align-items: center;
        justify-content: center;
        color: var(--muted);
        text-decoration: none;
        transition: border-color .2s, color .2s, transform .15s;
    }
    .lp-social-link:hover {
        border-color: var(--accent-1);
        color: var(--accent-1);
        transform: translateY(-2px);
    }
    .lp-social-link svg {
        width: 18px;
        height: 18px;
    }

    /* ─── Link Buttons ──────────────────────────────────── */
    .lp-links {
        width: 100%;
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

    .lp-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        padding: 16px 24px;
        border-radius: var(--radius);
        background: var(--surface);
        border: 1px solid var(--border);
        color: var(--text);
        font-family: var(--font);
        font-size: 1rem;
        font-weight: 600;
        text-decoration: none;
        transition: border-color .2s, transform .15s, box-shadow .2s;
        position: relative;
        overflow: hidden;
    }

    .lp-btn::before {
        content: '';
        position: absolute;
        inset: 0;
        background: var(--grad);
        opacity: 0;
        transition: opacity .2s;
    }

    .lp-btn:hover {
        border-color: var(--accent-1);
        transform: translateY(-2px);
        box-shadow: 0 8px 24px rgba(124,106,255,.15);
    }
    .lp-btn:hover::before { opacity: .06; }
    .lp-btn span { position: relative; z-index: 1; }

    /* Linkflux-Button: leichter Gradient-Border */
    .lp-btn--lf {
        border-color: var(--accent-1);
    }
    .lp-btn--lf .lp-badge {
        background: var(--grad);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        font-size: .85em;
    }

    /* ─── Produktbox Wrapper ────────────────────────────── */
    .lp-productbox-wrap {
        width: 100%;
    }
    /* productbox.php injiziert eigenes CSS – kein weiteres Styling nötig */

    /* ─── Footer ────────────────────────────────────────── */
    .lp-footer {
        margin-top: 40px;
        font-size: .75rem;
        color: var(--muted);
        letter-spacing: .05em;
    }
    .lp-footer a {
        color: var(--accent-1);
        text-decoration: none;
        font-weight: 600;
    }

.lp-footer-sep {
    margin: 0 6px;
    color: var(--muted);
}

/* ─── Deal-Cards (1:1 Produktbox-Stil) ─────────────────────── */
.lp-deals {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-bottom: 24px;
}
.lp-deals-label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 8px;
}
.lp-deals-label svg { opacity: .7; }

.lp-deal-card {
    display: flex;
    flex-direction: row;
    gap: 18px;
    padding: 18px 20px 32px 20px;
    margin: 0 0 20px;
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid #e0e0e0;
    box-shadow: 0 4px 18px rgba(0,0,0,.10);
    align-items: flex-start;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
    box-sizing: border-box;
    position: relative;
    text-decoration: none;
    color: #1a1a1a;
    transition: box-shadow .2s, transform .2s;
    overflow: hidden;
}
.lp-deal-card:hover {
    box-shadow: 0 8px 28px rgba(0,0,0,.18);
    transform: translateY(-2px);
}

.lp-deal-img-wrap {
    flex-shrink: 0;
    position: relative;
    line-height: 0;
    width: 130px;
}
.lp-deal-img {
    max-height: 130px;
    max-width: 130px;
    border-radius: 8px;
    display: block;
    object-fit: contain;
}
.lp-deal-badge {
    position: absolute;
    bottom: 7px;
    left: 7px;
    background: #e60023;
    color: #fff;
    padding: 3px 7px;
    font-size: .78rem;
    font-weight: 700;
    border-radius: 4px;
    line-height: 1.4;
}

.lp-deal-info {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    flex: 1;
    min-width: 0;
}
.lp-deal-title {
    font-size: .92rem;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0 0 8px;
    line-height: 1.4;
}
.lp-deal-price {
    font-size: 1.15rem;
    font-weight: 700;
    color: #111;
    white-space: nowrap;
    display: block;
    margin-bottom: 14px;
}
.lp-deal-btn {
    display: inline-block;
    padding: 10px 18px;
    background: #111;
    color: #fff;
    border-radius: 8px;
    font-size: .9rem;
    font-weight: 600;
    text-decoration: none;
    transition: background .18s;
    align-self: flex-start;
    line-height: 1.4;
}
.lp-deal-card:hover .lp-deal-btn { background: #333; }

.lp-deal-powered {
    position: absolute;
    bottom: 8px;
    right: 12px;
    font-size: .68rem;
    color: #ccc;
    font-family: -apple-system, sans-serif;
}

@media (max-width: 480px) {
    .lp-deal-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 16px 16px 32px;
    }
    .lp-deal-img-wrap { width: 110px; }
    .lp-deal-img { width: 110px; }
    .lp-deal-btn { width: 100%; text-align: center; box-sizing: border-box; align-self: stretch; }
}