/* CI4U Design 2026 - zentrale Schicht (dunkel). Kadence-Palette wird gekippt, dadurch folgen Kopf, Fuss, Blog, Beitraege. */
html:root{
  --global-palette3:#F3F2FA;--global-palette4:#F3F2FA;--global-palette5:#B4B2CF;--global-palette6:#8B89A6;
  --global-palette7:#16152A;--global-palette8:#100F20;--global-palette9:#0B0A16;
  --c4-bg:#0B0A16;--c4-surface:#16152A;--c4-surface2:#1C1A36;--c4-border:#2A2846;--c4-text:#E6E4F5;--c4-muted:#B4B2CF;--c4-accent-t:#B3A3FF;
  color-scheme:dark}
html body{background:var(--c4-bg);color:var(--c4-text);font-family:Inter,ui-sans-serif,system-ui,sans-serif}
html body h1,html body h2,html body h3,html body h4,html body h5,html body h6{font-family:Poppins,Inter,sans-serif;color:#F3F2FA;letter-spacing:-.02em}
html body .entry-content a:not(.ci4u26btn):not(.wp-block-button__link):not(.button):not(.kb-button):not(.btn):not(.tile-link):not(.textlink):not(.more):not(.demo-shot){color:var(--c4-accent-t)}
html body .entry-content a:not(.ci4u26btn):not(.wp-block-button__link):not(.button):not(.kb-button):not(.btn):hover{color:#fff}
html body .content-bg,html body .entry-content-wrap,html body #primary,html body .entry.content-bg,html body .site-container,html body #inner-wrap,html body .content-wrap,html body .entry-hero-container-inner,html body .entry-hero{background:transparent}
html body .content-bg,html body .entry.content-bg{box-shadow:none}
/* Kopf */
html body .site-header .site-main-header-inner-wrap,html body .site-header .site-header-row-container-inner,html body .site-header .site-header-inner-wrap{background:#0B0A16!important;border-bottom:1px solid var(--c4-border)}
html body .site-header .header-navigation .header-menu-container>ul>li.menu-item>a{color:#D9D7EE}
html body .site-header .header-navigation .header-menu-container>ul>li.menu-item>a:hover{color:#fff}
html body .site-header .site-branding a.brand{display:block;background:url(/wp-content/mu-plugins/ci4u-assets/logo-dark.png) left center/contain no-repeat}
html body .site-header .custom-logo{opacity:0}
html body .menu-toggle-open{color:#fff}
/* Fuss */
html body .site-footer,html body .site-footer .site-footer-row-container-inner{background:#0B0A16!important}
html body .site-footer-row-container-inner{border-top:1px solid var(--c4-border)}
html body .site-footer,html body .site-footer p,html body .site-footer span,html body .site-footer li,html body .site-footer h1,html body .site-footer h2,html body .site-footer h3,html body .site-footer h4,html body .site-footer h5,html body .site-footer h6,html body .site-footer .widget-title,html body .site-footer a{color:#fff!important}
html body .site-footer a:hover{color:var(--c4-accent-t)!important}
html body .site-footer svg{fill:currentColor}
html body .site-footer img{object-fit:none;object-position:-9999px 0;background:url(/wp-content/mu-plugins/ci4u-assets/logo-dark.png) left center/contain no-repeat}
html body .site-footer .site-container{max-width:74rem;margin-inline:auto;padding-inline:1rem}
/* Formulare, Tabellen, Zitate */
html body input:not([type=checkbox]):not([type=radio]):not([type=submit]),html body textarea,html body select{background:var(--c4-surface);color:var(--c4-text);border:1px solid var(--c4-border)}
html body ::placeholder{color:#8B89A6}
html body table,html body th,html body td{border-color:var(--c4-border)}
html body th{background:var(--c4-surface2);color:#F3F2FA}
html body blockquote{border-left-color:#5530F9;color:var(--c4-muted)}
html body hr,html body .wp-block-separator{border-color:var(--c4-border);background:var(--c4-border)}
html body .entry-meta,html body .entry-meta a,html body .post-navigation a{color:var(--c4-muted)}
html body .kadence-breadcrumbs,html body .kadence-breadcrumbs a{color:var(--c4-muted)}
html body .loop-entry,html body .loop-entry .entry-content-wrap,html body article.entry{background:var(--c4-surface)}
/* Cookie-Leiste: dunkel, beide Schaltflaechen gleichwertig */
html body .ci4u-cookie-banner{background:#16152A;border:1px solid var(--c4-border);box-shadow:0 12px 40px rgba(0,0,0,.5)}
html body .ci4u-cookie-btn,html body .ci4u-cookie-btn-primary,html body .ci4u-cookie-btn-secondary{background:transparent;color:#fff;border:1px solid rgba(255,255,255,.55)}
html body .ci4u-cookie-btn:hover,html body .ci4u-cookie-btn-primary:hover,html body .ci4u-cookie-btn-secondary:hover{background:rgba(255,255,255,.1);border-color:#fff}
/* Menue-Knoepfe */
html body .header-navigation .header-menu-container>ul>li.c4-cta{display:flex;align-items:center;margin-left:.5rem}
html body .header-navigation .header-menu-container>ul>li.c4-cta>a{border-radius:999px;padding:.45rem 1rem;font-weight:600;line-height:1.2;transition:filter .15s,border-color .15s}
html body .header-navigation .header-menu-container>ul>li.c4-cta-demo>a{border:1px solid rgba(255,255,255,.45);color:#fff}
html body .header-navigation .header-menu-container>ul>li.c4-cta-demo>a:hover{border-color:#fff;background:rgba(255,255,255,.08)}
html body .header-navigation .header-menu-container>ul>li.c4-cta-pilot>a{background:#5530F9;color:#fff;border:1px solid #5530F9}
html body .header-navigation .header-menu-container>ul>li.c4-cta-pilot>a:hover{filter:brightness(1.15);color:#fff}
html body .mobile-navigation li.c4-cta>a{display:inline-block;margin:.4rem 0;border-radius:999px;padding:.55rem 1.2rem;font-weight:600}
html body .mobile-navigation li.c4-cta-demo>a{border:1px solid rgba(255,255,255,.45);color:#fff}
html body .mobile-navigation li.c4-cta-pilot>a{background:#5530F9;color:#fff}
/* CTA-Band */
.c4-band{background:#0B0A16;padding:clamp(1.5rem,4vw,3rem) 1rem}
.c4-band-in{position:relative;isolation:isolate;overflow:hidden;max-width:74rem;margin-inline:auto;border-radius:1.4rem;padding:clamp(1.6rem,4vw,3rem);background:#12102B;display:flex;justify-content:space-between;align-items:center;gap:1.5rem;flex-wrap:wrap}
.c4-band-in::before{content:"";position:absolute;inset:0;z-index:-1;background:radial-gradient(34rem 16rem at 0 0,rgba(85,48,249,.75),transparent 65%),radial-gradient(26rem 16rem at 100% 100%,rgba(255,107,43,.3),transparent 65%)}
.c4-band h2{font-family:Poppins,Inter,sans-serif;font-size:clamp(1.5rem,3vw,2.2rem);color:#fff;margin:0 0 .5rem}
.c4-band p{color:#C9C7E2;max-width:34rem;margin:0}
.c4-band-btns{display:flex;gap:.7rem;flex-wrap:wrap}
.c4-btn{display:inline-flex;align-items:center;border-radius:999px;padding:.8rem 1.4rem;font-weight:600;text-decoration:none;font-family:Inter,sans-serif;font-size:.95rem}
html body .c4-btn-primary{background:#fff;color:#2B1A9E}
html body .c4-btn-ghost{background:rgba(255,255,255,.06);color:#fff;border:1px solid rgba(255,255,255,.35)}
html body .c4-btn:hover{filter:brightness(1.1)}
/* Kontrast-Korrekturen aus dem Seiten-Check */
html body :where(.entry-taxonomies,.entry-meta,.loop-entry .entry-taxonomies) a,html body a:where([class*="category-link"]){color:#B3A3FF}
html body .wp-block-button__link,html body .button,html body button.button,html body .wp-element-button,html body input[type=submit],html body button[type=submit]{color:#fff}
html body .has-theme-palette9-color{color:#fff!important}
html body .ci4u-res-tab.active,html body .ci4u-wow{color:#1a0f00}
/* KI-Balken oben bleibt dunkel */
html body .ci4u-ai-banner{background:#14132B;color:#fff}
html body .ci4u-ai-banner a{color:#fff}
/* Schulungs-Plugin: helle Karte bleibt hell, Inhalte darin lesbar */
html body .ci4u-sch-card{color:#14132B}
html body .ci4u-sch-card h1,html body .ci4u-sch-card h2,html body .ci4u-sch-card h3,html body .ci4u-sch-card h4,html body .ci4u-sch-card label,html body .ci4u-sch-card strong{color:#14132B}
html body .ci4u-sch-card p,html body .ci4u-sch-card li,html body .ci4u-sch-card small,html body .ci4u-sch-card span{color:#4a4a5e}
html body .ci4u-sch-card input:not([type=checkbox]):not([type=radio]):not([type=submit]),html body .ci4u-sch-card textarea,html body .ci4u-sch-card select{background:#fff;color:#14132B;border:1px solid #d9d5f5}
html body .ci4u-sch-card a:not(.ci4u-sch-btn){color:#5530F9}
html body .ci4u-sch-card ::placeholder{color:#8B89A6}
/* Untermenues dunkel */
html body .header-navigation ul ul.sub-menu,html body .header-navigation .header-menu-container ul ul{background:#16152A!important;border:1px solid var(--c4-border);box-shadow:0 20px 50px rgba(0,0,0,.55)}
html body .header-navigation ul ul li>a,html body .header-navigation ul ul li.menu-item>a{color:#E6E4F5!important;background:transparent!important}
html body .header-navigation ul ul li>a:hover,html body .header-navigation ul ul li:hover>a,html body .header-navigation ul ul li.current-menu-item>a{background:#1C1A36!important;color:#fff!important}
html body .header-navigation ul ul li{border-color:var(--c4-border)!important}
html body #mobile-drawer .drawer-inner,html body .popup-drawer .drawer-inner{background:#0B0A16}
html body .mobile-navigation ul li>a,html body .mobile-navigation ul li .drawer-nav-drop-wrap>a{color:#E6E4F5}
html body .mobile-navigation ul li,html body .mobile-navigation ul li .drawer-nav-drop-wrap{border-color:var(--c4-border)}
html body .mobile-navigation .drawer-sub-toggle,html body .mobile-navigation .drawer-sub-toggle svg{color:#B3A3FF;fill:currentColor}
html body .popup-drawer .drawer-toggle,html body .popup-drawer .drawer-toggle svg{color:#fff}
/* Menue passt auch bei Laptop-Breiten in eine Zeile */
@media (min-width:1025px) and (max-width:1400px){
 html body .header-navigation .header-menu-container>ul>li.menu-item>a{font-size:14.5px!important;padding-left:.5rem!important;padding-right:.5rem!important}
 html body .header-navigation .header-menu-container>ul>li.c4-cta>a{padding:.4rem .8rem!important;font-size:14px!important}
 html body .header-navigation .header-menu-container>ul>li.c4-cta{margin-left:.2rem}
 html body .site-header .site-branding a.brand{width:150px}
 html body .site-header .custom-logo{max-width:150px;height:auto}
}
@media (min-width:1025px) and (max-width:1180px){
 html body .header-navigation .header-menu-container>ul>li.menu-item>a{font-size:13.5px!important;padding-left:.35rem!important;padding-right:.35rem!important}
 html body .site-header .site-branding a.brand,html body .site-header .custom-logo{width:120px;max-width:120px}
}
/* Gutenberg-Farbklassen, die urspruenglich dunkel waren, bleiben dunkel */
html body .has-theme-palette3-background-color,html body .has-theme-palette4-background-color{background-color:#14132B!important}
html body .has-theme-palette2-color{color:#FF8A55}
html body .has-theme-palette2-background-color{color:#1a0f00}
/* Schulungs-Plugin: Vorrang vor der allgemeinen Link-Regel */
html body .ci4u-sch-card a:not(.ci4u-sch-btn){color:#5530F9!important}
html body .ci4u-sch-card p,html body .ci4u-sch-card small,html body .ci4u-sch-card li{color:#4a4a5e!important}
/* Quellen und Stand (Rechtsaussagen) */
.c4-quellen{max-width:70rem;margin:2.5rem auto 0;padding:1.3rem 1.5rem;border:1px solid var(--c4-border);border-radius:1rem;background:var(--c4-surface);color:var(--c4-muted);font-size:.88rem;line-height:1.55}
.c4-quellen h2{font-family:Poppins,Inter,sans-serif;font-size:1.05rem;color:#F3F2FA;margin:0 0 .5rem}
.c4-quellen p{margin:0 0 .7rem}.c4-quellen ul{margin:0;padding-left:1.1rem}.c4-quellen li{margin:.25rem 0}
html body .entry-content .c4-quellen a{color:#B3A3FF;text-decoration:underline;text-underline-offset:2px}
