/* BürgerBlitz app-screenshots carousel — shared styles (de + en).
   Extracted from the per-page <style> blocks so the markup/behavior/styles
   live in one place. Rendered by /assets/js/carousel.js. */

.bb-screenshots {
    background: #0d141d;
    padding: 84px 56px;
    overflow: hidden;
    font-family: 'Hanken Grotesk', ui-sans-serif, system-ui, sans-serif;
    box-sizing: border-box;
}

.bb-screenshots__eyebrow {
    font-weight: 700;
    font-size: 13px;
    letter-spacing: .14em;
    color: #ffce00;
    text-transform: uppercase;
    text-align: center;
}

.bb-screenshots__headline {
    margin: 14px 0 0;
    font-size: 40px;
    line-height: 1.08;
    font-weight: 800;
    letter-spacing: -0.025em;
    color: #dce3f0;
    text-align: center;
}

.bb-screenshots__divider {
    width: 96px;
    height: 3px;
    margin: 22px auto 0;
    background: linear-gradient(to right, #000 33%, #dd0000 33% 66%, #ffce00 66%);
    border-radius: 999px;
}

.bb-screenshots__stage {
    position: relative;
    height: 600px;
    margin: 44px 0 4px;
}

.bb-screenshots__slide {
    position: absolute;
    left: 50%;
    top: 50%;
    cursor: pointer;
    transition:
        transform .55s cubic-bezier(.4, 0, .2, 1),
        opacity   .55s ease;
}

.bb-phone {
    position: relative;
    width: 260px;
    padding: 11px;
    background: linear-gradient(135deg, #33333a, #141418);
    border-radius: 42px;
    box-shadow:
        0 26px 50px -18px rgba(0, 0, 0, .7),
        0 0 0 2px #0b0b0d,
        inset 0 1.5px 0 rgba(255, 255, 255, .1),
        inset 0 -1.5px 0 rgba(0, 0, 0, .5);
    box-sizing: border-box;
}

.bb-phone__screen {
    position: relative;
    border-radius: 32px;
    overflow: hidden;
    background: #000;
    aspect-ratio: 1080 / 2424;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06);
}

.bb-phone__screen img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
    user-select: none;
}

.bb-phone__notch {
    position: absolute;
    top: 11px;
    left: 50%;
    transform: translateX(-50%);
    width: 74px;
    height: 20px;
    background: #000;
    border-radius: 999px;
    z-index: 2;
}

.bb-screenshots__btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: #151c25;
    border: 1px solid #2e353f;
    color: #ffce00;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 40;
    transition: border-color .2s ease;
    padding: 0;
}

.bb-screenshots__btn:hover { border-color: #ffce00; }
.bb-screenshots__btn--prev { left: 2px; }
.bb-screenshots__btn--next { right: 2px; }

.bb-screenshots__btn .bb-icon {
    font-family: 'Material Symbols Outlined';
    font-weight: normal;
    font-style: normal;
    font-size: 28px;
    line-height: 1;
    letter-spacing: normal;
    text-transform: none;
    display: inline-block;
    white-space: nowrap;
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
    font-feature-settings: 'liga';
    -webkit-font-feature-settings: 'liga';
    -webkit-font-smoothing: antialiased;
}

.bb-screenshots__caption {
    text-align: center;
    margin-top: 6px;
    font-weight: 700;
    font-size: 19px;
    letter-spacing: -0.01em;
    color: #dce3f0;
    min-height: 1.4em;
    transition: opacity .3s ease;
}

.bb-screenshots__dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 22px;
}

.bb-screenshots__dot {
    height: 8px;
    border-radius: 999px;
    cursor: pointer;
    transition: width .3s ease, background .3s ease;
    background: #2e353f;
    width: 8px;
    border: none;
    padding: 0;
}

.bb-screenshots__dot--active {
    width: 30px;
    background: #ffce00;
}

@media (max-width: 768px) {
    .bb-screenshots {
        padding: 56px 20px;
    }
    .bb-screenshots__headline {
        font-size: 28px;
    }
    .bb-screenshots__stage {
        height: 400px;
    }
    .bb-phone {
        width: 180px;
    }
}
