/* =============================================
   TM24 ANKAUF â€“ FOOTER (Dark, Lesbar)
   Scoped: .ankauf-footer
   WICHTIG: !important nÃ¶tig weil ankauf.css Legacy
   ============================================= */

.ankauf-footer {
    background: #0f172a !important;
    padding: 52px 0 28px !important;
    border-top: none !important;
    color: #e2e8f0 !important;
}

.ankauf-footer .container {
    max-width: 1000px;
}

.ankauf-footer .row {
    justify-content: center;
}

/* Spalten-Layout */
.ankauf-footer .col-md-4 {
    text-align: left !important;
    margin-bottom: 28px;
}

/* Ãœberschriften: SCHWARZ auf DUNKEL = WEISS */
.ankauf-footer h4,
.ankauf-footer h5,
.ankauf-footer .footer-title {
    font-size: 13px !important;
    text-transform: uppercase !important;
    letter-spacing: 1.5px !important;
    color: #f1f5f9 !important;
    margin-bottom: 16px !important;
    font-weight: 700 !important;
}

/* Links: HELL und GUT SICHTBAR */
.ankauf-footer ul {
    padding: 0 !important;
    margin: 0 !important;
}

.ankauf-footer ul li {
    list-style: none !important;
    margin-bottom: 8px !important;
}

.ankauf-footer ul li a,
.ankauf-footer .footer-links a {
    color: #cbd5e1 !important;
    font-size: 14px !important;
    text-decoration: none !important;
    transition: color 0.2s, padding-left 0.2s !important;
    display: inline-block !important;
}

.ankauf-footer ul li a:hover,
.ankauf-footer .footer-links a:hover {
    color: #818cf8 !important;
    padding-left: 4px !important;
}

/* Kontakt: Klar lesbar */
.ankauf-footer .footer-contact p,
.ankauf-footer p {
    font-size: 14px !important;
    color: #cbd5e1 !important;
    margin-bottom: 8px !important;
    line-height: 1.5 !important;
}

.ankauf-footer .footer-contact i,
.ankauf-footer i {
    color: #818cf8 !important;
    width: 20px;
    text-align: center;
    margin-right: 8px;
}

/* Copyright: Sichtbar */
.ankauf-footer .footer-bottom {
    text-align: center !important;
    padding-top: 24px !important;
    margin-top: 20px !important;
    border-top: 1px solid #1e293b !important;
    font-size: 13px !important;
    color: #64748b !important;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .ankauf-footer {
        padding: 40px 0 24px !important;
    }

    .ankauf-footer .col-md-4 {
        text-align: center !important;
    }

    .ankauf-footer ul li a:hover,
    .ankauf-footer .footer-links a:hover {
        padding-left: 0 !important;
    }
}

/* ============================================================
   LOGO-FIX + HEADER-CSS FIX
   Gecachte index.php: /assets/images/logo-header.png ist 404
   Loesung: CSS-basiertes Logo + fehlende Shop-Header-CSS
   ============================================================ */
.ankauf-logo-img {
    position: relative;
    display: inline-flex !important;
    align-items: center;
    min-width: 160px;
    min-height: 50px;
}
.ankauf-logo-img img {
    display: none !important;
}
.ankauf-logo-img span {
    display: none !important;
}
.ankauf-logo-img::before {
    content: '';
    display: block;
    width: 160px;
    height: 50px;
    background: url('/ankauf/assets/images/logo-header.png') no-repeat center/contain;
}

/* --- Shop header.css --- */
/* ==============================================
   TM24 NOVAChild – Header: ZENTRALISIERT
   Modul-Header-Regeln wurden nach ankauf-header.css verschoben.
   Desktop-Grid, Mobile-Override, Logo, Topbar → ankauf-header.css
   ============================================== */


/* --- Shop header-icons.css --- */
/* ==============================================
   TM24 NOVAChild â Header: Icons & Buttons
   Modul: modules/global/header/header-icons.css
   Scope: .shop-icon-link, .shop-burger-btn
   UTF-8 ohne BOM
   ============================================== */

/* ---- Icon-Links (Anmelden, Warenkorb) ---- */
.shop-icon-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--f);
    font-size: 13px;
    font-weight: 600;
    color: var(--txt-s) !important;
    text-decoration: none !important;
    padding: 7px 12px;
    border-radius: var(--rs);
    transition: background var(--speed), color var(--speed);
    white-space: nowrap;
}

.shop-icon-link:hover {
    background: var(--pl);
    color: var(--p) !important;
}

.shop-icon-link i {
    font-size: 15px;
}

/* ---- Burger-Button (Mobil) ---- */
.shop-burger-btn {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: transparent;
    border: 0;
    padding: 6px;
    cursor: pointer;
    width: 36px;
    height: 36px;
}

.shop-burger-btn span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--txt);
    border-radius: 2px;
    transition: all .25s;
}

@media (max-width: 767px) {
    .shop-burger-btn  { display: flex !important; }
    .shop-icon-link   { display: none !important; }
}


/* --- Shop header-mobile.css --- */
/* ==============================================
   TM24 NOVAChild â Header: Mobile-Nav
   Modul: modules/global/header/header-mobile.css
   Scope: Mobile-Drawer, < 768px
   UTF-8 ohne BOM
   ============================================== */

/* ---- Mobile-MenÃ¼ Overlay ---- */
.shop-mobile-nav {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .5);
    z-index: 2000;
    backdrop-filter: blur(4px);
}

.shop-mobile-nav.is-open {
    display: block;
}

.shop-mobile-nav__inner {
    position: absolute;
    top: 0;
    left: 0;
    width: min(320px, 85vw);
    height: 100%;
    background: var(--card);
    padding: 20px 16px;
    overflow-y: auto;
    transform: translateX(-100%);
    transition: transform .28s ease;
}

.shop-mobile-nav.is-open .shop-mobile-nav__inner {
    transform: translateX(0);
}

/* Mobile: Kategorien-Bar immer bei scrollLeft 0 starten */
@media (max-width: 768px) {
    .shop-megamenu { scroll-behavior: auto; }
}


/* --- Shop nova-header-fix.css --- */
/* ==============================================
   TM24 NOVAChild â NOVA-Header-Fix
   Modul: modules/overrides/nova-header-fix.css
   Zweck: NOVA-eigene Header-Elemente deaktivieren.
          EnthÃ¤lt NUR Workarounds gegen das NOVA-Base-Theme.
          KEINE eigene TM24-Logik hier.
   UTF-8 ohne BOM
   ============================================== */

/* ---- NOVA-Navbar verstecken (TM24 Header ersetzt diese) ---- */
#jtl-nav-wrapper              { display: none !important; }
.nav-scrollbar-inner          { display: none !important; }

/* ---- NOVA-Catsbar: nur eigene behalten ---- */
.shop-catsbar:not(.shop-home-catsbar) { display: none !important; }

/* ---- NOVA-Navbar Overrides ---- */
.navbar {
    background: var(--card) !important;
    border-bottom: 0 !important;
    box-shadow: none !important;
}

.fixed-navbar {
    background: var(--card) !important;
    border-bottom: 1px solid var(--brd) !important;
    box-shadow: 0 1px 4px rgba(0, 0, 0, .03) !important;
}

/* ---- NOVA Logo-Wrapper neutralisieren ---- */
.logo-wrapper {
    display: flex !important;
    align-items: center !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    padding: 0 !important;
}

.logo img { max-height: 42px !important; }


/* --- Shop catpills.css --- */
/* ==============================================
   TM24 NOVAChild â Listing: Catpills (Marken-Filter)
   Modul: modules/listing/catpills/catpills.css
   Scope: .tm24-catpills-*, .tm24-catpill, .tm24-catpill-chip
   Quelle: custom.css Zeilen 6834-7100
   UTF-8 ohne BOM
   ============================================== */

.tm24-catpills-wrap {
    background: #fff;
    border-bottom: 2px solid #f0f2f8;
    padding: 0;
    box-shadow: 0 2px 8px rgba(46,43,203,.05);
}

.tm24-catpills-label { display: none; }

.tm24-catpills-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    padding: 14px 24px 14px;
    max-width: 1400px;
    margin: 0 auto;
}

.tm24-catpill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 18px;
    border-radius: 12px;
    border: 1.5px solid #e5e7eb;
    background: #f8f9ff;
    color: #374151;
    font-family: var(--f);
    font-size: 13.5px;
    font-weight: 700;
    letter-spacing: -.1px;
    cursor: pointer;
    white-space: nowrap;
    transition: border-color .2s ease, background .2s ease, color .2s ease, box-shadow .2s ease, transform .15s ease;
}

.tm24-catpill:hover {
    border-color: #c7d2fe;
    background: #eef1ff;
    color: var(--p);
    box-shadow: 0 2px 12px rgba(46,43,203,.10);
    transform: translateY(-1px);
}

.tm24-catpill.is-open {
    border-color: var(--p);
    background: var(--p);
    color: #fff;
    box-shadow: 0 4px 18px rgba(46,43,203,.30);
    transform: translateY(-1px);
}

.tm24-catpill.is-open .tm24-catpill__count {
    background: rgba(255,255,255,.18);
    color: rgba(255,255,255,.95);
}

.tm24-catpill__count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    border-radius: 8px;
    background: #e0e7ff;
    color: var(--p);
    font-size: 11.5px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0;
}

/* === Modell-Chip-Panel === */
.tm24-catpills-panel {
    display: none;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    padding: 14px 24px 16px;
    background: linear-gradient(0deg, #f4f6ff 0%, #f8f9ff 100%);
    border-top: 1.5px solid #e0e7ff;
    animation: tm24pillpanel .2s cubic-bezier(.22,.68,0,1);
}

.tm24-catpills-panel.is-visible { display: flex; }

@keyframes tm24pillpanel {
    from { opacity: 0; transform: translateY(-5px); }
    to { opacity: 1; transform: translateY(0); }
}

.tm24-catpills-panel::before {
    content: 'Modelle:';
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #9ca3af;
    margin-right: 4px;
    flex-shrink: 0;
}

.tm24-catpill-chip {
    display: inline-flex;
    align-items: center;
    padding: 7px 16px;
    border-radius: 10px;
    border: 1.5px solid #e5e7eb;
    background: #fff;
    color: #374151;
    font-family: var(--f);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    transition: border-color .18s ease, color .18s ease, background .18s ease, box-shadow .18s ease, transform .15s ease;
    box-shadow: 0 1px 3px rgba(0,0,0,.05);
}

.tm24-catpill-chip:hover {
    border-color: var(--p);
    background: #eef1ff;
    color: var(--p);
    text-decoration: none;
    box-shadow: 0 2px 10px rgba(46,43,203,.12);
    transform: translateY(-1px);
}

.tm24-catpill-chip--all {
    border-color: #c7d2fe;
    background: #eef1ff;
    color: var(--p);
    font-weight: 800;
}

.tm24-catpill-chip--all::before {
    content: 'â';
    margin-right: 4px;
    font-size: 14px;
}
