/* Animierte Ablaufgrafik Linsentausch (assets/js/linsentausch-animation.js) */
.gs-intro-anim {
    margin: 0;
    padding: 22px 22px 18px;
    background: #ffffff;
    border: 1px solid rgba(10, 31, 53, 0.1);
    box-shadow: 0 28px 60px -40px rgba(10, 31, 53, 0.45);
}

.gs-intro-anim figcaption {
    margin-top: 14px;
    color: #6a7f93;
    font-family: var(--font-sans);
    font-size: 0.88rem;
    line-height: 1.6;
}

.lz-proc-fallback img {
    width: 100%;
    height: auto;
    display: block;
}

.lz-proc-stage,
.lz-proc-steps {
    display: none;
}

.lz-proc.is-animated .lz-proc-stage {
    display: block;
}

.lz-proc.is-animated .lz-proc-steps {
    display: grid;
}

.lz-proc.is-animated .lz-proc-fallback {
    display: none;
}

.lz-proc-stage {
    position: relative;
    overflow: hidden;
    border-radius: 4px;
    background: #f5f8fb;
}

.lz-proc-stage .lz-proc-svg {
    width: 100%;
    height: auto;
    display: block;
}

.lz-svg-label {
    fill: #6f8499;
    font-family: var(--font-sans);
    letter-spacing: 0.03em;
}

.lz-svg-label--dark {
    fill: #0a1f35;
    font-weight: 600;
}

.lz-proc-svg text {
    paint-order: stroke;
    stroke: rgba(245, 248, 251, 0.85);
    stroke-width: 3px;
    stroke-linejoin: round;
}

.lz-proc-svg .lz-svg-label {
    font-size: 15px;
}

.lz-proc-svg .lz-svg-label--small {
    font-size: 13px;
}

.lz-proc-svg .rle-chart {
    fill: #0a1f35;
    font-family: var(--font-sans);
    font-size: 21px;
    font-weight: 800;
    letter-spacing: 0.28em;
    stroke: none;
}

.lz-proc-toggle {
    position: absolute;
    right: 10px;
    bottom: 10px;
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    padding: 0;
    border: 1px solid rgba(10, 31, 53, 0.14);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    color: #0a1f35;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.lz-proc-toggle:hover {
    background: #ffffff;
    border-color: rgba(10, 31, 53, 0.3);
}

.lz-proc-toggle svg {
    width: 14px;
    height: 14px;
    fill: currentColor;
}

.lz-proc-steps {
    grid-template-columns: repeat(var(--steps, 3), minmax(0, 1fr));
    gap: 10px;
    margin: 16px 0 0;
    padding: 0;
    list-style: none;
}

.lz-proc-step {
    position: relative;
    display: block;
    width: 100%;
    padding: 12px 0 0;
    border: 0;
    background: none;
    color: #6a7f93;
    font: inherit;
    font-family: var(--font-sans);
    text-align: left;
    cursor: pointer;
    overflow-wrap: break-word;
    hyphens: auto;
}

.lz-proc-bar {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    overflow: hidden;
    border-radius: 2px;
    background: rgba(10, 31, 53, 0.1);
}

.lz-proc-bar i {
    display: block;
    width: 100%;
    height: 100%;
    background: #0a1f35;
    transform: scaleX(0);
    transform-origin: left center;
}

.lz-proc-num {
    display: block;
    margin-bottom: 2px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
}

.lz-proc-step strong {
    display: block;
    color: #0a1f35;
    font-size: 0.84rem;
    font-weight: 600;
    line-height: 1.3;
    opacity: 0.55;
    transition: opacity 0.25s ease;
}

.lz-proc-step small {
    display: block;
    margin-top: 3px;
    font-size: 0.74rem;
    line-height: 1.4;
}

.lz-proc-step.is-active strong,
.lz-proc-step:hover strong {
    opacity: 1;
}

.lz-proc-step.is-active .lz-proc-num {
    color: #0a1f35;
}

.lz-proc-step:focus-visible,
.lz-proc-toggle:focus-visible {
    outline: 2px solid #1a4a7a;
    outline-offset: 3px;
}

@media (max-width: 900px) {
    .gs-intro-anim {
        max-width: 680px;
    }
}

@media (max-width: 640px) {
    .gs-intro-anim {
        padding: 14px 12px 12px;
    }

    .lz-proc-steps {
        gap: 6px;
    }

    .lz-proc-step strong {
        font-size: 0.72rem;
    }

    .lz-proc-step small {
        display: none;
    }
}
