/**
 * Datei: dokusecur-darkmode.css
 * Pfad: /wp-content/themes/astra-child/assets/css/dokusecur-darkmode.css
 * Zweck: Steuert den Darkmode für DokuSecur im Astra Child-Theme.
 * Zweck: Greift im Hellmodus nicht in die Standardgestaltung der Website ein.
 * Zweck: Aktiviert dunkle Farben bei manueller Auswahl dunkel.
 * Zweck: Aktiviert dunkle Farben automatisch bei dunkler Geräteeinstellung.
 * Zweck: Überschreibt gezielt DokuSecur-, Astra-, Beaver-Builder- und UABB-Bereiche.
 * Zweck: Bleibt getrennt vom DokuSecur-Plugin und dadurch update-sicher.
 */

/* =========================================================
   1. Theme-Umschalter - gilt auch im Hellmodus
   ========================================================= */

.dsc-theme-toggle{
	display:flex !important;
	flex-wrap:wrap !important;
	gap:8px !important;
	align-items:center !important;
}

.dsc-theme-toggle button{
	display:inline-flex !important;
	align-items:center !important;
	justify-content:center !important;
	min-height:38px !important;
	padding:8px 14px !important;
	border:1px solid #dfe5ee !important;
	border-radius:999px !important;
	background:#ffffff !important;
	color:#242A56 !important;
	font:inherit !important;
	font-size:14px !important;
	font-weight:800 !important;
	line-height:1.2 !important;
	cursor:pointer !important;
	box-shadow:none !important;
	appearance:none !important;
}

.dsc-theme-toggle button:hover,
.dsc-theme-toggle button:focus{
	border-color:#FFBF00 !important;
	outline:none !important;
}

.dsc-theme-toggle button.is-active{
	background:#FFBF00 !important;
	border-color:#FFBF00 !important;
	color:#242A56 !important;
}


/* =========================================================
   2. Darkmode-Farbwerte
   ========================================================= */

html[data-dsc-theme="dark"]{
	color-scheme:dark;
	--dsc-dark-bg:#101425;
	--dsc-dark-header:#070b18;
	--dsc-dark-surface:#171c31;
	--dsc-dark-surface-soft:#20263d;
	--dsc-dark-heading:#eef2ff;
	--dsc-dark-text:#b8c1d8;
	--dsc-dark-muted:#aeb8cf;
	--dsc-dark-border:#343b58;
	--dsc-dark-accent:#FFBF00;
	--dsc-dark-success:#6ee7a8;
	--dsc-dark-warning-bg:#2d2614;
	--dsc-dark-warning-border:#6f5718;
	--dsc-dark-warning-text:#ffe3a3;
	--dsc-dark-error-bg:#35191c;
	--dsc-dark-error-border:#713238;
	--dsc-dark-error-text:#ffb4ba;
}

@media (prefers-color-scheme: dark){
	html:not([data-dsc-theme="light"]){
		color-scheme:dark;
		--dsc-dark-bg:#101425;
		--dsc-dark-header:#070b18;
		--dsc-dark-surface:#171c31;
		--dsc-dark-surface-soft:#20263d;
		--dsc-dark-heading:#eef2ff;
		--dsc-dark-text:#b8c1d8;
		--dsc-dark-muted:#aeb8cf;
		--dsc-dark-border:#343b58;
		--dsc-dark-accent:#FFBF00;
		--dsc-dark-success:#6ee7a8;
		--dsc-dark-warning-bg:#2d2614;
		--dsc-dark-warning-border:#6f5718;
		--dsc-dark-warning-text:#ffe3a3;
		--dsc-dark-error-bg:#35191c;
		--dsc-dark-error-border:#713238;
		--dsc-dark-error-text:#ffb4ba;
	}
}


/* =========================================================
   3. Manuelle Darkmode-Regeln
   ========================================================= */

/* Grundflächen */
html[data-dsc-theme="dark"] body,
html[data-dsc-theme="dark"] .site,
html[data-dsc-theme="dark"] .site-content,
html[data-dsc-theme="dark"] .content-area,
html[data-dsc-theme="dark"] .ast-container,
html[data-dsc-theme="dark"] .entry-content,
html[data-dsc-theme="dark"] .fl-page-content,
html[data-dsc-theme="dark"] .fl-builder-content{
	background:var(--dsc-dark-bg) !important;
	color:var(--dsc-dark-text) !important;
}

/* Header */
html[data-dsc-theme="dark"] .site-header,
html[data-dsc-theme="dark"] .ast-primary-header-bar,
html[data-dsc-theme="dark"] .main-header-bar,
html[data-dsc-theme="dark"] .ast-mobile-header-wrap,
html[data-dsc-theme="dark"] .ast-mobile-header-content{
	background:var(--dsc-dark-header) !important;
	border-color:#252b45 !important;
}

html[data-dsc-theme="dark"] .main-header-menu a,
html[data-dsc-theme="dark"] .ast-builder-menu a,
html[data-dsc-theme="dark"] .ast-builder-menu .menu-link,
html[data-dsc-theme="dark"] .site-header a:not(.ast-custom-button-link){
	color:var(--dsc-dark-heading) !important;
}

html[data-dsc-theme="dark"] .main-header-menu a:hover,
html[data-dsc-theme="dark"] .ast-builder-menu a:hover,
html[data-dsc-theme="dark"] .ast-builder-menu .menu-link:hover,
html[data-dsc-theme="dark"] .site-header a:not(.ast-custom-button-link):hover{
	color:var(--dsc-dark-accent) !important;
}

html[data-dsc-theme="dark"] .site-header .ast-custom-button,
html[data-dsc-theme="dark"] .site-header .ast-custom-button-link,
html[data-dsc-theme="dark"] .site-header .menu-item .ast-custom-button-link{
	background:var(--dsc-dark-accent) !important;
	border-color:var(--dsc-dark-accent) !important;
	color:#242A56 !important;
}

/* Astra Submenü */
html[data-dsc-theme="dark"] .site-header .sub-menu,
html[data-dsc-theme="dark"] .site-header .main-header-menu .sub-menu,
html[data-dsc-theme="dark"] .site-header .ast-builder-menu .sub-menu{
	background:var(--dsc-dark-surface) !important;
	border:1px solid var(--dsc-dark-border) !important;
	box-shadow:0 18px 44px rgba(0,0,0,.38) !important;
}

html[data-dsc-theme="dark"] .site-header .sub-menu li,
html[data-dsc-theme="dark"] .site-header .sub-menu .menu-item{
	background:transparent !important;
	border-color:var(--dsc-dark-border) !important;
}

html[data-dsc-theme="dark"] .site-header .sub-menu a,
html[data-dsc-theme="dark"] .site-header .sub-menu .menu-link,
html[data-dsc-theme="dark"] .site-header .sub-menu .menu-text{
	background:transparent !important;
	color:var(--dsc-dark-heading) !important;
}

html[data-dsc-theme="dark"] .site-header .sub-menu a:hover,
html[data-dsc-theme="dark"] .site-header .sub-menu a:focus,
html[data-dsc-theme="dark"] .site-header .sub-menu .menu-link:hover,
html[data-dsc-theme="dark"] .site-header .sub-menu .menu-link:focus,
html[data-dsc-theme="dark"] .site-header .sub-menu .current-menu-item > a,
html[data-dsc-theme="dark"] .site-header .sub-menu .current-menu-item > .menu-link,
html[data-dsc-theme="dark"] .site-header .sub-menu .current_page_item > a,
html[data-dsc-theme="dark"] .site-header .sub-menu .current_page_item > .menu-link{
	background:var(--dsc-dark-surface-soft) !important;
	color:var(--dsc-dark-accent) !important;
}

/* Beaver Builder Grundlayout */
html[data-dsc-theme="dark"] .fl-builder-content .fl-row-content-wrap{
	background-color:var(--dsc-dark-bg) !important;
	color:var(--dsc-dark-text) !important;
}

html[data-dsc-theme="dark"] .fl-builder-content .fl-row-content,
html[data-dsc-theme="dark"] .fl-builder-content .fl-col-content,
html[data-dsc-theme="dark"] .fl-builder-content .fl-module-content{
	background-color:transparent !important;
	color:var(--dsc-dark-text) !important;
}

/* Beaver Builder Texte */
html[data-dsc-theme="dark"] .fl-builder-content p,
html[data-dsc-theme="dark"] .fl-builder-content li,
html[data-dsc-theme="dark"] .fl-builder-content span,
html[data-dsc-theme="dark"] .fl-builder-content .fl-rich-text,
html[data-dsc-theme="dark"] .fl-builder-content .fl-rich-text p,
html[data-dsc-theme="dark"] .fl-builder-content .fl-rich-text li,
html[data-dsc-theme="dark"] .entry-content p,
html[data-dsc-theme="dark"] .entry-content li{
	color:var(--dsc-dark-text) !important;
}

/* Beaver Builder Überschriften */
html[data-dsc-theme="dark"] .fl-builder-content h1,
html[data-dsc-theme="dark"] .fl-builder-content h2,
html[data-dsc-theme="dark"] .fl-builder-content h3,
html[data-dsc-theme="dark"] .fl-builder-content h4,
html[data-dsc-theme="dark"] .fl-builder-content h5,
html[data-dsc-theme="dark"] .fl-builder-content h6,
html[data-dsc-theme="dark"] .entry-content h1,
html[data-dsc-theme="dark"] .entry-content h2,
html[data-dsc-theme="dark"] .entry-content h3,
html[data-dsc-theme="dark"] .entry-content h4,
html[data-dsc-theme="dark"] .entry-content h5,
html[data-dsc-theme="dark"] .entry-content h6,
html[data-dsc-theme="dark"] .entry-content :where(h1),
html[data-dsc-theme="dark"] .entry-content :where(h2),
html[data-dsc-theme="dark"] .entry-content :where(h3),
html[data-dsc-theme="dark"] .entry-content :where(h4),
html[data-dsc-theme="dark"] .entry-content :where(h5),
html[data-dsc-theme="dark"] .entry-content :where(h6),
html[data-dsc-theme="dark"] .uabb-heading,
html[data-dsc-theme="dark"] .uabb-heading-text{
	color:var(--dsc-dark-heading) !important;
}

/* Beaver Builder Untertexte */
html[data-dsc-theme="dark"] .uabb-subheading,
html[data-dsc-theme="dark"] .uabb-subheading p{
	color:var(--dsc-dark-text) !important;
}

/* Content-Links */
html[data-dsc-theme="dark"] .fl-builder-content .fl-rich-text a,
html[data-dsc-theme="dark"] .entry-content a{
	color:var(--dsc-dark-accent) !important;
}

/* Bilder nicht einfärben */
html[data-dsc-theme="dark"] .fl-photo,
html[data-dsc-theme="dark"] .fl-photo-content,
html[data-dsc-theme="dark"] .fl-photo-img,
html[data-dsc-theme="dark"] .fl-module-photo,
html[data-dsc-theme="dark"] .fl-module-photo .fl-module-content{
	background:transparent !important;
}

/* DokuSecur Rechner */
html[data-dsc-theme="dark"] .dsc-calculator{
	--dsc-primary:var(--dsc-dark-heading) !important;
	--dsc-secondary:var(--dsc-dark-accent) !important;
	--dsc-text:var(--dsc-dark-text) !important;
	--dsc-muted:var(--dsc-dark-muted) !important;
	--dsc-border:var(--dsc-dark-border) !important;
	--dsc-success:var(--dsc-dark-success) !important;
	background:var(--dsc-dark-bg) !important;
	color:var(--dsc-dark-text) !important;
}

html[data-dsc-theme="dark"] .dsc-form,
html[data-dsc-theme="dark"] .dsc-form--split{
	background:var(--dsc-dark-bg) !important;
}

html[data-dsc-theme="dark"] .dsc-card,
html[data-dsc-theme="dark"] .dsc-form--split .dsc-card,
html[data-dsc-theme="dark"] .dsc-price-box,
html[data-dsc-theme="dark"] .dsc-service-box,
html[data-dsc-theme="dark"] .dsc-upload-notice,
html[data-dsc-theme="dark"] .dsc-billing-extra,
html[data-dsc-theme="dark"] .dsc-address-panel,
html[data-dsc-theme="dark"] .dsc-appointment-box,
html[data-dsc-theme="dark"] .dsc-customer-fields-box,
html[data-dsc-theme="dark"] .dsc-form--split .dsc-address-panel,
html[data-dsc-theme="dark"] .dsc-form--split .dsc-appointment-box,
html[data-dsc-theme="dark"] .dsc-form--split .dsc-service-box{
	background:var(--dsc-dark-surface) !important;
	border-color:var(--dsc-dark-border) !important;
	color:var(--dsc-dark-text) !important;
}

html[data-dsc-theme="dark"] .dsc-card h2,
html[data-dsc-theme="dark"] .dsc-card h3,
html[data-dsc-theme="dark"] .dsc-field span,
html[data-dsc-theme="dark"] .dsc-radio-group label > span,
html[data-dsc-theme="dark"] .dsc-service-box h3,
html[data-dsc-theme="dark"] .dsc-price-loading__title,
html[data-dsc-theme="dark"] .dsc-total-part strong{
	color:var(--dsc-dark-heading) !important;
}

html[data-dsc-theme="dark"] .dsc-card p,
html[data-dsc-theme="dark"] .dsc-card-head p,
html[data-dsc-theme="dark"] .dsc-price-empty,
html[data-dsc-theme="dark"] .dsc-field-help,
html[data-dsc-theme="dark"] .dsc-total-part small,
html[data-dsc-theme="dark"] .dsc-admin-calc-detail{
	color:var(--dsc-dark-muted) !important;
}

html[data-dsc-theme="dark"] .dsc-field input,
html[data-dsc-theme="dark"] .dsc-field select,
html[data-dsc-theme="dark"] .dsc-field textarea,
html[data-dsc-theme="dark"] .dsc-radio-group label,
html[data-dsc-theme="dark"] .dsc-form--split .dsc-option-card,
html[data-dsc-theme="dark"] .dsc-form--split .dsc-legal-checks .dsc-checkbox,
html[data-dsc-theme="dark"] .dsc-datepicker{
	background:var(--dsc-dark-surface-soft) !important;
	border-color:var(--dsc-dark-border) !important;
	color:var(--dsc-dark-text) !important;
}

html[data-dsc-theme="dark"] .dsc-field input::placeholder,
html[data-dsc-theme="dark"] .dsc-field textarea::placeholder{
	color:var(--dsc-dark-muted) !important;
}

html[data-dsc-theme="dark"] .dsc-field input:hover,
html[data-dsc-theme="dark"] .dsc-field select:hover,
html[data-dsc-theme="dark"] .dsc-field textarea:hover,
html[data-dsc-theme="dark"] .dsc-radio-group label:hover,
html[data-dsc-theme="dark"] .dsc-field input:focus,
html[data-dsc-theme="dark"] .dsc-field select:focus,
html[data-dsc-theme="dark"] .dsc-field textarea:focus{
	border-color:var(--dsc-dark-accent) !important;
}

html[data-dsc-theme="dark"] .dsc-field input:focus,
html[data-dsc-theme="dark"] .dsc-field select:focus,
html[data-dsc-theme="dark"] .dsc-field textarea:focus{
	box-shadow:0 0 0 3px rgba(255,191,0,.28) !important;
}

html[data-dsc-theme="dark"] .dsc-price-line{
	border-color:var(--dsc-dark-border) !important;
}

html[data-dsc-theme="dark"] .dsc-price-line--total,
html[data-dsc-theme="dark"] .dsc-price-line--total > span:first-child,
html[data-dsc-theme="dark"] .dsc-price-line--total > span:last-child,
html[data-dsc-theme="dark"] .dsc-total-part--gross strong,
html[data-dsc-theme="dark"] .dsc-card--price .dsc-price-lines--placeholder .dsc-price-line--total,
html[data-dsc-theme="dark"] .dsc-card--price .dsc-price-lines--placeholder .dsc-price-line--total > span:first-child,
html[data-dsc-theme="dark"] .dsc-card--price .dsc-price-lines--placeholder .dsc-price-line--total > span:last-child{
	color:var(--dsc-dark-success) !important;
}

html[data-dsc-theme="dark"] .dsc-info-box,
html[data-dsc-theme="dark"] .dsc-price-disclaimer{
	background:var(--dsc-dark-surface-soft) !important;
	border-color:var(--dsc-dark-border) !important;
	color:var(--dsc-dark-text) !important;
}

html[data-dsc-theme="dark"] .dsc-info-box--warning,
html[data-dsc-theme="dark"] .dsc-checkbox--broker-notice,
html[data-dsc-theme="dark"] .dsc-form--split .dsc-legal-checks .dsc-checkbox--broker-notice,
html[data-dsc-theme="dark"] .dsc-price-note{
	background:var(--dsc-dark-warning-bg) !important;
	border-color:var(--dsc-dark-warning-border) !important;
	color:var(--dsc-dark-warning-text) !important;
}

html[data-dsc-theme="dark"] .dsc-notice--success{
	background:#143522 !important;
	border-color:#236640 !important;
	color:#b9f6ce !important;
}

html[data-dsc-theme="dark"] .dsc-notice--error{
	background:var(--dsc-dark-error-bg) !important;
	border-color:var(--dsc-dark-error-border) !important;
	color:var(--dsc-dark-error-text) !important;
}

html[data-dsc-theme="dark"] .dsc-card--price .dsc-card-head{
	background:#242A56 !important;
	color:#ffffff !important;
}

html[data-dsc-theme="dark"] .dsc-card--price .dsc-card-head h2,
html[data-dsc-theme="dark"] .dsc-card--price .dsc-card-head p{
	color:#ffffff !important;
}

html[data-dsc-theme="dark"] .dsc-card--price .dsc-card-kicker{
	background:#ffffff !important;
	color:#242A56 !important;
}

html[data-dsc-theme="dark"] .dsc-submit{
	background:var(--dsc-dark-accent) !important;
	color:#242A56 !important;
}

html[data-dsc-theme="dark"] .dsc-submit:hover,
html[data-dsc-theme="dark"] .dsc-submit:focus{
	background:#ffffff !important;
	color:#242A56 !important;
}

/* Quick Price */
html[data-dsc-theme="dark"] .dsc-quick-price,
html[data-dsc-theme="dark"] .dsc-quick-price-mobile{
	--dsc-quick-primary:var(--dsc-dark-heading) !important;
	--dsc-quick-secondary:var(--dsc-dark-accent) !important;
	--dsc-quick-border:var(--dsc-dark-border) !important;
	--dsc-quick-muted:var(--dsc-dark-muted) !important;
	--dsc-qpm-primary:var(--dsc-dark-heading) !important;
	--dsc-qpm-secondary:var(--dsc-dark-accent) !important;
	--dsc-qpm-border:var(--dsc-dark-border) !important;
	--dsc-qpm-muted:var(--dsc-dark-muted) !important;
	--dsc-qpm-success:var(--dsc-dark-success) !important;
	color:var(--dsc-dark-text) !important;
}

html[data-dsc-theme="dark"] .dsc-quick-price__inner,
html[data-dsc-theme="dark"] .dsc-quick-price-mobile__inner{
	background:var(--dsc-dark-surface) !important;
	border-color:var(--dsc-dark-border) !important;
}

html[data-dsc-theme="dark"] .dsc-quick-price__field input,
html[data-dsc-theme="dark"] .dsc-quick-price__pricebox,
html[data-dsc-theme="dark"] .dsc-quick-price-mobile__field input,
html[data-dsc-theme="dark"] .dsc-quick-price-mobile__pricebox{
	background:var(--dsc-dark-surface-soft) !important;
	border-color:var(--dsc-dark-border) !important;
	color:var(--dsc-dark-text) !important;
}

/* DokuSecur Plugin-FAQ */
html[data-dsc-theme="dark"] .dsc-faq{
	--dsc-faq-primary:var(--dsc-dark-heading) !important;
	--dsc-faq-secondary:var(--dsc-dark-accent) !important;
	--dsc-faq-text:var(--dsc-dark-text) !important;
	--dsc-faq-muted:var(--dsc-dark-muted) !important;
	--dsc-faq-bg:var(--dsc-dark-bg) !important;
	--dsc-faq-card:var(--dsc-dark-surface) !important;
	--dsc-faq-border:var(--dsc-dark-border) !important;
	--dsc-faq-hero-bg:var(--dsc-dark-header) !important;
	--dsc-faq-cta-bg:var(--dsc-dark-surface) !important;
	background:var(--dsc-dark-bg) !important;
	color:var(--dsc-dark-text) !important;
}

/* FAQ Hero */
html[data-dsc-theme="dark"] .dsc-faq-hero{
	background:var(--dsc-dark-header) !important;
	border-bottom-color:var(--dsc-dark-border) !important;
}

html[data-dsc-theme="dark"] .dsc-faq-hero h1{
	color:var(--dsc-dark-heading) !important;
}

html[data-dsc-theme="dark"] .dsc-faq-hero p{
	color:var(--dsc-dark-text) !important;
}

/* FAQ Suche */
html[data-dsc-theme="dark"] .dsc-faq-search input{
	background:var(--dsc-dark-surface-soft) !important;
	border-color:var(--dsc-dark-border) !important;
	color:var(--dsc-dark-heading) !important;
	box-shadow:none !important;
}

html[data-dsc-theme="dark"] .dsc-faq-search input::placeholder{
	color:var(--dsc-dark-muted) !important;
}

html[data-dsc-theme="dark"] .dsc-faq-search input:focus{
	border-color:var(--dsc-dark-accent) !important;
	box-shadow:0 0 0 3px rgba(255,191,0,.28) !important;
}

/* FAQ Tabs */
html[data-dsc-theme="dark"] .dsc-faq-tab{
	background:var(--dsc-dark-surface) !important;
	border-color:var(--dsc-dark-border) !important;
	color:var(--dsc-dark-heading) !important;
}

html[data-dsc-theme="dark"] .dsc-faq-tab:not(.is-active):hover,
html[data-dsc-theme="dark"] .dsc-faq-tab:not(.is-active):focus{
	background:var(--dsc-dark-surface-soft) !important;
	border-color:var(--dsc-dark-accent) !important;
	color:var(--dsc-dark-heading) !important;
}

html[data-dsc-theme="dark"] .dsc-faq-tab.is-active,
html[data-dsc-theme="dark"] .dsc-faq-hero .dsc-faq-tab.is-active{
	background:var(--dsc-dark-accent) !important;
	border-color:var(--dsc-dark-accent) !important;
	color:#242A56 !important;
}

/* FAQ Seitenleiste */
html[data-dsc-theme="dark"] .dsc-faq-sidebar-card{
	background:var(--dsc-dark-surface) !important;
	border-color:var(--dsc-dark-border) !important;
	box-shadow:none !important;
}

html[data-dsc-theme="dark"] .dsc-faq-sidebar-card h2{
	color:var(--dsc-dark-heading) !important;
}

html[data-dsc-theme="dark"] .dsc-faq-category{
	background:var(--dsc-dark-surface) !important;
	border-top-color:var(--dsc-dark-border) !important;
	color:var(--dsc-dark-heading) !important;
}

html[data-dsc-theme="dark"] .dsc-faq-category:hover,
html[data-dsc-theme="dark"] .dsc-faq-category:focus,
html[data-dsc-theme="dark"] .dsc-faq-category.is-active{
	background:var(--dsc-dark-surface-soft) !important;
	color:var(--dsc-dark-heading) !important;
}

html[data-dsc-theme="dark"] .dsc-faq-category.is-active::before{
	background:var(--dsc-dark-accent) !important;
}

html[data-dsc-theme="dark"] .dsc-faq-category-icon{
	border-color:var(--dsc-dark-border) !important;
	color:var(--dsc-dark-accent) !important;
}

/* FAQ Tippbox */
html[data-dsc-theme="dark"] .dsc-faq-tip{
	background:var(--dsc-dark-warning-bg) !important;
	border-color:var(--dsc-dark-warning-border) !important;
	color:var(--dsc-dark-warning-text) !important;
}

html[data-dsc-theme="dark"] .dsc-faq-tip p{
	color:var(--dsc-dark-warning-text) !important;
}

html[data-dsc-theme="dark"] .dsc-faq-tip > span{
	border-color:var(--dsc-dark-accent) !important;
	color:var(--dsc-dark-accent) !important;
}

/* FAQ Accordion */
html[data-dsc-theme="dark"] .dsc-faq-panel h2{
	color:var(--dsc-dark-heading) !important;
}

html[data-dsc-theme="dark"] .dsc-faq-accordion{
	background:var(--dsc-dark-surface) !important;
	border-color:var(--dsc-dark-border) !important;
	box-shadow:none !important;
}

html[data-dsc-theme="dark"] .dsc-faq-item + .dsc-faq-item{
	border-top-color:var(--dsc-dark-border) !important;
}

html[data-dsc-theme="dark"] .dsc-faq-question{
	background:var(--dsc-dark-surface) !important;
	color:var(--dsc-dark-heading) !important;
}

html[data-dsc-theme="dark"] .dsc-faq-question:hover,
html[data-dsc-theme="dark"] .dsc-faq-question:focus{
	background:var(--dsc-dark-surface-soft) !important;
	color:var(--dsc-dark-heading) !important;
}

html[data-dsc-theme="dark"] .dsc-faq-question span{
	color:inherit !important;
}

html[data-dsc-theme="dark"] .dsc-faq-chevron::before{
	border-right-color:var(--dsc-dark-accent) !important;
	border-bottom-color:var(--dsc-dark-accent) !important;
}

html[data-dsc-theme="dark"] .dsc-faq-answer{
	background:var(--dsc-dark-surface) !important;
	color:var(--dsc-dark-text) !important;
}

html[data-dsc-theme="dark"] .dsc-faq-answer p{
	color:var(--dsc-dark-text) !important;
}

/* FAQ Keine Ergebnisse */
html[data-dsc-theme="dark"] .dsc-faq-no-results{
	background:var(--dsc-dark-surface) !important;
	border-color:var(--dsc-dark-border) !important;
	color:var(--dsc-dark-muted) !important;
}

/* FAQ CTA */
html[data-dsc-theme="dark"] .dsc-faq-cta{
	background:var(--dsc-dark-surface) !important;
	border-color:var(--dsc-dark-border) !important;
	box-shadow:none !important;
}

html[data-dsc-theme="dark"] .dsc-faq-cta-icon{
	background:var(--dsc-dark-warning-bg) !important;
	color:var(--dsc-dark-accent) !important;
}

html[data-dsc-theme="dark"] .dsc-faq-cta h2{
	color:var(--dsc-dark-heading) !important;
}

html[data-dsc-theme="dark"] .dsc-faq-cta p{
	color:var(--dsc-dark-text) !important;
}

/* FAQ CTA Buttons - sehr spezifisch, damit Link-Regeln nicht überschreiben */
html[data-dsc-theme="dark"] .dsc-faq .dsc-faq-cta-actions .dsc-faq-button{
	text-decoration:none !important;
	box-shadow:none !important;
}

/* Linker CTA Button */
html[data-dsc-theme="dark"] .dsc-faq .dsc-faq-cta-actions .dsc-faq-button--light,
html[data-dsc-theme="dark"] .dsc-faq .dsc-faq-cta-actions .dsc-faq-button--light:visited{
	background:transparent !important;
	border:1px solid var(--dsc-dark-border) !important;
	color:var(--dsc-dark-accent) !important;
	-webkit-text-fill-color:var(--dsc-dark-accent) !important;
}

html[data-dsc-theme="dark"] .dsc-faq .dsc-faq-cta-actions .dsc-faq-button--light:hover,
html[data-dsc-theme="dark"] .dsc-faq .dsc-faq-cta-actions .dsc-faq-button--light:focus{
	background:var(--dsc-dark-surface-soft) !important;
	border-color:var(--dsc-dark-accent) !important;
	color:var(--dsc-dark-accent) !important;
	-webkit-text-fill-color:var(--dsc-dark-accent) !important;
}

/* Rechter gelber CTA Button */
html[data-dsc-theme="dark"] .dsc-faq .dsc-faq-cta-actions .dsc-faq-button--dark,
html[data-dsc-theme="dark"] .dsc-faq .dsc-faq-cta-actions .dsc-faq-button--dark:visited{
	background:var(--dsc-dark-accent) !important;
	border:1px solid var(--dsc-dark-accent) !important;
	color:#242A56 !important;
	-webkit-text-fill-color:#242A56 !important;
}

html[data-dsc-theme="dark"] .dsc-faq .dsc-faq-cta-actions .dsc-faq-button--dark:hover,
html[data-dsc-theme="dark"] .dsc-faq .dsc-faq-cta-actions .dsc-faq-button--dark:focus{
	background:#ffffff !important;
	border-color:#ffffff !important;
	color:#242A56 !important;
	-webkit-text-fill-color:#242A56 !important;
}

/* Falls Buttontext in span oder anderen Elementen liegt */
html[data-dsc-theme="dark"] .dsc-faq .dsc-faq-cta-actions .dsc-faq-button--dark *,
html[data-dsc-theme="dark"] .dsc-faq .dsc-faq-cta-actions .dsc-faq-button--dark:hover *,
html[data-dsc-theme="dark"] .dsc-faq .dsc-faq-cta-actions .dsc-faq-button--dark:focus *{
	color:#242A56 !important;
	-webkit-text-fill-color:#242A56 !important;
}

html[data-dsc-theme="dark"] .dsc-faq .dsc-faq-cta-actions .dsc-faq-button--light *,
html[data-dsc-theme="dark"] .dsc-faq .dsc-faq-cta-actions .dsc-faq-button--light:hover *,
html[data-dsc-theme="dark"] .dsc-faq .dsc-faq-cta-actions .dsc-faq-button--light:focus *{
	color:var(--dsc-dark-accent) !important;
	-webkit-text-fill-color:var(--dsc-dark-accent) !important;
}

/* UABB Advanced Accordion */
html[data-dsc-theme="dark"] .uabb-adv-accordion,
html[data-dsc-theme="dark"] .uabb-adv-accordion-item{
	background:transparent !important;
	border-color:var(--dsc-dark-border) !important;
	color:var(--dsc-dark-text) !important;
}

html[data-dsc-theme="dark"] .uabb-adv-accordion-button{
	background:var(--dsc-dark-surface) !important;
	border:1px solid var(--dsc-dark-border) !important;
	color:var(--dsc-dark-heading) !important;
}

html[data-dsc-theme="dark"] .uabb-adv-accordion-button:hover,
html[data-dsc-theme="dark"] .uabb-adv-accordion-button:focus{
	background:var(--dsc-dark-surface-soft) !important;
	color:var(--dsc-dark-heading) !important;
}

html[data-dsc-theme="dark"] .uabb-adv-accordion-button-label,
html[data-dsc-theme="dark"] .uabb-adv-accordion-button .uabb-adv-accordion-button-label,
html[data-dsc-theme="dark"] .uabb-adv-accordion-button .uabb-adv-accordion-icon,
html[data-dsc-theme="dark"] .uabb-adv-accordion-button i,
html[data-dsc-theme="dark"] .uabb-adv-accordion-button span{
	color:var(--dsc-dark-heading) !important;
}

html[data-dsc-theme="dark"] .uabb-adv-accordion-content{
	background:var(--dsc-dark-surface) !important;
	border:1px solid var(--dsc-dark-border) !important;
	border-top:0 !important;
	color:var(--dsc-dark-text) !important;
}

html[data-dsc-theme="dark"] .uabb-adv-accordion-content,
html[data-dsc-theme="dark"] .uabb-adv-accordion-content p,
html[data-dsc-theme="dark"] .uabb-adv-accordion-content li,
html[data-dsc-theme="dark"] .uabb-adv-accordion-content span,
html[data-dsc-theme="dark"] .uabb-accordion-desc,
html[data-dsc-theme="dark"] .uabb-accordion-desc p,
html[data-dsc-theme="dark"] .uabb-text-editor,
html[data-dsc-theme="dark"] .uabb-text-editor p{
	color:var(--dsc-dark-text) !important;
}

html[data-dsc-theme="dark"] .uabb-adv-accordion-button-icon,
html[data-dsc-theme="dark"] .uabb-adv-accordion-button-icon *,
html[data-dsc-theme="dark"] .uabb-adv-accordion-button .uabb-icon,
html[data-dsc-theme="dark"] .uabb-adv-accordion-button .uabb-icon i{
	color:var(--dsc-dark-accent) !important;
}

/* =========================================================
   3.1 Astra Blogbereich - Darkmode
   ========================================================= */

/* Blog-Einzelbeitrag und Astra-Container */
html[data-dsc-theme="dark"] .ast-article-single,
html[data-dsc-theme="dark"] .ast-separate-container .ast-article-single,
html[data-dsc-theme="dark"] .single .site-main,
html[data-dsc-theme="dark"] .single-post .site-main,
html[data-dsc-theme="dark"] .single-post .content-area,
html[data-dsc-theme="dark"] .single-post .ast-container{
	background:var(--dsc-dark-bg) !important;
	color:var(--dsc-dark-text) !important;
}

/* Beitragstitel */
html[data-dsc-theme="dark"] .entry-title,
html[data-dsc-theme="dark"] h1.entry-title,
html[data-dsc-theme="dark"] .entry-header .entry-title,
html[data-dsc-theme="dark"] .ast-single-post .entry-title{
	color:var(--dsc-dark-heading) !important;
}

/* Breadcrumbs */
html[data-dsc-theme="dark"] .ast-breadcrumbs,
html[data-dsc-theme="dark"] .ast-breadcrumbs span,
html[data-dsc-theme="dark"] .ast-breadcrumbs .trail-items,
html[data-dsc-theme="dark"] .ast-breadcrumbs .trail-item{
	color:var(--dsc-dark-muted) !important;
}

html[data-dsc-theme="dark"] .ast-breadcrumbs a,
html[data-dsc-theme="dark"] .ast-breadcrumbs a:visited{
	color:var(--dsc-dark-accent) !important;
}

html[data-dsc-theme="dark"] .ast-breadcrumbs a:hover,
html[data-dsc-theme="dark"] .ast-breadcrumbs a:focus{
	color:#ffffff !important;
}

/* Related Posts */
html[data-dsc-theme="dark"] .ast-single-related-posts-container,
html[data-dsc-theme="dark"] .ast-single-related-posts-container.ast-container--fallback,
html[data-dsc-theme="dark"] .ast-related-posts-wrapper{
	background:var(--dsc-dark-bg) !important;
	color:var(--dsc-dark-text) !important;
}

html[data-dsc-theme="dark"] .ast-related-posts-title-section,
html[data-dsc-theme="dark"] .ast-related-posts-title{
	background:transparent !important;
	color:var(--dsc-dark-heading) !important;
}

html[data-dsc-theme="dark"] .ast-related-posts-wrapper article,
html[data-dsc-theme="dark"] .ast-related-posts-wrapper .ast-related-post,
html[data-dsc-theme="dark"] .ast-related-posts-wrapper .ast-grid-common-col,
html[data-dsc-theme="dark"] .ast-related-post{
	background:var(--dsc-dark-surface) !important;
	border:1px solid var(--dsc-dark-border) !important;
	color:var(--dsc-dark-text) !important;
}

html[data-dsc-theme="dark"] .ast-related-post .entry-title,
html[data-dsc-theme="dark"] .ast-related-post .entry-title a,
html[data-dsc-theme="dark"] .ast-related-posts-wrapper .entry-title,
html[data-dsc-theme="dark"] .ast-related-posts-wrapper .entry-title a{
	color:var(--dsc-dark-heading) !important;
}

html[data-dsc-theme="dark"] .ast-related-post-content,
html[data-dsc-theme="dark"] .ast-related-post-content p,
html[data-dsc-theme="dark"] .ast-related-post-excerpt,
html[data-dsc-theme="dark"] .ast-related-post-excerpt p{
	color:var(--dsc-dark-text) !important;
}

html[data-dsc-theme="dark"] .ast-related-posts-wrapper a,
html[data-dsc-theme="dark"] .ast-related-posts-wrapper a:visited{
	color:var(--dsc-dark-accent) !important;
}

html[data-dsc-theme="dark"] .ast-related-posts-wrapper a:hover,
html[data-dsc-theme="dark"] .ast-related-posts-wrapper a:focus{
	color:#ffffff !important;
}

/* Sidebar und Blog-Widgets */
html[data-dsc-theme="dark"] #secondary,
html[data-dsc-theme="dark"] #secondary .widget,
html[data-dsc-theme="dark"] .ast-separate-container.ast-two-container #secondary .widget{
	background:var(--dsc-dark-bg) !important;
	color:var(--dsc-dark-text) !important;
	border-color:var(--dsc-dark-border) !important;
}

html[data-dsc-theme="dark"] #secondary .widget-title,
html[data-dsc-theme="dark"] #secondary h2,
html[data-dsc-theme="dark"] #secondary h3,
html[data-dsc-theme="dark"] #secondary h4{
	color:var(--dsc-dark-heading) !important;
}

html[data-dsc-theme="dark"] #secondary p,
html[data-dsc-theme="dark"] #secondary li,
html[data-dsc-theme="dark"] #secondary span{
	color:var(--dsc-dark-text) !important;
}

html[data-dsc-theme="dark"] #secondary a,
html[data-dsc-theme="dark"] #secondary a:visited,
html[data-dsc-theme="dark"] #secondary .rpwwt-widget a,
html[data-dsc-theme="dark"] #secondary .rpwwt-widget a:visited,
html[data-dsc-theme="dark"] #secondary .rpwwt-widget ul li a span.rpwwt-post-title{
	color:var(--dsc-dark-heading) !important;
}

html[data-dsc-theme="dark"] #secondary a:hover,
html[data-dsc-theme="dark"] #secondary a:focus,
html[data-dsc-theme="dark"] #secondary .rpwwt-widget a:hover,
html[data-dsc-theme="dark"] #secondary .rpwwt-widget a:focus,
html[data-dsc-theme="dark"] #secondary .rpwwt-widget ul li a:hover span.rpwwt-post-title{
	color:var(--dsc-dark-accent) !important;
}

html[data-dsc-theme="dark"] #secondary .rpwwt-widget ul li{
	border-bottom:1px solid var(--dsc-dark-border) !important;
}

html[data-dsc-theme="dark"] #secondary .rpwwt-widget img{
	background:var(--dsc-dark-surface) !important;
	border:1px solid var(--dsc-dark-border) !important;
}

/* Footer- und Zwischenflächen */
html[data-dsc-theme="dark"] .site-above-footer-wrap,
html[data-dsc-theme="dark"] .site-primary-footer-wrap,
html[data-dsc-theme="dark"] .site-below-footer-wrap{
	background:#242A56 !important;
	color:#ffffff !important;
	border-color:var(--dsc-dark-border) !important;
}

html[data-dsc-theme="dark"] .site-above-footer-wrap p,
html[data-dsc-theme="dark"] .site-primary-footer-wrap p,
html[data-dsc-theme="dark"] .site-below-footer-wrap p,
html[data-dsc-theme="dark"] .site-above-footer-wrap li,
html[data-dsc-theme="dark"] .site-primary-footer-wrap li,
html[data-dsc-theme="dark"] .site-below-footer-wrap li,
html[data-dsc-theme="dark"] .site-above-footer-wrap span,
html[data-dsc-theme="dark"] .site-primary-footer-wrap span,
html[data-dsc-theme="dark"] .site-below-footer-wrap span{
	color:#ffffff !important;
}

html[data-dsc-theme="dark"] .site-above-footer-wrap a,
html[data-dsc-theme="dark"] .site-primary-footer-wrap a,
html[data-dsc-theme="dark"] .site-below-footer-wrap a{
	color:#ffffff !important;
}

html[data-dsc-theme="dark"] .site-above-footer-wrap a:hover,
html[data-dsc-theme="dark"] .site-primary-footer-wrap a:hover,
html[data-dsc-theme="dark"] .site-below-footer-wrap a:hover{
	color:var(--dsc-dark-accent) !important;
}


/* =========================================================
   4. Automatischer Darkmode
   ========================================================= */

@media (prefers-color-scheme: dark){

	html:not([data-dsc-theme="light"]) body,
	html:not([data-dsc-theme="light"]) .site,
	html:not([data-dsc-theme="light"]) .site-content,
	html:not([data-dsc-theme="light"]) .content-area,
	html:not([data-dsc-theme="light"]) .ast-container,
	html:not([data-dsc-theme="light"]) .entry-content,
	html:not([data-dsc-theme="light"]) .fl-page-content,
	html:not([data-dsc-theme="light"]) .fl-builder-content{
		background:var(--dsc-dark-bg) !important;
		color:var(--dsc-dark-text) !important;
	}

	html:not([data-dsc-theme="light"]) .site-header,
	html:not([data-dsc-theme="light"]) .ast-primary-header-bar,
	html:not([data-dsc-theme="light"]) .main-header-bar,
	html:not([data-dsc-theme="light"]) .ast-mobile-header-wrap,
	html:not([data-dsc-theme="light"]) .ast-mobile-header-content{
		background:var(--dsc-dark-header) !important;
		border-color:#252b45 !important;
	}

	html:not([data-dsc-theme="light"]) .main-header-menu a,
	html:not([data-dsc-theme="light"]) .ast-builder-menu a,
	html:not([data-dsc-theme="light"]) .ast-builder-menu .menu-link,
	html:not([data-dsc-theme="light"]) .site-header a:not(.ast-custom-button-link){
		color:var(--dsc-dark-heading) !important;
	}

	html:not([data-dsc-theme="light"]) .main-header-menu a:hover,
	html:not([data-dsc-theme="light"]) .ast-builder-menu a:hover,
	html:not([data-dsc-theme="light"]) .ast-builder-menu .menu-link:hover,
	html:not([data-dsc-theme="light"]) .site-header a:not(.ast-custom-button-link):hover{
		color:var(--dsc-dark-accent) !important;
	}

	html:not([data-dsc-theme="light"]) .site-header .ast-custom-button,
	html:not([data-dsc-theme="light"]) .site-header .ast-custom-button-link,
	html:not([data-dsc-theme="light"]) .site-header .menu-item .ast-custom-button-link{
		background:var(--dsc-dark-accent) !important;
		border-color:var(--dsc-dark-accent) !important;
		color:#242A56 !important;
	}

	html:not([data-dsc-theme="light"]) .site-header .sub-menu,
	html:not([data-dsc-theme="light"]) .site-header .main-header-menu .sub-menu,
	html:not([data-dsc-theme="light"]) .site-header .ast-builder-menu .sub-menu{
		background:var(--dsc-dark-surface) !important;
		border:1px solid var(--dsc-dark-border) !important;
		box-shadow:0 18px 44px rgba(0,0,0,.38) !important;
	}

	html:not([data-dsc-theme="light"]) .site-header .sub-menu li,
	html:not([data-dsc-theme="light"]) .site-header .sub-menu .menu-item{
		background:transparent !important;
		border-color:var(--dsc-dark-border) !important;
	}

	html:not([data-dsc-theme="light"]) .site-header .sub-menu a,
	html:not([data-dsc-theme="light"]) .site-header .sub-menu .menu-link,
	html:not([data-dsc-theme="light"]) .site-header .sub-menu .menu-text{
		background:transparent !important;
		color:var(--dsc-dark-heading) !important;
	}

	html:not([data-dsc-theme="light"]) .site-header .sub-menu a:hover,
	html:not([data-dsc-theme="light"]) .site-header .sub-menu a:focus,
	html:not([data-dsc-theme="light"]) .site-header .sub-menu .menu-link:hover,
	html:not([data-dsc-theme="light"]) .site-header .sub-menu .menu-link:focus,
	html:not([data-dsc-theme="light"]) .site-header .sub-menu .current-menu-item > a,
	html:not([data-dsc-theme="light"]) .site-header .sub-menu .current-menu-item > .menu-link,
	html:not([data-dsc-theme="light"]) .site-header .sub-menu .current_page_item > a,
	html:not([data-dsc-theme="light"]) .site-header .sub-menu .current_page_item > .menu-link{
		background:var(--dsc-dark-surface-soft) !important;
		color:var(--dsc-dark-accent) !important;
	}

	html:not([data-dsc-theme="light"]) .fl-builder-content .fl-row-content-wrap{
		background-color:var(--dsc-dark-bg) !important;
		color:var(--dsc-dark-text) !important;
	}

	html:not([data-dsc-theme="light"]) .fl-builder-content .fl-row-content,
	html:not([data-dsc-theme="light"]) .fl-builder-content .fl-col-content,
	html:not([data-dsc-theme="light"]) .fl-builder-content .fl-module-content{
		background-color:transparent !important;
		color:var(--dsc-dark-text) !important;
	}

	html:not([data-dsc-theme="light"]) .fl-builder-content p,
	html:not([data-dsc-theme="light"]) .fl-builder-content li,
	html:not([data-dsc-theme="light"]) .fl-builder-content span,
	html:not([data-dsc-theme="light"]) .fl-builder-content .fl-rich-text,
	html:not([data-dsc-theme="light"]) .fl-builder-content .fl-rich-text p,
	html:not([data-dsc-theme="light"]) .fl-builder-content .fl-rich-text li,
	html:not([data-dsc-theme="light"]) .entry-content p,
	html:not([data-dsc-theme="light"]) .entry-content li{
		color:var(--dsc-dark-text) !important;
	}

	html:not([data-dsc-theme="light"]) .fl-builder-content h1,
	html:not([data-dsc-theme="light"]) .fl-builder-content h2,
	html:not([data-dsc-theme="light"]) .fl-builder-content h3,
	html:not([data-dsc-theme="light"]) .fl-builder-content h4,
	html:not([data-dsc-theme="light"]) .fl-builder-content h5,
	html:not([data-dsc-theme="light"]) .fl-builder-content h6,
	html:not([data-dsc-theme="light"]) .entry-content h1,
	html:not([data-dsc-theme="light"]) .entry-content h2,
	html:not([data-dsc-theme="light"]) .entry-content h3,
	html:not([data-dsc-theme="light"]) .entry-content h4,
	html:not([data-dsc-theme="light"]) .entry-content h5,
	html:not([data-dsc-theme="light"]) .entry-content h6,
	html:not([data-dsc-theme="light"]) .entry-content :where(h1),
	html:not([data-dsc-theme="light"]) .entry-content :where(h2),
	html:not([data-dsc-theme="light"]) .entry-content :where(h3),
	html:not([data-dsc-theme="light"]) .entry-content :where(h4),
	html:not([data-dsc-theme="light"]) .entry-content :where(h5),
	html:not([data-dsc-theme="light"]) .entry-content :where(h6),
	html:not([data-dsc-theme="light"]) .uabb-heading,
	html:not([data-dsc-theme="light"]) .uabb-heading-text{
		color:var(--dsc-dark-heading) !important;
	}

	html:not([data-dsc-theme="light"]) .uabb-subheading,
	html:not([data-dsc-theme="light"]) .uabb-subheading p{
		color:var(--dsc-dark-text) !important;
	}

	html:not([data-dsc-theme="light"]) .fl-builder-content .fl-rich-text a,
	html:not([data-dsc-theme="light"]) .entry-content a{
		color:var(--dsc-dark-accent) !important;
	}

	html:not([data-dsc-theme="light"]) .fl-photo,
	html:not([data-dsc-theme="light"]) .fl-photo-content,
	html:not([data-dsc-theme="light"]) .fl-photo-img,
	html:not([data-dsc-theme="light"]) .fl-module-photo,
	html:not([data-dsc-theme="light"]) .fl-module-photo .fl-module-content{
		background:transparent !important;
	}

	html:not([data-dsc-theme="light"]) .dsc-calculator{
		--dsc-primary:var(--dsc-dark-heading) !important;
		--dsc-secondary:var(--dsc-dark-accent) !important;
		--dsc-text:var(--dsc-dark-text) !important;
		--dsc-muted:var(--dsc-dark-muted) !important;
		--dsc-border:var(--dsc-dark-border) !important;
		--dsc-success:var(--dsc-dark-success) !important;
		background:var(--dsc-dark-bg) !important;
		color:var(--dsc-dark-text) !important;
	}

	html:not([data-dsc-theme="light"]) .dsc-form,
	html:not([data-dsc-theme="light"]) .dsc-form--split{
		background:var(--dsc-dark-bg) !important;
	}

	html:not([data-dsc-theme="light"]) .dsc-card,
	html:not([data-dsc-theme="light"]) .dsc-form--split .dsc-card,
	html:not([data-dsc-theme="light"]) .dsc-price-box,
	html:not([data-dsc-theme="light"]) .dsc-service-box,
	html:not([data-dsc-theme="light"]) .dsc-upload-notice,
	html:not([data-dsc-theme="light"]) .dsc-billing-extra,
	html:not([data-dsc-theme="light"]) .dsc-address-panel,
	html:not([data-dsc-theme="light"]) .dsc-appointment-box,
	html:not([data-dsc-theme="light"]) .dsc-customer-fields-box,
	html:not([data-dsc-theme="light"]) .dsc-form--split .dsc-address-panel,
	html:not([data-dsc-theme="light"]) .dsc-form--split .dsc-appointment-box,
	html:not([data-dsc-theme="light"]) .dsc-form--split .dsc-service-box{
		background:var(--dsc-dark-surface) !important;
		border-color:var(--dsc-dark-border) !important;
		color:var(--dsc-dark-text) !important;
	}

	html:not([data-dsc-theme="light"]) .dsc-field input,
	html:not([data-dsc-theme="light"]) .dsc-field select,
	html:not([data-dsc-theme="light"]) .dsc-field textarea,
	html:not([data-dsc-theme="light"]) .dsc-radio-group label,
	html:not([data-dsc-theme="light"]) .dsc-form--split .dsc-option-card,
	html:not([data-dsc-theme="light"]) .dsc-form--split .dsc-legal-checks .dsc-checkbox,
	html:not([data-dsc-theme="light"]) .dsc-datepicker{
		background:var(--dsc-dark-surface-soft) !important;
		border-color:var(--dsc-dark-border) !important;
		color:var(--dsc-dark-text) !important;
	}

	html:not([data-dsc-theme="light"]) .dsc-card h2,
	html:not([data-dsc-theme="light"]) .dsc-card h3,
	html:not([data-dsc-theme="light"]) .dsc-field span,
	html:not([data-dsc-theme="light"]) .dsc-radio-group label > span,
	html:not([data-dsc-theme="light"]) .dsc-service-box h3,
	html:not([data-dsc-theme="light"]) .dsc-price-loading__title,
	html:not([data-dsc-theme="light"]) .dsc-total-part strong{
		color:var(--dsc-dark-heading) !important;
	}

	html:not([data-dsc-theme="light"]) .dsc-card p,
	html:not([data-dsc-theme="light"]) .dsc-card-head p,
	html:not([data-dsc-theme="light"]) .dsc-price-empty,
	html:not([data-dsc-theme="light"]) .dsc-field-help,
	html:not([data-dsc-theme="light"]) .dsc-total-part small,
	html:not([data-dsc-theme="light"]) .dsc-admin-calc-detail{
		color:var(--dsc-dark-muted) !important;
	}

	html:not([data-dsc-theme="light"]) .dsc-quick-price,
	html:not([data-dsc-theme="light"]) .dsc-quick-price-mobile{
		--dsc-quick-primary:var(--dsc-dark-heading) !important;
		--dsc-quick-secondary:var(--dsc-dark-accent) !important;
		--dsc-quick-border:var(--dsc-dark-border) !important;
		--dsc-quick-muted:var(--dsc-dark-muted) !important;
		--dsc-qpm-primary:var(--dsc-dark-heading) !important;
		--dsc-qpm-secondary:var(--dsc-dark-accent) !important;
		--dsc-qpm-border:var(--dsc-dark-border) !important;
		--dsc-qpm-muted:var(--dsc-dark-muted) !important;
		--dsc-qpm-success:var(--dsc-dark-success) !important;
		color:var(--dsc-dark-text) !important;
	}

	html:not([data-dsc-theme="light"]) .dsc-quick-price__inner,
	html:not([data-dsc-theme="light"]) .dsc-quick-price-mobile__inner{
		background:var(--dsc-dark-surface) !important;
		border-color:var(--dsc-dark-border) !important;
	}

	html:not([data-dsc-theme="light"]) .dsc-quick-price__field input,
	html:not([data-dsc-theme="light"]) .dsc-quick-price__pricebox,
	html:not([data-dsc-theme="light"]) .dsc-quick-price-mobile__field input,
	html:not([data-dsc-theme="light"]) .dsc-quick-price-mobile__pricebox{
		background:var(--dsc-dark-surface-soft) !important;
		border-color:var(--dsc-dark-border) !important;
		color:var(--dsc-dark-text) !important;
	}

	html:not([data-dsc-theme="light"]) .uabb-adv-accordion,
	html:not([data-dsc-theme="light"]) .uabb-adv-accordion-item{
		background:transparent !important;
		border-color:var(--dsc-dark-border) !important;
		color:var(--dsc-dark-text) !important;
	}

	html:not([data-dsc-theme="light"]) .uabb-adv-accordion-button{
		background:var(--dsc-dark-surface) !important;
		border:1px solid var(--dsc-dark-border) !important;
		color:var(--dsc-dark-heading) !important;
	}

	html:not([data-dsc-theme="light"]) .uabb-adv-accordion-button:hover,
	html:not([data-dsc-theme="light"]) .uabb-adv-accordion-button:focus{
		background:var(--dsc-dark-surface-soft) !important;
		color:var(--dsc-dark-heading) !important;
	}

	html:not([data-dsc-theme="light"]) .uabb-adv-accordion-button-label,
	html:not([data-dsc-theme="light"]) .uabb-adv-accordion-button .uabb-adv-accordion-button-label,
	html:not([data-dsc-theme="light"]) .uabb-adv-accordion-button .uabb-adv-accordion-icon,
	html:not([data-dsc-theme="light"]) .uabb-adv-accordion-button i,
	html:not([data-dsc-theme="light"]) .uabb-adv-accordion-button span{
		color:var(--dsc-dark-heading) !important;
	}

	html:not([data-dsc-theme="light"]) .uabb-adv-accordion-content{
		background:var(--dsc-dark-surface) !important;
		border:1px solid var(--dsc-dark-border) !important;
		border-top:0 !important;
		color:var(--dsc-dark-text) !important;
	}

	html:not([data-dsc-theme="light"]) .uabb-adv-accordion-content,
	html:not([data-dsc-theme="light"]) .uabb-adv-accordion-content p,
	html:not([data-dsc-theme="light"]) .uabb-adv-accordion-content li,
	html:not([data-dsc-theme="light"]) .uabb-adv-accordion-content span,
	html:not([data-dsc-theme="light"]) .uabb-accordion-desc,
	html:not([data-dsc-theme="light"]) .uabb-accordion-desc p,
	html:not([data-dsc-theme="light"]) .uabb-text-editor,
	html:not([data-dsc-theme="light"]) .uabb-text-editor p{
		color:var(--dsc-dark-text) !important;
	}

	html:not([data-dsc-theme="light"]) .uabb-adv-accordion-button-icon,
	html:not([data-dsc-theme="light"]) .uabb-adv-accordion-button-icon *,
	html:not([data-dsc-theme="light"]) .uabb-adv-accordion-button .uabb-icon,
	html:not([data-dsc-theme="light"]) .uabb-adv-accordion-button .uabb-icon i{
		color:var(--dsc-dark-accent) !important;
	}
}

/* Beaver Builder Button-Text - Darkmode */
html[data-dsc-theme="dark"] .fl-builder-content a.fl-button,
html[data-dsc-theme="dark"] .fl-builder-content a.fl-button:visited,
html[data-dsc-theme="dark"] .fl-builder-content .fl-button,
html[data-dsc-theme="dark"] .fl-builder-content .fl-button:visited,
html[data-dsc-theme="dark"] .fl-builder-content .fl-button span,
html[data-dsc-theme="dark"] .fl-builder-content .fl-button span.fl-button-text{
	color:#242A56 !important;
}

/* Automatischer Darkmode */
@media (prefers-color-scheme: dark){
	html:not([data-dsc-theme="light"]) .fl-builder-content a.fl-button,
	html:not([data-dsc-theme="light"]) .fl-builder-content a.fl-button:visited,
	html:not([data-dsc-theme="light"]) .fl-builder-content .fl-button,
	html:not([data-dsc-theme="light"]) .fl-builder-content .fl-button:visited,
	html:not([data-dsc-theme="light"]) .fl-builder-content .fl-button span,
	html:not([data-dsc-theme="light"]) .fl-builder-content .fl-button span.fl-button-text{
		color:#242A56 !important;
	}
}

/* Kompakter Darkmode-Schalter */
.dsc-theme-switch{
	display:inline-flex !important;
	align-items:center !important;
	justify-content:center !important;
	gap:6px !important;
	min-height:34px !important;
	padding:6px 11px !important;
	border:1px solid #dfe5ee !important;
	border-radius:999px !important;
	background:#ffffff !important;
	color:#242A56 !important;
	font:inherit !important;
	font-size:13px !important;
	font-weight:800 !important;
	line-height:1.2 !important;
	cursor:pointer !important;
	box-shadow:none !important;
	appearance:none !important;
}

.dsc-theme-switch:hover,
.dsc-theme-switch:focus{
	border-color:#FFBF00 !important;
	outline:none !important;
}

.dsc-theme-switch [data-dsc-theme-cycle-icon]{
	display:inline-flex !important;
	align-items:center !important;
	justify-content:center !important;
	width:18px !important;
	height:18px !important;
	font-size:15px !important;
	line-height:1 !important;
	color:inherit !important;
}

html[data-dsc-theme="dark"] .dsc-theme-switch{
	background:#171c31 !important;
	border-color:#343b58 !important;
	color:#eef2ff !important;
}

html[data-dsc-theme="dark"] .dsc-theme-switch:hover,
html[data-dsc-theme="dark"] .dsc-theme-switch:focus{
	border-color:#FFBF00 !important;
	color:#FFBF00 !important;
}

@media (prefers-color-scheme: dark){
	html:not([data-dsc-theme="light"]) .dsc-theme-switch{
		background:#171c31 !important;
		border-color:#343b58 !important;
		color:#eef2ff !important;
	}

	html:not([data-dsc-theme="light"]) .dsc-theme-switch:hover,
	html:not([data-dsc-theme="light"]) .dsc-theme-switch:focus{
		border-color:#FFBF00 !important;
		color:#FFBF00 !important;
	}
}

/* UABB Infobox - Darkmode */
html[data-dsc-theme="dark"] .uabb-infobox,
html[data-dsc-theme="dark"] .uabb-infobox-content,
html[data-dsc-theme="dark"] .uabb-module-content.uabb-infobox{
	background:var(--dsc-dark-surface) !important;
	border-color:var(--dsc-dark-border) !important;
	color:var(--dsc-dark-text) !important;
}

html[data-dsc-theme="dark"] .uabb-infobox-title,
html[data-dsc-theme="dark"] .uabb-infobox-title-wrap,
html[data-dsc-theme="dark"] .uabb-infobox-title-wrap h1,
html[data-dsc-theme="dark"] .uabb-infobox-title-wrap h2,
html[data-dsc-theme="dark"] .uabb-infobox-title-wrap h3,
html[data-dsc-theme="dark"] .uabb-infobox-title-wrap h4,
html[data-dsc-theme="dark"] .uabb-infobox-title-wrap h5,
html[data-dsc-theme="dark"] .uabb-infobox-title-wrap h6{
	color:var(--dsc-dark-heading) !important;
}

html[data-dsc-theme="dark"] .uabb-infobox-text,
html[data-dsc-theme="dark"] .uabb-infobox-text p,
html[data-dsc-theme="dark"] .uabb-infobox-text span,
html[data-dsc-theme="dark"] .uabb-text-editor,
html[data-dsc-theme="dark"] .uabb-text-editor p{
	color:var(--dsc-dark-text) !important;
}

html[data-dsc-theme="dark"] .uabb-infobox .uabb-image,
html[data-dsc-theme="dark"] .uabb-infobox .uabb-photo,
html[data-dsc-theme="dark"] .uabb-infobox .uabb-photo-content,
html[data-dsc-theme="dark"] .uabb-infobox .uabb-imgicon-wrap{
	background:transparent !important;
}

/* UABB Creative Button - Darkmode */
html[data-dsc-theme="dark"] .uabb-creative-button-wrap a,
html[data-dsc-theme="dark"] .uabb-creative-button-wrap a:visited,
html[data-dsc-theme="dark"] .uabb-creative-button-wrap .uabb-creative-flat-btn,
html[data-dsc-theme="dark"] .uabb-creative-button-wrap .uabb-creative-transparent-btn{
	background:var(--dsc-dark-accent) !important;
	border-color:var(--dsc-dark-accent) !important;
	color:#242A56 !important;
}

html[data-dsc-theme="dark"] .uabb-creative-button-wrap a *,
html[data-dsc-theme="dark"] .uabb-creative-button-wrap .uabb-button-text,
html[data-dsc-theme="dark"] .uabb-creative-button-wrap .uabb-creative-button-text,
html[data-dsc-theme="dark"] .uabb-creative-button-wrap span{
	color:#242A56 !important;
}

html[data-dsc-theme="dark"] .uabb-creative-button-wrap a:hover,
html[data-dsc-theme="dark"] .uabb-creative-button-wrap a:focus,
html[data-dsc-theme="dark"] .uabb-creative-button-wrap .uabb-creative-flat-btn:hover,
html[data-dsc-theme="dark"] .uabb-creative-button-wrap .uabb-creative-flat-btn:focus{
	background:#ffffff !important;
	border-color:#ffffff !important;
	color:#242A56 !important;
}

html[data-dsc-theme="dark"] .uabb-creative-button-wrap a:hover *,
html[data-dsc-theme="dark"] .uabb-creative-button-wrap a:focus *,
html[data-dsc-theme="dark"] .uabb-creative-button-wrap .uabb-creative-flat-btn:hover *,
html[data-dsc-theme="dark"] .uabb-creative-button-wrap .uabb-creative-flat-btn:focus *{
	color:#242A56 !important;
}

/* =========================================================
   9. Astra Blog-Übersicht - Darkmode Fix
   ========================================================= */

html[data-dsc-theme="dark"] h2.entry-title.ast-blog-single-element a,
html[data-dsc-theme="dark"] .post-content h2.entry-title.ast-blog-single-element a,
html[data-dsc-theme="dark"] .entry-title.ast-blog-single-element a{
	color:var(--dsc-dark-heading) !important;
	-webkit-text-fill-color:var(--dsc-dark-heading) !important;
}

html[data-dsc-theme="dark"] h2.entry-title.ast-blog-single-element a:hover,
html[data-dsc-theme="dark"] .post-content h2.entry-title.ast-blog-single-element a:hover,
html[data-dsc-theme="dark"] .entry-title.ast-blog-single-element a:hover{
	color:var(--dsc-dark-accent) !important;
	-webkit-text-fill-color:var(--dsc-dark-accent) !important;
}

html[data-dsc-theme="dark"] .ast-excerpt-container,
html[data-dsc-theme="dark"] .ast-excerpt-container p,
html[data-dsc-theme="dark"] .post-content,
html[data-dsc-theme="dark"] .post-content p{
	color:var(--dsc-dark-text) !important;
	-webkit-text-fill-color:var(--dsc-dark-text) !important;
}

html[data-dsc-theme="dark"] p.ast-blog-single-element.ast-read-more-container a,
html[data-dsc-theme="dark"] .ast-read-more-container a,
html[data-dsc-theme="dark"] .read-more a{
	color:var(--dsc-dark-accent) !important;
	-webkit-text-fill-color:var(--dsc-dark-accent) !important;
	background:transparent !important;
}

html[data-dsc-theme="dark"] p.ast-blog-single-element.ast-read-more-container a:hover,
html[data-dsc-theme="dark"] .ast-read-more-container a:hover,
html[data-dsc-theme="dark"] .read-more a:hover{
	color:#ffffff !important;
	-webkit-text-fill-color:#ffffff !important;
}

html[data-dsc-theme="dark"] .ast-pagination-infinite a.ast-load-more,
html[data-dsc-theme="dark"] a.ast-load-more,
html[data-dsc-theme="dark"] a.ast-load-more.active{
	background:var(--dsc-dark-surface) !important;
	border:2px solid var(--dsc-dark-border) !important;
	color:var(--dsc-dark-heading) !important;
	-webkit-text-fill-color:var(--dsc-dark-heading) !important;
	text-decoration:none !important;
}

html[data-dsc-theme="dark"] .ast-pagination-infinite a.ast-load-more:hover,
html[data-dsc-theme="dark"] a.ast-load-more:hover,
html[data-dsc-theme="dark"] a.ast-load-more.active:hover{
	background:var(--dsc-dark-accent) !important;
	border-color:var(--dsc-dark-accent) !important;
	color:#242A56 !important;
	-webkit-text-fill-color:#242A56 !important;
}

/* =========================================================
   10. Quick-Price Button aktiv - Darkmode Textfarbe
   ========================================================= */

html[data-dsc-theme="dark"] .dsc-quick-price__booking:not(.is-disabled),
html[data-dsc-theme="dark"] .dsc-quick-price__booking:not(.is-disabled):visited,
html[data-dsc-theme="dark"] .dsc-quick-price__booking:not(.is-disabled):hover,
html[data-dsc-theme="dark"] .dsc-quick-price__booking:not(.is-disabled):focus{
	color:#242A56 !important;
	-webkit-text-fill-color:#242A56 !important;
}

/* =========================================================
   11. UABB Blog Posts Modul - Darkmode
   ========================================================= */

/* Kartenflächen */
html[data-dsc-theme="dark"] .uabb-blog-posts,
html[data-dsc-theme="dark"] .uabb-blog-posts .uabb-blog-posts-shadow,
html[data-dsc-theme="dark"] .uabb-blog-posts .uabb-blog-post-inner-wrap,
html[data-dsc-theme="dark"] .uabb-blog-posts .uabb-blog-post-content,
html[data-dsc-theme="dark"] .uabb-blog-posts .uabb-blog-post-section,
html[data-dsc-theme="dark"] .uabb-blog-posts .uabb-blog-posts-description{
	background:var(--dsc-dark-surface) !important;
	border-color:var(--dsc-dark-border) !important;
	color:var(--dsc-dark-text) !important;
}

/* Titel */
html[data-dsc-theme="dark"] .uabb-blog-posts .uabb-post-heading,
html[data-dsc-theme="dark"] .uabb-blog-posts .uabb-post-heading a,
html[data-dsc-theme="dark"] .uabb-blog-posts .uabb-blog-post-heading,
html[data-dsc-theme="dark"] .uabb-blog-posts .uabb-blog-post-heading a{
	color:var(--dsc-dark-heading) !important;
	-webkit-text-fill-color:var(--dsc-dark-heading) !important;
}

/* Titel Hover */
html[data-dsc-theme="dark"] .uabb-blog-posts .uabb-post-heading a:hover,
html[data-dsc-theme="dark"] .uabb-blog-posts .uabb-post-heading a:focus,
html[data-dsc-theme="dark"] .uabb-blog-posts .uabb-blog-post-heading a:hover,
html[data-dsc-theme="dark"] .uabb-blog-posts .uabb-blog-post-heading a:focus{
	color:var(--dsc-dark-accent) !important;
	-webkit-text-fill-color:var(--dsc-dark-accent) !important;
}

/* Beschreibung / Auszug */
html[data-dsc-theme="dark"] .uabb-blog-posts .uabb-blog-posts-description,
html[data-dsc-theme="dark"] .uabb-blog-posts .uabb-blog-posts-description p,
html[data-dsc-theme="dark"] .uabb-blog-posts .uabb-text-editor,
html[data-dsc-theme="dark"] .uabb-blog-posts .uabb-text-editor p{
	color:var(--dsc-dark-text) !important;
	-webkit-text-fill-color:var(--dsc-dark-text) !important;
}

/* Mehr lesen */
html[data-dsc-theme="dark"] .uabb-blog-posts .uabb-read-more-text,
html[data-dsc-theme="dark"] .uabb-blog-posts .uabb-read-more-text a,
html[data-dsc-theme="dark"] .uabb-blog-posts .uabb-read-more-text span,
html[data-dsc-theme="dark"] .uabb-blog-posts .uabb-blog-post-section a{
	color:var(--dsc-dark-accent) !important;
	-webkit-text-fill-color:var(--dsc-dark-accent) !important;
}

/* Mehr lesen Hover */
html[data-dsc-theme="dark"] .uabb-blog-posts .uabb-read-more-text a:hover,
html[data-dsc-theme="dark"] .uabb-blog-posts .uabb-read-more-text a:focus,
html[data-dsc-theme="dark"] .uabb-blog-posts .uabb-blog-post-section a:hover,
html[data-dsc-theme="dark"] .uabb-blog-posts .uabb-blog-post-section a:focus{
	color:#ffffff !important;
	-webkit-text-fill-color:#ffffff !important;
}

/* Pfeile im Slider */
html[data-dsc-theme="dark"] .uabb-blog-posts .slick-arrow,
html[data-dsc-theme="dark"] .uabb-blog-posts .slick-arrow i,
html[data-dsc-theme="dark"] .uabb-blog-posts .slick-arrow svg{
	color:#242A56 !important;
	fill:#242A56 !important;
}

/* Falls UABB direkte helle Hintergründe setzt */
html[data-dsc-theme="dark"] .uabb-blog-posts .uabb-blog-post-section{
	background:transparent !important;
}