/* Tab „Bots“: Erklärseite der Bots. Grundfarben aus style.css, dazu eine eigene Palette je Bot und Kachel. */
#botsInfo{--bots-amber:#e0a445;--c-blue:#78aaff;--c-violet:#b89cff;--c-teal:#3ed6c6;--c-amber:#f2b35b;--c-pink:#ff8ac4;--c-lime:#b5e05a;--c-green:var(--green);--c-red:var(--red);--c:var(--accent);
  --mark:.22;display:grid;gap:22px;margin-top:22px}
:root[data-theme=light] #botsInfo{--bots-amber:#a05d00;--c-blue:#205bd5;--c-violet:#6a47d6;--c-teal:#0a8479;--c-amber:#b06300;--c-pink:#c02f76;--c-lime:#4d7c0f;--mark:.2}
@media(prefers-color-scheme:light){:root:not([data-theme=dark]) #botsInfo{--bots-amber:#a05d00;--c-blue:#205bd5;--c-violet:#6a47d6;--c-teal:#0a8479;--c-amber:#b06300;--c-pink:#c02f76;--c-lime:#4d7c0f;--mark:.2}}
#botsInfo[hidden],#botsInfo [hidden]{display:none!important}
#botsInfo>*,#botsInfo .bots-bot>*,#botsInfo .bots-common>*,.bots-figure-wrap,.bots-figure{min-width:0}
#botsInfo{min-width:0;max-width:100%}
#botsInfo span,#botsInfo dd,#botsInfo li{line-height:1.5}

/* Kopf */
.bots-intro{position:relative;padding:4px 0 2px}
.bots-intro h2{font-size:26px;line-height:1.2;margin:0 0 8px;text-wrap:balance}
.bots-intro h2::after{content:"";display:block;width:64px;height:3px;border-radius:3px;margin-top:10px;background:var(--accent)}
.bots-intro p{color:var(--muted);max-width:70ch;margin:0}
.bots-common,.bots-bot,.bots-glossar{position:relative;background:var(--surface);border:1px solid var(--line);border-radius:18px;padding:24px 26px;box-shadow:var(--shadow)}
.bots-common h3,.bots-glossar h3{font-size:19px;margin:0 0 6px}
.bots-muted{color:var(--muted);max-width:72ch;margin:0 auto 14px;text-align:center;text-wrap:balance}
.bots-common>h3{text-align:center;margin-bottom:16px}
.bots-common>h4{justify-content:center}
#botsInfo h4{display:flex;align-items:center;gap:8px;font-size:12px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--muted);margin:0 0 12px}
#botsInfo h4::before{content:"";width:14px;height:3px;border-radius:3px;background:var(--c)}

/* Wasserzeichen: großes Symbol unten rechts, Text liegt darüber */
.bots-watermark{position:absolute;right:-14px;bottom:-18px;width:104px;height:104px;color:var(--c);opacity:var(--mark);pointer-events:none;z-index:0}
.bots-watermark .bots-icon{width:100%;height:100%;stroke-width:1.5}
.bots-icon{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.bots-tile{position:relative;overflow:hidden;isolation:isolate}
.bots-tile>*:not(.bots-watermark){position:relative;z-index:1}

/* Kachel (gemeinsamer Stil): neutral, Farbe nur im Wasserzeichen und in kleinen Akzenten */
.bots-flow>li,.bots-safety li,.bots-tab,.bots-steps li,.bots-modes li,.bots-card{position:relative;overflow:hidden;isolation:isolate;border:1px solid var(--line);border-radius:14px;background:var(--surface-alt)}
.bots-flow>li>*:not(.bots-watermark),.bots-safety li>*:not(.bots-watermark),.bots-tab>*:not(.bots-watermark),.bots-card>*:not(.bots-watermark){position:relative;z-index:1}

/* Sicherungen */
.bots-safety{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:12px}
.bots-safety li{padding:16px 16px 60px}
.bots-safety b{display:block;font-size:15px;margin-bottom:6px;color:var(--text)}
.bots-safety span:not(.bots-watermark){display:block;font-size:13.5px;color:var(--muted)}
.bots-safety .bots-watermark{width:84px;height:84px;right:-10px;bottom:-12px}

/* Ablauf */
.bots-flow{list-style:none;margin:6px 0 14px;padding:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr)) minmax(0,1.1fr);gap:12px;counter-reset:ablauf}
.bots-flow>li{padding:16px;overflow:visible}
.bots-flow>li:not(.bots-flow-end){counter-increment:ablauf}
.bots-flow>li:not(:last-child)::after{content:"›";position:absolute;right:-11px;top:50%;transform:translateY(-50%);width:18px;height:18px;border-radius:50%;display:grid;place-items:center;font-size:15px;line-height:1;color:var(--text);background:var(--surface);border:1px solid var(--line);z-index:2}
.bots-flow b{display:flex;align-items:center;gap:8px;font-size:14.5px;margin-bottom:6px}
.bots-flow span{display:block;font-size:13.5px;color:var(--muted)}
.bots-flow>li:not(.bots-flow-end) b::before{content:counter(ablauf);flex:none;width:22px;height:22px;border-radius:50%;display:grid;place-items:center;font-size:12px;font-weight:700;background:var(--c);color:var(--surface)}
@media(max-width:900px){.bots-flow{grid-template-columns:repeat(2,minmax(0,1fr))}.bots-flow>li::after{display:none}.bots-flow>li:last-child{grid-column:1/-1}}
.bots-flow-end{display:grid;gap:10px;border-style:dashed!important}
.bots-flow-end b{color:var(--c)}
@media(max-width:560px){.bots-flow{grid-template-columns:minmax(0,1fr)}}

/* Untertabs */
.bots-tabs{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}
.bots-tab{display:flex;flex-direction:column;align-items:center;gap:3px;text-align:center;padding:15px 16px;color:var(--text);font:inherit;cursor:pointer;transition:transform .15s,border-color .15s}
.bots-tab b{font-size:15.5px}
.bots-tab span:not(.bots-watermark){font-size:12.5px;color:var(--muted)}
.bots-tab .bots-watermark{width:50px;height:50px;right:-4px;bottom:-10px}
.bots-tab:hover{transform:translateY(-1px)}
.bots-tab[aria-selected=true]{border-color:var(--c);box-shadow:0 0 0 1px var(--c) inset;background:color-mix(in srgb,var(--c) 8%,var(--surface-alt))}
.bots-tab[aria-selected=true] .bots-watermark{opacity:calc(var(--mark) * 1.3)}
.bots-tab:focus-visible{outline:2px solid var(--c);outline-offset:2px}
.bots-empty{color:var(--muted);margin:0}

/* Ein Bot */
.bots-bot{display:grid;gap:26px}
.bots-bot-head{text-align:center;position:relative;overflow:hidden;isolation:isolate;margin:-24px -26px 0;padding:24px 26px 20px;border-radius:18px 18px 0 0;border-bottom:1px solid var(--line)}
.bots-bot-head>*:not(.bots-watermark){position:relative;z-index:1}
.bots-bot-head .bots-watermark{width:150px;height:150px;right:18px;bottom:-30px}
.bots-bot-head h3{font-size:24px;margin:0 0 6px}
.bots-tagline{font-size:16px;color:var(--text);margin:0 auto 12px;max-width:70ch;text-wrap:balance}
.bots-chips{display:flex;flex-wrap:wrap;justify-content:center;gap:6px}
.bots-chip{font-size:12px;font-weight:600;padding:4px 11px;border-radius:999px;border:1px solid var(--line);background:var(--surface-alt);color:var(--muted)}
.bots-what p{max-width:72ch;margin:0 auto 10px;line-height:1.65;text-align:center;text-wrap:pretty}
.bots-what>h4,.bots-extra>h4{justify-content:center}
.bots-steps{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;counter-reset:schritt}
.bots-steps li{counter-increment:schritt;padding:16px}
.bots-steps li::before{content:counter(schritt);display:grid;place-items:center;width:26px;height:26px;margin-bottom:10px;border-radius:8px;font-size:13px;font-weight:700;background:var(--c);color:var(--surface)}
.bots-steps b{display:block;font-size:14.5px;margin-bottom:4px}
.bots-steps span{display:block;font-size:13.5px;color:var(--muted)}
.bots-rule{margin:14px auto 0;text-align:center;text-wrap:balance;padding:12px 16px;border:1px solid var(--line);border-top:3px solid var(--bots-amber);background:var(--surface-alt);border-radius:12px;width:fit-content;max-width:80ch}

/* Konten, Einstellungen, Gut zu wissen */
.bots-facts{display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.4fr) minmax(0,1.1fr);gap:14px;align-items:stretch}
.bots-card{padding:18px 18px 22px}
.bots-card .bots-watermark{width:76px;height:76px;top:-16px;right:-12px;bottom:auto}
.bots-accounts p{margin:0;line-height:1.6;font-size:14.5px}
.bots-settings-list{margin:0;display:grid;gap:0}
.bots-settings-list dt{font-weight:700;font-size:14px}
.bots-settings-list dd{margin:2px 0 12px;color:var(--muted);font-size:13.5px}
.bots-settings-list dd:last-child{margin-bottom:0}
.bots-good ul{margin:0;padding:0;list-style:none;display:grid;gap:9px}
.bots-good li{position:relative;padding-left:20px;font-size:13.5px}
.bots-good li::before{content:"";position:absolute;left:2px;top:.55em;width:8px;height:8px;border-radius:50%;background:var(--c)}

/* Glossar */
.bots-glossar dl{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:12px;margin:10px 0 0}
.bots-term{min-width:0;padding:12px 14px;border-radius:12px;background:var(--surface-alt);border:1px solid var(--line)}
.bots-glossar dt{font-weight:700;font-size:14px}
.bots-glossar dd{margin:3px 0 0;color:var(--muted);font-size:13.5px}
.bots-footnote{margin:0}
.bots-rule-strong{border-top-color:var(--c-red);margin:6px auto 24px}

/* V3: Startvarianten, Collateral */
.bots-modes-wrap,.bots-extra{display:grid;gap:12px}
.bots-modes-wrap h4,.bots-extra h4{margin-bottom:0!important}
.bots-extra .bots-what p:last-child{margin-bottom:0}
.bots-modes{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.bots-modes li{padding:16px}
.bots-modes li:nth-child(1){--c:var(--c-green)} .bots-modes li:nth-child(2){--c:var(--c-red)} .bots-modes li:nth-child(3){--c:var(--c-amber)}
.bots-modes b{display:block;font-size:14.5px;margin-bottom:5px;color:var(--c)}
:root[data-theme=light] .bots-modes b{color:var(--text)}
.bots-modes span{display:block;font-size:13.5px;color:var(--muted)}

/* Grafiken */
.bots-figure{overflow-x:auto}
.bots-figure svg{display:block;width:100%;max-width:820px;min-width:520px;height:auto;margin:0 auto}
.bots-figure-wrap{margin:0;background:var(--surface-alt);border:1px solid var(--line);border-radius:14px;padding:16px 18px 12px}
.bots-figure-wrap figcaption{font-size:13px;color:var(--muted);margin:8px auto 0;line-height:1.5;text-align:center;max-width:90ch;text-wrap:balance}
.bots-figure text{font-family:var(--font);fill:var(--text)}
.bots-figure .f-note,.bots-figure .f-step-sub{font-size:12px;fill:var(--muted)}
.bots-figure .f-label{font-size:13px;font-weight:600}
.bots-figure .f-label-go{fill:var(--green)} .bots-figure .f-label-stop{fill:var(--red)} .bots-figure .f-label-entry{fill:var(--bots-amber)}
.bots-figure .f-zone-go{fill:var(--green-bg)} .bots-figure .f-zone-stop{fill:var(--red-bg)}
.bots-figure .f-go{stroke:var(--green);stroke-width:1.5;stroke-dasharray:6 4}
.bots-figure .f-stop{stroke:var(--red);stroke-width:1.5;stroke-dasharray:6 4}
.bots-figure .f-entry{stroke:var(--bots-amber);stroke-width:1.5;stroke-dasharray:3 4}
.bots-figure .f-price{fill:none;stroke:var(--text);stroke-width:2;stroke-linejoin:round;stroke-linecap:round}
.bots-figure .f-dot-entry{fill:var(--bots-amber)} .bots-figure .f-dot-go{fill:var(--green)}
.bots-figure .f-bar-lose{fill:var(--red);opacity:.85} .bots-figure .f-bar-win{fill:var(--green);opacity:.85}
.bots-figure .f-value{font-size:12px;font-weight:600;font-variant-numeric:tabular-nums}
.bots-figure .f-target{stroke:var(--red);stroke-width:1.5;stroke-dasharray:6 4}
.bots-figure .f-arrow{fill:none;stroke:var(--muted);stroke-width:1.6}
.bots-figure .f-arrow-head{fill:var(--muted)}
.bots-figure .f-head{font-size:13px;font-weight:600;fill:var(--muted)}
.bots-figure .f-market{font-size:14px;font-weight:600}
.bots-figure .f-leg-lose{fill:var(--red-bg);stroke:var(--red);stroke-width:1}
.bots-figure .f-leg-win{fill:var(--green-bg);stroke:var(--green);stroke-width:1}
.bots-figure .f-leg-text{font-size:13px;font-weight:600}
.bots-figure .f-link{stroke:var(--muted);stroke-width:1.5;stroke-dasharray:2 3}
.bots-figure .f-row-out{opacity:.45}
.bots-figure .f-row-new .f-leg-lose,.bots-figure .f-row-new .f-leg-win{stroke-width:2}
.bots-figure .f-tag{font-size:12px;font-weight:600} .bots-figure .f-tag-go{fill:var(--green)} .bots-figure .f-tag-stop{fill:var(--red)}
.bots-figure .f-axis{stroke:var(--line);stroke-width:1.5}
.bots-figure .f-bar-long{fill:var(--green)} .bots-figure .f-bar-short{fill:var(--red)} .bots-figure .f-bar-idle{fill:var(--line)}
.bots-figure .f-tranche{fill:var(--accent);opacity:.35} .bots-figure .f-tranche-new{opacity:.9}
.bots-figure .f-step{fill:var(--surface-alt);stroke:var(--line);stroke-width:1.2}
.bots-figure .f-step-stop{fill:var(--surface)}
.bots-figure .f-step-title{font-size:13px;font-weight:600}
.bots-figure .f-range{fill:var(--accent-soft);opacity:.6}
.bots-figure .f-rung{stroke:var(--muted);stroke-width:1;stroke-dasharray:2 4;opacity:.7}
.bots-figure .f-bound{stroke:var(--muted);stroke-width:1.5}
.bots-figure .f-fill-buy{fill:var(--green)} .bots-figure .f-fill-sell{fill:var(--red)}
.bots-figure .f-area-long{fill:var(--green-bg)} .bots-figure .f-area-short{fill:var(--red-bg)}
.bots-figure .f-curve{fill:none;stroke:var(--text);stroke-width:2;stroke-linejoin:round}
.bots-figure .f-spot{stroke:var(--muted);stroke-width:1.5;stroke-dasharray:6 4}
.bots-figure .f-net{fill:none;stroke:var(--bots-amber);stroke-width:2;stroke-dasharray:3 3}
/* Copy-Bot: gestrichelte Karte = optional, gestrichelter Balken = noch nicht nachgekauft */
.bots-figure .f-dash{stroke-dasharray:5 4}
.bots-figure .f-gap{fill:none;stroke:var(--red);stroke-width:1.5;stroke-dasharray:3 3}
.bots-figure .f-start{stroke:var(--bots-amber);stroke-width:1.2;stroke-dasharray:3 4}
.bots-figure .f-curve-asset{fill:none;stroke:var(--accent);stroke-width:2.2;stroke-linejoin:round}
.bots-figure .f-liq{fill:var(--red)}

@media(max-width:1100px){.bots-tabs{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:900px){.bots-tabs{grid-template-columns:repeat(2,minmax(0,1fr))}.bots-steps{grid-template-columns:repeat(2,minmax(0,1fr))}.bots-facts{grid-template-columns:minmax(0,1fr)}.bots-modes{grid-template-columns:minmax(0,1fr)}}
@media(max-width:560px){.bots-common,.bots-bot,.bots-glossar{padding:18px 16px}.bots-bot-head{margin:-18px -16px 0;padding:18px 16px 16px}.bots-steps{grid-template-columns:minmax(0,1fr)}.bots-figure svg{min-width:480px}}

/* V3: Schritt-für-Schritt-Bilder */
.bots-story-wrap{display:grid;gap:12px}
.bots-story-wrap>h4{justify-content:center;margin-bottom:0!important}
.bots-story{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:12px;counter-reset:bild}
.bots-story li{counter-increment:bild;display:flex;flex-direction:column;gap:4px;padding:12px 14px 16px;border:1px solid var(--line);border-radius:14px;background:var(--surface-alt);text-align:center}
.bots-story b{font-size:14.5px}
.bots-story b::before{content:counter(bild) ". ";color:var(--muted)}
.bots-story span{font-size:13.5px;color:var(--muted)}
.bots-mini{overflow:visible;margin-bottom:6px}
.bots-mini svg{min-width:0;max-width:240px;width:100%;margin:0 auto}
.bots-figure .f-mini{font-size:12.5px;font-weight:600}
.bots-figure .f-mini-gain{font-size:12.5px;font-weight:700;fill:var(--green)}
.bots-figure .f-mini-v{font-size:14px;font-weight:700;font-variant-numeric:tabular-nums}
.bots-figure .f-mini-sum{font-size:13.5px;font-weight:700;fill:var(--bots-amber)}
.bots-figure .f-bar-spot{fill:var(--bots-amber);opacity:.85}
.bots-figure .f-price-now{stroke:var(--bots-amber);stroke-width:2.5}
.bots-story-note{margin:0 auto!important}

/* Alle Kacheln: Überschrift und Text mittig */
.bots-flow>li,.bots-safety li,.bots-steps li,.bots-modes li,.bots-card,.bots-term{text-align:center}
.bots-flow b{justify-content:center}
.bots-flow-end{justify-items:center}
.bots-steps li::before{margin:0 auto 10px}
.bots-card h4{justify-content:center}
.bots-good li{padding-left:0}
.bots-good li::before{position:static;display:inline-block;vertical-align:middle;margin:0 8px 2px 0}

/* Kapital */
.bots-kapital{display:grid;gap:12px;margin-top:26px}
.bots-kapital>h4{justify-content:center;margin-bottom:0!important}
.bots-kapital>.bots-muted{margin-bottom:0}
.bots-kapital-wrap{overflow-x:auto;display:flex;justify-content:center}
.bots-kapital-tabelle{border-collapse:separate;border-spacing:0;border:1px solid var(--line);border-radius:14px;overflow:hidden;background:var(--surface-alt);font-size:14px;min-width:min(640px,100%)}
.bots-kapital-tabelle th,.bots-kapital-tabelle td{padding:10px 14px;text-align:center;border-bottom:1px solid var(--line)}
.bots-kapital-tabelle th{font-size:12px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--muted);background:var(--surface)}
.bots-kapital-tabelle tbody tr:last-child td,.bots-kapital-tabelle td[rowspan]{border-bottom:0}
.bots-kapital-tabelle td[rowspan]{border-right:1px solid var(--line)}
.bots-kapital-tabelle tbody tr>td:first-child:not(:nth-last-child(3)),.bots-kapital-tabelle td[rowspan]{font-weight:600}
.bots-kapital-tabelle td:nth-child(3),.bots-kapital-tabelle td:nth-child(4){font-variant-numeric:tabular-nums}
.bots-kapital-hinweis{margin-top:4px!important}
.bots-kapital-nado{margin-bottom:0!important}
@media(max-width:560px){.bots-kapital-tabelle th,.bots-kapital-tabelle td{padding:8px 8px;font-size:13px}}

/* Signalbot Single und Major-Rotation (04.11.2026): Orders als Kästchen, heißer Stop */
.bots-figure .f-order{fill:var(--surface);stroke:var(--bots-amber);stroke-width:1.5}
.bots-figure .f-order-go{fill:var(--green-bg);stroke:var(--green);stroke-width:1.5}
.bots-figure .f-order-stop{fill:var(--red-bg);stroke:var(--red);stroke-width:1.5}
.bots-figure .f-order-off{opacity:.5}
.bots-figure .f-stop-hot{stroke-width:3;stroke-dasharray:none}
