@font-face { font-family: "Geist"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("geist.woff2") format("woff2"); }
/* Layout: Website mit Startseite und Unterseiten (Navigation über #seite), warmes helles TROY-Design.
   Bewusst nur hell: die TROY-Designregeln schliessen dunkle Flächen aus. */
:root {
  --page: #F6F3EE;
  --menu: #FBF9F6;
  --card: #FFFFFF;
  --line: #ECE7E0;
  --line-2: #D9D2C8;
  --text: #26221F;
  --text-2: #6E675F;
  --label: #8A837A;
  --accent: #3D63CF;
  --accent-hover: #2F52B5;
  --accent-soft: #EEF2FC;
  --ok-bg: #E4F4EA; --ok: #1E7A4C;
  --dec-bg: #FDF1DC; --dec: #9A5B00; --dec-bar: #E4A23C;
  --ask-bg: #EFECFD; --ask: #5B4BC4;
  --white: #FFFFFF;
  --font: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(38,34,31,.04), 0 8px 24px rgba(38,34,31,.06);
  color-scheme: light;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body {
  margin: 0;
  background: var(--page); color: var(--text);
  font-family: var(--font); font-size: 16px; line-height: 1.55;
  font-variant-numeric: tabular-nums; -webkit-font-smoothing: antialiased;
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { text-wrap: balance; margin: 0; letter-spacing: -0.02em; }
p { margin: 0; text-wrap: pretty; }

.wrap {
  --gut: clamp(16px, 4vw, 32px);
  max-width: calc(1128px + 2 * var(--gut)); margin: 0 auto;
  padding-left: max(var(--gut), env(safe-area-inset-left, 0px));
  padding-right: max(var(--gut), env(safe-area-inset-right, 0px));
}
.label { font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--label); }
.btn {
  display: inline-flex; align-items: center; gap: 8px; justify-content: center;
  font: inherit; font-weight: 500; font-size: 15px; border-radius: 10px; padding: 11px 18px;
  border: 1px solid transparent; cursor: pointer; transition: background .15s, border-color .15s;
}
.btn-primary { background: var(--accent); color: var(--white); }
.btn-primary:hover { background: var(--accent-hover); color: var(--white); }
.btn-ghost { background: var(--card); color: var(--text); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--line-2); color: var(--text); }
.more { font-weight: 500; font-size: 15px; display: inline-flex; gap: 6px; align-items: center; }
.more::after { content: "→"; transition: transform .15s; }
.more:hover::after { transform: translateX(3px); }

.orb {
  width: 22px; height: 22px; border-radius: 50%; flex: none;
  background: radial-gradient(circle at 32% 28%, #FFFFFF 0%, #FFFFFF 12%, #B9C9F5 52%, #F3C9A8 100%);
  box-shadow: inset 0 0 0 1px rgba(38,34,31,.06), 0 2px 6px rgba(61,99,207,.18);
}

/* Navigation */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 10; background: var(--menu); }
.nav { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 5; background: rgba(251,249,246,.92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav .wrap { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 600; letter-spacing: .14em; color: var(--text); font-size: 15px; }
.brand:hover { color: var(--text); }
.nav-links { display: flex; gap: 4px; margin-left: auto; font-size: 14px; }
.nav-links a { color: var(--text-2); padding: 7px 11px; border-radius: 8px; }
.nav-links a:hover { color: var(--text); background: var(--page); }
.nav-links a[aria-current="page"] { color: var(--text); background: var(--page); font-weight: 500; }
.nav .btn { padding: 8px 14px; font-size: 14px; }
.menu-btn { display: none; margin-left: auto; font: inherit; font-size: 14px; background: var(--card); border: 1px solid var(--line); border-radius: 8px; padding: 7px 12px; color: var(--text); cursor: pointer; }
@media (max-width: 1180px) {
  .menu-btn { display: inline-flex; }
  .nav .btn-primary { display: none; }
  .nav-links { display: none; position: absolute; left: 0; right: 0; top: 64px; flex-direction: column; background: var(--menu); border-bottom: 1px solid var(--line);
    padding: 8px max(16px, env(safe-area-inset-right, 0px)) 16px max(16px, env(safe-area-inset-left, 0px)); }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 11px 12px; font-size: 15px; }
}

/* Seitenkopf der Unterseiten */
.page-head { padding-block: 64px 40px; }
.page-head h1 { font-size: clamp(34px, 4.4vw, 50px); line-height: 1.08; font-weight: 600; margin-top: 12px; max-width: 18em; }
.page-head p { color: var(--text-2); font-size: 18px; margin-top: 16px; max-width: 36em; }
.crumb { font-size: 13px; color: var(--label); }
.crumb a { color: var(--label); }
.crumb a:hover { color: var(--text); }

section { padding-block: 64px; }
.sec-head { max-width: 680px; margin-bottom: 32px; }
.sec-head h2 { font-size: clamp(26px, 3.2vw, 36px); line-height: 1.15; font-weight: 600; margin-top: 10px; }
.sec-head p { color: var(--text-2); margin-top: 12px; font-size: 17px; }
.band { background: var(--menu); border-block: 1px solid var(--line); }
.page-first { padding-top: 0; }

/* Startseite: Hero */

.ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }

/* Nachgebauter Arbeitsbereich */

.n.dec { color: var(--dec); } .n.ask { color: var(--ask); } .n.ok { color: var(--ok); }

.bubble { background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 9px 10px; font-size: 12px; line-height: 1.45; }
.bubble .src { display: block; margin-top: 6px; font-size: 10.5px; color: var(--label); }
.bubble.me { background: var(--accent-soft); border-color: transparent; align-self: flex-end; max-width: 90%; }
.sample { font-size: 11px; color: var(--label); margin-top: 10px; text-align: right; }

/* Startseite: Systemleiste */

/* Gründe */
.ico { width: 36px; height: 36px; border-radius: 10px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; }
.ico svg { width: 20px; height: 20px; }

/* Kacheln zu Unterseiten */

/* CTA-Band */
.cta { background: var(--accent-soft); border: 1px solid #DCE4F8; border-radius: 18px; padding: 40px; display: flex; gap: 24px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.cta h2 { font-size: clamp(24px, 2.8vw, 30px); font-weight: 600; line-height: 1.2; }
.cta p { color: var(--text-2); margin-top: 8px; max-width: 34em; }
@media (max-width: 560px) { .cta { padding: 24px; } }

/* Ablauf */
.flow { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.step { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; position: relative; }
.step .no { font-size: 13px; font-weight: 600; color: var(--accent); }
.step h3 { font-size: 21px; font-weight: 600; margin-top: 6px; }
.step p { color: var(--text-2); margin-top: 8px; font-size: 15px; }
.step ul { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 8px; font-size: 14px; }
.step li { display: flex; gap: 10px; align-items: baseline; }
.step li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--line-2); flex: none; transform: translateY(-2px); }
.step:not(:last-child)::after {
  content: "→"; position: absolute; right: -14px; top: 26px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--page); border: 1px solid var(--line); display: grid; place-items: center; font-size: 12px; color: var(--label); z-index: 1;
}
@media (max-width: 860px) { .flow { grid-template-columns: minmax(0, 1fr); } .step:not(:last-child)::after { content: "↓"; right: auto; left: 24px; top: auto; bottom: -14px; } }

/* Weiche */
.switch { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 16px; align-items: start; }
.queue { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.queue-head { padding: 12px 16px; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; }
.doc {
  width: 100%; text-align: left; font: inherit; color: inherit; background: none; border: 0; border-bottom: 1px solid var(--line);
  padding: 14px 16px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; cursor: pointer; transition: background .12s;
}
.doc:last-child { border-bottom: 0; }
.doc:hover { background: var(--menu); }
.doc[aria-selected="true"] { background: var(--accent-soft); }
.doc .t { font-weight: 500; font-size: 15px; min-width: 0; }
.doc .m { font-size: 13px; color: var(--text-2); }
.doc .amt { font-weight: 500; font-size: 15px; text-align: right; }
.pill { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 500; padding: 3px 9px; border-radius: 999px; white-space: nowrap; justify-self: end; }
.pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.pill.ok { background: var(--ok-bg); color: var(--ok); }
.pill.dec { background: var(--dec-bg); color: var(--dec); }
.pill.ask { background: var(--ask-bg); color: var(--ask); }
.detail { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); min-width: 0; }
.detail h3 { font-size: 22px; font-weight: 600; margin-top: 12px; }
.detail .why { color: var(--text-2); margin-top: 8px; }
.fields { margin-top: 20px; border: 1px solid var(--line); border-radius: 10px; overflow-x: auto; }
.fields table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 420px; }
.fields th, .fields td { text-align: left; padding: 9px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.fields tr:last-child td { border-bottom: 0; }
.fields th { font-size: 10.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--label); background: var(--menu); }
.fields td.src { color: var(--text-2); font-size: 13px; }
.action { margin-top: 20px; padding: 16px; border-radius: 10px; display: flex; gap: 12px; align-items: flex-start; }
.action.ok { background: var(--ok-bg); } .action.dec { background: var(--dec-bg); } .action.ask { background: var(--ask-bg); }
.action .orb { margin-top: 2px; }
.action strong { display: block; font-weight: 600; }
.action p { font-size: 14px; color: var(--text); margin-top: 2px; }
.legend { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
@media (max-width: 900px) { .switch { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 480px) { .doc { grid-template-columns: minmax(0, 1fr) auto; } .doc .pill { grid-column: 1 / -1; justify-self: start; } }

/* Leistungen */
.task { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; }
.task h3 { font-size: 18px; font-weight: 600; margin-top: 14px; }
.task p { color: var(--text-2); font-size: 15px; margin-top: 8px; }
.fit { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.fit-visual { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: grid; gap: 12px; }

@media (max-width: 860px) { .fit { grid-template-columns: minmax(0, 1fr); } }

/* Sicherheit */
.trust { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.trust > div { background: var(--card); padding: 28px; }
.trust h3 { font-size: 19px; font-weight: 600; }
.trust p { color: var(--text-2); margin-top: 8px; font-size: 15px; max-width: 32em; }
.trust .k { font-size: 13px; font-weight: 600; color: var(--accent); margin-bottom: 10px; }
@media (max-width: 760px) { .trust { grid-template-columns: minmax(0, 1fr); } }
.faq { display: grid; gap: 10px; max-width: 820px; }
details { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 0 20px; }
summary { cursor: pointer; padding: 18px 0; font-weight: 500; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--label); font-size: 20px; line-height: 1; }
details[open] summary::after { content: "–"; }
details p { color: var(--text-2); padding-bottom: 18px; max-width: 46em; }

/* Pilot */
.partner { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 48px; align-items: start; }
.check { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; }
.check li { display: flex; gap: 10px; color: var(--text-2); }
.check li::before { content: "✓"; color: var(--ok); font-weight: 600; }
.steps-list { margin: 0; padding: 0; list-style: none; counter-reset: s; display: grid; gap: 16px; }
.steps-list li { counter-increment: s; display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 12px; color: var(--text-2); }
.steps-list li::before { content: counter(s); width: 26px; height: 26px; border-radius: 50%; background: var(--card); border: 1px solid var(--line); display: grid; place-items: center; font-size: 13px; font-weight: 600; color: var(--text); }
.steps-list li b { color: var(--text); font-weight: 500; display: block; }
.gets { margin-top: 32px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; }
.gets > div { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 20px 16px; text-align: center; display: flex; flex-direction: column; align-items: center; }
.gets > .gets-feat { grid-column: 1 / -1; border-radius: 14px; padding: 28px 24px; text-align: center; display: flex; flex-direction: column; align-items: center; color: #fff; background: linear-gradient(135deg, #3D63CF 0%, #6A4FD0 55%, #C2557A 100%); box-shadow: 0 14px 34px -16px rgba(61,99,207,.55); position: relative; overflow: hidden; }
.gets > .gets-feat::before { content: ""; position: absolute; width: 260px; height: 260px; right: -80px; top: -120px; border-radius: 50%; background: rgba(255,255,255,.12); }
.gets > .gets-feat > * { position: relative; }
.gets > .gets-feat .ico { margin: 0 auto 12px; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: rgba(255,255,255,.18); color: #fff; }
.gets > .gets-feat .ico svg { width: 22px; height: 22px; }
.gets > .gets-feat .gf-tag { font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; background: rgba(255,255,255,.2); padding: 4px 10px; border-radius: 999px; margin-bottom: 10px; }
.gets > .gets-feat b { font-size: 20px; font-weight: 600; }
.gets > .gets-feat p { color: rgba(255,255,255,.92); font-size: 15px; margin-top: 6px; max-width: 560px; }
.gets > .gets-feat small { color: rgba(255,255,255,.72); font-size: 12px; margin-top: 12px; max-width: 520px; }
.gets b { font-weight: 600; font-size: 15px; }
.gets p { color: var(--text-2); font-size: 14px; margin-top: 4px; }
form { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); display: grid; gap: 16px; }
.frow { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
@media (max-width: 560px) { .frow { grid-template-columns: minmax(0, 1fr); } form { padding: 20px; } }
label.f { display: grid; gap: 6px; font-size: 13px; font-weight: 500; }
input:not([type="range"]), select, textarea {
  font: inherit; font-size: 15px; color: var(--text); background: var(--menu); border: 1px solid var(--line); border-radius: 9px; padding: 10px 12px; width: 100%;
}
input:not([type="range"]):focus, select:focus, textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); background: var(--card); }
textarea { min-height: 84px; resize: vertical; }
.form-foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.form-foot small { color: var(--label); font-size: 12px; max-width: 30em; }
.done { padding: 16px; border-radius: 10px; background: var(--ok-bg); color: var(--ok); font-size: 14px; }
@media (max-width: 900px) { .partner { grid-template-columns: minmax(0, 1fr); gap: 32px; } }

/* Rechtliches */
.legal { max-width: 720px; display: grid; gap: 14px; color: var(--text-2); }
.page-impressum .page-head, .page-datenschutz .page-head { max-width: 720px; }
.legal h2 { font-size: 18px; font-weight: 600; color: var(--text); margin-bottom: 6px; }
.legal > div { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 20px 24px; }
.legal > div p + p { margin-top: 10px; }

/* Logik (Weiche) */

.oneline { margin-top: 28px; font-size: clamp(20px, 2.2vw, 24px); line-height: 1.4; font-weight: 500; letter-spacing: -0.01em; max-width: 38em; }
.oneline span { color: var(--text-2); }

/* Über uns */
.story { display: grid; gap: 0; max-width: 860px; }
.chapter { display: grid; grid-template-columns: 160px minmax(0, 1fr); gap: 32px; padding-block: 28px; border-top: 1px solid var(--line); }
.chapter:first-child { border-top: 0; padding-top: 0; }
.chapter .when { font-size: 13px; font-weight: 600; color: var(--accent); }
.chapter h3 { font-size: 22px; font-weight: 600; }
.chapter p { color: var(--text-2); margin-top: 10px; max-width: 40em; }
@media (max-width: 700px) { .chapter { grid-template-columns: minmax(0, 1fr); gap: 6px; } }
.principles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.principle { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.principle .no { font-size: 13px; font-weight: 600; color: var(--label); }
.principle h3 { font-size: 19px; font-weight: 600; margin-top: 8px; }
.principle p { color: var(--text-2); font-size: 15px; margin-top: 8px; }
@media (max-width: 900px) { .principles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .principles { grid-template-columns: minmax(0, 1fr); } }

/* Kontakt */
.contact { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 48px; align-items: start; }
.cinfo { display: grid; gap: 12px; }
.cinfo .item { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 18px 20px; }
.cinfo .item b { display: block; font-weight: 600; margin-top: 4px; }
.cinfo .item p { color: var(--text-2); font-size: 14px; margin-top: 4px; }
.cinfo .item button { margin-top: 12px; }
@media (max-width: 900px) { .contact { grid-template-columns: minmax(0, 1fr); gap: 32px; } }

/* Chat */
.chat-launch {
  position: fixed; z-index: 20; right: calc(20px + env(safe-area-inset-right, 0px)); bottom: calc(20px + env(safe-area-inset-bottom, 0px));
  display: inline-flex; align-items: center; gap: 10px; font: inherit; font-size: 15px; font-weight: 500; color: var(--text);
  background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: 10px 18px 10px 12px; cursor: pointer;
  box-shadow: 0 2px 4px rgba(38,34,31,.05), 0 12px 32px rgba(38,34,31,.14); transition: transform .15s;
}
.chat-launch:hover { transform: translateY(-2px); }
.chat-launch .orb { width: 26px; height: 26px; }
.chat {
  position: fixed; z-index: 21; right: calc(20px + env(safe-area-inset-right, 0px)); bottom: calc(20px + env(safe-area-inset-bottom, 0px));
  width: 380px; max-width: calc(100vw - 32px - env(safe-area-inset-left, 0px) - env(safe-area-inset-right, 0px)); height: min(600px, calc(100vh - 120px));
  background: var(--menu); border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 2px 4px rgba(38,34,31,.05), 0 24px 60px rgba(38,34,31,.18);
  display: flex; flex-direction: column; overflow: hidden;
}
.chat-head { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-bottom: 1px solid var(--line); background: var(--card); }
.chat-head b { font-weight: 600; display: block; line-height: 1.2; }
.chat-head small { color: var(--label); font-size: 12px; }
.chat-head .x { margin-left: auto; font: inherit; font-size: 20px; line-height: 1; background: none; border: 0; color: var(--label); cursor: pointer; padding: 4px 8px; border-radius: 8px; }
.chat-head .x:hover { background: var(--page); color: var(--text); }
.chat-log { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.msg { max-width: 88%; padding: 10px 12px; border-radius: 12px; font-size: 14px; line-height: 1.5; white-space: pre-wrap; overflow-wrap: anywhere; }
.msg.bot { background: var(--card); border: 1px solid var(--line); align-self: flex-start; }
.msg.me { background: var(--accent-soft); align-self: flex-end; }
.msg.wait { color: var(--label); }
.msg .src { display: block; margin-top: 6px; font-size: 11px; color: var(--label); }
.sugg { display: flex; flex-wrap: wrap; gap: 6px; }
.sugg button { font: inherit; font-size: 13px; color: var(--accent); background: var(--card); border: 1px solid #DCE4F8; border-radius: 999px; padding: 6px 11px; cursor: pointer; text-align: left; }
.sugg button:hover { background: var(--accent-soft); }
.chat-form { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--line); background: var(--card); box-shadow: none; border-radius: 0; border-left: 0; border-right: 0; border-bottom: 0; }
.chat-form input { flex: 1; min-width: 0; }
.chat-form .btn { padding: 9px 14px; }
.chat-note { font-size: 11px; color: var(--label); padding: 0 12px 10px; background: var(--card); }
@media (max-width: 480px) { .chat { right: max(16px, env(safe-area-inset-right, 0px)); left: max(16px, env(safe-area-inset-left, 0px)); width: auto; max-width: none; } .chat-launch span.t { display: none; } .chat-launch { padding: 10px; } }

footer { border-top: 1px solid var(--line); background: var(--menu); padding-block: 40px; font-size: 14px; color: var(--text-2); margin-top: 32px; }
.foot { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr)); gap: 32px; }
.foot-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 13px; color: var(--label); }
.foot-bottom nav { display: flex; gap: 20px; }
.foot-bottom a { color: var(--label); }
.foot-link { font: inherit; color: var(--label); background: none; border: 0; padding: 0; cursor: pointer; }
.foot-link:hover { color: var(--accent-hover); }
/* Consent for Google Analytics: small card bottom left, both answers equally prominent */
.consent {
  position: fixed; z-index: 40; left: calc(20px + env(safe-area-inset-left, 0px)); bottom: calc(20px + env(safe-area-inset-bottom, 0px));
  width: min(420px, calc(100vw - 40px)); background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: 0 16px 40px rgba(38,34,31,.14); padding: 16px 18px; font-size: 14px; line-height: 1.5; color: var(--text-2);
}
.consent-b { display: flex; gap: 8px; margin-top: 12px; }
.consent-b .btn { flex: 1 1 0; padding: 9px 14px; }
@media (max-width: 480px) { .consent { left: 12px; right: 12px; width: auto; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); } }
@media print { .consent { display: none; } }
.foot p { margin-top: 10px; max-width: 26em; }
.foot .foot-h { margin: 0 0 10px; font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--label); }
.foot nav { display: grid; gap: 6px; }
.foot a { color: var(--text-2); }
.foot a:hover { color: var(--text); }
@media (max-width: 700px) { .foot { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .foot > div:first-child { grid-column: 1 / -1; } }

/* Pilotphase */
.phase-pill { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 500; color: var(--accent); background: var(--accent-soft); border: 1px solid #DCE4F8; border-radius: 999px; padding: 5px 12px 5px 10px; }
.phase-pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 rgba(61,99,207,.45); animation: pulse 2.2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(61,99,207,.45); } 70% { box-shadow: 0 0 0 8px rgba(61,99,207,0); } 100% { box-shadow: 0 0 0 0 rgba(61,99,207,0); } }

.phases { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; position: relative; }
.phases::before { content: ""; position: absolute; left: 16px; right: 12.5%; top: 15px; border-top: 2px solid var(--ok); }
.phases::after { content: ""; position: absolute; left: 75%; right: 0; top: 15px; border-top: 2px dashed #C9D5F4; }
.phases li { position: relative; z-index: 1; display: grid; gap: 14px; padding-right: 20px; align-content: start; }
.phases .mark { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-size: 14px; font-weight: 700; background: var(--ok-bg); color: var(--ok); border: 2px solid var(--ok); }
.phases li.now .mark { background: var(--accent); border-color: var(--accent); box-shadow: 0 0 0 6px var(--accent-soft); }
.phases li.now .mark::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--white); }
.phases b { font-size: 18px; font-weight: 600; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.phases b em { font-style: normal; font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--white); background: var(--accent); border-radius: 6px; padding: 2px 7px; }
.phases p { color: var(--text-2); font-size: 15px; margin-top: 4px; max-width: 22em; }
.phases li.now b { color: var(--accent); }
.phases.big li { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; margin-right: 12px; }
.phases.big li.now { border-color: #C9D5F4; box-shadow: 0 0 0 3px var(--accent-soft); }
.phases.big::before, .phases.big::after { top: 35px; }
.phase-cta { margin-top: 28px; }
.phases.road::before { display: none; }
.phases.road::after { left: 16px; }
.phases.big.road::after { right: 12px; }
.phases li.next .mark { background: var(--card); color: var(--accent); border: 2px dashed #C9D5F4; }
.phases li.next .ph-ico { background: var(--accent-soft); color: var(--accent); }
@media (max-width: 860px) {
  .phases { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .phases::before { left: 15px; right: auto; top: 16px; bottom: 30%; border-top: 0; border-left: 2px solid var(--ok); }
  .phases::after { left: 15px; right: auto; top: 70%; bottom: 0; border-top: 0; border-left: 2px dashed #C9D5F4; }
  .phases li { grid-template-columns: 32px minmax(0, 1fr); gap: 14px; padding-right: 0; }
  .phases.big::before, .phases.big::after { display: none; }
  .phases.big li { margin-right: 0; }
}

.h2 { font-size: clamp(26px, 3.2vw, 36px); line-height: 1.15; font-weight: 600; margin-top: 10px; }
.lead2 { color: var(--text-2); font-size: 17px; margin-top: 12px; max-width: 34em; }
.rule-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); display: grid; gap: 10px; }
.rule-card > b { font-size: 18px; font-weight: 600; }
.rule-row { display: flex; justify-content: space-between; gap: 16px; font-size: 14px; border-bottom: 1px solid var(--line); padding-bottom: 8px; }
.rule-row span:first-child { color: var(--label); }
.rule-row span:last-child { text-align: right; }
.stages { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 4px; }
.st { font-size: 12px; font-weight: 500; padding: 4px 10px; border-radius: 999px; background: var(--page); color: var(--label); }
.st.on { background: var(--ok-bg); color: var(--ok); }
.rule-card small { color: var(--label); font-size: 12px; }

.pilot-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 48px; align-items: start; }
.pilot-grid .gets { margin-top: 0; }
@media (max-width: 900px) { .pilot-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; } }
.f-check { border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 16px; }
.f-check legend { font-size: 13px; font-weight: 500; padding: 0 4px; }
.f-check label { display: flex; gap: 8px; align-items: center; font-size: 14px; }
.f-check input { width: auto; accent-color: var(--accent); }
@media (max-width: 480px) { .f-check { grid-template-columns: minmax(0, 1fr); } }
.f-check.f-one { grid-template-columns: minmax(0, 1fr); }
.f-check.f-one label { align-items: flex-start; line-height: 1.45; }
.f-check.f-one input { margin-top: 3px; }
form.checked .f-one:has(:invalid) { border-color: #D9826A; box-shadow: 0 0 0 3px #FCEBE4; }
.invest-note { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 13px; color: var(--text-2); }
.trust { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 960px) { .trust { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .trust { grid-template-columns: minmax(0, 1fr); } }

/* Demo mit Führung */
.on-demo .chat-launch, .on-demo .chat { display: none !important; }
.demo-head { padding-block: 48px 24px; }
.demo-head h1 { max-width: 20em; }
.wrap.wide { max-width: 1600px; }
.page-demo .nav .wrap, .page-demo footer .wrap { max-width: 1600px; }
.stage { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 20px; align-items: start; padding-bottom: 56px; }
.screen { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.screen-bar { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-bottom: 1px solid var(--line); background: var(--menu); font-size: 13px; color: var(--label); }
.screen-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-2); flex: none; }
.screen-bar span { margin-left: 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.screen-bar button { margin-left: auto; font: inherit; font-size: 13px; color: var(--text-2); background: none; border: 0; cursor: pointer; padding: 2px 4px; border-radius: 6px; white-space: nowrap; }
.screen-bar button:hover { color: var(--text); }
.screen-view { position: relative; height: clamp(620px, calc(100vh - 150px), 900px); overflow: hidden; background: var(--page); }
.screen-view iframe { position: absolute; left: 0; top: 0; display: block; width: 100%; height: 100%; border: 0; background: var(--page); transform-origin: 0 0; }
.tour { position: sticky; top: 80px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 20px; display: grid; gap: 16px; overflow: hidden; }
.tour-top { display: flex; align-items: center; gap: 12px; }
.ring { --p: 0; width: 54px; height: 54px; border-radius: 50%; flex: none; display: grid; place-items: center; background: conic-gradient(var(--accent) calc(var(--p) * 1%), var(--accent-soft) 0); transition: --p .4s; }
.tour-top .ring b { width: 44px; height: 44px; border-radius: 50%; background: var(--card); display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 600; line-height: 1; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.tour-top > div:last-child b { display: block; font-size: 15px; font-weight: 600; }
.tour-top > div:last-child small { color: var(--label); font-size: 13px; }
.dots { display: grid; grid-template-columns: repeat(11, minmax(0, 1fr)); gap: 4px; }
.dots button { height: 8px; border: 0; border-radius: 4px; background: var(--line); cursor: pointer; padding: 0; }
.dots button.done { background: var(--ok); }
.dots button.cur { background: var(--accent); box-shadow: 0 0 0 2px var(--accent-soft); }
.st-card { display: grid; gap: 10px; animation: stIn .35s ease; }
@keyframes stIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.st-kick { font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.st-card h2 { font-size: 22px; line-height: 1.2; font-weight: 600; }
.st-card > p { color: var(--text-2); font-size: 15px; }
.task { display: flex; gap: 12px; align-items: flex-start; border: 1px dashed #C9D5F4; background: var(--accent-soft); border-radius: 12px; padding: 12px 14px; font-size: 14px; }
.task .box { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--accent); flex: none; display: grid; place-items: center; font-size: 12px; font-weight: 700; color: var(--white); margin-top: 1px; }
.task.ok { border-style: solid; border-color: #BFE3CD; background: var(--ok-bg); }
.task.ok .box { background: var(--ok); border-color: var(--ok); animation: pop .4s ease; }
.task.ok .box::after { content: "✓"; }
@keyframes pop { 0% { transform: scale(.4); } 70% { transform: scale(1.25); } 100% { transform: scale(1); } }
.task b { display: block; font-weight: 500; }
.task small { color: var(--text-2); font-size: 13px; }
.go { justify-self: start; font: inherit; font-size: 14px; font-weight: 500; color: var(--accent); background: none; border: 0; padding: 0; cursor: pointer; }
.go::after { content: " →"; }
.quiz { border-top: 1px solid var(--line); padding-top: 14px; display: grid; gap: 8px; }
.quiz > b { font-size: 14px; font-weight: 600; }
.quiz > b span { font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ask); background: var(--ask-bg); border-radius: 6px; padding: 2px 6px; margin-right: 6px; vertical-align: 1px; }
.quiz button { font: inherit; font-size: 14px; text-align: left; background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 9px 12px; cursor: pointer; color: var(--text); }
.quiz button:hover:not(:disabled) { border-color: var(--line-2); background: var(--menu); }
.quiz button.right { border-color: #BFE3CD; background: var(--ok-bg); color: var(--ok); font-weight: 500; }

.quiz button:disabled { cursor: default; }
@keyframes shake { 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }
.quiz p { font-size: 13px; color: var(--text-2); }
.tour-nav { display: flex; gap: 8px; align-items: center; border-top: 1px solid var(--line); padding-top: 14px; }
.tour-nav .btn { padding: 9px 14px; font-size: 14px; }
.tour-nav .btn-primary { margin-left: auto; }
.tour-nav .btn-primary.pulse { animation: btnPulse 1.6s infinite; }
@keyframes btnPulse { 0% { box-shadow: 0 0 0 0 rgba(61,99,207,.45); } 70% { box-shadow: 0 0 0 10px rgba(61,99,207,0); } 100% { box-shadow: 0 0 0 0 rgba(61,99,207,0); } }
.tour-note { font-size: 12px; color: var(--label); }
.toast-t { position: absolute; left: 16px; right: 16px; bottom: 16px; background: var(--text); color: var(--white); font-size: 13px; border-radius: 10px; padding: 9px 12px; opacity: 0; transform: translateY(8px); transition: .25s; pointer-events: none; }
.toast-t.on { opacity: 1; transform: none; }
.finish { text-align: center; justify-items: center; }
.finish .medal { width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; font-size: 30px; font-weight: 700; color: var(--white); background: radial-gradient(circle at 32% 28%, #8FA8EC 0%, var(--accent) 60%); box-shadow: 0 0 0 8px var(--accent-soft); animation: pop .5s ease; }
.finish .btns { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.confetti { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.confetti i { position: absolute; top: -12px; width: 8px; height: 12px; border-radius: 2px; animation: fall 1.8s ease-in forwards; }
@keyframes fall { to { transform: translateY(560px) rotate(540deg); opacity: 0; } }
.intro-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; font-size: 14px; color: var(--text-2); }
.intro-list li { display: flex; gap: 10px; }
.intro-list li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); margin-top: .6em; flex: none; }
@media (prefers-reduced-motion: reduce) { .st-card, .task.ok .box, .finish .medal, .confetti, .tour-nav .btn-primary.pulse { animation: none; } }
@media (max-width: 1100px) {
  .stage { grid-template-columns: minmax(0, 1fr); }
  .tour { position: static; order: -1; }
  .toast-t { position: fixed; left: 16px; right: 16px; bottom: max(16px, env(safe-area-inset-bottom, 0px)); z-index: 30; }
  .screen { scroll-margin-top: 72px; }
  .screen-view { height: min(78vh, 760px); min-height: 560px; }
}
@media (max-width: 640px) {
  .demo-head { padding-block: 32px 16px; }
  .tour { padding: 16px; gap: 12px; }
  .st-card h2 { font-size: 19px; }
  .screen-bar span { display: none; }
}

/* ===== V12: mehr Farbe und Grafik ===== */
:root {
  --t-blue: #3D63CF; --t-blue-bg: #EAF0FD;
  --t-teal: #17806F; --t-teal-bg: #E0F3EE;
  --t-coral: #C9573A; --t-coral-bg: #FCEBE4;
  --t-violet: #6A4FC9; --t-violet-bg: #EFEBFC;
  --t-amber: #A86A06; --t-amber-bg: #FBF0D9;
  --t-rose: #B4467A; --t-rose-bg: #FBE8F1;
  --peach: #F3C9A8; --sky: #B9C9F5;
}
.tone-blue { --tc: var(--t-blue); --tb: var(--t-blue-bg); }
.tone-teal { --tc: var(--t-teal); --tb: var(--t-teal-bg); }
.tone-coral { --tc: var(--t-coral); --tb: var(--t-coral-bg); }
.tone-violet { --tc: var(--t-violet); --tb: var(--t-violet-bg); }
.tone-amber { --tc: var(--t-amber); --tb: var(--t-amber-bg); }
.tone-rose { --tc: var(--t-rose); --tb: var(--t-rose-bg); }
.ico[class*="tone-"] { background: var(--tb); color: var(--tc); }
.ico.lg { width: 48px; height: 48px; border-radius: 14px; }
.ico.lg svg { width: 24px; height: 24px; }

/* Hero */

.float-chip { position: absolute; z-index: 2; display: flex; align-items: center; gap: 10px; background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 9px 13px 9px 9px; box-shadow: 0 10px 28px rgba(38,34,31,.12); font-size: 12.5px; line-height: 1.3; animation: floaty 6s ease-in-out infinite; }
.float-chip b { display: block; font-weight: 600; font-size: 13px; }
.float-chip small { color: var(--text-2); font-size: 11.5px; }
.float-chip .ico { width: 30px; height: 30px; border-radius: 9px; }
.float-chip .ico svg { width: 16px; height: 16px; }
.float-chip.c1 { left: -26px; top: -6px; }
.float-chip.c2 { right: -14px; bottom: 6px; animation-delay: -3s; }
@keyframes floaty { 50% { transform: translateY(-7px); } }
@media (max-width: 1240px) { .float-chip.c1 { left: 8px; } .float-chip.c2 { right: 8px; } }
@media (max-width: 900px) { .float-chip { display: none; } }

/* Phasen mit Bild */
.ph-ico { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--ok-bg); color: var(--ok); margin-bottom: 10px; }
.ph-ico svg { width: 20px; height: 20px; }
.phases li.now .ph-ico { background: var(--accent); color: var(--white); box-shadow: 0 6px 16px rgba(61,99,207,.3); }
@media (max-width: 860px) { .ph-ico { width: 34px; height: 34px; margin-bottom: 8px; } }

/* Drei Wege */

@keyframes travel { from { left: 0; opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } to { left: calc(100% - 8px); opacity: 0; } }

/* Bereichskarten */

/* Motto-Band */

/* CTA */
.cta { background: linear-gradient(120deg, #E6EDFD 0%, #EEF2FC 45%, #FBEDE2 100%); position: relative; overflow: hidden; }
.cta::after { content: ""; position: absolute; width: 220px; height: 220px; right: -60px; top: -90px; border-radius: 50%; background: radial-gradient(circle at 32% 28%, #FFFFFF 0%, #FFFFFF 12%, #B9C9F5 52%, #F3C9A8 100%); opacity: .55; pointer-events: none; }
.cta > * { position: relative; z-index: 1; }

/* So arbeitet TROY: Strecke */
.pipe { display: grid; grid-template-columns: minmax(0, 1.2fr) 48px auto 48px minmax(0, 1fr); align-items: center; gap: 8px; background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 24px; margin-bottom: 20px; box-shadow: var(--shadow); }
.pipe-in { display: flex; flex-wrap: wrap; gap: 8px; }
.pipe-in span, .pipe-out span { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 500; border-radius: 999px; padding: 6px 12px 6px 8px; background: var(--tb); color: var(--tc); }
.pipe-in span svg, .pipe-out span svg { width: 16px; height: 16px; }
.pipe-arrow { height: 2px; background: repeating-linear-gradient(90deg, var(--line-2) 0 6px, transparent 6px 11px); position: relative; }
.pipe-arrow::after { content: ""; position: absolute; right: -2px; top: -4px; border: 5px solid transparent; border-left-color: var(--line-2); }
.pipe-troy { display: grid; justify-items: center; gap: 8px; font-weight: 600; letter-spacing: .3em; font-size: 13px; }
.pipe-troy .orb { width: 64px; height: 64px; box-shadow: 0 0 0 10px var(--accent-soft), 0 8px 24px rgba(61,99,207,.25); animation: breathe 3.2s ease-in-out infinite; }
@keyframes breathe { 50% { box-shadow: 0 0 0 16px rgba(238,242,252,.6), 0 8px 24px rgba(61,99,207,.25); } }
.pipe-out { display: grid; gap: 8px; justify-items: start; }
.pipe-label { grid-column: 1 / -1; display: flex; justify-content: space-between; font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--label); margin-bottom: 4px; }
@media (max-width: 900px) {
  .pipe { grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; }
  .pipe-in { justify-content: center; } .pipe-out { justify-items: center; }
  .pipe-arrow { width: 2px; height: 28px; background: repeating-linear-gradient(180deg, var(--line-2) 0 6px, transparent 6px 11px); }
  .pipe-arrow::after { right: -4px; top: auto; bottom: -8px; border-left-color: transparent; border-top-color: var(--line-2); }
  .pipe-label { display: none; }
}
.step-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.step-top .no { font-size: 30px; font-weight: 600; color: var(--line-2); letter-spacing: -0.02em; }
.step li::before { background: var(--tc, var(--line-2)); }

/* Funktionen */

/* Sicherheit: Anonymisierung */
.anon { display: grid; grid-template-columns: minmax(0, 1fr) 120px minmax(0, 1fr); align-items: center; gap: 12px; background: linear-gradient(120deg, var(--card), var(--t-violet-bg)); border: 1px solid var(--line); border-radius: 18px; padding: 28px; margin-bottom: 20px; box-shadow: var(--shadow); }
.adoc { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; font-size: 13px; display: grid; gap: 6px; box-shadow: 0 6px 18px rgba(38,34,31,.06); min-width: 0; }
.adoc .label { margin-bottom: 4px; }
.adoc .r { display: flex; justify-content: space-between; gap: 12px; }
.adoc .r span:first-child { color: var(--label); }
.adoc .r span:last-child { text-align: right; min-width: 0; }
.adoc mark { white-space: nowrap; background: #FDE7B8; color: var(--text); border-radius: 4px; padding: 0 4px; }
.adoc .x { display: inline-block; height: .95em; border-radius: 4px; background: var(--text); vertical-align: -1px; }
.adoc .keep { color: var(--t-teal); font-weight: 500; }
.anon-mid { display: grid; justify-items: center; gap: 8px; text-align: center; font-size: 12px; color: var(--text-2); }
.anon-mid .ico { width: 52px; height: 52px; border-radius: 50%; background: var(--t-violet); color: var(--white); box-shadow: 0 8px 20px rgba(106,79,201,.3); }
.anon-mid .ico svg { width: 24px; height: 24px; }
.anon-cap { grid-column: 1 / -1; font-size: 13px; color: var(--text-2); text-align: center; margin-top: 6px; }
@media (max-width: 760px) { .anon { grid-template-columns: minmax(0, 1fr); padding: 18px; } .anon-mid { grid-auto-flow: column; align-items: center; } }
.trust .ico { margin-bottom: 14px; }
.trust .k { color: var(--tc, var(--accent)); }

/* Pilot */
.gets .ico { margin: 0 auto 12px; width: 40px; height: 40px; border-radius: 11px; padding: 0; border: 0; display: grid; place-items: center; }
.gets .ico svg { width: 20px; height: 20px; }
.steps-list li::before { background: var(--accent); border-color: var(--accent); color: var(--white); }

/* Über uns */
.story { position: relative; }
.chapter .when { display: grid; grid-auto-flow: column; justify-content: start; align-items: center; align-self: start; gap: 12px; color: var(--tc, var(--accent)); }
.chapter .when .ico { width: 44px; height: 44px; border-radius: 50%; }
.chapter .when .ico svg { width: 20px; height: 20px; }
.principle .p-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.principle .p-top .no { font-size: 28px; color: var(--line-2); letter-spacing: -0.02em; }
@media (max-width: 640px) { .chapter { grid-template-columns: minmax(0, 1fr); gap: 12px; } }

@media (prefers-reduced-motion: reduce) { .float-chip, .pipe-troy .orb { animation: none; } }

/* Menü: Programm-Gruppe */
.nav-links { align-items: center; }
.nav-group { position: relative; }
.nav-drop { font: inherit; font-size: 14px; color: var(--text-2); background: none; border: 0; padding: 7px 9px 7px 11px; border-radius: 8px; cursor: pointer; display: inline-flex; align-items: center; gap: 4px; }
.nav-drop:hover, .nav-drop[aria-expanded="true"] { color: var(--text); background: var(--page); }
.nav-drop.current { color: var(--text); background: var(--page); font-weight: 500; }
.nav-drop svg { width: 12px; height: 12px; transition: transform .2s; }
.nav-drop[aria-expanded="true"] svg { transform: rotate(180deg); }
.nav-menu { display: none; position: absolute; left: -8px; max-width: calc(100vw - 32px); top: calc(100% + 10px); width: 330px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 16px 40px rgba(38,34,31,.14); padding: 8px; z-index: 20; }
.nav-menu.open { display: grid; gap: 2px; animation: menuIn .15s ease; }
@keyframes menuIn { from { opacity: 0; transform: translateY(-4px); } }
.nav-links .nav-menu a { display: flex; gap: 12px; align-items: center; padding: 10px; border-radius: 10px; color: var(--text); }
.nav-links .nav-menu a:hover, .nav-links .nav-menu a[aria-current="page"] { background: var(--page); }
.nav-menu b { display: block; font-weight: 600; font-size: 14px; }
.nav-menu small { display: block; color: var(--text-2); font-size: 12.5px; margin-top: 1px; }
.nav-menu .ico { width: 36px; height: 36px; flex: none; }
@media (max-width: 1180px) {
  .nav-links { align-items: stretch; }
  .nav-drop { display: none; }
  .nav-menu { display: grid; position: static; width: auto; box-shadow: none; border: 0; padding: 0 0 6px; background: none; gap: 0; }
  .nav-menu::before { content: attr(data-title); font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--label); padding: 8px 12px 4px; }
  .nav-links .nav-menu a { padding: 8px 12px; }
  .nav-menu .ico { width: 30px; height: 30px; }
}

/* ===== V15: Spiel und Spielereien ===== */
.game-band { background: linear-gradient(135deg, #F3F6FE 0%, #FBF9F6 55%, #FCF1E8 100%); }
.game-wrap { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 48px; align-items: center; }
.game-legend { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 20px; }
.game { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: 20px; box-shadow: 0 20px 50px rgba(38,34,31,.10); padding: 24px; min-height: 420px; display: grid; gap: 18px; align-content: start; overflow: hidden; }
.g-top { display: flex; align-items: center; gap: 12px; justify-content: space-between; }
.g-steps { display: flex; gap: 5px; }
.g-steps i { width: 22px; height: 6px; border-radius: 3px; background: var(--line); }
.g-steps i.r { background: var(--ok); } .g-steps i.w { background: var(--dec-bar); } .g-steps i.c { background: var(--accent); }
.g-score { font-size: 13px; font-weight: 600; color: var(--text-2); font-variant-numeric: tabular-nums; }
.g-card { border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; background: var(--menu); display: grid; gap: 6px; animation: cardIn .35s ease; }
@keyframes cardIn { from { opacity: 0; transform: translateX(30px) rotate(2deg); } to { opacity: 1; transform: none; } }
@keyframes cardOut { to { opacity: .5; transform: scale(.98); } }
.g-kind { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--label); }
.g-kind .ico { width: 28px; height: 28px; border-radius: 8px; } .g-kind .ico svg { width: 15px; height: 15px; }
.g-card h3 { font-size: 20px; font-weight: 600; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.g-card h3 span { font-variant-numeric: tabular-nums; }
.g-card p { color: var(--text-2); font-size: 14.5px; }
.g-btns { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.g-btns button { font: inherit; font-size: 14px; font-weight: 600; border-radius: 12px; padding: 12px 8px; cursor: pointer; border: 1.5px solid transparent; transition: transform .12s, box-shadow .12s; display: grid; justify-items: center; gap: 4px; }
.g-btns button svg { width: 20px; height: 20px; }
.g-btns button:hover:not(:disabled) { transform: translateY(-2px); box-shadow: 0 6px 14px rgba(38,34,31,.10); }
.g-btns button:active:not(:disabled) { transform: translateY(0); }
.g-btns .b-ok { background: var(--ok-bg); color: var(--ok); } .g-btns .b-ask { background: var(--ask-bg); color: var(--ask); } .g-btns .b-dec { background: var(--dec-bg); color: var(--dec); }
.g-btns button.pick { border-color: currentColor; }
.g-btns button:disabled { cursor: default; opacity: .45; } .g-btns button.pick:disabled, .g-btns button.right:disabled { opacity: 1; }
.g-btns button.right { border-color: currentColor; box-shadow: 0 0 0 3px rgba(30,122,76,.12); }
.g-fb { border-radius: 12px; padding: 14px 16px; font-size: 14px; display: grid; gap: 4px; animation: cardIn .3s ease; }
.g-fb.yes { background: var(--ok-bg); } .g-fb.no { background: var(--dec-bg); }
.g-fb b { font-size: 15px; }
.g-fb p { color: var(--text-2); }
.g-next { justify-self: end; }
.g-end { text-align: center; display: grid; justify-items: center; gap: 12px; padding-block: 12px; animation: cardIn .4s ease; }
.g-stars { display: flex; gap: 6px; font-size: 30px; color: var(--line-2); }
.g-stars span.on { color: #E4A23C; animation: pop .45s ease backwards; }
.g-end h3 { font-size: 24px; font-weight: 600; }
.g-end p { color: var(--text-2); max-width: 30em; }
.g-end .row { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin-top: 4px; }
@keyframes pop { 0% { transform: scale(.4); } 70% { transform: scale(1.2); } 100% { transform: scale(1); } }
@media (max-width: 960px) { .game-wrap { grid-template-columns: minmax(0, 1fr); gap: 28px; } }
@media (max-width: 480px) { .game { padding: 16px; min-height: 0; } .g-btns button { font-size: 12.5px; padding: 10px 4px; overflow-wrap: anywhere; hyphens: auto; } .g-steps i { width: 14px; } }

/* Regel lernt */
.learn { display: grid; gap: 10px; border-top: 1px solid var(--line); padding-top: 12px; margin-top: 2px; }
.learn-top { display: flex; justify-content: space-between; gap: 12px; font-size: 13px; color: var(--label); flex-wrap: wrap; }
.learn-top b { color: var(--text); font-weight: 600; font-variant-numeric: tabular-nums; }
.learn-bar { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; }
.learn-bar i { height: 8px; border-radius: 4px; background: var(--line); transition: background .3s; }
.learn-bar i.on { background: var(--ok); }
.learn .st { transition: background .3s, color .3s; }
.learn .st.go { animation: pop .5s ease; }
.learn-act { display: flex; gap: 8px; flex-wrap: wrap; }
.learn-act .btn { padding: 9px 14px; font-size: 14px; }
.learn-msg { font-size: 13px; color: var(--text-2); min-height: 2.6em; }

/* Schwärzung */
.redact { position: relative; display: inline-block; }
.redact > span { transition: opacity .3s; }
.redact::after { content: ""; position: absolute; inset: 1px -2px; border-radius: 4px; background: var(--text); transform-origin: left center; transition: transform .45s cubic-bezier(.6,.1,.2,1); }
.anon.open .redact::after { transform: scaleX(0); }
.anon:not(.open) .redact > span { opacity: 0; }
.anon.open .redact > span { background: #FDE7B8; border-radius: 4px; padding: 0 4px; }
.anon-cap { display: flex; gap: 14px; align-items: center; justify-content: center; flex-wrap: wrap; }
.anon-cap .btn { padding: 8px 14px; font-size: 14px; }

/* Kontakt */
.mail-item .btn { margin-top: 12px; padding: 8px 14px; font-size: 14px; }
form.checked :invalid { border-color: #D9826A; box-shadow: 0 0 0 3px #FCEBE4; }
.done.err { background: #FCEEE8; color: #A6461F; border-color: #F2C9B8; }

/* Logo-Spielerei und Hinweis */
.brand .orb { transition: transform .35s cubic-bezier(.3,1.6,.5,1); }
.brand:hover .orb { transform: scale(1.15) rotate(-12deg); }
.brand .orb.spin { animation: orbSpin .8s ease; }
@keyframes orbSpin { 50% { transform: scale(1.5) rotate(180deg); } }
.hello { position: fixed; left: 50%; top: calc(80px + env(safe-area-inset-top, 0px)); transform: translate(-50%, -12px); z-index: 60; background: var(--text); color: var(--white); font-size: 14px; border-radius: 12px; padding: 10px 16px; display: flex; gap: 10px; align-items: center; opacity: 0; pointer-events: none; transition: .3s; max-width: calc(100vw - 32px); }
.hello.on { opacity: 1; transform: translate(-50%, 0); }
.hello .orb { width: 20px; height: 20px; }
.burst { position: fixed; inset: 0; pointer-events: none; z-index: 59; overflow: hidden; }
.burst i { position: absolute; width: 8px; height: 12px; border-radius: 2px; animation: burst 1.4s cubic-bezier(.2,.7,.4,1) forwards; }
@keyframes burst { to { transform: translate(var(--dx), var(--dy)) rotate(var(--r)); opacity: 0; } }

/* Hero: bewegliche Ansicht */

@media (prefers-reduced-motion: reduce) { .g-card, .g-fb, .g-end, .redact::after, .brand .orb { animation: none !important; transition: none !important; } }

/* Feinschliff für alle Grössen */
h1, h2, h3 { overflow-wrap: break-word; hyphens: auto; }
@media (min-width: 1600px) { .wrap { max-width: calc(1208px + 2 * var(--gut)); } body { font-size: 17px; } }
@media (max-width: 480px) { .g-top { flex-wrap: wrap; } .g-score { font-size: 12px; } .page-head h1 { font-size: clamp(30px, 9vw, 40px); } }
.game { min-height: 380px; }
::selection { background: #DCE4F8; }

/* ===== Launch: Sprachen, Barrierefreiheit, Feinschliff ===== */
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--accent); color: #fff; padding: 10px 14px; border-radius: 10px; font-weight: 600; transition: top .15s; }
.skip:focus { top: 10px; color: #fff; }
main:focus { outline: none; }
figure { margin: 0; }
.crumb [aria-current] { color: var(--text-2); }
.lang-switch { display: inline-flex; gap: 2px; margin-left: 8px; padding: 3px; border: 1px solid var(--line); border-radius: 999px; background: var(--card); }
.nav-links .lang-switch a { padding: 3px 9px; border-radius: 999px; font-size: 12px; font-weight: 600; letter-spacing: .04em; color: var(--label); }
.nav-links .lang-switch a:hover { color: var(--text); background: var(--page); }
.nav-links .lang-switch a[aria-current="true"] { color: #fff; background: var(--text); }
.nav-cta { display: none; }
@media (max-width: 1180px) {
  .nav-links .nav-cta { display: flex; justify-content: center; margin-top: 10px; padding: 12px 16px; color: #fff; }
  .nav-links .lang-switch { margin: 14px auto 0; align-self: center; }
  .nav-links .lang-switch a { padding: 6px 14px; font-size: 13px; }
  body.menu-open { overflow: hidden; }
  .nav-links { max-height: calc(100dvh - 64px); overflow-y: auto; box-shadow: 0 18px 30px -18px rgba(38,34,31,.25); }
}
.nav-links .nav-cta:hover { background: var(--accent-hover); color: #fff; }
.nf { min-height: 100vh; display: grid; align-content: center; justify-items: start; gap: 18px; padding-block: 64px; }
.nf h1 { font-size: clamp(32px, 5vw, 52px); line-height: 1.08; font-weight: 600; margin-top: 24px; }
.nf p { color: var(--text-2); font-size: 18px; max-width: 32em; }
.nf .nf-alt a { color: var(--text-2); }
@media (max-width: 520px) {

   .cta .btn, .partner .btn[type=submit], .contact .btn[type=submit] { width: 100%; justify-content: center; }
}

/* Startseite: Wechsel zu TROY (Mandat einrichten in drei Schritten) */
.onb { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 48px; align-items: center; }
.onb-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.onb-step { appearance: none; width: 100%; font: inherit; color: inherit; text-align: left; cursor: pointer; background: transparent; border: 1px solid transparent; border-radius: var(--radius); padding: 18px 20px; display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 14px; position: relative; overflow: hidden; transition: background .2s, border-color .2s, box-shadow .2s; }
.onb-step:hover { background: rgba(255,255,255,.6); }
.onb-step[aria-pressed="true"] { background: var(--card); border-color: var(--line); box-shadow: var(--shadow); }
.onb-n { width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; font-size: 13px; font-weight: 600; color: var(--text-2); transition: background .2s, color .2s, border-color .2s; }
.onb-step[aria-pressed="true"] .onb-n { background: var(--accent); border-color: var(--accent); color: var(--white); }
.onb-step b { display: block; font-size: 17px; font-weight: 600; letter-spacing: -0.01em; }
.onb-t { display: block; color: var(--text-2); font-size: 15px; margin-top: 4px; }
.onb-bar { position: absolute; left: 20px; right: 20px; bottom: 0; height: 2px; }
.onb.run:not(.manual) .onb-step[aria-pressed="true"] .onb-bar::after { content: ""; position: absolute; inset: 0; background: var(--accent); transform-origin: left; animation: onbBar 7s linear forwards; }
.onb.run:hover .onb-bar::after, .onb.run:focus-within .onb-bar::after { animation-play-state: paused; }
@keyframes onbBar { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.onb-app { background: var(--menu); border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 2px 4px rgba(38,34,31,.04), 0 24px 60px rgba(38,34,31,.10); overflow: hidden; font-size: 13px; }
.onb-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 16px; background: var(--card); border-bottom: 1px solid var(--line); }
.onb-dots { display: flex; gap: 6px; }
.onb-dots i { width: 22px; height: 4px; border-radius: 2px; background: var(--line); transition: background .3s; }
.onb-dots i.on { background: var(--accent); }
.onb-panes { display: grid; padding: 18px; background: var(--page); }
.onb-p { grid-area: 1 / 1; display: grid; gap: 12px; align-content: start; opacity: 0; visibility: hidden; transition: opacity .3s, visibility 0s .3s; }
.onb-p.on { opacity: 1; visibility: visible; transition: opacity .3s; }
.onb-p.on > * { animation: onbIn .4s both; }
.onb-p:first-child { --o: .4s; }
.onb-p.on > :nth-child(2) { animation-delay: calc(var(--o, 0s) + .2s); }
.onb-p.on > :nth-child(3) { animation-delay: calc(var(--o, 0s) + 1.1s); }
.onb-p.on :is(.onb-dl > div, .onb-files li, .onb-check li) { animation: onbIn .35s both; }
.onb-p.on :is(.onb-dl > div, .onb-files li, .onb-check li):nth-child(1) { animation-delay: calc(var(--o, 0s) + .45s); }
.onb-p.on :is(.onb-dl > div, .onb-files li, .onb-check li):nth-child(2) { animation-delay: calc(var(--o, 0s) + .57s); }
.onb-p.on :is(.onb-dl > div, .onb-files li, .onb-check li):nth-child(3) { animation-delay: calc(var(--o, 0s) + .69s); }
.onb-p.on :is(.onb-dl > div, .onb-files li, .onb-check li):nth-child(4) { animation-delay: calc(var(--o, 0s) + .81s); }
.onb-p.on :is(.onb-dl > div, .onb-files li, .onb-check li):nth-child(5) { animation-delay: calc(var(--o, 0s) + .93s); }
@keyframes onbIn { from { opacity: 0; transform: translateY(6px); } }
.onb-field .label, .onb-q .label { display: block; margin-bottom: 6px; }
.onb-input { background: var(--card); border: 1.5px solid var(--accent); border-radius: 10px; padding: 9px 12px; font-size: 15px; font-weight: 500; box-shadow: 0 0 0 4px var(--accent-soft); min-height: 42px; }
.onb-caret { display: inline-block; width: 1.5px; height: 16px; margin-left: 2px; vertical-align: -3px; background: var(--accent); animation: onbBlink 1s steps(1) infinite; }
@keyframes onbBlink { 50% { opacity: 0; } }
.onb-box { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; }
.onb-src { display: flex; gap: 6px; align-items: center; color: var(--ok); font-weight: 500; font-size: 12px; }
.onb-src svg { width: 15px; height: 15px; flex: none; }
.onb-dl { margin: 8px 0 0; display: grid; }
.onb-dl > div { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 10px; padding: 6px 0; border-top: 1px solid var(--line); }
.onb-dl > div:first-child { border-top: 0; }
.onb-dl dt { color: var(--text-2); }
.onb-dl dd { margin: 0; font-weight: 500; }
.onb-seg { display: flex; flex-wrap: wrap; gap: 6px; }
.onb-seg span { border: 1px solid var(--line); background: var(--card); border-radius: 999px; padding: 5px 11px; font-size: 12px; color: var(--text-2); }
.onb-seg .on { background: var(--accent-soft); border-color: #C9D5F5; color: var(--accent); font-weight: 500; }
.onb-drop { display: flex; gap: 12px; align-items: center; border: 1.5px dashed var(--line-2); border-radius: 12px; padding: 14px; background: var(--card); color: var(--text-2); font-size: 12px; }
.onb-drop svg { width: 24px; height: 24px; color: var(--accent); flex: none; }
.onb-drop b { display: block; color: var(--text); font-size: 13px; font-weight: 600; }
.onb-files { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.onb-files li { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 10px; align-items: center; background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px; }
.onb-files .ft { font-size: 9.5px; font-weight: 700; letter-spacing: .04em; padding: 3px 5px; border-radius: 5px; background: var(--t-coral-bg); color: var(--t-coral); }
.onb-files .ft.x { background: var(--t-teal-bg); color: var(--t-teal); }
.onb-files .ft.c { background: var(--t-blue-bg); color: var(--t-blue); }
.onb-files .fr { color: var(--ok); font-size: 12px; font-weight: 500; text-align: right; }
.onb-files .fr::before { content: "✓ "; }
.onb-ok { display: flex; gap: 8px; align-items: center; background: var(--ok-bg); color: var(--ok); border-radius: 10px; padding: 9px 12px; font-weight: 500; font-size: 12.5px; }
.onb-ok svg { width: 16px; height: 16px; flex: none; }
.onb-opts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.onb-opts > div { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 11px 12px; }
.onb-opts > .on { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.onb-opts b { display: block; font-size: 13px; font-weight: 600; }
.onb-opts small { display: block; color: var(--text-2); font-size: 11.5px; margin-top: 3px; }
.onb-check { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 7px; }
.onb-check li { display: flex; gap: 8px; align-items: center; }
.onb-check li::before { content: "✓"; width: 18px; height: 18px; border-radius: 50%; background: var(--ok-bg); color: var(--ok); display: grid; place-items: center; font-size: 11px; font-weight: 700; flex: none; }
.onb-more { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 48px; }
.onb-more > div { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.onb-more p { color: var(--text-2); font-size: 14px; margin-top: 6px; }
.onb-more b { display: block; margin-top: 14px; font-size: 16px; font-weight: 600; letter-spacing: -0.01em; }
@media (max-width: 960px) { .onb { grid-template-columns: minmax(0, 1fr); gap: 24px; } .onb-art { order: -1; } .onb-more { margin-top: 32px; } }
@media (max-width: 1100px) { .onb-more { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .onb-more { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) { .onb-step { padding: 14px; gap: 12px; } .onb-bar { left: 14px; right: 14px; } .onb-panes { padding: 14px; } .onb-opts { grid-template-columns: minmax(0, 1fr); } .onb-dl > div { grid-template-columns: 76px minmax(0, 1fr); } .onb-files li { grid-template-columns: auto minmax(0, 1fr); row-gap: 2px; } .onb-files .fr { grid-column: 2; text-align: left; } }
.onb-teaser { padding-bottom: 0; }
.onb-short { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 36px 40px; }
.onb-short h2 { font-size: clamp(24px, 2.8vw, 30px); line-height: 1.2; font-weight: 600; margin-top: 10px; }
.onb-short p { color: var(--text-2); margin-top: 10px; }
.onb-short .more { margin-top: 16px; }
.onb-mini { background: var(--page); border: 1px solid var(--line); border-radius: 14px; padding: 16px; display: grid; gap: 10px; font-size: 13px; }
.onb-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.onb-tags span { background: var(--ok-bg); color: var(--ok); border-radius: 999px; padding: 4px 10px; font-size: 12px; font-weight: 500; }
.onb-tags span::before { content: "✓ "; }
.onb-row { list-style: none; margin: 4px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; counter-reset: r; }
.onb-row li { counter-increment: r; display: flex; gap: 7px; align-items: center; background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 7px 9px; font-size: 12px; line-height: 1.3; }
.onb-row li::before { content: counter(r); flex: none; width: 18px; height: 18px; border-radius: 50%; background: var(--accent); color: var(--white); display: grid; place-items: center; font-size: 10.5px; font-weight: 600; }
.onb-short.in .onb-tags span { animation: onbIn .35s both; }
.onb-short.in .onb-tags span:nth-child(1) { animation-delay: .7s; }
.onb-short.in .onb-tags span:nth-child(2) { animation-delay: .8s; }
.onb-short.in .onb-tags span:nth-child(3) { animation-delay: .9s; }
.onb-short.in .onb-tags span:nth-child(4) { animation-delay: 1s; }
@media (max-width: 860px) { .onb-short { grid-template-columns: minmax(0, 1fr); gap: 24px; padding: 24px; } }
@media (max-width: 480px) { .onb-row { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Start page: images first, little text ---------- */
.mid { text-align: center; margin-inline: auto; }
.sec-head.mid { max-width: 760px; }
.shot { margin: 0; background: var(--card); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; box-shadow: 0 2px 4px rgba(38,34,31,.04), 0 30px 60px -12px rgba(38,34,31,.18); }
.shot-bar { display: flex; gap: 6px; padding: 10px 14px; border-bottom: 1px solid var(--line); background: var(--menu); }
.shot-bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--line-2); }
.shot img { display: block; width: 100%; height: auto; }

.hx { position: relative; overflow: hidden; padding-block: 72px 80px; }
.hx::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(640px 420px at 82% 6%, rgba(185,201,245,.6), transparent 70%), radial-gradient(560px 380px at 10% 70%, rgba(243,201,168,.45), transparent 70%), radial-gradient(500px 340px at 50% 100%, rgba(239,235,252,.9), transparent 70%); }
.hx::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 35%, #000 20%, transparent 75%); mask-image: radial-gradient(ellipse 70% 60% at 50% 35%, #000 20%, transparent 75%); }
.hx .wrap { position: relative; z-index: 1; }
.hx-head { text-align: center; display: flex; flex-direction: column; align-items: center; }
.hx h1 { font-size: clamp(36px, 5.6vw, 66px); line-height: 1.04; font-weight: 600; margin-top: 18px; max-width: 15em; }
.hx h1 span { background: linear-gradient(90deg, var(--accent), #8A5BC9 60%, #C9573A); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hx .lead { font-size: clamp(17px, 1.6vw, 20px); color: var(--text-2); margin-top: 20px; max-width: 32em; }
.hx .ctas { justify-content: center; }
.hx-stage { margin-top: 56px; perspective: 1800px; }
.hx-shot { max-width: 1100px; margin-inline: auto; transform-origin: 50% 0; transition: transform .1s linear; }
.hx-stage .float-chip.c1 { left: max(16px, calc(50% - 600px)); top: 18%; }
.hx-stage .float-chip.c2 { right: max(16px, calc(50% - 610px)); top: 34%; bottom: auto; }
.hx-stage .float-chip.c3 { left: max(28px, calc(50% - 560px)); bottom: -18px; animation-delay: -1.5s; }
@media (max-width: 760px) {
  .hx { padding-block: 48px 56px; }
  .hx-stage { margin-top: 36px; }
}

/* three ways */
.ways-flow { display: grid; grid-template-columns: minmax(0, 250px) 150px minmax(60px, 120px) minmax(0, 1fr); align-items: center; gap: 0; }
.flow-src { display: grid; gap: 12px; padding-right: 28px; position: relative; }
.flow-src::after { content: ""; position: absolute; right: 0; top: 50%; width: 28px; height: 2px; background: repeating-linear-gradient(90deg, var(--line-2) 0 6px, transparent 6px 10px); }
.fdoc { display: flex; align-items: center; gap: 10px; background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; box-shadow: var(--shadow); font-size: 12.5px; line-height: 1.3; animation: lit 9s infinite; }
.fdoc .ico { width: 30px; height: 30px; border-radius: 9px; flex: none; }
.fdoc .ico svg { width: 16px; height: 16px; }
.fdoc b { display: block; font-size: 13px; font-weight: 600; }
.fdoc small { color: var(--text-2); }
.fdoc em { font-style: normal; margin-left: auto; font-weight: 500; }
.fdoc.d2, .way.ask { animation-delay: 3s; }
.fdoc.d3, .way.dec { animation-delay: 6s; }
@keyframes lit { 0%, 30% { transform: translateX(6px); box-shadow: 0 0 0 2px var(--sky), 0 12px 28px rgba(61,99,207,.16); } 36%, 100% { transform: none; } }
.flow-hub { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; }
.flow-hub .orb { width: 76px; height: 76px; box-shadow: 0 0 0 12px var(--accent-soft), 0 10px 30px rgba(61,99,207,.28); animation: breathe 3.2s ease-in-out infinite; margin-bottom: 14px; }
.flow-hub b { font-weight: 600; }
.flow-hub small { color: var(--text-2); font-size: 13px; }
.flow-fan { width: 100%; height: 100%; min-height: 300px; align-self: stretch; overflow: visible; }
.flow-fan path { fill: none; stroke: var(--line-2); stroke-width: 2; stroke-dasharray: 5 6; vector-effect: non-scaling-stroke; animation: dash 1.2s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -11; } }
.flow-out { list-style: none; margin: 0; padding: 0; display: grid; grid-auto-rows: 1fr; gap: 16px; }
.way { display: flex; align-items: center; gap: 16px; border-radius: 16px; padding: 14px 20px; border: 1px solid transparent; animation: lit 9s infinite; }
.way.ok { background: var(--ok-bg); } .way.ask { background: var(--ask-bg); } .way.dec { background: var(--dec-bg); }
.w-ico { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--card); flex: none; }
.w-ico svg { width: 24px; height: 24px; }
.way.ok .w-ico { color: var(--ok); } .way.ask .w-ico { color: var(--ask); } .way.dec .w-ico { color: var(--dec); }
.way small { display: block; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.way.ok small { color: var(--ok); } .way.ask small { color: var(--ask); } .way.dec small { color: var(--dec); }
.way b { font-size: clamp(18px, 1.8vw, 22px); font-weight: 600; letter-spacing: -0.01em; }
.way p { color: var(--text-2); font-size: 14.5px; margin-top: 4px; max-width: 46ch; }
.ways .oneline { text-align: center; margin-inline: auto; margin-top: 40px; }
@media (max-width: 960px) {
  .ways-flow { grid-template-columns: minmax(0, 1fr); justify-items: center; gap: 24px; }
  .flow-src { width: min(100%, 360px); padding: 0; }
  .flow-src::after { display: none; }
  .flow-fan { display: none; }
  .flow-out { width: min(100%, 520px); }
  .flow-hub .orb { width: 60px; height: 60px; margin-bottom: 8px; }
}

/* screenshots with tabs */
.show-tabs { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.show-tabs button { display: inline-flex; align-items: center; gap: 10px; font: inherit; font-size: 15px; font-weight: 500; color: var(--text-2); background: transparent; border: 1px solid transparent; border-radius: 999px; padding: 6px 16px 6px 6px; cursor: pointer; transition: background .15s, color .15s, border-color .15s; }
.show-tabs .ico { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; }
.show-tabs .ico svg { width: 16px; height: 16px; }
.show-tabs button:hover { color: var(--text); }
.show-tabs button[aria-selected="true"] { background: var(--card); border-color: var(--line); color: var(--text); box-shadow: var(--shadow); }
.show-stage { max-width: 1100px; margin-inline: auto; }
.pane { animation: paneIn .45s ease both; }
.pane figcaption { padding: 14px 20px; border-top: 1px solid var(--line); text-align: center; color: var(--text-2); font-size: 15px; }
@keyframes paneIn { from { opacity: 0; transform: translateY(10px) scale(.99); } }
.show p.mid { margin-top: 28px; }
@media (max-width: 560px) { .show-tabs { justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; margin-inline: -16px; padding-inline: 16px; scrollbar-width: none; } .show-tabs button { flex: none; } }

/* cases */
.cases { background: linear-gradient(115deg, #EEF2FC 0%, #F6EEF8 50%, #FBEDE2 100%); border-color: #E3E3F2; }
.cases-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.cases .b { color: var(--text-2); font-size: 17px; max-width: 34em; margin-bottom: 18px; }
.cases .quote { font-size: clamp(30px, 4vw, 48px); line-height: 1.08; font-weight: 600; letter-spacing: -0.02em; margin-bottom: 14px; }
.notes { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.notes li { display: flex; align-items: center; gap: 14px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 14px 18px; font-size: 17px; font-weight: 500; box-shadow: var(--shadow); }
.notes .ico { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; flex: none; }
.notes .ico svg { width: 20px; height: 20px; }
.notes .n1 { transform: rotate(-1.2deg); } .notes .n2 { transform: rotate(.8deg) translateX(10px); } .notes .n3 { transform: rotate(-.6deg); }
@media (max-width: 860px) { .cases-in { grid-template-columns: minmax(0, 1fr); gap: 24px; } .notes .n2 { transform: rotate(.8deg); } }

/* call to action with the phases */
.cta-x { flex-direction: column; text-align: center; justify-content: center; padding: 48px 32px; gap: 22px; }
.cta-x h2 { max-width: 18em; }
.ptl { list-style: none; margin: 0; padding: 0; display: flex; gap: 0; width: 100%; max-width: 420px; justify-content: center; font-size: 13px; font-weight: 500; color: var(--text-2); }
.ptl li { display: flex; flex-direction: column; align-items: center; gap: 8px; flex: 1 1 0; min-width: 0; text-align: center; position: relative; }
.ptl li::before { content: ""; width: 14px; height: 14px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px var(--ok-bg); position: relative; z-index: 1; }
.ptl li + li::after { content: ""; position: absolute; top: 6px; right: 50%; width: 100%; height: 2px; background: var(--ok); }
.ptl li.p-now { color: var(--accent); font-weight: 600; }
.ptl li.p-now::before { background: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); animation: pulse 2.2s infinite; }
.ptl li.p-now::after { background: linear-gradient(90deg, var(--ok), var(--accent)); }
@media (max-width: 420px) { .ptl { font-size: 12px; } .cta-x { padding: 36px 18px; } }
@media (prefers-reduced-motion: reduce) { .fdoc, .way, .flow-fan path, .flow-hub .orb, .ptl li.p-now::before { animation: none; } }
.hx h1, .cta-x h2, .page-head h1 { hyphens: manual; }
@media (max-width: 560px) { .hx-shot img, .pane img, .fx .shot img { aspect-ratio: 1 / 1; object-fit: cover; object-position: 24% 0; } }

/* ---------- Features: one row per area, picture beside ---------- */
.fxs { display: grid; gap: 72px; }
.fx { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 56px; align-items: center; }
.fx:nth-child(even) { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); }
.fx:nth-child(even) .fx-text { order: 2; }
.fx-text h3 { font-size: clamp(24px, 2.6vw, 32px); line-height: 1.15; font-weight: 600; margin-top: 8px; }
.fx-text .ico { margin-bottom: 16px; }
.chips { list-style: none; margin: 20px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { font-size: 14px; font-weight: 500; padding: 6px 12px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); }
.fx .chips li::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--tc); margin-right: 8px; vertical-align: 2px; }
@media (max-width: 900px) { .fxs { gap: 56px; } .fx, .fx:nth-child(even) { grid-template-columns: minmax(0, 1fr); gap: 24px; } .fx:nth-child(even) .fx-text { order: 0; } }

/* ---------- Page heads with a picture ---------- */
main { overflow-x: clip; }
.page-head { position: relative; }
.page-head.has-art { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); gap: 48px; align-items: center; padding-block: 56px 64px; }
.page-head.has-art::before { content: ""; position: absolute; z-index: -1; top: 0; bottom: 0; left: 50%; width: 100vw; transform: translateX(-50%); pointer-events: none;
  background: radial-gradient(520px 360px at 85% 20%, rgba(185,201,245,.55), transparent 70%), radial-gradient(460px 320px at 8% 90%, rgba(243,201,168,.38), transparent 70%); }
.page-head.has-art::after { content: ""; position: absolute; z-index: -1; top: 0; bottom: 0; left: 50%; width: 100vw; transform: translateX(-50%); pointer-events: none; opacity: .45;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(ellipse 45% 70% at 75% 45%, #000 15%, transparent 75%); mask-image: radial-gradient(ellipse 45% 70% at 75% 45%, #000 15%, transparent 75%); }
.ph-art { position: relative; margin: 0; min-height: 300px; display: grid; place-items: center; }
.ph-chip { position: absolute; z-index: 2; display: inline-flex; align-items: center; gap: 8px; background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: 8px 14px; font-size: 13.5px; font-weight: 500; box-shadow: 0 10px 28px rgba(38,34,31,.12); white-space: nowrap; animation: floaty 6s ease-in-out infinite; }
.ph-chip .dot { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.dot.ok { background: var(--ok); } .dot.ask { background: var(--ask); } .dot.dec { background: var(--dec-bar); }
.ph-chip.c-b { animation-delay: -2s; } .ph-chip.c-c { animation-delay: -4s; }
/* inbox screenshot */
.art-shot .shot { width: 100%; transform: perspective(1400px) rotateY(-9deg) rotateX(3deg); }
.art-shot .c-a { left: -18px; top: 22%; } .art-shot .c-b { right: -10px; bottom: 14%; }
/* fanned screenshots */
.art-fan { min-height: 340px; }
.art-fan .shot { position: absolute; width: 74%; box-shadow: 0 20px 50px -12px rgba(38,34,31,.25); }
.art-fan .f1 { transform: translate(-22%, -8%) rotate(-6deg); }
.art-fan .f2 { transform: translate(20%, 0) rotate(5deg); }
.art-fan .f3 { transform: translate(0, 22%); }
/* shield, orb, card, road, chat */
.art-shield img { width: min(300px, 80%); height: auto; }
.art-shield .c-a { left: 0; top: 18%; } .art-shield .c-b { right: 0; top: 46%; } .art-shield .c-c { left: 8%; bottom: 8%; }
.big-orb { width: 180px; height: 180px; border-radius: 50%; background: radial-gradient(circle at 32% 28%, #FFFFFF 0%, #FFFFFF 10%, #B9C9F5 50%, #8A9BE0 78%, #F3C9A8 100%); box-shadow: 0 0 0 22px rgba(238,242,252,.8), 0 0 0 44px rgba(238,242,252,.4), 0 24px 60px rgba(61,99,207,.3); animation: orbBob 5s ease-in-out infinite; }
@keyframes orbBob { 50% { transform: translateY(-6px) scale(1.02); } }
.big-orb.sm { position: absolute; width: 110px; height: 110px; right: 4%; top: 2%; box-shadow: 0 0 0 16px rgba(238,242,252,.7), 0 18px 40px rgba(61,99,207,.25); }
.art-orb .c-a { left: 2%; top: 14%; } .art-orb .c-b { right: 0; top: 44%; } .art-orb .c-c { left: 10%; bottom: 8%; }
.pcard { position: relative; z-index: 1; background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 28px; width: min(340px, 100%); box-shadow: 0 2px 4px rgba(38,34,31,.04), 0 30px 60px -12px rgba(38,34,31,.18); display: grid; justify-items: start; gap: 4px; transform: rotate(-2deg); }
.pc-av { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; font-size: 22px; font-weight: 600; color: var(--white); background: linear-gradient(135deg, var(--accent), #8A5BC9); margin-bottom: 10px; }
.pcard b { font-size: 20px; font-weight: 600; }
.pcard small { color: var(--text-2); font-size: 14px; }
.pc-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.pc-tags span { font-size: 12.5px; font-weight: 500; padding: 4px 10px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); }
.art-road img { width: 100%; height: auto; }
.rl { position: absolute; font-size: 13px; font-weight: 600; background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: 4px 10px; box-shadow: var(--shadow); white-space: nowrap; }
.rl.r1 { left: 4%; top: 64%; color: var(--accent); } .rl.r2 { left: 32%; top: 47%; } .rl.r3 { left: 58%; top: 22%; } .rl.r4 { right: 0; top: 0; }
.art-chat { gap: 12px; justify-items: stretch; align-content: center; }
.art-chat .big-orb { width: 96px; height: 96px; justify-self: center; margin-bottom: 18px; box-shadow: 0 0 0 14px rgba(238,242,252,.8), 0 16px 40px rgba(61,99,207,.28); }
.art-chat .bubble { font-size: 15px; max-width: 34ch; box-shadow: var(--shadow); }
.art-chat .bubble.me { justify-self: end; }
@media (max-width: 900px) {
  .page-head.has-art { grid-template-columns: minmax(0, 1fr); gap: 32px; padding-block: 48px 40px; }
  .ph-art { min-height: 260px; max-width: 520px; width: 100%; justify-self: center; }
}
@media (max-width: 480px) {
  .ph-chip { font-size: 12.5px; padding: 6px 11px; }
  .art-shot .c-a { left: 0; top: auto; bottom: -14px; } .art-shot .c-b { display: none; }
  .art-fan { min-height: 240px; }
  .art-fan .shot { width: 70%; }
  .art-fan .f1 { transform: translate(-18%, -8%) rotate(-5deg); }
  .art-fan .f2 { transform: translate(17%, 0) rotate(4deg); }
  .big-orb { width: 130px; height: 130px; }
  .rl { font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) { .ph-chip, .big-orb { animation: none; } }

/* story: a line joins the chapters */
.story::before { content: ""; position: absolute; left: 21px; top: 22px; bottom: 40px; width: 2px; border-radius: 2px; background: linear-gradient(var(--t-blue), var(--t-amber), var(--t-teal), var(--t-violet)); opacity: .4; }
.chapter .when .ico { position: relative; z-index: 1; box-shadow: 0 0 0 6px var(--page); }
.chapter { border-top: 0; }
@media (max-width: 700px) { .story::before { display: none; } }
.cta-x p { margin-top: -10px; }

/* More room (Igor 2026-11-22): larger spacing everywhere, so the content can breathe */
:root { --sp-sec: clamp(72px, 8vw, 120px); --sp-head: clamp(56px, 7vw, 104px); }
section { padding-block: var(--sp-sec); }
.page-head, .page-head.has-art { padding-block: var(--sp-head) clamp(56px, 6vw, 88px); }
.page-head h1 { margin-top: 16px; }
.page-head p { margin-top: 20px; }
.page-first { padding-top: clamp(48px, 5.5vw, 80px); }
.hx { padding-block: var(--sp-head) var(--sp-sec); }
.hx-stage { margin-top: clamp(48px, 6vw, 80px); }
.sec-head { margin-bottom: clamp(40px, 4.5vw, 64px); }
.sec-head h2 { margin-top: 12px; }
.sec-head p { margin-top: 16px; }
.oneline { margin-top: clamp(40px, 4.5vw, 64px); }
.show-tabs { margin-bottom: clamp(28px, 3.5vw, 48px); }
.fxs { gap: clamp(88px, 10vw, 144px); }
.fx, .fx:nth-child(even) { column-gap: clamp(40px, 5.5vw, 88px); }
.cases-in { gap: clamp(40px, 6vw, 96px); }
.cta-x { padding: clamp(48px, 6vw, 88px) clamp(20px, 4vw, 56px); gap: 26px; }
.principles { gap: 20px; }
.onb-more { gap: 20px; margin-top: clamp(48px, 5vw, 72px); }
.gets { margin-top: 48px; gap: 16px; }
.steps-list { gap: 22px; }
.chapter { padding-block: 40px; }
.legal { gap: 20px; }
.pilot-grid .gets { gap: 20px; }
.pilot-grid { column-gap: clamp(40px, 6vw, 96px); }
.pipe { margin-bottom: 28px; }
.flow { gap: 20px; }
@media (max-width: 520px) { .gets { grid-template-columns: minmax(0, 1fr); } .gets > div { padding: 24px 20px; } }
.phases.big { column-gap: 12px; } .phases.big li { margin-right: 0; }
