:root {
    --bg-color: #0f172a;
    --card-bg: #1e293b;
    --text-color: #e2e8f0;
    --text-muted: #94a3b8;
    --accent-color: #38bdf8;
    --border-color: #334155;
    --font-sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

@media (prefers-color-scheme: light) {
    :root {
        --bg-color: #f8fafc;
        --card-bg: #ffffff;
        --text-color: #0f172a;
        --text-muted: #64748b;
        --accent-color: #0284c7;
        --border-color: #cbd5e1;
    }
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-sans);
    line-height: 1.6;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.container {
    max-width: 900px;
    margin: 3rem auto;
    padding: 2.5rem;
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    flex: 1;
    box-sizing: border-box;
}

.hero-logo {
    max-width: 100%;
    height: auto;
}

h1, h2, h3 {
    color: var(--text-color);
    font-weight: 600;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 0.3rem;
    margin-top: 2rem;
}

h1 { font-size: 1.8rem; border-bottom: none; }
h2 { font-size: 1.4rem; }
h3 { font-size: 1.1rem; border-bottom: none; color: var(--accent-color); }

p, li {
    color: var(--text-color);
    font-size: 1.05rem;
}

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

.meta-info {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--text-muted);
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1rem;
    margin-bottom: 2rem;
}

a {
    color: var(--accent-color);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

code, pre {
    font-family: var(--font-mono);
    background-color: #090d16;
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    font-size: 0.9rem;
}

pre {
    padding: 1rem;
    overflow-x: auto;
}

hr {
    border: none;
    border-top: 1px solid var(--border-color);
    margin: 2rem 0;
}

.footnotes {
    font-size: 0.9rem;
    color: var(--text-muted);
    border-top: 1px solid var(--border-color);
    margin-top: 3rem;
    padding-top: 1rem;
}

.no-print button, .no-print a {
    background-color: var(--border-color);
    color: var(--text-color);
    border: 1px solid var(--border-color);
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-family: var(--font-mono);
    font-size: 0.9rem;
    transition: background 0.2s;
    display: inline-block;
    box-sizing: border-box;
    cursor: pointer;
    text-decoration: none;
}

.no-print button:hover, .no-print a:hover {
    background-color: var(--accent-color);
    color: var(--bg-color);
    text-decoration: none;
}

.article-footer-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.article-footer-actions button, 
.article-footer-actions a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--border-color);
    color: var(--text-color);
    border: 1px solid var(--border-color);
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-family: var(--font-mono);
    font-size: 0.9rem;
    box-sizing: border-box;
    cursor: pointer;
    text-decoration: none;
    line-height: normal;
}

@media (max-width: 768px) {
    body {
        padding: 0.5rem;
    }
    .container {
        margin: 1rem auto;
        padding: 1rem;
        width: 100%;
        box-sizing: border-box;
    }
    .search-box {
        flex-direction: column;
    }
    .search-box button {
        width: 100%;
    }
    .article-footer-actions {
        flex-direction: column;
        width: 100%;
    }
    .article-footer-actions button,
    .article-footer-actions a {
        width: 100%;
        text-align: center;
        margin-left: 0 !important;
        box-sizing: border-box;
    }
}

.site-footer {
    text-align: center;
}

.article-footer-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
    justify-content: center;
}

.article-brand img {
    height: 150px; /* Ändere diesen Wert nach Bedarf, z.B. 45px oder 60px */
    width: auto;
}

@media (max-width: 600px) {
    .brand-logos {
        flex-direction: column;
        align-items: center;
        width: 100%;
        gap: 1rem;
    }
    .brand-logos a {
        display: block;
        width: 100%;
        text-align: center;
    }
    .brand-logos a:nth-child(1) img.logo-img {
        height: 70px;
        width: auto;
    }
    .brand-logos a:nth-child(2) img.logo-img {
        width: 100%;
        max-width: 100%;
        height: auto;
    }
}

.brand-logos {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.site-header {
    text-align: center;
}