/* Hell/Dunkel-Design für ai-maxx.de (30.10.2026)
   Wird auf jeder Seite NACH den Seiten-Stylesheets geladen. Das aktive Design setzt /theme.js als
   data-theme="light" | "dark" auf <html>. Dunkel ist das bisherige Design und bleibt unverändert;
   diese Datei legt das helle Design darüber.

   Globale Tokens für Komponenten (z. B. Chat-Widget), in beiden Designs definiert:
     --aimx-bg          Seitenhintergrund            --aimx-surface     Karten, Panels, Menüs
     --aimx-bg-2        abgesetzte Bänder            --aimx-surface-2   eingelassene Flächen (Felder, Code)
     --aimx-text        Fließtext, Überschriften     --aimx-text-2      Sekundärtext (hoher Kontrast)
     --aimx-muted       Hinweise, Metadaten (AA)     --aimx-line        Trennlinien, Kartenränder
     --aimx-line-strong Feldränder (3:1)             --aimx-accent      Markenorange als Fläche (Buttons)
     --aimx-accent-ink  Text/Icon AUF --aimx-accent  --aimx-accent-text Orange als Textfarbe (AA auf bg/surface)
     --aimx-accent-soft orange getönte Fläche        --aimx-focus       Fokusring
     --aimx-ok / --aimx-err Statusfarben             --aimx-placeholder Platzhaltertext
     --aimx-shadow-sm / --aimx-shadow / --aimx-shadow-lg   Schatten
     --aimx-overlay     Abdunklung hinter Dialogen */

:root{
  color-scheme:dark;
  --aimx-bg:#121214;--aimx-bg-2:#0c0c0e;--aimx-surface:#18181b;--aimx-surface-2:#1f1f23;
  --aimx-text:#e4e4e7;--aimx-text-2:#cfcfd4;--aimx-muted:#a3a4aa;--aimx-placeholder:#8f8f96;
  --aimx-line:#2b2b30;--aimx-line-strong:#6e6e76;
  --aimx-accent:#ef8e39;--aimx-accent-ink:#131313;--aimx-accent-text:#ff942f;--aimx-accent-soft:rgba(255,148,47,.12);
  --aimx-focus:#ff942f;--aimx-ok:#9ee6a8;--aimx-err:#ffb4ad;
  --aimx-shadow-sm:0 4px 12px rgba(0,0,0,.28);
  --aimx-shadow:0 18px 45px rgba(0,0,0,.35);
  --aimx-shadow-lg:0 30px 90px rgba(0,0,0,.55);
  --aimx-overlay:rgba(0,0,0,.79);
  --aimx-tt-track:#1c1c1f;--aimx-tt-line:#34343a;
}
:root[data-theme=light]{
  color-scheme:light;
  --aimx-bg:#f7f4ef;--aimx-bg-2:#efeae2;--aimx-surface:#fffdfa;--aimx-surface-2:#f3eee7;
  --aimx-text:#1c1915;--aimx-text-2:#3d3832;--aimx-muted:#5f584f;--aimx-placeholder:#756e65;
  --aimx-line:#e6dfd4;--aimx-line-strong:#8a8177;
  --aimx-accent:#ef8e39;--aimx-accent-ink:#131313;--aimx-accent-text:#a34f0d;--aimx-accent-soft:rgba(239,142,57,.13);
  --aimx-focus:#a34f0d;--aimx-ok:#1d6b36;--aimx-err:#b3261e;
  --aimx-shadow-sm:0 1px 2px rgba(60,40,20,.06),0 6px 16px -8px rgba(60,40,20,.22);
  --aimx-shadow:0 1px 2px rgba(60,40,20,.05),0 20px 44px -22px rgba(60,40,20,.32);
  --aimx-shadow-lg:0 2px 6px rgba(60,40,20,.06),0 40px 90px -30px rgba(40,28,16,.45);
  --aimx-overlay:rgba(40,32,24,.55);
  --aimx-tt-track:#f3eee7;--aimx-tt-line:#e0d8cc;
  /* Werte der bestehenden Seiten-Variablen (style.css und unterseiten.css) */
  --ink:#1c1915;--ink-2:#3d3832;--muted:#5f584f;--line:#e6dfd4;--pink:#a34f0d;
  --shadow:0 1px 2px rgba(60,40,20,.05),0 18px 40px -20px rgba(60,40,20,.28);
  --paper:#f7f4ef;--paper-2:#efeae2;--card:#fffdfa;
  --red:#c75f12;--red-strong:#ef8e39;--red-ink:#a34f0d;
  --dark:#efeae2;--dark-2:#fffdfa;--dark-line:#e0d8cc;--dark-muted:#5f584f;--red-on-dark:#a34f0d;
}

/* ---------- Umschalter ---------- */
.theme-toggle{position:relative;display:inline-grid;place-items:center;flex:none;width:64px;height:44px;margin:0;padding:0;border:0;border-radius:999px;background:none;color:inherit;cursor:pointer;-webkit-tap-highlight-color:transparent}
html:not([data-theme]) .theme-toggle{display:none}
.theme-toggle-track{position:relative;display:block;width:62px;height:34px;border-radius:999px;background:var(--aimx-tt-track);border:1px solid var(--aimx-tt-line);box-shadow:inset 0 1px 2px rgba(0,0,0,.22);transition:border-color .2s,background-color .2s}
.theme-toggle-knopf{position:absolute;top:3px;left:3px;width:26px;height:26px;border-radius:50%;background:linear-gradient(160deg,#f19d54,#ef8e39);box-shadow:0 2px 6px rgba(0,0,0,.32),inset 0 1px 1px rgba(255,255,255,.4);transform:translateX(28px);transition:transform .34s cubic-bezier(.3,1.35,.5,1)}
.theme-toggle svg{position:absolute;top:50%;z-index:1;width:16px;height:16px;margin-top:-8px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;color:var(--aimx-muted);transition:color .25s}
.theme-toggle .tt-sonne{left:8px}
.theme-toggle .tt-mond{right:8px}
.theme-toggle .tt-mond path{fill:none}
[data-theme=dark] .theme-toggle .tt-mond,[data-theme=light] .theme-toggle .tt-sonne{color:#131313}
[data-theme=light] .theme-toggle-knopf{transform:translateX(0);box-shadow:0 2px 5px rgba(160,80,10,.35),inset 0 1px 1px rgba(255,255,255,.45)}
[data-theme=light] .theme-toggle-track{box-shadow:inset 0 1px 2px rgba(60,40,20,.12)}
@media (hover:hover){
  .theme-toggle:hover .theme-toggle-track{border-color:var(--aimx-accent)}
  .theme-toggle:hover svg{color:var(--aimx-text)}
  [data-theme=dark] .theme-toggle:hover .tt-mond,[data-theme=light] .theme-toggle:hover .tt-sonne{color:#131313}
}
.theme-toggle:focus-visible{outline:none}
.theme-toggle:focus-visible .theme-toggle-track{outline:2px solid var(--aimx-focus);outline-offset:2px}
.theme-toggle:active .theme-toggle-knopf{width:30px}
[data-theme=dark] .theme-toggle:active .theme-toggle-knopf{transform:translateX(24px)}

/* Platz im Kopf der Startseite: Navigation mittig, Umschalter vor der Hauptaktion */
header.nav>nav{margin-left:auto}
header.nav>.theme-toggle{margin-left:auto;margin-right:10px}
@media (min-width:900px){header.nav>nav{position:absolute;left:50%;transform:translateX(-50%);margin:0}}
@media (min-width:761px) and (max-width:1023px){header.nav>nav{gap:18px;padding-left:16px}header.nav>.theme-toggle{margin-right:6px}}
@media (max-width:760px){
  header.nav>.theme-toggle{width:70px;margin-right:6px}
  header.nav .theme-toggle-track{width:68px;height:40px}
  header.nav .theme-toggle-knopf{width:32px;height:32px}
  [data-theme=dark] header.nav .theme-toggle-knopf{transform:translateX(28px)}
  header.nav .theme-toggle .tt-sonne{left:11px}
  header.nav .theme-toggle .tt-mond{right:11px}
  header.nav .theme-toggle:active .theme-toggle-knopf{width:36px}
  [data-theme=dark] header.nav .theme-toggle:active .theme-toggle-knopf{transform:translateX(24px)}
  header.nav .mobile-toggle{background:var(--aimx-tt-track)!important;border-color:var(--aimx-tt-line)!important}
}
/* Platz im Kopf der Unterseiten: rechts, direkt vor der Hauptaktion; Logo behält seine Breite */
.top-inner>.logo{flex:none}
.top-inner>.theme-toggle{margin-left:auto}
.top-inner>.theme-toggle+.top-nav{margin-left:-20px}
.team .top-inner>.top-nav+.theme-toggle{margin-left:0;margin-right:-16px}
@media (max-width:720px){
  .top-inner,.team .top-inner{gap:8px}
  .top-inner>.theme-toggle+.top-nav{margin-left:0}
  .team .top-inner>.top-nav+.theme-toggle{margin-left:auto;margin-right:0}
  .team .top-inner>.theme-toggle+.t-nav-cta{margin-left:0}
}
@media (max-width:420px){
  .top-inner>.theme-toggle{width:54px}
  .top-inner .theme-toggle-track{width:52px;height:30px}
  .top-inner .theme-toggle-knopf{width:22px;height:22px}
  [data-theme=dark] .top-inner .theme-toggle-knopf{transform:translateX(22px)}
  .top-inner .theme-toggle svg{width:14px;height:14px;margin-top:-7px}
  .top-inner .theme-toggle .tt-sonne{left:6px}
  .top-inner .theme-toggle .tt-mond{right:6px}
  .top-inner .theme-toggle:active .theme-toggle-knopf{width:24px}
  [data-theme=dark] .top-inner .theme-toggle:active .theme-toggle-knopf{transform:translateX(20px)}
}

/* Sprunglink und Startseiten-Button im Kopf: in beiden Designs lesbar */
[data-theme] .skip{background:var(--aimx-surface);color:var(--aimx-text);box-shadow:var(--aimx-shadow-sm)}
[data-theme] .top-nav a.btn{color:#131313}
[data-theme] .lib-search input::placeholder{color:var(--aimx-placeholder)}

/* Logo: helle Schrift auf Dunkel, dunkle Schrift auf Hell */
.logo-auf-hell{display:none!important}
[data-theme=light] .logo-auf-dunkel{display:none!important}
[data-theme=light] .logo-auf-hell{display:block!important}

/* ---------- Wechsel-Animation ---------- */
::view-transition-old(root),::view-transition-new(root){animation-duration:.28s;animation-timing-function:cubic-bezier(.4,0,.2,1)}
::view-transition-group(aimx-knopf){animation-duration:.34s;animation-timing-function:cubic-bezier(.3,1.35,.5,1)}
.theme-wechsel,.theme-wechsel *,.theme-wechsel *::before,.theme-wechsel *::after{transition:background-color .28s ease,color .28s ease,border-color .28s ease,fill .28s ease,stroke .28s ease,box-shadow .28s ease!important}
@media (prefers-reduced-motion:reduce){
  .theme-toggle-knopf,.theme-toggle svg,.theme-toggle-track{transition:none}
  ::view-transition-group(*),::view-transition-old(*),::view-transition-new(*){animation:none!important}
}

/* =====================================================================
   HELLES DESIGN: Startseite (style.css, positioning.css, machine.css, erklaerfilm.css)
   ===================================================================== */
[data-theme=light] body{background:radial-gradient(circle,rgba(70,48,26,.13) 1px,transparent 1.5px) 0 0/24px 24px fixed,radial-gradient(ellipse at 18% 0%,rgba(239,142,57,.14),transparent 50%) fixed,#f7f4ef}
[data-theme=light] .sky{background:radial-gradient(circle,rgba(70,48,26,.14) 1px,transparent 1.5px) 0 0/24px 24px,radial-gradient(ellipse at 18% 8%,rgba(239,142,57,.17),transparent 50%),radial-gradient(ellipse at 85% 70%,rgba(239,142,57,.09),transparent 45%),#f7f4ef}
[data-theme=light] button:focus-visible,[data-theme=light] a:focus-visible,[data-theme=light] summary:focus-visible{outline-color:#a34f0d}
[data-theme=light] em{color:#c75f12}

/* Kopf */
[data-theme=light] .nav{border-color:rgba(60,40,20,.09);background:rgba(255,253,250,.8);box-shadow:0 1px 2px rgba(60,40,20,.05),0 14px 34px -16px rgba(60,40,20,.25)}
[data-theme=light] .nav nav a span{color:#6f675d}
[data-theme=light] .nav nav a:hover{color:#a34f0d}
[data-theme=light] header.nav .mobile-toggle{background:rgba(60,40,20,.04);border-color:#e0d8cc}
[data-theme=light] header.nav .mobile-toggle i{background:#1c1915}
@media (max-width:760px){[data-theme=light] .nav>nav,[data-theme=light] header.nav>nav{background:#fffdfa;border-color:#e6dfd4;box-shadow:0 24px 50px -20px rgba(60,40,20,.35)}}
[data-theme=light] header.nav .nav-cta,[data-theme=light] header.nav .nav-cta span{color:#131313}

/* Buttons */
[data-theme=light] .button{box-shadow:0 10px 24px -10px rgba(200,95,15,.6),inset 0 1px 0 rgba(255,255,255,.35)}
[data-theme=light] .button:hover{box-shadow:0 16px 30px -10px rgba(200,95,15,.62),inset 0 1px 0 rgba(255,255,255,.35)}
[data-theme=light] .button.secondary{background:#fffdfa;color:#1c1915;border-color:#e0d8cc;box-shadow:0 1px 2px rgba(60,40,20,.06),0 10px 24px -14px rgba(60,40,20,.3)}
[data-theme=light] .text-link{color:#a34f0d}

/* Hero */
[data-theme=light] .pill{background:rgba(255,253,250,.88);border-color:#e6dfd4;box-shadow:0 1px 2px rgba(60,40,20,.05)}
[data-theme=light] .hero-overline{color:#6f675d}
[data-theme=light] .hero-copy{color:#4a443d}
[data-theme=light] .hero-foot{color:#5f584f}
[data-theme=light] .hero-foot span:first-letter{color:#23785c}
[data-theme=light] .tools-strip{border-bottom-color:#e6dfd4}
[data-theme=light] .tools-strip>p{color:#6f675d}
[data-theme=light] .tools-strip>div{color:#4a443d}
[data-theme=light] .tools-strip b{color:#8a8177}
[data-theme=light] .eyebrow:before,[data-theme=light] .eyebrow:after{background:#ef8e39}

/* Erklärfilm */
[data-theme=light] .film-rahmen{background:linear-gradient(165deg,#fffdfa,#f6efe6 60%);border-color:rgba(239,142,57,.45);box-shadow:0 0 0 6px rgba(239,142,57,.08),0 34px 70px -28px rgba(60,40,20,.45),0 0 120px rgba(239,142,57,.14)}
[data-theme=light] .film-kopf{color:#3d3832}
[data-theme=light] .film-kopf b{color:#6f675d}
[data-theme=light] .film-rahmen .video-player{box-shadow:0 0 0 1px rgba(28,25,21,.1)}

/* Agenten-System */
[data-theme=light] .agent-machine{color:#1c1915;border-color:#e6dfd4;background:linear-gradient(130deg,rgba(255,253,250,.88),rgba(255,253,250,.6) 60%,rgba(255,253,250,.92));box-shadow:0 30px 80px -44px rgba(60,40,20,.35)}
[data-theme=light] .machine-eyebrow,[data-theme=light] .machine-activity-heading,[data-theme=light] .machine-hint{color:#6f675d}
[data-theme=light] .machine-scenarios{background:rgba(239,234,226,.85);border-color:#e6dfd4}
[data-theme=light] .machine-scenarios button{color:#4a443d}
[data-theme=light] .machine-scenarios button[aria-pressed=true]{background:#fffdfa;color:#a34f0d;box-shadow:0 1px 2px rgba(60,40,20,.08),0 6px 14px -6px rgba(60,40,20,.3)}
[data-theme=light] .machine-orbit{background-image:radial-gradient(rgba(70,48,26,.17) .8px,transparent .8px)}
[data-theme=light] .machine-halo{background:radial-gradient(ellipse,rgba(239,142,57,.2),transparent 65%)}
[data-theme=light] .machine-ring{stroke:rgba(70,48,26,.2)}
[data-theme=light] .machine-wires{stroke:rgba(70,48,26,.24)}
[data-theme=light] .machine-wires .is-active{stroke:#e07b25}
[data-theme=light] .machine-particles circle{fill:#e07b25;filter:drop-shadow(0 0 3px rgba(239,142,57,.55))}
[data-theme=light] .machine-node{color:#3d3832}
[data-theme=light] .machine-tile{border-color:#e6dfd4;background:linear-gradient(145deg,#fffdfa,#f5efe6);box-shadow:0 14px 26px -12px rgba(60,40,20,.32),inset 0 -3px 6px rgba(60,40,20,.04)}
[data-theme=light] .machine-tile svg{color:#c75f12}
[data-theme=light] .machine-node-label{background:rgba(247,244,239,.92);box-shadow:none}
[data-theme=light] .machine-node.is-current .machine-node-label{background:#fffdfa;box-shadow:0 0 0 1px #f2cfa9,0 6px 16px -6px rgba(214,112,30,.3)}
[data-theme=light] .machine-node:hover .machine-tile,[data-theme=light] .machine-node:focus-visible .machine-tile{box-shadow:0 16px 28px -10px rgba(214,112,30,.4)}
[data-theme=light] .machine-node:focus-visible{outline-color:#a34f0d}
[data-theme=light] .machine-node.is-current .machine-tile{border-color:#ef8e39;background:#fff6ec;box-shadow:0 0 0 5px rgba(239,142,57,.13),0 17px 30px -12px rgba(214,112,30,.45)}
[data-theme=light] .machine-node.is-current .machine-node-label{color:#a34f0d}
[data-theme=light] .machine-hub-tile{border-color:rgba(150,70,10,.22);box-shadow:0 22px 44px -14px rgba(214,112,30,.6),inset 0 2px 2px rgba(255,255,255,.45),inset -6px -8px 18px rgba(150,60,0,.22)}
[data-theme=light] .machine-hub-tile>svg{filter:drop-shadow(0 2px 4px rgba(120,50,0,.25))}
[data-theme=light] .machine-hub-label{background:#fffdfa;border-color:#e6dfd4;box-shadow:0 8px 20px -10px rgba(60,40,20,.3)}
[data-theme=light] .machine-hub-pulse{border-color:rgba(239,142,57,.4)}
[data-theme=light] .machine-step{color:#a34f0d}
[data-theme=light] .machine-event{background:rgba(255,253,250,.92);border-color:#ece5da;box-shadow:0 8px 20px -14px rgba(60,40,20,.25)}
[data-theme=light] .machine-event.is-highlight{border-color:#f2cfa9;background:#fffdfa;box-shadow:0 16px 32px -16px rgba(214,112,30,.4)}
[data-theme=light] .machine-event-icon{background:#fdeedd;color:#a34f0d}
[data-theme=light] .machine-event p{color:#5f584f}
[data-theme=light] .machine-pause{color:#5f584f}
[data-theme=light] .machine-pause:hover{color:#a34f0d}
[data-theme=light] .machine-pause:focus-visible{outline-color:#a34f0d}

/* Werte, Workflow-Demo */
[data-theme=light] .value-grid article{border-color:#e6dfd4;background:rgba(255,253,250,.88);box-shadow:0 1px 2px rgba(60,40,20,.04),0 18px 40px -24px rgba(60,40,20,.3)}
[data-theme=light] .value-number{color:#a34f0d}
[data-theme=light] .demo-window{border-color:#e6dfd4;background:rgba(255,253,250,.88);box-shadow:0 30px 70px -36px rgba(60,40,20,.38)}
[data-theme=light] .window-top{background:#f3eee7;border-bottom-color:#e6dfd4;color:#5f584f}
[data-theme=light] .dots{color:#d3cabd}
[data-theme=light] .demo-badge,[data-theme=light] .mini-label{color:#6f675d}
[data-theme=light] .file{border-color:#e6dfd4;background:#f7f4ef}
[data-theme=light] .file small{color:#6f675d}
[data-theme=light] .file>b{color:#23785c}
[data-theme=light] .work-step{border-color:#e6dfd4;background:#fffdfa}
[data-theme=light] .work-step>span{background:#f3eee7;color:#5f584f}
[data-theme=light] .work-step small{color:#6f675d}
[data-theme=light] .work-step i{color:#b5ab9e}
[data-theme=light] .work-step.active{border-color:#ef8e39;box-shadow:0 10px 24px -12px rgba(214,112,30,.45)}
[data-theme=light] .work-step.done>span{background:#fdeedd}
[data-theme=light] .demo-bottom{color:#5f584f;background:#f3eee7;border-top-color:#e6dfd4}

/* Über mich: Fotos wie Abzüge mit hellem Rand */
[data-theme=light] .portrait{border-color:#fffdfa;box-shadow:0 1px 3px rgba(60,40,20,.08),0 34px 64px -28px rgba(60,40,20,.4)}
[data-theme=light] .portrait-tag{background:#fffdfa;box-shadow:0 1px 2px rgba(60,40,20,.08),0 8px 20px -8px rgba(60,40,20,.3)}
[data-theme=light] .award-detail{background:#fffdfa;border-color:#e6dfd4;box-shadow:0 18px 40px -14px rgba(60,40,20,.42),0 3px 8px rgba(60,40,20,.1)}
[data-theme=light] .award-detail:hover{box-shadow:0 22px 46px -14px rgba(60,40,20,.48),0 3px 8px rgba(60,40,20,.1)}
[data-theme=light] .award-detail>span{color:#4a443d}
[data-theme=light] .about-points>div{background:rgba(255,253,250,.88);border-color:#e6dfd4;color:#3d3832}
[data-theme=light] .about-points span{background:#fdeedd}
[data-theme=light] .tag{background:#efeae2;color:#4a443d}
[data-theme=light] .tag.pink{background:#fdeedd;color:#a34f0d}

/* Praxis, Auslastung */
[data-theme=light] .guest-proof{background:rgba(255,253,250,.92);border-color:#e6dfd4}
[data-theme=light] .occupancy-proof{background:linear-gradient(145deg,#fffdfa,#fdf3e8)}
[data-theme=light] .occupancy-label,[data-theme=light] .occupancy-value>span,[data-theme=light] .occupancy-metrics span{color:#6f675d}
[data-theme=light] .occupancy-period{border-color:#f2cfa9;background:#fffdfa;color:#6f675d}
[data-theme=light] .occupancy-period b,[data-theme=light] .occupancy-legend b{color:#1c1915}
[data-theme=light] .occupancy-outer{stroke:#d9d0c3}
[data-theme=light] .occupancy-track{stroke:#efe8dd}
[data-theme=light] .occupancy-inner{stroke:#e6dfd4}
[data-theme=light] .occupancy-fill{filter:drop-shadow(0 5px 7px rgba(214,112,30,.25))}
[data-theme=light] .occupancy-value strong small{color:#c75f12}
[data-theme=light] .occupancy-value p,[data-theme=light] .occupancy-legend,[data-theme=light] .occupancy-property span,[data-theme=light] .occupancy-source p{color:#5f584f}
[data-theme=light] .occupancy-legend>span+span i{background:#e0d8cc}
[data-theme=light] .occupancy-metrics{border-color:#e6dfd4}
[data-theme=light] .occupancy-metrics>div+div{border-left-color:#e6dfd4}
[data-theme=light] .occupancy-property{background:#f5efe6}
[data-theme=light] .business-flows>div{border-bottom-color:#e6dfd4}

/* Vergleich */
[data-theme=light] .compare-card{border-color:#e6dfd4;background:rgba(255,253,250,.75)}
[data-theme=light] .compare-card.new{background:linear-gradient(140deg,#fffdfa 50%,#fdf0e2);border-color:#f2cfa9;box-shadow:0 26px 54px -28px rgba(214,112,30,.4)}
[data-theme=light] .compare-card ul{color:#4a443d}
[data-theme=light] .compare-card li:before{color:#8a8177}
[data-theme=light] .compare-card.new li:before{color:#c75f12}
[data-theme=light] .versus{background:#fffdfa;border-color:#efeae2;box-shadow:0 8px 20px -8px rgba(60,40,20,.3)}
[data-theme=light] .byline small{color:#6f675d}

/* Video */
[data-theme=light] .latest-video,[data-theme=light] .library-panel{border-color:#e6dfd4;background:rgba(255,253,250,.86)}
[data-theme=light] .video-player{background:#e9e3d9;box-shadow:0 26px 56px -24px rgba(40,28,16,.5),0 0 0 1px rgba(28,25,21,.08)}
[data-theme=light] .video-hinweis{color:#6f675d!important}
[data-theme=light] .video-status{color:#a34f0d}
[data-theme=light] .episode{background:#fffdfa;border-color:#e6dfd4}
[data-theme=light] .episode-art{background:linear-gradient(140deg,#f3eee7,#ebe4d9)}
[data-theme=light] .episode-art:after{border-color:rgba(60,40,20,.08)}
[data-theme=light] .episode-art b{color:#8a8177}
[data-theme=light] .episode-art i,[data-theme=light] .episode-meta{color:#6f675d}
[data-theme=light] .pink-art{background:linear-gradient(140deg,#fdf0e2,#f9dfc3)}
[data-theme=light] .pink-art b{color:#c75f12}
[data-theme=light] .lilac-art{background:linear-gradient(140deg,#f1ece4,#e6dfd4)}
[data-theme=light] .lilac-art b{color:#6f675d}
[data-theme=light] .cream-art{background:linear-gradient(140deg,#f7efe3,#efe3d0)}
[data-theme=light] .cream-art b{color:#857563}
[data-theme=light] .episode-thumb{background:#e9e3d9;outline-color:rgba(28,25,21,.08)}
[data-theme=light] .episode-online .episode-meta{color:#a34f0d}

/* Bibliothek, Anmeldung */
[data-theme=light] .library-preview{background:#f7f4ef;border-color:#e6dfd4}
[data-theme=light] .prompt-liste li{border-top-color:#e6dfd4;color:#1c1915}
[data-theme=light] .prompt-liste b{color:#a34f0d}
[data-theme=light] .signup-row input{background:#fffdfa;color:#1c1915}
[data-theme=light] .signup-form input[type=email]{border:1px solid #8a8177!important}
[data-theme=light] .signup-form input[type=email]::placeholder{color:#756e65}
[data-theme=light] .signup-form input[type=email]:focus{border-color:#c75f12!important;box-shadow:0 0 0 3px rgba(239,142,57,.3)}
[data-theme=light] .signup-form input[type=email][aria-invalid=true]{border-color:#c4372b!important}
[data-theme=light] .signup-form input:focus-visible,[data-theme=light] .signup input:focus-visible,[data-theme=light] .lib-search input:focus-visible,[data-theme=light] .t-form input:focus-visible,[data-theme=light] .t-form textarea:focus-visible{outline:3px solid var(--aimx-focus);outline-offset:2px}
[data-theme=light] .signup-form .small-note a{color:#1c1915}
[data-theme=light] .signup-status.ok{color:#1d6b36}
[data-theme=light] .signup-status.err{color:#b3261e}
[data-theme=light] .signup-done{border-color:#e6dfd4;background:#fffdfa}
[data-theme=light] .signup-done strong{color:#1c1915}
[data-theme=light] .signup-done p{color:#3d3832}
[data-theme=light] .small-note{color:#6f675d}

/* Angebote, Schritte, FAQ, Abschluss */
[data-theme=light] .offer-card{border-color:#e6dfd4;background:rgba(255,253,250,.88)}
[data-theme=light] .offer-card.featured{background:linear-gradient(145deg,#fffdfa,#fdf0e2);border-color:#f2cfa9}
[data-theme=light] .steps>div:after{color:#e0a370}
[data-theme=light] .steps>div>span{background:#fffdfa;border-color:#e6dfd4}
[data-theme=light] .faq details{border-bottom-color:#e6dfd4}
[data-theme=light] .final-cta{border-color:#e6dfd4;background:radial-gradient(ellipse at 20% 100%,rgba(239,142,57,.16),transparent 60%),rgba(255,253,250,.82)}

/* Fuß */
[data-theme=light] footer{color:#6f675d}
[data-theme=light] .site-footer{border-top-color:#e6dfd4}
[data-theme=light] .site-footer a:hover{color:#a34f0d}
[data-theme=light] .footer-bottom{border-top-color:#e6dfd4}

/* Dialoge */
[data-theme=light] dialog{border-color:#e6dfd4;background:#fffdfa;box-shadow:0 40px 100px -24px rgba(40,28,16,.5)}
[data-theme=light] dialog::backdrop{background:rgba(40,32,24,.55)}
[data-theme=light] .close-dialog{color:#5f584f}
[data-theme=light] .guide-prompt{background:#f7f4ef;border-color:#e6dfd4}
[data-theme=light] .award-close,[data-theme=light] .proof-close{background:#fffdfa;color:#1c1915;box-shadow:0 3px 14px rgba(40,28,16,.25)}

/* =====================================================================
   HELLES DESIGN: Unterseiten (unterseiten.css)
   ===================================================================== */
[data-theme=light] .top{background:rgba(255,253,250,.8);border-color:#e6dfd4;box-shadow:0 1px 2px rgba(60,40,20,.05),0 14px 34px -16px rgba(60,40,20,.25)}
[data-theme=light] .top-nav a:not(.btn){color:#3d3832}
[data-theme=light] .top-nav a:not(.btn):hover{color:#a34f0d}
[data-theme=light] .btn{box-shadow:0 10px 24px -10px rgba(200,95,15,.6),inset 0 1px 0 rgba(255,255,255,.35)}
[data-theme=light] .btn-ghost{background:transparent;box-shadow:inset 0 0 0 2px var(--ink)}
[data-theme=light] .btn-ghost:hover{background:var(--ink);color:#f7f4ef}
[data-theme=light] .library{background:rgba(255,253,250,.35);border-color:#e6dfd4;color:var(--ink)}
[data-theme=light] .library .library-preview{background:#fffdfa;box-shadow:var(--aimx-shadow-sm)}
[data-theme=light] .library-copy>p,[data-theme=light] .library-copy>p.gate-again,[data-theme=light] .confirm>div>p{color:#3d3832}
[data-theme=light] .signup input[type=email]{background:#fffdfa;border-color:#8a8177;color:#1c1915}
[data-theme=light] .signup input[type=email]::placeholder{color:#756e65}
[data-theme=light] .signup input[type=email]:focus{border-color:#c75f12;box-shadow:0 0 0 3px rgba(239,142,57,.3)}
[data-theme=light] .signup input[aria-invalid=true],[data-theme=light] .signup input[aria-invalid=true]:focus{border-color:#c4372b}
[data-theme=light] .signup-note a{color:#1c1915}
[data-theme=light] .signup-done button{color:#1c1915}
[data-theme=light] .signup-done .text-link{color:#a34f0d}
[data-theme=light] .vgate-video img{border-color:#e6dfd4;background:#efeae2;box-shadow:0 24px 48px -22px rgba(60,40,20,.45)}
[data-theme=light] .vgate-video strong,[data-theme=light] .vgate-items strong,[data-theme=light] .vgate-wahl{color:#1c1915}
[data-theme=light] .vgate-list{box-shadow:var(--aimx-shadow)}
[data-theme=light] .viewer img{box-shadow:0 30px 80px -20px rgba(0,0,0,.5)}

/* Bibliothek, Aufgaben (bibliothek.css) */
[data-theme=light] .lib-search input{background:#fffdfa;border-color:#8a8177;color:#1c1915}
[data-theme=light] .lib-search input:focus{border-color:#c75f12;box-shadow:0 0 0 3px rgba(239,142,57,.28)}
[data-theme=light] .lib-search input::placeholder{color:#756e65}
[data-theme=light] .lib-search kbd{background:#f7f4ef;border-color:#d9d1c4}
[data-theme=light] .chip{background:#fffdfa;border-color:#bdb3a5}
[data-theme=light] .chip:hover{border-color:#1c1915}
[data-theme=light] .chip[aria-pressed=true]{background:#ef8e39;border-color:#ef8e39;color:#131313}
[data-theme=light] .chip[aria-pressed=true] span{color:rgba(19,19,19,.72)}
[data-theme=light] .pc,[data-theme=light] .task{box-shadow:0 1px 2px rgba(60,40,20,.04),0 14px 30px -24px rgba(60,40,20,.3)}
[data-theme=light] .pc-text pre{background:#f7f4ef;border-color:#e6dfd4}
[data-theme=light] .pc-text.is-clamped::after{background:linear-gradient(rgba(247,244,239,0),#f7f4ef 85%)}
[data-theme=light] .ph{background:#fde3c4;color:#6b3608}
[data-theme=light] mark,[data-theme=light] .task mark{background:#ffdcb0;color:#1c1915;box-shadow:inset 0 -2px 0 #ef8e39}
[data-theme=light] a.lib-vthumb:hover img,[data-theme=light] .lib-video-thumb:hover img,[data-theme=light] .task:hover{border-color:#bdb3a5}
[data-theme=light] .task:focus-within{border-color:#c75f12}
[data-theme=light] .task-praxis{background:rgba(239,142,57,.09);border-color:rgba(214,112,30,.3)}
[data-theme=light] .tasks-more{background:rgba(255,253,250,.75)}
[data-theme=light] .toast{background:#1c1915;color:#fffdfa}

/* Team (team.css, noch nicht live) */
[data-theme=light] .team{--karte:rgba(255,253,250,.94);--karte-rand:#e6dfd4;--feld:#fffdfa;--feld-rand:#8a8177;--fehler:#b3261e}
[data-theme=light] .t-card{box-shadow:0 1px 2px rgba(60,40,20,.05),0 24px 48px -26px rgba(60,40,20,.35)}
[data-theme=light] .t-checks strong,[data-theme=light] .t-mock-name,[data-theme=light] .t-danke strong{color:#1c1915}
[data-theme=light] .t-art{background:#efeae2}
[data-theme=light] .t-rand{border-color:#cfc6b8}
[data-theme=light] .t-inline:hover{color:#7a3a06}
[data-theme=light] .t-max-foto img{background:#efeae2;border:6px solid #fffdfa;box-shadow:0 1px 3px rgba(60,40,20,.08),0 34px 64px -28px rgba(60,40,20,.4)}
[data-theme=light] .t-ehrlich{background:rgba(60,40,20,.025)}
[data-theme=light] .t-anfrage-band{background:rgba(239,234,226,.72);border-color:#e6dfd4}
[data-theme=light] .t-form input[type=text],[data-theme=light] .t-form input[type=email],[data-theme=light] .t-form input[type=tel],[data-theme=light] .t-form textarea{color:#1c1915}
[data-theme=light] .t-form input::placeholder,[data-theme=light] .t-form textarea::placeholder{color:#756e65}
[data-theme=light] .t-form input:focus,[data-theme=light] .t-form textarea:focus{border-color:#c75f12}
[data-theme=light] .t-chips label:hover span{border-color:#5f584f}
[data-theme=light] .t-chips input:checked+span{color:#1c1915;background:rgba(239,142,57,.14)}
[data-theme=light] .t-danke-icon{background:rgba(29,107,54,.1);color:#1d6b36}
[data-theme=light] .task-cta{box-shadow:inset 0 0 0 2px #d9741f}
[data-theme=light] .task:hover .task-cta,[data-theme=light] .task-cta:focus-visible,[data-theme=light] .task-cta-main{box-shadow:0 10px 24px -10px rgba(200,95,15,.6)}
@media (max-width:389px){.top-inner>.logo img{width:112px}.top-inner .top-nav .btn-small,.top-inner>.t-nav-cta{padding:0 14px}}
@media (max-width:374px){.top-inner>.logo img{width:100px}.top-inner .top-nav .btn-small,.top-inner>.t-nav-cta{font-size:.86rem}}
@media (max-width:359px){.top-inner>.logo img{width:92px}.top-inner .top-nav .btn-small,.top-inner>.t-nav-cta{padding:0 12px;font-size:.82rem}}
