/* KI.ordo Website. Aufbau: dunkler Kopf und Hero mit Punktraster, helle Inhaltsabschnitte, gezeichnete Beispielansichten.
   Keine externen Schriften: Avenir Next (Mac) für Überschriften, Systemschrift für Text. */
:root {
  --bg: #F6F7FB; --surface: #FFFFFF; --surface-2: #EEF0F6; --ink: #0E1222; --ink-2: #5A6072; --line: #E2E5EE;
  --night: #0B0F1E; --night-2: #121831; --night-3: #1A2140; --night-ink: #EEF1FA; --night-ink-2: #9AA3BC; --night-line: #263052;
  --acc: #00AEEF; --acc-d: #00AEEF; --acc-text: #0079A6; --acc-strong: #006A91; --on-acc: #0B0F1E; --ok: #1F9D61;
  --logo-word: #231F20; --logo-ki: #00AEEF; /* Logo: Schrift Black #231F20 (CMYK 0/0/0/100), Punkt Cyan #00AEEF (CMYK 100/0/0/0) */
  --tint: color-mix(in srgb, var(--acc) 10%, var(--surface));
  --shadow: 0 1px 2px rgba(14,18,34,.05), 0 12px 32px rgba(14,18,34,.08);
  --r-lg: 22px; --r-md: 14px; --r-sm: 10px;
  --display: "Avenir Next", "Avenir", "Segoe UI", -apple-system, BlinkMacSystemFont, Helvetica, Arial, sans-serif;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  color-scheme: light;
}
.dark { --surface: var(--night-2); --surface-2: var(--night-3); --ink: var(--night-ink); --ink-2: var(--night-ink-2); --line: var(--night-line);
  --acc: var(--acc-d); --acc-text: var(--acc-d); --acc-strong: #4CC6F3; --on-acc: #05081A; --logo-word: #F5F5F7; --logo-ki: #00AEEF; --tint: color-mix(in srgb, var(--acc-d) 16%, var(--night-2)); background: var(--night); color: var(--ink); }

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.6 var(--font); -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { list-style: none; padding: 0; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; letter-spacing: -.02em; text-wrap: balance; overflow-wrap: break-word; hyphens: auto; }
main { overflow-wrap: break-word; }
p { text-wrap: pretty; }
a { color: var(--acc-text); text-decoration: none; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 2px solid var(--acc-text); outline-offset: 3px; border-radius: 6px; }
.in { max-width: 1200px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.skip { position: absolute; left: 16px; top: -80px; z-index: 99; background: var(--surface); padding: 8px 14px; border-radius: 8px; }
.skip:focus { top: 8px; }
.p { font-style: normal; color: var(--acc-text); }
.note { font-size: 13px; color: var(--ink-2); }
.center { text-align: center; margin-top: 18px; }
code { font: 13px var(--mono); background: var(--surface-2); padding: 2px 6px; border-radius: 5px; }

/* Logo */
.logo { display: inline-flex; align-items: baseline; font: 700 28px/1 var(--font); letter-spacing: -.045em; color: var(--logo-word); }
.logo b { font-weight: inherit; color: var(--logo-ki); }
.logo sup { align-self: flex-start; margin: .05em 0 0 .08em; font-size: .36em; font-weight: 600; letter-spacing: 0; line-height: 1; }
.logo i { display: inline-block; width: .2em; height: .2em; margin: 0 .05em 0 .06em; border-radius: 8%; background: #00AEEF; }
.logo:hover { text-decoration: none; }
.logo img { display: block; height: 25px; width: auto; }
.foot a.logo, .foot a.logo:hover { color: var(--logo-word); }

/* Knöpfe */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 22px; border-radius: 980px; font-weight: 600; font-size: 15px; border: 1px solid var(--acc); background: var(--acc); color: var(--on-acc); white-space: nowrap; cursor: pointer; }
.btn:hover { filter: brightness(1.08); text-decoration: none; }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { background: var(--surface-2); filter: none; }
.btn--sm { min-height: 36px; padding: 0 14px; font-size: 13px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.more { font-weight: 600; }
.more::after { content: " →"; }
.badge { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; padding: 6px 12px 6px 8px; border-radius: 980px; background: var(--tint); border: 1px solid color-mix(in srgb, var(--acc) 30%, transparent); }
.badge b { background: var(--acc); color: var(--on-acc); font-size: 11px; padding: 2px 8px; border-radius: 980px; }
.kicker { font: 600 12px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--acc-text); }

/* Kopf */
.head { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 30; border-bottom: 1px solid var(--night-line); background: color-mix(in srgb, var(--night) 90%, transparent); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
.head > .in { display: flex; align-items: center; gap: 16px; height: 68px; }
.menu { display: flex; gap: 2px; margin-left: 10px; }
.menu > li { position: relative; }
.menu > li > a, .menu > li > button { display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: 8px; border: 0; background: transparent; color: var(--ink); font: 500 15px var(--font); cursor: pointer; }
.menu > li > a:hover, .menu > li > button:hover, .menu button[aria-expanded="true"] { background: var(--surface-2); text-decoration: none; }
.chev { width: 10px; height: 10px; fill: none; stroke: currentColor; stroke-width: 2; transition: transform .2s; }
.menu button[aria-expanded="true"] .chev { transform: rotate(180deg); }
.drop { position: absolute; top: calc(100% + 10px); left: -10px; width: 560px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: 0 20px 50px rgba(0,0,0,.45); padding: 10px; display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.drop a { display: grid; grid-template-columns: 34px 1fr; gap: 12px; padding: 10px; border-radius: var(--r-sm); color: var(--ink); }
.drop a:hover { background: var(--surface-2); text-decoration: none; }
.drop .ic { width: 34px; height: 34px; padding: 7px; border-radius: 9px; background: var(--tint); }
.drop b { display: block; font-size: 14px; }
.drop small { display: block; font-size: 13px; color: var(--ink-2); line-height: 1.4; margin-top: 2px; }
.ic { fill: none; stroke: var(--acc-text); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.tools { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.lnk { color: var(--ink); font-weight: 500; font-size: 15px; }
.lang { position: relative; }
.lang summary { list-style: none; cursor: pointer; font: 600 13px var(--mono); padding: 7px 10px; border: 1px solid var(--line); border-radius: 8px; color: var(--ink); }
.lang summary::-webkit-details-marker { display: none; }
.lang ul { position: absolute; right: 0; top: calc(100% + 8px); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-sm); box-shadow: 0 20px 50px rgba(0,0,0,.45); padding: 6px; min-width: 150px; z-index: 5; }
.lang a { display: block; padding: 7px 10px; border-radius: 6px; color: var(--ink); font-size: 14px; }
.lang a:hover, .lang a[aria-current] { background: var(--surface-2); text-decoration: none; }
.burger { display: none; width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--line); background: transparent; cursor: pointer; place-items: center; }
.burger svg { width: 18px; height: 18px; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; }
.head > .mnav { display: block; height: auto; padding-block: 8px 20px; border-top: 1px solid var(--line); max-height: calc(100vh - 80px); overflow-y: auto; }
.mnav .mh { font: 600 11px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); margin: 16px 0 4px; }
.mnav a { display: block; padding: 9px 0; color: var(--ink); border-bottom: 1px solid var(--line); }
@media (max-width: 1100px) { .menu { display: none; } .burger { display: grid; } .hide-s { display: none; } }
@media (max-width: 440px) { .tools .btn--sm { display: none; } }
.crumbs { font-size: 13px; color: var(--ink-2); padding-block: 14px 0; }
.crumbs a, .prose a, .faq a, p a { text-decoration: underline; text-underline-offset: 2px; text-decoration-thickness: 1px; }

/* Hero */
.hero { position: relative; overflow: hidden; padding-block: clamp(56px, 32px + 6vw, 112px); }
.hero::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(circle, color-mix(in srgb, var(--acc-d) 55%, transparent) 1.4px, transparent 1.6px); background-size: 28px 28px;
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 75% 40%, #000, transparent 75%); mask-image: radial-gradient(ellipse 70% 70% at 75% 40%, #000, transparent 75%); opacity: .5; pointer-events: none; }
.hero .in { position: relative; display: grid; gap: 48px; align-items: center; }
@media (min-width: 1000px) { .hero .in.two { grid-template-columns: 1fr 1.05fr; } }
.hero__text { display: grid; gap: 22px; justify-items: start; min-width: 0; max-width: 760px; }
.h1 { font-size: clamp(40px, 24px + 4.4vw, 76px); line-height: 1; letter-spacing: -.035em; }
.h2 { font-size: clamp(30px, 21px + 2.4vw, 50px); line-height: 1.05; letter-spacing: -.03em; }
.lead { font-size: clamp(17px, 15px + .6vw, 20px); color: var(--ink-2); max-width: 40em; }
.facts { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 14px; color: var(--ink-2); }
.facts li { display: inline-flex; gap: 8px; align-items: center; }
.facts .ic, .ticks .ic { width: 18px; height: 18px; stroke: var(--ok); stroke-width: 2.2; flex: none; }

/* Abschnitte */
.sec { padding-block: clamp(56px, 36px + 5vw, 104px); }
.sec--alt { background: var(--surface); border-block: 1px solid var(--line); }
.sh { display: grid; gap: 12px; max-width: 760px; margin-bottom: 40px; }
.feat { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }
.feat li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; display: grid; gap: 10px; align-content: start; }
.sec--alt .feat li { background: var(--bg); }
.feat .ic { width: 40px; height: 40px; padding: 8px; border-radius: 12px; background: var(--tint); }
.feat .ht { font-size: 19px; }
.feat p { color: var(--ink-2); font-size: 15px; }
.split { display: grid; gap: 40px; align-items: center; }
@media (min-width: 960px) { .split { grid-template-columns: 1fr 1.05fr; } .split.flip .txt { order: 2; } }
.split .txt { display: grid; gap: 16px; min-width: 0; }
.split .sh { margin-bottom: 0; }
.ticks { display: grid; gap: 10px; }
.ticks li { display: grid; grid-template-columns: 20px 1fr; gap: 10px; }
.steps { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); counter-reset: s; }
.steps li { display: grid; grid-template-columns: 38px 1fr; gap: 14px; padding: 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); }
.steps .n { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; font: 700 14px var(--mono); background: var(--acc); color: var(--on-acc); }
.steps .ht { font-size: 18px; }
.steps p { color: var(--ink-2); font-size: 15px; margin-top: 2px; }
.cards { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }
.cards a { display: grid; gap: 10px; height: 100%; padding: 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); color: var(--ink); transition: border-color .2s, transform .2s; }
.cards a:hover { text-decoration: none; border-color: color-mix(in srgb, var(--acc) 45%, var(--line)); transform: translateY(-2px); }
.cards .ic { width: 40px; height: 40px; padding: 8px; border-radius: 12px; background: var(--tint); }
.cards .ht { font-size: 19px; }
.cards p { color: var(--ink-2); font-size: 15px; }
.cards .more { margin-top: auto; color: var(--acc-text); font-size: 14px; }
.faqgrid { display: grid; gap: 32px; }
@media (min-width: 900px) { .faqgrid { grid-template-columns: 1fr 1.6fr; gap: 56px; } .faqgrid .sh { position: sticky; top: 100px; align-self: start; } }
.faq details { border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface); }
.sec--alt .faq details { background: var(--bg); }
.faq details + details { margin-top: 10px; }
.faq summary { display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 18px 20px; font: 600 17px var(--display); cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.plus { flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--surface-2); position: relative; transition: transform .25s; }
.plus::before, .plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 2px; background: var(--ink); transform: translate(-50%, -50%); }
.plus::after { transform: translate(-50%, -50%) rotate(90deg); }
details[open] .plus { transform: rotate(45deg); }
.faq details p { padding: 0 20px 20px; color: var(--ink-2); }
.gloss { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); }
.gloss > div { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 18px 20px; }
.gloss dt { font: 700 17px var(--display); }
.gloss dd { color: var(--ink-2); margin-top: 6px; font-size: 15px; }
.prose { max-width: 720px; min-width: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; font-size: 17px; }
.prose h2 { font-size: 26px; margin-top: 12px; }
.prose h3 { font-size: 20px; }
.prose:not(:has(h3)) h2 { font-size: 21px; }
.prose ul { list-style: disc; padding-left: 22px; display: grid; gap: 6px; }
.prose ol { list-style: decimal; padding-left: 22px; display: grid; gap: 6px; }
.prose table { border-collapse: collapse; font-size: 15px; display: block; overflow-x: auto; max-width: 100%; }
.prose th, .prose td { border: 1px solid var(--line); padding: 8px 10px; text-align: center; }
.prose th:first-child, .prose td:first-child { text-align: left; }
.prose .ph { background: var(--surface-2); padding: 1px 6px; border-radius: 5px; }
.plans { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); }
.plan { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px; display: flex; flex-direction: column; gap: 14px; }
.plan.hi { border: 2px solid var(--acc); box-shadow: var(--shadow); }
.plan .ht { font-size: 22px; }
.plan .for { color: var(--ink-2); font-size: 14px; }
.plan .price { font: 700 28px var(--display); }
.plan .price small { display: block; font: 400 13px var(--font); color: var(--ink-2); }
.plan ul { display: grid; gap: 8px; font-size: 14px; }
.plan li { display: grid; grid-template-columns: 18px 1fr; gap: 8px; }
.plan li .ic { width: 16px; height: 16px; stroke: var(--ok); stroke-width: 2.4; margin-top: 3px; }
.plan .btn { margin-top: auto; }
.contact { display: grid; gap: 40px; }
@media (min-width: 900px) { .contact { grid-template-columns: 1fr 1fr; } }
.form { display: grid; gap: 14px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; }
.form label { display: grid; gap: 6px; font-weight: 600; font-size: 14px; }
.form input, .form textarea { width: 100%; min-width: 0; padding: 11px 13px; border-radius: var(--r-sm); border: 1px solid var(--line); background: var(--bg); color: var(--ink); font: inherit; }
.form .hp { position: absolute; left: -9999px; }
.form .msg { min-height: 1.4em; font-weight: 600; }
.final { position: relative; overflow: hidden; border-radius: var(--r-lg); padding: clamp(40px, 24px + 5vw, 88px) clamp(20px, 10px + 4vw, 72px); display: grid; gap: 20px; justify-items: center; text-align: center; }
.final::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(circle, color-mix(in srgb, var(--acc-d) 50%, transparent) 1.4px, transparent 1.6px); background-size: 26px 26px; -webkit-mask-image: radial-gradient(ellipse 60% 70% at 50% 50%, #000, transparent 75%); mask-image: radial-gradient(ellipse 60% 70% at 50% 50%, #000, transparent 75%); opacity: .45; }
.final > * { position: relative; }

/* Beispielansichten */
.win { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow); overflow: hidden; min-width: 0; }
.win__bar { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-bottom: 1px solid var(--line); font-size: 13px; font-weight: 600; }
.win__bar .dots { display: flex; gap: 6px; }
.win__bar .dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.win__bar .tag { margin-left: auto; font: 500 11px var(--mono); color: var(--ink-2); border: 1px solid var(--line); padding: 4px 8px; border-radius: 980px; }
.win__body { padding: 16px; display: grid; gap: 12px; }
.mchat { display: grid; gap: 10px; }
.mchat p { max-width: 88%; padding: 10px 13px; border-radius: 14px; font-size: 14px; line-height: 1.5; }
.mchat .u { justify-self: end; background: var(--acc); color: var(--on-acc); border-bottom-right-radius: 4px; }
.mchat .a { justify-self: start; background: var(--surface-2); border-bottom-left-radius: 4px; }
.mchat .cite { display: block; margin-top: 6px; font-size: 11px; color: var(--ink-2); }
.mchat .typing::after { content: "▍"; animation: blink 1s infinite; }
@keyframes blink { 50% { opacity: 0; } }
.mflow { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.mflow .nd { display: inline-flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface-2); font-size: 13px; font-weight: 600; }
.mflow .nd.on { border-color: var(--acc-text); box-shadow: 0 0 0 3px color-mix(in srgb, var(--acc) 20%, transparent); }
.mflow .nd i { font: 700 10px var(--mono); font-style: normal; color: var(--acc-strong); background: var(--tint); padding: 4px 6px; border-radius: 6px; }
.mflow .ar { width: 18px; height: 2px; background: var(--ink-2); position: relative; }
.mflow .ar::after { content: ""; position: absolute; right: 0; top: -3px; border: 4px solid transparent; border-left-color: var(--ink-2); border-right: 0; }
.mboard { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.mboard .ln { background: var(--surface-2); border-radius: 10px; padding: 8px; display: grid; gap: 6px; align-content: start; min-width: 0; }
.mboard b { font: 600 10px var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--ink-2); }
.mboard .cd { background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 8px; font-size: 12px; font-weight: 600; display: grid; gap: 4px; }
.mboard em { font: 500 10px var(--mono); font-style: normal; color: var(--acc-text); }
.mtools svg { width: 100%; height: auto; }
.mtools path { fill: none; stroke: var(--ink-2); stroke-width: 1.5; }
.mtools rect { fill: var(--surface-2); stroke: var(--line); stroke-width: 1.5; }
.mtools rect.acc { stroke: var(--acc-text); stroke-width: 2; }
.mtools table { width: 100%; border-collapse: collapse; margin-top: 10px; font-size: 13px; }
.mtools td { padding: 6px; text-align: center; border-top: 1px solid var(--line); font: 700 12px var(--mono); }
.mtools td:first-child { text-align: left; font: 500 13px var(--font); }
.mtools td.a { color: var(--on-acc); background: var(--acc); border-radius: 6px; }
.mtools td.r { color: var(--acc-text); }
.mknow { display: grid; gap: 6px; }
.mknow li { display: flex; gap: 10px; align-items: center; padding: 8px 10px; border-radius: 10px; background: var(--surface-2); font-size: 13px; }
.mknow .fi { width: 18px; height: 18px; fill: none; stroke: var(--acc-text); stroke-width: 1.8; }
.hit { border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; font-size: 13px; display: grid; gap: 4px; }
.hit em, .mfinds em { font: 600 10px var(--mono); font-style: normal; text-transform: uppercase; letter-spacing: .06em; color: var(--acc-text); }
.code { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; font: 12px/1.55 var(--mono); background: var(--surface-2); padding: 12px; border-radius: 10px; }
.code.res { color: var(--ink-2); }
.mroles { width: 100%; border-collapse: collapse; font-size: 13px; }
.mroles td { padding: 8px 6px; border-bottom: 1px solid var(--line); }
.mroles td:last-child { color: var(--acc-text); letter-spacing: 2px; text-align: right; white-space: nowrap; }
.mfinds { display: grid; gap: 8px; }
.mfinds li { border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; font-size: 13px; display: grid; gap: 4px; }
.decide { padding: 10px 12px; border-radius: 10px; background: var(--tint); font-size: 13px; font-weight: 600; }

/* Fuß */
.foot { border-top: 1px solid var(--line); background: var(--surface); padding-block: 48px 36px; font-size: 14px; color: var(--ink-2); }
.foot__grid { display: grid; gap: 28px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 160px), 1fr)); }
.brandcol { display: grid; gap: 12px; align-content: start; grid-column: span 2; }
@media (max-width: 560px) { .brandcol { grid-column: auto; } }
.foot .fh { font: 600 13px var(--font); color: var(--ink); margin-bottom: 10px; letter-spacing: 0; }
.foot li + li { margin-top: 8px; }
.foot a { color: var(--ink-2); }
.foot__legal { margin-top: 36px; padding-top: 18px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; font-size: 13px; }
.foot__legal nav { display: flex; gap: 16px; flex-wrap: wrap; }
.foot .langs { width: 100%; }
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } html { scroll-behavior: auto; } }
.hero .in > *, .two > * { min-width: 0; }
.split > *, .split .vis { min-width: 0; max-width: 100%; }

/* Kennzeichnung für Funktionen in Vorbereitung */
.tag { display: inline-block; justify-self: start; width: fit-content; font-size: 12px; font-weight: 600; line-height: 1.4; padding: 2px 9px; border-radius: 980px; background: var(--tint); color: var(--ink); border: 1px solid color-mix(in srgb, var(--acc) 35%, transparent); }
.tag.soon { background: transparent; border-style: dashed; }
.drop .tag { margin-left: 6px; font-size: 11px; padding: 0 7px; vertical-align: 1px; }

/* ---------- Weitere Beispielansichten ---------- */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.mchat .rate { display: block; margin-top: 6px; font-size: 11px; color: var(--ink-2); }
.mchat .hand { justify-self: start; font-size: 13px; font-weight: 600; padding: 8px 14px; border-radius: 980px; border: 1px solid var(--acc-text); color: var(--acc-text); background: var(--tint); }
.pill { flex: none; font: 600 11px var(--font); padding: 3px 9px; border-radius: 980px; border: 1px solid var(--line); color: var(--ink-2); white-space: nowrap; }
.pill.p-ok, .pill.p-done { color: var(--ok); border-color: color-mix(in srgb, var(--ok) 45%, transparent); background: color-mix(in srgb, var(--ok) 10%, transparent); }
.pill.p-run { color: var(--acc-text); border-color: var(--acc-text); background: var(--tint); }
.pill.p-plan { border-style: dashed; }
.mseo { display: grid; grid-template-columns: 96px 1fr; gap: 16px; align-items: center; }
.mseo .score { position: relative; display: grid; place-items: center; width: 96px; height: 96px; }
.mseo .score svg { position: absolute; inset: 0; transform: rotate(-90deg); }
.mseo .score circle { fill: none; stroke: var(--surface-2); stroke-width: 4.5; }
.mseo .score circle.val { stroke: var(--acc); stroke-linecap: round; stroke-dasharray: var(--v) 100; }
.mseo .score span { font: 700 26px/1 var(--display); text-align: center; }
.mseo .score small { display: block; font: 500 10px var(--mono); color: var(--ink-2); }
.mseo .score em { position: absolute; bottom: -18px; font: 600 10px var(--mono); font-style: normal; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-2); }
.mseo ul { display: grid; gap: 6px; min-width: 0; }
.mseo li { display: grid; grid-template-columns: 20px auto 1fr; gap: 8px; align-items: center; font-size: 13px; padding: 6px 8px; border-radius: 8px; background: var(--surface-2); }
.mseo li > span:last-child { color: var(--ink-2); text-align: right; }
.mseo .sy { width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; font: 700 11px var(--font); color: #fff; background: var(--ok); }
.mseo .s-warn .sy { background: #B7791F; } .mseo .s-bad .sy { background: #C53030; }
.tip { font-size: 13px; padding: 10px 12px; border-radius: 10px; background: var(--tint); }
@media (max-width: 420px) { .mseo { grid-template-columns: 1fr; justify-items: center; } .mseo ul { width: 100%; } }
.mlead { display: grid; gap: 10px; }
.mlead .msg { font-size: 13px; font-style: italic; padding: 10px 12px; border-radius: 10px; background: var(--surface-2); }
.mlead dl { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin: 0; }
.mlead dl div { border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px; }
.mlead dt { font: 600 10px var(--mono); text-transform: uppercase; letter-spacing: .06em; color: var(--acc-text); }
.mlead dd { margin: 2px 0 0; font-size: 13px; font-weight: 600; }
.mlead .done { justify-self: start; font-size: 13px; font-weight: 600; color: var(--ok); padding: 6px 12px; border-radius: 980px; background: color-mix(in srgb, var(--ok) 10%, transparent); }
.msoc, .mauto { display: grid; gap: 8px; }
.msoc li, .mauto li { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface-2); font-size: 13px; }
.msoc .day { flex: none; width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; font: 700 12px var(--mono); background: var(--surface); border: 1px solid var(--line); }
.msoc .txt, .mauto li > span:not(.pill) { flex: 1; min-width: 0; font-weight: 600; }
.msoc small { display: block; font: 500 10px var(--mono); color: var(--acc-text); text-transform: uppercase; letter-spacing: .06em; }
.mauto time { flex: none; font: 600 12px var(--mono); color: var(--ink-2); }
.mauto .a-run { border-color: var(--acc-text); }
.mphoto { position: relative; aspect-ratio: 16 / 10; border-radius: 12px; overflow: hidden; background: var(--surface-2); }
.mphoto .ph, .mphoto .ph svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.mphoto .ph.after { clip-path: inset(0 0 0 var(--x)); }
.mphoto .bg { fill: #8A8676; }
.mphoto .clutter { fill: #6E6A5C; opacity: .9; }
.mphoto .before { filter: saturate(.55) brightness(.8) sepia(.25); }
.mphoto .before .cup { fill: #2B8FB0; } .mphoto .before .band, .mphoto .clean .band { fill: #F3F5F9; }
.mphoto .before .handle, .mphoto .clean .handle { fill: none; stroke-width: 12; stroke-linecap: round; }
.mphoto .before .handle { stroke: #2B8FB0; }
.mphoto .before .shadow { fill: rgba(0,0,0,.35); }
.mphoto .clean .bg { fill: #EEF3F8; }
.mphoto .clean .clutter { display: none; }
.mphoto .clean .cup { fill: #00AEEF; } .mphoto .clean .handle { stroke: #00AEEF; }
.mphoto .clean .shadow { fill: rgba(14,18,34,.14); }
.mphoto .lbl { position: absolute; top: 10px; font: 600 11px var(--mono); padding: 4px 9px; border-radius: 980px; background: rgba(11,15,30,.75); color: #fff; pointer-events: none; }
.mphoto .lb { left: 10px; } .mphoto .la { right: 10px; }
.mphoto .knob { position: absolute; top: 0; bottom: 0; left: var(--x); width: 2px; margin-left: -1px; background: #fff; box-shadow: 0 0 0 1px rgba(0,0,0,.15); pointer-events: none; }
.mphoto .knob::after { content: "⇆"; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 34px; height: 34px; border-radius: 50%; background: #fff; color: #0B0F1E; display: grid; place-items: center; font-size: 15px; box-shadow: 0 4px 14px rgba(0,0,0,.25); }
.mphoto input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.mphoto:has(input:focus-visible) { outline: 2px solid var(--acc-text); outline-offset: 3px; }
.mhub svg { width: 100%; height: auto; display: block; }
.mhub .ln { fill: none; stroke: var(--line); stroke-width: 1.6; stroke-dasharray: 4 4; }
.mhub .core { fill: var(--acc); }
.mhub .core-t { font: 700 15px var(--font); fill: var(--on-acc); letter-spacing: -.03em; }
.mhub .node rect { fill: var(--surface-2); stroke: var(--line); stroke-width: 1.2; }
.mhub .node text { font: 600 11px var(--font); fill: var(--ink); }
.mhub .pulse { fill: var(--acc); opacity: 0; }
.muse { display: grid; gap: 14px; }
.muse .bars { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; height: 130px; align-items: end; }
.muse .bars span { display: grid; grid-template-rows: 1fr auto; gap: 6px; height: 100%; text-align: center; }
.muse .bars i { align-self: end; height: var(--h); border-radius: 6px 6px 3px 3px; background: linear-gradient(var(--acc), color-mix(in srgb, var(--acc) 55%, var(--surface))); transform-origin: bottom; }
.muse .bars small { font: 500 10px var(--mono); color: var(--ink-2); }
.muse .kpis { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.muse .kpis > div { border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; display: grid; gap: 4px; }
.muse .kpis small, .mset small { font-size: 12px; color: var(--ink-2); }
.muse .kpis b { font: 700 20px var(--display); }
.meter { display: block; height: 6px; border-radius: 980px; background: var(--surface-2); overflow: hidden; }
.meter i { display: block; height: 100%; width: var(--v); border-radius: inherit; background: var(--acc); transform-origin: left; }
.mset { display: grid; gap: 12px; }
.mset .prog { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: center; font-size: 13px; }
.mset ul { display: grid; gap: 6px; }
.mset li { display: flex; gap: 10px; align-items: center; font-size: 13px; padding: 8px 10px; border-radius: 10px; background: var(--surface-2); }
.mset .ck { flex: none; width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid var(--line); display: grid; place-items: center; font: 700 11px var(--font); }
.mset .done .ck { background: var(--ok); border-color: var(--ok); color: #fff; }
.mset .now { border: 1px solid var(--acc-text); }
.mset .now .ck { border-color: var(--acc-text); border-top-color: transparent; }

/* ---------- Bewegung ----------
   Nur aktiv, wenn <html class="anim"> gesetzt ist (Skript im Kopf; nicht bei „Bewegung reduzieren“).
   Alles läuft einmal ab und ist nach wenigen Sekunden fertig. */
@keyframes up { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes pop { from { opacity: 0; transform: translateY(8px) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes grow { from { transform: scaleY(0); } to { transform: none; } }
@keyframes growx { from { transform: scaleX(0); } to { transform: none; } }
@keyframes ring { from { stroke-dasharray: 0 100; } }
@keyframes draw { from { stroke-dashoffset: 400; } to { stroke-dashoffset: 0; } }
@keyframes glow { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--acc) 45%, transparent); } 100% { box-shadow: 0 0 0 10px transparent; } }
@keyframes dots { from { opacity: 0; transform: scale(1.06); } to { opacity: .5; transform: none; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes sheen { from { background-position: 120% 0; } to { background-position: -20% 0; } }

.anim .hero::before { animation: dots 1.6s ease-out both; }
.anim .hero__text > * { animation: up .7s cubic-bezier(.2,.7,.2,1) both; }
.anim .hero__text > :nth-child(2) { animation-delay: .08s; } .anim .hero__text > :nth-child(3) { animation-delay: .16s; }
.anim .hero__text > :nth-child(4) { animation-delay: .24s; } .anim .hero__text > :nth-child(5) { animation-delay: .32s; }
.anim .hero .vis { animation: up .8s .25s cubic-bezier(.2,.7,.2,1) both; }
.anim .h1 .p { display: inline-block; animation: pop .5s .7s both; }
.anim .btn { transition: transform .2s, filter .2s, background .2s; }
.anim .btn:hover { transform: translateY(-1px); }
.anim .btn:not(.btn--ghost):not(.btn--sm) { background-image: linear-gradient(100deg, transparent 30%, rgba(255,255,255,.35) 50%, transparent 70%); background-size: 250% 100%; background-repeat: no-repeat; background-position: 120% 0; }
.anim .btn:not(.btn--ghost):not(.btn--sm):hover { animation: sheen .8s ease-out; }
.anim .feat li, .anim .steps li, .anim .gloss > div, .anim .plan { transition: transform .25s, border-color .25s, box-shadow .25s; }
.anim .feat li:hover, .anim .steps li:hover, .anim .plan:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--acc) 35%, var(--line)); }
.anim .cards a:hover .ic, .anim .feat li:hover .ic { transform: scale(1.08) rotate(-4deg); }
.anim .ic { transition: transform .25s; }
.head { transition: box-shadow .25s, background .25s; }
.head.scrolled { box-shadow: 0 10px 30px rgba(0,0,0,.35); }

/* Einblenden beim Scrollen: Elemente unterhalb des sichtbaren Bereichs */
.anim .rv { opacity: 0; transform: translateY(22px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); transition-delay: calc(var(--d, 0) * 70ms); }
.anim .rv.seen { opacity: 1; transform: none; }
.anim .steps li.rv.seen .n { animation: glow 1.2s calc(var(--d, 0) * 70ms + .3s) ease-out 1; }

/* Beispielansichten: Schritte nacheinander, sobald die Ansicht sichtbar ist */
.anim .win .st { opacity: 0; }
.anim .win.play .st { animation: pop .5s calc(var(--i) * .38s + .15s) cubic-bezier(.2,.7,.2,1) both; }
.anim .win:not(.play) .mchat .typing::after { content: none; }
.mchat .typing::after { animation-iteration-count: 4; }
.anim .win.play .mflow .nd.on { animation: pop .5s calc(var(--i) * .38s + .15s) both, glow 1s calc(var(--i) * .38s + .6s) ease-out 2; }
.anim .win .mflow .ar { transform: scaleX(0); transform-origin: left; }
.anim .win.play .mflow .ar { animation: growx .35s both; }
.anim .win.play .mflow .ar:nth-of-type(2) { animation-delay: .4s; } .anim .win.play .mflow .ar:nth-of-type(4) { animation-delay: .78s; } .anim .win.play .mflow .ar:nth-of-type(6) { animation-delay: 1.16s; }
.anim .win .mtools .draw { stroke-dasharray: 400; stroke-dashoffset: 400; }
.anim .win.play .mtools .draw { animation: draw 1.4s .2s ease-out forwards; }
.anim .win.play .mseo .score circle.val { animation: ring 1.6s .3s cubic-bezier(.2,.7,.2,1) both; }
.anim .win .muse .bars i { transform: scaleY(0); }
.anim .win.play .muse .bars i { animation: grow .8s calc(var(--i) * 90ms + .2s) cubic-bezier(.2,.7,.2,1) both; }
.anim .win .meter i { transform: scaleX(0); }
.anim .win.play .meter i { animation: growx 1.2s .9s cubic-bezier(.2,.7,.2,1) both; }
.anim .win.play .mset .meter i { animation-delay: .3s; }
.anim .win.play .mset .now .ck { animation: spin 1s 2s linear 3; }
.anim .win.play .mauto .a-run .pill { animation: glow 1s 1.6s ease-out 3; }
.anim .win .mhub .ln { stroke-dashoffset: 200; }
.anim .win.play .mhub .ln { animation: draw 1.4s calc(var(--i) * .12s) ease-out forwards; }
.anim .win.play .mhub .core { animation: pop .5s both; transform-box: fill-box; transform-origin: center; }
.anim .win.play .mlead .done { animation: pop .5s calc(var(--i) * .38s + .15s) both, glow 1s calc(var(--i) * .38s + .6s) 2; }
.anim .win.play .mchat .hand { animation: pop .5s calc(var(--i) * .38s + .15s) both, glow 1s calc(var(--i) * .38s + .6s) 2; }

/* FAQ: Antwort gleitet auf */
.anim .faq details[open] p { animation: up .35s ease-out; }
.anim .mnav:not([hidden]) { animation: fade .2s ease-out; }
.anim .drop:not([hidden]) { animation: pop .18s ease-out; }
@media print { .anim .rv, .anim .win .st { opacity: 1 !important; transform: none !important; animation: none !important; } }

/* Tarifvergleich */
.cmpwrap { position: relative; overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--bg); }
.cmpwrap:focus-visible { outline: 2px solid var(--acc-text); outline-offset: 3px; }
.cmp { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 15px; }
.cmp th, .cmp td { padding: 13px 16px; border-bottom: 1px solid var(--line); text-align: center; vertical-align: middle; }
.cmp th[scope="row"], .cmp thead th:first-child { text-align: left; font-weight: 500; }
.cmp thead th { font: 700 18px var(--display); padding-top: 20px; }
.cmp thead th:first-child { font: 600 12px var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--ink-2); }
.cmp .price td { font: 700 22px var(--display); }
.cmp .price th { color: var(--ink-2); font-size: 14px; }
.cmp .hi { background: var(--tint); }
.cmp tbody tr > :nth-child(3) { background: color-mix(in srgb, var(--acc) 5%, transparent); }
.cmp .grp th { text-align: left; font: 600 12px var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--acc-strong); background: var(--surface-2); padding-block: 9px; }
.cmp tbody tr:not(.grp):hover { background: var(--surface-2); }
.cmp .yes { width: 20px; height: 20px; stroke: var(--ok); stroke-width: 2.4; vertical-align: middle; }
.cmp .no { color: var(--ink-2); }
.cmp th[scope="row"], .cmp thead th:first-child { position: sticky; left: 0; background: var(--bg); z-index: 1; }
.cmp .grp th { position: static; }
.cmp tr:last-child > * { border-bottom: 0; }
@media (max-width: 700px) { .cmp { font-size: 14px; } .cmp th, .cmp td { padding: 11px 10px; } }
.anim .cmp tbody tr:not(.grp) { transition: background .2s; }
.prose table.lt th, .prose table.lt td { text-align: left; vertical-align: top; }
.prose table.lt { display: table; width: 100%; }
@media (max-width: 640px) { .prose table.lt { display: block; } }

/* Vorlagen-Übersicht: neutral wie die übrigen Karten, ohne Bereichsfarben */
.tpl, .tplbar button { --c: var(--ink-2); --cb: var(--surface); }
.sec--alt .tpl { --cb: var(--bg); }
.tplbar { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.tplbar button { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px; border-radius: 980px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); font: 600 14px var(--font); cursor: pointer; }
.tplbar button[class] { border-color: var(--line); color: var(--ink); background: var(--surface); }
.tplbar button span { font: 600 12px var(--mono); opacity: .8; }
.tplbar button[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.tplbar button[class][aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.tpls { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); align-items: start; }
.tpl { background: var(--cb); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 20px; display: grid; gap: 10px; min-width: 0; }
.tpl__top { display: flex; align-items: center; gap: 10px; }
.tpl .ic { width: 36px; height: 36px; padding: 7px; border-radius: 10px; background: var(--tint); stroke: var(--acc-text); }
.tpl__cat { font: 600 11px var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--c); }
.tpl__kind { margin-left: auto; font: 600 11px var(--font); padding: 3px 9px; border-radius: 980px; background: var(--surface-2); color: var(--ink-2); }
.tpl .ht { font-size: 19px; }
.tpl > p { color: var(--ink-2); font-size: 15px; }
.tpl details { border-top: 1px solid var(--line); margin-top: 4px; }
.tpl summary { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding-top: 12px; font-weight: 600; font-size: 14px; color: var(--acc-text); cursor: pointer; list-style: none; }
.tpl summary::-webkit-details-marker { display: none; }
.tpl summary .plus { width: 24px; height: 24px; background: var(--surface-2); }
.tpl__pv { display: grid; gap: 8px; padding-top: 12px; }
.pvh { font: 600 11px var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--ink-2); margin-top: 4px; }
.pvflow { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.pvflow li { display: flex; flex-direction: column; gap: 4px; }
.pvflow li.multi { padding: 5px; border: 1px dashed var(--line); border-radius: 12px; }
.pvflow li.pvar { color: var(--ink-2); font-size: 14px; }
.pvchip { display: inline-grid; gap: 1px; padding: 6px 10px; border-radius: 10px; background: var(--surface-2); border: 1px solid var(--line); font-size: 13px; font-weight: 600; line-height: 1.3; }
.pvchip small { font: 500 10px var(--mono); color: var(--acc-strong); text-transform: uppercase; letter-spacing: .05em; }
.pvchip em { font-style: normal; font-weight: 500; color: var(--ink-2); }

.tpl blockquote { margin: 0; padding: 10px 12px; border-radius: 10px; background: var(--surface-2); font-size: 13px; line-height: 1.5; color: var(--ink); overflow-wrap: anywhere; }
.pvbubble { justify-self: start; padding: 8px 12px; border-radius: 14px 14px 14px 4px; background: var(--surface-2); font-size: 13px; }
.pvstart { display: flex; flex-wrap: wrap; gap: 6px; }
.pvstart span { font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 980px; border: 1px solid var(--line); color: var(--ink); background: var(--surface-2); }
.anim .tpl details[open] .tpl__pv { animation: up .3s ease-out; }

/* Miniaturen von Abläufen: gezeichnet wie im Ablauf-Editor, grau mit Logo-Cyan */
.thumb { height: 210px; border-radius: 14px; background-color: var(--surface-2); background-image: radial-gradient(circle, color-mix(in srgb, var(--ink-2) 14%, transparent) .9px, transparent 1.2px); background-size: 16px 16px; display: grid; place-items: center; padding: 12px; overflow: hidden; }
.mg { width: 100%; height: 100%; display: block; }
.mg-e path { fill: none; stroke: color-mix(in srgb, var(--ink-2) 75%, transparent); stroke-width: 2.5; }
.mg .bx { fill: var(--surface); stroke: color-mix(in srgb, var(--ink-2) 35%, var(--line)); stroke-width: 2; }
.mg .hb { fill: var(--surface-2); }
.mg .hl-line { stroke: var(--line); stroke-width: 1.5; }
.mg .bd { fill: var(--tint); }
.mg .bt { font: 700 12px var(--mono); fill: var(--acc-strong); text-anchor: middle; }
.mg .tt { font: 700 15px var(--font); fill: var(--ink); }
.mg .rl, .mg .rr { font: 500 12px var(--font); fill: var(--ink-2); }
.mg .rr { text-anchor: end; }
.mg .pt { fill: var(--surface); stroke: var(--acc); stroke-width: 3; }
.mg .fd { fill: var(--bg); stroke: var(--line); stroke-width: 1.5; }
.mg .hl .bx { stroke: var(--acc); stroke-width: 5; }
.mg .hl .hb { fill: var(--tint); }
.mg.has-hl .nd:not(.hl) { opacity: .6; }
.mchatthumb .bx { fill: var(--surface); stroke: color-mix(in srgb, var(--ink-2) 35%, var(--line)); stroke-width: 2; }
.mchatthumb .hd { fill: var(--surface-2); }
.mchatthumb .u { fill: var(--acc); } .mchatthumb .a { fill: var(--surface-2); } .mchatthumb .dot { fill: var(--acc); }
.blks { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }
.blk { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; display: grid; grid-template-rows: auto 1fr; min-width: 0; }
.sec--alt .blk { background: var(--bg); }
.blk .thumb { border-radius: 0; border-bottom: 1px solid var(--line); background-color: var(--surface-2); }
.blk .bd { padding: 18px 20px 20px; display: grid; gap: 8px; align-content: start; }
.blk .ht { font-size: 18px; }
.blk p { color: var(--ink-2); font-size: 15px; }
.blk .more { font-size: 14px; margin-top: 4px; }
.tpl .thumb { margin: -6px -6px 4px; }
.anim .blk { transition: transform .25s, box-shadow .25s; }
.anim .blk:hover { transform: translateY(-3px); box-shadow: var(--shadow); }

/* ---------- Kachel-Animationen (Fenster beim Antippen) ---------- */
.feat li.has-scn { position: relative; cursor: pointer; }
.scn-btn { justify-self: start; display: inline-flex; align-items: center; gap: 6px; margin-top: 2px; padding: 0; border: 0; background: none; font: 600 14px var(--font); color: var(--acc-text); cursor: pointer; }
.scn-btn svg { width: 22px; height: 22px; padding: 6px; border-radius: 50%; background: var(--tint); fill: currentColor; }
.scn-btn::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.scn-btn:focus-visible { outline: none; }
.feat li.has-scn:has(.scn-btn:focus-visible) { outline: 3px solid var(--acc-text); outline-offset: 2px; }
.feat li.has-scn:hover .scn-btn svg { background: var(--acc); color: var(--on-acc); }

dialog.scn { width: min(680px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); padding: 0; border: 0; border-radius: 22px; background: var(--surface); color: var(--ink); box-shadow: 0 24px 80px rgba(11,15,30,.35); overflow: auto; }
dialog.scn::backdrop { background: rgba(11,15,30,.55); backdrop-filter: blur(3px); }
.anim dialog.scn[open] { animation: scn-open .28s cubic-bezier(.2,.8,.2,1); }
@keyframes scn-open { from { opacity: 0; transform: translateY(14px) scale(.98); } }
.scn__box { padding: 18px 18px 16px; display: grid; gap: 12px; }
.scn__h { display: flex; align-items: center; gap: 10px; }
.scn__ic svg { width: 36px; height: 36px; padding: 7px; border-radius: 10px; background: var(--tint); fill: none; stroke: var(--acc-text); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.scn__t { font: 700 20px/1.2 var(--font); letter-spacing: -.01em; flex: 1; }
.scn__x { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); cursor: pointer; display: grid; place-items: center; color: var(--ink); }
.scn__x svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.scn__d { color: var(--ink-2); font-size: 15px; }
.scn__f { display: flex; justify-content: flex-end; }
.scn__re { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); font: 600 14px var(--font); color: var(--ink); cursor: pointer; }
.scn__re svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.scn__x:focus-visible, .scn__re:focus-visible { outline: 3px solid var(--acc-text); outline-offset: 2px; }

.scn__stage { --g: #1F9D61; --o: #B26A00; --r: #C62828; --c: #00AEEF; --ct: #006A91; position: relative; min-height: 250px; padding: 16px; border-radius: 16px; background-color: var(--surface-2);
  background-image: radial-gradient(circle, color-mix(in srgb, var(--ink-2) 14%, transparent) .9px, transparent 1.2px); background-size: 16px 16px; font-size: 13px; line-height: 1.35; color: var(--ink); overflow: hidden; container-type: inline-size; display: grid; align-content: center; }
.scn__stage * { box-sizing: border-box; }
.scn__stage .si { width: 16px; height: 16px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.scn__stage .si.big { width: 40px; height: 40px; stroke-width: 1.4; color: var(--ct); }
/* Zeitsteuerung: --d = Start in Sekunden */
.scn__stage .k { animation: k-in .45s cubic-bezier(.2,.7,.2,1) both; animation-delay: calc(var(--d) * 1s); }
@keyframes k-in { from { opacity: 0; transform: translateY(8px); } }
.scn__stage .k.pop { animation-name: k-pop; animation-duration: .45s; }
@keyframes k-pop { from { opacity: 0; transform: scale(.5); } 60% { transform: scale(1.08); } }
.scn__stage .k.type { animation-name: k-type; animation-duration: .9s; animation-timing-function: linear; }
@keyframes k-type { from { clip-path: inset(0 100% 0 0); } }
.scn__stage .k.growx { animation-name: k-growx; animation-duration: .7s; transform-origin: left center; }
@keyframes k-growx { from { transform: scaleX(0); } }
.scn__stage .k.grow { animation-name: k-grow; animation-duration: .6s; transform-origin: bottom center; }
@keyframes k-grow { from { transform: scaleY(0); } }
.scn__stage .k.out { animation-name: k-out; animation-duration: .35s; }
@keyframes k-out { to { opacity: 0; visibility: hidden; } }
.scn__stage .k.move { animation-name: k-move; animation-duration: .8s; }
@keyframes k-move { from { opacity: 0; transform: translate(var(--fx, -40px), var(--fy, 0)); } }
.scn__stage .k.run { animation-name: k-run; animation-duration: .7s; animation-timing-function: ease-in-out; }
@keyframes k-run { 0% { left: 0; opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { left: 100%; opacity: 0; } }
.scn__stage .k.hl { animation-name: k-hl; animation-duration: .4s; }
@keyframes k-hl { from { background: var(--surface); color: var(--ink-2); border-color: var(--line); } }
.scn__stage .hand { transform-origin: 12px 12px; animation: k-spin 1.2s linear 3 both; animation-delay: .7s; }
@keyframes k-spin { to { transform: rotate(360deg); } }
.scn__stage .k.draw { animation-name: k-draw; animation-duration: .6s; }
@keyframes k-draw { from { stroke-dashoffset: 100; } }
.scn__stage .k.shake { animation-name: k-in; }
.scn__stage .k.scan { animation-name: k-scan; animation-duration: .5s; }
@keyframes k-scan { from { opacity: 0; transform: scale(.4) rotate(-40deg); } }
@media (prefers-reduced-motion: reduce) {
  .scn__stage .k, .scn__stage .hand { animation: none !important; }
  .scn__stage .out, .scn__stage .run, .scn__stage .dotw { display: none !important; }
}

/* Grundformen */
.scn__stage .col { display: grid; gap: 10px; justify-items: center; }
.scn__stage .two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-items: center; }
@container (max-width: 470px) { .scn__stage .two { grid-template-columns: 1fr; } }
.scn__stage .card { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; display: grid; gap: 7px; box-shadow: 0 1px 2px rgba(14,18,34,.05); min-width: 0; }
.scn__stage .card.wide { width: min(100%, 460px); justify-self: center; }
.scn__stage .card.center { justify-items: center; text-align: center; }
.scn__stage .card__h { display: flex; align-items: center; gap: 6px; font-weight: 700; color: var(--ct); }
.scn__stage .row { display: flex; align-items: center; gap: 8px; justify-content: space-between; padding: 6px 8px; border-radius: 8px; border: 1px solid transparent; position: relative; min-width: 0; }
.scn__stage .row > span:first-child, .scn__stage .row > b:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.scn__stage .row.hl { background: var(--tint); border-color: color-mix(in srgb, var(--c) 40%, transparent); }
.scn__stage .dim { color: var(--ink-2); font-size: 12px; }
.scn__stage .mono, .scn__stage code { font: 12px var(--mono); }
.scn__stage .chips { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; align-items: center; }
.scn__stage .chip { display: inline-flex; align-items: center; gap: 5px; padding: 5px 10px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-weight: 600; white-space: nowrap; }
.scn__stage .chip.pick { background: var(--c); border-color: var(--c); color: #05081A; }
.scn__stage .chip.ai { color: var(--ct); }
.scn__stage .chip.dupe { border-color: var(--o); background: #FFF4E0; }
.scn__stage .chip.auto { border-color: var(--g); }
.scn__stage .badge { display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px; border-radius: 999px; font-weight: 700; font-size: 12px; white-space: nowrap; }
.scn__stage .badge.ok { background: #E3F5EC; color: #11613B; }
.scn__stage .badge.bad { background: #FBE5E5; color: #9B1C1C; }
.scn__stage .badge.warn { background: #FFF1D6; color: #7A4A00; }
.scn__stage .ok { color: var(--g); display: inline-flex; }
.scn__stage .btn { display: inline-flex; align-items: center; gap: 5px; padding: 6px 14px; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 700; }
.scn__stage .ln { display: block; height: 7px; border-radius: 4px; background: color-mix(in srgb, var(--ink-2) 22%, transparent); width: 100%; }
.scn__stage .ln:nth-child(3n) { width: 78%; } .scn__stage .ln:nth-child(3n+1) { width: 92%; }
.scn__stage .ln.hlx { background: color-mix(in srgb, var(--c) 55%, transparent); }
.scn__stage .cnt { font-variant-numeric: tabular-nums; }
.scn__stage .big { font-size: 22px; }
.scn__stage .lockb { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--ink); color: #fff; }
.scn__stage .lockb .si { width: 14px; height: 14px; }

/* Chat */
.scn__stage .cw { width: min(100%, 340px); justify-self: center; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; box-shadow: 0 6px 20px rgba(14,18,34,.08); }
.scn__stage .cw__h { display: flex; align-items: center; gap: 8px; padding: 8px 12px; font-weight: 700; color: #fff; background: #C62828; }
.scn__stage .cw__dot { width: 8px; height: 8px; border-radius: 50%; background: #7BE3A6; }
.scn__stage .cw__b { padding: 10px; display: grid; gap: 7px; align-content: start; min-height: 150px; }
.scn__stage .bb { max-width: 86%; padding: 7px 10px; border-radius: 12px; background: var(--surface-2); justify-self: start; }
.scn__stage .bb.me { justify-self: end; background: var(--c); color: #05081A; border-bottom-right-radius: 4px; }
.scn__stage .bb.ai { border-bottom-left-radius: 4px; }
.scn__stage .bb.ai .ln { margin: 4px 0; width: 150px; }
.scn__stage .bb.miss { font-weight: 800; color: var(--o); }
.scn__stage .dots { display: inline-flex; gap: 4px; padding: 9px 10px; }
.scn__stage .dotw { display: grid; }
.scn__stage .k.out.collapse { animation-name: k-collapse; }
@keyframes k-collapse { 99% { opacity: 0; } to { opacity: 0; visibility: hidden; height: 0; padding: 0; margin-top: -7px; } }
.scn__stage .dots i { width: 6px; height: 6px; border-radius: 50%; background: var(--ink-2); animation: k-blink 1s infinite; }
.scn__stage .dots i:nth-child(2) { animation-delay: .15s; } .scn__stage .dots i:nth-child(3) { animation-delay: .3s; }
@keyframes k-blink { 50% { opacity: .25; } }
.scn__stage .src { justify-self: start; display: inline-flex; align-items: center; gap: 5px; padding: 3px 9px; border-radius: 999px; background: var(--tint); color: var(--ct); font-weight: 700; font-size: 12px; }
.scn__stage .rate { display: flex; gap: 6px; position: relative; }
.scn__stage .th { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line); color: var(--ink-2); }
.scn__stage .th.on { position: absolute; left: 0; top: 0; background: var(--g); border-color: var(--g); color: #fff; }

/* Anweisungen, Modell, Werkzeuge */
.scn__stage .kv { display: grid; gap: 2px; padding: 6px 8px; border-radius: 8px; background: var(--surface-2); }
.scn__stage .kv b { font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--ct); }
.scn__stage .slider { display: flex; align-items: center; gap: 10px; width: min(100%, 360px); }
.scn__stage .track { position: relative; flex: 1; height: 6px; border-radius: 3px; background: var(--line); }
.scn__stage .fillx { position: absolute; left: 0; top: 0; bottom: 0; width: 30%; border-radius: 3px; background: var(--c); }
.scn__stage .knob { position: absolute; left: 30%; top: 50%; width: 18px; height: 18px; margin: -9px 0 0 -9px; border-radius: 50%; background: #fff; border: 2px solid var(--c); --fx: -60px; }
.scn__stage .tool { display: flex; align-items: center; gap: 7px; padding: 6px 8px; border-radius: 8px; border: 1px solid var(--line); background: var(--surface); color: var(--ink-2); }
.scn__stage .tool.hl { background: var(--tint); color: var(--ink); border-color: var(--c); }
.scn__stage .tool.hl .si { color: var(--g); }

/* Ablauf */
.scn__stage .fl { display: flex; align-items: flex-start; justify-content: center; width: 100%; }
.scn__stage .node { display: grid; justify-items: center; gap: 5px; width: 92px; text-align: center; font-weight: 600; font-size: 12px; position: relative; }
.scn__stage .nic { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; border: 2px solid var(--c); background: var(--tint); color: var(--ct); }
.scn__stage .nic .si { width: 22px; height: 22px; }
.scn__stage .appr { display: inline-flex; align-items: center; gap: 4px; padding: 3px 8px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 11px; }
.scn__stage .wire { position: relative; flex: 1; min-width: 18px; max-width: 70px; height: 2px; margin-top: 23px; }
.scn__stage .wire > .growx { position: absolute; inset: 0; background: color-mix(in srgb, var(--ink-2) 45%, transparent); }
.scn__stage .pk, .scn__stage .pk2 { position: absolute; top: 50%; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 4px color-mix(in srgb, var(--c) 25%, transparent); opacity: 0; }
@container (max-width: 470px) {
  .scn__stage .fl { flex-direction: column; align-items: center; }
  .scn__stage .wire { width: 2px; height: 22px; min-width: 0; flex: none; margin: 3px 0; }
  .scn__stage .wire > .growx { transform-origin: top; }
  .scn__stage .node { width: auto; grid-template-columns: 46px auto auto; align-items: center; text-align: left; }
  .scn__stage .wire .k.run { animation-name: k-runv; }
}
@keyframes k-runv { 0% { top: 0; left: 50%; opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { top: 100%; left: 50%; opacity: 0; } }

/* Terminal, Code */
.scn__stage .term { width: min(100%, 480px); justify-self: center; background: #0B0F1E; color: #DCE3F5; border-radius: 12px; padding: 12px 14px; font: 12px/1.6 var(--mono); display: grid; gap: 2px; overflow: hidden; }
.scn__stage .term .pr { color: var(--c); }
.scn__stage .term .dim { color: #8A94B3; font-size: 12px; }
.scn__stage .term .ok { color: #57D69A; font-weight: 700; }
.scn__stage .term .json { color: #F5C26B; white-space: pre; }
.scn__stage .cl { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.scn__stage .code { max-width: 100%; padding: 8px 10px; border-radius: 8px; background: #0B0F1E; color: #F5C26B; font: 12px var(--mono); overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.scn__stage .code .type { display: inline-block; vertical-align: bottom; max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
.scn__stage .strike { position: absolute; left: 8px; right: 40%; top: 50%; height: 2px; background: var(--r); }
.scn__stage .field { display: grid; gap: 2px; padding: 6px 9px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); width: min(100%, 300px); }
.scn__stage .arrow { font-weight: 700; color: var(--ct); }

/* Webhook, Hub, Server */
.scn__stage .hook { display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: center; width: min(100%, 480px); }
.scn__stage .srcs { display: grid; gap: 10px; }
.scn__stage .row2 { display: flex; align-items: center; gap: 6px; }
.scn__stage .row2 .wire { margin-top: 0; max-width: none; }
.scn__stage .tgt { justify-items: start; }
.scn__stage .hub { position: relative; width: min(100%, 420px); height: 230px; justify-self: center; }
.scn__stage .hub__l { position: absolute; inset: 0; width: 100%; height: 100%; }
.scn__stage .hub__l line { stroke: color-mix(in srgb, var(--ct) 55%, transparent); stroke-width: 1.5; vector-effect: non-scaling-stroke; stroke-dasharray: 100; }
.scn__stage .hub__c { position: absolute; left: 50%; top: 50%; translate: -50% -50%; padding: 10px 14px; border-radius: 14px; background: #0B0F1E; color: #fff; font-weight: 800; box-shadow: 0 0 0 6px color-mix(in srgb, var(--c) 25%, transparent); }
.scn__stage .hub__a { position: absolute; translate: -50% -50%; }
.scn__stage .hub__ai { position: relative; display: inline-block; padding: 6px 11px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-weight: 700; white-space: nowrap; }
.scn__stage .ping { position: absolute; inset: -4px; border-radius: inherit; border: 2px solid var(--c); opacity: 0; }
.scn__stage .k.ping { animation-name: k-ping; animation-duration: 1.2s; }
@keyframes k-ping { 0% { opacity: .9; transform: scale(.9); } 100% { opacity: 0; transform: scale(1.35); } }
.scn__stage .srv { display: grid; grid-template-columns: 1fr minmax(70px, .8fr) .8fr; gap: 8px; align-items: center; }
@container (max-width: 470px) { .scn__stage .srv { grid-template-columns: 1fr; } .scn__stage .wire2 { height: 46px; } }
.scn__stage .house { border: 2px solid var(--c); position: relative; }
.scn__stage .house .lockb { position: absolute; right: -10px; top: -10px; }
.scn__stage .wire2 { position: relative; display: grid; place-items: center; height: 60px; text-align: center; font-size: 11px; color: var(--ink-2); }
.scn__stage .wire2::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; border-top: 2px dashed color-mix(in srgb, var(--ink-2) 40%, transparent); }
.scn__stage .wire2 em { position: relative; font-style: normal; background: var(--surface-2); padding: 0 4px; translate: 0 -14px; }
.scn__stage .wire2 .run.back { animation-direction: reverse; }
.scn__stage .cloud { justify-items: center; font-weight: 700; }

/* Dateien, Abschnitte, Suche */
.scn__stage .files { display: grid; gap: 8px; justify-items: start; }
.scn__stage .file { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 8px; background: var(--surface); border: 1px solid var(--line); font-weight: 600; }
.scn__stage .chunk { position: relative; gap: 6px; padding: 14px 16px 14px 70px; }
.scn__stage .seg { position: absolute; left: 8px; right: 8px; border-radius: 8px; border: 2px solid; }
.scn__stage .seg em { position: absolute; left: 4px; top: 4px; font: 700 10px var(--font); font-style: normal; }
.scn__stage .seg.c0 { border-color: #00AEEF; background: rgba(0,174,239,.08); color: #0079A6; }
.scn__stage .seg.c1 { border-color: #7C5CFF; background: rgba(124,92,255,.07); color: #5B3FD6; left: 12px; right: 12px; }
.scn__stage .seg.c2 { border-color: #1F9D61; background: rgba(31,157,97,.08); color: #11613B; }
.scn__stage .sbox { display: flex; align-items: center; gap: 8px; padding: 7px 10px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface-2); }
.scn__stage .score { width: 90px; height: 7px; border-radius: 4px; background: var(--surface-2); overflow: hidden; flex: none; }
.scn__stage .score > span { display: block; height: 100%; width: 85%; background: var(--c); }
.scn__stage .row:nth-of-type(3) .score > span { width: 45%; } .scn__stage .row:nth-of-type(4) .score > span { width: 20%; }
.scn__stage .score.w { flex: 1; width: auto; }
.scn__stage .score .warn { background: var(--o); }

/* Rollen, Matrix */
.scn__stage .grid { display: grid; grid-template-columns: minmax(80px, auto) repeat(calc(var(--cols) - 1), 1fr); gap: 4px; width: min(100%, 480px); background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 8px; }
.scn__stage .gh { font-size: 11px; color: var(--ink-2); text-align: center; overflow: hidden; text-overflow: ellipsis; }
.scn__stage .gr { font-size: 12px; padding: 5px 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.scn__stage .gc { display: grid; place-items: center; }
.scn__stage .raci { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 7px; font-weight: 800; font-size: 12px; }
.scn__stage .rR { background: #00AEEF; color: #05081A; } .scn__stage .rA { background: #0B0F1E; color: #fff; } .scn__stage .rC { background: #FFF1D6; color: #7A4A00; } .scn__stage .rI { background: var(--surface-2); color: var(--ink-2); }

/* Schutz, TLS */
.scn__stage .row.shake.k { animation-name: k-in; }
.scn__stage .pk2 { left: 60%; }
.scn__stage .tls { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: center; }
.scn__stage .pipe { position: relative; height: 74px; border-radius: 37px; border: 2px dashed color-mix(in srgb, var(--ct) 50%, transparent); display: grid; place-items: center; }
.scn__stage .pipe em { position: absolute; bottom: 6px; font: 700 11px var(--font); font-style: normal; color: var(--ct); }
.scn__stage .pipe .lockb { position: absolute; top: -13px; }
.scn__stage .pkt { position: absolute; top: 18px; padding: 3px 8px; border-radius: 6px; font: 12px var(--mono); }
.scn__stage .pw { position: absolute; left: 6px; top: 18px; }
.scn__stage .pw .pkt { position: static; display: inline-block; }
.scn__stage .pkt.plain { background: #FBE5E5; color: #9B1C1C; }
.scn__stage .pkt.enc { right: 6px; background: #E3F5EC; color: #11613B; }

/* Balken, Kennzahlen */
.scn__stage .kpi1 { font-size: 18px; }
.scn__stage .bars { position: relative; display: flex; align-items: flex-end; gap: 8px; height: 130px; width: min(100%, 380px); padding: 0 6px; border-bottom: 1px solid var(--line); }
.scn__stage .bar { flex: 1; border-radius: 6px 6px 2px 2px; background: var(--c); }
.scn__stage .bar.warn { background: var(--o); }
.scn__stage .limit { position: absolute; left: 0; right: 0; bottom: 85%; border-top: 2px dashed var(--r); }
.scn__stage .limit em { position: absolute; right: 0; top: -18px; font: 700 11px var(--font); font-style: normal; color: var(--r); }
.scn__stage .kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 10px; }
.scn__stage .dash { border-style: dashed; border-width: 2px; border-color: var(--c); color: var(--ct); font-weight: 700; }

/* Kanban */
.scn__stage .kan { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.scn__stage .kcol { display: grid; gap: 6px; align-content: start; padding: 8px; min-height: 150px; border-radius: 10px; background: color-mix(in srgb, var(--surface) 70%, transparent); border: 1px solid var(--line); min-width: 0; }
.scn__stage .kcol > b { font-size: 12px; color: var(--ink-2); }
.scn__stage .kc__in { display: grid; gap: 5px; padding: 8px; border-radius: 8px; background: var(--surface); border: 1px solid var(--line); box-shadow: 0 2px 6px rgba(14,18,34,.08); font-weight: 600; font-size: 12px; overflow-wrap: break-word; hyphens: auto; }
.scn__stage .kc__in .chip { justify-self: start; font-size: 11px; padding: 2px 7px; }
.scn__stage .lnw { display: grid; gap: 4px; }

/* Organigramm */
.scn__stage .otree { display: grid; justify-items: center; gap: 8px; }
.scn__stage .orow { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.scn__stage .ob { display: inline-flex; align-items: center; gap: 5px; padding: 7px 12px; border-radius: 10px; background: var(--surface); border: 2px solid color-mix(in srgb, var(--ink-2) 35%, transparent); font-weight: 700; white-space: nowrap; }
.scn__stage .otree > .ob:first-child { border-color: var(--c); }
.scn__stage .ob.new { border-color: var(--g); border-style: dashed; }
.scn__stage .ob.succ { border-color: var(--g); }
.scn__stage .oline { width: 60%; height: 2px; background: color-mix(in srgb, var(--ink-2) 40%, transparent); }
.scn__stage .merge { display: flex; gap: 14px; justify-content: center; }
.scn__stage .otree.l { --fx: -50px; } .scn__stage .otree.r { --fx: 50px; }
.scn__stage .toast { display: flex; gap: 8px; align-items: center; padding: 8px 12px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); box-shadow: 0 8px 24px rgba(14,18,34,.14); }
.scn__stage .toast > div { display: grid; }

/* Spuren (Doppelarbeit) */
.scn__stage .lane { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding: 8px 10px; border-radius: 10px; background: var(--surface); border: 1px solid var(--line); width: min(100%, 480px); }
.scn__stage .lane > b { width: 60px; font-size: 12px; color: var(--ink-2); }
.scn__stage .wrap { display: inline-flex; }

/* Website-Attrappe */
.scn__stage .site { position: relative; width: min(100%, 360px); justify-self: center; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; min-height: 170px; }
.scn__stage .site__h { display: flex; align-items: center; gap: 4px; padding: 6px 8px; background: var(--surface-2); border-bottom: 1px solid var(--line); }
.scn__stage .site__h i { width: 7px; height: 7px; border-radius: 50%; background: color-mix(in srgb, var(--ink-2) 35%, transparent); }
.scn__stage .site__h .url { margin-left: 8px; font-size: 11px; color: var(--ink-2); }
.scn__stage .site__b { padding: 12px; display: grid; gap: 7px; }
.scn__stage .site__b .ln.h { height: 12px; width: 60%; background: color-mix(in srgb, var(--ink) 50%, transparent); }
.scn__stage .site__b .ln.s { width: 45%; }
.scn__stage .site__img { height: 50px; border-radius: 8px; background: linear-gradient(135deg, #DDE7F5, #F2E7DA); }
.scn__stage .launch { position: absolute; right: 10px; bottom: 10px; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: #C62828; color: #fff; box-shadow: 0 6px 14px rgba(198,40,40,.4); }
.scn__stage .mini { position: absolute; right: 10px; bottom: 56px; width: 150px; padding: 8px; border-radius: 10px; background: var(--surface); border: 1px solid var(--line); box-shadow: 0 8px 20px rgba(14,18,34,.15); }
.scn__stage .mini.iso { outline: 2px dashed var(--g); outline-offset: 3px; }

/* Foto */
.scn__stage .pic { position: relative; width: 190px; height: 150px; justify-self: center; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); }
.scn__stage .photo { width: 100%; height: 100%; display: block; stroke: none; }
.scn__stage .photo .bg { fill: #C9B79C; } .scn__stage .photo .bl1 { fill: #8FA67A; } .scn__stage .photo .bl2 { fill: #6E7F9E; }
.scn__stage .photo .mug { fill: #FFFFFF; stroke: #B9C2D3; stroke-width: .4; } .scn__stage .photo .rim { stroke: #2F6FD6; stroke-width: .9; fill: none; }
.scn__stage .photo.clean .bg { fill: #F1F3F7; } .scn__stage .photo.clean .bl1, .scn__stage .photo.clean .bl2 { display: none; }
.scn__stage .photo.cut .bg { fill: url(#none); fill: transparent; } .scn__stage .photo.cut .bl1, .scn__stage .photo.cut .bl2 { display: none; }
.scn__stage .after { position: absolute; inset: 0; background: repeating-conic-gradient(#E6E9F0 0 25%, #FFFFFF 0 50%) 0 0 / 14px 14px; }
.scn__stage .pic.light .after { background: #F1F3F7; filter: brightness(1.05); }
.scn__stage .k.after { animation-name: k-wipe; animation-duration: 1s; }
@keyframes k-wipe { from { clip-path: inset(0 100% 0 0); } }
.scn__stage .wipe { position: absolute; top: 0; bottom: 0; width: 3px; background: var(--c); left: 100%; opacity: 0; }
.scn__stage .k.wipe { animation-name: k-wipeline; animation-duration: 1s; }
@keyframes k-wipeline { 0% { left: 0; opacity: 1; } 99% { opacity: 1; } 100% { left: 100%; opacity: 0; } }
.scn__stage .fmts { display: flex; gap: 10px; align-items: flex-end; justify-content: center; height: 160px; }
.scn__stage .fmt { position: relative; height: 120px; border-radius: 10px; overflow: hidden; border: 2px solid var(--c); background: #C9B79C; }
.scn__stage .fmt:nth-child(2) { height: 80px; } .scn__stage .fmt:nth-child(3) { height: 150px; }
.scn__stage .fmt .photo { width: 100%; height: 100%; }
.scn__stage .fmt .photo { object-fit: cover; }
.scn__stage .fmt em { position: absolute; left: 4px; bottom: 4px; padding: 1px 6px; border-radius: 6px; background: rgba(11,15,30,.75); color: #fff; font: 700 10px var(--font); font-style: normal; }

/* Social, Plan, Sonstiges */
.scn__stage .topic { width: min(100%, 320px); }
.scn__stage .posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; width: min(100%, 420px); }
.scn__stage .post { display: grid; gap: 5px; padding: 8px; border-radius: 10px; background: var(--surface); border: 1px solid var(--line); }
.scn__stage .post b { font-size: 11px; color: var(--ct); }
.scn__stage .week { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; width: min(100%, 480px); justify-self: center; }
.scn__stage .day { display: grid; gap: 6px; align-content: start; justify-items: center; min-height: 140px; padding: 8px 4px; border-radius: 10px; background: var(--surface); border: 1px solid var(--line); min-width: 0; }
.scn__stage .day .chip { font-size: 11px; padding: 4px 7px; max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
.scn__stage .day .badge { font-size: 10px; padding: 3px 6px; }
.scn__stage .sug { border-color: var(--c); }
.scn__stage .mailc p { font-size: 12px; color: var(--ink-2); }
.scn__stage .scan { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--tint); color: var(--ct); }
.scn__stage .scan.wide { justify-self: end; }
.scn__stage .tag { padding: 2px 8px; border-radius: 999px; font-size: 11px; font-weight: 700; }
.scn__stage .tag.c0 { background: #E1F4FC; color: #00597A; } .scn__stage .tag.c1 { background: #FBE5E5; color: #9B1C1C; } .scn__stage .tag.c2 { background: #E3F5EC; color: #11613B; }
.scn__stage .bar.growx { display: block; }
.scn__stage .card .bar { height: 8px; border-radius: 4px; background: var(--surface-2); overflow: hidden; }
.scn__stage .card .bar > span { display: block; height: 100%; background: var(--c); }
.scn__stage .k.slow { animation-duration: 1.6s; }
.scn__stage .clockw { justify-self: center; }
.scn__stage .clockw .si.big { width: 64px; height: 64px; }
.scn__stage .doc .wds { display: block; }
.scn__stage .edit { display: flex; align-items: center; gap: 6px; color: var(--ct); }

.scn__stage .code.wrapc { white-space: normal; line-height: 1.5; }
@container (max-width: 470px) {
  .scn__stage .fmts { height: 130px; gap: 8px; }
  .scn__stage .fmt { height: 90px; } .scn__stage .fmt:nth-child(2) { height: 60px; } .scn__stage .fmt:nth-child(3) { height: 120px; }
  .scn__stage .week { gap: 4px; }
  .scn__stage .day { padding: 6px 2px; }
  .scn__stage .day .chip { font-size: 10px; padding: 3px 5px; border-radius: 7px; white-space: normal; text-align: center; overflow-wrap: anywhere; }
  .scn__stage .day .badge { padding: 3px; } .scn__stage .day .badge .bt { display: none; }
  .scn__stage .pkt { font-size: 10px; }
}
