/* Lagersystem widgets — layout for the purpose-built Jet replacements.
   These rules carry the default look (mirroring the site's captured Jet
   styling). Per-instance styling comes from Elementor: each widget's style
   controls emit selector-scoped CSS (scoped to .elementor-element-<id>) that
   overrides these defaults by specificity. A couple of functional values stay
   as CSS variables set inline by the widget (--ls-unfold-mask / -align). */

/* ---- Unfold (read-more) -------------------------------------------------- */
.lagersystem-unfold__content {
    position: relative;
    overflow: visible;
}
/* JS adds is-collapsible once it can manage the toggle; without JS the full
   content shows and the button stays hidden. */
.lagersystem-unfold.is-collapsible .lagersystem-unfold__content {
    overflow: hidden;
    max-height: var(--ls-unfold-mask, 85px);
    transition: max-height .35s ease;
}
.lagersystem-unfold.is-collapsible:not(.is-open) .lagersystem-unfold__content::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 3em;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0), var(--ls-unfold-fade, #fff));
    pointer-events: none;
}
.lagersystem-unfold.is-open .lagersystem-unfold__content {
    max-height: 9999px;
}
.lagersystem-unfold__toggle {
    display: none;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
    padding: 7px 14px;
    border: 0;
    border-radius: 5px;
    background: #FBDBB2;
    color: #555;
    font: inherit;
    cursor: pointer;
}
.lagersystem-unfold.is-collapsible .lagersystem-unfold__toggle {
    display: inline-flex;
    margin-left: var(--ls-unfold-ml, 0);
    margin-right: var(--ls-unfold-mr, 0);
}
.lagersystem-unfold { text-align: var(--ls-unfold-align, left); }
.lagersystem-unfold__chevron {
    width: 8px;
    height: 8px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    transition: transform .25s ease;
}
.lagersystem-unfold.is-open .lagersystem-unfold__chevron {
    transform: rotate(-135deg);
}

/* ---- Timeline ------------------------------------------------------------ */
.lagersystem-timeline {
    position: relative;
}
.lagersystem-timeline__item {
    position: relative;
    display: grid;
    grid-template-columns: 96px 1fr;
    gap: 24px;
    padding-bottom: 35px;
}
.lagersystem-timeline__item:not(:last-child)::before {
    content: "";
    position: absolute;
    left: 48px;
    top: 48px;
    bottom: 0;
    width: 2px;
    background: rgba(15, 59, 51, .82);
}
.lagersystem-timeline__point {
    z-index: 1;
    width: 96px;
    height: 96px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 8px;
    background: #1B5147;
    color: #11C48D;
    font-weight: 600;
    line-height: 1.1;
}
.lagersystem-timeline__meta {
    color: #11C48D;
    font-weight: 600;
    font-size: 1.1em;
    margin-bottom: 4px;
}
.lagersystem-timeline__title { margin: 0 0 8px; }
.lagersystem-timeline__desc { line-height: 1.6; }
@media (max-width: 767px) {
    .lagersystem-timeline__item { grid-template-columns: 64px 1fr; gap: 14px; }
    .lagersystem-timeline__item:not(:last-child)::before { left: 32px; top: 32px; }
    .lagersystem-timeline__point { width: 64px; height: 64px; font-size: .8em; }
}

/* ---- Table --------------------------------------------------------------- */
.lagersystem-table-wrap { overflow-x: auto; }
.lagersystem-table {
    width: 100%;
    border-collapse: collapse;
    border-radius: 10px;
    overflow: hidden;
}
.lagersystem-table th {
    background: #1B5147;
    color: #fff;
    text-align: left;
    padding: 12px 14px;
}
.lagersystem-table td {
    padding: 14px;
    border-top: 1px solid rgba(0, 0, 0, .08);
    vertical-align: middle;
}
.lagersystem-table tbody tr:nth-child(even) { background: rgba(0, 0, 0, .025); }

/* ---- Animated text ------------------------------------------------------- */
.lagersystem-animated-text { display: inline; }
.lagersystem-animated-text__animated {
    color: #11C48D;
    font-weight: 700;
    display: inline-block;
    transition: opacity .3s ease;
}
.lagersystem-animated-text__animated.is-swapping { opacity: 0; }
