/**
 * benjamin-aunkofer.com — Dark Mode Variante B (Anthrazit, warmer Akzent)
 * Verstecktes Vorschaustylesheet. Wird nur geladen, wenn ?darkpreview=1
 * bzw. das Sitzungs-Cookie ba_darkpreview gesetzt ist.
 * Enfold-Farbsets und Seiteninhalte bleiben unverändert.
 */

html.ba-darkpreview,
body.ba-darkpreview {
  --dm-bg: #0f0f0f;
  --dm-bg-elevated: #161616;
  --dm-bg-header: #121212;
  --dm-bg-footer: #121212;
  --dm-bg-socket: #0a0a0a;
  --dm-bg-surface: #1a1a1a;
  --dm-bg-masonry: #0f0f0f;
  --dm-text: #ececec;
  --dm-text-muted: #a8a8a8;
  --dm-heading: #f5f5f5;
  --dm-border: #2a2a2a;
  --dm-accent: #e8894a;
  --dm-accent-hover: #ff9a5c;
  --dm-on-accent: #0f0f0f;
}

/* Fläche und Typografie (Fliesstext 15px) */
html.ba-darkpreview,
html.ba-darkpreview body,
html.ba-darkpreview #top,
html.ba-darkpreview #wrap_all,
html.ba-darkpreview #main,
html.ba-darkpreview.html_stretched #wrap_all,
html.ba-darkpreview.html_header_sidebar #wrap_all,
html.ba-darkpreview #main,
html.ba-darkpreview .avia-msie-8 .av_header_sticky_disabled#header {
  background-color: var(--dm-bg) !important;
  color: var(--dm-text) !important;
}

html.ba-darkpreview body,
html.ba-darkpreview #top .entry-content,
html.ba-darkpreview #top .entry-content-wrapper,
html.ba-darkpreview #top .avia_textblock,
html.ba-darkpreview #top .av_textblock_section,
html.ba-darkpreview #top .template-page,
html.ba-darkpreview #top .post-entry,
html.ba-darkpreview #top .comment-content {
  font-size: 15px;
  line-height: 1.7;
  color: var(--dm-text);
}

html.ba-darkpreview h1,
html.ba-darkpreview h2,
html.ba-darkpreview h3,
html.ba-darkpreview h4,
html.ba-darkpreview h5,
html.ba-darkpreview h6,
html.ba-darkpreview .av-special-heading-tag,
html.ba-darkpreview .av-special-heading .av-special-heading-tag,
html.ba-darkpreview .widgettitle,
html.ba-darkpreview .big-preview h1,
html.ba-darkpreview .entry-content-header .post-title,
html.ba-darkpreview .post-title,
html.ba-darkpreview #top .post-title,
html.ba-darkpreview #top .avia-font-color-theme-color-subtle,
html.ba-darkpreview #top .meta-heading {
  color: var(--dm-heading) !important;
}

html.ba-darkpreview p,
html.ba-darkpreview li,
html.ba-darkpreview .entry-content,
html.ba-darkpreview .entry-content-wrapper,
html.ba-darkpreview .av_textblock_section,
html.ba-darkpreview .avia_textblock {
  color: var(--dm-text);
}

/* Header, Menü */
html.ba-darkpreview #header,
html.ba-darkpreview #header_main,
html.ba-darkpreview #header_meta,
html.ba-darkpreview #header.header_color,
html.ba-darkpreview #top #header,
html.ba-darkpreview #top .header_color,
html.ba-darkpreview .header_color,
html.ba-darkpreview.html_header_top.html_header_sticky #header,
html.ba-darkpreview #top .av_header_sticky #header_main {
  background-color: var(--dm-bg-header) !important;
  color: var(--dm-heading) !important;
  border-color: var(--dm-border) !important;
  box-shadow: 0 1px 0 var(--dm-border) !important;
}

html.ba-darkpreview #header_main {
  border-bottom: 1px solid var(--dm-border) !important;
}

html.ba-darkpreview #top #header .av-main-nav > li > a,
html.ba-darkpreview #top #header .av-main-nav > li > a .avia-menu-text,
html.ba-darkpreview #top #header #menu-item-search > a,
html.ba-darkpreview .header_color a,
html.ba-darkpreview #header a,
html.ba-darkpreview #header .sub_menu a {
  color: var(--dm-text) !important;
  background: transparent !important;
}

html.ba-darkpreview #top #header .av-main-nav > li > a:hover,
html.ba-darkpreview #top #header .av-main-nav > li > a:hover .avia-menu-text,
html.ba-darkpreview #top #header .av-main-nav > li.current-menu-item > a,
html.ba-darkpreview #top #header .av-main-nav > li.current-menu-item > a .avia-menu-text,
html.ba-darkpreview #top #header .av-main-nav > li.current_page_item > a,
html.ba-darkpreview #top #header .av-main-nav > li.current_page_item > a .avia-menu-text,
html.ba-darkpreview #top #header .av-main-nav > li:hover > a,
html.ba-darkpreview #top #header .av-main-nav > li:hover > a .avia-menu-text,
html.ba-darkpreview #header a:hover {
  color: var(--dm-accent) !important;
}

html.ba-darkpreview #top #header .avia_mega_div,
html.ba-darkpreview #top #header .sub-menu,
html.ba-darkpreview #top #header .av-subnav-menu,
html.ba-darkpreview #top .avia-search-tooltip,
html.ba-darkpreview #top #searchform,
html.ba-darkpreview #searchform {
  background-color: var(--dm-bg-elevated) !important;
  color: var(--dm-text) !important;
  border-color: var(--dm-border) !important;
}

html.ba-darkpreview #top #header .sub-menu a,
html.ba-darkpreview #top #header .avia_mega_div a {
  color: var(--dm-text) !important;
}

html.ba-darkpreview #top #header .sub-menu a:hover {
  color: var(--dm-accent) !important;
  background-color: var(--dm-bg-surface) !important;
}

/* Formulare allgemein, Suche, Kontakt, Kommentare */
html.ba-darkpreview #searchform input,
html.ba-darkpreview #top #searchform input,
html.ba-darkpreview input#s,
html.ba-darkpreview input[type="text"],
html.ba-darkpreview input[type="search"],
html.ba-darkpreview input[type="email"],
html.ba-darkpreview input[type="url"],
html.ba-darkpreview input[type="tel"],
html.ba-darkpreview input[type="password"],
html.ba-darkpreview input[type="number"],
html.ba-darkpreview textarea,
html.ba-darkpreview select,
html.ba-darkpreview #top .main_color input[type="text"],
html.ba-darkpreview #top .main_color textarea,
html.ba-darkpreview #top .header_color input[type="text"],
html.ba-darkpreview #top .avia_ajax_form .text_input,
html.ba-darkpreview #top .avia_ajax_form .text_area,
html.ba-darkpreview #top .avia_ajax_form input[type="text"],
html.ba-darkpreview #top .avia_ajax_form textarea,
html.ba-darkpreview #top #commentform input[type="text"],
html.ba-darkpreview #top #commentform input[type="email"],
html.ba-darkpreview #top #commentform input[type="url"],
html.ba-darkpreview #top #commentform textarea {
  background-color: var(--dm-bg-surface) !important;
  color: var(--dm-text) !important;
  border-color: var(--dm-border) !important;
}

html.ba-darkpreview #top .avia_ajax_form .text_input:focus,
html.ba-darkpreview #top .avia_ajax_form textarea:focus,
html.ba-darkpreview #top #commentform input:focus,
html.ba-darkpreview #top #commentform textarea:focus,
html.ba-darkpreview #searchform input:focus,
html.ba-darkpreview input#s:focus {
  border-color: var(--dm-accent) !important;
  outline-color: var(--dm-accent);
}

html.ba-darkpreview #top .avia_ajax_form label,
html.ba-darkpreview #top .avia_ajax_form .value_verifier_label,
html.ba-darkpreview #top #commentform label,
html.ba-darkpreview #top .comment-form-comment label,
html.ba-darkpreview #top .form-allowed-tags,
html.ba-darkpreview #top .logged-in-as {
  color: var(--dm-text-muted) !important;
}

html.ba-darkpreview #top .avia_ajax_form .required,
html.ba-darkpreview #top .required {
  color: var(--dm-accent) !important;
}

html.ba-darkpreview #searchform #searchsubmit,
html.ba-darkpreview .header_color .av_searchsubmit_wrapper,
html.ba-darkpreview .main_color .av_searchsubmit_wrapper,
html.ba-darkpreview #top .avia_ajax_form input[type="submit"],
html.ba-darkpreview #top .avia_ajax_form .button,
html.ba-darkpreview #top #commentform input[type="submit"],
html.ba-darkpreview #top #commentform .submit {
  background-color: var(--dm-accent) !important;
  color: var(--dm-on-accent) !important;
  border-color: var(--dm-accent) !important;
}

html.ba-darkpreview #top .avia_ajax_form input[type="submit"]:hover,
html.ba-darkpreview #top #commentform input[type="submit"]:hover {
  background-color: var(--dm-accent-hover) !important;
  border-color: var(--dm-accent-hover) !important;
}

html.ba-darkpreview input:-webkit-autofill,
html.ba-darkpreview textarea:-webkit-autofill {
  -webkit-box-shadow: 0 0 0 1000px #1a1a1a inset !important;
  -webkit-text-fill-color: #ececec !important;
  caret-color: #ececec;
}

/* Ajax-Suche */
html.ba-darkpreview #top .av_ajax_search_entries,
html.ba-darkpreview #top .ajax_search_entry,
html.ba-darkpreview #top .av_ajax_search_image,
html.ba-darkpreview .avia-search-tooltip,
html.ba-darkpreview #top .main_color .av_ajax_search_title {
  background-color: var(--dm-bg-elevated) !important;
  color: var(--dm-heading) !important;
  border-color: var(--dm-border) !important;
}

html.ba-darkpreview #top .ajax_search_excerpt,
html.ba-darkpreview .main_color .ajax_search_excerpt {
  color: var(--dm-text-muted) !important;
}

html.ba-darkpreview .header_color .av-hamburger-inner,
html.ba-darkpreview .header_color .av-hamburger-inner::before,
html.ba-darkpreview .header_color .av-hamburger-inner::after,
html.ba-darkpreview #top .av-hamburger-inner,
html.ba-darkpreview #top .av-hamburger-inner::before,
html.ba-darkpreview #top .av-hamburger-inner::after {
  background-color: var(--dm-text) !important;
}

/* Mobiles Overlay-Menü */
html.ba-darkpreview.html_av-overlay-side #top #wrap_all .av-burger-overlay,
html.ba-darkpreview.html_av-overlay-side #top #wrap_all .av-burger-overlay-scroll,
html.ba-darkpreview .av-burger-overlay,
html.ba-darkpreview .av-burger-overlay-bg,
html.ba-darkpreview #top .av-burger-overlay-inner,
html.ba-darkpreview #av-burger-menu-wrap,
html.ba-darkpreview .av-burger-overlay-scroll {
  background-color: var(--dm-bg) !important;
  color: var(--dm-text) !important;
}

html.ba-darkpreview.html_av-overlay-side #top #wrap_all .av-burger-overlay-scroll #av-burger-menu-ul a,
html.ba-darkpreview.html_av-overlay-side.av-burger-overlay-active #top #wrap_all #header .menu-item-search-dropdown a,
html.ba-darkpreview #av-burger-menu-ul a,
html.ba-darkpreview #av-burger-menu-ul .avia-menu-text {
  color: var(--dm-text) !important;
  background: transparent !important;
}

html.ba-darkpreview.html_av-overlay-side #top #wrap_all div .av-burger-overlay-scroll #av-burger-menu-ul a:hover,
html.ba-darkpreview #av-burger-menu-ul a:hover,
html.ba-darkpreview #av-burger-menu-ul .current-menu-item > a,
html.ba-darkpreview #av-burger-menu-ul .current_page_item > a {
  background-color: var(--dm-bg-surface) !important;
  color: var(--dm-accent) !important;
}

html.ba-darkpreview .av-burger-overlay-close,
html.ba-darkpreview .av-burger-menu-main,
html.ba-darkpreview #top #wrap_all .av-hamburger-box {
  color: var(--dm-text) !important;
}

/* Content-Schemes */
html.ba-darkpreview #top .main_color,
html.ba-darkpreview .main_color,
html.ba-darkpreview #top .alternate_color,
html.ba-darkpreview .alternate_color,
html.ba-darkpreview .container_wrap,
html.ba-darkpreview .container_wrap.container_wrap_first,
html.ba-darkpreview .avia-section,
html.ba-darkpreview .avia-section.main_color,
html.ba-darkpreview .avia-section.alternate_color {
  background-color: var(--dm-bg) !important;
  color: var(--dm-text) !important;
  border-color: var(--dm-border) !important;
}

html.ba-darkpreview .alternate_color {
  background-color: var(--dm-bg-elevated) !important;
}

html.ba-darkpreview #top .main_color a,
html.ba-darkpreview .main_color a,
html.ba-darkpreview #top .alternate_color a,
html.ba-darkpreview .alternate_color a,
html.ba-darkpreview .entry-content a,
html.ba-darkpreview .avia_textblock a,
html.ba-darkpreview .comment-content a {
  color: var(--dm-accent);
}

html.ba-darkpreview #top .main_color a:hover,
html.ba-darkpreview .main_color a:hover,
html.ba-darkpreview #top .alternate_color a:hover,
html.ba-darkpreview .alternate_color a:hover,
html.ba-darkpreview .entry-content a:hover {
  color: var(--dm-accent-hover);
}

html.ba-darkpreview .av-masonry-entry a,
html.ba-darkpreview .av-masonry-entry a:hover,
html.ba-darkpreview .avia-image-container a,
html.ba-darkpreview .avia-image-container a:hover {
  color: inherit !important;
  background: transparent !important;
}

/* Galerien, Masonry, Lightbox, Vorhänge */
html.ba-darkpreview .main_color .av-masonry,
html.ba-darkpreview .alternate_color .av-masonry,
html.ba-darkpreview .header_color .av-masonry,
html.ba-darkpreview .footer_color .av-masonry,
html.ba-darkpreview .socket_color .av-masonry,
html.ba-darkpreview .av-masonry,
html.ba-darkpreview .main_color .av-masonry-pagination,
html.ba-darkpreview .main_color .av-masonry-pagination:hover,
html.ba-darkpreview .main_color .av-masonry-outerimage-container,
html.ba-darkpreview .av-masonry-pagination,
html.ba-darkpreview .av-masonry-outerimage-container,
html.ba-darkpreview .av-inner-masonry,
html.ba-darkpreview .av-masonry-image-container {
  background-color: var(--dm-bg-masonry) !important;
}

html.ba-darkpreview .main_color .avia-curtain-reveal-overlay,
html.ba-darkpreview .alternate_color .avia-curtain-reveal-overlay,
html.ba-darkpreview .header_color .avia-curtain-reveal-overlay,
html.ba-darkpreview .footer_color .avia-curtain-reveal-overlay,
html.ba-darkpreview .socket_color .avia-curtain-reveal-overlay,
html.ba-darkpreview .avia-curtain-reveal-overlay {
  background: var(--dm-bg) !important;
}

html.ba-darkpreview div.avia-popup,
html.ba-darkpreview .mfp-bg,
html.ba-darkpreview .mfp-wrap,
html.ba-darkpreview .avia-popup .mfp-content,
html.ba-darkpreview .mfp-container,
html.ba-darkpreview .mfp-preloader,
html.ba-darkpreview .mfp-figure::after {
  background-color: rgba(10, 10, 10, 0.94) !important;
  color: var(--dm-text) !important;
}

html.ba-darkpreview .mfp-title,
html.ba-darkpreview .mfp-counter,
html.ba-darkpreview .mfp-close,
html.ba-darkpreview div.avia-popup button.mfp-arrow,
html.ba-darkpreview div.avia-popup button.mfp-arrow:before {
  color: var(--dm-text) !important;
}

html.ba-darkpreview .mfp-close:hover,
html.ba-darkpreview div.avia-popup button.mfp-arrow:hover {
  color: var(--dm-accent) !important;
}

html.ba-darkpreview .image-overlay {
  background-color: rgba(15, 15, 15, 0.45) !important;
}

/* Footer, Socket, Widgets */
html.ba-darkpreview #footer,
html.ba-darkpreview #top #footer,
html.ba-darkpreview #top .footer_color,
html.ba-darkpreview .footer_color,
html.ba-darkpreview #socket,
html.ba-darkpreview #top #socket,
html.ba-darkpreview #top .socket_color,
html.ba-darkpreview .socket_color {
  background-color: var(--dm-bg-footer) !important;
  color: var(--dm-text-muted) !important;
  border-color: var(--dm-border) !important;
}

html.ba-darkpreview #socket,
html.ba-darkpreview #top #socket,
html.ba-darkpreview .socket_color {
  background-color: var(--dm-bg-socket) !important;
}

html.ba-darkpreview #footer a,
html.ba-darkpreview .footer_color a,
html.ba-darkpreview #socket a,
html.ba-darkpreview .socket_color a,
html.ba-darkpreview .footer_color .widget a,
html.ba-darkpreview .socket_color .widget a {
  color: var(--dm-text) !important;
}

html.ba-darkpreview #footer a:hover,
html.ba-darkpreview .footer_color a:hover,
html.ba-darkpreview #socket a:hover,
html.ba-darkpreview .socket_color a:hover {
  color: var(--dm-accent) !important;
}

html.ba-darkpreview #footer .widgettitle,
html.ba-darkpreview .footer_color .widgettitle,
html.ba-darkpreview #socket .copyright {
  color: var(--dm-heading) !important;
}

html.ba-darkpreview #top .social_bookmarks li,
html.ba-darkpreview #top .social_bookmarks a,
html.ba-darkpreview #top #wrap_all .social_bookmarks,
html.ba-darkpreview #top #wrap_all .social_bookmarks a,
html.ba-darkpreview #top #wrap_all .social_bookmarks li {
  background: transparent !important;
  border-color: var(--dm-border) !important;
  color: var(--dm-text) !important;
}

html.ba-darkpreview #top #wrap_all .social_bookmarks a:hover {
  color: var(--dm-on-accent) !important;
}

html.ba-darkpreview #top #footer .seperator,
html.ba-darkpreview #top #footer span.seperator,
html.ba-darkpreview #top #footer .extralight-border,
html.ba-darkpreview #top .footer_color .seperator,
html.ba-darkpreview #top .footer_color span.seperator,
html.ba-darkpreview #top .footer_color .extralight-border,
html.ba-darkpreview #top .socket_color .seperator,
html.ba-darkpreview #top .main_color .seperator,
html.ba-darkpreview #top span.seperator.extralight-border,
html.ba-darkpreview .seperator,
html.ba-darkpreview .extralight-border,
html.ba-darkpreview .hr,
html.ba-darkpreview .avia-divider,
html.ba-darkpreview span.seperator {
  border-color: var(--dm-border) !important;
  border-top-color: var(--dm-border) !important;
  border-bottom-color: var(--dm-border) !important;
  background-color: transparent !important;
  background: none !important;
}

html.ba-darkpreview #top #footer .widget_recent_entries li,
html.ba-darkpreview #top .footer_color .widget_recent_entries li,
html.ba-darkpreview #top .footer_color .recentcomments,
html.ba-darkpreview #top #footer li,
html.ba-darkpreview #top .footer_color .widget ul li,
html.ba-darkpreview #top .socket_color .widget ul li {
  border-color: var(--dm-border) !important;
  border-top-color: var(--dm-border) !important;
}

/* Buttons, Akzente */
html.ba-darkpreview #top .avia-color-theme-color,
html.ba-darkpreview #top .avia-button,
html.ba-darkpreview .avia-button,
html.ba-darkpreview .button,
html.ba-darkpreview input[type="submit"],
html.ba-darkpreview button[type="submit"],
html.ba-darkpreview #top #wrap_all .av-menu-button-colored > a .avia-menu-text,
html.ba-darkpreview #top .main_color .av_ajax_search_image,
html.ba-darkpreview #top .header_color .av_ajax_search_image,
html.ba-darkpreview .main_color .theme-color-bar .bar,
html.ba-darkpreview .header_color .theme-color-bar .bar {
  background-color: var(--dm-accent) !important;
  color: var(--dm-on-accent) !important;
  border-color: var(--dm-accent) !important;
}

html.ba-darkpreview #top .avia-button:hover,
html.ba-darkpreview .avia-button:hover,
html.ba-darkpreview .button:hover,
html.ba-darkpreview input[type="submit"]:hover {
  background-color: var(--dm-accent-hover) !important;
  border-color: var(--dm-accent-hover) !important;
  color: var(--dm-on-accent) !important;
}

/* Services-Seite: harte Layout-Builder-Farben in post-2006.css */
html.ba-darkpreview #top .flex_column.av-1wmwsxi-12117361e9988f24d3556eebb09778f0,
html.ba-darkpreview #top .flex_column.av-1ivxg0m-c9f202818ec0b97c94b6a9d76fd1d4d5,
html.ba-darkpreview #top .flex_column.av-16kzddi-55ebd5e2575dab358a287ff3df362f23,
html.ba-darkpreview.page-id-2006 #top .av_one_third {
  background-color: var(--dm-bg-elevated) !important;
}

html.ba-darkpreview #top .av-special-heading.av-6rfz3a-4049a2b32577e54ee72c81c18abe5781,
html.ba-darkpreview #top .av-special-heading.av-1r2p5me-f36e4a7209b55101f2fd8b55a4b285df,
html.ba-darkpreview #top .av-special-heading.av-1h6ol0m-20a3111cb841bb9a1283fafe9eb7b1b4,
html.ba-darkpreview #top .av-special-heading.av-1eukgo6-8fa09e788c2cf2ecd8dc3eea2606dbcc,
html.ba-darkpreview #top .av-special-heading.av-1581r5y-b4ca5d7155e798b3cb8182817e9b5591,
html.ba-darkpreview #top .av-special-heading.av-11h3uwm-9f3b0018da7757d526624c5bee045f78,
html.ba-darkpreview #top #wrap_all .av-special-heading.av-6rfz3a-4049a2b32577e54ee72c81c18abe5781 .av-special-heading-tag,
html.ba-darkpreview #top #wrap_all .av-special-heading.av-1r2p5me-f36e4a7209b55101f2fd8b55a4b285df .av-special-heading-tag,
html.ba-darkpreview #top #wrap_all .av-special-heading.av-1h6ol0m-20a3111cb841bb9a1283fafe9eb7b1b4 .av-special-heading-tag,
html.ba-darkpreview #top #wrap_all .av-special-heading.av-1eukgo6-8fa09e788c2cf2ecd8dc3eea2606dbcc .av-special-heading-tag,
html.ba-darkpreview #top #wrap_all .av-special-heading.av-1581r5y-b4ca5d7155e798b3cb8182817e9b5591 .av-special-heading-tag,
html.ba-darkpreview #top #wrap_all .av-special-heading.av-11h3uwm-9f3b0018da7757d526624c5bee045f78 .av-special-heading-tag {
  color: var(--dm-heading) !important;
}

html.ba-darkpreview #top .av-special-heading.av-6rfz3a-4049a2b32577e54ee72c81c18abe5781 .special-heading-inner-border,
html.ba-darkpreview #top .av-special-heading.av-1r2p5me-f36e4a7209b55101f2fd8b55a4b285df .special-heading-inner-border,
html.ba-darkpreview #top .av-special-heading.av-1h6ol0m-20a3111cb841bb9a1283fafe9eb7b1b4 .special-heading-inner-border,
html.ba-darkpreview #top .av-special-heading.av-1eukgo6-8fa09e788c2cf2ecd8dc3eea2606dbcc .special-heading-inner-border,
html.ba-darkpreview #top .av-special-heading.av-1581r5y-b4ca5d7155e798b3cb8182817e9b5591 .special-heading-inner-border,
html.ba-darkpreview #top .av-special-heading.av-11h3uwm-9f3b0018da7757d526624c5bee045f78 .special-heading-inner-border {
  border-color: var(--dm-border) !important;
}

html.ba-darkpreview #top .av_textblock_section.av-1o2a4d2-3f7493a15c29c4a48de42acf8b7b20d0 .avia_textblock,
html.ba-darkpreview #top .av_textblock_section.av-1b9i45i-d8ad49856ee62d46b3a61aadbf5dae8a .avia_textblock,
html.ba-darkpreview #top .av_textblock_section.av-y2f29y-9e79bcba0bf324deb251244eca1b8957 .avia_textblock {
  color: var(--dm-text-muted) !important;
}

html.ba-darkpreview #top #wrap_all .avia-button.av-1kp8wsm-47f23be780fe371e2278707f1d3e4b3e,
html.ba-darkpreview #top #wrap_all .avia-button.av-17z9feu-a60b02de5add936584a915ca40a63f11,
html.ba-darkpreview #top #wrap_all .avia-button.av-utdvw6-46b30266a0e549104d87734ed61b3408,
html.ba-darkpreview.page-id-2006 #top #wrap_all .avia-button {
  background-color: var(--dm-bg-surface) !important;
  color: var(--dm-heading) !important;
  border-color: var(--dm-border) !important;
}

html.ba-darkpreview #top #wrap_all .avia-button.av-1kp8wsm-47f23be780fe371e2278707f1d3e4b3e:hover,
html.ba-darkpreview #top #wrap_all .avia-button.av-17z9feu-a60b02de5add936584a915ca40a63f11:hover,
html.ba-darkpreview #top #wrap_all .avia-button.av-utdvw6-46b30266a0e549104d87734ed61b3408:hover,
html.ba-darkpreview.page-id-2006 #top #wrap_all .avia-button:hover {
  background-color: var(--dm-accent) !important;
  color: var(--dm-on-accent) !important;
  border-color: var(--dm-accent) !important;
}

html.ba-darkpreview .avia-section.av-slpnpy-fa5bf1315e4dcb00bf2209b9b9b3b0ee .av-extra-border-element .av-extra-border-inner,
html.ba-darkpreview.page-id-2006 .av-extra-border-inner {
  background-color: var(--dm-bg) !important;
}

/* Blog-Übersicht und Einzelbeitrag */
html.ba-darkpreview #top .template-blog,
html.ba-darkpreview #top .av-alb-blogposts,
html.ba-darkpreview #top .post-entry,
html.ba-darkpreview #top .post-entry .entry-content-wrapper,
html.ba-darkpreview #top .blog-meta,
html.ba-darkpreview #top .multi-big,
html.ba-darkpreview.single-post #top .container_wrap {
  background-color: var(--dm-bg) !important;
  color: var(--dm-text) !important;
  border-color: var(--dm-border) !important;
}

html.ba-darkpreview #top .post-entry .post-title,
html.ba-darkpreview #top .post-entry .post-title a,
html.ba-darkpreview #top .entry-content-header .post-title a {
  color: var(--dm-heading) !important;
}

html.ba-darkpreview #top .post-entry .post-title a:hover {
  color: var(--dm-accent) !important;
}

html.ba-darkpreview #top .post-meta-infos,
html.ba-darkpreview #top .blog-categories,
html.ba-darkpreview #top .blog-categories a,
html.ba-darkpreview #top .minor-meta,
html.ba-darkpreview #top .av-subheading,
html.ba-darkpreview #top .breadcrumb,
html.ba-darkpreview #top .comment-meta,
html.ba-darkpreview #top .comment-metadata,
html.ba-darkpreview #top .miniheading,
html.ba-darkpreview #top .minitext {
  color: var(--dm-text-muted) !important;
}

html.ba-darkpreview #top .blog-categories a:hover {
  color: var(--dm-accent) !important;
}

html.ba-darkpreview #top .blog-meta .rounded-container,
html.ba-darkpreview #top .post-author-format-type,
html.ba-darkpreview #top .gravatar,
html.ba-darkpreview #top .comment-inner {
  background-color: var(--dm-bg-elevated) !important;
  border-color: var(--dm-border) !important;
}

html.ba-darkpreview #top .pagination,
html.ba-darkpreview #top .pagination a,
html.ba-darkpreview #top .pagination .current,
html.ba-darkpreview #top .avia-post-nav,
html.ba-darkpreview #top .avia-post-nav a {
  background-color: var(--dm-bg-elevated) !important;
  color: var(--dm-text) !important;
  border-color: var(--dm-border) !important;
}

html.ba-darkpreview #top .pagination a:hover,
html.ba-darkpreview #top .pagination .current,
html.ba-darkpreview #top .avia-post-nav a:hover {
  color: var(--dm-accent) !important;
  border-color: var(--dm-accent) !important;
}

html.ba-darkpreview #top .related_posts,
html.ba-darkpreview #top .comment_container,
html.ba-darkpreview #top #comments,
html.ba-darkpreview #top .post_author_timeline {
  background-color: var(--dm-bg) !important;
  color: var(--dm-text) !important;
  border-color: var(--dm-border) !important;
}

/* 404 und Datenschutzerklärung */
html.ba-darkpreview.error404 #top #search-fail,
html.ba-darkpreview.error404 #top .entry-content,
html.ba-darkpreview.error404 #top .container_wrap,
html.ba-darkpreview #top section[class="404_recommendation"],
html.ba-darkpreview.privacy-policy #top .entry-content,
html.ba-darkpreview.page-id-3 #top .entry-content,
html.ba-darkpreview.page-id-3 #top .container_wrap {
  background-color: var(--dm-bg) !important;
  color: var(--dm-text) !important;
}

html.ba-darkpreview.error404 #top #search-fail strong,
html.ba-darkpreview.page-id-3 #top .entry-content h1,
html.ba-darkpreview.page-id-3 #top .entry-content h2,
html.ba-darkpreview.page-id-3 #top .entry-content h3 {
  color: var(--dm-heading) !important;
}

html.ba-darkpreview.page-id-3 #top .entry-content table,
html.ba-darkpreview.page-id-3 #top .entry-content th,
html.ba-darkpreview.page-id-3 #top .entry-content td,
html.ba-darkpreview #top table,
html.ba-darkpreview #top th,
html.ba-darkpreview #top td {
  border-color: var(--dm-border) !important;
  color: var(--dm-text) !important;
}

html.ba-darkpreview #top tr:nth-child(odd),
html.ba-darkpreview .main_color tr:nth-child(odd) {
  background: var(--dm-bg-elevated) !important;
}

/* Rahmen, Tabellen, Karten */
html.ba-darkpreview table,
html.ba-darkpreview th,
html.ba-darkpreview td,
html.ba-darkpreview fieldset,
html.ba-darkpreview hr,
html.ba-darkpreview .grid-content,
html.ba-darkpreview .grid-entry .inner-entry,
html.ba-darkpreview .content,
html.ba-darkpreview .sidebar,
html.ba-darkpreview .entry-content-wrapper {
  border-color: var(--dm-border) !important;
}

html.ba-darkpreview .grid-entry .inner-entry,
html.ba-darkpreview .av-inner-grid,
html.ba-darkpreview .related_posts,
html.ba-darkpreview #top .avia-content-slider,
html.ba-darkpreview .avia-content-slider .slide-entry-wrap {
  background-color: var(--dm-bg-elevated) !important;
  box-shadow: none !important;
}

html.ba-darkpreview .main_color .progress,
html.ba-darkpreview .header_color .progress,
html.ba-darkpreview .main_color .avia-color-theme-color-subtle,
html.ba-darkpreview .header_color .avia-color-theme-color-subtle {
  background-color: var(--dm-bg-surface) !important;
  color: var(--dm-text) !important;
}

html.ba-darkpreview ::-webkit-input-placeholder { color: var(--dm-text-muted) !important; }
html.ba-darkpreview ::-moz-placeholder { color: var(--dm-text-muted) !important; opacity: 1; }

html.ba-darkpreview ::selection {
  background: var(--dm-accent);
  color: var(--dm-on-accent);
}

/* Preloader */
html.ba-darkpreview .av-siteloader-overlay,
html.ba-darkpreview #top .av-siteloader-overlay,
html.ba-darkpreview .av-transition-with-logo {
  background-color: var(--dm-bg) !important;
}

html.ba-darkpreview .av-siteloader,
html.ba-darkpreview .av-siteloader-inner,
html.ba-darkpreview .av-siteloader-cell {
  background-color: transparent !important;
}

html.ba-darkpreview #scroll-top-link,
html.ba-darkpreview #top #scroll-top-link {
  background-color: var(--dm-bg-surface) !important;
  color: var(--dm-text) !important;
  border-color: var(--dm-border) !important;
}

html.ba-darkpreview .av-image-caption-overlay-center,
html.ba-darkpreview .av-masonry-entry .av-inner-masonry-content,
html.ba-darkpreview .av-masonry-entry .av-masonry-entry-title {
  color: #ffffff !important;
}

html.ba-darkpreview a:focus,
html.ba-darkpreview button:focus,
html.ba-darkpreview input:focus,
html.ba-darkpreview textarea:focus {
  outline-color: var(--dm-accent);
}

html.ba-darkpreview #rcb-banner,
html.ba-darkpreview .rcb-banner,
html.ba-darkpreview div[id^="rcb-"],
html.ba-darkpreview .rcb-consent-banner {
  background-color: var(--dm-bg-elevated) !important;
  color: var(--dm-text) !important;
  border-color: var(--dm-border) !important;
}

/* Menü-Trennlinien unsichtbar (Hintergrundfarbe / transparent) */
html.ba-darkpreview #top #header.av_seperator_big_border .av-main-nav > li > a,
html.ba-darkpreview #top #header.av_seperator_big_border .av-main-nav > li > a > .avia-menu-text,
html.ba-darkpreview #top #header.av_seperator_small_border .av-main-nav > li > a > .avia-menu-text,
html.ba-darkpreview #top #header .av-main-nav > li > a,
html.ba-darkpreview #top #header .av-main-nav > li > a .avia-menu-text,
html.ba-darkpreview #top #header .main_menu li a,
html.ba-darkpreview #top #header .main_menu ul:first-child > li > a,
html.ba-darkpreview #top #header #menu-item-search > a,
html.ba-darkpreview #top #header .menu-item-search-dropdown > a,
html.ba-darkpreview #top #header .av-burger-menu-main > a,
html.ba-darkpreview #top #header .av-main-nav > li,
html.ba-darkpreview #top #header .avia-menu-fx,
html.ba-darkpreview #top #header .av-main-nav ul,
html.ba-darkpreview #top #header .av-main-nav ul li a,
html.ba-darkpreview #top #header .sub-menu,
html.ba-darkpreview #top #header .sub-menu li,
html.ba-darkpreview #top #header .sub-menu a,
html.ba-darkpreview #top #header .avia_mega_div,
html.ba-darkpreview #top #header .avia_mega_div a {
  border-color: transparent !important;
  border-top-color: transparent !important;
  border-right-color: transparent !important;
  border-bottom-color: transparent !important;
  border-left-color: transparent !important;
}

/* Header-Rahmen und Schattenlinie unter dem Header */
html.ba-darkpreview #header,
html.ba-darkpreview #header_main,
html.ba-darkpreview #header_meta,
html.ba-darkpreview #header.header_color,
html.ba-darkpreview #top #header,
html.ba-darkpreview #top .header_color,
html.ba-darkpreview.html_header_top.html_header_sticky #header,
html.ba-darkpreview #top .av_header_sticky #header_main {
  border-color: var(--dm-bg-header) !important;
  box-shadow: none !important;
}

html.ba-darkpreview #header_main {
  border-bottom-color: var(--dm-bg-header) !important;
}

/* Mobiles Overlay-Menü: Trennlinien unsichtbar */
html.ba-darkpreview #av-burger-menu-ul,
html.ba-darkpreview #av-burger-menu-ul li,
html.ba-darkpreview #av-burger-menu-ul a,
html.ba-darkpreview #top #wrap_all #av-burger-menu-ul li,
html.ba-darkpreview #top #wrap_all #av-burger-menu-ul a,
html.ba-darkpreview .av-burger-overlay li,
html.ba-darkpreview .av-burger-overlay li a,
html.ba-darkpreview .av-burger-overlay-scroll li,
html.ba-darkpreview .av-burger-overlay-scroll li a,
html.ba-darkpreview.html_av-overlay-side #top #wrap_all .av-burger-overlay-scroll #av-burger-menu-ul,
html.ba-darkpreview.html_av-overlay-side #top #wrap_all .av-burger-overlay-scroll #av-burger-menu-ul li,
html.ba-darkpreview.html_av-overlay-side #top #wrap_all .av-burger-overlay-scroll #av-burger-menu-ul a,
html.ba-darkpreview.html_av-overlay-side-classic #top .av-burger-overlay li a,
html.ba-darkpreview.html_av-overlay-side-classic #top #wrap_all .av-burger-overlay #av-burger-menu-ul li a {
  border-color: transparent !important;
  border-top-color: transparent !important;
  border-right-color: transparent !important;
  border-bottom-color: transparent !important;
  border-left-color: transparent !important;
}


/* PP-10 comment form contrast and mobile layout */
html.ba-darkpreview #ba-comments-wrap {
  padding-top: 40px;
  padding-bottom: 50px;
}
html.ba-darkpreview #ba-comments-wrap .miniheading,
html.ba-darkpreview #ba-comments-wrap .comment-count,
html.ba-darkpreview #top #ba-comments-wrap h3,
html.ba-darkpreview #top #ba-comments-wrap h4 {
  color: var(--dm-heading) !important;
}
html.ba-darkpreview #top #commentform input[type="text"],
html.ba-darkpreview #top #commentform input[type="email"],
html.ba-darkpreview #top #commentform input[type="url"],
html.ba-darkpreview #top #commentform textarea,
html.ba-darkpreview #top #respond input[type="text"],
html.ba-darkpreview #top #respond input[type="email"],
html.ba-darkpreview #top #respond input[type="url"],
html.ba-darkpreview #top #respond textarea {
  background-color: #2a2a2a !important;
  color: var(--dm-text) !important;
  border: 1px solid #6a6a6a !important;
  box-shadow: none !important;
  caret-color: var(--dm-text);
}
html.ba-darkpreview #top #commentform input:focus,
html.ba-darkpreview #top #commentform textarea:focus,
html.ba-darkpreview #top #respond input:focus,
html.ba-darkpreview #top #respond textarea:focus {
  border-color: var(--dm-accent) !important;
  outline: 1px solid var(--dm-accent);
}
html.ba-darkpreview #top #commentform label,
html.ba-darkpreview #top #respond label,
html.ba-darkpreview #top #commentform .comment-notes,
html.ba-darkpreview #top #commentform .minitext,
html.ba-darkpreview #ba-comments-wrap .minitext {
  color: #d6d6d6 !important;
}
html.ba-darkpreview #top #commentform input[type="checkbox"],
html.ba-darkpreview #top #respond input[type="checkbox"] {
  accent-color: var(--dm-accent);
  width: 16px;
  height: 16px;
  vertical-align: middle;
}
html.ba-darkpreview #top #commentform .comment-form-cookies-consent,
html.ba-darkpreview #top #commentform .form-av-privatepolicy,
html.ba-darkpreview #top #commentform .comment-form-av-privatepolicy,
html.ba-darkpreview #top #commentform .form-submit,
html.ba-darkpreview #top #commentform .comment-form-comment {
  clear: both;
  float: none !important;
  width: 100% !important;
  max-width: 100%;
  margin-left: 0;
}
html.ba-darkpreview #top #commentform .comment-form-cookies-consent label,
html.ba-darkpreview #top #commentform .comment-form-av-privatepolicy label,
html.ba-darkpreview #top #commentform .form-av-privatepolicy label {
  display: inline !important;
  float: none !important;
  width: auto !important;
  max-width: calc(100% - 28px);
  text-align: left !important;
  position: static !important;
}
@media (max-width: 767px) {
  html.ba-darkpreview #top #commentform p {
    float: none !important;
    width: 100% !important;
    position: relative;
  }
  html.ba-darkpreview #top #commentform input[type="text"],
  html.ba-darkpreview #top #commentform input[type="email"],
  html.ba-darkpreview #top #commentform input[type="url"],
  html.ba-darkpreview #top #commentform textarea {
    width: 100% !important;
    max-width: 100%;
  }
  html.ba-darkpreview #top #commentform p.comment-form-author label,
  html.ba-darkpreview #top #commentform p.comment-form-email label,
  html.ba-darkpreview #top #commentform p.comment-form-url label,
  html.ba-darkpreview #top #commentform p.comment-form-comment label {
    display: block !important;
    float: none !important;
    text-align: left !important;
    width: auto !important;
    position: static !important;
    margin: 0 0 6px 0 !important;
  }
}
