/* Wizzper Deals – 6h-Übersicht (Preview) */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --bg: #0b0c0b;
    --surface: #121412;
    --surface-2: #171a17;
    --border: #242824;
    --border-strong: #343a34;
    --text: #f1f3f1;
    --muted: #98a098;
    --muted-2: #747c74;
    --green: #3ddc84;
    --green-dark: #1f7a45;
    --red: #d64545;
    --radius: 10px;
}

html { scroll-behavior: smooth; }

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    background: var(--bg);
    color: var(--text);
    font-size: 14px;
    line-height: 1.4;
    -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
sup { font-size: 9px; vertical-align: super; }

/* ===== HEADER ===== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(11, 12, 11, .94);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
}

.topbar {
    max-width: 1200px;
    margin: 0 auto;
    padding: 11px 16px 8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 20px;
    font-weight: 750;
    letter-spacing: -.02em;
    color: var(--text);
}
.brand-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--green);
    margin-top: 2px;
}

.topnav { display: flex; align-items: center; gap: 14px; }
.live-count {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--muted);
    font-variant-numeric: tabular-nums;
}
.live-count .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--green);
}
.wa-link {
    font-size: 12px;
    font-weight: 600;
    color: var(--text);
    border: 1px solid var(--border-strong);
    border-radius: 6px;
    padding: 6px 10px;
}
.wa-link:hover { border-color: #4a544a; }

/* ===== SEARCH / SORT ===== */
.search-row {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px 8px;
    display: flex;
    gap: 8px;
}
.search-form { position: relative; flex: 1; }
.search-icon {
    position: absolute;
    left: 11px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--muted-2);
    pointer-events: none;
}
.search-input {
    width: 100%;
    height: 36px;
    padding: 0 12px 0 34px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 7px;
    color: var(--text);
    font-family: inherit;
    font-size: 13px;
    outline: none;
}
.search-input::placeholder { color: var(--muted-2); }
.search-input:focus { border-color: var(--border-strong); }

.sort-select {
    height: 36px;
    padding: 0 10px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 7px;
    color: var(--text);
    font-family: inherit;
    font-size: 12px;
    outline: none;
    max-width: 165px;
}
.sort-select option { background: #161816; color: var(--text); }

/* ===== FILTER-TABS ===== */
.filter-row {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scrollbar-width: none;
}
.filter-row::-webkit-scrollbar { display: none; }

.tab {
    flex: 0 0 auto;
    padding: 8px 0 9px;
    border-bottom: 2px solid transparent;
    color: var(--muted);
    font-size: 12.5px;
    white-space: nowrap;
}
.tab:hover { color: #d8ded8; }
.tab.active { color: var(--text); border-bottom-color: var(--green); }

/* ===== KATEGORIEN ===== */
.cat-row {
    max-width: 1200px;
    margin: 0 auto;
    padding: 7px 16px 9px;
    display: flex;
    gap: 14px;
    overflow-x: auto;
    scrollbar-width: none;
    border-top: 1px solid #1a1d1a;
    margin-top: 1px;
}
.cat-row::-webkit-scrollbar { display: none; }
.cat-link {
    flex: 0 0 auto;
    font-size: 11.5px;
    color: var(--muted-2);
    white-space: nowrap;
}
.cat-link:hover { color: var(--muted); }
.cat-link.active { color: var(--green); }

/* ===== SUMMARY ===== */
.summary {
    max-width: 1200px;
    margin: 0 auto;
    padding: 14px 16px 4px;
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 6px;
    font-size: 12.5px;
    color: var(--muted);
}
.summary strong { color: var(--text); font-weight: 600; font-variant-numeric: tabular-nums; }
.summary .sep { color: #4b524b; }
.summary-right { margin-left: auto; color: var(--muted-2); font-size: 11.5px; }

/* ===== WHATSAPP-BAND ===== */
.wa-band {
    max-width: 1200px;
    margin: 12px auto 0;
    padding: 0 16px;
}
.wa-band-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 13px 16px;
    background: #102019;
    border: 1px solid #234a35;
    border-radius: var(--radius);
}
.wa-band-title {
    font-size: 13.5px;
    font-weight: 650;
    color: var(--text);
    margin-bottom: 2px;
}
.wa-band-sub {
    font-size: 11.5px;
    color: var(--muted);
    line-height: 1.45;
}
.wa-band-btn {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 9px 15px;
    border-radius: 6px;
    background: #25d366;
    color: #06210f;
    font-size: 12.5px;
    font-weight: 700;
    white-space: nowrap;
}
.wa-band-btn:hover { background: #3ddc84; }

/* ===== GRID ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px 16px 28px;
}

.deals-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}
@media (min-width: 600px)  { .deals-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; } }
@media (min-width: 900px)  { .deals-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; } }
@media (min-width: 1200px) { .deals-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); } }

/* ===== KARTE ===== */
.deal-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
}
.deal-card:hover { border-color: #3a423a; }

.deal-link { display: flex; flex-direction: column; height: 100%; }

.deal-img-wrap {
    position: relative;
    aspect-ratio: 1 / 1;
    background: #f5f6f5;
    overflow: hidden;
}
.deal-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 10px;
    display: block;
    mix-blend-mode: multiply;
}

.badge-discount {
    position: absolute;
    top: 8px;
    left: 8px;
    z-index: 2;
    background: var(--red);
    color: #fff;
    font-size: 10.5px;
    font-weight: 650;
    padding: 2px 6px;
    border-radius: 4px;
    letter-spacing: .01em;
}

.badge-top {
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 2;
    background: rgba(8, 10, 8, .82);
    color: #b9f5cf;
    font-size: 9px;
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
    padding: 2px 6px;
    border-radius: 4px;
}

.deal-body {
    padding: 10px 11px 11px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.deal-brand {
    font-size: 9.5px;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--muted-2);
    margin-bottom: 3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.deal-title {
    font-size: 12.5px;
    line-height: 1.38;
    color: #dfe4df;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 52px;
}

.price-row {
    display: flex;
    align-items: baseline;
    gap: 7px;
    flex-wrap: wrap;
    margin-top: auto;
    padding-top: 9px;
}
.price-now {
    font-size: 18px;
    font-weight: 700;
    color: var(--text);
    letter-spacing: -.01em;
    font-variant-numeric: tabular-nums;
}
.price-old {
    font-size: 11.5px;
    color: var(--muted-2);
    text-decoration: line-through;
    font-variant-numeric: tabular-nums;
}

.savings {
    font-size: 11px;
    color: #58cf88;
    margin-top: 1px;
}
.coupon {
    font-size: 10.5px;
    color: #d9b86c;
    margin-top: 3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.deal-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 7px;
    font-size: 10px;
    color: var(--muted-2);
    font-variant-numeric: tabular-nums;
}

.deal-button {
    margin-top: 9px;
    padding: 8px 10px;
    border-radius: 6px;
    background: var(--green-dark);
    color: #f2fff7;
    text-align: center;
    font-size: 12px;
    font-weight: 600;
}
.deal-card:hover .deal-button { background: #2a8f55; }

/* ===== EMPTY / PAGER ===== */
.empty {
    padding: 48px 20px;
    text-align: center;
    color: var(--muted);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--surface);
}
.empty a { color: var(--green); }

.pager {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin: 22px 0 4px;
}
.pager-btn {
    padding: 8px 14px;
    border: 1px solid var(--border-strong);
    border-radius: 6px;
    color: var(--text);
    font-size: 12.5px;
    font-weight: 600;
}
.pager-btn:hover { border-color: #4a544a; }
.pager-info { color: var(--muted-2); font-size: 12px; }

/* ===== INFO-BOX ===== */
.info-box {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
    max-width: 720px;
    color: var(--muted);
    font-size: 12.5px;
    line-height: 1.65;
}
.info-box h2 {
    font-size: 13.5px;
    font-weight: 650;
    color: var(--text);
    margin: 0 0 5px;
}
.info-box h2 + p { margin-bottom: 14px; }
.disclaimer { font-size: 11px; color: var(--muted-2); margin-top: 4px; }

/* ===== FOOTER ===== */
.footer {
    max-width: 1200px;
    margin: 0 auto;
    padding: 18px 16px 34px;
    font-size: 11.5px;
    color: var(--muted-2);
}
.footer a { color: var(--muted); }
.footer a:hover { color: var(--text); }
.footer span { color: #3f463f; margin: 0 3px; }
.copyright { margin-top: 5px; }

/* ===== MOBIL ===== */
@media (max-width: 560px) {
    .topbar { padding: 9px 14px 7px; }
    .brand { font-size: 18px; }
    .wa-link { padding: 5px 8px; font-size: 11px; }
    .live-count { display: none; }
    .search-row { padding: 0 14px 7px; }
    .filter-row, .cat-row { padding-left: 14px; padding-right: 14px; }
    .tab { font-size: 12px; }
    .summary { padding: 12px 14px 2px; }
    .summary-right { margin-left: 0; width: 100%; }
    .wa-band { margin-top: 10px; padding: 0 14px; }
    .wa-band-inner { flex-direction: column; align-items: stretch; gap: 10px; padding: 13px 14px; }
    .wa-band-btn { justify-content: center; }
    .container { padding: 8px 14px 24px; }
    .deals-grid { gap: 8px; }
    .deal-title { font-size: 12px; -webkit-line-clamp: 2; min-height: 34px; }
    .price-now { font-size: 16px; }
    .deal-body { padding: 8px 9px 9px; }
    .deal-button { font-size: 11.5px; padding: 7px; }
    .sort-select { max-width: 120px; font-size: 11px; }
}
