/* Schriftkasten – statische Schrift-, Kategorie- und Schriftsystem-Seiten (erzeugt von cli/build-seo.php) */
@font-face { font-family: "Bricolage Grotesque"; src: url("/1-serifenlos/bricolage-grotesque/BricolageGrotesque%5Bopsz%2Cwdth%2Cwght%5D.ttf") format("truetype"); font-weight: 200 800; font-display: swap; }
@font-face { font-family: "Hanken Grotesk"; src: url("/1-serifenlos/hanken-grotesk/HankenGrotesk%5Bwght%5D.ttf") format("truetype"); font-weight: 100 900; font-display: swap; }
:root {
  --paper: #f3f5f8; --sheet: #ffffff; --ink: #15171c; --muted: #5b6270; --rule: #dce0e7;
  --accent: #2c3cb8; --accent-soft: #e5e8fa; --star: #b57a00;
  --display: "Bricolage Grotesque", "Avenir Next", "Segoe UI", sans-serif;
  --body: "Hanken Grotesk", -apple-system, "Segoe UI", Roboto, sans-serif;
  --fallback: -apple-system, "Segoe UI", "Noto Sans", sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #0e1014; --sheet: #171a21; --ink: #e9ebf1; --muted: #99a0ad; --rule: #2a2f3a;
    --accent: #929dff; --accent-soft: #232a4d; --star: #f2b632; color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #0e1014; --sheet: #171a21; --ink: #e9ebf1; --muted: #99a0ad; --rule: #2a2f3a;
  --accent: #929dff; --accent-soft: #232a4d; --star: #f2b632; color-scheme: dark;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.55 var(--body); }
a { color: var(--accent); }
/* gleiche Breite wie die Startseite: 1480 px Inhalt + 2 × 16 px Rand (border-box) */
.wrap { max-width: 1512px; margin: 0 auto; padding: 0 max(16px, env(safe-area-inset-right, 0px)) 0 max(16px, env(safe-area-inset-left, 0px)); }
.toplinks { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 4px 18px; padding-top: 12px; font-size: 13px; }
.toplinks a { color: var(--muted); text-decoration: none; }
.toplinks a:hover { color: var(--accent); text-decoration: underline; }
.byline { margin-right: auto; color: var(--muted); }
.byline a { color: var(--ink); font-weight: 600; }
.top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 0 8px; }
.brand img { display: block; height: 40px; width: auto; max-width: 100%; }
.logo-dark { display: none !important; }
:root[data-theme="dark"] .logo-light { display: none !important; }
:root[data-theme="dark"] .logo-dark { display: block !important; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .logo-light { display: none !important; }
  :root:not([data-theme="light"]) .logo-dark { display: block !important; }
}
.all { font-weight: 600; text-decoration: none; }
.all:hover { text-decoration: underline; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px; padding: 0; margin: 12px 0 4px; font-size: 14px; color: var(--muted); }
.crumbs li + li::before { content: "›"; margin: 0 6px 0 2px; }
.crumbs a { color: var(--muted); }
h1 { font: 700 clamp(30px, 5vw, 48px)/1.1 var(--display); margin: 8px 0 6px; letter-spacing: -0.01em; }
h1 .kind { font: 500 0.4em/1 var(--body); color: var(--muted); vertical-align: middle; margin-left: 6px; }
h2 { font: 650 22px/1.2 var(--display); margin: 0 0 12px; }
.sub, .intro { color: var(--muted); margin: 0 0 18px; }   /* volle Seitenbreite (Wunsch 19.10.2026) */
section { background: var(--sheet); border: 1px solid var(--rule); border-radius: 14px; padding: 20px; margin: 0 0 16px; }
.live, .pv { font-family: "SK Font", var(--fallback); }
.specimen { font-size: 64px; line-height: 1.15; margin: 0 0 16px; overflow-wrap: anywhere; min-height: 1.2em; }
.tools { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; font-size: 14px; color: var(--muted); }
.tools label { display: flex; align-items: center; gap: 8px; }
.tools .t { flex: 1 1 280px; }
.tools input[type=text] { flex: 1; min-width: 0; font: inherit; color: var(--ink); background: var(--paper); border: 1px solid var(--rule); border-radius: 8px; padding: 8px 10px; }
.get { background: var(--accent-soft); border-color: transparent; }
.get p { margin: 10px 0 0; }
.btn { display: inline-block; background: var(--accent); color: var(--sheet); font-weight: 700; font-size: 18px; text-decoration: none; padding: 14px 22px; border-radius: 12px; }
.btn:hover { filter: brightness(1.08); }
.btn::before { content: "↓ "; }
.hint { color: var(--muted); font-size: 14px; }
code { font-size: 0.9em; overflow-wrap: anywhere; }
.waterfall p { margin: 0 0 8px; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.waterfall .px { font: 12px var(--body); color: var(--muted); display: inline-block; width: 34px; vertical-align: middle; }
.chars { font-size: 30px; line-height: 1.4; margin: 0; overflow-wrap: anywhere; }
.facts { display: grid; grid-template-columns: max-content 1fr; gap: 6px 18px; margin: 0; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; }
@media (max-width: 560px) { .facts { grid-template-columns: 1fr; } .facts dd { margin-bottom: 8px; } .specimen { font-size: 40px; } }
.similar, .items { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; }
.similar a, .items a { display: block; height: 100%; padding: 12px 14px; border: 1px solid var(--rule); border-radius: 10px; color: var(--ink); text-decoration: none; background: var(--sheet); }
.similar a:hover, .items a:hover { border-color: var(--accent); }
.pv { display: block; font-size: 28px; line-height: 1.25; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-height: 35px; }
.nm { display: block; font-weight: 650; margin-top: 4px; }
.meta { display: block; font-size: 13px; color: var(--muted); }
.subnav { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; }
.subnav a { padding: 6px 12px; border: 1px solid var(--rule); border-radius: 999px; background: var(--sheet); text-decoration: none; color: var(--ink); font-size: 14px; }
.subnav small { color: var(--muted); }
.foot { padding: 12px 0 40px; color: var(--muted); font-size: 14px; }
.catnav, .legal { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 10px 0; }
.catnav a { font-weight: 600; }
.legal a { color: var(--muted); }
/* Sprachmenue und Rechts-nach-links */
.langs { position: relative; }
.langs summary { list-style: none; cursor: pointer; color: var(--muted); }
.langs summary::-webkit-details-marker { display: none; }
.langs summary:hover { color: var(--accent); }
.langs ul { position: absolute; z-index: 30; inset-inline-end: 0; top: 1.8em; margin: 0; padding: 6px; list-style: none; background: var(--sheet); border: 1px solid var(--rule); border-radius: 10px; box-shadow: 0 8px 24px rgb(0 0 0 / 0.15); columns: 2; column-gap: 4px; width: max-content; }
.langs li a { display: block; padding: 4px 10px; border-radius: 6px; color: var(--ink) !important; white-space: nowrap; text-decoration: none; }
.langs li a:hover, .langs li a[aria-current] { background: var(--accent-soft); }
[dir="rtl"] .byline { margin-right: 0; margin-left: auto; }
[dir="rtl"] .toplinks { justify-content: flex-start; }
[dir="rtl"] .btn::before { content: ""; }
[dir="rtl"] .btn::after { content: " ↓"; }
.waterfall .px { margin-inline-end: 4px; }
/* Vergleichsseite */
.cmp-tools { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; font-size: 14px; color: var(--muted); }
.cmp-tools label { display: flex; align-items: center; gap: 8px; }
.cmp-tools .t { flex: 1 1 260px; }
.cmp-tools input[type=text], .cmp-tools input[type=search] { flex: 1; min-width: 0; font: inherit; color: var(--ink); background: var(--paper); border: 1px solid var(--rule); border-radius: 8px; padding: 8px 10px; }
.cmp-add { position: relative; flex: 1 1 100%; display: flex; align-items: center; gap: 8px; }
.cmp-add label { font-weight: 650; color: var(--ink); white-space: nowrap; }
.cmp-add input { font-size: 16px !important; padding: 10px 12px !important; }
.hits { position: absolute; z-index: 20; top: 100%; inset-inline: 0; margin: 4px 0 0; padding: 4px; list-style: none; background: var(--sheet); border: 1px solid var(--rule); border-radius: 10px; box-shadow: 0 8px 24px rgb(0 0 0 / 0.15); }
.hits button { display: flex; flex-wrap: wrap; gap: 2px 10px; align-items: baseline; width: 100%; text-align: start; background: none; border: 0; padding: 8px 10px; border-radius: 6px; font: inherit; color: var(--ink); cursor: pointer; }
.hits button span { color: var(--muted); font-size: 13px; }
.hits button:hover, .hits button:focus { background: var(--accent-soft); outline: none; }
.hits button:disabled { opacity: 0.45; cursor: default; }
.hits .none { padding: 8px 10px; }
.seg { display: inline-flex; border: 1px solid var(--rule); border-radius: 8px; overflow: hidden; }
.seg button, .cmp-act button { background: var(--sheet); border: 0; padding: 7px 12px; font: inherit; color: var(--ink); cursor: pointer; }
.seg button[aria-pressed="true"] { background: var(--accent); color: var(--sheet); }
.cmp-act { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.cmp-act button { border: 1px solid var(--rule); border-radius: 8px; }
.cmp-act button:hover { border-color: var(--accent); }
.msg { color: var(--accent); font-size: 13px; overflow-wrap: anywhere; }
.cmp-list { --cmpsize: 48px; display: grid; gap: 12px; margin: 0 0 16px; }
.cmp-list.cols { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.cmp-list .empty { background: var(--sheet); border: 1px dashed var(--rule); border-radius: 14px; padding: 28px 20px; text-align: center; color: var(--muted); margin: 0; }
.cmp-item { background: var(--sheet); border: 1px solid var(--rule); border-radius: 14px; padding: 14px 18px; min-width: 0; }
.cmp-head { display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: baseline; font-size: 14px; }
.cmp-name { font-weight: 700; font-size: 16px; color: var(--ink); text-decoration: none; }
.cmp-name:hover { color: var(--accent); text-decoration: underline; }
.cmp-head .meta { display: inline; }
.cmp-head .tag { font-size: 12px; background: var(--accent-soft); color: var(--accent); border-radius: 999px; padding: 1px 8px; }
.cmp-head .det { margin-inline-start: auto; }
.cmp-head .dl { font-weight: 650; }
.cmp-head .rm { background: none; border: 0; font-size: 20px; line-height: 1; cursor: pointer; color: var(--muted); padding: 0 2px; }
.cmp-head .rm:hover { color: #b42318; }
.cmp-spec { font-family: var(--fallback); font-size: var(--cmpsize); line-height: 1.2; margin: 10px 0 2px; overflow-wrap: anywhere; }
.sets { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 10px; }
.sets a { display: block; height: 100%; padding: 12px 14px; border: 1px solid var(--rule); border-radius: 10px; text-decoration: none; color: var(--ink); }
.sets a:hover { border-color: var(--accent); }
.sets span { display: block; color: var(--muted); font-size: 13px; margin-top: 2px; }
