/* synonyms.de – öffentliche Seiten (Wort, Kategorie, Rechtstexte, Fehlerseiten). Stand 02.10.2026, Design-Linie frage.de:
   Systemschrift, schwarzer Text, Logo-Grün #0a9070, Hover = Unterstreichung statt Farbwechsel. */
:root { --green: #0a9070; --green-dark: #087a5e; --green-soft: rgba(10, 144, 112, .3); --grey: #6b7280; --grey-light: #9ca3af; --line: #e5e7eb; }
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; font-size: 16px; line-height: 1.5; color: #000; background: #fff; }
a { color: var(--green); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
p { margin: 0 0 .9em; }
.hidden { display: none; }
.site-page-wrapper { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; }
.site-page-wrapper > main { flex: 1 0 auto; }

/* Kopfzeile */
.site-header { width: 100%; background: #fff; }
.site-header-inner { max-width: 800px; margin: 0 auto; padding: 16px 20px 5px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.menu-ask-button { display: inline-block; font-size: 14px; font-weight: 700; background: var(--green); color: #fff; border: 0; border-radius: 5px; padding: 8px 20px; white-space: nowrap; cursor: pointer; transition: background-color .12s; }
.menu-ask-button:hover { background: var(--green-dark); color: #fff; text-decoration: none; }
.header-link-btn { display: inline-block; font-size: 14px; font-weight: 600; line-height: 1; padding: 10px 14px; border-radius: 5px; color: #178f6d; background: #e8f6f1; white-space: nowrap; }
a.header-link-btn:hover { background: #d4efe5; text-decoration: none; color: #136e55; }
.header-link-btn.is-active { background: #f3f4f6; color: var(--grey); cursor: default; }

/* Inhalt */
.page { max-width: 800px; margin: 12px auto 50px; padding: 0 20px; width: 100%; }
.breadcrumb { font-size: 13px; color: var(--grey-light); margin: 6px 0 14px; }
.breadcrumb a { color: var(--grey); }
.breadcrumb span { margin: 0 6px; }
h1.page-title { font-size: 1.6em; font-weight: 700; margin: 0 0 4px; line-height: 1.25; }
.page-sub { color: var(--grey); font-size: 15px; margin: 0 0 18px; }
.page-sub a { color: var(--green); }
.page-sub .plain { color: var(--grey-light); }
h2 { font-size: 1.1em; font-weight: 600; margin: 0 0 8px; color: #000; }
h2.section-title { font-size: 1.25em; margin: 36px 0 8px; }

/* Wortbox */
.word-box { position: relative; border: 4px solid var(--green-soft); border-radius: 15px; padding: 18px 18px 14px; margin-bottom: 18px; }
.word-box h2 { margin-top: 0; }
.word-box section + section { margin-top: 18px; }
.syn-list { display: flex; flex-wrap: wrap; gap: 8px 10px; margin: 0; padding: 0; list-style: none; }
.syn-list li { margin: 0; }
.syn-list a, .syn-list span { display: inline-block; padding: 5px 11px; border-radius: 999px; font-size: 15px; line-height: 1.3; border: 1px solid #d5ebe4; background: #f3faf7; color: var(--green); }
.syn-list a:hover { text-decoration: none; background: #e3f4ee; border-color: #bfe0d4; }
.syn-list span { color: #333; background: #f6f7f8; border-color: #e5e7eb; }
.syn-list .syn-missing { cursor: pointer; }
.syn-list .syn-missing::after { content: " +"; color: var(--grey-light); font-weight: 600; }
.syn-list .syn-missing:hover { border-color: #bfe0d4; color: var(--green); }
.syn-list .syn-missing.is-loading { opacity: .6; cursor: progress; }
.syn-list .syn-missing.is-loading::after, .syn-list .syn-missing.is-failed::after { content: ""; }
.syn-list .syn-missing.is-failed { cursor: default; color: var(--grey-light); }
.word-box .meaning { color: #111; }
.word-box .example { color: #333; font-style: italic; }
.word-meta { font-size: 13px; color: var(--grey-light); margin: 4px 0 0; }
.word-meta a { color: var(--green); font-weight: 600; }
.word-meta .plain { color: var(--grey); font-weight: 600; }

/* Listen (Kategorie, alle Wörter, ähnliche Wörter) */
.ask-container { margin-bottom: 22px; }
.ask-container h3 { font-size: 1.1em; font-weight: 600; margin: 0 0 2px; line-height: 1.35; }
.ask-container > a h3 { color: var(--green); }
.ask-container > a:hover { text-decoration: none; }
.ask-container > a:hover h3 { text-decoration: underline; text-underline-offset: 3px; }
.ask-container .content, .ask-container .content p { margin: 0 0 1px; color: #333; font-size: 15px; line-height: 1.5; }
.ask-container .meta { font-size: 12px; color: var(--grey-light); }
.ask-container .meta a { color: var(--green); }
.pagination { text-align: center; margin: 10px 0 30px; }
.seo-page { display: inline-block; min-width: 24px; height: 24px; line-height: 24px; text-align: center; border-radius: 999px; background: #efefef; color: #666; font-size: 12px; margin: 0 3px; }
.seo-page:hover { text-decoration: none; background: #e2e2e2; }
.seo-page-active { background: #dcdcdc; color: #333; font-weight: 600; }
.loading { text-align: center; padding: 10px 0; }
.empty-hint { color: var(--grey); }

/* Statische Seiten */
.static-page-content { line-height: 1.6; }
.static-page-content h2 { margin-top: 24px; }

/* Fehlerseiten */
.error-page { text-align: center; padding: 60px 0 40px; }
.error-page .code { font-size: 64px; font-weight: 700; color: var(--green); line-height: 1; margin-bottom: 14px; }
.error-page p { color: #333; }

/* Fußzeile */
.site-footer { width: 100%; margin-top: auto; border-top: 1px solid var(--line); background: #fff; padding: 18px 20px 22px; text-align: center; font-size: 13px; color: var(--grey); }
.site-footer-inner { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 22px; margin-bottom: 8px; }
.site-footer-inner a { color: #4b5563; }
.site-footer-inner a:hover { color: var(--green); }
.site-footer-copy { color: var(--grey-light); font-size: 12px; }

@media (max-width: 480px) {
    .menu-ask-button { font-size: 13px; padding: 8px 12px; }
    .header-link-btn { font-size: 13px; padding: 7px 10px; }
    h1.page-title { font-size: 1.4em; }
    .word-box { padding: 14px 14px 12px; }
}
