/* Vision und Startseite „Apps aus Bausteinen“: Vergleich, abspielbare Szene, Fahrplan, Zielgruppen. Baut auf style.css auf. */
.vision .hero { padding-bottom: 24px; }
.vision .hero-word .pixel-text { --cell: clamp(6px, 1.8vw, 18px); }
.vision .hero-copy .eyebrow { margin-bottom: -8px; }

/* Heute vs. mit Toolbrick */
.v-compare { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(420px, 100%), 1fr)); gap: 40px; padding: 64px 0 24px; }
.v-col { display: grid; gap: 16px; align-content: start; }
.v-col h2 { margin: 0; }
.chores { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.chore-col { display: grid; gap: 6px; align-content: start; }
.chore-col b { font-size: 15px; text-transform: uppercase; letter-spacing: .06em; }
.chore-col span { display: block; padding: 8px 10px; font-size: 14px; font-weight: 600; background: #e9e4d6; border: 2px solid #b9b3a3; color: #5c5a55; }
.v-bricks { display: grid; gap: 14px; }
.v-brick {
  display: block; padding: 22px 20px; font-family: var(--mono); font-weight: 800; font-size: 20px;
  border: 3px solid var(--ink); box-shadow: var(--shadow); position: relative;
}
/* Noppen oben auf jedem Baustein */
.v-brick::before {
  content: ""; position: absolute; left: 16px; right: 16px; top: -12px; height: 9px;
  background: radial-gradient(circle at 50% 100%, var(--bc) 0 7px, transparent 8px) 0 0 / 40px 9px repeat-x;
}
.b1 { --bc: var(--y1); }
.b2 { --bc: var(--o1); }
.b3 { --bc: var(--r1); }
.v-brick.b1 { background: var(--y1); }
.v-brick.b2 { background: var(--o1); }
.v-brick.b3 { background: var(--r1); color: #fff; }

/* Szene: Agent links, App rechts */
.v-demo { display: grid; gap: 32px; padding: 80px 0 24px; }
.v-demo .pixel-text, .vision .feature .pixel-text { --cell: clamp(5px, 1.3vw, 13px); }
.v-stage { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(440px, 100%), 1fr)); gap: 32px; align-items: stretch; }
.v-agent, .v-app { border: 3px solid var(--ink); box-shadow: var(--shadow); display: grid; grid-template-rows: auto 1fr auto; min-width: 0; }
.v-bar { display: flex; justify-content: space-between; gap: 12px; padding: 10px 16px; background: var(--ink); color: var(--paper); font-weight: 800; font-size: 14px; text-transform: uppercase; letter-spacing: .08em; }
.v-agent pre { margin: 0; border: 0; min-height: 260px; white-space: pre-wrap; font-size: 15px; }
.v-agent pre .u { color: #fff; }
.v-agent pre .ok { color: #7dff9b; }
.v-agent pre .c { color: #b9b3a3; }
.v-controls { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; padding: 14px 16px; background: #fff; border-top: 3px solid var(--ink); }
.v-dots { list-style: none; padding: 0; display: flex; gap: 6px; margin-left: auto; }
.v-dot { width: 22px; height: 22px; padding: 0; box-shadow: none; border-width: 2px; background: #fff; }
.v-dot[aria-current="true"] { background: var(--o1); }

.v-app { background: #fff; grid-template-rows: auto 1fr; }
.v-slots { display: grid; gap: 16px; padding: 28px 24px; align-content: center; }
.v-slot {
  display: grid; gap: 2px; padding: 16px 18px; min-height: 72px; position: relative;
  border: 3px dashed #b9b3a3; color: #8a877e; background: transparent;
  transition: background .35s, border-color .35s, color .35s, transform .35s, box-shadow .35s;
}
.v-slot small { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; }
.v-slot b { font-size: 19px; min-height: 1.4em; }
.v-app[data-state="found"] .v-slot { border-color: var(--ink); color: var(--ink); }
.v-app:is([data-state="tested"], [data-state="locked"], [data-state="done"]) .v-slot {
  border-style: solid; border-color: var(--ink); color: var(--ink); background: var(--bc); box-shadow: var(--shadow);
}
.v-app:is([data-state="tested"], [data-state="locked"], [data-state="done"]) .v-slot.b3 { color: #fff; }
.v-app[data-state="done"] .v-slot { transform: translateY(-3px); }

/* Ablauf in fünf Schritten (wie .how auf der Startseite) */
.v-flow { padding: 80px 0 24px; display: grid; gap: 24px; }
.v-flow ol { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); gap: 24px; counter-reset: step; }
.v-flow li { counter-increment: step; padding-top: 16px; border-top: 3px solid var(--line); }
.v-flow li b { display: block; }
.v-flow li::before { content: counter(step, decimal-leading-zero); display: block; font-family: var(--mono); font-weight: 800; font-size: 40px; color: var(--o2); line-height: 1.2; }

/* Warum Toolbrick, Fahrplan */
.v-why { padding: 64px 0 24px; display: grid; gap: 24px; }
.v-road > .pixel-title { grid-column: 1 / -1; }
.v-road .pixel-text { --cell: clamp(5px, 1.3vw, 13px); }
.v-road { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(420px, 100%), 1fr)); gap: 40px; padding: 80px 0 24px; }
.v-road .v-col:last-child .points li { border-bottom-style: dashed; }
.panel-code .c { color: #b9b3a3; }

@media (prefers-reduced-motion: reduce) {
  .v-slot { transition: none; }
}

/* Startseite: Abschnitt „Worauf sich Apps verlassen“ als Raster */
.v-facts { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 24px; }
.v-facts li { padding: 20px; background: #fff; border: 3px solid var(--ink); box-shadow: var(--shadow); }
.v-facts li:nth-child(1) { border-top: 12px solid var(--y1); }
.v-facts li:nth-child(2) { border-top: 12px solid var(--y2); }
.v-facts li:nth-child(3) { border-top: 12px solid var(--o1); }
.v-facts li:nth-child(4) { border-top: 12px solid var(--r1); }
.v-facts b { display: block; font-size: 20px; margin-bottom: 6px; }

/* Startseite: „Bausteine kann jeder bauen“ */
.v-anyone { display: grid; gap: 20px; padding: 32px; background: #fff; border: 3px solid var(--ink); box-shadow: var(--shadow); border-left: 16px solid var(--o1); }
.v-anyone h2 { margin: 0; font-size: clamp(32px, 4.4vw, 56px); line-height: 1.05; }
.v-anyone h2 span { color: var(--o2); }
.v-anyone .lead-text { font-size: 20px; max-width: 60ch; }
.v-steps { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 24px; counter-reset: step; }
.v-steps li { counter-increment: step; padding-top: 12px; border-top: 3px solid var(--line); }
.v-steps li::before { content: counter(step, decimal-leading-zero); display: block; font-family: var(--mono); font-weight: 800; font-size: 36px; color: var(--o2); line-height: 1.2; }
.v-steps li b { display: block; font-size: 20px; }

/* Startseite: Agent im Gespräch (statt Textkasten) */
.v-chat { border: 3px solid var(--ink); box-shadow: var(--shadow); background: #fff; display: grid; }
.v-chat-body { display: grid; gap: 16px; padding: 24px; }
.v-ask { justify-self: end; max-width: 85%; padding: 14px 18px; background: var(--y1); border: 3px solid var(--ink); font-weight: 700; font-size: 18px; }
.v-used { display: flex; flex-wrap: wrap; gap: 10px; }
.v-chip { font-family: var(--mono); font-size: 14px; font-weight: 800; padding: 6px 10px; border: 2px solid var(--ink); background: var(--bc); }
.v-answer { max-width: 90%; padding: 14px 18px; background: var(--ink); color: var(--paper); font-size: 18px; }
.v-answer b { color: var(--y1); }
.v-chat-foot { margin: 0; padding: 14px 24px; border-top: 3px solid var(--ink); background: var(--o1); font-size: 17px; }
