Plan the outline of a learning guide on the topic "{topic}".

BLOCKS (each with its NUMBER — the list is fixed, you only arrange it):
{blocks}

The list is already in **learning order** (prerequisites first, by dependency sort). Keep to it **roughly**; group adjacent related blocks into chapters.

ORDER — from the known to the unknown:
- Chapter 1 leads to the fastest visible result (first success), not to theory.
- Concrete before abstract, simple before complex, prerequisites before what builds on them.
- Each chapter builds on the previous ones — one through-line, not a collection of topics.

Rules:
- EVERY chosen block lands in EXACTLY one chapter. Drop none, invent no new ones.
- Arrange by NUMBER. Use only the numbers from the list above, each exactly once.
- 3-7 blocks per chapter; the number of chapters follows from the topic.
- Chapter titles short and concrete.

Write the chapter titles in GERMAN (the guide is for German-speaking learners), even though these instructions are in English.

Write ONLY the JSON file to: {out_path}

Format (numbers = the block numbers in the desired order):
{{"chapters": [{{"title": "Grundlagen", "numbers": [3, 1, 7]}}]}}
{extra}
