/*
Theme Name: 4T6W Glass 15
Author: 4T6W
Version: 1.0
Text Domain: 4t6w15
*/


    * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
        -webkit-tap-highlight-color: transparent
    }

    html {
        height: 100%;
        background: var(--bg)
    }

    ::-webkit-scrollbar {
        display: none
    }

    :root {
        --bg: #E8E8EB;
        --card: rgba(255, 255, 255, 0.01);
        --card-border-top: rgba(255, 255, 255, 0.55);
        --card-shadow: 0 12px 32px rgba(0, 0, 0, 0.18), 0 2px 8px rgba(0, 0, 0, 0.1);
        --card-sm: rgba(255, 255, 255, 0.08);
        --txt: #1a1a1a;
        --txt2: rgba(0, 0, 0, 0.5);
        --txt3: rgba(0, 0, 0, 0.2);
        --accent1: #6366f1;
        --accent2: #a855f7;
        --scene: #ffffff;
    }

    .dark {
        --bg: #050507;
        --card: rgba(255, 255, 255, 0.01);
        --card-border-top: rgba(255, 255, 255, 0.1);
        --card-shadow: 0 12px 32px rgba(0, 0, 0, 0.4), 0 2px 8px rgba(0, 0, 0, 0.25);
        --card-sm: rgba(255, 255, 255, 0.04);
        --txt: #fff;
        --txt2: rgba(255, 255, 255, 0.6);
        --txt3: rgba(255, 255, 255, 0.2);
        --accent1: #818cf8;
        --accent2: #c084fc;
        --scene: #0a0a0c;
    }

    body {
        min-height: 100%;
        background: transparent;
        font-family: 'Inter', -apple-system, system-ui, sans-serif;
        color: var(--txt);
        transition: color .3s;
        position: relative
    }


    .brand, .hero h1, .pbrand, .sect-title {
        font-family: 'Archivo', sans-serif
    }

    .bg-orbs {
        position: fixed;
        inset: 0;
        z-index: 0;
        overflow: hidden;
        pointer-events: none;
        transition: opacity .5s;
        background: var(--scene);
        display: flex;
        align-items: center;
        justify-content: center
    }

    .scene-logo {
        width: min(80vw, 80vh);
        max-width: 860px;
        opacity: .92
    }

    .dark .scene-logo {
        filter: invert(1);
        opacity: .85
    }

    .bg-orbs.cam-active {
        opacity: 0
    }

    .glass-veil {
        position: fixed;
        inset: 0;
        z-index: 0;
        pointer-events: none;
        background: transparent
    }

    #camVideo {
        position: fixed;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        z-index: -1;
        display: none
    }

    #camVideo.active {
        display: block
    }

    .cam-hint {
        position: fixed;
        bottom: 20px;
        left: 50%;
        transform: translateX(-50%);
        background: var(--card);
        backdrop-filter: blur(24px) saturate(220%);
        -webkit-backdrop-filter: blur(24px) saturate(220%);
        border: .5px solid var(--card-border-top);
        border-radius: 14px;
        padding: 10px 18px;
        font-size: 12px;
        color: var(--txt2);
        z-index: 50;
        display: none;
        box-shadow: var(--card-shadow)
    }

    .cam-hint.show {
        display: block
    }

    .wrap {
        position: relative;
        z-index: 1;
        max-width: 1180px;
        margin: 0 auto;
        padding: 24px
    }

    .hdr {
        position: relative;
        z-index: 100;
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 16px 24px;
        margin-bottom: 32px;
        background: var(--card);
        border-radius: 20px;
        border: 1px solid var(--card-border-top);
        box-shadow: var(--card-shadow);
        backdrop-filter: blur(12px) saturate(180%);
        -webkit-backdrop-filter: blur(12px) saturate(180%)
    }

    .brand {
        font-size: 18px;
        font-weight: 800;
        letter-spacing: .5px;
        background: linear-gradient(135deg, var(--accent1), var(--accent2));
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent
    }

    .nav {
        display: flex;
        gap: 34px;
        align-items: center
    }

    .hdr-l {
        display: flex;
        align-items: center;
        gap: 30px
    }

    .hdr-logo {
        height: 40px;
        width: auto;
        cursor: pointer;
        opacity: .9;
        transition: opacity .18s, transform .18s
    }

    .hdr-logo:hover {
        opacity: 1;
        transform: scale(1.05)
    }

    .nav a {
        text-decoration: none;
        font-family: 'Archivo', sans-serif;
        font-weight: 900;
        font-size: 20px;
        letter-spacing: -0.5px;
        color: var(--txt);
        transition: opacity .2s
    }

    .nav a:hover {
        opacity: .6
    }

    .nav-item {
        position: relative;
        padding-bottom: 18px;
        margin-bottom: -18px
    }


    .hero {
        position: relative;
        z-index: 1;
        background: var(--card);
        border-radius: 24px;
        border: 1px solid var(--card-border-top);
        box-shadow: var(--card-shadow);
        backdrop-filter: blur(12px) saturate(180%);
        -webkit-backdrop-filter: blur(12px) saturate(180%);
        padding: 64px 48px;
        margin-bottom: 32px
    }

    .hero-badge {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        font-size: 10px;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 1px;
        padding: 6px 12px;
        border-radius: 20px;
        background: rgba(99, 102, 241, .12);
        color: var(--accent1);
        margin-bottom: 20px
    }

    .hero h1 {
        font-size: 46px;
        font-weight: 900;
        line-height: 1.05;
        letter-spacing: -1.5px;
        max-width: 600px;
        margin-bottom: 14px
    }

    .hero p {
        font-size: 15px;
        color: var(--txt2);
        max-width: 440px;
        margin-bottom: 28px;
        line-height: 1.5
    }

    .btn {
        padding: 13px 28px;
        border-radius: 14px;
        border: none;
        font-size: 14px;
        font-weight: 600;
        cursor: pointer;
        transition: transform .15s
    }

    .btn:active { transform: scale(.97) }

    .btn-primary {
        background: linear-gradient(135deg, var(--accent1), var(--accent2));
        color: #fff
    }

    .sect-title {
        font-size: 11px;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 1.4px;
        color: var(--txt2);
        margin: 0 4px 14px
    }

    .grid {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 16px;
        margin-bottom: 32px
    }

    @media (max-width: 900px) {
        .grid { grid-template-columns: repeat(2, 1fr) }
    }

    .pcard {
        background: var(--card);
        border-radius: 20px;
        border: 1px solid var(--card-border-top);
        box-shadow: var(--card-shadow);
        backdrop-filter: blur(12px) saturate(180%);
        -webkit-backdrop-filter: blur(12px) saturate(180%);
        overflow: hidden;
        transition: transform .2s;
        cursor: pointer
    }

    .pcard:hover { transform: translateY(-4px) }

    .pimg {
        aspect-ratio: 1;
        background: linear-gradient(135deg, var(--card-sm), var(--card));
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 11px;
        color: var(--txt3);
        letter-spacing: 1px;
        text-transform: uppercase;
        position: relative
    }

    .pbadge {
        position: absolute;
        top: 10px;
        left: 10px;
        font-size: 9px;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: .5px;
        padding: 4px 9px;
        border-radius: 8px;
        background: rgba(22, 163, 74, .14);
        color: #16A34A
    }

    .pinfo {
        padding: 16px;
        background: rgba(255, 255, 255, 0.015);
        backdrop-filter: blur(12px) saturate(170%);
        -webkit-backdrop-filter: blur(12px) saturate(170%);
        border-top: .5px solid rgba(255, 255, 255, 0.5);
        position: relative;
        z-index: 2
    }

    .pbrand {
        font-size: 10px;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: .6px;
        color: var(--txt2);
        margin-bottom: 4px
    }

    .pname {
        font-size: 13px;
        font-weight: 600;
        margin-bottom: 8px;
        line-height: 1.3
    }

    .prow {
        display: flex;
        justify-content: space-between;
        align-items: center
    }

    .pprice {
        font-size: 15px;
        font-weight: 700;
        font-variant-numeric: tabular-nums
    }

    .pcond { font-size: 10px; color: var(--txt2) }

    footer {
        text-align: center;
        padding: 32px;
        color: var(--txt2);
        font-size: 11px
    }

    .modal-overlay {
        position: fixed;
        inset: 0;
        z-index: 200;
        display: none;
        align-items: center;
        justify-content: center;
        background: rgba(10, 12, 18, 0.08);
        backdrop-filter: blur(2px);
        -webkit-backdrop-filter: blur(2px);
        padding: 20px
    }

    .modal-overlay.show { display: flex }

    .modal-card {
        background: rgba(255, 255, 255, 0.12);
        border-radius: 24px;
        border: 1px solid var(--card-border-top);
        box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
        backdrop-filter: blur(12px) saturate(180%);
        -webkit-backdrop-filter: blur(12px) saturate(180%);
        max-width: 1080px;
        width: 100%;
        display: flex;
        position: relative;
        overflow: hidden;
        max-height: 90vh
    }

    @media (max-width: 700px) {
        .modal-card { flex-direction: column; max-height: 92vh }
    }

    .modal-close {
        position: absolute;
        top: 16px;
        right: 16px;
        width: 32px;
        height: 32px;
        border-radius: 50%;
        background: rgba(0, 0, 0, 0.5);
        color: #fff;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        z-index: 10;
        font-size: 14px
    }

    .modal-gallery {
        width: 48%;
        display: flex;
        flex-direction: column;
        background: rgba(0, 0, 0, 0.03)
    }

    @media (max-width: 700px) {
        .modal-gallery { width: 100% }
    }

    .modal-img {
        width: 100%;
        aspect-ratio: 1;
        background-size: cover;
        background-position: center;
        cursor: zoom-in;
        position: relative
    }

    .modal-img::after {
        content: '⤢';
        position: absolute;
        bottom: 12px;
        right: 12px;
        width: 30px;
        height: 30px;
        border-radius: 50%;
        background: rgba(0, 0, 0, 0.5);
        color: #fff;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 13px
    }

    .modal-thumbs {
        display: flex;
        gap: 8px;
        padding: 10px;
        overflow-x: auto
    }

    .modal-thumb {
        width: 56px;
        height: 56px;
        flex-shrink: 0;
        border-radius: 10px;
        background-size: cover;
        background-position: center;
        cursor: pointer;
        opacity: .5;
        border: 2px solid transparent;
        transition: opacity .2s, border-color .2s
    }

    .modal-thumb.active {
        opacity: 1;
        border-color: var(--accent1)
    }

    .modal-info {
        padding: 28px;
        background: rgba(255, 255, 255, 0.92);
        backdrop-filter: blur(12px) saturate(170%);
        -webkit-backdrop-filter: blur(12px) saturate(170%);
        flex: 1;
        display: flex;
        flex-direction: column;
        gap: 12px;
        overflow-y: auto
    }

    .modal-name {
        font-family: 'Archivo', sans-serif;
        font-size: 22px;
        font-weight: 800;
        line-height: 1.2
    }

    .modal-price-row {
        display: flex;
        align-items: center;
        gap: 10px;
        margin: 4px 0
    }

    .modal-price {
        font-size: 24px;
        font-weight: 800
    }

    .modal-desc {
        font-size: 14px;
        color: rgba(0, 0, 0, 0.72);
        line-height: 1.65
    }

    .modal-section {
        border-top: 1px solid rgba(0, 0, 0, 0.14);
        padding-top: 12px;
        margin-top: 4px
    }

    .modal-section h4 {
        font-size: 11px;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 1px;
        color: rgba(0, 0, 0, 0.62);
        margin-bottom: 8px
    }

    .modal-section p {
        font-size: 14px;
        line-height: 1.65;
        color: #111
    }

    .modal-btn {
        width: 100%;
        margin-top: 12px;
        padding: 15px;
        flex-shrink: 0
    }

    .lightbox {
        position: fixed;
        inset: 0;
        z-index: 300;
        display: none;
        align-items: center;
        justify-content: center;
        background: rgba(0, 0, 0, 0.85);
        padding: 20px;
        cursor: zoom-out
    }

    .lightbox.show { display: flex }

    /* ---- Kategorieansicht ---- */
    .cat-view { display: none }
    .cat-view.show { display: block }
    .home-view.hide { display: none }

    .cat-hdr {
        background: var(--card);
        border-radius: 24px;
        border: 1px solid var(--card-border-top);
        box-shadow: var(--card-shadow);
        backdrop-filter: blur(12px) saturate(180%);
        -webkit-backdrop-filter: blur(12px) saturate(180%);
        padding: 34px 40px;
        margin-bottom: 20px
    }

    .crumb {
        font-size: 11px;
        font-weight: 600;
        color: var(--txt2);
        margin-bottom: 12px;
        cursor: pointer;
        display: inline-block
    }

    .crumb:hover { color: var(--txt) }

    .cat-title {
        font-family: 'Archivo', sans-serif;
        font-size: 38px;
        font-weight: 900;
        letter-spacing: -1px;
        line-height: 1.05
    }

    .cat-meta {
        font-size: 13px;
        color: var(--txt2);
        margin-top: 8px
    }

    .cat-bar {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 16px;
        flex-wrap: wrap;
        margin-bottom: 20px;
        padding: 0 4px
    }

    .filters { display: flex; gap: 8px; flex-wrap: wrap }

    .fgroups {
        display: flex;
        flex-direction: column;
        gap: 12px;
        margin-bottom: 22px;
        padding: 0 4px
    }

    .fgroup {
        display: flex;
        align-items: center;
        gap: 10px;
        flex-wrap: wrap
    }

    .flabel {
        font-family: 'Archivo', sans-serif;
        font-size: 9px;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 1.2px;
        color: var(--txt2);
        min-width: 74px
    }

    .filter {
        font-size: 12px;
        font-weight: 600;
        padding: 9px 15px;
        border-radius: 20px;
        border: 1px solid var(--card-border-top);
        background: var(--card);
        backdrop-filter: blur(10px) saturate(170%);
        -webkit-backdrop-filter: blur(10px) saturate(170%);
        box-shadow: var(--card-shadow);
        color: var(--txt);
        cursor: pointer;
        transition: background .15s, transform .12s
    }

    .filter:hover { transform: translateY(-1px) }

    .filter.active {
        background: linear-gradient(135deg, var(--accent1), var(--accent2));
        color: #fff;
        border-color: transparent
    }

    .sort {
        font-family: inherit;
        font-size: 12px;
        font-weight: 600;
        padding: 9px 13px;
        border-radius: 12px;
        border: 1px solid var(--card-border-top);
        background: var(--card);
        backdrop-filter: blur(10px) saturate(170%);
        -webkit-backdrop-filter: blur(10px) saturate(170%);
        color: var(--txt);
        cursor: pointer;
        outline: none
    }

    /* ---- Chat ---- */
    .chat-fab {
        position: fixed;
        bottom: 24px;
        right: 24px;
        width: 50px;
        height: 50px;
        border-radius: 50%;
        border: 1px solid var(--card-border-top);
        background: linear-gradient(135deg, var(--accent1), var(--accent2));
        color: #fff;
        font-size: 19px;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        box-shadow: var(--card-shadow);
        z-index: 150;
        transition: transform .18s
    }

    .chat-fab:active { transform: scale(.94) }

    .chat-win {
        position: fixed;
        bottom: 84px;
        right: 24px;
        width: 310px;
        max-width: calc(100vw - 32px);
        height: 420px;
        max-height: calc(100vh - 140px);
        border-radius: 22px;
        border: 1px solid var(--card-border-top);
        box-shadow: var(--card-shadow);
        background: rgba(255, 255, 255, 0.55);
        backdrop-filter: blur(24px) saturate(180%);
        -webkit-backdrop-filter: blur(24px) saturate(180%);
        display: none;
        flex-direction: column;
        overflow: hidden;
        z-index: 150
    }

    .chat-win.show { display: flex }

    .chat-hdr {
        padding: 14px 16px;
        border-bottom: 1px solid rgba(0, 0, 0, 0.08);
        background: rgba(255, 255, 255, 0.4);
        display: flex;
        align-items: center;
        justify-content: space-between
    }

    .chat-title {
        font-family: 'Archivo', sans-serif;
        font-size: 14px;
        font-weight: 800
    }

    .chat-sub { font-size: 11px; color: var(--txt2); margin-top: 2px }

    .chat-close {
        cursor: pointer;
        font-size: 14px;
        color: var(--txt2);
        padding: 4px 8px
    }

    .chat-body {
        flex: 1;
        overflow-y: auto;
        padding: 16px;
        display: flex;
        flex-direction: column;
        gap: 10px
    }

    .msg {
        max-width: 82%;
        padding: 10px 13px;
        border-radius: 16px;
        font-size: 13.5px;
        line-height: 1.5;
        white-space: pre-line
    }

    .msg.bot {
        align-self: flex-start;
        background: rgba(255, 255, 255, 0.85);
        color: #111;
        border-bottom-left-radius: 6px
    }

    .msg.user {
        align-self: flex-end;
        background: linear-gradient(135deg, var(--accent1), var(--accent2));
        color: #fff;
        border-bottom-right-radius: 6px
    }

    .chips { display: flex; flex-wrap: wrap; gap: 7px; padding: 0 16px 12px }

    .chip {
        font-size: 12px;
        font-weight: 600;
        padding: 8px 13px;
        border-radius: 20px;
        border: 1px solid rgba(0, 0, 0, 0.12);
        background: rgba(255, 255, 255, 0.7);
        color: #111;
        cursor: pointer;
        transition: background .15s
    }

    .chip:hover { background: #fff }

    .chat-input {
        display: flex;
        gap: 8px;
        padding: 12px;
        border-top: 1px solid rgba(0, 0, 0, 0.08);
        background: rgba(255, 255, 255, 0.45)
    }

    .chat-input input {
        flex: 1;
        border: 1px solid rgba(0, 0, 0, 0.12);
        border-radius: 12px;
        padding: 10px 12px;
        font-family: inherit;
        font-size: 13.5px;
        background: rgba(255, 255, 255, 0.8);
        outline: none
    }

    .chat-input button {
        border: none;
        border-radius: 12px;
        padding: 0 16px;
        font-weight: 700;
        font-size: 13px;
        color: #fff;
        background: linear-gradient(135deg, var(--accent1), var(--accent2));
        cursor: pointer
    }

    .lightbox img, .lightbox div.lb-img {
        max-width: 90vw;
        max-height: 90vh;
        width: 600px;
        aspect-ratio: 1;
        background-size: cover;
        background-position: center;
        border-radius: 12px
    }
    