/* wer weiss was – Basis-Stylesheet (ohne Build-Schritt) */

/* Lokal gehostete Schriften (SIL Open Font License, siehe /fonts/LICENSE-*.txt) */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/inter-latin-ext-400.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/inter-latin-400.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/inter-latin-ext-500.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/inter-latin-500.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/inter-latin-ext-600.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/inter-latin-600.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Outfit"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/outfit-latin-ext-500.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Outfit"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/outfit-latin-500.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Outfit"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/outfit-latin-ext-600.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Outfit"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/outfit-latin-600.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Outfit"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/outfit-latin-ext-700.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Outfit"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/outfit-latin-700.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --ink: #14161a;
  --ink-2: #2b2e33;
  --muted: #43474d;
  --muted-2: #5a5f66;
  --line: #e3e3de;
  --line-2: #c9cac4;
  --surface: #f4f4f1;
  --accent: #006fa6;
  --accent-dark: #004f78;
  --accent-soft: #f2f8fc;
  --warn-bg: #fff4e5;
  --warn-line: #f3d3a6;
  --warn-ink: #5c3b00;
  --radius: 14px;
  --font-head: "Outfit", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: #fff; color: var(--ink); font-family: var(--font-body); line-height: 1.5; min-height: 100vh; display: flex; flex-direction: column; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-dark); text-decoration: underline; }
img { max-width: 100%; height: auto; }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.2; overflow-wrap: anywhere; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.container { max-width: 1240px; margin: 0 auto; padding: 0 24px; width: 100%; }
main { flex: 1; }
:focus-visible { outline: 3px solid #9cc9e3; outline-offset: 2px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 44px; padding: 0 18px; border-radius: 10px; font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; border: 1px solid transparent; text-decoration: none; }
.btn:hover { text-decoration: none; }
.btn-dark { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn-dark:hover { color: #fff; background: #000; }
.btn-light { background: #fff; color: var(--ink); border-color: #fff; }
.btn-light:hover { color: var(--ink); }
.btn-outline { background: #fff; color: var(--ink); border-color: var(--line-2); font-weight: 500; }
.btn-outline:hover { color: var(--ink); border-color: var(--ink); }
.btn-ghost { background: transparent; color: var(--muted-2); font-weight: 500; }
.btn-sm { height: 40px; padding: 0 14px; font-size: 14px; }
.btn-icon { width: 40px; height: 40px; padding: 0; background: transparent; color: var(--muted-2); border: 0; }
.btn-icon:hover { color: var(--ink); background: var(--surface); }
.btn.is-active { background: var(--accent); border-color: var(--accent); color: #fff; }

/* Header */
.site-header { border-bottom: 1px solid var(--line); background: #fff; }
.site-header .container { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; padding-top: 16px; padding-bottom: 16px; }
.logo img { height: 30px; width: auto; display: block; }
.header-search { flex: 1 1 320px; display: flex; min-width: 0; }
.header-search input { flex: 1; min-width: 0; height: 44px; border: 1px solid var(--line-2); border-right: 0; border-radius: 10px 0 0 10px; padding: 0 16px; font: inherit; font-size: 15px; }
.header-search button { width: 52px; height: 44px; border: 1px solid var(--ink); border-radius: 0 10px 10px 0; background: var(--ink); color: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.main-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 22px; }
.main-nav a:not(.btn) { color: var(--ink); font-weight: 500; font-size: 15px; }
.main-nav a:not(.btn):hover { color: var(--accent); }

/* Footer */
.site-footer { background: var(--ink); color: #d6d8dc; margin-top: 64px; }
.site-footer .container { padding-top: 40px; padding-bottom: 40px; display: flex; flex-wrap: wrap; gap: 32px 64px; justify-content: space-between; }
.site-footer a { color: #d6d8dc; }
.site-footer a:hover { color: #fff; }
.footer-brand { flex: 1 1 280px; max-width: 380px; }
.footer-logo { display: inline-block; line-height: 0; }
.footer-logo img { width: 220px; height: auto; }
.footer-brand p { margin: 10px 0 0; font-size: 14px; line-height: 1.6; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 10px 28px; font-size: 14px; align-content: flex-start; }

/* Layout helpers */
.breadcrumb { font-size: 14px; color: var(--muted-2); display: flex; flex-wrap: wrap; gap: 6px; margin-top: 28px; }
.with-sidebar { display: flex; flex-wrap: wrap; gap: 40px; align-items: flex-start; margin-top: 20px; }
.with-sidebar > .primary { flex: 999 1 560px; min-width: 0; }
.with-sidebar > .sidebar { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.box { border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.box h2 { font-size: 19px; margin: 0 0 12px; }
.box-dark { background: var(--ink); color: #fff; border-radius: var(--radius); padding: 20px; }
.box-dark h2 { font-size: 20px; margin: 0; }
.box-dark p { margin: 8px 0 16px; font-size: 14px; line-height: 1.5; color: #d6d8dc; }
.section-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; }
.section-head h2 { font-size: 30px; margin: 0; }
.section-head a { font-weight: 600; }
.chip { display: inline-block; font-size: 13px; padding: 6px 12px; border-radius: 999px; background: var(--surface); color: var(--ink); }
.chip:hover { text-decoration: none; background: #e9e9e4; color: var(--ink); }
.pill { background: var(--ink); color: #fff; font-family: var(--font-head); font-weight: 600; font-size: 14px; padding: 4px 12px; border-radius: 6px; }

/* Lists of questions */
.q-list { list-style: none; margin: 16px 0 0; padding: 0; border-top: 1px solid var(--line); }
.q-list li { padding: 16px 0; border-bottom: 1px solid var(--line); display: flex; gap: 16px; align-items: flex-start; }
.q-list a { color: var(--ink); font-weight: 500; font-size: 17px; }
.q-list a:hover { color: var(--accent); }
.q-count { flex: none; width: 56px; text-align: center; padding: 6px 0; border-radius: 8px; background: var(--surface); font-size: 13px; color: var(--muted); }
.q-count strong { display: block; font-size: 18px; color: var(--ink); }
.q-meta { margin-top: 4px; font-size: 13px; color: var(--muted-2); }
.q-meta .open { color: #8a3a00; font-weight: 600; }
.q-list.compact li { padding: 12px 0; display: block; }
.side-list { list-style: none; margin: 0; padding: 0; }
.side-list li { padding: 10px 0; border-bottom: 1px solid #ecece8; }
.side-list li:last-child { border-bottom: 0; }
.side-list a { color: var(--ink); font-weight: 500; overflow-wrap: anywhere; }
.side-list a:hover { color: var(--accent); }
.side-list .q-meta { margin-top: 2px; }

/* Tiles */
.tile-grid { margin-top: 20px; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; }
.tile { display: flex; align-items: center; gap: 12px; padding: 16px; border: 1px solid var(--line); border-radius: 12px; font-weight: 600; color: var(--ink); }
.tile:hover { text-decoration: none; border-color: var(--ink); color: var(--ink); }
.tile .dot { width: 14px; height: 14px; border-radius: 4px; flex: none; }
.tile small { display: block; font-weight: 400; font-size: 13px; color: var(--muted-2); }

/* Home */
.hero { background: var(--surface); border-bottom: 1px solid var(--line); }
.hero .inner { max-width: 860px; margin: 0 auto; padding: 72px 24px 64px; text-align: center; }
.hero h1 { font-weight: 700; font-size: clamp(36px, 6vw, 52px); line-height: 1.08; letter-spacing: -0.015em; margin: 0; }
.hero p { margin: 18px auto 0; max-width: 620px; font-size: 18px; line-height: 1.6; color: var(--muted); }
.hero form { margin: 32px auto 0; max-width: 680px; display: flex; flex-wrap: wrap; gap: 10px; }
.hero input { flex: 1 1 320px; min-width: 0; height: 56px; border: 1px solid #b9bab3; border-radius: 12px; padding: 0 20px; font: inherit; font-size: 17px; background: #fff; }
.hero button { height: 56px; padding: 0 26px; font-size: 16px; border-radius: 12px; }
.hero .hint { font-size: 15px; }
.home-section { padding-top: 56px; }
.cta-band { margin-top: 56px; border-radius: 18px; background: var(--ink); color: #fff; padding: 40px; display: flex; flex-wrap: wrap; gap: 24px 40px; align-items: center; justify-content: space-between; }
.cta-band .text { flex: 1 1 420px; display: flex; gap: 24px; align-items: center; }
.cta-band img { width: 88px; height: 88px; border-radius: 12px; background: #fff; padding: 8px; flex: none; }
.cta-band h2 { font-size: 28px; margin: 0; }
.cta-band p { margin: 8px 0 0; font-size: 16px; line-height: 1.55; color: #d6d8dc; }

/* Category hub */
.hub-head { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 20px 40px; align-items: flex-end; justify-content: space-between; }
.hub-head .intro { flex: 1 1 560px; max-width: 760px; }
.hub-head .kicker { display: flex; align-items: center; gap: 12px; font-size: 14px; font-weight: 600; color: var(--muted-2); text-transform: uppercase; letter-spacing: 0.06em; }
.hub-head .kicker span { width: 18px; height: 18px; border-radius: 5px; }
.hub-head h1 { font-weight: 700; font-size: clamp(32px, 5vw, 46px); line-height: 1.1; margin: 10px 0 0; }
.hub-head p { margin: 14px 0 0; font-size: 18px; line-height: 1.6; color: var(--muted); }
.filters { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 8px; }
.filters a { height: 40px; padding: 0 16px; border-radius: 999px; font-size: 14px; font-weight: 600; display: inline-flex; align-items: center; border: 1px solid var(--line-2); color: var(--ink); background: #fff; }
.filters a:hover { text-decoration: none; border-color: var(--ink); }
.filters a[aria-current="page"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.filter-hint { margin: 10px 0 0; font-size: 13px; color: var(--muted-2); }
.pagination { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.pagination a, .pagination span { min-width: 44px; height: 44px; padding: 0 14px; display: inline-flex; align-items: center; justify-content: center; border-radius: 10px; border: 1px solid var(--line); color: var(--ink); }
.pagination a:hover { text-decoration: none; background: var(--surface); }
.pagination [aria-current="page"] { background: var(--ink); color: #fff; border-color: var(--ink); font-weight: 600; }
.pagination .gap { border: 0; min-width: auto; padding: 0 4px; color: var(--muted-2); }
.seo-text { margin-top: 64px; padding-top: 40px; border-top: 1px solid var(--line); max-width: 820px; font-size: 16px; line-height: 1.7; color: var(--ink-2); }
.seo-text h2 { font-size: 30px; margin: 0 0 16px; color: var(--ink); }
.seo-text h3 { font-size: 20px; margin: 28px 0 8px; color: var(--ink); }

/* Question page */
.q-head-meta { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--muted-2); }
.q-title { font-weight: 700; font-size: clamp(28px, 4vw, 38px); line-height: 1.15; letter-spacing: -0.01em; margin: 14px 0 0; }
.post { padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; scroll-margin-top: 24px; }
.post.is-best { border: 2px solid var(--accent); background: var(--accent-soft); }
.post + .post { margin-top: 16px; }
.post-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.author { display: flex; align-items: center; gap: 12px; }
.avatar { width: 40px; height: 40px; border-radius: 50%; color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 600; flex: none; }
img.avatar { object-fit: cover; background: var(--surface); }
.author-name { font-weight: 600; color: var(--ink); }
.author-date { display: block; font-size: 13px; color: var(--muted-2); }
.post-tools { display: flex; align-items: center; gap: 6px; }
.badge-best { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: #fff; background: var(--accent); padding: 5px 12px; border-radius: 999px; }
.copied { font-size: 13px; font-weight: 600; color: var(--accent); }
.post-body { margin-top: 14px; font-size: 17px; line-height: 1.65; overflow-wrap: anywhere; }
.post-body p { margin: 0 0 12px; }
.post-body > :last-child { margin-bottom: 0; }
.post-body blockquote { margin: 0 0 12px; padding: 8px 14px; border-left: 3px solid var(--line-2); color: var(--muted); }
.post-body blockquote.wwk-quote { border-left: 0; border-radius: 10px; background: var(--surface); padding: 12px 16px; font-size: 15px; line-height: 1.55; }
.post-body blockquote.wwk-quote p { margin: 6px 0 0; }
.wwk-quote-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px; font-size: 13px; color: var(--muted); }
.wwk-quote-head strong { color: var(--ink); margin-right: 4px; }
.wwk-quote-head a { margin-left: auto; }
.post-body pre { background: var(--surface); padding: 12px; border-radius: 8px; overflow-x: auto; font-size: 14px; }
.post-body table { border-collapse: collapse; display: block; overflow-x: auto; }
.post-body td, .post-body th { border: 1px solid var(--line); padding: 6px 10px; }
.post-actions { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 10px; }
.outdated { margin-top: 20px; padding: 16px 20px; border-radius: 12px; background: var(--warn-bg); border: 1px solid var(--warn-line); display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; }
.outdated p { margin: 0; font-size: 15px; color: var(--warn-ink); }
.outdated a { font-weight: 600; color: var(--warn-ink); text-decoration: underline; }
.answers-head { font-size: 24px; margin: 40px 0 16px; display: flex; align-items: center; gap: 10px; }
.answer-form { margin-top: 32px; padding: 24px; border-radius: var(--radius); background: var(--surface); }
.answer-form label { display: block; font-family: var(--font-head); font-weight: 600; font-size: 20px; }
.answer-form .help { margin: 6px 0 12px; font-size: 14px; color: var(--muted-2); }
.answer-form textarea, .form-field input, .form-field textarea, .form-field select { width: 100%; border: 1px solid var(--line-2); border-radius: 10px; padding: 12px 14px; font: inherit; font-size: 16px; background: #fff; }
.answer-form textarea { resize: vertical; }
.answer-form .row { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; font-size: 14px; color: var(--muted-2); }
.reply-quote { margin: 0 0 12px; padding: 12px 16px; border-radius: 10px; background: #fff; border: 1px solid var(--line-2); }
.reply-quote[hidden] { display: none; }
.reply-quote .top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
.reply-quote p { margin: 8px 0 0; font-size: 15px; line-height: 1.55; color: var(--muted); }

/* Ask page */
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field label { font-weight: 600; }
.form-field .help { margin: 0; font-size: 14px; color: var(--muted-2); }
.form-field input { height: 52px; font-size: 17px; }
.dup-box { padding: 20px; border-radius: var(--radius); border: 2px solid var(--accent); background: var(--accent-soft); }
.dup-box[hidden] { display: none; }
.dup-box h2 { font-size: 19px; margin: 0; }
.dup-box ul { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.dup-box li { padding: 12px 14px; border-radius: 10px; background: #fff; border: 1px solid #d5e6f0; }
.dup-box li a { color: var(--ink); font-weight: 600; }

@media (max-width: 640px) {
  .container { padding: 0 16px; }
  .cta-band { padding: 28px 20px; }
  .cta-band .text { flex-direction: column; align-items: flex-start; }
  .post { padding: 18px; }
}

/* Experts & profiles */
.badge-expert { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: #fff; background: var(--accent); padding: 6px 12px; border-radius: 999px; }
.badge-expert.sm { font-size: 12px; padding: 5px 10px; align-self: flex-start; }
.profile-head { margin-top: 20px; padding: 28px; border: 1px solid var(--line); border-radius: 18px; display: flex; flex-wrap: wrap; gap: 24px 32px; align-items: center; }
.profile-head .avatar { width: 96px; height: 96px; font-family: var(--font-head); font-weight: 700; font-size: 40px; }
.profile-head .info { flex: 1 1 360px; min-width: 0; }
.profile-head .name-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.profile-head h1 { font-weight: 700; font-size: clamp(28px, 4vw, 38px); line-height: 1.1; margin: 0; overflow-wrap: anywhere; }
.profile-head .since { margin: 8px 0 0; font-size: 15px; color: var(--muted-2); }
.profile-head .bio { white-space: pre-line; margin: 12px 0 0; font-size: 16px; line-height: 1.6; color: var(--muted); }
.profile-head .bio.empty { font-style: italic; }
.stat-grid { margin-top: 16px; display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; }
.stat { padding: 18px 20px; border-radius: var(--radius); background: var(--surface); }
.stat strong { display: block; font-family: var(--font-head); font-weight: 700; font-size: 30px; }
.stat span { font-size: 14px; color: var(--muted); }
.stat.highlight { background: var(--accent-soft); border: 1px solid #cfe3ef; }
.stat.highlight strong { color: var(--accent); }
.tabs { display: flex; gap: 8px; border-bottom: 1px solid var(--line); }
.tabs a { height: 48px; padding: 0 18px; display: inline-flex; align-items: center; font-weight: 500; color: var(--muted-2); border-bottom: 3px solid transparent; margin-bottom: -1px; }
.tabs a:hover { text-decoration: none; color: var(--ink); }
.tabs a[aria-current="page"] { font-weight: 700; color: var(--ink); border-bottom-color: var(--ink); }
.helpful-count { color: var(--accent); font-weight: 600; }
.mini-best { color: #fff; background: var(--accent); padding: 1px 8px; border-radius: 999px; font-weight: 600; }
.experts-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 24px; }
.experts-head h2 { font-size: 30px; margin: 0; }
.experts-head p { margin: 6px 0 0; font-size: 15px; color: var(--muted); }
.slider-nav { display: flex; gap: 8px; }
.slider-nav button { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--ink); background: #fff; color: var(--ink); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.slider-nav button:disabled { border-color: var(--line); background: var(--surface); color: #b0b2b6; cursor: default; }
.expert-track { list-style: none; margin: 20px 0 0; padding: 0 0 6px; display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; }
.expert-track::-webkit-scrollbar { display: none; }
.expert-card { flex: 0 0 260px; scroll-snap-align: start; padding: 22px; border: 1px solid var(--line); border-radius: 16px; background: #fff; display: flex; flex-direction: column; gap: 14px; }
.expert-card .who { display: flex; align-items: center; gap: 12px; }
.expert-card .avatar { width: 52px; height: 52px; font-weight: 700; font-size: 20px; }
.expert-card .name { font-family: var(--font-head); font-weight: 700; font-size: 19px; color: var(--ink); overflow-wrap: anywhere; }
.expert-card .rank { font-size: 13px; color: var(--muted-2); }
.expert-card .numbers { display: flex; gap: 18px; font-size: 14px; color: var(--muted); }
.expert-card .numbers strong { display: block; font-family: var(--font-head); font-size: 22px; color: var(--ink); }
.expert-card .numbers .helpful strong { color: var(--accent); }
.expert-card .profile-link { margin-top: auto; font-weight: 600; }

/* Auth & flash messages */
.flash { margin: 16px auto 0; max-width: 1240px; padding: 0 24px; }
.flash p { margin: 0; padding: 12px 16px; border-radius: 10px; background: var(--accent-soft); border: 1px solid #cfe3ef; color: var(--ink); font-size: 15px; }
.auth-wrap { max-width: 480px; margin: 48px auto 0; padding: 0 16px; }
.auth-card { padding: 32px; border: 1px solid var(--line); border-radius: 18px; background: #fff; }
.auth-card h1 { font-size: 32px; margin: 0; }
.auth-card .lead { margin: 8px 0 24px; color: var(--muted); font-size: 16px; }
.auth-card form { display: flex; flex-direction: column; gap: 18px; }
.auth-card .form-field input { height: 48px; font-size: 16px; }
.auth-card .check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 1.5; color: var(--muted); }
.auth-card .check input { width: 20px; height: 20px; margin: 2px 0 0; flex: none; }
.auth-card .btn { height: 48px; width: 100%; }
.auth-card .alt { margin: 20px 0 0; font-size: 15px; text-align: center; color: var(--muted); }
.field-error { margin: 0; font-size: 14px; color: #b42318; font-weight: 500; }
.form-field input[aria-invalid="true"] { border-color: #b42318; }
.user-menu { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; min-width: 0; }
.user-menu form { margin: 0; }
.user-menu .linkish { background: none; border: 0; padding: 0; font: inherit; font-size: 15px; font-weight: 500; color: var(--muted-2); cursor: pointer; }
.user-menu .linkish:hover { color: var(--ink); text-decoration: underline; }
.me { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); font-weight: 600; font-size: 15px; }
.me .avatar { width: 32px; height: 32px; font-size: 14px; }

/* Editor (Fett, Kursiv, Aufzählung) */
.editor { border: 1px solid var(--line-2); border-radius: 10px; background: #fff; overflow: hidden; }
.editor:focus-within { outline: 3px solid #9cc9e3; outline-offset: 1px; }
.editor-toolbar { display: flex; gap: 4px; padding: 6px; border-bottom: 1px solid var(--line); background: #fafaf8; }
.editor-button { width: 40px; height: 40px; border: 1px solid transparent; border-radius: 8px; background: transparent; color: var(--ink); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.editor-button:hover { background: var(--surface); }
.editor-button.is-active { background: var(--ink); color: #fff; }
.editor-area { position: relative; padding: 12px 14px; font-size: 16px; line-height: 1.65; outline: none; overflow-wrap: anywhere; }
.editor-area p { margin: 0 0 10px; }
.editor-area ul, .editor-area ol { margin: 0 0 10px; padding-left: 24px; }
.editor-area.is-empty::before { content: attr(data-placeholder); color: #8a8e94; pointer-events: none; position: absolute; }
.editor-area[aria-invalid="true"] { box-shadow: inset 0 0 0 1px #b42318; }
.editor-toolbar { align-items: center; flex-wrap: wrap; }
.editor-status { margin-left: auto; padding: 0 8px; font-size: 13px; color: var(--muted-2); }
.editor-status.is-error { color: #b42318; font-weight: 500; }
.editor-area img, .post-body img { max-width: 100%; height: auto; border-radius: 8px; }
.editor-area a { color: var(--accent); text-decoration: underline; }

/* Lightbox */
.post-body img { cursor: zoom-in; }
.lightbox { padding: 0; border: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; }
.lightbox::backdrop { background: rgba(10, 12, 15, 0.88); }
.lightbox-inner { position: relative; width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; padding: 56px 72px; box-sizing: border-box; }
.lightbox img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 6px; cursor: zoom-out; box-shadow: 0 10px 40px rgba(0,0,0,.4); }
.lightbox button { position: absolute; width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255,255,255,.14); color: #fff; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.lightbox button:hover { background: rgba(255,255,255,.28); }
.lightbox .lb-close { top: 16px; right: 16px; }
.lightbox .lb-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-next { right: 16px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-caption { position: absolute; bottom: 16px; left: 0; right: 0; text-align: center; color: #e6e7ea; font-size: 14px; }
@media (max-width: 640px) { .lightbox-inner { padding: 64px 12px; } .lightbox .lb-prev, .lightbox .lb-next { top: auto; bottom: 12px; transform: none; } }

/* Melden */
.report { position: relative; display: inline-block; }
.report > summary { list-style: none; }
.report > summary::-webkit-details-marker { display: none; }
.report-form { position: absolute; z-index: 20; top: 46px; left: 0; width: min(340px, 86vw); padding: 16px; border: 1px solid var(--line); border-radius: 12px; background: #fff; box-shadow: 0 12px 32px rgba(0,0,0,.12); display: flex; flex-direction: column; gap: 10px; }
.report-form fieldset { border: 0; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; font-size: 14px; }
.report-form legend { font-weight: 600; margin-bottom: 6px; }
.report-form label { display: flex; gap: 8px; align-items: center; }
.report-form textarea { width: 100%; border: 1px solid var(--line-2); border-radius: 8px; padding: 8px 10px; font: inherit; font-size: 14px; }
.pending-note { margin-top: 16px; padding: 12px 16px; border-radius: 10px; background: var(--warn-bg); border: 1px solid var(--warn-line); color: var(--warn-ink); font-size: 15px; }
.mod-bar { margin-top: 12px; padding: 10px 12px; border-radius: 10px; background: #f6f1fb; border: 1px solid #e3d6f2; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 14px; }
.mod-bar form { margin: 0; }
.mod-bar strong { margin-right: 4px; }

/* Admin */
.admin-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.admin-table th, .admin-table td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.admin-table th { font-weight: 600; color: var(--muted); background: #fafaf8; white-space: nowrap; }
.admin-table tr:hover td { background: #fafaf8; }
.admin-form { display: flex; flex-direction: column; gap: 18px; max-width: 820px; }
.admin-form .form-field input, .admin-form .form-field select { height: 44px; font-size: 15px; }
.admin-form fieldset { border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; margin: 0; }
.admin-form legend { font-weight: 600; padding: 0 6px; }
.check-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 8px 16px; font-size: 14px; }
.check-grid label, .admin-form .check { display: flex; gap: 8px; align-items: center; }
.inline-form { display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-end; }
.inline-form .form-field { flex: 1 1 220px; }
.inline-form .form-field input, .inline-form .form-field select { height: 44px; font-size: 15px; }
.editor-area h3 { font-family: var(--font-head); font-size: 20px; margin: 16px 0 8px; }

/* Passwort anzeigen/verbergen */
.password-wrap { position: relative; }
.password-wrap input { padding-right: 52px; }
.password-toggle { position: absolute; top: 0; right: 0; height: 100%; width: 48px; display: grid; place-items: center; background: none; border: 0; border-radius: 0 10px 10px 0; color: var(--muted-2); cursor: pointer; }
.password-toggle:hover { color: var(--ink); }
.password-toggle:focus-visible { outline: 2px solid var(--ink); outline-offset: -4px; }
.password-toggle .icon-hide, .password-toggle[aria-pressed="true"] .icon-show { display: none; }
.password-toggle[aria-pressed="true"] .icon-hide { display: block; }

/* Unterthemen: mobil eingeklappt */
.subtopics { margin-top: 40px; }
.subtopics summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 10px; }
.subtopics summary::-webkit-details-marker { display: none; }
.subtopics summary h2 { font-size: 24px; margin: 0; }
.subtopics summary .count { font-weight: 400; color: var(--muted-2); }
.subtopics summary::after { content: ""; width: 10px; height: 10px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); margin-top: -4px; transition: transform .15s; }
.subtopics[open] summary::after { transform: rotate(-135deg); margin-top: 4px; }
.subtopics .tile-grid { margin-top: 16px; }
@media (max-width: 640px) {
  .subtopics { margin-top: 28px; border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; }
  .subtopics summary h2 { font-size: 19px; }
  .subtopics summary { justify-content: space-between; }
  .subtopics .tile-grid { margin-top: 14px; }
}

/* Konto-Einstellungen */
.settings-nav { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 16px; }
.settings-nav a { padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--ink); background: #fff; }
.settings-nav a:hover { text-decoration: none; border-color: var(--ink); }
.settings-nav a[aria-current="page"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.alt .linkish { background: none; border: 0; padding: 0; font: inherit; font-weight: 600; color: var(--accent); cursor: pointer; text-align: left; }
.alt .linkish:hover { text-decoration: underline; }

/* Moderationsteam (Moderatoren und Admins sehen öffentlich gleich aus) */
.author-line { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; }
.badge-staff { display: inline-flex; align-items: center; gap: 5px; font-size: 13px; font-weight: 600; line-height: 1; color: #fff; background: var(--ink); padding: 6px 11px; border-radius: 999px; white-space: nowrap; }
.badge-staff.sm { font-size: 11.5px; padding: 4px 8px; gap: 4px; }
.badge-staff.sm svg { width: 11px; height: 11px; }

/* Hamburger-Menü (nur schmale Bildschirme mit JavaScript) */
.nav-toggle, .header-ask, .nav-mobile-only { display: none; }
@media (max-width: 640px) {
  .js .site-header .container { gap: 12px; padding-top: 12px; padding-bottom: 12px; }
  .js .logo { order: 1; margin-right: auto; }
  .js .logo img { height: 24px; }
  .js .header-ask { order: 2; display: inline-flex; height: 38px; padding: 0 12px; font-size: 14px; }
  .js .nav-toggle { order: 3; display: grid; place-items: center; width: 42px; height: 42px; margin-right: -8px; border: 0; border-radius: 10px; background: none; color: var(--ink); cursor: pointer; }
  .js .nav-toggle:hover { background: var(--surface); }
  .js .nav-toggle .icon-close, .js .nav-toggle[aria-expanded="true"] .icon-open { display: none; }
  .js .nav-toggle[aria-expanded="true"] .icon-close { display: block; }
  .js .header-search { order: 4; flex-basis: 100%; }
  .js .main-nav { order: 5; display: none; flex-basis: 100%; flex-direction: column; align-items: stretch; gap: 0; border-top: 1px solid var(--line); margin-top: 4px; }
  .js .main-nav.is-open { display: flex; }
  .js .main-nav a:not(.btn), .js .main-nav .linkish { display: flex; align-items: center; gap: 10px; padding: 14px 4px; font-size: 17px; font-weight: 500; color: var(--ink); border-bottom: 1px solid var(--line); width: 100%; text-align: left; }
  .js .main-nav .user-menu { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
  .js .main-nav .user-menu .me { order: -1; font-weight: 600; }
  .js .main-nav .user-menu form { display: block; }
  .js .main-nav .linkish { color: var(--muted-2); }
  .js .main-nav .nav-mobile-only { display: flex; }
  .js .main-nav .nav-ask { display: none; }
}

/* Umfragen */
.q-head-meta { flex-wrap: wrap; }
.pill-poll { display: inline-flex; align-items: center; gap: 6px; background: #e6f1f8; color: #004f78; }
.tag-poll { display: inline-block; margin-right: 6px; padding: 1px 8px; border-radius: 6px; background: #e6f1f8; color: #004f78; font-size: 12px; font-weight: 600; }
.poll { margin-top: 22px; padding: 20px; border-radius: 12px; background: var(--surface); }
.poll-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 16px; }
.poll-head h2 { font-size: 19px; margin: 0; }
.poll-head span { font-size: 14px; color: var(--muted-2); }
.poll-choose { border: 0; margin: 12px 0 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.poll-choose legend { padding: 0; margin-bottom: 12px; font-size: 15px; color: var(--muted); }
.poll-option { position: relative; display: block; cursor: pointer; }
.poll-option input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.poll-option span { display: flex; align-items: center; gap: 12px; min-height: 48px; box-sizing: border-box; padding: 10px 16px; border: 1px solid var(--line-2); border-radius: 10px; background: #fff; font-size: 16px; font-weight: 500; }
.poll-option span::before { content: ""; flex: none; width: 18px; height: 18px; box-sizing: border-box; border: 2px solid #8a8d92; border-radius: 50%; background: #fff; }
.poll-option:hover span { border-color: var(--ink); }
.poll-option input:checked + span { border: 2px solid var(--accent); padding: 9px 15px; }
.poll-option input:checked + span::before { border: 6px solid var(--accent); }
.poll-option input:focus-visible + span { outline: 3px solid #9cc9e3; outline-offset: 2px; }
.poll-results { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.poll-result-line { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 12px; font-size: 15px; }
.poll-result-line .label { font-weight: 500; }
.poll-result-line .value { color: var(--muted); white-space: nowrap; }
.poll-result-line .value strong { color: var(--ink); }
.poll-mine { margin-left: 8px; font-size: 12px; font-weight: 600; color: #fff; background: var(--accent); padding: 2px 8px; border-radius: 999px; white-space: nowrap; }
.poll-bar { margin-top: 6px; height: 10px; border-radius: 999px; background: var(--line); overflow: hidden; }
.poll-bar span { display: block; height: 100%; border-radius: 999px; background: var(--muted-2); }
.poll-results .is-mine .poll-bar span { background: var(--accent); }
.poll-note { margin: 16px 0 0; font-size: 14px; color: var(--muted); }
.badge-vote { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: #004f78; background: #e6f1f8; padding: 5px 12px; border-radius: 999px; }
.post-tools { flex-wrap: wrap; justify-content: flex-end; }
.poll-choice { margin: 4px 0 12px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; font-size: 14px; }
.poll-chip { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: #fff; background: var(--accent); padding: 6px 12px; border-radius: 999px; }
.poll-choice .linkish { background: none; border: 0; padding: 0; font: inherit; color: var(--accent); cursor: pointer; }
.poll-choice .linkish:hover { text-decoration: underline; }
.poll-vote-edit { border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; margin: 0 0 16px; display: flex; flex-direction: column; gap: 6px; }
.poll-vote-edit legend { font-weight: 600; padding: 0 4px; }

/* Umfrage-Editor */
.poll-edit { padding: 20px; border: 1px dashed var(--line-2); border-radius: 14px; background: #fff; }
.poll-edit.is-on { border: 2px solid var(--accent); background: #f2f8fc; }
.poll-edit-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.poll-edit-head h2 { display: flex; align-items: center; gap: 8px; font-size: 19px; margin: 0; }
.poll-edit-head p { margin: 4px 0 0; font-size: 14px; color: var(--muted-2); }
.poll-rows { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.poll-row { display: flex; align-items: center; gap: 8px; }
.poll-row label { flex: none; width: 92px; font-size: 14px; font-weight: 600; color: var(--muted); }
.poll-row input[type="text"] { flex: 1; min-width: 0; height: 46px; border: 1px solid var(--line-2); border-radius: 10px; padding: 0 14px; font: inherit; font-size: 16px; background: #fff; }
.poll-remove { flex: none; width: 44px; height: 44px; border: 1px solid var(--line-2); border-radius: 10px; background: #fff; display: inline-flex; align-items: center; justify-content: center; color: var(--muted); cursor: pointer; }
.poll-remove:disabled { color: #b9bab3; cursor: not-allowed; }
.poll-edit-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; margin-top: 10px; }
.poll-edit .help { margin: 8px 0 0; font-size: 13px; color: var(--muted-2); }
.poll-edit-foot .help { margin: 0; }
.poll-locked { margin: 14px 0 0; padding-left: 20px; }
@media (max-width: 640px) {
  .poll-row label { width: auto; position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
}

/* Bearbeitungsfrist */
.edit-left { align-self: center; font-size: 13px; color: var(--muted-2); }

/* Eigene Antwort: Hilfreich-Zähler nur als Info */
.helpful-own { align-self: center; font-size: 14px; color: var(--muted-2); }

/* Eigene Beteiligung (nur für angemeldete Mitglieder) */
.q-list li.is-mine { background: #f2f8fc; margin: 0 -12px; padding-left: 12px; padding-right: 12px; border-radius: 8px; }
.tag-mine { display: inline-block; margin-right: 6px; padding: 1px 8px; border-radius: 6px; background: #ffffff; border: 1px solid #b7d6ea; color: #004f78; font-size: 12px; font-weight: 600; }
.post.is-own { box-shadow: inset 4px 0 0 #9cc9e3; }
.post.is-own.is-best { box-shadow: inset 4px 0 0 var(--accent); }

/* Benachrichtigungen: Glocke */
.bell { position: relative; }
.bell-button, .bell-mobile { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 10px; color: var(--ink); }
.main-nav .bell-button { color: var(--ink); }
.bell-button:hover, .bell.is-open .bell-button, .bell-mobile:hover { background: var(--surface); color: var(--ink); text-decoration: none; }
.bell-count { position: absolute; top: 2px; right: 0; min-width: 20px; height: 20px; padding: 0 5px; box-sizing: border-box; border: 2px solid #fff; border-radius: 999px; background: var(--accent); color: #fff; font-size: 12px; font-weight: 700; line-height: 16px; text-align: center; }
.bell-panel { position: absolute; z-index: 30; top: 52px; right: -8px; width: 400px; max-width: calc(100vw - 32px); background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 16px 40px rgba(20,22,26,.14); overflow: hidden; }
.bell-panel-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.bell-panel-head h2 { font-size: 18px; margin: 0; }
.bell-panel-head form { margin: 0; }
.bell-panel-head .linkish { background: none; border: 0; padding: 0; font: inherit; font-size: 14px; font-weight: 600; color: var(--accent); cursor: pointer; }
.bell-panel .note-list { max-height: 420px; overflow-y: auto; }
.bell-empty { margin: 0; padding: 28px 16px; text-align: center; font-size: 15px; color: var(--muted-2); }
.bell-panel-foot { display: flex; justify-content: space-between; gap: 12px; padding: 12px 16px; font-size: 14px; border-top: 1px solid var(--line); }
.bell-panel-foot a:first-child { font-weight: 600; }
.bell-mobile { display: none; }

/* Benachrichtigungen: Liste */
.note-list { list-style: none; margin: 0; padding: 0; }
.note-item { border-bottom: 1px solid #f0f0ec; }
.note-item:last-child { border-bottom: 0; }
.note-item a { display: flex; gap: 12px; align-items: flex-start; padding: 12px 16px; color: var(--ink); text-decoration: none; }
.note-item a:hover { background: var(--surface); }
.note-item.is-unread a { background: #f2f8fc; }
.note-item.is-unread a:hover { background: #e6f1f8; }
.note-item.is-large a { gap: 14px; padding: 16px 18px; }
.note-icon { flex: none; width: 34px; height: 34px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 16px; background: #e6f1f8; color: #004f78; }
.note-quote { background: var(--surface); color: var(--ink); }
.note-best { background: var(--accent); color: #fff; }
.note-report { background: #fff4e5; color: #7a4b00; }
.note-text { flex: 1; min-width: 0; }
.note-line { display: block; font-size: 14px; line-height: 1.45; }
.note-title { display: block; margin-top: 2px; font-size: 14px; line-height: 1.4; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.note-item.is-large .note-line, .note-item.is-large .note-title { font-size: 15px; white-space: normal; }
.note-time { display: block; margin-top: 4px; font-size: 12px; color: var(--muted-2); }
.note-item.is-large .note-time { flex: none; margin-top: 0; font-size: 13px; white-space: nowrap; }
.note-dot { flex: none; margin-top: 6px; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); }

/* Benachrichtigungen: Seite */
.notes-page { max-width: 820px; padding-top: 40px; }
.notes-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 24px; }
.notes-head h1 { font-size: 38px; margin: 0; }
.notes-head p { margin: 6px 0 0; font-size: 15px; color: var(--muted-2); max-width: 560px; }
.notes-head form { margin: 0; }
.notes-group { margin-top: 28px; }
.notes-group h2 { font-size: 16px; color: var(--muted-2); margin: 0 0 8px; }
.note-list.is-large { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.notes-empty { margin: 28px 0 0; padding: 28px; border-radius: 14px; background: var(--surface); font-size: 15px; color: var(--muted); text-align: center; }

@media (max-width: 640px) {
  .js .bell-mobile { order: 2; display: inline-flex; margin-left: -6px; }
  .js .main-nav .bell { display: none; }
  .bell-mobile .bell-count { right: -2px; }
}

/* Admin: content clean-up */
.cleanup-pill { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; white-space: nowrap; }
.cleanup-pill.keep { background: #e8f3ec; color: #1f5f3a; }
.cleanup-pill.merge, .cleanup-pill.edit { background: #e6f1f8; color: #004f78; }
.cleanup-pill.gone { background: #fde8e6; color: #8a1c13; }
.cleanup-pill.open { background: #fff4e5; color: #7a4b00; }
.cleanup-pill.approved { background: var(--ink); color: #fff; }
.cleanup-totals { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; margin-top: 18px; }
.cleanup-totals div { border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; background: #fff; }
.cleanup-totals strong { display: block; font-size: 26px; font-family: var(--font-head); }
.cleanup-totals span { font-size: 13px; color: var(--muted); }
.cleanup-apply { margin-top: 18px; padding: 16px; border: 1px solid var(--line); border-radius: 12px; display: flex; gap: 16px; align-items: center; justify-content: space-between; flex-wrap: wrap; background: #fff; }
.cleanup-apply p { margin: 0; font-size: 14px; color: var(--muted); max-width: 720px; }
.cleanup-rule { display: block; font-size: 13px; color: var(--muted); margin-top: 2px; max-width: 520px; }
.admin-table td.num, .admin-table th.num { text-align: right; font-variant-numeric: tabular-nums; }
.cleanup-decision { display: flex; gap: 6px; align-items: center; }
.cleanup-decision select { font-size: 13px; padding: 5px 8px; }
.cleanup-saved { font-size: 12px; color: #1f5f3a; }

/* Pages about the site (imprint, privacy, terms, netiquette, about) */
.legal-wrap { display: flex; flex-wrap: wrap; gap: 28px 56px; align-items: flex-start; padding-top: 36px; padding-bottom: 72px; }
.legal-nav { flex: 0 1 220px; position: sticky; top: 24px; }
.legal-nav-title { margin: 0 0 8px 12px; font-size: 13px; font-weight: 600; color: var(--muted-2); text-transform: uppercase; letter-spacing: .06em; }
.legal-nav a { display: block; padding: 9px 12px; border-radius: 8px; color: var(--ink); font-size: 15px; }
.legal-nav a:hover { background: #f4f4f1; text-decoration: none; }
.legal-nav a[aria-current="page"] { background: var(--ink); color: #fff; font-weight: 600; }
.legal { flex: 1 1 520px; min-width: 0; max-width: 720px; }
.legal h1 { font-size: 40px; margin: 0; }
.legal-stand { margin: 8px 0 0; font-size: 14px; color: var(--muted); }
.legal h2 { font-size: 24px; margin: 36px 0 10px; }
.legal p, .legal li { font-size: 16px; line-height: 1.7; color: #2b2e33; overflow-wrap: anywhere; }
.legal p { margin: 0 0 12px; }
.legal ul { padding-left: 22px; }
.legal li { margin-bottom: 6px; }
.legal-team { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 18px; }
@media (max-width: 760px) {
    .legal-nav { position: static; flex-basis: 100%; display: flex; flex-wrap: wrap; gap: 6px; }
    .legal-nav-title { flex-basis: 100%; margin-left: 0; }
    .legal-nav a { border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; font-size: 14px; }
    .legal h1 { font-size: 32px; }
}

/* Login: notice for old accounts without a password (former Facebook/Twitter sign-in) */
.auth-hint { margin-top: 16px; padding: 20px 22px; border-radius: 18px; background: #e6f1f8; }
.auth-hint h2 { font-size: 18px; margin: 0; color: #004f78; }
.auth-hint p { margin: 8px 0 0; font-size: 15px; line-height: 1.55; color: var(--ink); }
.auth-hint .btn { margin-top: 14px; border-color: #9cc9e3; color: #004f78; }
.auth-hint .auth-hint-small { font-size: 13px; color: #43474d; margin-top: 12px; }

/* Settings: profile, e-mail change, delete account */
.settings-section { margin-top: 18px; }
.settings-section h2 { font-size: 24px; margin: 0; }
.settings-avatar { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 20px; margin: 18px 0 20px; }
.settings-avatar .avatar { width: 96px; height: 96px; font-family: var(--font-head); font-size: 40px; }
.avatar-controls { flex: 1; min-width: 220px; }
.avatar-controls .help { margin: 8px 0 0; font-size: 13px; color: var(--muted-2); line-height: 1.5; }
.avatar-label { margin: 0 0 8px; font-size: 14px; font-weight: 600; }
.avatar-actions { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 8px; }
.auth-card .avatar-actions .btn { width: auto; height: 40px; }
.avatar-preview .help { margin: 12px 0; font-size: 13px; color: var(--muted-2); }
.avatar-actions form { margin: 0; display: flex; flex-direction: row; align-items: flex-start; gap: 8px; }
.avatar-pick { position: relative; cursor: pointer; }
.avatar-pick:focus-within { outline: 3px solid #9cc9e3; outline-offset: 2px; }
.js .avatar-input { position: absolute; inset: 0; opacity: 0; width: 100%; cursor: pointer; }
.js .avatar-submit { display: none; }
.avatar-remove summary { list-style: none; display: inline-flex; align-items: center; height: 40px; padding: 0 12px; font-size: 14px; font-weight: 600; color: var(--muted-2); cursor: pointer; border-radius: 10px; }
.avatar-remove summary::-webkit-details-marker { display: none; }
.avatar-remove summary:hover { color: var(--ink); }
.avatar-remove[open] summary { color: var(--ink); }
.avatar-actions { position: relative; }
.avatar-remove-box { position: absolute; left: 0; top: 48px; z-index: 5; width: min(360px, calc(100vw - 48px)); box-sizing: border-box; padding: 14px; border: 1px solid #f2c7c2; border-radius: 12px; background: #fdf3f2; font-size: 14px; line-height: 1.5; box-shadow: 0 8px 24px rgba(20, 22, 26, .12); }
.avatar-remove-box p { margin: 0 0 10px; }
.avatar-preview { margin: 4px 0 20px; padding: 18px; border-radius: 12px; background: var(--surface); }
.avatar-preview-sizes { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 28px; margin-bottom: 4px; }
.avatar-preview-sizes figure { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.avatar-preview-sizes figcaption { font-size: 13px; color: var(--muted-2); }
.avatar-preview .avatar-96 { width: 96px; height: 96px; }
.avatar-preview .avatar-30 { width: 30px; height: 30px; }
.btn-ghost:hover { color: var(--ink); }
.form-field input.is-readonly { background: #f4f4f1; color: #43474d; }
.counter-row { display: flex; justify-content: space-between; gap: 12px; }
.settings-note { margin: 14px 0 6px; padding: 12px 14px; border-radius: 10px; background: #e6f1f8; color: #004f78; font-size: 14px; line-height: 1.5; }
.settings-note p { margin: 0; }
.settings-note-actions { display: flex; gap: 16px; margin-top: 6px; }
.settings-danger { border-color: #f2c7c2; }
.settings-danger details { margin-top: 14px; }
.settings-danger summary { list-style: none; cursor: pointer; display: inline-flex; }
.settings-danger summary::-webkit-details-marker { display: none; }
.btn-danger-outline { background: #fff; color: #a3291d; border-color: #c4392b; }
.btn-danger { background: #a3291d; color: #fff; border-color: #a3291d; }
.btn-danger:hover { background: #8a1c13; color: #fff; }
.settings-danger form { margin-top: 14px; }
.settings-note .linkish { background: none; border: 0; padding: 0; font: inherit; font-size: 14px; font-weight: 600; color: var(--accent); cursor: pointer; }
.settings-note .linkish:hover { text-decoration: underline; }
.counter-row span:last-child { white-space: nowrap; flex: none; }

/* Approval notice on a held-back question */
.pending-review p { margin: 0; }
.pending-review-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.pending-review-actions form { margin: 0; }

/* Hidden answers, shown in place to the board's moderators only */
.answers-hidden-note { font-family: var(--font-body, inherit); font-size: 14px; font-weight: 500; color: var(--muted); }
.answers-head { flex-wrap: wrap; }
.post.post-hidden { border: 1px dashed #b9bab4; background: var(--surface); padding: 16px 20px; }
.post-hidden-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.post-hidden-who { display: flex; align-items: center; gap: 12px; min-width: 0; }
.post-hidden .avatar-sm { width: 32px; height: 32px; font-size: 14px; background: #8a8d93; }
.post-hidden .author-name { color: var(--muted); }
.post-hidden-meta { display: block; font-size: 13px; color: var(--muted); }
.badge-hidden { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 600; color: var(--muted); background: #e3e3de; padding: 3px 9px; border-radius: 999px; white-space: nowrap; }
.post-hidden-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.post-hidden-actions form { margin: 0; }
.post-hidden-body { margin-top: 10px; }
.post-hidden-body summary { list-style: none; }
.post-hidden-body summary::-webkit-details-marker { display: none; }
.post-hidden-body .when-open, .post-hidden-body[open] .when-closed { display: none; }
.post-hidden-body[open] .when-open { display: inline; }
.post-hidden-body .post-body { margin-top: 14px; padding-top: 14px; border-top: 1px solid #e3e3de; font-size: 16px; color: #5a5f66; }
