:root {
    --bg: #0d1117;
    --bg-soft: #161b22;
    --card: #161b22;
    --card-2: #1f2630;
    --text: #f0f6fc;
    --muted: #9ba7b4;
    --line: #30363d;
    --primary: #2f81f7;
    --primary-hover: #58a6ff;
    --success: #3fb950;
    --radius: 18px;
    --shadow: 0 18px 60px rgba(0, 0, 0, .28);
    --content: 1180px;
}

* { box-sizing: border-box; }

html {
    min-height: 100%;
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    margin: 0;
    display: flex;
    flex-direction: column;
    background:
        radial-gradient(circle at 15% 0%, rgba(47, 129, 247, .14), transparent 34rem),
        radial-gradient(circle at 90% 15%, rgba(63, 185, 80, .08), transparent 28rem),
        var(--bg);
    color: var(--text);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 17px;
    line-height: 1.7;
}

.site-main {
    flex: 1 0 auto;
    min-height: 0;
}

.site-footer {
    flex-shrink: 0;
}

a { color: var(--primary-hover); text-decoration: none; }
a:hover { color: #fff; }
img { max-width: 100%; height: auto; }

.container {
    width: min(calc(100% - 40px), var(--content));
    margin-inline: auto;
}

.narrow {
    max-width: 820px;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(13, 17, 23, .78);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(48, 54, 61, .72);
}

.header-inner {
    min-height: 74px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text);
    font-weight: 780;
    letter-spacing: -.025em;
}

.brand-mark {
    width: 38px;
    height: 38px;
    border: 1px solid var(--line);
    border-radius: 11px;
    display: grid;
    place-items: center;
    background: linear-gradient(145deg, #1f2630, #0d1117);
    color: #7ee787;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 13px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06);
}

.nav {
    display: flex;
    gap: 26px;
    align-items: center;
}

.nav a {
    position: relative;
    color: var(--muted);
    font-size: 15px;
    font-weight: 680;
}

.nav a:hover,
.nav a.is-active {
    color: #fff;
}

.nav a.is-active::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -25px;
    height: 2px;
    border-radius: 999px;
    background: var(--primary);
}

.nav-toggle {
    display: none;
    background: none;
    border: 0;
    color: #fff;
    font-size: 26px;
    cursor: pointer;
}

.hero { padding: 110px 0 78px; }

.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    gap: 64px;
    align-items: center;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    border: 1px solid var(--line);
    background: rgba(22, 27, 34, .74);
    color: #c9d1d9;
    border-radius: 999px;
    padding: 8px 13px;
    font-size: 14px;
    font-weight: 650;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--success);
    box-shadow: 0 0 0 5px rgba(63, 185, 80, .12);
}

.hero h1 {
    max-width: 900px;
    margin: 24px 0;
    font-size: clamp(48px, 7vw, 86px);
    line-height: .99;
    letter-spacing: -.055em;
}

.gradient-text {
    background: linear-gradient(90deg, #f0f6fc 8%, #8ec5ff 52%, #7ee787 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-copy,
.page-lead {
    max-width: 760px;
    color: var(--muted);
    font-size: 20px;
}

.actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 34px;
}

.actions-center {
    justify-content: center;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 50px;
    padding: 14px 20px;
    border: 1px solid var(--line);
    border-radius: 12px;
    font-weight: 750;
    transition: .2s ease;
}

.btn-primary {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

.btn-primary:hover {
    transform: translateY(-1px);
    background: var(--primary-hover);
    border-color: var(--primary-hover);
    color: #07111e;
}

.btn-secondary {
    background: rgba(22, 27, 34, .76);
    color: #fff;
}

.btn-secondary:hover {
    transform: translateY(-1px);
    background: #21262d;
}

.terminal {
    overflow: hidden;
    transform: rotate(1deg);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #0b0f14;
    box-shadow: var(--shadow);
}

.terminal-bar {
    display: flex;
    gap: 8px;
    padding: 14px 16px;
    border-bottom: 1px solid var(--line);
    background: #161b22;
}

.terminal-bar i {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #484f58;
}

.terminal pre {
    min-height: 340px;
    margin: 0;
    padding: 26px;
    color: #c9d1d9;
    font: 15px/1.9 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    white-space: pre-wrap;
}

.code-blue { color: #79c0ff; }
.code-green { color: #7ee787; }
.code-purple { color: #d2a8ff; }
.code-muted { color: #8b949e; }

.section { padding: 84px 0; }
.section-tight { padding-top: 12px; }

.section-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 30px;
}

.section h2,
.page-title {
    margin: 0;
    font-size: clamp(34px, 5vw, 54px);
    line-height: 1.05;
    letter-spacing: -.04em;
}

.page-title {
    margin-top: 22px;
    font-size: clamp(48px, 8vw, 82px);
}

.section-lead {
    max-width: 620px;
    margin: 8px 0 0;
    color: var(--muted);
}

.page-hero {
    padding-bottom: 24px;
}

.grid { display: grid; gap: 20px; }
.topic-grid { grid-template-columns: repeat(3, 1fr); }
.posts-grid { grid-template-columns: repeat(3, 1fr); }
.archive-grid { grid-template-columns: repeat(2, 1fr); }

.card {
    position: relative;
    overflow: hidden;
    padding: 26px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: linear-gradient(180deg, rgba(31, 38, 48, .86), rgba(22, 27, 34, .92));
    transition: .22s ease;
}

.card::before {
    content: "";
    position: absolute;
    right: -25%;
    bottom: -55%;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(47, 129, 247, .18), transparent 66%);
}

.card:hover {
    transform: translateY(-4px);
    border-color: #4b5563;
    box-shadow: 0 18px 55px rgba(0, 0, 0, .18);
}

.card-icon {
    color: #79c0ff;
    font: 700 26px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.card h2,
.card h3 {
    margin: 16px 0 8px;
    font-size: 22px;
    line-height: 1.25;
    letter-spacing: -.02em;
}

.card p {
    margin: 0;
    color: var(--muted);
}

.card-link {
    position: absolute;
    inset: 0;
}

.post-card { padding: 0; }

.post-card > a {
    display: block;
    color: inherit;
}

.post-card .thumb {
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background: linear-gradient(135deg, #1f2630, #0d1117);
}

.post-card .thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.post-card-body { padding: 24px; }

.meta {
    margin-bottom: 10px;
    color: #8b949e;
    font-size: 13px;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.empty-card {
    grid-column: 1 / -1;
    min-height: 180px;
}

.about {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    gap: 42px;
    align-items: center;
    padding: 42px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: rgba(22, 27, 34, .75);
}

.about-badge {
    display: grid;
    place-items: center;
    aspect-ratio: 1;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: linear-gradient(145deg, #1f2630, #0d1117);
    color: #7ee787;
    font: 850 62px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    letter-spacing: -.06em;
}

.about h2 { margin-top: 0; }
.about p { color: var(--muted); }

.content-wrap {
    width: min(calc(100% - 40px), 820px);
    margin: 70px auto;
}

.article-header { margin-bottom: 36px; }

.article-header h1 {
    margin: 12px 0 18px;
    font-size: clamp(42px, 7vw, 72px);
    line-height: 1.02;
    letter-spacing: -.05em;
}

.entry-content h2 {
    margin-top: 2.2em;
    font-size: 34px;
    letter-spacing: -.03em;
}

.entry-content h3 {
    margin-top: 1.8em;
    font-size: 26px;
}

.entry-content p,
.entry-content li {
    color: #c9d1d9;
}

.entry-content pre,
.entry-content code {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.entry-content pre {
    overflow: auto;
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #0b0f14;
}

.entry-content code {
    padding: .15em .35em;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: #161b22;
}

.entry-content blockquote {
    margin: 2em 0;
    padding: 10px 0 10px 24px;
    border-left: 4px solid var(--primary);
    color: #c9d1d9;
}

.entry-content img {
    border: 1px solid var(--line);
    border-radius: 14px;
}

.pagination { margin-top: 32px; }

.error-page {
    display: grid;
    place-items: center;
    min-height: calc(100vh - 150px);
    padding-block: 60px;
}

.cta {
    width: 100%;
    padding: 54px 28px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: linear-gradient(135deg, rgba(47, 129, 247, .13), rgba(63, 185, 80, .07));
    text-align: center;
}

.cta h1 {
    margin: 16px 0 8px;
    font-size: clamp(44px, 7vw, 72px);
    letter-spacing: -.045em;
}

.cta p {
    max-width: 650px;
    margin: 0 auto;
    color: var(--muted);
}

.site-footer {
    border-top: 1px solid var(--line);
    padding: 34px 0;
    color: var(--muted);
    font-size: 14px;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-links {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
}

@media (max-width: 900px) {
    .hero { padding-top: 72px; }
    .hero-grid,
    .about { grid-template-columns: 1fr; }
    .terminal { transform: none; }
    .topic-grid,
    .posts-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 680px) {
    .container { width: min(calc(100% - 28px), var(--content)); }

    .nav-toggle { display: block; }

    .nav {
        display: none;
        position: absolute;
        top: 66px;
        right: 14px;
        left: 14px;
        flex-direction: column;
        align-items: stretch;
        padding: 18px;
        border: 1px solid var(--line);
        border-radius: 14px;
        background: #161b22;
    }

    .nav.open { display: flex; }

    .nav a.is-active::after { display: none; }

    .topic-grid,
    .posts-grid,
    .archive-grid { grid-template-columns: 1fr; }

    .hero h1 { font-size: 49px; }
    .hero-copy,
    .page-lead { font-size: 18px; }

    .section { padding: 62px 0; }
    .section-tight { padding-top: 8px; }

    .section-head {
        flex-direction: column;
        align-items: start;
    }

    .about { padding: 24px; }

    .footer-inner {
        flex-direction: column;
    }
}


/* =========================================================
   LUTZE CORE 1.1.0 – PROJEKTNAVIGATION
   ========================================================= */

.screen-reader-text {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.docs-layout {
    display: grid;
    grid-template-columns: minmax(245px, 285px) minmax(0, 1fr);
    gap: 54px;
    align-items: start;
    padding-top: 54px;
    padding-bottom: 90px;
}

.docs-main {
    min-width: 0;
}

.docs-header {
    margin-bottom: 38px;
}

.docs-header .page-title {
    margin-bottom: 18px;
}

.project-sidebar {
    position: sticky;
    top: 100px;
    max-height: calc(100vh - 126px);
    overflow: auto;
    padding: 18px 14px 22px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(13, 17, 23, .78);
    box-shadow: 0 16px 50px rgba(0, 0, 0, .14);
    scrollbar-width: thin;
    scrollbar-color: #30363d transparent;
}

.project-sidebar__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    padding: 2px 8px 15px;
    margin-bottom: 8px;
    border-bottom: 1px solid var(--line);
}

.project-sidebar__eyebrow {
    display: block;
    color: #8b949e;
    font-size: 11px;
    font-weight: 750;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.project-sidebar__title {
    display: inline-block;
    margin-top: 2px;
    color: var(--text);
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -.025em;
}

.project-sidebar__close {
    display: none;
    width: 34px;
    height: 34px;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 9px;
    background: #161b22;
    color: #fff;
    font-size: 22px;
    cursor: pointer;
}

.project-tree ul {
    padding: 0;
    margin: 0;
    list-style: none;
}

.project-tree__node {
    margin: 2px 0;
}

.project-tree__row {
    display: flex;
    align-items: center;
    min-height: 38px;
    gap: 5px;
    border-radius: 9px;
}

.project-tree__row:hover {
    background: rgba(48, 54, 61, .38);
}

.project-tree__toggle {
    display: inline-grid;
    flex: 0 0 25px;
    width: 25px;
    height: 28px;
    place-items: center;
    padding: 0;
    border: 0;
    background: transparent;
    color: #8b949e;
    cursor: pointer;
}

.project-tree__toggle span[aria-hidden="true"] {
    display: block;
    font-size: 21px;
    line-height: 1;
    transition: transform .18s ease;
}

.project-tree__toggle[aria-expanded="true"] span[aria-hidden="true"] {
    transform: rotate(90deg);
}

.project-tree__toggle--empty {
    cursor: default;
}

.project-tree__icon {
    display: inline-grid;
    flex: 0 0 25px;
    width: 25px;
    place-items: center;
    color: #79c0ff;
    font: 750 15px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.project-tree__category {
    min-width: 0;
    flex: 1;
    padding: 7px 5px;
    overflow: hidden;
    color: #c9d1d9;
    font-size: 14px;
    font-weight: 680;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.project-tree__category:hover {
    color: #fff;
}

.project-tree__category.is-active {
    color: #fff;
}

.project-tree__category.is-active::before {
    content: "";
    display: inline-block;
    width: 6px;
    height: 6px;
    margin-right: 7px;
    border-radius: 50%;
    background: var(--primary);
    box-shadow: 0 0 0 4px rgba(47, 129, 247, .12);
    vertical-align: 1px;
}

.project-tree__count {
    min-width: 25px;
    padding-right: 6px;
    color: #6e7681;
    font-size: 11px;
    text-align: right;
}

.project-tree__children {
    position: relative;
    margin-left: 12px !important;
    padding-left: 14px !important;
}

.project-tree__children::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 7px;
    left: 5px;
    width: 1px;
    background: #262c34;
}

.project-tree__node--depth-1 > .project-tree__row .project-tree__category {
    font-size: 13.5px;
}

.project-tree__node--depth-2 > .project-tree__row .project-tree__category,
.project-tree__node--depth-3 > .project-tree__row .project-tree__category {
    color: #aeb8c3;
    font-size: 13px;
    font-weight: 580;
}

.project-tree__post a {
    position: relative;
    display: block;
    margin: 1px 0 1px 30px;
    padding: 7px 8px 7px 4px;
    overflow: hidden;
    border-radius: 7px;
    color: #8f9ba8;
    font-size: 12.5px;
    line-height: 1.35;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.project-tree__post a span {
    color: #484f58;
    margin-right: 4px;
}

.project-tree__post a:hover {
    background: rgba(48, 54, 61, .35);
    color: #fff;
}

.project-tree__post a.is-active {
    background: rgba(47, 129, 247, .12);
    color: #79c0ff;
    font-weight: 700;
}

.breadcrumbs {
    display: flex;
    align-items: center;
    gap: 9px;
    min-width: 0;
    margin-bottom: 28px;
    overflow: hidden;
    color: #6e7681;
    font-size: 13px;
    white-space: nowrap;
}

.breadcrumbs a,
.breadcrumbs span[aria-current="page"] {
    overflow: hidden;
    text-overflow: ellipsis;
}

.breadcrumbs a {
    color: #8b949e;
}

.breadcrumbs a:hover {
    color: #fff;
}

.breadcrumbs span[aria-current="page"] {
    color: #c9d1d9;
}

.breadcrumbs__separator {
    flex: 0 0 auto;
    color: #484f58;
}

.docs-section {
    margin-top: 50px;
}

.docs-section > h2 {
    margin: 0 0 20px;
    font-size: 30px;
    letter-spacing: -.03em;
}

.category-child-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.compact-card {
    min-height: 130px;
}

.compact-card h3 {
    margin-top: 5px;
}

.docs-note {
    margin-top: 34px;
    padding: 20px 22px;
    border: 1px solid rgba(47, 129, 247, .28);
    border-radius: 14px;
    background: rgba(47, 129, 247, .07);
    color: #b9c6d3;
}

.docs-note strong {
    color: #fff;
}

.docs-article .article-header h1 {
    max-width: 880px;
}

.article-intro {
    max-width: 780px;
    margin: 0 0 30px;
    color: var(--muted);
    font-size: 20px;
}

.project-sidebar-trigger {
    display: none;
}

.project-sidebar-backdrop {
    display: none;
}

@media (max-width: 1050px) {
    .docs-layout {
        grid-template-columns: 230px minmax(0, 1fr);
        gap: 34px;
    }

    .archive-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 820px) {
    .docs-layout {
        display: block;
        padding-top: 32px;
    }

    .project-sidebar-trigger {
        position: sticky;
        top: 74px;
        z-index: 85;
        display: inline-flex;
        align-items: center;
        gap: 9px;
        margin: 16px 14px 0;
        padding: 11px 15px;
        border: 1px solid var(--line);
        border-radius: 11px;
        background: rgba(22, 27, 34, .96);
        color: #fff;
        font: inherit;
        font-size: 14px;
        font-weight: 720;
        cursor: pointer;
        box-shadow: 0 8px 30px rgba(0, 0, 0, .2);
    }

    .project-sidebar {
        position: fixed;
        z-index: 120;
        top: 0;
        bottom: 0;
        left: 0;
        width: min(88vw, 340px);
        max-height: none;
        padding-top: 18px;
        border-radius: 0 18px 18px 0;
        transform: translateX(-105%);
        transition: transform .22s ease;
    }

    .project-sidebar.is-open {
        transform: translateX(0);
    }

    .project-sidebar__close {
        display: inline-grid;
        place-items: center;
    }

    .project-sidebar-backdrop {
        position: fixed;
        z-index: 110;
        inset: 0;
        display: block;
        background: rgba(0, 0, 0, .62);
        backdrop-filter: blur(2px);
    }

    .project-sidebar-backdrop[hidden] {
        display: none;
    }

    body.project-sidebar-open {
        overflow: hidden;
    }
}

@media (max-width: 600px) {
    .category-child-grid {
        grid-template-columns: 1fr;
    }

    .breadcrumbs {
        margin-bottom: 20px;
    }
}


/* =========================================================
   LUTZE CORE 1.2.0 – ARTIKELMETADATEN & INHALTSVERZEICHNIS
   ========================================================= */

.docs-layout--article {
    grid-template-columns: minmax(230px, 270px) minmax(0, 1fr) minmax(220px, 250px);
    gap: 42px;
}

.docs-layout--article .docs-main {
    max-width: 820px;
}

.article-sidebar {
    position: sticky;
    top: 100px;
    align-self: start;
    max-height: calc(100vh - 126px);
    overflow: auto;
    padding-bottom: 12px;
    scrollbar-width: thin;
    scrollbar-color: #30363d transparent;
}

.article-info-card,
.article-toc {
    border: 1px solid var(--line);
    border-radius: 16px;
    background: rgba(22, 27, 34, .78);
}

.article-info-card {
    overflow: hidden;
    padding: 18px;
}

.article-sidebar__label {
    display: block;
    margin-bottom: 12px;
    color: #8b949e;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.article-stat {
    display: grid;
    gap: 5px;
    padding: 13px 0;
    border-top: 1px solid rgba(48, 54, 61, .76);
}

.article-stat:first-of-type {
    border-top: 0;
    padding-top: 2px;
}

.article-stat__label {
    color: #8b949e;
    font-size: 12px;
}

.article-stat__value {
    color: #e6edf3;
    font-size: 14px;
    font-weight: 720;
}

.article-stat__value--muted {
    color: #6e7681;
    font-weight: 580;
}

.difficulty-badge {
    display: inline-flex;
    width: fit-content;
    align-items: center;
    gap: 8px;
    padding: 5px 9px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #0d1117;
    color: #e6edf3;
    font-size: 12px;
    font-weight: 720;
}

.difficulty-badge__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #6e7681;
}

.difficulty-badge--beginner .difficulty-badge__dot {
    background: #3fb950;
    box-shadow: 0 0 0 4px rgba(63, 185, 80, .11);
}

.difficulty-badge--intermediate .difficulty-badge__dot {
    background: #d29922;
    box-shadow: 0 0 0 4px rgba(210, 153, 34, .11);
}

.difficulty-badge--advanced .difficulty-badge__dot {
    background: #f0883e;
    box-shadow: 0 0 0 4px rgba(240, 136, 62, .11);
}

.difficulty-badge--expert .difficulty-badge__dot {
    background: #f85149;
    box-shadow: 0 0 0 4px rgba(248, 81, 73, .11);
}

.system-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.system-tag {
    display: inline-flex;
    padding: 5px 8px;
    border: 1px solid rgba(47, 129, 247, .28);
    border-radius: 999px;
    background: rgba(47, 129, 247, .08);
    color: #79c0ff;
    font-size: 11px;
    font-weight: 700;
}

.article-toc {
    margin-top: 16px;
    padding: 18px;
}

.article-toc ol {
    padding: 0;
    margin: 0;
    list-style: none;
}

.article-toc__item {
    margin: 1px 0;
}

.article-toc__item a {
    display: block;
    padding: 7px 9px;
    border-left: 2px solid transparent;
    border-radius: 0 7px 7px 0;
    color: #8b949e;
    font-size: 12.5px;
    line-height: 1.35;
    transition: .15s ease;
}

.article-toc__item a:hover {
    background: rgba(48, 54, 61, .3);
    color: #fff;
}

.article-toc__item a.is-active {
    border-left-color: var(--primary);
    background: rgba(47, 129, 247, .08);
    color: #79c0ff;
    font-weight: 720;
}

.article-toc__item--level-3 a {
    padding-left: 22px;
    font-size: 12px;
}

.entry-content h2[id],
.entry-content h3[id] {
    scroll-margin-top: 110px;
}

.entry-featured {
    margin-top: 30px;
}

@media (max-width: 1280px) {
    .docs-layout--article {
        grid-template-columns: 220px minmax(0, 1fr) 220px;
        gap: 28px;
    }
}

@media (max-width: 1080px) {
    .docs-layout--article {
        grid-template-columns: 220px minmax(0, 1fr);
    }

    .docs-layout--article .article-sidebar {
        position: static;
        grid-column: 2;
        max-height: none;
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        gap: 16px;
        margin-top: 12px;
    }

    .docs-layout--article .article-toc {
        margin-top: 0;
    }
}

@media (max-width: 820px) {
    .docs-layout--article {
        display: block;
    }

    .docs-layout--article .article-sidebar {
        display: grid;
        grid-template-columns: 1fr;
        margin-top: 42px;
    }
}


/* LUTZE CORE 1.2.1 – TOC-Ebene H4 */
.article-toc__item--level-4 a {
    padding-left: 34px;
    color: #768390;
    font-size: 11.5px;
}

.entry-content h4[id] {
    scroll-margin-top: 110px;
}


/* LUTZE CORE 1.2.3 – echtes hierarchisches Inhaltsverzeichnis */
.article-toc__item--level-1 a {
    padding-left: 9px;
    color: #d7dee7;
    font-weight: 760;
}

.article-toc__item--level-2 a {
    padding-left: 21px;
}

.article-toc__item--level-3 a {
    padding-left: 35px;
}

.article-toc__item--level-4 a {
    padding-left: 49px;
}

.entry-content h1[id],
.entry-content h2[id],
.entry-content h3[id],
.entry-content h4[id] {
    scroll-margin-top: 110px;
}


/* =========================================================
   LUTZE CORE 1.2.4 – VISUELLE ARTIKELHIERARCHIE
   ========================================================= */

.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4 {
    margin-right: 0;
    margin-bottom: .65em;
    color: var(--text);
    line-height: 1.18;
    letter-spacing: -.025em;
}

.entry-content h1 {
    margin-top: 1.8em;
    font-size: clamp(36px, 4.2vw, 46px);
    font-weight: 800;
}

.entry-content h2 {
    margin-top: 2em;
    font-size: clamp(30px, 3.4vw, 38px);
    font-weight: 780;
}

.entry-content h3 {
    margin-top: 1.8em;
    font-size: clamp(24px, 2.7vw, 30px);
    font-weight: 740;
}

.entry-content h4 {
    margin-top: 1.6em;
    font-size: clamp(19px, 2.1vw, 23px);
    font-weight: 720;
    color: #d7dee7;
}

.entry-content > h1:first-child,
.entry-content > h2:first-child,
.entry-content > h3:first-child,
.entry-content > h4:first-child {
    margin-top: 0;
}

@media (max-width: 680px) {
    .entry-content h1 {
        font-size: 34px;
    }

    .entry-content h2 {
        font-size: 29px;
    }

    .entry-content h3 {
        font-size: 24px;
    }

    .entry-content h4 {
        font-size: 20px;
    }
}


/* =========================================================
   LUTZE CORE 1.3.0 – CODEBLÖCKE
   ========================================================= */

.entry-content h1 {
    font-size: clamp(32px, 3.4vw, 40px);
}

.entry-content h2 {
    font-size: clamp(28px, 3vw, 34px);
}

.entry-content h3 {
    font-size: clamp(23px, 2.5vw, 28px);
}

.entry-content h4 {
    font-size: clamp(19px, 2vw, 22px);
}

.lutze-codeblock {
    overflow: hidden;
    margin: 2rem 0;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #080c11;
    box-shadow: 0 18px 48px rgba(0, 0, 0, .2);
}

.lutze-codeblock__toolbar {
    display: flex;
    min-height: 48px;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 8px 10px 8px 15px;
    border-bottom: 1px solid var(--line);
    background: #161b22;
}

.lutze-codeblock__identity,
.lutze-codeblock__actions {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 10px;
}

.lutze-codeblock__dots {
    display: inline-flex;
    flex: 0 0 auto;
    gap: 6px;
}

.lutze-codeblock__dots i {
    display: block;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #484f58;
}

.lutze-codeblock__dots i:first-child {
    background: #f85149;
}

.lutze-codeblock__dots i:nth-child(2) {
    background: #d29922;
}

.lutze-codeblock__dots i:nth-child(3) {
    background: #3fb950;
}

.lutze-codeblock__title {
    overflow: hidden;
    color: #d7dee7;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 12px;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.lutze-codeblock__language {
    padding: 4px 7px;
    border: 1px solid #30363d;
    border-radius: 999px;
    color: #8b949e;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.lutze-codeblock__button {
    min-height: 31px;
    padding: 5px 9px;
    border: 1px solid #30363d;
    border-radius: 8px;
    background: #0d1117;
    color: #c9d1d9;
    font: inherit;
    font-size: 11px;
    font-weight: 720;
    cursor: pointer;
    transition: .15s ease;
}

.lutze-codeblock__button:hover,
.lutze-codeblock__button.is-active {
    border-color: #58a6ff;
    background: rgba(47, 129, 247, .1);
    color: #fff;
}

.lutze-codeblock__button.is-success {
    border-color: rgba(63, 185, 80, .6);
    background: rgba(63, 185, 80, .12);
    color: #7ee787;
}

.lutze-codeblock__button.is-error {
    border-color: rgba(248, 81, 73, .6);
    color: #ff7b72;
}

.entry-content .lutze-codeblock pre {
    overflow-x: auto;
    max-width: 100%;
    margin: 0;
    padding: 23px 25px;
    border: 0;
    border-radius: 0;
    background: #080c11;
    color: #c9d1d9;
    font-size: 14px;
    line-height: 1.75;
    tab-size: 4;
    white-space: pre;
}

.entry-content .lutze-codeblock code {
    display: block;
    min-width: max-content;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: inherit;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
}

.lutze-codeblock.is-wrapped pre {
    overflow-x: hidden;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}

.lutze-codeblock.is-wrapped code {
    min-width: 0;
}

.hljs-comment {
    color: #8b949e;
    font-style: italic;
}

.hljs-string {
    color: #a5d6ff;
}

.hljs-keyword {
    color: #ff7b72;
    font-weight: 650;
}

.hljs-variable {
    color: #ffa657;
}

.hljs-number {
    color: #79c0ff;
}

.hljs-attr {
    color: #7ee787;
}

.hljs-tag {
    color: #7ee787;
}

@media (max-width: 680px) {
    .lutze-codeblock__toolbar {
        align-items: flex-start;
        flex-direction: column;
    }

    .lutze-codeblock__actions {
        width: 100%;
        justify-content: flex-end;
    }

    .lutze-codeblock__language {
        margin-right: auto;
    }

    .entry-content .lutze-codeblock pre {
        padding: 19px 18px;
        font-size: 12.5px;
    }
}


/* =========================================================
   LUTZE CORE 1.3.1 – RUHIGERE ARTIKELÜBERSCHRIFTEN
   ========================================================= */

.entry-content h1 {
    margin-top: 1.85em;
    margin-bottom: .62em;
    font-size: clamp(29px, 2.9vw, 35px);
    line-height: 1.2;
    font-weight: 800;
}

.entry-content h2 {
    margin-top: 1.9em;
    margin-bottom: .6em;
    padding-bottom: .28em;
    border-bottom: 1px solid rgba(48, 54, 61, .72);
    font-size: clamp(25px, 2.55vw, 30px);
    line-height: 1.22;
    font-weight: 770;
}

.entry-content h3 {
    margin-top: 1.72em;
    margin-bottom: .56em;
    font-size: clamp(21px, 2.15vw, 25px);
    line-height: 1.25;
    font-weight: 740;
}

.entry-content h4 {
    margin-top: 1.55em;
    margin-bottom: .52em;
    font-size: clamp(18px, 1.8vw, 21px);
    line-height: 1.28;
    font-weight: 710;
    color: #c9d1d9;
}

@media (max-width: 680px) {
    .entry-content h1 {
        font-size: 30px;
    }

    .entry-content h2 {
        font-size: 26px;
    }

    .entry-content h3 {
        font-size: 22px;
    }

    .entry-content h4 {
        font-size: 19px;
    }
}


/* =========================================================
   LUTZE CORE 1.4.0 – H2 OHNE TRENNLINIE
   ========================================================= */

.entry-content h2 {
    padding-bottom: 0;
    border-bottom: 0;
}

/* =========================================================
   LUTZE CORE 1.4.0 – BILDER & LIGHTBOX
   ========================================================= */

.entry-content .lutze-lightbox-image {
    cursor: zoom-in;
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.entry-content .lutze-lightbox-image:hover,
.entry-content .lutze-lightbox-image:focus {
    transform: translateY(-2px);
    border-color: #58a6ff;
    box-shadow: 0 16px 44px rgba(0, 0, 0, .24);
    outline: none;
}

.lutze-lightbox-link {
    display: inline-block;
    max-width: 100%;
}

body.lutze-lightbox-open {
    overflow: hidden;
}

.lutze-lightbox {
    position: fixed;
    z-index: 10000;
    inset: 0;
    opacity: 0;
    transition: opacity .18s ease;
}

.lutze-lightbox[hidden] {
    display: none;
}

.lutze-lightbox.is-visible {
    opacity: 1;
}

.lutze-lightbox__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(3, 6, 10, .92);
    backdrop-filter: blur(10px);
}

.lutze-lightbox__shell {
    position: relative;
    display: grid;
    width: 100%;
    height: 100%;
    grid-template-columns: 72px minmax(0, 1fr) 72px;
    grid-template-rows: 62px minmax(0, 1fr);
    align-items: center;
}

.lutze-lightbox__toolbar {
    z-index: 2;
    display: flex;
    grid-column: 1 / -1;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    min-width: 0;
    padding: 11px 18px;
    border-bottom: 1px solid rgba(48, 54, 61, .78);
    background: rgba(13, 17, 23, .84);
    backdrop-filter: blur(14px);
}

.lutze-lightbox__counter {
    color: #9ba7b4;
    font-size: 13px;
    font-weight: 720;
}

.lutze-lightbox__actions {
    display: flex;
    align-items: center;
    gap: 9px;
}

.lutze-lightbox__button {
    min-height: 36px;
    padding: 7px 11px;
    border: 1px solid #30363d;
    border-radius: 9px;
    background: #161b22;
    color: #e6edf3;
    font: inherit;
    font-size: 12px;
    font-weight: 720;
    cursor: pointer;
}

.lutze-lightbox__button:hover,
.lutze-lightbox__button:focus-visible {
    border-color: #58a6ff;
    background: rgba(47, 129, 247, .12);
    outline: none;
}

.lutze-lightbox__figure {
    display: grid;
    width: 100%;
    height: 100%;
    grid-column: 2;
    grid-row: 2;
    grid-template-rows: minmax(0, 1fr) auto;
    align-items: center;
    justify-items: center;
    margin: 0;
    padding: 24px;
    overflow: auto;
}

.lutze-lightbox__image {
    display: block;
    max-width: 100%;
    max-height: calc(100vh - 150px);
    border-radius: 12px;
    object-fit: contain;
    cursor: zoom-in;
    box-shadow: 0 28px 90px rgba(0, 0, 0, .48);
    transform-origin: center;
    transition: transform .18s ease;
}

.lutze-lightbox.is-zoomed .lutze-lightbox__image {
    max-width: none;
    max-height: none;
    cursor: zoom-out;
    transform: scale(1.45);
}

.lutze-lightbox__caption {
    max-width: 920px;
    margin-top: 14px;
    padding: 7px 12px;
    border-radius: 9px;
    background: rgba(13, 17, 23, .82);
    color: #c9d1d9;
    font-size: 13px;
    text-align: center;
}

.lutze-lightbox__nav {
    z-index: 2;
    display: grid;
    width: 46px;
    height: 64px;
    place-items: center;
    justify-self: center;
    padding: 0;
    border: 1px solid #30363d;
    border-radius: 12px;
    background: rgba(22, 27, 34, .86);
    color: #fff;
    font-size: 38px;
    line-height: 1;
    cursor: pointer;
}

.lutze-lightbox__nav:hover,
.lutze-lightbox__nav:focus-visible {
    border-color: #58a6ff;
    background: rgba(47, 129, 247, .16);
    outline: none;
}

.lutze-lightbox__nav--prev {
    grid-column: 1;
    grid-row: 2;
}

.lutze-lightbox__nav--next {
    grid-column: 3;
    grid-row: 2;
}

@media (max-width: 720px) {
    .lutze-lightbox__shell {
        grid-template-columns: 48px minmax(0, 1fr) 48px;
    }

    .lutze-lightbox__toolbar {
        padding-inline: 10px;
    }

    .lutze-lightbox__button {
        padding-inline: 9px;
    }

    .lutze-lightbox__figure {
        padding: 12px 4px 18px;
    }

    .lutze-lightbox__image {
        max-height: calc(100vh - 135px);
        border-radius: 8px;
    }

    .lutze-lightbox__nav {
        width: 38px;
        height: 54px;
        border-radius: 10px;
        font-size: 32px;
    }

    .lutze-lightbox.is-zoomed .lutze-lightbox__image {
        transform: scale(1.2);
    }
}


/* =========================================================
   LUTZE CORE 1.4.1 – VERBESSERTER LIGHTBOX-ZOOM
   ========================================================= */

.lutze-lightbox__zoom-value {
    min-width: 62px;
    font-variant-numeric: tabular-nums;
}

.lutze-lightbox__button:disabled {
    opacity: .42;
    cursor: not-allowed;
}

.lutze-lightbox__viewport {
    position: relative;
    display: grid;
    width: 100%;
    height: 100%;
    min-height: 0;
    place-items: center;
    overflow: hidden;
    touch-action: none;
    cursor: zoom-in;
}

.lutze-lightbox__viewport.is-zoomed {
    cursor: grab;
}

.lutze-lightbox__viewport.is-dragging {
    cursor: grabbing;
}

.lutze-lightbox__image {
    transform: translate(0, 0) scale(1);
    transform-origin: center;
    transition: transform .12s ease;
    user-select: none;
    -webkit-user-drag: none;
}

.lutze-lightbox__viewport.is-dragging .lutze-lightbox__image {
    transition: none;
}

.lutze-lightbox.is-zoomed .lutze-lightbox__image {
    max-width: 100%;
    max-height: calc(100vh - 150px);
    transform: none;
}

@media (max-width: 720px) {
    .lutze-lightbox__actions {
        gap: 6px;
    }

    .lutze-lightbox__zoom-value {
        min-width: 56px;
    }
}


/* =========================================================
   LUTZE CORE 1.5.0 – COMMUNITY-BEWERTUNGEN
   ========================================================= */

.article-stat--community {
    padding-bottom: 2px;
}

.community-summary {
    display: grid;
    gap: 7px;
}

.community-summary .article-stat__label {
    margin-bottom: 0;
}

.community-summary__pending {
    color: #8b949e;
    font-size: 12px;
    line-height: 1.45;
}

.community-summary__values {
    display: grid;
    gap: 7px;
}

.community-summary__values span {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 5px;
    align-items: baseline;
    color: #8b949e;
    font-size: 11px;
}

.community-summary__values strong {
    color: #e6edf3;
    font-size: 14px;
}

.community-summary small {
    color: #6e7681;
    font-size: 10.5px;
}

.community-rating {
    margin-top: 76px;
    padding: 34px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background:
        radial-gradient(circle at 100% 0%, rgba(47, 129, 247, .1), transparent 25rem),
        rgba(22, 27, 34, .72);
}

.community-rating__intro {
    max-width: 650px;
}

.community-rating__intro h2 {
    margin: 20px 0 10px;
    padding: 0;
    border: 0;
    font-size: clamp(28px, 3vw, 36px);
}

.community-rating__intro p {
    margin: 0;
    color: var(--muted);
}

.community-rating__form {
    display: grid;
    gap: 28px;
    margin-top: 30px;
}

.community-rating__field {
    display: grid;
    gap: 12px;
}

.community-rating__label {
    color: #e6edf3;
    font-size: 14px;
    font-weight: 760;
}

.difficulty-options {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 9px;
}

.rating-choice {
    position: relative;
    cursor: pointer;
}

.rating-choice input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.rating-choice span {
    display: grid;
    min-height: 74px;
    align-content: center;
    gap: 3px;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #0d1117;
    color: #8b949e;
    font-size: 11px;
    text-align: center;
    transition: .15s ease;
}

.rating-choice strong {
    color: #e6edf3;
    font-size: 16px;
}

.rating-choice:hover span,
.rating-choice input:focus-visible + span {
    border-color: #58a6ff;
    background: rgba(47, 129, 247, .08);
}

.rating-choice input:checked + span {
    border-color: #2f81f7;
    background: rgba(47, 129, 247, .14);
    box-shadow: 0 0 0 3px rgba(47, 129, 247, .09);
    color: #c9d1d9;
}

.community-rating select {
    width: min(100%, 360px);
    min-height: 46px;
    padding: 8px 40px 8px 12px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #0d1117;
    color: #e6edf3;
    font: inherit;
}

.community-rating select:focus {
    border-color: #58a6ff;
    outline: none;
    box-shadow: 0 0 0 3px rgba(47, 129, 247, .1);
}

.community-rating__honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.community-rating__actions {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.community-rating__privacy {
    max-width: 420px;
    color: #6e7681;
    font-size: 11px;
}

.community-rating__notice {
    padding: 13px 15px;
    border: 1px solid var(--line);
    border-radius: 11px;
    color: #c9d1d9;
    font-size: 13px;
}

.community-rating__notice.is-success {
    border-color: rgba(63, 185, 80, .42);
    background: rgba(63, 185, 80, .09);
    color: #7ee787;
}

.community-rating__notice.is-error {
    border-color: rgba(248, 81, 73, .42);
    background: rgba(248, 81, 73, .08);
    color: #ff7b72;
}

@media (max-width: 820px) {
    .difficulty-options {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .rating-choice:last-child {
        grid-column: 1 / -1;
    }
}

@media (max-width: 560px) {
    .community-rating {
        padding: 24px 18px;
    }

    .difficulty-options {
        grid-template-columns: 1fr;
    }

    .rating-choice:last-child {
        grid-column: auto;
    }

    .rating-choice span {
        min-height: 58px;
        grid-template-columns: 54px 1fr;
        align-items: center;
        text-align: left;
    }
}


/* =========================================================
   LUTZE CORE 1.5.1 – BREITERE UND RUHIGERE LAYOUTS
   ========================================================= */

:root {
    --content: 1280px;
    --page-content: 1040px;
    --docs-content: 1500px;
}

/* Impressum, Datenschutz und normale WordPress-Seiten */
.content-wrap--standard {
    width: min(calc(100% - 48px), var(--page-content));
    margin-top: 64px;
    margin-bottom: 96px;
}

.content-wrap--standard .article-header {
    margin-bottom: 32px;
}

.content-wrap--standard .article-header h1 {
    max-width: 100%;
    font-size: clamp(42px, 5vw, 62px);
}

.content-wrap--standard .entry-content {
    width: 100%;
    font-size: 17px;
    line-height: 1.76;
}

.content-wrap--standard .entry-content p,
.content-wrap--standard .entry-content li {
    max-width: none;
}

.content-wrap--standard .entry-content h2 {
    margin-top: 2.15em;
}

.content-wrap--standard .entry-content h3 {
    margin-top: 1.8em;
}

.content-wrap--standard .entry-content ul,
.content-wrap--standard .entry-content ol {
    padding-left: 1.6em;
}

/* Projekt-, Kategorie- und Artikelseiten dürfen den Bildschirm besser nutzen. */
.docs-layout.container {
    width: min(calc(100% - 48px), var(--docs-content));
}

.docs-layout:not(.docs-layout--article) {
    grid-template-columns: minmax(250px, 285px) minmax(0, 1fr);
    gap: 46px;
}

.docs-layout:not(.docs-layout--article) .docs-main {
    width: 100%;
    max-width: none;
}

.docs-layout--article {
    grid-template-columns:
        minmax(235px, 260px)
        minmax(0, 920px)
        minmax(220px, 240px);
    justify-content: center;
    gap: 34px;
}

.docs-layout--article .docs-main {
    width: 100%;
    max-width: 920px;
}

.docs-layout--article .article-intro {
    max-width: 850px;
}

.topic-grid {
    gap: 24px;
}

.project-index-card {
    min-height: 165px;
    padding: 26px;
}

.docs-note {
    max-width: none;
}

@media (max-width: 1280px) {
    .docs-layout.container {
        width: min(calc(100% - 36px), 1240px);
    }

    .docs-layout--article {
        grid-template-columns: 220px minmax(0, 1fr) 220px;
        gap: 26px;
    }

    .docs-layout--article .docs-main {
        max-width: 860px;
    }
}

@media (max-width: 1080px) {
    .docs-layout--article {
        grid-template-columns: 220px minmax(0, 1fr);
    }

    .docs-layout--article .docs-main {
        max-width: none;
    }
}

@media (max-width: 820px) {
    .content-wrap--standard {
        width: min(calc(100% - 28px), var(--page-content));
        margin-top: 42px;
    }

    .docs-layout.container {
        width: min(calc(100% - 28px), var(--docs-content));
    }
}


/* =========================================================
   LUTZE CORE 1.6.0 – GO-LIVE, CONSENT & SEARCH
   ========================================================= */

.header-search-button,
.footer-link-button {
    border: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    cursor: pointer;
}

.header-search-button {
    display: inline-grid;
    width: 34px;
    height: 34px;
    place-items: center;
    margin-left: 6px;
    border: 1px solid var(--line);
    border-radius: 9px;
    color: #c9d1d9;
    font-size: 20px;
}

.header-search-button:hover {
    border-color: #58a6ff;
    color: #fff;
}

.footer-link-button {
    padding: 0;
    color: #58a6ff;
    font-size: inherit;
}

body.consent-open,
body.search-open {
    overflow: hidden;
}

.consent-layer,
.search-overlay {
    position: fixed;
    z-index: 11000;
    inset: 0;
    opacity: 0;
    transition: opacity .18s ease;
}

.consent-layer.is-visible,
.search-overlay.is-visible {
    opacity: 1;
}

.consent-layer[hidden],
.search-overlay[hidden] {
    display: none;
}

.consent-backdrop,
.search-overlay__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(3, 6, 10, .82);
    backdrop-filter: blur(10px);
}

.consent-dialog,
.search-panel {
    position: relative;
    width: min(calc(100% - 32px), 720px);
    margin: 8vh auto 0;
    padding: 30px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: #11161d;
    box-shadow: 0 30px 100px rgba(0,0,0,.5);
}

.consent-head h2,
.search-panel h2 {
    margin: 18px 0 10px;
    font-size: clamp(28px, 4vw, 42px);
}

.consent-head p,
.search-panel p {
    color: var(--muted);
}

.consent-options {
    display: grid;
    gap: 10px;
    margin: 24px 0;
}

.consent-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 13px;
    background: #0d1117;
}

.consent-option span {
    display: grid;
    gap: 5px;
}

.consent-option small {
    color: #8b949e;
    line-height: 1.45;
}

.consent-option input {
    width: 20px;
    height: 20px;
    accent-color: #2f81f7;
}

.consent-option.is-required {
    opacity: .82;
}

.consent-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.consent-text-button {
    border: 0;
    background: transparent;
    color: #8b949e;
    font: inherit;
    cursor: pointer;
}

.consent-text-button:hover {
    color: #fff;
}

.consent-foot {
    margin: 20px 0 0;
    font-size: 12px;
}

.search-panel__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
}

.search-close {
    width: 38px;
    height: 38px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #161b22;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
}

.search-panel form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    margin-top: 26px;
}

.search-panel input[type="search"] {
    min-height: 52px;
    padding: 11px 15px;
    border: 1px solid var(--line);
    border-radius: 11px;
    background: #0d1117;
    color: #fff;
    font: inherit;
    font-size: 17px;
}

.search-panel input[type="search"]:focus {
    border-color: #58a6ff;
    outline: none;
    box-shadow: 0 0 0 3px rgba(47,129,247,.12);
}

.search-results-grid {
    display: grid;
    gap: 18px;
}

.search-result-card {
    padding: 24px;
}

.search-result-card h2 {
    margin: 8px 0 10px;
    font-size: 26px;
}

.search-result-card h2 a {
    color: #fff;
}

@media (max-width: 680px) {
    .consent-dialog,
    .search-panel {
        margin-top: 3vh;
        padding: 22px 18px;
    }

    .search-panel form {
        grid-template-columns: 1fr;
    }

    .consent-actions .btn {
        width: 100%;
        justify-content: center;
    }
}


/* =========================================================
   LUTZE CORE 1.6.1 – MOBILE SUCHE & LAYER-FIX
   ========================================================= */

.site-header {
    position: relative;
    z-index: 220;
}

.header-search-button {
    position: relative;
    z-index: 225;
    pointer-events: auto;
    touch-action: manipulation;
}

.search-overlay {
    z-index: 12000;
    pointer-events: auto;
}

.search-overlay[hidden] {
    display: none !important;
    pointer-events: none !important;
}

.search-overlay__backdrop,
.search-panel {
    pointer-events: auto;
}

/* Eine geschlossene mobile Projekt-Navigation darf niemals unsichtbar
   über dem Header oder anderen Seitenelementen liegen. */
@media (max-width: 820px) {
    .project-sidebar:not(.is-open) {
        pointer-events: none;
        visibility: hidden;
    }

    .project-sidebar.is-open {
        pointer-events: auto;
        visibility: visible;
    }

    .project-sidebar-backdrop[hidden] {
        display: none !important;
        pointer-events: none !important;
    }

    .project-sidebar-trigger {
        z-index: 90;
    }

    .site-header {
        z-index: 230;
    }
}


/* =========================================================
   LUTZE CORE 1.6.2 – CODEFENSTER & TOC-FIX
   ========================================================= */

.lutze-codeblock__brand-mark {
    display: inline-grid;
    width: 28px;
    height: 28px;
    flex: 0 0 28px;
    place-items: center;
    border: 1px solid #30363d;
    border-radius: 9px;
    background: #0d1117;
    color: #7ee787;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: -.08em;
}

.lutze-codeblock__body {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: stretch;
    background: #080c11;
}

.lutze-codeblock__line-numbers {
    display: flex;
    flex-direction: column;
    min-width: 52px;
    padding: 23px 13px 23px 10px;
    border-right: 1px solid #21262d;
    background: #0b1016;
    color: #59636f;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
    font-size: 14px;
    line-height: 1.75;
    text-align: right;
    user-select: none;
}

.lutze-codeblock__line-numbers span {
    display: block;
    min-height: 1.75em;
}

.entry-content .lutze-codeblock__body pre {
    min-width: 0;
}

.lutze-codeblock.is-wrapped .lutze-codeblock__line-numbers {
    display: none;
}

@media (max-width: 620px) {
    .lutze-codeblock__line-numbers {
        min-width: 42px;
        padding-right: 9px;
        padding-left: 7px;
        font-size: 12px;
    }

    .entry-content .lutze-codeblock pre {
        padding-right: 16px;
        padding-left: 16px;
        font-size: 12px;
    }

    .lutze-codeblock__brand-mark {
        width: 25px;
        height: 25px;
        flex-basis: 25px;
        font-size: 10px;
    }
}


/* =========================================================
   LUTZE CORE 1.7.0 – SUCHE, BREADCRUMBS & ÜBERSCHRIFTEN
   ========================================================= */

/* Deutliche, aber ruhige Hierarchie im eigentlichen Artikelinhalt. */
.docs-layout--article .entry-content h1,
.docs-layout--article .entry-content h2,
.docs-layout--article .entry-content h3,
.docs-layout--article .entry-content h4 {
    position: relative;
    max-width: 100%;
    color: #f0f6fc;
    letter-spacing: -.025em;
}

.docs-layout--article .entry-content h1 {
    margin-top: 2.25em;
    margin-bottom: .72em;
    font-size: clamp(32px, 3vw, 39px);
    line-height: 1.16;
    font-weight: 850;
}

.docs-layout--article .entry-content h2 {
    margin-top: 2.45em;
    margin-bottom: .72em;
    padding-left: 16px;
    font-size: clamp(27px, 2.45vw, 32px);
    line-height: 1.2;
    font-weight: 800;
}

.docs-layout--article .entry-content h2::before {
    content: "";
    position: absolute;
    top: .12em;
    bottom: .12em;
    left: 0;
    width: 4px;
    border-radius: 99px;
    background: linear-gradient(180deg, #58a6ff, #7ee787);
}

.docs-layout--article .entry-content h3 {
    margin-top: 2em;
    margin-bottom: .62em;
    font-size: clamp(22px, 2vw, 26px);
    line-height: 1.24;
    font-weight: 760;
    color: #dce6f1;
}

.docs-layout--article .entry-content h4 {
    margin-top: 1.7em;
    margin-bottom: .55em;
    font-size: clamp(18px, 1.55vw, 21px);
    line-height: 1.3;
    font-weight: 720;
    color: #b9c5d2;
}

/* Breadcrumbs erhalten mehr Kontrast, bleiben aber bewusst dezent. */
.breadcrumbs {
    gap: 10px;
    color: #8190a1;
    font-size: 13px;
}

.breadcrumbs a {
    color: #9aabc0;
    font-weight: 600;
}

.breadcrumbs a:hover {
    color: #79c0ff;
}

.breadcrumbs span[aria-current="page"] {
    color: #e6edf3;
    font-weight: 700;
}

.breadcrumbs__separator {
    color: #52606f;
}

/* Suchdialog */
.search-panel {
    width: min(calc(100% - 32px), 820px);
}

.search-panel__form {
    grid-template-columns: minmax(0, 1fr) minmax(170px, auto) auto !important;
}

.search-panel select,
.search-refine select,
.search-refine input {
    min-height: 48px;
    padding: 10px 13px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #0d1117;
    color: #fff;
    font: inherit;
}

.search-panel select:focus,
.search-refine select:focus,
.search-refine input:focus {
    border-color: #58a6ff;
    outline: none;
    box-shadow: 0 0 0 3px rgba(47,129,247,.12);
}

.search-syntax {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 14px;
    margin-top: 15px;
    color: #8b949e;
    font-size: 12px;
}

.search-syntax code,
.search-help code {
    padding: 3px 6px;
    border: 1px solid #30363d;
    border-radius: 6px;
    background: #0d1117;
    color: #a5d6ff;
}

.search-panel__foot {
    margin-bottom: 0;
    font-size: 13px;
}

.live-search-results {
    overflow: hidden;
    margin-top: 18px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #0b1016;
}

.live-search-results[hidden] {
    display: none;
}

.live-search-list {
    display: grid;
}

.live-search-item {
    display: grid;
    gap: 4px;
    padding: 14px 16px;
    border-bottom: 1px solid #21262d;
    color: #c9d1d9;
    transition: background .14s ease;
}

.live-search-item:hover,
.live-search-item:focus {
    background: rgba(47,129,247,.09);
    color: #fff;
    outline: none;
}

.live-search-item__type {
    color: #79c0ff;
    font-size: 11px;
    font-weight: 750;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.live-search-item strong {
    color: #f0f6fc;
    font-size: 16px;
}

.live-search-item small {
    color: #8b949e;
    line-height: 1.45;
}

.live-search-all {
    display: flex;
    justify-content: center;
    padding: 13px 16px;
    color: #79c0ff;
    font-weight: 750;
}

.live-search-all:hover {
    background: rgba(47,129,247,.09);
    color: #fff;
}

.live-search-loading,
.live-search-empty {
    padding: 18px;
    color: #8b949e;
    text-align: center;
}

/* Vollständige Ergebnisansicht */
.content-wrap--search {
    width: min(calc(100% - 48px), 1280px);
    margin: 64px auto 96px;
}

.search-results-header {
    margin-bottom: 28px;
}

.search-results-header h1 {
    max-width: 100%;
    margin-bottom: 10px;
    font-size: clamp(38px, 4.7vw, 58px);
}

.search-results-header p {
    color: #8b949e;
}

.search-refine {
    display: grid;
    grid-template-columns: minmax(250px, 2fr) repeat(5, minmax(135px, 1fr));
    gap: 12px;
    align-items: end;
    margin-bottom: 16px;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #11161d;
}

.search-refine > div {
    display: grid;
    gap: 6px;
}

.search-refine label {
    color: #8b949e;
    font-size: 12px;
    font-weight: 700;
}

.search-refine input,
.search-refine select {
    width: 100%;
}

.search-refine .btn {
    min-height: 48px;
    justify-content: center;
}

.search-help {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 12px;
    align-items: center;
    margin: 0 0 24px;
    color: #8b949e;
    font-size: 12px;
}

.search-results-grid {
    gap: 14px;
}

.search-result-card {
    padding: 24px 26px;
}

.search-result-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.search-result-card__meta span {
    padding: 4px 8px;
    border: 1px solid #30363d;
    border-radius: 999px;
    color: #8b949e;
    font-size: 11px;
    font-weight: 700;
}

.search-result-card h2 {
    margin: 13px 0 10px;
    font-size: clamp(23px, 2.2vw, 29px);
}

.search-result-card p {
    max-width: 920px;
    color: #a9b5c2;
    line-height: 1.65;
}

.search-result-card__link {
    display: inline-flex;
    margin-top: 6px;
    color: #79c0ff;
    font-weight: 750;
}

.search-pagination ul {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    justify-content: center;
    padding: 0;
    margin: 30px 0 0;
    list-style: none;
}

.search-pagination a,
.search-pagination span {
    display: grid;
    min-width: 40px;
    min-height: 40px;
    place-items: center;
    padding: 7px 11px;
    border: 1px solid var(--line);
    border-radius: 9px;
    background: #11161d;
    color: #c9d1d9;
}

.search-pagination .current {
    border-color: #58a6ff;
    background: rgba(47,129,247,.14);
    color: #fff;
}

@media (max-width: 1120px) {
    .search-refine {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .search-refine__query {
        grid-column: span 2;
    }
}

@media (max-width: 720px) {
    .docs-layout--article .entry-content h1 {
        font-size: 31px;
    }

    .docs-layout--article .entry-content h2 {
        padding-left: 13px;
        font-size: 27px;
    }

    .docs-layout--article .entry-content h3 {
        font-size: 22px;
    }

    .search-panel__form,
    .search-refine {
        grid-template-columns: 1fr !important;
    }

    .search-refine__query {
        grid-column: auto;
    }

    .search-syntax {
        display: none;
    }

    .content-wrap--search {
        width: min(calc(100% - 28px), 1280px);
        margin-top: 38px;
    }
}


/* Lutze Core 1.7.1 */
.search-refine {
    grid-template-columns: minmax(260px, 2fr) repeat(4, minmax(140px, 1fr));
}

.search-help--explained {
    display: block;
    margin: 0 0 24px;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #0f141b;
    color: #a9b5c2;
}

.search-help--explained summary {
    padding: 13px 15px;
    color: #c9d1d9;
    font-size: 13px;
    font-weight: 750;
    cursor: pointer;
    user-select: none;
}

.search-help--explained[open] summary {
    border-bottom: 1px solid var(--line);
}

.search-help__content {
    padding: 15px;
}

.search-help__content p {
    margin: 0 0 14px;
    line-height: 1.55;
}

.search-help__content dl {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 18px;
    margin: 0;
}

.search-help__content dl > div {
    display: grid;
    grid-template-columns: minmax(125px, auto) 1fr;
    gap: 10px;
    align-items: start;
}

.search-help__content dt,
.search-help__content dd {
    margin: 0;
}

.search-help__content dd {
    color: #8b949e;
    font-size: 13px;
    line-height: 1.45;
}

@media (max-width: 1120px) {
    .search-refine {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    .search-help__content dl {
        grid-template-columns: 1fr;
    }

    .search-help__content dl > div {
        grid-template-columns: 1fr;
        gap: 5px;
    }
}

/* =========================================================
   LUTZE CORE 1.8.0 – BRANDING, PORTRÄT & ÜBER-MICH
   ========================================================= */

.brand-mark {
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 14px;
    font-weight: 900;
    letter-spacing: -.04em;
}

.terminal-bar {
    align-items: center;
    justify-content: space-between;
    min-height: 48px;
}

.terminal-label,
.terminal-shell {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #c9d1d9;
    font: 700 12px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.terminal-label > span {
    color: #7ee787;
    font-weight: 900;
}

.terminal-shell {
    padding: 5px 9px;
    border: 1px solid #30363d;
    border-radius: 999px;
    color: #8b949e;
    font-size: 10px;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.terminal-bar i {
    display: none;
}

.about-portrait,
.about-page-portrait {
    position: relative;
    overflow: hidden;
    margin: 0;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: linear-gradient(145deg, #1f2630, #0d1117);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
}

.about-portrait {
    aspect-ratio: 4 / 5;
    max-height: 560px;
}

.about-portrait::after,
.about-page-portrait::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(180deg, transparent 65%, rgba(13,17,23,.30));
}

.about-portrait img,
.about-page-portrait img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about h2 {
    margin-top: 18px;
}

.about-page-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(300px, .8fr);
    gap: 64px;
    align-items: center;
}

.about-page-portrait {
    aspect-ratio: 4 / 5;
    max-height: 720px;
}

.about-page-hero .page-title {
    max-width: 930px;
    font-size: clamp(46px, 6.4vw, 78px);
}

.about-story-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 56px;
    align-items: start;
}

.about-story-main {
    max-width: 820px;
}

.about-story-main h2 {
    margin: 2.1em 0 .65em;
    font-size: clamp(29px, 3vw, 38px);
    line-height: 1.16;
    letter-spacing: -.035em;
}

.about-story-main h2:first-child {
    margin-top: 0;
}

.about-story-main p,
.about-story-main li {
    color: #c9d1d9;
    font-size: 18px;
    line-height: 1.78;
}

.about-story-main blockquote {
    margin: 2em 0;
    padding: 18px 24px;
    border: 1px solid rgba(88,166,255,.36);
    border-left: 4px solid #58a6ff;
    border-radius: 12px;
    background: rgba(47,129,247,.08);
    color: #f0f6fc;
    font-size: 22px;
    font-weight: 760;
}

.about-topic-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 26px 0;
}

.about-topic-list span {
    padding: 9px 12px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #11161d;
    color: #c9d1d9;
    font-size: 13px;
    font-weight: 700;
}

.about-facts-card {
    position: sticky;
    top: 110px;
    padding: 26px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(22,27,34,.86);
}

.about-facts-card dl {
    margin: 18px 0 0;
}

.about-facts-card dl > div {
    padding: 15px 0;
    border-top: 1px solid var(--line);
}

.about-facts-card dt {
    margin-bottom: 5px;
    color: #8b949e;
    font-size: 12px;
}

.about-facts-card dd {
    margin: 0;
    color: #f0f6fc;
    font-weight: 720;
    line-height: 1.45;
}

.entry-content figure {
    margin: 2.2em 0;
}

.entry-content figure img {
    display: block;
    width: 100%;
    height: auto;
}

.entry-content figcaption {
    margin-top: 9px;
    color: #8b949e;
    font-size: 13px;
    line-height: 1.55;
    text-align: center;
}

@media (max-width: 980px) {
    .about-page-grid,
    .about-story-grid {
        grid-template-columns: 1fr;
    }

    .about-page-portrait {
        width: min(100%, 620px);
        max-height: none;
    }

    .about-facts-card {
        position: static;
    }
}

@media (max-width: 680px) {
    .about-portrait {
        aspect-ratio: 1 / 1;
        max-height: none;
    }

    .about-page-grid {
        gap: 34px;
    }

    .about-page-portrait {
        aspect-ratio: 1 / 1.2;
    }

    .about-story-main p,
    .about-story-main li {
        font-size: 16px;
    }
}


/* =========================================================
   LUTZE CORE 1.8.1 – KOMPAKTER ARTIKELMODUS
   ========================================================= */

/* Lange Dokumentationen bleiben auf großen Monitoren bewusst zentriert.
   Die Fläche wächst nicht endlos mit dem Browserfenster mit. */
:root {
    --docs-content: 1400px;
}

.docs-layout--article {
    grid-template-columns: minmax(190px, 215px) minmax(0, 800px) minmax(190px, 215px);
    gap: 26px;
    justify-content: center;
}

.docs-layout--article .docs-main {
    max-width: 800px;
}

.docs-layout--article .article-header h1 {
    max-width: 780px;
    font-size: clamp(38px, 3.5vw, 56px);
    line-height: 1.04;
    letter-spacing: -.045em;
}

.docs-layout--article .article-intro {
    max-width: 760px;
    font-size: 17px;
    line-height: 1.65;
}

.docs-layout--article .entry-content {
    font-size: 16px;
    line-height: 1.74;
}

.docs-layout--article .entry-content p,
.docs-layout--article .entry-content li {
    max-width: 76ch;
}

.docs-layout--article .entry-content h1 {
    font-size: 32px;
}

.docs-layout--article .entry-content h2 {
    font-size: 27px;
}

.docs-layout--article .entry-content h3 {
    font-size: 22px;
}

.docs-layout--article .entry-content h4 {
    font-size: 18px;
}

/* Rechte Spalte scrollt mit der Seite statt einen zweiten Scrollbereich
   innerhalb des Browserfensters zu erzeugen. */
.docs-layout--article .article-sidebar {
    position: static;
    max-height: none;
    overflow: visible;
    font-size: 13px;
}

.article-info-card,
.article-toc {
    border-radius: 14px;
}

.article-info-card,
.article-toc {
    padding: 14px;
}

.article-sidebar__label {
    margin-bottom: 9px;
    font-size: 10px;
}

.article-stat {
    gap: 3px;
    padding: 10px 0;
}

.article-stat__label,
.article-stat__value,
.article-toc__item a {
    font-size: 11.5px;
}

.article-toc__item--level-3 a {
    padding-left: 18px;
    font-size: 11px;
}

.article-toc__item--level-4 a {
    padding-left: 28px;
    font-size: 10.5px;
}

.system-tag {
    padding: 4px 7px;
    font-size: 10px;
}

/* Linke Navigation kompakter; lange Artikeltitel dürfen über zwei Zeilen
   laufen statt mitten im Wort abgeschnitten zu werden. */
.project-sidebar {
    padding: 14px 11px 17px;
    border-radius: 15px;
}

.project-sidebar__head {
    padding: 1px 6px 12px;
}

.project-sidebar__title {
    font-size: 17px;
}

.project-tree__row {
    min-height: 33px;
}

.project-tree__category {
    padding: 5px 3px;
    font-size: 12.5px;
}

.project-tree__node--depth-1 > .project-tree__row .project-tree__category {
    font-size: 12px;
}

.project-tree__node--depth-2 > .project-tree__row .project-tree__category,
.project-tree__node--depth-3 > .project-tree__row .project-tree__category {
    font-size: 11.5px;
}

.project-tree__post a {
    display: -webkit-box;
    margin-left: 25px;
    padding: 6px 7px 6px 3px;
    overflow: hidden;
    font-size: 11.5px;
    line-height: 1.3;
    text-overflow: clip;
    white-space: normal;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.project-tree__count {
    min-width: 20px;
    padding-right: 3px;
    font-size: 10px;
}

.entry-featured {
    margin-top: 24px;
}

.entry-featured img,
.entry-content figure img {
    border-radius: 12px;
}

/* Bei normalen Notebookbreiten verschwindet die rechte Randspalte nicht,
   sondern wandert unter den Beitrag. Damit bleibt die Lesespalte breit genug. */
@media (max-width: 1280px) {
    .docs-layout--article {
        grid-template-columns: 200px minmax(0, 800px);
        gap: 24px;
    }

    .docs-layout--article .article-sidebar {
        grid-column: 2;
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        gap: 14px;
        margin-top: 22px;
    }

    .docs-layout--article .article-toc {
        margin-top: 0;
    }
}

@media (max-width: 920px) {
    .docs-layout--article {
        display: block;
    }

    .docs-layout--article .article-sidebar {
        display: grid;
        grid-template-columns: 1fr;
        margin-top: 36px;
    }

    .docs-layout--article .article-header h1 {
        font-size: clamp(35px, 8vw, 48px);
    }
}

/* Weiterführende Artikel innerhalb einer Anleitung. */
.lutze-related-guide {
    margin: 22px 0 28px;
}

.lutze-related-guide a {
    font-weight: 750;
}


/* =========================================================
   LUTZE CORE 1.8.2 – AUSSENLIEGENDE DOKUMENTATIONSRAILS
   ========================================================= */

/* Beide Randspalten verhalten sich auf Desktop gleich:
   Sie stehen im normalen Dokumentfluss und erzeugen weder einen
   eigenen Scrollbereich noch eine dauerhaft feststehende Navigation. */
@media (min-width: 821px) {
    .docs-layout--article > .project-sidebar,
    .docs-layout--article > .article-sidebar {
        position: static;
        top: auto;
        align-self: start;
        max-height: none;
        overflow: visible;
    }
}

/* Auf breiten Monitoren liegen Navigation und Artikelinformationen an
   den äußeren Seiten. Die Lesespalte bleibt bewusst mittig und schmal,
   während die flexiblen Zwischenräume mit dem Browserfenster wachsen. */
@media (min-width: 1480px) {
    .docs-layout.docs-layout--article.container {
        width: calc(100% - clamp(40px, 3.2vw, 96px));
        max-width: none;
        grid-template-columns:
            minmax(240px, 270px)
            minmax(48px, 1fr)
            minmax(0, 800px)
            minmax(48px, 1fr)
            minmax(220px, 250px);
        column-gap: 0;
        justify-content: stretch;
    }

    .docs-layout--article > .project-sidebar {
        grid-column: 1;
    }

    .docs-layout--article > .docs-main {
        grid-column: 3;
    }

    .docs-layout--article > .article-sidebar {
        grid-column: 5;
        display: block;
        margin-top: 0;
    }

    .docs-layout--article > .article-sidebar .article-toc {
        margin-top: 16px;
    }
}

/* Normale Desktop- und Notebookbreiten bleiben dreispaltig, ohne die
   Navigation unnötig zusammenzudrücken. */
@media (min-width: 1181px) and (max-width: 1479px) {
    .docs-layout.docs-layout--article.container {
        width: calc(100% - 32px);
        max-width: none;
        grid-template-columns: minmax(220px, 250px) minmax(0, 800px) minmax(205px, 230px);
        column-gap: clamp(20px, 2vw, 32px);
        justify-content: center;
    }

    .docs-layout--article > .project-sidebar {
        grid-column: 1;
    }

    .docs-layout--article > .docs-main {
        grid-column: 2;
    }

    .docs-layout--article > .article-sidebar {
        grid-column: 3;
        display: block;
        margin-top: 0;
    }

    .docs-layout--article > .article-sidebar .article-toc {
        margin-top: 16px;
    }
}

/* Unterhalb der echten Dreispaltenbreite bleibt links die Navigation,
   während Artikelinformationen und Inhaltsverzeichnis unter den Beitrag
   wechseln. So verliert die Lesespalte nicht unnötig Platz. */
@media (min-width: 921px) and (max-width: 1180px) {
    .docs-layout.docs-layout--article.container {
        width: calc(100% - 32px);
        max-width: none;
        grid-template-columns: minmax(220px, 250px) minmax(0, 800px);
        column-gap: 24px;
        justify-content: center;
    }

    .docs-layout--article > .project-sidebar {
        grid-column: 1;
    }

    .docs-layout--article > .docs-main {
        grid-column: 2;
    }

    .docs-layout--article > .article-sidebar {
        grid-column: 2;
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        gap: 14px;
        margin-top: 22px;
    }

    .docs-layout--article > .article-sidebar .article-toc {
        margin-top: 0;
    }
}

/* Die breitere linke Rail darf längere Artikelnamen vollständig und
   lesbar über bis zu drei Zeilen zeigen. */
@media (min-width: 921px) {
    .docs-layout--article .project-sidebar {
        width: 100%;
        min-width: 0;
    }

    .docs-layout--article .project-tree__post a {
        -webkit-line-clamp: 3;
    }
}

/* =========================================================
   LUTZE CORE 1.8.3 – RAILS NUR OBEN, NICHT STICKY
   ========================================================= */

/* Die beiden Randbereiche gehören zum Kopf des Artikels.
   Sie stehen beim Seitenaufruf oben, scrollen danach aber vollständig
   aus dem sichtbaren Bereich. Es gibt weder sticky/fixed noch eigene
   Scrollflächen innerhalb der Karten. */
@media (min-width: 921px) {
    body.single .docs-layout--article > .project-sidebar,
    body.single .docs-layout--article > .article-sidebar {
        position: static !important;
        inset: auto !important;
        top: auto !important;
        align-self: start !important;
        width: 100%;
        height: auto !important;
        max-height: none !important;
        overflow: visible !important;
        overscroll-behavior: auto;
    }

    body.single .docs-layout--article > .article-sidebar,
    body.single .docs-layout--article > .article-sidebar > *,
    body.single .docs-layout--article > .project-sidebar,
    body.single .docs-layout--article > .project-sidebar > * {
        max-height: none !important;
        overflow: visible !important;
    }

    /* Lange Navigationstitel werden vollständig gezeigt. Die Rail darf
       dadurch höher werden und scrollt anschließend mit der ganzen Seite. */
    body.single .project-tree__post a {
        display: block;
        overflow: visible;
        text-overflow: clip;
        white-space: normal;
        -webkit-box-orient: initial;
        -webkit-line-clamp: unset;
    }
}

/* Große Dokumentationsansicht: Randbereiche an den äußeren Browserkanten,
   die Lesespalte bleibt unabhängig davon mittig und maximal 800 px breit. */
@media (min-width: 1360px) {
    body.single .docs-layout.docs-layout--article.container {
        box-sizing: border-box;
        width: 100%;
        max-width: none;
        padding-inline: clamp(18px, 2.2vw, 44px);
        grid-template-columns:
            minmax(270px, 310px)
            minmax(28px, 1fr)
            minmax(0, 800px)
            minmax(28px, 1fr)
            minmax(225px, 265px);
        column-gap: 0;
        justify-content: stretch;
        align-items: start;
    }

    body.single .docs-layout--article > .project-sidebar {
        grid-column: 1;
    }

    body.single .docs-layout--article > .docs-main {
        grid-column: 3;
        width: 100%;
        max-width: 800px;
        justify-self: center;
    }

    body.single .docs-layout--article > .article-sidebar {
        grid-column: 5;
        display: block;
        margin-top: 0;
    }

    body.single .docs-layout--article > .article-sidebar .article-toc {
        margin-top: 16px;
    }
}

/* Normale Desktopbreite: weiterhin drei Bereiche, aber ohne eigene
   Seitenleisten-Scrollflächen und ohne abgeschnittene Navigationstitel. */
@media (min-width: 1121px) and (max-width: 1359px) {
    body.single .docs-layout.docs-layout--article.container {
        box-sizing: border-box;
        width: 100%;
        max-width: none;
        padding-inline: 18px;
        grid-template-columns: minmax(235px, 275px) minmax(0, 800px) minmax(205px, 235px);
        column-gap: clamp(18px, 2vw, 30px);
        justify-content: center;
        align-items: start;
    }

    body.single .docs-layout--article > .project-sidebar {
        grid-column: 1;
    }

    body.single .docs-layout--article > .docs-main {
        grid-column: 2;
    }

    body.single .docs-layout--article > .article-sidebar {
        grid-column: 3;
        display: block;
        margin-top: 0;
    }

    body.single .docs-layout--article > .article-sidebar .article-toc {
        margin-top: 16px;
    }
}

/* Unterhalb der sinnvollen Dreispaltenbreite bleibt die Projektnavigation
   links. Artikelinformationen und Inhaltsverzeichnis folgen nach dem Artikel. */
@media (min-width: 921px) and (max-width: 1120px) {
    body.single .docs-layout.docs-layout--article.container {
        box-sizing: border-box;
        width: 100%;
        max-width: none;
        padding-inline: 16px;
        grid-template-columns: minmax(225px, 265px) minmax(0, 800px);
        column-gap: 22px;
        justify-content: center;
        align-items: start;
    }

    body.single .docs-layout--article > .project-sidebar {
        grid-column: 1;
    }

    body.single .docs-layout--article > .docs-main {
        grid-column: 2;
    }

    body.single .docs-layout--article > .article-sidebar {
        grid-column: 2;
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        gap: 14px;
        margin-top: 24px;
    }

    body.single .docs-layout--article > .article-sidebar .article-toc {
        margin-top: 0;
    }
}

/* =========================================================
   LUTZE CORE 1.8.4 – DYNAMISCHE DOKUMENTATIONSANSICHT
   ========================================================= */

/* Insgesamt etwas ruhiger und näher an klassischen Dokumentationsseiten. */
body {
    font-size: 16px;
}

.hero h1 {
    font-size: clamp(44px, 5.2vw, 72px);
}

.about-page-hero .page-title {
    font-size: clamp(38px, 4vw, 58px);
}

body.single .docs-layout--article .article-header h1 {
    max-width: 920px;
    font-size: clamp(34px, 2.75vw, 46px);
    line-height: 1.07;
    letter-spacing: -.04em;
}

body.single .docs-layout--article .article-intro {
    max-width: 860px;
    font-size: 16px;
    line-height: 1.62;
}

body.single .docs-layout--article .entry-content {
    font-size: 15.5px;
    line-height: 1.7;
}

body.single .docs-layout--article .entry-content p,
body.single .docs-layout--article .entry-content li {
    max-width: 84ch;
}

body.single .docs-layout--article .entry-content h1 {
    font-size: clamp(28px, 2.1vw, 34px);
}

body.single .docs-layout--article .entry-content h2 {
    font-size: clamp(23px, 1.75vw, 28px);
}

body.single .docs-layout--article .entry-content h3 {
    font-size: clamp(19px, 1.35vw, 22px);
}

body.single .docs-layout--article .entry-content h4 {
    font-size: 17px;
}

/* Linke und rechte Rail bleiben wie bei einer Dokumentationsoberfläche
   sichtbar. Beide scrollen bei Bedarf innerhalb des Browserfensters. */
@media (min-width: 921px) {
    body.single .docs-layout--article > .project-sidebar,
    body.single .docs-layout--article > .article-sidebar {
        position: sticky !important;
        top: 92px !important;
        align-self: start !important;
        height: auto !important;
        max-height: calc(100vh - 112px) !important;
        overflow-x: hidden !important;
        overflow-y: auto !important;
        overscroll-behavior: contain;
        scrollbar-width: thin;
        scrollbar-color: #3a424d transparent;
    }

    body.single .docs-layout--article > .project-sidebar::-webkit-scrollbar,
    body.single .docs-layout--article > .article-sidebar::-webkit-scrollbar {
        width: 8px;
    }

    body.single .docs-layout--article > .project-sidebar::-webkit-scrollbar-thumb,
    body.single .docs-layout--article > .article-sidebar::-webkit-scrollbar-thumb {
        border: 2px solid transparent;
        border-radius: 999px;
        background: #3a424d;
        background-clip: padding-box;
    }

    body.single .project-sidebar {
        padding: 16px 14px 20px;
    }

    body.single .project-sidebar__head {
        position: sticky;
        z-index: 3;
        top: -16px;
        margin-inline: -3px;
        padding: 14px 9px 13px;
        background: rgba(13, 17, 23, .97);
        backdrop-filter: blur(12px);
    }

    body.single .project-sidebar__title {
        font-size: 18px;
    }

    body.single .project-sidebar__close {
        display: grid;
        place-items: center;
        flex: 0 0 32px;
        width: 32px;
        height: 32px;
        font-size: 0;
    }

    body.single .project-sidebar__close::before {
        content: "‹";
        font-size: 24px;
        line-height: 1;
    }

    body.single .project-tree__category {
        overflow: visible;
        padding-block: 6px;
        font-size: 13px;
        line-height: 1.28;
        text-overflow: clip;
        white-space: normal;
    }

    body.single .project-tree__node--depth-1 > .project-tree__row .project-tree__category {
        font-size: 12.5px;
    }

    body.single .project-tree__node--depth-2 > .project-tree__row .project-tree__category,
    body.single .project-tree__node--depth-3 > .project-tree__row .project-tree__category {
        font-size: 12px;
    }

    body.single .project-tree__post a {
        display: block;
        overflow: visible;
        padding-block: 6px;
        font-size: 12px;
        line-height: 1.34;
        text-overflow: clip;
        white-space: normal;
        -webkit-line-clamp: unset;
    }

    body.single .article-sidebar {
        padding-bottom: 0;
        font-size: 13px;
    }

    body.single .article-info-card,
    body.single .article-toc {
        padding: 16px;
    }

    body.single .article-sidebar__label {
        font-size: 10.5px;
    }

    body.single .article-stat__label,
    body.single .article-stat__value,
    body.single .article-toc__item a {
        font-size: 12px;
    }

    body.single .article-toc__item--level-3 a {
        font-size: 11.5px;
    }

    body.single .article-toc__item--level-4 a {
        font-size: 11px;
    }

    /* Desktop-Schalter: Die linke Rail kann wie bei Microsoft Learn
       vollständig aus- und wieder eingeblendet werden. */
    body.single.project-rail-collapsed .project-sidebar {
        display: none;
    }

    body.single.project-rail-collapsed .project-sidebar-trigger {
        position: fixed;
        z-index: 96;
        top: 92px;
        left: 12px;
        display: grid;
        width: 42px;
        height: 42px;
        place-items: center;
        margin: 0;
        padding: 0;
        overflow: hidden;
        border: 1px solid var(--line);
        border-radius: 10px;
        background: rgba(22, 27, 34, .96);
        color: #fff;
        font-size: 0;
        box-shadow: 0 10px 32px rgba(0, 0, 0, .28);
        cursor: pointer;
    }

    body.single.project-rail-collapsed .project-sidebar-trigger span {
        font-size: 18px;
    }
}

/* Sehr breite Bildschirme: Rails wirklich außen, Lesespalte darf sinnvoll
   wachsen, bleibt aber weiterhin eine gut lesbare Dokumentationsspalte. */
@media (min-width: 1440px) {
    body.single .docs-layout.docs-layout--article.container {
        width: 100%;
        max-width: none;
        padding-inline: clamp(22px, 2vw, 40px);
        grid-template-columns:
            minmax(300px, 340px)
            minmax(760px, 980px)
            minmax(260px, 300px);
        column-gap: clamp(28px, 2.3vw, 56px);
        justify-content: space-between;
        align-items: start;
    }

    body.single .docs-layout--article > .project-sidebar {
        grid-column: 1;
    }

    body.single .docs-layout--article > .docs-main {
        grid-column: 2;
        width: 100%;
        max-width: 980px;
        justify-self: center;
    }

    body.single .docs-layout--article > .article-sidebar {
        grid-column: 3;
        display: block;
        width: 100%;
        margin-top: 0;
    }

    body.single.project-rail-collapsed .docs-layout.docs-layout--article.container {
        grid-template-columns: minmax(760px, 1040px) minmax(260px, 300px);
    }

    body.single.project-rail-collapsed .docs-layout--article > .docs-main {
        grid-column: 1;
        max-width: 1040px;
    }

    body.single.project-rail-collapsed .docs-layout--article > .article-sidebar {
        grid-column: 2;
    }
}

/* Normale Desktopbreite: breitere Navigation und ein etwas flexiblerer
   Hauptbereich, ohne dass die drei Spalten sich gegenseitig zerquetschen. */
@media (min-width: 1180px) and (max-width: 1439px) {
    body.single .docs-layout.docs-layout--article.container {
        width: 100%;
        max-width: none;
        padding-inline: 18px;
        grid-template-columns: minmax(270px, 310px) minmax(620px, 900px) minmax(235px, 270px);
        column-gap: clamp(20px, 1.7vw, 32px);
        justify-content: center;
        align-items: start;
    }

    body.single .docs-layout--article > .project-sidebar {
        grid-column: 1;
    }

    body.single .docs-layout--article > .docs-main {
        grid-column: 2;
        width: 100%;
        max-width: 900px;
    }

    body.single .docs-layout--article > .article-sidebar {
        grid-column: 3;
        display: block;
        margin-top: 0;
    }

    body.single.project-rail-collapsed .docs-layout.docs-layout--article.container {
        grid-template-columns: minmax(680px, 960px) minmax(235px, 270px);
    }

    body.single.project-rail-collapsed .docs-layout--article > .docs-main {
        grid-column: 1;
        max-width: 960px;
    }

    body.single.project-rail-collapsed .docs-layout--article > .article-sidebar {
        grid-column: 2;
    }
}

/* Auf kleineren Desktops bleibt links die Projektnavigation sticky.
   Die rechte Rail folgt unter dem Artikel, weil drei Spalten dort nicht
   mehr sinnvoll lesbar wären. */
@media (min-width: 921px) and (max-width: 1179px) {
    body.single .docs-layout.docs-layout--article.container {
        width: 100%;
        max-width: none;
        padding-inline: 16px;
        grid-template-columns: minmax(260px, 300px) minmax(0, 860px);
        column-gap: 24px;
        justify-content: center;
    }

    body.single .docs-layout--article > .project-sidebar {
        grid-column: 1;
    }

    body.single .docs-layout--article > .docs-main {
        grid-column: 2;
        max-width: 860px;
    }

    body.single .docs-layout--article > .article-sidebar {
        position: static !important;
        grid-column: 2;
        display: grid;
        max-height: none !important;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        gap: 14px;
        margin-top: 24px;
        overflow: visible !important;
    }

    body.single.project-rail-collapsed .docs-layout.docs-layout--article.container {
        grid-template-columns: minmax(0, 900px);
    }

    body.single.project-rail-collapsed .docs-layout--article > .docs-main,
    body.single.project-rail-collapsed .docs-layout--article > .article-sidebar {
        grid-column: 1;
    }
}

/* Lightbox jetzt auch für die Bilder auf Startseite und Über-mich-Seite. */
.lutze-lightbox-image {
    cursor: zoom-in;
}

.about-portrait .lutze-lightbox-image,
.about-page-portrait .lutze-lightbox-image,
.entry-featured .lutze-lightbox-image,
.post-card .thumb .lutze-lightbox-image {
    transition: transform .18s ease, filter .18s ease;
}

.about-portrait .lutze-lightbox-image:hover,
.about-page-portrait .lutze-lightbox-image:hover,
.entry-featured .lutze-lightbox-image:hover,
.post-card .thumb .lutze-lightbox-image:hover {
    transform: translateY(-2px);
    filter: brightness(1.04);
}


/* =========================================================
   LUTZE CORE 1.8.5 – PROJEKTÜBERSICHT & PERSONEN-SEO
   ========================================================= */

/* Die Projekte- und Kategorieübersichten verwenden auf Desktop nun dieselbe
   außenliegende, einklappbare Navigation wie die Artikelseiten. Der eigentliche
   Übersichtsinhalte darf deutlich breiter werden als eine Lesespalte. */
@media (min-width: 921px) {
    .docs-layout--overview > .project-sidebar {
        position: sticky !important;
        top: 92px !important;
        align-self: start !important;
        width: 100%;
        max-height: calc(100vh - 112px) !important;
        overflow-x: hidden !important;
        overflow-y: auto !important;
        overscroll-behavior: contain;
        scrollbar-width: thin;
        scrollbar-color: #3a424d transparent;
    }

    .docs-layout--overview > .project-sidebar::-webkit-scrollbar {
        width: 8px;
    }

    .docs-layout--overview > .project-sidebar::-webkit-scrollbar-thumb {
        border: 2px solid transparent;
        border-radius: 999px;
        background: #3a424d;
        background-clip: padding-box;
    }

    .docs-layout--overview .project-sidebar__head {
        position: sticky;
        z-index: 3;
        top: -16px;
        margin-inline: -3px;
        padding: 14px 9px 13px;
        background: rgba(13, 17, 23, .97);
        backdrop-filter: blur(12px);
    }

    .docs-layout--overview .project-sidebar__close {
        display: grid;
        place-items: center;
        flex: 0 0 32px;
        width: 32px;
        height: 32px;
        font-size: 0;
    }

    .docs-layout--overview .project-sidebar__close::before {
        content: "‹";
        font-size: 24px;
        line-height: 1;
    }

    .docs-layout--overview .project-tree__category,
    .docs-layout--overview .project-tree__post a {
        overflow: visible;
        text-overflow: clip;
        white-space: normal;
    }

    .docs-layout--overview .project-tree__category {
        padding-block: 6px;
        font-size: 13px;
        line-height: 1.28;
    }

    .docs-layout--overview .project-tree__post a {
        display: block;
        padding-block: 6px;
        font-size: 12px;
        line-height: 1.34;
        -webkit-line-clamp: unset;
    }

    body.project-rail-collapsed .docs-layout--overview > .project-sidebar {
        display: none;
    }

    body.project-rail-collapsed .docs-layout--overview + .project-sidebar-trigger,
    body.project-rail-collapsed .project-sidebar-trigger {
        position: fixed;
        z-index: 96;
        top: 92px;
        left: 12px;
        display: grid;
        width: 42px;
        height: 42px;
        place-items: center;
        margin: 0;
        padding: 0;
        overflow: hidden;
        border: 1px solid var(--line);
        border-radius: 10px;
        background: rgba(22, 27, 34, .96);
        color: #fff;
        font-size: 0;
        box-shadow: 0 10px 32px rgba(0, 0, 0, .28);
        cursor: pointer;
    }

    body.project-rail-collapsed .project-sidebar-trigger span {
        font-size: 18px;
    }

    .docs-layout--overview .docs-header {
        max-width: 980px;
    }

    .docs-layout--overview .page-title {
        font-size: clamp(42px, 4vw, 58px);
    }

    .docs-layout--overview .page-lead {
        max-width: 78ch;
        font-size: 17px;
        line-height: 1.65;
    }

    .docs-layout--overview .topic-grid {
        grid-template-columns: repeat(3, minmax(240px, 1fr));
        gap: 22px;
    }

    .docs-layout--overview .project-index-card {
        min-height: 150px;
        padding: 24px;
    }
}

@media (min-width: 1440px) {
    .docs-layout.docs-layout--overview.container {
        width: 100%;
        max-width: none;
        padding-inline: clamp(22px, 2vw, 40px);
        grid-template-columns: minmax(300px, 340px) minmax(0, 1320px);
        column-gap: clamp(34px, 3vw, 72px);
        justify-content: space-between;
        align-items: start;
    }

    .docs-layout--overview > .project-sidebar {
        grid-column: 1;
    }

    .docs-layout--overview > .docs-main {
        grid-column: 2;
        width: 100%;
        max-width: 1320px;
        justify-self: center;
    }

    body.project-rail-collapsed .docs-layout.docs-layout--overview.container {
        grid-template-columns: minmax(0, 1440px);
        justify-content: center;
    }

    body.project-rail-collapsed .docs-layout--overview > .docs-main {
        grid-column: 1;
        max-width: 1440px;
    }
}

@media (min-width: 1180px) and (max-width: 1439px) {
    .docs-layout.docs-layout--overview.container {
        width: 100%;
        max-width: none;
        padding-inline: 18px;
        grid-template-columns: minmax(270px, 310px) minmax(0, 1120px);
        column-gap: clamp(24px, 2vw, 38px);
        justify-content: center;
    }

    .docs-layout--overview > .docs-main {
        width: 100%;
        max-width: 1120px;
    }

    body.project-rail-collapsed .docs-layout.docs-layout--overview.container {
        grid-template-columns: minmax(0, 1240px);
    }
}

@media (min-width: 921px) and (max-width: 1179px) {
    .docs-layout.docs-layout--overview.container {
        width: 100%;
        max-width: none;
        padding-inline: 16px;
        grid-template-columns: minmax(250px, 290px) minmax(0, 900px);
        column-gap: 24px;
        justify-content: center;
    }

    .docs-layout--overview .topic-grid {
        grid-template-columns: repeat(2, minmax(240px, 1fr));
    }

    body.project-rail-collapsed .docs-layout.docs-layout--overview.container {
        grid-template-columns: minmax(0, 960px);
    }
}

@media (max-width: 720px) {
    .docs-layout--overview .topic-grid {
        grid-template-columns: 1fr;
    }
}


/* =========================================================
   LUTZE CORE 1.8.6 – STABILER SIDEBAR-SCHALTER
   ========================================================= */

/* Der Desktop-Schalter und die sticky Randspalten beginnen immer unterhalb
   von WordPress-Adminleiste und Seitenkopf. Dadurch verschwindet der Schalter
   am Seitenanfang nicht mehr hinter dem Header. */
@media (min-width: 921px) {
    body {
        --lutze-docs-sticky-top: 92px;
    }

    body.admin-bar {
        --lutze-docs-sticky-top: 124px;
    }

    body.single .docs-layout--article > .project-sidebar,
    body.single .docs-layout--article > .article-sidebar,
    .docs-layout--overview > .project-sidebar {
        top: var(--lutze-docs-sticky-top) !important;
        max-height: calc(100vh - var(--lutze-docs-sticky-top) - 20px) !important;
    }

    body.single.project-rail-collapsed .project-sidebar-trigger,
    body.project-rail-collapsed .docs-layout--overview + .project-sidebar-trigger,
    body.project-rail-collapsed .project-sidebar-trigger {
        top: var(--lutze-docs-sticky-top) !important;
        visibility: visible;
        opacity: 1;
    }
}

/* Auf Ultrawide-Bildschirmen bleibt die Lesespalte beim Einklappen exakt in
   ihrer bisherigen mittleren Spur. Die ausgeblendete linke Rail wird als freie
   Layoutspur beibehalten; dadurch springt der Artikel nicht mehr nach links. */
@media (min-width: 1440px) {
    body.single.project-rail-collapsed .docs-layout.docs-layout--article.container {
        grid-template-columns:
            minmax(300px, 340px)
            minmax(760px, 1040px)
            minmax(260px, 300px);
        column-gap: clamp(28px, 2.3vw, 56px);
        justify-content: space-between;
    }

    body.single.project-rail-collapsed .docs-layout--article > .docs-main {
        grid-column: 2;
        width: 100%;
        max-width: 1040px;
        justify-self: center;
    }

    body.single.project-rail-collapsed .docs-layout--article > .article-sidebar {
        grid-column: 3;
    }
}

/* Auch auf normalen Desktopbreiten wird der verbleibende Artikelverbund nach
   dem Einklappen als geschlossene Einheit zentriert. */
@media (min-width: 1180px) and (max-width: 1439px) {
    body.single.project-rail-collapsed .docs-layout.docs-layout--article.container {
        grid-template-columns: minmax(680px, 960px) minmax(235px, 270px);
        column-gap: clamp(20px, 1.7vw, 32px);
        justify-content: center;
    }
}
