/* Zahlwörter (Vokabelwerk). Grundlage: konjugation/stil.css, erzeugt von werkzeuge/zahlen/bauen.py. Farben aus dem Designsystem (data-tb-design, Akzent indigo). */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { background: var(--bg); color: var(--text-primary);
  font-family: var(--schrift, system-ui, "Segoe UI", sans-serif); font-size: 16px; line-height: 1.55; }
a { color: var(--accent); }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 20px; }
header.kopf { padding: 26px 0 18px; }
.krumen { font-size: 13px; color: var(--text-muted); margin-bottom: 18px; display: flex; flex-wrap: wrap; gap: 4px; }
.krumen a { color: var(--text-secondary); text-decoration: none; }
.krumen a:hover { color: var(--accent); text-decoration: underline; }
.krumen .trenner { color: var(--text-muted); }
.kennung { font-family: var(--mono); font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: var(--accent); margin-bottom: 8px; }
h1 { font-family: var(--kopf); font-size: clamp(34px, 6vw, 52px); line-height: 1.05; letter-spacing: -.02em; }
.vorspann { color: var(--text-secondary); font-size: 17px; margin-top: 10px; max-width: 62ch; }
.merkmale { margin-top: 10px; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.bedeutung { font-size: 19px; color: var(--text-secondary); }
.marke { font-size: 12px; font-weight: 600; border: 1px solid var(--border-strong); border-radius: 999px; padding: 2px 10px; color: var(--text-muted); }
.marke.unreg { border-color: var(--accent); color: var(--accent); }
.hinweis-text { margin-top: 10px; color: var(--text-secondary); max-width: 70ch; }
.sprung { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 6px; }
.sprung a { font-size: 13px; text-decoration: none; color: var(--text-secondary); background: var(--surface);
  border: 1px solid var(--border); border-radius: 8px; padding: 5px 10px; }
.sprung a:hover { border-color: var(--accent); color: var(--accent); }
main { padding-bottom: 10px; }
h2 { font-family: var(--kopf); font-size: 21px; letter-spacing: -.01em; margin: 28px 0 12px; }
.raster { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; }
.zeit { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 14px 16px; scroll-margin-top: 80px; }
.zeit h3 { font-size: 15px; margin-bottom: 8px; }
.orig { font-weight: 400; color: var(--text-muted); font-style: italic; }
.zeit table { width: 100%; border-collapse: collapse; font-size: 15px; }
.zeit th, .zeit td { text-align: left; padding: 3px 0; vertical-align: top; }
.zeit th { color: var(--text-muted); font-weight: 400; width: 42%; padding-right: 8px; }
.zeit td { color: var(--text-primary); font-weight: 600; }
.wolke { display: flex; flex-wrap: wrap; gap: 6px 14px; }
.wolke a { text-decoration: none; }
.wolke a:hover { text-decoration: underline; }
.hinweis.klein { font-size: 13px; color: var(--text-muted); margin-top: 22px; }
.suche { margin-top: 18px; display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.suche input { font: inherit; font-size: 16px; color: var(--text-primary); background: var(--surface);
  border: 1px solid var(--border-strong); border-radius: 10px; padding: 11px 14px; flex: 1 1 280px; max-width: 460px; }
.suche input:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.suche span { font-size: 14px; color: var(--text-muted); }
.liste { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 8px; margin-top: 8px; }
.liste li[hidden] { display: none; }
.liste a { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; text-decoration: none; color: var(--text-primary);
  background: var(--surface); border: 1px solid var(--border); border-radius: 10px; padding: 10px 12px; }
.liste a:hover { border-color: var(--accent); }
.liste b { font-size: 16px; }
.liste span { font-size: 13px; color: var(--text-muted); }
.liste .marke { padding: 0 8px; font-size: 11px; }
.leer { color: var(--text-muted); margin-top: 14px; }
.zeitliste { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.zeitliste li { background: var(--surface); border: 1px solid var(--border); border-radius: 8px; padding: 6px 10px; font-size: 14px; }
.sprachen { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; margin-top: 8px; }
.sprache { display: grid; gap: 4px; text-decoration: none; color: var(--text-primary); background: var(--surface);
  border: 1px solid var(--border); border-radius: 14px; padding: 18px; }
.sprache:hover { border-color: var(--accent); }
.sprache .kz { font-family: var(--mono); font-size: 12px; letter-spacing: 1px; color: var(--auf-akzent, #fff);
  background: var(--akzent-flaeche, var(--accent)); border-radius: 6px; padding: 2px 8px; justify-self: start; }
.sprache b { font-family: var(--kopf); font-size: 20px; }
.sprache span:last-child { font-size: 13px; color: var(--text-muted); }
.werbung { margin-top: 38px; display: flex; gap: 18px; align-items: center; flex-wrap: wrap; background: var(--surface);
  border: 1px solid var(--border); border-left: 4px solid var(--accent); border-radius: 12px; padding: 20px 22px; }
.werbung img { width: 52px; height: 52px; border-radius: 12px; flex: none; }
.werbung div { flex: 1 1 260px; }
.werbung h2 { font-size: 19px; margin: 0 0 4px; }
.werbung p { margin: 0; font-size: 15px; color: var(--text-secondary); }
.btn { display: inline-flex; align-items: center; font-weight: 600; font-size: 15px; text-decoration: none; border-radius: 10px;
  padding: 11px 18px; border: 1px solid var(--accent); background: var(--akzent-flaeche, var(--accent)); color: var(--auf-akzent, #fff); }
footer { border-top: 1px solid var(--border); padding: 24px 0 40px; margin-top: 44px; font-size: 13px; color: var(--text-muted); }
footer .wrap { display: flex; flex-wrap: wrap; gap: 8px 18px; }
footer a { color: var(--text-secondary); }
@media print {
  .tb-nav, .sprung, .werbung, footer, .krumen { display: none !important; }
  body { background: #fff; color: #000; }
  .zeit { border: 1px solid #999; break-inside: avoid; }
}

/* ---- Zahlen: Umrechner und Tabellen ---- */
.umrechner { margin-top: 20px; background: var(--surface); border: 1px solid var(--border); border-radius: 14px;
  padding: 18px 20px; max-width: 760px; }
.umrechner label { display: block; font-size: 13px; color: var(--text-muted); margin-bottom: 6px; }
.umrechner input { font: inherit; font-family: var(--mono, ui-monospace, monospace); font-size: 22px; color: var(--text-primary);
  background: var(--bg); border: 1px solid var(--border-strong); border-radius: 10px; padding: 9px 14px;
  width: 100%; max-width: 300px; }
.umrechner input:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.ausgabe { margin-top: 14px; min-height: 2.4em; }
.ausgabe .wort { font-family: var(--kopf); font-size: clamp(20px, 3.4vw, 28px); line-height: 1.3; overflow-wrap: anywhere; }
.ausgabe .wort.ungueltig { font-family: inherit; font-size: 15px; color: var(--text-muted); }
.ausgabe .variante { margin-top: 6px; color: var(--text-secondary); overflow-wrap: anywhere; }
.ausgabe .variante span { color: var(--text-muted); font-size: 13px; margin-right: 4px; }
.zeit th { font-variant-numeric: tabular-nums; width: 34%; }
.zeit td { overflow-wrap: anywhere; }
.zeit td .form { display: block; font-weight: 400; font-size: 13px; color: var(--text-muted); }
.sprache i { font-style: normal; }
@media print { .umrechner { display: none; } }
