# Zieltracker Refactor & Collapsible Cards Implementation Plan > **For agentic workers:** REQUIRED SUB-SKILL: Use superpowers:subagent-driven-development (recommended) or superpowers:executing-plans to implement this plan task-by-task. Steps use checkbox (`- [ ]`) syntax for tracking. **Goal:** Split index.html into three files, add collapsible cards with compact meta-line, sort by daily completion status, replace 4-block stats with a "Heute" group, and constrain desktop width to 480px. **Architecture:** Pure HTML/CSS/JS — no build step. Logic stays in `app.js`, styles in `style.css`, HTML skeleton in `index.html`. All changes are in-place; localStorage data format is unchanged. **Tech Stack:** Vanilla JS (ES5), CSS custom properties, localStorage --- ## File Map | File | Action | Responsibility | |------|--------|---------------| | `index.html` | Modify | HTML skeleton only — links to style.css + app.js | | `style.css` | Create | All styles including new classes | | `app.js` | Create | All logic including new collapse/sort/render | --- ### Task 1: Create style.css **Files:** - Create: `style.css` - [ ] **Step 1: Create style.css** — extract the full `