/* Comovision Reviews – öffentliche Informationsseiten
   Lokales Stylesheet, keine externen Ressourcen, keine Webfonts. */

:root {
    --bg:          #ffffff;
    --bg-soft:     #f6f7f9;
    --text:        #1d2430;
    --text-muted:  #5a6472;
    --border:      #e2e5ea;
    --accent:      #2f5d8a;
    --accent-soft: #eef3f8;
    --note-bg:     #fff8e6;
    --note-border: #e4c360;
    --radius:      8px;
    --maxw:        50rem;
}

@media (prefers-color-scheme: dark) {
    :root {
        --bg:          #12161c;
        --bg-soft:     #1a1f27;
        --text:        #e6e9ee;
        --text-muted:  #a3acba;
        --border:      #2a313b;
        --accent:      #8ab4e0;
        --accent-soft: #1c2530;
        --note-bg:     #2a2415;
        --note-border: #6b5a22;
    }
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 17px;
    line-height: 1.65;
}

.wrap {
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 0 1.25rem;
}

/* ---------- Kopfbereich ---------- */

.site-header {
    border-bottom: 1px solid var(--border);
    background: var(--bg-soft);
}

.site-header .wrap {
    display: flex;
    align-items: center;
    gap: .7rem;
    padding-top: 1.1rem;
    padding-bottom: 1.1rem;
    flex-wrap: wrap;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    font-weight: 600;
    font-size: 1.05rem;
    color: var(--text);
    text-decoration: none;
}

.brand svg { display: block; flex: none; }

.site-header nav {
    margin-left: auto;
    display: flex;
    gap: 1.1rem;
    font-size: .93rem;
}

.site-header nav a { color: var(--text-muted); }

/* ---------- Inhalt ---------- */

main { padding: 2.5rem 0 3rem; }

h1 {
    font-size: 1.9rem;
    line-height: 1.25;
    margin: 0 0 .5rem;
    letter-spacing: -.01em;
}

.lead {
    font-size: 1.12rem;
    color: var(--text-muted);
    margin: 0 0 2rem;
}

h2 {
    font-size: 1.28rem;
    margin: 2.4rem 0 .75rem;
    padding-top: 1.4rem;
    border-top: 1px solid var(--border);
    letter-spacing: -.005em;
}

h2:first-of-type { border-top: none; padding-top: 0; }

h3 {
    font-size: 1.02rem;
    margin: 1.6rem 0 .5rem;
}

p, ul, ol { margin: 0 0 1rem; }

ul, ol { padding-left: 1.3rem; }

li { margin-bottom: .35rem; }

a { color: var(--accent); }

a:hover { text-decoration: none; }

strong { font-weight: 600; }

code {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: .88em;
    background: var(--bg-soft);
    border: 1px solid var(--border);
    border-radius: 4px;
    padding: .1em .35em;
    word-break: break-word;
}

.meta {
    font-size: .9rem;
    color: var(--text-muted);
}

/* ---------- Bausteine ---------- */

.flow {
    list-style: none;
    padding: 0;
    margin: 1.25rem 0 1.5rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
}

.flow li {
    margin: 0;
    padding: .85rem 1rem;
    background: var(--bg-soft);
    border-bottom: 1px solid var(--border);
}

.flow li:last-child { border-bottom: none; }

.flow .step {
    display: block;
    font-size: .78rem;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--text-muted);
    margin-bottom: .15rem;
}

.panel {
    background: var(--accent-soft);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1rem 1.15rem;
    margin: 1.5rem 0;
}

.panel p:last-child { margin-bottom: 0; }

.note {
    background: var(--note-bg);
    border: 1px solid var(--note-border);
    border-radius: var(--radius);
    padding: .85rem 1rem;
    margin: 1.25rem 0;
    font-size: .95rem;
}

.note p:last-child { margin-bottom: 0; }

.note strong { text-transform: uppercase; font-size: .78rem; letter-spacing: .06em; }

dl { margin: 0 0 1rem; }

dt { font-weight: 600; margin-top: .9rem; }

dd { margin: .15rem 0 0; color: var(--text-muted); }

table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0 1.5rem;
    font-size: .95rem;
}

th, td {
    text-align: left;
    vertical-align: top;
    padding: .55rem .7rem;
    border-bottom: 1px solid var(--border);
}

th { font-weight: 600; background: var(--bg-soft); }

.toc { font-size: .95rem; }

.toc ol { columns: 2; column-gap: 2rem; }

@media (max-width: 34rem) {
    .toc ol { columns: 1; }
}

/* ---------- Fußbereich ---------- */

.site-footer {
    border-top: 1px solid var(--border);
    background: var(--bg-soft);
    padding: 1.6rem 0 2.2rem;
    font-size: .92rem;
    color: var(--text-muted);
}

.site-footer nav {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem 1.1rem;
    margin-bottom: .6rem;
}

.site-footer p { margin: 0; }

@media (max-width: 34rem) {
    body { font-size: 16px; }
    h1 { font-size: 1.6rem; }
    main { padding: 2rem 0 2.5rem; }
}
