.leistung-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.leistung-item {
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--color-bg);
}

.leistung-item__toggle {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    padding: 1rem 1.25rem;
    cursor: pointer;
    font: inherit;
    color: inherit;
}

.leistung-item__media {
    flex: 0 0 96px;
    width: 96px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: calc(var(--radius) - 4px);
    overflow: hidden;
    box-shadow: var(--shadow);
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
}

.leistung-item__media img { width: 100%; height: 100%; object-fit: cover; }

.leistung-item__placeholder {
    width: 34px;
    height: 34px;
    color: rgba(255, 255, 255, 0.85);
}

.leistung-item__body { flex: 1 1 auto; min-width: 0; }
.leistung-item__title { display: block; font-weight: 700; color: var(--color-primary); }
.leistung-item__teaser { display: block; color: var(--color-text-muted); font-size: 0.92rem; margin-top: 0.2rem; }

.leistung-item__icon {
    flex: 0 0 auto;
    width: 1.5rem;
    height: 1.5rem;
    position: relative;
}

.leistung-item__icon::before,
.leistung-item__icon::after {
    content: "";
    position: absolute;
    background: var(--color-primary);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.leistung-item__icon::before { width: 14px; height: 2px; }
.leistung-item__icon::after { width: 2px; height: 14px; transition: transform 0.2s ease; }

.leistung-item__toggle[aria-expanded="true"] .leistung-item__icon::after {
    transform: translate(-50%, -50%) scaleY(0);
}

.leistung-item__panel {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.28s ease;
}

.leistung-item__panel.is-open { grid-template-rows: 1fr; }

.leistung-item__panel-inner {
    overflow: hidden;
    padding: 0 1.25rem;
    min-height: 0;
}

.leistung-item__panel.is-open .leistung-item__panel-inner {
    padding: 0 1.25rem 1.25rem;
}

.leistung-item__panel-inner p:first-child { margin-top: 0; }

.leistung-item__gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1rem;
}

.leistung-item__gallery-item {
    flex: 1 1 140px;
    max-width: 200px;
    border-radius: calc(var(--radius) - 4px);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.leistung-item__gallery-item img { width: 100%; height: 120px; object-fit: cover; display: block; }
