...ne:
            code, quote = extract_code_with_quote(line)
            parsed['thematic_markers'].append(code)
            if quote:
                parsed['key_quotes'].append(quote)
        # ... weitere Parsing-Logik
    
    return parsed

def save_checkpoint(results, output_path):
    """Speichert Zwischenergebnisse."""
    checkpoint_file = f'{output_path}/checkpoint_{datetime.now()...