/* F-04h Themenseiten (Blog › Themenseiten). Entwurf Claude Design https://claude.ai/artifact/RjkKn64e7Y3SymqZrhtG5g (Kim «passt» 05.11.2026) */
.ts { display: grid; gap: 20px; min-width: 0; }
.ts-einleitung { margin: 0; color: var(--muted); max-width: 70ch; }

/* Seitenkarten */
.ts-karten { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; }
.ts-karte { all: unset; box-sizing: border-box; cursor: pointer; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 14px;
  display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 12px; align-items: start; }
.ts-karte:hover { border-color: var(--line-strong); }
.ts-karte:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.ts-karte[aria-current="true"] { border: 2px solid var(--accent); padding: 13px; }
.ts-karte img, .ts-bild-leer { width: 76px; height: 76px; border-radius: 10px; object-fit: cover; background: var(--mark); }
.ts-karte-text { display: grid; gap: 6px; min-width: 0; }
.ts-karte-titel { font-family: var(--display); font-size: 24px; line-height: 1; }
.ts-pillen { display: flex; flex-wrap: wrap; gap: 6px; }
.ts-klein { font-size: 13px; color: var(--muted); }

/* Übersicht: links Stand und Hinweise, rechts Vorschau */
.ts-zwei { display: flex; flex-wrap: wrap; gap: 22px; align-items: flex-start; }
.ts-zwei > * { flex: 1 1 420px; min-width: 0; }
.ts-spalte { display: grid; gap: 16px; }
.ts-box { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; display: grid; gap: 12px; }
.ts-box h2, .ts-box h3 { margin: 0; font-family: var(--display); font-weight: 400; font-size: 24px; line-height: 1.05; }
.ts-naechstes { border: 0; }
.ts-naechstes.warn { background: var(--warn-bg); }
.ts-naechstes.crit { background: var(--crit-bg); }
.ts-naechstes.ok { background: var(--ok-bg); }
.ts-naechstes.info { background: var(--surface-2); }
.ts-naechstes .ts-marke { font-size: 12px; letter-spacing: 1px; font-weight: 600; }
.ts-naechstes.warn .ts-marke { color: var(--warn); } .ts-naechstes.crit .ts-marke { color: var(--crit); } .ts-naechstes.ok .ts-marke { color: var(--ok); }
.ts-naechstes h2 { font-family: var(--body); font-weight: 600; font-size: 21px; line-height: 1.25; }
.ts-naechstes p { margin: 0; }
.ts-naechstes textarea { font: inherit; border: 1px solid var(--line); border-radius: 8px; padding: 10px; background: var(--surface); color: var(--ink); width: 100%; box-sizing: border-box; }
.ts-knoepfe { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.ts-knoepfe .btn { min-height: 44px; }
.ts-hinweis { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 12px; padding: 12px 0; border-top: 1px solid var(--neutral-bg); }
.ts-hinweis-ort { font-size: 13px; font-weight: 600; color: var(--muted); }
.ts-hinweis-text { display: grid; gap: 4px; }
.ts-linkknopf { all: unset; cursor: pointer; color: var(--accent); font-weight: 600; font-size: 14px; }
.ts-linkknopf:hover { text-decoration: underline; }
.ts-linkknopf:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; border-radius: 4px; }
@media (max-width: 560px) { .ts-hinweis { grid-template-columns: minmax(0, 1fr); gap: 4px; } }

/* Vorschau im Shop-Look (Farben der Landingpage, nicht der Cockpit-Tokens) */
.ts-vs { background: #f5f6f1; color: #2a2d1e; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; display: grid; }
.ts-vs-kopf { display: flex; align-items: center; gap: 10px; padding: 10px 14px; background: var(--surface); border-bottom: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.ts-vs-band { background: #e7ebdf; padding: 20px; display: grid; gap: 8px; }
.ts-vs-teil { padding: 18px 20px; display: grid; gap: 10px; }
.ts-vs h3 { margin: 0; font-family: var(--display); font-weight: 400; font-size: 24px; line-height: 1; color: #2a2d1e; }
.ts-vs-titel { font-family: var(--display); font-size: 34px; line-height: .95; }
.ts-vs-titel span { color: #464a26; display: block; }
.ts-vs-krume { font-size: 11px; color: #464a26; }
.ts-vs-bild { width: 100%; max-height: 200px; object-fit: cover; border-radius: 12px; }
.ts-vs-raster { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 8px; }
.ts-vs-karte { background: #fff; border-radius: 12px; padding: 10px 12px; font-size: 13px; display: grid; gap: 4px; }
.ts-vs-karte b { font-size: 14px; }
.ts-vs-leiste { background: #2a2d1e; color: #fff; border-radius: 12px; padding: 12px 14px; font-size: 13px; }
.ts-vs-produkt { background: #fff; border-radius: 12px; padding: 10px; display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 10px; align-items: center; font-size: 13px; }
.ts-vs-produkt img { width: 64px; height: 64px; object-fit: contain; border-radius: 8px; background: #dde3d5; }
.ts-vs-pille { display: inline-block; margin-top: 6px; background: #2a2d1e; color: #fff; border-radius: 999px; padding: 4px 12px; font-size: 12px; }
.ts-vs-fuss { font-size: 12px; color: #464a26; }
.ts-vs details { background: #fff; border-radius: 10px; padding: 8px 12px; font-size: 13px; }

/* Bearbeiten */
.ts-leiste { position: sticky; top: var(--kopf-h, 0px); z-index: 3; background: var(--surface); border: 1px solid var(--line); border-radius: 12px;
  padding: 10px 14px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.ts-leiste-titel { font-family: var(--display); font-size: 24px; line-height: 1; }
.ts-leiste .ts-platz { flex: 1; }
.ts-editor { display: flex; flex-wrap: wrap; gap: 20px; align-items: flex-start; }
.ts-nav { flex: 0 1 200px; min-width: 170px; display: grid; gap: 2px; position: sticky; top: calc(var(--kopf-h, 0px) + 76px); }
.ts-nav button { all: unset; box-sizing: border-box; cursor: pointer; padding: 8px 12px; border-radius: 8px; display: flex; justify-content: space-between; gap: 8px; }
.ts-nav button:hover { background: var(--surface-2); }
.ts-nav button:focus-visible { outline: 2px solid var(--focus); }
.ts-nav .zahl { color: var(--muted); }
.ts-nav .zahl.warn { background: var(--warn-bg); color: var(--warn); border-radius: 999px; padding: 0 8px; font-size: 12px; font-weight: 600; }
.ts-felder { flex: 999 1 480px; min-width: 0; display: grid; gap: 16px; }
.ts-rechts { flex: 1 1 320px; max-width: 420px; min-width: 0; position: sticky; top: calc(var(--kopf-h, 0px) + 76px); max-height: calc(100vh - var(--kopf-h, 0px) - 96px); overflow: auto; }
.ts-feld { display: grid; gap: 4px; font-size: 13px; font-weight: 600; color: var(--muted); }
.ts-feld input, .ts-feld textarea, .ts-feld select, .ts-reihe input, .ts-reihe select { font: inherit; font-size: 15px; font-weight: 400; color: var(--ink); background: var(--surface);
  border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px; width: 100%; box-sizing: border-box; min-width: 0; }
.ts-zaehler { font-weight: 400; }
.ts-zaehler.warn { color: var(--crit); }
.ts-paar { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.ts-eintrag { display: grid; gap: 8px; padding: 12px; border: 1px solid var(--neutral-bg); border-radius: 12px; }
.ts-eintrag.hinweis, .ts-box.hinweis { border-color: var(--shop); background: color-mix(in srgb, var(--warn-bg) 55%, var(--surface)); }
.ts-reihe { display: grid; grid-template-columns: 120px minmax(120px, 180px) minmax(0, 1fr); gap: 8px; align-items: center; }
.ts-reihe.ohne-symbol { grid-template-columns: minmax(120px, 180px) minmax(0, 1fr); }
.ts-symbol { width: 120px; }
.ts-eintrag-fuss { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.ts-eintrag-fuss select { flex: 1 1 260px; }
.ts-eintrag-fuss .btn { min-height: 36px; }
.ts-notiz { margin: 0; font-size: 14px; color: var(--warn); }
.ts-vorlage { font-size: 13px; color: var(--muted); }
.ts-bildwahl { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 12px; align-items: center; }
.ts-bildwahl img, .ts-bildwahl .ts-bild-leer { width: 120px; height: 90px; border-radius: 10px; object-fit: cover; }
.ts-google { background: var(--ground); border-radius: 10px; padding: 12px; font-size: 14px; display: grid; gap: 2px; }
.ts-google .t { color: #1a0dab; font-size: 17px; }
.ts-google .u { color: var(--ok); }
.ts-tabs { display: none; }
@media (max-width: 900px) {
  .ts-nav { display: none; }
  .ts-rechts { position: static; max-width: none; max-height: none; flex-basis: 100%; }
  .ts-tabs { display: flex; }
  .ts-editor[data-ansicht="bearbeiten"] .ts-rechts, .ts-editor[data-ansicht="vorschau"] .ts-felder { display: none; }
  .ts-leiste { position: fixed; left: 0; right: 0; bottom: 0; top: auto; border-radius: 0; z-index: 20; }
  .ts-leiste-titel, .ts-leiste .ts-platz { display: none; }
  .ts-leiste .primary { flex: 1; }
  .ts { padding-bottom: 80px; }
  .ts-paar, .ts-reihe, .ts-reihe.ohne-symbol { grid-template-columns: minmax(0, 1fr); }
  .ts-reihe .ts-symbol { width: 100%; }
}
