
/* ==========================================================
   Veronix Shop/Product Style Optimierung
   Nur Shop + Produktseiten, damit andere Bereiche stabil bleiben.
   ========================================================== */

body[data-page="shop"],
body[data-page="product"] {
    background:
        radial-gradient(circle at 18% 8%, rgba(124, 58, 237, .28), transparent 34rem),
        radial-gradient(circle at 88% 18%, rgba(34, 211, 238, .16), transparent 28rem),
        radial-gradient(circle at 50% 96%, rgba(59, 130, 246, .12), transparent 36rem),
        var(--bg);
}

/* Shop Hero */
.shop-hero-optimized {
    position: relative;
    padding-top: clamp(58px, 8vw, 96px);
    padding-bottom: clamp(30px, 5vw, 58px);
}

.shop-hero-optimized::before {
    content: "";
    position: absolute;
    inset: 22px 16px 8px;
    z-index: -1;
    border-radius: 38px;
    background:
        linear-gradient(135deg, rgba(124, 58, 237, .22), rgba(34, 211, 238, .08)),
        rgba(15, 23, 42, .42);
    border: 1px solid rgba(148, 163, 184, .16);
    box-shadow: 0 28px 90px rgba(0, 0, 0, .28);
    backdrop-filter: blur(18px);
}

.shop-hero-optimized .badge,
.product-detail-copy .badge {
    width: fit-content;
    border: 1px solid rgba(34, 211, 238, .25);
    background: linear-gradient(135deg, rgba(34, 211, 238, .13), rgba(124, 58, 237, .14));
    box-shadow: 0 10px 30px rgba(34, 211, 238, .07);
}

.shop-hero-optimized h1 {
    max-width: 850px;
    letter-spacing: -0.055em;
}

.shop-hero-optimized .lead {
    max-width: 760px;
    color: var(--text-soft);
}

/* Trust Cards / Ablauf */
.shop-trust-strip,
.simple-shop-flow {
    margin-top: 22px;
}

.shop-trust-strip {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.compact-trust {
    min-height: 150px;
    border-radius: 24px;
    background:
        linear-gradient(180deg, rgba(15, 23, 42, .78), rgba(15, 23, 42, .52)),
        radial-gradient(circle at top left, rgba(124, 58, 237, .14), transparent 60%);
    border: 1px solid rgba(148, 163, 184, .15);
    box-shadow: 0 18px 46px rgba(0, 0, 0, .18);
}

.compact-trust span {
    display: inline-grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 16px;
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .08);
}

.compact-trust strong {
    display: block;
    margin-top: 12px;
    font-size: 1.02rem;
}

.compact-trust p {
    margin: 7px 0 0;
    color: var(--muted);
    line-height: 1.55;
}

.simple-shop-flow {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.simple-shop-flow article {
    position: relative;
    overflow: hidden;
    padding: 20px;
    border-radius: 24px;
    border: 1px solid rgba(148, 163, 184, .14);
    background: rgba(2, 6, 23, .36);
}

.simple-shop-flow article::after {
    content: "";
    position: absolute;
    inset: auto -30px -45px auto;
    width: 110px;
    height: 110px;
    border-radius: 999px;
    background: rgba(124, 58, 237, .14);
    filter: blur(2px);
}

.simple-shop-flow span {
    display: inline-grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 999px;
    color: #fff;
    font-weight: 900;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    box-shadow: 0 10px 22px rgba(124, 58, 237, .22);
}

.simple-shop-flow strong {
    display: block;
    margin-top: 12px;
    font-size: 1.02rem;
}

.simple-shop-flow p {
    margin: 7px 0 0;
    color: var(--muted);
    line-height: 1.55;
}

/* Product Grid */
.shop-products-optimized {
    padding-top: clamp(38px, 5vw, 72px);
}

.shop-products-optimized .section-heading {
    position: relative;
    align-items: flex-start;
    text-align: left;
    max-width: none;
    padding: 24px;
    border-radius: 28px;
    background: linear-gradient(135deg, rgba(15, 23, 42, .74), rgba(30, 41, 59, .34));
    border: 1px solid rgba(148, 163, 184, .14);
}

.shop-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 330px), 1fr));
    gap: 22px;
    align-items: stretch;
}

.clean-shop-card,
.shop-card {
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    min-height: 100%;
    padding: 0;
    border-radius: 30px;
    border: 1px solid rgba(148, 163, 184, .15);
    background:
        linear-gradient(180deg, rgba(15, 23, 42, .88), rgba(15, 23, 42, .64)),
        radial-gradient(circle at 18% 8%, rgba(124, 58, 237, .18), transparent 54%);
    box-shadow: 0 24px 72px rgba(0, 0, 0, .24);
    transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}

.clean-shop-card:hover,
.shop-card:hover {
    transform: translateY(-6px);
    border-color: rgba(34, 211, 238, .34);
    box-shadow: 0 34px 96px rgba(0, 0, 0, .34), 0 0 0 1px rgba(34, 211, 238, .08);
}

.shop-preview {
    position: relative;
    display: block;
    width: 100%;
    height: 230px;
    overflow: hidden;
    border: 0;
    border-radius: 0;
    background:
        linear-gradient(135deg, rgba(124, 58, 237, .20), rgba(34, 211, 238, .10)),
        rgba(2, 6, 23, .55);
}

.shop-preview::after {
    content: "Details ansehen";
    position: absolute;
    left: 16px;
    bottom: 16px;
    z-index: 2;
    padding: 8px 12px;
    border-radius: 999px;
    color: #fff;
    font-size: .78rem;
    font-weight: 900;
    letter-spacing: .02em;
    background: rgba(2, 6, 23, .72);
    border: 1px solid rgba(255, 255, 255, .14);
    backdrop-filter: blur(10px);
    opacity: 0;
    transform: translateY(8px);
    transition: .2s ease;
}

.clean-shop-card:hover .shop-preview::after {
    opacity: 1;
    transform: translateY(0);
}

.shop-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transform: scale(1.01);
    transition: transform .32s ease, filter .32s ease;
}

.clean-shop-card:hover .shop-preview img {
    transform: scale(1.06);
    filter: saturate(1.12) contrast(1.04);
}

.shop-preview-empty {
    display: grid;
    place-items: center;
}

.shop-preview-empty span,
.product-detail-placeholder {
    display: grid;
    place-items: center;
    width: 98px;
    height: 98px;
    border-radius: 28px;
    font-size: 2rem;
    font-weight: 950;
    color: #fff;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    box-shadow: 0 22px 60px rgba(124, 58, 237, .34);
}

.shop-card-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    padding: 22px 22px 0;
}

.shop-card-top .tag,
.shop-card .tag {
    border-radius: 999px;
    padding: 7px 11px;
    font-size: .76rem;
    font-weight: 900;
    color: #e0f2fe;
    background: rgba(34, 211, 238, .10);
    border: 1px solid rgba(34, 211, 238, .22);
}

.shop-card-top strong {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-end;
    min-width: max-content;
    font-size: 1.36rem;
    line-height: 1;
    color: #fff;
}

.price-tax-note {
    margin-top: 6px;
    font-size: .72rem;
    font-weight: 700;
    color: var(--muted);
}

.shop-card h2 {
    padding: 0 22px;
    margin: 18px 0 8px;
    font-size: clamp(1.35rem, 2.6vw, 1.75rem);
    letter-spacing: -.035em;
}

.shop-card-description {
    padding: 0 22px;
    color: var(--text-soft);
    line-height: 1.65;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 76px;
}

.shop-features,
.compact-feature-list {
    list-style: none;
    display: grid;
    gap: 8px;
    margin: 16px 22px 0;
    padding: 0;
}

.shop-features li,
.compact-feature-list li {
    position: relative;
    padding: 10px 12px 10px 36px;
    border-radius: 14px;
    color: var(--text-soft);
    background: rgba(255, 255, 255, .035);
    border: 1px solid rgba(255, 255, 255, .055);
}

.shop-features li::before,
.compact-feature-list li::before {
    content: "✓";
    position: absolute;
    left: 12px;
    top: 9px;
    color: var(--accent-2);
    font-weight: 900;
}

.shop-card-actions-simple,
.shop-action {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin: auto 22px 0;
    padding-top: 20px;
}

.shop-card-actions-simple .btn,
.shop-action .btn {
    min-height: 46px;
    justify-content: center;
    white-space: nowrap;
}

.shop-card > small {
    margin: 14px 22px 22px;
    color: var(--muted);
    display: flex;
    align-items: center;
    gap: 8px;
}

.shop-card > small::before {
    content: "●";
    color: #22c55e;
    font-size: .72rem;
}

/* Product Detail Page */
.product-page-optimized,
.product-detail-page {
    padding-top: clamp(34px, 6vw, 74px);
    padding-bottom: clamp(44px, 7vw, 86px);
}

.product-detail-hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(340px, .88fr);
    gap: clamp(24px, 4vw, 46px);
    align-items: center;
    padding: clamp(22px, 4vw, 42px);
    border-radius: 36px;
    border: 1px solid rgba(148, 163, 184, .16);
    background:
        linear-gradient(135deg, rgba(15, 23, 42, .88), rgba(15, 23, 42, .58)),
        radial-gradient(circle at top left, rgba(124, 58, 237, .24), transparent 46%),
        radial-gradient(circle at bottom right, rgba(34, 211, 238, .12), transparent 48%);
    box-shadow: 0 34px 110px rgba(0, 0, 0, .30);
    overflow: hidden;
}

.product-detail-hero::after {
    content: "";
    position: absolute;
    inset: auto -80px -110px auto;
    width: 260px;
    height: 260px;
    border-radius: 999px;
    background: rgba(34, 211, 238, .10);
    filter: blur(6px);
}

.product-detail-copy {
    position: relative;
    z-index: 2;
}

.back-link {
    display: inline-flex;
    width: fit-content;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
    color: var(--muted);
    text-decoration: none;
    font-weight: 800;
    transition: color .18s ease, transform .18s ease;
}

.back-link:hover {
    color: #fff;
    transform: translateX(-3px);
}

.product-detail-copy h1 {
    margin: 16px 0 12px;
    font-size: clamp(2.25rem, 6vw, 5rem);
    line-height: .94;
    letter-spacing: -.065em;
}

.product-detail-copy .lead {
    max-width: 780px;
    color: var(--text-soft);
    font-size: clamp(1.02rem, 1.6vw, 1.2rem);
    line-height: 1.7;
}

.product-price-box {
    display: inline-flex;
    align-items: flex-end;
    gap: 14px;
    margin-top: 22px;
    padding: 16px 18px;
    border-radius: 22px;
    background: rgba(255, 255, 255, .055);
    border: 1px solid rgba(255, 255, 255, .09);
}

.product-price-box strong {
    font-size: clamp(1.75rem, 3vw, 2.35rem);
    color: #fff;
    line-height: 1;
}

.product-price-box small {
    max-width: 160px;
    color: var(--muted);
    line-height: 1.25;
}

.product-detail-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 20px;
}

.product-detail-actions .btn {
    min-height: 50px;
    padding-inline: 20px;
}

.trust-mini-row {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 22px;
}

.trust-mini-row span {
    display: inline-flex;
    padding: 8px 11px;
    border-radius: 999px;
    color: var(--text-soft);
    background: rgba(255, 255, 255, .045);
    border: 1px solid rgba(255, 255, 255, .075);
    font-size: .86rem;
    font-weight: 800;
}

.product-detail-media {
    position: relative;
    z-index: 2;
    overflow: hidden;
    min-height: 360px;
    border-radius: 30px;
    background:
        linear-gradient(135deg, rgba(124, 58, 237, .18), rgba(34, 211, 238, .10)),
        rgba(2, 6, 23, .48);
    border: 1px solid rgba(255, 255, 255, .09);
    box-shadow: 0 28px 80px rgba(0, 0, 0, .28);
}

.product-detail-media img {
    width: 100%;
    height: 100%;
    min-height: 360px;
    object-fit: cover;
    display: block;
}

.simple-info-strip {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin: 24px 0;
}

.simple-info-strip article,
.product-section-card,
.product-bottom-cta {
    border-radius: 30px;
    border: 1px solid rgba(148, 163, 184, .15);
    background: rgba(15, 23, 42, .66);
    box-shadow: 0 22px 70px rgba(0, 0, 0, .20);
}

.simple-info-strip article {
    padding: 20px;
}

.simple-info-strip article > span {
    display: inline-grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 14px;
    color: #fff;
    font-weight: 950;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
}

.simple-info-strip strong {
    display: block;
    margin-top: 12px;
    font-size: 1.05rem;
}

.simple-info-strip p {
    margin: 7px 0 0;
    color: var(--muted);
    line-height: 1.55;
}

.product-section-card {
    margin-top: 24px;
    padding: clamp(20px, 3vw, 30px);
}

.feature-overview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr));
    gap: 14px;
}

.feature-overview-grid article {
    position: relative;
    min-height: 92px;
    padding: 18px 18px 18px 62px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, .07);
    background:
        linear-gradient(135deg, rgba(255, 255, 255, .052), rgba(255, 255, 255, .025));
}

.feature-overview-grid article span {
    position: absolute;
    left: 18px;
    top: 18px;
    display: inline-grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border-radius: 12px;
    color: var(--accent-2);
    font-weight: 950;
    background: rgba(34, 211, 238, .10);
    border: 1px solid rgba(34, 211, 238, .20);
}

.feature-overview-grid article strong {
    line-height: 1.4;
}

.product-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
    gap: 16px;
}

.product-gallery-grid img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, .09);
    box-shadow: 0 16px 45px rgba(0, 0, 0, .22);
}

.product-detail-markdown {
    color: var(--text-soft);
    line-height: 1.75;
}

.product-detail-markdown :is(h1, h2, h3) {
    color: #fff;
    letter-spacing: -.025em;
}

.product-detail-markdown ul {
    padding-left: 0;
    list-style: none;
    display: grid;
    gap: 10px;
}

.product-detail-markdown li {
    position: relative;
    padding: 12px 14px 12px 42px;
    border-radius: 16px;
    background: rgba(255, 255, 255, .035);
    border: 1px solid rgba(255, 255, 255, .055);
}

.product-detail-markdown li::before {
    content: "✓";
    position: absolute;
    left: 15px;
    color: var(--accent-2);
    font-weight: 900;
}

.modal-roadmap-block {
    margin: 0;
}

.modal-roadmap-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr));
    gap: 14px;
}

.modal-roadmap-item {
    padding: 18px;
    border-radius: 20px;
    border: 1px solid rgba(124, 58, 237, .18);
    background: linear-gradient(135deg, rgba(124, 58, 237, .12), rgba(34, 211, 238, .045));
}

.modal-roadmap-item strong {
    display: block;
    color: #fff;
}

.modal-roadmap-item span {
    display: block;
    margin-top: 7px;
    color: var(--muted);
    line-height: 1.55;
}

.product-bottom-cta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 22px;
    margin-top: 24px;
    padding: clamp(22px, 3vw, 30px);
}

.product-bottom-cta h2 {
    margin: 8px 0;
}

.product-bottom-cta p {
    margin: 0;
    color: var(--muted);
    max-width: 720px;
}

.product-bottom-cta .btn {
    min-width: 210px;
    justify-content: center;
}

/* Bewertungsbereich auf Produktseiten optisch an Produktseite anpassen */
.product-reviews-panel {
    border-radius: 30px;
    border-color: rgba(148, 163, 184, .15);
    background:
        linear-gradient(180deg, rgba(15, 23, 42, .72), rgba(15, 23, 42, .54)),
        radial-gradient(circle at top right, rgba(124, 58, 237, .12), transparent 45%);
}

.review-card {
    border-radius: 22px;
}

/* Mobile Fixes */
@media (max-width: 980px) {
    .shop-trust-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .product-detail-hero {
        grid-template-columns: 1fr;
    }

    .product-detail-media,
    .product-detail-media img {
        min-height: 260px;
    }

    .product-bottom-cta {
        align-items: stretch;
        flex-direction: column;
    }

    .product-bottom-cta .btn {
        width: 100%;
    }
}

@media (max-width: 720px) {
    .shop-hero-optimized::before {
        inset: 10px 0 0;
        border-radius: 26px;
    }

    .shop-trust-strip,
    .simple-shop-flow,
    .simple-info-strip {
        grid-template-columns: 1fr;
    }

    .shop-grid {
        gap: 18px;
    }

    .shop-preview {
        height: 200px;
    }

    .shop-card-top {
        flex-direction: column;
        align-items: flex-start;
    }

    .shop-card-top strong {
        align-items: flex-start;
    }

    .shop-card-actions-simple,
    .shop-action {
        grid-template-columns: 1fr;
    }

    .product-detail-hero {
        padding: 18px;
        border-radius: 28px;
    }

    .product-detail-copy h1 {
        font-size: clamp(2.1rem, 12vw, 3.45rem);
    }

    .product-price-box {
        width: 100%;
        justify-content: space-between;
    }

    .product-detail-actions .btn {
        width: 100%;
        justify-content: center;
    }

    .product-section-card,
    .simple-info-strip article,
    .product-bottom-cta {
        border-radius: 24px;
    }
}

@media (max-width: 420px) {
    .shop-preview {
        height: 178px;
    }

    .shop-card h2,
    .shop-card-description,
    .shop-card-top,
    .shop-features,
    .compact-feature-list,
    .shop-card-actions-simple,
    .shop-action,
    .shop-card > small {
        margin-left: 16px;
        margin-right: 16px;
        padding-left: 0;
        padding-right: 0;
    }

    .shop-card-top {
        padding-top: 18px;
    }
}
