/* KEYLON Hilfe: hell, Inter, Palette vom 02.10.2026, kein Text unter 14 px. */
:root { --fg: #2e3047; --muted: #435368; --line: #e2e8f0; --page: #f4f5f9; --accent: #6065F0; --action: #7c3aed; }
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: #fff; color: var(--fg); font: 400 16px/1.6 Inter, system-ui, -apple-system, 'Segoe UI', sans-serif; }
a { color: inherit; }
.wrap { width: min(1040px, 100% - 32px); margin: 0 auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.head { border-bottom: 1px solid var(--line); background: #fff; }
.head__in { display: flex; align-items: center; gap: 14px; min-height: 64px; }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.brand img { display: block; height: 36px; width: auto; }
.head__sep { width: 1px; height: 24px; background: var(--line); }
.head__title { font-weight: 600; font-size: 18px; }
.head__nav { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.head__lang { display: inline-flex; align-items: center; gap: 6px; padding: 8px 10px; border-radius: 10px; font-size: 15px; color: var(--muted); text-decoration: none; }
.head__lang:hover { background: var(--page); color: var(--fg); }
.head__app { padding: 8px 14px; border: 1px solid #94a3b8; border-radius: 10px; font-weight: 600; font-size: 15px; text-decoration: none; }
.head__app:hover { background: var(--page); }
.hero { padding: 56px 0 40px; background: var(--page); text-align: center; }
.hero h1 { margin: 0 0 24px; font-size: 36px; line-height: 1.2; }
.search-box { position: relative; width: min(560px, 100%); margin: 0 auto; }
.search { position: relative; display: flex; align-items: center; color: var(--muted); }
.search svg { position: absolute; left: 16px; }
.search input { width: 100%; padding: 14px 16px 14px 48px; border: 1px solid #7b889c; border-radius: 14px; background: #fff; color: var(--fg); font: inherit; }
.search input:focus { outline: 2px solid var(--action); outline-offset: 1px; }
/* Treffer liegen über dem Inhalt, damit die Seite beim Tippen nicht springt. */
.hits { position: absolute; left: 0; right: 0; top: calc(100% + 8px); z-index: 10; margin: 0; padding: 6px; list-style: none; border: 1px solid var(--line); border-radius: 14px; background: #fff; text-align: left; box-shadow: 0 12px 32px rgb(46 48 71 / 0.12); }
.hits a { display: flex; flex-direction: column; padding: 10px 12px; border-radius: 10px; text-decoration: none; }
.hits a:hover { background: var(--page); }
.hits a span, .hits__none { font-size: 15px; color: var(--muted); }
.hits__none { padding: 10px 12px; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; padding: 48px 0 64px; }
.card { display: flex; flex-direction: column; align-items: center; padding: 36px 28px 28px; border: 1px solid var(--line); border-radius: 20px; background: #fff; text-align: center; text-decoration: none; transition: border-color 0.15s, box-shadow 0.15s; }
.card:hover { border-color: #94a3b8; box-shadow: 0 8px 24px rgb(46 48 71 / 0.08); }
.card h2 { margin: 20px 0 6px; font-size: 20px; }
.card p { margin: 0; color: var(--muted); }
.card__count { margin-top: 16px; font-size: 15px; color: #64748b; }
.tile { display: inline-flex; align-items: center; justify-content: center; width: 60px; height: 60px; border-radius: 16px; flex-shrink: 0; }
.crumbs { display: flex; align-items: center; gap: 6px; margin: 40px 0 20px; font-size: 15px; color: var(--muted); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.category__head { display: flex; align-items: center; gap: 20px; }
.category__head h1, .article h1 { margin: 0; font-size: 32px; line-height: 1.2; }
.lead { margin: 8px 0 0; font-size: 18px; color: var(--muted); }
.list { display: flex; flex-direction: column; gap: 14px; margin: 28px 0 64px; padding: 0; list-style: none; }
.list a { display: grid; grid-template-columns: auto 1fr; column-gap: 12px; align-items: center; padding: 20px 24px; border: 1px solid var(--line); border-radius: 16px; background: #fff; text-decoration: none; transition: border-color 0.15s, box-shadow 0.15s; }
.list a:hover { border-color: #94a3b8; box-shadow: 0 8px 24px rgb(46 48 71 / 0.08); }
.list a svg { color: var(--accent); }
.list__title { font-weight: 600; font-size: 18px; }
.list__teaser { grid-column: 2; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 640px) { .list__teaser { white-space: normal; } }
.article { max-width: 760px; padding-bottom: 64px; }
.article .lead { margin-bottom: 24px; }
.article h2 { margin: 36px 0 12px; font-size: 22px; }
.article p, .article li { font-size: 17px; line-height: 1.65; }
.article ol, .article ul { padding-left: 24px; }
.article li { margin: 6px 0; }
.article code { padding: 1px 6px; border-radius: 6px; background: var(--page); font-size: 15px; }
.article__foot { margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); }
.muted { color: var(--muted); }
.foot { border-top: 1px solid var(--line); background: var(--page); }
.foot__in { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; justify-content: space-between; min-height: 64px; padding: 12px 0; font-size: 15px; color: var(--muted); }
.foot nav { display: flex; flex-wrap: wrap; gap: 20px; }
@media (max-width: 640px) {
  .head__in { gap: 10px; }
  .head__title { display: none; }
  .head__sep { display: none; }
  .hero { padding: 36px 0 28px; }
  .hero h1 { font-size: 28px; }
  .grid { gap: 16px; padding: 32px 0 48px; }
  .card { padding: 28px 20px 24px; }
  .category__head { align-items: flex-start; }
  .category__head h1, .article h1 { font-size: 26px; }
  .list a { padding: 16px; }
}
