/* Gratis-Werkzeuge unter /werkzeuge/ (sistenta/werkzeuge.py, 28.09.2026).
   Eigene Datei wegen CSP (keine Inline-Stile). Einspaltig, am Handy ohne
   Querrollen, hell und dunkel nach Systemeinstellung. Farben wie api-doku.css. */
:root {
  color-scheme: light;
  --grund: #f6f8f7; --flaeche: #ffffff; --text: #14201c; --leise: #5b6b66; --linie: #dfe6e3;
  --akzent: #0f5c4d; --akzent-text: #ffffff; --warn: #9a4a00; --fehler: #b3261e;
}
@media (prefers-color-scheme: dark) {
  :root { color-scheme: dark; --grund: #0d1614; --flaeche: #13201d; --text: #e3eeea; --leise: #9fb2ac;
          --linie: #24362f; --akzent: #6fd6bd; --akzent-text: #0d1614; --warn: #e0b24a; --fehler: #f08a82; }
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--grund); color: var(--text);
       font: 16px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
a { color: var(--akzent); }
.kopf { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; padding: 12px 16px;
        background: var(--flaeche); border-bottom: 1px solid var(--linie); }
.marke { font-weight: 700; letter-spacing: .04em; text-decoration: none; color: var(--text); }
.kopf__link { margin-left: auto; font-size: 15px; }
.rahmen { max-width: 820px; margin: 0 auto; padding: 24px 16px 64px; }
h1 { font-size: clamp(1.6rem, 5vw, 2.2rem); line-height: 1.2; margin: 8px 0 8px; }
h2 { font-size: 1.25rem; margin: 36px 0 8px; }
h3 { font-size: 1.05rem; margin: 18px 0 6px; }
.anriss { font-size: 1.08rem; color: var(--leise); margin: 0 0 20px; }
.karte { background: var(--flaeche); border: 1px solid var(--linie); border-radius: 14px; padding: 18px; margin: 16px 0; }
.formular { display: grid; gap: 12px; }
.formular label { display: grid; gap: 4px; font-weight: 600; font-size: 15px; }
.formular small { font-weight: 400; color: var(--leise); }
.reihe { display: flex; flex-wrap: wrap; gap: 12px; }
.reihe > label { flex: 1 1 200px; }
input[type=text], input[type=url], input[type=number], input[type=datetime-local], select, textarea {
  width: 100%; font: inherit; color: var(--text); background: var(--grund); border: 1px solid var(--linie);
  border-radius: 10px; padding: 10px 12px; min-height: 44px; }
.haken { display: flex !important; grid-template-columns: none; align-items: center; gap: 8px; font-weight: 400 !important; }
.haken input { width: 20px; height: 20px; }
button { font: inherit; font-weight: 600; min-height: 44px; padding: 10px 18px; border-radius: 10px; border: 0;
         background: var(--akzent); color: var(--akzent-text); cursor: pointer; }
button:disabled { opacity: .6; cursor: progress; }
button.leise { background: transparent; color: var(--akzent); border: 1px solid var(--linie); }
/* Sichtpruefung 29.09.2026: Dateiauswahl im Stil der leisen Knoepfe statt grauem Browser-Element. */
input[type=file] { font: inherit; color: var(--leise); max-width: 100%; }
input[type=file]::file-selector-button { font: inherit; font-weight: 600; min-height: 44px; padding: 8px 16px; margin-right: 10px;
  border-radius: 10px; background: transparent; color: var(--akzent); border: 1px solid var(--linie); cursor: pointer; }
.ergebnis { margin-top: 18px; }
.satz { font-weight: 600; }
.stand { color: var(--leise); font-size: 14px; }
.fehler { color: var(--fehler); font-weight: 600; }
.warnung { color: var(--warn); font-weight: 600; }
.liste { list-style: none; padding: 0; margin: 12px 0; display: grid; gap: 10px; }
.liste li { background: var(--flaeche); border: 1px solid var(--linie); border-radius: 12px; padding: 12px 14px;
            overflow-wrap: anywhere; }
.liste .kopfzeile { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: 14px; color: var(--leise); }
.liste .kopfzeile b { color: var(--text); }
.liste p { margin: 6px 0 0; white-space: pre-wrap; }
.zahl { font-size: clamp(1.6rem, 6vw, 2.4rem); font-weight: 700; margin: 4px 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0; padding: 0; list-style: none; }
.chips li { border: 1px solid var(--linie); background: var(--flaeche); border-radius: 999px; padding: 4px 12px; font-size: 15px; }
.weiter { margin-top: 24px; padding: 16px 18px; border-radius: 14px; border: 1px solid var(--akzent); }
.weiter a { font-weight: 700; }
.pflicht { margin-top: 28px; font-size: 14px; color: var(--leise); }
.fuss { margin-top: 40px; padding-top: 16px; border-top: 1px solid var(--linie); font-size: 14px; color: var(--leise);
        display: flex; flex-wrap: wrap; gap: 8px 16px; }
.werkzeuge { list-style: none; padding: 0; display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.werkzeuge a { display: block; height: 100%; text-decoration: none; color: var(--text); background: var(--flaeche);
               border: 1px solid var(--linie); border-radius: 14px; padding: 16px; }
.werkzeuge a:hover, .werkzeuge a:focus-visible { border-color: var(--akzent); outline: none; }
.werkzeuge b { display: block; color: var(--akzent); font-size: 1.05rem; margin-bottom: 4px; }
/* Thumbnail-Vorschau: YouTube-Groessen nachgestellt, Seitenverhaeltnis 16:9. */
.vorschau { display: grid; gap: 18px; }
.vorschau__flaeche { border-radius: 14px; padding: 14px; border: 1px solid var(--linie); }
.vorschau__flaeche--hell { background: #ffffff; color: #0f0f0f; }
.vorschau__flaeche--dunkel { background: #0f0f0f; color: #f1f1f1; }
.vorschau__raster { display: flex; flex-wrap: wrap; gap: 16px; align-items: flex-start; }
.kachel { display: grid; gap: 6px; }
.kachel--start { width: min(360px, 100%); }
.kachel--seite { width: 168px; }
.kachel--handy { width: min(400px, 100%); }
.kachel__bild { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 10px; background: #888; display: block; }
.kachel--seite .kachel__bild { border-radius: 6px; }
.kachel__titel { font-weight: 600; font-size: 14px; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2;
                 -webkit-box-orient: vertical; overflow: hidden; }
.kachel--seite .kachel__titel { font-size: 12px; }
.kachel__kanal { font-size: 12px; opacity: .7; }
.faq p { margin: 4px 0 12px; }
@media (max-width: 480px) { .kopf__link { margin-left: 0; } .rahmen { padding-top: 16px; } }
