/* Rüger Solutions: Bausteine der Leistungsseiten Automatisierung & KI und Individuelle Software.
   Baut auf main.css und agency.css auf. */

/* =========================================================
   Seitenkopf
   ========================================================= */
/* Eigene Bewegungen der Leistungsseiten; seit dem Umbau der Startseite nicht mehr in agency.css. */
@keyframes fade-up { from { opacity: 0; transform: translateY(6px); } }
@keyframes pop-in { from { opacity: 0; transform: translateY(10px) scale(0.96); } }
@keyframes spin-plain { to { transform: rotate(360deg); } }

.p-hero { position: relative; isolation: isolate; padding: 150px 0 clamp(60px, 7vw, 100px); overflow: hidden; }
.page-sub .section { padding: clamp(90px, 10vw, 150px) 0; }
.page-sub .rules-sec { padding-bottom: clamp(40px, 5vw, 70px); }
.p-hero .hero__grid-lines {
  -webkit-mask-image: radial-gradient(ellipse 60% 60% at 70% 40%, #000 0%, transparent 72%);
  mask-image: radial-gradient(ellipse 60% 60% at 70% 40%, #000 0%, transparent 72%);
  opacity: 0.4;
}
.p-hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr); gap: clamp(36px, 5vw, 84px); align-items: center; }
.p-hero h1 { margin-top: 26px; font-size: clamp(3rem, 5.4vw, 6rem); line-height: 0.93; letter-spacing: -0.06em; }
.p-hero__lead { max-width: 33em; margin-top: 28px; color: var(--muted); font-size: clamp(1.04rem, 1.28vw, 1.18rem); line-height: 1.6; }
.p-hero .hero__facts { margin-top: 52px; max-width: 600px; }
.p-hero--stack .p-hero__text--wide h1 { max-width: 13em; font-size: clamp(3rem, 6.4vw, 7rem); }
.p-hero__split { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 24px 60px; align-items: end; margin-top: 4px; }
.p-hero__split .hero__actions { justify-content: flex-end; margin-top: 0; padding-bottom: 6px; }

/* =========================================================
   Automatisierung: Prinzip-Grafik
   ========================================================= */
.flow { margin: 0; }
.flow__canvas { position: relative; width: 100%; aspect-ratio: 560 / 470; }
.flow__svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.flow__paths path { fill: none; stroke: var(--line-2); stroke-width: 1.3; }
.flow__dots circle { fill: var(--text); }
.flow__head { position: absolute; top: -34px; color: var(--dim); font: 400 10.5px/1 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; }
.flow__head--in { left: 0; }
.flow__head--out { right: 0; text-align: right; }
.flow__node {
  position: absolute;
  top: calc(var(--y) / 470 * 100%);
  width: calc(176 / 560 * 100%);
  display: grid; grid-template-columns: 34px 1fr; column-gap: 11px; align-items: center;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--bg-2);
  transform: translateY(-50%);
  box-shadow: 0 20px 40px -30px #000;
}
.flow__node--in { left: 0; }
.flow__node--out { right: 0; border-color: var(--line-2); }
.flow__node svg { grid-row: span 2; width: 34px; height: 34px; padding: 8px; border-radius: 10px; background: rgba(255, 255, 255, 0.06); }
.flow__node--out svg { background: var(--text); color: var(--ink); }
.flow__node b { font-size: 14px; font-weight: 500; letter-spacing: -0.01em; line-height: 1.2; }
.flow__node small { color: var(--dim); font-size: 12px; line-height: 1.3; }
.flow__core {
  position: absolute; left: 50%; top: calc(235 / 470 * 100%);
  display: grid; place-items: center;
  width: calc(108 / 560 * 100%); aspect-ratio: 1;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  background: var(--bg);
  transform: translate(-50%, -50%);
  box-shadow: 0 0 0 10px rgba(11, 10, 9, 0.9), 0 0 0 11px var(--line);
}
.flow__core::after { content: ""; position: absolute; inset: -22px; border: 1px dashed var(--line-2); border-radius: 50%; animation: spin-plain 26s linear infinite; }
.flow__core svg { width: 46%; height: 46%; stroke-width: 4.2; }
.flow__core-label { position: absolute; left: 50%; top: calc(318 / 470 * 100%); color: var(--muted); font: 400 10.5px/1.6 var(--mono); letter-spacing: 0.12em; text-align: center; text-transform: uppercase; transform: translateX(-50%); }
.flow__caption { max-width: 34em; margin: 30px auto 0; color: var(--dim); font-size: 14px; text-align: center; }

/* =========================================================
   Automatisierung: Beispielabläufe
   ========================================================= */
.scen { overflow: hidden; border: 1px solid var(--line); border-radius: 30px; background: var(--bg-2); }
.scen__tabs { display: flex; gap: 4px; padding: 8px; overflow-x: auto; border-bottom: 1px solid var(--line); scrollbar-width: none; }
.scen__tabs::-webkit-scrollbar { display: none; }
.scen__tabs button, .bl-tabs button, .tabs-btn {
  flex: none;
  padding: 12px 20px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font: 500 15px/1 var(--sans);
  cursor: pointer;
  transition: background 0.3s, color 0.3s;
}
.scen__tabs button:hover { color: var(--text); }
.scen__tabs button[aria-selected="true"] { background: var(--text); color: var(--ink); }
.scen__panel { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr); }
.scen__panel[hidden] { display: none; }
.scen__panel:focus-visible { outline: 2px solid var(--text); outline-offset: -6px; }
.scen__col { padding: clamp(24px, 3vw, 44px); }
.scen__col--after { border-left: 1px solid var(--line); background: rgba(255, 255, 255, 0.02); }
.scen__label { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 22px; }
.scen__label span { color: var(--dim); font: 400 12px/1 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; }
.scen__label b { font: 500 clamp(1.6rem, 2.4vw, 2.2rem)/1 var(--sans); letter-spacing: -0.04em; }
.scen__col--before .scen__label b { color: var(--muted); }
.scen__col ol { display: grid; margin: 0; padding: 0; list-style: none; counter-reset: s; }
.scen__col li { position: relative; display: flex; align-items: center; gap: 14px; padding: 13px 0; border-top: 1px solid var(--line); font-size: 15.5px; line-height: 1.45; counter-increment: s; }
.scen__col li::before { content: counter(s, decimal-leading-zero); flex: none; width: 24px; color: var(--dim); font: 400 12px/1 var(--mono); }
.scen__col--before li { color: var(--muted); }
.scen__col--after li em { margin-left: auto; padding: 5px 9px; border: 1px solid var(--line-2); border-radius: 999px; color: var(--muted); font: 400 10.5px/1 var(--mono); font-style: normal; letter-spacing: 0.06em; white-space: nowrap; }
.scen__col--after li.is-you em { border-color: var(--text); background: var(--text); color: var(--ink); }
.scen__col--after li:not(.is-you) { color: var(--muted); }
.scen__col--after li.is-you { color: var(--text); font-weight: 500; }
.scen__note { margin-top: 18px; padding: 14px 16px; border-radius: 14px; background: rgba(255, 255, 255, 0.04); color: var(--muted); font-size: 14px; }
.scen__note a { color: var(--text); }
.scen__fine { padding: 14px clamp(24px, 3vw, 44px); border-top: 1px solid var(--line); color: var(--dim); font: 400 11.5px/1.5 var(--mono); }
.scen__panel:not([hidden]) li { animation: fade-up 0.5s var(--ease-out) both; }
.scen__panel:not([hidden]) li:nth-child(2) { animation-delay: 0.04s; }
.scen__panel:not([hidden]) li:nth-child(3) { animation-delay: 0.08s; }
.scen__panel:not([hidden]) li:nth-child(4) { animation-delay: 0.12s; }
.scen__panel:not([hidden]) li:nth-child(5) { animation-delay: 0.16s; }
.scen__panel:not([hidden]) li:nth-child(6) { animation-delay: 0.2s; }

/* =========================================================
   Automatisierung: Ablage sortieren
   ========================================================= */
.sorter-sec { border-radius: 44px; }
.sorter-sec__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(36px, 5vw, 90px); align-items: center; }
.sorter-sec__text { display: grid; justify-items: start; gap: 24px; }
.sorter-sec__text h2 { font-size: clamp(2.4rem, 4.6vw, 4.3rem); }
.sorter-sec__text > p:not(.eyebrow) { max-width: 30em; color: var(--muted); font-size: 1.05rem; }
.sorter-sec__points { display: grid; gap: 0; width: 100%; margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.sorter-sec__points li { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.sorter-sec__points li::before { content: ""; flex: none; width: 18px; height: 18px; margin-top: 2px; border-radius: 50%; background: rgba(18, 16, 14, 0.08) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2312100e' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center / 11px no-repeat; }
.sorter-sec__points i { font-family: var(--mono); font-size: 0.88em; font-style: normal; }
.sorter__btn svg { width: 18px; height: 18px; transition: transform 0.6s var(--ease-out); }
.sorter__btn[aria-pressed="true"] svg { transform: rotate(-180deg); }
.sorter {
  position: relative;
  height: 470px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--paper-card);
  box-shadow: 0 50px 90px -60px rgba(18, 16, 14, 0.6);
}
.sorter__cols { position: absolute; inset: 22px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; opacity: 0; transition: opacity 0.5s var(--ease); }
.sorter.is-sorted .sorter__cols { opacity: 1; transition-delay: 0.1s; }
.sorter__col { border: 1px dashed var(--line-2); border-radius: 18px; background: rgba(255, 255, 255, 0.5); }
.sorter__col p { display: flex; flex-wrap: wrap; align-items: center; gap: 5px; padding: 14px 14px 0; font-size: 12.5px; font-weight: 500; line-height: 1.3; }
.sorter__col p svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linejoin: round; }
.sorter__col p i { color: var(--dim); font-style: normal; }
.sorter__docs { position: absolute; inset: 0; }
.doc-card {
  position: absolute; left: 0; top: 0;
  display: flex; align-items: center; gap: 9px;
  width: 210px;
  padding: 12px 13px;
  border: 1px solid rgba(18, 16, 14, 0.1);
  border-radius: 14px;
  background: #fff;
  color: var(--ink);
  font: 400 11.5px/1.35 var(--mono);
  box-shadow: 0 16px 30px -20px rgba(18, 16, 14, 0.55);
  transform: translate(var(--tx, 0), var(--ty, 0)) rotate(var(--tr, 0deg));
  transition: transform 0.9s var(--ease-out), width 0.9s var(--ease-out), box-shadow 0.4s;
  transition-delay: var(--td, 0s);
}
.doc-card svg { flex: none; width: 18px; height: 18px; color: var(--ink-muted); }
.doc-card span { min-width: 0; overflow-wrap: anywhere; transition: opacity 0.25s; }
.doc-card.is-swapping span { opacity: 0; }
.sorter.is-sorted .doc-card { box-shadow: 0 6px 14px -10px rgba(18, 16, 14, 0.4); }
.sorter.is-sorted .doc-card svg { color: var(--ink); }
.sorter__state { position: absolute; left: 22px; bottom: 18px; color: var(--dim); font: 400 11px/1 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; }
.sorter__state-clean, .sorter.is-sorted .sorter__state-messy { display: none; }
.sorter.is-sorted .sorter__state-clean { display: inline; }

/* =========================================================
   Automatisierung: Regeln und KI
   ========================================================= */
.rules-sec { padding-bottom: clamp(40px, 5vw, 70px); }
.rules { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.rules__card { display: flex; flex-direction: column; gap: 14px; padding: clamp(24px, 2.6vw, 34px); border: 1px solid var(--line); border-radius: 26px; background: var(--bg-2); }
.rules__kicker { color: var(--dim); font: 400 12px/1 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; }
.rules__card h3 { font-size: clamp(1.4rem, 2vw, 1.75rem); letter-spacing: -0.035em; line-height: 1.12; }
.rules__card ul { display: grid; margin: 4px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.rules__card li { padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.rules__card > p:not(.rules__kicker) { color: var(--muted); font-size: 15px; }
.rules__foot { margin-top: auto; padding-top: 6px; color: var(--muted); font-size: 14px !important; }
.rules__card--you { border-color: transparent; background: var(--text); color: var(--ink); }
.rules__card--you .rules__kicker { color: var(--ink-muted); }
.rules__card--you > p:not(.rules__kicker) { color: var(--ink-muted); }
.tools { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.4fr); gap: 20px 40px; align-items: start; margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--line); }
.tools p { color: var(--muted); font-size: 15px; }
.tools ul { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.tools li { padding: 8px 13px; border: 1px solid var(--line-2); border-radius: 999px; color: var(--muted); font-size: 13.5px; }

/* =========================================================
   Automatisierung: BauLog
   ========================================================= */
.baulog { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 100px); align-items: center; }
.baulog__stage { position: relative; display: grid; place-items: center; min-height: 640px; border: 1px solid var(--line); border-radius: 32px; background: radial-gradient(90% 80% at 40% 30%, #22201c, #121110 70%); overflow: hidden; }
.bl-phone {
  position: relative; z-index: 2;
  width: 290px; height: 560px;
  margin-right: 200px;
  padding: 10px;
  border-radius: 46px;
  background: linear-gradient(150deg, #34302b, #0d0c0b 55%);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.09), 0 60px 100px -40px #000;
}
.bl-phone__screen { height: 100%; overflow: hidden; border-radius: 37px; background: #f2ece2; color: var(--ink); padding: 46px 16px 16px; clip-path: inset(0 round 37px); isolation: isolate; }
.bl-tabs { display: flex; gap: 3px; margin-bottom: 18px; padding: 4px; border-radius: 999px; background: rgba(18, 16, 14, 0.07); }
.bl-tabs button { flex: 1; padding: 9px 6px; color: var(--ink-muted); font-size: 12.5px; }
.bl-tabs button[aria-selected="true"] { background: var(--ink); color: var(--paper); }
.bl-panel[hidden] { display: none; }
.bl-panel:not([hidden]) > * { animation: fade-up 0.45s var(--ease-out) both; }
.bl-panel:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; border-radius: 10px; }
.bl-k { color: var(--ink-muted); font: 400 10px/1 var(--mono); }
.bl-h { margin: 6px 0 14px; font: 600 19px/1.1 var(--sans); letter-spacing: -0.03em; }
.bl-proj { margin-bottom: 10px; padding: 10px 12px; border-radius: 12px; background: #fff; font-size: 13px; font-weight: 500; }
.bl-proj small { display: block; color: var(--ink-muted); font: 400 9.5px/1.2 var(--mono); letter-spacing: 0.06em; }
.bl-times, .bl-sum { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin: 0 0 10px; }
.bl-sum { grid-template-columns: repeat(2, 1fr); }
.bl-times div, .bl-sum div { padding: 9px 10px; border-radius: 12px; background: #fff; }
.bl-times dt, .bl-sum dt { color: var(--ink-muted); font: 400 9.5px/1 var(--mono); }
.bl-times dd, .bl-sum dd { margin: 5px 0 0; font: 600 15px/1 var(--sans); letter-spacing: -0.02em; }
.bl-sum dd { font-size: 22px; }
.bl-row { display: flex; justify-content: space-between; padding: 9px 2px; border-top: 1px solid rgba(18, 16, 14, 0.09); font-size: 12.5px; }
.bl-row span { color: var(--ink-muted); }
.bl-row b { font-weight: 500; }
.bl-row--ok b { display: inline-flex; align-items: center; gap: 6px; }
.bl-row--ok b::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--ok); }
.bl-text { padding: 12px; border-radius: 12px; background: #fff; font-size: 13px; line-height: 1.5; }
.bl-badge { display: inline-block; margin-top: 8px; padding: 5px 8px; border-radius: 8px; background: rgba(18, 16, 14, 0.07); color: var(--ink-muted); font: 400 10px/1 var(--mono); }
.bl-sign { margin-top: 14px; color: var(--ink-muted); font: 400 10px/1 var(--mono); }
.bl-sign i { display: block; height: 44px; margin-top: 6px; border-bottom: 1px solid rgba(18, 16, 14, 0.3); background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 40'%3E%3Cpath d='M6 30c10-18 16-20 18-8s8 4 12-6 8-8 8 2 6 10 14-4 10-6 12 2 8 8 16 0' fill='none' stroke='%2312100e' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E") left bottom / 120px 40px no-repeat; }
.bl-btn { margin-top: 14px; padding: 12px; border-radius: 12px; background: var(--ink); color: var(--paper); font: 500 13px/1 var(--sans); text-align: center; }
.bl-paper {
  position: absolute; right: 8%; top: 50%; z-index: 1;
  width: 230px;
  padding: 24px 22px;
  background: var(--paper-doc);
  color: var(--ink);
  box-shadow: 0 40px 70px -30px #000;
  transform: translateY(-46%) rotate(5deg);
  transition: transform 0.8s var(--ease-out);
}
.baulog__stage.is-report .bl-paper { transform: translateY(-50%) rotate(1.5deg) scale(1.04); }
.bl-paper__head { display: flex; justify-content: space-between; padding-bottom: 10px; border-bottom: 1px solid rgba(18, 16, 14, 0.2); font: 400 9px/1 var(--mono); letter-spacing: 0.12em; text-transform: uppercase; }
.bl-paper__head b { font-weight: 600; }
.bl-paper__title { margin-top: 16px; font: 600 20px/1.05 var(--sans); letter-spacing: -0.03em; }
.bl-paper__date { margin: 6px 0 14px; color: var(--ink-muted); font-size: 11px; }
.bl-paper dl { margin: 0 0 14px; }
.bl-paper dl div { display: flex; justify-content: space-between; padding: 6px 0; border-top: 1px solid rgba(18, 16, 14, 0.1); font-size: 11.5px; }
.bl-paper dt { color: var(--ink-muted); }
.bl-paper dd { margin: 0; font-weight: 500; }
.bl-paper > i { display: block; height: 5px; margin-bottom: 8px; border-radius: 3px; background: rgba(18, 16, 14, 0.14); }
.bl-paper > i.short { width: 62%; }
.bl-paper__photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; margin-top: 14px; }
.bl-paper__photos span { aspect-ratio: 1; background: linear-gradient(135deg, #cdbfa8, #8f7f66); }
.bl-paper__photos span:nth-child(2) { background: linear-gradient(135deg, #b9b3a5, #6f6a5d); }
.bl-paper__photos span:nth-child(3) { background: linear-gradient(135deg, #c9c0ae, #9a8d75); }
.baulog__fine { position: absolute; left: 22px; bottom: 18px; color: var(--dim); font: 400 11px/1 var(--mono); }
.baulog__story { display: grid; gap: 30px; }
.baulog__word { font-size: clamp(4rem, 8vw, 7.8rem); font-weight: 600; letter-spacing: -0.07em; line-height: 0.85; }
.baulog__points { display: grid; margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.baulog__points li { display: grid; grid-template-columns: 52px 1fr; padding: 20px 0; border-bottom: 1px solid var(--line); }
.baulog__points span { color: var(--dim); font: 400 12px/1.6 var(--mono); }
.baulog__points h3 { font-size: 1.3rem; letter-spacing: -0.03em; }
.baulog__points p { margin-top: 6px; color: var(--muted); font-size: 15px; }
.baulog__transfer { display: grid; justify-items: start; gap: 12px; padding: 22px; border: 1px solid var(--line); border-radius: 20px; background: var(--bg-2); }
.baulog__transfer p { color: var(--muted); font-size: 15px; }

/* =========================================================
   Abschlussband der Leistungsseiten
   ========================================================= */
.p-close { position: relative; padding: clamp(110px, 13vw, 190px) 0; overflow: hidden; border-top: 1px solid var(--line); text-align: center; }
.p-close::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 92px 92px; -webkit-mask-image: radial-gradient(ellipse 50% 60% at 50% 50%, #000, transparent 75%); mask-image: radial-gradient(ellipse 50% 60% at 50% 50%, #000, transparent 75%); opacity: 0.4; }
.p-close .wrap { display: grid; justify-items: center; gap: 24px; }
.p-close h2 { max-width: 11em; font-size: clamp(2.6rem, 6vw, 6rem); line-height: 0.95; letter-spacing: -0.055em; }
.p-close p:not(.eyebrow) { max-width: 32em; color: var(--muted); font-size: clamp(1.04rem, 1.3vw, 1.18rem); }
.p-close__actions { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 16px 30px; margin-top: 8px; }

/* =========================================================
   KI & Wissen: Vorführung
   ========================================================= */
.kdemo { margin-top: clamp(50px, 6vw, 80px); overflow: hidden; border: 1px solid var(--line-2); border-radius: 26px; background: var(--bg-2); box-shadow: 0 70px 120px -60px #000; }
.kdemo__bar { display: flex; align-items: center; gap: 16px; padding: 12px 18px; border-bottom: 1px solid var(--line); background: rgba(255, 255, 255, 0.025); }
.kdemo__bar span { display: flex; gap: 6px; }
.kdemo__bar span i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255, 255, 255, 0.16); }
.kdemo__bar b { font-size: 13.5px; font-weight: 500; }
.kdemo__bar em { margin-left: auto; color: var(--dim); font: 400 11px/1 var(--mono); font-style: normal; }
.kdemo__body { display: grid; grid-template-columns: minmax(250px, 0.62fr) minmax(0, 1.4fr); min-height: 470px; }
.kdemo__tree { padding: 20px 14px; border-right: 1px solid var(--line); background: rgba(0, 0, 0, 0.15); }
.kdemo__label { margin: 0 8px 12px; color: var(--dim); font: 400 10.5px/1 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; }
.k-tree { margin: 0; padding: 0; list-style: none; }
.k-tree li { display: flex; align-items: center; gap: 8px; padding: 6px 8px; border-radius: 8px; color: var(--muted); font-size: 13px; white-space: nowrap; transition: background 0.4s, color 0.4s, box-shadow 0.4s; }
.k-tree svg { flex: none; width: 15px; height: 15px; }
.k-tree .l2 { padding-left: 26px; }
.k-tree .l3 { padding-left: 44px; }
.k-tree li.is-hit { background: rgba(240, 235, 225, 0.12); color: var(--text); box-shadow: inset 2px 0 0 var(--text); }
.k-tree li.is-dim { opacity: 0.45; }
.kdemo__chat { display: flex; flex-direction: column; min-width: 0; }
.kdemo__log { flex: 1; display: flex; flex-direction: column; gap: 12px; max-height: 420px; padding: 24px clamp(18px, 2.4vw, 32px); overflow-y: auto; scrollbar-width: thin; }
.kdemo__hello { margin: auto 0; color: var(--dim); font-size: 15px; text-align: center; }
.kdemo__log .bub { max-width: 80%; font-size: 15px; animation: pop-in 0.45s var(--ease-out) both; }
.kdemo__log .bub--a { min-height: 44px; }
.kdemo__log .bub--a .typing { opacity: 1; animation: none; }
.k-src { display: inline-flex; align-items: center; gap: 7px; margin-top: 10px; padding: 7px 10px; border: 1px solid var(--line-2); border-radius: 10px; font: 400 11.5px/1.2 var(--mono); }
.k-src svg { width: 14px; height: 14px; }
.kdemo__asks { display: flex; flex-wrap: wrap; gap: 8px; padding: 16px clamp(18px, 2.4vw, 32px) 20px; border-top: 1px solid var(--line); }
.kdemo__asks button { padding: 10px 14px; border: 1px solid var(--line-2); border-radius: 999px; background: transparent; color: var(--text); font: 400 13.5px/1.2 var(--sans); text-align: left; cursor: pointer; transition: background 0.3s, color 0.3s, border-color 0.3s; }
.kdemo__asks button:hover { border-color: var(--text); }
.kdemo__asks button[aria-pressed="true"] { border-color: var(--text); background: var(--text); color: var(--ink); }
.kdemo__asks button:disabled { cursor: progress; }

/* So funktioniert es */
.how { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; }
.how li { display: flex; flex-direction: column; gap: 12px; padding: clamp(22px, 2.4vw, 32px); border: 1px solid var(--line); border-radius: 26px; background: var(--bg-2); }
.how__visual { position: relative; display: grid; align-content: center; gap: 10px; height: 150px; margin-bottom: 10px; padding: 18px; border-radius: 18px; background: rgba(255, 255, 255, 0.025); }
.how__file { justify-self: start; padding: 9px 12px; border-radius: 10px; background: #fff; color: var(--ink); font: 400 12px/1 var(--mono); box-shadow: 0 10px 20px -14px #000; }
.how__file--a { opacity: 0.45; text-decoration: line-through; transform: rotate(-3deg); }
.how__file--b { justify-self: end; }
.how__lock, .how__q, .how__src { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border: 1px solid var(--line-2); border-radius: 12px; font-size: 13px; }
.how__lock svg, .how__q svg, .how__src svg { flex: none; width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.how__lock--off { color: var(--dim); border-style: dashed; }
.how__q { border-radius: 999px; }
.how__src { justify-self: start; font: 400 11.5px/1 var(--mono); background: rgba(255, 255, 255, 0.05); }
.how__num { color: var(--dim); font: 500 1.9rem/1 var(--sans); letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.how h3 { font-size: 1.6rem; letter-spacing: -0.04em; }
.how p:not(.how__file):not(.how__lock):not(.how__q):not(.how__src) { color: var(--muted); font-size: 15px; }

/* Offene Dateien */
.open-sec { border-radius: 44px; }
.open-sec__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 100px); align-items: center; }
.open-sec__text { display: grid; gap: 24px; }
.open-sec__text h2 { font-size: clamp(2.4rem, 4.6vw, 4.3rem); }
.open-sec__text > p:not(.eyebrow) { max-width: 32em; color: var(--muted); font-size: 1.05rem; }
.open-sec__me { padding: 18px 20px; border-left: 2px solid var(--ink); background: var(--paper-card); border-radius: 0 16px 16px 0; font-size: 15.5px !important; }
.open-sec__me b { color: var(--ink); font-weight: 500; }
.open-list { overflow: hidden; border: 1px solid var(--line); border-radius: 24px; background: var(--paper-card); }
.open-list p { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 16px 22px; border-top: 1px solid var(--line); font-size: 14px; }
.open-list p:first-child { border-top: 0; }
.open-list b { display: flex; align-items: center; gap: 10px; font: 400 13px/1.3 var(--mono); }
.open-list span { color: var(--muted); text-align: right; }
.open-list svg { flex: none; width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linejoin: round; }
.open-list__head { background: rgba(18, 16, 14, 0.04); color: var(--dim); font: 400 11px/1 var(--mono) !important; letter-spacing: 0.12em; text-transform: uppercase; }
.open-list__head span { color: var(--dim); }
.open-list__foot { justify-content: flex-start !important; background: var(--ink); color: var(--paper); font-weight: 500; }

/* Website-Assistent */
.wa-sec__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 100px); align-items: center; }
.wa-sec__text { display: grid; justify-items: start; gap: 24px; }
.wa-sec__text h2 { font-size: clamp(2.4rem, 4.6vw, 4.3rem); }
.wa-sec__text > p:not(.eyebrow):not(.wa-sec__note) { max-width: 32em; color: var(--muted); font-size: 1.05rem; }
.wa-sec__note { color: var(--dim); font: 400 12px/1.4 var(--mono); }
.checklist { display: grid; width: 100%; margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.checklist li { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.checklist li::before { content: ""; flex: none; width: 18px; height: 18px; margin-top: 2px; border-radius: 50%; background: rgba(240, 235, 225, 0.12) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f0ebe1' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center / 11px no-repeat; }
.wa { position: relative; min-height: 560px; }
.wa__site { position: absolute; inset: 0 18% 8% 0; overflow: hidden; border-radius: 22px; background: var(--m-bg); color: var(--m-fg); box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.06), 0 50px 90px -50px #000; }
.wa__nav { position: relative; z-index: 1; display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; }
.wa__nav b { font: 700 19px/1 var(--m-font); letter-spacing: var(--m-ls); }
.wa__nav span { display: flex; gap: 8px; }
.wa__nav i { width: 22px; height: 3px; border-radius: 2px; background: currentColor; opacity: 0.35; }
.wa__site img { width: 100%; height: calc(100% - 52px); object-fit: cover; }
.wa__title { position: absolute; left: 24px; top: 78px; max-width: 8em; color: #fff; font: 700 clamp(2rem, 3.6vw, 3rem)/0.95 var(--m-font); letter-spacing: var(--m-ls); text-shadow: 0 2px 30px rgba(0, 0, 0, 0.35); }
.wa__widget {
  position: absolute; right: 0; bottom: 0; z-index: 2;
  display: flex; flex-direction: column; gap: 10px;
  width: min(330px, 78%);
  padding: 16px;
  border: 1px solid var(--line-2);
  border-radius: 22px;
  background: rgba(20, 19, 17, 0.94);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  box-shadow: 0 50px 80px -40px #000;
}
.wa__head { display: flex; align-items: center; gap: 8px; padding-bottom: 8px; border-bottom: 1px solid var(--line); font-size: 13px; font-weight: 500; }
.wa__head i { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); }
.wa__widget .bub { max-width: 92%; font-size: 13.5px; }
.wa__cta { align-self: flex-start; padding: 9px 14px; border-radius: 999px; background: #c4673f; color: #fff; font: 600 12.5px/1 var(--sans); }
.wa__fine { position: absolute; left: 0; bottom: 0; color: var(--dim); font: 400 11px/1 var(--mono); }

/* Assistenten im Hintergrund */
.agents { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.agent { display: flex; flex-direction: column; gap: 14px; padding: clamp(24px, 2.6vw, 34px); border: 1px solid var(--line); border-radius: 26px; background: var(--bg-2); }
.agent__icon { width: 48px; height: 48px; padding: 12px; border: 1px solid var(--line-2); border-radius: 14px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.agent h3 { font-size: 1.45rem; letter-spacing: -0.035em; }
.agent p:not(.agent__out) { color: var(--muted); font-size: 15px; }
.agent__out { display: grid; gap: 4px; margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); font-size: 14.5px; }
.agent__out span { color: var(--dim); font: 400 11px/1 var(--mono); letter-spacing: 0.12em; text-transform: uppercase; }
.agents__rule { max-width: 46em; margin-top: 30px; color: var(--muted); font-size: 15.5px; }
.agents__rule b { color: var(--text); font-weight: 500; }
.principles--top { margin-top: 0; }

/* =========================================================
   Software: App-Ansicht im Kopf
   ========================================================= */
.app { position: relative; overflow: hidden; border: 1px solid var(--line-2); border-radius: 22px; background: var(--bg-2); box-shadow: 0 70px 120px -60px #000; }
.app__bar { display: flex; align-items: center; gap: 16px; padding: 11px 16px; border-bottom: 1px solid var(--line); background: rgba(255, 255, 255, 0.025); }
.app__bar span { display: flex; gap: 6px; }
.app__bar span i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255, 255, 255, 0.16); }
.app__bar b { font-size: 12.5px; font-weight: 500; color: var(--muted); }
.app__body { display: grid; grid-template-columns: 138px 1fr; min-height: 440px; }
.app__side { display: grid; align-content: start; gap: 2px; padding: 14px 10px; border-right: 1px solid var(--line); background: rgba(0, 0, 0, 0.15); }
.app__side p { display: flex; align-items: center; gap: 9px; padding: 8px 10px; border-radius: 9px; color: var(--muted); font-size: 13px; }
.app__side p.is-on { background: rgba(255, 255, 255, 0.07); color: var(--text); }
.app__side svg { flex: none; width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.app__brand { margin-bottom: 10px; color: var(--text) !important; font-weight: 500; }
.app__brand svg { stroke-width: 4.5 !important; }
.app__main { padding: 16px; min-width: 0; }
.app__title { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 14px; }
.app__title b { font-size: 19px; font-weight: 500; letter-spacing: -0.03em; }
.app__title span { color: var(--dim); font: 400 11px/1 var(--mono); }
.board { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.board__col { display: flex; flex-direction: column; gap: 7px; min-height: 330px; padding: 9px; border-radius: 14px; background: rgba(255, 255, 255, 0.025); }
.board__head { display: flex; justify-content: space-between; margin-bottom: 2px; color: var(--muted); font: 400 10.5px/1 var(--mono); letter-spacing: 0.06em; text-transform: uppercase; }
.board__head span { color: var(--dim); }
.board__card { display: grid; gap: 2px; min-width: 0; padding: 10px; border: 1px solid var(--line); border-radius: 11px; background: var(--bg-3); font-size: 12px; overflow-wrap: anywhere; hyphens: auto; }
.board__card b { font-weight: 500; font-size: 13px; }
.board__card span { color: var(--muted); }
.board__card i { margin-top: 5px; color: var(--dim); font: 400 10px/1 var(--mono); font-style: normal; }
.board__col--done .board__card { opacity: 0.6; }
.board__card--new { position: relative; border-color: var(--text); box-shadow: 0 16px 30px -16px #000; }
.board__card--new::after { content: ""; position: absolute; top: 9px; right: 9px; width: 7px; height: 7px; border-radius: 50%; background: var(--ok); }
.app.is-in .board__card--new { animation: drop-in 0.8s var(--ease-out) 1.1s both; }
.app__fine { padding: 0 16px 12px; color: var(--dim); font: 400 11px/1 var(--mono); }

/* Was ich baue */
.build { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 32px; margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.build li { display: grid; grid-template-columns: 46px 1fr; column-gap: 18px; row-gap: 6px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.build svg { grid-row: span 2; width: 46px; height: 46px; padding: 11px; border: 1px solid var(--line-2); border-radius: 14px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; transition: background 0.35s, color 0.35s, transform 0.5s var(--ease-out); }
.build li:hover svg { background: var(--text); color: var(--ink); transform: rotate(-6deg); }
.build b { font-size: 17.5px; font-weight: 500; letter-spacing: -0.02em; }
.build span { color: var(--muted); font-size: 14.5px; line-height: 1.55; }
.build__link { display: flex; gap: 16px; align-items: flex-start; max-width: 860px; margin-top: 40px; padding: 22px 24px; border: 1px solid var(--line); border-radius: 20px; background: var(--bg-2); color: var(--muted); font-size: 15.5px; }
.build__link svg { flex: none; width: 24px; height: 24px; margin-top: 1px; fill: none; stroke: var(--text); stroke-width: 1.6; stroke-linecap: round; }
.build__link b { color: var(--text); font-weight: 500; }
.build__link a { color: var(--text); }

/* Software-Check */
.check-sec { border-radius: 44px; }
.check { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: start; }
.calc {
  --text: #f0ebe1; --muted: #a39d92; --dim: #77726a; --line: rgba(240, 235, 225, 0.12); --line-2: rgba(240, 235, 225, 0.2); --on-text: #12100e;
  position: sticky; top: 104px;
  display: grid; gap: 16px;
  padding: clamp(22px, 2.6vw, 34px);
  border-radius: 28px;
  background: var(--bg);
  color: var(--text);
  box-shadow: 0 50px 90px -50px rgba(18, 16, 14, 0.7);
}
.calc__title { font-size: 1.5rem; font-weight: 500; letter-spacing: -0.035em; }
.calc__hint { color: var(--muted); font-size: 14px; }
.calc__rows { display: grid; gap: 8px; }
.calc__row { display: grid; grid-template-columns: minmax(0, 1fr) 150px 36px; gap: 8px; align-items: center; }
.calc__row input { width: 100%; min-width: 0; padding: 12px 14px; border: 1px solid var(--line-2); border-radius: 12px; outline: none; background: rgba(255, 255, 255, 0.04); color: var(--text); font-size: 15px; transition: border-color 0.25s, background 0.25s; }
.calc__row input:focus { border-color: var(--text); background: rgba(255, 255, 255, 0.07); }
.calc__money { position: relative; }
.calc__money input { padding-right: 76px; text-align: right; font-variant-numeric: tabular-nums; -moz-appearance: textfield; }
.calc__money input::-webkit-outer-spin-button, .calc__money input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.calc__money i { position: absolute; right: 12px; top: 50%; color: var(--dim); font: 400 11px/1 var(--mono); font-style: normal; transform: translateY(-50%); pointer-events: none; }
.calc__del { display: grid; place-items: center; width: 36px; height: 36px; border: 0; border-radius: 50%; background: transparent; color: var(--dim); cursor: pointer; transition: background 0.25s, color 0.25s; }
.calc__del:hover { background: rgba(255, 255, 255, 0.08); color: var(--text); }
.calc__del svg, .calc__add svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.calc__add { justify-self: start; display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border: 1px dashed var(--line-2); border-radius: 999px; background: transparent; color: var(--muted); font: 400 14px/1 var(--sans); cursor: pointer; transition: color 0.25s, border-color 0.25s; }
.calc__add:hover { color: var(--text); border-color: var(--text); }
.calc__add[disabled] { opacity: 0.4; cursor: not-allowed; }
.calc__out { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; margin-top: 6px; overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: var(--line); }
.calc__out p { display: grid; gap: 6px; padding: 16px 18px; background: var(--bg); }
.calc__out span { color: var(--dim); font: 400 11px/1 var(--mono); letter-spacing: 0.12em; text-transform: uppercase; }
.calc__out b { font-size: 1.6rem; font-weight: 500; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.calc__big { grid-column: 1 / -1; }
.calc__big b { font-size: clamp(2.6rem, 4.6vw, 3.8rem); letter-spacing: -0.06em; line-height: 1; }
.calc__fine { color: var(--muted); font-size: 13.5px; line-height: 1.55; }
.check__how { display: grid; gap: 40px; }
.check__steps { display: grid; margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.check__steps li { display: grid; grid-template-columns: 52px 1fr; padding: 22px 0; border-bottom: 1px solid var(--line); }
.check__steps span { font: 500 1.6rem/1 var(--sans); letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.check__steps h3 { font-size: 1.35rem; letter-spacing: -0.03em; }
.check__steps p { margin-top: 6px; color: var(--muted); font-size: 15px; }
.outcomes { padding: clamp(22px, 2.6vw, 30px); border: 1px solid var(--line); border-radius: 24px; background: var(--paper-card); }
.outcomes__title { margin-bottom: 14px; color: var(--dim); font: 400 12px/1 var(--mono); letter-spacing: 0.12em; text-transform: uppercase; }
.outcomes ul { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 0; padding: 0; list-style: none; }
.outcomes li { display: grid; gap: 4px; padding: 14px 16px; border-radius: 16px; background: var(--paper); }
.outcomes b { font-size: 16px; font-weight: 500; }
.outcomes span { color: var(--muted); font-size: 13.5px; line-height: 1.45; }

/* Aus eigener Werkstatt */
.own { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.own__card { display: grid; grid-template-rows: 320px auto; overflow: hidden; border: 1px solid var(--line); border-radius: 28px; background: var(--bg-2); }
.own__visual { position: relative; display: grid; place-items: center; overflow: hidden; border-bottom: 1px solid var(--line); background: radial-gradient(110% 100% at 50% 0%, #201d19 0%, #131210 70%); }
.own__text { display: grid; align-content: start; justify-items: start; gap: 10px; padding: clamp(22px, 2.4vw, 32px); }
.own__text h3 { font-size: clamp(1.6rem, 2.4vw, 2.2rem); letter-spacing: -0.04em; line-height: 1.05; }
.own__text > p:not(.proof__kicker) { color: var(--muted); font-size: 15.5px; }
.leads { width: 88%; overflow: hidden; border: 1px solid var(--line-2); border-radius: 16px; background: var(--bg); box-shadow: 0 40px 60px -40px #000; }
.leads__bar { display: flex; justify-content: space-between; padding: 12px 16px; border-bottom: 1px solid var(--line); font-size: 13px; }
.leads__bar b { font-weight: 500; }
.leads__bar span { color: var(--dim); font: 400 11px/1 var(--mono); }
.leads__stats { display: grid; grid-template-columns: repeat(4, 1fr); border-bottom: 1px solid var(--line); }
.leads__stats p { display: grid; gap: 3px; padding: 10px 12px; border-left: 1px solid var(--line); }
.leads__stats p:first-child { border-left: 0; }
.leads__stats b { font-size: 12px; font-weight: 500; }
.leads__stats span { color: var(--dim); font-size: 10.5px; }
.leads__rows p { display: grid; grid-template-columns: 1fr 1fr auto; gap: 12px; align-items: center; padding: 10px 16px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.leads__rows p:first-child { border-top: 0; }
.leads__rows i { display: block; width: var(--w); height: 7px; border-radius: 4px; background: rgba(240, 235, 225, 0.22); }
.mphone--center { left: 50%; margin-left: -105px; top: 48px; }

/* =========================================================
   KI im Betrieb: Wege, KI-Systeme, Schulung
   ========================================================= */
.ways { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: clamp(50px, 6vw, 80px) 0 0; padding: 0; list-style: none; }
.ways a {
  position: relative;
  display: grid; align-content: start; gap: 8px;
  height: 100%;
  padding: 22px 22px 24px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--bg-2);
  color: var(--text);
  text-decoration: none;
  transition: border-color 0.35s, transform 0.5s var(--ease-out);
}
.ways a:hover { border-color: var(--line-2); transform: translateY(-3px); }
.ways span { color: var(--dim); font: 500 1.4rem/1 var(--sans); letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.ways b { margin-top: 6px; font-size: 1.2rem; font-weight: 500; letter-spacing: -0.03em; }
.ways small { color: var(--muted); font-size: 14px; line-height: 1.5; }
.ways i { position: absolute; top: 20px; right: 22px; color: var(--dim); font-style: normal; transition: transform 0.35s var(--ease-out), color 0.3s; }
.ways a:hover i { color: var(--text); transform: translateY(3px); }

.systems { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(36px, 5vw, 90px); align-items: center; }
.brief { overflow: hidden; border: 1px solid var(--line-2); border-radius: 26px; background: var(--bg-2); box-shadow: 0 60px 100px -60px #000; }
.brief__head { display: grid; gap: 6px; padding: 22px 24px 18px; border-bottom: 1px solid var(--line); }
.brief__head span { color: var(--dim); font: 400 11px/1 var(--mono); letter-spacing: 0.06em; }
.brief__head b { font-size: clamp(1.25rem, 1.8vw, 1.5rem); font-weight: 500; letter-spacing: -0.03em; }
.brief__list { display: grid; margin: 0; padding: 0; list-style: none; }
.brief__list li {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "tag em" "title em" "meta em";
  gap: 3px 18px; align-items: center;
  padding: 15px 24px;
  border-bottom: 1px solid var(--line);
}
.brief__tag { grid-area: tag; color: var(--dim); font: 400 10.5px/1 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; }
.brief__list b { grid-area: title; font-size: 15.5px; font-weight: 500; letter-spacing: -0.01em; }
.brief__list small { grid-area: meta; color: var(--muted); font-size: 13px; }
.brief__list em { grid-area: em; padding: 6px 10px; border: 1px solid var(--line-2); border-radius: 999px; color: var(--muted); font: 500 11px/1 var(--mono); font-style: normal; white-space: nowrap; }
.brief__list em.is-good { border-color: var(--text); background: var(--text); color: var(--ink); }
.brief__list .is-out { opacity: 0.45; }
.brief__list .is-out b { text-decoration: line-through; text-decoration-thickness: 1px; }
.brief__foot { display: flex; align-items: center; gap: 10px; padding: 16px 24px; color: var(--muted); font-size: 13.5px; }
.brief__foot span { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); }
.brief.is-in .brief__list li { animation: fade-up 0.6s var(--ease-out) both; }
.brief.is-in .brief__list li:nth-child(1) { animation-delay: 0.3s; }
.brief.is-in .brief__list li:nth-child(2) { animation-delay: 0.45s; }
.brief.is-in .brief__list li:nth-child(3) { animation-delay: 0.6s; }
.brief.is-in .brief__list li:nth-child(4) { animation-delay: 0.75s; }
.systems__text { display: grid; justify-items: start; gap: 20px; }
.systems__text h3 { font-size: clamp(1.8rem, 3vw, 2.6rem); letter-spacing: -0.045em; line-height: 1.02; }
.systems__text > p:not(.systems__me) { max-width: 32em; color: var(--muted); font-size: 1.05rem; }
.systems__me { padding: 16px 18px; border-left: 2px solid var(--text); border-radius: 0 16px 16px 0; background: var(--bg-2); color: var(--muted); font-size: 15px; }
.systems__me b { color: var(--text); font-weight: 500; }
.systems__me a { color: var(--text); }
.systems__more { margin: clamp(60px, 7vw, 90px) 0 20px; color: var(--dim); font: 400 12px/1 var(--mono); letter-spacing: 0.12em; text-transform: uppercase; }
.kdemo--inline { margin-top: 0; }
.how__intro { max-width: 40em; margin: clamp(50px, 6vw, 80px) 0 24px; color: var(--muted); font-size: 1.05rem; }

.train-sec { border-radius: 44px; }
.train { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(30px, 5vw, 80px); align-items: start; }
.train__list { display: grid; margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.train__list li { display: grid; grid-template-columns: 56px 1fr; padding: 24px 0; border-bottom: 1px solid var(--line); }
.train__list span { font: 500 1.6rem/1 var(--sans); letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.train__list h3 { font-size: 1.4rem; letter-spacing: -0.035em; }
.train__list p { max-width: 34em; margin-top: 6px; color: var(--muted); font-size: 15.5px; }
.agenda {
  --text: #f0ebe1; --muted: #a39d92; --dim: #77726a; --line: rgba(240, 235, 225, 0.12); --on-text: #12100e;
  position: sticky; top: 104px;
  display: grid; gap: 18px;
  padding: clamp(22px, 2.6vw, 32px);
  border-radius: 28px;
  background: var(--bg);
  color: var(--text);
  box-shadow: 0 50px 90px -50px rgba(18, 16, 14, 0.7);
}
.agenda__head { display: grid; gap: 6px; }
.agenda__head span { color: var(--dim); font: 400 11px/1 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; }
.agenda__head b { font-size: 1.5rem; font-weight: 500; letter-spacing: -0.035em; }
.agenda ol { display: grid; margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.agenda li { display: grid; grid-template-columns: 60px 1fr; gap: 10px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.agenda time { color: var(--dim); font: 400 12.5px/1.6 var(--mono); }
.agenda__fine { color: var(--dim); font: 400 11.5px/1.5 var(--mono); }
.control-sec .principles { margin-top: 0; }

/* =========================================================
   Responsiv
   ========================================================= */
@media (max-width: 1180px) {
  .p-hero__grid { grid-template-columns: 1fr; }
  .p-hero__text { max-width: 760px; }
  .flow { max-width: 640px; margin-top: 40px; }
  .rules { grid-template-columns: 1fr 1fr; }
  .rules__card--you { grid-column: 1 / -1; }
  .baulog { grid-template-columns: 1fr; }
  .app { max-width: 760px; }
  .build { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .agents { grid-template-columns: 1fr 1fr; }
  .agents .agent:last-child { grid-column: 1 / -1; }
  .ways { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .systems, .train { grid-template-columns: 1fr; }
  .agenda { position: static; max-width: 560px; }
}

@media (max-width: 960px) {
  .p-hero { padding-top: 120px; }
  .p-hero__split { grid-template-columns: 1fr; }
  .p-hero__split .hero__actions { justify-content: flex-start; }
  .scen__panel { grid-template-columns: 1fr; }
  .scen__col--after { border-left: 0; border-top: 1px solid var(--line); }
  .sorter-sec__grid { grid-template-columns: 1fr; }
  .tools { grid-template-columns: 1fr; }
  .kdemo__body { grid-template-columns: 1fr; }
  .kdemo__tree { border-right: 0; border-bottom: 1px solid var(--line); }
  .k-tree { columns: 2; column-gap: 12px; }
  .k-tree li { break-inside: avoid; }
  .how { grid-template-columns: 1fr; }
  .open-sec__grid, .wa-sec__grid { grid-template-columns: 1fr; }
  .check { grid-template-columns: 1fr; }
  .calc { position: static; }
  .own { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .p-hero h1, .p-hero--stack .p-hero__text--wide h1 { font-size: clamp(2.7rem, 12.5vw, 3.9rem); }
  .p-hero .hero__facts li { flex-basis: 100%; grid-template-columns: 1fr auto; align-items: baseline; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .flow__canvas { aspect-ratio: auto; display: grid; gap: 8px; }
  .flow__svg, .flow__core, .flow__core-label { display: none; }
  .flow__head { position: static; margin: 10px 0 4px; }
  .flow__node { position: static; width: 100%; transform: none; }
  .flow__head--out { text-align: left; }
  .flow__head--in { order: 0; }
  .flow__node--in { order: 1; }
  .flow__head--out { order: 2; }
  .flow__node--out { order: 3; }
  .scen__tabs button { padding: 11px 15px; font-size: 14px; }
  .scen__col li { flex-wrap: wrap; }
  .scen__col--after li em { margin-left: 38px; }
  .sorter { height: 520px; }
  .doc-card { width: 168px; font-size: 10.5px; padding: 10px; }
  .sorter__cols { grid-template-columns: 1fr; inset: 16px; }
  .rules { grid-template-columns: 1fr; }
  .baulog__stage { min-height: 600px; }
  .bl-phone { width: 264px; height: 520px; margin-right: 60px; }
  .bl-paper { right: -40px; width: 190px; padding: 18px 16px; }
  .k-tree { columns: 1; }
  .kdemo__log { max-height: 380px; }
  .kdemo__bar em { display: none; }
  .wa { min-height: 480px; }
  .wa__site { inset: 0 0 22% 0; }
  .agents { grid-template-columns: 1fr; }
  .ways { grid-template-columns: 1fr; }
  .brief__list li { grid-template-columns: 1fr; grid-template-areas: "tag" "title" "meta" "em"; }
  .brief__list em { justify-self: start; margin-top: 6px; }
  .train__list li { grid-template-columns: 44px 1fr; }
  .app__body { grid-template-columns: 1fr; }
  .app__side { display: none; }
  .board { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .board__col { min-height: 0; }
  .board__col:nth-child(n+3) { display: none; }
  .build { grid-template-columns: 1fr; }
  .calc__row { grid-template-columns: minmax(0, 1fr) 44px; gap: 6px; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
  .calc__row > input[type="text"] { grid-column: 1 / -1; }
  .calc__row input { min-height: 44px; font-size: 16px; }
  .calc__hint, .calc__fine { font-size: 16px; }
  .calc__del { width: 44px; height: 44px; }
  .calc__add { min-height: 44px; font-size: 16px; }
  .outcomes ul { grid-template-columns: 1fr; }
  .leads { width: 94%; }
  .leads__stats { grid-template-columns: 1fr 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .flow__core::after { animation: none !important; }
  .flow__dots { display: none; }
}
