:root { --bg:#14151a; --panel:#1d1f27; --panel2:#262935; --line:#323646; --text:#f2f3f7; --muted:#9aa0b4; --accent:#f5b83d; --accent-ink:#231a05; --blue:#8ab4ff; --warn:#3a2c1c; --warn-ink:#e5b27a; }
html[data-kdev-theme="light"] { color-scheme: light; --bg:#f3f4f8; --panel:#fff; --panel2:#eceef5; --line:#d6d9e3; --text:#1d2030; --muted:#5f6678; --blue:#1a56c4; --warn:#fff3e6; --warn-ink:#8a5a1f; }
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.4 system-ui, -apple-system, "Segoe UI", sans-serif; }
body { min-height: 100vh; display: flex; flex-direction: column; }
a { color: var(--blue); text-decoration: none; }
.top { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; gap: .6rem; padding: .6rem 1rem; padding-top: calc(.6rem + env(safe-area-inset-top)); background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.brand { color: var(--text); font-weight: 700; font-size: 1.15rem; display: flex; align-items: center; gap: .4rem; }
.who { margin-left: auto; display: flex; align-items: center; gap: .5rem; font-size: .9rem; color: var(--muted); min-width: 0; }
.who .name { max-width: 9rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--text); }
.avatar { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; }
.badge { background: var(--panel2); border: 1px solid var(--line); border-radius: 999px; padding: .1rem .6rem; font-size: .8rem; }
.icon-btn { background: var(--panel2); border: 1px solid var(--line); color: var(--text); border-radius: 10px; width: 40px; height: 40px; font-size: 1.1rem; cursor: pointer; }
main { flex: 1; width: 100%; max-width: 760px; margin: 0 auto; padding: 1rem; }
h1 { font-size: 1.5rem; margin: .4rem 0 1rem; } h2 { font-size: 1rem; color: var(--muted); font-weight: 600; margin: 1.4rem 0 .6rem; }
.muted { color: var(--muted); } .small { font-size: .85rem; } .center { text-align: center; } .cap { margin: .4rem .2rem 1rem; }
.hero { text-align: center; padding: 1.2rem 0 1rem; } .big-logo { font-size: 4rem; line-height: 1; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .4rem; min-height: 48px; padding: .6rem 1.1rem; border-radius: 14px; border: 1px solid var(--line); background: var(--panel2); color: var(--text); font: inherit; cursor: pointer; text-align: center; }
.btn.primary { background: var(--accent); color: var(--accent-ink); border-color: transparent; font-weight: 600; }
.btn.big { width: 100%; min-height: 56px; font-size: 1.05rem; }
.row { display: flex; gap: .6rem; flex-wrap: wrap; }
.grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: .8rem; }
.grid.mini { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 560px) { .grid { grid-template-columns: repeat(3, 1fr); } .grid.mini { grid-template-columns: repeat(3, 1fr); } }
.tile { --c: var(--accent); display: flex; flex-direction: column; gap: .2rem; padding: 1rem; min-height: 132px; border-radius: 18px; background: var(--panel); border: 1px solid var(--line); box-shadow: inset 0 6px 0 var(--c); overflow: hidden; color: var(--text); }
.tile:active { transform: scale(.98); }
.tile .emoji { font-size: 2.2rem; line-height: 1.1; } .tile .title { font-weight: 700; font-size: 1.1rem; } .tile .desc { color: var(--muted); font-size: .85rem; }
.tile.small { min-height: 0; flex-direction: row; align-items: center; gap: .6rem; padding: .7rem .9rem; box-shadow: inset 5px 0 0 var(--c); }
.tile.small .emoji { font-size: 1.4rem; } .tile.small .title { font-size: .95rem; }
.warnbox { background: var(--warn); color: var(--warn-ink); border-radius: 12px; padding: .7rem .9rem; margin: .8rem 0; }
.foot { padding: 1rem 1rem calc(1rem + env(safe-area-inset-bottom)); text-align: center; font-size: .85rem; }
.foot .small { margin-top: .3rem; }
/* Rechtstexte */
.docbox { max-width: 720px; margin: 0 auto; padding: 1rem; } body.doc { display: block; } .docbox h1 { margin-top: 1rem; } .docbox h2 { color: var(--text); margin-top: 1.6rem; } .docbox h3 { margin: 1rem 0 .3rem; }
