:root {
    --kb-bg: #07101f;
    --kb-panel: rgba(15, 27, 46, .82);
    --kb-panel-strong: #101c30;
    --kb-line: rgba(148, 163, 184, .17);
    --kb-text: #f7fbff;
    --kb-muted: #aebed0;
    --kb-green: #7fd858;
    --kb-blue: #54b8ff;
    --kb-violet: #ad8cff;
    --kb-radius: 20px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html:has(body.knowledge-page) { overflow-x: clip; }
body.knowledge-page {
    margin: 0;
    color: var(--kb-text);
    background:
        radial-gradient(circle at 12% 4%, rgba(84,184,255,.14), transparent 30rem),
        radial-gradient(circle at 88% 12%, rgba(127,216,88,.11), transparent 28rem),
        linear-gradient(180deg, #07101f 0%, #0a1424 52%, #07101f 100%);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    min-height: 100vh;
}

body.knowledge-page::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    opacity: .22;
    background-image: linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: linear-gradient(to bottom, #000, transparent 75%);
}

.kb-header {
    position: sticky;
    top: 0;
    z-index: 30;
    display: flex;
    align-items: center;
    gap: 24px;
    min-height: 76px;
    padding: 10px max(18px, calc((100vw - 1240px) / 2));
    border-bottom: 1px solid rgba(255,255,255,.08);
    background: rgba(7,16,31,.86);
    backdrop-filter: blur(18px);
}

.kb-brand { display: inline-flex; align-items: center; text-decoration: none; }
.kb-brand img { width: 138px; height: 52px; object-fit: contain; }
.kb-nav { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.kb-nav a {
    color: #cbd7e5;
    text-decoration: none;
    padding: 10px 12px;
    border-radius: 10px;
    font-size: .84rem;
    font-weight: 750;
}
.kb-nav a:hover, .kb-nav a[aria-current="page"] { color: #fff; background: rgba(255,255,255,.06); }
.kb-nav .kb-nav-cta { color: #07101f; background: linear-gradient(135deg, var(--kb-green), #a6ef7d); }

.kb-menu {
    display: none;
    margin-left: auto;
    width: 44px;
    height: 44px;
    border: 1px solid var(--kb-line);
    border-radius: 12px;
    color: #fff;
    background: rgba(255,255,255,.05);
    font: inherit;
}

.kb-shell { width: min(1180px, calc(100% - 36px)); margin: 0 auto; position: relative; }
.kb-hero { padding: 90px 0 52px; text-align: center; }
.kb-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 18px;
    padding: 7px 11px;
    border: 1px solid rgba(127,216,88,.25);
    border-radius: 999px;
    color: #a6ef7d;
    background: rgba(127,216,88,.08);
    font-size: .69rem;
    font-weight: 900;
    letter-spacing: .12em;
    text-transform: uppercase;
}
.kb-hero h1 {
    max-width: 900px;
    margin: 0 auto;
    font-size: clamp(2.45rem, 6vw, 5.4rem);
    line-height: .98;
    letter-spacing: -.055em;
}
.kb-hero h1 em {
    display: block;
    color: transparent;
    background: linear-gradient(110deg, var(--kb-blue), var(--kb-green));
    background-clip: text;
    -webkit-background-clip: text;
    font-style: normal;
}
.kb-hero > p:not(.kb-eyebrow) {
    max-width: 720px;
    margin: 24px auto 0;
    color: var(--kb-muted);
    font-size: clamp(.98rem, 2vw, 1.15rem);
    line-height: 1.75;
}

.kb-search {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px;
    width: min(720px, 100%);
    margin: 34px auto 0;
    padding: 8px;
    border: 1px solid rgba(84,184,255,.22);
    border-radius: 17px;
    background: rgba(9,21,38,.82);
    box-shadow: 0 24px 70px rgba(0,0,0,.28);
}
.kb-search input {
    min-width: 0;
    padding: 12px 14px;
    border: 0;
    outline: 0;
    color: #fff;
    background: transparent;
    font: inherit;
}
.kb-search span {
    display: grid;
    place-items: center;
    padding: 0 18px;
    border-radius: 11px;
    color: #07101f;
    background: var(--kb-green);
    font-size: .78rem;
    font-weight: 900;
}

.kb-trust-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 18px;
    margin: 24px 0 0;
    color: #8fa3b9;
    font-size: .76rem;
    font-weight: 700;
}
.kb-trust-row span::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 8px; border-radius: 50%; background: var(--kb-green); vertical-align: 1px; }

.kb-section { padding: 42px 0; }
.kb-section-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 22px; }
.kb-section-head h2 { margin: 0; font-size: clamp(1.65rem, 3vw, 2.5rem); letter-spacing: -.035em; }
.kb-section-head p { max-width: 600px; margin: 8px 0 0; color: var(--kb-muted); line-height: 1.6; }

.kb-categories { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.kb-category {
    position: relative;
    min-height: 170px;
    padding: 24px;
    overflow: hidden;
    border: 1px solid var(--kb-line);
    border-radius: var(--kb-radius);
    color: inherit;
    text-decoration: none;
    background: linear-gradient(145deg, rgba(17,32,54,.9), rgba(10,23,40,.8));
    transition: transform .2s ease, border-color .2s ease;
}
.kb-category::after {
    content: "";
    position: absolute;
    width: 150px;
    height: 150px;
    right: -70px;
    bottom: -82px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(84,184,255,.24), transparent 68%);
}
.kb-category:nth-child(2n)::after { background: radial-gradient(circle, rgba(127,216,88,.22), transparent 68%); }
.kb-category:hover { transform: translateY(-3px); border-color: rgba(127,216,88,.32); }
.kb-category small { color: var(--kb-green); font-size: .68rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.kb-category h3 { margin: 28px 0 8px; font-size: 1.25rem; }
.kb-category p { margin: 0; color: var(--kb-muted); font-size: .84rem; line-height: 1.55; }

.kb-filters { display: flex; flex-wrap: wrap; gap: 8px; }
.kb-filter {
    padding: 9px 13px;
    border: 1px solid var(--kb-line);
    border-radius: 999px;
    color: #b9c8d8;
    background: rgba(255,255,255,.035);
    font: 750 .75rem inherit;
    cursor: pointer;
}
.kb-filter.is-active { border-color: rgba(127,216,88,.35); color: #07101f; background: var(--kb-green); }

.kb-articles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.kb-card {
    display: flex;
    flex-direction: column;
    min-height: 310px;
    padding: 22px;
    border: 1px solid var(--kb-line);
    border-radius: var(--kb-radius);
    color: inherit;
    text-decoration: none;
    background: rgba(13,27,47,.78);
    transition: transform .2s ease, border-color .2s ease, background .2s ease;
}
.kb-card:hover { transform: translateY(-4px); border-color: rgba(84,184,255,.35); background: rgba(16,33,57,.94); }
.kb-card-meta { display: flex; align-items: center; gap: 8px; color: #8ba1b8; font-size: .68rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.kb-card-meta span:first-child { color: var(--kb-blue); }
.kb-card h3 { margin: 32px 0 12px; font-size: 1.28rem; line-height: 1.22; letter-spacing: -.02em; }
.kb-card p { margin: 0; color: var(--kb-muted); font-size: .86rem; line-height: 1.65; }
.kb-card-action { margin-top: auto; padding-top: 22px; color: var(--kb-green); font-size: .78rem; font-weight: 900; }
.kb-empty { display: none; padding: 44px; border: 1px dashed var(--kb-line); border-radius: var(--kb-radius); color: var(--kb-muted); text-align: center; }

.kb-service-cta {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 30px;
    margin: 46px 0 78px;
    padding: clamp(26px, 5vw, 48px);
    border: 1px solid rgba(127,216,88,.28);
    border-radius: 28px;
    background: linear-gradient(135deg, rgba(127,216,88,.1), rgba(84,184,255,.08));
}
.kb-service-cta h2 { margin: 0 0 10px; font-size: clamp(1.5rem, 3vw, 2.35rem); letter-spacing: -.03em; }
.kb-service-cta p { margin: 0; color: var(--kb-muted); line-height: 1.65; }
.kb-button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-height: 48px;
    padding: 0 20px;
    border-radius: 12px;
    color: #07101f;
    background: linear-gradient(135deg, var(--kb-green), #a6ef7d);
    text-decoration: none;
    font-size: .84rem;
    font-weight: 950;
    white-space: nowrap;
}

.kb-footer { border-top: 1px solid var(--kb-line); background: rgba(3,10,20,.72); }
.kb-footer-inner { width: min(1180px, calc(100% - 36px)); margin: 0 auto; padding: 34px 0; display: flex; align-items: center; gap: 24px; color: #879caf; font-size: .78rem; }
.kb-footer nav { margin-left: auto; display: flex; flex-wrap: wrap; gap: 16px; }
.kb-footer a { color: #b8c6d5; text-decoration: none; }

/* Artikel */
.kb-breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 30px; color: #8298ae; font-size: .75rem; }
.kb-breadcrumb a { color: #a7bdd1; text-decoration: none; }
.kb-article-hero { padding: 54px 0 42px; }
.kb-article-hero h1 { max-width: 960px; margin: 14px 0 18px; font-size: clamp(2.2rem, 6vw, 4.8rem); line-height: 1.02; letter-spacing: -.05em; }
.kb-article-lead { max-width: 790px; margin: 0; color: #b8c8d8; font-size: clamp(1rem, 2vw, 1.22rem); line-height: 1.72; }
.kb-article-meta { display: flex; flex-wrap: wrap; gap: 12px 20px; margin-top: 24px; color: #879caf; font-size: .75rem; font-weight: 700; }
.kb-article-layout { display: grid; grid-template-columns: minmax(0, 760px) minmax(230px, 320px); gap: 46px; align-items: start; padding-bottom: 70px; }
.kb-article-body {
    padding: clamp(24px, 5vw, 48px);
    border: 1px solid var(--kb-line);
    border-radius: 24px;
    background: rgba(10,23,40,.84);
    box-shadow: 0 30px 80px rgba(0,0,0,.2);
}
.kb-article-body > *:first-child { margin-top: 0; }
.kb-article-body p, .kb-article-body li { color: #c1cfdd; font-size: 1rem; line-height: 1.82; }
.kb-article-body h2 { margin: 2.2em 0 .65em; font-size: clamp(1.45rem, 3vw, 2rem); letter-spacing: -.025em; }
.kb-article-body h3 { margin: 1.8em 0 .55em; font-size: 1.2rem; }
.kb-article-body ul, .kb-article-body ol { padding-left: 1.35rem; }
.kb-article-body li + li { margin-top: .55rem; }
.kb-article-body a { color: #8fd1ff; }
.kb-article-body blockquote { margin: 24px 0; padding: 18px 20px; border-left: 3px solid var(--kb-green); color: #dce8f2; background: rgba(127,216,88,.06); }
.kb-article-sidebar { position: sticky; top: 98px; display: grid; gap: 14px; }
.kb-side-card { padding: 20px; border: 1px solid var(--kb-line); border-radius: 18px; background: rgba(13,27,47,.8); }
.kb-side-card h2, .kb-side-card h3 { margin: 0 0 10px; font-size: 1rem; }
.kb-side-card p { margin: 0; color: var(--kb-muted); font-size: .82rem; line-height: 1.6; }
.kb-side-card .kb-button { width: 100%; margin-top: 16px; }
.kb-ad {
    display: grid;
    place-items: center;
    min-height: 120px;
    padding: 18px;
    border: 1px dashed rgba(148,163,184,.22);
    border-radius: 16px;
    color: #6f8499;
    background: rgba(255,255,255,.02);
    font-size: .65rem;
    text-align: center;
}
.kb-affiliate { margin-top: 34px; padding-top: 28px; border-top: 1px solid var(--kb-line); }
.kb-affiliate-grid { display: grid; gap: 10px; }
.kb-product { display: grid; grid-template-columns: 1fr auto; gap: 16px; padding: 16px; border: 1px solid var(--kb-line); border-radius: 14px; color: inherit; text-decoration: none; background: rgba(255,255,255,.025); }
.kb-product strong { display: block; }
.kb-product small { display: block; margin-top: 5px; color: #879caf; line-height: 1.45; }
.kb-product span { align-self: center; color: var(--kb-green); font-size: .74rem; font-weight: 900; }
.kb-disclosure { color: #7e93a8; font-size: .7rem; line-height: 1.55; }
.kb-faq { margin-top: 38px; }
.kb-faq details { border-top: 1px solid var(--kb-line); }
.kb-faq summary { padding: 18px 0; cursor: pointer; font-weight: 850; }
.kb-faq details p { margin: -4px 0 20px; }
.kb-related { padding: 12px 0 70px; }

@media (max-width: 900px) {
    .kb-categories, .kb-articles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .kb-article-layout { grid-template-columns: 1fr; }
    .kb-article-sidebar { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
    .kb-menu { display: block; }
    .kb-nav {
        display: none;
        position: absolute;
        top: calc(100% + 8px);
        left: 16px;
        right: 16px;
        padding: 10px;
        border: 1px solid var(--kb-line);
        border-radius: 16px;
        background: #0c192b;
        box-shadow: 0 20px 60px rgba(0,0,0,.4);
    }
    .kb-nav.is-open { display: grid; }
    .kb-nav a { padding: 12px; }
    .kb-hero { padding-top: 62px; }
    .kb-categories, .kb-articles { grid-template-columns: 1fr; }
    .kb-section-head, .kb-service-cta, .kb-footer-inner { align-items: flex-start; flex-direction: column; }
    .kb-service-cta { grid-template-columns: 1fr; }
    .kb-button { width: 100%; }
    .kb-footer nav { margin-left: 0; }
    .kb-article-sidebar { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}

/* Visuelle Angleichung an die Hauptwebsite */
:root {
    --premium-border: rgba(203, 213, 225, .2);
    --premium-shadow: 0 20px 55px rgba(2, 6, 23, .35);
}

body.knowledge-page {
    min-width: 320px;
    overflow-x: clip;
    background:
        radial-gradient(68% 34% at 13% 18%, rgba(56, 189, 248, .12), transparent 72%) fixed,
        radial-gradient(58% 38% at 88% 58%, rgba(34, 197, 94, .086), transparent 72%) fixed,
        linear-gradient(180deg, #07111f 0%, #0a1627 48%, #07111f 100%) fixed !important;
    font-family: "Segoe UI Variable", "Segoe UI", Arial, sans-serif;
}

body.knowledge-page::before,
body.knowledge-page::after {
    content: "";
    position: fixed;
    z-index: 0;
    display: block;
    pointer-events: none;
}

body.knowledge-page::before {
    display: none;
    content: none;
}

body.knowledge-page::after {
    inset: 0;
    opacity: .82;
    background:
        radial-gradient(circle at 16% 31%, rgba(55, 183, 238, .13), transparent 19%),
        radial-gradient(circle at 82% 70%, rgba(50, 205, 101, .09), transparent 22%),
        radial-gradient(circle at 58% 47%, rgba(59, 130, 246, .055), transparent 24%);
    animation: kb-background-light 16s ease-in-out infinite alternate;
}

body.knowledge-page > main,
body.knowledge-page > footer {
    position: relative;
    z-index: 1;
}

.kb-menu-lines,
.kb-menu-lines::before,
.kb-menu-lines::after {
    display: block;
    width: 18px;
    height: 2px;
    border-radius: 2px;
    background: #fff;
}
.kb-menu-lines { position: relative; }
.kb-menu-lines::before,
.kb-menu-lines::after { content: ""; position: absolute; left: 0; }
.kb-menu-lines::before { top: -6px; }
.kb-menu-lines::after { top: 6px; }

.kb-hero {
    isolation: isolate;
    display: grid;
    min-height: 720px;
    align-items: center;
    overflow: hidden;
    padding: 142px 0 76px;
    text-align: center;
}

.kb-hero::before {
    content: none;
    position: absolute;
    z-index: -2;
    inset: 92px -12vw 0;
    border: 1px solid rgba(125, 211, 252, .09);
    border-radius: 34px;
    background: none;
    background-size: auto;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .055);
    -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 73%, transparent 100%);
    mask-image: linear-gradient(180deg, #000 0%, #000 73%, transparent 100%);
}

.kb-hero-content {
    position: relative;
    z-index: 2;
    width: min(900px, 100%);
    margin: 0 auto;
}

.kb-hero-scene {
    position: absolute;
    z-index: -1;
    top: 13%;
    right: -17%;
    width: min(720px, 72vw);
    aspect-ratio: 1;
    opacity: .34;
    filter: drop-shadow(-28px 38px 45px rgba(2, 6, 23, .56));
    pointer-events: none;
}
.kb-hero-scene img {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    object-fit: contain;
    animation: kb-house-float 7s ease-in-out infinite;
}
.kb-hero-glow {
    position: absolute;
    z-index: 1;
    inset: 23%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(56, 189, 248, .34), rgba(34, 197, 94, .13) 44%, transparent 72%);
    filter: blur(20px);
}
.kb-hero-orbit {
    display: none !important;
}
.kb-hero-orbit--one { top: 29%; left: 12%; width: 34px; height: 34px; border-radius: 8px; }
.kb-hero-orbit--two { right: 21%; bottom: 27%; width: 22px; height: 22px; border-radius: 50%; animation-delay: -2.4s; }

.kb-eyebrow {
    border-color: rgba(125, 211, 252, .27);
    background: rgba(7, 25, 44, .66);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .07), 0 10px 30px rgba(2, 6, 23, .2);
    color: #bdeaff;
}
.kb-hero h1 {
    max-width: 850px;
    font-size: clamp(2.75rem, 6.8vw, 5.8rem);
    text-shadow: 0 18px 50px rgba(2, 6, 23, .3);
}
.kb-hero > p:not(.kb-eyebrow),
.kb-hero-content > p:not(.kb-eyebrow) {
    max-width: 730px;
    margin: 25px auto 0;
    color: #cbd5e1;
    font-size: clamp(1rem, 2vw, 1.16rem);
    line-height: 1.75;
}
.kb-search {
    border-color: rgba(147, 197, 253, .27);
    border-radius: 18px;
    background: rgba(7, 20, 37, .74);
    box-shadow: 0 24px 70px rgba(0, 0, 0, .3), inset 0 1px 0 rgba(255, 255, 255, .07);
    backdrop-filter: blur(18px);
}
.kb-search:focus-within {
    border-color: rgba(96, 165, 250, .72);
    box-shadow: 0 24px 70px rgba(0, 0, 0, .3), 0 0 0 4px rgba(96, 165, 250, .09);
}
.kb-search span,
.kb-button {
    color: #fff;
    background: linear-gradient(115deg, #2563eb 0%, #38bdf8 42%, #22c55e 100%);
    box-shadow: 0 10px 26px rgba(37, 99, 235, .25), 0 0 18px rgba(96, 165, 250, .16);
}
.kb-trust-row { color: #b8c7d8; }
.kb-trust-row span {
    padding: 8px 12px;
    border: 1px solid rgba(203, 213, 225, .12);
    border-radius: 999px;
    background: rgba(15, 23, 42, .44);
}

.kb-section { padding: 52px 0; }
.kb-section-head h2 { color: #fff; }
.kb-category,
.kb-card,
.kb-side-card,
.kb-article-body {
    border-color: rgba(191, 219, 254, .18);
    background: linear-gradient(145deg, rgba(17, 42, 68, .82), rgba(6, 19, 36, .88));
    box-shadow: -12px 22px 48px rgba(0, 0, 0, .19), inset 0 1px 0 rgba(255, 255, 255, .06);
    backdrop-filter: blur(10px);
}
.kb-category,
.kb-card { border-radius: 24px; }
.kb-category::before,
.kb-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 24px;
    width: 66px;
    height: 2px;
    border-radius: 2px;
    background: linear-gradient(90deg, #38bdf8, #22c55e);
    box-shadow: 0 0 16px rgba(56, 189, 248, .3);
}
.kb-category:hover,
.kb-card:hover {
    border-color: rgba(96, 165, 250, .48);
    background: linear-gradient(145deg, rgba(21, 51, 82, .92), rgba(8, 25, 46, .94));
    box-shadow: -16px 28px 58px rgba(0, 0, 0, .29), 0 0 25px rgba(56, 189, 248, .1);
    transform: translateY(-7px);
}
.kb-card { position: relative; }
.kb-filter { border-color: rgba(191, 219, 254, .16); background: rgba(8, 25, 45, .72); }
.kb-filter.is-active { border-color: rgba(147, 197, 253, .55); color: #fff; background: linear-gradient(110deg, #2563eb, #38bdf8 52%, #22c55e); }
.kb-service-cta {
    border-color: rgba(125, 211, 252, .24);
    border-radius: 28px;
    background: linear-gradient(135deg, rgba(37, 99, 235, .16), rgba(56, 189, 248, .09) 48%, rgba(34, 197, 94, .1));
    box-shadow: -16px 28px 65px rgba(2, 6, 23, .28), inset 0 1px 0 rgba(255, 255, 255, .08);
}

.kb-footer {
    border-top-color: rgba(191, 219, 254, .15);
    background: rgba(3, 12, 23, .75);
    backdrop-filter: blur(18px);
}
.kb-footer-inner {
    display: grid;
    grid-template-columns: minmax(230px, 1fr) auto;
    gap: 22px 40px;
    padding: 38px 0;
}
.kb-footer-brand {
    display: flex;
    align-items: center;
    gap: 14px;
    color: #f8fafc !important;
    font-size: .82rem;
    font-weight: 850;
}
.kb-footer-brand img { width: 118px; height: 48px; object-fit: contain; filter: drop-shadow(0 0 12px rgba(96, 165, 250, .28)); }
.kb-footer-brand span { display: grid; gap: 3px; }
.kb-footer-brand small { color: #86efac; font-size: .67rem; }
.kb-footer nav { margin-left: 0; align-items: center; justify-content: flex-end; }
.kb-footer nav a:hover { color: #fff; }
.kb-footer-copy { grid-column: 1 / -1; padding-top: 18px; border-top: 1px solid rgba(203, 213, 225, .1); color: #71869b; }

.kb-breadcrumb { padding-top: 128px; }
.kb-article-hero {
    position: relative;
    padding: 54px 0 48px;
}
.kb-article-hero::after {
    content: "";
    position: absolute;
    z-index: -1;
    top: -24px;
    right: -18vw;
    width: 580px;
    height: 360px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(56, 189, 248, .13), rgba(34, 197, 94, .045) 46%, transparent 72%);
    filter: blur(8px);
}
.kb-article-body { border-radius: 26px; }
.kb-side-card { border-radius: 21px; }
.kb-article-sidebar { top: 110px; }

@keyframes kb-background-grid {
    from { transform: perspective(1050px) rotateX(61deg) translate3d(0, 15%, 0); }
    to { transform: perspective(1050px) rotateX(61deg) translate3d(var(--kb-grid-step), calc(15% + var(--kb-grid-step)), 0); }
}
@keyframes kb-background-light {
    from { transform: scale(1) translate3d(0, 0, 0); }
    to { transform: scale(1.045) translate3d(-1.2%, 1%, 0); }
}
@keyframes kb-house-float { 0%, 100% { transform: translateY(0) rotate(-.4deg); } 50% { transform: translateY(-13px) rotate(.5deg); } }
@keyframes kb-orbit-float { 0%, 100% { transform: translateY(0) rotate(35deg); } 50% { transform: translateY(-12px) rotate(35deg); } }

@media (max-width: 900px) {
    .kb-hero { min-height: 690px; padding-top: 126px; }
    .kb-hero-scene { top: 27%; right: -36%; width: 94vw; opacity: .23; }
    .kb-footer-inner { grid-template-columns: 1fr; justify-items: center; text-align: center; }
    .kb-footer nav { justify-content: center; }
    .kb-footer-copy { grid-column: 1; width: 100%; }
}

@media (max-width: 720px) {
    body.knowledge-page { background-attachment: scroll !important; }
    body.knowledge-page::before { --kb-grid-step: 58px; inset: -18vh -70vw -10vh; opacity: .18; }
    .kb-hero {
        min-height: 650px;
        padding: 112px 0 56px;
    }
    .kb-hero::before { inset: 76px -40vw 0; border-radius: 26px; }
    .kb-hero-scene { top: 32%; right: -52%; width: 118vw; opacity: .18; }
    .kb-hero h1 { font-size: clamp(2.45rem, 13vw, 4.2rem); }
    .kb-search { grid-template-columns: 1fr; }
    .kb-search span { min-height: 45px; }
    .kb-trust-row { gap: 8px; }
    .kb-trust-row span { width: 100%; }
    .kb-section { padding: 38px 0; }
    .kb-breadcrumb { padding-top: 106px; }
    .kb-article-hero { padding-top: 38px; }
}

@media (prefers-reduced-motion: reduce) {
    body.knowledge-page::before,
    body.knowledge-page::after,
    .kb-hero-scene img,
    .kb-hero-orbit { animation: none !important; }
}

/* Dreidimensionale Markeninszenierung im Ratgeber-Hero */
.kb-hero-scene--logo {
    display: none;
    top: 29%;
    right: -8%;
    width: min(390px, 30vw);
    aspect-ratio: 16 / 10;
    opacity: .2;
    perspective: 1050px;
    transform-style: preserve-3d;
    filter: none;
}
.kb-hero-scene--logo::before,
.kb-hero-scene--logo::after {
    content: "";
    position: absolute;
    z-index: 0;
    inset: 0;
    background: url("/assets/img/logo.png") center / contain no-repeat;
    pointer-events: none;
}
.kb-hero-scene--logo::before {
    opacity: .18;
    filter: blur(1px) brightness(.55) saturate(1.25);
    transform: translate3d(18px, 22px, -42px) rotateY(-13deg) rotateX(5deg);
}
.kb-hero-scene--logo::after {
    opacity: .12;
    filter: blur(2px) brightness(.4);
    transform: translate3d(30px, 35px, -68px) rotateY(-13deg) rotateX(5deg);
}
.kb-hero-scene--logo img {
    z-index: 2;
    object-fit: contain;
    transform-origin: 54% 50%;
    transform-style: preserve-3d;
    filter: drop-shadow(0 0 20px rgba(56, 189, 248, .28)) drop-shadow(0 16px 22px rgba(0, 0, 0, .42));
    animation: kb-logo-float 7.5s ease-in-out infinite;
}
.kb-hero-scene--logo .kb-hero-glow {
    display: none;
}
.kb-hero-scene--logo .kb-hero-orbit--one { top: 18%; left: 4%; }
.kb-hero-scene--logo .kb-hero-orbit--two { right: 8%; bottom: 21%; }

@keyframes kb-logo-float {
    0%, 100% { transform: translate3d(0, 0, 26px) rotateY(-13deg) rotateX(5deg) rotateZ(-.5deg); }
    50% { transform: translate3d(-8px, -14px, 42px) rotateY(-8deg) rotateX(2deg) rotateZ(.6deg); }
}

@media (max-width: 900px) {
    .kb-hero-scene--logo { top: 34%; right: -18%; width: 52vw; opacity: .14; }
}
@media (max-width: 720px) {
    .kb-hero-scene--logo { display: none; }
}
@media (prefers-reduced-motion: reduce) {
    .kb-hero-scene--logo img { transform: translate3d(0, 0, 26px) rotateY(-11deg) rotateX(4deg); }
}

.kb-service-links {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}
.kb-service-links a {
    padding: 16px 18px;
    border: 1px solid rgba(126, 190, 235, .18);
    border-radius: 12px;
    color: #dcecff;
    background: rgba(9, 24, 43, .62);
    font-weight: 800;
    text-decoration: none;
    transition: border-color .2s ease, transform .2s ease;
}
.kb-service-links a:hover {
    transform: translateY(-2px);
    border-color: rgba(113, 233, 108, .5);
}
.kb-service-detail-link {
    display: block;
    margin-top: 14px;
    color: #8fdcff;
    font-size: .82rem;
    font-weight: 800;
    text-decoration: none;
}
@media (max-width: 760px) {
    .kb-service-links { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
    .kb-service-links { grid-template-columns: 1fr; }
}
