/* =========================================
   Preis-King.com — Dark Mode v3 FINAL
   ========================================= */

/* ---------- 1. Sanfte Transition ---------- */
html.dm-ready *,
html.dm-ready *::before,
html.dm-ready *::after {
  transition:
    background-color 0.25s ease,
    background 0.25s ease,
    border-color 0.2s ease,
    color 0.15s ease !important;
}
html.dm-ready img,
html.dm-ready svg,
html.dm-ready video,
html.dm-ready .scaleperc,
html.dm-ready [class*="carousel"],
html.dm-ready .slick-track {
  transition: none !important;
}

/* ---------- 2. Token-Override ---------- */
[data-theme="dark"] {
  --primary-color:    #e2e4ec;
  --text:             #e2e4ec;
  --text-subtle:      #9aa3b2;
  --text-on-dark:     #ffffff;
  --brand:            #4da6ff;
  --brand-hover:      #80c0ff;
  --ok:               #66bb6a;
  --ok-contrast:      #1a2e1b;
  --warning:          #ffa726;
  --danger:           #ef5350;
  --background-light: #131720;
  --surface:          #1e2130;
  --surface-alt:      #252838;
  --menu-background:  rgba(30,33,48,0.95);
  --border-color:     #2e3245;
  --button-bg:        #4da6ff;
  --button-hover-bg:  #80c0ff;
  --button-text:      #0a0e1a;
  --elev-1: 0 1px 3px rgba(0,0,0,0.5);
  --elev-2: 0 4px 12px rgba(0,0,0,0.6);
  --elev-3: 0 8px 24px rgba(0,0,0,0.7);
  --pk-primary:       #4da6ff;
  --pk-bg-primary:    #1e2130;
  --pk-bg-secondary:  #131720;
  --pk-text-dark:     #e2e4ec;
  --pk-text-light:    #9aa3b2;
}

/* ---------- 3. BODY ---------- */
[data-theme="dark"] body {
  background: #131720 !important;
  color: #e2e4ec !important;
}

/* ---------- Countdown Banner über der Box ---------- */
[data-theme="dark"] .pk-expire-banner { background-color: #252838 !important; color: #b0b8c8 !important; }
[data-theme="dark"] .pk-expire-banner.pk-expire-warning { background-color: #3e2723 !important; border-color: #5d4037 !important; color: #fbe9e7 !important; }
[data-theme="dark"] .pk-expire-warning svg.pk-expire-icon, [data-theme="dark"] .pk-expire-warning span.pk-countdown-red { color: #ef5350 !important; }
[data-theme="dark"] .pk-expire-text strong { color: #fff !important; }

/* ---------- 4. HEADER & NAVIGATION ---------- */
/* Äußerer Header (Logo + Suchfeld-Bereich) */
html[data-theme="dark"] body #main_header,
html[data-theme="dark"] body #main_header.dark_style,
html[data-theme="dark"] body header#main_header {
    background-color: #2a62b6 !important;
    background:       linear-gradient(to bottom, #3171C9, #2156A0) !important;
}

/* Alle Wrapper-Divs innerhalb #main_header transparent */
html[data-theme="dark"] body #main_header .header_wrap,
html[data-theme="dark"] body #main_header .logo_section_wrap,
html[data-theme="dark"] body #main_header .rh-container,
html[data-theme="dark"] body #main_header .logo-section,
html[data-theme="dark"] body #main_header .logo,
html[data-theme="dark"] body #main_header .head_search,
html[data-theme="dark"] body #main_header .por_icons_menu,
html[data-theme="dark"] body #main_header .rh-flex-center-align {
    background-color: transparent !important;
    background:       transparent !important;
}

/* Innere Navigationsleiste (.main-nav.dark_style = Menü-Leiste unterhalb Logo) */
html[data-theme="dark"] body .main-nav.dark_style,
html[data-theme="dark"] body .header_icons_menu.dark_style {
    background-color: #3171C9 !important;
    background:       linear-gradient(to bottom, #3171C9, #2156A0) !important;
}

/* Kinder der Navigationsleiste transparent AUSSER Inputs und Dropdown-Sub-Menüs */
html[data-theme="dark"] body .main-nav.dark_style *:not(input):not(input *):not(ul.sub-menu):not(ul.sub-menu *),
html[data-theme="dark"] body .header_icons_menu.dark_style *:not(input):not(input *):not(ul.sub-menu):not(ul.sub-menu *) {
    background-color: transparent !important;
    background:       transparent !important;
}

/* Menü-Links Textfarbe weiß sicherstellen */
html[data-theme="dark"] body .main-nav.dark_style > .rh-container > nav > ul > li > a,
html[data-theme="dark"] body .header_icons_menu.dark_style > .rh-container > nav > ul > li > a {
    color: #ffffff !important;
}

/* Dropdown-Menüs im Dark Mode anpassen */
html[data-theme="dark"] body .main-nav ul.menu > li > ul,
html[data-theme="dark"] body .main-nav ul.menu > li > ul > li {
  background-color: var(--surface) !important;
  border-color: var(--border) !important;
}
html[data-theme="dark"] body .main-nav ul.menu > li > ul > li > a {
  color: var(--text) !important;
}
html[data-theme="dark"] body .main-nav ul.menu > li > ul > li > a:hover {
  color: var(--brand) !important;
  background-color: var(--surface-alt) !important;
}

/* Mobile-Navigation (Weißes Burger-Icon auf blauem Header) */
html[data-theme="dark"] body .dl-menuwrapper button svg {
  fill: #ffffff !important;
}

/* ---------- 5. SUCHFELD / LUPEN ICON ---------- */

/* Allgemein – alle Suchfelder außerhalb Header */
[data-theme="dark"] .search-form input,
[data-theme="dark"] [class*="search"] input {
  background:   #1e2130 !important;
  border-color: #2e3245 !important;
  color:        #e2e4ec !important;
}

/* Header-Suchfeld Input + Rahmen */
html[data-theme="dark"] body #main_header input,
html[data-theme="dark"] body #main_header input.re-ajax-search {
  background:       #1e2130 !important;
  background-color: #1e2130 !important;
  border:           1px solid #2e3245 !important;
  color:            #e2e4ec !important;
  border-radius:    4px !important;
}
html[data-theme="dark"] body #main_header input::placeholder {
  color:   #9aa3b2 !important;
  opacity: 1 !important;
}
html[data-theme="dark"] body #main_header input:focus {
  outline:      none !important;
  border-color: #4da6ff !important;
  box-shadow:   0 0 0 2px rgba(77,166,255,0.25) !important;
}

/* Lupe im Header (Desktop & Mobil) - Weiß machen & Hintergrund transparent */
html[data-theme="dark"] .head_search .btnsearch,
html[data-theme="dark"] header .rhi-search,
html[data-theme="dark"] .search-form .btnsearch,
html[data-theme="dark"] body #main_header .btnsearch,
html[data-theme="dark"] body #main_header button[type="submit"],
html[data-theme="dark"] body #main_header button.icon-search-onclick,
html[data-theme="dark"] .icon-search-onclick,
html[data-theme="dark"] #mobile-menu-icons .icon-search-onclick {
  background:       transparent !important;
  background-color: transparent !important;
  color:            #ffffff !important;
  border:           none !important;
  box-shadow:       none !important;
}
html[data-theme="dark"] body #main_header .btnsearch:hover,
html[data-theme="dark"] body #main_header button.icon-search-onclick:hover {
  color: #4da6ff !important;
}
html[data-theme="dark"] .icon-search-onclick i {
  color: #ffffff !important;
}

/* Autocomplete-Dropdown */
html[data-theme="dark"] body #main_header .re-aj-search-wrap,
html[data-theme="dark"] body .re-aj-search-wrap-results {
  background:   #1e2130 !important;
  border-color: #2e3245 !important;
  color:        #e2e4ec !important;
}

/* Splash-Suche (Vollbild-Lupe mobil) */
html[data-theme="dark"] body #rhSplashSearch,
html[data-theme="dark"] body .search-header-contents {
  background: rgba(19,23,32,0.97) !important;
}
html[data-theme="dark"] body .search-header-contents .search-form input {
  background:   #252838 !important;
  border-color: #2e3245 !important;
  color:        #e2e4ec !important;
}

/* ---------- 6. BILDER & BILDUNTERSCHRIFTEN ---------- */
html[data-theme="dark"] body dl dd,
html[data-theme="dark"] body figcaption,
html[data-theme="dark"] body .wp-caption-text {
    color: #b0b8c8 !important;
}

html[data-theme="dark"] body img {
    filter: brightness(0.85) contrast(1.1) !important;
    transition: filter 0.3s ease !important;
}
html[data-theme="dark"] body img:hover {
    filter: brightness(1) contrast(1) !important;
}

/* ---------- 7. KATEGORIE-MENÜ ---------- */
[data-theme="dark"] .menu-container {
  background-color: rgba(30,33,48,0.95) !important;
  border-bottom-color: #2e3245 !important;
}
[data-theme="dark"] .menu-button {
  background: rgba(255,255,255,0.06) !important;
  color: #e2e4ec !important;
  border-color: #2e3245 !important;
}
[data-theme="dark"] .menu-button:hover {
  background: rgba(77,166,255,0.15) !important;
  color: #4da6ff !important;
}
[data-theme="dark"] .menu-button i { color: #4da6ff !important; }

/* ---------- 8. FILTER-TABS ---------- */
[data-theme="dark"] .re_filtersort_btn.active,
[data-theme="dark"] span.active.re_filtersort_btn {
  background: #69be28 !important;
  color: #fff !important;
}
[data-theme="dark"] .re_filtersort_btn:not(.active) {
  background: #252838 !important;
  color: #9aa3b2 !important;
  border-color: #2e3245 !important;
}

/* ---------- 9. HAUPT-WRAPPER ---------- */
[data-theme="dark"] .rh-outer-wrap,
[data-theme="dark"] .rh-content-wrap,
[data-theme="dark"] .rh-content-wrap.clearfix,
[data-theme="dark"] .rh-container,
[data-theme="dark"] .rh-container.def,
[data-theme="dark"] .rh-container.clearfix,
[data-theme="dark"] .main-side,
[data-theme="dark"] .main-side.page,
[data-theme="dark"] #content,
[data-theme="dark"] #content.main-side {
  background: #131720 !important;
}

/* ---------- 10. DEAL-KARTEN ---------- */
[data-theme="dark"] .news-community,
[data-theme="dark"] .rh_offer_list {
  background: #1e2130 !important;
  border-left-color: #2e3245 !important;
  border-top-color: #2e3245 !important;
  border-right-color: #252838 !important;
  border-bottom-color: #252838 !important;
}
[data-theme="dark"] .news-community .news-title a,
[data-theme="dark"] .news-community h2 a,
[data-theme="dark"] .news-community h3 a,
[data-theme="dark"] .rh_offer_list .news-title a,
[data-theme="dark"] .newsdetail.newstitleblock {
  color: #e2e4ec !important;
}
[data-theme="dark"] .news-community p,
[data-theme="dark"] .rh_offer_list p { color: #b0b8c8 !important; }
[data-theme="dark"] .post-meta,
[data-theme="dark"] .post-meta a,
[data-theme="dark"] .post-meta span,
[data-theme="dark"] .rh-post-utitle,
[data-theme="dark"] .news-community .post-meta-bottom,
[data-theme="dark"] .news-community .post-meta-bottom a,
[data-theme="dark"] .meta.post-meta { color: #6b7a99 !important; }

/* ---------- 11. EINZELPOST-SEITE ---------- */
[data-theme="dark"] .rh-post-wrapper,
[data-theme="dark"] [class*="rh_post_layout_"],
[data-theme="dark"] .rh-post-content-wrap,
[data-theme="dark"] .entry-content,
[data-theme="dark"] .post-content,
[data-theme="dark"] .single-content {
  background: #1e2130 !important;
}
[data-theme="dark"] .rh-cat-list-title,
[data-theme="dark"] .title_single_area,
[data-theme="dark"] .deal-actionbar,
[data-theme="dark"] .wpsm_score_box.buttons_col,
[data-theme="dark"] .priced_block,
[data-theme="dark"] .priced_block.clearfix {
  background: transparent !important;
}

/* ---------- 12. ÜBERSCHRIFTEN, TEXT & LISTEN ---------- */
[data-theme="dark"] h1,
[data-theme="dark"] h2,
[data-theme="dark"] h3,
[data-theme="dark"] h4,
[data-theme="dark"] h5,
[data-theme="dark"] h6 { color: #e2e4ec !important; }

[data-theme="dark"] p { color: #b0b8c8 !important; }

/* FIX: Listen (ul, ol, li) in Posts/Seiten hell machen */
[data-theme="dark"] .rh-post-wrapper li,
[data-theme="dark"] .entry-content li,
[data-theme="dark"] .post-content li,
[data-theme="dark"] .rh-post-wrapper ul li,
[data-theme="dark"] .rh-post-wrapper ol li,
[data-theme="dark"] .post ul li,
[data-theme="dark"] .post ol li,
[data-theme="dark"] .page ul li,
[data-theme="dark"] .page ol li {
  color: #b0b8c8 !important;
  background: transparent !important;
}

/* ---------- 13. PREISE ---------- */
[data-theme="dark"] .rh_regular_price,
[data-theme="dark"] .rh_regular_price * { color: #66bb6a !important; }
[data-theme="dark"] .price_count del,
[data-theme="dark"] del, [data-theme="dark"] s {
  color: #5a6070 !important;
  opacity: 0.9;
}
[data-theme="dark"] .discount-badge,
[data-theme="dark"] .rh-discount-percentage,
[data-theme="dark"] .re-percent-badge {
  background: #1e4d20 !important;
  color: #66bb6a !important;
}

/* ---------- 14. BUTTONS ---------- */
[data-theme="dark"] .wpsm-button:not(.btn_offer_block):not(.re_track_btn):not(.rehub_offer_btn):not(.csspopuptrigger),[data-theme="dark"] .wp-block-button__link{background-color:#4da6ff !important;color:#0a0e1a !important;}
.expired-report .wpsm-button,[data-theme="dark"] .expired-report .wpsm-button{background-color:#d32f2f !important;color:#ffffff !important;border:none !important;}
.expired-report .wpsm-button:hover,[data-theme="dark"] .expired-report .wpsm-button:hover{background-color:#b22222 !important;}

[data-theme="dark"] .cat-tag {
    background: #252838 !important;
    color: #e2e4ec !important;
    border: 1px solid #2e3245 !important;
}
[data-theme="dark"] .shop-tag {
    background: #1c3f73 !important;
    color: #dbeafe !important;
    border: 1px solid #3b82f6 !important;
}
[data-theme="dark"] .shop-tag i {
    color: #ffffff !important;
    margin-right: 8px;
}
[data-theme="dark"] .rh-cat-label-title,
[data-theme="dark"] .rh-label-string {
  background: #1e4d20 !important;
  color: #66bb6a !important;
}
[data-theme="dark"] .start-date{background:#1c3f73!important;color:#dbeafe!important;border:1px solid #3b82f6!important;}

/* ---------- 15. SIDEBAR ---------- */
[data-theme="dark"] .sidebar .widget,
[data-theme="dark"] .widget,
[data-theme="dark"] .rehub_tabsajax_widget-2,
[data-theme="dark"] .ajaxed_post_widget {
  background: #1e2130 !important;
  border-color: #2e3245 !important;
}
[data-theme="dark"] .widget *,
[data-theme="dark"] .sidebar .widget * { color: #b0b8c8; }
[data-theme="dark"] .widget a,
[data-theme="dark"] .sidebar a { color: #4da6ff !important; }
[data-theme="dark"] .widget h2,
[data-theme="dark"] .widget h3,
[data-theme="dark"] .widget .title {
  color: #e2e4ec !important;
  border-bottom-color: #2e3245 !important;
}
[data-theme="dark"] .tabsajax .tab-nav li a,
[data-theme="dark"] .widget.tabsajax .tabs-nav li a {
  background: #252838 !important;
  color: #9aa3b2 !important;
  border-color: #2e3245 !important;
}
[data-theme="dark"] .tabsajax .tab-nav li.active a,
[data-theme="dark"] .widget.tabsajax .tabs-nav li.active a {
  background: #69be28 !important;
  color: #fff !important;
}
[data-theme="dark"] .sidebar .item-small-news {
  border-bottom-color: #2e3245 !important;
  background: transparent !important;
}
[data-theme="dark"] .sidebar .item-small-news a { color: #d0d8e8 !important; }
[data-theme="dark"] .sidebar .item-small-news .rh_regular_price { color: #66bb6a !important; }

[data-theme="dark"] .sidebar .item-small-news .simple_price_count.greencolor { color: #66bb6a !important; }

/* ---------- 16. TABELLEN ---------- */
[data-theme="dark"] table { background: #1e2130 !important; color: #e2e4ec !important; }
[data-theme="dark"] table th { background: #252838 !important; color: #e2e4ec !important; border-color: #2e3245 !important; }
[data-theme="dark"] table td { border-color: #2e3245 !important; color: #b0b8c8 !important; }
[data-theme="dark"] table tbody tr:nth-child(even) { background: #222535 !important; }
[data-theme="dark"] table tr:hover { background: rgba(255,255,255,0.03) !important; }

/* ---------- 17. FORMULARFELDER ---------- */
[data-theme="dark"] input,
[data-theme="dark"] textarea,
[data-theme="dark"] select,
[data-theme="dark"] #myInput {
  background: #1e2130 !important;
  border-color: #2e3245 !important;
  color: #e2e4ec !important;
}
[data-theme="dark"] input::placeholder,
[data-theme="dark"] textarea::placeholder { color: #6b7a99 !important; }

/* ---------- 18. SCORE BOX ---------- */
[data-theme="dark"] .wpsm_score_box,
[data-theme="dark"] [class*="score_box"],
[data-theme="dark"] .rh_score_box {
  background: #1e2130 !important;
  border-color: #2e3245 !important;
  color: #e2e4ec !important;
}

/* ---------- 19. FOOTER ---------- */
[data-theme="dark"] .theme_footer,[data-theme="dark"] footer:not(.footer-bottom),[data-theme="dark"] #footer,[data-theme="dark"] .footer:not(.footer-bottom){background:#0e1118 !important;border-top-color:#2e3245 !important;color:#9aa3b2 !important;}
[data-theme="dark"] footer:not(.footer-bottom) a,[data-theme="dark"] .footer:not(.footer-bottom) a{color:#6b93c4 !important;}
[data-theme="dark"] footer:not(.footer-bottom) a:hover{color:#4da6ff !important;}
[data-theme="dark"] footer h3,[data-theme="dark"] footer h4,[data-theme="dark"] .footer_widget:not(.footer-bottom *) h3{color:#e2e4ec !important;}
[data-theme="dark"] .footer_widget:not(.footer-bottom *) ul li{border-color:#2e3245 !important;}
[data-theme="dark"] .footer-bottom.dark_style,[data-theme="dark"] .footer-bottom.dark_style .rh-container,[data-theme="dark"] .footer-bottom.dark_style .col_wrap_three,[data-theme="dark"] .footer-bottom.dark_style .footer_widget,[data-theme="dark"] .footer-bottom.dark_style .widget,[data-theme="dark"] .footer_most_bottom{background-color:transparent !important;background:transparent !important;}
[data-theme="dark"] .footer-bottom.dark_style{background-color:#000000 !important;background:#000000 !important;border:none !important;}
[data-theme="dark"] .footer-bottom.dark_style,[data-theme="dark"] .footer-bottom.dark_style .footer_widget,[data-theme="dark"] .footer-bottom.dark_style p,[data-theme="dark"] .footer-bottom.dark_style div,[data-theme="dark"] .footer_most_bottom,[data-theme="dark"] .footer_most_bottom *{color:#f5f5f5 !important;}
[data-theme="dark"] .footer-bottom.dark_style .title,[data-theme="dark"] .footer-bottom.dark_style h2,[data-theme="dark"] .footer-bottom.dark_style a,[data-theme="dark"] .footer-bottom.dark_style ul li a{color:#f1f1f1 !important;border-bottom:none !important;}
[data-theme="dark"] .footer-bottom.dark_style a:hover{color:#4da6ff !important;text-decoration:underline !important;}
[data-theme="dark"] .footer-bottom.dark_style ul li{border-color:rgba(255,255,255,0.1) !important;}

/* ---------- 20. MOBILE BANNER & LINKS ---------- */
[data-theme="dark"] #mobile-app-banner {
  background: rgba(14,17,24,0.96) !important;
  border-top-color: #2e3245 !important;
  color: #e2e4ec !important;
}
[data-theme="dark"] a { color: #6b93c4; }
[data-theme="dark"] a:hover { color: #4da6ff; }
[data-theme="dark"] .news-community .news-title a,
[data-theme="dark"] .magazinenews .magazinenews-title a { color: #e2e4ec !important; }
[data-theme="dark"] .news-community .news-title a:hover { color: #4da6ff !important; }

/* ---------- 21. ABGELAUFEN & PAGINIERUNG ---------- */
[data-theme="dark"] .rh-expired-notice { background: #2a0e0e !important; color: #ff8a80 !important; border-color: #5c1a1a !important; }
[data-theme="dark"] .abgelaufenframe { background: #1e2130 !important; border-color: #2e3245 !important; }
[data-theme="dark"] .abgelaufentitle { color: #ef5350 !important; }
[data-theme="dark"] .pagination a,
[data-theme="dark"] .page-numbers { background: #1e2130 !important; color: #9aa3b2 !important; border-color: #2e3245 !important; }
[data-theme="dark"] .pagination .current,
[data-theme="dark"] .page-numbers.current { background: #69be28 !important; color: #fff !important; }

/* ---------- 22. WPSM UPDATE / POPUP ---------- */
[data-theme="dark"] .wpsm_update { background: #1c3f73 !important; color: #dbeafe !important; border: 1px solid #3b82f6 !important; }
[data-theme="dark"] .csspopup { background: #1e2130 !important; border-color: #2e3245 !important; color: #e2e4ec !important; }

/* ---------- 23. AUTOR-BOX / KOMMENTARE ---------- */
[data-theme="dark"] .saboxplugin-wrap,
[data-theme="dark"] [class*="sabox"] { background: #1e2130 !important; border-color: #2e3245 !important; color: #b0b8c8 !important; }
[data-theme="dark"] .saboxplugin-authorname a { color: #4da6ff !important; }
[data-theme="dark"] .wpd-form-wrap,
[data-theme="dark"] [class*="wpd-"],
[data-theme="dark"] [class*="wpdiscuz-"] { background: #1e2130 !important; border-color: #2e3245 !important; color: #b0b8c8 !important; }
[data-theme="dark"] .wpd-form-wrap input,
[data-theme="dark"] .wpd-form-wrap textarea,
[data-theme="dark"] .ql-texteditor,
[data-theme="dark"] .ql-editor { background: #252838 !important; border-color: #2e3245 !important; color: #e2e4ec !important; }
[data-theme="dark"] .comment-list li,
[data-theme="dark"] .comment-body,
[data-theme="dark"] #comments { background: #1e2130 !important; border-color: #2e3245 !important; color: #b0b8c8 !important; }

/* ---------- 24. SONSTIGES ---------- */
[data-theme="dark"] hr,
[data-theme="dark"] .divider { border-color: #2e3245 !important; }
[data-theme="dark"] .spartipp-box { background: #1e2130 !important; border-left-color: #4da6ff !important; }
[data-theme="dark"] .top-kategorie-item { background: #1e2130 !important; color: #e2e4ec !important; }
[data-theme="dark"] .ratings-card { background: #1e2130 !important; }
[data-theme="dark"] .ratings-table tbody tr { background: #1e2130 !important; }
[data-theme="dark"] .ratings-table tbody tr:hover { background: #252838 !important; }
[data-theme="dark"] .ratings-table td { border-bottom-color: #2e3245 !important; }
[data-theme="dark"] .ratings-table .brand-cell { color: #e2e4ec !important; }
[data-theme="dark"] .tagcloud a { background: #252838 !important; color: #9aa3b2 !important; border-color: #2e3245 !important; }
[data-theme="dark"] .tagcloud a:hover { background: #4da6ff !important; color: #0a0e1a !important; }

/* ---------- 25. NOTFALL: inline-style overrides ---------- */
[data-theme="dark"] [style*="background:#fff"],
[data-theme="dark"] [style*="background: #fff"],
[data-theme="dark"] [style*="background-color:#fff"],
[data-theme="dark"] [style*="background-color: #fff"],
[data-theme="dark"] [style*="background:white"],
[data-theme="dark"] [style*="background: white"],
[data-theme="dark"] [style*="background:#ffffff"],
[data-theme="dark"] [style*="background: #ffffff"],
[data-theme="dark"] [style*="background-color:#ffffff"],
[data-theme="dark"] [style*="background-color: #ffffff"] {
  background: #1e2130 !important;
  background-color: #1e2130 !important;
}
[data-theme="dark"] [style*="color:#111"],
[data-theme="dark"] [style*="color: #111"],
[data-theme="dark"] [style*="color:#000"],
[data-theme="dark"] [style*="color: #000"],
[data-theme="dark"] [style*="color:#333"],
[data-theme="dark"] [style*="color: #333"],
[data-theme="dark"] [style*="color:#1d2521"],
[data-theme="dark"] [style*="color: #1d2521"] { color: #e2e4ec !important; }

/* ---------- 26. INHALTSVERZEICHNIS (EZ-TOC) ---------- */
html[data-theme="dark"] body #ez-toc-container,
html[data-theme="dark"] body .ez-toc-container { background: #252838 !important; border: 1px solid #2e3245 !important; }
html[data-theme="dark"] body #ez-toc-container .ez-toc-title { color: #ffffff !important; }
html[data-theme="dark"] body #ez-toc-container ul.ez-toc-list li a { color: #e2e4ec !important; }
html[data-theme="dark"] body #ez-toc-container ul.ez-toc-list li a:hover { color: #4da6ff !important; }
html[data-theme="dark"] body #ez-toc-container .ez-toc-icon-toggle-span svg { fill: #9aa3b2 !important; color: #9aa3b2 !important; }

/* ---------- 27. SIDEBAR WIDGETS ---------- */
[data-theme="dark"] .widget.tabsajax .ajaxed_post_widget,
[data-theme="dark"] .widget.tabsajax .wpsm_recent_posts_list,
[data-theme="dark"] .widget.tabsajax .re_filter_panel,
[data-theme="dark"] .item-small-news { background-color: transparent !important; background: transparent !important; border-color: #2e3245 !important; }
html[data-theme="dark"] body .re_filter_panel ul.re_filter_ul,
html[data-theme="dark"] body .re_filter_ul { background: #252838 !important; background-color: #252838 !important; border: 1px solid #2e3245 !important; border-radius: 4px !important; overflow: hidden; }
html[data-theme="dark"] body .re_filter_panel ul.re_filter_ul li,
html[data-theme="dark"] body .re_filter_panel ul.re_filter_ul li span,
html[data-theme="dark"] body .re_filter_ul li span.re_filtersort_btn { background: #252838 !important; background-color: #252838 !important; color: #9aa3b2 !important; border-color: #2e3245 !important; }
html[data-theme="dark"] body .re_filter_panel ul.re_filter_ul li span.active,
html[data-theme="dark"] body .re_filter_ul li span.active.re_filtersort_btn { background: #1e2130 !important; background-color: #1e2130 !important; color: #4da6ff !important; border-color: #2e3245 !important; }
html[data-theme="dark"] body .blackcolor,
html[data-theme="dark"] body .sidebar .blackcolor { color: #e2e4ec !important; }
html[data-theme="dark"] body .sidebar [id*="ratingwidget"],
html[data-theme="dark"] body .sidebar [class*="ratingwidget"],
html[data-theme="dark"] body .sidebar [id*="stars"],
html[data-theme="dark"] body .sidebar > * { background-color: transparent !important; }
html[data-theme="dark"] body #secondary,
html[data-theme="dark"] body .sidebar-widget-area,
html[data-theme="dark"] body .sidebar { background: #131720 !important; }

/* 28. "Schnäppchen 2026"-Bereich (.pk-wrapper-ultimate) */
[data-theme="dark"] .pk-wrapper-ultimate{background:#131720 !important;color:#9aa3b2 !important;}
[data-theme="dark"] .pk-hero,[data-theme="dark"] .pk-category-card,[data-theme="dark"] .pk-media-logos,[data-theme="dark"] .pk-wrapper-ultimate ul li{background:#1e2130 !important;border-color:#2e3245 !important;color:#9aa3b2 !important;box-shadow:0 4px 12px rgba(0,0,0,0.5) !important;}
[data-theme="dark"] .pk-wrapper-ultimate h1,[data-theme="dark"] .pk-page-title{background:none !important;-webkit-text-fill-color:#e2e4ec !important;color:#e2e4ec !important;}
[data-theme="dark"] .pk-wrapper-ultimate h2,[data-theme="dark"] .pk-wrapper-ultimate h3,[data-theme="dark"] .pk-category-card h3,[data-theme="dark"] .pk-media-logos-title{color:#e2e4ec !important;}
[data-theme="dark"] .pk-wrapper-ultimate p,[data-theme="dark"] .pk-category-card p,[data-theme="dark"] .whatsapp-image-container dd,[data-theme="dark"] .pk-media-logos-text{color:#9aa3b2 !important;}
[data-theme="dark"] .pk-wrapper-ultimate a{color:#4da6ff !important;}
[data-theme="dark"] .pk-wrapper-ultimate strong{color:#e2e4ec !important;}
[data-theme="dark"] .info-box--tip{background:rgba(102,187,106,0.1) !important;border:2px solid #2d5a2e !important;box-shadow:none !important;}
[data-theme="dark"] .info-box--award{background:rgba(77,166,255,0.1) !important;border:2px solid #2e3245 !important;box-shadow:none !important;}
[data-theme="dark"] .pk-wrapper-ultimate blockquote{background:#1e2130 !important;border-left-color:#4da6ff !important;color:#e2e4ec !important;box-shadow:0 4px 12px rgba(0,0,0,0.5) !important;}
[data-theme="dark"] .pk-wrapper-ultimate ul li::before{background:#4da6ff !important;box-shadow:0 0 0 4px rgba(77,166,255,0.2) !important;}
[data-theme="dark"] .pk-wrapper-ultimate h2::after{background:#4da6ff !important;}
[data-theme="dark"] .pk-category-card .pk-card-button, [data-theme="dark"] .pk-cta-button { background: #1e2130 !important; color: #4da6ff !important; border: 2px solid #4da6ff !important; box-shadow: 0 0 15px rgba(77,166,255,0.15) !important; }
[data-theme="dark"] .pk-category-card .pk-card-button:hover, [data-theme="dark"] .pk-cta-button:hover { background: #4da6ff !important; color: #0a0e1a !important; box-shadow: 0 0 25px rgba(77,166,255,0.4) !important; transform: translateY(-2px); }
[data-theme="dark"] .pk-wrapper-ultimate::before,[data-theme="dark"] .pk-wrapper-ultimate::after{opacity:0.02 !important;}
[data-theme="dark"] .pk-media-logos-container img{filter:grayscale(100%) brightness(200%) opacity(0.5) !important;}
[data-theme="dark"] .pk-media-logos-container img:hover{filter:grayscale(0%) brightness(100%) opacity(1) !important;}
[data-theme="dark"] .wpsm-accordion-item{background:#1e2130 !important;border:1px solid #2e3245 !important;border-radius:8px !important;overflow:hidden !important;margin-bottom:10px !important;}
[data-theme="dark"] .wpsm-accordion-trigger{background:#252838 !important;color:#e2e4ec !important;border-bottom:1px solid #2e3245 !important;}
[data-theme="dark"] .wpsm-accordion-trigger:hover{background:#2e3245 !important;color:#4da6ff !important;}
[data-theme="dark"] .wpsm-accordion .accordion-content{background:#1e2130 !important;border:none !important;}
[data-theme="dark"] .wpsm-accordion .accordion-content div,[data-theme="dark"] .wpsm-accordion .accordion-content p{color:#9aa3b2 !important;}
[data-theme="dark"] .wpsm-accordion-trigger::after,[data-theme="dark"] .wpsm-accordion-trigger::before{color:#4da6ff !important;}

/* ---------- 29. Icon & Tags ---------- */
[data-theme="dark"] .rhicon{color:#ffffff !important;}
[data-theme="dark"] .tags p{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-bottom:0;}
[data-theme="dark"] .tags-title-post{background:#0e1118 !important;color:#ffffff !important;padding:6px 10px !important;font-weight:800 !important;text-transform:uppercase !important;font-size:0.85rem !important;border-radius:3px !important;line-height:1 !important;}
[data-theme="dark"] .tags a[rel="tag"]{background:transparent !important;border:1px solid #2e3245 !important;color:#b0b8c8 !important;padding:5px 12px !important;text-decoration:none !important;font-size:0.9rem !important;border-radius:3px !important;line-height:1 !important;transition:all 0.2s ease !important;}
[data-theme="dark"] .tags a[rel="tag"]:hover{background:#4da6ff !important;border-color:#4da6ff !important;color:#0a0e1a !important;}

/* ---------- 30. Shop Sidebar & Kategorien ---------- */
[data-theme="dark"] .rh-cartbox, 
[data-theme="dark"] .rh_category_tab { background-color: #1a1d2b !important; border: 1px solid #2e3245 !important; color: #e2e4ec !important; }
[data-theme="dark"] .rh_category_tab .title { color: #ffffff !important; border-bottom: 1px solid #2e3245 !important; }
[data-theme="dark"] ul.cat_widget_custom li a { color: #b0b8c8 !important; }
[data-theme="dark"] ul.cat_widget_custom li a:hover { color: #4da6ff !important; }
[data-theme="dark"] .rh-cartbox .lineheight20 { color: #b0b8c8 !important; }
[data-theme="dark"] .rh_gr_middle_desc { color: #cbd5e1 !important; }
[data-theme="dark"] .dealstore_tax_second_desc,
[data-theme="dark"] .dealstore_tax_second_desc p,
[data-theme="dark"] .dealstore_tax_second_desc li { color: #cbd5e1 !important; }
[data-theme="dark"] .dealstore_tax_second_desc h2,
[data-theme="dark"] .dealstore_tax_second_desc h3 { color: #ffffff !important; margin-top: 25px; }
[data-theme="dark"] .dealstore_tax_second_desc strong { color: #ffffff !important; }
[data-theme="dark"] .dealstore_tax_second_desc a { color: #4da6ff !important; text-decoration: underline; }
[data-theme="dark"] .dealstore_tax_second_desc ul, 
[data-theme="dark"] .dealstore_tax_second_desc ol { border-color: #2e3245 !important; }

/* ---------- 31. Kategorie-Grid Dealboxen ---------- */
[data-theme="dark"] .masonry_grid_fullwidth .small_post { background-color: #1a1d2b !important; border: 1px solid #2e3245 !important; border-radius: 8px !important; padding: 15px !important; box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.2), 0 2px 4px -1px rgba(0, 0, 0, 0.1) !important; }
[data-theme="dark"] .masonry_grid_fullwidth .small_post h2 a { color: #ffffff !important; }
[data-theme="dark"] .masonry_grid_fullwidth .small_post h2 a:hover { color: #4da6ff !important; }
[data-theme="dark"] .masonry_grid_fullwidth .small_post p { color: #cbd5e1 !important; }
[data-theme="dark"] .masonry_grid_fullwidth .small_post .cats_def a,
[data-theme="dark"] .masonry_grid_fullwidth .small_post .post-meta,
[data-theme="dark"] .masonry_grid_fullwidth .small_post .post-meta a { color: #b0b8c8 !important; }
[data-theme="dark"] .masonry_grid_fullwidth .small_post .priced_block { background-color: #252838 !important; border-top: 1px solid #2e3245 !important; margin: 15px -15px -15px -15px !important; padding: 15px !important; border-radius: 0 0 8px 8px !important; }
[data-theme="dark"] .masonry_grid_fullwidth .small_post .rh_regular_price { color: #ffffff !important; }
[data-theme="dark"] .masonry_grid_fullwidth .small_post .price_count del { color: #737373 !important; }
/* --- Gutschein-Code Box im Dark-Green-Stil --- */
html[data-theme="dark"] .rehub_offer_coupon,
html[data-theme="dark"] .rehub_offer_coupon.not_masked_coupon {
    background-color: rgba(105, 190, 40, 0.1) !important; /* Dunkles, transparentes Grün */
    color: #ffffff !important; 
    border: 1px dashed #69be28 !important; /* Grüner gestrichelter Rand */
}

/* Scheren-Icon weiß halten */
html[data-theme="dark"] .rehub_offer_coupon i.rhicon {
    color: #ffffff !important; 
}
[data-theme="dark"] .masonry_grid_fullwidth .small_post social_icon { background: rgba(0, 0, 0, 0.6) !important; border-radius: 4px !important; }

/* ---------- 32. Rechnung Tabelle Handy/Internet ---------- */
html[data-theme="dark"] .rechnung-container,
html[data-theme="dark"] .rechnung-tabelle td { background-color: #1e1e1e !important; color: #e0e0e0 !important; }
html[data-theme="dark"] .rechnung-trennlinie { border-top: 3px solid #666 !important; }
html[data-theme="dark"] .rechnung-betrag, 
html[data-theme="dark"] .rechnung-anzahl, 
html[data-theme="dark"] .rechnung-ergebnis, 
html[data-theme="dark"] .rechnung-gesamt, 
html[data-theme="dark"] .rechnung-monat { color: #ffffff !important; }
html[data-theme="dark"] .positiv .rechnung-betrag { color: #4ade80 !important; }
html[data-theme="dark"] .negativ .rechnung-betrag, 
html[data-theme="dark"] .negativ .rechnung-anzahl, 
html[data-theme="dark"] .negativ .rechnung-ergebnis { color: #ff6b6b !important; }
html[data-theme="dark"] .rechnung-gesamt, 
html[data-theme="dark"] .rechnung-monat { color: #4ade80 !important; }

/* ---------- 33. WPSM Titlebox (Hardware-Highlights) ---------- */
html[data-theme="dark"] .wpsm-titlebox { border-color: #444 !important; color: #e0e0e0 !important; }
html[data-theme="dark"] .wpsm-titlebox strong { background-color: #1e1e1e !important; color: #ffffff !important; }

/* -------- Kommentar-Editor (Quill) im Dark Mode -------- */

/* 1. Die Werkzeugleiste (Toolbar) oben abdunkeln und Rahmen anpassen */
[data-theme="dark"] .ql-toolbar.ql-snow {
    background-color: #1e2130 !important; /* Hintergrundfarbe wie Deal-Karten */
    border-color: #2e3245 !important;    /* Dunkler Rahmen */
}

/* 2. Die Symbole (Icons) in der Werkzeugleiste weiß färben */
[data-theme="dark"] .ql-toolbar.ql-snow .ql-stroke {
    stroke: #ffffff !important; /* Linien-Symbole (Fett, Kursiv, Listen etc.) */
}
[data-theme="dark"] .ql-toolbar.ql-snow .ql-fill {
    fill: #ffffff !important;   /* Gefüllte Symbole (Unterstreichen, Zitat etc.) */
}

/* Hover-Effekt für die Buttons in der Toolbar */
[data-theme="dark"] .ql-toolbar.ql-snow button:hover .ql-stroke {
    stroke: #4da6ff !important; /* Blau beim Drüberfahren */
}
[data-theme="dark"] .ql-toolbar.ql-snow button:hover .ql-fill {
    fill: #4da6ff !important;   /* Blau beim Drüberfahren */
}

/* Aktiver Zustand (wenn ein Button gedrückt ist) */
[data-theme="dark"] .ql-toolbar.ql-snow button.ql-active .ql-stroke {
    stroke: #4da6ff !important;
}
[data-theme="dark"] .ql-toolbar.ql-snow button.ql-active .ql-fill {
    fill: #4da6ff !important;
}

/* 3. Das Textfeld selbst abdunkeln und die Schrift weiß machen */
[data-theme="dark"] .ql-container.ql-snow {
    background-color: #131720 !important; /* Dunkler Hintergrund (Body-Farbe) */
    border-color: #2e3245 !important;    /* Dunkler Rahmen */
    color: #e2e4ec !important;           /* Helle Schriftfarbe für den getippten Text */
}

/* Placeholder-Text ("Hallo, wie viel" etc.) aufhellen */
[data-theme="dark"] .ql-editor.ql-blank::before {
    color: #9aa3b2 !important; /* Helles Grau für den Platzhalter */
}

/* ==========================================================================
   DARK MODE FIX: Shop-Links & De-MyDealz Combo-Button
   ========================================================================== */

/* Shopname & Autor strikt auf Hellgrau zwingen (kein Blau!) */
html[data-theme="dark"] body .more-from-store-a a, html[data-theme="dark"] body .more-from-store-a strong, html[data-theme="dark"] body .pk-author-tag a { color: #b0b8c8 !important; transition: color 0.2s ease !important; }
html[data-theme="dark"] body .more-from-store-a a:hover, html[data-theme="dark"] body .pk-author-tag a:hover { color: #4da6ff !important; }
html[data-theme="dark"] body .pk-shop-author-wrap, html[data-theme="dark"] body .more-from-store-a { color: #9aa3b2 !important; }

/* Combo-Button Farben im Dark Mode */
html[data-theme="dark"] body .pk-combo-wrapper { border-color: #2e7d32 !important; }
html[data-theme="dark"] body .pk-combo-code-part { color: #ffffff !important; }
html[data-theme="dark"] body .pk-combo-btn-part { background: #2e7d32 !important; color: #ffffff !important; }

/* 3. Coupon-Teil */
html[data-theme="dark"] body .pk-combo-code-part {
    color: #ffffff !important; /* Weißer Text für den Code */
}

/* 4. Button-Teil (Kopieren & Zum Deal) an deinen Button anpassen */
html[data-theme="dark"] body .pk-combo-btn-part {
    background: #2e7d32 !important; /* Sattes Dunkelgrün für den Button! */
    color: #ffffff !important;      /* Weißer Text */
    height: 48px !important;        /* Match wrapper height */
    margin: 0 !important;           /* Reset margin, damit er bündig abschließt */
}
/* ---------- 34. TELEGRAM BOT BANNER ---------- */
[data-theme="dark"] #telegram-keyword-bot-banner{background-color:var(--surface)!important;color:var(--text)!important;box-shadow:var(--elev-3)!important;border-top-color:#e63946!important;}
[data-theme="dark"] .banner-icon{background:var(--surface)!important;box-shadow:var(--elev-1)!important;}
[data-theme="dark"] #telegram-keyword-bot-banner .close-btn{color:var(--text-subtle)!important;}
[data-theme="dark"] #telegram-keyword-bot-banner .close-btn:hover{color:var(--text-on-dark)!important;}
[data-theme="dark"] #telegram-keyword-bot-banner .social-title{color:var(--text-subtle)!important;}
[data-theme="dark"] #telegram-keyword-bot-banner .social-icons a img{filter:invert(1);}
[data-theme="dark"] .social-section{border-top-color:var(--border-color)!important;}


/* Darkmode Anpassungen für die neue Nav */

[data-theme="dark"] .nav-hamburger { background:#1e2130!important; color:#e2e4ec!important; border-color:#2e3245!important; }
[data-theme="dark"] .nav-search input { background:#1e2130!important; border-color:#2e3245!important; color:#e2e4ec!important; }
[data-theme="dark"] .user-dropdown-intop-menu { background:#1e2130!important; border:1px solid #2e3245!important; }
[data-theme="dark"] .user-name-and-badges-intop { color:#fff!important; border-color:#2e3245!important; }
[data-theme="dark"] .user-dropdown-intop-menu a { color:#e2e4ec!important; }
[data-theme="dark"] .user-dropdown-intop-menu a:hover { background:#252838!important; color:#4da6ff!important; }
[data-theme="dark"] .mob-menu { background:#131720!important; border-right:1px solid #2e3245; }
[data-theme="dark"] .mob-header { border-bottom-color:#2e3245!important; }
[data-theme="dark"] .mob-header-title { color:#fff!important; }
[data-theme="dark"] .mob-close { color:#9aa3b2!important; }
[data-theme="dark"] .mob-section { border-bottom-color:#2e3245!important; }
[data-theme="dark"] .mob-toggle, [data-theme="dark"] .mob-link { color:#e2e4ec!important; }
[data-theme="dark"] .mob-toggle.open { background:#1e2130!important; color:#4da6ff!important; }
[data-theme="dark"] .mob-link i, [data-theme="dark"] .mob-toggle .tl i, [data-theme="dark"] .mob-dm-label i { color:#9aa3b2!important; }
[data-theme="dark"] .mob-toggle.open .ch { color:#4da6ff!important; }
[data-theme="dark"] .mob-sub { background:#181c26!important; border-left-color:#4da6ff!important; }
[data-theme="dark"] .mob-sub a { color:#9aa3b2!important; }
[data-theme="dark"] .mob-dm-label { color:#e2e4ec!important; }
[data-theme="dark"] .mob-dm-switcher { background:#1e2130!important; }
[data-theme="dark"] .mob-dm-switcher button.active { background:#2e3245!important; color:#fff!important; }
[data-theme="dark"] .mob-search-bar { background:#131720!important; }
@media (max-width:991px) { [data-theme="dark"] .nav-hamburger { background:transparent!important; border:none!important; color:#fff!important; } }

/* 4. Darkmode-Anpassungen */
[data-theme="dark"] .user-dropdown-intop-menu { background: #1e2130; box-shadow: 0 8px 25px rgba(0,0,0,0.4); }
[data-theme="dark"] .user-dropdown-intop-menu a { color: #e2e4ec; }
[data-theme="dark"] .user-dropdown-intop-menu a:hover { background: #2e3245; }
[data-theme="dark"] .user-name-and-badges-intop { color: #fff; border-color: #2e3245!important; }
[data-theme="dark"] .mob-dm-switcher { background: #1e2130; }
[data-theme="dark"] .mob-dm-switcher button.active { background: #2e3245; color: #fff; }
[data-theme="dark"] .mob-dm-wrap { border-color: #2e3245; }
[data-theme="dark"] .mob-dm-label { color: #e2e4ec; }

[data-theme="dark"] .nav-main, [data-theme="dark"] .mob-menu, [data-theme="dark"] .mob-search-bar{background:#131720!important}
[data-theme="dark"] .mob-header, [data-theme="dark"] .mob-section{border-color:#2e3245!important}
[data-theme="dark"] .mob-toggle, [data-theme="dark"] .mob-link, [data-theme="dark"] .mob-dm-label{color:#e2e4ec!important}
[data-theme="dark"] .mob-toggle.open{background:#1e2130!important}
[data-theme="dark"] .mob-sub{background:#181c26!important}
[data-theme="dark"] .mob-dm-switcher{background:#1e2130}
[data-theme="dark"] .mob-dm-switcher button.active{background:#2e3245;color:#fff}
[data-theme="dark"] .mob-dm-switcher button{color:#888}

[data-theme="dark"] .authorsidebar.whitebg,
[data-theme="dark"] .authorsidebar .whitebg,
[data-theme="dark"] .authorsidebar .profile-stats > div{background:#1e2130!important;color:#e2e4ec!important;border-color:#2e3245!important;}

/* --- HTML Info-Tooltip (Dark Mode) --- */
[data-theme="dark"] .pk-tooltip-content { background: #1e2130 !important; border-color: #2e3245 !important; box-shadow: 0 4px 15px rgba(0,0,0,0.4) !important; }
[data-theme="dark"] .pk-tooltip-content::after { border-color: #1e2130 transparent transparent transparent !important; }
[data-theme="dark"] .pk-tooltip-content::before { border-color: #2e3245 transparent transparent transparent !important; }
[data-theme="dark"] .pk-tooltip-content strong { color: #ffffff !important; }
[data-theme="dark"] .pk-tooltip-content span { color: #9aa3b2 !important; }
[data-theme="dark"] .pk-tooltip-icon { color: #9aa3b2 !important; }
[data-theme="dark"] .pk-tooltip-wrapper:hover .pk-tooltip-icon { color: #ffffff !important; }

/* Spezieller Fix für Dark Mode: Erlaubt den Icons, die Farbe des Textes (oder des Hovers) anzunehmen */
[data-theme="dark"] .pk-meta-bar .rhicon { color: inherit !important; }

/* --- Dark Mode Ergänzung für Vergrößern --- */
[data-theme="dark"] .pk-zoom-btn { background: #1e2130 !important; color: #e2e4ec !important; border-color: #2e3245 !important; }
[data-theme="dark"] .pk-zoom-btn:hover { background: #252838 !important; }
/* Hintergrund im Dark Mode: SCHWARZ */
[data-theme="dark"] .pk-lightbox { background: rgba(0,0,0,0.9) !important; }
/* X-Button im Dark Mode: Weiß */
[data-theme="dark"] .pk-lightbox-close { color: #fff !important; }

/* Kurzer Fix für FAQ Sichtbarkeit Gutenberg? */
[data-theme="dark"] summary { color: #e2e4ec !important; }
[data-theme="dark"] details { color: #b0b8c8 !important; }

/* --- Dark Mode Hover Fix für Meta-Bar (Kommentare & Teilen) --- */
[data-theme="dark"] .pk-meta-bar .pk-meta-item a:hover, 
[data-theme="dark"] .pk-meta-bar .pk-meta-item a:hover *, 
[data-theme="dark"] .pk-meta-bar .pk-share-icon:hover, 
[data-theme="dark"] .pk-meta-bar .pk-share-icon:hover * { 
    color: var(--brand, #4da6ff) !important; 
}
/* --- Dark Mode Hover Fix für Meta-Bar (Kommentare, Teilen & Merken) --- */
[data-theme="dark"] .pk-meta-bar .pk-meta-item a:hover, [data-theme="dark"] .pk-meta-bar .pk-meta-item a:hover *, [data-theme="dark"] .pk-meta-bar .pk-share-icon:hover, [data-theme="dark"] .pk-meta-bar .pk-share-icon:hover *, [data-theme="dark"] .pk-wishlist-wrap .heartplus:hover, [data-theme="dark"] .pk-wishlist-wrap .heartplus:hover *, [data-theme="dark"] .pk-wishlist-wrap .heartplus.alreadyfav, [data-theme="dark"] .pk-wishlist-wrap .heartplus.alreadyfav * { color: var(--brand, #4da6ff) !important; }

/* ---------- HINWEIS-BOX ---------- */
[data-theme="dark"] .hinweis{background:#1e2130!important;border-color:#2e3245!important;border-left-color:#4da6ff!important;color:#e2e4ec!important} [data-theme="dark"] .hinweis p{color:#b0b8c8!important} [data-theme="dark"] .hinweis a:not(.wpsm-button){color:#4da6ff!important} [data-theme="dark"] .hinweis .hinweis-cta a{background:#2e7d32!important;color:#fff!important;border:none!important} [data-theme="dark"] .hinweis .hinweis-cta a:hover{background:#1b5e20!important}

/* --- USER DROPDOWN MENU FIX (Dark Mode - Lesbarkeit) --- */
html[data-theme="dark"] body .user-dropdown-intop-menu, html[data-theme="dark"] body .pk-test-header .user-dropdown-intop-menu { background: #1e2130 !important; box-shadow: 0 8px 25px rgba(0,0,0,0.5) !important; border: 1px solid #2e3245 !important; }
html[data-theme="dark"] body .user-name-and-badges-intop, html[data-theme="dark"] body .pk-test-header .user-name-and-badges-intop { color: #ffffff !important; border-bottom: 1px solid #2e3245 !important; }
html[data-theme="dark"] body .user-dropdown-intop-menu a, html[data-theme="dark"] body .pk-test-header .user-dropdown-intop-menu a, html[data-theme="dark"] body .user-dropdown-intop-menu a span { color: #ffffff !important; transition: background 0.2s ease, color 0.2s ease !important; }
html[data-theme="dark"] body .user-dropdown-intop-menu a:hover, html[data-theme="dark"] body .pk-test-header .user-dropdown-intop-menu a:hover, html[data-theme="dark"] body .user-dropdown-intop-menu a:hover span { background: #252838 !important; color: #4da6ff !important; }
html[data-theme="dark"] body .user-dropdown-intop-menu a i.rhicon, html[data-theme="dark"] body .pk-test-header .user-dropdown-intop-menu a i.rhicon { color: #ffffff !important; }
html[data-theme="dark"] body .user-dropdown-intop-menu a:hover i.rhicon, html[data-theme="dark"] body .pk-test-header .user-dropdown-intop-menu a:hover i.rhicon { color: #4da6ff !important; }

/* --- Login Popup Dark Mode FIX --- */
[data-theme="dark"] .mfp-content .white-popup,
[data-theme="dark"] .pm-content,
[data-theme="dark"] .rehub-login-popup { background: #1e2130 !important; border: none !important; border-radius: 12px !important; }

/* Schließen-Button (X) ohne weißen Kreis */
[data-theme="dark"] button.mfp-close { background: transparent !important; color: #e2e4ec !important; opacity: 1 !important; }

/* Texte */
[data-theme="dark"] .rehub-login-popup .re_title_inmodal, [data-theme="dark"] .rehub-login-popup label, [data-theme="dark"] .rh_custom_msg_popup, [data-theme="dark"] .rehub-login-popup strong { color: #ffffff !important; }
[data-theme="dark"] .rehub-login-popup p { color: #b0b8c8 !important; }
[data-theme="dark"] .rehub-login-popup a, [data-theme="dark"] .rehub-login-popup .color_link, [data-theme="dark"] .rehub-login-popup-footer span { color: #4da6ff !important; }
[data-theme="dark"] .rehub-login-popup-footer { border-top: 1px solid #2e3245 !important; color: #9aa3b2 !important; }

/* Eingabefelder (inkl. Browser Auto-Fill Fix) */
[data-theme="dark"] .rehub-login-popup input.re-form-input { background: #131720 !important; border: 1px solid #2e3245 !important; color: #e2e4ec !important; border-radius: 8px !important; }
[data-theme="dark"] .rehub-login-popup input:-webkit-autofill { -webkit-box-shadow: 0 0 0 30px #131720 inset !important; -webkit-text-fill-color: #e2e4ec !important; }
[data-theme="dark"] .rehub-login-popup .rehub_main_btn { width: 100% !important; background: #4da6ff !important; color: #0a0e1a !important; border-radius: 8px !important; }
[data-theme="dark"] .rehub-login-popup .rehub_main_btn:hover { background: #80c0ff !important; }

/* Social Buttons */
[data-theme="dark"] .rehub-login-popup .nsl-button-apple { background: #131720 !important; border: 1px solid #2e3245 !important; }
[data-theme="dark"] .rehub-login-popup .nsl-button-google { background: #252838 !important; border: 1px solid #2e3245 !important; }

[data-theme="dark"] .pm-close i.whitebg { background: #252838 !important; color: #e2e4ec !important; box-shadow: 0 4px 10px rgba(0,0,0,0.5) !important; }
[data-theme="dark"] .pm-close i.whitebg:hover { background: #4da6ff !important; color: #0a0e1a !important; }

[data-theme="dark"] .alphabet-filter .lightgreybg { background: #1e2130 !important; border: 1px solid #2e3245 !important; }
[data-theme="dark"] .alphabet-filter a.blackcolor { color: #e2e4ec !important; transition: color 0.2s; }
[data-theme="dark"] .alphabet-filter a.blackcolor:hover { color: #4da6ff !important; }

[data-theme="dark"] .letter_tag { color: #ffffff !important; }
[data-theme="dark"] .tgs_read_more { color: #ffffff !important; }

[data-theme="dark"] .csspopup .csspopupinner { background: #1e2130 !important; border: 1px solid #2e3245 !important; }
[data-theme="dark"] .csspopup .cpopupclose { background: #131720 !important; color: #e2e4ec !important; border: 1px solid #2e3245 !important; }
[data-theme="dark"] .csspopup .cpopupclose:hover { color: #4da6ff !important; background: #252838 !important; }
[data-theme="dark"] .csspopup form label, [data-theme="dark"] .csspopup form p { color: #e2e4ec !important; }
[data-theme="dark"] .csspopup form input[type="text"], [data-theme="dark"] .csspopup form input[type="email"], [data-theme="dark"] .csspopup form textarea, [data-theme="dark"] .csspopup form select { background: #131720 !important; border: 1px solid #2e3245 !important; color: #e2e4ec !important; }
[data-theme="dark"] .csspopup form input:focus, [data-theme="dark"] .csspopup form textarea:focus, [data-theme="dark"] .csspopup form select:focus { border-color: #4da6ff !important; outline: none !important; }
[data-theme="dark"] .csspopup .cf7ic_instructions { color: #e2e4ec !important; }
[data-theme="dark"] .csspopup .captcha-image label svg { fill: #9aa3b2 !important; color: #9aa3b2 !important; }
[data-theme="dark"] .csspopup .captcha-image label input:checked + svg { fill: #4da6ff !important; color: #4da6ff !important; }
[data-theme="dark"] .csspopup input.wpcf7-submit { background: #4da6ff !important; color: #0a0e1a !important; border: none !important; }
[data-theme="dark"] .csspopup input.wpcf7-submit:hover:not([disabled]) { background: #80c0ff !important; }
[data-theme="dark"] .csspopup input.wpcf7-submit[disabled] { opacity: 0.5 !important; cursor: not-allowed !important; }

[data-theme="dark"] .post{color:var(--text)!important}

/* ══════════════════════════════════════════════════════════
   PK-SEARCH AUTOCOMPLETE
══════════════════════════════════════════════════════════ */
[data-theme="dark"] .pk-search-panel{background:var(--surface)!important;border-color:var(--border-color)!important;box-shadow:var(--elev-3)!important;color:var(--text)!important;}
[data-theme="dark"] .pk-search-panel::-webkit-scrollbar-thumb{background:var(--border-color);}
[data-theme="dark"] .pk-panel-head{color:var(--text-subtle)!important;}
[data-theme="dark"] .pk-more-link{color:var(--brand)!important;}
[data-theme="dark"] #pkRecentSection + .pk-panel-head,[data-theme="dark"] .pk-all-results-link{border-color:var(--border-color)!important;}
[data-theme="dark"] .pk-recent-list li:hover{background:var(--surface-alt)!important;}
[data-theme="dark"] .pk-recent-icon{color:var(--text-subtle)!important;}
[data-theme="dark"] .pk-recent-term{color:var(--text)!important;}
[data-theme="dark"] .pk-recent-sub a{color:var(--text-subtle)!important;}
[data-theme="dark"] .pk-recent-sub a:hover{color:var(--brand)!important;}
[data-theme="dark"] .pk-recent-remove{color:var(--text-subtle)!important;}
[data-theme="dark"] .pk-recent-remove:hover{background:var(--surface-alt)!important;color:var(--text)!important;}
[data-theme="dark"] .pk-cat-item{color:var(--text)!important;}
[data-theme="dark"] .pk-cat-item:hover{background:var(--surface-alt)!important;}
[data-theme="dark"] .pk-cat-item img,[data-theme="dark"] .pk-cat-fallback{background:var(--surface-alt)!important;}
[data-theme="dark"] .pk-cat-meta strong{color:var(--text)!important;}
[data-theme="dark"] .pk-cat-meta small{color:var(--text-subtle)!important;}
[data-theme="dark"] .pk-loading-state{color:var(--text-subtle)!important;}
[data-theme="dark"] .pk-spinner{border-color:var(--border-color)!important;border-top-color:var(--brand)!important;}
[data-theme="dark"] .pk-result-list li a{color:var(--text)!important;}
[data-theme="dark"] .pk-result-list li a:hover{background:var(--surface-alt)!important;}
[data-theme="dark"] .pk-result-thumb,[data-theme="dark"] .pk-result-thumb-placeholder{background:var(--surface-alt)!important;}
[data-theme="dark"] .pk-result-title{color:var(--text)!important;}
[data-theme="dark"] .pk-result-title mark{color:var(--brand)!important;}
[data-theme="dark"] .pk-result-price{color:var(--ok)!important;}
[data-theme="dark"] .pk-result-oldprice{color:var(--text-subtle)!important;}
[data-theme="dark"] .pk-all-results-link{color:var(--brand)!important;}
[data-theme="dark"] .pk-all-results-link:hover{background:var(--surface-alt)!important;}
[data-theme="dark"] .pk-empty-state{color:var(--text-subtle)!important;}
[data-theme="dark"] .pk-empty-state strong{color:var(--text)!important;}


/* Wetterkarte */
html[data-theme="dark"] .pk-wetterkarte { background: #1e2130 !important; color: #e2e4ec !important; }
html[data-theme="dark"] .pk-wetterkarte div { background-color: #1e2130 !important; color: #e2e4ec !important; }
html[data-theme="dark"] .pk-wetterkarte strong, html[data-theme="dark"] .pk-wetterkarte span, html[data-theme="dark"] .pk-wetterkarte b { color: #e2e4ec !important; }
html[data-theme="dark"] [id^="pkw"] {
    --pkw-bg: #1e2130 !important;
    --pkw-card: #1e2130 !important;
    --pkw-border: #2e3245 !important;
    --pkw-text: #e2e4ec !important;
    --pkw-muted: #9aa3b2 !important;
    --pkw-grid: rgba(255, 255, 255, 0.07) !important;
    --pkw-tick: #9aa3b2 !important;
    box-shadow: 0 4px 16px rgba(0,0,0,0.4) !important;
}
/* Fix für die Legenden-Badges (Farben anpassen, da sie inline als helle Töne definiert sind) */
html[data-theme="dark"] .pkw-legend .pkw-badge[style*="background:#dcfce7"] { background: #064e3b !important; color: #34d399 !important; }
html[data-theme="dark"] .pkw-legend .pkw-badge[style*="background:#fef3c7"] { background: #78350f !important; color: #fbbf24 !important; }
html[data-theme="dark"] .pkw-legend .pkw-badge[style*="background:#fee2e2"] { background: #7f1d1d !important; color: #f87171 !important; }
/* Fix für den 'Beste Reisezeit'-Badge oben */
html[data-theme="dark"] .pkw-badges .pkw-badge[style*="background:#dbeafe"] { background: #1e3a8a !important; color: #60a5fa !important; }


/* Kommentar */
html[data-theme="dark"] #comments { background: #131720 !important; border: none !important; padding: 0 !important; margin: 0 !important; }
html[data-theme="dark"] .post-comments { background: #1e2130 !important; border: 1px solid #2e3245 !important; border-radius: 12px; padding: 25px !important; }
html[data-theme="dark"] .title_comments { background: transparent !important; color: #ffffff !important; border-bottom: 1px solid #2e3245 !important; padding-top: 0 !important; }
html[data-theme="dark"] .clearfix::before, html[data-theme="dark"] .clearfix::after { background: transparent !important; display: none !important; }
html[data-theme="dark"] #tab-1, html[data-theme="dark"] .comment-respond { background: transparent !important; border: none !important; }
html[data-theme="dark"] #comments [style*="background"] { background-color: transparent !important; }
html[data-theme="dark"] .post-comments .title_comments { color: #e2e4ec !important; }
html[data-theme="dark"] .commentlist li.comment { background: #1e2130 !important; border: 1px solid #2e3245 !important; border-radius: 8px !important; margin-bottom: 15px !important; }
html[data-theme="dark"] .commentlist .children li.comment { background: #131720 !important; border-left: 3px solid #4da6ff !important; }
html[data-theme="dark"] .commbox { background: transparent !important; }
html[data-theme="dark"] .comment-author.border-grey-bottom { border-bottom: 1px solid #2e3245 !important; }
html[data-theme="dark"] .comm_meta_wrap .fn { color: #e2e4ec !important; font-weight: bold !important; }
html[data-theme="dark"] .comm_meta_wrap .time a { color: #9aa3b2 !important; }
html[data-theme="dark"] .comment-content p { color: #e2e4ec !important; }
html[data-theme="dark"] .comment-reply-link, html[data-theme="dark"] .comment-edit-link { color: #4da6ff !important; }
html[data-theme="dark"] #respond .comment-reply-title { color: #e2e4ec !important; }
html[data-theme="dark"] #commentform textarea { background: #131720 !important; color: #e2e4ec !important; border: 1px solid #2e3245 !important; border-radius: 8px !important; }
html[data-theme="dark"] #commentform input[type="submit"] { background: #4da6ff !important; color: #ffffff !important; border: none !important; border-radius: 4px !important; }

/* === Modern Card Style: Neueste Kommentare === */
[data-theme="dark"] .widget_recent_comments ul#recentcomments{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:10px;}
[data-theme="dark"] .widget_recent_comments ul li.recentcomments{display:grid;grid-template-columns:42px 1fr;align-items:center;column-gap:14px;background:#1b2030;border:1px solid #2b3147;border-radius:14px;padding:14px 16px;box-shadow:0 4px 14px rgba(0,0,0,.22);font-size:0!important;line-height:1.5;color:#dfe6f3;}
[data-theme="dark"] .widget_recent_comments ul li.recentcomments::before{content:"✦";display:flex;align-items:center;justify-content:center;width:42px;height:42px;background:#4ea1ff;border-radius:50%;font-size:15px;color:#0f1726;}
[data-theme="dark"] .widget_recent_comments .comment-author-link,[data-theme="dark"] .widget_recent_comments .comment-author-link a,[data-theme="dark"] .widget_recent_comments a{font-size:15px!important;line-height:1.5!important;}
[data-theme="dark"] .widget_recent_comments .comment-author-link,[data-theme="dark"] .widget_recent_comments .comment-author-link a{font-weight:700;color:#fff!important;}
[data-theme="dark"] .widget_recent_comments a{color:#56a8ff!important;}
[data-theme="dark"] .widget_recent_comments a:hover{color:#80c0ff!important;text-decoration:underline;}


/* === H1 Start === */
[data-theme="dark"] .nav-h1{color:#e2e4ec!important;}[data-theme="dark"] .nav-h1 a{color:#e2e4ec!important;text-decoration:none!important;}[data-theme="dark"] .nav-h1 a:hover,[data-theme="dark"] .nav-h1 a:focus{color:#4da6ff!important;}[data-theme="dark"] .nav-h1 i,[data-theme="dark"] .nav-h1 svg{color:inherit!important;fill:currentColor!important;}