/* ==========================================================================
   Webseo.one — Blog (Prototyp, ruhige Fassung)

   1. Basis aus css/styles.css der Produktionsseite (Tokens, Header, Buttons, Menü, Footer-Links)
   2. Gemeinsame Bausteine: Kopie von varianten/shared/service-base.css
      (Brotkrümel, Kapitelleiste, Sechseck, Links, „Was dazu passt.“, Kontakt, Footer)
   3. Blog: nur dieser Teil kommt in WordPress zusätzlich ins Theme
   ========================================================================== */

/* ---------- 1. Basis (wie css/styles.css) ---------- */

:root {
    --ink: #07110f;
    --ink-soft: #14211e;
    --white: #ffffff;
    --accent: #22e6bd;
    --muted: #686d69;
    --line: rgba(7, 17, 15, 0.19);
    --line-light: rgba(255, 255, 255, 0.22);
    --header-height: 74px;
    --page-gutter: clamp(1.25rem, 3.4vw, 4rem);
    --section-space: clamp(6.5rem, 13vw, 12rem);
    --font: "Instrument Sans", Arial, sans-serif;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    background: var(--white);
    color: var(--ink);
    font-family: var(--font);
    font-synthesis: none;
}

body {
    margin: 0;
    min-width: 320px;
    overflow-x: clip;
    background: var(--white);
    color: var(--ink);
    font-family: var(--font);
    -webkit-font-smoothing: antialiased;
}

body.menu-open {
    overflow: hidden;
}

img,
svg,
canvas {
    display: block;
    max-width: 100%;
}

button,
input,
textarea {
    color: inherit;
    font: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

a {
    color: inherit;
    text-decoration: none;
}

h1,
h2,
h3,
p,
figure,
dl,
dd {
    margin: 0;
}

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

::selection {
    background: var(--accent);
    color: var(--ink);
}

:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 4px;
    box-shadow: 0 0 0 2px var(--ink);
}

.skip-link {
    position: fixed;
    z-index: 10000;
    top: 0.75rem;
    left: 0.75rem;
    padding: 0.8rem 1rem;
    background: var(--accent);
    color: var(--ink);
    font-weight: 700;
    transform: translateY(-160%);
    transition: transform 180ms ease;
}

.skip-link:focus {
    transform: translateY(0);
}

.liquid-glass-filters,
.sprite {
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
}

/* Header: Glas-Kapsel wie auf allen Leistungsseiten */
.site-header {
    --glass-x: 76%;
    --glass-y: 24%;
    --glass-cut: clamp(24px, 2.4vw, 36px);
    --glass-shape: polygon(
        var(--glass-cut) 0,
        calc(100% - var(--glass-cut)) 0,
        100% 50%,
        calc(100% - var(--glass-cut)) 100%,
        var(--glass-cut) 100%,
        0 50%
    );
    position: fixed;
    z-index: 1000;
    top: 12px;
    left: var(--page-gutter);
    display: grid;
    width: calc(100% - (var(--page-gutter) * 2));
    min-height: 64px;
    grid-template-columns: minmax(150px, 1fr) auto minmax(150px, 1fr);
    align-items: center;
    gap: 2rem;
    padding-inline: clamp(2.35rem, 3.5vw, 3.75rem);
    border: 0;
    background: transparent;
    color: var(--ink);
    isolation: isolate;
    transition: min-height 220ms ease;
}

.site-header::before,
.site-header::after {
    position: absolute;
    z-index: 0;
    inset: 0;
    clip-path: var(--glass-shape);
    content: "";
    pointer-events: none;
}

.site-header::before {
    background:
        radial-gradient(circle 190px at var(--glass-x) var(--glass-y), rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.16) 48%, transparent 72%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.78) 0%, rgba(255, 255, 255, 0.54) 44%, rgba(239, 255, 251, 0.66) 100%);
    box-shadow: inset 0 0 4px -8px rgba(255, 255, 255, 0.7);
    filter:
        drop-shadow(0 16px 25px rgba(3, 8, 7, 0.16))
        drop-shadow(0 -8px 21px rgba(255, 255, 255, 0.3));
}

.site-header::after {
    z-index: 1;
    background: rgba(255, 255, 255, 0.015);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    filter: url(#fluid-amber-distortion);
    -webkit-filter: url(#fluid-amber-distortion);
    opacity: 0.96;
}

.site-header > * {
    position: relative;
    z-index: 2;
}

.site-header.is-scrolled {
    min-height: 58px;
}

.site-header.is-scrolled::before {
    background:
        radial-gradient(circle 180px at var(--glass-x) var(--glass-y), rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.18) 48%, transparent 72%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.84) 0%, rgba(255, 255, 255, 0.62) 48%, rgba(239, 255, 251, 0.72) 100%);
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
    .site-header::before,
    .site-header.is-scrolled::before {
        background: rgba(255, 255, 255, 0.94);
    }

    .site-header::after {
        display: none;
    }
}

.brand {
    justify-self: start;
}

.brand img {
    width: 154px;
    height: auto;
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: clamp(1.25rem, 2.4vw, 2.75rem);
}

.desktop-nav a {
    position: relative;
    padding-block: 0.75rem;
    font-size: 0.85rem;
    font-weight: 570;
}

.desktop-nav a::after {
    position: absolute;
    right: 0;
    bottom: 0.45rem;
    left: 0;
    height: 1px;
    background: var(--ink);
    content: "";
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 220ms ease;
}

.desktop-nav a:hover::after,
.desktop-nav a:focus-visible::after {
    transform: scaleX(1);
    transform-origin: left;
}

.header-cta {
    display: inline-flex;
    min-height: 44px;
    justify-self: end;
    align-items: center;
    gap: 0.75rem;
    border-bottom: 1px solid var(--ink);
    font-size: 0.85rem;
    font-weight: 650;
}

.header-cta span,
.button span {
    transition: transform 180ms ease;
}

.header-cta:hover span,
.button:hover span {
    transform: translate(3px, -3px);
}

.icon-arrow {
    display: inline-block;
    width: 1em;
    height: 1em;
    max-width: none;
    flex-shrink: 0;
    vertical-align: -0.12em;
    pointer-events: none;
}

.menu-toggle,
.mobile-menu {
    display: none;
}

/* Buttons mit 60°-Fase und Schrägstrich */
.button {
    --cut: 13px;
    position: relative;
    display: inline-flex;
    min-height: 54px;
    align-items: center;
    justify-content: center;
    gap: 0.95rem;
    padding: 0.95rem 1.5rem 0.95rem 1.4rem;
    border: 0;
    border-radius: 0;
    background: transparent;
    cursor: pointer;
    font-size: 0.98rem;
    font-weight: 620;
    line-height: 1.2;
    white-space: nowrap;
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut) * 0.577) 100%, 0 100%);
    transition: background-color 300ms ease, color 300ms ease;
}

.button__slash {
    display: inline-block;
    flex: 0 0 auto;
    width: 4px;
    height: 0.95em;
    background: currentColor;
    transform: skewX(-30deg);
    transition: box-shadow 350ms ease, translate 350ms ease;
}

.button:is(:hover, :focus-visible) .button__slash {
    box-shadow: 7px 0 0 currentColor;
    translate: -3px 0;
}

.button:focus-visible {
    clip-path: none;
}

.button--accent {
    border-color: var(--accent);
    background: var(--accent);
    color: var(--ink);
}

.button--accent:hover {
    border-color: var(--white);
    background: var(--white);
}

/* Footer-Links */
.footer-links a {
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 4px;
}

.footer-links.wc-footer-links {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: start;
    gap: 0 2rem;
    width: min(100%, 460px);
    font-size: 0.85rem;
}

.gx-footer .footer-links__column {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-content: start;
    align-items: start;
    gap: 0;
    min-width: 0;
}

.gx-footer .footer-links__column > :is(a, button) {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.65rem;
    min-height: 44px;
    width: 100%;
    margin: 0;
    padding: 8px 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    line-height: 1.4;
    text-align: left;
    text-decoration: underline;
    text-underline-offset: 4px;
    text-decoration-thickness: 1px;
    overflow-wrap: anywhere;
    cursor: pointer;
}

.gx-footer .footer-links__column > :is(a, button):hover {
    text-decoration-thickness: 2px;
}

.gx-footer .footer-links__column > :is(a, button):focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 3px;
}

@media (max-width: 680px) {
    .footer-links.wc-footer-links { gap: 0 1.2rem; }
}

/* Header und Menü auf schmalen Bildschirmen */
@media (max-width: 767px) {
    :root {
        --header-height: 64px;
        --page-gutter: 1.15rem;
        --section-space: 6.5rem;
    }

    .site-header,
    .site-header.is-scrolled {
        --glass-cut: 18px;
        top: 10px;
        left: 0.75rem;
        width: calc(100% - 1.5rem);
        min-height: var(--header-height);
        padding-inline: 1.75rem;
    }

    .brand img {
        width: 139px;
    }

    .desktop-nav,
    .header-cta {
        display: none;
    }

    .menu-toggle {
        position: relative;
        z-index: 2;
        display: flex;
        min-width: 76px;
        min-height: 44px;
        align-items: center;
        justify-content: flex-end;
        gap: 0.65rem;
        padding: 0;
        border: 0;
        background: transparent;
        cursor: pointer;
        font-size: 0.75rem;
        font-weight: 650;
    }

    .menu-toggle__lines {
        position: relative;
        display: block;
        width: 22px;
        height: 15px;
    }

    .menu-toggle__lines i {
        position: absolute;
        left: 0;
        width: 22px;
        height: 1px;
        background: currentColor;
        transition: transform 180ms ease, top 180ms ease;
    }

    .menu-toggle__lines i:first-child {
        top: 4px;
    }

    .menu-toggle__lines i:last-child {
        top: 11px;
    }

    .site-header.menu-is-open .menu-toggle__lines i:first-child {
        top: 7px;
        transform: rotate(45deg);
    }

    .site-header.menu-is-open .menu-toggle__lines i:last-child {
        top: 7px;
        transform: rotate(-45deg);
    }

    .mobile-menu {
        position: fixed;
        z-index: 1;
        inset: calc(var(--header-height) + 20px) 0 0;
        display: flex;
        flex-direction: column;
        padding: 2rem var(--page-gutter);
        background: var(--accent);
        color: var(--ink);
        overflow-y: auto;
    }

    .mobile-menu[hidden] {
        display: none;
    }

    .mobile-menu__index {
        margin-bottom: 2.2rem;
        padding-top: 0.6rem;
        border-top: 1px solid rgba(7, 17, 15, 0.45);
        font-size: 0.68rem;
        font-weight: 650;
        letter-spacing: 0.1em;
        text-transform: uppercase;
    }

    .mobile-menu a {
        display: grid;
        min-height: 66px;
        grid-template-columns: 42px 1fr;
        align-items: center;
        border-bottom: 1px solid rgba(7, 17, 15, 0.35);
        font-size: clamp(2rem, 10vw, 3.6rem);
        font-stretch: 82%;
        font-weight: 580;
        letter-spacing: -0.05em;
    }

    .mobile-menu a span {
        align-self: start;
        padding-top: 1.1rem;
        font-size: 0.62rem;
        font-weight: 650;
        letter-spacing: 0;
    }

    .mobile-menu p {
        margin-top: auto;
        padding-top: 3rem;
        font-size: 0.78rem;
        line-height: 1.5;
    }
}

/* ---------- 2. Gemeinsame Bausteine: Kopie von varianten/shared/service-base.css ---------- */

/* Leistungsseiten, Varianten mit räumlichen Szenen: gemeinsame Bausteine.
   Baut auf css/styles.css auf (Header, Buttons, Schrift, Farben).
   CI-Elemente: Sechseck aus dem Zeichen, 60°-Fase der Buttons, Schrägstrich.
   Seiten binden diese Datei ein und ergänzen nur ihre eigenen Szenen. */

.gx-page {
    --space: #030807;
    --navy: #093146;
    --teal: #33b4a2;
    --mist: #eef3f1;
    --mist-strong: #dde6e3;
    --text: #3e4945;
    --text-on-dark: #c3cec9;
    --muted-on-dark: #93a49d;
    --line-on-dark: rgba(195, 206, 201, 0.16);
    --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
    --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
    --gx-space: clamp(5rem, 9vw, 9rem);
    --hex: polygon(25% 0, 75% 0, 100% 50%, 75% 100%, 25% 100%, 0 50%);
    background: var(--white);
    color: var(--ink);
}

.gx-page [hidden] { display: none !important; }
.gx-page :is(section, h2, details) { scroll-margin-top: 110px; }
.gx-page :is(h1, h2, h3) { text-wrap: balance; overflow-wrap: break-word; }
:where(.gx-page p, .gx-page li) { line-height: 1.65; }
.gx-page ol { margin: 0; padding: 0; list-style: none; }
.gx-page .button { max-width: 100%; white-space: normal; text-align: center; }

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}

/* Header: wie auf den bestehenden Leistungsseiten */
.gx-page .site-header { grid-template-columns: minmax(130px, 1fr) auto minmax(130px, 1fr); }
.gx-page .desktop-nav [aria-current]::after { transform: scaleX(1); }
.gx-page:not(.service-enhanced) .menu-toggle { display: none; }
.gx-fallback-nav { position: absolute; z-index: 2; top: 95px; left: var(--page-gutter); display: flex; flex-wrap: wrap; gap: 1rem; color: var(--white); }
.gx-fallback-nav a { min-height: 44px; padding: 0.5rem; text-decoration: underline; }
.service-enhanced .gx-fallback-nav { display: none; }

/* Raster und Rhythmus */
.gx-wrap { padding-inline: max(var(--page-gutter), calc((100vw - 1480px) / 2)); }
.gx-space { padding-block: var(--gx-space); }

.gx-eyebrow {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 1.3rem;
    font-size: 0.86rem;
    font-weight: 600;
    line-height: 1.4;
}

:is(.gx-hero, .gx-scope, .gx-process, .gx-contact) .gx-eyebrow { color: var(--accent); }

.gx-h2 {
    font-size: clamp(2.5rem, 5vw, 5.4rem);
    font-stretch: 80%;
    font-weight: 560;
    letter-spacing: -0.045em;
    line-height: 0.94;
}

.gx-body {
    max-width: 60ch;
    margin-top: 1.8rem;
    color: var(--text);
    font-size: clamp(1.05rem, 1.25vw, 1.16rem);
}

.gx-small { margin-top: 1.4rem; color: var(--muted); font-size: 0.86rem; }

/* Sechseck aus dem Zeichen: Quellenangaben, Aufzählungen, Schritte */
.gx-hex {
    display: inline-grid;
    flex: 0 0 auto;
    place-items: center;
    width: 2em;
    aspect-ratio: 2 / 1.732;
    background: var(--accent);
    color: var(--ink);
    clip-path: var(--hex);
    font-size: 0.72rem;
    font-stretch: 100%;
    font-style: normal;
    font-weight: 700;
    letter-spacing: 0;
    line-height: 1;
}

.gx-link {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    gap: 0.9rem;
    padding-block: 0.4rem;
    border-bottom: 1px solid currentColor;
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.4;
}

.gx-link span { flex: 0 0 auto; transition: transform 180ms var(--ease-out); }
.gx-link--light { color: var(--white); }

@media (hover: hover) and (pointer: fine) {
    .gx-link:hover span { transform: translate(3px, -3px); }
    .gx-link[href="#umfang"]:hover span { transform: translateY(3px); }
}

.gx-checks { display: grid; gap: 0.9rem; margin-top: 1.4rem; }
.gx-checks li { position: relative; padding-left: 2rem; }
.gx-checks li::before {
    position: absolute;
    top: 0.45em;
    left: 0;
    width: 1rem;
    aspect-ratio: 2 / 1.732;
    background: var(--teal);
    clip-path: var(--hex);
    content: "";
}

/* ------------------------------------------------------------------ */
/* Hero                                                                 */
/* ------------------------------------------------------------------ */
.gx-hero {
    position: relative;
    display: flex;
    min-height: max(100svh, 760px);
    overflow: clip;
    background: var(--space);
    color: var(--white);
    isolation: isolate;
}

.gx-hero__inner { display: flex; width: 100%; flex-direction: column; padding-top: 108px; }
.gx-page:not(.service-enhanced) .gx-crumbs { padding-top: 3.5rem; }

.gx-crumbs { position: relative; z-index: 1; color: #9fb0a9; font-size: 0.8rem; }
.gx-crumbs ol { display: flex; flex-wrap: wrap; }
.gx-crumbs li { display: flex; align-items: center; }
.gx-crumbs li + li::before { margin-inline: 0.8rem; color: #5d6f68; content: "/"; }
.gx-crumbs a { display: inline-block; padding-block: 0.35rem; }
.gx-crumbs a:hover { color: var(--white); text-decoration: underline; text-underline-offset: 0.25em; }

.gx-hero__copy {
    display: flex;
    max-width: min(44rem, 46%);
    flex: 1;
    flex-direction: column;
    justify-content: center;
    padding-block: clamp(2.5rem, 7vh, 5rem);
}

.gx-hero__copy > :not(.gx-hero__stage) { position: relative; z-index: 1; }

.gx-hero h1 {
    font-size: clamp(3rem, 5.2vw, 5.9rem);
    font-stretch: 78%;
    font-weight: 560;
    letter-spacing: -0.045em;
    line-height: 0.92;
}

/* Quellenangabe im Titel: führt zur Erklärung, wie ein Zitat in einer KI-Antwort. */
.gx-cite { position: relative; display: inline-block; width: 0.42em; height: 0.74em; margin-left: 0.05em; vertical-align: baseline; }
.gx-cite .gx-hex { position: absolute; top: 0; left: 0; width: 2.3em; font-size: max(0.62rem, 0.15em); transition: background-color 180ms ease; }
.gx-cite:hover .gx-hex { background: var(--white); }

.gx-lead {
    max-width: 52ch;
    margin-top: clamp(1.4rem, 2.5vw, 2rem);
    color: var(--text-on-dark);
    font-size: clamp(1rem, 1.15vw, 1.12rem);
}

.gx-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2rem; margin-top: clamp(1.8rem, 3vw, 2.4rem); }

.gx-hero__stage {
    position: absolute;
    z-index: 0;
    top: 0;
    right: 0;
    bottom: 0;
    left: 41%;
    margin: 0;
    pointer-events: none;
}

.gx-canvas { position: absolute; inset: 0; display: block; width: 100%; height: 100%; }

.gx-fallback-mark {
    position: absolute;
    inset: 0;
    width: min(46%, 360px);
    height: auto;
    margin: auto;
    overflow: visible;
}

.gx-fallback-mark__side { fill: var(--teal); }
.gx-fallback-mark__slash { fill: var(--navy); stroke: var(--accent); stroke-width: 1.2; }
.is-live > .gx-fallback-mark { display: none; }

.gx-chapters {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0 clamp(1rem, 2.4vw, 2.4rem);
    padding-block: 0.6rem 1rem;
    border-top: 1px solid var(--line-on-dark);
    font-size: 0.86rem;
    font-weight: 600;
}

.gx-chapters span { margin-right: 0.4rem; color: var(--muted-on-dark); font-weight: 500; }
.gx-chapters a { display: inline-flex; min-height: 44px; align-items: center; color: #dfe8e4; transition: color 180ms ease; }
.gx-chapters a:hover { color: var(--accent); }

/* ------------------------------------------------------------------ */
/* Einordnung                                                           */
/* ------------------------------------------------------------------ */
.gx-intro {
    display: grid;
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    align-items: start;
    gap: clamp(2.5rem, 6vw, 7rem);
}

.gx-nowrap { white-space: nowrap; }


.gx-fit {
    --c: 36px;
    position: sticky;
    top: 120px;
    padding: clamp(1.75rem, 3vw, 2.75rem);
    background: var(--ink);
    color: var(--white);
    clip-path: polygon(0 0, calc(100% - var(--c) * 0.577) 0, 100% var(--c), 100% 100%, 0 100%);
}

.gx-fit h3, .gx-prep h3 { font-size: clamp(1.35rem, 1.8vw, 1.75rem); font-weight: 620; letter-spacing: -0.02em; line-height: 1.2; }
.gx-fit .gx-checks li { color: var(--text-on-dark); }
.gx-fit .gx-checks li::before { background: var(--accent); }
.gx-fit .gx-link { margin-top: 2rem; }

/* ------------------------------------------------------------------ */
/* Leistungsumfang: Explosionszeichnung                                 */
/* ------------------------------------------------------------------ */
.gx-scope {
    position: relative;
    padding-top: var(--gx-space);
    padding-bottom: clamp(3rem, 6vw, 6rem);
    background: var(--space);
    color: var(--white);
}

.gx-scope__head { padding-bottom: clamp(1rem, 3vw, 2rem); }

.gx-scope__scrolly {
    display: grid;
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    gap: clamp(2rem, 4vw, 5rem);
}

.gx-scope__stage {
    position: sticky;
    top: 84px;
    height: calc(100svh - 100px);
    min-height: 460px;
    align-self: start;
    margin: 0;
}

.gx-scope__parts { padding-block: 14svh 8svh; }

.gx-part {
    display: flex;
    max-width: 32rem;
    min-height: 78svh;
    flex-direction: column;
    justify-content: center;
}

.is-linked .gx-part { opacity: 0.55; transition: opacity 400ms ease; }
.is-linked .gx-part.is-active { opacity: 1; }

.gx-part h3 {
    margin-top: 1.4rem;
    font-size: clamp(1.8rem, 2.7vw, 2.7rem);
    font-stretch: 82%;
    font-weight: 580;
    letter-spacing: -0.035em;
    line-height: 1;
}

.gx-part p { margin-top: 1.1rem; color: var(--text-on-dark); font-size: 1.05rem; }

.gx-legend { width: 64px; height: auto; overflow: visible; }
.gx-legend polygon { fill: none; stroke: rgba(195, 206, 201, 0.4); stroke-linejoin: round; stroke-width: 3; }
.gx-legend .is-on { fill: var(--accent); stroke: var(--accent); }

.gx-scope__cta { padding-block: 4svh 10svh; }

.gx-tags { position: absolute; inset: 0; pointer-events: none; }

.gx-tag {
    --c: 10px;
    position: absolute;
    top: 0;
    left: 0;
    padding: 0.5rem 0.8rem 0.55rem;
    background: rgba(14, 26, 23, 0.86);
    color: #dfe8e4;
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--c)), calc(100% - var(--c) * 0.577) 100%, 0 100%);
    font-size: 0.82rem;
    font-weight: 600;
    opacity: 0;
    white-space: nowrap;
    transition: opacity 300ms ease, background-color 250ms ease, color 250ms ease;
    will-change: transform;
}

.gx-tag.is-shown { opacity: 1; }
.gx-tag.is-active { background: var(--accent); color: var(--ink); }
.is-fallback .gx-tags { display: none; }

/* ------------------------------------------------------------------ */
/* Beispiel: räumliche Vorher-Nachher-Bühne                             */
/* ------------------------------------------------------------------ */
.gx-example__head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1.5rem 3rem; }
.gx-example__head .gx-h2 { max-width: 14ch; }

.gx-switch { display: inline-flex; gap: 4px; padding: 4px; background: var(--mist); }
.gx-switch button {
    min-height: 46px;
    padding: 0.65rem 1.15rem;
    border: 0;
    background: transparent;
    color: var(--ink);
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 620;
    transition: background-color 200ms ease, color 200ms ease;
}

.gx-switch button[aria-pressed="true"] { background: var(--ink); color: var(--white); }

@media (hover: hover) and (pointer: fine) {
    .gx-switch button[aria-pressed="false"]:hover { background: var(--mist-strong); }
}

.gx-stage3d {
    --c: 56px;
    position: relative;
    margin-top: clamp(2rem, 4vw, 3rem);
    padding: clamp(1.25rem, 3vw, 2.5rem) clamp(1rem, 3vw, 2.5rem) clamp(1.5rem, 3vw, 2.5rem);
    background: var(--ink);
    color: var(--white);
    clip-path: polygon(0 0, calc(100% - var(--c) * 0.577) 0, 100% var(--c), 100% 100%, calc(var(--c) * 0.577) 100%, 0 calc(100% - var(--c)));
}

.gx-question {
    position: relative;
    z-index: 2;
    display: flex;
    width: fit-content;
    max-width: 100%;
    align-items: center;
    gap: 0.75rem;
    margin-inline: auto;
    padding: 0.75rem 1.15rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.04);
    font-size: clamp(0.98rem, 1.3vw, 1.15rem);
    font-weight: 560;
}

.gx-question .gx-hex { width: 1.1rem; }

.gx-compare {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(1.5rem, 5vw, 5rem);
    margin-top: clamp(1.75rem, 3vw, 2.5rem);
}

.gx-compare > div { padding-top: 1.2rem; border-top: 2px solid var(--line); transition: border-color 300ms ease; }
.gx-example[data-state="before"] [data-copy="before"],
.gx-example[data-state="after"] [data-copy="after"] { border-color: var(--ink); }
.gx-compare h3 { font-size: 1.1rem; font-weight: 640; letter-spacing: -0.01em; }
.gx-compare p { margin-top: 0.6rem; color: var(--text); }

/* ------------------------------------------------------------------ */
/* Arbeiten: drei Bildschirme als gebogene Wand                          */
/* ------------------------------------------------------------------ */
.gx-work__head {
    display: grid;
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    align-items: end;
    gap: 2rem clamp(2rem, 6vw, 6rem);
}

.gx-work__aside p { max-width: 42ch; color: var(--text); }
.gx-work__aside .gx-link { margin-top: 1.2rem; }

.gx-wall {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(0.75rem, 1.6vw, 1.5rem);
    margin-top: clamp(2.5rem, 5vw, 4.5rem);
    perspective: 1700px;
    perspective-origin: 50% 30%;
}

.gx-shot {
    margin: 0;
    transform: rotateY(var(--ry, 0deg)) translateZ(var(--tz, 0px));
    transform-origin: var(--origin, 50% 50%);
    transition: transform 650ms var(--ease-out);
}

.gx-shot--0 { --ry: 26deg; --origin: 100% 50%; }
.gx-shot--2 { --ry: -26deg; --origin: 0% 50%; }
.gx-shot:focus-within { --ry: 0deg; --tz: 30px; }

@media (hover: hover) and (pointer: fine) {
    .gx-shot:hover { --ry: 0deg; --tz: 30px; }
}

.gx-shot__frame {
    display: block;
    overflow: hidden;
    background: var(--white);
    box-shadow: 0 0 0 1px rgba(7, 17, 15, 0.08), 0 34px 60px -34px rgba(3, 8, 7, 0.5);
}

.gx-shot__bar { display: flex; height: 30px; align-items: center; gap: 6px; padding-inline: 12px; border-bottom: 1px solid rgba(7, 17, 15, 0.08); color: var(--muted); font-size: 0.72rem; }
.gx-shot__bar i { width: 7px; height: 7px; border-radius: 50%; background: #c9d3cf; }
.gx-shot__bar span { margin-left: auto; }
.gx-shot__image { display: block; position: relative; width: 100%; aspect-ratio: 1422 / 800; }
.gx-shot__image img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: contain; }
.gx-shot figcaption { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.2rem 1rem; margin-top: 1rem; font-size: 0.9rem; }
.gx-shot figcaption strong { font-weight: 620; }
.gx-shot figcaption span { color: var(--muted); }

/* ------------------------------------------------------------------ */
/* Ablauf                                                               */
/* ------------------------------------------------------------------ */
.gx-process { padding-block: var(--gx-space); background: var(--ink); color: var(--white); }

.gx-process__grid {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    align-items: start;
    gap: clamp(2.5rem, 6vw, 7rem);
}

.gx-process__intro { position: sticky; top: 120px; }
.gx-steps-wrap { position: relative; }

.gx-steps__track {
    position: absolute;
    top: 1.5rem;
    bottom: 1.5rem;
    left: calc(1.7rem - 1px);
    width: 2px;
    background: var(--line-on-dark);
}

.gx-steps__fill { position: absolute; inset: 0; background: var(--accent); transform: scaleY(0); transform-origin: top; }
.gx-steps { display: grid; gap: clamp(3rem, 6vw, 5rem); }
.gx-step { position: relative; padding-left: 5rem; }

.gx-step__node {
    position: absolute;
    top: -0.25rem;
    left: 0;
    display: grid;
    width: 3.4rem;
    aspect-ratio: 2 / 1.732;
    place-items: center;
    background: #1d2b27;
    color: var(--text-on-dark);
    clip-path: var(--hex);
    font-size: 0.78rem;
    font-variant-numeric: tabular-nums;
    font-weight: 700;
    transition: background-color 300ms ease, color 300ms ease;
}

.gx-step.is-reached .gx-step__node { background: var(--accent); color: var(--ink); }
.gx-step h3 { font-size: clamp(1.4rem, 2vw, 2rem); font-stretch: 85%; font-weight: 600; letter-spacing: -0.03em; line-height: 1.1; }
.gx-step p { max-width: 56ch; margin-top: 0.8rem; color: var(--text-on-dark); }

/* ------------------------------------------------------------------ */
/* Kosten & Vorbereitung                                                */
/* ------------------------------------------------------------------ */
.gx-frame {
    display: grid;
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    align-items: start;
    gap: clamp(2.5rem, 6vw, 7rem);
}

.gx-formula {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.05em 0.4em;
    margin-top: clamp(1.75rem, 3vw, 2.5rem);
    font-size: clamp(1.5rem, 2.6vw, 2.6rem);
    font-stretch: 80%;
    font-weight: 560;
    letter-spacing: -0.03em;
    line-height: 1.15;
}

.gx-formula i { color: var(--teal); font-style: normal; font-weight: 400; }

.gx-boundary {
    --c: 30px;
    margin-top: clamp(2rem, 4vw, 3rem);
    padding: clamp(1.5rem, 3vw, 2.4rem);
    background: var(--navy);
    color: #cfdde0;
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--c)), calc(100% - var(--c) * 0.577) 100%, 0 100%);
}

.gx-boundary h3 { color: var(--white); font-size: clamp(1.25rem, 1.7vw, 1.6rem); font-weight: 620; letter-spacing: -0.02em; line-height: 1.2; }
.gx-boundary p { margin-top: 0.8rem; }

.gx-prep {
    --c: 30px;
    position: sticky;
    top: 120px;
    padding: clamp(1.75rem, 3vw, 2.75rem);
    background: var(--mist);
    clip-path: polygon(0 0, calc(100% - var(--c) * 0.577) 0, 100% var(--c), 100% 100%, 0 100%);
}

.gx-prep > p:not(.gx-small) { margin-top: 0.6rem; color: var(--text); }

/* ------------------------------------------------------------------ */
/* Fragen                                                               */
/* ------------------------------------------------------------------ */
.gx-faq {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    align-items: start;
    gap: clamp(2rem, 6vw, 7rem);
    padding-top: 0;
}

.gx-faq__list details { border-bottom: 1px solid var(--line); }
.gx-faq__list details:first-child { border-top: 2px solid var(--ink); }

.gx-faq summary {
    display: flex;
    min-height: 44px;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1.5rem;
    padding-block: 1.35rem;
    cursor: pointer;
    font-size: clamp(1.08rem, 1.45vw, 1.3rem);
    font-weight: 620;
    letter-spacing: -0.015em;
    line-height: 1.35;
    list-style: none;
}

.gx-faq summary::-webkit-details-marker { display: none; }

.gx-faq summary span {
    position: relative;
    flex: 0 0 auto;
    width: 1.75rem;
    aspect-ratio: 2 / 1.732;
    background: var(--mist);
    clip-path: var(--hex);
    transition: background-color 200ms ease;
}

.gx-faq summary span::before,
.gx-faq summary span::after {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 10px;
    height: 2px;
    margin: -1px 0 0 -5px;
    background: var(--ink);
    content: "";
    transition: transform 200ms var(--ease-out);
}

.gx-faq summary span::after { transform: rotate(90deg); }
.gx-faq details[open] summary span { background: var(--accent); }
.gx-faq details[open] summary span::after { transform: rotate(0deg); }

@media (hover: hover) and (pointer: fine) {
    .gx-faq summary:hover span { background: var(--mist-strong); }
    .gx-faq details[open] summary:hover span { background: var(--accent); }
}

.gx-faq details p { max-width: 62ch; padding-bottom: 1.5rem; color: var(--text); }
.gx-sources { margin-top: 2rem; color: var(--muted); font-size: 0.88rem; }
.gx-sources a { display: inline-flex; min-height: 44px; align-items: center; gap: 0.5rem; color: var(--ink); text-decoration: underline; text-underline-offset: 0.25em; }

/* ------------------------------------------------------------------ */
/* Verwandte Leistungen                                                 */
/* ------------------------------------------------------------------ */
.gx-related { padding-bottom: var(--gx-space); }

.gx-related__list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(0.75rem, 1.5vw, 1.25rem);
    margin-block: clamp(2rem, 4vw, 3rem) 2rem;
}

.gx-related__list a {
    --c: 30px;
    position: relative;
    display: grid;
    min-height: clamp(12rem, 17vw, 14.5rem);
    grid-template-rows: 1fr auto;
    gap: 2.5rem;
    padding: clamp(1.4rem, 2.2vw, 2rem);
    background: var(--mist);
    color: var(--ink);
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--c)), calc(100% - var(--c) * 0.577) 100%, 0 100%);
    transition: background-color 250ms ease, color 250ms ease;
}

.gx-related__list strong { padding-right: 2.5rem; font-size: clamp(1.8rem, 2.6vw, 2.6rem); font-stretch: 80%; font-weight: 580; letter-spacing: -0.04em; line-height: 0.95; }
.gx-related__list span { max-width: 26ch; color: var(--text); transition: color 250ms ease; }
.gx-related__list i { position: absolute; top: clamp(1.4rem, 2.2vw, 2rem); right: clamp(1.4rem, 2.2vw, 2rem); font-size: 1.4rem; font-style: normal; transition: transform 250ms var(--ease-out), color 250ms ease; }
.gx-related__list a:focus-visible { clip-path: none; }

@media (hover: hover) and (pointer: fine) {
    .gx-related__list a:hover { background: var(--ink); color: var(--white); }
    .gx-related__list a:hover span { color: var(--text-on-dark); }
    .gx-related__list a:hover i { color: var(--accent); transform: translate(3px, -3px); }
}

/* ------------------------------------------------------------------ */
/* Kontakt und Footer                                                   */
/* ------------------------------------------------------------------ */
.gx-contact { padding-block: var(--gx-space); background: var(--ink); color: var(--white); }

.gx-contact__grid {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    align-items: center;
    gap: clamp(2rem, 6vw, 6rem);
}

.gx-contact__portrait {
    max-width: 410px;
    aspect-ratio: 410 / 440;
    overflow: hidden;
    background: var(--accent);
    clip-path: polygon(21% 0, 100% 0, 100% 100%, 0 100%, 0 34%);
}

.gx-contact__portrait img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center bottom;
    -webkit-mask-image: linear-gradient(#000 72%, transparent 100%);
    mask-image: linear-gradient(#000 72%, transparent 100%);
}

.gx-contact__person > div:last-child { display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem 1.2rem; margin-top: 1.25rem; }
.gx-contact__person strong { font-size: 1rem; font-weight: 600; }
.gx-contact__person span { color: #b9c6c1; font-size: 0.82rem; }
.gx-contact .gx-h2 { font-size: clamp(2.7rem, 5.5vw, 5.8rem); }
.gx-contact__copy > p:not(.gx-eyebrow) { max-width: 55ch; margin-top: 1.5rem; color: var(--text-on-dark); }
.gx-contact__copy .button { margin-top: 2rem; }
.gx-contact__copy .gx-contact__note { font-size: 0.82rem; }
.gx-contact__note a { text-decoration: underline; text-underline-offset: 0.25em; }

.gx-footer { padding: 3rem var(--page-gutter) 1rem; border-top: 1px solid #22332d; background: var(--ink); color: #b9c6c1; container-type: inline-size; }
.gx-footer__top { display: flex; justify-content: space-between; gap: 2rem; font-size: 0.85rem; }
.gx-footer nav { display: flex; flex-wrap: wrap; align-items: start; gap: 1rem 2.5rem; }
.gx-footer nav a { display: inline-flex; min-height: 44px; align-items: center; gap: 0.75rem; }
.gx-footer a:hover { color: var(--accent); }
.gx-footer__signature { display: block; width: fit-content; max-width: 100%; margin-top: 2rem; color: var(--white); font-size: min(17vw, 19cqi, 22rem); font-weight: 650; letter-spacing: -0.07em; line-height: 1.05; }
.gx-footer__bottom { display: flex; align-items: center; justify-content: space-between; padding-top: 1rem; border-top: 1px solid #22332d; font-size: 0.8rem; }
.gx-footer__bottom a { padding: 0.7rem 0 0.7rem 0.7rem; }

/* Nur Vorschau: Vergleich mit der bestehenden Seite */
.gx-preview {
    position: fixed;
    z-index: 900;
    right: 14px;
    bottom: 14px;
    display: flex;
    gap: 2px;
    padding: 4px;
    background: var(--ink);
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 12px), calc(100% - 7px) 100%, 0 100%);
    font-size: 0.78rem;
    font-weight: 600;
}

.gx-preview a { padding: 0.6rem 0.95rem; color: rgba(255, 255, 255, 0.72); white-space: nowrap; }
.gx-preview a:hover { color: var(--white); }
.gx-preview a[aria-current="page"] { background: var(--accent); color: var(--ink); }

/* ------------------------------------------------------------------ */
/* Responsiv                                                            */
/* ------------------------------------------------------------------ */
@media (max-width: 1100px) {
    .gx-page .site-header { gap: 1rem; padding-inline: 2.4rem; }
    .gx-page .desktop-nav { gap: 1.25rem; }
    .gx-page .brand img { width: 130px; }
    .gx-hero__copy { max-width: min(40rem, 50%); }
    .gx-hero__stage { left: 44%; }
}

@media (max-width: 900px) {
    .gx-page .header-cta { font-size: 0.75rem; }
    .gx-page .desktop-nav { gap: 0.8rem; }

    .gx-hero { min-height: 0; }
    .gx-hero__copy { max-width: none; padding-block: 2rem 2.5rem; }
    .gx-hero h1 { max-width: 16ch; }
    .gx-hero__stage {
        position: relative;
        inset: auto;
        height: clamp(320px, 100vw, 560px);
        margin: 0.75rem calc(var(--page-gutter) * -1) 0;
    }

    .gx-intro,
    .gx-work__head,
    .gx-process__grid,
    .gx-frame,
    .gx-faq,
    .gx-contact__grid { grid-template-columns: minmax(0, 1fr); }

    .gx-process__intro,
    .gx-prep,
    .gx-fit { position: static; }

    .gx-scope__scrolly { display: block; }
    .gx-scope__stage {
        z-index: 2;
        top: 72px;
        height: 44svh;
        min-height: 300px;
        margin-inline: calc(var(--page-gutter) * -1);
        background: var(--space);
    }

    .gx-scope__parts { padding-block: 4svh 2svh; }
    .gx-part { min-height: 64svh; justify-content: flex-start; padding-top: 6svh; }
    .gx-tag:not(.is-active) { opacity: 0; }
}

@media (max-width: 760px) {
    .gx-page .site-header { grid-template-columns: 1fr auto; padding-inline: 1.75rem; }
    .gx-page .menu-toggle { grid-column: 2; }
    .gx-hero__inner { padding-top: 96px; }
    .gx-hero h1 { font-size: clamp(2.6rem, 11vw, 4rem); }
    .gx-chapters span { width: 100%; padding-top: 0.6rem; }

    .gx-example__head { display: block; }
    .gx-switch { display: flex; margin-top: 1.5rem; }
    .gx-switch button { flex: 1; }
    .gx-stage3d { --c: 34px; }
    .gx-compare { grid-template-columns: minmax(0, 1fr); }

    .gx-wall {
        display: flex;
        gap: 1rem;
        margin-inline: calc(var(--page-gutter) * -1);
        padding: 0 var(--page-gutter) 0.5rem;
        overflow-x: auto;
        perspective: none;
        scroll-padding-inline: var(--page-gutter);
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
    }

    .gx-shot { --ry: 0deg; flex: 0 0 82%; scroll-snap-align: start; transform: none; }

    .gx-related__list { grid-template-columns: minmax(0, 1fr); }
    .gx-related__list a { min-height: 0; }

    .gx-contact__person { display: flex; align-items: center; gap: 1.25rem; }
    .gx-contact__portrait { flex: 0 0 auto; width: 115px; }
    .gx-contact__person > div:last-child { display: grid; gap: 0.5rem; margin: 0; }
    .gx-contact .button { width: 100%; }

    .gx-footer__top { flex-direction: column; }
    .gx-footer nav { gap: 1rem; }
}

/* Bewegung anhalten: Pflicht für dauerhaft laufende Szenen (WCAG 2.2.2). */
.gx-motion {
    --c: 10px;
    position: absolute;
    z-index: 3;
    right: clamp(0.75rem, 2vw, 1.5rem);
    bottom: clamp(0.75rem, 2vw, 1.5rem);
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    border: 0;
    background: rgba(14, 26, 23, 0.82);
    color: var(--white);
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--c)), calc(100% - var(--c) * 0.577) 100%, 0 100%);
    cursor: pointer;
    pointer-events: auto;
    transition: background-color 180ms ease, color 180ms ease;
}

.gx-motion svg { width: 18px; height: 18px; fill: currentColor; }
.gx-hero__stage .gx-motion { bottom: 92px; }
@media (max-width: 900px) { .gx-hero__stage .gx-motion { top: 0.75rem; bottom: auto; } }
.gx-motion .gx-motion__play,
.gx-motion[aria-pressed="true"] .gx-motion__pause { display: none; }
.gx-motion[aria-pressed="true"] .gx-motion__play { display: block; }
.gx-motion:focus-visible { clip-path: none; }
.is-fallback .gx-motion,
.gx-hero__stage:not(.is-live) .gx-motion { display: none; }

@media (hover: hover) and (pointer: fine) {
    .gx-motion:hover { background: var(--accent); color: var(--ink); }
}

/* Weniger Bewegung: Zustände wechseln ohne Flug, Farben und Deckkraft bleiben weich. */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .gx-shot { transition-property: opacity; }
}

/* ==========================================================================
   3. Blog (ruhige Fassung)
   Die Bilder tragen die Farbe, alles andere tritt zurück: weißer Grund,
   eine Schrift, feine Linien. In WordPress kommt nur dieser Teil zusätzlich ins Theme.
   ========================================================================== */

.blog {
    --bl-col: 42rem;
    --bl-text: #2f3835;
    --bl-muted: #616865;
    --bl-hair: rgba(7, 17, 15, 0.12);
    --bl-surface: #eef3f1;
    background: var(--white);
}

.blog .icon { width: 1.15em; height: 1.15em; flex: 0 0 auto; }
.blog .sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

/* Brotkrümel auf hellem Grund */
.blog .gx-crumbs { color: var(--bl-muted); }
.blog .gx-crumbs li + li::before { color: #a3aba8; }
.blog .gx-crumbs a:hover { color: var(--ink); }

/* Seitenübergang: Bild und Titel gleiten von der Karte in den Beitrag (Chrome, Edge, Safari) */
/* Early navigation-head.js opts capable, motion-enabled browsers in. Without
   JavaScript or native support ordinary document navigation stays animation-free. */
@view-transition { navigation: none; }

::view-transition-group(*) {
    animation-duration: 480ms;
    animation-timing-function: cubic-bezier(0.23, 1, 0.32, 1);
}

@media (prefers-reduced-motion: reduce) {
    @view-transition { navigation: none; }
    ::view-transition-group(*),
    ::view-transition-old(*),
    ::view-transition-new(*) { animation: none !important; }
}

/* ---------- Kleine Bausteine ---------- */
.bl-hex {
    display: inline-block;
    flex: 0 0 auto;
    width: 0.8rem;
    aspect-ratio: 2 / 1.732;
    background: var(--accent);
    clip-path: var(--hex);
}

.bl-cat {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--ink);
    font-size: 0.82rem;
    font-weight: 650;
    line-height: 1.3;
}

.bl-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.3rem 0.65rem;
    color: var(--bl-muted);
    font-size: 0.85rem;
    font-variant-numeric: tabular-nums;
}

/* Schrägstrich als Trenner, wie im Button */
.bl-sep {
    display: inline-block;
    width: 2px;
    height: 0.8em;
    background: currentColor;
    opacity: 0.55;
    transform: skewX(-30deg);
}

/* ------------------------------------------------------------------ */
/* Übersicht: Kopf                                                     */
/* ------------------------------------------------------------------ */
.bl-head { padding-top: 128px; padding-bottom: clamp(2.5rem, 5vw, 4rem); }

.bl-head__grid {
    display: grid;
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    align-items: end;
    gap: 2rem clamp(2rem, 5vw, 5rem);
    margin-top: clamp(2rem, 4vw, 3.25rem);
}

.bl-title {
    max-width: 9em;
    font-size: clamp(3rem, 6.6vw, 6.8rem);
    font-stretch: 78%;
    font-weight: 560;
    letter-spacing: -0.045em;
    line-height: 0.92;
}

.bl-intro {
    max-width: 40ch;
    color: var(--bl-text);
    font-size: clamp(1.05rem, 1.25vw, 1.18rem);
    line-height: 1.55;
}

/* Suche: eine Linie, kein Kasten */
.bl-search { position: relative; margin-top: 1.6rem; }

.bl-search__field {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-height: 56px;
    border-bottom: 2px solid var(--ink);
}

.bl-search__field:has(input:focus-visible) {
    outline: 3px solid var(--accent);
    outline-offset: 6px;
    box-shadow: 0 0 0 2px var(--ink);
}

.bl-search__icon { width: 22px; height: 22px; color: var(--ink); }

.bl-search input {
    flex: 1;
    min-width: 0;
    height: 52px;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--ink);
    font-size: 1.08rem;
}

.bl-search input:focus-visible { outline: none; box-shadow: none; }
.bl-search input::placeholder { color: #737a77; opacity: 1; }
.bl-search input::-webkit-search-cancel-button { cursor: pointer; }

.bl-search__submit {
    min-height: 44px;
    padding: 0 0.25rem;
    border: 0;
    background: none;
    color: var(--ink);
    cursor: pointer;
    font-size: 0.92rem;
    font-weight: 650;
}

.bl-search__submit:hover { text-decoration: underline; text-underline-offset: 0.25em; }

/* Vorschläge beim Tippen */
.bl-suggest {
    position: absolute;
    z-index: 40;
    top: calc(100% + 10px);
    right: 0;
    left: 0;
    display: grid;
    max-height: min(60vh, 460px);
    margin: 0;
    padding: 0.4rem;
    overflow: auto;
    background: var(--white);
    box-shadow: 0 0 0 1px var(--bl-hair), 0 30px 60px -28px rgba(7, 17, 15, 0.35);
    list-style: none;
}

.bl-suggest[hidden] { display: none; }
.bl-suggest li { display: grid; gap: 0.25rem; padding: 0.75rem 0.9rem; cursor: pointer; }
.bl-suggest li[aria-selected="true"],
.bl-suggest li:hover { background: var(--bl-surface); }
.bl-suggest__title { font-weight: 600; line-height: 1.3; }
.bl-suggest__meta { color: var(--bl-muted); font-size: 0.8rem; }
.bl-suggest mark { padding: 0 0.06em; background: rgba(34, 230, 189, 0.4); color: inherit; }
.bl-suggest__all { border-top: 1px solid var(--bl-hair); font-weight: 620; }
.bl-suggest__none { color: var(--bl-muted); cursor: default; }

/* ------------------------------------------------------------------ */
/* Übersicht: Themen und Beiträge                                      */
/* ------------------------------------------------------------------ */
.bl-posts { padding-bottom: var(--gx-space); scroll-margin-top: 90px; }

.bl-tools {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem 2rem;
    border-bottom: 1px solid var(--bl-hair);
}

.bl-topics {
    display: flex;
    gap: 0 1.75rem;
    min-width: 0;
    overflow-x: auto;
    scrollbar-width: none;
}

.bl-topics::-webkit-scrollbar { display: none; }

.bl-topics a {
    position: relative;
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    min-height: 56px;
    color: var(--bl-muted);
    font-size: 0.95rem;
    font-weight: 600;
    white-space: nowrap;
    transition: color 180ms ease;
}

.bl-topics a::after {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 2px;
    background: var(--ink);
    content: "";
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 260ms var(--ease-out);
}

.bl-topics a:hover,
.bl-topics a[aria-current] { color: var(--ink); }
.bl-topics a[aria-current]::after { transform: scaleX(1); }
.bl-topics a:focus-visible { outline-offset: -3px; }

.bl-tools__side { display: flex; flex: 0 0 auto; align-items: center; gap: 0.5rem 1.5rem; }

/* Umschalter Raster / Liste: zwei schlichte Schaltflächen, die gewählte ist dunkel */
.bl-view { display: flex; gap: 2px; }

.bl-view button {
    display: inline-flex;
    min-height: 40px;
    align-items: center;
    gap: 0.45rem;
    padding: 0 0.8rem;
    border: 0;
    background: transparent;
    color: var(--bl-muted);
    cursor: pointer;
    font-size: 0.88rem;
    font-weight: 600;
    transition: background-color 180ms ease, color 180ms ease;
}

.bl-view button:hover { background: var(--bl-surface); color: var(--ink); }
.bl-view button[aria-pressed="true"] { background: var(--ink); color: var(--white); }
.bl-view .icon { width: 1.05rem; height: 1.05rem; }
.no-js .bl-view { display: none; }

.bl-status {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--bl-muted);
    font-size: 0.88rem;
}

.bl-status button {
    min-height: 36px;
    padding: 0;
    border: 0;
    border-bottom: 1px solid currentColor;
    background: none;
    color: var(--ink);
    cursor: pointer;
    font-weight: 600;
}

/* Raster: erster Beitrag groß, darunter zwei Spalten mit großen Bildern */
.blog .bl-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(3.5rem, 5vw, 5rem) clamp(1.5rem, 3vw, 3rem);
    margin: clamp(2.5rem, 4vw, 3.5rem) 0 0;
    padding: 0;
    list-style: none;
}

.bl-grid[hidden] { display: none; }
.bl-card { position: relative; }
.bl-card[hidden] { display: none; }
.bl-card__inner { display: flex; height: 100%; flex-direction: column; }

.bl-card__media {
    --c: 34px;
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--bl-surface);
    clip-path: polygon(0 0, calc(100% - var(--c) * 0.577) 0, 100% var(--c), 100% 100%, 0 100%);
    view-transition-name: var(--vt-cover, none);
}

.bl-card__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 700ms var(--ease-out);
}

.bl-card__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.7rem;
    padding-top: 1.4rem;
}

.bl-card__title {
    width: 100%;
    hyphens: auto;
    font-size: clamp(1.35rem, 1.8vw, 1.7rem);
    font-weight: 600;
    letter-spacing: -0.022em;
    line-height: 1.16;
    text-wrap: balance;
    view-transition-name: var(--vt-title, none);
}

/* Die ganze Karte ist klickbar, bleibt aber ein einziger Tabstopp */
.bl-card__title a::after { position: absolute; inset: 0; z-index: 1; content: ""; }
.bl-card__title a:focus-visible { outline: none; box-shadow: none; }
.bl-card:has(.bl-card__title a:focus-visible) { outline: 3px solid var(--accent); outline-offset: 10px; box-shadow: 0 0 0 12px var(--white), 0 0 0 14px var(--ink); }

.bl-card__excerpt {
    display: -webkit-box;
    max-width: 54ch;
    overflow: hidden;
    color: var(--bl-text);
    font-size: 1rem;
    line-height: 1.6;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.bl-card .bl-meta { margin-top: auto; padding-top: 0.15rem; }

@media (hover: hover) and (pointer: fine) {
    .bl-card:hover .bl-card__media img { transform: scale(1.035); }
    .bl-card:hover .bl-card__title a { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.16em; }
}

.bl-grid .is-feature { grid-column: 1 / -1; }

.is-feature .bl-card__inner {
    display: grid;
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    align-items: center;
    gap: clamp(1.75rem, 4vw, 4.5rem);
}

.is-feature .bl-card__media { --c: 48px; }
.is-feature .bl-card__body { gap: 1rem; padding-top: 0; }

.is-feature .bl-card__title {
    font-size: clamp(2rem, 3.4vw, 3.4rem);
    font-stretch: 80%;
    font-weight: 560;
    letter-spacing: -0.04em;
    line-height: 0.98;
}

.is-feature .bl-card__excerpt { font-size: 1.08rem; -webkit-line-clamp: 4; }

/* Liste: eine Zeile pro Beitrag mit kleinem Bild, ohne großen Aufmacher */
.blog .bl-grid.is-list { grid-template-columns: minmax(0, 1fr); gap: 0; border-top: 1px solid var(--ink); }
.is-list .bl-card { border-bottom: 1px solid var(--bl-hair); }

.is-list .bl-card__inner,
.is-list .is-feature .bl-card__inner {
    display: grid;
    grid-template-columns: 13rem minmax(0, 1fr);
    align-items: center;
    gap: 1rem 2.25rem;
    padding-block: 1.5rem;
}

.is-list .bl-card__media,
.is-list .is-feature .bl-card__media { --c: 18px; }

.is-list .bl-card__body,
.is-list .is-feature .bl-card__body { gap: 0.45rem; padding-top: 0; }

.is-list .bl-card__title,
.is-list .is-feature .bl-card__title {
    font-size: clamp(1.25rem, 1.7vw, 1.6rem);
    font-stretch: 100%;
    font-weight: 600;
    letter-spacing: -0.022em;
    line-height: 1.18;
}

.is-list .bl-card__excerpt,
.is-list .is-feature .bl-card__excerpt { max-width: 75ch; font-size: 0.98rem; -webkit-line-clamp: 1; }
.is-list .bl-card .bl-meta { margin-top: 0.15rem; padding-top: 0; }

/* Pfeil rechts in jeder Zeile: feine Kontur, beim Überfahren dunkel gefüllt */
.bl-card__go { display: none; }

.is-list .bl-card__inner,
.is-list .is-feature .bl-card__inner { grid-template-columns: 13rem minmax(0, 1fr) auto; }

.is-list .bl-card__go {
    display: grid;
    width: 48px;
    height: 48px;
    place-items: center;
    border: 1px solid var(--bl-hair);
    color: var(--ink);
    transition: background-color 200ms ease, border-color 200ms ease, color 200ms ease;
}

.is-list .bl-card__go .icon-arrow { width: 1.1rem; height: 1.1rem; transition: transform 220ms var(--ease-out); }

@media (hover: hover) and (pointer: fine) {
    .is-list .bl-card:hover .bl-card__go { border-color: var(--ink); background: var(--ink); color: var(--accent); }
    .is-list .bl-card:hover .bl-card__go .icon-arrow { transform: translate(2px, -2px); }
}

.is-list .bl-card:has(.bl-card__title a:focus-visible) .bl-card__go { border-color: var(--ink); background: var(--ink); color: var(--accent); }

/* Kleine Karten, z. B. „Weiterlesen“ */
.blog .bl-grid--small { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 3rem clamp(1.25rem, 2.4vw, 2.25rem); margin-top: 2.25rem; }
.bl-grid--small .bl-card__media { --c: 26px; }
.bl-grid--small .bl-card__body { padding-top: 1.1rem; gap: 0.6rem; }
.bl-grid--small .bl-card__title { font-size: clamp(1.15rem, 1.45vw, 1.35rem); line-height: 1.2; }
.bl-grid--small .bl-card__excerpt { display: none; }

/* Leere Suche, weitere Beiträge, Seiten ohne JavaScript */
.bl-empty { margin-top: 2.5rem; }
.bl-empty[hidden] { display: none; }
.bl-empty__title { font-size: clamp(1.6rem, 2.6vw, 2.3rem); font-stretch: 84%; font-weight: 600; letter-spacing: -0.03em; line-height: 1.05; }
.bl-empty > p:not(.bl-empty__title) { max-width: 52ch; margin-top: 0.9rem; color: var(--bl-text); }
.bl-empty__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2rem; margin-top: 1.75rem; }
.bl-empty__actions .gx-link { border-top: 0; border-right: 0; border-left: 0; background: none; color: var(--ink); cursor: pointer; }

.bl-more { display: flex; justify-content: center; margin-top: clamp(3.5rem, 5vw, 4.5rem); }
.bl-more[hidden] { display: none; }

.bl-more__button {
    display: inline-flex;
    min-height: 54px;
    align-items: center;
    padding: 0 1.75rem;
    border: 1px solid var(--ink);
    background: transparent;
    color: var(--ink);
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 620;
    transition: background-color 200ms ease, color 200ms ease;
}

.bl-more__button:hover { background: var(--ink); color: var(--white); }

.bl-pagination { display: flex; gap: 1.5rem; margin-top: 3rem; font-weight: 600; }
.bl-pagination a { text-decoration: underline; text-underline-offset: 0.25em; }
.js .bl-pagination { display: none; }

/* ------------------------------------------------------------------ */
/* Beitrag: Kopf                                                       */
/* ------------------------------------------------------------------ */
.site-header > .bl-progress {
    position: absolute;
    z-index: 3;
    right: var(--glass-cut);
    bottom: 0;
    left: var(--glass-cut);
    height: 2px;
    overflow: hidden;
    pointer-events: none;
}

.bl-progress i { display: block; height: 100%; background: var(--teal); transform: scaleX(var(--read, 0)); transform-origin: left; }

.bl-ahead { padding-top: 128px; }
.bl-ahead__inner { max-width: var(--bl-col); margin: clamp(2rem, 4vw, 3rem) auto 0; }

.bl-ahead__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.25rem 1.25rem;
    color: var(--bl-muted);
    font-size: 0.88rem;
}

.bl-ahead__meta a { display: inline-flex; min-height: 36px; align-items: center; }
.bl-ahead__meta a:hover .bl-cat { text-decoration: underline; text-underline-offset: 0.25em; }

.bl-ahead__title {
    margin-top: 0.75rem;
    font-size: clamp(2.5rem, 5vw, 4.4rem);
    font-stretch: 80%;
    font-weight: 560;
    letter-spacing: -0.04em;
    line-height: 0.98;
    text-wrap: balance;
    view-transition-name: bl-title-relaunch;
}

.bl-lead {
    max-width: 58ch;
    margin-top: 1.4rem;
    color: var(--bl-text);
    font-size: clamp(1.1rem, 1.4vw, 1.26rem);
    line-height: 1.55;
}

.bl-byline {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem 1.25rem;
    margin-top: 1.75rem;
    padding-block: 1rem;
    border-block: 1px solid var(--bl-hair);
}

.bl-byline__avatar {
    width: 46px;
    height: auto;
    aspect-ratio: 2 / 1.732;
    background: var(--accent);
    clip-path: var(--hex);
    object-fit: cover;
    object-position: 50% 0%;
}

.bl-byline__name strong { display: block; font-size: 0.95rem; line-height: 1.3; }
.bl-byline__name span { color: var(--bl-muted); font-size: 0.82rem; }
.bl-byline__time { padding-left: 1.25rem; border-left: 1px solid var(--bl-hair); color: var(--bl-muted); font-size: 0.88rem; }

.bl-hero {
    --c: 48px;
    max-width: 70rem;
    margin: clamp(2.5rem, 4vw, 3.5rem) auto 0;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--bl-surface);
    clip-path: polygon(0 0, calc(100% - var(--c) * 0.577) 0, 100% var(--c), 100% 100%, 0 100%);
    view-transition-name: bl-cover-relaunch;
}

.bl-hero img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* ------------------------------------------------------------------ */
/* Beitrag: Inhaltsverzeichnis links, Text in einer Lesespalte         */
/* ------------------------------------------------------------------ */
.bl-abody {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, var(--bl-col)) minmax(0, 1fr);
    align-items: start;
    column-gap: clamp(2rem, 4vw, 4rem);
    padding-top: clamp(2.5rem, 4vw, 3.5rem);
    padding-bottom: var(--gx-space);
}

.bl-toc { position: sticky; top: 112px; grid-column: 1; justify-self: end; width: 100%; max-width: 15rem; }
.bl-content { grid-column: 2; min-width: 0; }

.bl-toc__title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 32px;
    color: var(--ink);
    cursor: pointer;
    font-size: 0.82rem;
    font-weight: 700;
    list-style: none;
}

.bl-toc__title::-webkit-details-marker { display: none; }

.bl-toc ol {
    margin: 0.6rem 0 0;
    padding: 0;
    border-left: 1px solid var(--bl-hair);
    list-style: none;
}

.bl-toc ol a {
    display: block;
    margin-left: -1px;
    padding: 0.42rem 0 0.42rem 1rem;
    border-left: 2px solid transparent;
    color: var(--bl-muted);
    font-size: 0.88rem;
    line-height: 1.35;
    transition: color 160ms ease, border-color 160ms ease;
}

.bl-toc ol a:hover { color: var(--ink); }
.bl-toc ol a.is-current { border-left-color: var(--teal); color: var(--ink); font-weight: 620; }

.bl-share { display: flex; align-items: center; gap: 0.4rem; margin-top: 1.5rem; }
.bl-share--end { display: none; }
.bl-share__label { margin-right: 0.6rem; color: var(--bl-muted); font-size: 0.85rem; font-weight: 600; }

.bl-share__btn {
    display: grid;
    width: 40px;
    height: 40px;
    place-items: center;
    border: 1px solid var(--bl-hair);
    background: var(--white);
    color: var(--ink);
    cursor: pointer;
    transition: border-color 160ms ease, background-color 160ms ease;
}

.bl-share__btn:hover { border-color: var(--ink); background: var(--bl-surface); }
.bl-share__btn .icon { width: 1.1rem; height: 1.1rem; }

/* Kurzantwort zuerst */
.bl-answer {
    --c: 30px;
    padding: clamp(1.4rem, 3vw, 2rem);
    background: var(--bl-surface);
    clip-path: polygon(0 0, calc(100% - var(--c) * 0.577) 0, 100% var(--c), 100% 100%, 0 100%);
}

.bl-answer__label { display: flex; align-items: center; gap: 0.55rem; font-size: 0.82rem; font-weight: 700; }

.bl-answer__text {
    margin-top: 0.75rem;
    color: var(--ink);
    font-size: clamp(1.1rem, 1.4vw, 1.24rem);
    font-weight: 500;
    line-height: 1.55;
}

.bl-answer__checked { margin-top: 0.9rem; color: var(--bl-muted); font-size: 0.82rem; }

/* ---------- Inhalt aus dem Editor (Standardklassen der WordPress-Blöcke) ---------- */
.entry-content {
    margin-top: clamp(2.5rem, 4vw, 3.25rem);
    color: var(--bl-text);
    font-size: 1.125rem;
    line-height: 1.75;
}

.entry-content > * + * { margin-top: 1.3em; }

/* Nummerierte Listen gegen die allgemeine Listenregel der Bausteine absichern */
.blog .entry-content > * + ol { margin-top: 1.3em; }
.blog .entry-content > :is(h2, h3) + ol { margin-top: 0.8em; }

.entry-content h2 {
    position: relative;
    margin-top: 2.3em;
    color: var(--ink);
    font-size: clamp(1.6rem, 2.2vw, 2.05rem);
    font-weight: 600;
    letter-spacing: -0.025em;
    line-height: 1.15;
    scroll-margin-top: 110px;
    text-wrap: balance;
}

.entry-content > h2:first-child { margin-top: 0; }
.entry-content h3 { margin-top: 1.9em; color: var(--ink); font-size: 1.3rem; font-weight: 620; letter-spacing: -0.015em; line-height: 1.25; }
.entry-content :is(h2, h3) + * { margin-top: 0.8em; }

.entry-content a {
    color: var(--ink);
    text-decoration: underline;
    text-decoration-color: var(--teal);
    text-decoration-thickness: 1.5px;
    text-underline-offset: 0.2em;
}

.entry-content a:hover { text-decoration-thickness: 3px; }
.entry-content strong { color: var(--ink); font-weight: 650; }

.entry-content code {
    padding: 0.08em 0.36em;
    background: var(--bl-surface);
    color: var(--ink);
    font-family: ui-monospace, "Cascadia Code", Consolas, monospace;
    font-size: 0.84em;
}

/* Abschnittslink neben der Überschrift */
.bl-anchor {
    position: absolute;
    top: 50%;
    left: -2.4rem;
    display: grid;
    width: 1.9rem;
    height: 1.9rem;
    place-items: center;
    border: 0;
    background: transparent;
    color: var(--bl-muted);
    cursor: pointer;
    opacity: 0;
    transform: translateY(-50%);
    transition: opacity 160ms ease, color 160ms ease;
}

.bl-anchor .icon { width: 1.05rem; height: 1.05rem; }
.entry-content h2:hover .bl-anchor,
.bl-anchor:focus-visible { opacity: 1; }
.bl-anchor:hover { color: var(--ink); }

/* Listen: kleine Sechsecke statt Punkte */
.entry-content ul,
.entry-content ol { padding: 0; list-style: none; }
.entry-content li + li { margin-top: 0.55em; }
.entry-content ul > li { position: relative; padding-left: 1.7rem; }

.entry-content ul > li::before {
    position: absolute;
    top: 0.62em;
    left: 0.1rem;
    width: 0.75rem;
    aspect-ratio: 2 / 1.732;
    background: var(--teal);
    clip-path: var(--hex);
    content: "";
}

.entry-content ol { counter-reset: bl; }
.entry-content ol > li { position: relative; padding-left: 2.2rem; counter-increment: bl; }
.entry-content ol > li::before { position: absolute; top: 0; left: 0; color: var(--teal); content: counter(bl) "."; font-weight: 700; font-variant-numeric: tabular-nums; }

/* Blockstil „Schritte“ */
.entry-content ol.is-style-schritte > li { padding-left: 3.1rem; }
.entry-content ol.is-style-schritte > li + li { margin-top: 1.1em; }

.entry-content ol.is-style-schritte > li::before {
    top: 0.12em;
    display: grid;
    width: 2.05rem;
    aspect-ratio: 2 / 1.732;
    place-items: center;
    background: var(--accent);
    color: var(--ink);
    clip-path: var(--hex);
    content: counter(bl);
    font-size: 0.82rem;
}

/* Blockstil „Checkliste“ */
.entry-content ul.is-style-checkliste > li { padding-left: 2.3rem; }

.entry-content ul.is-style-checkliste > li::before {
    top: 0.25em;
    left: 0;
    width: 1.5rem;
    background:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 12.5 4 4 8-9' fill='none' stroke='%2307110f' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 62% no-repeat,
        var(--accent);
}

/* Bilder, Grafiken, Tabellen */
.entry-content figure { margin-inline: 0; }
.entry-content figcaption { margin-top: 0.7rem; color: var(--bl-muted); font-size: 0.86rem; line-height: 1.5; }
.entry-content img { max-width: 100%; height: auto; }

.bl-diagram svg { --c: 30px; width: 100%; height: auto; background: var(--bl-surface); clip-path: polygon(0 0, calc(100% - var(--c) * 0.577) 0, 100% var(--c), 100% 100%, 0 100%); }
.bl-diagram .dg-head { fill: var(--bl-muted); font: 600 13px var(--font); }
.bl-diagram .dg-old { fill: var(--white); stroke: #cbd5d1; }
.bl-diagram .dg-new { fill: #ccf5ea; stroke: #9fdcca; }
.bl-diagram .dg-url { fill: var(--ink); font: 600 15px ui-monospace, "Cascadia Code", Consolas, monospace; }
.bl-diagram .dg-line { fill: none; stroke: var(--teal); stroke-dasharray: 5 6; stroke-width: 2; }
.bl-diagram .dg-tip { fill: none; stroke: var(--teal); stroke-linecap: round; stroke-linejoin: round; stroke-width: 2; }
.bl-diagram .dg-hex { fill: var(--accent); }
.bl-diagram .dg-code { fill: var(--ink); font: 700 12px var(--font); }

.entry-content .wp-block-table { overflow-x: auto; }
.entry-content table { width: 100%; min-width: 540px; border-collapse: collapse; font-size: 0.95rem; line-height: 1.45; }
.entry-content th { padding: 0.75rem 0.9rem 0.75rem 0; border-bottom: 2px solid var(--ink); color: var(--ink); font-weight: 650; text-align: left; }
.entry-content td { padding: 0.8rem 0.9rem 0.8rem 0; border-bottom: 1px solid var(--bl-hair); vertical-align: top; }

/* Hinweise: „Tipp“, „Wichtig“, „Das Wichtigste in Kürze“ */
.entry-content .wp-block-group:is(.is-style-tipp, .is-style-wichtig, .is-style-kurz) {
    padding: clamp(1.3rem, 2.6vw, 1.75rem) clamp(1.3rem, 2.6vw, 1.9rem);
    font-size: 1.04rem;
    line-height: 1.68;
}

.entry-content .wp-block-group > * + * { margin-top: 0.6em; }

.bl-callout__title { display: flex; align-items: center; gap: 0.55rem; color: var(--ink); font-size: 0.85rem; font-weight: 700; line-height: 1.3; }
.bl-callout__title::before { display: inline-block; flex: 0 0 auto; width: 0.95rem; aspect-ratio: 2 / 1.732; background: var(--accent); clip-path: var(--hex); content: ""; }

.entry-content .is-style-tipp { --c: 26px; background: var(--bl-surface); clip-path: polygon(0 0, calc(100% - var(--c) * 0.577) 0, 100% var(--c), 100% 100%, 0 100%); }
.entry-content .is-style-wichtig { border: 1px solid var(--bl-hair); border-left: 3px solid var(--ink); }
.entry-content .is-style-kurz { --c: 26px; margin-top: 2.4em; background: var(--bl-surface); clip-path: polygon(0 0, calc(100% - var(--c) * 0.577) 0, 100% var(--c), 100% 100%, 0 100%); }
.entry-content .is-style-kurz h2 { margin-top: 0; font-size: clamp(1.3rem, 1.8vw, 1.6rem); }

.entry-content .is-style-kurz ul > li::before {
    top: 0.3em;
    width: 1.3rem;
    background:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 12.5 4 4 8-9' fill='none' stroke='%2307110f' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 62% no-repeat,
        var(--accent);
}

.entry-content .is-style-kurz ul > li { padding-left: 2.1rem; }

/* Zitat */
.entry-content .wp-block-pullquote { margin-block: 2.2em; padding: 0.2rem 0 0.2rem clamp(1.2rem, 3vw, 2rem); border-left: 3px solid var(--accent); }
.entry-content .wp-block-pullquote blockquote { margin: 0; }

.entry-content .wp-block-pullquote p {
    color: var(--ink);
    font-size: clamp(1.45rem, 2.3vw, 2rem);
    font-stretch: 86%;
    font-weight: 560;
    letter-spacing: -0.025em;
    line-height: 1.18;
    text-wrap: balance;
}

/* Fragen */
.entry-content details { border-bottom: 1px solid var(--bl-hair); }
.entry-content h2 + details { border-top: 1px solid var(--ink); }
.entry-content details + details { margin-top: 0; }

.entry-content summary {
    display: flex;
    min-height: 44px;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1.5rem;
    padding-block: 1.1rem;
    color: var(--ink);
    cursor: pointer;
    font-size: clamp(1.05rem, 1.35vw, 1.18rem);
    font-weight: 620;
    letter-spacing: -0.01em;
    line-height: 1.35;
    list-style: none;
}

.entry-content summary::-webkit-details-marker { display: none; }

.entry-content summary::after {
    width: 1.6rem;
    aspect-ratio: 2 / 1.732;
    flex: 0 0 auto;
    background:
        linear-gradient(var(--ink), var(--ink)) center / 10px 2px no-repeat,
        linear-gradient(var(--ink), var(--ink)) center / 2px 10px no-repeat,
        var(--bl-surface);
    clip-path: var(--hex);
    content: "";
}

.entry-content details[open] summary::after {
    background:
        linear-gradient(var(--ink), var(--ink)) center / 10px 2px no-repeat,
        var(--accent);
}

.entry-content details > :not(summary) { padding-bottom: 1.2rem; }

/* Quellen, Autor, passende Leistung */
.bl-sources { margin-top: 3rem; padding-top: 1.25rem; border-top: 1px solid var(--bl-hair); }
.bl-sources h2 { font-size: 0.95rem; font-weight: 700; scroll-margin-top: 110px; }
.bl-sources ol { display: grid; gap: 0.4rem; margin: 0.8rem 0 0; padding: 0; counter-reset: q; font-size: 0.92rem; list-style: none; }
.bl-sources li { position: relative; padding-left: 1.9rem; counter-increment: q; }
.bl-sources li::before { position: absolute; left: 0; color: var(--bl-muted); content: "[" counter(q) "]"; font-variant-numeric: tabular-nums; }
.bl-sources a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--teal); text-underline-offset: 0.22em; }

.bl-author {
    display: grid;
    grid-template-columns: 4.5rem minmax(0, 1fr);
    align-items: start;
    gap: 1.25rem;
    margin-top: 3rem;
    padding-top: 1.75rem;
    border-top: 1px solid var(--bl-hair);
}

.bl-author__portrait { width: 4.5rem; height: auto; aspect-ratio: 2 / 1.732; background: var(--accent); clip-path: var(--hex); object-fit: cover; object-position: 50% 0%; }
.bl-author__label { color: var(--bl-muted); font-size: 0.8rem; font-weight: 600; }
.bl-author__name { margin-top: 0.15rem; font-size: 1.3rem; font-weight: 650; letter-spacing: -0.015em; line-height: 1.2; }
.bl-author__bio { max-width: 56ch; margin-top: 0.5rem; color: var(--bl-text); font-size: 0.98rem; line-height: 1.6; }
.bl-author__links { display: flex; flex-wrap: wrap; gap: 0.25rem 1.5rem; margin-top: 0.6rem; font-size: 0.92rem; font-weight: 600; }
.bl-author__links a { display: inline-flex; min-height: 36px; align-items: center; text-decoration: underline; text-decoration-color: var(--teal); text-underline-offset: 0.25em; }

.bl-service {
    --c: 26px;
    position: relative;
    display: grid;
    gap: 0.35rem;
    margin-top: 2.25rem;
    padding: 1.4rem 4.5rem 1.5rem 1.5rem;
    border-left: 3px solid var(--accent);
    background: var(--mist);
    color: var(--ink);
    cursor: pointer;
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--c)), calc(100% - var(--c) * 0.577) 100%, 0 100%);
    transition: background-color 200ms ease;
}

.bl-service__label { color: var(--bl-muted); font-size: 0.8rem; font-weight: 600; }
.bl-service strong { color: var(--ink); font-size: clamp(1.3rem, 1.9vw, 1.6rem); font-weight: 650; letter-spacing: -0.02em; line-height: 1.15; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
.bl-service__text { max-width: 50ch; color: var(--bl-text); font-size: 0.95rem; line-height: 1.55; }
.bl-service__go { position: absolute; top: 1.4rem; right: 1.25rem; display: grid; place-items: center; width: 2.4rem; aspect-ratio: 2 / 1.732; background: var(--accent); color: var(--ink); clip-path: var(--hex); font-size: 1.15rem; transition: transform 220ms var(--ease-out); }
.bl-service:is(:hover, :focus-visible) { background: var(--mist-strong); }
.bl-service:is(:hover, :focus-visible) strong { text-decoration-thickness: 2px; }
.bl-service:hover .bl-service__go { transform: translate(3px, -3px); }
.bl-service:focus-visible { clip-path: none; }

/* Weiterlesen */
.bl-related { padding-bottom: var(--gx-space); }
.bl-related__head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1rem 2rem; padding-top: clamp(2.5rem, 4vw, 3.5rem); border-top: 1px solid var(--bl-hair); }

.bl-related__title {
    font-size: clamp(2.2rem, 4vw, 3.8rem);
    font-stretch: 80%;
    font-weight: 560;
    letter-spacing: -0.045em;
    line-height: 0.95;
}

/* Kurze Bestätigung, z. B. „Link kopiert“ */
.bl-toast {
    position: fixed;
    z-index: 1100;
    bottom: 24px;
    left: 50%;
    max-width: calc(100% - 2rem);
    padding: 0.8rem 1.1rem;
    background: var(--ink);
    color: var(--white);
    font-size: 0.9rem;
    font-weight: 600;
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, 16px);
    transition: opacity 220ms ease, transform 320ms var(--ease-out);
}

.bl-toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* Vorschau-Umschalter des Prototyps links unten */
.blog .gx-preview { right: auto; left: 14px; }

/* ------------------------------------------------------------------ */
/* Bewegung im Kopfbereich                                             */
/* ------------------------------------------------------------------ */

/* Hintergrund im Kopfbereich: leicht transparente Farbverläufe, die langsam wandern,
   darüber ein Wabenmuster aus Sechsecken wie im Logo, das nach außen ausblendet */
@property --bl-ax { syntax: "<percentage>"; inherits: false; initial-value: 78%; }
@property --bl-ay { syntax: "<percentage>"; inherits: false; initial-value: 26%; }
@property --bl-bx { syntax: "<percentage>"; inherits: false; initial-value: 14%; }
@property --bl-by { syntax: "<percentage>"; inherits: false; initial-value: 8%; }

.bl-head,
.bl-ahead { position: relative; isolation: isolate; }

.bl-head::before,
.bl-ahead::before,
.bl-head::after,
.bl-ahead::after {
    position: absolute;
    z-index: -1;
    top: 0;
    left: 50%;
    width: 100vw;
    height: 100%;
    content: "";
    pointer-events: none;
    transform: translateX(-50%);
}

.bl-ahead::before,
.bl-ahead::after { height: min(100%, 820px); }

.bl-head::before,
.bl-ahead::before {
    background:
        radial-gradient(36% 58% at var(--bl-ax) var(--bl-ay), rgba(34, 230, 189, 0.24), transparent 72%),
        radial-gradient(30% 50% at var(--bl-bx) var(--bl-by), rgba(51, 180, 162, 0.16), transparent 72%),
        radial-gradient(45% 40% at 55% 100%, rgba(9, 49, 70, 0.06), transparent 75%);
    -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent);
    mask-image: linear-gradient(180deg, #000 55%, transparent);
}

.bl-head::after,
.bl-ahead::after {
    /* Wabenmuster: flache Sechsecke wie im Logo-Zeichen */
    background: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20width='54.00'%20height='31.18'%3E%3Cpath%20d='M18.00%200.00L9.00%2015.59L-9.00%2015.59L-18.00%200.00L-9.00%20-15.59L9.00%20-15.59ZM18.00%2031.18L9.00%2046.77L-9.00%2046.77L-18.00%2031.18L-9.00%2015.59L9.00%2015.59ZM72.00%200.00L63.00%2015.59L45.00%2015.59L36.00%200.00L45.00%20-15.59L63.00%20-15.59ZM72.00%2031.18L63.00%2046.77L45.00%2046.77L36.00%2031.18L45.00%2015.59L63.00%2015.59ZM45.00%2015.59L36.00%2031.18L18.00%2031.18L9.00%2015.59L18.00%200.00L36.00%200.00Z'%20stroke='%2307110f'%20stroke-opacity='.075'%20fill='none'/%3E%3C/svg%3E");
    -webkit-mask-image: radial-gradient(60% 75% at 72% 22%, #000, transparent 75%);
    mask-image: radial-gradient(60% 75% at 72% 22%, #000, transparent 75%);
}

.bl-ahead::after {
    -webkit-mask-image: radial-gradient(55% 60% at 50% 25%, #000, transparent 75%);
    mask-image: radial-gradient(55% 60% at 50% 25%, #000, transparent 75%);
}

@media (prefers-reduced-motion: no-preference) {
    .bl-head::before,
    .bl-ahead::before { animation: bl-drift 24s ease-in-out infinite alternate; }
}

@keyframes bl-drift {
    0% { --bl-ax: 78%; --bl-ay: 26%; --bl-bx: 14%; --bl-by: 8%; }
    50% { --bl-ax: 62%; --bl-ay: 48%; --bl-bx: 30%; --bl-by: 22%; }
    100% { --bl-ax: 86%; --bl-ay: 14%; --bl-bx: 8%; --bl-by: 30%; }
}

/* Übersicht: Frage, Weg, Antwort als gezeichnete Linie */
.bl-doodle { width: min(270px, 70%); margin: 0 0 1.5rem -6px; }
.bl-doodle svg { display: block; width: 100%; height: auto; overflow: visible; }

.bl-doodle path {
    fill: none;
    stroke: var(--ink);
    stroke-dasharray: 1;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 5;
}

.bl-doodle .d-way { stroke: var(--teal); }
.bl-doodle .d-dot { fill: var(--accent); }
.bl-doodle .d-hex { fill: var(--accent); stroke: var(--ink); stroke-linejoin: round; stroke-width: 5; }
.bl-doodle :is(.d-dot, .d-hex) { transform-box: fill-box; transform-origin: center; }

.bl-doodle.is-playing .d-q { animation: bl-draw 700ms cubic-bezier(0.55, 0, 0.3, 1) both; }
.bl-doodle.is-playing .d-dot { animation: bl-pop 420ms cubic-bezier(0.34, 1.6, 0.5, 1) 620ms both; }
.bl-doodle.is-playing .d-way { animation: bl-draw 800ms cubic-bezier(0.45, 0, 0.25, 1) 900ms both; }
.bl-doodle.is-playing .d-tip { animation: bl-draw 240ms ease-out 1650ms both; }
.bl-doodle.is-playing .d-hex { animation: bl-pop 520ms cubic-bezier(0.34, 1.6, 0.5, 1) 1800ms both; }
.bl-doodle.is-playing .d-check { animation: bl-draw 380ms ease-out 2150ms both; }

/* Bis zum Start der Zeichnung unsichtbar, damit sie nicht kurz fertig aufblitzt */
@media (prefers-reduced-motion: no-preference) {
    .js .bl-doodle:not(.is-playing) { visibility: hidden; }
}

/* A fully offset dash can still paint its round end caps. Keep delayed parts
   genuinely invisible until their own drawing/pop animation begins. */
@keyframes bl-draw {
    0% { opacity: 0; stroke-dashoffset: 1; }
    1% { opacity: 1; }
    100% { opacity: 1; stroke-dashoffset: 0; }
}
@keyframes bl-pop {
    from { opacity: 0; transform: scale(0) rotate(-30deg); }
    to { opacity: 1; transform: none; }
}

/* Texte erscheinen einmal beim Laden, nacheinander */
@keyframes bl-rise { from { opacity: 0; transform: translateY(22px); } }

@media (prefers-reduced-motion: no-preference) {
    .js .bl-title,
    .js .bl-intro,
    .js .bl-search,
    .js:not(.is-vt) .bl-ahead__meta,
    .js:not(.is-vt) .bl-lead,
    .js:not(.is-vt) .bl-byline { animation: bl-rise 900ms cubic-bezier(0.22, 1, 0.36, 1) both; }

    .js .bl-intro { animation-delay: 120ms; }
    .js .bl-search { animation-delay: 220ms; }
    .js:not(.is-vt) .bl-ahead__title { animation: bl-rise 900ms cubic-bezier(0.22, 1, 0.36, 1) 80ms both; }
    .js:not(.is-vt) .bl-lead { animation-delay: 200ms; }
    .js:not(.is-vt) .bl-byline { animation-delay: 300ms; }

    /* Beitrag: Das Bild wird von links aufgezogen und wandert beim Scrollen langsamer mit */
    .bl-hero img { scale: 1.08; translate: 0 var(--shift, 0px); }
    .js:not(.is-vt) .bl-hero img { animation: bl-reveal 1300ms cubic-bezier(0.65, 0, 0.2, 1) 250ms both; }
}

@keyframes bl-reveal {
    from { clip-path: inset(0 100% 0 0); scale: 1.2; }
    to { clip-path: inset(0 0 0 0); scale: 1.08; }
}

/* Leichtes Flimmern der Linien; im Bild nur, solange der Effekt läuft */
.bl-hero.is-boiling img { filter: url(#bl-boil-img); }

/* ------------------------------------------------------------------ */
/* Responsiv                                                           */
/* ------------------------------------------------------------------ */
@media (max-width: 1100px) {
    /* Themen bekommen die volle Breite, die Anzahl steht darunter */
    .bl-tools { flex-wrap: wrap; border-bottom: 0; }
    .bl-topics {
        width: calc(100% + var(--page-gutter));
        margin-right: calc(var(--page-gutter) * -1);
        padding-right: var(--page-gutter);
        border-bottom: 1px solid var(--bl-hair);
        -webkit-mask-image: linear-gradient(90deg, #000 88%, transparent);
        mask-image: linear-gradient(90deg, #000 88%, transparent);
    }
    .bl-tools__side { width: 100%; justify-content: space-between; padding-top: 0.6rem; }
}

@media (max-width: 1199px) {
    .bl-abody { grid-template-columns: minmax(0, var(--bl-col)); justify-content: center; }
    .bl-toc { position: static; grid-column: 1; justify-self: stretch; max-width: none; margin-bottom: 2rem; }
    .bl-content { grid-column: 1; }
    .bl-toc__box { padding: 0.35rem 1.1rem; border: 1px solid var(--bl-hair); }
    .bl-toc__title { min-height: 44px; font-size: 0.92rem; }
    .bl-toc__title::after { color: var(--bl-muted); content: "Anzeigen"; font-size: 0.82rem; font-weight: 600; }
    .bl-toc__box[open] .bl-toc__title::after { content: "Ausblenden"; }
    .bl-toc ol { margin-bottom: 0.9rem; }
    .bl-toc .bl-share { display: none; }
    .bl-share--end { display: flex; margin-top: 2.25rem; }
    .bl-anchor { display: none; }
}

@media (max-width: 1000px) {
    .bl-head__grid { grid-template-columns: minmax(0, 1fr); align-items: start; }
    .is-feature .bl-card__inner { grid-template-columns: minmax(0, 1fr); gap: 1.4rem; }
    .is-feature .bl-card__title { font-size: clamp(2rem, 6vw, 3rem); }
    .blog .bl-grid--small { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .bl-grid--small .bl-card:nth-child(3) { display: none; }
}

@media (max-width: 760px) {
    .bl-head,
    .bl-ahead { padding-top: 104px; }
    .bl-title { font-size: clamp(2.8rem, 13vw, 4.2rem); }
    .bl-doodle { width: 210px; margin-bottom: 1rem; }


    .blog .bl-grid,
    .blog .bl-grid--small { grid-template-columns: minmax(0, 1fr); gap: 3rem; }
    .bl-grid--small .bl-card:nth-child(3) { display: block; }
    .bl-card__media { --c: 26px; }
    .is-feature .bl-card__media { --c: 30px; }

    .is-list .bl-card__inner,
    .is-list .is-feature .bl-card__inner { grid-template-columns: 5.5rem minmax(0, 1fr) auto; gap: 0.85rem; padding-block: 1.1rem; }
    .is-list .bl-card__go { width: 36px; height: 36px; }
    .is-list .bl-meta .bl-sep,
    .is-list .bl-meta span { display: none; }
    .is-list .bl-card__media,
    .is-list .is-feature .bl-card__media { --c: 12px; }
    .is-list .bl-card__excerpt,
    .is-list .is-feature .bl-card__excerpt,
    .is-list .bl-cat { display: none; }
    .is-list .bl-card__title,
    .is-list .is-feature .bl-card__title { font-size: 1.08rem; line-height: 1.25; }
    .is-list .bl-card .bl-meta { font-size: 0.8rem; }
    .bl-view button { padding: 0 0.65rem; }

    .bl-hero { --c: 30px; }
    .bl-byline__time { width: 100%; padding-left: 0; border-left: 0; }
    .entry-content { font-size: 1.0625rem; }

    .blog .gx-preview { display: none; }
}

@media (prefers-reduced-motion: reduce) {
    .bl-card__media img,
    .bl-toast { transition: none; }
    .bl-service,
    .bl-service__go { transition: none; }
    .bl-doodle :is(path, .d-dot, .d-hex) { animation: none !important; opacity: 1; stroke-dashoffset: 0; transform: none; }
}
