/* df-campaign-black-legal 1.0.1 — Rechts-/Service-Seiten im BF-Theme.
   Nur aktiv mit html.df-theme-black. Überschreibt das helle hyla-legal-design
   (CSS-Variablen --ink/--soft plus hart kodiertes #fff/#151515, Kontakt-Button-
   Plugin) und die helle OWB-Formularseite, sowie ungestylte Tabellen/Listen
   auf DK (dort greift hyla-legal-design nicht, weil hyla_lp_shop() kein .dk kennt).
   Keine Änderung an hyla-legal-design.php, OWB-PHP oder Kontakt-Helfer-Dateien.
   DK-Kontakt (Seite 6986, body.hyla-lp-contact, eigener Loader) ist ausgenommen,
   damit sich die Regeln nicht mit df-campaign-black-dk-contact.css beißen. */

/* ========== 1) Legal-Design (NL/FR/PT): Tokens umbiegen ========== */
html.df-theme-black:not(#dfx) body.hyla-lp-page:not(.hyla-lp-contact) .lp{
  --ink:var(--bf-text,#f3efe6);
  --txt:var(--bf-text,#f3efe6);
  --mut:var(--bf-muted,#bdb6a8);
  --line:var(--bf-line,#2c2a26);
  --soft:var(--bf-surface,#1a1a1a);
  --acc:var(--bf-gold,#FFD700);
  color:var(--txt);
  background:transparent;
}

html.df-theme-black:not(#dfx) body.hyla-lp-page:not(.hyla-lp-contact) :is(main.page-shell,main.page-shell>.wrap,#hyla-main,#hyla-main>.hyla-filler-builder-content,.entry-content,.hyla-filler-legal){
  background:transparent!important;
  color:var(--bf-text,#f3efe6);
}

html.df-theme-black:not(#dfx) body.hyla-lp-page:not(.hyla-lp-contact) main.page-shell>.wrap>h1,
html.df-theme-black:not(#dfx) body.hyla-lp-page:not(.hyla-lp-contact) #hyla-main>.hyla-filler-builder-content>h1{
  color:var(--bf-text,#f3efe6)!important;
}

/* Links: Gold, auch gegen body.hyla-lp-page:not(.hyla-lp-contact).hyla-lp-page .lp a { color:var(--ink)!important } */
html.df-theme-black:not(#dfx) body.hyla-lp-page:not(.hyla-lp-contact).hyla-lp-page .lp a{
  color:var(--bf-gold-2,#FFE15C)!important;
  text-decoration-color:rgba(255,215,0,.45);
}
html.df-theme-black:not(#dfx) body.hyla-lp-page:not(.hyla-lp-contact).hyla-lp-page .lp-toc a{
  color:var(--bf-text,#f3efe6)!important;
  text-decoration:none!important;
}
html.df-theme-black:not(#dfx) body.hyla-lp-page:not(.hyla-lp-contact).hyla-lp-page .lp-toc a.is-on{
  border-left-color:var(--bf-gold,#FFD700);
  color:var(--bf-gold-2,#FFE15C)!important;
}
html.df-theme-black:not(#dfx) body.hyla-lp-page:not(.hyla-lp-contact).hyla-lp-page .lp-crumb a{color:var(--bf-muted,#bdb6a8)!important}
html.df-theme-black:not(#dfx) body.hyla-lp-page:not(.hyla-lp-contact).hyla-lp-page .lp-crumb a:hover{color:var(--bf-gold-2,#FFE15C)!important}
html.df-theme-black:not(#dfx) body.hyla-lp-page:not(.hyla-lp-contact) .lp-crumb{color:var(--bf-muted,#bdb6a8)}

/* Weiße Flächen → dunkle Surfaces (Karten, Chips, Akkordeon-Plus, Tiles, Formular) */
html.df-theme-black:not(#dfx) body.hyla-lp-page:not(.hyla-lp-contact) .lp :is(.lp-card,.lp-form,.lp-chips,.lp .lp-tiles,.lp .lp-fcta-l){
  background:var(--bf-surface,#1a1a1a)!important;
  color:var(--bf-text,#f3efe6);
  border-color:var(--bf-line,#2c2a26)!important;
}
html.df-theme-black:not(#dfx) body.hyla-lp-page:not(.hyla-lp-contact).hyla-lp-page .lp :is(.lp-cta:not(.solid),.lp-chat,.lp-chip){
  background:var(--bf-surface,#1a1a1a)!important;
  color:var(--bf-text,#f3efe6)!important;
  border-color:var(--bf-line,#3a362f)!important;
}
html.df-theme-black:not(#dfx) body.hyla-lp-page:not(.hyla-lp-contact).hyla-lp-page .lp :is(.lp-cta:not(.solid):hover,.lp-chat:hover){
  background:var(--bf-gold,#FFD700)!important;
  color:#111!important;
  border-color:var(--bf-gold,#FFD700)!important;
}
html.df-theme-black:not(#dfx) body.hyla-lp-page:not(.hyla-lp-contact).hyla-lp-page .lp .lp-cta.solid,
html.df-theme-black:not(#dfx) body.hyla-lp-page:not(.hyla-lp-contact).hyla-lp-page .lp .lp-chip.is-on,
html.df-theme-black:not(#dfx) body.hyla-lp-page:not(.hyla-lp-contact) .lp-pay-tab.on,
html.df-theme-black:not(#dfx) body.hyla-lp-page:not(.hyla-lp-contact) .lp-q.is-expanded>summary::after,
html.df-theme-black:not(#dfx) body.hyla-lp-page:not(.hyla-lp-contact) .lp-q:not(.is-animated)[open]>summary::after{
  background:var(--bf-gold,#FFD700)!important;
  color:#111!important;
  border-color:var(--bf-gold,#FFD700)!important;
}
html.df-theme-black:not(#dfx) body.hyla-lp-page:not(.hyla-lp-contact) .lp-q>summary::after{
  background:var(--bf-surface,#1a1a1a)!important;
  color:var(--bf-text,#f3efe6)!important;
  border-color:var(--bf-line,#2c2a26)!important;
}

/* Kontakt-Button im TOC (hyla-legal-contact-btn.php, background:#fff!important) */
html.df-theme-black:not(#dfx) body.hyla-lp-page:not(.hyla-lp-contact).hyla-lp-page .lp .lp-toc .lp-toc-foot a{
  background:transparent!important;
  color:var(--bf-gold-2,#FFE15C)!important;
  border-color:var(--bf-gold,#FFD700)!important;
}
html.df-theme-black:not(#dfx) body.hyla-lp-page:not(.hyla-lp-contact).hyla-lp-page .lp .lp-toc .lp-toc-foot a:hover{
  background:var(--bf-gold,#FFD700)!important;
  color:#111!important;
}
html.df-theme-black:not(#dfx) body.hyla-lp-page:not(.hyla-lp-contact).hyla-lp-page .lp .lp-toc .lp-toc-foot a:focus-visible,
html.df-theme-black:not(#dfx) body.hyla-lp-page:not(.hyla-lp-contact).hyla-lp-page .lp .lp-cta:focus-visible{
  outline-color:var(--bf-gold,#FFD700)!important;
}

/* Formulare im Legal-Design (Kontakt auf NL/FR/PT). DK-Kontakt hat eigene Helfer-Datei, die unangetastet bleibt. */
html.df-theme-black:not(#dfx) body.hyla-lp-page:not(.hyla-lp-contact).hyla-lp-page .lp .wpcf7 :is(input[type=text],input[type=email],input[type=tel],input[type=url],textarea,select){
  background:var(--bf-surface-2,#242424)!important;
  color:var(--bf-text,#f3efe6)!important;
  border-color:#3a362f!important;
}
html.df-theme-black:not(#dfx) body.hyla-lp-page:not(.hyla-lp-contact).hyla-lp-page .lp .wpcf7 input:focus,
html.df-theme-black:not(#dfx) body.hyla-lp-page:not(.hyla-lp-contact).hyla-lp-page .lp .wpcf7 textarea:focus{
  border-color:var(--bf-gold,#FFD700)!important;
}
html.df-theme-black:not(#dfx) body.hyla-lp-page:not(.hyla-lp-contact).hyla-lp-page .lp .wpcf7 [type=submit]{
  background:var(--bf-gold,#FFD700)!important;
  color:#111!important;
  border-color:var(--bf-gold,#FFD700)!important;
}
html.df-theme-black:not(#dfx) body.hyla-lp-page:not(.hyla-lp-contact).hyla-lp-page .lp .wpcf7 [type=submit]:hover{
  background:var(--bf-gold-2,#FFE15C)!important;
  color:#111!important;
}

/* Zahlungs-Logos lesbar auf Weiß belassen */
html.df-theme-black:not(#dfx) body.hyla-lp-page:not(.hyla-lp-contact) .lp-pt .lg,
html.df-theme-black:not(#dfx) body.hyla-lp-page:not(.hyla-lp-contact) .lp .lp-paylogos li{
  background:#fff!important;
  border-color:var(--bf-line,#2c2a26)!important;
}

/* Tabellen im Legal-Design */
html.df-theme-black:not(#dfx) body.hyla-lp-page:not(.hyla-lp-contact) .lp-table{
  background:transparent;
  color:var(--bf-text,#f3efe6);
}
html.df-theme-black:not(#dfx) body.hyla-lp-page:not(.hyla-lp-contact) .lp-table th{
  color:var(--bf-muted,#bdb6a8);
  border-bottom-color:var(--bf-gold,#FFD700);
  background:transparent;
}
html.df-theme-black:not(#dfx) body.hyla-lp-page:not(.hyla-lp-contact) .lp-table td{
  color:var(--bf-text,#f3efe6);
  border-bottom-color:var(--bf-line,#2c2a26);
  background:transparent;
}
html.df-theme-black:not(#dfx) body.hyla-lp-page:not(.hyla-lp-contact) .lp-table.reflow tr{
  border-color:var(--bf-line,#2c2a26);
  background:var(--bf-surface,#1a1a1a);
}

/* ========== 2) DK und Seiten ohne Legal-Design-Wrapper ========== */
html.df-theme-black:not(#dfx) :is(body.hyla-filler-legal-page,body.hyla-filler-svc:not(.page-id-6986):not(.hyla-lp-contact),body.hyla-owb-form-page)
  :is(main.page-shell,main.page-shell>.wrap,.entry-content,.hyla-filler-legal,.hyla-filler-svc-wrap,.hyla-filler-svc-content){
  background:transparent!important;
  color:var(--bf-text,#f3efe6);
}
html.df-theme-black:not(#dfx) :is(body.hyla-filler-legal-page,body.hyla-filler-svc:not(.page-id-6986):not(.hyla-lp-contact),body.hyla-owb-form-page) main :is(h1,h2,h3,h4,h5,h6){
  color:var(--bf-text,#f3efe6)!important;
}
html.df-theme-black:not(#dfx) :is(body.hyla-filler-legal-page,body.hyla-filler-svc:not(.page-id-6986):not(.hyla-lp-contact),body.hyla-owb-form-page) main :is(p,li,dt,dd,td,th,small,blockquote,figcaption){
  color:var(--bf-muted,#bdb6a8);
}
html.df-theme-black:not(#dfx) :is(body.hyla-filler-legal-page,body.hyla-filler-svc:not(.page-id-6986):not(.hyla-lp-contact),body.hyla-owb-form-page) main :is(strong,b,dt,th){
  color:var(--bf-text,#f3efe6);
}
html.df-theme-black:not(#dfx) body.hyla-mode-filler.hyla-filler-legal-page .hyla-filler-legal a,
html.df-theme-black:not(#dfx) :is(body.hyla-filler-legal-page,body.hyla-filler-svc:not(.page-id-6986):not(.hyla-lp-contact),body.hyla-owb-form-page) main a{
  color:var(--bf-gold-2,#FFE15C)!important;
}

/* Tabellen / Definitionslisten (auf DK ungestylt, Klassen lp-table/lp-dl bleiben im Markup) */
html.df-theme-black:not(#dfx) :is(body.hyla-filler-legal-page,body.hyla-filler-svc:not(.page-id-6986):not(.hyla-lp-contact),body.hyla-lp-page:not(.hyla-lp-contact),body.hyla-owb-form-page)
  :is(table,table.lp-table){
  width:100%;
  border-collapse:collapse;
  background:var(--bf-surface,#1a1a1a);
  color:var(--bf-text,#f3efe6);
  border:1px solid var(--bf-line,#2c2a26);
}
html.df-theme-black:not(#dfx) :is(body.hyla-filler-legal-page,body.hyla-filler-svc:not(.page-id-6986):not(.hyla-lp-contact),body.hyla-lp-page:not(.hyla-lp-contact),body.hyla-owb-form-page)
  :is(table,table.lp-table) :is(th,td){
  border-bottom:1px solid var(--bf-line,#2c2a26);
  background:transparent!important;
  color:var(--bf-text,#f3efe6);
  padding:.7em .8em;
  vertical-align:top;
}
html.df-theme-black:not(#dfx) :is(body.hyla-filler-legal-page,body.hyla-filler-svc:not(.page-id-6986):not(.hyla-lp-contact),body.hyla-lp-page:not(.hyla-lp-contact))
  :is(table,table.lp-table) th{
  color:var(--bf-muted,#bdb6a8);
  font-weight:700;
  border-bottom:1px solid var(--bf-gold,#FFD700);
  text-align:left;
}
/* Rahmen der Definitionsliste nur im Legal-Design (dort ist .lp-dl ein Raster).
   Auf DK ohne Legal-Design-CSS keine vollen Trennlinien unter jeder Zeile. */
html.df-theme-black:not(#dfx) body.hyla-lp-page:not(.hyla-lp-contact) .lp-dl{
  border-top:1px solid var(--bf-line,#2c2a26);
  color:var(--bf-text,#f3efe6);
}
html.df-theme-black:not(#dfx) body.hyla-lp-page:not(.hyla-lp-contact) .lp-dl :is(dt,dd){
  border-bottom-color:var(--bf-line,#2c2a26);
  color:var(--bf-text,#f3efe6);
}
html.df-theme-black:not(#dfx) body.hyla-lp-page:not(.hyla-lp-contact) .lp-dl dt,
html.df-theme-black:not(#dfx) :is(body.hyla-filler-legal-page,body.hyla-filler-svc:not(.page-id-6986):not(.hyla-lp-contact)) :is(.lp-dl,dl) dt{
  color:var(--bf-muted,#bdb6a8);
}
html.df-theme-black:not(#dfx) :is(body.hyla-filler-legal-page,body.hyla-filler-svc:not(.page-id-6986):not(.hyla-lp-contact)) :is(.lp-dl,dl) dd{
  color:var(--bf-text,#f3efe6);
}

/* Listen klar lesbar */
html.df-theme-black:not(#dfx) :is(body.hyla-filler-legal-page,body.hyla-filler-svc:not(.page-id-6986):not(.hyla-lp-contact),body.hyla-lp-page:not(.hyla-lp-contact)) main :is(ul,ol){
  color:var(--bf-muted,#bdb6a8);
}

/* ========== 3) Widerrufs-Formular (hyla-owb-form-style.php, hell, Rosa) ========== */
html.df-theme-black:not(#dfx) body.hyla-owb-form-page{
  --owb-ink:var(--bf-text,#f3efe6);
  --owb-text:var(--bf-text,#f3efe6);
  --owb-mut:var(--bf-muted,#bdb6a8);
  --owb-line:var(--bf-line,#2c2a26);
  --owb-card:var(--bf-line,#2c2a26);
  --owb-pink:var(--bf-gold,#FFD700);
  --owb-pink-h:var(--bf-gold-2,#FFE15C);
  --owb-err:#ffd2d2;
  --owb-err-bg:#2a1414;
}
html.df-theme-black:not(#dfx) body.hyla-owb-form-page main h1{color:var(--bf-text,#f3efe6)!important}
html.df-theme-black:not(#dfx) body.hyla-owb-form-page form.order-withdrawal-request{
  background:var(--bf-surface,#1a1a1a)!important;
  color:var(--bf-text,#f3efe6)!important;
  border-color:var(--bf-line,#2c2a26)!important;
}
html.df-theme-black:not(#dfx) body.hyla-owb-form-page form.order-withdrawal-request :is(input.input-text,select,textarea){
  background:var(--bf-surface-2,#242424)!important;
  color:var(--bf-text,#f3efe6)!important;
  border-color:#3a362f!important;
}
html.df-theme-black:not(#dfx) body.hyla-owb-form-page form.order-withdrawal-request :is(input.input-text:focus,textarea:focus){
  border-color:var(--bf-gold,#FFD700)!important;
  box-shadow:0 0 0 3px rgba(255,215,0,.28)!important;
}
html.df-theme-black:not(#dfx) body.hyla-owb-form-page form.order-withdrawal-request :is(button[type=submit],.button){
  background:var(--bf-gold,#FFD700)!important;
  color:#111!important;
  border-color:var(--bf-gold,#FFD700)!important;
}
html.df-theme-black:not(#dfx) body.hyla-owb-form-page form.order-withdrawal-request button[type=submit]:hover{
  background:var(--bf-gold-2,#FFE15C)!important;
  border-color:var(--bf-gold-2,#FFE15C)!important;
  box-shadow:none!important;
}
html.df-theme-black:not(#dfx) body.hyla-owb-form-page .woocommerce-error{
  color:#ffd2d2!important;
  background:#2a1414!important;
  border-color:#ff6b6b!important;
}
html.df-theme-black:not(#dfx) body.hyla-owb-form-page .woocommerce-message{
  color:var(--bf-text,#f3efe6)!important;
  background:#10251b!important;
  border-color:#7be0ad!important;
}
