...    "temperature": 0
        }
    }

    r = requests.post(OLLAMA_URL, json=payload, timeout=TIMEOUT_SEC)
    r.raise_for_status()
    data = r.json()

    # Ollama liefert: {"message": {"content": "..."}}
    return data["message"]["content"]

def iter_block_files(base: Path):
    # Sucht alle *_BLOCK_*.txt unter out/** (auch in Unterordnern)
    for p in base.rglob("*.txt"):
        name = p.name
...