/* AI.studio – im Stil der Website */
.studio-page { background: var(--paper); }
.studio { min-height: calc(100vh - 4rem); }
.st-boot { min-height: 60vh; display: grid; place-items: center; align-content: center; gap: 1rem; color: var(--steel); }
.st-boot .pk-orb { width: 4rem; height: 4rem; }

/* ---------- Eigener Rahmen (ohne Website-Menü) ---------- */
.st-top { position: sticky; top: 0; z-index: 50; height: 4rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0 clamp(1rem, 3vw, 1.75rem); background: rgba(17,19,23,.94); backdrop-filter: saturate(160%) blur(18px); -webkit-backdrop-filter: saturate(160%) blur(18px); border-bottom: 1px solid rgba(255,255,255,.08); color: var(--white); }
.st-brand { display: flex; align-items: center; gap: .85rem; text-decoration: none; color: var(--white); min-width: 0; }
.st-brand img { height: 1.6rem; width: auto; }
.st-word { font-family: var(--font-display); font-weight: 650; font-size: 1.05rem; letter-spacing: -0.02em; padding: .28rem .7rem; border-radius: 999px; background: linear-gradient(var(--ink), var(--ink)) padding-box, linear-gradient(110deg, #FFB27A, var(--glut) 50%, #8E6BD8) border-box; border: 1.5px solid transparent; white-space: nowrap; }
.st-word span { background: linear-gradient(100deg, #FFB27A, var(--glut)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.st-site { display: inline-flex; align-items: center; gap: .4rem; color: var(--steel-light); text-decoration: none; font-size: .9rem; font-weight: 500; white-space: nowrap; }
.st-site:hover { color: var(--white); }
.st-site svg { width: .8rem; height: .8rem; }
.st-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .6rem 1.5rem; padding: 1.2rem clamp(1rem, 3vw, 1.75rem); font-size: .82rem; color: var(--steel); border-top: 1px solid var(--line); background: var(--paper); }
.st-foot nav { display: flex; gap: 1.2rem; }
.st-foot a { color: var(--steel); }
.studio.in + .st-foot { margin-left: 16.5rem; }
@media (max-width: 900px) { .studio.in + .st-foot { margin-left: 0; } }
@media (max-width: 520px) { .st-brand img { height: 1.3rem; } .st-word { font-size: .92rem; } .st-site { font-size: .82rem; } }
@media print { .st-top, .st-foot { display: none !important; } }

/* ---------- Landing ---------- */
.st-hero { background: var(--ink); color: var(--white); position: relative; overflow: hidden; padding: clamp(3.5rem, 9vw, 7rem) 0 clamp(3.5rem, 8vw, 6rem); }
.st-hero::before { content: ""; position: absolute; left: -15%; top: -40%; width: min(900px, 120vw); aspect-ratio: 1; background: radial-gradient(circle, rgba(142,107,216,.22), transparent 60%); pointer-events: none; }
.st-hero::after { content: ""; position: absolute; right: -15%; bottom: -55%; width: min(900px, 120vw); aspect-ratio: 1; background: radial-gradient(circle, rgba(226,84,27,.3), transparent 62%); pointer-events: none; }
.st-hero-in { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.st-hero .eyebrow { color: var(--glut); }
.st-hero h1 { font-size: clamp(2.5rem, 6.2vw, 5rem); letter-spacing: -0.045em; line-height: 1.02; margin: 1.2rem 0; }
.st-hero h1 .grad { background: linear-gradient(100deg, #FFB27A 0%, var(--glut) 45%, #B998FF 100%); -webkit-background-clip: text; background-clip: text; color: transparent; padding-bottom: .16em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.st-hero-copy > p { color: var(--steel-light); font-size: clamp(1.05rem, 1.6vw, 1.25rem); max-width: 36rem; }
.st-bullets { list-style: none; padding: 0; margin: 1.8rem 0 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.st-bullets li { border: 1px solid rgba(255,255,255,.16); border-radius: 999px; padding: .45rem .9rem; font-size: .875rem; color: #E6E3DD; }
.st-auth { background: rgba(255,255,255,.98); color: var(--ink); border-radius: 28px; padding: clamp(1.4rem, 3.5vw, 2.2rem); box-shadow: 0 50px 100px -40px rgba(0,0,0,.8), 0 0 0 1px rgba(255,255,255,.1); }
.st-tabs { display: grid; grid-template-columns: 1fr 1fr; background: var(--paper); border-radius: 999px; padding: .3rem; margin-bottom: 1.3rem; }
.st-tabs button { font: inherit; font-family: var(--font-display); font-weight: 600; border: 0; background: none; padding: .6rem; border-radius: 999px; cursor: pointer; color: var(--steel); }
.st-tabs button[aria-selected="true"] { background: var(--white); color: var(--ink); box-shadow: 0 2px 8px rgba(0,0,0,.08); }
.st-fld { position: relative; display: block; margin-bottom: .7rem; flex: 1; min-width: 0; }
.st-fld input, .st-fld textarea { width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: var(--white); border: 1.5px solid var(--line); border-radius: 14px; padding: 1.35rem .95rem .5rem; outline: 0; transition: border-color .2s; }
.st-fld input:focus { border-color: var(--glut); }
.st-fld input:disabled { background: var(--paper); color: var(--steel); }
.st-fld span { position: absolute; left: 1rem; top: .95rem; color: var(--steel); font-size: 1rem; pointer-events: none; transition: all .15s; }
.st-fld input:focus + span, .st-fld input:not(:placeholder-shown) + span, .st-fld input:disabled + span { top: .45rem; font-size: .72rem; font-weight: 600; letter-spacing: .02em; }
.st-row { display: flex; gap: .7rem; }
.st-check { display: flex; gap: .65rem; align-items: flex-start; font-size: .88rem; color: var(--steel); margin: .3rem 0 .6rem; cursor: pointer; line-height: 1.45; }
.st-check input { margin-top: .2rem; width: 1.05rem; height: 1.05rem; accent-color: var(--glut); flex: none; }
.st-check a { color: var(--ink); }
.st-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.st-err { color: var(--glut-deep); font-weight: 500; font-size: .92rem; min-height: 1.2em; margin: .2rem 0 .5rem; }
.st-wide { width: 100%; justify-content: center; border-radius: 999px; padding: 1rem; }
.st-fine { font-size: .82rem; color: var(--steel); margin-top: .8rem; }
.st-fine a { color: inherit; }
.st-link { font: inherit; background: none; border: 0; padding: 0; color: var(--ink); text-decoration: underline; cursor: pointer; }
.st-note { background: var(--glut-soft); border-radius: 14px; padding: .8rem 1rem; font-size: .92rem; margin-bottom: 1rem; }
.st-sent { text-align: center; padding: 1rem 0; }
.st-sent h3 { font-size: 1.5rem; margin: 1rem 0 .6rem; }
.st-sent p { color: var(--steel); }
.st-ic { display: inline-grid; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: 14px; background: var(--ink); color: var(--white); flex: none; }
.st-ic svg { width: 1.25rem; height: 1.25rem; }
.st-ic.big { width: 4rem; height: 4rem; border-radius: 50%; background: var(--glut); }
.st-ic.big svg { width: 1.8rem; height: 1.8rem; }
.st-benefits { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.st-ben-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.st-ben { background: var(--white); border: 1px solid var(--line); border-radius: 24px; padding: 1.6rem; }
.st-ben h3 { font-size: 1.25rem; margin: 1rem 0 .5rem; }
.st-ben p { color: var(--steel); font-size: .95rem; }
.st-cust { margin-top: 1rem; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 2rem; align-items: center; background: var(--ink); color: var(--white); border-radius: 28px; padding: clamp(1.8rem, 4vw, 3rem); }
.st-cust .eyebrow { color: var(--glut); }
.st-cust h2 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); letter-spacing: -0.035em; margin: .7rem 0; }
.st-cust p { color: var(--steel-light); }
.st-cust-demo { display: grid; gap: .7rem; }
.st-cust-demo div { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); border-radius: 18px; padding: 1rem 1.2rem; }
.st-cust-demo small { color: var(--steel-light); font-size: .8rem; }
.st-cust-demo b { display: block; font-family: var(--font-display); font-size: 1.6rem; letter-spacing: -0.03em; margin: .2rem 0 .6rem; }
.st-cust-demo i { display: block; height: 6px; border-radius: 3px; background: linear-gradient(90deg, var(--glut) 0, var(--glut) var(--w), rgba(255,255,255,.12) var(--w)); }
.st-cust-demo i.w70 { --w: 70%; } .st-cust-demo i.w45 { --w: 45%; }

/* ---------- App ---------- */
.st-app { display: grid; grid-template-columns: 16.5rem minmax(0, 1fr); min-height: calc(100vh - 4rem); }
.st-side { background: var(--ink); color: var(--white); padding: 1.4rem 1rem; position: sticky; top: 4rem; height: calc(100vh - 4rem); display: flex; flex-direction: column; gap: 1.2rem; overflow-y: auto; }
.st-me { display: flex; gap: .7rem; align-items: center; padding: .2rem .4rem .8rem; border-bottom: 1px solid var(--line-dark); min-width: 0; }
.st-me div { min-width: 0; }
.st-me b { display: block; font-family: var(--font-display); font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.st-me small { display: block; color: var(--steel-light); font-size: .8rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.st-av { width: 2.4rem; height: 2.4rem; border-radius: 50%; display: grid; place-items: center; flex: none; font-family: var(--font-display); font-weight: 650; background: linear-gradient(135deg, #FFB27A, var(--glut) 55%, #8E6BD8); }
.st-nav { display: grid; gap: .15rem; }
.st-nav a { display: flex; align-items: center; gap: .75rem; padding: .65rem .75rem; border-radius: 12px; text-decoration: none; color: var(--steel-light); font-weight: 500; font-size: .95rem; transition: background .15s, color .15s; }
.st-nav a svg { width: 1.15rem; height: 1.15rem; flex: none; }
.st-nav a:hover { background: rgba(255,255,255,.05); color: var(--white); }
.st-nav a.on { background: rgba(226,84,27,.16); color: var(--white); }
.st-nav a.on svg { color: var(--glut); }
.st-side-foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; padding: .8rem .4rem 0; border-top: 1px solid var(--line-dark); }
.st-side-foot .st-link { color: var(--steel-light); font-size: .88rem; }
.st-badge { font-size: .72rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; padding: .25rem .6rem; border-radius: 999px; background: rgba(255,255,255,.08); color: #E6E3DD; }
.st-main { padding: clamp(1.5rem, 4vw, 3rem); min-width: 0; max-width: 1180px; width: 100%; }
.st-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 1rem 2rem; margin-bottom: 1.8rem; }
.st-head h1 { font-size: clamp(2rem, 4.4vw, 3.2rem); letter-spacing: -0.04em; line-height: 1.04; margin-top: .6rem; }
.st-head p { color: var(--steel); margin-top: .7rem; max-width: 42rem; font-size: 1.05rem; }
.st-card { background: var(--white); border: 1px solid var(--line); border-radius: 24px; padding: clamp(1.3rem, 3vw, 1.9rem); min-width: 0; margin-bottom: 1rem; }
.st-card h3 { font-size: 1.3rem; letter-spacing: -0.02em; margin: .6rem 0 .5rem; }
.st-card > p { color: var(--steel); }
.st-h3 { display: flex; justify-content: space-between; align-items: baseline; font-size: 1.05rem !important; margin: 0 0 .8rem !important; }
.st-h3 a { font-size: .85rem; font-weight: 500; color: var(--steel); }
.st-grid2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1rem; }
.st-grid2 .st-card { margin-bottom: 0; display: flex; flex-direction: column; }
.st-grid2 + .st-grid2 { margin-top: 1rem; }
.st-row-a { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: auto; padding-top: 1rem; }
.st-row-a .btn { padding: .7rem 1.15rem; font-size: .92rem; }
.st-row-a .btn svg { width: 1rem; height: 1rem; }
.st-loading { padding: 1rem 0; }
.st-empty { color: var(--steel); font-size: .95rem; }
.st-empty a { color: var(--ink); }
.st-empty-big { text-align: center; padding: clamp(2rem, 5vw, 3.5rem); }
.st-empty-big .st-row-a { justify-content: center; }
.st-quick { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .8rem; margin-bottom: 1rem; }
.st-q { font: inherit; text-align: left; cursor: pointer; text-decoration: none; color: var(--ink); background: var(--white); border: 1px solid var(--line); border-radius: 20px; padding: 1.2rem; display: flex; flex-direction: column; gap: .3rem; transition: transform .2s, border-color .2s, box-shadow .2s; }
.st-q:hover { transform: translateY(-3px); border-color: var(--glut); box-shadow: 0 20px 40px -28px rgba(0,0,0,.4); }
.st-q .st-ic { margin-bottom: .6rem; }
.st-q b { font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; }
.st-q small { color: var(--steel); font-size: .85rem; }
.st-q.dark { background: var(--ink); color: var(--white); border-color: var(--ink); }
.st-q.dark .st-ic { background: var(--glut); }
.st-q.dark small { color: var(--steel-light); }
.st-proj-teaser { display: flex; justify-content: space-between; align-items: center; gap: 1rem; text-decoration: none; color: var(--white); background: linear-gradient(120deg, var(--ink), #2A1E1A); border: 0; }
.st-proj-teaser .eyebrow { color: var(--glut); }
.st-proj-teaser p { color: var(--steel-light); }
.st-proj-teaser > svg { width: 1.6rem; height: 1.6rem; color: var(--glut); flex: none; }
.st-mini { margin: .3rem 0 1rem; padding-left: 1.1rem; color: var(--steel); font-size: .95rem; display: grid; gap: .3rem; }
.st-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .25rem; }
.st-list a { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .1rem 1rem; text-decoration: none; color: var(--ink); padding: .65rem .75rem; border-radius: 12px; transition: background .15s; }
.st-list a:hover, .st-list a.on { background: var(--paper); }
.st-list a .st-type { grid-column: 1 / -1; }
.st-list b { font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.st-list small { color: var(--steel); font-size: .8rem; white-space: nowrap; }
.st-type { font-size: .7rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--glut-deep); }
.st-iconbtn { display: inline-grid; place-items: center; width: 2.5rem; height: 2.5rem; border-radius: 12px; border: 1px solid var(--line); background: var(--white); color: var(--ink); cursor: pointer; flex: none; transition: border-color .15s, color .15s; }
.st-iconbtn:hover { border-color: var(--ink); }
.st-iconbtn svg { width: 1.1rem; height: 1.1rem; }

/* ---------- Werkbank ---------- */
.st-wb { display: grid; grid-template-columns: 19rem minmax(0, 1fr); gap: 1rem; height: calc(100vh - 4rem - clamp(3rem, 8vw, 6rem)); min-height: 34rem; }
.st-wb-list { background: var(--white); border: 1px solid var(--line); border-radius: 24px; padding: 1rem; overflow-y: auto; }
.st-wb-new { display: grid; gap: .45rem; margin-bottom: 1.2rem; }
.st-wb-new button { font: inherit; text-align: left; display: flex; gap: .7rem; align-items: flex-start; background: var(--paper); border: 1px solid transparent; border-radius: 16px; padding: .75rem .85rem; cursor: pointer; color: var(--ink); transition: border-color .15s, background .15s; }
.st-wb-new button:hover { border-color: var(--glut); background: var(--white); }
.st-wb-new svg { width: 1.2rem; height: 1.2rem; color: var(--glut); flex: none; margin-top: .15rem; }
.st-wb-new b { display: block; font-family: var(--font-display); font-weight: 600; font-size: .98rem; }
.st-wb-new small { display: block; color: var(--steel); font-size: .8rem; line-height: 1.35; margin-top: .1rem; }
.st-wb-chat { background: var(--white); border: 1px solid var(--line); border-radius: 24px; display: flex; flex-direction: column; min-height: 0; overflow: hidden; }
.st-wb-hello { margin: auto; text-align: center; padding: 2rem; max-width: 34rem; }
.st-wb-hello .fk-orb { --s: 84px; margin: 0 auto 1.4rem; }
.st-wb-hello h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); letter-spacing: -0.035em; }
.st-wb-hello p { color: var(--steel); margin-top: .7rem; }
.st-chat-head { display: flex; align-items: center; gap: 1rem; padding: 1rem 1.2rem; border-bottom: 1px solid var(--line); }
.st-chat-head > div { flex: 1; min-width: 0; }
.st-chat-head h2 { font-size: 1.1rem; letter-spacing: -0.015em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; margin-top: .1rem; }
.st-back { display: none; align-items: center; gap: .3rem; text-decoration: none; font-size: .9rem; }
.st-back svg { width: 1rem; height: 1rem; }
.st-msgs { flex: 1; overflow-y: auto; padding: 1.4rem clamp(1rem, 3vw, 2rem); display: flex; flex-direction: column; gap: 1.1rem; scroll-behavior: smooth; }
.st-wb-hint { background: var(--paper); border-radius: 16px; padding: 1rem 1.2rem; color: var(--steel); font-size: .95rem; }
.st-wb-hint b { color: var(--ink); }
.st-msg { display: flex; gap: .8rem; align-items: flex-start; max-width: 100%; }
.st-msg.me { justify-content: flex-end; }
.st-msg .fk-orb.sm { --s: 34px; margin-top: .15rem; }
.st-bubble { min-width: 0; max-width: min(46rem, 100%); }
.st-msg.me .st-bubble { background: var(--ink); color: var(--white); border-radius: 20px 20px 6px 20px; padding: .8rem 1.1rem; max-width: min(36rem, 88%); overflow-wrap: anywhere; }
.st-msg.ai .st-bubble { flex: 1; }
.st-files { display: flex; flex-wrap: wrap; gap: .35rem; margin-bottom: .45rem; }
.st-files span, .st-attach span { display: inline-flex; align-items: center; gap: .35rem; font-size: .8rem; background: rgba(255,255,255,.12); border-radius: 999px; padding: .25rem .65rem; }
.st-files svg, .st-attach svg { width: .9rem; height: .9rem; }
.st-msg-act { display: flex; gap: .4rem; margin-top: .7rem; opacity: .75; transition: opacity .15s; }
.st-msg:hover .st-msg-act { opacity: 1; }
.st-msg-act button { font: inherit; font-size: .8rem; display: inline-flex; align-items: center; gap: .35rem; background: none; border: 1px solid var(--line); border-radius: 999px; padding: .3rem .7rem; cursor: pointer; color: var(--steel); }
.st-msg-act button:hover { color: var(--ink); border-color: var(--ink); }
.st-msg-act svg { width: .9rem; height: .9rem; }
.st-msg.live .st-msg-act { display: none; }
.st-typing { display: inline-flex; gap: .3rem; padding: .6rem 0; }
.st-typing i { width: .45rem; height: .45rem; border-radius: 50%; background: var(--steel-light); animation: stDot 1.2s infinite ease-in-out; }
.st-typing i:nth-child(2) { animation-delay: .15s; } .st-typing i:nth-child(3) { animation-delay: .3s; }
@keyframes stDot { 0%, 80%, 100% { transform: scale(.6); opacity: .4; } 40% { transform: scale(1); opacity: 1; } }
.st-composer { border-top: 1px solid var(--line); padding: .8rem 1rem .6rem; background: var(--white); }
.st-attach { display: flex; flex-wrap: wrap; gap: .35rem; }
.st-attach:not(:empty) { margin-bottom: .55rem; }
.st-attach span { background: var(--paper); color: var(--ink); }
.st-attach button { border: 0; background: none; padding: 0; cursor: pointer; color: var(--steel); display: inline-grid; }
.st-comp-row { display: flex; gap: .55rem; align-items: flex-end; background: var(--paper); border: 1.5px solid transparent; border-radius: 18px; padding: .35rem; transition: border-color .2s; }
.st-comp-row:focus-within { border-color: var(--glut); background: var(--white); }
.st-comp-row label.st-iconbtn { border: 0; background: none; cursor: pointer; }
.st-comp-row textarea { flex: 1; min-width: 0; font: inherit; font-size: 1rem; line-height: 1.5; border: 0; outline: 0; background: none; resize: none; padding: .5rem .2rem; max-height: 220px; color: var(--ink); }
.st-send { width: 2.6rem; height: 2.6rem; border-radius: 14px; border: 0; background: var(--glut); color: var(--white); display: grid; place-items: center; cursor: pointer; flex: none; transition: background .15s, transform .15s; }
.st-send:hover { background: var(--glut-deep); }
.st-send:disabled { background: var(--steel-light); cursor: wait; }
.st-send svg { width: 1.15rem; height: 1.15rem; }
.st-composer .st-fine { margin: .45rem .3rem 0; font-size: .75rem; }

/* Markdown */
.md { line-height: 1.6; overflow-wrap: break-word; }
.md > * + * { margin-top: .75rem; }
.md h2, .md h3, .md h4, .md h5 { font-size: 1.12rem; letter-spacing: -0.015em; margin-top: 1.2rem; }
.md h2 { font-size: 1.3rem; }
.md ul, .md ol { padding-left: 1.3rem; margin-bottom: 0; }
.md li + li { margin-top: .25rem; }
.md code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .88em; background: var(--paper); border-radius: 6px; padding: .1rem .35rem; }
.md pre { background: var(--ink); color: #E6E3DD; border-radius: 14px; padding: 1rem 1.1rem; overflow-x: auto; font-size: .85rem; }
.md pre code { background: none; padding: 0; color: inherit; }
.md blockquote { border-left: 3px solid var(--glut); padding: .2rem 0 .2rem 1rem; color: var(--steel); margin-left: 0; }
.md hr { border: 0; border-top: 1px solid var(--line); }
.md a { color: var(--glut-deep); }
.md-table { overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; }
.md-table table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.md-table th { text-align: left; background: var(--paper); font-weight: 600; }
.md-table th, .md-table td { padding: .55rem .8rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.md-table tr:last-child td { border-bottom: 0; }

/* ---------- Werkzeuge ---------- */
.st-tools { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.st-tool { background: var(--white); border: 1px solid var(--line); border-radius: 24px; padding: 1.4rem; display: flex; flex-direction: column; min-width: 0; transition: border-color .2s; }
.st-tool:hover { border-color: var(--glut); }
.st-nr { font-family: var(--font-display); font-weight: 650; font-size: 1.9rem; letter-spacing: -0.05em; color: var(--glut); line-height: 1; }
.st-tool small { color: var(--steel); font-size: .8rem; margin-top: .6rem; }
.st-tool h3 { font-size: 1.2rem; letter-spacing: -0.02em; margin: .35rem 0 .5rem; }
.st-tool p { color: var(--steel); font-size: .92rem; display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; }

/* ---------- Ergebnisse ---------- */
.st-filter { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: 1rem; }
.st-filter button { font: inherit; font-size: .88rem; border: 1px solid var(--line); background: var(--white); border-radius: 999px; padding: .4rem .9rem; cursor: pointer; color: var(--ink); }
.st-filter button.on { background: var(--ink); color: var(--white); border-color: var(--ink); }
.st-res { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .8rem; }
.st-resc { font: inherit; text-align: left; cursor: pointer; background: var(--white); border: 1px solid var(--line); border-radius: 20px; padding: 1.15rem 1.2rem; display: flex; flex-direction: column; gap: .35rem; color: var(--ink); min-width: 0; transition: transform .2s, border-color .2s; }
.st-resc:hover { transform: translateY(-2px); border-color: var(--glut); }
.st-resc b { font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; line-height: 1.3; }
.st-resc small { color: var(--steel); font-size: .8rem; }
.st-lvl { display: inline-grid; place-items: center; width: 1.7rem; height: 1.7rem; border-radius: 50%; font-weight: 650; font-size: .85rem; background: var(--paper); }
.st-lvl.l1 { background: #F3D9CF; } .st-lvl.l2 { background: #F7E3C8; } .st-lvl.l3 { background: #EFEBC5; } .st-lvl.l4 { background: #D9ECD3; } .st-lvl.l5 { background: #C3E4CF; }
.st-hist em { font-style: normal; font-size: .7rem; margin-left: .3rem; }
.st-hist em.up { color: #1E7A4A; } .st-hist em.down { color: var(--glut-deep); }
.st-lever { border: 1px solid var(--line); border-radius: 16px; padding: .9rem 1rem; }
.st-lever .chip { margin-left: .5rem; }
.st-pre { white-space: pre-wrap; font-size: .8rem; background: var(--paper); padding: 1rem; border-radius: 12px; }
.st-modal { position: fixed; inset: 0; z-index: 120; background: rgba(17,19,23,.55); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); display: grid; place-items: center; padding: 1rem; animation: stFade .2s ease; }
@keyframes stFade { from { opacity: 0; } }
.st-modal-box { width: min(52rem, 100%); max-height: calc(100vh - 2rem); background: var(--white); border-radius: 26px; display: flex; flex-direction: column; overflow: hidden; box-shadow: 0 50px 100px -40px rgba(0,0,0,.7); }
.st-modal-box header, .st-modal-box footer { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.1rem 1.4rem; }
.st-modal-box header { border-bottom: 1px solid var(--line); align-items: flex-start; }
.st-modal-box header h2 { font-size: 1.4rem; letter-spacing: -0.025em; margin-top: .25rem; }
.st-modal-box footer { border-top: 1px solid var(--line); flex-wrap: wrap; }
.st-modal-box footer .st-row-a { padding-top: 0; margin-top: 0; }
.st-modal-box footer .btn { padding: .65rem 1.05rem; font-size: .9rem; }
.st-modal-body { padding: 1.3rem 1.4rem; overflow-y: auto; }
.st-noscroll { overflow: hidden; }

/* ---------- Prompts ---------- */
.st-pgroup + .st-pgroup { margin-top: 2rem; }
.st-pgroup h2 { font-size: 1.25rem; letter-spacing: -0.02em; margin-bottom: .8rem; }
.st-prompts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .8rem; }
.st-prompt { background: var(--white); border: 1px solid var(--line); border-radius: 20px; padding: 1.2rem; display: flex; flex-direction: column; min-width: 0; }
.st-prompt h3 { font-size: 1.05rem; }
.st-prompt p { color: var(--steel); font-size: .88rem; margin-top: .5rem; line-height: 1.5; }

/* ---------- Projektraum ---------- */
.st-kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .8rem; margin-bottom: 1rem; }
.st-kpis div { background: var(--white); border: 1px solid var(--line); border-radius: 20px; padding: 1.2rem 1.3rem; }
.st-kpis small { color: var(--steel); font-size: .82rem; }
.st-kpis b { display: block; font-family: var(--font-display); font-size: clamp(1.6rem, 3.4vw, 2.4rem); letter-spacing: -0.04em; line-height: 1.1; margin-top: .3rem; }
.st-kpis .dark { background: var(--ink); color: var(--white); border-color: var(--ink); }
.st-kpis .dark small { color: var(--steel-light); }
.st-kpis .dark b { color: #FF9A66; }
.st-opp-h { display: flex; justify-content: space-between; gap: 1rem; align-items: flex-start; }
.st-opp-h h3 { margin-top: 0; }
.st-stages { list-style: none; padding: 0; margin: 1rem 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 4px; }
.st-stages li { height: 6px; border-radius: 3px; background: var(--paper); position: relative; }
.st-stages li.done { background: var(--ink); }
.st-stages li.now { background: var(--glut); }
.st-stages span { position: absolute; top: .7rem; left: 0; font-size: .7rem; color: var(--steel); white-space: nowrap; }
.st-stages li.now span { color: var(--glut-deep); font-weight: 600; }
.st-kpi { margin-top: 2.2rem; background: var(--paper); border-radius: 16px; padding: 1rem 1.1rem; }
.st-kpi-h { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .4rem 1rem; font-size: .95rem; }
.st-kpi-h span { color: var(--steel); }
.st-kpi-h strong { color: var(--ink); }
.st-bar { height: 8px; border-radius: 4px; background: var(--line); margin: .7rem 0 .4rem; overflow: hidden; }
.st-bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #FFB27A, var(--glut)); border-radius: 4px; transition: width 1s cubic-bezier(.2,.7,.2,1); }
.st-kpi small { color: var(--steel); font-size: .8rem; }
.st-dl { display: flex; flex-wrap: wrap; gap: .8rem 2rem; margin: 1rem 0 0; }
.st-dl dt { font-size: .72rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--steel); }
.st-dl dd { margin: .15rem 0 0; font-weight: 500; }
.st-tl { list-style: none; margin: 0; padding: 0 0 0 1rem; border-left: 2px solid var(--line); display: grid; gap: 1rem; }
.st-tl li { position: relative; }
.st-tl li::before { content: ""; position: absolute; left: calc(-1rem - 6px); top: .35rem; width: 10px; height: 10px; border-radius: 50%; background: var(--glut); }
.st-tl time { display: block; font-size: .78rem; color: var(--steel); }
.st-tl p { color: var(--steel); font-size: .92rem; margin-top: .2rem; }

/* ---------- Konto ---------- */
.st-form { max-width: 46rem; }
.st-danger { max-width: 46rem; border-color: #F0C9B9; }
.st-danger h3 { margin-top: 0; }

/* ---------- Toast ---------- */
.st-toast { position: fixed; left: 50%; bottom: 1.5rem; transform: translate(-50%, 1rem); background: var(--ink); color: var(--white); padding: .75rem 1.2rem; border-radius: 999px; font-size: .92rem; font-weight: 500; opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s; z-index: 140; box-shadow: 0 20px 40px -20px rgba(0,0,0,.6); max-width: calc(100vw - 2rem); text-align: center; }
.st-toast.on { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Responsiv ---------- */
@media (max-width: 1100px) {
  .st-tools, .st-res, .st-prompts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .st-quick { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .st-ben-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .st-hero-in, .st-cust { grid-template-columns: minmax(0, 1fr); }
  .st-app { grid-template-columns: minmax(0, 1fr); }
  .st-side { position: sticky; top: 4rem; z-index: 30; height: auto; padding: .5rem var(--gutter); flex-direction: row; align-items: center; gap: .5rem; overflow-x: auto; overflow-y: hidden; scrollbar-width: none; }
  .st-side::-webkit-scrollbar { display: none; }
  .st-me, .st-side-foot .st-badge { display: none; }
  .st-nav { display: flex; gap: .2rem; }
  .st-nav a { padding: .5rem .75rem; white-space: nowrap; font-size: .88rem; }
  .st-side-foot { margin: 0 0 0 .3rem; padding: 0; border: 0; }
  .st-side-foot .st-link { white-space: nowrap; }
  .st-grid2 { grid-template-columns: minmax(0, 1fr); }
  .st-wb { grid-template-columns: minmax(0, 1fr); height: auto; min-height: 0; }
  .st-wb.has-chat .st-wb-list { display: none; }
  .st-wb:not(.has-chat) .st-wb-chat { display: none; }
  .st-wb-chat { height: calc(100vh - 4rem - 3.4rem - 2.5rem); height: calc(100dvh - 4rem - 3.4rem - 2.5rem); min-height: 26rem; }
  .st-back { display: inline-flex; }
  .st-main { padding: 1.25rem var(--gutter) 2rem; }
}
@media (max-width: 640px) {
  .st-tools, .st-res, .st-prompts, .st-ben-grid, .st-kpis { grid-template-columns: minmax(0, 1fr); }
  .st-row { flex-direction: column; gap: 0; }
  .st-quick { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: .6rem; }
  .st-q { padding: 1rem; }
  .st-q small { display: none; }
  .st-stages span { display: none; }
  .st-kpi { margin-top: 1rem; }
  .st-msg .fk-orb.sm { display: none; }
  .st-modal { padding: 0; place-items: end stretch; }
  .st-modal-box { border-radius: 22px 22px 0 0; max-height: 92vh; }
  .st-modal-box footer { flex-direction: column-reverse; align-items: stretch; }
}
@media print {
  .studio-page .site-header, .studio-page .site-footer, .st-side, .st-composer, .st-msg-act, .st-modal-box footer, .st-wb-list { display: none !important; }
  body.st-print .st-app { display: none !important; }
  .st-modal { position: static; background: none; backdrop-filter: none; padding: 0; }
  .st-modal-box { box-shadow: none; max-height: none; width: 100%; }
  .st-app { display: block; }
}
