:root {
    --brand: #1abc9c;
    --brand-dark: #117d6b;
    --brand-soft: #e9fbf7;
    --ink: #102238;
    --muted: #627083;
    --line: #dfe7ec;
    --surface: #f6f9fa;
    --white: #fff;
    --shadow: 0 16px 45px rgba(16, 34, 56, .08);
    color: var(--ink);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-synthesis: none;
    line-height: 1.6;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--white); color: var(--ink); }
a { color: var(--brand-dark); text-decoration-thickness: .08em; text-underline-offset: .18em; }
a:hover { color: #0c5f52; }
a:focus-visible, summary:focus-visible, input:focus-visible { outline: 3px solid rgba(26, 188, 156, .38); outline-offset: 3px; }

.skip-link { position: fixed; z-index: 100; top: .75rem; left: .75rem; transform: translateY(-180%); padding: .65rem 1rem; border-radius: .5rem; background: var(--ink); color: var(--white); }
.skip-link:focus { transform: translateY(0); }
.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; }

.site-header { position: sticky; z-index: 30; top: 0; border-bottom: 1px solid #e8ebef; background: var(--white); }
.header-inner { display: grid; grid-template-columns: minmax(250px, 1fr) minmax(340px, 520px) minmax(250px, 1fr); align-items: center; gap: clamp(1.25rem, 3vw, 3.25rem); min-height: 64px; padding: .7rem clamp(1.25rem, 3vw, 3rem); }
.header-brand { display: inline-flex; align-items: center; gap: .72rem; min-width: 0; width: max-content; max-width: 100%; color: #182334; text-decoration: none; }
.header-logo { display: block; width: 104px; height: 32px; object-fit: contain; object-position: left center; }
.header-logo-fallback { overflow: hidden; max-width: 135px; font-size: .94rem; text-overflow: ellipsis; white-space: nowrap; }
.header-separator { color: #b1bac5; font-size: 1.45rem; font-weight: 300; line-height: 1; }
.header-section-title { overflow: hidden; font-size: .9rem; font-weight: 650; text-overflow: ellipsis; white-space: nowrap; }
.header-search { position: relative; justify-self: center; width: 100%; }
.header-search-form { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: .65rem; height: 40px; padding: 0 .78rem; border: 1px solid #d8dee5; border-radius: .72rem; background: #f8f9fb; color: #687587; box-shadow: 0 1px 2px rgba(16, 34, 56, .03); transition: border-color .15s ease, background .15s ease, box-shadow .15s ease; }
.header-search-form:focus-within { border-color: var(--brand); background: var(--white); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 18%, transparent); }
.header-search-icon { flex: 0 0 auto; }
.header-search input { min-width: 0; width: 100%; padding: 0; border: 0; outline: 0; background: transparent; color: #1e2a3b; font: inherit; font-size: .88rem; }
.header-search input::placeholder { color: #7b8797; opacity: 1; }
.header-search input::-webkit-search-cancel-button { cursor: pointer; }
.header-search kbd { padding: .12rem .42rem; border: 1px solid #d7dde4; border-radius: .34rem; background: var(--white); color: #697587; font-family: inherit; font-size: .67rem; font-weight: 700; line-height: 1.35; white-space: nowrap; box-shadow: 0 1px 1px rgba(16, 34, 56, .06); }
.search-popover { position: absolute; z-index: 40; top: calc(100% + .55rem); left: 0; width: 100%; overflow: hidden; border: 1px solid #dfe4e9; border-radius: .8rem; background: var(--white); box-shadow: 0 18px 48px rgba(16, 34, 56, .16); }
.search-popover[hidden] { display: none; }
.search-status { margin: 0; padding: .72rem .85rem; border-bottom: 1px solid #edf0f3; color: var(--muted); font-size: .75rem; font-weight: 650; }
.search-results { max-height: min(420px, 62vh); overflow-y: auto; padding: .35rem; }
.search-result { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .16rem .8rem; padding: .72rem .75rem; border-radius: .55rem; color: var(--ink); text-decoration: none; }
.search-result:hover, .search-result.is-active { background: color-mix(in srgb, var(--brand) 10%, white); color: var(--ink); }
.search-result-title { overflow: hidden; font-size: .87rem; font-weight: 740; text-overflow: ellipsis; white-space: nowrap; }
.search-result-category { align-self: center; color: var(--brand-action); font-size: .7rem; font-weight: 700; }
.search-result-description { grid-column: 1 / -1; overflow: hidden; color: var(--muted); font-size: .76rem; line-height: 1.42; text-overflow: ellipsis; white-space: nowrap; }
.header-actions { justify-self: end; display: flex; align-items: center; gap: 1.25rem; white-space: nowrap; }
.header-support { color: #344254; font-size: .86rem; font-weight: 650; text-decoration: none; }
.header-support:hover { color: var(--brand-action); }
.header-cta { padding: .55rem .95rem; border-radius: .66rem; background: var(--brand-action); color: var(--white); font-size: .84rem; font-weight: 720; line-height: 1.2; text-decoration: none; box-shadow: 0 1px 2px rgba(16, 34, 56, .08); }
.header-cta:hover { background: var(--brand-action); color: var(--white); filter: brightness(.94); }
.brand { display: inline-flex; align-items: center; gap: .75rem; width: max-content; color: var(--ink); text-decoration: none; }
.brand-mark { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: var(--brand); color: #073b32; font-size: .88rem; font-weight: 900; letter-spacing: -.04em; box-shadow: inset 0 -2px 0 rgba(0, 0, 0, .08); }
.brand strong, .brand small { display: block; line-height: 1.1; }
.brand strong { font-size: 1rem; letter-spacing: -.02em; }
.brand small { margin-top: .24rem; color: var(--muted); font-size: .7rem; font-weight: 650; letter-spacing: .08em; text-transform: uppercase; }

.page-shell { display: grid; grid-template-columns: minmax(210px, 252px) minmax(0, 780px) minmax(180px, 220px); gap: clamp(1.8rem, 4vw, 4rem); max-width: 1480px; min-height: calc(100vh - 74px); margin: 0 auto; padding: 2.5rem 2rem 5rem; }
.left-navigation, .right-navigation { align-self: start; position: sticky; top: 106px; max-height: calc(100vh - 130px); overflow: auto; scrollbar-width: thin; }
.left-navigation { padding-right: 1.25rem; border-right: 1px solid var(--line); }
.right-navigation { padding-left: 1.25rem; border-left: 1px solid var(--line); }
.main-content { min-width: 0; }
.eyebrow { margin: 0 0 .55rem; color: var(--brand-dark); font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.navigation-list { margin: 0; padding: 0; list-style: none; }
.navigation-list .navigation-list { margin: .25rem 0 .55rem .75rem; padding-left: .75rem; border-left: 1px solid var(--line); }
.navigation-list > li { margin: .18rem 0; }
.navigation-list a { display: block; padding: .35rem .48rem; border-radius: .45rem; color: #33465a; font-size: .88rem; font-weight: 650; text-decoration: none; }
.navigation-list a:hover { background: var(--brand-soft); color: var(--brand-dark); }
.article-links { margin: .1rem 0 .5rem; padding: 0; list-style: none; }
.article-links a { color: var(--muted); font-size: .8rem; font-weight: 480; }

h1, h2, h3 { margin-top: 0; color: var(--ink); line-height: 1.16; letter-spacing: -.035em; }
h1 { margin-bottom: 1rem; font-size: clamp(2.25rem, 5vw, 4rem); }
h2 { margin-bottom: 1rem; font-size: clamp(1.45rem, 2.3vw, 2rem); }
h3 { margin-bottom: .45rem; font-size: 1.08rem; }
.hero { padding: clamp(2.2rem, 6vw, 4.6rem); border: 1px solid #cfeee8; border-radius: 1.5rem; background: radial-gradient(circle at 86% 16%, rgba(26, 188, 156, .2), transparent 32%), linear-gradient(140deg, #f8fffd 0%, #effaf7 100%); box-shadow: var(--shadow); }
.hero > p:not(.eyebrow) { max-width: 600px; margin: 0; color: #435468; font-size: 1.1rem; }
.search-placeholder { display: flex; align-items: center; gap: .7rem; margin-top: 2rem; padding: .9rem 1rem; border: 1px dashed #9edfd3; border-radius: .8rem; background: rgba(255, 255, 255, .75); color: var(--muted); font-size: .9rem; }
.search-placeholder > span:first-child { color: var(--brand-dark); font-size: 1.35rem; font-weight: 800; }
.hero + section, .latest, .related, .content-header + section, section + section { margin-top: 3.5rem; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.section-heading h2 { margin-bottom: 0; }
.section-heading > span { color: var(--muted); font-size: .82rem; white-space: nowrap; }
.category-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.category-card { display: flex; gap: 1rem; min-height: 150px; padding: 1.25rem; border: 1px solid var(--line); border-radius: 1rem; background: var(--white); transition: border-color .16s ease, transform .16s ease, box-shadow .16s ease; }
.category-card:hover { transform: translateY(-2px); border-color: #a5ded4; box-shadow: var(--shadow); }
.category-card h3 a { color: var(--ink); text-decoration: none; }
.category-card p { margin: 0 0 .65rem; color: var(--muted); font-size: .9rem; }
.category-card div > span { color: var(--muted); font-size: .76rem; }
.category-icon { flex: 0 0 auto; display: grid; place-items: center; width: 42px; height: 42px; border-radius: .8rem; background: var(--brand-soft); color: var(--brand-dark); font-weight: 850; }
.article-list { overflow: hidden; border: 1px solid var(--line); border-radius: 1rem; }
.article-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 1.15rem; color: var(--ink); text-decoration: none; }
.article-row + .article-row { border-top: 1px solid var(--line); }
.article-row:hover { background: var(--brand-soft); }
.article-row strong, .article-row small { display: block; }
.article-row small { margin-top: .2rem; color: var(--muted); font-size: .82rem; }
.article-row > span:last-child { color: var(--brand-dark); font-size: 1.2rem; }
.empty-state { padding: 1.4rem; border: 1px dashed #b9c8d2; border-radius: .9rem; background: var(--surface); color: var(--muted); }

.help-home { min-width: 0; }
.home-hero { position: relative; padding: clamp(2.4rem, 6vw, 4.8rem) clamp(1.4rem, 5vw, 4rem); border: 0; background: transparent; box-shadow: none; }
.home-hero h1 { position: relative; z-index: 1; max-width: 680px; margin-bottom: 1.2rem; font-size: clamp(2.4rem, 5vw, 4.2rem); }
.home-hero .home-section-content { position: relative; z-index: 1; max-width: 670px; }
.home-hero .home-lead { margin: 0 0 1rem; color: #263c4f; font-size: clamp(1.05rem, 2vw, 1.22rem); font-weight: 620; line-height: 1.55; }
.home-hero .home-section-content > p:not(.home-lead) { margin: 0; color: var(--muted); }
.home-section { scroll-margin-top: 96px; margin-top: clamp(3.3rem, 7vw, 5.5rem); }
.home-section > h2 { padding-bottom: .85rem; border-bottom: 1px solid var(--line); }
.home-section-content h2, .home-section-content h3, .home-section-content h4 { scroll-margin-top: 96px; }
.home-section-content a { overflow-wrap: anywhere; }
.home-card-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.home-card-grid--three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.home-card { min-width: 0; padding: 1.25rem; border: 1px solid var(--line); border-radius: 1rem; background: var(--white); box-shadow: 0 8px 24px rgba(16, 34, 56, .045); }
.home-card--accent { border-color: color-mix(in srgb, var(--brand) 45%, var(--line)); background: color-mix(in srgb, var(--brand) 7%, white); }
.home-card h3 { margin: .3rem 0 .5rem; font-size: 1rem; }
.home-card p { margin: 0; color: var(--muted); font-size: .87rem; }
.home-card p + p { margin-top: .9rem; }
.home-card::before { display: block; width: 23px; height: 23px; margin-bottom: 1rem; background: var(--brand-action); content: ""; mask: var(--home-card-icon, url("/icons/help-center/book.svg")) center / contain no-repeat; }
.home-card__icon { display: none; }
#hier-starten .home-card:nth-child(1), #funktionen-tools .home-card:nth-child(2), #moeglichkeiten .home-card:nth-child(2) { --home-card-icon: url("/icons/help-center/rocket.svg"); }
#hier-starten .home-card:nth-child(2), #funktionen-tools .home-card:nth-child(3), #leistungen .home-card:nth-child(1), #leistungen .home-card:nth-child(5), #leistungen .home-card:nth-child(6) { --home-card-icon: url("/icons/help-center/book.svg"); }
#hier-starten .home-card:nth-child(3), #funktionen-tools .home-card:nth-child(6), #moeglichkeiten .home-card:nth-child(3) { --home-card-icon: url("/icons/help-center/user.svg"); }
#funktionen-tools .home-card:nth-child(1), #funktionen-tools .home-card:nth-child(5) { --home-card-icon: url("/icons/help-center/wallet.svg"); }
#funktionen-tools .home-card:nth-child(4), #leistungen .home-card:nth-child(3), #moeglichkeiten .home-card:nth-child(1) { --home-card-icon: url("/icons/help-center/case.svg"); }
#leistungen .home-card:nth-child(2) { --home-card-icon: url("/icons/help-center/shield.svg"); }
#leistungen .home-card:nth-child(4), #moeglichkeiten .home-card:nth-child(4) { --home-card-icon: url("/icons/help-center/grad.svg"); }
#support-hilfe .home-card { --home-card-icon: url("/icons/help-center/support.svg"); }
.home-button { display: inline-flex; align-items: center; justify-content: center; padding: .55rem .8rem; border-radius: .55rem; background: var(--brand-action); color: var(--white); font-weight: 740; text-decoration: none; }
.home-button:hover { color: var(--white); filter: brightness(.94); }
.home-tab-list { display: flex; gap: .3rem; overflow-x: auto; margin-bottom: 1rem; padding: .28rem; border: 1px solid var(--line); border-radius: .75rem; background: var(--surface); scrollbar-width: thin; }
.home-tab-list button { flex: 1 0 auto; min-width: 100px; padding: .65rem .8rem; border: 0; border-radius: .55rem; background: transparent; color: #4b5b6d; font: inherit; font-size: .82rem; font-weight: 720; cursor: pointer; }
.home-tab-list button[aria-selected="true"] { background: var(--white); color: var(--brand-action); box-shadow: 0 1px 5px rgba(16, 34, 56, .1); }
.home-tab-list button:focus-visible { outline: 3px solid color-mix(in srgb, var(--brand) 32%, transparent); }
.home-guide-list { overflow: hidden; border: 1px solid var(--line); border-radius: .9rem; }
.home-guide-list > a { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 1.1rem; color: var(--ink); text-decoration: none; }
.home-guide-list > a + a { border-top: 1px solid var(--line); }
.home-guide-list > a:hover { background: var(--brand-soft); }
.home-guide-list strong, .home-guide-list small { display: block; }
.home-guide-list small { margin-top: .18rem; color: var(--muted); font-size: .78rem; }
.home-toc a.is-active { color: var(--brand-action); font-weight: 760; }
.home-mobile-toc { display: none; margin-bottom: 1rem; padding: .75rem .9rem; border: 1px solid var(--line); border-radius: .7rem; background: var(--surface); }
.home-mobile-toc summary { cursor: pointer; font-weight: 750; }
.home-mobile-toc nav { display: grid; gap: .2rem; margin-top: .7rem; }
.home-mobile-toc a { padding: .25rem 0; color: var(--muted); font-size: .8rem; text-decoration: none; }
.home-mobile-toc .toc-level-3 { padding-left: .8rem; }
.home-mobile-toc .toc-level-4 { padding-left: 1.6rem; }

.breadcrumbs { margin-bottom: 2.2rem; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: .35rem; margin: 0; padding: 0; list-style: none; }
.breadcrumbs li { color: var(--muted); font-size: .79rem; }
.breadcrumbs li:not(:last-child)::after { margin-left: .35rem; content: "/"; color: #a2afb9; }
.breadcrumbs a { color: var(--muted); text-decoration: none; }
.content-header { padding-bottom: 2rem; border-bottom: 1px solid var(--line); }
.content-header h1 { font-size: clamp(2.1rem, 4.5vw, 3.45rem); }
.content-header > p:not(.eyebrow), .lead { max-width: 680px; margin: 0; color: var(--muted); font-size: 1.08rem; }
.article-meta { display: flex; flex-wrap: wrap; gap: .65rem 1.25rem; margin-top: 1.4rem; color: var(--muted); font-size: .78rem; }
.compact-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; }
.compact-card { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem; border: 1px solid var(--line); border-radius: .8rem; color: var(--ink); font-weight: 680; text-decoration: none; }
.compact-card:hover { border-color: #9fdacf; background: var(--brand-soft); }

.knowledge-article { max-width: 760px; }
.article-content { margin-top: 2rem; color: #2d4054; font-size: 1rem; }
.article-content h2, .article-content h3, .article-content h4 { scroll-margin-top: 110px; }
.article-content h2 { margin-top: 2.3rem; font-size: 1.45rem; }
.article-content h3 { margin-top: 1.8rem; }
.article-content h4 { margin: 1.45rem 0 .4rem; font-size: 1rem; }
.article-content p, .article-content ul, .article-content ol, .article-content blockquote { margin: 1rem 0; }
.article-content code { padding: .13rem .34rem; border-radius: .3rem; background: #edf2f4; font-size: .9em; }
.article-content pre { overflow: auto; padding: 1rem; border-radius: .7rem; background: #102238; color: #eff8f6; }
.article-content pre code { padding: 0; background: transparent; }
.article-content blockquote { margin-left: 0; padding: .25rem 1rem; border-left: 3px solid var(--brand); color: var(--muted); }
.article-content table { display: block; overflow-x: auto; border-collapse: collapse; }
.article-content th, .article-content td { padding: .55rem .7rem; border: 1px solid var(--line); text-align: left; }
.article-section { scroll-margin-top: 110px; margin-top: 3rem; padding-top: .25rem; }
.article-section h2 { display: flex; align-items: baseline; gap: .55rem; padding-bottom: .7rem; border-bottom: 1px solid var(--line); }
.anchor-link { opacity: 0; color: var(--brand); font-size: .85em; text-decoration: none; }
.article-section h2:hover .anchor-link, .anchor-link:focus { opacity: 1; }
.table-of-contents ol { margin: .7rem 0 0; padding: 0; list-style: none; }
.table-of-contents li { margin: .35rem 0; }
.table-of-contents .toc-level-3 { padding-left: .75rem; }
.table-of-contents .toc-level-4 { padding-left: 1.5rem; }
.table-of-contents a { display: block; padding: .28rem 0; color: var(--muted); font-size: .82rem; text-decoration: none; }
.table-of-contents a:hover { color: var(--brand-dark); }
.aside-card { padding: 1rem; border-radius: .85rem; background: var(--surface); }
.aside-card strong { display: block; line-height: 1.35; }
.aside-card p:not(.eyebrow) { color: var(--muted); font-size: .83rem; }
.aside-card a { font-size: .82rem; font-weight: 700; }
.mobile-navigation { display: none; margin-bottom: 1.5rem; padding: .8rem 1rem; border: 1px solid var(--line); border-radius: .7rem; background: var(--surface); }
.mobile-navigation summary { cursor: pointer; font-weight: 750; }

.site-footer { display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding: 2rem max(2rem, calc((100vw - 1416px) / 2)); border-top: 1px solid var(--line); background: var(--surface); }
.site-footer p { margin: .2rem 0 0; color: var(--muted); font-size: .82rem; }
.site-footer a, .primary-link { font-weight: 750; }
.error-page { min-height: 100vh; display: grid; place-items: center; padding: 2rem; background: radial-gradient(circle at 70% 20%, rgba(26, 188, 156, .18), transparent 32%), var(--surface); }
.error-page main { max-width: 620px; padding: clamp(2rem, 6vw, 4.5rem); border: 1px solid var(--line); border-radius: 1.4rem; background: var(--white); box-shadow: var(--shadow); }
.error-page .brand { margin-bottom: 3.5rem; }
.error-page h1 { font-size: clamp(2.1rem, 6vw, 3.6rem); }
.error-page main > p:not(.eyebrow) { margin-bottom: 1.5rem; color: var(--muted); }

@media (max-width: 1120px) {
    .page-shell { grid-template-columns: minmax(200px, 240px) minmax(0, 1fr); }
    .right-navigation { display: none; }
    .header-inner { grid-template-columns: minmax(210px, 1fr) minmax(280px, 420px) auto; gap: 1.1rem; }
    .header-actions { gap: .8rem; }
    .home-mobile-toc { display: block; }
}

@media (max-width: 760px) {
    .header-inner { grid-template-columns: minmax(0, 1fr) auto; gap: .65rem .85rem; padding: .65rem 1rem .72rem; }
    .header-brand { gap: .48rem; }
    .header-logo { width: 78px; height: 27px; }
    .header-separator { font-size: 1.1rem; }
    .header-section-title { max-width: 86px; font-size: .76rem; white-space: normal; line-height: 1.15; }
    .header-search { grid-column: 1 / -1; grid-row: 2; }
    .header-search-form { height: 42px; }
    .header-actions { gap: .55rem; }
    .header-support { font-size: .75rem; }
    .header-cta { padding: .48rem .62rem; font-size: .74rem; }
    .page-shell { display: block; padding: 1.35rem 1rem 3.5rem; }
    .left-navigation { display: none; }
    .mobile-navigation { display: block; }
    .mobile-navigation .navigation-list { margin-top: .7rem; }
    .hero { padding: 2rem 1.25rem; border-radius: 1rem; }
    .category-grid, .compact-grid, .home-card-grid, .home-card-grid--three { grid-template-columns: 1fr; }
    .home-hero { padding: 2.3rem 1.25rem; border-radius: 1rem; }
    .home-section { margin-top: 3rem; }
    .section-heading { align-items: start; }
    .article-row { align-items: start; }
    .site-footer { align-items: start; flex-direction: column; padding: 1.5rem 1rem; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition-duration: .01ms !important; }
}
