:root {
    --bg: #12131a;
    --card: #1c1e29;
    --border: #2c2f3d;
    --text: #e6e6ea;
    --muted: #9497a8;
    --gruen: #3ecf8e;
    --gelb: #f5c453;
    --rot: #f2666a;
    --akzent: #6c8cff;
}

* { box-sizing: border-box; }

body {
    background: var(--bg);
    color: var(--text);
    font-family: -apple-system, "Segoe UI", Roboto, sans-serif;
    margin: 0;
    line-height: 1.5;
}

header {
    padding: 16px 24px;
    border-bottom: 1px solid var(--border);
}

.logo {
    color: var(--text);
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 600;
}

main {
    max-width: 860px;
    margin: 0 auto;
    padding: 24px 16px 80px;
}

h1, h2, h3 { font-weight: 600; }
h2 { margin-top: 32px; }
code {
    background: var(--card);
    padding: 1px 6px;
    border-radius: 4px;
    font-size: 0.9em;
}

.hinweis { color: var(--muted); font-size: 0.9em; }
.leer { color: var(--muted); text-align: center; margin-top: 60px; }

.flashes { margin-bottom: 16px; }
.flash {
    padding: 10px 14px;
    border-radius: 8px;
    margin-bottom: 8px;
}
.flash-success { background: #1d3a2c; color: var(--gruen); }
.flash-error { background: #3a1d1f; color: var(--rot); }

.gruppe { margin-bottom: 8px; }
.anzahl { color: var(--muted); font-weight: 400; }

.job-liste { display: flex; flex-direction: column; gap: 10px; }
.job-karte {
    display: flex;
    gap: 12px;
    align-items: center;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 10px 14px;
    text-decoration: none;
    color: var(--text);
}
.job-karte:hover { border-color: var(--akzent); }
.job-thumb {
    width: 56px; height: 56px;
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;
    background: #000;
}
.job-thumb-leer {
    display: flex; align-items: center; justify-content: center;
    font-size: 1.4rem;
}
.job-info { display: flex; flex-direction: column; gap: 2px; }
.job-meta, .job-zeit { color: var(--muted); font-size: 0.85em; }

.zurueck { color: var(--akzent); text-decoration: none; }

.dateien .datei-liste { display: flex; gap: 10px; flex-wrap: wrap; }
.datei-karte { position: relative; }
.datei-karte img, .datei-thumb-leer {
    width: 90px; height: 90px;
    object-fit: cover;
    border-radius: 8px;
    background: var(--card);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.6rem;
}
.datei-nummer {
    position: absolute; bottom: 4px; right: 4px;
    background: rgba(0,0,0,0.7);
    color: #fff;
    font-size: 0.75em;
    padding: 1px 6px;
    border-radius: 10px;
}

.aktion, .ergebnis, .verlauf {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 16px 18px;
    margin-top: 16px;
}
.aktion.info { color: var(--muted); }

label { display: block; margin-top: 12px; margin-bottom: 4px; font-size: 0.9em; color: var(--muted); }
select, textarea, input[type=text] {
    width: 100%;
    background: #14151d;
    color: var(--text);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 8px 10px;
    font-family: inherit;
    font-size: 0.95em;
}

button {
    margin-top: 12px;
    border: none;
    border-radius: 8px;
    padding: 9px 16px;
    font-weight: 600;
    cursor: pointer;
    color: #0c0d12;
    background: var(--akzent);
}
.btn-gruen { background: var(--gruen); }
.btn-gelb { background: var(--gelb); }
.btn-rot { background: var(--rot); }

.drei-knoepfe { display: flex; gap: 16px; flex-wrap: wrap; align-items: flex-start; }
.drei-knoepfe form { flex: 1; min-width: 160px; }
.verbessern-form textarea { min-width: 200px; }

.video-vorschau {
    width: 100%;
    aspect-ratio: 9 / 16;
    max-height: 70vh;
    border: none;
    border-radius: 10px;
    background: #000;
}

.post-vorschau { margin-top: 14px; }
.hashtags { color: var(--akzent); }

.prompt-details { margin-top: 14px; color: var(--muted); font-size: 0.9em; }

.verlauf ul { list-style: none; padding: 0; margin: 8px 0 0; }
.verlauf li { padding: 6px 0; border-top: 1px solid var(--border); font-size: 0.9em; }
.verlauf li:first-child { border-top: none; }
.verlauf-zeit { color: var(--muted); margin-right: 8px; }

/* --- Modellwahl (Multi-Provider, 09.08.2026) --------------------------- */

.options-liste { display: flex; flex-direction: column; gap: 10px; margin-top: 12px; }

.option-karte {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    background: #14151d;
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 12px 14px;
    cursor: pointer;
}
.option-karte input[type=radio] { margin-top: 4px; flex-shrink: 0; width: 18px; height: 18px; }
.option-karte.option-empfohlen { border-color: var(--gruen); background: #14201b; }

.option-inhalt { flex: 1; min-width: 0; }
.option-kopf { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.option-name { font-weight: 600; }
.badge-empfehlung {
    background: var(--gruen);
    color: #0c0d12;
    font-size: 0.75em;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 999px;
}
.option-preis { margin-top: 4px; font-size: 0.95em; }
.preis-usd { color: var(--muted); }
.preis-unbekannt { color: var(--muted); }
.option-qualitaet { color: var(--muted); }
.option-hinweis { margin: 6px 0 0; color: var(--muted); font-size: 0.85em; }
.option-begruendung { margin: 8px 0 0; font-size: 0.9em; }
.option-pro { margin: 4px 0 0; color: var(--gruen); font-size: 0.85em; }
.option-kontra { margin: 4px 0 0; color: var(--gelb); font-size: 0.85em; }

/* --- Mobile: groessere Tap-Ziele, Knopfreihen stapeln ------------------ */
@media (max-width: 480px) {
    main { padding: 16px 12px 90px; }
    .drei-knoepfe { flex-direction: column; }
    .drei-knoepfe form { width: 100%; }
    button { width: 100%; padding: 12px 16px; font-size: 1em; }
    .job-karte { padding: 12px; }

    /* Modellwahl auf dem Handy war zu klein/eng - Roman hat dadurch live
       eine Option (Atlas Cloud) schlicht uebersehen (09.08.2026). Auf
       kleinen Screens deutlich groesser und mit klarerem Rahmen, damit
       jede Option auf Anhieb als eigene, gleichwertige Wahl erkennbar ist. */
    .option-karte {
        padding: 16px;
        gap: 14px;
        border-width: 2px;
    }
    .option-karte input[type=radio] { width: 26px; height: 26px; margin-top: 2px; }
    .option-name { font-size: 1.15em; }
    .badge-empfehlung { font-size: 0.85em; padding: 3px 10px; }
    .option-preis { font-size: 1.1em; }
    .option-qualitaet { display: block; margin-top: 2px; }
    .option-hinweis { font-size: 0.9em; }
}
