/* ─── Sidebar ─── */
.sidebar {
    position: fixed;
    top: var(--header-height);
    left: 0;
    bottom: 0;
    width: var(--sidebar-width);
    background: var(--color-surface);
    border-right: 1px solid var(--color-border);
    overflow-y: auto;
    padding: 1.5rem 0;
    z-index: 50;
}

.sidebar__section-title {
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-text-muted);
    padding: 0.75rem 1.25rem 0.4rem;
}

.sidebar__section-title--tools {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--color-border);
}

.sidebar__nav {
    list-style: none;
}

.sidebar__link {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.55rem 1.25rem;
    color: var(--color-text);
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 400;
    border-left: 3px solid transparent;
    transition: all 0.15s ease;
}

.sidebar__link:hover {
    background: #f0fdf4;
    color: var(--color-primary);
}

.sidebar__link--active {
    background: #f0fdf4;
    color: var(--color-primary);
    font-weight: 600;
    border-left-color: var(--color-primary);
}

.sidebar__link-icon {
    font-size: 1rem;
    width: 1.4rem;
    text-align: center;
    flex-shrink: 0;
}

/* ─── Sidebar Children (eingerückte Untereinträge) ─── */
.sidebar__nav--children {
    list-style: none;
}

.sidebar__link--child {
    padding-left: 2.5rem;
    font-size: 0.82rem;
}

.sidebar__link--child .sidebar__link-icon {
    font-size: 0.85rem;
    width: 1.2rem;
}
