...     failed += 1
            log(f"FAIL: {path} | {repr(e)}")
            continue

    log(f"END | total={total} processed={processed} skipped={skipped} failed={failed}")
    print(f"FERTIG Phase3b: total={total}, processed={processed}, skipped={skipped}, failed={failed}")
    print(f"Output: {out_root}")
    print(f"JSONL: {jsonl_path}")
    print(f"CSV:  {csv_path}")
    print(f"Log:  {log_path}")

...