/* Schieber2 — Icon Row with Rotating Center */

.s1-wrapper {
    background-color: #e8e8e8;
    padding: 40px 20px;
    box-sizing: border-box;
    width: 100%;
}

.s1-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.s1-item {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ── Icon Box ───────────────────────────────────────────── */
.s1-icon-box {
    width: 140px;
    height: 140px;
    background-color: #3a3a3a;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    padding: 12px 8px 10px;
    text-decoration: none !important;
    cursor: default;
    box-shadow: 0 4px 18px rgba(0,0,0,0.28);
    position: relative;
    overflow: hidden;
}

a.s1-icon-box {
    cursor: pointer;
    transition: box-shadow 0.2s ease;
}

a.s1-icon-box:hover {
    box-shadow: 0 6px 24px rgba(0,0,0,0.42);
}

.s1-icon-box img {
    width: 70%;
    height: 65%;
    object-fit: contain;
    display: block;
    margin-bottom: 8px;
}

.s1-icon-label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.08em;
    color: #ffffff;
    text-align: center;
    text-transform: uppercase;
    line-height: 1.3;
    display: block;
}

/* ── Center (größer, hervorgehoben) ─────────────────────── */
.s1-center .s1-icon-box {
    width: 170px;
    height: 170px;
    box-shadow: 0 6px 28px rgba(0,0,0,0.38);
}

/* ── Rotation: slide durchlaufen ────────────────────────── */
.s1-icon-wrap {
    position: relative;
    width: 170px;
    height: 170px;
    overflow: hidden;
}

.s1-icon-wrap .s1-icon-box {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;

    /* Startzustand: rechts außerhalb */
    transform: translateX(100%);
    transition: transform 0.55s cubic-bezier(0.77, 0, 0.18, 1);
}

/* Aktives Icon: sichtbar in der Mitte */
.s1-icon-wrap .s1-icon-box.s1-active {
    transform: translateX(0%);
    pointer-events: auto;
}

/* Abgehendes Icon: nach links raus */
.s1-icon-wrap .s1-icon-box.s1-leaving {
    transform: translateX(-100%);
}
