:root {
    --bg-page: #f5f6f8;
    --bg-card: #ffffff;
    --text-primary: #1a1a24;
    --text-secondary: #5a5a6a;
    --accent-blue: #0070ef;
    --accent-blue-glow: rgba(0, 112, 239, 0.15);
    --border-subtle: rgba(0, 0, 0, 0.08);
    --transition-smooth: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

* { box-sizing: border-box; }

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background: var(--bg-page);
    color: var(--text-primary);
    line-height: 1.6;
}

.sr-only {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

.container {
    max-width: 920px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.help-header {
    background: var(--bg-card);
    border-bottom: 1px solid var(--border-subtle);
    padding: 16px 0;
}
.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.brand {
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--text-primary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
}
.badge {
    background: var(--accent-blue);
    color: #fff;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding: 2px 7px;
}
.back-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
}
.back-link:hover { color: var(--accent-blue); }

/* Hero & Suche */
.hero {
    padding: 44px 0 28px;
    text-align: center;
}
.hero h1 { margin: 0 0 8px; font-size: 1.9rem; }
.hero p { margin: 0 0 24px; color: var(--text-secondary); }

.search-box input {
    width: 100%;
    max-width: 540px;
    height: 3.4em;
    padding: 0 16px;
    font-size: 1rem;
    font-family: inherit;
    background: var(--bg-card);
    border: 1px solid rgba(0, 0, 0, 0.14);
    border-radius: 0;
    transition: var(--transition-smooth);
}
.search-box input:focus {
    outline: none;
    border-color: var(--accent-blue);
    box-shadow: 0 0 0 4px var(--accent-blue-glow);
}

/* Kategorien */
.filter-bar {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
}
.filter-btn {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    padding: 8px 14px;
    font-family: inherit;
    font-size: 0.85rem;
    cursor: pointer;
    transition: var(--transition-smooth);
}
.filter-btn:hover,
.filter-btn.active {
    background: var(--text-primary);
    color: #fff;
    border-color: var(--text-primary);
}

/* Karten-Grid */
.article-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
    gap: 18px;
    padding-bottom: 60px;
}
.article-card {
    display: flex;
    flex-direction: column;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    padding: 22px;
    text-decoration: none;
    color: inherit;
    transition: var(--transition-smooth);
}
.article-card:hover {
    border-color: var(--accent-blue);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
    transform: translateY(-2px);
}
.card-cat {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--accent-blue);
    margin-bottom: 8px;
}
.article-card h2 {
    margin: 0 0 8px;
    font-size: 1.15rem;
}
.article-card p {
    margin: 0 0 16px;
    color: var(--text-secondary);
    font-size: 0.92rem;
    flex-grow: 1;
}
.card-more {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent-blue);
}
.no-results {
    text-align: center;
    color: var(--text-secondary);
    padding: 40px 0;
}

/* Artikel-Detailansicht */
.article-view {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    padding: 36px;
    margin: 32px 0 60px;
}
.breadcrumb {
    display: inline-block;
    margin-bottom: 20px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
}
.breadcrumb:hover { color: var(--accent-blue); }
.article-header {
    border-bottom: 1px solid var(--border-subtle);
    padding-bottom: 18px;
    margin-bottom: 24px;
}
.article-header h1 { margin: 4px 0 8px; font-size: 1.75rem; }
.meta { margin: 0; font-size: 0.85rem; color: var(--text-secondary); }

.article-body h2 { margin: 28px 0 10px; font-size: 1.25rem; }
.help-media {
    margin: 20px 0;
    border: 1px solid var(--border-subtle);
    background: var(--bg-page);
}
.help-media img {
    display: block;
    width: 100%;
    height: auto;
}
.help-media figcaption {
    padding: 8px 12px;
    font-size: 0.82rem;
    color: var(--text-secondary);
}
.help-video video {
    width: 100%;
    display: block;
    background: #000;
    margin: 20px 0;
}
.help-callout {
    border-left: 3px solid var(--accent-blue);
    background: rgba(0, 112, 239, 0.05);
    padding: 14px 16px;
    margin: 20px 0;
    font-size: 0.94rem;
}